Frame 1
Stage.showMenu = false;
_focusrect = false;
Instance of Symbol 9 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_parent.getBytesLoaded() >= _parent.getBytesTotal()) {
txtPercent.text = 100;
_parent.gotoAndStop("TitleCard");
} else {
var l_pc = Math.ceil((_parent.getBytesLoaded() / _parent.getBytesTotal()) * 100);
if (l_pc < 1) {
l_pc = 1;
}
if (l_pc > 100) {
l_pc = 100;
}
txtPercent.text = l_pc + " %";
}
}
Frame 2
stop();
Frame 10
new SimpleButton();
Instance of Symbol 618 MovieClip "CTRL" in Frame 10
onClipEvent (load) {
this = new Controler(this);
}
Symbol 4 Button
on (keyPress "<Left>") {
return(undefined);
}
on (keyPress "<Right>") {
return(undefined);
}
on (keyPress "<Up>") {
return(undefined);
}
on (keyPress "<Down>") {
return(undefined);
}
on (keyPress "<Space>") {
return(undefined);
}
on (keyPress "p") {
return(undefined);
}
on (keyPress "P") {
return(undefined);
}
Symbol 66 MovieClip [Bonus_Time] Frame 1
stop();
Symbol 74 MovieClip [Bonus_Earth] Frame 1
stop();
Symbol 77 MovieClip Frame 74
_parent.gotoAndStop("idle");
Symbol 78 MovieClip Frame 18
_parent.gotoAndStop("inactive");
Symbol 82 MovieClip [Bonus_Air] Frame 1
stop();
Symbol 112 MovieClip Frame 7
stop();
stop();
Symbol 113 MovieClip Frame 10
stop();
Symbol 163 MovieClip Frame 7
stop();
Symbol 164 MovieClip Frame 6
stop();
Symbol 192 MovieClip Frame 7
stop();
Symbol 195 MovieClip Frame 9
stop();
Symbol 232 MovieClip Frame 7
stop();
Symbol 240 MovieClip [PauseManager] Frame 1
#initclip 48
Object.registerClass("PauseManager", sarbakan.visual.PauseManager);
#endinitclip
Symbol 364 MovieClip Frame 7
stop();
Symbol 365 MovieClip Frame 7
stop();
Symbol 430 MovieClip Frame 8
stop();
Symbol 431 MovieClip Frame 8
stop();
Symbol 438 MovieClip Frame 1
_visible = false;
Symbol 440 MovieClip Frame 2
stop();
this.removeMovieClip();
Symbol 457 MovieClip Frame 6
stop();
Symbol 470 MovieClip Frame 6
stop();
Symbol 481 MovieClip Frame 5
stop();
Symbol 498 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 6
stop();
Symbol 525 MovieClip Frame 6
stop();
Symbol 531 MovieClip Frame 5
stop();
Symbol 535 MovieClip [BlockFull] Frame 1
stop();
block.stop();
top.stop();
Symbol 591 MovieClip Frame 11
stop();
Symbol 598 MovieClip Frame 8
stop();
Symbol 601 MovieClip Frame 8
stop();
Symbol 602 MovieClip Frame 9
stop();
Symbol 616 MovieClip Frame 1
stop();
Instance of Symbol 441 MovieClip [Pass_Rochers] in Symbol 616 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(100);
this.removeMovieClip();
}
Instance of Symbol 496 MovieClip [BlockHalf] in Symbol 616 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(100);
this.removeMovieClip();
}
Instance of Symbol 535 MovieClip [BlockFull] in Symbol 616 MovieClip Frame 2
onClipEvent (load) {
this.swapDepths(100);
this.removeMovieClip();
}
Symbol 1064 MovieClip [__Packages.sarbakan.visual.PauseManager] Frame 0
class sarbakan.visual.PauseManager extends MovieClip
{
static var oPausableList, bPaused;
var _parent, _visible, swapDepths, removeMovieClip;
function PauseManager () {
super();
if (!oPausableList) {
reset();
}
add(_parent);
_visible = false;
swapDepths(999999);
removeMovieClip();
bPaused = false;
}
static function add(l_mc) {
oPausableList[l_mc] = l_mc;
l_mc.onUnload = function () {
sarbakan.visual.PauseManager.remove(this);
};
}
static function remove(l_mc) {
delete oPausableList[l_mc];
}
static function reset() {
oPausableList = {};
}
static function pause() {
for (var _local1 in oPausableList) {
oPausableList[_local1].stop();
}
bPaused = true;
}
static function unpause() {
for (var _local1 in oPausableList) {
oPausableList[_local1].play();
}
bPaused = false;
}
}
Symbol 1065 MovieClip [__Packages.Controler] Frame 0
class Controler
{
var mcRef, bGameEnabled, bPauseRelease, oKey, oTransitionManager, oMusicGame, oMusicPackaging, oLoseMusic, oWinMusic, bWin, bLoose, nScore, oGameView, aFriendSaved, nTimeDone, lvlNo, nGoldTaken, oHiScore, oHUD, objBlockManager, oActivationManager, sCurrentScreen, bWaitCall, fCall, mcScene, attackTimer, oCam, oLayerGame, oLayerBG, oLayerWater, bBonusEnabled, nChallengeTime, objPlayer, nAttackTimeOut, nBlock, oFriendManager;
function Controler (l_mcRef) {
mcRef = l_mcRef._parent;
_global.C = this;
bGameEnabled = false;
mcRef.onEnterFrame = sarbakan.utils.Delegate.create(this, EnterFrame);
bPauseRelease = true;
oKey = sarbakan.input.KeyManager.getInstance();
oKey.addKeyListener(80, "PAUSE");
oKey.addKeyListener(83, "SECRET");
oTransitionManager = new sarbakan.packaging.TransitionManager(mcRef.mcTransitionManager);
_global.oHS = new objHSNick();
_global.oHS.fDoHSInit();
sarbakan.sound.SoundManager.init(l_mcRef);
initTitleCard();
}
function playPackagingMusic() {
if (oMusicGame) {
sarbakan.sound.SoundManager.fade(oMusicGame, sarbakan.sound.SoundManager.FADE_VOLUME, 0, 5);
}
if (!oMusicPackaging) {
oMusicPackaging = sarbakan.sound.SoundManager.play("musicPackaging", VOLUME_MUSIC, 9999, true);
} else {
sarbakan.sound.SoundManager.fade(oMusicPackaging, sarbakan.sound.SoundManager.FADE_VOLUME, VOLUME_MUSIC, 5);
}
if (oLoseMusic) {
sarbakan.sound.SoundManager.fade(oLoseMusic, sarbakan.sound.SoundManager.FADE_VOLUME, 0, 5);
} else if (oWinMusic) {
sarbakan.sound.SoundManager.fade(oWinMusic, sarbakan.sound.SoundManager.FADE_VOLUME, 0, 5);
}
}
function playGameMusic() {
if (oMusicPackaging) {
sarbakan.sound.SoundManager.fade(oMusicPackaging, sarbakan.sound.SoundManager.FADE_VOLUME, 0, 5);
}
if (!oMusicGame) {
oMusicGame = sarbakan.sound.SoundManager.play("musicGame", VOLUME_MUSIC, 9999, true);
} else {
sarbakan.sound.SoundManager.fade(oMusicGame, sarbakan.sound.SoundManager.FADE_VOLUME, VOLUME_MUSIC, 5);
}
if (oLoseMusic) {
sarbakan.sound.SoundManager.fade(oLoseMusic, sarbakan.sound.SoundManager.FADE_VOLUME, 0, 5);
}
}
function playWinMusic() {
if (oMusicPackaging) {
sarbakan.sound.SoundManager.fade(oMusicPackaging, sarbakan.sound.SoundManager.FADE_VOLUME, 0, 5);
}
oWinMusic = sarbakan.sound.SoundManager.play("musicWin", VOLUME_MUSIC, 1, false);
}
function playLooseMusic() {
if (oMusicGame) {
sarbakan.sound.SoundManager.fade(oMusicGame, sarbakan.sound.SoundManager.FADE_VOLUME, 0, 5);
}
oLoseMusic = sarbakan.sound.SoundManager.play("musicLose", VOLUME_MUSIC, 1, false);
}
function initTitleCard() {
var _local2 = mcRef.content;
bWin = false;
bLoose = false;
nScore = 0;
_local2.btnPlay.onRelease = sarbakan.utils.Delegate.create(this, initGame);
_local2.btnHowToPlay.onRelease = sarbakan.utils.Delegate.create(this, prepareScreen, "HowToPlay");
_local2.btnHighScores.onRelease = sarbakan.utils.Delegate.create(this, prepareScreen, "HighScores");
playPackagingMusic();
}
function initHowToPlay() {
mcRef.mcPopup.gotoAndStop("HowToPlay");
var _local2 = mcRef.mcPopup.content;
mcRef.mcPopup.btnMask.useHandCursor = false;
_local2.stop();
_local2.btnNext.onRelease = sarbakan.utils.Delegate.create(this, nextInstructions);
if (!bGameEnabled) {
_local2.btnPlay.onRelease = sarbakan.utils.Delegate.create(this, initGame);
} else {
_local2.btnPlay.onRelease = sarbakan.utils.Delegate.create(this, resumeGame);
}
}
function nextInstructions() {
var _local2 = mcRef.mcPopup.content;
_local2.gotoAndStop("Instructions2");
_local2.btnBack.onRelease = sarbakan.utils.Delegate.create(this, backInstructions);
if (!bGameEnabled) {
_local2.btnPlay.onRelease = sarbakan.utils.Delegate.create(this, initGame);
} else {
_local2.btnPlay.onRelease = sarbakan.utils.Delegate.create(this, resumeGame);
}
}
function backInstructions() {
var _local2 = mcRef.mcPopup.content;
_local2.gotoAndStop("Instructions1");
_local2.btnNext.onRelease = sarbakan.utils.Delegate.create(this, nextInstructions);
if (!bGameEnabled) {
_local2.btnPlay.onRelease = sarbakan.utils.Delegate.create(this, initGame);
} else {
_local2.btnPlay.onRelease = sarbakan.utils.Delegate.create(this, resumeGame);
}
}
function showPauseMenu() {
var _local2;
oGameView.pause();
mcRef.mcPopup.gotoAndStop("Pause");
mcRef.mcPopup.btnMask.useHandCursor = false;
_local2 = mcRef.mcPopup.content;
_local2.btnHelp.onRelease = sarbakan.utils.Delegate.create(this, initHowToPlay);
_local2.btnResume.onRelease = sarbakan.utils.Delegate.create(this, hidePauseMenu);
_local2.btnNewGame.onRelease = sarbakan.utils.Delegate.create(this, newGame);
_local2.btnQuit.onRelease = sarbakan.utils.Delegate.create(this, showConfirmQuit);
}
function showConfirmQuit() {
mcRef.mcPopup.gotoAndStop("Quit");
mcRef.mcPopup.btnMask.useHandCursor = false;
var _local2 = mcRef.mcPopup.content;
_local2.btnYes.onRelease = sarbakan.utils.Delegate.create(this, gameOver);
_local2.btnNo.onRelease = sarbakan.utils.Delegate.create(this, showPauseMenu);
}
function hidePauseMenu() {
mcRef.mcPopup.gotoAndStop("Inactive");
oGameView.unpause();
}
function initLevelStats() {
var _local3 = mcRef.content;
var _local2 = 0;
var _local5 = 0;
var _local4 = 0;
var _local7 = 0;
_local3.btnNext.onRelease = sarbakan.utils.Delegate.create(this, nextLevel);
for (var _local6 in aFriendSaved) {
_local2 = aFriendSaved[_local6].time * 13;
if (_local2 < 0) {
_local2 = 0;
}
_local2 = _local2 + 100;
_local3["mc" + aFriendSaved[_local6].id].mcTime.time_txt.text = _local2;
_local3["mc" + aFriendSaved[_local6].id].mcTime.timeShadow_txt.text = _local2;
_local4 = _local4 + _local2;
}
if (nTimeDone > 0) {
_local5 = 10000;
}
_local3.timeChallenge_txt.text = sarbakan.utils.StringComplex.pad(_local5, 5);
_local3.timeChallengeShadow_txt.text = sarbakan.utils.StringComplex.pad(_local5, 5);
nScore = nScore + (_local5 + _local4);
_local3.totalScore_txt.text = sarbakan.utils.StringComplex.pad(nScore, 9);
_local3.totalScoreShadow_txt.text = sarbakan.utils.StringComplex.pad(nScore, 9);
_local3.LvlNo_txt.text = lvlNo;
_local3.LvlNoS_txt.text = lvlNo;
}
function initSecret() {
var _local2;
mcRef.mcPopup.gotoAndStop("SecretUnlocked");
mcRef.mcPopup.btnMask.useHandCursor = false;
_local2 = mcRef.mcPopup.content;
_local2.btnNext.onRelease = sarbakan.utils.Delegate.create(this, initBonusStage);
_local2.bonusSeconds_txt.text = sarbakan.utils.StringComplex.pad(BONUS_TIME, 2);
_local2.bonusSecondsShadow_txt.text = sarbakan.utils.StringComplex.pad(BONUS_TIME, 2);
}
function initSecretStats() {
var _local2 = mcRef.content;
_local2.btnNext.onRelease = sarbakan.utils.Delegate.create(this, nextLevel);
_local2.goldTaken_txt.text = sarbakan.utils.StringComplex.pad(nGoldTaken, 2);
_local2.goldTakenShadow_txt.text = sarbakan.utils.StringComplex.pad(nGoldTaken, 2);
_local2.goldPoints_txt.text = sarbakan.utils.StringComplex.pad(nGoldTaken * 500, 4);
_local2.goldPointsShadow_txt.text = sarbakan.utils.StringComplex.pad(nGoldTaken * 500, 4);
_local2.totalScore_txt.text = sarbakan.utils.StringComplex.pad(nScore, 9);
_local2.totalScoreShadow_txt.text = sarbakan.utils.StringComplex.pad(nScore, 9);
}
function initLoseCard() {
var _local3 = mcRef.content;
_local3.btnQuit.onRelease = sarbakan.utils.Delegate.create(this, prepareScreen, "TitleCard");
_local3.btnPlayAgain.onRelease = sarbakan.utils.Delegate.create(this, initGame);
if (_global.gProxyObj.getIsLoggedIn()) {
_local3.btnSubmitScores.onRelease = sarbakan.utils.Delegate.create(this, prepareScreen, "HighScores", sarbakan.utils.Delegate.create(this, initHighScores, true));
} else {
_local3.btnSubmitScores._visible = false;
}
_local3.btnViewScores.onRelease = sarbakan.utils.Delegate.create(this, prepareScreen, "HighScores");
}
function initWinCard() {
var _local3 = mcRef.content;
_local3.btnQuit.onRelease = sarbakan.utils.Delegate.create(this, prepareScreen, "TitleCard");
_local3.btnPlayAgain.onRelease = sarbakan.utils.Delegate.create(this, initGame);
if (_global.gProxyObj.getIsLoggedIn()) {
_local3.btnSubmitScores.onRelease = sarbakan.utils.Delegate.create(this, prepareScreen, "HighScores", sarbakan.utils.Delegate.create(this, initHighScores, true));
} else {
_local3.btnSubmitScores._visible = false;
}
_local3.btnViewScores.onRelease = sarbakan.utils.Delegate.create(this, prepareScreen, "HighScores");
}
function initHighScores(l_bSubmit) {
var _local3 = mcRef.content;
if (l_bSubmit) {
_global.oHS.bSubmitHS = true;
}
_global.oHS.fDoViewHS(_local3, true);
oHiScore = new sarbakan.packaging.HighScoreBoard(_local3.mcHighScores, _local3.mcHighScores.mcLine, 320, 7);
oHiScore.setScrollButtons(_local3.mcScrollBar.btnUp, _local3.mcScrollBar.btnDown);
oHiScore.setMargin(-7);
_global.oHS.fSetHSBoard(_local3);
_global.oHS.bGetHS = true;
if ((_global.oHS.bGetHS == true) && (_global.oHS.bSubmitHS != true)) {
_global.oHS.bGetHS = false;
_global.oHS.getScores();
if ((!bWin) && (!bLoose)) {
_local3.btnSubmitScores._visible = false;
}
} else if (_global.oHS.bSubmitHS == true) {
_global.oHS.bSubmitHS = false;
nScore = oHUD.getScore();
_global.oHS.submitScore(nScore);
_local3.btnSubmitScores._visible = false;
}
if (_global.gProxyObj.getIsLoggedIn()) {
_local3.btnSubmitScores.onRelease = sarbakan.utils.Delegate.create(this, prepareScreen, "HighScores", sarbakan.utils.Delegate.create(this, initHighScores, true));
} else {
_local3.btnSubmitScores._visible = false;
}
_local3.btnQuit.onRelease = sarbakan.utils.Delegate.create(this, prepareScreen, "TitleCard");
_local3.btnPlayAgain.onRelease = sarbakan.utils.Delegate.create(this, initGame);
playPackagingMusic();
}
function initGame() {
nScore = 0;
lvlNo = 1;
var _local2 = new Object();
_local2.middleListener = sarbakan.utils.Delegate.create(this, prepareScreen, "Game", sarbakan.utils.Delegate.create(this, initLevel, String(lvlNo)));
_local2.inID = "waveIn";
_local2.outID = "waveOut";
oTransitionManager.startTransition(_local2);
}
function initBonusStage() {
nGoldTaken = 0;
var _local2 = new Object();
_local2.middleListener = sarbakan.utils.Delegate.create(this, prepareScreen, "Game", sarbakan.utils.Delegate.create(this, initLevel, "Bonus"));
_local2.inID = "waveIn";
_local2.outID = "waveOut";
oTransitionManager.startTransition(_local2);
}
function endLevel() {
nTimeDone = oHUD.getTime();
nScore = oHUD.getScore();
oGameView.pause();
bGameEnabled = false;
var _local2 = new Object();
_local2.middleListener = [sarbakan.utils.Delegate.create(this, prepareScreen, "LevelStats"), sarbakan.utils.Delegate.create(this, cleanLevel)];
_local2.inID = "waveIn";
_local2.outID = "waveOut";
oTransitionManager.startTransition(_local2);
playPackagingMusic();
}
function endBonus() {
nScore = oHUD.getScore();
oGameView.pause();
bGameEnabled = false;
var _local2 = new Object();
_local2.middleListener = [sarbakan.utils.Delegate.create(this, prepareScreen, "SecretStats"), sarbakan.utils.Delegate.create(this, cleanLevel)];
_local2.inID = "waveIn";
_local2.outID = "waveOut";
oTransitionManager.startTransition(_local2);
playPackagingMusic();
}
function cleanLevel() {
destroyToph();
oGameView.destroy();
delete oGameView;
objBlockManager.destroy();
delete objBlockManager;
delete oActivationManager;
}
function nextLevel() {
lvlNo++;
aFriendSaved = new Array();
if (lvlNo <= 10) {
var _local2 = new Object();
_local2.middleListener = sarbakan.utils.Delegate.create(this, prepareScreen, "Game", sarbakan.utils.Delegate.create(this, initLevel, String(lvlNo)));
_local2.inID = "waveIn";
_local2.outID = "waveOut";
oTransitionManager.startTransition(_local2);
} else {
endGame();
}
}
function resetLevel() {
var _local2 = new Object();
_local2.middleListener = sarbakan.utils.Delegate.create(this, prepareScreen, "Game", sarbakan.utils.Delegate.create(this, initLevel, String(lvlNo)));
_local2.inID = "waveIn";
_local2.outID = "waveOut";
oTransitionManager.startTransition(_local2);
nScore = 0;
}
function endGame() {
bWin = true;
prepareScreen("WinCard");
playWinMusic();
}
function gameOver() {
oGameView.pause();
bGameEnabled = false;
bLoose = true;
var _local2 = new Object();
_local2.middleListener = [sarbakan.utils.Delegate.create(this, prepareScreen, "LoseCard"), sarbakan.utils.Delegate.create(this, cleanLevel)];
_local2.inID = "waveIn";
_local2.outID = "waveOut";
oTransitionManager.startTransition(_local2);
playLooseMusic();
}
function newGame() {
oGameView.pause();
bGameEnabled = false;
var _local2 = new Object();
_local2.middleListener = [sarbakan.utils.Delegate.create(this, prepareScreen, "TitleCard"), sarbakan.utils.Delegate.create(this, cleanLevel)];
_local2.inID = "waveIn";
_local2.outID = "waveOut";
oTransitionManager.startTransition(_local2);
}
function resumeGame() {
hidePauseMenu();
oGameView.unpause();
}
function prepareScreen(l_sScreen, l_fStack) {
mcRef.gotoAndStop(l_sScreen);
sCurrentScreen = l_sScreen;
if (l_fStack == undefined) {
l_fStack = sarbakan.utils.Delegate.create(this, this["init" + l_sScreen]);
}
if (l_sScreen != "HowToPlay") {
bWaitCall = true;
fCall = l_fStack;
mcRef.mcPopup.gotoAndStop("inactive");
} else {
bWaitCall = false;
l_fStack();
}
}
function initLevel(l_sLevel) {
bGameEnabled = true;
_global.CS = mcRef.content;
mcScene = mcRef.content;
mcRef.mcPopup.gotoAndStop("Inactive");
_global.CS._x = 0;
_global.CS._y = 0;
_global.CS._xscale = 100;
_global.CS._yscale = 100;
objBlockManager = new BlockManager();
if (l_sLevel != 10) {
_global.CS.Bg.gotoAndStop(1);
} else {
_global.CS.Bg.gotoAndStop(2);
}
generateLevel(l_sLevel);
attackTimer = 0;
oGameView = new sarbakan.visual.layer.LayerManager(_global.CS.mcLevel.mcFloor._width - 40, 300, 495, 300);
oCam = oGameView.getCamera();
oLayerGame = new sarbakan.visual.layer.Layer(_global.CS.mcLevel, new sarbakan.visual.activation.SelectiveActivation());
oGameView.addLayer(oLayerGame, 1, 1);
oLayerGame.addCollisionMap(new sarbakan.visual.layer.CollisionMap("floor", oLayerGame, 13418688));
oLayerGame.oCollisionMaps.floor.setNewSource(_global.CS.mcLevel.mcFloor);
oLayerGame.oCollisionMaps.floor.show(100);
oLayerBG = new sarbakan.visual.layer.Layer(_global.CS.Bg, new sarbakan.visual.activation.NoActivation());
oGameView.addLayer(oLayerBG, 0.115, 1);
oLayerWater = new sarbakan.visual.layer.Layer(_global.CS.mcWater, new sarbakan.visual.activation.NoActivation());
oGameView.addLayer(oLayerWater, 1.05, 1);
if (l_sLevel != "Bonus") {
createFriends();
}
createToph();
oHUD = new HUD(_global.CS.mcHud);
if (l_sLevel == "Bonus") {
bBonusEnabled = true;
oHUD.setTime(BONUS_TIME);
} else {
bBonusEnabled = false;
switch (l_sLevel) {
case "1" :
nChallengeTime = 200;
oHUD.setTime(nChallengeTime);
break;
case "2" :
nChallengeTime = 230;
oHUD.setTime(nChallengeTime);
break;
case "3" :
nChallengeTime = 280;
oHUD.setTime(nChallengeTime);
break;
case "4" :
nChallengeTime = 325;
oHUD.setTime(nChallengeTime);
break;
case "5" :
nChallengeTime = 500;
oHUD.setTime(nChallengeTime);
break;
case "6" :
nChallengeTime = 600;
oHUD.setTime(nChallengeTime);
break;
case "7" :
nChallengeTime = 750;
oHUD.setTime(nChallengeTime);
break;
case "8" :
nChallengeTime = 800;
oHUD.setTime(nChallengeTime);
break;
case "9" :
nChallengeTime = 900;
oHUD.setTime(nChallengeTime);
break;
case "10" :
nChallengeTime = 1100;
oHUD.setTime(nChallengeTime);
}
}
oHUD.setScore(nScore);
oCam.lockOn(sarbakan.utils.Delegate.create(objPlayer, objPlayer.getCamCoord), true);
objBlockManager.activate();
playGameMusic();
}
function getActivationManager() {
return(sarbakan.visual.activation.SelectiveActivation(oLayerGame.oActivationManager));
}
function generateLevel(l_sLevelID) {
var _local6;
switch (l_sLevelID) {
case "Bonus" :
_local6 = levelData.LevelBonusData.getData();
nAttackTimeOut = 0;
nBlock = 0;
break;
case "1" :
_local6 = levelData.Level1Data.getData();
nAttackTimeOut = 300;
nBlock = 6;
break;
case "2" :
_local6 = levelData.Level2Data.getData();
nAttackTimeOut = 300;
nBlock = 7;
break;
case "3" :
_local6 = levelData.Level3Data.getData();
nAttackTimeOut = 300;
nBlock = 8;
break;
case "4" :
_local6 = levelData.Level4Data.getData();
nAttackTimeOut = 300;
nBlock = 10;
break;
case "5" :
_local6 = levelData.Level5Data.getData();
nAttackTimeOut = 300;
nBlock = 10;
break;
case "6" :
_local6 = levelData.Level6Data.getData();
nAttackTimeOut = 300;
nBlock = 10;
break;
case "7" :
_local6 = levelData.Level7Data.getData();
nAttackTimeOut = 300;
nBlock = 6;
break;
case "8" :
_local6 = levelData.Level8Data.getData();
nAttackTimeOut = 300;
nBlock = 8;
break;
case "9" :
_local6 = levelData.Level9Data.getData();
nAttackTimeOut = 360;
nBlock = 8;
break;
case "10" :
_local6 = levelData.Level10Data.getData();
nAttackTimeOut = 30;
nBlock = 1;
break;
default :
_local6 = levelData.LevelBonusData.getData();
nAttackTimeOut = 300;
nBlock = 1;
}
var _local5;
var _local4;
var _local7 = 0;
_global.CS.mcLevel.createEmptyMovieClip("mcFloor", _global.CS.mcLevel.getNextHighestDepth());
_global.CS.mcLevel.mcFloor.attachMovie("cliff", "CliffLeft", 4, {_x:0, _y:60});
var _local3 = 0;
while (_local3 < _local6.length) {
_local5 = _local6[_local3];
_local4 = _global.CS.mcLevel.mcFloor.attachMovie("BlockFull", "Block" + _local3, _local3 + 5000);
_local4._x = _local5[0] + 90;
_local4._y = _local5[1];
CreateBlock(_local4, _local5[2], _local5[3], false);
if (_local7 < _local4._x) {
_local7 = _local4._x;
}
_local3++;
}
_global.CS.mcLevel.mcFloor.attachMovie("cliff", "CliffRight", 5, {_x:_local7 + 105, _y:60, _xscale:-100});
}
function createToph() {
if (objPlayer == undefined) {
objPlayer = new characters.Toph(_global.CS.mcLevel, objBlockManager);
oLayerGame.addDynamicElement(objPlayer);
objPlayer.enable();
}
}
function destroyToph() {
objPlayer.remove();
oLayerGame.removeDynamicElement(objPlayer);
delete objPlayer;
}
function createFriends() {
var _local10 = new Object();
var _local7;
var _local6;
var _local5;
var _local3;
var _local8;
var _local9;
var _local4;
oFriendManager = new FriendManager(objBlockManager, new Twister(_global.CS.mcLevel), getActivationManager());
_local7 = new characters.Friend("Aang");
_local7.setProps(_global.CS.mcLevel, "aang", 100, 2, 3, 35);
oLayerGame.addDynamicElement(_local7);
_local7.setManager(oFriendManager);
_local7.queue();
_local5 = new characters.Friend("Sokka");
_local5.setProps(_global.CS.mcLevel, "sokka", 100, 2, 4, 35);
oLayerGame.addDynamicElement(_local5);
_local5.setManager(oFriendManager);
_local5.queue();
_local4 = new characters.Friend("Katara");
_local4.setProps(_global.CS.mcLevel, "katara", 100, 2, 1.5, 35);
oLayerGame.addDynamicElement(_local4);
_local4.setManager(oFriendManager);
_local4.queue();
_local6 = new characters.Friend("Than");
_local6.setProps(_global.CS.mcLevel, "than", 100, 2, 3, 35);
oLayerGame.addDynamicElement(_local6);
_local6.setManager(oFriendManager);
_local6.queue();
_local3 = new characters.Friend("Suki");
_local3.setProps(_global.CS.mcLevel, "suki", 100, 2, 2, 35);
oLayerGame.addDynamicElement(_local3);
_local3.setManager(oFriendManager);
_local3.queue();
_local8 = new characters.Friend("Se");
_local8.setProps(_global.CS.mcLevel, "se", 100, 2, 2, 35);
oLayerGame.addDynamicElement(_local8);
_local8.setManager(oFriendManager);
_local8.queue();
_local9 = new characters.Friend("Ying");
_local9.setProps(_global.CS.mcLevel, "ying", 100, 2, 1, 70);
oLayerGame.addDynamicElement(_local9);
_local9.setManager(oFriendManager);
_local9.queue();
oFriendManager.printList();
}
function loseToken() {
oHUD.useAirToken();
if (oHUD.getAirToken() == 0) {
gameOver();
}
}
function onFriendSaved(l_sFriendID) {
if (!aFriendSaved) {
aFriendSaved = new Array();
}
aFriendSaved.push({id:l_sFriendID, time:oHUD.getTime()});
oHUD.addSafeFriends();
if (oHUD.getSafeFriends() == 7) {
endLevel();
}
}
function CreateBlock(l_mcRef, l_health, l_type, l_bInGame) {
var _local2 = new Block(l_mcRef, l_health, l_type, objBlockManager);
if (l_bInGame) {
objBlockManager.oActivationManager.addSelectiveElement(_local2);
if (l_type == "Rescue") {
_local2.setState("idle");
} else {
_local2.setState("create");
}
} else {
objBlockManager.AddBlock(_local2);
}
}
function BlocksAttack() {
if (nAttackTimeOut > 0) {
attackTimer++;
if ((attackTimer >= nAttackTimeOut) && (objPlayer.getState() != "Dig")) {
attackTimer = 0;
objBlockManager.BreakRandomBlocks(nBlock);
sarbakan.sound.SoundManager.play("sfxSerpent", 80, 1, true);
}
}
}
function enableEarthPower() {
objPlayer.enableEarthPower();
}
function disableEarthPower() {
objPlayer.disableEarthPower();
}
function EnterFrame() {
if (bGameEnabled) {
if (oKey.GAMEOVER) {
gameOver();
}
if (oKey.SKIP) {
endLevel();
}
if (oKey.PAUSE) {
if (bPauseRelease) {
if (!sarbakan.visual.PauseManager.bPaused) {
showPauseMenu();
} else {
hidePauseMenu();
}
}
bPauseRelease = false;
} else if (!bPauseRelease) {
bPauseRelease = true;
}
if (!sarbakan.visual.PauseManager.bPaused) {
oGameView.update();
BlocksAttack();
objBlockManager.EnterFrame();
oHUD.updateTime();
if (oHUD.getTime() == 0) {
gameOver();
}
}
} else {
if (fCall && (!bWaitCall)) {
fCall();
delete fCall;
} else if (bWaitCall) {
bWaitCall = false;
}
if ((sCurrentScreen == "LevelStats") && (oKey.SECRET)) {
initSecret();
}
}
}
var FRAME_RATE = 35;
var STAGE_HEIGHT = 300;
var BONUS_TIME = 60;
var VOLUME_MUSIC = 75;
var GOLD_RANDOM = 2;
}
Symbol 1066 MovieClip [__Packages.sarbakan.visual.element.BaseElement] Frame 0
class sarbakan.visual.element.BaseElement
{
static var nNextID;
var id, oOwner, mc;
function BaseElement (l_sID) {
id = l_sID;
}
function setOwner(l_oOwner) {
oOwner = l_oOwner;
}
function setMC(l_mc) {
mc = l_mc;
}
function getMC() {
return(mc);
}
function attachMC() {
}
function toString() {
return(id);
}
static function resetID() {
nNextID = undefined;
}
static function getNextID() {
if (!nNextID) {
nNextID = 0;
}
return(nNextID++);
}
}
Symbol 1067 MovieClip [__Packages.sarbakan.visual.layer.Layer] Frame 0
class sarbakan.visual.layer.Layer
{
var mc, oDynamicElements, oStaticElements, oCollisionMaps, oActivationManager, nStageWHalf, nStageHHalf;
function Layer (l_mc, l_oActivationManager) {
mc = l_mc;
oDynamicElements = {};
oStaticElements = [];
oCollisionMaps = {};
oActivationManager = l_oActivationManager;
}
function init(l_nStageW, l_nStageH) {
nStageWHalf = l_nStageW / 2;
nStageHHalf = l_nStageH / 2;
oActivationManager.init(l_nStageW, l_nStageH);
}
function addDynamicElement(l_oElement) {
oDynamicElements[l_oElement.id] = l_oElement;
l_oElement.setOwner(this);
if (!l_oElement.bAlwaysActive) {
oActivationManager.addDynamicElement(l_oElement, l_oElement.mc._x, l_oElement.mc._y, l_oElement.mc._width, l_oElement.mc._height);
} else {
oActivationManager.addAlwaysActiveElement(l_oElement);
}
}
function changeDynamicElementID(l_oElement, l_sNewID) {
delete oDynamicElements[l_oElement.id];
l_oElement.id = l_sNewID;
oDynamicElements[l_oElement.id] = l_oElement;
}
function removeDynamicElement(l_oElement) {
oActivationManager.removeDynamicElement(l_oElement);
delete oDynamicElements[l_oElement.id];
}
function addStaticElement(l_oElement) {
l_oElement.mc._visible = false;
l_oElement.setOwner(this);
oActivationManager.addStaticElement(l_oElement.mc, l_oElement.mc._x, l_oElement.mc._y, l_oElement.mc._width, l_oElement.mc._height);
oStaticElements.push(l_oElement.mc);
}
function addCollisionMap(l_oCollisionMap) {
oCollisionMaps[l_oCollisionMap.id] = l_oCollisionMap;
}
function update() {
oActivationManager.updateActivation((mc._x - nStageWHalf) * -1, (mc._y - nStageHHalf) * -1);
var _local2;
_local2 = oActivationManager.getActiveElements();
for (var _local3 in _local2) {
_local2[_local3].update();
}
}
function reset() {
for (var _local2 in oDynamicElements) {
oDynamicElements[_local2].reset();
}
}
function pause() {
var _local2;
_local2 = oActivationManager.getActiveElements();
for (var _local3 in _local2) {
_local2[_local3].pause();
}
}
function unpause() {
var _local2;
_local2 = oActivationManager.getActiveElements();
for (var _local3 in _local2) {
_local2[_local3].unpause();
}
}
function destroy() {
for (var _local2 in oDynamicElements) {
oDynamicElements[_local2].remove();
}
for (var _local2 in oStaticElements) {
oStaticElements[_local2].removeMovieClip();
}
for (var _local2 in oCollisionMaps) {
oCollisionMaps[_local2].remove();
}
}
}
Symbol 1068 MovieClip [__Packages.sarbakan.visual.activation.ActivationManager] Frame 0
class sarbakan.visual.activation.ActivationManager
{
var nZoneWidth, nZoneHeight;
function ActivationManager () {
}
function init(l_nZoneWidth, l_nZoneHeight) {
nZoneWidth = l_nZoneWidth;
nZoneHeight = l_nZoneHeight;
}
function addDynamicElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
}
function addAlwaysActiveElement(l_oElement) {
}
function removeDynamicElement(l_oElement) {
}
function addStaticElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
}
function removeStaticElement(l_oElement) {
}
function updateActivation(l_nX, l_nY) {
}
function getActiveElements() {
return([]);
}
}
Symbol 1069 MovieClip [__Packages.sarbakan.visual.element.StaticElement] Frame 0
class sarbakan.visual.element.StaticElement extends sarbakan.visual.element.BaseElement
{
function StaticElement (l_sID) {
super(l_sID);
}
}
Symbol 1070 MovieClip [__Packages.sarbakan.visual.layer.CollisionMap] Frame 0
class sarbakan.visual.layer.CollisionMap
{
static var nDepth;
var id, oLayer, mc, nColor;
function CollisionMap (l_sID, l_oLayer, l_nColor) {
if (!nDepth) {
nDepth = BASE_DEPTH;
}
id = l_sID;
oLayer = l_oLayer;
mc = oLayer.mc.createEmptyMovieClip(id, nDepth++);
mc._visible = false;
if (!l_nColor) {
nColor = 16711935 /* 0xFF00FF */;
} else {
nColor = l_nColor;
}
}
function show(l_nAlpha) {
mc._visible = true;
if (l_nAlpha) {
mc._alpha = l_nAlpha;
} else {
mc._alpha = 100;
}
}
function hide() {
mc._visible = false;
mc._alpha = 100;
}
function drawRect(l_nX, l_nY, l_nWidth, l_nHeight) {
mc.moveTo(l_nX, l_nY);
mc.beginFill(nColor);
mc.lineTo(l_nX + l_nWidth, l_nY);
mc.lineTo(l_nX + l_nWidth, l_nY + l_nHeight);
mc.lineTo(l_nX, l_nY + l_nHeight);
mc.lineTo(l_nX, l_nY);
}
function setNewSource(l_mcSource) {
remove();
mc = l_mcSource;
mc._visible = false;
}
function remove() {
mc.removeMovieClip();
}
static var BASE_DEPTH = 64000;
}
Symbol 1071 MovieClip [__Packages.sarbakan.visual.element.DynamicElement] Frame 0
class sarbakan.visual.element.DynamicElement extends sarbakan.visual.element.BaseElement
{
var nSpeedX, nSpeedXLast, nSpeedY, nSpeedYLast, bAlwaysActive, bStaticMovieClip, mc, oOwner, sNextState, sState;
function DynamicElement (l_sID) {
super(l_sID);
nSpeedX = 0;
nSpeedXLast = 0;
nSpeedY = 0;
nSpeedYLast = 0;
bAlwaysActive = false;
bStaticMovieClip = false;
}
function update() {
updateState();
updateDirection();
updateMove();
}
function enable() {
setState(DEFAULT_STATE);
updateState();
}
function disable() {
setState("inactive");
updateState();
}
function pause() {
mc.state.stop();
}
function unpause() {
mc.state.play();
}
function remove() {
disable();
trace("remove" + this);
if (!bStaticMovieClip) {
mc.removeMovieClip();
}
oOwner.removeDynamicElement(this);
}
function reset() {
}
function setState(l_sState) {
sNextState = l_sState;
}
function getState() {
return(sState);
}
function getCoord() {
var _local2 = new Object();
_local2.x = mc._x;
_local2.y = mc._y;
return(_local2);
}
function setCoord(l_oPos) {
mc._x = l_oPos.x;
mc._y = l_oPos.y;
}
function collideWithMap(l_sCollisionMapID) {
var _local3;
if (typeof(arguments[1]) == "movieclip") {
_local3 = getGlobalPos(arguments[1]);
} else if (typeof(arguments[1]) == "object") {
_local3 = arguments[1];
} else {
_local3 = getGlobalPos(mc);
}
return(oOwner.oCollisionMaps[l_sCollisionMapID].mc.hitTest(_local3.x, _local3.y, true));
}
function collideWithElement(l_sElementID) {
var _local3;
if (arguments[1]) {
_local3 = getGlobalPos(arguments[1]);
} else {
_local3 = getGlobalPos(mc);
}
return(oOwner.oDynamicElements[l_sElementID].mc.hitTest(_local3.x, _local3.y, false));
}
function collideWithElementBox(l_sElementID) {
var _local3;
if (arguments[1]) {
_local3 = arguments[1];
} else {
_local3 = mc;
}
return(oOwner.oDynamicElements[l_sElementID].mc.hitTest(_local3));
}
function setMC(l_mc) {
super.setMC(l_mc);
sNextState = sState;
updateState();
}
function getElement(l_sElementID) {
return(oOwner.oDynamicElements[l_sElementID]);
}
function stateStarting() {
return(mc.state._currentframe == 1);
}
function stateFinished() {
return(mc.state._currentframe == mc.state._totalframes);
}
function stateCurrentFrame() {
return(mc.state._currentframe);
}
function updateState() {
if (sNextState != undefined) {
sState = sNextState;
sNextState = undefined;
mc.gotoAndStop(sState);
}
this[sState]();
}
function updateDirection() {
if (nSpeedX > 0) {
mc._xscale = Math.abs(mc._xscale);
} else if (nSpeedX < 0) {
mc._xscale = -1 * Math.abs(mc._xscale);
}
nSpeedXLast = nSpeedX;
nSpeedYLast = nSpeedY;
}
function updateMove() {
mc._x = nSpeedX + mc._x;
mc._y = nSpeedY + mc._y;
}
function getGlobalPos(l_mc) {
var _local1 = new Object();
_local1.x = 0;
_local1.y = 0;
_local1.x = l_mc._x;
_local1.y = l_mc._y;
l_mc._parent.localToGlobal(_local1);
return(_local1);
}
var DEFAULT_STATE = "idle";
}
Symbol 1072 MovieClip [__Packages.sarbakan.visual.element.basicElement.Character] Frame 0
class sarbakan.visual.element.basicElement.Character extends sarbakan.visual.element.DynamicElement
{
var sFloorColliderID, sWallColliderID, sFrontColliderName, sBackColliderName, sBottomColliderName, nMoveSpeedX, nAirSpeedX, nDirection, mc, nSpeedX, nSpeedY, stateStarting, stateFinished, setState, getGlobalPos, collideWithMap;
function Character (l_sID) {
super(l_sID);
sFloorColliderID = "floor";
sWallColliderID = "wall";
sFrontColliderName = "front";
sBackColliderName = "back";
sBottomColliderName = "bottom";
nMoveSpeedX = SPEED_RUN;
nAirSpeedX = SPEED_AIR_MOVEX;
}
function setDirection(l_nDirection) {
if ((l_nDirection >= -1) && (l_nDirection <= 1)) {
nDirection = l_nDirection;
mc._xscale = Math.abs(mc._xscale) * nDirection;
}
}
function getDirection() {
return(nDirection);
}
function idle() {
nSpeedX = 0;
nSpeedY = 0;
checkFall();
setPositionOutFloor();
}
function run() {
nSpeedX = nMoveSpeedX * nDirection;
nSpeedY = 0;
checkFall();
setPositionOutFloor();
checkWall();
}
function fallStart() {
if (stateStarting()) {
nSpeedY = 1;
} else if (stateFinished()) {
setState("fall");
} else {
fall();
}
}
function fall() {
if (stateFinished()) {
mc.state.stop();
}
nSpeedY = nSpeedY + (nSpeedY * GRAVITY);
if (nSpeedY > SPEED_FALL) {
nSpeedY = SPEED_FALL;
}
if (isOnGround()) {
setPositionOutFloor();
setState("land");
}
checkWall();
}
function land() {
nSpeedX = 0;
nSpeedY = 0;
if (stateFinished()) {
setState("idle");
}
}
function jump() {
if (stateStarting()) {
nSpeedY = JUMP_FORCE;
} else {
nSpeedY = nSpeedY - (nSpeedY * GRAVITY);
nSpeedX = nDirection * nAirSpeedX;
if (nSpeedY > -1) {
setState("fallStart");
}
}
checkWall();
}
function checkFall() {
var _local2 = mc._y;
while (!isOnGround()) {
mc._y = mc._y + ADJUST_FLOOR;
if ((mc._y - _local2) > DISTANCE_FALL) {
setState("fallStart");
break;
}
nSpeedY = mc._y - _local2;
}
if (mc._y != _local2) {
mc._y = _local2;
return(false);
}
return(true);
}
function checkWall() {
if (isHittingWall()) {
setPositionOutWall();
}
}
function isOnGround() {
var _local2 = getGlobalPos(mc[sBottomColliderName]);
return(collideWithMap(sFloorColliderID, {x:_local2.x + nSpeedX, y:_local2.y + nSpeedY}));
}
function isHittingWall() {
var _local2;
_local2 = getGlobalPos(mc[sFrontColliderName]);
if (collideWithMap(sWallColliderID, {x:_local2.x + nSpeedX, y:_local2.y + nSpeedY})) {
return(-1);
}
_local2 = getGlobalPos(mc[sBackColliderName]);
if (collideWithMap(sWallColliderID, {x:_local2.x + nSpeedX, y:_local2.y + nSpeedY})) {
return(1);
}
}
function setPositionOutFloor() {
while (isOnGround()) {
nSpeedY--;
}
}
function setPositionInFloor() {
while (!isOnGround()) {
nSpeedY++;
}
}
function setPositionOutWall() {
var _local2;
var _local3 = 0;
while (_local2 = isHittingWall() && (_local3 < 10) , _local2) {
_local2 = isHittingWall();
nSpeedX = nSpeedX + (_local2 * (mc._xscale / Math.abs(mc._xscale)));
_local3++;
}
}
var ADJUST_FLOOR = 1;
var DISTANCE_FALL = 8;
var JUMP_FORCE = -20;
var GRAVITY = 0.2;
var SPEED_RUN = 3;
var SPEED_FALL = 10;
var SPEED_AIR_MOVEX = 3;
}
Symbol 1073 MovieClip [__Packages.characters.Toph] Frame 0
class characters.Toph extends sarbakan.visual.element.basicElement.Character
{
var bEarthPower, oBlockManager, setMC, setCoord, oKey, bAlwaysActive, nCameraX, nCameraY, sWallColliderID, mc, getCoord, oFriendToMove, nSpeedY, nSpeedX, setState, checkFall, setPositionOutFloor, nMoveSpeedX, checkWall, stateStarting, stateFinished, GRAVITY, SPEED_FALL, isOnGround, nAirSpeedX, JUMP_FORCE, stateCurrentFrame, oBlockListener, nCurrentBlockType, setPositionInFloor, oCurrentDigBlock, nCurrentDigRow, nDigDistance, oKeyBasher, nPowerCount, nPowerNeeded, getState;
function Toph (l_mcParent, l_oBlockManager) {
super("Toph");
bEarthPower = false;
oBlockManager = l_oBlockManager;
setMC(l_mcParent.attachMovie(LINKAGE_NAME, LINKAGE_NAME, PLAYER_DEPTH));
setCoord(oBlockManager.getStartPoint());
oKey = sarbakan.input.KeyManager.getInstance();
oKey.addKeyListener(39, "RIGHT");
oKey.addKeyListener(37, "LEFT");
oKey.addKeyListener(40, "DOWN");
oKey.addKeyListener(38, "UP");
oKey.addKeyListener(49, "One");
oKey.addKeyListener(50, "Two");
oKey.addKeyListener(51, "Three");
oKey.addKeyListener(97, "nOne");
oKey.addKeyListener(98, "nTwo");
oKey.addKeyListener(99, "nThree");
bAlwaysActive = true;
nCameraX = BASE_CAMERAX;
nCameraY = BASE_CAMERAY;
sWallColliderID = "floor";
}
function getCamCoord() {
return({x:Math.round(mc._x + nCameraX), y:Math.round(mc._y + nCameraY)});
}
function getGridCoord() {
var _local2 = getCoord();
return(oBlockManager.getGridCoord(_local2));
}
function update() {
super.update();
}
function enableEarthPower() {
bEarthPower = true;
}
function disableEarthPower() {
bEarthPower = false;
}
function moveFriend() {
for (var _local2 in oFriendToMove) {
oFriendToMove[_local2].setSpeedY(nSpeedY);
}
}
function leaveFriend(l_bLand) {
var _local3 = 0;
while (oFriendToMove.length > 0) {
var _local5 = getCoord();
var _local4 = oBlockManager.getGridCoord(_local5);
_local4 = oBlockManager.getGridCoord(_local5);
_global.C.oFriendManager.switchCell(_local4, oFriendToMove[_local3]);
oFriendToMove[_local3].setSpeedY(0);
oFriendToMove[_local3].adjustCoord(l_bLand);
if (l_bLand) {
oFriendToMove[_local3].setState("land");
} else {
oFriendToMove[_local3].setState("idle");
}
delete oFriendToMove[_local3];
oFriendToMove.splice(_local3, 1);
}
}
function setFriend() {
var _local4 = oBlockManager.getGridCoord(getCoord());
oFriendToMove = new Array();
oFriendToMove = _global.C.oFriendManager.getFriendLstOnColumn(_local4);
for (var _local3 in oFriendToMove) {
oFriendToMove[_local3].setState("moved");
}
}
function idle() {
nSpeedX = 0;
nSpeedY = 0;
if (oKey.LEFT || (oKey.RIGHT)) {
setState("run");
}
checkFall();
checkDig();
setPositionOutFloor();
checkJump();
checkCreateBlock();
}
function run() {
if ((!oKey.LEFT) && (!oKey.RIGHT)) {
setState("idle");
}
if (oKey.LEFT) {
nSpeedX = nMoveSpeedX * -1;
} else if (oKey.RIGHT) {
nSpeedX = nMoveSpeedX;
}
nSpeedY = 0;
checkFall();
setPositionOutFloor();
checkWall();
checkJump();
checkCreateBlock();
}
function fallStart() {
if (stateStarting()) {
nSpeedY = 1;
} else if (stateFinished()) {
setState("fall");
} else {
fall();
}
}
function fall() {
nSpeedY = nSpeedY + (nSpeedY * GRAVITY);
if (nSpeedY > SPEED_FALL) {
nSpeedY = SPEED_FALL;
}
if (isOnGround()) {
setPositionOutFloor();
setState("land");
leaveFriend(true);
} else {
moveFriend();
if (oKey.LEFT) {
nSpeedX = -1 * nAirSpeedX;
} else if (oKey.RIGHT) {
nSpeedX = nAirSpeedX;
} else {
nSpeedX = 0;
}
}
checkWall();
}
function land() {
nSpeedX = 0;
nSpeedY = 0;
if (stateStarting()) {
sarbakan.sound.SoundManager.play("sfxTophLand", 50, 1, true);
} else if (stateFinished()) {
setState("idle");
}
}
function jump() {
if (stateStarting()) {
nSpeedY = JUMP_FORCE;
sarbakan.sound.SoundManager.play("sfxTophJump", 50, 1, true);
} else {
nSpeedY = nSpeedY - (nSpeedY * GRAVITY);
if (oKey.LEFT) {
nSpeedX = -1 * nAirSpeedX;
} else if (oKey.RIGHT) {
nSpeedX = nAirSpeedX;
} else {
nSpeedX = 0;
}
if (nSpeedY > -1) {
setState("fallStart");
}
}
checkWall();
}
function createBlock() {
var _local7 = getCoord();
var _local8;
if (oBlockManager.columnIsCollapsing(oBlockManager.getGridCoord(_local7).x)) {
setState("fallStart");
} else if (stateCurrentFrame() == FR_CREATE_START) {
oBlockListener = new Object();
oBlockListener.onBlockAdded = sarbakan.utils.Delegate.create(this, onBlockAdded);
oBlockManager.addListener(oBlockListener);
mc._parent.localToGlobal(_local7);
switch (nCurrentBlockType) {
case 1 :
oBlockManager.CreateABlock(_local7, "Full");
break;
case 2 :
oBlockManager.CreateABlock(_local7, "Half_2");
break;
case 3 :
oBlockManager.CreateABlock(_local7, "Half_3");
}
} else if (stateFinished()) {
nSpeedY == 0;
mc._parent.localToGlobal(_local7);
oBlockManager.getBlockAtPos(_local7).repairBlock();
setPositionOutFloor();
setPositionInFloor();
setState("idle");
resetKeyBasher();
leaveFriend();
var _local6 = getGridCoord();
var _local4 = new Array();
_local6.x--;
var _local5 = 0;
while (_local5 < 3) {
_local4 = new Array();
_local4 = _global.C.oFriendManager.getFriendLstOnColumn(_local6);
var _local3 = 0;
while (_local3 < _local4.length) {
_local4[_local3].stopRunning();
_local3++;
}
_local6.x++;
_local5++;
}
} else if (stateCurrentFrame() > FR_CREATE_START) {
nSpeedY = 0;
setPositionOutFloor();
setPositionInFloor();
moveFriend();
} else if (stateStarting()) {
nSpeedX = 0;
nSpeedY = 0;
if (bEarthPower) {
oBlockManager.repairColumn(oBlockManager.getGridCoord(_local7).x);
}
var _local6 = getGridCoord();
var _local4 = new Array();
_local6.x--;
var _local5 = 0;
while (_local5 < 3) {
_local4 = new Array();
_local4 = _global.C.oFriendManager.getFriendLstOnColumn(_local6);
var _local3 = 0;
while (_local3 < _local4.length) {
_local4[_local3].stopRunning();
_local3++;
}
_local6.x++;
_local5++;
}
setFriend();
}
}
function onBlockAdded() {
oBlockManager.removeListener(oBlockListener);
leaveFriend();
}
function repairBlock() {
var _local2;
if (stateFinished()) {
_local2 = getCoord();
mc._parent.localToGlobal(_local2);
oBlockManager.getBlockAtPos(_local2).repairBlock();
nSpeedY == 0;
setPositionOutFloor();
setPositionInFloor();
setState("idle");
resetKeyBasher();
} else {
nSpeedY = 0;
}
}
function dig() {
var _local3;
var _local4;
var _local5;
if (stateFinished()) {
setState("idle");
checkWall();
leaveFriend(true);
} else if (stateCurrentFrame() == FR_DIG_START) {
_local3 = getCoord();
mc._parent.localToGlobal(_local3);
oCurrentDigBlock = oBlockManager.DigABlock(_local3);
nCurrentDigRow = oCurrentDigBlock.row;
if (_global.C.bBonusEnabled && (Math.floor(Math.random() * _global.C.GOLD_RANDOM) == 1)) {
_local5 = new PowerUp(_global.CS.mcLevel, "Bonus_Gold", "Gold", oCurrentDigBlock.getCoord());
_global.C.oLayerGame.addDynamicElement(_local5);
_local5.setState("appear");
}
_local4 = getGridCoord();
_local4.y--;
if (nCurrentDigRow) {
nDigDistance = Math.round((oBlockManager.getGridPos(_local4).y - _local3.y) + IN_FLOOR);
} else {
nDigDistance = 5;
}
setFriend();
} else if ((stateCurrentFrame() > FR_DIG_START) && (stateCurrentFrame() <= FR_DIG_END)) {
nSpeedY = nDigDistance / (FR_DIG_END - FR_DIG_START);
moveFriend();
} else {
nSpeedY = 0;
moveFriend();
}
}
function checkCreateBlock() {
var _local5 = getCoord();
var _local4;
var _local3;
if (!oKeyBasher) {
mc._parent.localToGlobal(_local5);
if (oKey.One || (oKey.nOne)) {
_local4 = oBlockManager.canCreateABlock(_local5, "Full");
if (_local4 == 1) {
nCurrentBlockType = 1;
} else {
nCurrentBlockType = 4;
}
if (oKey.One) {
_local3 = 49;
} else if (oKey.nOne) {
_local3 = 97;
}
} else if (oKey.Two || (oKey.nTwo)) {
_local4 = oBlockManager.canCreateABlock(_local5, "Left");
if (_local4 == 1) {
nCurrentBlockType = 2;
} else {
nCurrentBlockType = 4;
}
if (oKey.Two) {
_local3 = 50;
} else if (oKey.nTwo) {
_local3 = 98;
}
} else if (oKey.Three || (oKey.nThree)) {
_local4 = oBlockManager.canCreateABlock(_local5, "Right");
if (_local4 == 1) {
nCurrentBlockType = 3;
} else {
nCurrentBlockType = 4;
}
if (oKey.Three) {
_local3 = 51;
} else if (oKey.nThree) {
_local3 = 99;
}
}
if (_local4 && (!bEarthPower)) {
nPowerCount = 1;
if (_local4 == 1) {
nPowerNeeded = BUILD_POWER_NEEDED;
} else if (_local4 == 2) {
nPowerNeeded = REPAIR_POWER_NEEDED;
}
oKeyBasher = new sarbakan.input.KeyBasher(_local3, 1, 5, sarbakan.utils.Delegate.create(this, checkBashBlock));
} else if (_local4 && (bEarthPower)) {
_global.C.oHUD.updatePowerBar(100);
onBashComplete();
}
}
}
function checkBashBlock(l_bBashSuccess) {
var _local3 = getCoord();
if (getState() == "idle") {
if (oBlockManager.columnIsCollapsing(oBlockManager.getGridCoord(_local3).x)) {
resetKeyBasher();
} else if (l_bBashSuccess) {
nPowerCount++;
if (nPowerCount >= nPowerNeeded) {
onBashComplete();
}
} else {
nPowerCount--;
if (nPowerCount <= 0) {
resetKeyBasher();
}
}
} else {
resetKeyBasher();
}
_global.C.oHUD.updatePowerBar(nPowerCount / nPowerNeeded);
}
function onBashComplete() {
var _local2 = getCoord();
var _local3;
mc._parent.localToGlobal(_local2);
if (((getState() != "fall") && (getState() != "fallStart")) && (getState() != "land")) {
if (!bEarthPower) {
if (nCurrentBlockType == 4) {
setState("repairBlock");
} else {
setState("createBlock");
}
} else {
setState("createBlock");
}
}
}
function resetKeyBasher() {
nPowerCount = 0;
oKeyBasher.end();
delete oKeyBasher;
_global.C.oHUD.updatePowerBar(0);
}
function checkDig() {
var _local2;
if (oKey.DOWN && (isOnGround())) {
_local2 = getCoord();
mc._parent.localToGlobal(_local2);
if (!oBlockManager.columnIsCollapsing(oBlockManager.GetGridColumn(_local2))) {
if (oBlockManager.canDig(_local2)) {
setState("dig");
resetKeyBasher();
}
}
}
}
function checkJump() {
if (oKey.UP) {
resetKeyBasher();
setState("jump");
}
}
var LINKAGE_NAME = "Toph";
var PLAYER_DEPTH = 300;
var SPEED_RUN = 3;
var FR_DIG_START = 20;
var FR_DIG_END = 25;
var FR_CREATE_START = 4;
var IN_FLOOR = 4;
var BASE_CAMERAX = -300;
var BASE_CAMERAY = -150;
var BUILD_POWER_NEEDED = 5;
var REPAIR_POWER_NEEDED = 1;
}
Symbol 1074 MovieClip [__Packages.BlockManager] Frame 0
class BlockManager
{
var blockArr, movingBlock, nUniqueID, oActivationManager, broadcastMessage;
function BlockManager () {
blockArr = undefined;
movingBlock = new Array();
AsBroadcaster.initialize(this);
nUniqueID = 0;
}
function activate(l_oActivationManager) {
var _local6 = Math.ceil(_global.CS.mcLevel.mcFloor._width / BLOCK_WIDTH);
oActivationManager = _global.C.getActivationManager();
var _local5;
var _local4 = 0;
while (_local4 < _local6) {
var _local3 = 0;
while (_local3 < ROW_HEIGHT) {
if (blockArr[_local4][_local3] != null) {
blockArr[_local4][_local3].mc.swapDepths(((_local4 + 1) * 10) + _local3);
oActivationManager.addSelectiveElement(blockArr[_local4][_local3]);
_global.C.oLayerGame.changeDynamicElementID(blockArr[_local4][_local3], "Block" + (((_local4 + 1) * 10) + _local3));
if (blockArr[_local4][_local3].getType() == "Safe") {
if ((blockArr[_local4][_local3 + 1].getType() != "Safe") && (blockArr[_local4 + 1][_local3].getType() != "Safe")) {
_local5 = _global.CS.mcLevel.mcFloor.attachMovie("safe", ("SAFE" + _local4) + _local3, ((_local4 + 1) * 10) + 9);
_local5._x = blockArr[_local4][_local3].getCoord().x - 75;
_local5._y = blockArr[_local4][_local3].getCoord().y - 15;
}
}
}
_local3++;
}
_local4++;
}
}
function EnterFrame() {
var _local2 = 0;
while (_local2 < movingBlock.length) {
if (movingBlock[_local2].Moving()) {
movingBlock.splice(_local2, 1);
_local2--;
}
_local2++;
}
}
function InitObj() {
blockArr = new Array();
}
function destroy() {
var _local3 = 0;
while (_local3 < blockArr.length) {
var _local2 = 0;
while (_local2 < blockArr[_local3].length) {
if (blockArr[_local3][_local2] != null) {
blockArr[_local3][_local2].remove();
delete blockArr[_local3][_local2];
}
_local2++;
}
_local3++;
}
delete blockArr;
}
function removeBlock(l_oBlock) {
var _local2 = l_oBlock.getGridPos();
delete blockArr[_local2.x][_local2.y];
blockArr[_local2.x][_local2.y] = null;
blockArr[_local2.x][_local2.y - 1].updateState(true);
}
function removeBlockAtPos(l_oGridCoord) {
delete blockArr[l_oGridCoord.x][l_oGridCoord.y];
blockArr[l_oGridCoord.x][l_oGridCoord.y] = null;
blockArr[l_oGridCoord.x][l_oGridCoord.y - 1].updateState(true);
}
function AddBlock(l_block) {
if (blockArr == undefined) {
InitObj();
}
var _local3 = l_block.getGridPos();
if ((blockArr[_local3.x][_local3.y] == null) || (blockArr[_local3.x][_local3.y] == undefined)) {
if (!blockArr[_local3.x]) {
blockArr[_local3.x] = new Array();
var _local2 = 0;
while (_local2 < ROW_HEIGHT) {
blockArr[_local3.x][_local2] = null;
_local2++;
}
}
blockArr[_local3.x][_local3.y] = l_block;
broadcastMessage("onBlockAdded");
} else {
l_block.remove();
}
}
function addPowerUp(l_oCoord) {
if (!_global.C.nBonusDelay) {
l_oCoord.y = l_oCoord.y - 30;
var _local3 = POWERUP_DATA[Math.floor(Math.random() * POWERUP_DATA.length)];
var _local4 = new PowerUp(_global.CS.mcLevel, _local3.sLinkage, _local3.sType, l_oCoord);
_global.C.oLayerGame.addDynamicElement(_local4);
_local4.setState("appear");
_global.C.nBonusDelay = 300;
}
}
function switchRow(l_nColumn, l_nLastRow, l_nCurrentRow, l_oBlock, l_bDeleteLast) {
blockArr[l_nColumn][l_nCurrentRow] = l_oBlock;
if (l_bDeleteLast) {
addPowerUp(l_oBlock.getCoord());
removeBlockAtPos({x:l_nColumn, y:l_nLastRow});
}
_global.C.oLayerGame.changeDynamicElementID(blockArr[l_nColumn][l_nCurrentRow], "Block" + (((l_nColumn + 1) * 10) + l_nCurrentRow));
blockArr[l_nColumn][l_nCurrentRow].mc._name = (("Block" + (((l_nColumn + 1) * 10) + l_nCurrentRow)) + "_") + (nUniqueID++);
blockArr[l_nColumn][l_nCurrentRow].mc.swapDepths(((l_nColumn + 1) * 10) + l_nCurrentRow);
if (!columnIsCollapsing(l_nColumn)) {
var _local3 = blockArr[l_nColumn].length - 1;
while (_local3 >= 0) {
if (blockArr[l_nColumn][_local3] != null) {
_global.C.oFriendManager.reactToCollapseComplete(l_nColumn, _local3);
break;
}
_local3--;
}
}
}
function getBlockAtPos(l_oPos) {
_global.CS.mcLevel.mcFloor.globalToLocal(l_oPos);
var _local3 = getGridCoord(l_oPos);
return(blockArr[_local3.x][_local3.y]);
}
function getBlockAtCoord(l_oGridCoord) {
return(blockArr[l_oGridCoord.x][l_oGridCoord.y]);
}
function getBlockWidth() {
return(BLOCK_WIDTH);
}
function getBlockHeight() {
return(BLOCK_HEIGHT);
}
function getBlockType(l_oGridPos) {
return(blockArr[l_oGridPos.x][l_oGridPos.y].getType());
}
function getStartPoint() {
return({x:Math.ceil((_global.CS.mcLevel.mcFloor._width - (BLOCK_WIDTH * 3)) - 40), y:65});
}
function isCharOnTop(l_oGridPos) {
var _local3 = false;
if (((blockArr[l_oGridPos.x][l_oGridPos.y] != null) && (blockArr[l_oGridPos.x][l_oGridPos.y + 1] == null)) || (blockArr[l_oGridPos.x][l_oGridPos.y] == undefined)) {
_local3 = true;
}
return(_local3);
}
function isOnTop(l_oGridPos) {
var _local2 = blockArr[l_oGridPos.x].length - 1;
while (_local2 >= 0) {
if (blockArr[l_oGridPos.x][_local2] != null) {
if (l_oGridPos.y == _local2) {
return(true);
}
break;
}
_local2--;
}
return(false);
}
function getTopPos(_oGridPos) {
var _local3 = new Object();
var _local2 = blockArr[_oGridPos.x].length - 1;
while (_local2 >= 0) {
if (blockArr[_oGridPos.x][_local2] != null) {
_local3.x = _oGridPos.x;
_local3.y = _local2;
_local2 = -1;
}
_local2--;
}
return(_local3);
}
function isWalkable(l_oPos, l_nDirection, l_oCurrentBlock, l_oNextMove) {
var _local5 = getGridCoord(l_oPos);
var _local4 = blockArr[_local5.x][_local5.y];
var _local7 = blockArr[_local5.x][_local5.y + 1];
var _local6 = blockArr[_local5.x][_local5.y - 1];
l_oNextMove.block = _local4;
l_oNextMove.bMoveY = false;
if ((_local5.x < 3) && (_local5.y == 7)) {
l_oNextMove.block = undefined;
return(true);
}
if (columnIsCollapsing(_local5.x)) {
return(false);
}
if (_local4) {
if (!_local4.isFull()) {
if ((l_oCurrentBlock != undefined) && (!l_oCurrentBlock.isFull())) {
l_oNextMove.bMoveY = true;
if (_local4.getType() != l_oCurrentBlock.getType()) {
return(true);
}
return(false);
}
l_oNextMove.bMoveY = true;
if ((_local4.getType() == "Half_2") && (l_nDirection == 1)) {
return(true);
}
if ((_local4.getType() == "Half_3") && (l_nDirection == -1)) {
return(true);
}
return(false);
}
if ((((l_oCurrentBlock && (!l_oCurrentBlock.isFull())) && (_local4)) && (_local4.isFull())) && (_local7)) {
l_oNextMove.block = _local7;
l_oNextMove.bMoveY = true;
if (_local7.getType() != l_oCurrentBlock.getType()) {
return(false);
}
return(true);
}
if (_local7) {
if (!_local7.isFull()) {
l_oNextMove.block = _local7;
l_oNextMove.bMoveY = true;
if ((_local7.getType() == "Half_2") && (l_nDirection == -1)) {
return(true);
}
if ((_local7.getType() == "Half_3") && (l_nDirection == 1)) {
return(true);
}
return(false);
}
return(false);
}
if (_local4.getType() == "Rescue") {
return(false);
}
if (l_oCurrentBlock && (!l_oCurrentBlock.isFull())) {
l_oNextMove.bMoveY = true;
if ((l_oCurrentBlock.getType() == "Half_2") && (l_nDirection == -1)) {
return(true);
}
if ((l_oCurrentBlock.getType() == "Half_3") && (l_nDirection == 1)) {
return(true);
}
return(false);
}
return(true);
}
if (!_local4) {
if (_local6) {
if (l_oCurrentBlock.getType().indexOf("Half") != -1) {
l_oNextMove.block = _local6;
l_oNextMove.bMoveY = true;
if ((l_oCurrentBlock.getType() == "Half_2") && (l_nDirection == 1)) {
if ((_local6.getType().indexOf("Half") != -1) && (_local6.getType() == l_oCurrentBlock.getType())) {
return(true);
}
if (_local6.getType().indexOf("Half") == -1) {
return(true);
}
return(false);
}
if ((l_oCurrentBlock.getType() == "Half_3") && (l_nDirection == -1)) {
if ((_local6.getType().indexOf("Half") != -1) && (_local6.getType() == l_oCurrentBlock.getType())) {
return(true);
}
if (_local6.getType().indexOf("Half") == -1) {
return(true);
}
return(false);
}
return(false);
}
return(false);
}
return(false);
}
return(false);
}
function canDig(l_pos) {
var _local5 = false;
var _local6 = getGridCoord(l_pos).y;
_global.CS.mcLevel.mcFloor.globalToLocal(l_pos);
var _local4 = GetGridColumn(l_pos);
var _local3 = blockArr[_local4].length - 1;
if (blockArr[_local4]) {
while (_local3 >= 0) {
if (((blockArr[_local4][_local3] != null) && (blockArr[_local4][_local3].canDelete())) && (_local6 == _local3)) {
_local5 = true;
break;
}
_local3--;
}
}
return(_local5);
}
function DigABlock(l_pos) {
var _local5;
var _local7 = false;
_global.CS.mcLevel.mcFloor.globalToLocal(l_pos);
var _local4 = GetGridColumn(l_pos);
if (!columnIsCollapsing(_local4)) {
var _local3 = blockArr[_local4].length - 1;
while (_local3 >= 0) {
_local5 = blockArr[_local4][_local3];
if ((_local5 != null) && (_local5.canDelete())) {
_local5.setState("broken");
removeBlock(blockArr[_local4][_local3]);
if (_local3 == 0) {
createRescueBlock(_local4, _local3);
} else {
blockArr[_local4][_local3 - 1].updateState(true);
}
break;
}
_local3--;
}
return(_local5);
}
}
function canCreateABlock(l_pos, l_blockType) {
var _local5 = 0;
_global.CS.mcLevel.mcFloor.globalToLocal(l_pos);
var _local4 = GetGridColumn(l_pos);
if (!columnIsCollapsing(_local4)) {
var _local3 = 0;
while (_local3 < blockArr[_local4].length) {
if (blockArr[_local4][_local3] == null) {
if ((_local3 == 0) || (blockArr[_local4][_local3 - 1].canBuildOn())) {
_local5 = 1;
} else if (blockArr[_local4][_local3 - 1].getHealth() > 0) {
_local5 = 2;
}
}
_local3++;
}
}
return(_local5);
}
function CreateABlock(l_pos, l_blockType) {
var _local8 = 0;
_global.CS.mcLevel.mcFloor.globalToLocal(l_pos);
var _local4 = GetGridColumn(l_pos);
var _local9;
var _local3 = 0;
while (_local3 < blockArr[_local4].length) {
if (blockArr[_local4][_local3] == null) {
if ((_local3 == 0) || (blockArr[_local4][_local3 - 1].canBuildOn())) {
var _local6 = ((_local4 + 1) * 10) + _local3;
if (l_blockType == "Full") {
var _local5 = _global.CS.mcLevel.mcFloor.attachMovie(BLOCK_LINKAGE_FULL, (("Block" + _local6) + "_") + (nUniqueID++), _local6);
} else {
var _local5 = _global.CS.mcLevel.mcFloor.attachMovie(BLOCK_LINKAGE_HALF, (("Block" + _local6) + "_") + (nUniqueID++), _local6);
if (l_blockType.slice(-1) == "3") {
_local5._xscale = _local5._xscale * -1;
}
}
if ((_local3 == 1) && (blockArr[_local4][_local3 - 1].getType() == "Rescue")) {
_local5._x = (_local4 * BLOCK_WIDTH) + (BLOCK_WIDTH / 2);
_local5._y = (Stage.height - (_local3 * BLOCK_HEIGHT)) + (BLOCK_HEIGHT / 2);
_local9 = blockArr[_local4][_local3 - 1];
removeBlock(blockArr[_local4][_local3 - 1]);
_local9.remove();
_local5.swapDepths(_local5.getDepth() - 2);
_global.C.CreateBlock(_local5, 0, l_blockType, true);
blockArr[_local4][_local3 - 1].setState("createFast");
} else {
_local5._x = (_local4 * BLOCK_WIDTH) + (BLOCK_WIDTH / 2);
_local5._y = (300 - ((_local3 + 1) * BLOCK_HEIGHT)) + (BLOCK_HEIGHT / 2);
_global.C.CreateBlock(_local5, 0, l_blockType, true);
}
blockArr[_local4][_local3 - 1].updateState(true, true);
_local3 = blockArr[_local4].length;
_local8 = 1;
} else if (blockArr[_local4][_local3 - 1].getHealth() > 0) {
blockArr[_local4][_local3 - 1].Repair();
_local3 = blockArr[_local4].length;
_local8 = 2;
}
}
_local3++;
}
return(_local8);
}
function createRescueBlock(l_nColumn, l_nRow) {
var _local4 = (((l_nColumn + 1) * 10) + l_nRow) - 1;
var _local3 = _global.CS.mcLevel.mcFloor.attachMovie(BLOCK_LINKAGE_RESCUE, "BlockRescue" + _local4, _local4);
_local3._x = (l_nColumn * BLOCK_WIDTH) + (BLOCK_WIDTH / 2);
_local3._y = (Stage.height - ((l_nRow + 1) * BLOCK_HEIGHT)) + (BLOCK_HEIGHT / 2);
_global.C.CreateBlock(_local3, 0, "Rescue", true);
}
function BreakRandomBlocks(l_nbBlocks) {
var _local5 = 0;
while (_local5 < l_nbBlocks) {
var _local3 = Math.floor(Math.random() * blockArr.length) + 3;
var _local4 = new Number();
if (blockArr[_local3].length > 0) {
var _local2 = 0;
while (_local2 < blockArr[_local3].length) {
if (blockArr[_local3][_local2] == null) {
_local4 = Math.floor(Math.random() * (_local2 - 1));
_local2 = blockArr[_local3];
}
_local2++;
}
if ((_local2 >= 0) && (!columnIsCollapsing(_local3))) {
if (blockArr[_local3][_local4].damageBlock()) {
makeCollapse(_local3, _local4);
}
}
}
_local5++;
}
}
function makeCollapse(l_nColumn, l_nRow) {
var _local5;
var _local6;
_local6 = 0;
if (!columnIsCollapsing(l_nColumn)) {
var _local3 = l_nRow + 1;
while (_local3 < blockArr[l_nColumn].length) {
if (blockArr[l_nColumn][_local3] != null) {
_local6++;
_local5 = blockArr[l_nColumn][_local3];
_local5.setCollapse(BLOCK_HEIGHT);
}
_local3++;
}
_global.C.oFriendManager.reactToCollapse(l_nColumn);
removeBlockAtPos({x:l_nColumn, y:l_nRow});
if ((l_nRow == 0) && (_local6 == 0)) {
createRescueBlock(l_nColumn, l_nRow);
}
}
}
function printColumn(l_nColumn) {
var _local2 = 0;
while (_local2 < blockArr[l_nColumn].length) {
_local2++;
}
}
function columnIsCollapsing(l_nColum) {
var _local2 = 0;
while (_local2 < blockArr[l_nColum].length) {
if (blockArr[l_nColum][_local2].isCollapsing()) {
return(true);
}
_local2++;
}
return(false);
}
function repairColumn(l_nColum) {
var _local2 = 0;
while (_local2 < blockArr[l_nColum].length) {
blockArr[l_nColum][_local2].repairBlock();
_local2++;
}
}
function columnIsWeakened(l_nColumn) {
if ((blockArr[l_nColumn].length > 0) && (!columnIsCollapsing(l_nColumn))) {
var _local2 = blockArr[l_nColumn].length - 1;
while (_local2 >= 0) {
if (blockArr[l_nColumn][_local2] && (blockArr[l_nColumn][_local2].getHealth() > 2)) {
while (!blockArr[l_nColumn][_local2].damageBlock()) {
}
makeCollapse(l_nColumn, _local2);
return(true);
}
_local2--;
}
}
return(false);
}
function activateBlock(l_oBlock) {
oActivationManager.activateSelective(l_oBlock);
}
function deactivateBlock(l_oBlock) {
oActivationManager.deactivateSelective(l_oBlock);
}
function GetGridColumn(l_pos) {
return(Math.floor(l_pos.x / BLOCK_WIDTH));
}
function getGridCoord(l_oPos) {
return({x:Math.floor(l_oPos.x / BLOCK_WIDTH), y:(ROW_HEIGHT - Math.floor(l_oPos.y / BLOCK_HEIGHT)) + 1});
}
function getGridPos(l_oCoord) {
var _local3 = 0;
if (blockArr[l_oCoord.x][l_oCoord.y].getType() == "rescue") {
_local3 = 20;
}
return({x:(l_oCoord.x * BLOCK_WIDTH) + (BLOCK_WIDTH / 2), y:(((ROW_HEIGHT * BLOCK_HEIGHT) - ((l_oCoord.y * BLOCK_HEIGHT) + BLOCK_HEIGHT)) + 60) + _local3});
}
var BLOCK_WIDTH = 30;
var BLOCK_HEIGHT = 30;
var ROW_HEIGHT = 8;
var BLOCK_LINKAGE_FULL = "BlockFull";
var BLOCK_LINKAGE_HALF = "BlockHalf";
var BLOCK_LINKAGE_RESCUE = "Pass_Rochers";
var POWERUP_DATA = [{sLinkage:"Bonus_Earth", sType:"Earth"}, {sLinkage:"Bonus_Air", sType:"Air"}, {sLinkage:"Bonus_Time", sType:"Time"}];
}
Symbol 1075 MovieClip [__Packages.sarbakan.visual.activation.SelectiveActivation] Frame 0
class sarbakan.visual.activation.SelectiveActivation extends sarbakan.visual.activation.ActivationManager
{
var aDynamicElements, aSelectiveElements, aActiveElements, nLeftLimit, nRightLimit, nZone, nZoneWidth;
function SelectiveActivation () {
super();
aDynamicElements = new Array();
aSelectiveElements = new Array();
aActiveElements = new Array();
}
function init(l_nZoneWidth, l_nZoneHeight) {
super.init(l_nZoneWidth, l_nZoneHeight);
nLeftLimit = (-(l_nZoneWidth / 2)) - 30;
nRightLimit = (l_nZoneWidth / 2) + 30;
nZone = 0;
}
function addDynamicElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
l_oElement.enable();
aDynamicElements.push(l_oElement);
}
function addAlwaysActiveElement(l_oElement) {
l_oElement.enable();
aDynamicElements.push(l_oElement);
aActiveElements.push(l_oElement);
}
function removeDynamicElement(l_oElement) {
for (var _local3 in aDynamicElements) {
if (aDynamicElements[_local3] == l_oElement) {
aDynamicElements.splice(_local3, 1);
break;
}
}
}
function removeSelectiveElement(l_oElement) {
deactivateSelective(l_oElement);
for (var _local3 in aSelectiveElements) {
if (aSelectiveElements[_local3] == l_oElement) {
aSelectiveElements.splice(_local3, 1);
break;
}
}
}
function addSelectiveElement(l_oElement) {
l_oElement.enable();
var _local2 = Math.floor((l_oElement.mc._x - (nZoneWidth / 2)) / nZoneWidth);
if (_local2 > nZone) {
nZone = _local2;
}
if (this["aZone" + _local2].data) {
this["aZone" + _local2].data.push(l_oElement);
} else {
this["aZone" + _local2] = new Object();
this["aZone" + _local2].active = false;
this["aZone" + _local2].data = new Array();
this["aZone" + _local2].data.push(l_oElement);
}
aSelectiveElements.push(l_oElement);
l_oElement.mc._visible = false;
}
function activateSelective(l_oElement) {
if (!l_oElement.isActive()) {
aActiveElements.push(l_oElement);
}
}
function deactivateSelective(l_oElement) {
for (var _local3 in aActiveElements) {
if (aActiveElements[_local3] == l_oElement) {
aActiveElements.splice(_local3, 1);
break;
}
}
}
function addStaticElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
l_oElement._visible = true;
}
function updateActivation(l_nX, l_nY) {
var _local6;
var _local2 = Math.floor(l_nX / nZoneWidth);
var _local5 = nZoneWidth / 2;
updateZone(_local2, l_nX, l_nY);
if (((l_nX - _local5) % nZoneWidth) > _local5) {
updateZone(_local2 + 1, l_nX, l_nY);
updateZone(_local2 - 1, l_nX, l_nY);
} else {
updateZone(_local2 - 1, l_nX, l_nY);
updateZone(_local2 + 1, l_nX, l_nY);
}
}
function updateZone(l_nZone, l_nX, l_nY, l_bHideOnly) {
var _local3 = this["aZone" + l_nZone].data;
var _local2;
for (var _local6 in _local3) {
_local2 = _local3[_local6].mc;
if (((!l_bHideOnly) && ((_local2._x - l_nX) > nLeftLimit)) && ((_local2._x - l_nX) < nRightLimit)) {
if (!_local2._visible) {
_local2._visible = true;
}
} else if (_local2._visible) {
_local2._visible = false;
}
}
}
function getActiveElements() {
return(aActiveElements);
}
}
Symbol 1076 MovieClip [__Packages.Block] Frame 0
class Block extends sarbakan.visual.element.DynamicElement
{
var bReverse, nCollapse, nBlockHealth, sBlockType, oBlockManager, setMC, crack1, crack2, crack3, reversecrack1, reversecrack2, reversecrack3, nRandomType, nFlipCrack, mc, setCoord, sNextState, bOnTop, nLastRow, bStaticMovieClip, sState, bActive, getState, nSpeedY, stateStarting, stateFinished;
function Block (l_mcRef, l_nHealth, l_sType, l_oBlockManager) {
super(l_mcRef._name);
bReverse = false;
nCollapse = 0;
nBlockHealth = l_nHealth;
sBlockType = l_sType;
oBlockManager = l_oBlockManager;
setMC(l_mcRef);
centerItself();
crack1 = sarbakan.utils.Delegate.create(this, idle);
crack2 = sarbakan.utils.Delegate.create(this, idle);
crack3 = sarbakan.utils.Delegate.create(this, idle);
reversecrack1 = sarbakan.utils.Delegate.create(this, repair);
reversecrack2 = sarbakan.utils.Delegate.create(this, repair);
reversecrack3 = sarbakan.utils.Delegate.create(this, repair);
nRandomType = Math.ceil(Math.random() * 3);
if (Math.ceil(Math.random() * 2) == 1) {
nFlipCrack = 1;
} else {
nFlipCrack = -1;
}
activate();
}
function centerItself() {
var _local2 = new Object();
var _local3 = new Object();
_local2.x = Math.floor(mc._x / BLOCK_WIDTH);
_local2.y = Math.floor(mc._y / BLOCK_HEIGHT);
_local3.x = (_local2.x * BLOCK_WIDTH) + (BLOCK_WIDTH / 2);
_local3.y = (_local2.y * BLOCK_HEIGHT) + (BLOCK_HEIGHT / 2);
setCoord(_local3);
}
function getGridPos() {
var _local3 = new Object();
_local3.x = Math.floor(mc._x / BLOCK_WIDTH);
_local3.y = Math.floor((_global.C.STAGE_HEIGHT - mc._y) / BLOCK_HEIGHT);
return(_local3);
}
function setState(l_sState) {
activate();
if (l_sState == "idle") {
deactivate();
if (nBlockHealth) {
sNextState = "crack" + nBlockHealth;
} else {
sNextState = l_sState;
}
} else {
sNextState = l_sState;
}
}
function setCollapse(l_nDistance) {
activate();
if (nCollapse == 0) {
bOnTop = isOnTop();
nLastRow = row;
}
nCollapse = nCollapse + l_nDistance;
}
function remove() {
deactivate(true, true);
if (!bStaticMovieClip) {
mc.removeMovieClip();
}
}
function enable() {
super.enable();
}
function update() {
super.update();
}
function updateState(l_bForceUpdate, l_bNoTop) {
var _local3;
if (sNextState != undefined) {
sState = sNextState;
sNextState = undefined;
mc.gotoAndStop(sState);
mc.crack._xscale = Math.abs(mc.crack._xscale) * nFlipCrack;
setBorder();
if (bReverse) {
mc.crack.gotoAndStop(mc.crack._totalframes);
}
if ((!bActive) && (nCollapse == 0)) {
deactivate(true);
}
}
if (l_bForceUpdate) {
setBorder(l_bNoTop);
}
if (bReverse) {
mc.crack.prevFrame();
this["reverse" + sState]();
} else {
this[sState]();
}
}
function setBorder(l_bNoTop) {
var _local2 = 2;
var _local3 = 2;
var _local4 = 4;
if (isOnTop() && (!l_bNoTop)) {
mc.block.gotoAndStop(nRandomType + 3);
} else {
mc.block.gotoAndStop(nRandomType);
}
}
function getStageCoord() {
var _local2 = new Object();
_local2.x = mc._x;
_local2.y = mc._y;
return(_local2);
}
function canDelete() {
var _local2 = true;
if ((sBlockType == "Safe") || (sBlockType == "Rescue")) {
_local2 = false;
}
return(_local2);
}
function canBuildOn() {
var _local2 = false;
if ((nBlockHealth == 0) && ((sBlockType == "Full") || (sBlockType == "Rescue"))) {
_local2 = true;
}
return(_local2);
}
function damageBlock() {
var _local2 = false;
if (((sBlockType != "Rescue") && (nCollapse == 0)) && (sBlockType != "Safe")) {
if (nBlockHealth < 3) {
nBlockHealth++;
sarbakan.sound.SoundManager.play("sfxBlockCrack", 100, 1, true);
setState("crack" + nBlockHealth);
deactivate();
} else if ((nCollapse == 0) && (getState() != "broken")) {
_local2 = true;
setState("broken");
}
}
return(_local2);
}
function repairBlock() {
if (nBlockHealth) {
bReverse = true;
setState("crack" + nBlockHealth);
}
}
function isActive() {
return(bActive);
}
function isCollapsing() {
if (nCollapse == 0) {
return(false);
}
return(true);
}
function getHealth() {
return(nBlockHealth);
}
function getType() {
return(sBlockType);
}
function isSafe() {
var _local2 = false;
if (sBlockType == "Safe") {
_local2 = true;
}
return(_local2);
}
function isFull() {
var _local2 = false;
if ((sBlockType == "Full") || (sBlockType == "Safe")) {
_local2 = true;
}
return(_local2);
}
function get column() {
return(getGridPos().x);
}
function get row() {
return(getGridPos().y);
}
function isOnTop() {
return(oBlockManager.isOnTop(getGridPos()));
}
function activate() {
oBlockManager.activateBlock(this);
bActive = true;
}
function deactivate(l_bNow, l_bRemove) {
bActive = false;
if (l_bNow && (!l_bRemove)) {
oBlockManager.deactivateBlock(this);
} else if (l_bRemove) {
oBlockManager.oActivationManager.removeSelectiveElement(this);
}
}
function idle() {
if (nCollapse > 0) {
nSpeedY = nSpeedY + COLLAPSE_SPEED;
nCollapse = nCollapse - nSpeedY;
if (nCollapse <= 0) {
nSpeedY = 0;
nCollapse = 0;
centerItself();
oBlockManager.switchRow(column, nLastRow, row, this, bOnTop);
nLastRow = row;
}
} else {
deactivate(true);
nSpeedY = 0;
}
}
function repair() {
if (mc.crack._currentframe == 1) {
nBlockHealth--;
if (nBlockHealth > 0) {
setState("crack" + nBlockHealth);
} else {
bReverse = false;
setState("idle");
deactivate();
}
}
}
function create() {
if (stateStarting()) {
sarbakan.sound.SoundManager.play("sfxBlockCreate", 80, 1, false);
} else if (stateFinished()) {
oBlockManager.AddBlock(this);
setState("idle");
}
}
function createFast() {
if (stateFinished()) {
oBlockManager.AddBlock(this);
setState("idle");
}
}
function broken() {
mc.swapDepths(Math.round(Math.random() * 500) + 100000);
if (stateStarting()) {
sarbakan.sound.SoundManager.play("sfxBlockBroken", 80, 1, false);
}
if (stateFinished()) {
remove();
}
}
var BLOCK_WIDTH = 30;
var BLOCK_HEIGHT = 30;
var COLLAPSE_SPEED = 1;
}
Symbol 1077 MovieClip [__Packages.sarbakan.utils.Delegate] Frame 0
class sarbakan.utils.Delegate extends Object
{
var func;
function Delegate () {
super();
}
function DelegateArgs(f) {
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local3 = arguments.callee.target;
var _local4 = arguments.callee.func;
var _local2 = arguments.callee.arg;
_local2 = _local2.concat(arguments);
return(_local4.apply(_local3, _local2));
};
_local2.target = obj;
_local2.func = func;
_local2.arg = arguments.slice(2);
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 1078 MovieClip [__Packages.sarbakan.sound.SoundManager] Frame 0
class sarbakan.sound.SoundManager
{
static var mc, aSounds, oRootSound, oEnterFrameListener, bMuted, nSoundID;
function SoundManager () {
}
static function init(l_mc) {
mc = l_mc;
aSounds = [];
oRootSound = new Sound(mc);
if (!oEnterFrameListener) {
mx.transitions.OnEnterFrameBeacon.init();
oEnterFrameListener = new Object();
oEnterFrameListener.onEnterFrame = sarbakan.utils.Delegate.create(sarbakan.sound.SoundManager, update);
MovieClip.addListener(oEnterFrameListener);
}
}
static function play(l_sLinkage, l_nVolume, l_nLoop, l_bUnique) {
if (!mc) {
trace(("WARNING: Unitialized SoundManager OR Invalid base movieclip (" + l_sLinkage) + ")");
}
var _local3 = canPlaySound(l_sLinkage);
if (_local3 == true) {
var _local1 = {};
_local1.mc = mc.createEmptyMovieClip(MOVIECLIP_BASE_NAME + getNextID(), mc.getNextHighestDepth());
_local1.sLinkage = l_sLinkage;
_local1.bUnique = l_bUnique;
_local1.aFade = [];
_local1.nFullVolume = l_nVolume;
_local1.oSound = new Sound(_local1.mc);
_local1.oSound.attachSound(l_sLinkage);
_local1.oSound.onSoundComplete = sarbakan.utils.Delegate.create(sarbakan.sound.SoundManager, remove, _local1.oSound);
_local1.oSound.start(0, l_nLoop);
_local1.oSound.setVolume(l_nVolume);
aSounds.push(_local1);
return(_local1.oSound);
}
return(_local3);
}
static function stop(l_oSound) {
l_oSound.stop();
remove(l_oSound);
}
static function mute() {
bMuted = true;
oRootSound.setVolume(0);
}
static function unmute() {
bMuted = false;
oRootSound.setVolume(100);
}
static function fade(l_oSound, l_nFadeType, l_nDestination, l_nSpeed) {
var _local3;
var _local4;
switch (l_nFadeType) {
case FADE_VOLUME :
_local3 = sarbakan.utils.Delegate.create(l_oSound, l_oSound.getVolume);
_local4 = sarbakan.utils.Delegate.create(l_oSound, l_oSound.setVolume);
break;
case FADE_PAN :
_local3 = sarbakan.utils.Delegate.create(l_oSound, l_oSound.getPan);
_local4 = sarbakan.utils.Delegate.create(l_oSound, l_oSound.setPan);
}
var _local2 = getSoundData(l_oSound);
if (l_nDestination < _local3()) {
l_nSpeed = l_nSpeed * -1;
}
if (((l_nFadeType == FADE_VOLUME) && (l_nSpeed > 0)) && (l_nDestination > _local2.oData.nFullVolume)) {
l_nDestination = _local2.oData.nFullVolume;
}
aSounds[_local2.nPosition].aFade[l_nFadeType] = {nDest:l_nDestination, nSpeed:l_nSpeed, fSet:_local4, fGet:_local3};
}
static function fadeInAll(l_nSpeed) {
if (!l_nSpeed) {
l_nSpeed = FADE_DEFAULT_SPEED;
}
fadeAll(FADE_VOLUME, 100, l_nSpeed);
}
static function fadeOutAll(l_nSpeed) {
if (!l_nSpeed) {
l_nSpeed = FADE_DEFAULT_SPEED;
}
fadeAll(FADE_VOLUME, 0, l_nSpeed);
}
static function getLinkage(l_oSound) {
return(getSoundData(l_oSound).oData.sLinkage);
}
static function isSoundPlaying(l_oSound) {
return(l_oSound.duration != undefined);
}
static function isMuted() {
return(bMuted);
}
static function update() {
for (var _local2 in aSounds) {
for (var _local1 in aSounds[_local2].aFade) {
if (aSounds[_local2].aFade[_local1]) {
aSounds[_local2].aFade[_local1].fSet(aSounds[_local2].aFade[_local1].fGet() + aSounds[_local2].aFade[_local1].nSpeed);
if (((aSounds[_local2].aFade[_local1].nSpeed > 0) && (aSounds[_local2].aFade[_local1].fGet() >= aSounds[_local2].aFade[_local1].nDest)) or ((aSounds[_local2].aFade[_local1].nSpeed < 0) && (aSounds[_local2].aFade[_local1].fGet() <= aSounds[_local2].aFade[_local1].nDest))) {
aSounds[_local2].aFade[_local1].fSet(aSounds[_local2].aFade[_local1].nDest);
delete aSounds[_local2].aFade[_local1];
}
}
}
}
}
static function canPlaySound(l_sLinkage) {
for (var _local2 in aSounds) {
if (aSounds[_local2].bUnique && (aSounds[_local2].sLinkage == l_sLinkage)) {
return(aSounds[_local2].oSound);
}
}
return(true);
}
static function getNextID() {
if (!nSoundID) {
nSoundID = 0;
}
return(nSoundID++);
}
static function remove(l_oSound) {
var _local1 = getSoundData(l_oSound);
_local1.oData.mc.removeMovieClip();
aSounds.splice(_local1.nPosition, 1);
}
static function getSoundData(l_oSound) {
for (var _local3 in aSounds) {
if (aSounds[_local3].oSound == l_oSound) {
return({oData:aSounds[_local3], nPosition:_local3});
}
}
}
static function fadeAll(l_nFadeType, l_nDestination, l_nSpeed) {
for (var _local3 in aSounds) {
fade(aSounds[_local3].oSound, l_nFadeType, l_nDestination, l_nSpeed);
}
}
static var MOVIECLIP_BASE_NAME = "mcSounds";
static var FADE_DEFAULT_SPEED = 10;
static var FADE_VOLUME = 0;
static var FADE_PAN = 1;
}
Symbol 1079 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 1080 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 1081 MovieClip [__Packages.PowerUp] Frame 0
class PowerUp extends sarbakan.visual.element.DynamicElement
{
var setMC, setCoord, sType, bAlwaysActive, setState, stateFinished, nTimeRemaining, collideWithElement, remove;
function PowerUp (l_mcParent, l_sLinkageName, l_sType, l_oCoord) {
super((l_sLinkageName + "_") + nDepth);
setMC(l_mcParent.attachMovie(l_sLinkageName, l_sLinkageName + nDepth, nDepth++));
setCoord(l_oCoord);
sType = l_sType;
bAlwaysActive = true;
}
function takeToken() {
switch (sType) {
case "Earth" :
_global.C.oHUD.enableEarthPower();
break;
case "Air" :
_global.C.oHUD.addAirToken();
break;
case "Time" :
_global.C.oHUD.freezeTime();
break;
case "Gold" :
_global.C.oHUD.addPoints(500);
_global.C.nGoldTaken++;
}
_global.C.nBonusDelay = 0;
setState("disappear");
}
function appear() {
if (stateFinished()) {
setState("idle");
nTimeRemaining = TIME_ACTIVE;
}
}
function idle() {
if (nTimeRemaining > 0) {
nTimeRemaining--;
if (collideWithElement("Toph")) {
takeToken();
}
} else {
setState("disappear");
}
}
function disappear() {
if (stateFinished()) {
remove();
}
}
static var nDepth = 5000;
var TIME_ACTIVE = 400;
}
Symbol 1082 MovieClip [__Packages.sarbakan.input.KeyManager] Frame 0
class sarbakan.input.KeyManager
{
static var oInstance;
var oKeyList;
function KeyManager () {
oKeyList = new Object();
}
static function getInstance() {
if (!oInstance) {
oInstance = new sarbakan.input.KeyManager();
}
initEnterFrame();
return(oInstance);
}
function addKeyListener(l_nKeyCode, l_sKeyName) {
oKeyList[l_sKeyName] = new Object();
oKeyList[l_sKeyName].nKeyCode = l_nKeyCode;
this[l_sKeyName] = false;
}
function onEnterFrame() {
setKey();
}
function setKey() {
var _local2;
for (_local2 in oKeyList) {
if (Key.isDown(oKeyList[_local2].nKeyCode)) {
this[_local2] = true;
} else {
this[_local2] = false;
}
}
}
static function initEnterFrame() {
mx.transitions.OnEnterFrameBeacon.init();
MovieClip.removeListener(oInstance);
MovieClip.addListener(oInstance);
}
}
Symbol 1083 MovieClip [__Packages.sarbakan.input.KeyBasher] Frame 0
class sarbakan.input.KeyBasher
{
var oEnterFrameListener, oKey, nPressNeeded, nPressCount, nUpdateDelay, nUpdateCount, fListener, bLastFrameWasDown, bAutoBashing;
function KeyBasher (l_nKey, l_nPressNeeded, l_nUpdateDelay, l_fListener) {
mx.transitions.OnEnterFrameBeacon.init();
oEnterFrameListener = new Object();
oEnterFrameListener.onEnterFrame = mx.utils.Delegate.create(this, update);
MovieClip.addListener(oEnterFrameListener);
oKey = sarbakan.input.KeyManager.getInstance();
oKey.addKeyListener(l_nKey, "KEY");
nPressNeeded = l_nPressNeeded;
nPressCount = 0;
nUpdateDelay = l_nUpdateDelay;
nUpdateCount = 0;
fListener = l_fListener;
bLastFrameWasDown = false;
bAutoBashing = false;
}
function enableAutoBashing() {
bAutoBashing = true;
}
function disableAutoBashing() {
bAutoBashing = false;
}
function end() {
MovieClip.removeListener(oEnterFrameListener);
}
function update() {
if (oKey.KEY) {
if (!bLastFrameWasDown) {
nPressCount++;
}
bLastFrameWasDown = true;
} else {
bLastFrameWasDown = false;
}
if ((++nUpdateCount) == nUpdateDelay) {
report();
nUpdateCount = 0;
nPressCount = 0;
}
}
function report() {
if ((nPressCount >= nPressNeeded) || (bAutoBashing)) {
fListener(true);
} else {
fListener(false);
}
}
}
Symbol 1084 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 1085 MovieClip [__Packages.sarbakan.visual.layer.LayerManager] Frame 0
class sarbakan.visual.layer.LayerManager
{
var nStageW, nStageH, oCam, aLayers, bPaused, bWillPause;
function LayerManager (l_nViewZoneW, l_nViewZoneH, l_nStageW, l_nStageH) {
nStageW = l_nStageW;
nStageH = l_nStageH;
oCam = new sarbakan.visual.Camera(l_nViewZoneW, l_nViewZoneH, nStageW, nStageH);
aLayers = [];
bPaused = false;
bWillPause = false;
}
function addLayer(l_oLayer, l_parallaxRatioX, l_parallaxRatioY) {
aLayers.push({layer:l_oLayer, mc:l_oLayer.mc, ratioX:l_parallaxRatioX, ratioY:l_parallaxRatioY});
l_oLayer.init(nStageW, nStageH);
}
function getCamera() {
return(oCam);
}
function destroy() {
var _local2 = 0;
while (_local2 < aLayers.length) {
aLayers[_local2].layer.destroy();
_local2++;
}
oCam.destroy();
}
function pause() {
bWillPause = true;
}
function unpause() {
if (bPaused) {
var _local2 = 0;
while (_local2 < aLayers.length) {
aLayers[_local2].layer.unpause();
_local2++;
}
sarbakan.visual.PauseManager.unpause();
}
bPaused = false;
bWillPause = false;
}
function togglePause() {
if (!bPaused) {
pause();
} else {
unpause();
}
}
function update() {
if (bWillPause) {
bPaused = true;
bWillPause = false;
var _local2 = 0;
while (_local2 < aLayers.length) {
aLayers[_local2].layer.pause();
_local2++;
}
sarbakan.visual.PauseManager.pause();
}
if (!bPaused) {
var _local2 = 0;
while (_local2 < aLayers.length) {
aLayers[_local2].layer.update();
_local2++;
}
var _local4 = oCam.getX();
var _local3 = oCam.getY();
_local2 = 0;
while (_local2 < aLayers.length) {
aLayers[_local2].mc._x = _local4 * aLayers[_local2].ratioX;
aLayers[_local2].mc._y = _local3 * aLayers[_local2].ratioY;
_local2++;
}
}
}
}
Symbol 1086 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 1087 MovieClip [__Packages.sarbakan.visual.Camera] Frame 0
class sarbakan.visual.Camera
{
static var oEnterFrameListener;
var nX, nY, nViewZoneW, nViewZoneH, nStageW, nStageH, bLockedOn, nSpeed, bTravelling, oTweenX, fEasing, oTweenY, nTravelDestX, nTravelDestY, fEndListener, fLockedFunction, __get__x, __get__y;
function Camera (l_viewZoneW, l_viewZoneH, l_nStageW, l_nStageH) {
mx.transitions.OnEnterFrameBeacon.init();
oEnterFrameListener = new Object();
oEnterFrameListener.onEnterFrame = mx.utils.Delegate.create(this, update);
MovieClip.addListener(oEnterFrameListener);
nX = 0;
nY = 0;
nViewZoneW = l_viewZoneW;
nViewZoneH = l_viewZoneH;
nStageW = l_nStageW;
nStageH = l_nStageH;
setSpeed(DEFAULT_SPEED);
setEasing(DEFAULT_EASING);
bLockedOn = false;
}
function travelTo(l_nDestX, l_nDestY, l_fListener) {
var _local2 = Math.round(sarbakan.utils.MoreMath.getDistance(nX * -1, nY * -1, l_nDestX, l_nDestY) / nSpeed);
if (!bTravelling) {
oTweenX = new mx.transitions.Tween(this, "x", fEasing, nX * -1, l_nDestX, _local2, false);
oTweenY = new mx.transitions.Tween(this, "y", fEasing, nY * -1, l_nDestY, _local2, false);
oTweenX.onMotionFinished = mx.utils.Delegate.create(this, onTravelFinished);
} else {
oTweenX.continueTo(l_nDestX, _local2);
oTweenY.continueTo(l_nDestY, _local2);
}
nTravelDestX = l_nDestX;
nTravelDestY = l_nDestY;
if (l_fListener) {
fEndListener = l_fListener;
}
bTravelling = true;
}
function moveTo(l_nDestX, l_nDestY) {
x = (l_nDestX);
y = (l_nDestY);
}
function lockOn(l_fLockFunction, l_bInstant) {
bLockedOn = true;
fLockedFunction = l_fLockFunction;
var _local2 = fLockedFunction();
if ((_local2.x != nX) || (_local2.y != nY)) {
if (l_bInstant) {
moveTo(_local2.x, _local2.y);
} else {
travelTo(_local2.x, _local2.y);
}
}
}
function unlock() {
bLockedOn = false;
fLockedFunction = undefined;
}
function setSpeed(l_nSpeed) {
if (l_nSpeed) {
nSpeed = l_nSpeed;
} else {
setSpeed(DEFAULT_SPEED);
}
}
function setEasing(l_fEasing) {
if (l_fEasing) {
fEasing = l_fEasing;
} else {
setEasing(DEFAULT_EASING);
}
}
function set x(l_nX) {
nX = l_nX;
if (nX < 0) {
nX = 0;
}
if (nX > (nViewZoneW - nStageW)) {
nX = Math.round(nViewZoneW - nStageW);
}
nX = nX * -1;
//return(__get__x());
}
function set y(l_nY) {
nY = l_nY;
if (nY < 0) {
nY = 0;
}
if (nY > (nViewZoneH - nStageH)) {
nY = Math.round(nViewZoneH - nStageH);
}
nY = nY * -1;
//return(__get__y());
}
function getX() {
return(nX);
}
function getY() {
return(nY);
}
function destroy() {
MovieClip.removeListener(oEnterFrameListener);
}
function update() {
if (bLockedOn) {
var _local2;
if ((!bTravelling) && (bLockedOn)) {
_local2 = fLockedFunction();
moveTo(_local2.x, _local2.y);
} else if ((_local2.x != nTravelDestX) || (_local2.y != nTravelDestY)) {
}
}
}
function onTravelFinished() {
bTravelling = false;
if (fEndListener) {
fEndListener();
fEndListener = undefined;
}
}
static var DEFAULT_SPEED = 5;
static var DEFAULT_EASING = mx.transitions.easing.Regular.easeOut;
}
Symbol 1088 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 1089 MovieClip [__Packages.sarbakan.utils.MoreMath] Frame 0
class sarbakan.utils.MoreMath
{
function MoreMath () {
}
static function random(l_nMin, l_nMax) {
return(Math.floor(Math.random() * l_nMax) + l_nMin);
}
static function getDistance(l_x1, l_y1, l_x2, l_y2) {
return(Math.sqrt(Math.pow(Math.abs(l_x2 - l_x1), 2) + Math.pow(Math.abs(l_y2 - l_y1), 2)));
}
static function getManhattanDistance(l_x1, l_y1, l_x2, l_y2) {
return(Math.abs(l_x1 - l_x2) + Math.abs(l_y1 - l_y2));
}
static function getAngle(l_oPt1, l_oPt2) {
var _local2 = 0;
var _local3 = 0;
var _local1 = 0;
var _local4 = 0;
_local2 = (l_oPt1.x - l_oPt2.x) * -1;
_local3 = (l_oPt1.y - l_oPt2.y) * -1;
_local1 = Math.atan2(_local3, _local2);
_local1 = (_local1 * 180) / Math.PI;
if (_local1 < 0) {
_local1 = _local1 * -1;
_local4 = 180 - _local1;
_local1 = 180 + _local4;
}
if (_local1 < 0) {
_local1 = _local1 + 360;
}
return(_local1);
}
static function getRadian(l_oPt1, l_oPt2) {
var _local1 = 0;
var _local2 = 0;
var _local3 = 0;
_local1 = (l_oPt1.x - l_oPt2.x) * -1;
_local2 = (l_oPt1.y - l_oPt2.y) * -1;
_local3 = Math.atan2(_local2, _local1);
return(_local3);
}
}
Symbol 1090 MovieClip [__Packages.HUD] Frame 0
class HUD
{
var mc, oScoreDigit, oMinuteDigit, oSecondDigit, nTimeElapsed, nFreezeTimeRemaining, nLife, nSafeFriends, nEarthPowerTimeRemaining, nAirToken;
function HUD (l_mc) {
mc = l_mc;
mc.mcLifeBar.stop();
updatePowerBar(0);
setSafeFriends(0);
oScoreDigit = new sarbakan.packaging.DigitBitmapField([l_mc.mcScore.mcDigit01, l_mc.mcScore.mcDigit02, l_mc.mcScore.mcDigit03, l_mc.mcScore.mcDigit04, l_mc.mcScore.mcDigit05, l_mc.mcScore.mcDigit06, l_mc.mcScore.mcDigit07]);
oScoreDigit.setContent(0);
oMinuteDigit = new sarbakan.packaging.DigitBitmapField([l_mc.mcTime.mcDigit01, l_mc.mcTime.mcDigit02]);
oSecondDigit = new sarbakan.packaging.DigitBitmapField([l_mc.mcTime.mcDigit03, l_mc.mcTime.mcDigit04]);
nTimeElapsed = 230;
nFreezeTimeRemaining = 0;
updateTime();
mc.mcPowerTime.gotoAndStop("inactive");
mc.mcPowerEarth.gotoAndStop("inactive");
setAirToken(2);
mc.btnMenu.onRelease = sarbakan.utils.Delegate.create(_global.C, _global.C.showPauseMenu);
toggleMute();
toggleMute();
}
function toggleMute() {
if (sarbakan.sound.SoundManager.isMuted()) {
mc.mcMute.gotoAndStop(1);
sarbakan.sound.SoundManager.unmute();
} else {
mc.mcMute.gotoAndStop(2);
sarbakan.sound.SoundManager.mute();
}
mc.mcMute.btnMute.onRelease = sarbakan.utils.Delegate.create(this, toggleMute);
}
function setLife(l_nLife) {
nLife = l_nLife;
mc.mcLifeBar.gotoAndStop(nLife + 1);
}
function getLife() {
return(nLife);
}
function looseLife() {
nLife--;
mc.mcLifeBar.gotoAndStop(nLife + 1);
}
function setSafeFriends(l_nSafeFriends) {
nSafeFriends = l_nSafeFriends;
mc.mcSafeFriendsBar.gotoAndStop(nSafeFriends + 1);
}
function addSafeFriends() {
nSafeFriends++;
mc.mcSafeFriendsBar.gotoAndStop(nSafeFriends + 1);
}
function getSafeFriends() {
return(nSafeFriends);
}
function setScore(l_nNewScore) {
oScoreDigit.setContent(l_nNewScore);
}
function addPoints(l_nAmount) {
oScoreDigit.setContent(getScore() + l_nAmount);
}
function getScore() {
return(oScoreDigit.getContent());
}
function updateTime() {
var _local3;
var _local5;
var _local4;
if (nTimeElapsed >= 0) {
if (nFreezeTimeRemaining > 0) {
nFreezeTimeRemaining--;
if (nFreezeTimeRemaining <= 0) {
mc.mcPowerTime.gotoAndStop("disappear");
}
} else {
nTimeElapsed--;
if (!(nTimeElapsed % _global.C.FRAME_RATE)) {
_local3 = nTimeElapsed / _global.C.FRAME_RATE;
if (_local3 >= 60) {
_local4 = Math.floor(_local3 / 60);
_local5 = _local3 - (_local4 * 60);
oSecondDigit.setContent(_local5);
oMinuteDigit.setContent(_local4);
} else {
oSecondDigit.setContent(_local3);
oMinuteDigit.setContent(0);
}
if (nEarthPowerTimeRemaining > 0) {
nEarthPowerTimeRemaining--;
} else if (nEarthPowerTimeRemaining == 0) {
disableEarthPower();
nEarthPowerTimeRemaining--;
}
}
}
}
}
function getTime() {
var _local3 = Math.round(nTimeElapsed / _global.C.FRAME_RATE);
if (_local3 < 0) {
_local3 = 0;
}
return(_local3);
}
function setTime(l_nTime) {
nTimeElapsed = l_nTime * _global.C.FRAME_RATE;
}
function freezeTime() {
nFreezeTimeRemaining = nFreezeTimeRemaining + FREEZE_TIME;
addPoints(50);
mc.mcPowerTime.gotoAndStop("appear");
}
function updatePowerBar(l_nPercent) {
var _local2 = Math.ceil(l_nPercent * mc.mcPowerBar._totalframes);
mc.mcPowerBar.gotoAndStop(_local2 + 1);
}
function setAirToken(l_nAmount) {
nAirToken = l_nAmount;
var _local2 = 1;
while (_local2 <= 3) {
if (_local2 <= nAirToken) {
mc.mcAirTokenBar["mcToken0" + _local2].gotoAndStop("idle");
} else {
mc.mcAirTokenBar["mcToken0" + _local2].gotoAndStop("inactive");
}
_local2++;
}
}
function addAirToken() {
nAirToken++;
if (nAirToken > 3) {
nAirToken = 3;
} else {
var _local2 = 1;
while (_local2 <= 3) {
if (_local2 == nAirToken) {
mc.mcAirTokenBar["mcToken0" + _local2].gotoAndStop("appear");
} else if (_local2 < nAirToken) {
mc.mcAirTokenBar["mcToken0" + _local2].gotoAndStop("idle");
} else {
mc.mcAirTokenBar["mcToken0" + _local2].gotoAndStop("inactive");
}
_local2++;
}
}
addPoints(1000);
}
function useAirToken() {
var _local2 = 1;
while (_local2 <= 3) {
if (_local2 == nAirToken) {
mc.mcAirTokenBar["mcToken0" + _local2].gotoAndStop("disappear");
} else if (_local2 < nAirToken) {
mc.mcAirTokenBar["mcToken0" + _local2].gotoAndStop("idle");
} else {
mc.mcAirTokenBar["mcToken0" + _local2].gotoAndStop("inactive");
}
_local2++;
}
nAirToken--;
}
function getAirToken() {
return(nAirToken);
}
function enableEarthPower() {
_global.C.enableEarthPower();
nEarthPowerTimeRemaining = EARTH_POWER_TIME;
addPoints(100);
mc.mcPowerEarth.gotoAndStop("appear");
}
function disableEarthPower() {
_global.C.disableEarthPower();
mc.mcPowerEarth.gotoAndStop("disappear");
}
var FREEZE_TIME = 350;
var EARTH_POWER_TIME = 10;
}
Symbol 1091 MovieClip [__Packages.sarbakan.packaging.DigitBitmapField] Frame 0
class sarbakan.packaging.DigitBitmapField
{
var mcDigitList, nNumber;
function DigitBitmapField (l_mcDigitList) {
mcDigitList = l_mcDigitList;
setContent(0);
}
function setContent(l_number) {
nNumber = l_number;
update();
}
function getContent() {
return(nNumber);
}
function update() {
var _local3 = getNumberToPaddedString();
var _local2 = 0;
while (_local2 < mcDigitList.length) {
mcDigitList[_local2].gotoAndStop(Number(_local3.charAt(_local2)) + 1);
_local2++;
}
}
function getNumberToPaddedString() {
var _local2 = String(nNumber);
while (_local2.length < mcDigitList.length) {
_local2 = "0" + _local2;
}
return(_local2);
}
}
Symbol 1092 MovieClip [__Packages.sarbakan.packaging.HighScoreBoard] Frame 0
class sarbakan.packaging.HighScoreBoard
{
var mcBoard, mcFields, nNextY, nFieldID, nMargin, nScrollPC, nBoardHeight, btUp, btDown, mcScrollBar, nScrollMin, nScrollMax, nScrollOrigin, bScrolling;
function HighScoreBoard (l_mcBoard, l_mcFields, l_nBoardHeight) {
mcBoard = l_mcBoard;
mcFields = l_mcFields;
nNextY = mcFields._y;
mcFields._visible = false;
nFieldID = 0;
nMargin = DEFAULT_MARGIN;
nScrollPC = 0;
nBoardHeight = l_nBoardHeight;
setMessage("Retrieving scores...");
}
function setScrollButtons(l_btUp, l_btDown) {
btUp = l_btUp;
btUp.onRelease = sarbakan.utils.Delegate.create(this, scrollUp);
trace("btUp: " + btUp);
btDown = l_btDown;
btDown.onRelease = sarbakan.utils.Delegate.create(this, scrollDown);
trace("btDown: " + btDown);
}
function setScrollBar(l_mc, l_nMinY, l_nMaxY) {
mcScrollBar = l_mc;
mcScrollBar._visible = false;
nScrollMin = l_nMinY;
nScrollMax = l_nMaxY;
mcScrollBar.onEnterFrame = sarbakan.utils.Delegate.create(this, onScrollBarUpdate);
mcScrollBar.onPress = sarbakan.utils.Delegate.create(this, onScrollBarClick);
mcScrollBar.onRelease = sarbakan.utils.Delegate.create(this, onScrollBarRelease);
mcScrollBar.onReleaseOutside = mcScrollBar.onRelease;
}
function setMargin(l_nMargin) {
nMargin = l_nMargin;
}
function addEntry(l_sName, l_nScore) {
var _local2 = mcFields.duplicateMovieClip("mcField" + (nFieldID++), mcFields._parent.getNextHighestDepth());
_local2._visible = true;
_local2._y = nNextY;
nNextY = nNextY + (mcFields._height + nMargin);
_local2.name = l_sName;
_local2.score = l_nScore;
clearMessage();
mcScrollBar._visible = true;
}
function setMessage(l_sMessage) {
mcBoard.message = l_sMessage;
}
function clearMessage() {
mcBoard.message = "";
}
function scrollTo(l_nScrollPC) {
if (!nScrollOrigin) {
nScrollOrigin = mcBoard._y;
}
mcBoard._y = nScrollOrigin - ((mcBoard._height - nBoardHeight) * (l_nScrollPC / 100));
}
function scrollUp() {
nScrollPC = nScrollPC - 10;
if (nScrollPC < 0) {
nScrollPC = 0;
}
scrollTo(nScrollPC);
}
function scrollDown() {
nScrollPC = nScrollPC + 10;
if (nScrollPC > 100) {
nScrollPC = 100;
}
scrollTo(nScrollPC);
}
function onScrollBarUpdate() {
if (bScrolling) {
var _local2 = Math.round(((mcScrollBar._y - nScrollMin) / (nScrollMax - nScrollMin)) * 100);
if (_local2 != nScrollPC) {
nScrollPC = _local2;
scrollTo(nScrollPC);
}
}
}
function onScrollBarClick() {
bScrolling = true;
mcScrollBar.startDrag(false, mcScrollBar._x, nScrollMin, mcScrollBar._x, nScrollMax);
}
function onScrollBarRelease() {
bScrolling = false;
mcScrollBar.stopDrag();
}
static var DEFAULT_MARGIN = 5;
}
Symbol 1093 MovieClip [__Packages.FriendManager] Frame 0
class FriendManager
{
var oBlockManager, oFriendList, oTwister, oActivationManager;
function FriendManager (l_oBlockManager, l_oTwister, l_oActivationManager) {
oBlockManager = l_oBlockManager;
oFriendList = new Object();
oTwister = l_oTwister;
oActivationManager = l_oActivationManager;
oActivationManager.addSelectiveElement(oTwister);
oActivationManager.deactivateSelective(oTwister);
}
function getGrid() {
return(oBlockManager);
}
function switchCell(l_oGridCoord, l_oFriend) {
if (oFriendList[l_oFriend.id]) {
oFriendList[l_oFriend.id].pos = l_oGridCoord;
oFriendList[l_oFriend.id].friend = l_oFriend;
} else {
oFriendList[l_oFriend.id] = new Object();
oFriendList[l_oFriend.id].pos = l_oGridCoord;
oFriendList[l_oFriend.id].friend = l_oFriend;
}
}
function getFriend(l_oGridCoord) {
for (var _local3 in oFriendList) {
if ((oFriendList[_local3].pos.x == l_oGridCoord.x) && (oFriendList[_local3].pos.y == l_oGridCoord.y)) {
return(oFriendList[_local3].friend);
}
}
return(null);
}
function getFriendOnColumn(l_oGridCoord) {
for (var _local3 in oFriendList) {
if (oFriendList[_local3].pos.x == l_oGridCoord.x) {
return(oFriendList[_local3].friend);
}
}
return(null);
}
function getFriendLst(l_oGridCoord) {
var _local3 = new Array();
for (var _local4 in oFriendList) {
if ((oFriendList[_local4].pos.x == l_oGridCoord.x) && (oFriendList[_local4].pos.y == l_oGridCoord.y)) {
_local3.push(oFriendList[_local4].friend);
}
}
return(_local3);
}
function getFriendLstOnColumn(l_oGridCoord) {
var _local2 = new Array();
for (var _local4 in oFriendList) {
if (oFriendList[_local4].friend.getGridCell().x == l_oGridCoord.x) {
_local2.push(oFriendList[_local4].friend);
}
}
return(_local2);
}
function getCell(l_oFriend) {
return(oFriendList[l_oFriend.id].pos);
}
function printList() {
trace("---------------------------");
for (var _local2 in oFriendList) {
trace((((((((("Friend: " + _local2) + " : ") + oFriendList[_local2].pos.x) + ", ") + oFriendList[_local2].pos.y) + " -Q ") + oFriendList[_local2].friend.bQueue) + "-A ") + oFriendList[_local2].friend.getState());
}
trace("---------------------------");
}
function reactToCollapse(l_nColumn) {
var _local8;
var _local2 = new Array();
var _local3 = 7;
while (_local3 >= 0) {
_local2 = getFriendLst({x:l_nColumn, y:_local3});
for (var _local4 in _local2) {
if (_local3 == 0) {
oTwister.rescueFriend(_local2[_local4], oActivationManager);
} else {
_local2[_local4].setState("fallStart");
}
}
_local3--;
}
}
function checkSafety(l_oFriend) {
var _local2 = l_oFriend.getGridCoord();
if ((_local2.y == 0) && (oBlockManager.getBlockAtCoord(_local2).getType() != "Full")) {
oTwister.rescueFriend(l_oFriend, oActivationManager);
}
}
function onFriendFinish(l_oFriend) {
_global.C.onFriendSaved(l_oFriend.id);
delete oFriendList[l_oFriend.id];
l_oFriend.remove();
}
}
Symbol 1094 MovieClip [__Packages.Twister] Frame 0
class Twister extends sarbakan.visual.element.DynamicElement
{
var setMC, oFriendToRescue, disable, oActivationManager, enable, setState, setCoord, stateFinished;
function Twister (l_mcParent) {
super("twister");
setMC(l_mcParent.attachMovie(LINKAGE_NAME, LINKAGE_NAME, DEPTH));
oFriendToRescue = new Array();
disable();
}
function rescueFriend(l_oFriend, l_oActivationManager) {
oActivationManager = l_oActivationManager;
oFriendToRescue.push(l_oFriend);
enable();
setState("appear");
l_oFriend.setState("waitForRescue");
setCoord(l_oFriend.getCoord());
oActivationManager.activateSelective(this);
sarbakan.sound.SoundManager.play("sfxTwister", 100, 1, true);
}
function appear() {
if (stateFinished()) {
for (var _local2 in oFriendToRescue) {
oFriendToRescue[_local2].queue();
}
setState("disappear");
}
}
function disappear() {
if (stateFinished()) {
disable();
oActivationManager.deactivateSelective(this);
var _local3 = 0;
while (_local3 < oFriendToRescue.length) {
_global.C.loseToken();
_local3++;
}
oFriendToRescue = new Array();
}
}
var LINKAGE_NAME = "twister";
var DEPTH = 40000;
}
Symbol 1095 MovieClip [__Packages.characters.Friend] Frame 0
class characters.Friend extends sarbakan.visual.element.basicElement.Character
{
var bAlwaysActive, sWallColliderID, bCurrentMoveY, setMC, mc, setDirection, nMoveSpeedX, nAirSpeedX, nWaitTime, nWaitCount, oManager, nDirection, checkFall, setPositionOutFloor, oGrid, nBlockWidth, nBlockHeight, oQueueFriend, setCoord, bQueue, oQueueListener, nSpeedX, nSpeedY, broadcastMessage, oCurrentBlock, getCoord, id, getGlobalPos, sBottomColliderName, collideWithMap, sFloorColliderID, stateFinished;
function Friend (l_sID) {
super(l_sID);
bAlwaysActive = true;
sWallColliderID = "floor";
bCurrentMoveY = false;
AsBroadcaster.initialize(this);
}
function setProps(l_mcParent, l_sLinkageName, l_nScale, l_nSpeedAir, l_nSpeedMove, l_nWaitTime) {
setMC(l_mcParent.attachMovie(l_sLinkageName, l_sLinkageName, nDepth++));
mc._xscale = l_nScale;
mc._yscale = l_nScale;
setDirection(-1);
nMoveSpeedX = l_nSpeedMove;
nAirSpeedX = l_nSpeedAir;
nWaitTime = l_nWaitTime;
nWaitCount = 0;
}
function setManager(l_oManager) {
oManager = l_oManager;
setGrid(oManager.getGrid());
}
function GetDirection() {
return(nDirection);
}
function stopRunning() {
checkStop();
checkFall();
setPositionOutFloor();
setState("idle");
}
function setGrid(l_oBlockManager) {
var _local3;
oGrid = l_oBlockManager;
nBlockWidth = oGrid.getBlockWidth();
nBlockHeight = oGrid.getBlockHeight();
}
function queue() {
var _local3;
var _local6;
var _local4 = oGrid.getStartPoint();
var _local2 = oGrid.getGridCoord(oGrid.getStartPoint());
var _local5 = 0;
while (_local3 = oManager.getFriend(_local2) , _local3) {
_local2.x = _local2.x + 1;
oQueueFriend = _local3;
}
_local4.x = (_local2.x * nBlockWidth) + (nBlockWidth / 2);
setCoord(_local4);
oManager.switchCell(_local2, this);
if (oQueueFriend) {
bQueue = true;
oQueueListener = new Object();
oQueueListener.onRunStart = sarbakan.utils.Delegate.create(this, moveForward);
oQueueFriend.addListener(oQueueListener);
setState("idle");
} else {
bQueue = false;
}
}
function setState(l_sState) {
super.setState(l_sState);
if (l_sState == "idle") {
nSpeedX = 0;
nSpeedY = 0;
nWaitCount = 0;
snapToGrid();
adjustCoord();
} else if (l_sState == "run") {
broadcastMessage("onRunStart");
} else if (l_sState == "moved") {
nSpeedX = 0;
nSpeedY = 0;
nWaitCount = 0;
}
}
function adjustToFloor() {
setState("fallStart");
}
function setSpeedY(l_nSpeedY) {
nSpeedY = l_nSpeedY;
}
function adjustCoord(l_bLand) {
var _local3 = oManager.getCell(this);
var _local2 = oGrid.getGridPos({x:_local3.x, y:_local3.y});
_local2.y = _local2.y + 5;
if (((oCurrentBlock.getType() == "Half_2") || (oCurrentBlock.getType() == "Half_3")) && (!l_bLand)) {
_local2.y = _local2.y + 15;
}
setCoord(_local2);
}
function getGridCoord() {
return(oManager.getCell(this));
}
function getGridCell() {
return(oGrid.getGridCoord(getCoord()));
}
function checkStop() {
var _local2 = getCoord();
var _local3;
var _local4;
_local2.x = _local2.x + nSpeedX;
if (nDirection == 1) {
_local4 = Math.floor((_local2.x - (nBlockWidth / 2)) / nBlockWidth);
} else if (nDirection == -1) {
_local4 = Math.floor((_local2.x + (nBlockWidth / 2)) / nBlockWidth);
}
if (_local4 != oManager.getCell(this).x) {
_local3 = oGrid.getGridCoord(_local2);
oManager.switchCell(_local3, this);
if (!oGrid.columnIsWeakened(_local4)) {
if (!bQueue) {
if (!canWalk(_local2, nDirection)) {
setState("idle");
} else if (_local3.x < 0) {
oManager.onFriendFinish(this);
}
} else {
if (_local3.x <= oGrid.getGridCoord(oGrid.getStartPoint()).x) {
bQueue = false;
}
checkFall();
setPositionOutFloor();
setState("idle");
}
}
}
}
function checkContinue() {
var _local3 = getCoord();
var _local2 = getCoord();
_local2.x = _local2.x - nMoveSpeedX;
_local3.x = _local3.x + nMoveSpeedX;
nSpeedX = 0;
nSpeedY = 0;
if (canWalk(_local2, -1)) {
nDirection = -1;
setState("run");
} else if (canWalk(_local3, 1)) {
nDirection = 1;
setState("run");
} else if (!bQueue) {
nWaitCount = 0;
setState("idle");
}
}
function snapToGrid() {
var _local3 = getCoord();
var _local2 = oGrid.getGridCoord(_local3);
oManager.switchCell({x:_local2.x, y:_local2.y}, this);
oCurrentBlock = oGrid.getBlockAtCoord(_local2);
}
function moveForward() {
var _local2 = getCoord();
setDirection(-1);
setState("run");
if (!oQueueFriend.bQueue) {
oQueueFriend.removeListener(oQueueListener);
}
}
function canWalk(l_oPoint, l_nDirection, l_nSpeed) {
var _local5;
var _local2;
var _local4 = new Object();
var _local3 = new Object();
_local4.x = l_oPoint.x + ((nBlockWidth * 0.5) * l_nDirection);
_local4.y = l_oPoint.y;
_local5 = oGrid.getGridCoord(_local4);
if (!oGrid.isWalkable(_local4, l_nDirection, oCurrentBlock, _local3)) {
adjustCoord();
return(false);
}
if ((_local3.block.getState() == "idle") || (_local3.block.getState().indexOf("crack") != -1)) {
oCurrentBlock = _local3.block;
bCurrentMoveY = _local3.bMoveY;
} else {
adjustCoord();
return(false);
}
if (l_nDirection != 1) {
_local2 = oManager.getFriendOnColumn(_local5);
if ((_local2 && (_local2.id != id)) && (_local2.GetDirection() != 1)) {
return(false);
}
_local5.x = _local5.x + l_nDirection;
_local2 = oManager.getFriendOnColumn(_local5);
if ((_local2 && (_local2.id != id)) && (_local2.GetDirection() != 1)) {
if ((_local2.getState() == "run") && (_local2.getDirection() != l_nDirection)) {
_local2.setState("idle");
return(false);
}
}
}
return(true);
}
function checkOnGround() {
var _local2 = oGrid.getGridCoord(getCoord());
if (!oGrid.isCharOnTop(_local2)) {
var _local4 = oGrid.getBlockAtCoord(_local2);
var _local3 = oGrid.getTopPos(_local2);
if (_local3.y <= _local2.y) {
fallStart();
}
}
}
function isOnGroundNow() {
var _local2 = getGlobalPos(mc[sBottomColliderName]);
return(collideWithMap(sFloorColliderID, {x:_local2.x + nSpeedX, y:_local2.y - 8}));
}
function run() {
var _local3;
var _local2;
var _local4;
nSpeedX = nMoveSpeedX * nDirection;
if (bCurrentMoveY != 0) {
checkFall();
setPositionOutFloor();
} else {
nSpeedY = 0;
}
checkOnGround();
checkStop();
}
function idle() {
if ((nWaitCount >= nWaitTime) && (!bQueue)) {
checkContinue();
} else {
nWaitCount++;
}
}
function fallStart() {
nSpeedX = 0;
nSpeedY = 1;
setState("fall");
}
function fall() {
nSpeedY = nSpeedY + 1;
if (isOnGroundNow()) {
trace("ground");
setPositionOutFloor();
setState("land");
} else {
nSpeedX = 0;
}
}
function land() {
nSpeedX = 0;
nSpeedY = 0;
nWaitCount = 0;
if (stateFinished()) {
checkFall();
setPositionOutFloor();
setState("idle");
oGrid.columnIsWeakened(oManager.getCell(this).x);
oManager.checkSafety(this);
}
}
var SPEED_FALL = 5;
static var nDepth = 200;
}
Symbol 1096 MovieClip [__Packages.sarbakan.packaging.TransitionManager] Frame 0
class sarbakan.packaging.TransitionManager
{
var mc, oEnterFrameListener, oCurrentTransition, sState;
function TransitionManager (l_mc) {
mc = l_mc;
mc.gotoAndStop("inactive");
mx.transitions.OnEnterFrameBeacon.init();
oEnterFrameListener = new Object();
oEnterFrameListener.onEnterFrame = sarbakan.utils.Delegate.create(this, update);
}
function startTransition(l_oTransition) {
oCurrentTransition = l_oTransition;
sState = "Out";
mc.gotoAndStop(oCurrentTransition.outID);
mc.btnMask.useHandCursor = false;
MovieClip.addListener(oEnterFrameListener);
}
function endTransition() {
MovieClip.removeListener(oEnterFrameListener);
if (typeof(oCurrentTransition.endListener) != "function") {
for (var _local2 in oCurrentTransition.endListener) {
oCurrentTransition.endListener[_local2];
}
} else {
oCurrentTransition.endListener();
}
delete oCurrentTransition;
sState = "";
mc.gotoAndStop("inactive");
}
function update() {
if (sState == "Out") {
if (stateFinished()) {
mc.gotoAndStop(oCurrentTransition.inID);
sState = "In";
if (typeof(oCurrentTransition.middleListener) != "function") {
for (var _local2 in oCurrentTransition.middleListener) {
oCurrentTransition.middleListener[_local2]();
trace("oCurrentTransition.middleListener[i]: " + oCurrentTransition.middleListener[_local2]);
}
} else {
oCurrentTransition.middleListener();
}
}
} else if (sState == "In") {
if (stateFinished()) {
endTransition();
}
}
}
function stateStarting() {
return(mc.state._currentframe == 1);
}
function stateFinished() {
return(mc.state._currentframe == mc.state._totalframes);
}
}
Symbol 1097 MovieClip [__Packages.objHSNick] Frame 0
class objHSNick
{
var bHSAvailable, G_TestHighScore, bSubmitHS, bGetHS, G_GameID, mcHSZone;
function objHSNick () {
bHSAvailable = true;
G_TestHighScore = false;
bSubmitHS = false;
bGetHS = false;
G_GameID = "av_serpent";
mcHSZone = undefined;
if (G_TestHighScore == true) {
_global.gProxyObj.setServer("www.nick.com");
_global.gProxyObj.setScreenName("hl_programmer");
_global.gProxyObj.setIsLoggedIn(true);
}
}
function getScores() {
trace("getScore " + _global.gProxyObj);
if (_global.gProxyObj == undefined) {
listScores();
} else {
_global.gProxyObj.getScores(cbFunc2);
}
}
function submitScore(theScore) {
addMessage("The high score list is updating!");
_global.gProxyObj.submitScore(theScore, cbFunc);
}
function initHiScores() {
_global.gProxyObj.setGame_Id(G_GameID);
}
function getScoreString() {
trace("##" + _global.gProxyObj);
var _local8 = "Oops! The high score list is not available right now!";
if (_global.gProxyObj != undefined) {
var _local7 = _global.gProxyObj.getScoreCount();
trace(_local7);
if (_local7 > 0) {
var _local3;
var _local4;
var _local5;
var _local6;
removeMessage();
_local3 = 0;
while (_local3 < _local7) {
_local8 = "";
_local4 = _global.gProxyObj.getScoreItem(_local3);
_local5 = _local4[0];
_local6 = _local4[1];
_global.C.oHiScore.addEntry(_local5, _local6);
trace("thisName: " + _local5);
_local3++;
}
} else {
addMessage("Oops! The high score list is not available right now!");
}
} else {
addMessage("Oops! The high score list is not available right now!");
}
return(_local8);
}
function listScores() {
getScoreString();
}
function cbFunc(thisBool) {
trace("cbFunc" + thisBool);
if (thisBool) {
_global.oHS.listScores();
} else {
addMessage("Oops! The high score list is not available right now!");
}
}
function cbFunc2(thisBool) {
trace("*" + thisBool);
if (thisBool) {
_global.oHS.listScores();
} else {
addMessage("Oops! The high score list is not available right now!");
}
}
function fDoHSInit() {
initHiScores();
if (_global.gProxyObj.getIsLoggedIn()) {
mcHSZone.btnSubmitHS._visible = true;
} else {
mcHSZone.btnSubmitHS._visible = false;
}
}
function fDoSubmitHS(l_mcStage) {
bSubmitHS = true;
}
function fDoViewHS(l_mcStage, l_bFromGame) {
bGetHS = true;
_global.KMC.startHighScore(l_mcStage, l_bFromGame);
}
function fSetHSBoard(P_mcRef) {
mcHSZone = P_mcRef;
if (_global.gProxyObj.getIsLoggedIn()) {
mcHSZone.btnSubmitHS._visible = true;
} else {
mcHSZone.btnSubmitHS._visible = false;
}
}
function addMessage(l_sMsg) {
_global.C.oHiScore.setMessage(l_sMsg);
}
function removeMessage() {
_global.C.oHiScore.clearMessage();
}
}
Symbol 1098 MovieClip [__Packages.sarbakan.utils.StringComplex] Frame 0
class sarbakan.utils.StringComplex
{
function StringComplex () {
}
static function pad(l_nToPad, l_nMinLength) {
var _local1 = String(l_nToPad);
while (_local1.length < l_nMinLength) {
_local1 = "0" + _local1;
}
return(_local1);
}
static function formatTime(l_nTime) {
var _local2 = l_nTime;
var _local1 = Math.floor(_local2 / 60);
var _local3 = Math.round(_local2 - (_local1 * 60));
return((pad(_local1, 2) + ":") + pad(_local3, 2));
}
}
Symbol 1099 MovieClip [__Packages.sarbakan.visual.activation.NoActivation] Frame 0
class sarbakan.visual.activation.NoActivation extends sarbakan.visual.activation.ActivationManager
{
var aDynamicElements;
function NoActivation () {
super();
aDynamicElements = [];
}
function addDynamicElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
l_oElement.enable();
aDynamicElements.push(l_oElement);
}
function addAlwaysActiveElement(l_oElement) {
l_oElement.enable();
aDynamicElements.push(l_oElement);
}
function removeDynamicElement(l_oElement) {
for (var _local3 in aDynamicElements) {
if (aDynamicElements[_local3] == l_oElement) {
aDynamicElements.splice(_local3, 1);
break;
}
}
}
function addStaticElement(l_oElement, l_nX, l_nY, l_nWidth, l_nHeight) {
l_oElement._visible = true;
}
function getActiveElements() {
return(aDynamicElements);
}
}
Symbol 1100 MovieClip [__Packages.levelData.LevelBonusData] Frame 0
class levelData.LevelBonusData
{
function LevelBonusData () {
}
static function getData() {
return([[15, 285, 0, "Full"], [15, 255, 0, "Full"], [15, 225, 0, "Full"], [15, 195, 0, "Full"], [15, 165, 0, "Full"], [15, 135, 0, "Full"], [15, 105, 0, "Full"], [15, 75, 0, "Full"], [45, 285, 0, "Full"], [45, 255, 0, "Full"], [45, 225, 0, "Full"], [45, 195, 0, "Full"], [45, 165, 0, "Full"], [45, 135, 0, "Full"], [45, 105, 0, "Full"], [45, 75, 0, "Full"], [75, 285, 0, "Full"], [75, 255, 0, "Full"], [75, 225, 0, "Full"], [75, 195, 0, "Full"], [75, 165, 0, "Full"], [75, 135, 0, "Full"], [75, 105, 0, "Full"], [75, 75, 0, "Full"], [105, 285, 0, "Full"], [105, 255, 0, "Full"], [105, 225, 0, "Full"], [105, 195, 0, "Full"], [105, 165, 0, "Full"], [105, 135, 0, "Full"], [105, 105, 0, "Full"], [105, 75, 0, "Full"], [135, 285, 0, "Full"], [135, 255, 0, "Full"], [135, 225, 0, "Full"], [135, 195, 0, "Full"], [135, 165, 0, "Full"], [135, 135, 0, "Full"], [135, 105, 0, "Full"], [135, 75, 0, "Full"], [165, 285, 0, "Full"], [165, 255, 0, "Full"], [165, 225, 0, "Full"], [165, 195, 0, "Full"], [165, 165, 0, "Full"], [165, 135, 0, "Full"], [165, 105, 0, "Full"], [165, 75, 0, "Full"], [195, 285, 0, "Full"], [195, 255, 0, "Full"], [195, 225, 0, "Full"], [195, 195, 0, "Full"], [195, 165, 0, "Full"], [195, 135, 0, "Full"], [195, 105, 0, "Full"], [195, 75, 0, "Full"], [225, 285, 0, "Full"], [225, 255, 0, "Full"], [225, 225, 0, "Full"], [225, 195, 0, "Full"], [225, 165, 0, "Full"], [225, 135, 0, "Full"], [225, 105, 0, "Full"], [225, 75, 0, "Full"], [255, 285, 0, "Full"], [255, 255, 0, "Full"], [255, 225, 0, "Full"], [255, 195, 0, "Full"], [255, 165, 0, "Full"], [255, 135, 0, "Full"], [255, 105, 0, "Full"], [255, 75, 0, "Full"], [285, 285, 0, "Full"], [285, 255, 0, "Full"], [285, 225, 0, "Full"], [285, 195, 0, "Full"], [285, 165, 0, "Full"], [285, 135, 0, "Full"], [285, 105, 0, "Full"], [285, 75, 0, "Full"], [315, 285, 0, "Full"], [315, 255, 0, "Full"], [315, 225, 0, "Full"], [315, 195, 0, "Full"], [315, 165, 0, "Full"], [315, 135, 0, "Full"], [315, 105, 0, "Full"], [315, 75, 0, "Full"], [345, 285, 0, "Full"], [345, 255, 0, "Full"], [345, 225, 0, "Full"], [345, 195, 0, "Full"], [345, 165, 0, "Full"], [345, 135, 0, "Full"], [345, 105, 0, "Full"], [345, 75, 0, "Full"], [375, 285, 0, "Full"], [375, 255, 0, "Full"], [375, 225, 0, "Full"], [375, 195, 0, "Full"], [375, 165, 0, "Full"], [375, 135, 0, "Full"], [375, 105, 0, "Full"], [375, 75, 0, "Full"], [405, 285, 0, "Full"], [405, 255, 0, "Full"], [405, 225, 0, "Full"], [405, 195, 0, "Full"], [405, 165, 0, "Full"], [405, 135, 0, "Full"], [405, 105, 0, "Full"], [405, 75, 0, "Full"], [435, 285, 0, "Full"], [435, 255, 0, "Full"], [435, 225, 0, "Full"], [435, 195, 0, "Full"], [435, 165, 0, "Full"], [435, 135, 0, "Full"], [435, 105, 0, "Full"], [435, 75, 0, "Full"], [465, 285, 0, "Full"], [465, 255, 0, "Full"], [465, 225, 0, "Full"], [465, 195, 0, "Full"], [465, 165, 0, "Full"], [465, 135, 0, "Full"], [465, 105, 0, "Full"], [465, 75, 0, "Full"], [495, 285, 0, "Full"], [495, 255, 0, "Full"], [495, 225, 0, "Full"], [495, 195, 0, "Full"], [495, 165, 0, "Full"], [495, 135, 0, "Full"], [495, 105, 0, "Full"], [495, 75, 0, "Full"], [525, 285, 0, "Full"], [525, 255, 0, "Full"], [525, 225, 0, "Full"], [525, 195, 0, "Full"], [525, 165, 0, "Full"], [525, 135, 0, "Full"], [525, 105, 0, "Full"], [525, 75, 0, "Full"], [555, 285, 0, "Full"], [555, 255, 0, "Full"], [555, 225, 0, "Full"], [555, 195, 0, "Full"], [555, 165, 0, "Full"], [555, 135, 0, "Full"], [555, 105, 0, "Full"], [555, 75, 0, "Full"], [585, 285, 0, "Full"], [585, 255, 0, "Full"], [585, 225, 0, "Full"], [585, 195, 0, "Full"], [585, 165, 0, "Full"], [585, 135, 0, "Full"], [585, 105, 0, "Full"], [585, 75, 0, "Full"]]);
}
}
Symbol 1101 MovieClip [__Packages.levelData.Level1Data] Frame 0
class levelData.Level1Data
{
function Level1Data () {
}
static function getData() {
return([[15, 285, 0, "Full"], [15, 255, 0, "Full"], [15, 225, 0, "Full"], [15, 195, 0, "Full"], [15, 165, 0, "Full"], [15, 135, 0, "Full"], [15, 105, 0, "Full"], [15, 75, 0, "Full"], [45, 285, 0, "Full"], [45, 255, 0, "Full"], [45, 225, 0, "Full"], [45, 195, 0, "Full"], [45, 165, 0, "Full"], [45, 135, 0, "Full"], [45, 105, 0, "Full"], [45, 75, 0, "Full"], [75, 285, 0, "Full"], [75, 255, 0, "Full"], [75, 225, 0, "Full"], [75, 195, 0, "Full"], [75, 165, 0, "Full"], [75, 135, 0, "Full"], [75, 105, 0, "Full"], [105, 285, 0, "Full"], [105, 255, 0, "Full"], [105, 225, 0, "Full"], [105, 195, 0, "Full"], [105, 165, 0, "Full"], [135, 285, 0, "Full"], [135, 255, 0, "Full"], [135, 225, 0, "Full"], [135, 195, 0, "Full"], [135, 165, 0, "Full"], [135, 135, 0, "Full"], [135, 105, 0, "Full"], [105, 135, 0, "Full"], [165, 285, 0, "Full"], [165, 255, 0, "Full"], [165, 225, 0, "Full"], [165, 195, 0, "Full"], [165, 165, 0, "Full"], [165, 135, 0, "Full"], [165, 105, 0, "Full"], [165, 75, 0, "Full"], [195, 285, 0, "Full"], [195, 255, 0, "Full"], [195, 225, 0, "Full"], [195, 195, 0, "Full"], [195, 165, 0, "Full"], [195, 135, 0, "Full"], [195, 105, 0, "Full"], [225, 285, 0, "Full"], [225, 255, 0, "Full"], [225, 225, 0, "Full"], [225, 195, 0, "Full"], [225, 165, 0, "Full"], [225, 135, 0, "Full"], [225, 105, 0, "Full"], [225, 75, 0, "Full"], [255, 285, 0, "Full"], [255, 255, 0, "Full"], [255, 225, 0, "Full"], [255, 195, 0, "Full"], [255, 165, 0, "Full"], [255, 135, 0, "Full"], [375, 285, 0, "Full"], [375, 255, 0, "Full"], [375, 225, 0, "Full"], [405, 285, 0, "Full"], [405, 255, 0, "Full"], [405, 225, 0, "Full"], [435, 285, 0, "Full"], [435, 255, 0, "Full"], [435, 225, 0, "Full"], [435, 195, 0, "Full"], [435, 165, 0, "Full"], [435, 135, 0, "Full"], [435, 105, 0, "Full"], [465, 285, 0, "Full"], [465, 255, 0, "Full"], [465, 225, 0, "Full"], [465, 195, 0, "Full"], [465, 165, 0, "Full"], [465, 135, 0, "Full"], [465, 105, 0, "Full"], [465, 75, 0, "Full"], [495, 285, 0, "Full"], [495, 255, 0, "Full"], [495, 225, 0, "Full"], [495, 195, 0, "Full"], [495, 165, 0, "Full"], [495, 135, 0, "Full"], [495, 105, 0, "Full"], [495, 75, 0, "Full"], [525, 285, 0, "Full"], [525, 255, 0, "Full"], [525, 225, 0, "Full"], [525, 195, 0, "Full"], [525, 165, 0, "Full"], [525, 135, 0, "Full"], [525, 105, 0, "Full"], [525, 75, 0, "Full"], [555, 285, 0, "Full"], [555, 255, 0, "Full"], [555, 225, 0, "Full"], [555, 195, 0, "Full"], [555, 165, 0, "Full"], [555, 135, 0, "Full"], [555, 105, 0, "Full"], [405, 195, 0, "Full"], [585, 285, 0, "Full"], [585, 255, 0, "Full"], [585, 225, 0, "Full"], [585, 195, 0, "Full"], [585, 165, 0, "Full"], [315, 195, 0, "Full"], [285, 195, 0, "Full"], [345, 225, 0, "Full"], [315, 225, 0, "Full"], [285, 225, 0, "Full"], [345, 255, 0, "Full"], [315, 255, 0, "Full"], [285, 255, 0, "Full"], [345, 285, 0, "Full"], [315, 285, 0, "Full"], [285, 285, 0, "Full"], [345, 195, 0, "Full"], [345, 165, 0, "Full"], [345, 135, 0, "Full"], [375, 195, 0, "Full"], [375, 165, 0, "Full"], [585, 135, 0, "Full"]]);
}
}
Symbol 1102 MovieClip [__Packages.levelData.Level2Data] Frame 0
class levelData.Level2Data
{
function Level2Data () {
}
static function getData() {
return([[15, 285, 0, "Full"], [15, 255, 0, "Full"], [15, 225, 0, "Full"], [45, 285, 0, "Full"], [45, 255, 0, "Full"], [45, 225, 0, "Full"], [45, 195, 0, "Full"], [45, 165, 0, "Full"], [45, 135, 0, "Full"], [45, 105, 0, "Full"], [45, 75, 0, "Full"], [75, 285, 0, "Full"], [75, 255, 0, "Full"], [75, 225, 0, "Full"], [75, 195, 0, "Full"], [75, 165, 1, "Full"], [75, 135, 0, "Full"], [75, 105, 0, "Full"], [105, 285, 0, "Full"], [105, 255, 0, "Full"], [105, 225, 0, "Full"], [105, 195, 0, "Full"], [105, 165, 0, "Full"], [135, 285, 0, "Full"], [135, 255, 0, "Full"], [135, 225, 0, "Full"], [135, 195, 0, "Full"], [135, 165, 0, "Full"], [135, 135, 0, "Full"], [135, 105, 0, "Full"], [105, 135, 0, "Full"], [165, 285, 0, "Full"], [165, 255, 0, "Full"], [165, 225, 0, "Full"], [165, 195, 0, "Full"], [195, 285, 0, "Full"], [195, 255, 0, "Full"], [195, 225, 0, "Full"], [195, 195, 0, "Full"], [225, 285, 0, "Full"], [225, 255, 0, "Full"], [225, 225, 0, "Full"], [225, 195, 0, "Full"], [255, 285, 0, "Full"], [255, 255, 0, "Full"], [255, 225, 0, "Full"], [255, 195, 1, "Full"], [375, 285, 0, "Full"], [375, 255, 0, "Full"], [375, 225, 0, "Full"], [405, 285, 0, "Full"], [405, 255, 0, "Full"], [435, 285, 0, "Full"], [435, 255, 0, "Full"], [465, 285, 0, "Full"], [465, 255, 0, "Full"], [465, 225, 0, "Full"], [465, 195, 0, "Full"], [465, 165, 0, "Full"], [435, 225, 1, "Full"], [495, 285, 0, "Full"], [495, 255, 0, "Full"], [495, 225, 0, "Full"], [495, 195, 0, "Full"], [495, 165, 0, "Full"], [495, 135, 0, "Full"], [525, 285, 0, "Full"], [525, 255, 0, "Full"], [525, 225, 0, "Full"], [525, 195, 0, "Full"], [525, 165, 0, "Full"], [525, 135, 1, "Full"], [555, 285, 0, "Full"], [555, 255, 0, "Full"], [555, 225, 0, "Full"], [555, 195, 0, "Full"], [555, 165, 0, "Full"], [555, 135, 0, "Full"], [585, 285, 0, "Full"], [585, 255, 0, "Full"], [585, 225, 0, "Full"], [585, 195, 0, "Full"], [585, 165, 0, "Full"], [375, 105, 0, "Full"], [375, 135, 0, "Full"], [225, 105, 0, "Full"], [195, 105, 0, "Full"], [225, 135, 0, "Full"], [195, 135, 0, "Full"], [195, 165, 0, "Full"], [285, 165, 0, "Full"], [315, 195, 0, "Full"], [285, 195, 0, "Full"], [345, 225, 0, "Full"], [315, 225, 0, "Full"], [285, 225, 0, "Full"], [345, 255, 0, "Full"], [315, 255, 0, "Full"], [285, 255, 0, "Full"], [345, 285, 0, "Full"], [315, 285, 0, "Full"], [285, 285, 0, "Full"], [345, 195, 0, "Full"], [345, 165, 0, "Full"], [225, 165, 0, "Full"], [375, 195, 0, "Full"], [375, 165, 0, "Full"], [585, 135, 0, "Full"], [615, 285, 0, "Full"], [615, 255, 0, "Full"], [615, 225, 0, "Full"], [615, 195, 0, "Full"], [615, 165, 0, "Full"], [615, 135, 0, "Full"], [495, 105, 0, "Full"], [495, 75, 0, "Full"], [645, 285, 0, "Full"], [645, 255, 0, "Full"], [645, 225, 0, "Full"], [645, 195, 0, "Full"], [645, 165, 0, "Full"], [645, 135, 0, "Full"], [525, 105, 0, "Full"], [525, 75, 0, "Full"], [675, 285, 0, "Full"], [675, 255, 0, "Full"], [675, 225, 0, "Full"], [675, 195, 0, "Full"], [675, 165, 0, "Full"], [645, 105, 0, "Full"], [555, 105, 0, "Full"], [705, 285, 0, "Full"], [705, 255, 0, "Full"], [705, 225, 0, "Full"], [375, 75, 0, "Full"]]);
}
}
Symbol 1103 MovieClip [__Packages.levelData.Level3Data] Frame 0
class levelData.Level3Data
{
function Level3Data () {
}
static function getData() {
return([[15, 285, 0, "Full"], [15, 255, 0, "Full"], [15, 195, 0, "Full"], [15, 165, 0, "Full"], [15, 135, 0, "Full"], [15, 105, 0, "Full"], [15, 75, 0, "Full"], [45, 285, 0, "Full"], [45, 255, 0, "Full"], [45, 225, 0, "Full"], [45, 195, 0, "Full"], [45, 165, 0, "Full"], [45, 135, 0, "Full"], [45, 105, 0, "Full"], [45, 75, 0, "Full"], [75, 285, 0, "Full"], [75, 255, 0, "Full"], [75, 225, 0, "Full"], [75, 195, 0, "Full"], [75, 165, 0, "Full"], [75, 135, 0, "Full"], [75, 105, 0, "Full"], [105, 285, 2, "Full"], [105, 255, 0, "Full"], [105, 225, 0, "Full"], [105, 195, 0, "Full"], [105, 165, 0, "Full"], [135, 285, 0, "Full"], [135, 255, 0, "Full"], [135, 225, 0, "Full"], [135, 195, 0, "Full"], [135, 165, 0, "Full"], [135, 135, 0, "Full"], [135, 105, 0, "Full"], [105, 135, 0, "Full"], [165, 285, 0, "Full"], [165, 255, 0, "Full"], [165, 225, 0, "Full"], [165, 195, 0, "Full"], [165, 165, 0, "Full"], [165, 135, 0, "Full"], [165, 105, 0, "Full"], [165, 75, 0, "Full"], [195, 285, 0, "Full"], [195, 255, 0, "Full"], [195, 225, 0, "Full"], [195, 195, 0, "Full"], [195, 165, 0, "Full"], [195, 135, 0, "Full"], [225, 285, 0, "Full"], [225, 255, 0, "Full"], [225, 225, 0, "Full"], [225, 195, 0, "Full"], [225, 165, 0, "Full"], [255, 285, 0, "Full"], [255, 255, 0, "Full"], [255, 225, 0, "Full"], [255, 195, 0, "Full"], [255, 165, 0, "Full"], [255, 135, 0, "Full"], [375, 285, 0, "Full"], [375, 255, 0, "Full"], [375, 225, 1, "Full"], [405, 285, 0, "Full"], [405, 255, 0, "Full"], [405, 225, 0, "Full"], [435, 285, 0, "Full"], [435, 255, 0, "Full"], [435, 225, 0, "Full"], [435, 195, 0, "Full"], [435, 165, 0, "Full"], [435, 135, 0, "Full"], [435, 105, 0, "Full"], [465, 255, 0, "Full"], [465, 225, 0, "Full"], [465, 195, 0, "Full"], [465, 165, 0, "Full"], [465, 135, 0, "Full"], [465, 105, 0, "Full"], [405, 195, 0, "Full"], [495, 285, 0, "Full"], [495, 255, 0, "Full"], [495, 225, 0, "Full"], [495, 195, 0, "Full"], [495, 165, 0, "Full"], [315, 75, 0, "Full"], [285, 75, 0, "Full"], [315, 105, 0, "Full"], [285, 105, 0, "Full"], [315, 135, 0, "Full"], [285, 135, 0, "Full"], [315, 165, 0, "Full"], [285, 165, 0, "Full"], [315, 195, 0, "Full"], [285, 195, 0, "Full"], [345, 225, 0, "Full"], [315, 225, 0, "Full"], [285, 225, 0, "Full"], [345, 255, 0, "Full"], [315, 255, 0, "Full"], [285, 255, 0, "Full"], [345, 285, 0, "Full"], [315, 285, 0, "Full"], [285, 285, 0, "Full"], [345, 195, 0, "Full"], [345, 165, 0, "Full"], [345, 135, 0, "Full"], [375, 195, 0, "Full"], [495, 135, 0, "Full"], [555, 285, 0, "Full"], [555, 225, 0, "Full"], [525, 285, 0, "Full"], [525, 255, 0, "Full"], [525, 225, 0, "Full"], [525, 195, 0, "Full"], [525, 165, 0, "Full"], [525, 135, 0, "Full"], [675, 285, 0, "Full"], [675, 255, 0, "Full"], [675, 225, 0, "Full"], [675, 195, 0, "Full"], [675, 165, 0, "Full"], [675, 135, 0, "Full"], [795, 285, 0, "Full"], [795, 255, 0, "Full"], [795, 225, 0, "Full"], [825, 285, 0, "Full"], [825, 255, 0, "Full"], [825, 225, 0, "Full"], [855, 285, 0, "Full"], [855, 255, 0, "Full"], [855, 225, 0, "Full"], [855, 195, 0, "Full"], [855, 165, 0, "Full"], [855, 135, 0, "Full"], [855, 105, 0, "Full"], [885, 285, 0, "Full"], [885, 255, 0, "Full"], [885, 225, 0, "Full"], [885, 195, 0, "Full"], [885, 165, 0, "Full"], [885, 135, 0, "Full"], [885, 105, 0, "Full"], [885, 75, 0, "Full"], [915, 285, 0, "Full"], [915, 255, 0, "Full"], [915, 225, 0, "Full"], [915, 195, 0, "Full"], [915, 165, 0, "Full"], [915, 135, 0, "Full"], [915, 105, 0, "Full"], [915, 75, 0, "Full"], [945, 285, 0, "Full"], [945, 255, 0, "Full"], [945, 225, 0, "Full"], [1005, 75, 0, "Full"], [825, 165, 0, "Full"], [975, 285, 0, "Full"], [975, 255, 0, "Full"], [975, 225, 0, "Full"], [975, 195, 0, "Full"], [975, 165, 0, "Full"], [975, 135, 2, "Full"], [1005, 105, 0, "Full"], [825, 195, 0, "Full"], [1005, 285, 0, "Full"], [1005, 255, 0, "Full"], [1005, 225, 0, "Full"], [1005, 195, 0, "Full"], [1005, 165, 0, "Full"], [555, 255, 0, "Full"], [705, 105, 0, "Full"], [705, 135, 0, "Full"], [705, 165, 0, "Full"], [705, 195, 0, "Full"], [765, 225, 0, "Full"], [705, 225, 0, "Full"], [765, 255, 0, "Full"], [735, 255, 0, "Full"], [705, 255, 0, "Full"], [765, 285, 0, "Full"], [735, 285, 0, "Full"], [705, 285, 0, "Full"], [765, 195, 0, "Full"], [765, 165, 0, "Full"], [765, 135, 0, "Full"], [795, 195, 0, "Full"], [795, 165, 0, "Full"], [1005, 135, 0, "Full"], [15, 225, 1, "Full"], [225, 135, 1, "Full"], [735, 225, 1, "Full"], [465, 285, 1, "Full"], [945, 195, 1, "Full"], [405, 165, 0, "Full"], [375, 165, 0, "Full"], [585, 225, 0, "Safe"], [615, 225, 0, "Safe"], [645, 225, 0, "Safe"], [585, 255, 0, "Safe"], [615, 255, 0, "Safe"], [645, 255, 0, "Safe"], [585, 285, 0, "Safe"], [615, 285, 0, "Safe"], [645, 285, 0, "Safe"]]);
}
}
Symbol 1104 MovieClip [__Packages.levelData.Level4Data] Frame 0
class levelData.Level4Data
{
function Level4Data () {
}
static function getData() {
return([[15, 285, 0, "Full"], [15, 255, 0, "Full"], [15, 225, 0, "Full"], [15, 195, 0, "Full"], [15, 165, 0, "Full"], [15, 135, 0, "Full"], [45, 285, 0, "Full"], [45, 255, 0, "Full"], [45, 225, 0, "Full"], [45, 195, 1, "Full"], [45, 165, 0, "Full"], [45, 135, 0, "Full"], [75, 195, 0, "Full"], [75, 285, 0, "Full"], [75, 255, 0, "Full"], [75, 225, 0, "Full"], [105, 285, 0, "Full"], [105, 255, 0, "Full"], [105, 225, 0, "Full"], [105, 195, 0, "Full"], [105, 165, 0, "Full"], [135, 285, 0, "Full"], [135, 255, 0, "Full"], [135, 225, 0, "Full"], [135, 195, 0, "Full"], [135, 165, 0, "Full"], [135, 135, 0, "Full"], [105, 135, 0, "Full"], [165, 285, 0, "Full"], [165, 255, 0, "Full"], [165, 225, 0, "Full"], [165, 195, 0, "Full"], [165, 165, 0, "Full"], [165, 135, 1, "Full"], [165, 105, 0, "Full"], [195, 285, 0, "Full"], [195, 255, 0, "Full"], [195, 225, 0, "Full"], [195, 195, 0, "Full"], [195, 165, 0, "Full"], [225, 285, 0, "Full"], [225, 255, 0, "Full"], [225, 225, 0, "Full"], [225, 195, 0, "Full"], [225, 165, 0, "Full"], [255, 285, 0, "Full"], [255, 255, 0, "Full"], [255, 225, 0, "Full"], [375, 285, 0, "Full"], [375, 255, 0, "Full"], [375, 225, 0, "Full"], [405, 285, 0, "Full"], [405, 255, 0, "Full"], [405, 225, 0, "Full"], [555, 285, 0, "Full"], [555, 255, 0, "Full"], [555, 225, 0, "Full"], [555, 195, 0, "Full"], [555, 165, 0, "Full"], [555, 135, 1, "Full"], [555, 105, 0, "Full"], [675, 285, 0, "Full"], [675, 255, 0, "Full"], [675, 225, 0, "Full"], [675, 195, 0, "Full"], [705, 285, 0, "Full"], [705, 255, 0, "Full"], [705, 225, 0, "Full"], [705, 195, 0, "Full"], [405, 195, 0, "Full"], [285, 75, 0, "Full"], [315, 105, 1, "Full"], [285, 105, 0, "Full"], [315, 135, 0, "Full"], [285, 135, 0, "Full"], [315, 165, 0, "Full"], [285, 165, 0, "Full"], [315, 195, 0, "Full"], [285, 195, 0, "Full"], [345, 225, 0, "Full"], [315, 225, 0, "Full"], [285, 225, 0, "Full"], [345, 255, 0, "Full"], [315, 255, 0, "Full"], [285, 255, 0, "Full"], [345, 285, 0, "Full"], [315, 285, 0, "Full"], [285, 285, 0, "Full"], [345, 195, 0, "Full"], [345, 165, 0, "Full"], [375, 195, 0, "Full"], [375, 165, 0, "Full"], [735, 285, 0, "Full"], [735, 225, 0, "Full"], [735, 135, 0, "Full"], [765, 285, 0, "Full"], [765, 255, 0, "Full"], [765, 225, 0, "Full"], [765, 195, 0, "Full"], [765, 165, 0, "Full"], [765, 135, 0, "Full"], [735, 195, 0, "Full"], [735, 165, 0, "Full"], [1035, 285, 0, "Full"], [1035, 255, 0, "Full"], [1035, 225, 0, "Full"], [1035, 195, 0, "Full"], [1035, 165, 0, "Full"], [1035, 135, 0, "Full"], [1155, 285, 0, "Full"], [1155, 255, 0, "Full"], [1155, 225, 0, "Full"], [1185, 285, 0, "Full"], [1185, 255, 0, "Full"], [1185, 225, 0, "Full"], [1215, 285, 0, "Full"], [1215, 255, 0, "Full"], [1215, 225, 1, "Full"], [1215, 195, 0, "Full"], [1215, 165, 0, "Full"], [1215, 135, 0, "Full"], [1215, 105, 0, "Full"], [1245, 285, 0, "Full"], [1245, 255, 0, "Full"], [1275, 285, 0, "Full"], [1275, 255, 0, "Full"], [1305, 285, 0, "Full"], [1305, 255, 0, "Full"], [1305, 225, 0, "Full"], [1305, 195, 0, "Full"], [1365, 75, 0, "Full"], [765, 105, 0, "Full"], [1185, 165, 0, "Full"], [1335, 285, 0, "Full"], [1335, 255, 0, "Full"], [1335, 225, 0, "Full"], [1335, 195, 0, "Full"], [1335, 165, 0, "Full"], [1335, 135, 0, "Full"], [1365, 105, 0, "Full"], [1185, 195, 0, "Full"], [1365, 285, 0, "Full"], [1365, 255, 0, "Full"], [1365, 225, 0, "Full"], [1365, 195, 0, "Full"], [1365, 165, 0, "Full"], [1095, 75, 0, "Full"], [735, 255, 0, "Full"], [1095, 105, 0, "Full"], [1065, 105, 0, "Full"], [1095, 135, 0, "Full"], [1065, 135, 1, "Full"], [1095, 165, 0, "Full"], [1065, 165, 0, "Full"], [1095, 195, 0, "Full"], [1065, 195, 0, "Full"], [1125, 225, 0, "Full"], [1095, 225, 0, "Full"], [1065, 225, 0, "Full"], [1125, 255, 0, "Full"], [1095, 255, 0, "Full"], [1065, 255, 0, "Full"], [1125, 285, 0, "Full"], [1095, 285, 0, "Full"], [1065, 285, 0, "Full"], [1125, 195, 0, "Full"], [1125, 165, 0, "Full"], [1125, 135, 0, "Full"], [1155, 195, 0, "Full"], [1155, 165, 0, "Full"], [1365, 135, 0, "Full"], [435, 285, 0, "Full"], [435, 255, 0, "Full"], [435, 225, 0, "Full"], [435, 195, 0, "Full"], [435, 165, 0, "Full"], [435, 135, 0, "Full"], [405, 165, 0, "Full"], [465, 285, 0, "Full"], [465, 255, 0, "Full"], [465, 225, 1, "Full"], [465, 195, 0, "Full"], [465, 165, 0, "Full"], [465, 135, 0, "Full"], [465, 105, 0, "Full"], [405, 135, 0, "Full"], [495, 285, 0, "Full"], [495, 255, 0, "Full"], [495, 225, 0, "Full"], [495, 195, 0, "Full"], [495, 165, 0, "Full"], [495, 135, 0, "Full"], [495, 105, 0, "Full"], [405, 105, 0, "Full"], [525, 285, 0, "Full"], [525, 255, 0, "Full"], [525, 225, 0, "Full"], [525, 195, 0, "Full"], [525, 165, 0, "Full"], [525, 135, 0, "Full"], [525, 105, 0, "Full"], [405, 75, 0, "Full"], [795, 285, 0, "Full"], [795, 255, 0, "Full"], [795, 225, 0, "Full"], [795, 195, 0, "Full"], [795, 165, 0, "Full"], [795, 135, 0, "Full"], [795, 105, 0, "Full"], [825, 285, 0, "Full"], [825, 255, 0, "Full"], [825, 225, 0, "Full"], [825, 195, 0, "Full"], [825, 165, 0, "Full"], [825, 135, 0, "Full"], [825, 105, 0, "Full"], [825, 75, 0, "Full"], [855, 285, 0, "Full"], [855, 255, 0, "Full"], [855, 225, 0, "Full"], [855, 195, 0, "Full"], [885, 285, 0, "Full"], [885, 255, 0, "Full"], [885, 225, 0, "Full"], [915, 285, 0, "Full"], [915, 255, 0, "Full"], [915, 225, 1, "Full"], [945, 285, 0, "Full"], [945, 255, 0, "Full"], [945, 225, 0, "Full"], [975, 285, 0, "Full"], [975, 255, 0, "Full"], [975, 225, 0, "Full"], [975, 195, 0, "Full"], [1005, 285, 0, "Full"], [1005, 255, 0, "Full"], [1005, 225, 0, "Full"], [1005, 195, 0, "Full"], [585, 165, 0, "Safe"], [615, 165, 0, "Safe"], [645, 165, 0, "Safe"], [585, 195, 0, "Safe"], [615, 195, 0, "Safe"], [645, 195, 0, "Safe"], [585, 225, 0, "Safe"], [615, 225, 0, "Safe"], [645, 225, 0, "Safe"], [585, 255, 0, "Safe"], [615, 255, 0, "Safe"], [645, 255, 0, "Safe"], [585, 285, 0, "Safe"], [615, 285, 0, "Safe"], [645, 285, 0, "Safe"]]);
}
}
Symbol 1105 MovieClip [__Packages.levelData.Level5Data] Frame 0
class levelData.Level5Data
{
function Level5Data () {
}
static function getData() {
return([[15, 285, 0, "Full"], [105, 255, 0, "Full"], [15, 225, 0, "Full"], [15, 195, 0, "Full"], [15, 165, 0, "Full"], [15, 135, 0, "Full"], [45, 285, 0, "Full"], [45, 255, 0, "Full"], [45, 225, 0, "Full"], [45, 195, 0, "Full"], [45, 165, 0, "Full"], [75, 285, 0, "Full"], [105, 285, 0, "Full"], [15, 255, 1, "Full"], [105, 225, 0, "Full"], [105, 195, 0, "Full"], [105, 165, 0, "Full"], [135, 285, 0, "Full"], [135, 255, 0, "Full"], [105, 135, 0, "Full"], [165, 285, 0, "Full"], [165, 255, 0, "Full"], [165, 225, 0, "Full"], [165, 195, 2, "Full"], [15, 165, 3, "Full"], [195, 285, 0, "Full"], [195, 255, 0, "Full"], [195, 225, 0, "Full"], [195, 195, 0, "Full"], [195, 165, 0, "Full"], [135, 195, 0, "Full"], [135, 225, 0, "Full"], [225, 285, 0, "Full"], [225, 255, 0, "Full"], [225, 225, 0, "Full"], [225, 195, 0, "Full"], [225, 165, 0, "Full"], [165, 165, 0, "Full"], [255, 285, 0, "Full"], [255, 255, 0, "Full"], [75, 225, 2, "Full"], [375, 285, 0, "Full"], [375, 255, 0, "Full"], [375, 225, 0, "Full"], [405, 285, 0, "Full"], [405, 255, 0, "Full"], [405, 225, 0, "Full"], [555, 285, 0, "Full"], [555, 255, 0, "Full"], [555, 225, 0, "Full"], [555, 195, 0, "Full"], [555, 165, 0, "Full"], [555, 135, 0, "Full"], [675, 285, 0, "Full"], [675, 255, 0, "Full"], [705, 285, 0, "Full"], [705, 255, 0, "Full"], [405, 195, 0, "Full"], [405, 75, 0, "Full"], [195, 135, 1, "Full"], [225, 135, 0, "Full"], [315, 165, 0, "Full"], [285, 165, 0, "Full"], [315, 195, 0, "Full"], [285, 195, 0, "Full"], [345, 225, 0, "Full"], [315, 225, 0, "Full"], [285, 225, 0, "Full"], [345, 255, 0, "Full"], [315, 255, 0, "Full"], [285, 255, 0, "Full"], [345, 285, 0, "Full"], [315, 285, 0, "Full"], [285, 285, 0, "Full"], [345, 195, 0, "Full"], [345, 165, 0, "Full"], [375, 195, 0, "Full"], [375, 165, 1, "Full"], [735, 285, 0, "Full"], [765, 285, 0, "Full"], [765, 255, 0, "Full"], [1035, 285, 0, "Full"], [1035, 255, 0, "Full"], [1035, 225, 0, "Full"], [1035, 195, 0, "Full"], [1035, 165, 0, "Full"], [1035, 135, 0, "Full"], [1155, 285, 0, "Full"], [1155, 255, 0, "Full"], [1155, 225, 0, "Full"], [1185, 285, 0, "Full"], [1185, 255, 0, "Full"], [1185, 225, 0, "Full"], [1215, 285, 0, "Full"], [1215, 255, 0, "Full"], [1215, 195, 0, "Full"], [1215, 165, 0, "Full"], [1215, 135, 0, "Full"], [1215, 105, 0, "Full"], [1245, 285, 0, "Full"], [1245, 255, 0, "Full"], [1245, 225, 0, "Full"], [1245, 195, 0, "Full"], [1245, 165, 0, "Full"], [1245, 135, 1, "Full"], [1245, 105, 0, "Full"], [1275, 285, 0, "Full"], [1275, 255, 0, "Full"], [1275, 225, 0, "Full"], [1275, 195, 0, "Full"], [1275, 165, 0, "Full"], [1275, 135, 0, "Full"], [1275, 105, 0, "Full"], [1275, 75, 0, "Full"], [1305, 285, 0, "Full"], [1305, 255, 0, "Full"], [1305, 225, 0, "Full"], [1305, 195, 0, "Full"], [1185, 165, 0, "Full"], [1335, 285, 0, "Full"], [1335, 255, 0, "Full"], [1335, 225, 1, "Full"], [1335, 195, 0, "Full"], [1335, 165, 0, "Full"], [1185, 195, 0, "Full"], [1365, 285, 0, "Full"], [735, 255, 0, "Full"], [1095, 165, 0, "Full"], [1065, 165, 0, "Full"], [1095, 195, 0, "Full"], [1065, 195, 0, "Full"], [1125, 225, 0, "Full"], [1095, 225, 0, "Full"], [1065, 225, 0, "Full"], [1125, 255, 0, "Full"], [1095, 255, 0, "Full"], [1065, 255, 0, "Full"], [1125, 285, 0, "Full"], [1095, 285, 0, "Full"], [1065, 285, 0, "Full"], [1125, 195, 0, "Full"], [1125, 165, 0, "Full"], [1155, 195, 0, "Full"], [1155, 165, 2, "Full"], [435, 285, 1, "Full"], [435, 255, 0, "Full"], [435, 225, 0, "Full"], [405, 165, 0, "Full"], [465, 285, 0, "Full"], [465, 255, 0, "Full"], [465, 225, 0, "Full"], [465, 195, 0, "Full"], [465, 165, 0, "Full"], [405, 135, 0, "Full"], [495, 285, 0, "Full"], [495, 255, 0, "Full"], [495, 225, 0, "Full"], [495, 195, 0, "Full"], [495, 165, 0, "Full"], [495, 135, 0, "Full"], [495, 105, 0, "Full"], [405, 105, 0, "Full"], [525, 285, 0, "Full"], [525, 255, 0, "Full"], [525, 225, 0, "Full"], [525, 195, 0, "Full"], [525, 165, 3, "Full"], [525, 135, 0, "Full"], [525, 105, 0, "Full"], [795, 285, 0, "Full"], [795, 255, 0, "Full"], [825, 285, 0, "Full"], [855, 285, 3, "Full"], [855, 255, 0, "Full"], [885, 285, 0, "Full"], [885, 255, 0, "Full"], [885, 225, 0, "Full"], [885, 195, 0, "Full"], [885, 165, 1, "Full"], [885, 135, 0, "Full"], [915, 285, 0, "Full"], [915, 255, 0, "Full"], [915, 225, 0, "Full"], [915, 195, 0, "Full"], [915, 165, 0, "Full"], [915, 135, 0, "Full"], [945, 285, 0, "Full"], [945, 255, 0, "Full"], [945, 225, 0, "Full"], [945, 195, 0, "Full"], [945, 165, 0, "Full"], [945, 135, 0, "Full"], [975, 285, 0, "Full"], [975, 255, 0, "Full"], [975, 225, 0, "Full"], [975, 195, 0, "Full"], [975, 165, 0, "Full"], [975, 135, 0, "Full"], [1005, 195, 0, "Full"], [1005, 285, 0, "Full"], [1005, 255, 0, "Full"], [1005, 225, 2, "Full"], [585, 75, 0, "Safe"], [615, 75, 0, "Safe"], [645, 75, 0, "Safe"], [585, 105, 0, "Safe"], [615, 105, 0, "Safe"], [645, 105, 0, "Safe"], [585, 135, 0, "Safe"], [615, 135, 0, "Safe"], [645, 135, 0, "Safe"], [585, 165, 0, "Safe"], [615, 165, 0, "Safe"], [645, 165, 0, "Safe"], [585, 195, 0, "Safe"], [615, 195, 0, "Safe"], [645, 195, 0, "Safe"], [585, 225, 0, "Safe"], [615, 225, 0, "Safe"], [645, 225, 0, "Safe"], [585, 255, 0, "Safe"], [615, 255, 0, "Safe"], [645, 255, 0, "Safe"], [585, 285, 0, "Safe"], [615, 285, 0, "Safe"], [645, 285, 0, "Safe"], [45, 135, 0, "Full"], [1215, 225, 0, "Full"], [45, 105, 0, "Full"], [45, 75, 0, "Full"], [1485, 285, 0, "Full"], [1485, 255, 0, "Full"], [1485, 225, 2, "Full"], [1515, 285, 0, "Full"], [1515, 255, 0, "Full"], [1515, 225, 0, "Full"], [1515, 165, 0, "Full"], [1515, 195, 0, "Full"], [1515, 75, 0, "Full"], [1485, 75, 0, "Full"], [1515, 105, 0, "Full"], [1485, 105, 0, "Full"], [1545, 135, 0, "Full"], [1515, 135, 0, "Full"], [1485, 135, 0, "Full"], [1455, 255, 0, "Full"], [1425, 255, 0, "Full"], [1395, 255, 0, "Full"], [1455, 285, 0, "Full"], [1425, 285, 0, "Full"], [1395, 285, 0, "Full"], [1545, 105, 0, "Full"], [1545, 75, 0, "Full"], [1485, 195, 0, "Full"], [1485, 165, 0, "Full"], [1635, 285, 0, "Full"], [1635, 255, 0, "Full"], [1635, 225, 0, "Full"], [1665, 285, 0, "Full"], [1665, 255, 0, "Full"], [1665, 225, 0, "Full"], [1665, 165, 0, "Full"], [1665, 195, 0, "Full"], [1575, 165, 0, "Full"], [1545, 165, 0, "Full"], [1575, 195, 0, "Full"], [1545, 195, 0, "Full"], [1605, 225, 0, "Full"], [1575, 225, 0, "Full"], [1545, 225, 0, "Full"], [1605, 255, 0, "Full"], [1575, 255, 0, "Full"], [1545, 255, 0, "Full"], [1605, 285, 0, "Full"], [1575, 285, 0, "Full"], [1545, 285, 0, "Full"], [1605, 195, 0, "Full"], [1605, 165, 1, "Full"], [1635, 195, 0, "Full"], [1635, 165, 0, "Full"], [1785, 285, 0, "Full"], [1785, 255, 0, "Full"], [1785, 225, 0, "Full"], [1815, 285, 0, "Full"], [1815, 255, 0, "Full"], [1815, 225, 0, "Full"], [1815, 165, 0, "Full"], [1815, 195, 0, "Full"], [1755, 225, 0, "Full"], [1725, 225, 0, "Full"], [1755, 255, 0, "Full"], [1725, 255, 0, "Full"], [1755, 285, 1, "Full"], [1725, 285, 0, "Full"], [1695, 285, 0, "Full"], [1785, 195, 0, "Full"], [1785, 165, 0, "Full"], [75, 255, 0, "Full"], [675, 225, 0, "Full"], [675, 195, 1, "Full"], [675, 165, 0, "Full"], [675, 135, 0, "Full"], [705, 225, 0, "Full"], [705, 195, 0, "Full"], [705, 165, 0, "Full"], [735, 225, 0, "Full"], [735, 195, 0, "Full"], [735, 165, 0, "Full"], [735, 135, 0, "Full"], [735, 105, 0, "Full"], [765, 225, 0, "Full"], [765, 195, 0, "Full"], [765, 165, 0, "Full"], [765, 135, 0, "Full"], [765, 105, 0, "Full"]]);
}
}
Symbol 1106 MovieClip [__Packages.levelData.Level6Data] Frame 0
class levelData.Level6Data
{
function Level6Data () {
}
static function getData() {
return([[15, 285, 0, "Full"], [15, 255, 0, "Full"], [15, 225, 3, "Full"], [15, 195, 0, "Full"], [15, 165, 0, "Full"], [15, 135, 0, "Full"], [15, 105, 0, "Full"], [45, 285, 0, "Full"], [45, 255, 0, "Full"], [45, 225, 0, "Full"], [45, 195, 0, "Full"], [45, 165, 0, "Full"], [75, 195, 0, "Full"], [75, 285, 3, "Full"], [75, 255, 0, "Full"], [75, 225, 0, "Full"], [105, 285, 0, "Full"], [105, 255, 1, "Full"], [105, 225, 0, "Full"], [105, 195, 0, "Full"], [105, 165, 0, "Full"], [135, 285, 0, "Full"], [135, 255, 0, "Full"], [105, 135, 0, "Full"], [165, 285, 0, "Full"], [165, 255, 0, "Full"], [165, 225, 0, "Full"], [165, 195, 0, "Full"], [165, 165, 3, "Full"], [195, 285, 0, "Full"], [195, 255, 0, "Full"], [195, 225, 0, "Full"], [195, 195, 0, "Full"], [195, 165, 0, "Full"], [195, 135, 0, "Full"], [135, 225, 0, "Full"], [225, 285, 0, "Full"], [225, 255, 0, "Full"], [225, 225, 0, "Full"], [225, 195, 0, "Full"], [225, 165, 0, "Full"], [225, 135, 0, "Full"], [255, 285, 0, "Full"], [255, 255, 0, "Full"], [255, 225, 2, "Full"], [375, 285, 0, "Full"], [375, 255, 0, "Full"], [375, 225, 0, "Full"], [405, 285, 0, "Full"], [405, 255, 0, "Full"], [405, 225, 0, "Full"], [585, 285, 0, "Full"], [585, 255, 0, "Full"], [585, 225, 0, "Full"], [585, 195, 0, "Full"], [615, 225, 2, "Full"], [615, 285, 0, "Full"], [615, 255, 0, "Full"], [345, 225, 3, "Full"], [615, 195, 0, "Full"], [405, 195, 0, "Full"], [405, 75, 0, "Full"], [315, 135, 0, "Full"], [285, 135, 0, "Full"], [315, 165, 0, "Full"], [285, 165, 0, "Full"], [315, 195, 0, "Full"], [285, 195, 0, "Full"], [315, 225, 0, "Full"], [285, 225, 0, "Full"], [345, 255, 0, "Full"], [315, 255, 0, "Full"], [285, 255, 0, "Full"], [345, 285, 0, "Full"], [315, 285, 0, "Full"], [285, 285, 0, "Full"], [345, 195, 0, "Full"], [345, 165, 0, "Full"], [375, 195, 0, "Full"], [375, 165, 1, "Full"], [645, 255, 0, "Full"], [675, 285, 0, "Full"], [675, 255, 0, "Full"], [645, 285, 0, "Full"], [945, 285, 0, "Full"], [945, 255, 0, "Full"], [945, 225, 0, "Full"], [1035, 195, 0, "Full"], [1035, 165, 0, "Full"], [1035, 135, 0, "Full"], [1065, 285, 0, "Full"], [1065, 255, 0, "Full"], [1065, 225, 0, "Full"], [1365, 285, 0, "Full"], [1365, 255, 0, "Full"], [1365, 225, 0, "Full"], [1395, 285, 0, "Full"], [1395, 255, 0, "Full"], [1125, 285, 0, "Full"], [1125, 255, 0, "Full"], [1125, 225, 0, "Full"], [1125, 195, 0, "Full"], [1425, 285, 0, "Full"], [1425, 255, 0, "Full"], [1425, 225, 0, "Full"], [1155, 285, 0, "Full"], [1155, 255, 0, "Full"], [1155, 225, 1, "Full"], [1155, 195, 0, "Full"], [1185, 285, 0, "Full"], [1065, 135, 0, "Full"], [1065, 105, 0, "Full"], [1065, 75, 0, "Full"], [1215, 285, 0, "Full"], [1215, 255, 0, "Full"], [1215, 225, 0, "Full"], [675, 225, 0, "Full"], [1095, 285, 0, "Full"], [1245, 285, 0, "Full"], [1245, 255, 0, "Full"], [1245, 225, 1, "Full"], [1155, 165, 0, "Full"], [1455, 285, 0, "Full"], [1365, 165, 0, "Full"], [1065, 165, 0, "Full"], [1365, 195, 0, "Full"], [1065, 195, 0, "Full"], [1035, 225, 0, "Full"], [1005, 225, 0, "Full"], [975, 225, 0, "Full"], [1035, 255, 0, "Full"], [1005, 255, 0, "Full"], [975, 255, 0, "Full"], [1035, 285, 0, "Full"], [1005, 285, 0, "Full"], [975, 285, 0, "Full"], [1395, 195, 0, "Full"], [1395, 165, 0, "Full"], [1425, 195, 0, "Full"], [1395, 195, 0, "Full"], [465, 285, 1, "Full"], [465, 255, 0, "Full"], [465, 225, 0, "Full"], [405, 165, 0, "Full"], [405, 135, 0, "Full"], [405, 105, 0, "Full"], [705, 285, 2, "Full"], [705, 255, 0, "Full"], [705, 225, 0, "Full"], [735, 285, 0, "Full"], [735, 255, 0, "Full"], [735, 225, 0, "Full"], [675, 195, 0, "Full"], [855, 285, 3, "Full"], [765, 255, 0, "Full"], [765, 225, 0, "Full"], [855, 195, 0, "Full"], [795, 285, 0, "Full"], [795, 255, 0, "Full"], [795, 225, 0, "Full"], [885, 195, 0, "Full"], [885, 165, 1, "Full"], [885, 135, 0, "Full"], [885, 105, 0, "Full"], [855, 165, 0, "Full"], [825, 285, 0, "Full"], [825, 255, 0, "Full"], [825, 225, 0, "Full"], [915, 195, 0, "Full"], [915, 165, 0, "Full"], [915, 135, 0, "Full"], [765, 285, 0, "Full"], [855, 255, 0, "Full"], [855, 225, 0, "Full"], [735, 195, 0, "Full"], [735, 165, 0, "Full"], [735, 135, 0, "Full"], [735, 105, 0, "Full"], [735, 75, 0, "Full"], [885, 285, 0, "Full"], [885, 255, 0, "Full"], [885, 225, 0, "Full"], [765, 195, 0, "Full"], [765, 165, 0, "Full"], [765, 135, 0, "Full"], [765, 105, 0, "Full"], [765, 75, 0, "Full"], [1005, 195, 0, "Full"], [915, 285, 0, "Full"], [915, 255, 0, "Full"], [915, 225, 2, "Full"], [1275, 135, 0, "Safe"], [1305, 135, 0, "Safe"], [1335, 135, 0, "Safe"], [1275, 165, 0, "Safe"], [1305, 165, 0, "Safe"], [1335, 165, 0, "Safe"], [1275, 195, 0, "Safe"], [1305, 195, 0, "Safe"], [1335, 195, 0, "Safe"], [1275, 225, 0, "Safe"], [1305, 225, 0, "Safe"], [1335, 225, 0, "Safe"], [1275, 255, 0, "Safe"], [1305, 255, 0, "Safe"], [1335, 255, 0, "Safe"], [1275, 285, 0, "Safe"], [1305, 285, 0, "Safe"], [1335, 285, 0, "Safe"], [645, 195, 0, "Full"], [645, 225, 0, "Full"], [45, 135, 0, "Full"], [1395, 225, 0, "Full"], [15, 75, 0, "Full"], [45, 105, 3, "Full"], [45, 75, 0, "Full"], [75, 105, 0, "Full"], [75, 75, 0, "Full"], [75, 165, 2, "Full"], [75, 135, 0, "Full"], [105, 105, 0, "Full"], [105, 75, 0, "Full"], [1575, 285, 0, "Full"], [1575, 255, 0, "Full"], [1575, 225, 2, "Full"], [1605, 285, 0, "Full"], [1605, 255, 0, "Full"], [1605, 225, 0, "Full"], [1545, 255, 0, "Full"], [1515, 255, 0, "Full"], [1485, 255, 0, "Full"], [1545, 285, 0, "Full"], [1515, 285, 0, "Full"], [1485, 285, 0, "Full"], [1725, 285, 0, "Full"], [1725, 255, 0, "Full"], [1755, 285, 0, "Full"], [1755, 255, 0, "Full"], [1695, 225, 0, "Full"], [1635, 225, 0, "Full"], [1695, 255, 0, "Full"], [1635, 255, 0, "Full"], [1695, 285, 0, "Full"], [1665, 285, 0, "Full"], [1635, 285, 0, "Full"], [1695, 195, 0, "Full"], [1665, 255, 1, "Full"], [1875, 285, 0, "Full"], [1875, 255, 0, "Full"], [1875, 225, 0, "Full"], [1905, 285, 0, "Full"], [1905, 255, 0, "Full"], [1845, 225, 0, "Full"], [1815, 225, 0, "Full"], [1845, 255, 0, "Full"], [1815, 255, 0, "Full"], [1845, 285, 1, "Full"], [1815, 285, 0, "Full"], [1785, 285, 0, "Full"], [165, 135, 0, "Full"], [795, 195, 0, "Full"], [795, 165, 0, "Full"], [795, 135, 0, "Full"], [795, 105, 0, "Full"], [825, 195, 0, "Full"], [825, 165, 0, "Full"], [825, 135, 0, "Full"], [825, 105, 0, "Full"], [825, 75, 0, "Full"], [795, 75, 1, "Full"], [1425, 165, 0, "Full"], [1395, 135, 0, "Full"], [1365, 135, 0, "Full"], [1425, 135, 0, "Full"], [495, 225, 0, "Safe"], [525, 225, 0, "Safe"], [555, 225, 0, "Safe"], [495, 255, 0, "Safe"], [525, 255, 0, "Safe"], [555, 255, 0, "Safe"], [495, 285, 0, "Safe"], [525, 285, 0, "Safe"], [555, 285, 0, "Safe"], [435, 285, 1, "Full"], [435, 255, 0, "Full"], [435, 225, 0, "Full"]]);
}
}
Symbol 1107 MovieClip [__Packages.levelData.Level7Data] Frame 0
class levelData.Level7Data
{
function Level7Data () {
}
static function getData() {
return([[15, 285, 0, "Full"], [15, 225, 0, "Full"], [15, 255, 3, "Full"], [45, 285, 0, "Full"], [45, 255, 0, "Full"], [45, 225, 0, "Full"], [45, 195, 0, "Full"], [45, 165, 0, "Full"], [75, 225, 0, "Full"], [75, 285, 0, "Full"], [75, 255, 0, "Full"], [105, 285, 0, "Full"], [15, 195, 1, "Full"], [105, 255, 0, "Full"], [105, 225, 0, "Full"], [105, 195, 0, "Full"], [135, 285, 0, "Full"], [135, 255, 0, "Full"], [105, 165, 0, "Full"], [165, 285, 0, "Full"], [165, 255, 0, "Full"], [165, 225, 0, "Full"], [165, 195, 0, "Full"], [195, 255, 3, "Full"], [195, 285, 0, "Full"], [435, 285, 0, "Full"], [195, 225, 0, "Full"], [195, 195, 0, "Full"], [195, 165, 0, "Full"], [195, 135, 0, "Full"], [135, 225, 0, "Full"], [225, 285, 0, "Full"], [225, 255, 0, "Full"], [225, 225, 0, "Full"], [225, 195, 0, "Full"], [225, 165, 0, "Full"], [225, 135, 0, "Full"], [255, 285, 0, "Full"], [255, 255, 0, "Full"], [255, 225, 2, "Full"], [375, 285, 0, "Full"], [375, 255, 0, "Full"], [375, 225, 0, "Full"], [405, 285, 0, "Full"], [405, 255, 0, "Full"], [405, 225, 0, "Full"], [555, 285, 0, "Full"], [555, 255, 0, "Full"], [585, 285, 0, "Full"], [585, 255, 0, "Full"], [585, 225, 0, "Full"], [585, 195, 0, "Full"], [435, 195, 2, "Full"], [615, 285, 0, "Full"], [615, 255, 0, "Full"], [345, 225, 3, "Full"], [615, 225, 0, "Full"], [405, 195, 0, "Full"], [105, 75, 0, "Full"], [315, 195, 0, "Full"], [285, 195, 0, "Full"], [315, 225, 0, "Full"], [285, 225, 0, "Full"], [345, 255, 0, "Full"], [315, 255, 0, "Full"], [285, 255, 0, "Full"], [345, 285, 0, "Full"], [315, 285, 0, "Full"], [285, 285, 0, "Full"], [345, 195, 0, "Full"], [345, 165, 0, "Full"], [375, 195, 0, "Full"], [375, 165, 1, "Full"], [645, 255, 0, "Full"], [645, 285, 0, "Full"], [945, 285, 0, "Full"], [945, 255, 0, "Full"], [945, 225, 0, "Full"], [1065, 285, 0, "Full"], [1065, 255, 0, "Full"], [1065, 225, 0, "Full"], [1245, 285, 0, "Full"], [1245, 255, 0, "Full"], [1245, 225, 0, "Full"], [1275, 285, 0, "Full"], [1275, 255, 0, "Full"], [1125, 285, 0, "Full"], [1125, 255, 0, "Full"], [1125, 225, 0, "Full"], [1125, 195, 0, "Full"], [1305, 285, 0, "Full"], [1305, 255, 0, "Full"], [1305, 225, 0, "Full"], [1155, 285, 0, "Full"], [1155, 255, 0, "Full"], [1155, 225, 1, "Full"], [1155, 195, 0, "Full"], [1185, 285, 0, "Full"], [1065, 135, 0, "Full"], [1065, 105, 0, "Full"], [1065, 75, 0, "Full"], [1095, 285, 0, "Full"], [1185, 255, 0, "Full"], [1335, 285, 0, "Full"], [1245, 165, 0, "Full"], [1065, 165, 0, "Full"], [1245, 195, 0, "Full"], [1065, 195, 0, "Full"], [1035, 225, 0, "Full"], [1005, 225, 0, "Full"], [975, 225, 0, "Full"], [1035, 255, 0, "Full"], [1005, 255, 0, "Full"], [975, 255, 0, "Full"], [1035, 285, 0, "Full"], [1005, 285, 0, "Full"], [975, 285, 0, "Full"], [1275, 195, 0, "Full"], [1275, 165, 0, "Full"], [1305, 195, 0, "Full"], [1275, 195, 0, "Full"], [645, 165, 1, "Full"], [435, 255, 0, "Full"], [435, 225, 0, "Full"], [405, 165, 0, "Full"], [465, 285, 0, "Full"], [465, 255, 0, "Full"], [465, 225, 0, "Full"], [465, 195, 0, "Full"], [465, 165, 0, "Full"], [105, 135, 0, "Full"], [495, 285, 0, "Full"], [495, 255, 0, "Full"], [495, 225, 0, "Full"], [495, 195, 0, "Full"], [495, 165, 0, "Full"], [105, 105, 0, "Full"], [525, 285, 0, "Full"], [525, 255, 0, "Full"], [525, 225, 0, "Full"], [525, 195, 0, "Full"], [525, 165, 3, "Full"], [615, 195, 2, "Full"], [945, 195, 0, "Full"], [945, 165, 0, "Full"], [945, 135, 0, "Full"], [855, 285, 3, "Full"], [975, 165, 0, "Full"], [975, 135, 0, "Full"], [855, 195, 0, "Full"], [1005, 195, 0, "Full"], [1005, 165, 0, "Full"], [1005, 135, 0, "Full"], [885, 195, 0, "Full"], [885, 165, 1, "Full"], [885, 135, 0, "Full"], [885, 105, 0, "Full"], [855, 165, 0, "Full"], [1035, 195, 0, "Full"], [1035, 165, 0, "Full"], [1035, 135, 0, "Full"], [975, 195, 0, "Full"], [855, 255, 0, "Full"], [855, 225, 0, "Full"], [945, 105, 0, "Full"], [945, 75, 0, "Full"], [885, 285, 0, "Full"], [885, 255, 0, "Full"], [885, 225, 0, "Full"], [975, 105, 0, "Full"], [975, 75, 0, "Full"], [765, 285, 0, "Full"], [765, 255, 0, "Full"], [915, 285, 0, "Full"], [915, 255, 0, "Full"], [915, 225, 2, "Full"], [645, 195, 0, "Full"], [645, 225, 0, "Full"], [45, 135, 0, "Full"], [1275, 225, 0, "Full"], [45, 105, 3, "Full"], [75, 135, 0, "Full"], [75, 105, 0, "Full"], [75, 195, 2, "Full"], [75, 165, 0, "Full"], [1425, 285, 2, "Full"], [1395, 255, 0, "Full"], [1365, 255, 0, "Full"], [1395, 285, 0, "Full"], [1365, 285, 0, "Full"], [1605, 285, 0, "Full"], [1605, 255, 0, "Full"], [1635, 285, 0, "Full"], [1635, 255, 0, "Full"], [1575, 225, 0, "Full"], [1575, 255, 0, "Full"], [1575, 285, 0, "Full"], [1545, 285, 0, "Full"], [1575, 195, 0, "Full"], [1545, 255, 1, "Full"], [1755, 285, 0, "Full"], [1755, 255, 0, "Full"], [1755, 225, 0, "Full"], [1725, 225, 0, "Full"], [1695, 225, 0, "Full"], [1725, 255, 0, "Full"], [1695, 255, 0, "Full"], [1725, 285, 1, "Full"], [1695, 285, 0, "Full"], [1665, 285, 0, "Full"], [165, 165, 0, "Full"], [1005, 105, 0, "Full"], [1005, 75, 0, "Full"], [795, 285, 0, "Full"], [1035, 105, 0, "Full"], [1035, 75, 0, "Full"], [825, 285, 0, "Full"], [825, 255, 0, "Full"], [795, 255, 1, "Full"], [1305, 165, 0, "Full"], [1305, 135, 0, "Full"], [1215, 285, 0, "Full"], [225, 75, 0, "Full"], [225, 105, 0, "Full"], [1305, 105, 0, "Full"], [1305, 75, 0, "Full"], [675, 255, 0, "Safe"], [705, 255, 0, "Safe"], [735, 255, 0, "Safe"], [675, 285, 0, "Safe"], [705, 285, 0, "Safe"], [735, 285, 0, "Safe"], [1785, 285, 0, "Full"], [1785, 255, 0, "Full"], [1785, 225, 2, "Full"], [1815, 285, 0, "Full"], [1815, 255, 0, "Full"], [1815, 225, 0, "Full"], [1935, 285, 0, "Full"], [1935, 255, 0, "Full"], [1965, 285, 0, "Full"], [1965, 255, 0, "Full"], [1905, 225, 0, "Full"], [1905, 255, 0, "Full"], [1905, 285, 0, "Full"], [1875, 285, 0, "Full"], [1905, 195, 0, "Full"], [1875, 255, 1, "Full"], [2085, 285, 0, "Full"], [2085, 255, 0, "Full"], [2085, 225, 0, "Full"], [2115, 285, 0, "Full"], [2115, 255, 0, "Full"], [2055, 225, 0, "Full"], [2025, 225, 0, "Full"], [2055, 255, 0, "Full"], [2025, 255, 0, "Full"], [2055, 285, 1, "Full"], [2025, 285, 0, "Full"], [1995, 285, 0, "Full"], [1845, 285, 0, "Full"], [1845, 255, 0, "Full"], [1845, 225, 0, "Full"], [1845, 195, 0, "Full"], [1845, 165, 0, "Full"], [1845, 135, 0, "Full"], [1845, 105, 0, "Full"], [1815, 195, 0, "Full"], [1455, 255, 0, "Safe"], [1485, 255, 0, "Safe"], [1515, 255, 0, "Safe"], [1455, 285, 0, "Safe"], [1485, 285, 0, "Safe"], [1515, 285, 0, "Safe"], [1455, 195, 0, "Safe"], [1485, 195, 0, "Safe"], [1515, 195, 0, "Safe"], [1455, 225, 0, "Safe"], [1485, 225, 0, "Safe"], [1515, 225, 0, "Safe"], [1455, 135, 0, "Safe"], [1485, 135, 0, "Safe"], [1515, 135, 0, "Safe"], [1455, 165, 0, "Safe"], [1485, 165, 0, "Safe"], [1515, 165, 0, "Safe"], [2055, 195, 0, "Full"], [2085, 195, 0, "Full"], [2115, 195, 0, "Full"], [2115, 225, 0, "Full"], [2115, 165, 0, "Full"], [2115, 135, 0, "Full"]]);
}
}
Symbol 1108 MovieClip [__Packages.levelData.Level8Data] Frame 0
class levelData.Level8Data
{
function Level8Data () {
}
static function getData() {
return([[15, 285, 0, "Full"], [15, 225, 0, "Full"], [15, 255, 3, "Full"], [45, 285, 0, "Full"], [45, 255, 0, "Full"], [45, 225, 0, "Full"], [45, 195, 0, "Full"], [45, 165, 0, "Full"], [75, 225, 0, "Full"], [75, 285, 0, "Full"], [75, 255, 0, "Full"], [105, 285, 0, "Full"], [15, 195, 1, "Full"], [105, 255, 0, "Full"], [105, 225, 0, "Full"], [105, 195, 0, "Full"], [135, 285, 0, "Full"], [135, 255, 0, "Full"], [105, 165, 0, "Full"], [645, 285, 0, "Full"], [645, 255, 0, "Full"], [615, 285, 0, "Full"], [615, 255, 0, "Full"], [255, 255, 3, "Full"], [255, 285, 0, "Full"], [495, 285, 0, "Full"], [255, 225, 0, "Full"], [255, 195, 0, "Full"], [135, 225, 0, "Full"], [285, 285, 0, "Full"], [285, 255, 0, "Full"], [285, 225, 0, "Full"], [285, 195, 0, "Full"], [315, 285, 0, "Full"], [315, 255, 0, "Full"], [315, 225, 2, "Full"], [435, 285, 0, "Full"], [435, 255, 0, "Full"], [435, 225, 0, "Full"], [465, 285, 0, "Full"], [465, 255, 0, "Full"], [465, 225, 0, "Full"], [615, 195, 0, "Full"], [615, 165, 0, "Full"], [495, 195, 2, "Full"], [645, 225, 3, "Full"], [465, 195, 0, "Full"], [105, 75, 0, "Full"], [375, 135, 0, "Full"], [375, 165, 0, "Full"], [135, 165, 0, "Full"], [375, 195, 0, "Full"], [135, 195, 0, "Full"], [375, 225, 0, "Full"], [345, 225, 0, "Full"], [405, 255, 0, "Full"], [375, 255, 0, "Full"], [345, 255, 0, "Full"], [405, 285, 0, "Full"], [375, 285, 0, "Full"], [345, 285, 0, "Full"], [435, 195, 0, "Full"], [405, 225, 1, "Full"], [1095, 285, 0, "Full"], [1095, 255, 0, "Full"], [1095, 225, 0, "Full"], [1395, 285, 0, "Full"], [1395, 255, 0, "Full"], [1395, 225, 0, "Full"], [1275, 285, 0, "Full"], [1275, 255, 0, "Full"], [1275, 225, 0, "Full"], [1395, 165, 0, "Full"], [1395, 195, 0, "Full"], [1365, 225, 0, "Full"], [1335, 225, 0, "Full"], [1305, 225, 0, "Full"], [1365, 255, 0, "Full"], [1335, 255, 0, "Full"], [1305, 255, 0, "Full"], [1365, 285, 0, "Full"], [1335, 285, 1, "Full"], [1305, 285, 0, "Full"], [495, 255, 0, "Full"], [495, 225, 0, "Full"], [465, 165, 0, "Full"], [525, 255, 0, "Full"], [105, 135, 0, "Full"], [555, 285, 0, "Full"], [105, 105, 0, "Full"], [585, 285, 0, "Full"], [585, 255, 0, "Full"], [585, 225, 0, "Full"], [585, 195, 0, "Full"], [525, 285, 3, "Full"], [1095, 195, 0, "Full"], [1095, 165, 0, "Full"], [1095, 135, 0, "Full"], [1005, 285, 3, "Full"], [1305, 165, 0, "Full"], [1185, 285, 0, "Full"], [1005, 195, 0, "Full"], [1335, 195, 0, "Full"], [1335, 165, 0, "Full"], [1215, 285, 0, "Full"], [1035, 195, 0, "Full"], [1035, 165, 1, "Full"], [1035, 135, 0, "Full"], [1035, 105, 0, "Full"], [1005, 165, 0, "Full"], [1365, 195, 0, "Full"], [1365, 165, 0, "Full"], [1245, 285, 0, "Full"], [1305, 195, 0, "Full"], [1005, 255, 0, "Full"], [1005, 225, 0, "Full"], [1095, 105, 0, "Full"], [1095, 75, 0, "Full"], [1035, 285, 0, "Full"], [1035, 255, 0, "Full"], [1035, 225, 0, "Full"], [1185, 255, 0, "Full"], [1185, 225, 0, "Full"], [915, 285, 0, "Full"], [915, 255, 0, "Full"], [1065, 285, 0, "Full"], [1065, 255, 0, "Full"], [1065, 225, 2, "Full"], [45, 135, 0, "Full"], [45, 105, 3, "Full"], [75, 135, 0, "Full"], [75, 105, 0, "Full"], [75, 195, 2, "Full"], [75, 165, 0, "Full"], [1455, 285, 0, "Full"], [1455, 255, 0, "Full"], [1455, 225, 0, "Full"], [1425, 225, 0, "Full"], [1425, 255, 0, "Full"], [1425, 285, 1, "Full"], [615, 225, 0, "Full"], [1215, 255, 0, "Full"], [1215, 225, 0, "Full"], [945, 285, 0, "Full"], [1245, 255, 0, "Full"], [1245, 225, 1, "Full"], [975, 285, 0, "Full"], [975, 255, 0, "Full"], [945, 255, 1, "Full"], [165, 285, 0, "Safe"], [195, 285, 0, "Safe"], [225, 285, 0, "Safe"], [1665, 285, 0, "Full"], [1695, 285, 0, "Full"], [1635, 285, 0, "Full"], [1605, 285, 0, "Full"], [1575, 285, 0, "Full"], [165, 255, 0, "Safe"], [195, 255, 0, "Safe"], [225, 255, 0, "Safe"], [45, 75, 0, "Full"], [75, 75, 0, "Full"], [825, 225, 0, "Safe"], [855, 225, 0, "Safe"], [885, 225, 0, "Safe"], [825, 285, 0, "Safe"], [855, 285, 0, "Safe"], [885, 285, 0, "Safe"], [825, 255, 0, "Safe"], [855, 255, 0, "Safe"], [885, 255, 0, "Safe"], [1485, 285, 0, "Full"], [1485, 255, 0, "Full"], [1485, 225, 0, "Full"], [1695, 165, 0, "Full"], [1695, 135, 0, "Full"], [1695, 105, 0, "Full"], [1575, 255, 0, "Full"], [1575, 225, 0, "Full"], [1515, 285, 0, "Full"], [1515, 255, 0, "Full"], [1515, 225, 0, "Full"], [1695, 255, 0, "Full"], [1695, 225, 0, "Full"], [1695, 195, 0, "Full"], [1605, 255, 0, "Full"], [1605, 225, 0, "Full"], [1545, 285, 0, "Full"], [1725, 285, 0, "Full"], [1725, 255, 0, "Full"], [1725, 225, 0, "Full"], [1725, 195, 0, "Full"], [1725, 165, 0, "Full"], [1725, 135, 0, "Full"], [1725, 105, 0, "Full"], [1155, 285, 0, "Full"], [1155, 255, 0, "Full"], [1155, 225, 0, "Full"], [1155, 195, 0, "Full"], [1155, 165, 0, "Full"], [1125, 285, 0, "Full"], [1125, 255, 0, "Full"], [165, 225, 0, "Safe"], [195, 225, 0, "Safe"], [225, 225, 0, "Safe"], [675, 285, 0, "Full"], [705, 285, 0, "Full"], [735, 285, 0, "Full"], [765, 285, 0, "Full"], [795, 285, 0, "Full"]]);
}
}
Symbol 1109 MovieClip [__Packages.levelData.Level9Data] Frame 0
class levelData.Level9Data
{
function Level9Data () {
}
static function getData() {
return([[15, 285, 0, "Full"], [15, 225, 0, "Full"], [45, 165, 3, "Full"], [45, 285, 0, "Full"], [45, 255, 0, "Full"], [45, 225, 0, "Full"], [45, 195, 0, "Full"], [195, 285, 0, "Full"], [75, 285, 0, "Full"], [75, 255, 0, "Full"], [105, 285, 0, "Full"], [105, 255, 0, "Full"], [105, 225, 0, "Full"], [105, 195, 0, "Full"], [135, 285, 0, "Full"], [135, 255, 0, "Full"], [105, 165, 0, "Full"], [645, 285, 0, "Full"], [645, 255, 0, "Full"], [615, 285, 0, "Full"], [615, 255, 0, "Full"], [165, 135, 3, "Full"], [165, 165, 0, "Full"], [495, 285, 0, "Full"], [255, 285, 0, "Full"], [255, 255, 0, "Full"], [255, 225, 0, "Full"], [255, 195, 0, "Full"], [135, 225, 0, "Full"], [195, 165, 0, "Full"], [195, 135, 0, "Full"], [285, 285, 0, "Full"], [285, 255, 0, "Full"], [165, 285, 0, "Full"], [165, 255, 0, "Full"], [315, 285, 0, "Full"], [315, 255, 0, "Full"], [315, 225, 2, "Full"], [435, 285, 0, "Full"], [435, 255, 0, "Full"], [435, 225, 0, "Full"], [465, 285, 0, "Full"], [465, 255, 0, "Full"], [465, 225, 0, "Full"], [495, 195, 2, "Full"], [345, 285, 3, "Full"], [465, 195, 0, "Full"], [105, 135, 2, "Full"], [375, 105, 0, "Full"], [375, 165, 0, "Full"], [15, 195, 0, "Full"], [375, 195, 0, "Full"], [135, 195, 0, "Full"], [375, 225, 0, "Full"], [345, 225, 0, "Full"], [405, 255, 0, "Full"], [375, 255, 0, "Full"], [345, 255, 0, "Full"], [405, 285, 0, "Full"], [375, 285, 0, "Full"], [435, 195, 0, "Full"], [405, 225, 1, "Full"], [945, 285, 0, "Full"], [945, 255, 0, "Full"], [945, 225, 0, "Full"], [1245, 285, 0, "Full"], [1545, 285, 0, "Full"], [1545, 255, 0, "Full"], [1545, 225, 0, "Full"], [1575, 285, 0, "Full"], [1575, 255, 0, "Full"], [1305, 285, 0, "Full"], [1305, 255, 0, "Full"], [1305, 225, 0, "Full"], [1305, 195, 0, "Full"], [1605, 285, 0, "Full"], [1605, 255, 0, "Full"], [1605, 225, 0, "Full"], [1335, 285, 0, "Full"], [1335, 255, 0, "Full"], [1335, 225, 1, "Full"], [1335, 195, 0, "Full"], [1365, 285, 0, "Full"], [1125, 285, 0, "Full"], [1125, 255, 0, "Full"], [1125, 225, 0, "Full"], [1275, 285, 0, "Full"], [1545, 135, 1, "Full"], [1365, 255, 0, "Full"], [1635, 285, 0, "Full"], [1545, 165, 0, "Full"], [1545, 195, 0, "Full"], [1215, 285, 0, "Full"], [1185, 285, 1, "Full"], [1155, 285, 0, "Full"], [1575, 195, 0, "Full"], [1575, 165, 0, "Full"], [1605, 195, 0, "Full"], [1575, 195, 0, "Full"], [495, 255, 0, "Full"], [495, 225, 0, "Full"], [465, 165, 0, "Full"], [525, 255, 0, "Full"], [555, 285, 0, "Full"], [585, 285, 0, "Full"], [585, 255, 0, "Full"], [525, 285, 3, "Full"], [945, 195, 0, "Full"], [945, 165, 0, "Full"], [855, 285, 3, "Full"], [1035, 285, 0, "Full"], [855, 195, 0, "Full"], [1065, 285, 0, "Full"], [885, 195, 0, "Full"], [885, 165, 1, "Full"], [885, 135, 0, "Full"], [885, 105, 0, "Full"], [855, 165, 0, "Full"], [1095, 285, 0, "Full"], [855, 255, 0, "Full"], [855, 225, 0, "Full"], [885, 285, 0, "Full"], [885, 255, 0, "Full"], [885, 225, 0, "Full"], [1035, 255, 0, "Full"], [1035, 225, 0, "Full"], [765, 285, 0, "Full"], [765, 255, 0, "Full"], [915, 285, 0, "Full"], [915, 255, 0, "Full"], [915, 225, 2, "Full"], [195, 255, 0, "Full"], [1575, 225, 0, "Full"], [195, 225, 3, "Full"], [225, 255, 0, "Full"], [225, 225, 0, "Full"], [15, 255, 2, "Full"], [225, 285, 0, "Full"], [1695, 255, 0, "Full"], [1665, 255, 0, "Full"], [1695, 285, 0, "Full"], [1665, 285, 0, "Full"], [1905, 285, 0, "Full"], [1905, 255, 0, "Full"], [1935, 285, 0, "Full"], [1935, 255, 0, "Full"], [1875, 225, 0, "Full"], [1875, 255, 0, "Full"], [1875, 285, 0, "Full"], [1875, 195, 0, "Full"], [1335, 165, 0, "Full"], [1335, 135, 0, "Full"], [1305, 135, 0, "Full"], [1275, 225, 0, "Full"], [1305, 165, 0, "Full"], [1275, 255, 0, "Full"], [1065, 255, 0, "Full"], [1065, 225, 0, "Full"], [795, 285, 0, "Full"], [1095, 255, 0, "Full"], [1095, 225, 1, "Full"], [825, 285, 0, "Full"], [825, 255, 0, "Full"], [795, 255, 1, "Full"], [1605, 165, 0, "Full"], [1605, 135, 0, "Full"], [1515, 285, 0, "Full"], [165, 195, 0, "Full"], [165, 225, 0, "Full"], [1605, 105, 0, "Full"], [1395, 285, 0, "Full"], [1395, 255, 0, "Full"], [1395, 225, 0, "Full"], [1755, 285, 0, "Full"], [1755, 255, 0, "Full"], [1755, 225, 0, "Full"], [1755, 195, 0, "Full"], [1965, 285, 0, "Full"], [1995, 285, 0, "Full"], [1755, 165, 0, "Full"], [1755, 135, 0, "Full"], [1755, 105, 0, "Full"], [1755, 75, 0, "Full"], [1845, 285, 0, "Full"], [1845, 255, 0, "Full"], [1845, 225, 0, "Full"], [1845, 195, 0, "Full"], [1845, 165, 0, "Full"], [1365, 105, 0, "Full"], [1365, 75, 0, "Full"], [1425, 255, 0, "Safe"], [1455, 255, 0, "Safe"], [1485, 255, 0, "Safe"], [1425, 285, 0, "Safe"], [1455, 285, 0, "Safe"], [1485, 285, 0, "Safe"], [1425, 225, 0, "Safe"], [1455, 225, 0, "Safe"], [1485, 225, 0, "Safe"], [195, 195, 0, "Full"], [225, 195, 0, "Full"], [675, 105, 0, "Safe"], [705, 105, 0, "Safe"], [735, 105, 0, "Safe"], [675, 75, 0, "Safe"], [705, 75, 0, "Safe"], [735, 75, 0, "Safe"], [675, 165, 0, "Safe"], [705, 165, 0, "Safe"], [735, 165, 0, "Safe"], [675, 135, 0, "Safe"], [705, 135, 0, "Safe"], [735, 135, 0, "Safe"], [675, 225, 0, "Safe"], [705, 225, 0, "Safe"], [735, 225, 0, "Safe"], [675, 195, 0, "Safe"], [705, 195, 0, "Safe"], [735, 195, 0, "Safe"], [675, 285, 0, "Safe"], [705, 285, 0, "Safe"], [735, 285, 0, "Safe"], [675, 255, 0, "Safe"], [705, 255, 0, "Safe"], [735, 255, 0, "Safe"], [1785, 285, 0, "Full"], [1785, 255, 0, "Full"], [1785, 225, 0, "Full"], [1785, 195, 0, "Full"], [1785, 165, 0, "Full"], [1785, 135, 0, "Full"], [1785, 105, 0, "Full"], [1725, 285, 0, "Full"], [1365, 225, 0, "Full"], [1365, 195, 0, "Full"], [1995, 165, 0, "Full"], [1995, 135, 0, "Full"], [1995, 105, 0, "Full"], [1365, 165, 0, "Full"], [1365, 135, 0, "Full"], [1995, 255, 0, "Full"], [1995, 225, 0, "Full"], [1995, 195, 0, "Full"], [2025, 285, 0, "Full"], [2025, 255, 0, "Full"], [2025, 225, 0, "Full"], [2025, 195, 0, "Full"], [2025, 165, 0, "Full"], [2025, 135, 0, "Full"], [2025, 105, 0, "Full"], [1005, 285, 0, "Full"], [1005, 255, 0, "Full"], [1005, 225, 0, "Full"], [1005, 195, 0, "Full"], [1005, 165, 0, "Full"], [975, 285, 0, "Full"], [975, 255, 0, "Full"], [1815, 195, 0, "Full"], [1815, 285, 0, "Full"], [1815, 255, 0, "Full"], [1815, 225, 0, "Full"], [645, 225, 3, "Full"], [225, 165, 2, "Full"], [75, 225, 1, "Full"], [435, 165, 1, "Full"], [555, 255, 1, "Full"], [645, 195, 1, "Full"], [585, 225, 0, "Full"], [585, 195, 1, "Full"], [345, 195, 1, "Full"], [375, 135, 3, "Full"], [765, 225, 3, "Full"], [975, 225, 2, "Full"], [945, 135, 2, "Full"], [1185, 255, 0, "Full"], [1185, 225, 0, "Full"], [1245, 255, 1, "Full"], [1215, 255, 0, "Full"], [1215, 225, 1, "Full"], [1275, 195, 1, "Full"], [1035, 195, 1, "Full"]]);
}
}
Symbol 1110 MovieClip [__Packages.levelData.Level10Data] Frame 0
class levelData.Level10Data
{
function Level10Data () {
}
static function getData() {
return([[15, 285, 0, "Full"], [15, 225, 0, "Full"], [45, 165, 3, "Full"], [45, 285, 0, "Full"], [45, 255, 0, "Full"], [45, 225, 0, "Full"], [45, 195, 0, "Full"], [465, 285, 0, "Full"], [75, 285, 0, "Full"], [75, 255, 0, "Full"], [435, 165, 0, "Full"], [1095, 195, 0, "Full"], [465, 165, 0, "Full"], [645, 285, 0, "Full"], [645, 255, 0, "Full"], [435, 285, 0, "Full"], [435, 255, 0, "Full"], [675, 285, 0, "Full"], [675, 255, 0, "Full"], [675, 225, 2, "Full"], [795, 285, 0, "Full"], [795, 255, 0, "Full"], [795, 225, 0, "Full"], [1065, 195, 0, "Full"], [1065, 165, 0, "Full"], [825, 255, 2, "Full"], [705, 285, 3, "Full"], [285, 255, 3, "Full"], [255, 285, 0, "Full"], [735, 165, 0, "Full"], [15, 195, 0, "Full"], [735, 195, 0, "Full"], [735, 225, 0, "Full"], [705, 225, 0, "Full"], [765, 255, 0, "Full"], [735, 255, 0, "Full"], [705, 255, 0, "Full"], [765, 285, 0, "Full"], [735, 285, 0, "Full"], [795, 195, 0, "Full"], [765, 225, 1, "Full"], [945, 285, 0, "Full"], [945, 255, 0, "Full"], [945, 225, 0, "Full"], [1245, 285, 0, "Full"], [405, 285, 0, "Full"], [405, 255, 0, "Full"], [405, 225, 0, "Full"], [1515, 285, 0, "Full"], [1515, 255, 0, "Full"], [1305, 285, 0, "Full"], [1305, 255, 0, "Full"], [1305, 225, 0, "Full"], [1305, 195, 0, "Full"], [1545, 285, 0, "Full"], [1545, 255, 0, "Full"], [1545, 225, 0, "Full"], [1335, 285, 0, "Full"], [1335, 255, 0, "Full"], [1335, 225, 1, "Full"], [1335, 195, 0, "Full"], [1365, 285, 0, "Full"], [1125, 285, 0, "Full"], [1125, 255, 0, "Full"], [1125, 225, 0, "Full"], [1275, 285, 0, "Full"], [495, 225, 1, "Full"], [1365, 255, 0, "Full"], [1575, 285, 0, "Full"], [495, 255, 0, "Full"], [495, 285, 0, "Full"], [1215, 285, 0, "Full"], [1185, 285, 1, "Full"], [1155, 285, 0, "Full"], [1515, 195, 0, "Full"], [1545, 195, 0, "Full"], [1095, 165, 0, "Full"], [825, 285, 0, "Full"], [1575, 255, 0, "Full"], [1605, 285, 0, "Full"], [945, 195, 0, "Full"], [945, 165, 0, "Full"], [855, 285, 3, "Full"], [1035, 285, 0, "Full"], [1065, 285, 0, "Full"], [285, 285, 1, "Full"], [1095, 285, 0, "Full"], [855, 255, 0, "Full"], [885, 285, 0, "Full"], [885, 255, 0, "Full"], [1035, 255, 0, "Full"], [1035, 225, 0, "Full"], [915, 285, 0, "Full"], [915, 255, 0, "Full"], [915, 225, 2, "Full"], [465, 255, 0, "Full"], [1515, 225, 0, "Full"], [465, 225, 3, "Full"], [15, 255, 2, "Full"], [555, 255, 0, "Full"], [525, 255, 0, "Full"], [555, 285, 0, "Full"], [525, 285, 0, "Full"], [1335, 165, 0, "Full"], [1275, 225, 0, "Full"], [1305, 165, 0, "Full"], [1275, 255, 0, "Full"], [1065, 255, 0, "Full"], [1065, 225, 0, "Full"], [1095, 255, 0, "Full"], [1095, 225, 1, "Full"], [1035, 165, 0, "Full"], [375, 285, 0, "Full"], [435, 195, 0, "Full"], [435, 225, 0, "Full"], [1395, 285, 0, "Full"], [1395, 255, 0, "Full"], [1395, 225, 0, "Full"], [105, 285, 0, "Full"], [585, 285, 0, "Full"], [585, 255, 0, "Full"], [585, 225, 0, "Full"], [585, 195, 0, "Full"], [585, 165, 0, "Full"], [1425, 285, 0, "Safe"], [1455, 285, 0, "Safe"], [1485, 285, 0, "Safe"], [1425, 255, 0, "Safe"], [1455, 255, 0, "Safe"], [1485, 255, 0, "Safe"], [465, 195, 0, "Full"], [165, 165, 0, "Safe"], [195, 165, 0, "Safe"], [225, 165, 0, "Safe"], [165, 135, 0, "Safe"], [195, 135, 0, "Safe"], [225, 135, 0, "Safe"], [165, 225, 0, "Safe"], [195, 225, 0, "Safe"], [225, 225, 0, "Safe"], [165, 195, 0, "Safe"], [195, 195, 0, "Safe"], [225, 195, 0, "Safe"], [165, 285, 0, "Safe"], [195, 285, 0, "Safe"], [225, 285, 0, "Safe"], [165, 255, 0, "Safe"], [195, 255, 0, "Safe"], [225, 255, 0, "Safe"], [135, 285, 0, "Full"], [615, 285, 0, "Full"], [615, 255, 0, "Full"], [615, 225, 0, "Full"], [615, 195, 0, "Full"], [615, 165, 0, "Full"], [315, 285, 0, "Full"], [1365, 225, 0, "Full"], [1365, 195, 0, "Full"], [1365, 165, 0, "Full"], [1005, 285, 0, "Full"], [1005, 255, 0, "Full"], [1005, 225, 0, "Full"], [1005, 195, 0, "Full"], [1005, 165, 0, "Full"], [975, 285, 0, "Full"], [975, 255, 0, "Full"], [1155, 255, 3, "Full"], [75, 225, 1, "Full"], [795, 165, 1, "Full"], [1605, 255, 1, "Full"], [705, 195, 1, "Full"], [135, 255, 3, "Full"], [975, 225, 2, "Full"], [345, 285, 2, "Full"], [1185, 255, 0, "Full"], [1185, 225, 0, "Full"], [1245, 255, 1, "Full"], [1215, 255, 0, "Full"], [1215, 225, 1, "Full"], [1275, 195, 1, "Full"], [1035, 195, 1, "Full"], [1395, 195, 2, "Full"], [1635, 285, 0, "Full"], [1635, 255, 0, "Full"], [1635, 225, 0, "Full"], [1635, 195, 0, "Full"], [1665, 285, 0, "Full"], [1665, 255, 0, "Full"], [1665, 225, 0, "Full"], [1665, 195, 0, "Full"], [1935, 285, 0, "Full"], [1935, 165, 0, "Full"], [1935, 135, 0, "Full"], [1935, 105, 0, "Full"], [1935, 255, 0, "Full"], [1935, 225, 0, "Full"], [1935, 195, 0, "Full"], [1965, 285, 0, "Full"], [1965, 255, 0, "Full"], [1965, 225, 0, "Full"], [1965, 195, 0, "Full"], [1965, 165, 0, "Full"], [1965, 135, 0, "Full"], [1965, 105, 0, "Full"], [1935, 75, 0, "Full"], [1995, 285, 0, "Full"], [1995, 165, 0, "Full"], [1995, 135, 0, "Full"], [1995, 105, 0, "Full"], [1995, 255, 0, "Full"], [1995, 225, 0, "Full"], [1995, 195, 0, "Full"], [2025, 285, 0, "Full"], [2025, 255, 0, "Full"], [2025, 225, 0, "Full"], [2025, 195, 0, "Full"], [1995, 75, 0, "Full"], [1815, 285, 0, "Full"], [1815, 165, 0, "Full"], [1815, 135, 0, "Full"], [1815, 105, 0, "Full"], [1815, 255, 0, "Full"], [1815, 225, 0, "Full"], [1815, 195, 0, "Full"], [1845, 285, 0, "Full"], [1845, 255, 0, "Full"], [1845, 225, 0, "Full"], [1845, 195, 0, "Full"], [1845, 165, 0, "Full"], [1845, 135, 0, "Full"], [1845, 105, 0, "Full"], [1815, 75, 0, "Full"], [1845, 75, 0, "Full"], [1875, 285, 0, "Full"], [1875, 165, 0, "Full"], [1875, 135, 0, "Full"], [1875, 105, 0, "Full"], [1875, 255, 0, "Full"], [1875, 225, 0, "Full"], [1875, 195, 0, "Full"], [1905, 285, 0, "Full"], [1905, 255, 0, "Full"], [1905, 225, 0, "Full"], [1905, 195, 0, "Full"], [1905, 165, 0, "Full"], [1905, 135, 0, "Full"], [1905, 105, 0, "Full"], [1875, 75, 0, "Full"], [1905, 75, 0, "Full"], [1695, 285, 0, "Full"], [1695, 165, 0, "Full"], [1695, 135, 0, "Full"], [1695, 105, 0, "Full"], [1695, 255, 0, "Full"], [1695, 225, 0, "Full"], [1695, 195, 0, "Full"], [1725, 285, 0, "Full"], [1725, 255, 0, "Full"], [1725, 225, 0, "Full"], [1725, 195, 0, "Full"], [1725, 165, 0, "Full"], [1725, 135, 0, "Full"], [1725, 105, 0, "Full"], [1695, 75, 0, "Full"], [1755, 285, 0, "Full"], [1755, 165, 0, "Full"], [1755, 135, 0, "Full"], [1755, 105, 0, "Full"], [1755, 255, 0, "Full"], [1755, 225, 0, "Full"], [1755, 195, 0, "Full"], [1785, 285, 0, "Full"], [1785, 255, 0, "Full"], [1785, 225, 0, "Full"], [1785, 195, 0, "Full"], [1785, 165, 0, "Full"], [1785, 135, 0, "Full"], [1755, 75, 0, "Full"]]);
}
}
Symbol 652 MovieClip Frame 4
stop();
Symbol 659 MovieClip Frame 4
stop();
Symbol 665 MovieClip Frame 4
stop();
Symbol 678 MovieClip Frame 4
stop();
Symbol 684 MovieClip Frame 4
stop();
Symbol 696 MovieClip Frame 4
stop();
Symbol 707 MovieClip Frame 4
stop();
Symbol 771 MovieClip Frame 4
stop();
Symbol 783 MovieClip Frame 2
stop();
Symbol 791 MovieClip Frame 4
stop();
Symbol 799 MovieClip Frame 4
stop();
Symbol 812 MovieClip Frame 17
_parent.gotoAndStop("idle");
Symbol 816 MovieClip Frame 16
_parent.gotoAndStop("inactive");
Symbol 829 MovieClip Frame 11
_parent.gotoAndStop("idle");
Symbol 831 MovieClip Frame 10
_parent.gotoAndStop("inactive");
Symbol 836 MovieClip Frame 4
stop();
Symbol 842 MovieClip Frame 4
stop();
Symbol 845 MovieClip Frame 1
stop();
Symbol 849 MovieClip Frame 4
stop();
Symbol 853 MovieClip Frame 1
stop();
Symbol 917 MovieClip Frame 1
stop();
Symbol 918 MovieClip Frame 1
stop();
Symbol 1001 MovieClip Frame 4
stop();
Symbol 1007 MovieClip Frame 4
stop();
Symbol 1019 MovieClip Frame 5
stop();