Frame 1
var _oPreloaderScreen = (new com.disney.gem.games.LiloExpress.screens.PreloaderScreen(mcScreens.mcPreloader));
com.sarbakan.BaseDisneyController.bDEBUG = false;
new com.disney.gem.games.LiloExpress.Controller(this, _oPreloaderScreen);
Symbol 981 MovieClip [__Packages.com.sarbakan.utils.StateManaged] Frame 0
class com.sarbakan.utils.StateManaged
{
var mcRef, bPausable, sNextState, sState;
function StateManaged (_mcRef) {
setMC(_mcRef);
setPausable(true);
}
function setMC(_mcRef) {
mcRef = _mcRef;
}
function setPausable(_bPausable) {
bPausable = _bPausable;
}
function setState(_sState, _bInstant, _bForce) {
sNextState = _sState;
if (_bInstant) {
checkStateChange();
}
if (_bForce) {
mcRef.mcState.gotoAndPlay(1);
}
}
function getState() {
return(sState);
}
function stateStarting() {
return(mcRef.mcState._currentframe == 1);
}
function stateFinished() {
return(mcRef.mcState._currentframe == mcRef.mcState._totalframes);
}
function stateCurrentFrame() {
return(mcRef.mcState._currentframe);
}
function stateIsNot() {
var _local4 = false;
var _local3 = arguments.length - 1;
while (_local3 >= 0) {
if (arguments[_local3] == sState) {
_local4 = true;
break;
}
_local3--;
}
return(!_local4);
}
function destroy() {
delete mcRef;
}
function get Mc() {
return(mcRef);
}
function onUpdate() {
checkStateChange();
this["state_" + sState]();
}
function checkStateChange() {
if ((sNextState != undefined) && (sNextState != sState)) {
this[("state_" + sState) + "_end"]();
sState = sNextState;
sNextState = undefined;
mcRef.gotoAndStop(sState);
this[("state_" + sState) + "_init"]();
}
}
function onUpdatePaused() {
if (bPausable == false) {
onUpdate();
}
}
function onPause() {
if (bPausable) {
mcRef.mcState.stop();
}
}
function onUnPause() {
if (bPausable) {
mcRef.mcState.play();
}
}
}
Symbol 982 MovieClip [__Packages.com.sarbakan.utils.ScreenController] Frame 0
class com.sarbakan.utils.ScreenController extends com.sarbakan.utils.StateManaged
{
var setMC, setState, setPausable, oController, bInOut, fHideCallBack, mcRef, sState, stateFinished;
function ScreenController (_mcRef) {
super();
setMC(_mcRef);
setState(sSTATE_HIDDEN);
setPausable(false);
}
function setGameController(_oController) {
oController = _oController;
}
function show(_bInOut) {
bInOut = _bInOut;
if (bInOut) {
setState(sSTATE_IN, true);
} else {
setState(sSTATE_IDLE, true);
}
}
function hide(_fHideCallBack, _bInOutOverride) {
fHideCallBack = _fHideCallBack;
var _local2 = bInOut;
if (_bInOutOverride != undefined) {
_local2 = _bInOutOverride;
}
if (_local2) {
setState(sSTATE_OUT);
} else {
setState(sSTATE_HIDDEN, true);
fHideCallBack();
}
}
function getRef() {
return(mcRef);
}
function isInOutTransitionning() {
return(sState != sSTATE_IDLE);
}
function state_in() {
if (stateFinished()) {
setState(sSTATE_IDLE);
}
}
function state_out() {
if (stateFinished()) {
setState(sSTATE_HIDDEN, true);
fHideCallBack();
}
}
function state_in_init() {
mcRef.btBlocker.useHandCursor = false;
}
function state_idle_init() {
mcRef.btBlocker.useHandCursor = false;
}
function state_out_init() {
mcRef.btBlocker.useHandCursor = false;
}
static var sSTATE_HIDDEN = "hidden";
static var sSTATE_IN = "in";
static var sSTATE_IDLE = "idle";
static var sSTATE_OUT = "out";
}
Symbol 983 MovieClip [__Packages.com.disney.gem.games.LiloExpress.screens.PreloaderScreen] Frame 0
class com.disney.gem.games.LiloExpress.screens.PreloaderScreen extends com.sarbakan.utils.ScreenController
{
var oController, mcRef;
function PreloaderScreen (_mcRef) {
super(_mcRef);
}
function state_idle() {
var _local2 = com.disney.gem.games.LiloExpress.Controller(oController).mcTimeline.getBytesLoaded() / com.disney.gem.games.LiloExpress.Controller(oController).mcTimeline.getBytesTotal();
var _local3 = Math.round(_local2 * 100) + 1;
mcRef.mcState.mcBar.gotoAndStop(_local3);
if (_local2 == 1) {
com.disney.gem.games.LiloExpress.Controller(oController).onPreloadingDone();
}
}
}
Symbol 984 MovieClip [__Packages.com.sarbakan.BaseDisneyController] Frame 0
class com.sarbakan.BaseDisneyController
{
static var oInstance;
var mcTimeline, oPreloaderScreen, oMainBroadcaster, oFrameRate, aPopups, oTransitionManager, bSoundMuted, nLastSoundToggleTimer, bPaused, oDXDControllerWrapper, nGamePhase, oCurrentScreen, fScreenShowTransitionCallBack, fScreenHideCallBack, nLevel, nScore, bInstructionCanBeDisplayed, bInstructionActive, nLastUpdateTimer;
function BaseDisneyController (_mcTimeline, _oPreloaderScreen) {
oInstance = this;
mcTimeline = _mcTimeline;
_mcTimeline.stop();
oPreloaderScreen = _oPreloaderScreen;
oMainBroadcaster = new Object();
AsBroadcaster.initialize(oMainBroadcaster);
oMainBroadcaster.addListener(this);
if (bDEBUG) {
oFrameRate = new com.sarbakan.utils.FrameRateDisplayer(_mcTimeline, nFRAME_RATE, nGAME_STAGE_WIDTH);
oMainBroadcaster.addListener(oFrameRate);
} else {
Stage.showMenu = false;
mcTimeline._focusrect = false;
}
aPopups = new Array();
if (getControllerMode() == nCONTROLLER_MODE_DXD) {
setDXDCallback();
} else {
initStandAloneController();
}
}
static function getInstance() {
return(oInstance);
}
function init() {
setGamePhase(nGAME_PHASE_PACKAGING);
stopScreenContainers();
oTransitionManager = new com.sarbakan.utils.TransitionManager(mcTimeline.mcTransitions);
oMainBroadcaster.addListener(oTransitionManager);
bSoundMuted = false;
nLastSoundToggleTimer = getTimer();
}
function update(_nElapsed) {
if (bPaused) {
oMainBroadcaster.broadcastMessage("onUpdatePaused", _nElapsed);
} else {
oMainBroadcaster.broadcastMessage("onUpdate", _nElapsed);
}
checkGlobalKeys();
if (getControllerMode() == nCONTROLLER_MODE_DXD) {
bSoundMuted = oDXDControllerWrapper.isMuted();
}
}
function pause() {
if (!bPaused) {
bPaused = true;
oMainBroadcaster.broadcastMessage("onPause");
}
}
function unpause() {
if (bPaused) {
bPaused = false;
oMainBroadcaster.broadcastMessage("onUnPause");
}
}
function togglePause() {
if (bPaused) {
unpause();
} else {
pause();
}
}
function getControllerMode() {
var _local1;
if (com.disney.gem.base.BaseObject == undefined) {
_local1 = nCONTROLLER_MODE_STANDALONE;
} else {
_local1 = nCONTROLLER_MODE_DXD;
}
return(_local1);
}
function setGamePhase(_nPhase) {
nGamePhase = _nPhase;
switch (_nPhase) {
case nGAME_PHASE_PRELOADER :
mcTimeline.gotoAndStop("preloader");
break;
case nGAME_PHASE_PACKAGING :
mcTimeline.gotoAndStop("packaging");
break;
case nGAME_PHASE_INGAME :
mcTimeline.gotoAndStop("game");
}
}
function getGamePhase() {
return(nGamePhase);
}
function gameLog(_sText) {
if (getControllerMode() == nCONTROLLER_MODE_DXD) {
oDXDControllerWrapper.gameLog(_sText);
} else {
trace(_sText);
}
}
function showScreen(_oScreenController, _bInOut, _sTransitionID, _fMidTransitionCallBack) {
if (oCurrentScreen) {
hideCurrentScreen(com.sarbakan.utils.Delegate.create(this, showScreen, _oScreenController, _bInOut), _sTransitionID);
} else {
oCurrentScreen = _oScreenController;
oCurrentScreen.setGameController(this);
if (_sTransitionID != undefined) {
fScreenShowTransitionCallBack = _fMidTransitionCallBack;
oTransitionManager.playTransition(_sTransitionID, com.sarbakan.utils.Delegate.create(this, onScreenShowTransitionMiddle, _bInOut));
} else {
oCurrentScreen.show(_bInOut);
}
oMainBroadcaster.addListener(oCurrentScreen);
}
}
function hideCurrentScreen(_fHideCallBack, _sTransition) {
fScreenHideCallBack = _fHideCallBack;
if (_sTransition != undefined) {
oTransitionManager.playTransition(_sTransition, com.sarbakan.utils.Delegate.create(oCurrentScreen, oCurrentScreen.hide, com.sarbakan.utils.Delegate.create(this, onScreenHidden)));
} else {
oCurrentScreen.hide(com.sarbakan.utils.Delegate.create(this, onScreenHidden));
}
}
function showPopup(_oPopupController, _bInOut) {
var _local5 = false;
var _local2 = aPopups.length - 1;
while (_local2 >= 0) {
var _local3 = aPopups[_local2];
if (_oPopupController.getRef() == _local3.getRef()) {
_local5 = true;
_local3.destroy();
oMainBroadcaster.removeListener(_local3);
aPopups[_local2] = _oPopupController;
break;
}
_local2--;
}
if (!_local5) {
aPopups.push(_oPopupController);
}
_oPopupController.setGameController(this);
_oPopupController.show(_bInOut);
oMainBroadcaster.addListener(_oPopupController);
}
function setLevel(_nLevel) {
nLevel = _nLevel;
}
function getLevel() {
return(nLevel);
}
function setScore(_nScore) {
nScore = _nScore;
}
function increaseScore(_nIncrement) {
nScore = nScore + _nIncrement;
}
function getScore() {
return(nScore);
}
function allowInstructions() {
bInstructionCanBeDisplayed = true;
}
function disallowInstructions() {
bInstructionCanBeDisplayed = false;
}
function showInstructions() {
if (canShowInstructions()) {
bInstructionActive = true;
showInstructionsScreen();
}
}
function hideInstructions() {
if (canHideInstructions()) {
bInstructionActive = false;
hideInstructionsScreen();
}
}
function toggleSound() {
if ((getTimer() - nLastSoundToggleTimer) >= nSOUND_TOGGLE_DELAY) {
bSoundMuted = !bSoundMuted;
nLastSoundToggleTimer = getTimer();
if (getControllerMode() == nCONTROLLER_MODE_DXD) {
oDXDControllerWrapper.toggleSound();
} else {
toggleSoundStandalone();
}
}
}
function onPreloadingDone() {
hideCurrentScreen();
init();
}
function onGameStart() {
setLevel(1);
setScore(0);
}
function onLevelStart() {
if (getControllerMode() == nCONTROLLER_MODE_DXD) {
oDXDControllerWrapper.startLevel(nLevel, nScore);
}
}
function onLevelEnd() {
if (getControllerMode() == nCONTROLLER_MODE_DXD) {
oDXDControllerWrapper.endLevel(nLevel, nScore);
}
}
function onGameEnd() {
if (getControllerMode() == nCONTROLLER_MODE_DXD) {
oDXDControllerWrapper.endGame(nLevel, nScore);
}
}
function onTransitionStart(_mcTransition) {
}
function onTransitionMiddle(_mcTransition) {
}
function onEnterFrame() {
var _local2 = getTimer();
update(_local2 - nLastUpdateTimer);
nLastUpdateTimer = _local2;
}
function onScreenShowTransitionMiddle(_bInOut) {
fScreenShowTransitionCallBack();
oCurrentScreen.show(_bInOut);
}
function onScreenHidden() {
oMainBroadcaster.removeListener(oCurrentScreen);
delete oCurrentScreen;
fScreenHideCallBack();
}
function setDXDCallback() {
mcTimeline.init = com.sarbakan.utils.Delegate.create(this, initDXDController);
}
function initDXDController(_oOwner) {
oDXDControllerWrapper = new com.sarbakan.DXDControllerWrapper(this, mcTimeline, _oOwner);
return(oDXDControllerWrapper);
}
function initStandAloneController() {
mcTimeline.onEnterFrame = com.sarbakan.utils.Delegate.create(this, onEnterFrame);
nLastUpdateTimer = getTimer();
initPreloader();
}
function initPreloader() {
setGamePhase(nGAME_PHASE_PRELOADER);
showScreen(oPreloaderScreen);
}
function checkGlobalKeys() {
if (Key.isDown(nKEY_INSTRUCTIONS)) {
if (!bInstructionActive) {
showInstructions();
} else {
hideInstructions();
}
}
if (Key.isDown(nKEY_SOUND)) {
toggleSound();
}
}
function toggleSoundStandalone() {
var _local2 = new Sound(mcTimeline);
if (!bSoundMuted) {
_local2.setVolume(100);
} else {
_local2.setVolume(0);
}
}
function canShowInstructions() {
return((((!bInstructionActive) && (bInstructionCanBeDisplayed)) && (!oCurrentScreen.isInOutTransitionning())) && (!oTransitionManager.isTransitionning()));
}
function canHideInstructions() {
return(((bInstructionActive && (bInstructionCanBeDisplayed)) && (!oCurrentScreen.isInOutTransitionning())) && (!oTransitionManager.isTransitionning()));
}
function showInstructionsScreen() {
}
function hideInstructionsScreen() {
}
function stopScreenContainers() {
var _local3 = [mcTimeline.mcPopups, mcTimeline.mcScreens];
var _local2 = _local3.length - 1;
while (_local2 >= 0) {
for (var _local4 in _local3[_local2]) {
_local3[_local2][_local4].stop();
}
_local2--;
}
}
static var bDEBUG = true;
static var nFRAME_RATE = 30;
static var nCONTROLLER_MODE_STANDALONE = 1;
static var nCONTROLLER_MODE_DXD = 2;
static var nGAME_PHASE_PRELOADER = 1;
static var nGAME_PHASE_PACKAGING = 2;
static var nGAME_PHASE_INGAME = 3;
static var nKEY_INSTRUCTIONS = 72;
static var nKEY_SOUND = 77;
static var nGAME_STAGE_WIDTH = 580;
static var nGAME_STAGE_HEIGHT = 400;
static var nSOUND_TOGGLE_DELAY = 100;
}
Symbol 985 MovieClip [__Packages.com.sarbakan.utils.TransitionManager] Frame 0
class com.sarbakan.utils.TransitionManager extends com.sarbakan.utils.StateManaged
{
var setPausable, mcTransitionContainer, mcTransition, fMiddleCallBack, fEndCallBack, bTransitionning, setMC, setState, stateFinished, mcRef;
function TransitionManager (_mcTransition) {
super();
setPausable(false);
mcTransitionContainer = _mcTransition;
for (var _local3 in mcTransitionContainer) {
mcTransitionContainer[_local3].stop();
}
}
function playTransition(_sTransitionID, _fMiddleCallBack, _fEndCallBack) {
mcTransition = mcTransitionContainer["mc" + com.sarbakan.utils.MoreString.upperFirstChar(_sTransitionID)];
fMiddleCallBack = _fMiddleCallBack;
fEndCallBack = _fEndCallBack;
if (mcTransition == undefined) {
trace(("TransitionManager error: Unable to find mc" + com.sarbakan.utils.MoreString.upperFirstChar(_sTransitionID)) + " in transition movieclip");
} else {
bTransitionning = true;
setMC(mcTransition);
setState(sSTATE_IN);
}
}
function isTransitionning() {
return(bTransitionning);
}
function state_in() {
if (stateFinished()) {
setState(sSTATE_OUT);
fMiddleCallBack();
}
}
function state_out() {
if (stateFinished()) {
bTransitionning = false;
setState(sSTATE_HIDDEN);
fEndCallBack();
}
}
function state_in_init() {
com.sarbakan.BaseDisneyController.getInstance().onTransitionStart(mcTransition);
mcRef.btBlocker.useHandCursor = false;
}
function state_out_init() {
com.sarbakan.BaseDisneyController.getInstance().onTransitionMiddle(mcTransition);
mcRef.btBlocker.useHandCursor = false;
}
static var sSTATE_IN = "in";
static var sSTATE_OUT = "out";
static var sSTATE_HIDDEN = "hidden";
}
Symbol 986 MovieClip [__Packages.com.sarbakan.utils.MoreString] Frame 0
class com.sarbakan.utils.MoreString
{
function MoreString () {
}
static function pad(_sToPad, _sCharPad, _nMinLength, _sSideToPad) {
var _local1 = String(_sToPad);
while (_local1.length < _nMinLength) {
if (_sSideToPad == "RIGHT") {
_local1 = _local1 + _sCharPad;
} else {
_local1 = _sCharPad + _local1;
}
}
return(_local1);
}
static function trim(_sToTrim, _sCharTrim, _sSideToTrim) {
var _local1 = String(_sToTrim);
if (_sSideToTrim == "RIGHT") {
while (_local1.substr(_local1.length - 2, 1) == _sCharTrim) {
_local1 = _local1.slice(-1);
}
} else {
while (_local1.substr(0, 1) == _sCharTrim) {
_local1 = _local1.slice(1);
}
}
return(_local1);
}
static function replace(_sString, _sFind, _sReplace) {
return(_sString.split(_sFind).join(_sReplace));
}
static function formatTime(_nTime) {
var _local2 = _nTime;
var _local1 = Math.floor(_local2 / 60);
var _local3 = Math.round(_local2 - (_local1 * 60));
return((pad(String(_local1), "0", 2) + ":") + pad(String(_local3), "0", 2));
}
static function formatNumber(__sNumber, __nMinimumChar) {
var _local1 = String(__sNumber);
var _local3 = "";
var _local4 = _local1.length;
_local4 = _local4 / 3;
var _local5;
var _local2;
if (_local4 <= 1) {
_local5 = _local1;
if (_local5.length < __nMinimumChar) {
_local5 = "0" + _local5;
}
} else {
_local2 = _local4;
while (_local2 > 1) {
_local3 = (" " + _local1.substr(-3)) + _local3;
_local1 = _local1.substr(0, -3);
_local2--;
}
_local5 = _local1 + _local3;
if (_local5.length < __nMinimumChar) {
_local5 = "0" + _local5;
}
}
return(_local5);
}
static function upperFirstChar(_sString) {
return(_sString.substr(0, 1).toUpperCase() + _sString.substr(1));
}
static function lowerFirstChar(_sString) {
return(_sString.substr(0, 1).toLowerCase() + _sString.substr(1));
}
static function convertToBoolean(_sString) {
return(_sString.toLowerCase() == "true");
}
static function formatMoney(_nMoney, _sDelimiteur, _bDecimalOpt) {
var _local5;
var _local3;
var _local2;
var _local1;
var _local6;
if (_bDecimalOpt == undefined) {
_local6 = true;
} else {
_local6 = _bDecimalOpt;
}
_local5 = String(_nMoney).split(".");
if (_local5[1] != undefined) {
_local3 = _local5[1].substr(0, 2);
switch (_local3.length) {
case 0 :
_local3 = _local3 + "00";
break;
case 1 :
_local3 = _local3 + "0";
break;
case 2 :
break;
default :
_local3 = "00";
}
} else {
_local3 = "00";
}
_local1 = _local5[0];
_local2 = "";
while (_local1.length > 3) {
_local2 = (_sDelimiteur + _local1.substr(_local1.length - 3)) + _local2;
_local1 = _local1.substr(0, _local1.length - 3);
}
_local2 = _local1 + _local2;
if (_local6) {
return(((_local2 + ".") + _local3) + "$");
}
return(_local2 + " $");
}
static function getOrdinalSuffix(_nNumber) {
var _local2;
var _local1 = String(_nNumber);
if (((_local1.substr(-2, 2) == 11) || (_local1.substr(-2, 2) == 12)) || (_local1.substr(-2, 2) == 13)) {
_local2 = "th";
} else if (_local1.substr(-1, 1) == 1) {
_local2 = "st";
} else if (_local1.substr(-1, 1) == 2) {
_local2 = "nd";
} else if (_local1.substr(-1, 1) == 3) {
_local2 = "rd";
} else {
_local2 = "th";
}
return(_local2);
}
}
Symbol 987 MovieClip [__Packages.com.sarbakan.DXDControllerWrapper] Frame 0
class com.sarbakan.DXDControllerWrapper extends com.disney.gem.games.BaseGameController
{
var oRealController, __owner;
function DXDControllerWrapper (_oRealController, _mcTimeline, _oOwner) {
super(_mcTimeline, _oOwner);
oRealController = _oRealController;
}
function init() {
super.init();
oRealController.init();
}
function update(_nElapsed) {
oRealController.update(_nElapsed);
}
function toggleSound() {
__owner.onToggleSound();
}
function isMuted() {
return(!__owner.__soundOn);
}
function gameLog(_sText) {
__owner.gameLog(_sText, "game");
}
}
Symbol 988 MovieClip [__Packages.com.disney.gem.games.GameContainer] Frame 0
interface com.disney.gem.games.GameContainer
{
}
Symbol 989 MovieClip [__Packages.com.sarbakan.utils.FrameRateDisplayer] Frame 0
class com.sarbakan.utils.FrameRateDisplayer
{
var nMovieFPS, nUpdateCounter, nAverageFps, nCurrentFPS, nUpdateCount, mcDebug, nLastGetTimer;
function FrameRateDisplayer (_mcTimeline, _nMovieFPS, _nStageWidth) {
nMovieFPS = _nMovieFPS;
nUpdateCounter = 0;
nAverageFps = 0;
nCurrentFPS = nMovieFPS;
reset();
startDebug(_mcTimeline, _nStageWidth);
}
function get fps() {
return(nCurrentFPS);
}
function onUpdate() {
if ((++nUpdateCount) == nMovieFPS) {
computeFrameRate();
updateDebug();
}
}
function onUpdatePaused() {
onUpdate();
}
function startDebug(_mcTimeline, _nStageWidth) {
mcDebug = _mcTimeline.createEmptyMovieClip("PerformanceWatcherDebug", DEBUG_DEPTH);
mcDebug._x = (_nStageWidth - DEBUG_RIGHT_MARGIN) - 400;
mcDebug._y = DEBUG_TOP_MARGIN;
mcDebug.createTextField("field", 2, 0, 0, 400, 50);
var _local2 = new TextFormat();
_local2.font = DEBUG_FONT;
_local2.size = DEBUG_FONT_SIZE;
_local2.color = DEBUG_FONT_COLOR;
_local2.align = "right";
mcDebug.field.setNewTextFormat(_local2);
mcDebug.field.selectable = false;
mcDebug.createTextField("fieldShadow", 1, 1, 1, 400, 50);
var _local3 = new TextFormat();
_local3.font = DEBUG_FONT;
_local3.size = DEBUG_FONT_SIZE;
_local3.color = DEBUG_FONT_SHADOW_COLOR;
_local3.align = "right";
mcDebug.fieldShadow.setNewTextFormat(_local3);
mcDebug.fieldShadow.selectable = false;
}
function reset() {
nUpdateCount = 0;
nLastGetTimer = getTimer();
}
function computeFrameRate() {
var _local2 = getTimer() - nLastGetTimer;
var _local3 = _local2 / 1000;
nCurrentFPS = Math.round(nMovieFPS / _local3);
reset();
}
function updateDebug() {
if (mcDebug != undefined) {
nUpdateCounter++;
var _local2 = ((nCurrentFPS + " fps (avg ") + getAverage()) + ")";
mcDebug.field.text = _local2;
mcDebug.fieldShadow.text = _local2;
}
}
function getAverage() {
nAverageFps = nAverageFps + ((nCurrentFPS - nAverageFps) * (1 / nUpdateCounter));
var _local3 = "";
var _local2 = String(nAverageFps).split(".");
if (_local2[1] == undefined) {
_local3 = nAverageFps + ".00";
} else if (_local2[1].length == 1) {
_local3 = (_local2[0] + ".0") + _local2[1];
} else {
_local3 = (_local2[0] + ".") + _local2[1].substr(0, 2);
}
return(_local3);
}
static var DEBUG_DEPTH = 123456;
static var DEBUG_RIGHT_MARGIN = 0;
static var DEBUG_TOP_MARGIN = 0;
static var DEBUG_FONT = "Verdana";
static var DEBUG_FONT_SIZE = 10;
static var DEBUG_FONT_COLOR = 16777215;
static var DEBUG_FONT_SHADOW_COLOR = 0;
}
Symbol 990 MovieClip [__Packages.com.sarbakan.utils.Delegate] Frame 0
class com.sarbakan.utils.Delegate extends Object
{
var func;
function Delegate () {
super();
}
function DelegateArgs(f) {
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local3 = arguments.callee.target;
var _local4 = arguments.callee.func;
var _local2 = arguments.callee.arg;
_local2 = _local2.concat(arguments);
return(_local4.apply(_local3, _local2));
};
_local2.target = obj;
_local2.func = func;
_local2.arg = arguments.slice(2);
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 991 MovieClip [__Packages.com.disney.gem.games.LiloExpress.Controller] Frame 0
class com.disney.gem.games.LiloExpress.Controller extends com.sarbakan.BaseDisneyController
{
var nNbLevels, bEndLvlReach, sWaterAmbience, mcTimeline, showScreen, allowInstructions, onGameStart, setLevel, bPaused, unpause, setGamePhase, nLevel, oGame, oMainBroadcaster, oTransitionManager, onLevelStart, pause, oMenu, oQuitConfirm, nGamePhase, bInstructionActive, disallowInstructions, MusGame, SurfaceLoop, UnderwaterLoop, showPopup, hideCurrentScreen, onGameEnd, onLevelEnd, MusPack;
function Controller (_mcTimeline, _oPreloaderScreen) {
super(_mcTimeline, _oPreloaderScreen);
nNbLevels = com.disney.gem.games.LiloExpress.GameData.nNB_GAME_LEVELS;
bEndLvlReach = false;
sWaterAmbience = "Surface";
setScore(0);
}
static function getInstance() {
return(com.disney.gem.games.LiloExpress.Controller(com.sarbakan.BaseDisneyController.oInstance));
}
function init() {
super.init();
var _local3 = mcTimeline.createEmptyMovieClip("mcSoundManager", 10);
com.sarbakan.sound.SoundManager.doInit(_local3);
com.sarbakan.sound.SoundManager.setCategoryVolume(sSOUND_CAT_MUSIC, nSOUND_VOLUME_MUSIC);
com.sarbakan.sound.SoundManager.setCategoryVolume(sSOUND_CAT_SOUND, nSOUND_VOLUME_SOUND);
startMusPack();
showTitleScreen();
}
function showTitleScreen(_bShowTransition) {
if (_bShowTransition) {
showScreen(new com.disney.gem.games.LiloExpress.screens.TitleScreen(mcTimeline.mcScreens.mcTitle), false, sTRANSITION_DEFAULT);
} else {
showScreen(new com.disney.gem.games.LiloExpress.screens.TitleScreen(mcTimeline.mcScreens.mcTitle));
}
allowInstructions();
}
function startNewGame(_bUseTransit) {
fadeOutMusPack();
onGameStart();
setLevel(0);
setScore(0);
startFirstLevel(_bUseTransit);
}
function startFirstLevel(_bUseTransit) {
if (bPaused) {
unpause();
}
setGamePhase(com.sarbakan.BaseDisneyController.nGAME_PHASE_INGAME);
setLevel(nLevel + 1);
bEndLvlReach = false;
sWaterAmbience = "Surface";
oGame = new com.disney.gem.games.LiloExpress.GameEngine(this, mcTimeline.mcGame);
oMainBroadcaster.addListener(oGame);
if (_bUseTransit != false) {
oTransitionManager.playTransition("default", com.sarbakan.utils.Delegate.create(this, onTransitCloseStartLvl), com.sarbakan.utils.Delegate.create(this, onTransitDoneStartLvl));
}
onLevelStart();
}
function startNextLevel() {
if (bPaused) {
unpause();
}
setGamePhase(com.sarbakan.BaseDisneyController.nGAME_PHASE_INGAME);
setLevel(nLevel + 1);
bEndLvlReach = false;
sWaterAmbience = "Surface";
oGame = new com.disney.gem.games.LiloExpress.GameEngine(this, mcTimeline.mcGame);
oMainBroadcaster.addListener(oGame);
onLevelStart();
}
function restartLevel() {
if (bPaused) {
unpause();
}
setGamePhase(com.sarbakan.BaseDisneyController.nGAME_PHASE_INGAME);
oGame = new com.disney.gem.games.LiloExpress.GameEngine(this, mcTimeline.mcGame);
oMainBroadcaster.addListener(oGame);
oTransitionManager.playTransition("default", com.sarbakan.utils.Delegate.create(this, onTransitCloseStartLvl), com.sarbakan.utils.Delegate.create(this, onTransitDoneStartLvl));
onLevelStart();
}
function showInstructionsScreen() {
pause();
if ((oMenu.sState == "in") or (oMenu.sState == "idle")) {
oMenu.hide();
} else if (oMenu.sState == "out") {
oMenu.sCloseBtn = "Help";
}
if ((oQuitConfirm.sState == "in") or (oQuitConfirm.sState == "idle")) {
oQuitConfirm.hide();
}
if (nGamePhase == com.sarbakan.BaseDisneyController.nGAME_PHASE_INGAME) {
fadeOutMusGame();
oTransitionManager.playTransition("default", com.sarbakan.utils.Delegate.create(this, onTransitCloseOpenHelp), com.sarbakan.utils.Delegate.create(this, onTransitDoneOpenHelp));
} else {
showScreen(new com.disney.gem.games.LiloExpress.screens.HelpScreen(mcTimeline.mcScreens.mcHelp), false, sTRANSITION_DEFAULT);
}
}
function showInstructionsScreen2() {
showScreen(new com.disney.gem.games.LiloExpress.screens.Help2Screen(mcTimeline.mcScreens.mcHelp2), false, sTRANSITION_DEFAULT);
}
function forceInstructionActive() {
bInstructionActive = true;
}
function hideInstructionsScreen() {
if (nGamePhase == com.sarbakan.BaseDisneyController.nGAME_PHASE_INGAME) {
fadeOutMusPack();
oTransitionManager.playTransition("default", com.sarbakan.utils.Delegate.create(this, onTransitCloseQuitHelp), com.sarbakan.utils.Delegate.create(this, onTransitDoneQuitHelp));
} else {
disallowInstructions();
startNewGame(false);
oTransitionManager.playTransition("default", com.sarbakan.utils.Delegate.create(this, onTransitCloseStartLvl), com.sarbakan.utils.Delegate.create(this, onTransitDoneStartLvl));
}
}
function openMenu() {
pause();
MusGame.setFadeRate(2);
MusGame.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nMUS_GAME_VOLUME_IN_MENU);
if (sWaterAmbience == "Surface") {
SurfaceLoop.setFadeRate(10);
SurfaceLoop.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nWATER_AMBIENCE_VOLUME_IN_MENU, false);
} else {
UnderwaterLoop.setFadeRate(10);
UnderwaterLoop.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nWATER_AMBIENCE_VOLUME_IN_MENU, false);
}
showPopup(new com.disney.gem.games.LiloExpress.popups.MenuPopup(mcTimeline.mcPopups.mcMenu), true);
}
function onWinLevel() {
pause();
oTransitionManager.playTransition("default", com.sarbakan.utils.Delegate.create(this, onTransitCloseWinLevel), com.sarbakan.utils.Delegate.create(this, onTransitDoneWinLevel));
fadeOutMusGame();
if (oMenu.sState != "hidden") {
oMenu.setState("hidden");
}
}
function onGameLose() {
pause();
oTransitionManager.playTransition("default", com.sarbakan.utils.Delegate.create(this, onTransitCloseLoseGame), com.sarbakan.utils.Delegate.create(this, onTransitDoneLoseGame));
fadeOutMusGame();
if (oMenu.sState != "hidden") {
oMenu.setState("hidden");
}
}
function onGameWon() {
showScreen(new com.disney.gem.games.LiloExpress.screens.EndScreen(mcTimeline.mcScreens.mcWin), false, sTRANSITION_DEFAULT, com.sarbakan.utils.Delegate.create(this, setGamePhase, com.sarbakan.BaseDisneyController.nGAME_PHASE_PACKAGING));
}
function onTransitCloseStartLvl() {
hideCurrentScreen();
oGame.init();
}
function onTransitDoneStartLvl() {
showPopup(new com.disney.gem.games.LiloExpress.popups.ShowLevel(mcTimeline.mcPopups.mcShowLevel), true);
}
function onTransitCloseOpenHelp() {
showScreen(new com.disney.gem.games.LiloExpress.screens.HelpScreen(mcTimeline.mcScreens.mcHelp), false);
}
function onTransitDoneOpenHelp() {
startMusPack();
}
function onTransitCloseQuitHelp() {
if (nGamePhase == com.sarbakan.BaseDisneyController.nGAME_PHASE_INGAME) {
hideCurrentScreen(null);
} else {
showScreen(new com.disney.gem.games.LiloExpress.screens.TitleScreen(mcTimeline.mcScreens.mcTitle), false);
}
}
function onTransitDoneQuitHelp() {
if (nGamePhase == com.sarbakan.BaseDisneyController.nGAME_PHASE_INGAME) {
startMusGame();
unpause();
}
}
function onTransitCloseLoseGame() {
hideCurrentScreen(null);
oGame.deleteObject();
setGamePhase(com.sarbakan.BaseDisneyController.nGAME_PHASE_PACKAGING);
disallowInstructions();
showScreen(new com.disney.gem.games.LiloExpress.screens.EndScreen(mcTimeline.mcScreens.mcLose), false);
onGameEnd();
}
function onTransitDoneLoseGame() {
startMusPack();
}
function onTransitCloseWinLevel() {
hideCurrentScreen(null);
oGame.deleteObject();
if (nLevel < nNbLevels) {
onLevelEnd();
startNextLevel();
oGame.init();
} else {
setGamePhase(com.sarbakan.BaseDisneyController.nGAME_PHASE_PACKAGING);
disallowInstructions();
showScreen(new com.disney.gem.games.LiloExpress.screens.WinScreen(mcTimeline.mcScreens.mcWin), false);
onGameEnd();
}
}
function onTransitDoneWinLevel() {
if (nGamePhase == com.sarbakan.BaseDisneyController.nGAME_PHASE_INGAME) {
showPopup(new com.disney.gem.games.LiloExpress.popups.ShowLevel(mcTimeline.mcPopups.mcShowLevel), true);
} else {
startMusPack();
}
}
function setScore(_nScore) {
super.setScore(_nScore);
oGame.oGameScreen.showScore();
}
function increaseScore(_nIncrement) {
super.increaseScore(_nIncrement);
oGame.oGameScreen.showScore();
}
function startMusPack() {
MusPack = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_MUSIC, "MusPack", com.disney.gem.games.LiloExpress.GameData.nMUS_PACK_VOLUME, 10000, true);
}
function fadeInMusPack() {
MusPack = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_MUSIC, "MusPack", 0, 10000, true);
MusPack.setFadeRate(2);
MusPack.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nMUS_PACK_VOLUME);
}
function fadeOutMusPack() {
MusPack.setFadeRate(2);
MusPack.doFadeTo(0);
}
function startMusGame() {
MusGame = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_MUSIC, "MusGame", com.disney.gem.games.LiloExpress.GameData.nMUS_GAME_VOLUME, 10000, true);
if (sWaterAmbience == "Surface") {
SurfaceLoop = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_MUSIC, "SurfaceLoop", com.disney.gem.games.LiloExpress.GameData.nSURFACE_LOOP_VOLUME, 10000, true);
} else {
UnderwaterLoop = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_MUSIC, "UnderwaterLoop", com.disney.gem.games.LiloExpress.GameData.nUNDERWATER_LOOP_VOLUME, 10000, true);
}
}
function fadeInMusGame() {
MusGame = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_MUSIC, "MusGame", 0, 10000, true);
MusGame.setFadeRate(2);
MusGame.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nMUS_GAME_VOLUME);
if (sWaterAmbience == "Surface") {
SurfaceLoop = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_MUSIC, "SurfaceLoop", 0, 10000, true);
SurfaceLoop.setFadeRate(2);
SurfaceLoop.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nSURFACE_LOOP_VOLUME);
} else {
UnderwaterLoop = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_MUSIC, "UnderwaterLoop", 0, 10000, true);
UnderwaterLoop.setFadeRate(2);
UnderwaterLoop.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nUNDERWATER_LOOP_VOLUME);
}
}
function fadeOutMusGame() {
MusGame.setFadeRate(2);
MusGame.doFadeTo(0);
if (sWaterAmbience == "Surface") {
SurfaceLoop.setFadeRate(2);
SurfaceLoop.doFadeTo(0);
} else {
UnderwaterLoop.setFadeRate(2);
UnderwaterLoop.doFadeTo(0);
}
}
function switchWaterAmbience() {
if (sWaterAmbience == "Surface") {
sWaterAmbience = "Underwater";
UnderwaterLoop = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_MUSIC, "UnderwaterLoop", 0, 10000, true);
UnderwaterLoop.setFadeRate(5);
UnderwaterLoop.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nUNDERWATER_LOOP_VOLUME);
SurfaceLoop.setFadeRate(5);
SurfaceLoop.doFadeTo(0);
} else {
sWaterAmbience = "Surface";
SurfaceLoop = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_MUSIC, "SurfaceLoop", 0, 10000, true);
SurfaceLoop.setFadeRate(5);
SurfaceLoop.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nSURFACE_LOOP_VOLUME);
UnderwaterLoop.setFadeRate(5);
UnderwaterLoop.doFadeTo(0);
}
}
function onTransitionStart(_mcTransition) {
super.onTransitionStart(_mcTransition);
var _local2 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_SOUND, "Transition", com.disney.gem.games.LiloExpress.GameData.nTRANSITION_VOLUME, 0, true);
}
function playButtonClic1() {
var _local1 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(sSOUND_CAT_SOUND, "ButtonClic1", com.disney.gem.games.LiloExpress.GameData.nBUTTON_CLIC1_VOLUME, 0, true);
}
static var sTRANSITION_DEFAULT = "default";
static var sSOUND_CAT_MUSIC = "Music";
static var nSOUND_VOLUME_MUSIC = 100;
static var sSOUND_CAT_SOUND = "Sfx";
static var nSOUND_VOLUME_SOUND = 80;
}
Symbol 992 MovieClip [__Packages.com.disney.gem.games.LiloExpress.GameEngine] Frame 0
class com.disney.gem.games.LiloExpress.GameEngine
{
var oController, mcGame, oGameScreen;
function GameEngine (_oController, _mcGame) {
oController = _oController;
mcGame = _mcGame;
}
function init() {
oGameScreen = new com.disney.gem.games.LiloExpress.screens.GameScreen(mcGame, "oGameScreen", oController);
}
function deleteObject() {
oGameScreen.deleteObject();
}
}
Symbol 993 MovieClip [__Packages.com.disney.gem.games.LiloExpress.screens.GameScreen] Frame 0
class com.disney.gem.games.LiloExpress.screens.GameScreen extends com.sarbakan.utils.ScreenController
{
var oController, sName, nLevel, nIndexName, oLevelData, aItemsToClean, nIndexNameFish, nIndexDepthFish, nIndexDepthHoleFish, nIndexShowPts, nCenterScrX, mcRef, oImpactManager, oFishesManager, oActivationManager, oBackground, oWaterBg, oWaterSurface, oParallax, oPlayer, sState;
function GameScreen (_mcRef, _sName) {
super(_mcRef);
oController = com.disney.gem.games.LiloExpress.Controller.getInstance();
sName = _sName;
nLevel = oController.getLevel();
nIndexName = 1;
oLevelData = new Object();
aItemsToClean = new Array();
nIndexNameFish = 1;
nIndexDepthFish = 10;
nIndexDepthHoleFish = 10;
nIndexShowPts = 10;
nCenterScrX = com.disney.gem.games.LiloExpress.GameData.nSCREEN_WIDTH / 2;
setLevelData();
createScreenObjects();
oController.oMainBroadcaster.addListener(this);
oController.pause();
mcRef.mcHud.btMenu.onRelease = com.sarbakan.utils.Delegate.create(this, onBtMenu);
showScore();
}
function onBtMenu() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).openMenu();
}
function setLevelData() {
oLevelData = new Object();
var _local2 = 1;
while (_local2 <= com.disney.gem.games.LiloExpress.game_obj.lvls_data.PartsData["nNbPartsLevel" + nLevel]) {
oLevelData["Part" + _local2] = com.disney.gem.games.LiloExpress.game_obj.lvls_data.PartsData[((("giveLevel" + nLevel) + "Part") + _local2) + "Data"]();
_local2++;
}
}
function createScreenObjects() {
createImpactManager();
createFishesManager();
if (com.disney.gem.games.LiloExpress.GameData.nUSE_ACTIVATION_SYS == true) {
createActivationManager();
}
var _local2 = new Array();
for (var _local5 in oLevelData) {
for (var _local3 in oLevelData[_local5]) {
if (oLevelData[_local5][_local3].bGroundCollider == true) {
_local2.push(oLevelData[_local5][_local3]);
} else {
this["create" + oLevelData[_local5][_local3].sItemType](oLevelData[_local5][_local3]);
}
}
}
for (var _local4 in _local2) {
this["create" + _local2[_local4].sItemType](_local2[_local4]);
}
delete oLevelData;
replaceActingOrder();
distributeBgRef();
}
function createImpactManager() {
oImpactManager = new com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ImpactManager("oImpactManager", this);
aItemsToClean.push("oImpactManager");
}
function createFishesManager() {
var _local2 = new Object();
_local2.sName = "oFishesManager";
_local2.oOwner = this;
_local2.bStateInUse = true;
_local2.bActivatedItem = false;
_local2.bFixItem = false;
oFishesManager = new com.disney.gem.games.LiloExpress.game_obj.FishesManager(_local2);
aItemsToClean.push("oFishesManager");
}
function createActivationManager() {
var _local2 = new Object();
_local2.sName = "oActivationManager";
_local2.oOwner = this;
_local2.bStateInUse = true;
_local2.bActivatedItem = false;
_local2.bFixItem = false;
oActivationManager = new com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ActivationManager(_local2);
aItemsToClean.push("oActivationManager");
}
function replaceActingOrder() {
oController.oMainBroadcaster.addListener(oBackground);
oController.oMainBroadcaster.addListener(oWaterBg);
oController.oMainBroadcaster.addListener(oWaterSurface);
oController.oMainBroadcaster.addListener(oParallax);
}
function distributeBgRef() {
oController.oMainBroadcaster.broadcastMessage("setBackground", oBackground);
oController.oMainBroadcaster.broadcastMessage("setRelatedBgVars");
}
function createBackground(_oItemData) {
var _local3 = "oBackground";
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBgContainer;
_oItemData.mcRef = mcRef.mcBg;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = false;
_oItemData.bFixItem = false;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.Background(_oItemData);
aItemsToClean.push(_local3);
oController.oMainBroadcaster.removeListener(oBackground);
}
function createLevel1Bg(_oItemData) {
createBackground(_oItemData);
}
function createLevel2Bg(_oItemData) {
createBackground(_oItemData);
}
function createLevel3Bg(_oItemData) {
createBackground(_oItemData);
}
function createLevel4Bg(_oItemData) {
createBackground(_oItemData);
}
function createLevel5Bg(_oItemData) {
createBackground(_oItemData);
}
function createParallax(_oItemData) {
var _local3 = "oParallax";
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcParallax.mcParallaxContainer;
_oItemData.mcRef = mcRef.mcParallax;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = false;
_oItemData.bFixItem = false;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.Parallax(_oItemData);
aItemsToClean.push(_local3);
oController.oMainBroadcaster.removeListener(oParallax);
}
function createWaterBg(_oItemData) {
var _local3 = "oWaterBg";
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcWaterBgContainer;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = false;
_oItemData.bFixItem = false;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.WaterBg(_oItemData);
aItemsToClean.push(_local3);
oController.oMainBroadcaster.removeListener(oWaterBg);
}
function createWaterSurface(_oItemData) {
var _local3 = "oWaterSurface";
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcWaterSurfaceContainer;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = false;
_oItemData.bFixItem = false;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.WaterSurface(_oItemData);
aItemsToClean.push(_local3);
oController.oMainBroadcaster.removeListener(oWaterSurface);
}
function createTopBlocker(_oItemData) {
var _local3 = ("o" + _oItemData.sItemType) + nIndexName;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBackIems;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = true;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.scroll_sys.TopBlocker(_oItemData);
aItemsToClean.push(_local3);
}
function createBottomBlocker(_oItemData) {
var _local3 = ("o" + _oItemData.sItemType) + nIndexName;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBackIems;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = true;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.scroll_sys.BottomBlocker(_oItemData);
aItemsToClean.push(_local3);
}
function createRightBlocker(_oItemData) {
var _local3 = ("o" + _oItemData.sItemType) + nIndexName;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBackIems;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = true;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.scroll_sys.RightBlocker(_oItemData);
aItemsToClean.push(_local3);
}
function createLeftBlocker(_oItemData) {
var _local3 = ("o" + _oItemData.sItemType) + nIndexName;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBackIems;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = true;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.scroll_sys.LeftBlocker(_oItemData);
aItemsToClean.push(_local3);
}
function createRightSlope(_oItemData) {
var _local3 = ("o" + _oItemData.sItemType) + nIndexName;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBackIems;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = true;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.scroll_sys.RightSlope(_oItemData);
aItemsToClean.push(_local3);
}
function createLeftSlope(_oItemData) {
var _local3 = ("o" + _oItemData.sItemType) + nIndexName;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBackIems;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = true;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.scroll_sys.LeftSlope(_oItemData);
aItemsToClean.push(_local3);
}
function createSurfaceBlocker(_oItemData) {
var _local3 = ("o" + _oItemData.sItemType) + nIndexName;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBackIems;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = true;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.SurfaceBlocker(_oItemData);
aItemsToClean.push(_local3);
}
function createPlayer(_oItemData) {
var _local3 = "oPlayer";
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcPlayers;
_oItemData.sStateAtStart = "IdleOut";
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = false;
_oItemData.bFixItem = false;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.Player(_oItemData);
aItemsToClean.push(_local3);
}
function createFollower(_oItemData) {
var _local3 = "oFollower";
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBackIems;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = false;
_oItemData.bFixItem = false;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.Follower(_oItemData);
aItemsToClean.push(_local3);
}
function createSurfer(_oItemData) {
var _local3 = "oSurfer";
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcSurferItem;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = false;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.Surfer(_oItemData);
aItemsToClean.push(_local3);
}
function createBubbleJet(_oItemData) {
var _local3 = ("o" + _oItemData.sItemType) + nIndexName;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBackIems;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = false;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.BubbleJet(_oItemData);
aItemsToClean.push(_local3);
}
function createBabyFishHole(_oItemData) {
var _local3 = ("o" + _oItemData.sItemType) + nIndexName;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBackIems;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = true;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.BabyFishHole(_oItemData);
aItemsToClean.push(_local3);
}
function createSeaSnakeHole(_oItemData) {
var _local3 = ("o" + _oItemData.sItemType) + nIndexName;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBackIems;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = true;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.SeaSnakeHole(_oItemData);
aItemsToClean.push(_local3);
}
function createBabyFish(_oItemData) {
var _local3 = ("o" + _oItemData.sItemType) + nIndexName;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcBabyFish;
_oItemData.nAttachDepth = nIndexDepthHoleFish;
_oItemData.nScaleX = 100;
_oItemData.nScaleY = 100;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = false;
_oItemData.bFixItem = false;
_oItemData.oPlayer = oPlayer;
nIndexDepthHoleFish++;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.BabyFish(_oItemData);
aItemsToClean.push(_local3);
}
function createSeaSnake(_oItemData) {
var _local3 = "oSeaSnake" + nIndexName;
_oItemData.sItemType = "SeaSnake";
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.sItemType = "SeaSnake";
_oItemData.sFishSpecie = "SeaSnake";
_oItemData.sAttachLink = "SeaSnake";
_oItemData.mcContainer = mcRef.mcBg.mcSeaSnakes;
_oItemData.nAttachDepth = nIndexDepthHoleFish;
_oItemData.nScaleX = 100;
_oItemData.nScaleY = 100;
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = false;
nIndexDepthHoleFish++;
nIndexName++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.SeaSnake(_oItemData);
aItemsToClean.push(_local3);
}
function createFish(_oItemData) {
var _local3 = "oFish" + nIndexNameFish;
_oItemData.sName = _local3;
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcFishes;
_oItemData.sItemType = _oItemData.sFishSpecie;
_oItemData.sAttachLink = _oItemData.sFishSpecie;
_oItemData.nAttachDepth = nIndexDepthFish;
_oItemData.nScaleX = 100;
_oItemData.nScaleY = 100;
_oItemData.bGroundCollider = false;
_oItemData.sStateAtStart = "Swim";
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = true;
_oItemData.bFixItem = false;
_oItemData.oBackground = oBackground;
_oItemData.oFishesManager = oFishesManager;
_oItemData.nMinBoundX = 200;
_oItemData.nMinBoundY = 1000;
nIndexNameFish++;
nIndexDepthFish++;
switch (_oItemData.sFishSpecie) {
case "JellyFish" :
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.JellyFish(_oItemData);
break;
default :
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.Fish(_oItemData);
}
oFishesManager.increaseNbFishes();
aItemsToClean.push(_local3);
}
function createEel(_oItemData) {
_oItemData.sFishSpecie = _oItemData.sItemType;
if (_oItemData.nPosX <= nCenterScrX) {
_oItemData.sDirection = "Right";
} else {
_oItemData.sDirection = "Left";
}
createFish(_oItemData);
oFishesManager.increaseMaxNbFishes();
}
function createSmallFish1(_oItemData) {
_oItemData.sFishSpecie = _oItemData.sItemType;
if (_oItemData.nPosX <= nCenterScrX) {
_oItemData.sDirection = "Right";
} else {
_oItemData.sDirection = "Left";
}
createFish(_oItemData);
oFishesManager.increaseMaxNbFishes();
}
function createSmallFish2(_oItemData) {
_oItemData.sFishSpecie = _oItemData.sItemType;
if (_oItemData.nPosX <= nCenterScrX) {
_oItemData.sDirection = "Right";
} else {
_oItemData.sDirection = "Left";
}
createFish(_oItemData);
oFishesManager.increaseMaxNbFishes();
}
function createSmallFish3(_oItemData) {
_oItemData.sFishSpecie = _oItemData.sItemType;
if (_oItemData.nPosX <= nCenterScrX) {
_oItemData.sDirection = "Right";
} else {
_oItemData.sDirection = "Left";
}
createFish(_oItemData);
oFishesManager.increaseMaxNbFishes();
}
function createTurtle(_oItemData) {
_oItemData.sFishSpecie = _oItemData.sItemType;
if (_oItemData.nPosX <= nCenterScrX) {
_oItemData.sDirection = "Right";
} else {
_oItemData.sDirection = "Left";
}
createFish(_oItemData);
oFishesManager.increaseMaxNbFishes();
}
function createJellyFish(_oItemData) {
_oItemData.sFishSpecie = _oItemData.sItemType;
if (_oItemData.nPosX <= nCenterScrX) {
_oItemData.sDirection = "Right";
} else {
_oItemData.sDirection = "Left";
}
createFish(_oItemData);
oFishesManager.increaseMaxNbFishes();
}
function createDolphin(_oItemData) {
_oItemData.sFishSpecie = _oItemData.sItemType;
if (_oItemData.nPosX <= nCenterScrX) {
_oItemData.sDirection = "Right";
} else {
_oItemData.sDirection = "Left";
}
createFish(_oItemData);
oFishesManager.increaseMaxNbFishes();
}
function createShowPts(_oItemData) {
var _local3 = "oShowPts" + nIndexShowPts;
_oItemData.sName = _local3;
_oItemData.sItemType = "ShowPts";
_oItemData.oOwner = this;
_oItemData.mcContainer = mcRef.mcBg.mcShowPts;
_oItemData.sAttachLink = "ShowPts";
_oItemData.nAttachDepth = nIndexShowPts;
(_oItemData.nScaleX = 100);
(_oItemData.nScaleY = 100);
(_oItemData.bGroundCollider = false);
_oItemData.bStateInUse = true;
_oItemData.bActivatedItem = false;
_oItemData.bFixItem = false;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.ShowPts(_oItemData);
nIndexShowPts++;
}
function showScore() {
mcRef.mcHud.mcScore.txtScoreFront = oController.getScore();
mcRef.mcHud.mcScore.txtScoreBack = oController.getScore();
}
function onUpdate() {
this["state_" + sState]();
}
function onUpdatePaused() {
onUpdate();
}
function setState(_sState) {
sState = _sState;
}
function deleteObject() {
var _local2 = aItemsToClean.length - 1;
while (_local2 >= 0) {
this[aItemsToClean[_local2]].deleteObject();
_local2--;
}
oImpactManager.deleteObject();
oController.oMainBroadcaster.removeListener(this);
delete oController.oGame;
}
}
Symbol 994 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ImpactManager] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ImpactManager
{
var oImpactBroadcaster, oSlopeImpactBroadcaster, aItemsToValidate, aImpactItemsX, aImpactItemsY, nAngleMoveImpact, sName, oOwner;
function ImpactManager (_sName, _oOwner) {
oImpactBroadcaster = new Object();
AsBroadcaster.initialize(oImpactBroadcaster);
oSlopeImpactBroadcaster = new Object();
AsBroadcaster.initialize(oSlopeImpactBroadcaster);
aItemsToValidate = new Array();
aImpactItemsX = new Array();
aImpactItemsY = new Array();
nAngleMoveImpact = 1;
}
function addCollider(_oItem) {
oImpactBroadcaster.addListener(_oItem);
}
function removeCollider(_oItem) {
oImpactBroadcaster.removeListener(_oItem);
}
function addSlopeCollider(_oItem) {
oSlopeImpactBroadcaster.addListener(_oItem);
}
function removeSlopeCollider(_oItem) {
oSlopeImpactBroadcaster.removeListener(_oItem);
}
function addItemToValidate(_oItem) {
aItemsToValidate.push(_oItem);
}
function checkForImpact(_oMovingItem) {
var _local2;
var _local6;
var _local5;
var _local7;
var _local8;
var _local13;
var _local16;
var _local11 = oSlopeImpactBroadcaster._listeners.length - 1;
while (_local11 >= 0) {
_local2 = _oMovingItem.returnImpactData();
if (_local2.nMaxMoveX > 0) {
_local6 = _local2.nPosX + _local2.nMaxMoveX;
_local5 = _local2.nPosX;
} else if (_local2.nMaxMoveX < 0) {
_local6 = _local2.nPosX;
_local5 = _local2.nPosX + _local2.nMaxMoveX;
} else {
_local6 = _local2.nPosX;
_local5 = _local2.nPosX;
}
if (_local2.nMaxMoveY > 0) {
_local8 = _local2.nPosY + _local2.nMaxMoveY;
_local7 = _local2.nPosY;
} else if (_local2.nMaxMoveY < 0) {
_local8 = _local2.nPosY;
_local7 = _local2.nPosY + _local2.nMaxMoveY;
} else {
_local8 = _local2.nPosY;
_local7 = _local2.nPosY;
}
var _local12 = oSlopeImpactBroadcaster._listeners[_local11].checkInReach(_local2, _local6, _local5, _local8, _local7);
if (_local12 == true) {
var _local10 = oSlopeImpactBroadcaster._listeners[_local11].giveSlopeData(_local2);
if ((_local13 == undefined) or ((_local10 != undefined) and (_local10.nYOnSlopeAtDest <= _local13))) {
_local13 = _local10.nYOnSlopeAtDest;
_local16 = _local10;
}
}
_local11--;
}
if (_local13 != undefined) {
if (_oMovingItem.nMaxMoveY > 0) {
var _local19 = _local13 - _oMovingItem.nPosY;
if (_local19 <= _oMovingItem.nMaxMoveY) {
_oMovingItem.nMaxMoveY = _local19;
if ((_oMovingItem.nMaxMoveX != 0) and (_local13 <= _oMovingItem.nPosY)) {
var _local17 = Math.pow(_oMovingItem.nMaxMoveX, 3) / (Math.pow(_oMovingItem.nMaxMoveX, 2) + Math.pow(_oMovingItem.nMaxMoveY, 2));
var _local18 = (_local17 / _oMovingItem.nMaxMoveX) * _oMovingItem.nMaxMoveY;
_oMovingItem.nMaxMoveX = _local17;
_oMovingItem.nMaxMoveY = _local18;
if (_local18 < 0) {
_oMovingItem.nMaxMoveY = _oMovingItem.nMaxMoveY - 1;
}
}
_oMovingItem.nRealMoveX = _oMovingItem.nMaxMoveX;
_oMovingItem.nRealMoveY = _oMovingItem.nMaxMoveY;
_local16.oItem.doImpactResult(_oMovingItem);
}
} else {
var _local19 = _local13 - _oMovingItem.nPosY;
if (_local13 <= _local2.nDestY) {
_oMovingItem.nMaxMoveY = _local19;
if ((_oMovingItem.nMaxMoveX != 0) and (_local13 <= _oMovingItem.nPosY)) {
var _local17 = Math.pow(_oMovingItem.nMaxMoveX, 3) / (Math.pow(_oMovingItem.nMaxMoveX, 2) + Math.pow(_oMovingItem.nMaxMoveY, 2));
var _local18 = (_local17 / _oMovingItem.nMaxMoveX) * _oMovingItem.nMaxMoveY;
_oMovingItem.nMaxMoveX = _local17;
_oMovingItem.nMaxMoveY = _local18;
if (_local18 < 0) {
_oMovingItem.nMaxMoveY = _oMovingItem.nMaxMoveY - 1;
}
}
_oMovingItem.nRealMoveX = _oMovingItem.nMaxMoveX;
_oMovingItem.nRealMoveY = _oMovingItem.nMaxMoveY;
_local16.oItem.doImpactResult(_oMovingItem);
}
}
}
_local2 = _oMovingItem.returnImpactData();
var _local21 = Math.abs(_local2.nMaxMoveX);
var _local20 = Math.abs(_local2.nMaxMoveY);
if (_local2.nMaxMoveX > 0) {
_local6 = _local2.nMaxMoveX + _local2.nRightHitBorder;
_local5 = _local2.nRightHitBorder;
} else if (_local2.nMaxMoveX < 0) {
_local6 = _local2.nLeftHitBorder;
_local5 = _local2.nMaxMoveX + _local2.nLeftHitBorder;
} else {
_local6 = _local2.nRightHitBorder;
_local5 = _local2.nLeftHitBorder;
}
if (_local2.nMaxMoveY > 0) {
_local8 = _local2.nMaxMoveY + _local2.nDownHitBorder;
_local7 = _local2.nDownHitBorder;
} else if (_local2.nMaxMoveY < 0) {
_local8 = _local2.nUpHitBorder;
_local7 = _local2.nMaxMoveY + _local2.nUpHitBorder;
} else {
_local8 = _local2.nDownHitBorder;
_local7 = _local2.nUpHitBorder;
}
_local6 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local6);
_local5 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local5);
_local8 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local8);
_local7 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local7);
var _local14;
if (_local2.nMaxMoveX == 0) {
_local14 = Math.abs(_local2.nMaxMoveY);
} else if (_local2.nMaxMoveY == 0) {
_local14 = Math.abs(_local2.nMaxMoveX);
} else if (Math.abs(_local2.nMaxMoveX) > Math.abs(_local2.nMaxMoveY)) {
_local14 = Math.abs(_local2.nMaxMoveX);
} else {
_local14 = Math.abs(_local2.nMaxMoveY);
}
var _local9 = new Array();
_local11 = oImpactBroadcaster._listeners.length - 1;
while (_local11 >= 0) {
if (oImpactBroadcaster._listeners[_local11].sName != _local2.sName) {
var _local12 = oImpactBroadcaster._listeners[_local11].checkInReach(_local2, _local6, _local5, _local8, _local7);
if (_local12 == true) {
var _local4 = oImpactBroadcaster._listeners[_local11].checkIfCanBeHit(_local2);
var _local15 = oImpactBroadcaster._listeners[_local11].confirmCanBeHit(_oMovingItem, _local4);
if (_local15 == true) {
if (Math.abs(_local4.nImpactDist) < _local14) {
_local14 = Math.abs(_local4.nImpactDist);
_local9.splice(0);
_local9.push(_local4);
} else if (Math.abs(_local4.nImpactDist) == _local14) {
_local9.push(_local4);
}
}
}
}
_local11--;
}
_local11 = _local9.length - 1;
while (_local11 >= 0) {
_local9[_local11].oItem.resolveHit(_oMovingItem, _local9[_local11]);
_local11--;
}
if (_oMovingItem.nRealMoveX > 0) {
_local6 = _oMovingItem.nRealMoveX + _local2.nRightHitBorder;
_local5 = _local2.nLeftHitBorder;
} else if (_oMovingItem.nRealMoveX < 0) {
_local6 = _local2.nRightHitBorder;
_local5 = _oMovingItem.nRealMoveX + _local2.nLeftHitBorder;
} else {
_local6 = _local2.nRightHitBorder;
_local5 = _local2.nLeftHitBorder;
}
if (_oMovingItem.nRealMoveY > 0) {
_local7 = _local2.nUpHitBorder;
_local8 = _oMovingItem.nRealMoveY + _local2.nDownHitBorder;
} else if (_oMovingItem.nRealMoveY < 0) {
_local7 = _oMovingItem.nRealMoveY + _local2.nUpHitBorder;
_local8 = _local2.nDownHitBorder;
} else {
_local8 = _local2.nDownHitBorder;
_local7 = _local2.nUpHitBorder;
}
_local11 = aItemsToValidate.length - 1;
while (_local11 >= 0) {
var _local12 = aItemsToValidate[_local11].checkInReachAfterMove(_oMovingItem, _local6, _local5, _local8, _local7);
if (_local12 == true) {
aItemsToValidate[_local11].resolveHitAfterMove(_oMovingItem, _local4);
}
_local11--;
}
aItemsToValidate.splice(0);
}
function deleteObject() {
delete oOwner[sName];
}
}
Symbol 995 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj
{
function MathObj () {
}
static function roundNumber(_nNumber) {
var _local1 = _nNumber * 10;
var _local4 = int(_local1);
var _local3 = _local1 - _local4;
var _local2 = _local1 - _local3;
_local2 = _local2 / 10;
return(_local2);
}
}
Symbol 996 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.basic_class.State] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.basic_class.State extends com.sarbakan.utils.StateManaged
{
var sName, sType, sColliderType, oOwner, bStateInUse, mcRef, nPosX, nPosY, nScaleX, nScaleY, oController, sState, sNextState, bPausable;
function State (_oItemData) {
super(undefined);
sName = _oItemData.sName;
sType = _oItemData.sItemType;
sColliderType = sType;
oOwner = _oItemData.oOwner;
bStateInUse = _oItemData.bStateInUse;
mcRef = _oItemData.mcRef;
nPosX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_oItemData.nPosX);
nPosY = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_oItemData.nPosY);
nScaleX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_oItemData.nScaleX);
nScaleY = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_oItemData.nScaleY);
oController = com.disney.gem.games.LiloExpress.Controller.getInstance();
if (bStateInUse == true) {
if (_oItemData.sStateAtStart != undefined) {
sState = _oItemData.sStateAtStart;
} else {
sState = "Idle";
}
oController.oMainBroadcaster.addListener(this);
setInstantState(sState);
}
}
function setInstantState(_sState) {
sNextState = undefined;
this[("state_" + sState) + "_end"]();
sState = _sState;
mcRef.gotoAndStop(sState);
this[("state_" + sState) + "_init"]();
}
function onPause() {
if (bPausable) {
if (mcRef._currentframe == 1) {
mcRef.gotoAndStop(sState);
}
mcRef.mcState.stop();
}
}
function deleteObject() {
mcRef.removeMovieClip();
delete oOwner[sName];
if (bStateInUse == true) {
oController.oMainBroadcaster.removeListener(this);
}
}
}
Symbol 997 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.FishesManager] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.FishesManager extends com.disney.gem.games.LiloExpress.game_obj.basic_class.State
{
var nLevel, oOwner, nMaxNbFishes, nNbFishes, nMinFishDelay, nMaxFishDelay, nCurrentFishDelay, aAvailableFishes, nFishStartLeft, nFishStartRight, nLastPosY, oBackground;
function FishesManager (_oItemData) {
super(_oItemData);
nLevel = oOwner.nLevel;
nMaxNbFishes = 0;
nNbFishes = 0;
nMinFishDelay = com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA["oLevel" + nLevel].nMinFishDelay;
nMaxFishDelay = com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA["oLevel" + nLevel].nMaxFishDelay;
nCurrentFishDelay = 0;
aAvailableFishes = new Array();
nFishStartLeft = com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA.nStartXLeft;
nFishStartRight = com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA.nStartXRight;
nLastPosY = 0;
setAvailableFishes();
}
function state_Idle() {
manageFishes();
}
function setBackground(_oBackground) {
oBackground = _oBackground;
}
function setAvailableFishes() {
var _local2 = com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA["oLevel" + nLevel].aAvailableFishes.length - 1;
while (_local2 >= 0) {
aAvailableFishes.push(com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA["oLevel" + nLevel].aAvailableFishes[_local2]);
_local2--;
}
}
function manageFishes() {
if (nNbFishes < nMaxNbFishes) {
if (nCurrentFishDelay == 0) {
setFishDelay();
} else {
nCurrentFishDelay--;
if (nCurrentFishDelay <= 0) {
nCurrentFishDelay = 0;
launchFish();
}
}
}
}
function setFishDelay() {
nCurrentFishDelay = Math.floor(Math.random() * (nMaxFishDelay - nMinFishDelay)) + nMinFishDelay;
}
function launchFish() {
var _local2 = new Object();
var _local4 = aAvailableFishes[Math.floor(Math.random() * aAvailableFishes.length)];
_local2.sFishSpecie = _local4;
if (random(100) < 50) {
_local2.nPosX = nFishStartLeft;
_local2.sDirection = "Right";
} else {
_local2.nPosX = nFishStartRight;
_local2.sDirection = "Left";
}
_local2.nPosX = _local2.nPosX - oBackground.nPosX;
var _local3 = Math.floor(Math.random() * com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA[("a" + _local4) + "StartPosY"].length);
if (_local3 == nLastPosY) {
_local3++;
if (_local3 > (com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA[("a" + _local4) + "StartPosY"].length - 1)) {
_local3 = 0;
}
}
_local2.nPosY = com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA[("a" + _local4) + "StartPosY"][_local3];
nLastPosY = _local3;
oOwner.createFish(_local2);
}
function increaseMaxNbFishes() {
nMaxNbFishes++;
}
function increaseNbFishes() {
nNbFishes++;
}
}
Symbol 998 MovieClip [__Packages.com.disney.gem.games.LiloExpress.GameData] Frame 0
class com.disney.gem.games.LiloExpress.GameData
{
function GameData () {
}
static var nMUS_PACK_VOLUME = 25;
static var nMUS_GAME_VOLUME = 17;
static var nMUS_GAME_VOLUME_IN_MENU = 17;
static var nWATER_AMBIENCE_VOLUME_IN_MENU = 0;
static var nBUTTON_CLIC1_VOLUME = 100;
static var nTRANSITION_VOLUME = 70;
static var nUNDERWATER_LOOP_VOLUME = 50;
static var nSURFACE_LOOP_VOLUME = 70;
static var nGET_SANDWICH1_VOLUME = 100;
static var nGET_SANDWICH2_VOLUME = 100;
static var nDIVE_VOLUME = 40;
static var nEXIT_WATER_VOLUME = 50;
static var nSWIM_SLOW1_VOLUME = 35;
static var nSWIM_SLOW2_VOLUME = 20;
static var nSWIM_SLOW3_VOLUME = 20;
static var nHURT_VOLUME = 80;
static var nGIVE_SANDWICH_VOLUME = 90;
static var nCATCH_SANDWICH_VOLUME = 100;
static var nSNAKE_ATTACK_VOLUME = 70;
static var nSCREEN_WIDTH = 580;
static var nSCREEN_HEIGHT = 410;
static var nBG_SCROLL_SPD = 1;
static var nUSE_ACTIVATION_SYS = true;
static var nACTIVE_DISTANCE = 100;
static var nNB_GAME_LEVELS = 5;
static var oCONTROLS_PLAYER = {nRIGHT_KEY:39, nLEFT_KEY:37, nUP_KEY:38, nDOWN_KEY:40, nACTION_KEY:32};
static var oCHARACTER_SPEEDS = {Player:{nSpdXMin:-6, nSpdXMax:6, nSpdYMin:-6, nSpdYMax:2, nSpdXModifier:0.45, nSinkSpd:0.16, nSwimBaseSpdY:1.8, nDiveBaseSpdY:2}, Follower:{nGiveSandwichSpdXMin:-8, nGiveSandwichSpdXMax:8, nFastSpdXMin:-4, nFastSpdXMax:4, nSlowSpdXMin:-2, nSlowSpdXMax:2, nSpdXModifier:0.4}};
static var nFOLLOWER_MAX_DIST = 80;
static var nOXYGEN_INCREASE_SPD = 1;
static var nOXYGEN_REDUCE_SPD = 0.15;
static var nOXYGEN_DAMMAGE = 20;
static var nMIN_DIVE_OXYGEN = 20;
static var nJET_PUSH_SPD = 20;
static var oFISHES_DATA = {nStartXLeft:-90, nStartXRight:670, aEelStartPosY:[200, 245, 290, 335, 380, 425, 470], aSmallFish1StartPosY:[200, 245, 290, 335, 380, 425, 470], aSmallFish2StartPosY:[200, 245, 290, 335, 380, 425, 470], aSmallFish3StartPosY:[200, 245, 290, 335, 380, 425, 470], aTurtleStartPosY:[200, 245, 290, 335, 380, 425, 470], aJellyFishStartPosY:[245, 290, 335, 380, 425, 470], aDolphinStartPosY:[200, 245, 290, 335, 380, 425, 470], oLevel1:{aAvailableFishes:["SmallFish1", "SmallFish2", "SmallFish3", "Turtle", "Dolphin"], nMinFishDelay:10, nMaxFishDelay:30, nNbFishToFeed:6}, oLevel2:{aAvailableFishes:["SmallFish1", "SmallFish2", "SmallFish3", "Turtle", "Dolphin", "Eel"], nMinFishDelay:10, nMaxFishDelay:30, nNbFishToFeed:6}, oLevel3:{aAvailableFishes:["SmallFish1", "SmallFish2", "SmallFish3", "Turtle", "Dolphin", "Eel"], nMinFishDelay:10, nMaxFishDelay:30, nNbFishToFeed:7}, oLevel4:{aAvailableFishes:["SmallFish1", "SmallFish2", "SmallFish3", "Turtle", "Eel", "JellyFish", "Dolphin"], nMinFishDelay:10, nMaxFishDelay:30, nNbFishToFeed:7}, oLevel5:{aAvailableFishes:["SmallFish1", "SmallFish2", "SmallFish3", "Turtle", "Eel", "JellyFish", "Dolphin"], nMinFishDelay:10, nMaxFishDelay:30, nNbFishToFeed:8}, oFishesSpds:{SmallFish1:{nSpdXMin:2, nSpdXMax:3}, SmallFish2:{nSpdXMin:2, nSpdXMax:3}, SmallFish3:{nSpdXMin:2, nSpdXMax:3}, Turtle:{nSpdXMin:2, nSpdXMax:4}, Eel:{nSpdXMin:2, nSpdXMax:4}, JellyFish:{nSpdXMin:3, nSpdXMax:4}, Dolphin:{nSpdXMin:4, nSpdXMax:7}}};
static var oPOINTS_DATA = {nGiveSandwichBig:200, nGiveSandwichMedium:100, nGiveSandwichSmall:50, nFeedExtraFish:100};
}
Symbol 999 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ActivationManager] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ActivationManager extends com.disney.gem.games.LiloExpress.game_obj.basic_class.State
{
var nScrWidth, nScrHeight, nActiveDistance, oBackground, nTotalWidth, nTotalHeight, nTotalScrInX, nTotalScrInY, nUpActiveLimit, nDwActiveLimit, nRActiveLimit, nLActiveLimit;
function ActivationManager (_oItemData) {
super(_oItemData);
nScrWidth = com.disney.gem.games.LiloExpress.GameData.nSCREEN_WIDTH;
nScrHeight = com.disney.gem.games.LiloExpress.GameData.nSCREEN_HEIGHT;
nActiveDistance = com.disney.gem.games.LiloExpress.GameData.nACTIVE_DISTANCE;
}
function state_Idle() {
doScreenBroadcast();
}
function setBackground(_oBackground) {
oBackground = _oBackground;
nTotalWidth = oBackground.mcRef._width;
nTotalHeight = oBackground.mcRef._height;
nTotalScrInX = int(nTotalWidth / nScrWidth) + 1;
nTotalScrInY = int(nTotalHeight / nScrHeight) + 1;
nUpActiveLimit = oBackground.nPosY - nActiveDistance;
nDwActiveLimit = (oBackground.nPosY + nScrHeight) + nActiveDistance;
nRActiveLimit = (oBackground.nPosX + nScrWidth) + nActiveDistance;
nLActiveLimit = oBackground.nPosX - nActiveDistance;
}
function setScreenBroadcaster(_nScrX, _nScrY) {
this[(("oScreenBroadcaster" + _nScrX) + "_") + _nScrY] = new Object();
AsBroadcaster.initialize(this[(("oScreenBroadcaster" + _nScrX) + "_") + _nScrY]);
}
function doScreenBroadcast() {
var _local3 = int(oBackground.nPosX / nScrWidth) * -1;
if (oBackground.nPosX < 0) {
_local3++;
}
var _local2 = int(oBackground.nPosY / nScrHeight) * -1;
if (oBackground.nPosY < 0) {
_local2++;
}
this[(("oScreenBroadcaster" + (_local3 - 1)) + "_") + (_local2 - 1)].broadcastMessage("checkActivate");
this[(("oScreenBroadcaster" + _local3) + "_") + (_local2 - 1)].broadcastMessage("checkActivate");
this[(("oScreenBroadcaster" + (_local3 + 1)) + "_") + (_local2 - 1)].broadcastMessage("checkActivate");
this[(("oScreenBroadcaster" + (_local3 - 1)) + "_") + _local2].broadcastMessage("checkActivate");
this[(("oScreenBroadcaster" + _local3) + "_") + _local2].broadcastMessage("checkActivate");
this[(("oScreenBroadcaster" + (_local3 + 1)) + "_") + _local2].broadcastMessage("checkActivate");
this[(("oScreenBroadcaster" + (_local3 - 1)) + "_") + (_local2 + 1)].broadcastMessage("checkActivate");
this[(("oScreenBroadcaster" + _local3) + "_") + (_local2 + 1)].broadcastMessage("checkActivate");
this[(("oScreenBroadcaster" + (_local3 + 1)) + "_") + (_local2 + 1)].broadcastMessage("checkActivate");
}
function addToBroadcast(_oItem, _nXCorner, _nYCorner) {
var _local3 = int(_nXCorner / nScrWidth) + 1;
var _local2 = int(_nYCorner / nScrHeight) + 1;
if (_nXCorner < 0) {
_local3 = _local3 - 2;
}
if (_nYCorner < 0) {
_local2 = _local2 - 2;
}
var _local4 = (("oScreenBroadcaster" + _local3) + "_") + _local2;
if (this[_local4] == undefined) {
setScreenBroadcaster(_local3, _local2);
}
this[_local4].addListener(_oItem);
return(_local4);
}
function removeToBroadcast(_oItem, _sBroadcasterName) {
this[_sBroadcasterName].removeListener(_oItem);
if (this[_sBroadcasterName]._listeners.length == 0) {
delete this[_sBroadcasterName];
}
}
}
Symbol 1000 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.PartsData] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.PartsData
{
function PartsData () {
}
static function giveLevel1Part1Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part1Data.oPartData);
}
static function giveLevel1Part2Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part2Data.oPartData);
}
static function giveLevel1Part3Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part3Data.oPartData);
}
static function giveLevel1Part4Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part4Data.oPartData);
}
static function giveLevel1Part5Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part5Data.oPartData);
}
static function giveLevel1Part6Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part6Data.oPartData);
}
static function giveLevel2Part1Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part1Data.oPartData);
}
static function giveLevel2Part2Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part2Data.oPartData);
}
static function giveLevel2Part3Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part3Data.oPartData);
}
static function giveLevel2Part4Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part4Data.oPartData);
}
static function giveLevel2Part5Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part5Data.oPartData);
}
static function giveLevel2Part6Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part6Data.oPartData);
}
static function giveLevel3Part1Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part1Data.oPartData);
}
static function giveLevel3Part2Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part2Data.oPartData);
}
static function giveLevel3Part3Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part3Data.oPartData);
}
static function giveLevel3Part4Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part4Data.oPartData);
}
static function giveLevel3Part5Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part5Data.oPartData);
}
static function giveLevel3Part6Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part6Data.oPartData);
}
static function giveLevel4Part1Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part1Data.oPartData);
}
static function giveLevel4Part2Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part2Data.oPartData);
}
static function giveLevel4Part3Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part3Data.oPartData);
}
static function giveLevel4Part4Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part4Data.oPartData);
}
static function giveLevel4Part5Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part5Data.oPartData);
}
static function giveLevel4Part6Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part6Data.oPartData);
}
static function giveLevel5Part1Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part1Data.oPartData);
}
static function giveLevel5Part2Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part2Data.oPartData);
}
static function giveLevel5Part3Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part3Data.oPartData);
}
static function giveLevel5Part4Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part4Data.oPartData);
}
static function giveLevel5Part5Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part5Data.oPartData);
}
static function giveLevel5Part6Data() {
return(com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part6Data.oPartData);
}
static var nNbPartsLevel1 = 6;
static var nNbPartsLevel2 = 6;
static var nNbPartsLevel3 = 6;
static var nNbPartsLevel4 = 6;
static var nNbPartsLevel5 = 6;
}
Symbol 1001 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part1Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part1Data
{
function Level1Part1Data () {
}
static var oPartData = {oItem1:{sIdentity:"oItem1", sItemType:"WaterBg", sAttachLink:"WaterBg", nAttachDepth:10, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem2:{sIdentity:"oItem2", sItemType:"Parallax", sAttachLink:"Parallax", nAttachDepth:11, nPosX:0, nPosY:0, nScaleX:100, nScaleY:99.9, bGroundCollider:false}, oItem3:{sIdentity:"oItem3", sItemType:"WaterSurface", sAttachLink:"WaterSurface", nAttachDepth:12, nPosX:0, nPosY:140.9, nScaleX:100, nScaleY:99.6, bGroundCollider:false}, oItem4:{sIdentity:"oItem4", sItemType:"Level1Bg", sAttachLink:"Level1Bg", nAttachDepth:13, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem5:{sIdentity:"oItem5", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:14, nPosX:-29.6, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem7:{sIdentity:"oItem7", sItemType:"RightBlocker", sAttachLink:"RightBlocker", nAttachDepth:16, nPosX:0, nPosY:100, nScaleX:215.9, nScaleY:697, bGroundCollider:false}, oItem8:{sIdentity:"oItem8", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:17, nPosX:466.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem14:{sIdentity:"oItem14", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:23, nPosX:-29.6, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem15:{sIdentity:"oItem15", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:24, nPosX:464.3, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem21:{sIdentity:"oItem21", sItemType:"SmallFish1", sAttachLink:"SmallFish1", nAttachDepth:30, nPosX:457.1, nPosY:200, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem22:{sIdentity:"oItem22", sItemType:"SmallFish2", sAttachLink:"SmallFish2", nAttachDepth:31, nPosX:60.4, nPosY:290, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem23:{sIdentity:"oItem23", sItemType:"Turtle", sAttachLink:"Turtle", nAttachDepth:32, nPosX:174.5, nPosY:425, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem24:{sIdentity:"oItem24", sItemType:"Dolphin", sAttachLink:"Dolphin", nAttachDepth:33, nPosX:528.8, nPosY:335, nScaleX:100, nScaleY:100.3, bGroundCollider:false}, oItem25:{sIdentity:"oItem25", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:34, nPosX:271.7, nPosY:438.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem26:{sIdentity:"oItem26", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:35, nPosX:448.9, nPosY:398, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem41:{sIdentity:"oItem41", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:50, nPosX:342.4, nPosY:408.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem42:{sIdentity:"oItem42", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:51, nPosX:555, nPosY:436.4, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem59:{sIdentity:"oItem59", sItemType:"Follower", sAttachLink:"Follower", nAttachDepth:68, nPosX:180.1, nPosY:143.8, nScaleX:100, nScaleY:100, bGroundCollider:true}, oItem61:{sIdentity:"oItem61", sItemType:"Player", sAttachLink:"Player", nAttachDepth:70, nPosX:289.9, nPosY:147.8, nScaleX:100, nScaleY:100, bGroundCollider:true}};
}
Symbol 1002 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part2Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part2Data
{
function Level1Part2Data () {
}
static var oPartData = {oItem9:{sIdentity:"oItem9", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:18, nPosX:962.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem16:{sIdentity:"oItem16", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:25, nPosX:958.3, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem27:{sIdentity:"oItem27", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:36, nPosX:678.6, nPosY:455, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem28:{sIdentity:"oItem28", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:37, nPosX:763.6, nPosY:478.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem29:{sIdentity:"oItem29", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:38, nPosX:930.5, nPosY:433, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem30:{sIdentity:"oItem30", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:39, nPosX:1159.5, nPosY:405.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem43:{sIdentity:"oItem43", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:52, nPosX:838.7, nPosY:459.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem44:{sIdentity:"oItem44", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:53, nPosX:1032.4, nPosY:433, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem45:{sIdentity:"oItem45", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:54, nPosX:1104.8, nPosY:434.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem58:{sIdentity:"oItem58", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:67, nPosX:611.4, nPosY:439.7, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1003 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part3Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part3Data
{
function Level1Part3Data () {
}
static var oPartData = {oItem10:{sIdentity:"oItem10", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:19, nPosX:1458.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem17:{sIdentity:"oItem17", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:26, nPosX:1452.2, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem31:{sIdentity:"oItem31", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:40, nPosX:1295.5, nPosY:405.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem32:{sIdentity:"oItem32", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:41, nPosX:1365.5, nPosY:433, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem33:{sIdentity:"oItem33", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:42, nPosX:1542.4, nPosY:396, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem34:{sIdentity:"oItem34", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:43, nPosX:1583.4, nPosY:389.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem35:{sIdentity:"oItem35", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:44, nPosX:1657.4, nPosY:407.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem46:{sIdentity:"oItem46", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:55, nPosX:1444.3, nPosY:434.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem47:{sIdentity:"oItem47", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:56, nPosX:1716.3, nPosY:433, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem48:{sIdentity:"oItem48", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:57, nPosX:1786.2, nPosY:433, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem55:{sIdentity:"oItem55", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:64, nPosX:1223.3, nPosY:397.2, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1004 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part4Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part4Data
{
function Level1Part4Data () {
}
static var oPartData = {oItem11:{sIdentity:"oItem11", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:20, nPosX:1954.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem18:{sIdentity:"oItem18", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:27, nPosX:1946.2, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem36:{sIdentity:"oItem36", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:45, nPosX:2186.1, nPosY:480.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem37:{sIdentity:"oItem37", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:46, nPosX:2306.1, nPosY:470.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem49:{sIdentity:"oItem49", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:58, nPosX:1856.9, nPosY:455, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem50:{sIdentity:"oItem50", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:59, nPosX:2007.9, nPosY:463.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem57:{sIdentity:"oItem57", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:66, nPosX:1932.1, nPosY:480.5, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1005 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part5Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part5Data
{
function Level1Part5Data () {
}
static var oPartData = {oItem12:{sIdentity:"oItem12", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:21, nPosX:2450.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem13:{sIdentity:"oItem13", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:22, nPosX:2946.4, nPosY:484.1, nScaleX:382.6, nScaleY:216.2, bGroundCollider:false}, oItem19:{sIdentity:"oItem19", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:28, nPosX:2440.1, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem20:{sIdentity:"oItem20", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:29, nPosX:2934.1, nPosY:123.4, nScaleX:402.7, nScaleY:216.2, bGroundCollider:false}, oItem38:{sIdentity:"oItem38", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:47, nPosX:2508, nPosY:433, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem39:{sIdentity:"oItem39", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:48, nPosX:2573, nPosY:405.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem40:{sIdentity:"oItem40", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:49, nPosX:2655, nPosY:365.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem51:{sIdentity:"oItem51", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:60, nPosX:2691.2, nPosY:370.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem52:{sIdentity:"oItem52", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:61, nPosX:2797.3, nPosY:454.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem53:{sIdentity:"oItem53", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:62, nPosX:2885.7, nPosY:475.4, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem54:{sIdentity:"oItem54", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:63, nPosX:2945.5, nPosY:459.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem56:{sIdentity:"oItem56", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:65, nPosX:2400.2, nPosY:441.9, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1006 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part6Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level1Part6Data
{
function Level1Part6Data () {
}
static var oPartData = {oItem6:{sIdentity:"oItem6", sItemType:"LeftBlocker", sAttachLink:"LeftBlocker", nAttachDepth:15, nPosX:3154.6, nPosY:99.9, nScaleX:215.9, nScaleY:697.5, bGroundCollider:false}, oItem60:{sIdentity:"oItem60", sItemType:"Surfer", sAttachLink:"Surfer", nAttachDepth:69, nPosX:3057, nPosY:127.4, nScaleX:100, nScaleY:99.9, bGroundCollider:false}};
}
Symbol 1007 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part1Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part1Data
{
function Level2Part1Data () {
}
static var oPartData = {oItem1:{sIdentity:"oItem1", sItemType:"WaterBg", sAttachLink:"WaterBg", nAttachDepth:10, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem2:{sIdentity:"oItem2", sItemType:"Parallax", sAttachLink:"Parallax", nAttachDepth:11, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem3:{sIdentity:"oItem3", sItemType:"WaterSurface", sAttachLink:"WaterSurface", nAttachDepth:12, nPosX:0, nPosY:140.9, nScaleX:100, nScaleY:99.6, bGroundCollider:false}, oItem4:{sIdentity:"oItem4", sItemType:"Level2Bg", sAttachLink:"Level2Bg", nAttachDepth:13, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem5:{sIdentity:"oItem5", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:14, nPosX:-29.6, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem7:{sIdentity:"oItem7", sItemType:"RightBlocker", sAttachLink:"RightBlocker", nAttachDepth:16, nPosX:0, nPosY:100, nScaleX:215.9, nScaleY:697, bGroundCollider:false}, oItem8:{sIdentity:"oItem8", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:17, nPosX:466.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem15:{sIdentity:"oItem15", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:24, nPosX:581.6, nPosY:312.9, nScaleX:302.3, nScaleY:56.4, bGroundCollider:false}, oItem17:{sIdentity:"oItem17", sItemType:"BottomBlocker", sAttachLink:"BottomBlocker", nAttachDepth:26, nPosX:509.9, nPosY:352, nScaleX:541.4, nScaleY:37.1, bGroundCollider:false}, oItem18:{sIdentity:"oItem18", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:27, nPosX:517.2, nPosY:325.5, nScaleX:12.1, nScaleY:44.2, bGroundCollider:false}, oItem28:{sIdentity:"oItem28", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:37, nPosX:-29.6, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem29:{sIdentity:"oItem29", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:38, nPosX:464.3, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem39:{sIdentity:"oItem39", sItemType:"SmallFish1", sAttachLink:"SmallFish1", nAttachDepth:48, nPosX:92.7, nPosY:335, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem40:{sIdentity:"oItem40", sItemType:"Eel", sAttachLink:"Eel", nAttachDepth:49, nPosX:255.3, nPosY:425, nScaleX:99.9, nScaleY:100, bGroundCollider:false}, oItem41:{sIdentity:"oItem41", sItemType:"SmallFish3", sAttachLink:"SmallFish3", nAttachDepth:50, nPosX:439.6, nPosY:290, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem42:{sIdentity:"oItem42", sItemType:"Dolphin", sAttachLink:"Dolphin", nAttachDepth:51, nPosX:260.4, nPosY:241.5, nScaleX:100, nScaleY:100.3, bGroundCollider:false}, oItem43:{sIdentity:"oItem43", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:52, nPosX:113, nPosY:437.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem44:{sIdentity:"oItem44", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:53, nPosX:154.6, nPosY:435.4, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem45:{sIdentity:"oItem45", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:54, nPosX:268.2, nPosY:409.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem46:{sIdentity:"oItem46", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:55, nPosX:345.7, nPosY:386.6, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem47:{sIdentity:"oItem47", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:56, nPosX:434.1, nPosY:404.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem48:{sIdentity:"oItem48", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:57, nPosX:569.6, nPosY:461.6, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem76:{sIdentity:"oItem76", sItemType:"Follower", sAttachLink:"Follower", nAttachDepth:85, nPosX:180.1, nPosY:143.8, nScaleX:100, nScaleY:100, bGroundCollider:true}, oItem78:{sIdentity:"oItem78", sItemType:"Player", sAttachLink:"Player", nAttachDepth:87, nPosX:289.9, nPosY:147.8, nScaleX:100, nScaleY:100, bGroundCollider:true}};
}
Symbol 1008 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part2Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part2Data
{
function Level2Part2Data () {
}
static var oPartData = {oItem9:{sIdentity:"oItem9", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:18, nPosX:962.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem14:{sIdentity:"oItem14", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:23, nPosX:606.2, nPosY:310.5, nScaleX:153.1, nScaleY:28.7, bGroundCollider:false}, oItem16:{sIdentity:"oItem16", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:25, nPosX:754.3, nPosY:311.3, nScaleX:119.4, nScaleY:45.3, bGroundCollider:false}, oItem19:{sIdentity:"oItem19", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:28, nPosX:820.2, nPosY:334.8, nScaleX:24.2, nScaleY:28.7, bGroundCollider:false}, oItem30:{sIdentity:"oItem30", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:39, nPosX:958.3, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem35:{sIdentity:"oItem35", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:44, nPosX:893.3, nPosY:414.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem36:{sIdentity:"oItem36", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:45, nPosX:1003.6, nPosY:414.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem49:{sIdentity:"oItem49", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:58, nPosX:605.8, nPosY:490.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem50:{sIdentity:"oItem50", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:59, nPosX:765, nPosY:493.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem51:{sIdentity:"oItem51", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:60, nPosX:805.4, nPosY:455.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem52:{sIdentity:"oItem52", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:61, nPosX:1072.3, nPosY:409.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem72:{sIdentity:"oItem72", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:81, nPosX:1158.3, nPosY:395.7, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1009 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part3Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part3Data
{
function Level2Part3Data () {
}
static var oPartData = {oItem10:{sIdentity:"oItem10", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:19, nPosX:1458.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem20:{sIdentity:"oItem20", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:29, nPosX:1436.2, nPosY:299.5, nScaleX:256.9, nScaleY:53.3, bGroundCollider:false}, oItem21:{sIdentity:"oItem21", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:30, nPosX:1415.8, nPosY:301.5, nScaleX:263.8, nScaleY:56.4, bGroundCollider:false}, oItem22:{sIdentity:"oItem22", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:31, nPosX:1548.3, nPosY:299.5, nScaleX:217.8, nScaleY:35, bGroundCollider:false}, oItem23:{sIdentity:"oItem23", sItemType:"BottomBlocker", sAttachLink:"BottomBlocker", nAttachDepth:32, nPosX:1277.4, nPosY:345.3, nScaleX:921.2, nScaleY:37.1, bGroundCollider:false}, oItem24:{sIdentity:"oItem24", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:33, nPosX:1287.5, nPosY:326.8, nScaleX:16.7, nScaleY:30.8, bGroundCollider:false}, oItem25:{sIdentity:"oItem25", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:34, nPosX:1785, nPosY:315.4, nScaleX:64.8, nScaleY:22.5, bGroundCollider:false}, oItem26:{sIdentity:"oItem26", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:35, nPosX:1647.4, nPosY:317.9, nScaleX:250.8, nScaleY:56.4, bGroundCollider:false}, oItem31:{sIdentity:"oItem31", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:40, nPosX:1452.2, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem53:{sIdentity:"oItem53", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:62, nPosX:1207, nPosY:396.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem54:{sIdentity:"oItem54", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:63, nPosX:1343.4, nPosY:467.6, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem55:{sIdentity:"oItem55", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:64, nPosX:1422.5, nPosY:486.4, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem56:{sIdentity:"oItem56", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:65, nPosX:1564, nPosY:438.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem57:{sIdentity:"oItem57", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:66, nPosX:1664.2, nPosY:484.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem75:{sIdentity:"oItem75", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:84, nPosX:1722, nPosY:489.3, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1010 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part4Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part4Data
{
function Level2Part4Data () {
}
static var oPartData = {oItem11:{sIdentity:"oItem11", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:20, nPosX:1954.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem27:{sIdentity:"oItem27", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:36, nPosX:1818.2, nPosY:324.4, nScaleX:19.9, nScaleY:34.7, bGroundCollider:false}, oItem32:{sIdentity:"oItem32", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:41, nPosX:1946.2, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem37:{sIdentity:"oItem37", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:46, nPosX:2307.3, nPosY:414.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem58:{sIdentity:"oItem58", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:67, nPosX:1809.9, nPosY:456.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem59:{sIdentity:"oItem59", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:68, nPosX:1878.1, nPosY:400.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem60:{sIdentity:"oItem60", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:69, nPosX:1931.3, nPosY:361.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem61:{sIdentity:"oItem61", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:70, nPosX:1970, nPosY:354.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem62:{sIdentity:"oItem62", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:71, nPosX:2090.5, nPosY:417.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem63:{sIdentity:"oItem63", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:72, nPosX:2190.7, nPosY:438.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem64:{sIdentity:"oItem64", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:73, nPosX:2244.6, nPosY:436.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem73:{sIdentity:"oItem73", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:82, nPosX:2060.2, nPosY:393.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem74:{sIdentity:"oItem74", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:83, nPosX:2372.2, nPosY:438.9, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1011 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part5Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part5Data
{
function Level2Part5Data () {
}
static var oPartData = {oItem12:{sIdentity:"oItem12", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:21, nPosX:2450.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem13:{sIdentity:"oItem13", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:22, nPosX:2946.4, nPosY:484.1, nScaleX:382.6, nScaleY:216.2, bGroundCollider:false}, oItem33:{sIdentity:"oItem33", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:42, nPosX:2440.1, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem34:{sIdentity:"oItem34", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:43, nPosX:2934.1, nPosY:123.4, nScaleX:402.7, nScaleY:216.2, bGroundCollider:false}, oItem38:{sIdentity:"oItem38", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:47, nPosX:2993.9, nPosY:415.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem65:{sIdentity:"oItem65", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:74, nPosX:2477.8, nPosY:409.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem66:{sIdentity:"oItem66", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:75, nPosX:2516.6, nPosY:378.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem67:{sIdentity:"oItem67", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:76, nPosX:2578.1, nPosY:358.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem68:{sIdentity:"oItem68", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:77, nPosX:2750.1, nPosY:465.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem69:{sIdentity:"oItem69", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:78, nPosX:2852, nPosY:489, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem70:{sIdentity:"oItem70", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:79, nPosX:2927.8, nPosY:474.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem71:{sIdentity:"oItem71", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:80, nPosX:2962, nPosY:449.6, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1012 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part6Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level2Part6Data
{
function Level2Part6Data () {
}
static var oPartData = {oItem6:{sIdentity:"oItem6", sItemType:"LeftBlocker", sAttachLink:"LeftBlocker", nAttachDepth:15, nPosX:3154.6, nPosY:99.9, nScaleX:215.9, nScaleY:697.5, bGroundCollider:false}, oItem77:{sIdentity:"oItem77", sItemType:"Surfer", sAttachLink:"Surfer", nAttachDepth:86, nPosX:3057, nPosY:127.4, nScaleX:100, nScaleY:99.9, bGroundCollider:false}};
}
Symbol 1013 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part1Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part1Data
{
function Level3Part1Data () {
}
static var oPartData = {oItem1:{sIdentity:"oItem1", sItemType:"WaterBg", sAttachLink:"WaterBg", nAttachDepth:10, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem2:{sIdentity:"oItem2", sItemType:"Parallax", sAttachLink:"Parallax", nAttachDepth:11, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem3:{sIdentity:"oItem3", sItemType:"WaterSurface", sAttachLink:"WaterSurface", nAttachDepth:12, nPosX:0, nPosY:140.9, nScaleX:100, nScaleY:99.6, bGroundCollider:false}, oItem4:{sIdentity:"oItem4", sItemType:"Level3Bg", sAttachLink:"Level3Bg", nAttachDepth:13, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem5:{sIdentity:"oItem5", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:14, nPosX:-29.6, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem7:{sIdentity:"oItem7", sItemType:"RightBlocker", sAttachLink:"RightBlocker", nAttachDepth:16, nPosX:0, nPosY:100, nScaleX:215.9, nScaleY:697, bGroundCollider:false}, oItem8:{sIdentity:"oItem8", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:17, nPosX:466.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem26:{sIdentity:"oItem26", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:35, nPosX:-29.6, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem27:{sIdentity:"oItem27", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:36, nPosX:464.3, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem37:{sIdentity:"oItem37", sItemType:"Eel", sAttachLink:"Eel", nAttachDepth:46, nPosX:159.8, nPosY:335, nScaleX:99.9, nScaleY:100, bGroundCollider:false}, oItem38:{sIdentity:"oItem38", sItemType:"SmallFish1", sAttachLink:"SmallFish1", nAttachDepth:47, nPosX:62.9, nPosY:245, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem39:{sIdentity:"oItem39", sItemType:"SmallFish2", sAttachLink:"SmallFish2", nAttachDepth:48, nPosX:101.8, nPosY:200, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem40:{sIdentity:"oItem40", sItemType:"Turtle", sAttachLink:"Turtle", nAttachDepth:49, nPosX:455.8, nPosY:290, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem41:{sIdentity:"oItem41", sItemType:"Turtle", sAttachLink:"Turtle", nAttachDepth:50, nPosX:511.6, nPosY:380, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem42:{sIdentity:"oItem42", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:51, nPosX:178.2, nPosY:461.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem43:{sIdentity:"oItem43", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:52, nPosX:275.4, nPosY:487.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem44:{sIdentity:"oItem44", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:53, nPosX:354.1, nPosY:469.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem68:{sIdentity:"oItem68", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:77, nPosX:535.1, nPosY:493.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem74:{sIdentity:"oItem74", sItemType:"Follower", sAttachLink:"Follower", nAttachDepth:83, nPosX:180.1, nPosY:143.8, nScaleX:100, nScaleY:100, bGroundCollider:true}, oItem76:{sIdentity:"oItem76", sItemType:"Player", sAttachLink:"Player", nAttachDepth:85, nPosX:289.9, nPosY:147.8, nScaleX:100, nScaleY:100, bGroundCollider:true}};
}
Symbol 1014 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part2Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part2Data
{
function Level3Part2Data () {
}
static var oPartData = {oItem9:{sIdentity:"oItem9", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:18, nPosX:962.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem14:{sIdentity:"oItem14", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:23, nPosX:1134.5, nPosY:365, nScaleX:84.8, nScaleY:14.9, bGroundCollider:false}, oItem15:{sIdentity:"oItem15", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:24, nPosX:1115.3, nPosY:366.5, nScaleX:211.1, nScaleY:56.4, bGroundCollider:false}, oItem17:{sIdentity:"oItem17", sItemType:"BottomBlocker", sAttachLink:"BottomBlocker", nAttachDepth:26, nPosX:1075.6, nPosY:389.7, nScaleX:347.4, nScaleY:37.1, bGroundCollider:false}, oItem18:{sIdentity:"oItem18", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:27, nPosX:1092.1, nPosY:369.9, nScaleX:27.5, nScaleY:32.9, bGroundCollider:false}, oItem28:{sIdentity:"oItem28", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:37, nPosX:958.3, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem33:{sIdentity:"oItem33", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:42, nPosX:725.9, nPosY:410.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem34:{sIdentity:"oItem34", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:43, nPosX:907.5, nPosY:364, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem45:{sIdentity:"oItem45", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:54, nPosX:620.1, nPosY:469.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem46:{sIdentity:"oItem46", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:55, nPosX:817.5, nPosY:409.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem47:{sIdentity:"oItem47", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:56, nPosX:971.6, nPosY:403.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem48:{sIdentity:"oItem48", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:57, nPosX:1005.2, nPosY:419.6, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem49:{sIdentity:"oItem49", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:58, nPosX:1072.6, nPosY:456.6, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem50:{sIdentity:"oItem50", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:59, nPosX:1148, nPosY:483.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem73:{sIdentity:"oItem73", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:82, nPosX:1106.4, nPosY:477, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1015 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part3Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part3Data
{
function Level3Part3Data () {
}
static var oPartData = {oItem10:{sIdentity:"oItem10", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:19, nPosX:1458.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem16:{sIdentity:"oItem16", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:25, nPosX:1231.6, nPosY:365.3, nScaleX:85.7, nScaleY:23.7, bGroundCollider:false}, oItem19:{sIdentity:"oItem19", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:28, nPosX:1276.8, nPosY:375, nScaleX:12, nScaleY:24.3, bGroundCollider:false}, oItem20:{sIdentity:"oItem20", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:29, nPosX:1690.8, nPosY:365.9, nScaleX:103.2, nScaleY:16.6, bGroundCollider:false}, oItem21:{sIdentity:"oItem21", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:30, nPosX:1665, nPosY:368.3, nScaleX:214.1, nScaleY:56.4, bGroundCollider:false}, oItem22:{sIdentity:"oItem22", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:31, nPosX:1783, nPosY:366.7, nScaleX:69.7, nScaleY:21.5, bGroundCollider:false}, oItem23:{sIdentity:"oItem23", sItemType:"BottomBlocker", sAttachLink:"BottomBlocker", nAttachDepth:32, nPosX:1625.4, nPosY:393, nScaleX:342.7, nScaleY:37.1, bGroundCollider:false}, oItem24:{sIdentity:"oItem24", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:33, nPosX:1637.6, nPosY:369.9, nScaleX:20.3, nScaleY:38.4, bGroundCollider:false}, oItem29:{sIdentity:"oItem29", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:38, nPosX:1452.2, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem51:{sIdentity:"oItem51", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:60, nPosX:1240.2, nPosY:480.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem52:{sIdentity:"oItem52", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:61, nPosX:1277.7, nPosY:459.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem53:{sIdentity:"oItem53", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:62, nPosX:1350.9, nPosY:394.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem54:{sIdentity:"oItem54", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:63, nPosX:1494.1, nPosY:365.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem55:{sIdentity:"oItem55", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:64, nPosX:1533.7, nPosY:388.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem56:{sIdentity:"oItem56", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:65, nPosX:1617.9, nPosY:459.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem57:{sIdentity:"oItem57", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:66, nPosX:1651.1, nPosY:471.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem58:{sIdentity:"oItem58", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:67, nPosX:1728.1, nPosY:487.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem69:{sIdentity:"oItem69", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:78, nPosX:1442.5, nPosY:358, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1016 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part4Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part4Data
{
function Level3Part4Data () {
}
static var oPartData = {oItem11:{sIdentity:"oItem11", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:20, nPosX:1954.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem25:{sIdentity:"oItem25", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:34, nPosX:1815.7, nPosY:373.9, nScaleX:25.4, nScaleY:31.8, bGroundCollider:false}, oItem30:{sIdentity:"oItem30", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:39, nPosX:1946.2, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem36:{sIdentity:"oItem36", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:45, nPosX:2111.3, nPosY:360.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem59:{sIdentity:"oItem59", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:68, nPosX:1839.8, nPosY:463.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem60:{sIdentity:"oItem60", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:69, nPosX:1928.2, nPosY:399.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem61:{sIdentity:"oItem61", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:70, nPosX:1967.4, nPosY:430, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem62:{sIdentity:"oItem62", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:71, nPosX:2063.4, nPosY:427.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem63:{sIdentity:"oItem63", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:72, nPosX:2213.7, nPosY:477.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem64:{sIdentity:"oItem64", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:73, nPosX:2357.6, nPosY:473.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem70:{sIdentity:"oItem70", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:79, nPosX:2016.1, nPosY:403.4, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1017 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part5Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part5Data
{
function Level3Part5Data () {
}
static var oPartData = {oItem12:{sIdentity:"oItem12", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:21, nPosX:2450.4, nPosY:484.1, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem13:{sIdentity:"oItem13", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:22, nPosX:2946.4, nPosY:484.1, nScaleX:382.6, nScaleY:216.2, bGroundCollider:false}, oItem31:{sIdentity:"oItem31", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:40, nPosX:2440.1, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem32:{sIdentity:"oItem32", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:41, nPosX:2934.1, nPosY:123.4, nScaleX:402.7, nScaleY:216.2, bGroundCollider:false}, oItem35:{sIdentity:"oItem35", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:44, nPosX:2559.2, nPosY:362.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem65:{sIdentity:"oItem65", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:74, nPosX:2639.2, nPosY:403.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem66:{sIdentity:"oItem66", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:75, nPosX:2752.9, nPosY:467.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem67:{sIdentity:"oItem67", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:76, nPosX:2985.2, nPosY:436.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem71:{sIdentity:"oItem71", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:80, nPosX:2915.3, nPosY:473.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem72:{sIdentity:"oItem72", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:81, nPosX:2474.9, nPosY:410.8, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1018 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part6Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level3Part6Data
{
function Level3Part6Data () {
}
static var oPartData = {oItem6:{sIdentity:"oItem6", sItemType:"LeftBlocker", sAttachLink:"LeftBlocker", nAttachDepth:15, nPosX:3154.6, nPosY:99.9, nScaleX:215.9, nScaleY:697.5, bGroundCollider:false}, oItem75:{sIdentity:"oItem75", sItemType:"Surfer", sAttachLink:"Surfer", nAttachDepth:84, nPosX:3057, nPosY:127.4, nScaleX:100, nScaleY:99.9, bGroundCollider:false}};
}
Symbol 1019 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part1Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part1Data
{
function Level4Part1Data () {
}
static var oPartData = {oItem1:{sIdentity:"oItem1", sItemType:"WaterBg", sAttachLink:"WaterBg", nAttachDepth:10, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem2:{sIdentity:"oItem2", sItemType:"Parallax", sAttachLink:"Parallax", nAttachDepth:11, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem3:{sIdentity:"oItem3", sItemType:"WaterSurface", sAttachLink:"WaterSurface", nAttachDepth:12, nPosX:0, nPosY:140.9, nScaleX:100, nScaleY:99.6, bGroundCollider:false}, oItem4:{sIdentity:"oItem4", sItemType:"Level4Bg", sAttachLink:"Level4Bg", nAttachDepth:13, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem5:{sIdentity:"oItem5", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:14, nPosX:-29.6, nPosY:557.7, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem7:{sIdentity:"oItem7", sItemType:"RightBlocker", sAttachLink:"RightBlocker", nAttachDepth:16, nPosX:0, nPosY:100, nScaleX:215.9, nScaleY:793, bGroundCollider:false}, oItem8:{sIdentity:"oItem8", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:17, nPosX:466.4, nPosY:557.7, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem32:{sIdentity:"oItem32", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:41, nPosX:-29.6, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem33:{sIdentity:"oItem33", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:42, nPosX:464.3, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem43:{sIdentity:"oItem43", sItemType:"SmallFish1", sAttachLink:"SmallFish1", nAttachDepth:52, nPosX:429.6, nPosY:245, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem44:{sIdentity:"oItem44", sItemType:"SmallFish2", sAttachLink:"SmallFish2", nAttachDepth:53, nPosX:66.3, nPosY:198.2, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem45:{sIdentity:"oItem45", sItemType:"SmallFish3", sAttachLink:"SmallFish3", nAttachDepth:54, nPosX:520.8, nPosY:291.4, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem46:{sIdentity:"oItem46", sItemType:"Turtle", sAttachLink:"Turtle", nAttachDepth:55, nPosX:336.7, nPosY:333.5, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem47:{sIdentity:"oItem47", sItemType:"JellyFish", sAttachLink:"JellyFish", nAttachDepth:56, nPosX:96.7, nPosY:425, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem48:{sIdentity:"oItem48", sItemType:"Dolphin", sAttachLink:"Dolphin", nAttachDepth:57, nPosX:190.1, nPosY:245, nScaleX:100, nScaleY:100.3, bGroundCollider:false}, oItem49:{sIdentity:"oItem49", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:58, nPosX:198.4, nPosY:486.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem51:{sIdentity:"oItem51", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:60, nPosX:420.9, nPosY:467.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem52:{sIdentity:"oItem52", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:61, nPosX:460.8, nPosY:434.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem53:{sIdentity:"oItem53", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:62, nPosX:534.3, nPosY:400.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem54:{sIdentity:"oItem54", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:63, nPosX:273.8, nPosY:473.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem81:{sIdentity:"oItem81", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:90, nPosX:357.9, nPosY:466.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem83:{sIdentity:"oItem83", sItemType:"Follower", sAttachLink:"Follower", nAttachDepth:92, nPosX:180.1, nPosY:143.8, nScaleX:100, nScaleY:100, bGroundCollider:true}, oItem85:{sIdentity:"oItem85", sItemType:"Player", sAttachLink:"Player", nAttachDepth:94, nPosX:289.9, nPosY:147.8, nScaleX:100, nScaleY:100, bGroundCollider:true}};
}
Symbol 1020 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part2Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part2Data
{
function Level4Part2Data () {
}
static var oPartData = {oItem9:{sIdentity:"oItem9", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:18, nPosX:962.4, nPosY:557.7, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem14:{sIdentity:"oItem14", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:23, nPosX:1115.2, nPosY:314.3, nScaleX:153.1, nScaleY:28.7, bGroundCollider:false}, oItem15:{sIdentity:"oItem15", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:24, nPosX:1090.6, nPosY:316.7, nScaleX:196.3, nScaleY:56.4, bGroundCollider:false}, oItem16:{sIdentity:"oItem16", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:25, nPosX:1198.5, nPosY:315.1, nScaleX:119.4, nScaleY:45.3, bGroundCollider:false}, oItem17:{sIdentity:"oItem17", sItemType:"BottomBlocker", sAttachLink:"BottomBlocker", nAttachDepth:26, nPosX:1018.9, nPosY:355.8, nScaleX:433.5, nScaleY:37.1, bGroundCollider:false}, oItem18:{sIdentity:"oItem18", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:27, nPosX:1026.2, nPosY:329.3, nScaleX:12.1, nScaleY:44.2, bGroundCollider:false}, oItem34:{sIdentity:"oItem34", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:43, nPosX:958.3, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem39:{sIdentity:"oItem39", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:48, nPosX:883.2, nPosY:339.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem50:{sIdentity:"oItem50", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:59, nPosX:610.1, nPosY:384.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem55:{sIdentity:"oItem55", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:64, nPosX:683.9, nPosY:393.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem56:{sIdentity:"oItem56", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:65, nPosX:752.7, nPosY:431.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem57:{sIdentity:"oItem57", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:66, nPosX:961.9, nPosY:380.4, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem58:{sIdentity:"oItem58", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:67, nPosX:1154.9, nPosY:493.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem79:{sIdentity:"oItem79", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:88, nPosX:810.8, nPosY:389, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem82:{sIdentity:"oItem82", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:91, nPosX:1080.8, nPosY:482.9, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1021 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part3Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part3Data
{
function Level4Part3Data () {
}
static var oPartData = {oItem10:{sIdentity:"oItem10", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:19, nPosX:1458.4, nPosY:557.7, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem19:{sIdentity:"oItem19", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:28, nPosX:1264.4, nPosY:338.6, nScaleX:24.2, nScaleY:28.7, bGroundCollider:false}, oItem20:{sIdentity:"oItem20", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:29, nPosX:1764.3, nPosY:335, nScaleX:153.1, nScaleY:28.7, bGroundCollider:false}, oItem21:{sIdentity:"oItem21", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:30, nPosX:1739.7, nPosY:337.3, nScaleX:314.2, nScaleY:56.4, bGroundCollider:false}, oItem23:{sIdentity:"oItem23", sItemType:"BottomBlocker", sAttachLink:"BottomBlocker", nAttachDepth:32, nPosX:1668.1, nPosY:376.5, nScaleX:550.4, nScaleY:37.1, bGroundCollider:false}, oItem24:{sIdentity:"oItem24", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:33, nPosX:1675.3, nPosY:350, nScaleX:12.1, nScaleY:44.2, bGroundCollider:false}, oItem35:{sIdentity:"oItem35", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:44, nPosX:1452.2, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem42:{sIdentity:"oItem42", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:51, nPosX:1418.4, nPosY:345.4, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem59:{sIdentity:"oItem59", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:68, nPosX:1216.1, nPosY:478.6, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem60:{sIdentity:"oItem60", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:69, nPosX:1256, nPosY:456.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem61:{sIdentity:"oItem61", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:70, nPosX:1316, nPosY:398.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem62:{sIdentity:"oItem62", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:71, nPosX:1360.5, nPosY:356.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem63:{sIdentity:"oItem63", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:72, nPosX:1613.1, nPosY:470, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem64:{sIdentity:"oItem64", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:73, nPosX:1753, nPosY:472.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem77:{sIdentity:"oItem77", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:86, nPosX:1475.6, nPosY:362, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1022 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part4Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part4Data
{
function Level4Part4Data () {
}
static var oPartData = {oItem11:{sIdentity:"oItem11", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:20, nPosX:1954.4, nPosY:557.7, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem22:{sIdentity:"oItem22", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:31, nPosX:1918.1, nPosY:335.7, nScaleX:119.4, nScaleY:45.3, bGroundCollider:false}, oItem25:{sIdentity:"oItem25", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:34, nPosX:1984, nPosY:359.2, nScaleX:24.2, nScaleY:28.7, bGroundCollider:false}, oItem36:{sIdentity:"oItem36", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:45, nPosX:1946.2, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem40:{sIdentity:"oItem40", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:49, nPosX:2233.2, nPosY:366.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem65:{sIdentity:"oItem65", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:74, nPosX:1882.4, nPosY:554.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem66:{sIdentity:"oItem66", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:75, nPosX:1954, nPosY:579, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem67:{sIdentity:"oItem67", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:76, nPosX:2003.2, nPosY:562.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem68:{sIdentity:"oItem68", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:77, nPosX:2073.7, nPosY:471.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem69:{sIdentity:"oItem69", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:78, nPosX:2146.4, nPosY:410.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem70:{sIdentity:"oItem70", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:79, nPosX:2311.1, nPosY:397.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem71:{sIdentity:"oItem71", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:80, nPosX:2395.5, nPosY:450.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem80:{sIdentity:"oItem80", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:89, nPosX:2047.4, nPosY:521.4, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1023 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part5Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part5Data
{
function Level4Part5Data () {
}
static var oPartData = {oItem12:{sIdentity:"oItem12", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:21, nPosX:2450.4, nPosY:557.7, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem13:{sIdentity:"oItem13", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:22, nPosX:2946.4, nPosY:557.7, nScaleX:382.6, nScaleY:216.2, bGroundCollider:false}, oItem26:{sIdentity:"oItem26", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:35, nPosX:2482.2, nPosY:340.6, nScaleX:122.9, nScaleY:34.7, bGroundCollider:false}, oItem27:{sIdentity:"oItem27", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:36, nPosX:2466, nPosY:343, nScaleX:145.9, nScaleY:56.4, bGroundCollider:false}, oItem28:{sIdentity:"oItem28", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:37, nPosX:2545, nPosY:341.4, nScaleX:78.1, nScaleY:33.5, bGroundCollider:false}, oItem29:{sIdentity:"oItem29", sItemType:"BottomBlocker", sAttachLink:"BottomBlocker", nAttachDepth:38, nPosX:2408.4, nPosY:377.6, nScaleX:316.2, nScaleY:37.1, bGroundCollider:false}, oItem30:{sIdentity:"oItem30", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:39, nPosX:2415.6, nPosY:355.6, nScaleX:12.1, nScaleY:36.6, bGroundCollider:false}, oItem31:{sIdentity:"oItem31", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:40, nPosX:2583.7, nPosY:355.8, nScaleX:24, nScaleY:36.2, bGroundCollider:false}, oItem37:{sIdentity:"oItem37", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:46, nPosX:2440.1, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem38:{sIdentity:"oItem38", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:47, nPosX:2934.1, nPosY:123.4, nScaleX:402.7, nScaleY:216.2, bGroundCollider:false}, oItem41:{sIdentity:"oItem41", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:50, nPosX:2502.4, nPosY:317.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem72:{sIdentity:"oItem72", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:81, nPosX:2487.3, nPosY:481.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem73:{sIdentity:"oItem73", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:82, nPosX:2575.8, nPosY:470, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem74:{sIdentity:"oItem74", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:83, nPosX:2615.7, nPosY:452, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem75:{sIdentity:"oItem75", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:84, nPosX:2891.9, nPosY:385.4, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem76:{sIdentity:"oItem76", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:85, nPosX:2968.1, nPosY:404.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem78:{sIdentity:"oItem78", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:87, nPosX:2794.4, nPosY:411.8, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1024 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part6Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level4Part6Data
{
function Level4Part6Data () {
}
static var oPartData = {oItem6:{sIdentity:"oItem6", sItemType:"LeftBlocker", sAttachLink:"LeftBlocker", nAttachDepth:15, nPosX:3154.6, nPosY:99.9, nScaleX:215.9, nScaleY:793, bGroundCollider:false}, oItem84:{sIdentity:"oItem84", sItemType:"Surfer", sAttachLink:"Surfer", nAttachDepth:93, nPosX:3057, nPosY:127.4, nScaleX:100, nScaleY:99.9, bGroundCollider:false}};
}
Symbol 1025 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part1Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part1Data
{
function Level5Part1Data () {
}
static var oPartData = {oItem1:{sIdentity:"oItem1", sItemType:"WaterBg", sAttachLink:"WaterBg", nAttachDepth:10, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem2:{sIdentity:"oItem2", sItemType:"Parallax", sAttachLink:"Parallax", nAttachDepth:11, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem3:{sIdentity:"oItem3", sItemType:"WaterSurface", sAttachLink:"WaterSurface", nAttachDepth:12, nPosX:0, nPosY:140.9, nScaleX:100, nScaleY:99.6, bGroundCollider:false}, oItem4:{sIdentity:"oItem4", sItemType:"Level5Bg", sAttachLink:"Level5Bg", nAttachDepth:13, nPosX:0, nPosY:0, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem5:{sIdentity:"oItem5", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:14, nPosX:-29.6, nPosY:583, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem7:{sIdentity:"oItem7", sItemType:"RightBlocker", sAttachLink:"RightBlocker", nAttachDepth:16, nPosX:0, nPosY:100, nScaleX:215.9, nScaleY:835.2, bGroundCollider:false}, oItem8:{sIdentity:"oItem8", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:17, nPosX:466.4, nPosY:583, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem38:{sIdentity:"oItem38", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:47, nPosX:-29.6, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem39:{sIdentity:"oItem39", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:48, nPosX:464.3, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem48:{sIdentity:"oItem48", sItemType:"Eel", sAttachLink:"Eel", nAttachDepth:57, nPosX:147.9, nPosY:290, nScaleX:99.9, nScaleY:100, bGroundCollider:false}, oItem49:{sIdentity:"oItem49", sItemType:"Turtle", sAttachLink:"Turtle", nAttachDepth:58, nPosX:70.2, nPosY:425, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem50:{sIdentity:"oItem50", sItemType:"JellyFish", sAttachLink:"JellyFish", nAttachDepth:59, nPosX:510.8, nPosY:470, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem51:{sIdentity:"oItem51", sItemType:"Dolphin", sAttachLink:"Dolphin", nAttachDepth:60, nPosX:498.1, nPosY:200, nScaleX:100, nScaleY:100.3, bGroundCollider:false}, oItem52:{sIdentity:"oItem52", sItemType:"JellyFish", sAttachLink:"JellyFish", nAttachDepth:61, nPosX:461.8, nPosY:425, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem53:{sIdentity:"oItem53", sItemType:"JellyFish", sAttachLink:"JellyFish", nAttachDepth:62, nPosX:46.1, nPosY:334.1, nScaleX:100, nScaleY:100.2, bGroundCollider:false}, oItem54:{sIdentity:"oItem54", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:63, nPosX:114.7, nPosY:411.6, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem55:{sIdentity:"oItem55", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:64, nPosX:483.7, nPosY:361.6, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem56:{sIdentity:"oItem56", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:65, nPosX:278.4, nPosY:394.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem57:{sIdentity:"oItem57", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:66, nPosX:432.8, nPosY:368.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem58:{sIdentity:"oItem58", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:67, nPosX:209.3, nPosY:384.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem59:{sIdentity:"oItem59", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:68, nPosX:583.6, nPosY:403.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem90:{sIdentity:"oItem90", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:99, nPosX:356.6, nPosY:419.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem92:{sIdentity:"oItem92", sItemType:"Follower", sAttachLink:"Follower", nAttachDepth:101, nPosX:180.1, nPosY:143.8, nScaleX:100, nScaleY:100, bGroundCollider:true}, oItem94:{sIdentity:"oItem94", sItemType:"Player", sAttachLink:"Player", nAttachDepth:103, nPosX:289.9, nPosY:147.8, nScaleX:100, nScaleY:100, bGroundCollider:true}};
}
Symbol 1026 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part2Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part2Data
{
function Level5Part2Data () {
}
static var oPartData = {oItem9:{sIdentity:"oItem9", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:18, nPosX:962.4, nPosY:583, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem14:{sIdentity:"oItem14", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:23, nPosX:727.7, nPosY:296.2, nScaleX:153.1, nScaleY:28.7, bGroundCollider:false}, oItem15:{sIdentity:"oItem15", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:24, nPosX:703.1, nPosY:298.6, nScaleX:190.7, nScaleY:56.4, bGroundCollider:false}, oItem16:{sIdentity:"oItem16", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:25, nPosX:805.8, nPosY:297, nScaleX:119.4, nScaleY:45.3, bGroundCollider:false}, oItem17:{sIdentity:"oItem17", sItemType:"BottomBlocker", sAttachLink:"BottomBlocker", nAttachDepth:26, nPosX:631.4, nPosY:337.7, nScaleX:422.3, nScaleY:37.1, bGroundCollider:false}, oItem18:{sIdentity:"oItem18", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:27, nPosX:638.7, nPosY:311.2, nScaleX:12.1, nScaleY:44.2, bGroundCollider:false}, oItem19:{sIdentity:"oItem19", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:28, nPosX:871.7, nPosY:320.5, nScaleX:21.8, nScaleY:28.7, bGroundCollider:false}, oItem20:{sIdentity:"oItem20", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:29, nPosX:1108.5, nPosY:352.4, nScaleX:155.5, nScaleY:29.7, bGroundCollider:false}, oItem21:{sIdentity:"oItem21", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:30, nPosX:1083.9, nPosY:354.8, nScaleX:209.7, nScaleY:56.4, bGroundCollider:false}, oItem22:{sIdentity:"oItem22", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:31, nPosX:1196.7, nPosY:353.2, nScaleX:116.7, nScaleY:36.9, bGroundCollider:false}, oItem23:{sIdentity:"oItem23", sItemType:"BottomBlocker", sAttachLink:"BottomBlocker", nAttachDepth:32, nPosX:1012.3, nPosY:383.6, nScaleX:436.7, nScaleY:37.1, bGroundCollider:false}, oItem24:{sIdentity:"oItem24", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:33, nPosX:1019.5, nPosY:367.4, nScaleX:12.1, nScaleY:27, bGroundCollider:false}, oItem40:{sIdentity:"oItem40", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:49, nPosX:958.3, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem45:{sIdentity:"oItem45", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:54, nPosX:918.9, nPosY:414.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem60:{sIdentity:"oItem60", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:69, nPosX:696.9, nPosY:574.6, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem61:{sIdentity:"oItem61", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:70, nPosX:755.3, nPosY:602.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem62:{sIdentity:"oItem62", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:71, nPosX:792.3, nPosY:593.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem63:{sIdentity:"oItem63", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:72, nPosX:829.9, nPosY:560.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem64:{sIdentity:"oItem64", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:73, nPosX:968.1, nPosY:457.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem65:{sIdentity:"oItem65", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:74, nPosX:1007.4, nPosY:490.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem66:{sIdentity:"oItem66", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:75, nPosX:1158.2, nPosY:498.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem85:{sIdentity:"oItem85", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:94, nPosX:1193, nPosY:504, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem91:{sIdentity:"oItem91", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:100, nPosX:849.3, nPosY:531.8, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1027 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part3Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part3Data
{
function Level5Part3Data () {
}
static var oPartData = {oItem10:{sIdentity:"oItem10", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:19, nPosX:1458.4, nPosY:583, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem25:{sIdentity:"oItem25", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:34, nPosX:1259.6, nPosY:370.7, nScaleX:24.2, nScaleY:21.5, bGroundCollider:false}, oItem26:{sIdentity:"oItem26", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:35, nPosX:1755.3, nPosY:310.2, nScaleX:113.1, nScaleY:28.7, bGroundCollider:false}, oItem27:{sIdentity:"oItem27", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:36, nPosX:1734.6, nPosY:312.5, nScaleX:225.5, nScaleY:56.4, bGroundCollider:false}, oItem29:{sIdentity:"oItem29", sItemType:"BottomBlocker", sAttachLink:"BottomBlocker", nAttachDepth:38, nPosX:1681.9, nPosY:348.7, nScaleX:411, nScaleY:37.1, bGroundCollider:false}, oItem30:{sIdentity:"oItem30", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:39, nPosX:1692.7, nPosY:322.9, nScaleX:18.1, nScaleY:42.9, bGroundCollider:false}, oItem41:{sIdentity:"oItem41", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:50, nPosX:1452.2, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem47:{sIdentity:"oItem47", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:56, nPosX:1537.5, nPosY:387.6, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem67:{sIdentity:"oItem67", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:76, nPosX:1273.9, nPosY:501.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem68:{sIdentity:"oItem68", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:77, nPosX:1360.7, nPosY:438.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem69:{sIdentity:"oItem69", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:78, nPosX:1611.2, nPosY:403.5, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem70:{sIdentity:"oItem70", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:79, nPosX:1755.3, nPosY:552.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem71:{sIdentity:"oItem71", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:80, nPosX:1785.9, nPosY:552.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem86:{sIdentity:"oItem86", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:95, nPosX:1446.9, nPosY:407.9, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1028 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part4Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part4Data
{
function Level5Part4Data () {
}
static var oPartData = {oItem11:{sIdentity:"oItem11", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:20, nPosX:1954.4, nPosY:583, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem28:{sIdentity:"oItem28", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:37, nPosX:1860, nPosY:310.9, nScaleX:87.3, nScaleY:27.4, bGroundCollider:false}, oItem31:{sIdentity:"oItem31", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:40, nPosX:1903.4, nPosY:321.9, nScaleX:41.9, nScaleY:44.5, bGroundCollider:false}, oItem32:{sIdentity:"oItem32", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:41, nPosX:2300.3, nPosY:349, nScaleX:96.3, nScaleY:27.7, bGroundCollider:false}, oItem33:{sIdentity:"oItem33", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:42, nPosX:2283.5, nPosY:351.3, nScaleX:184.1, nScaleY:56.4, bGroundCollider:false}, oItem34:{sIdentity:"oItem34", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:43, nPosX:2379.5, nPosY:349.7, nScaleX:111.1, nScaleY:29.5, bGroundCollider:false}, oItem35:{sIdentity:"oItem35", sItemType:"BottomBlocker", sAttachLink:"BottomBlocker", nAttachDepth:44, nPosX:2237.1, nPosY:384.5, nScaleX:354.9, nScaleY:37.1, bGroundCollider:false}, oItem36:{sIdentity:"oItem36", sItemType:"LeftSlope", sAttachLink:"LeftSlope", nAttachDepth:45, nPosX:2250, nPosY:359.5, nScaleX:21.5, nScaleY:41.5, bGroundCollider:false}, oItem42:{sIdentity:"oItem42", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:51, nPosX:1946.2, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem72:{sIdentity:"oItem72", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:81, nPosX:1818.3, nPosY:553.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem73:{sIdentity:"oItem73", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:82, nPosX:1972.2, nPosY:394.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem74:{sIdentity:"oItem74", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:83, nPosX:2067.1, nPosY:347.3, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem75:{sIdentity:"oItem75", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:84, nPosX:2137.1, nPosY:372.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem76:{sIdentity:"oItem76", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:85, nPosX:2246.4, nPosY:535.4, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem77:{sIdentity:"oItem77", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:86, nPosX:2277.1, nPosY:570.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem79:{sIdentity:"oItem79", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:88, nPosX:2378.9, nPosY:583.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem87:{sIdentity:"oItem87", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:96, nPosX:1847, nPosY:559.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem88:{sIdentity:"oItem88", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:97, nPosX:2335.7, nPosY:603.1, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1029 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part5Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part5Data
{
function Level5Part5Data () {
}
static var oPartData = {oItem12:{sIdentity:"oItem12", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:21, nPosX:2450.4, nPosY:583, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem13:{sIdentity:"oItem13", sItemType:"TopBlocker", sAttachLink:"TopBlocker", nAttachDepth:22, nPosX:2946.4, nPosY:583, nScaleX:382.6, nScaleY:216.2, bGroundCollider:false}, oItem37:{sIdentity:"oItem37", sItemType:"RightSlope", sAttachLink:"RightSlope", nAttachDepth:46, nPosX:2435.5, nPosY:361.4, nScaleX:24.1, nScaleY:38.4, bGroundCollider:false}, oItem43:{sIdentity:"oItem43", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:52, nPosX:2440.1, nPosY:123.4, nScaleX:833.3, nScaleY:216.2, bGroundCollider:false}, oItem44:{sIdentity:"oItem44", sItemType:"SurfaceBlocker", sAttachLink:"SurfaceBlocker", nAttachDepth:53, nPosX:2934.1, nPosY:123.4, nScaleX:402.7, nScaleY:216.2, bGroundCollider:false}, oItem46:{sIdentity:"oItem46", sItemType:"BubbleJet", sAttachLink:"BubbleJet", nAttachDepth:55, nPosX:2608.7, nPosY:336.7, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem78:{sIdentity:"oItem78", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:87, nPosX:2406.1, nPosY:556.8, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem80:{sIdentity:"oItem80", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:89, nPosX:2510.5, nPosY:411.1, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem81:{sIdentity:"oItem81", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:90, nPosX:2681.2, nPosY:400.6, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem82:{sIdentity:"oItem82", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:91, nPosX:2788.9, nPosY:389.9, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem83:{sIdentity:"oItem83", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:92, nPosX:2835.2, nPosY:421.2, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem84:{sIdentity:"oItem84", sItemType:"BabyFishHole", sAttachLink:"BabyFishHole", nAttachDepth:93, nPosX:2883.2, nPosY:360.4, nScaleX:100, nScaleY:100, bGroundCollider:false}, oItem89:{sIdentity:"oItem89", sItemType:"SeaSnakeHole", sAttachLink:"SeaSnakeHole", nAttachDepth:98, nPosX:2738.3, nPosY:436.1, nScaleX:100, nScaleY:100, bGroundCollider:false}};
}
Symbol 1030 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part6Data] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.lvls_data.Level5Part6Data
{
function Level5Part6Data () {
}
static var oPartData = {oItem6:{sIdentity:"oItem6", sItemType:"LeftBlocker", sAttachLink:"LeftBlocker", nAttachDepth:15, nPosX:3154.6, nPosY:99.9, nScaleX:215.9, nScaleY:828.5, bGroundCollider:false}, oItem93:{sIdentity:"oItem93", sItemType:"Surfer", sAttachLink:"Surfer", nAttachDepth:102, nPosX:3057, nPosY:127.4, nScaleX:100, nScaleY:99.9, bGroundCollider:false}};
}
Symbol 1031 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.basic_class.AttachItem] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.basic_class.AttachItem extends com.disney.gem.games.LiloExpress.game_obj.basic_class.State
{
var mcContainer, nAttachDepth, sAttachLink, sAttachName, sName, bActivatedItem, setInstantState, sState, mcRef, nPosX, nPosY, nScaleX, nScaleY, oBackground;
function AttachItem (_oItemData) {
super(_oItemData);
mcContainer = _oItemData.mcContainer;
nAttachDepth = _oItemData.nAttachDepth;
sAttachLink = _oItemData.sAttachLink;
sAttachName = "mc" + (substring(sName, 2, -1));
bActivatedItem = _oItemData.bActivatedItem;
attachItemMovie();
if (bActivatedItem == false) {
setInstantState(sState);
}
}
function attachItemMovie() {
mcContainer.attachMovie(sAttachLink, sAttachName, nAttachDepth);
mcRef = mcContainer[sAttachName];
mcRef._x = nPosX;
mcRef._y = nPosY;
mcRef._xscale = nScaleX;
mcRef._yscale = nScaleY;
if ((bActivatedItem == false) and (mcRef.mcForm != undefined)) {
mcRef.mcForm.swapDepths(10);
mcRef.mcForm.removeMovieClip();
}
}
function setBackground(_oBackground) {
oBackground = _oBackground;
}
}
Symbol 1032 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.Background] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.Background extends com.disney.gem.games.LiloExpress.game_obj.basic_class.AttachItem
{
var mcRef, oPlayer, oOwner, oFollower, nLeftScreenX, nRightScreenX, nTopScreenY, nBottomScreenY, nCenterX, nCenterY, nLeftBound, nRightBound, nTopBound, nBottomBound, nScrollSpd, nRightBorder, nLeftBorder, bReachEnd, nRightMoveLimit, nLeftMoveLimit, nPosX, nPosY, sAttachName, mcContainer, oController, sName, bStateInUse;
function Background (_oItemData) {
super(_oItemData);
mcRef = _oItemData.mcRef;
oPlayer = oOwner.oPlayer;
oFollower = oOwner.oFollower;
nLeftScreenX = 0;
nRightScreenX = com.disney.gem.games.LiloExpress.GameData.nSCREEN_WIDTH;
nTopScreenY = 0;
nBottomScreenY = com.disney.gem.games.LiloExpress.GameData.nSCREEN_HEIGHT;
nCenterX = nRightScreenX / 2;
nCenterY = nBottomScreenY / 2;
nLeftBound = 0;
nRightBound = 0;
nTopBound = 0;
nBottomBound = 0;
nScrollSpd = com.disney.gem.games.LiloExpress.GameData.nBG_SCROLL_SPD;
nRightBorder = nRightScreenX;
nLeftBorder = 0;
bReachEnd = false;
nRightMoveLimit = nRightScreenX;
nLeftMoveLimit = nLeftScreenX;
setBounds();
mcRef._x = nPosX;
mcRef._y = nPosY;
}
function state_Idle() {
doMove();
}
function setBounds() {
nLeftBound = mcContainer[sAttachName].mcLeftDownBounds._x;
nRightBound = mcContainer[sAttachName].mcRightUpBounds._x;
nTopBound = mcContainer[sAttachName].mcRightUpBounds._y;
nBottomBound = mcContainer[sAttachName].mcLeftDownBounds._y;
mcContainer[sAttachName].mcLeftDownBounds.swapDepths(10);
mcContainer[sAttachName].mcLeftDownBounds.removeMovieClip();
mcContainer[sAttachName].mcRightUpBounds.swapDepths(10);
mcContainer[sAttachName].mcRightUpBounds.removeMovieClip();
}
function doMove() {
if (oController.bEndLvlReach == false) {
nRightMoveLimit = nRightMoveLimit + nScrollSpd;
nLeftMoveLimit = nLeftMoveLimit + nScrollSpd;
nPosX = nPosX - nScrollSpd;
oPlayer.followBg(nScrollSpd);
oFollower.followBg(nScrollSpd);
}
var _local2 = oPlayer.nPosY + nPosY;
var _local3 = nCenterY - _local2;
nPosY = nPosY + _local3;
checkBounds();
mcRef._x = int(nPosX);
mcRef._y = int(nPosY);
oPlayer.checkGameLimits(nRightMoveLimit, nLeftMoveLimit);
}
function checkBounds() {
var _local2 = nPosX + nLeftBound;
var _local3 = nPosX + nRightBound;
var _local5 = nPosY + nTopBound;
var _local4 = nPosY + nBottomBound;
if (_local2 > nLeftScreenX) {
nPosX = nPosX + (nLeftScreenX - _local2);
} else if (_local3 < nRightScreenX) {
oController.bEndLvlReach = true;
oPlayer.initEndLevel();
nPosX = nPosX + (nRightScreenX - _local3);
}
if (_local5 > nTopScreenY) {
nPosY = nPosY + (nTopScreenY - _local5);
} else if (_local4 < nBottomScreenY) {
nPosY = nPosY + (nBottomScreenY - _local4);
}
}
function deleteObject() {
mcContainer[sAttachName].removeMovieClip();
delete oOwner[sName];
if (bStateInUse == true) {
oController.oMainBroadcaster.removeListener(this);
}
}
}
Symbol 1033 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.Parallax] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.Parallax extends com.disney.gem.games.LiloExpress.game_obj.basic_class.AttachItem
{
var mcRef, nLeftBound, nRightBound, nTopBound, nBottomBound, nPosX, nPosY, oBackground, nRatioMoveX, sAttachName, mcContainer, sName, oOwner, bStateInUse, oController;
function Parallax (_oItemData) {
super(_oItemData);
mcRef = _oItemData.mcRef;
nLeftBound = 0;
nRightBound = 0;
nTopBound = 0;
nBottomBound = 0;
setBounds();
mcRef._x = nPosX;
mcRef._y = nPosY;
}
function state_Idle() {
followBg();
}
function setBackground(_oBackground) {
oBackground = _oBackground;
}
function setRelatedBgVars() {
nRatioMoveX = (nRightBound - oBackground.nRightScreenX) / (oBackground.nRightBound - oBackground.nRightScreenX);
}
function setBounds() {
nLeftBound = mcContainer[sAttachName].mcLeftDownBounds._x;
nRightBound = mcContainer[sAttachName].mcRightUpBounds._x;
nTopBound = mcContainer[sAttachName].mcRightUpBounds._y;
nBottomBound = mcContainer[sAttachName].mcLeftDownBounds._y;
mcContainer[sAttachName].mcLeftDownBounds.swapDepths(10);
mcContainer[sAttachName].mcLeftDownBounds.removeMovieClip();
mcContainer[sAttachName].mcRightUpBounds.swapDepths(10);
mcContainer[sAttachName].mcRightUpBounds.removeMovieClip();
}
function followBg() {
nPosX = oBackground.nPosX * nRatioMoveX;
nPosY = oBackground.nPosY;
mcRef._x = int(nPosX);
mcRef._y = int(nPosY);
}
function deleteObject() {
mcContainer[sAttachName].removeMovieClip();
delete oOwner[sName];
if (bStateInUse == true) {
oController.oMainBroadcaster.removeListener(this);
}
}
}
Symbol 1034 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.WaterBg] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.WaterBg extends com.disney.gem.games.LiloExpress.game_obj.basic_class.AttachItem
{
var oBackground, nPosY, mcRef;
function WaterBg (_oItemData) {
super(_oItemData);
}
function state_Idle() {
followBgY();
}
function setBackground(_oBackground) {
oBackground = _oBackground;
}
function followBgY() {
nPosY = oBackground.nPosY;
mcRef._y = int(nPosY);
}
}
Symbol 1035 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.WaterSurface] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.WaterSurface extends com.disney.gem.games.LiloExpress.game_obj.basic_class.AttachItem
{
var nStartPosY, nPosY, oBackground, mcRef;
function WaterSurface (_oItemData) {
super(_oItemData);
nStartPosY = nPosY;
}
function state_Idle() {
followBgY();
}
function setBackground(_oBackground) {
oBackground = _oBackground;
}
function followBgY() {
nPosY = oBackground.nPosY + nStartPosY;
mcRef._y = int(nPosY);
}
}
Symbol 1036 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ActivatedItem] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ActivatedItem extends com.disney.gem.games.LiloExpress.game_obj.basic_class.AttachItem
{
var bActivatedItem, oActivationManager, oOwner, bFixItem, nMinBoundX, nMinBoundY, setInstantState, sState, oBounds, mcRef, nPosX, nPosY, nDistUpSide, nDistDownSide, nDistRightSide, nDistLeftSide, sLUBroadcaster, sRUBroadcaster, sLDBroadcaster, sRDBroadcaster, oBackground, oController, bIsCollider, oImpactManager, attachItemMovie, sType;
function ActivatedItem (_oItemData) {
super(_oItemData);
if (bActivatedItem == true) {
oActivationManager = oOwner.oActivationManager;
bFixItem = _oItemData.bFixItem;
if (_oItemData.nMinBoundX != undefined) {
nMinBoundX = _oItemData.nMinBoundX;
} else {
nMinBoundX = 0;
}
if (_oItemData.nMinBoundY != undefined) {
nMinBoundY = _oItemData.nMinBoundY;
} else {
nMinBoundY = 0;
}
setInstantState(sState);
setBounds();
}
}
function setBounds() {
oBounds = mcRef.getBounds(mcRef._parent);
if (oBounds.xMin > (nPosX - nMinBoundX)) {
oBounds.xMin = nPosX - nMinBoundX;
}
if (oBounds.xMax < (nPosX + nMinBoundX)) {
oBounds.xMax = nPosX + nMinBoundX;
}
if (oBounds.yMin > (nPosY - nMinBoundY)) {
oBounds.yMin = nPosY - nMinBoundY;
}
if (oBounds.yMax < (nPosY + nMinBoundY)) {
oBounds.yMax = nPosY + nMinBoundY;
}
nDistUpSide = nPosY - oBounds.yMin;
nDistDownSide = oBounds.yMax - nPosY;
nDistRightSide = oBounds.xMax - nPosX;
nDistLeftSide = nPosX - oBounds.xMin;
if (mcRef.mcForm != undefined) {
mcRef.mcForm.swapDepths(10);
mcRef.mcForm.removeMovieClip();
}
}
function addActivateBroadcast() {
sLUBroadcaster = oActivationManager.addToBroadcast(this, oBounds.xMin, oBounds.yMin);
sRUBroadcaster = oActivationManager.addToBroadcast(this, oBounds.xMax, oBounds.yMin);
sLDBroadcaster = oActivationManager.addToBroadcast(this, oBounds.xMin, oBounds.yMax);
sRDBroadcaster = oActivationManager.addToBroadcast(this, oBounds.xMax, oBounds.yMax);
}
function checkDesactivate() {
if (bFixItem != true) {
setBounds();
}
var _local3 = nPosX + oBackground.nPosX;
var _local2 = nPosY + oBackground.nPosY;
var _local5 = _local3 - nDistLeftSide;
var _local6 = _local3 + nDistRightSide;
var _local4 = _local2 - nDistUpSide;
var _local7 = _local2 + nDistDownSide;
if ((((_local6 < oActivationManager.nLActiveLimit) or (_local5 > oActivationManager.nRActiveLimit)) or (_local7 < oActivationManager.nUpActiveLimit)) or (_local4 > oActivationManager.nDwActiveLimit)) {
desactivateItem();
}
}
function desactivateItem() {
mcRef.removeMovieClip();
oController.oMainBroadcaster.removeListener(this);
addActivateBroadcast();
if (bIsCollider == true) {
oImpactManager.removeCollider(this);
}
}
function checkActivate() {
var _local3 = nPosX + oBackground.nPosX;
var _local2 = nPosY + oBackground.nPosY;
var _local5 = _local3 - nDistLeftSide;
var _local6 = _local3 + nDistRightSide;
var _local4 = _local2 - nDistUpSide;
var _local7 = _local2 + nDistDownSide;
if ((((_local6 < oActivationManager.nLActiveLimit) or (_local5 > oActivationManager.nRActiveLimit)) or (_local7 < oActivationManager.nUpActiveLimit)) or (_local4 > oActivationManager.nDwActiveLimit)) {
} else {
activateItem();
}
}
function activateItem() {
attachItemMovie();
setBounds();
oActivationManager.removeToBroadcast(this, sLUBroadcaster);
oActivationManager.removeToBroadcast(this, sRUBroadcaster);
oActivationManager.removeToBroadcast(this, sLDBroadcaster);
oActivationManager.removeToBroadcast(this, sRDBroadcaster);
setInstantState(sState);
oController.oMainBroadcaster.addListener(this);
}
function onUpdate() {
super.onUpdate();
if (com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ActivationData.oCHECK_DESACTIVATE_DATA[sType][sState] == true) {
checkDesactivate();
}
}
}
Symbol 1037 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ActivationData] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ActivationData
{
function ActivationData () {
}
static var oCHECK_DESACTIVATE_DATA = {TopBlocker:{Idle:true}, BottomBlocker:{Idle:true}, RightBlocker:{Idle:true}, LeftBlocker:{Idle:true}, SurfaceBlocker:{Idle:true}, Eel:{Swim:true}, SmallFish1:{Swim:true}, SmallFish2:{Swim:true}, SmallFish3:{Swim:true}, Turtle:{Swim:true}, JellyFish:{Swim:true, IdleUp:true, Sink:true, IdleDown:true}, Dolphin:{Swim:true}, BubbleJet:{Idle:true}, FishHole:{Idle:true}, SeaSnake:{Idle:true}};
}
Symbol 1038 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ColliderItem] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ColliderItem extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ActivatedItem
{
var bIsCollider, oImpactManager, oOwner, nUpBorder, nScaleY, mcRef, nRightBorder, nScaleX, nDownBorder, nLeftBorder, nUpHitBorder, nDownHitBorder, nLeftHitBorder, nRightHitBorder, nMaxMoveY, nPosY, nMaxMoveX, nPosX, sColliderType, sName;
function ColliderItem (_oItemData) {
super(_oItemData);
bIsCollider = true;
}
function attachItemMovie() {
super.attachItemMovie();
oImpactManager = oOwner.oImpactManager;
setAsCollider();
}
function setAsCollider() {
nUpBorder = (mcRef.mcRightUpBorder._y * nScaleY) / 100;
nRightBorder = (mcRef.mcRightUpBorder._x * nScaleX) / 100;
nDownBorder = (mcRef.mcLeftDownBorder._y * nScaleY) / 100;
nLeftBorder = (mcRef.mcLeftDownBorder._x * nScaleX) / 100;
nUpBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nUpBorder);
nRightBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nRightBorder);
nDownBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nDownBorder);
nLeftBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nLeftBorder);
mcRef.mcLeftDownBorder.swapDepths(10);
mcRef.mcLeftDownBorder.removeMovieClip();
mcRef.mcRightUpBorder.swapDepths(10);
mcRef.mcRightUpBorder.removeMovieClip();
oImpactManager.addCollider(this);
}
function returnImpactData() {
setHitBorders();
var _local2 = {sName:sName, sColliderType:sColliderType, nPosX:nPosX, nPosY:nPosY, nMaxMoveX:nMaxMoveX, nMaxMoveY:nMaxMoveY, nDestX:nPosX + nMaxMoveX, nDestY:nPosY + nMaxMoveY, nRightBorder:nRightBorder, nLeftBorder:nLeftBorder, nDownBorder:nDownBorder, nUpBorder:nUpBorder, nRightHitBorder:nRightHitBorder, nLeftHitBorder:nLeftHitBorder, nDownHitBorder:nDownHitBorder, nUpHitBorder:nUpHitBorder};
return(_local2);
}
function setHitBorders() {
nRightHitBorder = nPosX + nRightBorder;
nLeftHitBorder = nPosX + nLeftBorder;
nDownHitBorder = nPosY + nDownBorder;
nUpHitBorder = nPosY + nUpBorder;
nRightHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nRightHitBorder);
nLeftHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nLeftHitBorder);
nDownHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nDownHitBorder);
nUpHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nUpHitBorder);
}
function checkInReach(_oMovingData, _nRightMoveBorder, _nLeftMoveBorder, _nDownMoveBorder, _nUpMoveBorder) {
var _local3 = false;
_oMovingData.bInXReach = false;
_oMovingData.bInYReach = false;
var _local4 = _oMovingData.sColliderType;
if (com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition[_local4][sColliderType] == true) {
setHitBorders();
if (_oMovingData.nMaxMoveX > 0) {
if ((nLeftHitBorder >= _nLeftMoveBorder) and (nLeftHitBorder <= _nRightMoveBorder)) {
_oMovingData.bInXReach = true;
_local3 = true;
}
} else if (_oMovingData.nMaxMoveX < 0) {
if ((nRightHitBorder <= _nRightMoveBorder) and (nRightHitBorder >= _nLeftMoveBorder)) {
_oMovingData.bInXReach = true;
_local3 = true;
}
}
if (_oMovingData.nMaxMoveY > 0) {
if ((nUpHitBorder >= _nUpMoveBorder) and (nUpHitBorder <= _nDownMoveBorder)) {
_oMovingData.bInYReach = true;
_local3 = true;
}
} else if (_oMovingData.nMaxMoveY < 0) {
if ((nDownHitBorder <= _nDownMoveBorder) and (nDownHitBorder >= _nUpMoveBorder)) {
_oMovingData.bInYReach = true;
_local3 = true;
}
}
}
return(_local3);
}
function checkIfCanBeHit(_oMovingData) {
var _local13 = false;
var _local16 = false;
if ((_oMovingData.bInXReach == true) and (_oMovingData.nMaxMoveX != 0)) {
if (_oMovingData.nMaxMoveX > 0) {
var _local4 = nLeftHitBorder - _oMovingData.nRightHitBorder;
_local4 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local4);
var _local15 = "Left";
if (_local4 < 0) {
_local4 = 0;
}
} else if (_oMovingData.nMaxMoveX < 0) {
var _local4 = nRightHitBorder - _oMovingData.nLeftHitBorder;
_local4 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local4);
var _local15 = "Right";
if (_local4 > 0) {
_local4 = 0;
}
}
var _local8 = _local4 / _oMovingData.nMaxMoveX;
if (_local8 < 0) {
_local8 = 0;
}
var _local17 = _oMovingData.nPosX + _local4;
_local17 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local17);
var _local11 = _oMovingData.nPosY + (_oMovingData.nMaxMoveY * _local8);
_local11 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local11);
if (((_local11 + _oMovingData.nDownBorder) > nUpHitBorder) and ((_local11 + _oMovingData.nUpBorder) < nDownHitBorder)) {
_local13 = true;
}
}
if ((_oMovingData.bInYReach == true) and (_oMovingData.nMaxMoveY != 0)) {
if (_oMovingData.nMaxMoveY > 0) {
var _local3 = nUpHitBorder - _oMovingData.nDownHitBorder;
_local3 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local3);
var _local14 = "Up";
if (_local3 < 0) {
_local3 = 0;
}
} else if (_oMovingData.nMaxMoveY < 0) {
var _local3 = nDownHitBorder - _oMovingData.nUpHitBorder;
_local3 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local3);
var _local14 = "Down";
if (_local3 > 0) {
_local3 = 0;
}
}
var _local7 = _local3 / _oMovingData.nMaxMoveY;
if (_local7 < 0) {
_local7 = 0;
}
var _local18 = _oMovingData.nPosY + _local3;
_local18 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local18);
var _local12 = _oMovingData.nPosX + (_oMovingData.nMaxMoveX * _local7);
_local12 = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(_local12);
if (((_local12 + _oMovingData.nRightBorder) > nLeftHitBorder) and ((_local12 + _oMovingData.nLeftBorder) < nRightHitBorder)) {
_local16 = true;
}
}
if ((_local13 == true) or (_local16 == true)) {
var _local9;
var _local10;
var _local5;
var _local6;
if ((_local13 == true) and (_local16 == true)) {
if (_local3 < _local4) {
_local9 = _local3;
_local10 = _local7;
_local5 = "Y";
_local6 = _local14;
} else if (_local3 > _local4) {
_local9 = _local4;
_local10 = _local8;
_local5 = "X";
_local6 = _local15;
} else if (random(100) < 50) {
_local9 = _local4;
_local10 = _local8;
_local5 = "X";
_local6 = _local15;
} else {
_local9 = _local3;
_local10 = _local7;
_local5 = "Y";
_local6 = _local14;
}
} else if (_local13 == true) {
_local9 = _local4;
_local10 = _local8;
_local5 = "X";
_local6 = _local15;
} else {
_local9 = _local3;
_local10 = _local7;
_local5 = "Y";
_local6 = _local14;
}
var _local19 = {oItem:this, nImpactDist:_local9, nMovePercent:_local10, sImpactAxis:_local5, sImpactSide:_local6};
}
return(_local19);
}
function validateMove() {
oImpactManager.checkForImpact(this);
}
function resolveHit(_oMovingItem, _oImpactCheckResult) {
}
function resolveHitAfterMove(_oMovingItem) {
}
function doImpactResult(_oMovingItem) {
}
function deleteObject() {
oImpactManager.removeCollider(this);
super.deleteObject();
}
}
Symbol 1039 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition
{
function ImpactDefinition () {
}
static var Player = {TopBlocker:true, BottomBlocker:true, RightBlocker:true, LeftBlocker:true, RightSlope:true, LeftSlope:true, SurfaceBlocker:true, Fish:true, JellyFish:true, BubbleJet:true};
static var Fish = {Player:true};
static var JellyFish = {Player:true, JellyGround:true};
}
Symbol 1040 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.TopBlocker] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.TopBlocker extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ColliderItem
{
function TopBlocker (_oItemData) {
super(_oItemData);
}
function confirmCanBeHit(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactSide == "Up") {
return(true);
}
return(false);
}
function resolveHit(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactSide == "Up") {
_oMovingItem.nRealMoveY = _oImpactCheckResult.nImpactDist;
_oMovingItem.nMaxMoveY = 0;
_oMovingItem.nRealMoveX = 0;
doImpactResult(_oMovingItem, _oImpactCheckResult);
}
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
_oMovingItem.setHitGround();
}
}
Symbol 1041 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.BottomBlocker] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.BottomBlocker extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ColliderItem
{
function BottomBlocker (_oItemData) {
super(_oItemData);
}
function confirmCanBeHit(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactSide == "Down") {
return(true);
}
return(false);
}
function resolveHit(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactSide == "Down") {
_oMovingItem.nRealMoveY = _oImpactCheckResult.nImpactDist;
_oMovingItem.nMaxMoveY = 0;
_oMovingItem.nSpdY = 0;
_oMovingItem.nRealMoveX = 0;
doImpactResult(_oMovingItem, _oImpactCheckResult);
}
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
_oMovingItem.setHitTop();
}
}
Symbol 1042 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.RightBlocker] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.RightBlocker extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ColliderItem
{
function RightBlocker (_oItemData) {
super(_oItemData);
}
function confirmCanBeHit(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactSide == "Right") {
return(true);
}
return(false);
}
function resolveHit(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactSide == "Right") {
_oMovingItem.nRealMoveX = _oImpactCheckResult.nImpactDist;
_oMovingItem.nMaxMoveX = 0;
if ((_oMovingItem.bOnGround == false) or (_oMovingItem.nMaxMoveY < 0)) {
_oMovingItem.nRealMoveY = 0;
} else {
_oMovingItem.nRealMoveY = 0;
_oMovingItem.nMaxMoveY = 0;
}
doImpactResult(_oMovingItem, _oImpactCheckResult);
}
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactSide == "Right") {
_oMovingItem.setHitWall();
}
}
}
Symbol 1043 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.LeftBlocker] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.LeftBlocker extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ColliderItem
{
function LeftBlocker (_oItemData) {
super(_oItemData);
}
function confirmCanBeHit(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactSide == "Left") {
return(true);
}
return(false);
}
function resolveHit(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactSide == "Left") {
_oMovingItem.nRealMoveX = _oImpactCheckResult.nImpactDist;
_oMovingItem.nMaxMoveX = 0;
if ((_oMovingItem.bOnGround == false) or (_oMovingItem.nMaxMoveY < 0)) {
_oMovingItem.nRealMoveY = 0;
} else {
_oMovingItem.nRealMoveY = 0;
_oMovingItem.nMaxMoveY = 0;
}
doImpactResult(_oMovingItem, _oImpactCheckResult);
}
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactSide == "Left") {
_oMovingItem.setHitWall();
}
}
}
Symbol 1044 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.RightSlope] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.RightSlope extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ColliderItem
{
var bSliding, sSlideDirection, nUpBorder, nScaleY, mcRef, nRightBorder, nScaleX, nDownBorder, nLeftBorder, oImpactManager, nPosX, nPosY, nM, nB, sColliderType, setHitBorders, nUpHitBorder, nDownHitBorder, nLeftHitBorder, nRightHitBorder, oController, addActivateBroadcast;
function RightSlope (_oItemData) {
super(_oItemData);
setSlope();
bSliding = false;
sSlideDirection = "Right";
}
function setAsCollider() {
nUpBorder = (mcRef.mcRightUpBorder._y * nScaleY) / 100;
nRightBorder = (mcRef.mcRightUpBorder._x * nScaleX) / 100;
nDownBorder = (mcRef.mcLeftDownBorder._y * nScaleY) / 100;
nLeftBorder = (mcRef.mcLeftDownBorder._x * nScaleX) / 100;
nUpBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nUpBorder);
nRightBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nRightBorder);
nDownBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nDownBorder);
nLeftBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nLeftBorder);
mcRef.mcLeftDownBorder.swapDepths(10);
mcRef.mcLeftDownBorder.removeMovieClip();
mcRef.mcRightUpBorder.swapDepths(10);
mcRef.mcRightUpBorder.removeMovieClip();
oImpactManager.addSlopeCollider(this);
}
function setSlope() {
var _local3 = nPosX + nLeftBorder;
var _local5 = nPosX + nRightBorder;
var _local2 = nPosY + nUpBorder;
var _local4 = nPosY + nDownBorder;
nM = (_local4 - _local2) / (_local5 - _local3);
nB = _local2 - (nM * _local3);
}
function checkInReach(_oMovingData, _nRightMoveBorder, _nLeftMoveBorder, _nDownMoveBorder, _nUpMoveBorder) {
var _local2 = false;
var _local3 = _oMovingData.sColliderType;
if (com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition[_local3][sColliderType] == true) {
setHitBorders();
if ((((nRightHitBorder >= _nLeftMoveBorder) and (nLeftHitBorder <= _nRightMoveBorder)) and (nDownHitBorder >= _nUpMoveBorder)) and (nUpHitBorder <= _nDownMoveBorder)) {
_local2 = true;
}
}
return(_local2);
}
function giveSlopeData(_oMovingData) {
var _local4 = int((nM * _oMovingData.nPosX) + nB);
var _local3 = int((nM * _oMovingData.nDestX) + nB);
if ((_oMovingData.nPosY <= _local3) or ((_oMovingData.nMaxMoveX <= 0) and (_oMovingData.nPosY <= _local4))) {
var _local5 = {oItem:this, nYOnSlopeAtDest:_local3};
return(_local5);
}
}
function doImpactResult(_oMovingItem) {
_oMovingItem.setSlopeHit(bSliding, sSlideDirection);
}
function desactivateItem() {
mcRef.removeMovieClip();
oController.oMainBroadcaster.removeListener(this);
addActivateBroadcast();
oImpactManager.removeSlopeCollider(this);
}
}
Symbol 1045 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.LeftSlope] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.LeftSlope extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ColliderItem
{
var bSliding, sSlideDirection, nUpBorder, nScaleY, mcRef, nRightBorder, nScaleX, nDownBorder, nLeftBorder, oImpactManager, nPosX, nPosY, nM, nB, sColliderType, setHitBorders, nUpHitBorder, nDownHitBorder, nLeftHitBorder, nRightHitBorder, oController, addActivateBroadcast;
function LeftSlope (_oItemData) {
super(_oItemData);
setSlope();
bSliding = false;
sSlideDirection = "Left";
}
function setAsCollider() {
nUpBorder = (mcRef.mcRightUpBorder._y * nScaleY) / 100;
nRightBorder = (mcRef.mcRightUpBorder._x * nScaleX) / 100;
nDownBorder = (mcRef.mcLeftDownBorder._y * nScaleY) / 100;
nLeftBorder = (mcRef.mcLeftDownBorder._x * nScaleX) / 100;
nUpBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nUpBorder);
nRightBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nRightBorder);
nDownBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nDownBorder);
nLeftBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nLeftBorder);
mcRef.mcLeftDownBorder.swapDepths(10);
mcRef.mcLeftDownBorder.removeMovieClip();
mcRef.mcRightUpBorder.swapDepths(10);
mcRef.mcRightUpBorder.removeMovieClip();
oImpactManager.addSlopeCollider(this);
}
function setSlope() {
var _local3 = nPosX + nLeftBorder;
var _local5 = nPosX + nRightBorder;
var _local2 = nPosY + nDownBorder;
var _local4 = nPosY + nUpBorder;
nM = (_local4 - _local2) / (_local5 - _local3);
nB = _local2 - (nM * _local3);
}
function checkInReach(_oMovingData, _nRightMoveBorder, _nLeftMoveBorder, _nDownMoveBorder, _nUpMoveBorder) {
var _local2 = false;
var _local3 = _oMovingData.sColliderType;
if (com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition[_local3][sColliderType] == true) {
setHitBorders();
if ((((nRightHitBorder >= _nLeftMoveBorder) and (nLeftHitBorder <= _nRightMoveBorder)) and (nDownHitBorder >= _nUpMoveBorder)) and (nUpHitBorder <= _nDownMoveBorder)) {
_local2 = true;
}
}
return(_local2);
}
function giveSlopeData(_oMovingData) {
var _local4 = int((nM * _oMovingData.nPosX) + nB);
var _local3 = int((nM * _oMovingData.nDestX) + nB);
if ((_oMovingData.nPosY <= _local3) or ((_oMovingData.nMaxMoveX >= 0) and (_oMovingData.nPosY <= _local4))) {
var _local5 = {oItem:this, nYOnSlopeAtDest:_local3};
return(_local5);
}
}
function doImpactResult(_oMovingItem) {
_oMovingItem.setSlopeHit(bSliding, sSlideDirection);
}
function desactivateItem() {
mcRef.removeMovieClip();
oController.oMainBroadcaster.removeListener(this);
addActivateBroadcast();
oImpactManager.removeSlopeCollider(this);
}
}
Symbol 1046 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.SurfaceBlocker] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.SurfaceBlocker extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.BottomBlocker
{
function SurfaceBlocker (_oItemData) {
super(_oItemData);
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
_oMovingItem.hitSurface();
}
}
Symbol 1047 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.AllSideBlocker] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.AllSideBlocker extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ColliderItem
{
function AllSideBlocker (_oItemData) {
super(_oItemData);
}
function confirmCanBeHit(_oMovingItem, _oImpactCheckResult) {
return(true);
}
function resolveHit(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactAxis == "Y") {
_oMovingItem.nRealMoveY = _oImpactCheckResult.nImpactDist;
_oMovingItem.nMaxMoveY = 0;
_oMovingItem.nRealMoveX = 0;
} else if (_oImpactCheckResult.sImpactAxis == "X") {
_oMovingItem.nRealMoveX = _oImpactCheckResult.nImpactDist;
_oMovingItem.nMaxMoveX = 0;
if ((_oMovingItem.bOnGround == false) or (_oMovingItem.nMaxMoveY < 0)) {
_oMovingItem.nRealMoveY = 0;
} else {
_oMovingItem.nRealMoveY = 0;
_oMovingItem.nMaxMoveY = 0;
}
}
doImpactResult(_oMovingItem, _oImpactCheckResult);
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
if (_oImpactCheckResult.sImpactSide == "Up") {
_oMovingItem.setHitGround();
} else if (_oImpactCheckResult.sImpactSide == "Down") {
_oMovingItem.setHitTop();
} else {
_oMovingItem.setHitWall();
}
}
}
Symbol 1048 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.Player] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.Player extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.AllSideBlocker
{
var oControls, oFollower, sDirection, sColliderType, sType, bOnGround, bIsSwimming, bIsDiving, nSpdX, nSpdY, nSpdXMod, nSpdXMin, nSpdXMax, nSpdYMin, nSpdYMax, nSinkSpd, nSwimBaseSpdY, nSwimSpdY, nSwimSpdYMod, nDiveBaseSpdY, nDiveSpdY, nDiveSpdYMod, nSurfaceDiveMod, nPushSpdY, nPushSpdYDown, bLockAtSurface, bWaitForSandwich, bLackOxygen, nBounceSpd, bHoldSandwich, sSandwichState, nMinDistFishHole, bMoveToFeed, nFeedDistX, nFeedDistY, nNbFrFeedMove, nSurfaceSpdModifier, oOwner, mcRef, stateFinished, oController, oOxygenBar, sState, oFishHole, nMaxMoveX, nMaxMoveY, nRealMoveX, nRealMoveY, validateMove, nPosX, nPosY, oFishCounter, nLeftHitBorder, nRightHitBorder, sNextState;
function Player (_oItemData) {
super(_oItemData);
oControls = undefined;
oFollower = undefined;
sDirection = "Right";
sColliderType = sType;
bOnGround = false;
bIsSwimming = false;
bIsDiving = false;
nSpdX = 0;
nSpdY = 0;
nSpdXMod = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nSpdXModifier;
nSpdXMin = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nSpdXMin;
nSpdXMax = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nSpdXMax;
nSpdYMin = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nSpdYMin;
nSpdYMax = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nSpdYMax;
nSinkSpd = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nSinkSpd;
nSwimBaseSpdY = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nSwimBaseSpdY;
nSwimSpdY = 0;
nSwimSpdYMod = 0.5;
nDiveBaseSpdY = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nDiveBaseSpdY;
nDiveSpdY = 0;
nDiveSpdYMod = 0.5;
nSurfaceDiveMod = 3;
nPushSpdY = 0;
nPushSpdYDown = 1;
bLockAtSurface = true;
bWaitForSandwich = true;
bLackOxygen = false;
nBounceSpd = 10;
bHoldSandwich = false;
sSandwichState = "NoSandwich";
nMinDistFishHole = 25;
bMoveToFeed = false;
nFeedDistX = 4;
nFeedDistY = -113;
nNbFrFeedMove = 18;
nSurfaceSpdModifier = 1.5;
setControls();
createOxygenBar();
createFishCounter();
changeDirection();
if (oOwner.oBackground.oPlayer == undefined) {
oOwner.oBackground.oPlayer = this;
}
}
function state_Idle() {
if ((nSwimSpdY != 0) or (nSpdX != 0)) {
setState("Swim");
}
}
function state_Swim() {
if (mcRef.mcState._currentframe == 2) {
playSwimSfx();
} else if (stateFinished() == true) {
setState("Idle");
}
}
function state_SwimDown() {
if (mcRef.mcState._currentframe == 2) {
playSwimSfx();
} else if (stateFinished() == true) {
setState("Idle");
}
}
function state_Hurt_init() {
oControls.bControlsLock = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Fish.Player = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.JellyFish.Player = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.Fish = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.JellyFish = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.BubbleJet = false;
if (bHoldSandwich == true) {
switch (sSandwichState) {
case "Big" :
sSandwichState = "Medium";
break;
case "Medium" :
sSandwichState = "Small";
break;
case "Small" :
sSandwichState = "NoSandwich";
bHoldSandwich = false;
break;
}
} else {
mcRef.mcState.mcSandwich._visible = false;
}
var _local2 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(com.disney.gem.games.LiloExpress.Controller(oController).sSOUND_CAT_SOUND, "Hurt", com.disney.gem.games.LiloExpress.GameData.nHURT_VOLUME, 0, true);
}
function state_Hurt() {
doHurtMove();
if (stateFinished() == true) {
if (oOxygenBar.nOxygenLevel <= 0) {
initLackOxygen();
} else if (sState == "Hurt") {
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Fish.Player = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.JellyFish.Player = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.Fish = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.JellyFish = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.BubbleJet = true;
setState("Idle");
}
}
}
function state_Hurt_end(_bExitHurtState) {
oControls.bControlsLock = false;
}
function state_Flip() {
if (stateFinished() == true) {
setState("Idle");
changeDirection();
}
}
function state_FlipOut() {
if (stateFinished() == true) {
setState("IdleOut");
changeDirection();
}
}
function state_SandwichFlip() {
if (stateFinished() == true) {
setState("IdleOut");
changeDirection();
}
}
function state_ExitWater_init() {
var _local2 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(com.disney.gem.games.LiloExpress.Controller(oController).sSOUND_CAT_SOUND, "ExitWater", com.disney.gem.games.LiloExpress.GameData.nEXIT_WATER_VOLUME, 0, true);
oController.switchWaterAmbience();
}
function state_ExitWater() {
if (stateFinished() == true) {
setState("IdleOut");
if ((bWaitForSandwich == true) and (oController.bEndLvlReach == false)) {
checkFollower();
}
}
}
function state_IdleOut() {
if (oController.bEndLvlReach == true) {
initEndLevel();
}
}
function state_Dive_init() {
var _local2 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(com.disney.gem.games.LiloExpress.Controller(oController).sSOUND_CAT_SOUND, "Dive", com.disney.gem.games.LiloExpress.GameData.nDIVE_VOLUME, 0, true);
}
function state_Dive() {
if (stateFinished() == true) {
setState("Idle");
}
}
function state_Dive_end() {
oControls.bControlsLock = false;
}
function state_StartGetSandwich() {
if (mcRef.mcState._currentframe == 2) {
var _local2 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(com.disney.gem.games.LiloExpress.Controller(oController).sSOUND_CAT_SOUND, "GetSandwich1", com.disney.gem.games.LiloExpress.GameData.nGET_SANDWICH1_VOLUME, 0, true);
} else if (stateFinished() == true) {
setState("EndGetSandwich");
}
}
function state_StartGetSandwich_end() {
oFollower.setState("ReturnToSwim");
bHoldSandwich = true;
sSandwichState = "Big";
}
function state_EndGetSandwich_init() {
controlSandwich();
}
function state_EndGetSandwich() {
if (mcRef.mcState._currentframe == 2) {
var _local2 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(com.disney.gem.games.LiloExpress.Controller(oController).sSOUND_CAT_SOUND, "GetSandwich2", com.disney.gem.games.LiloExpress.GameData.nGET_SANDWICH2_VOLUME, 0, true);
} else if (stateFinished() == true) {
oControls.bControlsLock = false;
bWaitForSandwich = false;
setState("IdleOut");
}
}
function state_GiveSandwich() {
if (mcRef.mcState._currentframe == 2) {
var _local2 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(com.disney.gem.games.LiloExpress.Controller(oController).sSOUND_CAT_SOUND, "GiveSandwich", com.disney.gem.games.LiloExpress.GameData.nGIVE_SANDWICH_VOLUME, 0, true);
} else if (mcRef.mcState._currentframe == nNbFrFeedMove) {
nSpdX = 0;
nSpdY = 0;
} else if (stateFinished() == true) {
setState("Idle");
}
}
function state_GiveSandwich_end() {
bMoveToFeed = false;
oControls.bControlsLock = false;
}
function state_Panic() {
if (mcRef.mcState._currentframe == 8) {
playSwimSfx();
}
}
function setControls() {
com.disney.gem.games.LiloExpress.game_obj.character_ctrls.CtrlsDispatcher.setControls(this);
}
function createOxygenBar() {
var _local3 = "oOxygenBar";
var _local2 = new Object();
_local2.sName = _local3;
_local2.oOwner = this;
_local2.mcRef = oOwner.mcRef.mcHud.mcOxygenBar;
_local2.bStateInUse = true;
_local2.bActivatedItem = false;
_local2.bFixItem = false;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.OxygenBar(_local2);
oOwner.aItemsToClean.push(_local3);
}
function createFishCounter() {
var _local3 = "oFishCounter";
var _local2 = new Object();
_local2.sName = _local3;
_local2.oOwner = this;
_local2.mcRef = oOwner.mcRef.mcHud.mcFishCounter;
_local2.bStateInUse = false;
_local2.bActivatedItem = false;
_local2.bFixItem = false;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.FishCounter(_local2);
oOwner.aItemsToClean.push(_local3);
}
function changeDirection() {
mcRef._xscale = mcRef._xscale - (mcRef._xscale * 2);
if (sDirection == "Right") {
sDirection = "Left";
} else {
sDirection = "Right";
}
}
function doMove() {
reactToControls();
if (bMoveToFeed == false) {
setSpdX();
setSwimSpdY();
setDiveSpdY();
setPushSpdY();
setSpdY();
}
setMaxMove();
makeMoving();
}
function doHurtMove() {
setSpdX();
setMaxMove();
makeMoving();
}
function reactToControls() {
if (oControls.bControlsLock == false) {
switch (sState) {
case "Idle" :
case "Swim" :
case "SwimDown" :
if ((oControls.bUpPress == true) and (oControls.bUpRelease == true)) {
bIsSwimming = true;
} else {
bIsSwimming = false;
}
if (oControls.bDownPress == true) {
bIsDiving = true;
} else {
bIsDiving = false;
}
if (((oControls.bRightPress == true) and (oControls.bLeftPress == false)) and (sDirection == "Left")) {
setState("Flip");
} else if (((oControls.bLeftPress == true) and (oControls.bRightPress == false)) and (sDirection == "Right")) {
setState("Flip");
} else if (((oControls.bActionPress == true) and (oControls.bActionRelease == true)) and (bHoldSandwich == true)) {
oController.oMainBroadcaster.broadcastMessage("checkInsideHole", this);
oControls.bControlsLock = true;
if (oFishHole != undefined) {
if (oFishHole.sType != "SeaSnakeHole") {
setFeedMove();
}
oFishHole.launchFish();
}
setState("GiveSandwich");
} else if (oControls.bDownPress == true) {
setState("SwimDown");
}
break;
case "Hurt" :
break;
case "Flip" :
break;
case "FlipOut" :
break;
case "Panic" :
bIsSwimming = true;
break;
case "ExitWater" :
break;
case "IdleOut" :
if ((bWaitForSandwich == false) and (bLackOxygen == false)) {
if (((oControls.bRightPress == true) and (oControls.bLeftPress == false)) and (sDirection == "Left")) {
setState("FlipOut");
} else if (((oControls.bLeftPress == true) and (oControls.bRightPress == false)) and (sDirection == "Right")) {
setState("FlipOut");
}
if ((oControls.bDownPress == true) and (bLackOxygen == false)) {
bLockAtSurface = false;
bIsDiving = true;
nDiveSpdY = nDiveBaseSpdY * nSurfaceDiveMod;
oControls.bControlsLock = true;
oController.switchWaterAmbience();
setState("Dive");
}
}
break;
case "StartGetSandwich" :
break;
case "EndGetSandwich" :
break;
case "Dive" :
break;
case "GiveSandwich" :
}
}
}
function setSpdX() {
if (((oControls.bRightPress == true) and (oControls.bLeftPress == false)) and (bWaitForSandwich == false)) {
if (nSpdX < nSpdXMax) {
if (nSpdX < 0) {
nSpdX = nSpdX + (2 * nSpdXMod);
} else {
nSpdX = nSpdX + nSpdXMod;
}
if (nSpdX > nSpdXMax) {
nSpdX = nSpdXMax;
}
}
} else if (((oControls.bRightPress == false) and (oControls.bLeftPress == true)) and (bWaitForSandwich == false)) {
if (nSpdX > nSpdXMin) {
if (nSpdX > 0) {
nSpdX = nSpdX - (2 * nSpdXMod);
} else {
nSpdX = nSpdX - nSpdXMod;
}
if (nSpdX < nSpdXMin) {
nSpdX = nSpdXMin;
}
}
} else if (nSpdX > 0) {
nSpdX = nSpdX - nSpdXMod;
if (nSpdX < 0) {
nSpdX = 0;
}
} else {
nSpdX = nSpdX + nSpdXMod;
if (nSpdX > 0) {
nSpdX = 0;
}
}
if (nSpdX < nSpdXMin) {
nSpdX = nSpdX + nSpdXMod;
if (nSpdX > nSpdXMin) {
nSpdX = nSpdXMin;
}
} else if (nSpdX > nSpdXMax) {
nSpdX = nSpdX - nSpdXMod;
if (nSpdX < nSpdXMax) {
nSpdX = nSpdXMax;
}
}
if (bLockAtSurface == true) {
nSpdX = nSpdX / nSurfaceSpdModifier;
}
}
function setSwimSpdY() {
if (bIsSwimming == true) {
nSwimSpdY = nSwimBaseSpdY;
bIsSwimming = false;
} else if (nSwimSpdY > 0) {
nSwimSpdY = nSwimSpdY - nSwimSpdYMod;
} else {
nSwimSpdY = 0;
}
}
function setDiveSpdY() {
if (bIsDiving == true) {
if (nDiveSpdY < nDiveBaseSpdY) {
nDiveSpdY = nDiveBaseSpdY;
}
bIsDiving = false;
} else if (nDiveSpdY > 0) {
nDiveSpdY = nDiveSpdY - nDiveSpdYMod;
} else {
nDiveSpdY = 0;
}
}
function setPushSpdY() {
if (nPushSpdY > 0) {
nPushSpdY = nPushSpdY - nPushSpdYDown;
} else {
nPushSpdY = 0;
}
}
function setSpdY() {
switch (sState) {
case "GiveSandwich" :
nSpdY = 0;
nSwimSpdY = 0;
nDiveSpdY = 0;
break;
default :
if (bLockAtSurface == true) {
nSpdY = 0;
} else {
nSpdY = nSpdY + (nSinkSpd - nSwimSpdY);
if (nSpdY > nSpdYMax) {
nSpdY = nSpdYMax;
} else if (nSpdY < nSpdYMin) {
nSpdY = nSpdYMin;
}
nSpdY = nSpdY - nPushSpdY;
nSpdY = nSpdY + nDiveSpdY;
bOnGround = false;
}
}
}
function setMaxMove() {
nMaxMoveX = nSpdX;
nMaxMoveY = nSpdY;
nMaxMoveX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveX);
nMaxMoveY = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveY);
nRealMoveX = nMaxMoveX;
nRealMoveY = nMaxMoveY;
}
function makeMoving() {
while ((nMaxMoveX != 0) or (nMaxMoveY != 0)) {
validateMove();
nPosX = nPosX + nRealMoveX;
mcRef._x = nPosX;
nPosY = nPosY + nRealMoveY;
mcRef._y = nPosY;
if (nMaxMoveX == nRealMoveX) {
nMaxMoveX = 0;
} else if (nMaxMoveX != 0) {
nMaxMoveX = nMaxMoveX - nRealMoveX;
}
if (nMaxMoveY == nRealMoveY) {
nMaxMoveY = 0;
} else if (nMaxMoveY != 0) {
nMaxMoveY = nMaxMoveY - nRealMoveY;
}
nMaxMoveX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveX);
nMaxMoveY = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveY);
nRealMoveX = nMaxMoveX;
nRealMoveY = nMaxMoveY;
}
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
switch (_oMovingItem.sColliderType) {
case "Fish" :
case "JellyFish" :
var _local2 = invertImpactSide(_oImpactCheckResult.sImpactSide);
hitFish(_local2);
break;
}
}
function invertImpactSide(_sImpactSide) {
var _local1;
switch (_sImpactSide) {
case "Up" :
_local1 = "Down";
break;
case "Down" :
_local1 = "Up";
break;
case "Right" :
_local1 = "Left";
break;
case "Left" :
_local1 = "Right";
break;
}
return(_local1);
}
function setTakeSandwich() {
if ((oFollower.nPosX < nPosX) and (sDirection == "Right")) {
setState("SandwichFlip");
} else if ((oFollower.nPosX > nPosX) and (sDirection == "Left")) {
setState("SandwichFlip");
} else {
setState("StartGetSandwich");
}
}
function checkFollower() {
if ((oFollower.nPosX < nPosX) and (sDirection == "Right")) {
setState("SandwichFlip");
} else if ((oFollower.nPosX > nPosX) and (sDirection == "Left")) {
setState("SandwichFlip");
}
}
function followBg(_nBgSpd) {
if (sState != "GiveSandwich") {
nMaxMoveX = _nBgSpd;
nMaxMoveY = 0;
nMaxMoveX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveX);
nRealMoveX = nMaxMoveX;
nRealMoveY = nMaxMoveY;
makeMoving();
}
}
function hitSurface() {
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Fish.Player = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.JellyFish.Player = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.Fish = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.JellyFish = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.BubbleJet = true;
nSpdY = 0;
nSwimSpdY = 0;
nPushSpdY = 0;
bIsSwimming = false;
bIsDiving = false;
bLockAtSurface = true;
if (bHoldSandwich == false) {
bWaitForSandwich = true;
oFollower.prepareToGiveSandwich();
}
setState("ExitWater");
}
function hitFish(_sImpactSide) {
if ((sState != "Panic") and (sState != "Hurt")) {
oOxygenBar.removeOxygen();
nSwimSpdY = 0;
nPushSpdY = 0;
bIsSwimming = false;
bIsDiving = false;
switch (_sImpactSide) {
case "Up" :
nSpdY = -nBounceSpd;
break;
case "Down" :
nSpdY = nBounceSpd;
break;
case "Right" :
nSpdY = -nBounceSpd;
nSpdX = nBounceSpd;
break;
case "Left" :
nSpdY = -nBounceSpd;
nSpdX = -nBounceSpd;
break;
}
setState("Hurt");
}
}
function hitBubbleJet(_nPushBaseSpd) {
nPushSpdY = _nPushBaseSpd;
}
function hitFishHole(_oFishHole) {
if (oFishHole == undefined) {
if (sDirection == "Right") {
if (nPosX <= _oFishHole.nPosX) {
oFishHole = _oFishHole;
} else {
var _local3 = Math.abs(nPosX - _oFishHole.nPosX);
if (_local3 <= nMinDistFishHole) {
oFishHole = _oFishHole;
}
}
} else if (nPosX >= _oFishHole.nPosX) {
oFishHole = _oFishHole;
} else {
var _local3 = Math.abs(nPosX - _oFishHole.nPosX);
if (_local3 <= nMinDistFishHole) {
oFishHole = _oFishHole;
}
}
} else if ((nPosX <= _oFishHole.nPosX) and (sDirection == "Right")) {
oFishHole = _oFishHole;
} else if ((nPosX >= _oFishHole.nPosX) and (sDirection == "Left")) {
oFishHole = _oFishHole;
}
}
function feedFish() {
bHoldSandwich = false;
oFishCounter.addFeedFish();
getPoints();
sSandwichState = "NoSandwich";
}
function getPoints() {
var _local3 = com.disney.gem.games.LiloExpress.GameData.oPOINTS_DATA["nGiveSandwich" + sSandwichState];
if (oFishCounter.nNbFeedFish > oFishCounter.nNbFishToFeed) {
_local3 = _local3 + com.disney.gem.games.LiloExpress.GameData.oPOINTS_DATA.nFeedExtraFish;
}
var _local2 = new Object();
_local2.nGivenPts = _local3;
_local2.nPosX = nPosX;
_local2.nPosY = nPosY;
oOwner.createShowPts(_local2);
oController.increaseScore(_local3);
}
function initLackOxygen() {
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Fish.Player = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.JellyFish.Player = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.Fish = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.JellyFish = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.BottomBlocker = false;
bLackOxygen = true;
bHoldSandwich = false;
sSandwichState = "NoSandwich";
setState("Panic");
}
function endLackOxygen() {
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Fish.Player = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.JellyFish.Player = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.Fish = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.JellyFish = true;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.BottomBlocker = true;
bLackOxygen = false;
}
function initEndLevel() {
if (bLockAtSurface == false) {
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Fish.Player = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.JellyFish.Player = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.Fish = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.JellyFish = false;
com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition.Player.BottomBlocker = false;
bHoldSandwich = false;
sSandwichState = "NoSandwich";
bLackOxygen = true;
setState("Panic");
} else if (oFishCounter.nNbFeedFish >= oFishCounter.nNbFishToFeed) {
oController.onWinLevel();
} else {
oController.onGameLose();
}
}
function controlSandwich() {
mcRef.mcState.mcHand.gotoAndStop(sSandwichState);
}
function setFeedMove() {
if (sDirection == "Right") {
var _local3 = (oFishHole.nPosX - nFeedDistX) - nPosX;
} else {
var _local3 = (oFishHole.nPosX + nFeedDistX) - nPosX;
}
var _local2 = (oFishHole.nPosY + nFeedDistY) - nPosY;
nSpdX = _local3 / nNbFrFeedMove;
nSpdY = _local2 / nNbFrFeedMove;
bMoveToFeed = true;
}
function checkGameLimits(nRightScreenX, nLeftScreenX) {
if (nLeftHitBorder < nLeftScreenX) {
nMaxMoveX = nLeftScreenX - nLeftHitBorder;
nMaxMoveY = 0;
nMaxMoveX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveX);
nMaxMoveY = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveY);
nRealMoveX = nMaxMoveX;
nRealMoveY = nMaxMoveY;
makeMoving();
} else if (nRightHitBorder > nRightScreenX) {
nMaxMoveX = nRightScreenX - nRightHitBorder;
nMaxMoveY = 0;
nMaxMoveX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveX);
nMaxMoveY = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveY);
nRealMoveX = nMaxMoveX;
nRealMoveY = nMaxMoveY;
makeMoving();
}
}
function onUpdate() {
oFishHole = undefined;
doMove();
super.onUpdate();
controlSandwich();
}
function onUpdatePaused() {
controlSandwich();
}
function setState(_sState) {
var _local2 = validateStateChange(_sState);
if (_local2 == true) {
this[("state_" + sState) + "_end"]();
sState = _sState;
sNextState = undefined;
mcRef.gotoAndStop(sState);
this[("state_" + sState) + "_init"]();
}
controlSandwich();
}
function validateStateChange(_sState) {
if (com.disney.gem.games.LiloExpress.game_obj.basic_class.StateChangeData[sType][sState][_sState] == true) {
return(true);
}
return(false);
}
function onPause() {
super.onPause();
if (mcRef.mcState.mcSandwich != undefined) {
mcRef.mcState.mcSandwich.stop();
}
}
function onUnPause() {
super.onUnPause();
if (mcRef.mcState.mcSandwich != undefined) {
mcRef.mcState.mcSandwich.play();
}
}
function playSwimSfx() {
var _local2 = random(75);
if (_local2 < 25) {
var _local5 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(com.disney.gem.games.LiloExpress.Controller(oController).sSOUND_CAT_SOUND, "SwimSlow1", com.disney.gem.games.LiloExpress.GameData.nSWIM_SLOW1_VOLUME, 0);
} else if (_local2 < 50) {
var _local4 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(com.disney.gem.games.LiloExpress.Controller(oController).sSOUND_CAT_SOUND, "SwimSlow2", com.disney.gem.games.LiloExpress.GameData.nSWIM_SLOW2_VOLUME, 0);
} else {
var _local3 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(com.disney.gem.games.LiloExpress.Controller(oController).sSOUND_CAT_SOUND, "SwimSlow3", com.disney.gem.games.LiloExpress.GameData.nSWIM_SLOW3_VOLUME, 0);
}
}
function deleteObject() {
oControls.deleteObject();
oOxygenBar.deleteObject();
oFishCounter.deleteObject();
super.deleteObject();
}
}
Symbol 1049 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.OxygenBar] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.OxygenBar extends com.disney.gem.games.LiloExpress.game_obj.basic_class.State
{
var nOxygenLevelMax, nOxygenLevel, bLevelGoingDown, nIncreaseSpd, nReduceSpd, nMinDiveOxygen, nOxygenDammage, oOwner, mcRef;
function OxygenBar (_oItemData) {
super(_oItemData);
nOxygenLevelMax = 100;
nOxygenLevel = nOxygenLevelMax;
bLevelGoingDown = false;
nIncreaseSpd = com.disney.gem.games.LiloExpress.GameData.nOXYGEN_INCREASE_SPD;
nReduceSpd = com.disney.gem.games.LiloExpress.GameData.nOXYGEN_REDUCE_SPD;
nMinDiveOxygen = com.disney.gem.games.LiloExpress.GameData.nMIN_DIVE_OXYGEN;
nOxygenDammage = com.disney.gem.games.LiloExpress.GameData.nOXYGEN_DAMMAGE;
showOxygenLevel();
}
function state_Idle() {
setOxygenLevel();
showOxygenLevel();
}
function setOxygenLevel() {
if (oOwner.bLockAtSurface == true) {
if (nOxygenLevel < nOxygenLevelMax) {
nOxygenLevel = nOxygenLevel + nIncreaseSpd;
if (nOxygenLevel > nOxygenLevelMax) {
nOxygenLevel = nOxygenLevelMax;
} else if (oOwner.bLackOxygen == true) {
if (nOxygenLevel >= nMinDiveOxygen) {
oOwner.endLackOxygen();
}
}
}
} else if (nOxygenLevel > 0) {
nOxygenLevel = nOxygenLevel - nReduceSpd;
if (nOxygenLevel <= 0) {
nOxygenLevel = 0;
oOwner.initLackOxygen();
}
}
}
function showOxygenLevel() {
mcRef.mcState.gotoAndStop(int(nOxygenLevel) + 1);
}
function removeOxygen() {
nOxygenLevel = nOxygenLevel - nOxygenDammage;
if (nOxygenLevel < 0) {
nOxygenLevel = 0;
}
showOxygenLevel();
}
}
Symbol 1050 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.FishCounter] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.FishCounter extends com.disney.gem.games.LiloExpress.game_obj.basic_class.State
{
var nLevel, oController, nNbFishToFeed, nNbFeedFish, mcRef;
function FishCounter (_oItemData) {
super(_oItemData);
nLevel = oController.getLevel();
nNbFishToFeed = com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA["oLevel" + nLevel].nNbFishToFeed;
nNbFeedFish = 0;
showFishToFeed();
showFeedFish();
}
function showFishToFeed() {
mcRef.mcFishCounterFront.txtFishToFeed = nNbFishToFeed;
mcRef.mcFishCounterBack.txtFishToFeed = nNbFishToFeed;
}
function showFeedFish() {
mcRef.mcFishCounterFront.txtFeedFish = nNbFeedFish;
mcRef.mcFishCounterBack.txtFeedFish = nNbFeedFish;
}
function addFeedFish() {
nNbFeedFish++;
showFeedFish();
}
}
Symbol 1051 MovieClip [__Packages.com.sarbakan.sound.SoundItem] Frame 0
class com.sarbakan.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 = nFADE_RATE;
sCategory = _sCategory;
bFadeAtEnd = false;
bMuted = false;
bPaused = false;
bNeedFreshStart = false;
sndObj.onSoundComplete = com.sarbakan.utils.Delegate.create(this, doSoundComplete);
doStart(_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 doStart(_nLoop) {
if (_nLoop == undefined) {
_nLoop = 1;
}
if (sLinkage.indexOf(".mp3") != -1) {
sndObj.start(0.015, _nLoop);
} else {
sndObj.start(0, _nLoop);
}
}
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 = nFADE_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 doDestroy() {
sndObj.stop();
delete sndObj;
mcRef.removeMovieClip();
}
function doCheckFadeAtEnd() {
if (bFadeAtEnd) {
if (nRemainingLoop == 1) {
if ((sndObj.duration - nCurrentTime) <= nFADE_AT_END_TIME) {
doFadeTo(0);
}
}
}
}
function doManageEndEvent() {
var _local2 = 0;
while (_local2 < aEventListeners.length) {
aEventListeners[_local2].doSoundEvent(com.sarbakan.sound.SoundManager.nEVENT_SOUND_COMPLETE, this);
_local2++;
}
aEventListeners = new Array();
mcRef.removeMovieClip();
delete mcRef;
delete aEventListeners;
delete sndObj.onSoundComplete;
delete sndObj;
}
function doManageFade() {
if (nCurrentVolume != nTargetVolume) {
nCurrentVolume = com.sarbakan.utils.MoreMath.getReachNum(nCurrentVolume, nTargetVolume, nFadeRate);
sndObj.setVolume(returnComputedVolume(nCurrentVolume));
}
if ((nCurrentVolume <= 0) && (bStopAfterFade)) {
sndObj.stop();
doManageEndEvent();
}
}
function returnComputedVolume(_nVolume) {
var _local2;
if ((!bMuted) && (!com.sarbakan.sound.SoundManager.isCategoryMuted(sCategory))) {
var _local3 = com.sarbakan.sound.SoundManager.__get__MasterVolume() / 100;
var _local4 = com.sarbakan.sound.SoundManager.getCategoryVolume(sCategory) / 100;
_local2 = _nVolume;
_local2 = _local2 * _local4;
_local2 = _local2 * _local3;
} else {
_local2 = 0;
}
return(_local2);
}
static var nFADE_RATE = 8;
static var nFADE_AT_END_TIME = 800;
}
Symbol 1052 MovieClip [__Packages.com.sarbakan.sound.SoundManager] Frame 0
class com.sarbakan.sound.SoundManager
{
static var aSounds, mcAttach, nSoundNum, aSoundCategories, nMasterVolume, oEnterFrameListener;
function SoundManager () {
}
static function doPlaySound(_sLinkage, _nVolume, _nLoop, _bUnique) {
return(doPlaySoundInCat(sDEFAULT_CATEGORY, _sLinkage, _nVolume, _nLoop, _bUnique));
}
static function doPlaySoundInCat(_sCategoryName, _sLinkage, _nVolume, _nLoop, _bUnique) {
doCheckInit();
var _local1;
if (NewSoundAllowed) {
if (_nVolume == undefined) {
_nVolume = 100;
}
if (_nLoop == undefined) {
_nLoop = 1;
}
if (_bUnique == undefined) {
_bUnique = false;
}
var _local2;
if (_bUnique) {
var _local4 = isSoundPlaying(_sLinkage);
if (_local4.bPlaying) {
_local2 = false;
_local1 = _local4.oSound;
} else {
_local2 = true;
}
} else {
_local2 = true;
}
if (_local2) {
doManageCategory(_sCategoryName);
var _local5 = getMCForSound();
var _local3 = new Sound(_local5);
_local3.attachSound(_sLinkage);
if (_local3.duration != undefined) {
_local1 = new com.sarbakan.sound.SoundItem(_local3, _sLinkage, _nVolume, _nLoop, _sCategoryName, _local5);
} else {
trace("**** BAD SOUND LINKAGE : " + _sLinkage);
}
_local1.doAddListener(com.sarbakan.sound.SoundManager);
aSounds.push(_local1);
}
} else {
trace("ERROR - ***** - MAX SOUND NUM REACHED : " + nMAX_SOUNDS_PLAYING);
}
return(_local1);
}
static function isSoundPlaying(_sLinkageName) {
var _local2 = new Object();
_local2.bPlaying = false;
_local2.oSound = undefined;
var _local1 = aSounds.length - 1;
while (_local1 >= 0) {
if (aSounds[_local1].LinkageName == _sLinkageName) {
_local2.oSound = aSounds[_local1];
_local2.bPlaying = true;
}
_local1--;
}
return(_local2);
}
function getPlayingQty(_sLinkageName) {
var _local2 = 0;
var _local1 = aSounds.length - 1;
while (_local1 >= 0) {
if (aSounds[_local1].LinkageName == _sLinkageName) {
_local2++;
}
_local1--;
}
return(_local2);
}
static function doManageExternalSound(_oSound) {
doCheckInit();
doManageCategory(_oSound.__get__Category());
_oSound.doAddListener(com.sarbakan.sound.SoundManager);
aSounds.push(_oSound);
}
static function getMCForSound() {
var _local1 = getNextDepth();
var _local2 = mcAttach.createEmptyMovieClip("Snd" + _local1, _local1);
return(_local2);
}
static function getNextDepth() {
nSoundNum++;
return(nSoundNum);
}
static function doInit(_mcAttach) {
if (!bInited) {
mcAttach = _mcAttach;
bInited = true;
nSoundNum = 0;
aSounds = new Array();
aSoundCategories = new Array();
nMasterVolume = 100;
mx.transitions.OnEnterFrameBeacon.init();
oEnterFrameListener = new Object();
oEnterFrameListener.onEnterFrame = com.sarbakan.utils.Delegate.create(com.sarbakan.sound.SoundManager, doEnterFrame);
MovieClip.addListener(oEnterFrameListener);
}
}
static function doEnterFrame() {
var _local1 = aSounds.length - 1;
while (_local1 >= 0) {
aSounds[_local1].doEnterFrame();
_local1--;
}
}
static function setCategoryVolume(_sCategoryName, _nVol) {
doManageCategory(_sCategoryName);
var _local1 = aSoundCategories.length - 1;
while (_local1 >= 0) {
if (aSoundCategories[_local1].sName == _sCategoryName) {
aSoundCategories[_local1].nVolume = _nVol;
}
_local1--;
}
doUpdateAllSoundsVolume();
}
static function getCategoryVolume(_sCategoryName) {
doManageCategory(_sCategoryName);
var _local2;
var _local1 = aSoundCategories.length - 1;
while (_local1 >= 0) {
if (aSoundCategories[_local1].sName == _sCategoryName) {
_local2 = aSoundCategories[_local1].nVolume;
}
_local1--;
}
return(_local2);
}
static function isCategoryMuted(_sCategoryName) {
doManageCategory(_sCategoryName);
var _local2;
var _local1 = aSoundCategories.length - 1;
while (_local1 >= 0) {
if (aSoundCategories[_local1].sName == _sCategoryName) {
_local2 = aSoundCategories[_local1].bMuted;
}
_local1--;
}
return(_local2);
}
static function doSoundEvent(_nEvent, _oSound) {
if (!(_nEvent === nEVENT_SOUND_COMPLETE)) {
} else {
var _local2 = false;
var _local1 = aSounds.length - 1;
while (_local1 >= 0) {
if (!_local2) {
if (aSounds[_local1] == _oSound) {
_local2 = true;
delete aSounds[_local1];
aSounds.splice(Number(_local1), 1);
}
}
_local1--;
}
}
}
static function doMuteCategory(_sCategoryName) {
var _local1 = aSoundCategories.length - 1;
while (_local1 >= 0) {
if (aSoundCategories[_local1].sName == _sCategoryName) {
aSoundCategories[_local1].bMuted = true;
}
_local1--;
}
doUpdateAllSoundsVolume();
}
static function doUnMuteCategory(_sCategoryName) {
var _local1 = aSoundCategories.length - 1;
while (_local1 >= 0) {
if (aSoundCategories[_local1].sName == _sCategoryName) {
aSoundCategories[_local1].bMuted = false;
}
_local1--;
}
doUpdateAllSoundsVolume();
}
static function setMasterVolume(_nVol) {
nMasterVolume = _nVol;
doUpdateAllSoundsVolume();
}
static function get NewSoundAllowed() {
return(aSounds.length < nMAX_SOUNDS_PLAYING);
}
static function get MasterVolume() {
return(nMasterVolume);
}
static function doRemoveListenerFromAllSounds(_oListener) {
var _local1 = aSounds.length - 1;
while (_local1 >= 0) {
aSounds[_local1].doRemoveListener(_oListener);
_local1--;
}
}
static function doDestroy() {
doRemoveListenerFromAllSounds();
var _local1 = aSounds.length - 1;
while (_local1 >= 0) {
aSounds[_local1].doDestroy();
_local1--;
}
mcAttach.removeMovieClip();
delete mcAttach;
nSoundNum = 0;
bInited = false;
nMasterVolume = 100;
delete aSounds;
delete aSoundCategories;
delete oEnterFrameListener;
}
static function get Inited() {
return(bInited);
}
static function doUpdateAllSoundsVolume() {
var _local1 = aSounds.length - 1;
while (_local1 >= 0) {
aSounds[_local1].doUpdateSound();
_local1--;
}
}
static function doCheckInit() {
if (!bInited) {
trace("**** NORMAL SM ERROR, NEED TO INIT SOUND MANAGER FIRST");
}
}
static function doManageCategory(_sCategoryName) {
doCheckInit();
var _local2 = false;
var _local1 = aSoundCategories.length - 1;
while (_local1 >= 0) {
if (aSoundCategories[_local1].sName == _sCategoryName) {
_local2 = true;
}
_local1--;
}
if (!_local2) {
var _local4 = new Object();
_local4.sName = _sCategoryName;
_local4.nVolume = 100;
_local4.bMuted = false;
aSoundCategories.push(_local4);
}
}
static var nEVENT_SOUND_COMPLETE = 1;
static var sDEFAULT_CATEGORY = "SFX";
static var nMAX_SOUNDS_PLAYING = 32;
static var bInited = false;
}
Symbol 1053 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 1054 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 1055 MovieClip [__Packages.com.sarbakan.utils.MoreMath] Frame 0
class com.sarbakan.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 getManhattanDistance(_x1, _y1, _x2, _y2) {
return(Math.abs(_x1 - _x2) + Math.abs(_y1 - _y2));
}
static function getHypotenuse(__nDX, __nDY) {
return(Math.sqrt(Math.pow(__nDX, 2) + Math.pow(__nDY, 2)));
}
static function getAngle(__nX1, __nY1, __nX2, __nY2) {
var _local2;
var _local1;
var _local4;
var _local3;
_local2 = __nX2 - __nX1;
_local1 = __nY2 - __nY1;
_local4 = Math.atan2(_local1, _local2);
_local3 = getDegreeFromRadius(_local4);
return(_local3);
}
static function getCleanedAngle(_nAngle) {
while (_nAngle < 360) {
_nAngle = _nAngle + 360;
}
_nAngle = _nAngle % 360;
return(_nAngle);
}
static function getDegreeFromRadius(__nRadius) {
var _local1 = (__nRadius / MATH_PI) * 180;
return(_local1);
}
static function getRadianFromDegree(__nDegree) {
var _local1 = __nDegree * (MATH_PI / 180);
return(_local1);
}
static function getBoundsCenter(_oBox) {
var _local3 = (_oBox.xMin + _oBox.xMax) / 2;
var _local2 = (_oBox.yMin + _oBox.yMax) / 2;
return({x:_local3, y:_local2});
}
static var MATH_PI = Math.PI;
}
Symbol 1056 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.character_ctrls.CtrlsDispatcher] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.character_ctrls.CtrlsDispatcher
{
function CtrlsDispatcher () {
}
static function setControls(_oCharacter) {
switch (_oCharacter.sType) {
case "Player" :
_oCharacter.oControls = new com.disney.gem.games.LiloExpress.game_obj.character_ctrls.PlayerControls("oControls", _oCharacter);
break;
case "Follower" :
_oCharacter.oControls = new com.disney.gem.games.LiloExpress.game_obj.character_ctrls.FollowerControls("oControls", _oCharacter);
break;
}
}
}
Symbol 1057 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.character_ctrls.PlayerControls] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.character_ctrls.PlayerControls
{
var oController, sName, oOwner, bControlsLock, nRightKey, nLeftKey, nUpKey, nDownKey, nActionKey, bRightPress, bRightRelease, bLeftPress, bLeftRelease, bUpPress, bUpRelease, bDownPress, bDownRelease, bActionPress, bActionRelease;
function PlayerControls (_sName, _oOwner) {
oController = com.disney.gem.games.LiloExpress.Controller.getInstance();
sName = _sName;
oOwner = _oOwner;
bControlsLock = true;
nRightKey = com.disney.gem.games.LiloExpress.GameData["oCONTROLS_" + _oOwner.sType.toUpperCase()].nRIGHT_KEY;
nLeftKey = com.disney.gem.games.LiloExpress.GameData["oCONTROLS_" + _oOwner.sType.toUpperCase()].nLEFT_KEY;
nUpKey = com.disney.gem.games.LiloExpress.GameData["oCONTROLS_" + _oOwner.sType.toUpperCase()].nUP_KEY;
nDownKey = com.disney.gem.games.LiloExpress.GameData["oCONTROLS_" + _oOwner.sType.toUpperCase()].nDOWN_KEY;
nActionKey = com.disney.gem.games.LiloExpress.GameData["oCONTROLS_" + _oOwner.sType.toUpperCase()].nACTION_KEY;
bRightPress = false;
bRightRelease = true;
bLeftPress = false;
bLeftRelease = true;
bUpPress = false;
bUpRelease = true;
bDownPress = false;
bDownRelease = true;
bActionPress = false;
bActionRelease = true;
oController.oMainBroadcaster.addListener(this);
}
function controlKeys() {
if (bControlsLock == false) {
if (oOwner.bLackOxygen == false) {
if (Key.isDown(nRightKey)) {
if (bRightPress == false) {
bRightPress = true;
} else {
bRightRelease = false;
}
} else {
bRightPress = false;
bRightRelease = true;
}
if (Key.isDown(nLeftKey)) {
if (bLeftPress == false) {
bLeftPress = true;
} else {
bLeftRelease = false;
}
} else {
bLeftPress = false;
bLeftRelease = true;
}
if (Key.isDown(nUpKey)) {
if (bUpPress == false) {
bUpPress = true;
} else {
bUpRelease = false;
}
} else {
bUpPress = false;
bUpRelease = true;
}
if (Key.isDown(nDownKey)) {
if (bDownPress == false) {
bDownPress = true;
} else {
bDownRelease = false;
}
} else {
bDownPress = false;
bDownRelease = true;
}
if (Key.isDown(nActionKey)) {
if (bActionPress == false) {
bActionPress = true;
} else {
bActionRelease = false;
}
} else {
bActionPress = false;
bActionRelease = true;
}
} else if (oOwner.bLockAtSurface == false) {
resetControls();
bUpPress = true;
bUpRelease = false;
} else {
resetControls();
}
} else {
resetControls();
}
}
function lockControls() {
bControlsLock = true;
}
function resetControls() {
bRightPress = false;
bRightRelease = true;
bLeftPress = false;
bLeftRelease = true;
bUpPress = false;
bUpRelease = true;
bDownPress = false;
bDownRelease = true;
bActionPress = false;
bActionRelease = true;
}
function onUpdate() {
controlKeys();
}
function onUpdatePaused() {
}
function deleteObject() {
delete oOwner[sName];
oController.oMainBroadcaster.removeListener(this);
}
}
Symbol 1058 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.character_ctrls.FollowerControls] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.character_ctrls.FollowerControls
{
var oController, sName, oOwner, oPlayer, nMaxPlayerDist, nGiveSandwichDist, bRightPress, bLeftPress, nGiveSandwichDest;
function FollowerControls (_sName, _oOwner) {
oController = com.disney.gem.games.LiloExpress.Controller.getInstance();
sName = _sName;
oOwner = _oOwner;
oPlayer = _oOwner.oPlayer;
nMaxPlayerDist = _oOwner.nMaxPlayerDist;
nGiveSandwichDist = _oOwner.nGiveSandwichDist;
bRightPress = false;
bLeftPress = false;
setGiveSandwichDest();
oController.oMainBroadcaster.addListener(this);
}
function setGiveSandwichDest() {
if (oOwner.nPosX <= oPlayer.nPosX) {
nGiveSandwichDest = oPlayer.nPosX - nGiveSandwichDist;
} else {
nGiveSandwichDest = oPlayer.nPosX + nGiveSandwichDist;
}
oOwner.bGoGiveSandwich = true;
}
function controlKeys() {
if ((oOwner.sState == "Swim") or (oOwner.sState == "Idle")) {
if (oOwner.bGoGiveSandwich == true) {
oOwner.setGiveSandwichSpd();
setGiveSandwichDest();
if (oOwner.nPosX < nGiveSandwichDest) {
if (oOwner.sState != "Flip") {
if (oOwner.sDirection == "Left") {
oOwner.setState("Flip");
} else {
bLeftPress = false;
bRightPress = true;
}
}
} else if (oOwner.nPosX > nGiveSandwichDest) {
if (oOwner.sState != "Flip") {
if (oOwner.sDirection == "Right") {
oOwner.setState("Flip");
} else {
bLeftPress = true;
bRightPress = false;
}
}
} else if (((oOwner.nPosX < oPlayer.nPosX) and (oOwner.sDirection == "Left")) and (oOwner.sState != "Flip")) {
oOwner.setState("Flip");
} else if (((oOwner.nPosX > oPlayer.nPosX) and (oOwner.sDirection == "Right")) and (oOwner.sState != "Flip")) {
oOwner.setState("Flip");
}
} else {
var _local2 = Math.abs(oPlayer.nPosX - oOwner.nPosX);
if (_local2 > nMaxPlayerDist) {
oOwner.setSpdAtFast();
if (oOwner.nPosX > oPlayer.nPosX) {
bLeftPress = true;
bRightPress = false;
if ((oOwner.sDirection == "Right") and (oOwner.sState != "Flip")) {
oOwner.setState("Flip");
}
} else {
bLeftPress = false;
bRightPress = true;
if ((oOwner.sDirection == "Left") and (oOwner.sState != "Flip")) {
oOwner.setState("Flip");
}
}
} else {
oOwner.setSpdAtSlow();
}
}
} else if ((oOwner.sState == "TendSandwich") or ((oOwner.sState == "Flip") and (oOwner.bGoGiveSandwich == true))) {
oOwner.nSpdX = 0;
bLeftPress = false;
bRightPress = false;
}
}
function onUpdate() {
controlKeys();
}
function onUpdatePaused() {
}
function deleteObject() {
delete oOwner[sName];
oController.oMainBroadcaster.removeListener(this);
}
}
Symbol 1059 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.basic_class.StateChangeData] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.basic_class.StateChangeData
{
function StateChangeData () {
}
static var Player = {Idle:{Idle:true, Swim:true, Hurt:true, Flip:true, FlipOut:false, SandwichFlip:false, Panic:true, ExitWater:true, IdleOut:false, StartGetSandwich:false, EndGetSandwich:false, Dive:false, SwimDown:true, GiveSandwich:true}, Swim:{Idle:true, Swim:false, Hurt:true, Flip:true, FlipOut:false, SandwichFlip:false, Panic:true, ExitWater:true, IdleOut:false, StartGetSandwich:false, EndGetSandwich:false, Dive:false, SwimDown:true, GiveSandwich:true}, Hurt:{Idle:true, Swim:false, Hurt:false, Flip:false, FlipOut:false, SandwichFlip:false, Panic:true, ExitWater:true, IdleOut:false, StartGetSandwich:false, EndGetSandwich:false, Dive:false, SwimDown:false, GiveSandwich:false}, Flip:{Idle:true, Swim:true, Hurt:true, Flip:false, FlipOut:false, SandwichFlip:false, Panic:true, ExitWater:true, IdleOut:false, StartGetSandwich:false, EndGetSandwich:false, Dive:false, SwimDown:false, GiveSandwich:false}, FlipOut:{Idle:false, Swim:false, Hurt:false, Flip:false, FlipOut:false, SandwichFlip:false, Panic:false, ExitWater:false, IdleOut:true, StartGetSandwich:false, EndGetSandwich:false, Dive:true, SwimDown:false, GiveSandwich:false}, SandwichFlip:{Idle:false, Swim:false, Hurt:false, Flip:false, FlipOut:false, SandwichFlip:false, Panic:false, ExitWater:false, IdleOut:true, StartGetSandwich:false, EndGetSandwich:false, Dive:true, SwimDown:false, GiveSandwich:false}, Panic:{Idle:false, Swim:false, Hurt:false, Flip:false, FlipOut:false, SandwichFlip:false, Panic:false, ExitWater:true, IdleOut:false, StartGetSandwich:false, EndGetSandwich:false, Dive:false, SwimDown:false, GiveSandwich:false}, ExitWater:{Idle:false, Swim:false, Hurt:false, Flip:false, FlipOut:false, SandwichFlip:false, Panic:false, ExitWater:false, IdleOut:true, StartGetSandwich:false, EndGetSandwich:false, Dive:false, SwimDown:false, GiveSandwich:false}, IdleOut:{Idle:false, Swim:false, Hurt:false, Flip:false, FlipOut:true, SandwichFlip:true, Panic:false, ExitWater:false, IdleOut:false, StartGetSandwich:true, EndGetSandwich:false, Dive:true, SwimDown:false, GiveSandwich:false}, StartGetSandwich:{Idle:false, Swim:false, Hurt:false, Flip:false, FlipOut:false, SandwichFlip:false, Panic:false, ExitWater:false, IdleOut:false, StartGetSandwich:false, EndGetSandwich:true, Dive:false, SwimDown:false, GiveSandwich:false}, EndGetSandwich:{Idle:false, Swim:false, Hurt:false, Flip:false, FlipOut:false, SandwichFlip:false, Panic:false, ExitWater:false, IdleOut:true, StartGetSandwich:false, EndGetSandwich:false, Dive:false, SwimDown:false, GiveSandwich:false}, Dive:{Idle:true, Swim:true, Hurt:true, Flip:false, FlipOut:false, SandwichFlip:false, Panic:true, ExitWater:false, IdleOut:false, StartGetSandwich:false, EndGetSandwich:false, Dive:false, SwimDown:false, GiveSandwich:false}, SwimDown:{Idle:true, Swim:true, Hurt:true, Flip:true, FlipOut:false, SandwichFlip:false, Panic:true, ExitWater:true, IdleOut:false, StartGetSandwich:false, EndGetSandwich:false, Dive:false, SwimDown:false, GiveSandwich:true}, GiveSandwich:{Idle:true, Swim:true, Hurt:true, Flip:false, FlipOut:false, SandwichFlip:false, Panic:true, ExitWater:false, IdleOut:false, StartGetSandwich:false, EndGetSandwich:false, Dive:false, SwimDown:false, GiveSandwich:false}};
}
Symbol 1060 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.Follower] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.Follower extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.AllSideBlocker
{
var oControls, oPlayer, oOwner, nMaxPlayerDist, sDirection, sColliderType, sType, nGiveSandwichDist, bPlayerReach, nSpdX, nSpdY, nSpdXMod, setState, sState, stateFinished, setInstantState, bGoGiveSandwich, mcRef, nSpdXMin, nSpdXMax, nMaxMoveX, nMaxMoveY, nRealMoveX, nRealMoveY, validateMove, nPosX, nPosY;
function Follower (_oItemData) {
super(_oItemData);
oControls = undefined;
oPlayer = oOwner.oPlayer;
oPlayer.oFollower = this;
oOwner.oBackground.oFollower = this;
nMaxPlayerDist = com.disney.gem.games.LiloExpress.GameData.nFOLLOWER_MAX_DIST;
sDirection = "Right";
sColliderType = sType;
nGiveSandwichDist = 50;
bPlayerReach = false;
nSpdX = 0;
nSpdY = 0;
nSpdXMod = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nSpdXModifier;
setSpdAtSlow();
setControls();
}
function state_Idle() {
setState("Swim");
}
function state_Swim() {
}
function state_Flip() {
if ((stateFinished() == true) and (sState == "Flip")) {
if (bPlayerReach == true) {
bPlayerReach = false;
setInstantState("TendSandwich");
} else {
setInstantState("Idle");
}
changeDirection();
}
}
function state_SandwichFlip() {
if ((stateFinished() == true) and (sState == "SandwichFlip")) {
if (bPlayerReach == true) {
bPlayerReach = false;
setInstantState("TendSandwich");
} else {
setInstantState("Idle");
}
changeDirection();
}
}
function state_TendSandwich() {
if (stateFinished() == true) {
setState("HoldSandwich");
}
}
function state_HoldSandwich() {
if (oPlayer.sState == "IdleOut") {
oPlayer.setTakeSandwich();
}
}
function state_ReturnToSwim() {
if ((stateFinished() == true) and (sState == "ReturnToSwim")) {
bGoGiveSandwich = false;
if (sDirection == "Right") {
oControls.bLeftPress = true;
oControls.bRightPress = false;
} else {
oControls.bLeftPress = false;
oControls.bRightPress = true;
}
setInstantState("Flip");
}
}
function setControls() {
com.disney.gem.games.LiloExpress.game_obj.character_ctrls.CtrlsDispatcher.setControls(this);
}
function changeDirection() {
mcRef._xscale = mcRef._xscale - (mcRef._xscale * 2);
if (sDirection == "Right") {
sDirection = "Left";
} else {
sDirection = "Right";
}
}
function setSpdAtFast() {
nSpdXMin = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nFastSpdXMin;
nSpdXMax = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nFastSpdXMax;
}
function setGiveSandwichSpd() {
nSpdXMin = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nGiveSandwichSpdXMin;
nSpdXMax = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nGiveSandwichSpdXMax;
}
function setSpdAtSlow() {
nSpdXMin = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nSlowSpdXMin;
nSpdXMax = com.disney.gem.games.LiloExpress.GameData.oCHARACTER_SPEEDS[sType].nSlowSpdXMax;
}
function doMove() {
reactToControls();
setSpdX();
setMaxMove();
makeMoving();
}
function reactToControls() {
if (oControls.bControlsLock == false) {
if (sState != "Flip") {
if (((oControls.bRightPress == true) and (oControls.bLeftPress == false)) and (sDirection == "Left")) {
setState("Flip");
} else if (((oControls.bLeftPress == true) and (oControls.bRightPress == false)) and (sDirection == "Right")) {
setState("Flip");
}
}
}
}
function setSpdX() {
if ((oControls.bRightPress == true) and (oControls.bLeftPress == false)) {
if (nSpdX < nSpdXMax) {
if (nSpdX < 0) {
nSpdX = nSpdX + (2 * nSpdXMod);
} else {
nSpdX = nSpdX + nSpdXMod;
}
if (nSpdX > nSpdXMax) {
nSpdX = nSpdXMax;
}
}
} else if ((oControls.bRightPress == false) and (oControls.bLeftPress == true)) {
if (nSpdX > nSpdXMin) {
if (nSpdX > 0) {
nSpdX = nSpdX - (2 * nSpdXMod);
} else {
nSpdX = nSpdX - nSpdXMod;
}
if (nSpdX < nSpdXMin) {
nSpdX = nSpdXMin;
}
}
} else if (nSpdX > 0) {
nSpdX = nSpdX - nSpdXMod;
if (nSpdX < 0) {
nSpdX = 0;
}
} else {
nSpdX = nSpdX + nSpdXMod;
if (nSpdX > 0) {
nSpdX = 0;
}
}
if (nSpdX < nSpdXMin) {
nSpdX = nSpdX + nSpdXMod;
if (nSpdX > nSpdXMin) {
nSpdX = nSpdXMin;
}
} else if (nSpdX > nSpdXMax) {
nSpdX = nSpdX - nSpdXMod;
if (nSpdX < nSpdXMax) {
nSpdX = nSpdXMax;
}
}
}
function setMaxMove() {
nMaxMoveX = nSpdX;
nMaxMoveY = nSpdY;
nMaxMoveX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveX);
nMaxMoveY = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveY);
if (bGoGiveSandwich == true) {
checkDest();
}
nRealMoveX = nMaxMoveX;
nRealMoveY = nMaxMoveY;
}
function makeMoving() {
while ((nMaxMoveX != 0) or (nMaxMoveY != 0)) {
validateMove();
nPosX = nPosX + nRealMoveX;
mcRef._x = nPosX;
nPosY = nPosY + nRealMoveY;
mcRef._y = nPosY;
if (nMaxMoveX == nRealMoveX) {
nMaxMoveX = 0;
} else if (nMaxMoveX != 0) {
nMaxMoveX = nMaxMoveX - nRealMoveX;
}
if (nMaxMoveY == nRealMoveY) {
nMaxMoveY = 0;
} else if (nMaxMoveY != 0) {
nMaxMoveY = nMaxMoveY - nRealMoveY;
}
nMaxMoveX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveX);
nMaxMoveY = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveY);
nRealMoveX = nMaxMoveX;
nRealMoveY = nMaxMoveY;
}
}
function checkDest() {
if (nPosX < oControls.nGiveSandwichDest) {
if ((nPosX + nMaxMoveX) > oControls.nGiveSandwichDest) {
nMaxMoveX = oControls.nGiveSandwichDest - nPosX;
bPlayerReach = true;
}
} else if ((nPosX + nMaxMoveX) < oControls.nGiveSandwichDest) {
nMaxMoveX = oControls.nGiveSandwichDest - nPosX;
bPlayerReach = true;
}
if (bPlayerReach == true) {
if ((nPosX > oPlayer.nPosX) and (sDirection == "Right")) {
setInstantState("SandwichFlip");
} else if ((nPosX < oPlayer.nPosX) and (sDirection == "Left")) {
setInstantState("SandwichFlip");
} else {
bPlayerReach = false;
setState("TendSandwich");
}
}
}
function followBg(_nBgSpd) {
nMaxMoveX = _nBgSpd;
nMaxMoveY = 0;
nMaxMoveX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveX);
nRealMoveX = nMaxMoveX;
nRealMoveY = nMaxMoveY;
makeMoving();
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
}
function prepareToGiveSandwich() {
oControls.setGiveSandwichDest();
}
function setHitWall() {
if ((sDirection == "Right") and (oControls.bRightPress == true)) {
oControls.bLeftPress = true;
oControls.bRightPress = false;
setInstantState("Flip");
} else if ((sDirection == "Left") and (oControls.bLeftPress == true)) {
oControls.bLeftPress = false;
oControls.bRightPress = true;
setInstantState("Flip");
}
}
function onUpdate() {
doMove();
super.onUpdate();
}
function deleteObject() {
oControls.deleteObject();
super.deleteObject();
}
}
Symbol 1061 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.Surfer] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.Surfer extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ActivatedItem
{
function Surfer (_oItemData) {
super(_oItemData);
}
}
Symbol 1062 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.scroll_sys.InsideCollider] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.scroll_sys.InsideCollider extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ColliderItem
{
var sColliderType, setHitBorders, nDownHitBorder, nUpHitBorder, nRightHitBorder, nLeftHitBorder, oImpactManager;
function InsideCollider (_oItemData) {
super(_oItemData);
}
function checkInReach(_oMovingData, _nRightMoveBorder, _nLeftMoveBorder, _nDownMoveBorder, _nUpMoveBorder) {
var _local3 = false;
var _local4 = _oMovingData.sColliderType;
if (com.disney.gem.games.LiloExpress.game_obj.scroll_sys.data.ImpactDefinition[_local4][sColliderType] != undefined) {
setHitBorders();
if ((((_oMovingData.nRightHitBorder >= nLeftHitBorder) and (_oMovingData.nLeftHitBorder <= nRightHitBorder)) and (_oMovingData.nDownHitBorder >= nUpHitBorder)) and (_oMovingData.nUpHitBorder <= nDownHitBorder)) {
_oMovingData.bInXReach = true;
_oMovingData.bInYReach = true;
_local3 = true;
}
}
return(_local3);
}
function confirmCanBeHit(_oMovingItem, _oImpactCheckResult) {
oImpactManager.addItemToValidate(this);
return(false);
}
function checkInReachAfterMove(_oMovingItem, _nRightMoveBorder, _nLeftMoveBorder, _nDownMoveBorder, _nUpMoveBorder) {
var _local2 = false;
if ((((_oMovingItem.nRightHitBorder >= nLeftHitBorder) and (_oMovingItem.nLeftHitBorder <= nRightHitBorder)) and (_oMovingItem.nDownHitBorder >= nUpHitBorder)) and (_oMovingItem.nUpHitBorder <= nDownHitBorder)) {
_local2 = true;
}
return(_local2);
}
function resolveHitAfterMove(_oMovingItem, _oImpactCheckResult) {
doImpactResult(_oMovingItem, _oImpactCheckResult);
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
}
}
Symbol 1063 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.BubbleJet] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.BubbleJet extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.InsideCollider
{
var nHitZoneHeight, nUpBorder, nDownBorder, nMaxPushSpd, nPosY;
function BubbleJet (_oItemData) {
super(_oItemData);
nHitZoneHeight = nDownBorder - nUpBorder;
nMaxPushSpd = com.disney.gem.games.LiloExpress.GameData.nJET_PUSH_SPD;
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
var _local2 = setPushSpeed(_oMovingItem.nPosY);
_oMovingItem.hitBubbleJet(_local2);
}
function setPushSpeed(_oItemPosY) {
var _local2 = nPosY - _oItemPosY;
if (_local2 < 0) {
_local2 = 0;
}
var _local3 = 100 - ((_local2 * 100) / nHitZoneHeight);
var _local4 = (nMaxPushSpd * _local3) / 100;
return(_local4);
}
}
Symbol 1064 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.BabyFishHole] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.BabyFishHole extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ActivatedItem
{
var sFishSpecie, nUpBorder, nScaleY, mcRef, nRightBorder, nScaleX, nDownBorder, nLeftBorder, nRightHitBorder, nPosX, nLeftHitBorder, nDownHitBorder, nPosY, nUpHitBorder, oOwner;
function BabyFishHole (_oItemData) {
super(_oItemData);
sFishSpecie = "BabyFish";
}
function attachItemMovie() {
super.attachItemMovie();
setBorders();
}
function setBorders() {
nUpBorder = (mcRef.mcRightUpBorder._y * nScaleY) / 100;
nRightBorder = (mcRef.mcRightUpBorder._x * nScaleX) / 100;
nDownBorder = (mcRef.mcLeftDownBorder._y * nScaleY) / 100;
nLeftBorder = (mcRef.mcLeftDownBorder._x * nScaleX) / 100;
nUpBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nUpBorder);
nRightBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nRightBorder);
nDownBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nDownBorder);
nLeftBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nLeftBorder);
mcRef.mcLeftDownBorder.swapDepths(10);
mcRef.mcLeftDownBorder.removeMovieClip();
mcRef.mcRightUpBorder.swapDepths(10);
mcRef.mcRightUpBorder.removeMovieClip();
}
function setHitBorders() {
nRightHitBorder = nPosX + nRightBorder;
nLeftHitBorder = nPosX + nLeftBorder;
nDownHitBorder = nPosY + nDownBorder;
nUpHitBorder = nPosY + nUpBorder;
nRightHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nRightHitBorder);
nLeftHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nLeftHitBorder);
nDownHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nDownHitBorder);
nUpHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nUpHitBorder);
}
function launchFish() {
var _local2 = new Object();
_local2.sItemType = sFishSpecie;
_local2.sFishSpecie = sFishSpecie;
_local2.sAttachLink = sFishSpecie;
_local2.nPosX = nPosX;
_local2.nPosY = nPosY;
_local2.sStateAtStart = "ExitHole";
_local2.oFishHole = this;
oOwner.createBabyFish(_local2);
sFishSpecie = "";
}
function checkInsideHole(_oPlayer) {
setHitBorders();
if ((((_oPlayer.nRightHitBorder >= nLeftHitBorder) and (_oPlayer.nLeftHitBorder <= nRightHitBorder)) and (_oPlayer.nDownHitBorder >= nUpHitBorder)) and (_oPlayer.nUpHitBorder <= nDownHitBorder)) {
_oPlayer.hitFishHole(this);
}
}
}
Symbol 1065 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.SeaSnakeHole] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.SeaSnakeHole extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ActivatedItem
{
var nUpBorder, nScaleY, mcRef, nRightBorder, nScaleX, nDownBorder, nLeftBorder, nRightHitBorder, nPosX, nLeftHitBorder, nDownHitBorder, nPosY, nUpHitBorder, oOwner, oLinkedSnake;
function SeaSnakeHole (_oItemData) {
super(_oItemData);
createLinkedSnake();
}
function attachItemMovie() {
super.attachItemMovie();
setBorders();
}
function setBorders() {
nUpBorder = (mcRef.mcRightUpBorder._y * nScaleY) / 100;
nRightBorder = (mcRef.mcRightUpBorder._x * nScaleX) / 100;
nDownBorder = (mcRef.mcLeftDownBorder._y * nScaleY) / 100;
nLeftBorder = (mcRef.mcLeftDownBorder._x * nScaleX) / 100;
nUpBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nUpBorder);
nRightBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nRightBorder);
nDownBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nDownBorder);
nLeftBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nLeftBorder);
mcRef.mcLeftDownBorder.swapDepths(10);
mcRef.mcLeftDownBorder.removeMovieClip();
mcRef.mcRightUpBorder.swapDepths(10);
mcRef.mcRightUpBorder.removeMovieClip();
}
function setHitBorders() {
nRightHitBorder = nPosX + nRightBorder;
nLeftHitBorder = nPosX + nLeftBorder;
nDownHitBorder = nPosY + nDownBorder;
nUpHitBorder = nPosY + nUpBorder;
nRightHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nRightHitBorder);
nLeftHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nLeftHitBorder);
nDownHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nDownHitBorder);
nUpHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nUpHitBorder);
}
function createLinkedSnake() {
var _local2 = new Object();
_local2.nPosX = nPosX;
_local2.nPosY = nPosY;
_local2.oFishHole = this;
oOwner.createSeaSnake(_local2);
}
function launchFish() {
oLinkedSnake.setState("ExitHole");
}
function checkInsideHole(_oPlayer) {
setHitBorders();
if ((((_oPlayer.nRightHitBorder >= nLeftHitBorder) and (_oPlayer.nLeftHitBorder <= nRightHitBorder)) and (_oPlayer.nDownHitBorder >= nUpHitBorder)) and (_oPlayer.nUpHitBorder <= nDownHitBorder)) {
_oPlayer.hitFishHole(this);
}
}
}
Symbol 1066 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.BabyFish] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.BabyFish extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.ColliderItem
{
var sFishSpecie, oFishHole, oPlayer, sSandwichState, nMaxDistFeedX, nMinFeedY, nPosY, nMaxFeedY, stateFinished, mcRef, deleteObject, nPosX, oController, setState;
function BabyFish (_oItemData) {
super(_oItemData);
sFishSpecie = _oItemData.sFishSpecie;
oFishHole = _oItemData.oFishHole;
oPlayer = _oItemData.oPlayer;
sSandwichState = "NoSandwich";
nMaxDistFeedX = 16;
nMinFeedY = nPosY - 35;
nMaxFeedY = nPosY - 120;
}
function state_ExitHole() {
if (stateFinished() == true) {
checkForSandwich();
}
}
function state_GetSandwich() {
mcRef.mcState.mcSandwich.gotoAndStop(sSandwichState);
if (stateFinished() == true) {
deleteObject();
}
}
function state_MissSandwich() {
if (stateFinished() == true) {
oFishHole.sFishSpecie = sFishSpecie;
deleteObject();
}
}
function checkForSandwich() {
var _local3 = Math.abs(nPosX - oPlayer.nPosX);
var _local2 = false;
if ((oPlayer.sState == "GiveSandwich") or ((oPlayer.nPosY <= nMinFeedY) and (nPosY >= nMaxFeedY))) {
_local2 = true;
}
if (((_local3 <= nMaxDistFeedX) and (oPlayer.bHoldSandwich == true)) and (_local2 == true)) {
oFishHole.deleteObject();
sSandwichState = oPlayer.sSandwichState;
oPlayer.feedFish();
var _local4 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(com.disney.gem.games.LiloExpress.Controller(oController).sSOUND_CAT_SOUND, "CatchSandwich", com.disney.gem.games.LiloExpress.GameData.nCATCH_SANDWICH_VOLUME, 0, true);
setState("GetSandwich");
} else {
setState("MissSandwich");
}
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
}
}
Symbol 1067 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.SeaSnake] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.SeaSnake extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.InsideCollider
{
var sFishSpecie, oFishHole, sDirection, oPlayer, oOwner, nPosX, oController, stateFinished, setState, mcRef, nDownHitBorder, nUpHitBorder, nRightHitBorder, nLeftHitBorder, nLeftBorder, nRightBorder, nDownBorder, nPosY, nUpBorder;
function SeaSnake (_oItemData) {
super(_oItemData);
sFishSpecie = _oItemData.sFishSpecie;
oFishHole = _oItemData.oFishHole;
oFishHole.oLinkedSnake = this;
sDirection = "Left";
}
function state_Idle() {
if (oPlayer == undefined) {
oPlayer = oOwner.oPlayer;
}
}
function state_Idle_end() {
if ((oPlayer.nPosX > nPosX) and (sDirection == "Left")) {
sDirection = "Right";
changeDirection();
} else if ((oPlayer.nPosX <= nPosX) and (sDirection == "Right")) {
sDirection = "Left";
changeDirection();
}
}
function state_ExitHole_init() {
var _local2 = com.sarbakan.sound.SoundManager.doPlaySoundInCat(com.disney.gem.games.LiloExpress.Controller(oController).sSOUND_CAT_SOUND, "SnakeAttack", com.disney.gem.games.LiloExpress.GameData.nSNAKE_ATTACK_VOLUME, 0, true);
}
function state_ExitHole() {
if (stateFinished() == true) {
checkHitPlayer();
setState("EnterHole");
}
}
function state_EnterHole() {
if (stateFinished() == true) {
setState("Idle");
}
}
function changeDirection() {
mcRef._xscale = mcRef._xscale - (2 * mcRef._xscale);
setHitBorders();
}
function checkHitPlayer() {
setHitBorders();
if ((((oPlayer.nRightHitBorder >= nLeftHitBorder) and (oPlayer.nLeftHitBorder <= nRightHitBorder)) and (oPlayer.nDownHitBorder >= nUpHitBorder)) and (oPlayer.nUpHitBorder <= nDownHitBorder)) {
doImpactResult(oPlayer);
}
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
_oMovingItem.hitFish("Up");
}
function setHitBorders() {
if (sDirection == "Right") {
nRightHitBorder = nPosX - nLeftBorder;
nLeftHitBorder = nPosX - nRightBorder;
} else {
nRightHitBorder = nPosX + nRightBorder;
nLeftHitBorder = nPosX + nLeftBorder;
}
nDownHitBorder = nPosY + nDownBorder;
nUpHitBorder = nPosY + nUpBorder;
nRightHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nRightHitBorder);
nLeftHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nLeftHitBorder);
nDownHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nDownHitBorder);
nUpHitBorder = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nUpHitBorder);
}
}
Symbol 1068 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.Fish] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.Fish extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.AllSideBlocker
{
var oBackground, oFishesManager, sColliderType, sDirection, nSpdXMin, sType, nSpdXMax, nSpdX, mcRef, nMaxMoveX, nMaxMoveY, nRealMoveX, nRealMoveY, validateMove, nPosX, nPosY, oController, bIsCollider, oImpactManager;
function Fish (_oItemData) {
super(_oItemData);
oBackground = _oItemData.oBackground;
oFishesManager = _oItemData.oFishesManager;
sColliderType = "Fish";
sDirection = _oItemData.sDirection;
nSpdXMin = com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA.oFishesSpds[sType].nSpdXMin;
nSpdXMax = com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA.oFishesSpds[sType].nSpdXMax;
nSpdX = Math.floor(Math.random() * (nSpdXMax - nSpdXMin)) + nSpdXMin;
if (sDirection == "Left") {
nSpdX = nSpdX * -1;
mcRef._xscale = mcRef._xscale - (mcRef._xscale * 2);
}
}
function state_Swim() {
doMove();
}
function doMove() {
setMaxMove();
makeMoving();
}
function setMaxMove() {
nMaxMoveX = nSpdX;
nMaxMoveY = 0;
nMaxMoveX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveX);
nMaxMoveY = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveY);
nRealMoveX = nMaxMoveX;
nRealMoveY = nMaxMoveY;
}
function makeMoving() {
while ((nMaxMoveX != 0) or (nMaxMoveY != 0)) {
validateMove();
nPosX = nPosX + nRealMoveX;
mcRef._x = nPosX;
nPosY = nPosY + nRealMoveY;
mcRef._y = nPosY;
if (nMaxMoveX == nRealMoveX) {
nMaxMoveX = 0;
} else if (nMaxMoveX != 0) {
nMaxMoveX = nMaxMoveX - nRealMoveX;
}
if (nMaxMoveY == nRealMoveY) {
nMaxMoveY = 0;
} else if (nMaxMoveY != 0) {
nMaxMoveY = nMaxMoveY - nRealMoveY;
}
nMaxMoveX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveX);
nMaxMoveY = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveY);
nRealMoveX = nMaxMoveX;
nRealMoveY = nMaxMoveY;
}
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
_oMovingItem.hitFish(_oImpactCheckResult.sImpactSide);
}
function desactivateItem() {
mcRef.removeMovieClip();
oController.oMainBroadcaster.removeListener(this);
if (bIsCollider == true) {
oImpactManager.removeCollider(this);
}
deleteObject();
}
function deleteObject() {
oFishesManager.nNbFishes--;
super.deleteObject();
}
}
Symbol 1069 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.JellyFish] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.JellyFish extends com.disney.gem.games.LiloExpress.game_obj.Fish
{
var sColliderType, nSpdX, nSpdY, nMaxSpdUp, nMaxSpdDown, nBaseModSpdX, nModSpdX, nModSpdY, nSpdsModifier, sSpeedDest, stateFinished, setState, oOwner, nPosX, nDownBorder, nPosY, oLinkedGround, makeMoving, nMaxMoveX, nMaxMoveY, sDirection, nRealMoveX, nRealMoveY, nSpdXMin, nSpdXMax;
function JellyFish (_oItemData) {
super(_oItemData);
sColliderType = "JellyFish";
nSpdX = 0;
nSpdY = 0;
nMaxSpdUp = -2;
nMaxSpdDown = 1.5;
nBaseModSpdX = 0.01;
nModSpdX = 0.01;
nModSpdY = 0.05;
nSpdsModifier = 1;
sSpeedDest = "MaxSpdDown";
createGround();
}
function state_Swim() {
if (stateFinished() == true) {
setState("IdleUp");
}
}
function state_IdleUp() {
if (nSpdY >= (nMaxSpdDown / 2)) {
sSpeedDest = "MaxSpdDown";
setState("Sink");
}
}
function state_Sink() {
if (stateFinished() == true) {
setState("IdleDown");
}
}
function state_IdleDown() {
}
function createGround() {
var _local3 = "oJellyGround" + oOwner.nIndexNameFish;
var _local2 = new Object();
_local2.sName = _local3;
_local2.oOwner = this;
_local2.mcContainer = oOwner.mcRef.mcBg.mcFishes;
_local2.sItemType = "oJellyGround";
_local2.sAttachLink = "JellyGround";
_local2.nAttachDepth = oOwner.nIndexDepthFish;
_local2.nPosX = nPosX;
_local2.nPosY = nPosY + nDownBorder;
_local2.nScaleX = 100;
_local2.nScaleY = 100;
_local2.bGroundCollider = false;
_local2.bStateInUse = true;
_local2.bActivatedItem = false;
_local2.bFixItem = false;
oOwner.nIndexDepthFish++;
oOwner.nIndexNameFish++;
this[_local3] = new com.disney.gem.games.LiloExpress.game_obj.JellyGround(_local2);
oLinkedGround = this[_local3];
}
function doMove() {
setSpdX();
setSpdY();
setMaxMove();
makeMoving();
}
function setSpdX() {
if (nSpdX > 0) {
nSpdX = nSpdX - nModSpdX;
if (nSpdX < 0) {
nSpdX = 0;
}
}
}
function setSpdY() {
if (sSpeedDest == "MaxSpdUp") {
if (nSpdY >= nMaxSpdUp) {
nSpdY = nSpdY - nModSpdY;
if (nSpdY < nMaxSpdUp) {
sSpeedDest = "MaxSpdDown";
nSpdY = nMaxSpdUp;
}
}
} else if (nSpdY < nMaxSpdDown) {
nSpdY = nSpdY + nModSpdY;
if (nSpdY > nMaxSpdDown) {
nSpdY = nMaxSpdDown;
}
}
}
function setMaxMove() {
nMaxMoveX = nSpdX;
nMaxMoveY = nSpdY;
if (sDirection == "Left") {
nMaxMoveX = nMaxMoveX * -1;
}
nMaxMoveX = nMaxMoveX * nSpdsModifier;
if (sSpeedDest == "MaxSpdUp") {
nMaxMoveY = nMaxMoveY * nSpdsModifier;
}
nMaxMoveX = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveX);
nMaxMoveY = com.disney.gem.games.LiloExpress.game_obj.scroll_sys.MathObj.roundNumber(nMaxMoveY);
nRealMoveX = nMaxMoveX;
nRealMoveY = nMaxMoveY;
}
function hitJellyGround() {
nSpdsModifier = 1;
nSpdX = Math.floor(Math.random() * (nSpdXMax - nSpdXMin)) + nSpdXMin;
nModSpdX = nBaseModSpdX * nSpdX;
nSpdY = nMaxSpdUp;
if (nSpdsModifier < 1) {
nSpdY = nSpdY * nSpdsModifier;
}
sSpeedDest = "MaxSpdUp";
setState("Swim");
}
function onUpdate() {
doMove();
super.onUpdate();
}
function deleteObject() {
oLinkedGround.deleteObject();
super.deleteObject();
}
}
Symbol 1070 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.JellyGround] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.JellyGround extends com.disney.gem.games.LiloExpress.game_obj.scroll_sys.TopBlocker
{
var sColliderType, nPosX, oOwner, mcRef;
function JellyGround (_oItemData) {
super(_oItemData);
sColliderType = "JellyGround";
}
function state_Idle() {
followJellyFish();
}
function followJellyFish() {
nPosX = oOwner.nPosX;
mcRef._x = nPosX;
}
function doImpactResult(_oMovingItem, _oImpactCheckResult) {
_oMovingItem.hitJellyGround();
}
}
Symbol 1071 MovieClip [__Packages.com.disney.gem.games.LiloExpress.game_obj.ShowPts] Frame 0
class com.disney.gem.games.LiloExpress.game_obj.ShowPts extends com.disney.gem.games.LiloExpress.game_obj.basic_class.AttachItem
{
var nPts, mcRef, stateFinished, deleteObject;
function ShowPts (_oItemData) {
super(_oItemData);
nPts = _oItemData.nGivenPts;
}
function state_Idle() {
mcRef.mcState.mcPts.txtPts = nPts;
if (stateFinished()) {
deleteObject();
}
}
}
Symbol 1072 MovieClip [__Packages.com.disney.gem.games.LiloExpress.screens.TitleScreen] Frame 0
class com.disney.gem.games.LiloExpress.screens.TitleScreen extends com.sarbakan.utils.ScreenController
{
var oController, mcRef;
function TitleScreen (_mcRef) {
super(_mcRef);
}
function onBtHelp() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).showInstructions();
}
function onBtPlay() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).disallowInstructions();
com.disney.gem.games.LiloExpress.Controller(oController).startNewGame();
}
function state_idle_init() {
super.state_idle_init();
mcRef.mcState.mcContent.btHelp.onRelease = com.sarbakan.utils.Delegate.create(this, onBtHelp);
mcRef.mcState.mcContent.btPlay.onRelease = com.sarbakan.utils.Delegate.create(this, onBtPlay);
}
}
Symbol 1073 MovieClip [__Packages.com.disney.gem.games.LiloExpress.screens.HelpScreen] Frame 0
class com.disney.gem.games.LiloExpress.screens.HelpScreen extends com.sarbakan.utils.ScreenController
{
var oController, mcRef;
function HelpScreen (_mcRef) {
super(_mcRef);
}
function onBtNext() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).showInstructionsScreen2();
}
function onBtPlay() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).hideInstructions();
}
function state_idle_init() {
super.state_idle_init();
mcRef.mcState.mcContent.btNext.onRelease = com.sarbakan.utils.Delegate.create(this, onBtNext);
mcRef.mcState.mcContent.btPlay.onRelease = com.sarbakan.utils.Delegate.create(this, onBtPlay);
}
}
Symbol 1074 MovieClip [__Packages.com.disney.gem.games.LiloExpress.screens.Help2Screen] Frame 0
class com.disney.gem.games.LiloExpress.screens.Help2Screen extends com.sarbakan.utils.ScreenController
{
var oController, mcRef;
function Help2Screen (_mcRef) {
super(_mcRef);
}
function onBtBack() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).showInstructionsScreen();
}
function onBtPlay() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).forceInstructionActive();
com.disney.gem.games.LiloExpress.Controller(oController).hideInstructions();
}
function state_idle_init() {
super.state_idle_init();
mcRef.mcState.mcContent.btBack.onRelease = com.sarbakan.utils.Delegate.create(this, onBtBack);
mcRef.mcState.mcContent.btPlay.onRelease = com.sarbakan.utils.Delegate.create(this, onBtPlay);
}
}
Symbol 1075 MovieClip [__Packages.com.disney.gem.games.LiloExpress.popups.MenuPopup] Frame 0
class com.disney.gem.games.LiloExpress.popups.MenuPopup extends com.sarbakan.utils.ScreenController
{
var sCloseBtn, oController, hide, mcRef;
function MenuPopup (_mcRef) {
super(_mcRef);
sCloseBtn = "";
}
function onBtSound() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).toggleSound();
updateSoundGroup();
}
function onBtHelp() {
sCloseBtn = "Help";
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).showInstructions();
hide(null, true);
}
function onBtQuit() {
sCloseBtn = "Quit";
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).showPopup(new com.disney.gem.games.LiloExpress.popups.ConfirmPopup(com.disney.gem.games.LiloExpress.Controller(oController).mcTimeline.mcPopups.mcConfirm, this), true);
}
function onBtResume() {
sCloseBtn = "Resume";
com.disney.gem.games.LiloExpress.Controller(oController).MusGame.setFadeRate(2);
com.disney.gem.games.LiloExpress.Controller(oController).MusGame.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nMUS_GAME_VOLUME);
if (com.disney.gem.games.LiloExpress.Controller(oController).sWaterAmbience == "Surface") {
com.disney.gem.games.LiloExpress.Controller(oController).SurfaceLoop.setFadeRate(4);
com.disney.gem.games.LiloExpress.Controller(oController).SurfaceLoop.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nSURFACE_LOOP_VOLUME);
} else {
com.disney.gem.games.LiloExpress.Controller(oController).UnderwaterLoop.setFadeRate(4);
com.disney.gem.games.LiloExpress.Controller(oController).UnderwaterLoop.doFadeTo(com.disney.gem.games.LiloExpress.GameData.nUNDERWATER_LOOP_VOLUME);
}
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
hide();
}
function state_in_init() {
super.state_in_init();
com.disney.gem.games.LiloExpress.Controller(oController).oMenu = this;
setBts();
}
function state_idle_init() {
super.state_idle_init();
setBts();
}
function state_out_init() {
super.state_out_init();
setBts();
}
function state_out_end() {
if (sCloseBtn == "Resume") {
com.disney.gem.games.LiloExpress.Controller(oController).unpause();
}
}
function setBts() {
mcRef.mcState.btHelp.onRelease = com.sarbakan.utils.Delegate.create(this, onBtHelp);
mcRef.mcState.btQuit.onRelease = com.sarbakan.utils.Delegate.create(this, onBtQuit);
mcRef.mcState.btResume.onRelease = com.sarbakan.utils.Delegate.create(this, onBtResume);
updateSoundGroup();
}
function updateSoundGroup() {
var _local2 = "On";
if (com.disney.gem.games.LiloExpress.Controller(oController).bSoundMuted) {
_local2 = "Off";
}
mcRef.mcState.mcSoundToggle.gotoAndStop(_local2);
mcRef.mcState.mcSoundToggle.btSound.onRelease = com.sarbakan.utils.Delegate.create(this, onBtSound);
}
}
Symbol 1076 MovieClip [__Packages.com.disney.gem.games.LiloExpress.popups.ConfirmPopup] Frame 0
class com.disney.gem.games.LiloExpress.popups.ConfirmPopup extends com.sarbakan.utils.ScreenController
{
var oMenuOrigin, oController, hide, mcRef;
function ConfirmPopup (_mcRef, _oMenuOrigin) {
super(_mcRef);
oMenuOrigin = _oMenuOrigin;
}
function onBtNo() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
hide();
}
function onBtYes() {
hide();
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).onGameLose();
oMenuOrigin.hide();
}
function state_in_init() {
super.state_in_init();
com.disney.gem.games.LiloExpress.Controller(oController).oQuitConfirm = this;
setBts();
}
function state_idle_init() {
super.state_idle_init();
setBts();
}
function state_out_init() {
super.state_out_init();
setBts();
}
function setBts() {
mcRef.mcState.btYes.onRelease = com.sarbakan.utils.Delegate.create(this, onBtYes);
mcRef.mcState.btNo.onRelease = com.sarbakan.utils.Delegate.create(this, onBtNo);
}
}
Symbol 1077 MovieClip [__Packages.com.disney.gem.games.LiloExpress.screens.EndScreen] Frame 0
class com.disney.gem.games.LiloExpress.screens.EndScreen extends com.sarbakan.utils.ScreenController
{
var oController, mcRef;
function EndScreen (_mcRef) {
super(_mcRef);
}
function onBtPlay() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).showTitleScreen(true);
}
function onBtTryAgain() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
com.disney.gem.games.LiloExpress.Controller(oController).restartLevel();
}
function state_idle_init() {
super.state_idle_init();
mcRef.mcState.mcContent.btPlay.onRelease = com.sarbakan.utils.Delegate.create(this, onBtPlay);
mcRef.mcState.mcContent.btTryAgain.onRelease = com.sarbakan.utils.Delegate.create(this, onBtTryAgain);
showScore();
}
function showScore() {
mcRef.mcState.mcContent.mcScore.txtScoreFront = oController.getScore();
mcRef.mcState.mcContent.mcScore.txtScoreBack = oController.getScore();
}
}
Symbol 1078 MovieClip [__Packages.com.disney.gem.games.LiloExpress.popups.ShowLevel] Frame 0
class com.disney.gem.games.LiloExpress.popups.ShowLevel extends com.sarbakan.utils.ScreenController
{
var oController, nLevel, nNbFishToFeed, mcRef, stateFinished, setState;
function ShowLevel (_mcRef) {
super(_mcRef);
oController = com.disney.gem.games.LiloExpress.Controller.getInstance();
nLevel = oController.getLevel();
nNbFishToFeed = com.disney.gem.games.LiloExpress.GameData.oFISHES_DATA["oLevel" + nLevel].nNbFishToFeed;
}
function state_in_init() {
super.state_in_init();
}
function state_in() {
super.state_in();
showLevelData();
if (mcRef.mcState._currentframe == 10) {
oController.startMusGame();
}
}
function state_idle_init() {
super.state_idle_init();
showLevelData();
}
function state_idle() {
if (stateFinished() == true) {
setState("out");
}
}
function state_out_init() {
super.state_out_init();
showLevelData();
}
function state_out() {
super.state_out();
showLevelData();
}
function state_out_end() {
oController.unpause();
oController.allowInstructions();
}
function showLevelData() {
mcRef.mcState.txtLevel = "0" + nLevel;
if (nNbFishToFeed < 10) {
mcRef.mcState.txtNbFishToFeed = "0" + nNbFishToFeed;
} else {
mcRef.mcState.txtNbFishToFeed = nNbFishToFeed;
}
}
}
Symbol 1079 MovieClip [__Packages.com.disney.gem.games.LiloExpress.screens.WinScreen] Frame 0
class com.disney.gem.games.LiloExpress.screens.WinScreen extends com.sarbakan.utils.ScreenController
{
var oController, mcRef;
function WinScreen (_mcRef) {
super(_mcRef);
}
function onBtPlay() {
com.disney.gem.games.LiloExpress.Controller(oController).playButtonClic1();
oController.showTitleScreen(true);
}
function state_idle_init() {
super.state_idle_init();
mcRef.mcState.mcContent.btPlay.onRelease = com.sarbakan.utils.Delegate.create(this, onBtPlay);
showScore();
}
function showScore() {
mcRef.mcState.mcContent.mcScore.txtScoreFront = oController.getScore();
mcRef.mcState.mcContent.mcScore.txtScoreBack = oController.getScore();
}
}
Symbol 543 MovieClip Frame 1
stop();
Instance of Symbol 920 MovieClip in Symbol 921 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(10);
this.removeMovieClip();
}
Instance of Symbol 923 MovieClip in Symbol 924 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(10);
this.removeMovieClip();
}
Instance of Symbol 927 MovieClip in Symbol 928 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(10);
this.removeMovieClip();
}
Instance of Symbol 953 MovieClip in Symbol 954 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(10);
this.removeMovieClip();
}