Frame 1
function update() {
mcState.sLoading.text = nFakePc + "%";
}
Stage.showMenu = false;
_focusrect = false;
var nMAX_LOAD_SPEED = 3;
var sTARGET_LABEL = "Loaded";
var nFakePc = 0;
var nPc;
this.mcState.onEnterFrame = function () {
var _local2 = getBytesLoaded() / getBytesTotal();
nPc = Math.floor(_local2 * 100);
nFakePc = nFakePc + nMAX_LOAD_SPEED;
if (nFakePc > nPc) {
nFakePc = nPc;
}
update();
if (nFakePc == 100) {
delete this.mcState.onEnterFrame;
gotoAndStop(sTARGET_LABEL);
delete nMAX_LOAD_SPEED;
delete sTARGET_LABEL;
delete nFakePc;
delete nPc;
}
};
stop();
Frame 10
new Main(this);
Instance of Symbol 753 MovieClip "mcState" in Frame 30
onClipEvent (load) {
_global.mainCS = this;
var MainCTRL = new CatWalk_pack(this);
}
Symbol 42 Button
on (keyPress "<Left>") {
return(undefined);
}
on (keyPress "<Right>") {
return(undefined);
}
on (keyPress "<Up>") {
return(undefined);
}
on (keyPress "<Down>") {
return(undefined);
}
on (keyPress "<Home>") {
return(undefined);
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
gotoAndStop (1);
Symbol 75 MovieClip Frame 1
this.swapDepths(666);
this.removeMovieClip();
Symbol 79 MovieClip [nPoints] Frame 57
this.removeMovieClip();
Symbol 143 MovieClip Frame 1
stop();
Symbol 821 MovieClip [__Packages.Library.State] Frame 0
class Library.State
{
var mcRef, bPaused, sState, nStateTotalFrame, __get__setPaused;
function State (_mcRef) {
mcRef = _mcRef;
bPaused = false;
}
function doEnterFrame() {
this["do" + sState]();
}
function doUnPausableEnterFrame() {
}
function isStateComplete() {
var _local2 = false;
if (mcRef.mcState._currentframe >= nStateTotalFrame) {
_local2 = true;
}
return(_local2);
}
function pause() {
bPaused = true;
mcRef.mcState.stop();
}
function unPause() {
bPaused = false;
mcRef.mcState.play();
}
function setState(P_sState) {
if (sState != P_sState) {
unloadState(sState);
sState = P_sState;
mcRef.gotoAndStop(sState);
nStateTotalFrame = mcRef.mcState._totalframes;
loadState(sState);
}
}
function get Mc() {
return(mcRef);
}
function get CurrentState() {
return(sState);
}
function get Paused() {
return(bPaused);
}
function set setPaused(_bPaused) {
bPaused = _bPaused;
//return(__get__setPaused());
}
function loadState() {
}
function unloadState() {
}
}
Symbol 822 MovieClip [__Packages.Library.Dispatcher] Frame 0
class Library.Dispatcher extends Library.State
{
var oBroadcaster, __get__Paused, __set__setPaused;
function Dispatcher (_mcRef) {
super(_mcRef);
oBroadcaster = new Object();
AsBroadcaster.initialize(oBroadcaster);
}
function doEnterFrame() {
if (!__get__Paused()) {
doDispatchMessage("doEnterFrame");
}
}
function doDispatchMessage() {
oBroadcaster.broadcastMessage(arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]);
}
function addToDispatcher(_oRef) {
oBroadcaster.addListener(_oRef);
}
function removeFromDispatcher(_oRef) {
oBroadcaster.removeListener(_oRef);
}
function doPause() {
__set__setPaused(true);
doDispatchMessage("doPause");
}
function doResume() {
__set__setPaused(false);
doDispatchMessage("doResume");
}
function doDestroy() {
delete oBroadcaster;
}
}
Symbol 823 MovieClip [__Packages.Main] Frame 0
class Main extends Library.Dispatcher
{
static var oCtrl;
var mcRef, bRestart, sndPackaging, nScore, aIndexSwapDepth, oSnd, __get__Paused, doDispatchMessage, oTransition, oPopup, sndInGame, sCurrentSection, MAX_LEVEL, nLevel;
function Main (P_mcRef) {
super(P_mcRef);
oCtrl = this;
mcRef.stop();
bRestart = false;
initMainVar();
mcRef.onEnterFrame = Library.Utils.Delegate.create(this, doEnterFrame);
loadSection("Loaded");
Library.Sound.SoundManager.doInit(mcRef);
Library.Sound.SoundManager.setCategoryVolume("btn", 60);
Library.Sound.SoundManager.setCategoryVolume("music", 50);
Library.Sound.SoundManager.setCategoryVolume("SFX", 80);
Library.Sound.SoundManager.setCategoryVolume("VO", 150);
sndPackaging = Library.Sound.SoundManager.doPlaySoundInCat("music", "sMu_pack", 100, 99999);
sndPackaging.setFadeRate(5);
_global.oCtrl = this;
}
static function get Instance() {
return(oCtrl);
}
function initMainVar() {
nScore = 0;
aIndexSwapDepth = new Array();
aIndexSwapDepth[0] = {sType:"Remove", nCurrentDepth:900000, nBaseDepth:900000, nLimitDepth:1000000};
oSnd = new Library.Sound.SoundCall();
Library.Sound.SoundManager.doInit(mcRef);
Library.Sound.SoundManager.setCategoryVolume("music", 50);
Library.Sound.SoundManager.setCategoryVolume("SFX", 80);
}
function doEnterFrame() {
if (__get__Paused() == false) {
doDispatchMessage("doEnterFrame");
} else {
doDispatchMessage("fDoUnpausableEnterFrame");
}
}
function ajustMusicBtn() {
var _local2 = mcRef.mcState;
_local2.mcMusic.gotoAndStop("On");
if (Library.Sound.SoundManager.isCategoryMuted("music")) {
_local2.mcMusic.gotoAndStop("Off");
}
setButton(_local2.mcMusic.btnMusic, "MusicMute", true);
}
function loadSection(P_sSection) {
setSection(P_sSection);
switch (P_sSection) {
case "Loaded" :
oTransition = new Library.Transition(mcRef.mcTransition);
_global.TransitionRef = oTransition;
oPopup = new Library.Popup(mcRef.mcPopup);
new Library.NickHS("way_escape", true, false);
Library.NickHS.__get__Instance().initHiScores();
oTransition.setTransition("Title");
break;
case "Title" :
ajustMusicBtn();
setButton(mcRef.mcState.btnPlay, "PlayGame", true);
setButton(mcRef.mcState.btnHelp, "Instruct", true);
setButton(mcRef.mcState.btnViewHS, "Play_ViewHS", true);
setButton(mcRef.mcState.btnMusicOff, "mcMusic", true);
break;
case "Game" :
if (Library.Sound.SoundManager.isSoundPlaying("sMu_game").bPlaying == false) {
sndPackaging.doFadeTo(0, true);
sndInGame = Library.Sound.SoundManager.doPlaySoundInCat("music", "sMu_game", 0, 99999);
sndInGame.setFadeRate(5);
sndInGame.doFadeTo(100, false);
}
initPlay();
setButton(mcRef.mcState.mcHUD.btnMenu, "OpenMenu", true);
setButton(mcRef.mcState.mcHUD.btnReset, "btnReset", true);
break;
case "Win" :
case "Lose" :
if (Library.Sound.SoundManager.isSoundPlaying("sMu_pack").bPlaying == false) {
sndInGame.doFadeTo(0, true);
sndPackaging = Library.Sound.SoundManager.doPlaySoundInCat("music", "sMu_pack", 0, 99999);
sndPackaging.setFadeRate(5);
sndPackaging.doFadeTo(100, false);
}
mcRef.mcState.txtScore.text = nScore;
if (Library.NickHS.__get__Instance().bHSAvailable == true) {
Library.NickHS.__get__Instance().doHSInit();
} else {
mcRef.btnViewHS._visible = false;
mcRef.btnSubmitHS._visible = false;
}
setButton(mcRef.mcState.btnSubmitHS, "doSubmitHS", true);
setButton(mcRef.mcState.btnViewHS, "doViewHS", true);
setButton(mcRef.mcState.btnPlayAgain, "PlayGame", true);
break;
case "HighScore" :
mcRef.mcState.txtScore.text = nScore;
if (Library.Sound.SoundManager.isSoundPlaying("sMu_pack").bPlaying == false) {
sndInGame.doFadeTo(0, true);
sndPackaging = Library.Sound.SoundManager.doPlaySoundInCat("music", "sMu_pack", 0, 99999);
sndPackaging.setFadeRate(5);
sndPackaging.doFadeTo(100, false);
}
mcRef.playerScore = getScore();
Library.NickHS.__get__Instance().setHSBoard(mcRef.mcState.mcHS);
setButton(mcRef.mcState.btnSubmitHS, "View_SubmitHS", true);
setButton(mcRef.mcState.btnPlayAgain, "PlayGame", true);
setButton(mcRef.mcState.btnBackMenu, "backToMenu", true);
if (Library.NickHS.__get__Instance().bGetHS == true) {
Library.NickHS.__get__Instance().bGetHS = false;
Library.NickHS.__get__Instance().getScores();
}
if (Library.NickHS.__get__Instance().bSubmitHS == true) {
Library.NickHS.__get__Instance().bSubmitHS = false;
Library.NickHS.__get__Instance().submitScore(nScore);
mcRef.mcState.btnSubmitHS._visible = false;
}
break;
case "ViewOnlyHS" :
mcRef.mcState.txtScore.text = nScore;
if (Library.NickHS.__get__Instance().bHSAvailable == true) {
Library.NickHS.__get__Instance().doHSInit();
}
mcRef.mcState.sScore = Library.Utils.Tools.returnFormatedNumber(nScore);
Library.NickHS.__get__Instance().setHSBoard(mcRef.mcState.mcHS);
Library.NickHS.__get__Instance().getScores();
setButton(mcRef.mcState.btnPlayAgain, "PlayGame", true);
setButton(mcRef.mcState.btnBackMenu, "backToMenu", true);
}
}
function unloadSection(P_sSection) {
switch (P_sSection) {
case "Loaded" :
break;
case "Title" :
break;
case "Game" :
unLoadGame();
break;
case "Lose" :
break;
case "Win" :
break;
case "HighScore" :
mcRef.theDoge.unloadMovie();
}
}
function fRemoveObject(P_sObjName) {
delete this[P_sObjName];
}
function fRemoveInstance(P_mcRef) {
P_mcRef.swapDepths(fReturnDepth("Remove"));
P_mcRef.removeMovieClip();
}
function fReturnDepth(P_sType) {
for (var _local3 in aIndexSwapDepth) {
if (aIndexSwapDepth[_local3].sType == P_sType) {
aIndexSwapDepth[_local3].nCurrentDepth++;
if (aIndexSwapDepth[_local3].nCurrentDepth > aIndexSwapDepth[_local3].nLimitDepth) {
aIndexSwapDepth[_local3].nCurrentDepth = aIndexSwapDepth[_local3].nBaseDepth;
}
return(aIndexSwapDepth[_local3].nCurrentDepth);
}
}
}
function initPlay() {
if (_global.Game.bPaused) {
_global.Game.PauseGame();
}
}
function unLoadGame() {
}
function setSection(P_sSection) {
sCurrentSection = P_sSection;
}
function setScoreText(P_nNumber, P_nMinimumChar) {
var _local6 = false;
var _local1 = String(P_nNumber);
var _local7 = _local1;
do {
if (_local1.length < P_nMinimumChar) {
_local6 = true;
_local7 = "0" + _local7;
}
} while (_local7.length < P_nMinimumChar);
_local1 = _local7;
var _local3 = "";
var _local5 = _local1.length;
_local5 = _local5 / 3;
if (_local5 <= 1) {
return(_local1);
}
var _local2 = _local5;
while (_local2 > 1) {
_local3 = (" " + _local1.substr(-3)) + _local3;
_local1 = _local1.substr(0, -3);
_local2--;
}
_local7 = _local1 + _local3;
return(_local7);
}
function setScore(_nNumber) {
nScore = _nNumber;
}
function getScore() {
return(nScore);
}
function endGame() {
if (nLevel < MAX_LEVEL) {
nLevel++;
} else {
oTransition.setTransition("end");
}
}
function setButton(_mcRef, _sButtonType, _bSound) {
_mcRef.gotoAndStop("Idle");
_mcRef.hitArea = _mcRef.mcHitZone;
_mcRef.onRollOver = Library.Utils.Delegate.create(this, setButtonAction, _sButtonType, sEVENT_ROLLOVER, _bSound, _mcRef);
_mcRef.onRelease = Library.Utils.Delegate.create(this, setButtonAction, _sButtonType, sEVENT_RELEASE, _bSound, _mcRef);
_mcRef.onPress = Library.Utils.Delegate.create(this, setButtonAction, _sButtonType, sEVENT_PRESS, _bSound, _mcRef);
_mcRef.onReleaseOutside = Library.Utils.Delegate.create(this, setButtonAction, _sButtonType, sEVENT_RELEASE_OUTSIDE, _bSound, _mcRef);
_mcRef.onRollOut = Library.Utils.Delegate.create(this, setButtonAction, _sButtonType, sEVENT_ROLLOUT, _bSound, _mcRef);
}
function removeButton(_mcRef) {
delete _mcRef.onRollOver;
delete _mcRef.onRelease;
delete _mcRef.onPress;
delete _mcRef.onReleaseOutside;
delete _mcRef.onRollOut;
}
function setButtonAction(_sButtonType, _sButtonEvent, _bSound, _mcRef) {
switch (_sButtonEvent) {
case sEVENT_ROLLOVER :
if (_bSound) {
oSnd.sBtnRollOver();
}
_mcRef.gotoAndStop("RollOver");
break;
case sEVENT_RELEASE :
if (_bSound) {
oSnd.sBtnPress();
}
_mcRef.gotoAndStop("RollOver");
switch (_sButtonType) {
case "PlayGame" :
nScore = 0;
oTransition.setTransition("Game");
break;
case "Instruct" :
oPopup.setState("Help");
break;
case "OpenMenu" :
oPopup.setState("StartMenu");
_global.Game.PauseGame();
Library.Sound.SoundManager.pauseAllSounds();
break;
case "ResumeHelp" :
if (sCurrentSection == "Game") {
oPopup.setState("MenuOpen");
} else {
nScore = 0;
oTransition.setTransition("Game", undefined, true);
}
break;
case "QuitGame" :
oPopup.setState("QuitOpen");
break;
case "NextBtn" :
oPopup.NextPage();
break;
case "PrevBtn" :
oPopup.PrevPage();
break;
case "ResumeGame" :
oPopup.setState("EndMenu");
break;
case "SoundMute" :
if (oPopup.__get__SoundMute()) {
Library.Sound.SoundManager.doUnMuteCategory("SFX");
Library.Sound.SoundManager.doUnMuteCategory("btn");
oPopup.setSoundMute(false);
} else {
Library.Sound.SoundManager.doMuteCategory("SFX");
Library.Sound.SoundManager.doMuteCategory("btn");
oPopup.setSoundMute(true);
}
oPopup.ajustMusicBtn();
break;
case "MusicMute" :
if (oPopup.__get__MusicMute()) {
Library.Sound.SoundManager.doUnMuteCategory("music");
oPopup.setMusicMute(false);
} else {
Library.Sound.SoundManager.doMuteCategory("music");
oPopup.setMusicMute(true);
}
oPopup.ajustMusicBtn();
if (sCurrentSection == "Title") {
ajustMusicBtn();
}
break;
case "QuitYes" :
oTransition.setTransition("Lose", undefined, true);
break;
case "QuitNo" :
oPopup.setState("MenuOpen");
break;
case "Play_ViewHS" :
oTransition.setTransition("ViewOnlyHS");
break;
case "doViewHS" :
Library.NickHS.__get__Instance().doViewHS();
break;
case "doSubmitHS" :
Library.NickHS.__get__Instance().doSubmitHS();
break;
case "View_SubmitHS" :
mcRef.mcState.btnSubmitHS._visible = false;
Library.NickHS.__get__Instance().submitScore(Instance.nScore);
break;
case "btnReset" :
_global.Pack.EndGame(0);
break;
case "btnRestart" :
oPopup.setState("RestartOpen");
break;
case "RestartYes" :
_global.Pack.EndGame(4);
oTransition.setTransition("Game", undefined, true);
break;
case "RestartNo" :
oPopup.setState("MenuOpen");
break;
case "backToMenu" :
oTransition.setTransition("Title");
}
break;
case sEVENT_PRESS :
_mcRef.gotoAndStop("Press");
break;
case sEVENT_ROLLOUT :
_mcRef.gotoAndStop("Idle");
break;
case sEVENT_RELEASE_OUTSIDE :
_mcRef.gotoAndStop("Idle");
}
}
static var sEVENT_ROLLOVER = "RollOver";
static var sEVENT_RELEASE = "Release";
static var sEVENT_PRESS = "Press";
static var sEVENT_RELEASE_OUTSIDE = "ReleaseOutside";
static var sEVENT_ROLLOUT = "RollOut";
}
Symbol 824 MovieClip [__Packages.Library.Sound.SoundItem] Frame 0
class Library.Sound.SoundItem
{
var sndObj, sLinkage, mcRef, nRemainingLoop, nCurrentVolume, nTargetVolume, nFadeRate, sCategory, bFadeAtEnd, bMuted, bPaused, bNeedFreshStart, nCurrentTime, aEventListeners, bStopAfterFade;
function SoundItem (__sndObject, __sLinkage, __nVolume, __nLoop, __sCategory, __mc) {
sndObj = __sndObject;
sLinkage = __sLinkage;
mcRef = __mc;
nRemainingLoop = __nLoop;
nCurrentVolume = __nVolume;
nTargetVolume = __nVolume;
nFadeRate = FADE_RATE;
sCategory = __sCategory;
bFadeAtEnd = false;
bMuted = false;
bPaused = false;
bNeedFreshStart = false;
sndObj.onSoundComplete = Library.Utils.Delegate.create(this, doSoundComplete);
sndObj.start(0, __nLoop);
sndObj.setVolume(returnComputedVolume(nCurrentVolume));
nCurrentTime = 0;
aEventListeners = new Array();
}
function doEnterFrame() {
if (!bPaused) {
if (nCurrentTime > sndObj.position) {
nRemainingLoop--;
}
nCurrentTime = sndObj.position;
}
doCheckFadeAtEnd();
doManageFade();
}
function doAddListener(__oListener) {
aEventListeners.push(__oListener);
}
function doRemoveListener(__oListener) {
var _local2 = 0;
while (_local2 < aEventListeners.length) {
if (aEventListeners[_local2] == __oListener) {
delete aEventListeners[_local2];
aEventListeners.splice(_local2, 1);
}
_local2++;
}
}
function doSoundComplete() {
if (bNeedFreshStart && (nRemainingLoop > 1)) {
sndObj.start(0, nRemainingLoop - 1);
} else {
doManageEndEvent();
}
}
function doUpdateSound() {
sndObj.setVolume(returnComputedVolume(nCurrentVolume));
}
function doMute() {
bMuted = true;
doUpdateSound();
}
function doUnMute() {
bMuted = false;
doUpdateSound();
}
function doPause() {
sndObj.stop();
bPaused = true;
}
function doResume() {
bPaused = false;
bNeedFreshStart = true;
sndObj.start(nCurrentTime / 1000, 1);
}
function doStop() {
sndObj.stop();
doManageEndEvent();
}
function doFadeTo(__nVolume, __bStopAndDelete) {
if (__bStopAndDelete == undefined) {
__bStopAndDelete = true;
}
bStopAfterFade = __bStopAndDelete;
nTargetVolume = __nVolume;
}
function setFadeRate(__nRate) {
if (__nRate == undefined) {
__nRate = FADE_RATE;
}
nFadeRate = __nRate;
}
function setFadeAtEnd(__bFadeAtEnd) {
bFadeAtEnd = true;
}
function setPan(__nPan) {
sndObj.setPan(__nPan);
}
function get Category() {
return(sCategory);
}
function get LinkageName() {
return(sLinkage);
}
function get Volume() {
return(sndObj.getVolume());
}
function get Position() {
return(sndObj.position);
}
function get SoundObject() {
return(sndObj);
}
function doCheckFadeAtEnd() {
if (bFadeAtEnd) {
if (nRemainingLoop == 1) {
if ((sndObj.duration - nCurrentTime) <= FADE_AT_END_TIME) {
doFadeTo(0);
}
}
}
}
function doManageEndEvent() {
var _local2 = 0;
while (_local2 < aEventListeners.length) {
aEventListeners[_local2].doSoundEvent(Library.Sound.SoundManager.EVENT_SOUND_COMPLETE, this);
_local2++;
}
aEventListeners = new Array();
mcRef.removeMovieClip();
delete mcRef;
delete aEventListeners;
delete sndObj.onSoundComplete;
delete sndObj;
}
function doManageFade() {
if (nCurrentVolume != nTargetVolume) {
nCurrentVolume = Library.Utils.MoreMath.getReachNum(nCurrentVolume, nTargetVolume, nFadeRate);
sndObj.setVolume(returnComputedVolume(nCurrentVolume));
}
if ((nCurrentVolume <= 0) && (bStopAfterFade)) {
sndObj.stop();
doManageEndEvent();
}
}
function returnComputedVolume(__nVolume) {
var _local2;
if ((!bMuted) && (!Library.Sound.SoundManager.isCategoryMuted(sCategory))) {
var _local3 = Library.Sound.SoundManager.__get__MasterVolume() / 100;
var _local4 = Library.Sound.SoundManager.getCategoryVolume(sCategory) / 100;
_local2 = __nVolume;
_local2 = _local2 * _local4;
_local2 = _local2 * _local3;
} else {
_local2 = 0;
}
return(_local2);
}
static var FADE_RATE = 8;
static var FADE_AT_END_TIME = 800;
}
Symbol 825 MovieClip [__Packages.Library.Utils.Delegate] Frame 0
class Library.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 826 MovieClip [__Packages.Library.Sound.SoundManager] Frame 0
class Library.Sound.SoundManager
{
static var aSounds, nSoundNum, mcAttach, aSoundCategories, nMasterVolume, oEnterFrameListener;
function SoundManager () {
}
static function doPlaySound(__sLinkage, __nVolume, __nLoop, __bUnique) {
return(doPlaySoundInCat(DEFAULT_CATEGORY, __sLinkage, __nVolume, __nLoop, __bUnique));
}
static function doPlaySoundInCat(__sCategoryName, __sLinkage, __nVolume, __nLoop, __bUnique) {
doCheckInit();
if (__nVolume == undefined) {
__nVolume = 100;
}
if (__nLoop == undefined) {
__nLoop = 1;
}
if (__bUnique == undefined) {
__bUnique = false;
}
var _local1;
var _local2;
if (__bUnique) {
var _local4 = isSoundPlaying(__sLinkage);
_local2 = _local4.bPlaying;
if (!_local2) {
_local1 = _local4.oSound;
}
} else {
_local2 = true;
}
if (_local2) {
doManageCategory(__sCategoryName);
var _local5 = getMCForSound();
var _local3 = new Sound(_local5);
_local3.attachSound(__sLinkage);
if (_local3.duration != undefined) {
_local1 = new Library.Sound.SoundItem(_local3, __sLinkage, __nVolume, __nLoop, __sCategoryName, _local5);
}
_local1.doAddListener(Library.Sound.SoundManager);
aSounds.push(_local1);
}
return(_local1);
}
static function isSoundPlaying(__sLinkageName) {
var _local1 = new Object();
_local1.bPlaying = false;
_local1.oSound = undefined;
for (var _local3 in aSounds) {
if (aSounds[_local3].LinkageName == __sLinkageName) {
_local1.bPlaying = true;
_local1.oSound = aSounds[_local3];
}
}
return(_local1);
}
static function doManageExternalSound(__oSound) {
doCheckInit();
doManageCategory(__oSound.__get__Category());
__oSound.doAddListener(Library.Sound.SoundManager);
aSounds.push(__oSound);
}
static function getMCForSound() {
nSoundNum++;
var _local1 = mcAttach.createEmptyMovieClip("Snd" + nSoundNum, nSoundNum);
return(_local1);
}
static function doInit(__mcAttach) {
mcAttach = __mcAttach;
if (!bInited) {
bInited = true;
nSoundNum = 0;
aSounds = new Array();
aSoundCategories = new Array();
nMasterVolume = 100;
mx.transitions.OnEnterFrameBeacon.init();
oEnterFrameListener = new Object();
oEnterFrameListener.onEnterFrame = Library.Utils.Delegate.create(Library.Sound.SoundManager, doEnterFrame);
MovieClip.addListener(oEnterFrameListener);
}
}
static function pauseAllSounds() {
for (var _local1 in aSounds) {
if (aSounds[_local1].sCategory == "SFX") {
aSounds[_local1].doPause();
}
}
doUpdateAllSoundsVolume();
}
static function resumeAllSounds() {
for (var _local1 in aSounds) {
if (aSounds[_local1].sCategory == "SFX") {
aSounds[_local1].doResume();
}
}
doUpdateAllSoundsVolume();
}
static function doEnterFrame() {
for (var _local1 in aSounds) {
aSounds[_local1].doEnterFrame();
}
}
static function setCategoryVolume(__sCategoryName, __nVol) {
doManageCategory(__sCategoryName);
for (var _local3 in aSoundCategories) {
if (aSoundCategories[_local3].sName == __sCategoryName) {
aSoundCategories[_local3].nVolume = __nVol;
}
}
doUpdateAllSoundsVolume();
}
static function getCategoryVolume(__sCategoryName) {
doManageCategory(__sCategoryName);
var _local1;
for (var _local3 in aSoundCategories) {
if (aSoundCategories[_local3].sName == __sCategoryName) {
_local1 = aSoundCategories[_local3].nVolume;
}
}
return(_local1);
}
static function isCategoryMuted(__sCategoryName) {
doManageCategory(__sCategoryName);
var _local1;
for (var _local3 in aSoundCategories) {
if (aSoundCategories[_local3].sName == __sCategoryName) {
_local1 = aSoundCategories[_local3].bMuted;
}
}
return(_local1);
}
static function doSoundEvent(__nEvent, __oSound) {
if (!(__nEvent === EVENT_SOUND_COMPLETE)) {
} else {
for (var _local2 in aSounds) {
if (aSounds[_local2] == __oSound) {
delete aSounds[_local2];
aSounds.splice(_local2, 1);
}
}
}
}
static function doMuteCategory(__sCategoryName) {
for (var _local2 in aSoundCategories) {
if (aSoundCategories[_local2].sName == __sCategoryName) {
aSoundCategories[_local2].bMuted = true;
}
}
doUpdateAllSoundsVolume();
}
static function doUnMuteCategory(__sCategoryName) {
for (var _local2 in aSoundCategories) {
if (aSoundCategories[_local2].sName == __sCategoryName) {
aSoundCategories[_local2].bMuted = false;
}
}
doUpdateAllSoundsVolume();
}
static function setMasterVolume(__nVol) {
nMasterVolume = __nVol;
doUpdateAllSoundsVolume();
}
static function get MasterVolume() {
return(nMasterVolume);
}
static function doRemoveListenerFromAllSounds(__oListener) {
for (var _local2 in aSounds) {
aSounds[_local2].doRemoveListener(__oListener);
}
}
static function doUpdateAllSoundsVolume() {
for (var _local1 in aSounds) {
aSounds[_local1].doUpdateSound();
}
}
static function doCheckInit() {
if (!bInited) {
}
}
static function doManageCategory(__sCategoryName) {
doCheckInit();
var _local1 = false;
for (var _local4 in aSoundCategories) {
if (aSoundCategories[_local4].sName == __sCategoryName) {
_local1 = true;
}
}
if (!_local1) {
var _local3 = new Object();
_local3.sName = __sCategoryName;
_local3.nVolume = 100;
_local3.bMuted = false;
aSoundCategories.push(_local3);
}
}
static var EVENT_SOUND_COMPLETE = 1;
static var DEFAULT_CATEGORY = "SFX";
static var bInited = false;
}
Symbol 827 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 828 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 829 MovieClip [__Packages.Library.Utils.MoreMath] Frame 0
class Library.Utils.MoreMath
{
function MoreMath () {
}
static function getRandomRange(__nMin, __nMax) {
return(Math.floor(Math.random() * ((__nMax + 1) - __nMin)) + __nMin);
}
static function getPolarity(__nNum) {
var _local1 = 0;
if (__nNum < 0) {
_local1 = -1;
} else if (__nNum > 0) {
_local1 = 1;
}
return(_local1);
}
static function getReachZero(__nNum, __nReducer) {
return(getReachNum(__nNum, 0, __nReducer));
}
static function getReachNum(__nNum, __nTargetNum, __nReducer) {
var _local1 = __nNum;
if (_local1 != __nTargetNum) {
if (_local1 < __nTargetNum) {
_local1 = _local1 + __nReducer;
if (_local1 > __nTargetNum) {
_local1 = __nTargetNum;
}
} else {
_local1 = _local1 - __nReducer;
if (_local1 < __nTargetNum) {
_local1 = __nTargetNum;
}
}
}
return(_local1);
}
static function getDistance(__nX1, __nY1, __nX2, __nY2) {
return(Math.sqrt(Math.pow(Math.abs(__nX2 - __nX1), 2) + Math.pow(Math.abs(__nY2 - __nY1), 2)));
}
static function getAngle(__nX1, __nY1, __nX2, __nY2) {
var _local3;
var _local2;
var _local1;
_local3 = Math.abs(__nX2) - Math.abs(__nX1);
_local2 = Math.abs(__nY2) - Math.abs(__nY1);
_local1 = Math.atan2(_local2, _local3);
_local1 = (_local1 * 180) / Math.PI;
return(_local1);
}
static function getHypotenuse(__nDX, __nDY) {
return(Math.sqrt(Math.pow(__nDX, 2) + Math.pow(__nDY, 2)));
}
static function getBoundsCenter(_oBox) {
var _local3 = (_oBox.xMin + _oBox.xMax) / 2;
var _local2 = (_oBox.yMin + _oBox.yMax) / 2;
return({x:_local3, y:_local2});
}
}
Symbol 830 MovieClip [__Packages.Library.Sound.SoundCall] Frame 0
class Library.Sound.SoundCall
{
function SoundCall () {
}
function sBtnRollOver() {
Library.Sound.SoundManager.doPlaySoundInCat("btn", "btnRoll", 70, 1);
}
function sBtnPress() {
Library.Sound.SoundManager.doPlaySoundInCat("btn", "btnClick", 70, 1);
}
}
Symbol 831 MovieClip [__Packages.Library.Transition] Frame 0
class Library.Transition extends Library.State
{
var mcInsideMovieClip, sNextFrameLabel, bInPopup, mcRef, sState, doEnterFrame;
function Transition (P_mcRef) {
super(P_mcRef);
setState("Idle");
initTrans();
}
function initTrans() {
mcInsideMovieClip = undefined;
sNextFrameLabel = "";
bInPopup = false;
}
function doIn() {
if (mcRef.mcState._currentframe >= mcRef.mcState._totalframes) {
setState("Out");
changeSection();
}
}
function doOut() {
if (mcRef.mcState._currentframe >= mcRef.mcState._totalframes) {
setState("Idle");
if (_global.oCtrl.bRestart) {
_global.oCtrl.bRestart = false;
}
}
}
function setTransition(P_sNextLabel, P_mcInsideMovieClip, P_bInPopup) {
sNextFrameLabel = P_sNextLabel;
setState("In");
mcRef.mcBlocker.useHandCursor = false;
if (P_mcInsideMovieClip != undefined) {
mcInsideMovieClip = P_mcInsideMovieClip;
}
if (P_bInPopup) {
bInPopup = true;
}
}
function changeSection() {
if (bInPopup) {
_global.oCtrl.oPopup.setState("Idle");
}
if (mcInsideMovieClip != undefined) {
var _local3 = mcInsideMovieClip;
_local3.gotoAndStop(sNextFrameLabel);
mcInsideMovieClip = undefined;
} else {
Main.__get__Instance().unloadSection(Main.__get__Instance().sCurrentSection);
Main.__get__Instance().setState(sNextFrameLabel);
Main.__get__Instance().loadSection(sNextFrameLabel);
}
}
function setState(P_sState) {
if (P_sState != "Idle") {
sState = P_sState;
mcRef.gotoAndStop(P_sState);
mcRef.onEnterFrame = Library.Utils.Delegate.create(this, doEnterFrame);
} else {
sState = P_sState;
mcRef.gotoAndStop(P_sState);
delete mcRef.onEnterFrame;
}
loadState();
}
function loadState() {
mcRef.LockBtn.useHandCursor = false;
switch (sState) {
case "Idle" :
mcRef.stop();
break;
case "In" :
}
}
}
Symbol 832 MovieClip [__Packages.Library.Popup] Frame 0
class Library.Popup extends Library.State
{
var setState, bMusicMute, bSoundMute, sState, nStateTotalFrame, mcRef;
function Popup (P_mcRef) {
super(P_mcRef);
setState("Idle");
bMusicMute = false;
bSoundMute = false;
}
function doUnPausableEnterFrame() {
this["do" + sState]();
}
function doStartMenu() {
if (mcRef.mcState._currentframe >= nStateTotalFrame) {
setState("MenuOpen");
}
}
function doForget() {
if (mcRef.mcState._currentframe >= nStateTotalFrame) {
setState("Idle");
}
}
function doWrongPlayer() {
if (mcRef.mcState._currentframe >= nStateTotalFrame) {
setState("Idle");
}
}
function doMenuOpen() {
}
function doEndMenu() {
if (mcRef.mcState._currentframe >= nStateTotalFrame) {
setState("Idle");
_global.Game.PauseGame();
Library.Sound.SoundManager.resumeAllSounds();
}
}
function doIntro() {
if (mcRef.mcState._currentframe >= nStateTotalFrame) {
setState("Idle");
delete mcRef.onEnterFrame;
Main.__get__Instance().unPause();
}
}
function doPasteBtnCall() {
Main.__get__Instance().setButton(mcRef.mcState.btnPlay, "ResumeHelp", true);
Main.__get__Instance().setButton(mcRef.mcState.btnNext, "NextBtn", true);
Main.__get__Instance().setButton(mcRef.mcState.btnBack, "PrevBtn", true);
}
function ajustMusicBtn() {
var _local2 = mcRef.mcState.mcMenu;
if (sState == "MenuOpen") {
_local2 = mcRef.mcState;
}
_local2.mcMusic.gotoAndStop("On");
_local2.mcSound.gotoAndStop("On");
if (bMusicMute) {
_local2.mcMusic.gotoAndStop("Off");
}
if (bSoundMute) {
_local2.mcSound.gotoAndStop("Off");
}
Main.__get__Instance().setButton(_local2.mcSound.btnSound, "SoundMute", true);
Main.__get__Instance().setButton(_local2.mcMusic.btnMusic, "MusicMute", true);
}
function doPasteMenuCall() {
Main.__get__Instance().setButton(mcRef.mcState.btnResume, "ResumeGame", true);
Main.__get__Instance().setButton(mcRef.mcState.btnRestart, "btnRestart", true);
Main.__get__Instance().setButton(mcRef.mcState.btnHowToPlay, "Instruct", true);
Main.__get__Instance().setButton(mcRef.mcState.btnQuit, "QuitGame", true);
}
function doPasteQuitBtn() {
Main.__get__Instance().setButton(mcRef.mcState.btnYes, "QuitYes", true);
Main.__get__Instance().setButton(mcRef.mcState.btnNo, "QuitNo", true);
}
function doPasteRestartBtn() {
Main.__get__Instance().setButton(mcRef.mcState.btnYes, "RestartYes", true);
Main.__get__Instance().setButton(mcRef.mcState.btnNo, "RestartNo", true);
}
function loadState() {
mcRef.mcBlocker.useHandCursor = false;
switch (sState) {
case "Idle" :
delete mcRef.onEnterFrame;
break;
case "Help" :
doPasteBtnCall();
break;
case "StartMenu" :
ajustMusicBtn();
mcRef.onEnterFrame = Library.Utils.Delegate.create(this, doUnPausableEnterFrame);
break;
case "MenuOpen" :
ajustMusicBtn();
doPasteMenuCall();
delete mcRef.onEnterFrame;
break;
case "EndMenu" :
ajustMusicBtn();
mcRef.onEnterFrame = Library.Utils.Delegate.create(this, doUnPausableEnterFrame);
break;
case "Intro" :
mcRef.onEnterFrame = Library.Utils.Delegate.create(this, doUnPausableEnterFrame);
break;
case "QuitOpen" :
doPasteQuitBtn();
break;
case "RestartOpen" :
doPasteRestartBtn();
break;
case "Forget" :
mcRef.onEnterFrame = Library.Utils.Delegate.create(this, doUnPausableEnterFrame);
break;
case "WrongPlayer" :
mcRef.onEnterFrame = Library.Utils.Delegate.create(this, doUnPausableEnterFrame);
}
}
function NextPage() {
mcRef.mcState.nextFrame();
doPasteBtnCall();
}
function PrevPage() {
mcRef.mcState.prevFrame();
doPasteBtnCall();
}
function setMusicMute(_bResult) {
bMusicMute = _bResult;
}
function setSoundMute(_bResult) {
bSoundMute = _bResult;
}
function get MusicMute() {
return(bMusicMute);
}
function get SoundMute() {
return(bSoundMute);
}
}
Symbol 833 MovieClip [__Packages.Library.NickHS] Frame 0
class Library.NickHS
{
static var oNickHS;
var bHSAvailable, G_TestHighScore, bSubmitHS, bGetHS, G_GameID, mcHSZone, G_NoTxtField, G_NameTxtField, G_ScoreTxtField;
function NickHS (_sGameID, _bHSAvailable, _bTestHighScore) {
bHSAvailable = _bHSAvailable;
G_TestHighScore = _bTestHighScore;
bSubmitHS = false;
bGetHS = false;
G_GameID = _sGameID;
mcHSZone = undefined;
initHiScores();
if (G_TestHighScore == true) {
_global.gProxyObj.setServer("www.nick.com");
_global.gProxyObj.setScreenName("Louis-Pierre");
_global.gProxyObj.setIsLoggedIn(true);
}
oNickHS = this;
}
function doHSInit() {
initHiScores();
if (_global.gProxyObj.getIsLoggedIn()) {
Main.__get__Instance().__get__Mc().mcState.btnSubmitHS._visible = true;
} else {
Main.__get__Instance().__get__Mc().mcState.btnSubmitHS._visible = false;
}
}
function doSubmitHS() {
Main.__get__Instance().oTransition.setTransition("HighScore");
bSubmitHS = true;
}
function doViewHS() {
Main.__get__Instance().oTransition.setTransition("HighScore");
bGetHS = true;
}
function setHSBoard(_mcRef) {
if (_global.gProxyObj.getIsLoggedIn()) {
Main.__get__Instance().__get__Mc().mcState.btnSubmitHS._visible = true;
} else {
Main.__get__Instance().__get__Mc().mcState.btnSubmitHS._visible = false;
}
mcHSZone = _mcRef;
G_NoTxtField = mcHSZone.txtHSNumber;
G_NameTxtField = mcHSZone.txtHSName;
G_ScoreTxtField = mcHSZone.txtHSScore;
}
static function get Instance() {
return(oNickHS);
}
function getScores() {
if (_global.gProxyObj == undefined) {
Instance.listScores();
} else {
_global.gProxyObj.getScores(cbFunc2);
}
}
function submitScore(theScore) {
G_NoTxtField.text = "";
G_NameTxtField.text = "The High Scores list is updating!";
G_ScoreTxtField.text = "";
_global.gProxyObj.submitScore(theScore, cbFunc);
}
function initHiScores() {
_global.gProxyObj.setGame_Id(G_GameID);
}
function getScoreString() {
var _local11 = "Oops! The High Scores list is not available right now!";
if (_global.gProxyObj != undefined) {
var _local7 = _global.gProxyObj.getScoreCount();
if (_local7 > 0) {
var _local3;
var _local4;
var _local5;
var _local6;
_local11 = "";
var _local10 = "";
var _local9 = "";
var _local8 = "";
_local3 = 0;
while (_local3 < _local7) {
_local4 = _global.gProxyObj.getScoreItem(_local3);
_local5 = _local4[0];
_local6 = Library.Utils.Tools.returnFormatedNumber(_local4[1]);
_local10 = _local10 + ((_local3 + 1) + newline);
_local9 = _local9 + (_local5 + newline);
_local8 = _local8 + ((_local6 + " pts") + newline);
_local3++;
}
G_NoTxtField.text = _local10;
G_NameTxtField.text = _local9;
G_ScoreTxtField.text = _local8;
} else {
G_NameTxtField.text = "Oops! The High Scores list is not available right now!";
}
} else {
G_NameTxtField.text = "Oops! The High Scores list is not available right now!";
}
return(_local11);
}
function listScores() {
getScoreString();
}
function cbFunc(thisBool) {
if (thisBool) {
Instance.listScores();
} else {
G_NameTxtField.text = "Oops! The High Scores list is not available right now!";
}
}
function cbFunc2(thisBool) {
if (thisBool) {
Instance.listScores();
} else {
G_NameTxtField.text = "Oops! The High Scores list is not available right now!";
}
}
}
Symbol 834 MovieClip [__Packages.Library.Utils.Tools] Frame 0
class Library.Utils.Tools
{
function Tools () {
}
static function isItemInArray(__aArray, __oItem) {
var _local2 = false;
for (var _local4 in __aArray) {
if (__aArray[_local4] == __oItem) {
_local2 = true;
}
}
return(_local2);
}
static function doCopyArray(__aArraySource) {
var _local3 = new Array();
var _local1 = 0;
_local1 = 0;
while (_local1 < __aArraySource.length) {
if (__aArraySource[_local1] instanceof Array) {
_local3.push(doCopyArray(__aArraySource[_local1]));
} else {
_local3.push(__aArraySource[_local1]);
}
_local1++;
}
return(_local3);
}
static function getFormatedNumber(__nNumber, __nMinimumChar) {
return(returnFormatedNumber(__nNumber, __nMinimumChar));
}
static function returnFormatedNumber(__nNumber, __nMinimumChar) {
var _local1 = String(__nNumber);
while (_local1.length < __nMinimumChar) {
_local1 = "0" + _local1;
}
var _local3 = new Array();
var _local6 = _local1.length - 1;
var _local2;
_local2 = 0;
while (_local2 <= _local6) {
var _local5 = _local1.charAt(_local2);
_local3.push(_local5);
_local2++;
}
_local1 = "";
var _local4 = 0;
_local2 = _local3.length - 1;
while (_local2 >= 0) {
if (((_local4 % 3) == 0) && (_local4 != 0)) {
_local1 = " " + _local1;
}
_local1 = _local3[_local2] + _local1;
_local4++;
_local2--;
}
return(_local1);
}
static function getFormatedTime(__nTime, __bIncludeMilliseconds) {
if (__bIncludeMilliseconds == undefined) {
__bIncludeMilliseconds = false;
}
var _local6 = false;
if (__nTime < 0) {
_local6 = true;
__nTime = Math.abs(__nTime);
}
var _local4 = Math.floor(__nTime / 1000);
var _local3;
if (__bIncludeMilliseconds) {
var _local5;
if (__nTime >= 1000) {
_local5 = __nTime % (_local4 * 1000);
} else {
_local5 = __nTime;
}
_local3 = String(_local5).substr(0, 2);
if (_local3.length <= 1) {
_local3 = "0" + _local3;
}
}
var _local10 = Math.floor(_local4 / 60);
var _local8 = Math.floor(_local4 % 60);
var _local11 = "";
var _local9 = "";
if (_local8 < 10) {
_local9 = "0";
}
var _local2 = String((((_local11 + _local10) + ":") + _local9) + _local8);
if (__bIncludeMilliseconds) {
_local2 = _local2 + (":" + _local3);
}
if (_local6) {
_local2 = "-" + _local2;
}
return(_local2);
}
}
Symbol 835 MovieClip [__Packages.CatWalk_pack] Frame 0
class CatWalk_pack
{
var nCurrentlevel, bPaused, bIcePack, nLife, nCurrentScore, nPointsAttached, nTimer1, nTimer2, nTimer3, nTimer4, nTimer5, nTimer6, nTimer7, nTimer8, nTimer9, nTimer10, nTimer11, nTimer12;
function CatWalk_pack (_stage) {
_global.Pack = this;
initVars();
_stage.play();
}
function initVars() {
nCurrentlevel = 1;
bPaused = true;
bIcePack = true;
nLife = _global.mainCS.mcHUD.LifeMeter._totalframes - 1;
nCurrentScore = 0;
nPointsAttached = 1000;
nTimer1 = 0;
nTimer2 = 0;
nTimer3 = 0;
nTimer4 = 0;
nTimer5 = 0;
nTimer6 = 0;
nTimer7 = 0;
nTimer8 = 0;
nTimer9 = 0;
nTimer10 = 0;
nTimer11 = 0;
nTimer12 = 0;
}
function ResetBtn(_powerUp) {
_global.mainCS.gotoAndStop("Reset");
bIcePack = _powerUp;
}
function ResetDone() {
if (nCurrentlevel > nTotalLevel) {
EndGame(0);
} else {
_global.mainCS.gotoAndStop("Level" + nCurrentlevel);
}
}
function EndGame(_nOption) {
if (_nOption == 0) {
ResetBtn(false);
changePoints(-RESET_BTN);
} else if ((_nOption == 1) && (nCurrentlevel == nTotalLevel)) {
changePoints(calcTotalTimePoints());
changePoints(calculateLifeMeterPoints());
_global.TransitionRef.setTransition("Win");
} else if (_nOption == 1) {
changePoints(calcTimePoints(this["nTimer" + nCurrentlevel], this[("LVL_" + nCurrentlevel) + "_TARGET_TIME"]));
nCurrentlevel++;
ResetBtn(true);
} else if (_nOption == 3) {
_global.TransitionRef.setTransition("Lose");
} else if (_nOption == 4) {
initVars();
ResetBtn(true);
_global.oCtrl.bRestart = true;
}
}
function AjustLife() {
if (nLife > (_global.mainCS.mcHUD.LifeMeter._totalframes - _global.mainCS.mcHUD.LifeMeter._currentframe)) {
_global.mainCS.mcHUD.LifeMeter.prevFrame();
} else if (nLife < (_global.mainCS.mcHUD.LifeMeter._totalframes - _global.mainCS.mcHUD.LifeMeter._currentframe)) {
_global.mainCS.mcHUD.LifeMeter.nextFrame();
}
if (_global.mainCS.mcHUD.LifeMeter._currentframe >= _global.mainCS.mcHUD.LifeMeter._totalframes) {
_global.Pack.EndGame(3);
}
}
function CheckTimer() {
if (!bPaused) {
this["nTimer" + nCurrentlevel]++;
}
}
function calcTimePoints(nTimer, nBestTime) {
var _local2 = 0;
var _local3 = (LEVEL_BEST_TIME * PERCENT_TANKEN) / 100;
if (nTimer > 0) {
if ((nTimer / 35) < nBestTime) {
_local2 = _local2 + LEVEL_BEST_TIME;
} else if ((nTimer / 35) < (nBestTime + SECOND_STEP)) {
_local2 = _local2 + (LEVEL_BEST_TIME - _local3);
} else if ((nTimer / 35) < (nBestTime + (SECOND_STEP * 2))) {
_local2 = _local2 + (LEVEL_BEST_TIME - (_local3 * 2));
} else if ((nTimer / 35) < (nBestTime + (SECOND_STEP * 3))) {
_local2 = _local2 + (LEVEL_BEST_TIME - (_local3 * 2.5));
} else if ((nTimer / 35) < (nBestTime + (SECOND_STEP * 4))) {
_local2 = _local2 + (LEVEL_BEST_TIME - (_local3 * 3));
} else if ((nTimer / 35) < (nBestTime + (SECOND_STEP * 5))) {
_local2 = _local2 + (LEVEL_BEST_TIME - (_local3 * 3.5));
} else {
_local2 = _local2 + 0;
}
}
return(Math.round(_local2));
}
function calcTotalTimePoints() {
var _local2 = 0;
var _local4 = (TOTAL_BEST_TIME * PERCENT_TANKEN) / 100;
var _local3 = ((((nTimer1 + nTimer2) + nTimer3) + nTimer4) + nTimer5) + nTimer6;
_local3 = _local3 + (((((nTimer7 + nTimer8) + nTimer9) + nTimer10) + nTimer11) + nTimer12);
if ((_local3 / 35) < TOTAL_TARGET_TIME) {
_local2 = _local2 + TOTAL_BEST_TIME;
} else if ((_local3 / 35) < (TOTAL_TARGET_TIME + SECOND_STEP)) {
_local2 = _local2 + (TOTAL_BEST_TIME - _local4);
} else if ((_local3 / 35) < (TOTAL_TARGET_TIME + (SECOND_STEP * 2))) {
_local2 = _local2 + (TOTAL_BEST_TIME - (_local4 * 2));
} else if ((_local3 / 35) < (TOTAL_TARGET_TIME + (SECOND_STEP * 3))) {
_local2 = _local2 + (TOTAL_BEST_TIME - (_local4 * 3));
} else {
_local2 = _local2 + 0;
}
return(Math.round(_local2));
}
function changePoints(nPoints) {
var _local3 = "";
var _local5 = _global.mainCS.mcHUD.attachMovie("nPoints", "nPoints" + nPointsAttached, nPointsAttached, {_x:-42.55, _y:391.3});
nPointsAttached++;
if (nPoints > 0) {
_local3 = _local3 + "+";
}
if ((nCurrentScore + nPoints) > 0) {
nCurrentScore = nCurrentScore + nPoints;
} else {
nCurrentScore = 0;
}
_local3 = _local3 + String(nPoints);
_local5.mcState.nPoints.text = _local3;
}
function AjustScore() {
if (_global.mainCS.mcHUD.nScore.text != nCurrentScore) {
_global.mainCS.mcHUD.nScore.text = nCurrentScore;
_global.oCtrl.setScore(nCurrentScore);
}
}
function calculateLifeMeterPoints() {
var _local3 = 0;
var _local5 = _global.Pack.nLife;
var _local4 = Math.round((_local5 * 100) / 30);
if (_local4 == 100) {
_local3 = _local3 + LIFE_METER_BEST;
} else if (_local4 > 80) {
_local3 = _local3 + Math.round((LIFE_METER_BEST * 80) / 100);
} else if (_local4 > 60) {
_local3 = _local3 + Math.round((LIFE_METER_BEST * 60) / 100);
} else if (_local4 > 40) {
_local3 = _local3 + Math.round((LIFE_METER_BEST * 40) / 100);
} else if (_local4 > 20) {
_local3 = _local3 + 0;
} else {
_local3 = _local3 + 0;
}
return(_local3);
}
var nTotalLevel = 12;
var LVL_1_TARGET_TIME = 50;
var LVL_2_TARGET_TIME = 40;
var LVL_3_TARGET_TIME = 30;
var LVL_4_TARGET_TIME = 50;
var LVL_5_TARGET_TIME = 60;
var LVL_6_TARGET_TIME = 60;
var LVL_7_TARGET_TIME = 40;
var LVL_8_TARGET_TIME = 60;
var LVL_9_TARGET_TIME = 30;
var LVL_10_TARGET_TIME = 65;
var LVL_11_TARGET_TIME = 90;
var LVL_12_TARGET_TIME = 40;
var TOTAL_TARGET_TIME = 615;
var SECOND_STEP = 5;
var PERCENT_TANKEN = 20;
var TOTAL_BEST_TIME = 1000;
var LEVEL_BEST_TIME = 500;
var LIFE_METER_BEST = 1000;
var ICE_PACK_BONUS = 350;
var RESET_BTN = 50;
var ARROW_HIT = 15;
}
Symbol 836 MovieClip [__Packages.Elevator] Frame 0
class Elevator extends MovieClip
{
var nRopeDistance, tie1, platform, bExitSpot, bDone, Etat, nTimeSpend, nMovingdistance, nEtatUpY, nEtatDownY, tie2, rope1, rope2, bCharacter2Lift, bCharacter1Lift, mGround, nDeplacemement, sLinkedSwitch, nElevatorNum, _name, oElevatorObj, nElevatorX, nElevatorY, oGroundObj, nGroundX, nGroundY, nDistantX, nDistantY;
function Elevator () {
super();
_global.Game.oInteractiveObj.Elevator.push(this);
nRopeDistance = platform._y - tie1._y;
bExitSpot = false;
bDone = true;
}
function EnterFrame() {
this[Etat]();
}
function Activate() {
if (bDone) {
if (Etat == "Up") {
Etat = "Down";
} else {
Etat = "Up";
}
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "elevator", 100, 1, false);
nTimeSpend = 0;
nMovingdistance = nEtatDownY - nEtatUpY;
}
}
function SetTo() {
if (Etat == "Up") {
platform._y = nEtatUpY;
tie1._y = nEtatUpY - nRopeDistance;
tie2._y = nEtatUpY - nRopeDistance;
rope1._height = nEtatUpY - nRopeDistance;
rope2._height = nEtatUpY - nRopeDistance;
} else {
platform._y = nEtatDownY;
tie1._y = nEtatDownY - nRopeDistance;
tie2._y = nEtatDownY - nRopeDistance;
rope1._height = nEtatDownY - nRopeDistance;
rope2._height = nEtatDownY - nRopeDistance;
}
AjustGround();
}
function Up() {
if (nTimeSpend == 0) {
bCharacter2Lift = false;
bCharacter1Lift = false;
if (mGround.hitTest(_global.Game.Character2_mc.nStagePosX, _global.Game.Character2_mc.nStagePosY, true)) {
bCharacter2Lift = true;
}
if (mGround.hitTest(_global.Game.Character1_mc.nStagePosX, _global.Game.Character1_mc.nStagePosY, true)) {
bCharacter1Lift = true;
}
}
if (nTimeSpend < aAimingTotal.length) {
bDone = false;
nDeplacemement = Math.round((nMovingdistance * Number(aAimingTotal[nTimeSpend])) / 100);
mGround._y = mGround._y - nDeplacemement;
platform._y = platform._y - nDeplacemement;
tie1._y = tie1._y - nDeplacemement;
tie2._y = tie2._y - nDeplacemement;
rope1._height = rope1._height - nDeplacemement;
rope2._height = rope2._height - nDeplacemement;
if (bCharacter2Lift) {
_global.Game.Character2_mc._y = _global.Game.Character2_mc._y - nDeplacemement;
_global.Game.Character2_mc.Move(0);
}
if (bCharacter1Lift) {
_global.Game.Character1_mc._y = _global.Game.Character1_mc._y - nDeplacemement;
_global.Game.Character1_mc.Move(0);
}
_global.Game[sLinkedSwitch]._y = _global.Game[sLinkedSwitch]._y - nDeplacemement;
nTimeSpend++;
} else if (nTimeSpend == aAimingTotal.length) {
nTimeSpend++;
_global.Game.Character1_mc.Move(0);
_global.Game.Character2_mc.Move(0);
if (bCharacter2Lift) {
if (bExitSpot) {
_global.Game.Character2_mc.FinishLevel();
}
}
if (bCharacter1Lift) {
if (bExitSpot) {
_global.Game.Character1_mc.FinishLevel();
}
}
} else if (!bDone) {
bDone = true;
}
}
function Down() {
if (nTimeSpend == 0) {
bCharacter2Lift = false;
bCharacter1Lift = false;
if (mGround.hitTest(_global.Game.Character2_mc.nStagePosX, _global.Game.Character2_mc.nStagePosY, true)) {
bCharacter2Lift = true;
}
if (mGround.hitTest(_global.Game.Character1_mc.nStagePosX, _global.Game.Character1_mc.nStagePosY, true)) {
bCharacter1Lift = true;
}
}
if (nTimeSpend < aAimingTotal.length) {
bDone = false;
nDeplacemement = Math.round((nMovingdistance * Number(aAimingTotal[nTimeSpend])) / 100);
mGround._y = mGround._y + nDeplacemement;
platform._y = platform._y + nDeplacemement;
tie1._y = tie1._y + nDeplacemement;
tie2._y = tie2._y + nDeplacemement;
rope1._height = rope1._height + nDeplacemement;
rope2._height = rope2._height + nDeplacemement;
if (bCharacter2Lift) {
_global.Game.Character2_mc._y = _global.Game.Character2_mc._y + nDeplacemement;
_global.Game.Character2_mc.Move(0);
}
if (bCharacter1Lift) {
_global.Game.Character1_mc._y = _global.Game.Character1_mc._y + nDeplacemement;
_global.Game.Character1_mc.Move(0);
}
_global.Game[sLinkedSwitch]._y = _global.Game[sLinkedSwitch]._y + nDeplacemement;
nTimeSpend++;
} else if (nTimeSpend == aAimingTotal.length) {
nTimeSpend++;
_global.Game.Character1_mc.Move(0);
_global.Game.Character2_mc.Move(0);
} else if (!bDone) {
bDone = true;
}
}
function AjustGround() {
nElevatorNum = Number(_name.slice(8, 10));
mGround = _global.Game.Ground["ElevPlate" + nElevatorNum];
oElevatorObj = platform.getBounds(_global.Game);
nElevatorX = (oElevatorObj.xMax + oElevatorObj.xMin) / 2;
nElevatorY = (oElevatorObj.yMax + oElevatorObj.yMin) / 2;
oGroundObj = mGround.getBounds(_global.Game);
nGroundX = (oGroundObj.xMax + oGroundObj.xMin) / 2;
nGroundY = ((oGroundObj.yMax + oGroundObj.yMin) / 2) - 5;
nDistantX = nElevatorX - nGroundX;
nDistantY = nElevatorY - nGroundY;
mGround._x = mGround._x + nDistantX;
mGround._y = mGround._y + nDistantY;
}
var aAimingTotal = [1, 2, 2, 2, 4, 4, 6, 6, 6, 7, 10, 10, 7, 6, 6, 6, 4, 4, 2, 2, 2, 1];
}
Symbol 837 MovieClip [__Packages.Switch] Frame 0
class Switch extends MovieClip
{
var stop, Etat, Operate, _parent, Anim, OldEtat, gotoAndStop;
function Switch () {
super();
stop();
_global.Game.oInteractiveObj.Switch.push(this);
}
function EnterFrame() {
this[Etat]();
}
function Activate() {
if (Etat == "On") {
Etat = "Off";
} else {
Etat = "On";
}
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "Switch", 100, 1, false);
var _local2 = 0;
while (_local2 < Operate.length) {
if ((!Operate[_local2][3]) || (!_parent[Operate[_local2][4]].OverStage)) {
if ((_parent[Operate[_local2][0]].Etat == "Down") && (Operate[_local2][1] == 1)) {
_parent[Operate[_local2][0]].Activate();
} else if ((_parent[Operate[_local2][0]].Etat == "Up") && (Operate[_local2][2] == 1)) {
_parent[Operate[_local2][0]].Activate();
}
}
_local2++;
}
}
function SetTo() {
CheckAnim();
Anim.gotoAndStop(Anim._totalframes);
}
function On() {
CheckAnim();
}
function Off() {
CheckAnim();
}
function CheckAnim() {
if (OldEtat != Etat) {
OldEtat = Etat;
gotoAndStop(Etat);
} else if (CheckAnimOver()) {
} else {
Anim.nextFrame();
}
}
function CheckAnimOver() {
if (Anim._currentframe == Anim._totalframes) {
return(true);
}
return(false);
}
}
Symbol 838 MovieClip [__Packages.IcePack] Frame 0
class IcePack extends MovieClip
{
var Etat, stop, swapDepths, removeMovieClip, Anim, gotoAndStop;
function IcePack () {
super();
if (_global.Pack.bIcePack) {
Etat = "Idle";
stop();
} else {
ToDelete();
}
}
function EnterFrame() {
this[Etat]();
}
function ToDelete() {
swapDepths(124);
(removeMovieClip());// not popped
}
function Idle() {
}
function Pick() {
Anim.nextFrame();
if (Anim._currentframe == Anim._totalframes) {
ToDelete();
}
}
function Grab() {
gotoAndStop(2);
_global.Pack.nLife = _global.Pack.nLife + 6;
if (_global.Pack.nLife > 30) {
_global.Pack.nLife = 30;
}
Anim.stop();
Etat = "Pick";
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "GrabIcePack", 100, 1, false);
_global.Pack.changePoints(_global.Pack.ICE_PACK_BONUS);
if (((_global.Game.Character2_mc.Etat == "Idle") || (_global.Game.Character2_mc.Etat == "MoveRight")) || (_global.Game.Character2_mc.Etat == "MoveLeft")) {
_global.Game.Character2_mc.Etat = "Glace";
} else if (((_global.Game.Character1_mc.Etat == "Idle") || (_global.Game.Character1_mc.Etat == "MoveRight")) || (_global.Game.Character1_mc.Etat == "MoveLeft")) {
_global.Game.Character1_mc.Etat = "Glace";
}
}
}
Symbol 839 MovieClip [__Packages.Perso] Frame 0
class Perso extends MovieClip
{
var stop, _name, Etat, OverStage, sDir, nFootSteps, mGround, _parent, bAction, _y, Anim, nHurtTimeSpend, oStageGB, Floor, nStagePosX, nStagePosY, _x, sDirOld, gotoAndStop, OldEtat, oBagGB, nBagPosX, nBagPosY, hitTest;
function Perso () {
super();
stop();
if (String(_name) == "Character1_mc") {
Etat = "Idle";
} else {
Etat = "Wait";
}
OverStage = false;
sDir = "l";
nFootSteps = 0;
CheckAnim();
mGround = _parent.Ground;
Move(0);
}
function EnterFrame() {
this[Etat]();
}
function Idle() {
bAction = false;
CheckAction();
CheckMove();
CheckStairs();
CheckSwitch();
CheckDir();
CheckAnim();
CheckBag();
nFootSteps = 0;
}
function MoveLeft() {
bAction = false;
Move(-nSpeed);
CheckAction();
CheckMove();
CheckStairs();
CheckSwitch();
CheckDir();
CheckAnim();
CheckBag();
CheckIce();
if ((nFootSteps == FRAME_STEPS) || (nFootSteps == 0)) {
if (String(_name) == "Character1_mc") {
var _local2 = random(9) + 1;
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "maleStep" + _local2, 100, 1, false);
nFootSteps = 1;
} else {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "patinFemale", 40, 1, false);
nFootSteps = 1;
}
}
nFootSteps++;
}
function MoveRight() {
bAction = false;
Move(nSpeed);
CheckAction();
CheckMove();
CheckStairs();
CheckSwitch();
CheckDir();
CheckAnim();
CheckBag();
CheckIce();
if ((nFootSteps == FRAME_STEPS) || (nFootSteps == 0)) {
if (String(_name) == "Character1_mc") {
var _local2 = random(9) + 1;
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "maleStep" + _local2, 100, 1, false);
nFootSteps = 1;
} else {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "patinFemale", 40, 1, false);
nFootSteps = 1;
}
}
nFootSteps++;
}
function Wait() {
CheckAnim();
}
function Change() {
CheckAnim();
if (CheckAnimOver()) {
Etat = "Wait";
CheckAnim();
if ((String(_name) == "Character1_mc") && (!_parent.Character2_mc.OverStage)) {
_parent.Character2_mc.Etat = "Idle";
} else if ((String(_name) == "Character2_mc") && (!_parent.Character1_mc.OverStage)) {
_parent.Character1_mc.Etat = "Idle";
} else {
Etat = "Idle";
}
}
}
function Action() {
CheckAnim();
if (CheckAnimOver()) {
Etat = "Idle";
}
}
function Up() {
CheckAnim();
if (CheckAnimOver()) {
_y = _y - 125;
Etat = "Idle";
CheckAnim();
Move(0);
if (OverStage) {
FinishLevel();
}
}
}
function Down() {
Anim.Etat.prevFrame();
if (Anim.Etat._currentframe == 1) {
Etat = "Idle";
CheckAnim();
Move(0);
}
}
function UpSM() {
CheckAnim();
if (CheckAnimOver()) {
_y = _y - 68;
Etat = "Idle";
CheckAnim();
Move(0);
if (OverStage) {
FinishLevel();
}
}
}
function DownSM() {
Anim.Etat.prevFrame();
if (Anim.Etat._currentframe == 1) {
Etat = "Idle";
CheckAnim();
Move(0);
}
}
function Hurt() {
nHurtTimeSpend++;
Anim.Etat.nextFrame();
if (nHurtTimeSpend > nTimeHurt) {
Etat = "Idle";
CheckAnim();
}
}
function Glace() {
CheckAnim();
if (CheckAnimOver()) {
Etat = "Idle";
CheckAnim();
}
}
function Move(_step) {
var _local4 = false;
oStageGB = Floor.getBounds(_global.mainCS);
nStagePosX = (oStageGB.xMax + oStageGB.xMin) / 2;
nStagePosY = (oStageGB.yMax + oStageGB.yMin) / 2;
var _local3 = 0;
while (_local3 < nMaxStep) {
if (mGround.hitTest(nStagePosX + _step, nStagePosY + _local3, true)) {
_local3 = nMaxStep;
_local4 = true;
}
_local3++;
}
if (_local4) {
_x = _x + _step;
while (mGround.hitTest(nStagePosX, nStagePosY, true)) {
nStagePosY--;
_y--;
}
while (!mGround.hitTest(nStagePosX, nStagePosY, true)) {
nStagePosY++;
_y++;
}
}
}
function FinishLevel() {
OverStage = true;
Etat = "Wait";
if ((String(_name) == "Character1_mc") && (!_parent.Character2_mc.OverStage)) {
_parent.Character2_mc.Etat = "Idle";
} else if ((String(_name) == "Character2_mc") && (!_parent.Character1_mc.OverStage)) {
_parent.Character1_mc.Etat = "Idle";
} else {
_global.Pack.EndGame(1);
}
}
function Landed(_mc) {
_global.Pack.nLife = _global.Pack.nLife - 3;
Etat = "Hurt";
if (String(_name) == "Character1_mc") {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "HurtMale", 100, 1, false);
} else {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "HurtFemale", 100, 1, false);
}
nHurtTimeSpend = 0;
_mc.Landed(true);
CheckAnim();
}
function CheckAction() {
if (_global.Game.oKeyObject.Action) {
bAction = true;
Etat = "Action";
var _local7 = 51;
var _local6 = 40;
var _local3 = 0;
while (_local3 < _global.Game.oInteractiveObj.Switch.length) {
if (Math.abs(_global.Game.oInteractiveObj.Switch[_local3]._x - _x) < nActivateRange) {
if (Math.abs(_global.Game.oInteractiveObj.Switch[_local3]._y - _y) < nActivateRange) {
if (mGround[_global.Game.oInteractiveObj.Switch[_local3].sActivateFrom].hitTest(nStagePosX, nStagePosY + _local3, true)) {
if (Math.abs(_x - _global.Game.oInteractiveObj.Switch[_local3]._x) < _local7) {
_local7 = Math.abs(_x - _global.Game.oInteractiveObj.Switch[_local3]._x);
_local6 = _local3;
}
}
}
}
_local3++;
}
if (_local6 < 40) {
var _local5 = _global.Game.oInteractiveObj.Switch[_local6].PersoNeeded;
if (((_local5 != "Boy") && (_local5 != "Girl")) && (_local5 != "BoysAndGirls")) {
_global.Game.oInteractiveObj.Switch[_local6].Activate();
} else if (_local5 == "Boy") {
if (String(_name) == "Character1_mc") {
_global.Game.oInteractiveObj.Switch[_local6].Activate();
} else {
Main.__get__Instance().oPopup.setState("WrongPlayer");
}
} else if (_local5 == "Girl") {
if (String(_name) == "Character2_mc") {
_global.Game.oInteractiveObj.Switch[_local6].Activate();
} else {
Main.__get__Instance().oPopup.setState("WrongPlayer");
}
} else if (_local5 == "BoysAndGirls") {
var _local4;
if (String(_name) == "Character1_mc") {
_local4 = _parent.Character2_mc;
}
if (String(_name) == "Character2_mc") {
_local4 = _parent.Character1_mc;
}
if (mGround[_global.Game.oInteractiveObj.Switch[_local6].sActivateFrom].hitTest(_local4.nStagePosX, _local4.nStagePosY + 1, true)) {
_global.Game.oInteractiveObj.Switch[_local6].Activate();
} else {
Main.__get__Instance().oPopup.setState("Forget");
}
}
if (_x > _global.Game.oInteractiveObj.Switch[_local6]._x) {
sDir = "l";
} else {
sDir = "r";
}
}
_local3 = 0;
while (_local3 < _global.Game.oInteractiveObj.SandBag.length) {
if (Math.abs(_global.Game.oInteractiveObj.SandBag[_local3]._x - _x) < nActivateRange) {
if (Math.abs(_global.Game.oInteractiveObj.SandBag[_local3]._y - _y) < nActivateRange) {
if (mGround[_global.Game.oInteractiveObj.SandBag[_local3].sActivateFrom].hitTest(nStagePosX, nStagePosY + _local3, true)) {
var _local5 = _global.Game.oInteractiveObj.SandBag[_local3].PersoNeeded;
if (_local5 == "BoysAndGirls") {
if (String(_name) == "Character1_mc") {
var _local4 = _parent.Character2_mc;
}
if (String(_name) == "Character2_mc") {
var _local4 = _parent.Character1_mc;
}
if (mGround[_global.Game.oInteractiveObj.SandBag[_local3].sActivateFrom].hitTest(_local4.nStagePosX, _local4.nStagePosY, true)) {
_global.Game.oInteractiveObj.SandBag[_local3].Activate();
} else {
Main.__get__Instance().oPopup.setState("Forget");
}
} else {
_global.Game.oInteractiveObj.SandBag[_local3].Activate();
}
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "DroppingBag", 100, 1, false);
if (_x > _global.Game.oInteractiveObj.SandBag[_local3]._x) {
sDir = "l";
} else {
sDir = "r";
}
}
}
}
_local3++;
}
}
}
function CheckIce() {
if (_global.Game.IcePack.hitTest(this)) {
if (_global.Game.IcePack.Etat == "Idle") {
_global.Game.IcePack.Grab();
}
}
}
function CheckMove() {
if (!bAction) {
if (_global.Game.oKeyObject.Left) {
sDir = "l";
Etat = "MoveLeft";
} else if (_global.Game.oKeyObject.Right) {
sDir = "r";
Etat = "MoveRight";
} else {
Etat = "Idle";
}
}
}
function CheckStairs() {
if ((!bAction) && (String(_name) == "Character1_mc")) {
if (_global.Game.oKeyObject.Up) {
var _local3 = 0;
while (_local3 < _global.Game.oInteractiveObj.Ladder.length) {
if (Math.abs(_global.Game.oInteractiveObj.Ladder[_local3]._x - _x) < (nActivateRange / 2)) {
if ((Math.abs(_global.Game.oInteractiveObj.Ladder[_local3]._y - _y) < (nActivateRange * 2)) && (_global.Game.oInteractiveObj.Ladder[_local3]._y < _y)) {
if (_global.Game.oInteractiveObj.Ladder[_local3]["bClimbWhen" + _global.Game.oInteractiveObj.Ladder[_local3].Etat]) {
_x = _global.Game.oInteractiveObj.Ladder[_local3]._x;
if (_global.Game.oInteractiveObj.Ladder[_local3].Height == "Short") {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "stepUpSmall", 100, 1, false);
Etat = "UpSM";
sDir = "u";
} else {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "stepUp", 100, 1, false);
Etat = "Up";
sDir = "u";
}
if (_global.Game.oInteractiveObj.Ladder[_local3].bExitSpot) {
OverStage = true;
}
}
}
}
_local3++;
}
} else if (_global.Game.oKeyObject.Down) {
var _local3 = 0;
while (_local3 < _global.Game.oInteractiveObj.Ladder.length) {
if (Math.abs(_global.Game.oInteractiveObj.Ladder[_local3]._x - _x) < (nActivateRange / 2)) {
if ((Math.abs(_global.Game.oInteractiveObj.Ladder[_local3]._y - _y) < (nActivateRange * 2)) && (_global.Game.oInteractiveObj.Ladder[_local3]._y > _y)) {
if (_global.Game.oInteractiveObj.Ladder[_local3]["bClimbWhen" + _global.Game.oInteractiveObj.Ladder[_local3].Etat]) {
_x = _global.Game.oInteractiveObj.Ladder[_local3]._x;
if (_global.Game.oInteractiveObj.Ladder[_local3].Height == "Short") {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "stepDownSmall", 100, 1, false);
Etat = "DownSM";
sDir = "u";
_y = _y + 68;
} else {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "stepDown", 100, 1, false);
Etat = "Down";
sDir = "u";
_y = _y + 125;
}
CheckDir();
CheckAnim();
Anim.Etat.gotoAndStop(Anim.Etat._totalframes - 1);
}
}
}
_local3++;
}
}
}
}
function CheckSwitch() {
if (!bAction) {
if (_global.Game.oKeyObject.SwapPers) {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "ChangePers", 150, 1, false);
Etat = "Change";
bAction = true;
if (String(_name) == "Character1_mc") {
if (_x > _parent.Character2_mc._x) {
sDir = "l";
} else {
sDir = "r";
}
} else if (_x > _parent.Character1_mc._x) {
sDir = "l";
} else {
sDir = "r";
}
}
}
}
function CheckDir() {
if (sDir != sDirOld) {
sDirOld = sDir;
gotoAndStop(sDir);
Anim.gotoAndStop(Etat);
}
}
function CheckAnim() {
if (OldEtat != Etat) {
OldEtat = Etat;
Anim.gotoAndStop(Etat);
Anim.Etat.stop();
} else if (CheckAnimOver()) {
Anim.Etat.gotoAndStop(1);
} else {
Anim.Etat.nextFrame();
}
}
function CheckAnimOver() {
if (Anim.Etat._currentframe == Anim.Etat._totalframes) {
return(true);
}
return(false);
}
function CheckBag() {
var _local4 = 0;
while (_local4 < _global.Game.oInteractiveObj.Arrow.length) {
var _local3 = _global.Game.oInteractiveObj.Arrow[_local4];
if ((_local3.Etat != "Blow") && (_local3.Etat != "Dissapears")) {
oBagGB = _local3.Floor;
nBagPosX = (oBagGB.xMax + oBagGB.xMin) / 2;
nBagPosY = (oBagGB.yMax + oBagGB.yMin) / 2;
if (hitTest(oBagGB)) {
Landed(_local3);
}
}
_local4++;
}
}
var nSpeed = 3;
var nMaxStep = 12;
var nActivateRange = 50;
var nTimeHurt = 120;
var FRAME_STEPS = 10;
}
Symbol 840 MovieClip [__Packages.Cupid] Frame 0
class Cupid extends MovieClip
{
var stop, Etat, OldEtat, nWaitMore, nTimeSpend, sDir, sDirOld, mcArrow, nDir, Anim, _x, mTarget, nAngleToShoot, _y, gotoAndStop;
function Cupid () {
super();
stop();
Etat = "Idle";
OldEtat = "Idle";
nWaitMore = random(50);
nTimeSpend = 0;
sDir = "l";
sDirOld = "r";
mcArrow = _global.Game.mcArrow;
nDir = -1;
}
function EnterFrame() {
if (!_global.Game.bPaused) {
this[Etat]();
CheckDir();
FollowWho();
CheckAnim();
} else {
Anim.Etat.stop();
}
}
function Idle() {
Wait();
}
function MoveLeft() {
Move(nMovingSpeed * -1);
Wait();
}
function MoveLeftMU() {
Move(nMovingSpeed * -1);
Wait();
}
function MoveRight() {
Move(nMovingSpeed);
Wait();
}
function MoveRightMU() {
Move(nMovingSpeed);
Wait();
}
function Shoot() {
if (CheckAnimOver()) {
Etat = "Idle";
}
}
function ShootMU() {
if (Anim.Etat._currentframe == (Anim.Etat._totalframes - 2)) {
Etat = "Wait";
}
}
function Move(_step) {
_x = _x + _step;
if (_step > 0) {
sDir = "r";
} else {
sDir = "l";
}
}
function Wait() {
if (nDir == -1) {
if (((_x - nMovingSpeed) + nGap) > mTarget._x) {
if (_global.Game.bEaster) {
Etat = "MoveLeftMU";
} else {
Etat = "MoveLeft";
}
} else {
nDir = 1;
}
} else if (((_x + nMovingSpeed) - nGap) < mTarget._x) {
if (_global.Game.bEaster) {
Etat = "MoveRightMU";
} else {
Etat = "MoveRight";
}
} else {
nDir = -1;
}
nTimeSpend++;
if (nTimeSpend >= (nWaitMore + nTimeToWait)) {
nAngleToShoot = getDirection(_x, _y, mcArrow._x, mcArrow._y);
if (_global.Game.bEaster) {
Etat = "ShootMU";
if (_x > mTarget._x) {
sDir = "l";
var _local3 = _global.Game.attachMovie("_Poche_Drop_EasterLeft", "mcArrow" + nArrows, _global.Game.getNextHighestDepth());
_local3.Armed();
nArrows++;
} else {
sDir = "r";
var _local3 = _global.Game.attachMovie("_Poche_Drop_EasterRight", "mcArrow" + nArrows, _global.Game.getNextHighestDepth());
_local3.Armed();
nArrows++;
}
} else {
Etat = "Shoot";
if (_x > mTarget._x) {
sDir = "l";
var _local3 = _global.Game.attachMovie("_Poche_Drop_Left", "mcArrow" + nArrows, _global.Game.getNextHighestDepth(), {_x:335.15, _y:35.7});
_local3.Armed();
nArrows++;
} else {
sDir = "r";
var _local3 = _global.Game.attachMovie("_Poche_Drop_Right", "mcArrow" + nArrows, _global.Game.getNextHighestDepth(), {_x:335.15, _y:35.7});
_local3.Armed();
nArrows++;
}
}
nTimeSpend = 0;
nWaitMore = random(200);
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "ShootArrow", 100, 1, false);
}
}
function CheckDir() {
if (sDir != sDirOld) {
sDirOld = sDir;
gotoAndStop(sDir);
Anim.gotoAndStop(Etat);
}
}
function CheckAnim() {
if (OldEtat != Etat) {
OldEtat = Etat;
Anim.gotoAndStop(Etat);
Anim.Etat.stop();
}
if (CheckAnimOver()) {
Anim.Etat.gotoAndStop(1);
} else {
Anim.Etat.nextFrame();
}
}
function CheckAnimOver() {
var _local2 = false;
if (Anim.Etat._currentframe == Anim.Etat._totalframes) {
_local2 = true;
}
return(_local2);
}
function getDirection(_nPosX1, _nPosY1, _nPosX2, _nPosY2) {
var _local1;
_local1 = ((Math.atan2(_nPosY2 - _nPosY1, _nPosX2 - _nPosX1) * 180) / Math.PI) + 90;
if (_local1 > 180) {
_local1 = -360 + _local1;
return(_local1);
}
return(_local1);
}
function FollowWho() {
if (((_global.Game.Character2_mc.Etat == "Idle") || (_global.Game.Character2_mc.Etat == "MoveRight")) || (_global.Game.Character2_mc.Etat == "MoveLeft")) {
mTarget = _global.Game.Character2_mc;
} else if (((_global.Game.Character1_mc.Etat == "Idle") || (_global.Game.Character1_mc.Etat == "MoveRight")) || (_global.Game.Character1_mc.Etat == "MoveLeft")) {
mTarget = _global.Game.Character1_mc;
}
}
var nMovingSpeed = 2;
var nTimeToWait = 50;
var nGapToFly = 30;
var nMovingArmSpeed = 5;
var nGap = 100;
var nArrows = 0;
}
Symbol 841 MovieClip [__Packages.Arrow] Frame 0
class Arrow extends MovieClip
{
var Etat, stop, State, nWaitMore, nTimeSpend, mGround, _parent, etat, _currentframe, frame, mTarget, _x, _y, nextFrame, _totalframes, gotoAndStop, oStageGB, Floor, nStagePosX, nStagePosY, removeMovieClip;
function Arrow () {
super();
_global.Game.oInteractiveObj.Arrow.push(this);
Etat = "Wait";
stop();
State.stop();
nWaitMore = random(200);
nTimeSpend = 0;
mGround = _parent.Ground.TrueGround;
}
function EnterFrame() {
this[Etat]();
etat.text = Etat;
frame.text = _currentframe;
}
function Wait() {
}
function Armed() {
mTarget = _global.Game.mcCupid;
if (mTarget.sDir == "l") {
_x = mTarget._x - CUPIDON_ARM_Y;
} else {
_x = mTarget._x + CUPIDON_ARM_Y;
}
_y = mTarget._y + CUPIDON_ARM_X;
Etat = "Falling";
}
function Falling() {
nextFrame();
if (_currentframe == _totalframes) {
gotoAndStop(1);
Etat = "Wait";
}
oStageGB = Floor.getBounds(_global.mainCS);
nStagePosX = (oStageGB.xMax + oStageGB.xMin) / 2;
nStagePosY = (oStageGB.yMax + oStageGB.yMin) / 2;
if (mGround.hitTest(nStagePosX, nStagePosY, true)) {
Landed();
}
}
function Dissapears() {
if (State.puff._currentframe == State.puff._totalframes) {
removeMe();
} else {
State.puff.nextFrame();
}
}
function Bounce() {
if (State.puff._currentframe == State.puff._totalframes) {
removeMe();
}
}
function Blow() {
if (State.puff._currentframe == State.puff._totalframes) {
State.gotoAndStop("Dissapears");
Etat = "Dissapears";
} else {
State.puff.nextFrame();
}
State.puff.stop();
}
function removeMe() {
var _local3 = 0;
while (_local3 < _global.Game.oInteractiveObj.Arrow.length) {
if (_global.Game.oInteractiveObj.Arrow[_local3] == this) {
_global.Game.oInteractiveObj.Arrow.splice(_local3, 1);
}
_local3++;
}
removeMovieClip();
}
function Landed(_bOnChar) {
if (_bOnChar) {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "ArrowLandingChar", 100, 1, false);
State.gotoAndStop("Bounce");
Etat = "Bounce";
_global.Pack.changePoints(-_global.Pack.ARROW_HIT);
if (!_global.Game.bEaster) {
State._rotation = 0;
}
} else {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "ArrowLanding", 50, 1, false);
if (_global.Game.bEaster) {
State.gotoAndStop("Dissapears");
Etat = "Dissapears";
State._rotation = -90;
} else {
State.gotoAndStop("Idle");
Etat = "Blow";
State._rotation = -170;
}
}
}
var nTimeToWait = 350;
var CUPIDON_ARM_Y = 90;
var CUPIDON_ARM_X = 510;
}
Symbol 842 MovieClip [__Packages.CatWalk_ctrl] Frame 0
class CatWalk_ctrl extends MovieClip
{
var mStage, nTimerEaster, nTimerActivated, bPaused, oKeyObject, bEaster, oInteractiveObj;
function CatWalk_ctrl () {
super();
mStage = this;
_global.Game = this;
nTimerEaster = 71;
nTimerActivated = 70;
CreateEnterFrame();
bPaused = _global.Pack.bPaused;
oKeyObject = new Object();
oKeyObject.Up = false;
oKeyObject.Down = false;
oKeyObject.Left = false;
oKeyObject.Right = false;
oKeyObject.Action = false;
oKeyObject.SwapPers = false;
oKeyObject.PausePoss = true;
oKeyObject.InstPoss = true;
bEaster = false;
oInteractiveObj = new Object();
oInteractiveObj.Switch = new Array();
oInteractiveObj.SandBag = new Array();
oInteractiveObj.Elevator = new Array();
oInteractiveObj.Ladder = new Array();
oInteractiveObj.Drop = new Array();
oInteractiveObj.Arrow = new Array();
_global.Pack.PauseGame = function () {
_global.Game.bPaused = true;
};
_global.Pack.UnPauseGame = function () {
_global.Pack.bPaused = false;
_global.Game.bPaused = false;
};
if (_global.Pack.InstrOpened) {
_global.Pack.GameReady();
} else {
_global.Pack.bPaused = false;
_global.Game.bPaused = false;
}
if (_global.oCtrl.bRestart) {
PauseGame();
}
}
function CreateEnterFrame() {
mStage.createEmptyMovieClip("mFrameLoop", 100);
mStage.mFrameLoop.onEnterFrame = function () {
_global.Game.EnterFrame();
};
}
function EnterFrame() {
if (!bPaused) {
mStage.Character1_mc.EnterFrame();
mStage.Character2_mc.EnterFrame();
var _local3 = 0;
while (_local3 < oInteractiveObj.Switch.length) {
oInteractiveObj.Switch[_local3].EnterFrame();
_local3++;
}
_local3 = 0;
while (_local3 < oInteractiveObj.SandBag.length) {
oInteractiveObj.SandBag[_local3].EnterFrame();
_local3++;
}
_local3 = 0;
while (_local3 < oInteractiveObj.Elevator.length) {
oInteractiveObj.Elevator[_local3].EnterFrame();
_local3++;
}
_local3 = 0;
while (_local3 < oInteractiveObj.Ladder.length) {
oInteractiveObj.Ladder[_local3].EnterFrame();
_local3++;
}
_local3 = 0;
while (_local3 < oInteractiveObj.Arrow.length) {
oInteractiveObj.Arrow[_local3].EnterFrame();
_local3++;
}
_global.Game.IcePack.EnterFrame();
_global.Pack.AjustLife();
_global.Pack.AjustScore();
_global.Pack.CheckTimer();
KeyCheck();
if (nTimerEaster < (nTimerActivated + 1)) {
nTimerEaster++;
}
}
_global.Game.mcCupid.EnterFrame();
}
function KeyCheck() {
if (Key.isDown(40)) {
oKeyObject.Down = true;
} else {
oKeyObject.Down = false;
}
if (Key.isDown(38)) {
oKeyObject.Up = true;
} else {
oKeyObject.Up = false;
}
if (Key.isDown(37)) {
oKeyObject.Left = true;
} else {
oKeyObject.Left = false;
}
if (Key.isDown(39)) {
oKeyObject.Right = true;
} else {
oKeyObject.Right = false;
}
if (Key.isDown(32)) {
oKeyObject.Action = true;
} else {
oKeyObject.Action = false;
}
if (Key.isDown(16)) {
oKeyObject.SwapPers = true;
} else {
oKeyObject.SwapPers = false;
}
if (Key.isDown(36) && (nTimerActivated < nTimerEaster)) {
nTimerEaster = 0;
if (!bEaster) {
bEaster = true;
} else {
bEaster = false;
}
}
}
function PauseGame() {
if (!bPaused) {
bPaused = true;
} else if (bPaused && (_global.Pack.InstrOpened != true)) {
bPaused = false;
}
}
}
Symbol 843 MovieClip [__Packages.Sandbag_platform] Frame 0
class Sandbag_platform extends MovieClip
{
var Etat, gotoAndStop, swapDepths, nChute, mLinkedRope, _name, _parent, Operate, _y, removeMovieClip;
function Sandbag_platform () {
super();
Etat = "On";
_global.Game.oInteractiveObj.SandBag.push(this);
}
function EnterFrame() {
this[Etat]();
}
function Activate() {
if (Etat == "On") {
Library.Sound.SoundManager.doPlaySoundInCat("SFX", "DroppingBag", 100, 1, false);
Etat = "Drop";
gotoAndStop(2);
swapDepths(150);
nChute = 2;
mLinkedRope = _parent["rope" + _name.slice(7, 8)];
var _local2 = 0;
while (_local2 < Operate.length) {
if ((_parent[Operate[_local2][0]].Etat == "Down") && (Operate[_local2][1] == 1)) {
_parent[Operate[_local2][0]].Activate();
} else if ((_parent[Operate[_local2][0]].Etat == "Up") && (Operate[_local2][2] == 1)) {
_parent[Operate[_local2][0]].Activate();
}
_local2++;
}
}
}
function On() {
}
function Drop() {
if (nChute < nMaxChute) {
nChute++;
}
_y = _y + nChute;
mLinkedRope._height = mLinkedRope._height + nChute;
if (_y > 450) {
(removeMovieClip());// not popped
}
}
var nMaxChute = 20;
}
Symbol 844 MovieClip [__Packages.Ladder] Frame 0
class Ladder extends MovieClip
{
var bExitSpot, Etat, nTimeSpend, nMovingdistance, nEtatUpY, nEtatDownY, _y;
function Ladder () {
super();
_global.Game.oInteractiveObj.Ladder.push(this);
bExitSpot = false;
}
function EnterFrame() {
this[Etat]();
}
function Activate() {
if (Etat == "Up") {
Etat = "Down";
} else {
Etat = "Up";
}
nTimeSpend = 0;
nMovingdistance = nEtatDownY - nEtatUpY;
}
function SetTo() {
if (Etat == "Up") {
_y = nEtatUpY;
} else {
_y = nEtatDownY;
}
}
function Up() {
if (nTimeSpend < aAimingTotal.length) {
_y = _y - Math.round((nMovingdistance * Number(aAimingTotal[nTimeSpend])) / 100);
nTimeSpend++;
}
}
function Down() {
if (nTimeSpend < aAimingTotal.length) {
_y = _y + Math.round((nMovingdistance * Number(aAimingTotal[nTimeSpend])) / 100);
nTimeSpend++;
}
}
var aAimingTotal = [1, 2, 2, 2, 4, 4, 6, 6, 6, 7, 10, 10, 7, 6, 6, 6, 4, 4, 2, 2, 2, 1];
}
Symbol 269 MovieClip Frame 30
stop();
Symbol 295 MovieClip Frame 1
this._visible = false;
Instance of Symbol 293 MovieClip "TrueGround" in Symbol 296 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 313 MovieClip [_Ladder] Frame 1
#initclip 52
Object.registerClass("_Ladder", Ladder);
#endinitclip
Symbol 335 MovieClip [_G2_Elevator_gold] Frame 1
#initclip 25
Object.registerClass("_G2_Elevator_gold", Elevator);
#endinitclip
Symbol 338 MovieClip [_Elevator] Frame 1
#initclip 26
Object.registerClass("_Elevator", Elevator);
#endinitclip
Symbol 348 MovieClip [_Switch] Frame 1
#initclip 27
Object.registerClass("_Switch", Switch);
#endinitclip
Symbol 355 MovieClip [_icePack] Frame 1
#initclip 28
Object.registerClass("_icePack", IcePack);
#endinitclip
Symbol 432 MovieClip Frame 1
this._visible = false;
Symbol 435 MovieClip [_Mau_Animes] Frame 1
#initclip 29
Object.registerClass("_Mau_Animes", Perso);
#endinitclip
Symbol 542 MovieClip [_Tod_Animes] Frame 1
#initclip 30
Object.registerClass("_Tod_Animes", Perso);
#endinitclip
Symbol 554 MovieClip [_G2_CupidAnimes] Frame 1
#initclip 31
Object.registerClass("_G2_CupidAnimes", Cupid);
#endinitclip
Symbol 585 MovieClip [_Poche_Drop_Left] Frame 1
#initclip 32
Object.registerClass("_Poche_Drop_Left", Arrow);
#endinitclip
Symbol 585 MovieClip [_Poche_Drop_Left] Frame 48
this.removeMe();
Symbol 586 MovieClip [_Poche_Drop_Right] Frame 1
#initclip 33
Object.registerClass("_Poche_Drop_Right", Arrow);
#endinitclip
Symbol 586 MovieClip [_Poche_Drop_Right] Frame 48
this.removeMe();
Symbol 592 MovieClip [_Poche_Drop_EasterLeft] Frame 1
#initclip 34
Object.registerClass("_Poche_Drop_EasterLeft", Arrow);
#endinitclip
Symbol 592 MovieClip [_Poche_Drop_EasterLeft] Frame 48
this.removeMe();
Symbol 593 MovieClip [_Poche_Drop_EasterRight] Frame 1
#initclip 35
Object.registerClass("_Poche_Drop_EasterRight", Arrow);
#endinitclip
Symbol 593 MovieClip [_Poche_Drop_EasterRight] Frame 48
this.removeMe();
Symbol 594 MovieClip [__G2_Level1] Frame 1
#initclip 36
Object.registerClass("__G2_Level1", CatWalk_ctrl);
#endinitclip
Instance of Symbol 313 MovieClip [_Ladder] "Ladder1" in Symbol 594 MovieClip [__G2_Level1] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 165;
this.bClimbWhenUp = false;
this.nEtatDownY = 295;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator5" in Symbol 594 MovieClip [__G2_Level1] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 104;
this.nEtatUpY = 20;
this.bExitSpot = true;
this.sLinkedSwitch = "switch5";
this.SetTo();
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator3" in Symbol 594 MovieClip [__G2_Level1] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 178;
this.nEtatUpY = 34;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 594 MovieClip [__G2_Level1] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 240;
this.nEtatUpY = 66;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch1" in Symbol 594 MovieClip [__G2_Level1] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator1", 1, 0, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch2" in Symbol 594 MovieClip [__G2_Level1] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator1", 0, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch3" in Symbol 594 MovieClip [__G2_Level1] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator3", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch4" in Symbol 594 MovieClip [__G2_Level1] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator4", 1, 1, true, "Scooby_mc"]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator4" in Symbol 594 MovieClip [__G2_Level1] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 200;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch5" in Symbol 594 MovieClip [__G2_Level1] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator5", 1, 1, true]];
this.sActivateFrom = "ElevPlate5";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 618 MovieClip "TrueGround" in Symbol 619 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 630 MovieClip [__G2_Level2] Frame 1
#initclip 37
Object.registerClass("__G2_Level2", CatWalk_ctrl);
#endinitclip
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 630 MovieClip [__G2_Level2] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 254;
this.nEtatUpY = 70;
this.SetTo();
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder1" in Symbol 630 MovieClip [__G2_Level2] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 165;
this.bClimbWhenUp = false;
this.nEtatDownY = 420;
this.bClimbWhenDown = false;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator3" in Symbol 630 MovieClip [__G2_Level2] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 229;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator2" in Symbol 630 MovieClip [__G2_Level2] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 201;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator4" in Symbol 630 MovieClip [__G2_Level2] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 286;
this.nEtatUpY = 64;
this.bExitSpot = true;
this.sLinkedSwitch = "switch5";
this.SetTo();
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch5" in Symbol 630 MovieClip [__G2_Level2] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator4", 1, 1, false]];
this.sActivateFrom = "ElevPlate4";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch4" in Symbol 630 MovieClip [__G2_Level2] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator2", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch1" in Symbol 630 MovieClip [__G2_Level2] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator4", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch3" in Symbol 630 MovieClip [__G2_Level2] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator3", 1, 0, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch2" in Symbol 630 MovieClip [__G2_Level2] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator3", 0, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 640 MovieClip "TrueGround" in Symbol 641 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 649 MovieClip [_sandbag] Frame 1
#initclip 38
Object.registerClass("_sandbag", Sandbag_platform);
#endinitclip
stop();
Instance of Symbol 648 MovieClip in Symbol 649 MovieClip [_sandbag] Frame 2
onClipEvent (load) {
this.stop();
}
Symbol 650 MovieClip [__G2_Level3] Frame 1
#initclip 39
Object.registerClass("__G2_Level3", CatWalk_ctrl);
#endinitclip
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 650 MovieClip [__G2_Level3] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 254;
this.nEtatUpY = 84;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator2" in Symbol 650 MovieClip [__G2_Level3] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 186;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder2" in Symbol 650 MovieClip [__G2_Level3] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 171;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch5" in Symbol 650 MovieClip [__G2_Level3] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Ladder2", 0, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder1" in Symbol 650 MovieClip [__G2_Level3] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 165;
this.bClimbWhenUp = false;
this.nEtatDownY = 295;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch4" in Symbol 650 MovieClip [__G2_Level3] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator2", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator4" in Symbol 650 MovieClip [__G2_Level3] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 265;
this.nEtatUpY = 100;
this.SetTo();
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator3" in Symbol 650 MovieClip [__G2_Level3] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 138;
this.nEtatUpY = 36;
this.bExitSpot = true;
this.SetTo();
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag1" in Symbol 650 MovieClip [__G2_Level3] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator4", 1, 1]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag2" in Symbol 650 MovieClip [__G2_Level3] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator3", 1, 1]];
this.sActivateFrom = "ElevPlate3";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 657 MovieClip "TrueGround" in Symbol 658 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 661 MovieClip [_G2_Ladder_Small] Frame 1
#initclip 40
Object.registerClass("_G2_Ladder_Small", Ladder);
#endinitclip
Symbol 662 MovieClip [__G2_Level8] Frame 1
#initclip 41
Object.registerClass("__G2_Level8", CatWalk_ctrl);
#endinitclip
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 232;
this.nEtatUpY = 102;
this.SetTo();
}
Instance of Symbol 661 MovieClip [_G2_Ladder_Small] in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.Height = "Short";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 296;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch1" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator2", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator2" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 145;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator3" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 160;
this.nEtatUpY = 30;
this.sLinkedSwitch = "switch2";
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator6" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 256;
this.nEtatUpY = 56;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator4" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 85;
this.nEtatUpY = 38;
this.sLinkedSwitch = "switch3";
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch5" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator6", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator5" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 118;
this.nEtatUpY = 63;
this.sLinkedSwitch = "switch4";
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch4" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator5", 1, 1, false]];
this.sActivateFrom = "ElevPlate5";
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator7" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 105;
this.nEtatUpY = 80;
this.SetTo();
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator8" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 151;
this.nEtatUpY = 56;
this.sLinkedSwitch = "switch6";
this.bExitSpot = true;
this.SetTo();
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch6" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator8", 1, 1, false]];
this.sActivateFrom = "ElevPlate8";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch2" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator3", 1, 1, false]];
this.sActivateFrom = "ElevPlate3";
}
Instance of Symbol 348 MovieClip [_Switch] "switch3" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator4", 1, 1, false]];
this.sActivateFrom = "ElevPlate4";
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag3" in Symbol 662 MovieClip [__G2_Level8] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator7", 1, 1]];
this.sActivateFrom = "ElevPlate7";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 671 MovieClip "TrueGround" in Symbol 672 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 673 MovieClip [__G2_Level9] Frame 1
#initclip 42
Object.registerClass("__G2_Level9", CatWalk_ctrl);
#endinitclip
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 190;
this.nEtatUpY = 48;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator2" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 136;
this.nEtatUpY = 48;
this.sLinkedSwitch = "switch1";
this.SetTo();
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator3" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 163;
this.nEtatUpY = 73;
this.SetTo();
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder1" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 205;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator4" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 191;
this.nEtatUpY = 67;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch2" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator4", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator5" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 105;
this.nEtatUpY = 53;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch3" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator5", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator6" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 105;
this.nEtatUpY = 69;
this.sLinkedSwitch = "switch4";
this.SetTo();
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator7" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 105;
this.nEtatUpY = 53;
this.sLinkedSwitch = "switch5";
this.bExitSpot = true;
this.SetTo();
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch4" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator6", 1, 1, false]];
this.sActivateFrom = "ElevPlate6";
}
Instance of Symbol 348 MovieClip [_Switch] "switch5" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator7", 1, 1, false]];
this.sActivateFrom = "ElevPlate7";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch1" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator2", 1, 1, false]];
this.sActivateFrom = "ElevPlate2";
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag3" in Symbol 673 MovieClip [__G2_Level9] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator3", 1, 1]];
this.sActivateFrom = "ElevPlate3";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 683 MovieClip "TrueGround" in Symbol 684 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 687 MovieClip [__G2_Level10] Frame 1
#initclip 43
Object.registerClass("__G2_Level10", CatWalk_ctrl);
#endinitclip
Instance of Symbol 313 MovieClip [_Ladder] "Ladder1" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 291;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator2" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 142;
this.nEtatUpY = 67;
this.SetTo();
}
Instance of Symbol 661 MovieClip [_G2_Ladder_Small] "Ladder4" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.Height = "Short";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 235;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 661 MovieClip [_G2_Ladder_Small] "Ladder3" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.Height = "Short";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 162;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder5" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 207;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 187;
this.nEtatUpY = 69;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch2" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator3", 1, 1, false], ["Elevator4", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator3" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 174;
this.nEtatUpY = 100;
this.SetTo();
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator5" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 157;
this.nEtatUpY = 30;
this.sLinkedSwitch = "switch3";
this.bExitSpot = true;
this.SetTo();
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator4" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 104;
this.nEtatUpY = 80;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch3" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator5", 1, 1, false]];
this.sActivateFrom = "ElevPlate5";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch1" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator1", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 661 MovieClip [_G2_Ladder_Small] "Ladder4" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.Height = "Short";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 86;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag3" in Symbol 687 MovieClip [__G2_Level10] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator2", 1, 1]];
this.sActivateFrom = "ElevPlate2";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 693 MovieClip "TrueGround" in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 695 MovieClip [__G2_Level11] Frame 1
#initclip 44
Object.registerClass("__G2_Level11", CatWalk_ctrl);
#endinitclip
Instance of Symbol 338 MovieClip [_Elevator] "Elevator2" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 92;
this.nEtatUpY = 58;
this.sLinkedSwitch = "switch1";
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch1" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator2", 1, 1, false]];
this.sActivateFrom = "ElevPlate2";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 100;
this.nEtatUpY = 58;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator3" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 115;
this.nEtatUpY = 82;
this.sLinkedSwitch = "switch2";
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator5" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 178;
this.nEtatUpY = 78;
this.sLinkedSwitch = "switch3";
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator6" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 100;
this.nEtatUpY = 58;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator7" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 225;
this.nEtatUpY = 105;
this.SetTo();
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator8" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 190;
this.nEtatUpY = 40;
this.bExitSpot = true;
this.SetTo();
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch2" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator3", 1, 1, false]];
this.sActivateFrom = "ElevPlate3";
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder2" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 170;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch5" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator7", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch4" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator6", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator4" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 92;
this.nEtatUpY = 58;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch3" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator5", 1, 1, false]];
this.sActivateFrom = "ElevPlate5";
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder1" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 170;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 661 MovieClip [_G2_Ladder_Small] "Ladder3" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.Height = "Short";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 42;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag1" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator4", 1, 1]];
this.sActivateFrom = "ElevPlate4";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag2" in Symbol 695 MovieClip [__G2_Level11] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator8", 1, 1]];
this.sActivateFrom = "ElevPlate8";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 701 MovieClip "TrueGround" in Symbol 702 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 703 MovieClip [__G2_Level12] Frame 1
#initclip 45
Object.registerClass("__G2_Level12", CatWalk_ctrl);
#endinitclip
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator9" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 182;
this.nEtatUpY = 30;
this.sLinkedSwitch = "switch7";
this.bExitSpot = true;
this.SetTo();
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch7" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator9", 1, 1, false]];
this.sActivateFrom = "ElevPlate9";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator2" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 105;
this.nEtatUpY = 78;
this.sLinkedSwitch = "switch1";
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch1" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator2", 1, 1, false]];
this.sActivateFrom = "ElevPlate2";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 105;
this.nEtatUpY = 58;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator4" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 150;
this.nEtatUpY = 100;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch4" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator3", 0, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch2" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator4", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator5" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 100;
this.nEtatUpY = 75;
this.sLinkedSwitch = "switch3";
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch3" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator5", 1, 1, false]];
this.sActivateFrom = "ElevPlate5";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator6" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 144;
this.nEtatUpY = 108;
this.sLinkedSwitch = "switch5";
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch5" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator6", 1, 1, false]];
this.sActivateFrom = "ElevPlate6";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator7" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 297;
this.nEtatUpY = 70;
this.sLinkedSwitch = "switch6";
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch6" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator7", 1, 1, false]];
this.sActivateFrom = "ElevPlate7";
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator8" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 152;
this.nEtatUpY = 102;
this.SetTo();
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder1" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 235;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator3" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 175;
this.nEtatUpY = 100;
this.sLinkedSwitch = "sandBag1";
this.SetTo();
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag1" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator3", 1, 1]];
this.sActivateFrom = "ElevPlate3";
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag2" in Symbol 703 MovieClip [__G2_Level12] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator8", 1, 1]];
this.sActivateFrom = "ElevPlate8";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 713 MovieClip "TrueGround" in Symbol 714 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 718 MovieClip [_G2_Elevator_blue] Frame 1
#initclip 46
Object.registerClass("_G2_Elevator_blue", Elevator);
#endinitclip
Symbol 722 MovieClip [_G2_Elevator_Pink] Frame 1
#initclip 47
Object.registerClass("_G2_Elevator_Pink", Elevator);
#endinitclip
Symbol 723 MovieClip [__G2_Level4] Frame 1
#initclip 48
Object.registerClass("__G2_Level4", CatWalk_ctrl);
#endinitclip
Instance of Symbol 338 MovieClip [_Elevator] "Elevator7" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 254;
this.nEtatUpY = 84;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator6" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 184;
this.nEtatUpY = 76;
this.SetTo();
}
Instance of Symbol 718 MovieClip [_G2_Elevator_blue] "Elevator4" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 194;
this.nEtatUpY = 40;
this.bExitSpot = true;
this.sLinkedSwitch = "switch5";
this.SetTo();
this.PersoNeeded = "Boy";
}
Instance of Symbol 348 MovieClip [_Switch] "switch1" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator6", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator5" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 215;
this.nEtatUpY = 111;
this.sLinkedSwitch = "switch6";
this.SetTo();
}
Instance of Symbol 722 MovieClip [_G2_Elevator_Pink] "Elevator3" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 194;
this.nEtatUpY = 40;
this.bExitSpot = true;
this.sLinkedSwitch = "switch4";
this.SetTo();
this.PersoNeeded = "Girl";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator2" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 214;
this.nEtatUpY = 114;
this.sLinkedSwitch = "switch3";
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator8" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 184;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 320;
this.nEtatUpY = 214;
this.sLinkedSwitch = "switch2";
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch3" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator2", 1, 1, false], ["Elevator5", 1, 1, false]];
this.sActivateFrom = "ElevPlate2";
}
Instance of Symbol 348 MovieClip [_Switch] "switch4" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator3", 1, 1, false]];
this.sActivateFrom = "ElevPlate3";
this.PersoNeeded = "Girl";
}
Instance of Symbol 348 MovieClip [_Switch] "switch5" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator4", 1, 1, false]];
this.sActivateFrom = "ElevPlate4";
this.PersoNeeded = "Boy";
}
Instance of Symbol 348 MovieClip [_Switch] "switch6" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator1", 1, 1, false]];
this.sActivateFrom = "ElevPlate5";
}
Instance of Symbol 348 MovieClip [_Switch] "switch2" in Symbol 723 MovieClip [__G2_Level4] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator6", 0, 0, false]];
this.sActivateFrom = "ElevPlate1";
}
Instance of Symbol 731 MovieClip "TrueGround" in Symbol 732 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 733 MovieClip [__G2_Level5] Frame 1
#initclip 49
Object.registerClass("__G2_Level5", CatWalk_ctrl);
#endinitclip
Instance of Symbol 338 MovieClip [_Elevator] "Elevator8" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 254;
this.nEtatUpY = 84;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator7" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 254;
this.nEtatUpY = 84;
this.SetTo();
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder1" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 118;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator4" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 104;
this.nEtatUpY = 32;
this.sLinkedSwitch = "switch8";
this.bExitSpot = true;
this.SetTo();
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 196;
this.nEtatUpY = 104;
this.sLinkedSwitch = "switch5";
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator5" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 216;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator6" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 184;
this.nEtatUpY = 104;
this.sLinkedSwitch = "switch6";
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch8" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator4", 1, 1, false]];
this.sActivateFrom = "ElevPlate4";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch9" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator5", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch5" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator1", 1, 1, false]];
this.sActivateFrom = "ElevPlate1";
}
Instance of Symbol 348 MovieClip [_Switch] "switch6" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator6", 1, 1, false]];
this.sActivateFrom = "ElevPlate6";
}
Instance of Symbol 348 MovieClip [_Switch] "switch4" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator1", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch3" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator1", 0, 0, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch1" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator1", 0, 0, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch2" in Symbol 733 MovieClip [__G2_Level5] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator1", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 739 MovieClip "TrueGround" in Symbol 740 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 741 MovieClip [__G2_Level6] Frame 1
#initclip 50
Object.registerClass("__G2_Level6", CatWalk_ctrl);
#endinitclip
Instance of Symbol 338 MovieClip [_Elevator] "Elevator2" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 105;
this.nEtatUpY = 45;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator3" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 105;
this.nEtatUpY = 45;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 104;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator4" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 258;
this.nEtatUpY = 60;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator8" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 314;
this.nEtatUpY = 274;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator7" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 314;
this.nEtatUpY = 274;
this.SetTo();
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder1" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 421;
this.bClimbWhenDown = false;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator9" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 181;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator6" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 314;
this.nEtatUpY = 274;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator5" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 314;
this.nEtatUpY = 274;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator13" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 104;
this.nEtatUpY = 55;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator12" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 104;
this.nEtatUpY = 55;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator11" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 104;
this.nEtatUpY = 55;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator10" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 104;
this.nEtatUpY = 55;
this.SetTo();
}
Instance of Symbol 722 MovieClip [_G2_Elevator_Pink] "Elevator14" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 143;
this.nEtatUpY = 60;
this.bExitSpot = true;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator15" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 284;
this.nEtatUpY = 50;
this.bExitSpot = true;
this.SetTo();
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder2" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 295;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 348 MovieClip [_Switch] "switch4" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator2", 1, 1, false], ["Elevator8", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch2" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator4", 1, 1, false], ["Elevator11", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch3" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator5", 1, 1, false], ["Elevator13", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch8" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator2", 1, 1, false], ["Elevator14", 1, 1, true, "Scooby_mc"]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch1" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator7", 1, 1, false], ["Elevator13", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch6" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator3", 1, 1, false], ["Elevator11", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch7" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator5", 1, 1, false], ["Elevator6", 1, 1, false], ["Elevator10", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 348 MovieClip [_Switch] "switch9" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator8", 1, 1, false], ["Elevator9", 1, 1, false], ["Elevator12", 1, 1, false]];
this.sActivateFrom = "TrueGround";
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag2" in Symbol 741 MovieClip [__G2_Level6] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator15", 1, 1]];
this.sActivateFrom = "ElevPlate15";
}
Instance of Symbol 750 MovieClip "TrueGround" in Symbol 751 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 752 MovieClip [__G2_Level7] Frame 1
#initclip 51
Object.registerClass("__G2_Level7", CatWalk_ctrl);
#endinitclip
Instance of Symbol 313 MovieClip [_Ladder] "Ladder1" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 296;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator5" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 228;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 313 MovieClip [_Ladder] "Ladder2" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatUpY = 111;
this.bClimbWhenUp = false;
this.nEtatDownY = 165;
this.bClimbWhenDown = true;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator1" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 232;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator6" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 228;
this.nEtatUpY = 104;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator2" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 192;
this.nEtatUpY = 64;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator3" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 192;
this.nEtatUpY = 68;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator4" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 104;
this.nEtatUpY = 274;
this.SetTo();
}
Instance of Symbol 338 MovieClip [_Elevator] "Elevator7" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "Up";
this.nEtatDownY = 228;
this.nEtatUpY = 104;
this.sLinkedSwitch = "switch1";
this.SetTo();
}
Instance of Symbol 335 MovieClip [_G2_Elevator_gold] "Elevator8" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "Down";
this.nEtatDownY = 164;
this.nEtatUpY = 64;
this.bExitSpot = true;
this.sLinkedSwitch = "switch2";
this.SetTo();
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch2" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "On";
this.SetTo();
this.Operate = [["Elevator8", 1, 1, false]];
this.sActivateFrom = "ElevPlate8";
this.PersoNeeded = "BoysAndGirls";
}
Instance of Symbol 348 MovieClip [_Switch] "switch1" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Etat = "Off";
this.SetTo();
this.Operate = [["Elevator7", 1, 1, false]];
this.sActivateFrom = "ElevPlate7";
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag2" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator6", 1, 1]];
this.sActivateFrom = "ElevPlate6";
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag3" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator5", 1, 1], ["Elevator3", 1, 1]];
this.sActivateFrom = "ElevPlate5";
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag1" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator6", 1, 1], ["Elevator1", 1, 1], ["Elevator2", 1, 1]];
this.sActivateFrom = "ElevPlate6";
}
Instance of Symbol 649 MovieClip [_sandbag] "sandBag4" in Symbol 752 MovieClip [__G2_Level7] Frame 1
onClipEvent (load) {
this.Operate = [["Elevator2", 1, 1], ["Elevator1", 1, 1]];
this.sActivateFrom = "ElevPlate2";
}
Symbol 753 MovieClip Frame 2
_global.Pack.ResetDone();
Symbol 814 Button
on (press) {
MainCTRL.Instance.playBtnSnd("Down");
ControlScroll.scrollUp = true;
}
on (release, releaseOutside) {
ControlScroll.scrollUp = false;
}
on (rollOver) {
MainCTRL.Instance.playBtnSnd("Over");
}
Symbol 815 Button
on (press) {
MainCTRL.Instance.playBtnSnd("Down");
ControlScroll.scrollDown = true;
}
on (release, releaseOutside) {
ControlScroll.scrollDown = false;
}
on (rollOver) {
MainCTRL.Instance.playBtnSnd("Over");
}
Instance of Symbol 807 MovieClip "ControlScroll" in Symbol 816 MovieClip Frame 1
onClipEvent (load) {
scrollUp = false;
scrollDown = false;
}
onClipEvent (enterFrame) {
if (scrollUp == true) {
_parent.txtHSNumber.scroll--;
_parent.txtHSName.scroll--;
_parent.txtHSScore.scroll--;
} else if (scrollDown == true) {
_parent.txtHSNumber.scroll++;
_parent.txtHSName.scroll++;
_parent.txtHSScore.scroll++;
}
}