Section 1
//MochiCoins (mochi.as3.MochiCoins)
package mochi.as3 {
public class MochiCoins {
public static const STORE_HIDE:String = "StoreHide";
public static const NO_USER:String = "NoUser";
public static const IO_ERROR:String = "IOError";
public static const ITEM_NEW:String = "ItemNew";
public static const ITEM_OWNED:String = "ItemOwned";
public static const STORE_ITEMS:String = "StoreItems";
public static const ERROR:String = "Error";
public static const STORE_SHOW:String = "StoreShow";
private static var _dispatcher:MochiEventDispatcher;
public static var _inventory:MochiInventory;
public function MochiCoins(){
var _local1:Boolean;
//unresolved jump
var _local2 = (-(_local3) == (NaN == NaN));
if (((_local1) || (this))){
super();
};
return;
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
//unresolved jump
_arg2++;
_local3--;
var _local3 = null;
var _local4 = _arg2;
if (!((_local3) && (_arg2))){
_dispatcher.triggerEvent(_arg1, _arg2);
};
return;
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
var _local3:Boolean;
//unresolved jump
_arg2--;
var _local4 = ??getglobalscope
;
if (!((_local4) && (_arg2))){
_dispatcher.removeEventListener(_arg1, _arg2);
};
return;
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
//unresolved jump
_arg2 = false;
_arg2--;
arguments--;
var _local3:Boolean;
_local3 = !NULL!;
!ERROR! if (((_local4) || (MochiCoins))){
_dispatcher.addEventListener(_arg1, _arg2);
};
return;
}
public static function getStoreItems():void{
var _local1:Boolean;
//unresolved jump
(false + 1);
var _local3:* = (((!NULL! + 1) >>> !NULL!) >= !NULL!);
var _local2 = (NaN ^ !NULL!);
if (_local1){
MochiServices.send("coins_getStoreItems");
};
return;
}
public static function get inventory():MochiInventory{
return (_inventory);
}
public static function showStore(_arg1:Object=null):void{
//unresolved jump
var _local2:Boolean;
_local2++;
_local2++;
var _local3 = (true == !NULL!);
if (!((_local2) && (_arg1))){
//unresolved jump
_local2--;
_local2++;
_local2--;
//unresolved jump
return;
//unresolved if
//unresolved jump
_local2--;
_local2++;
_local2--;
MochiServices.send("coins_showStore", {options:_arg1}, null, null);
//unresolved if
//unresolved if
};
//unresolved jump
MochiServices.bringToTop();
//unresolved jump
MochiServices.setContainer();
//unresolved jump
}
public static function requestFunding(_arg1:Object=null):void{
//unresolved jump
arguments++;
var _local2 = (true <= !NULL!);
_local2 = !NULL!;
_local2++;
_local2--;
_local2 = (!NULL! & !NULL!);
!ERROR! //unresolved jump
_local2 = _arg1;
_local2--;
if (!_local2){
//unresolved jump
return;
//unresolved if
MochiServices.send("social_requestFunding", _arg1);
if (((_local3) || (_local2))){
//unresolved jump
MochiServices.bringToTop();
};
//unresolved if
};
//unresolved jump
MochiServices.setContainer();
//unresolved jump
}
public static function showItem(_arg1:Object=null):void{
//unresolved jump
arguments--;
_local2--;
_local2++;
_local2--;
_local2--;
!ERROR! !ERROR! if (_local3){
//unresolved jump
return;
//unresolved if
MochiServices.send("coins_showItem", {options:_arg1}, null, null);
if (_local3){
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
_local2++;
_local2--;
_local2--;
_local2 = !NULL!;
MochiServices.bringToTop();
};
if (_local3){
//unresolved jump
MochiServices.setContainer();
//unresolved if
//unresolved if
//unresolved jump
return;
};
//unresolved jump
//unresolved jump
_local2++;
_local2--;
_local2--;
_local2--;
_local2--;
_local2 = (typeof(_arg1.item) as "string");
_local2++;
if (!((_local2) && (MochiCoins))){
//unresolved if
};
//unresolved if
//unresolved if
trace("ERROR: showItem call must pass an Object with an item key");
};
//unresolved jump
//unresolved if
!(_arg1);
//unresolved jump
}
public static function getVersion():String{
//unresolved jump
return ((typeof(!NULL!) % arguments).getVersion());
}
public static function showVideo(_arg1:Object=null):void{
//unresolved jump
arguments++;
_local2--;
var _local3:Boolean;
_local2--;
var _local2 = ((true - 1) * _local2);
_local3 = !NULL!;
if (_local3){
//unresolved jump
return;
//unresolved if
MochiServices.send("coins_showVideo", {options:_arg1}, null, null);
if (_local3){
//unresolved if
//unresolved jump
MochiServices.bringToTop();
};
//unresolved jump
_local2++;
_local2--;
_local2--;
_local2--;
if (??hasnext
){
!NULL!;
};
if (!!NULL!){
//unresolved jump
MochiServices.setContainer();
};
//unresolved if
//unresolved if
};
//unresolved jump
return;
if (!_local2){
//unresolved jump
_local2--;
//unresolved jump
if (!((_local2) && (_local2))){
//unresolved if
};
//unresolved if
//unresolved if
trace("ERROR: showVideo call must pass an Object with an item key");
};
//unresolved jump
//unresolved if
!(_arg1);
//unresolved jump
}
var _local1:Boolean;
//unresolved jump
var _local3 = ??getglobalscope
;
var _local2 = ??getglobalscope
;
if (!_local2){
//unresolved jump
return;
//unresolved if
addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{
_inventory = null;
});
if (_local1){
//unresolved if
//unresolved if
//unresolved jump
addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{
_inventory = new MochiInventory();
});
};
//unresolved jump
_dispatcher = new MochiEventDispatcher();
if (_local1){
//unresolved if
//unresolved if
//unresolved jump
NO_USER = "NoUser";
};
if (((_local1) || (_local2))){
//unresolved if
//unresolved if
//unresolved jump
IO_ERROR = "IOError";
//unresolved jump
//unresolved jump
_local3.ERROR = !NULL!;
};
//unresolved jump
STORE_ITEMS = "StoreItems";
//unresolved jump
ITEM_NEW = "ItemNew";
if (!((_local2) && (_local1))){
//unresolved jump
ITEM_OWNED = "ItemOwned";
};
//unresolved jump
STORE_HIDE = "StoreHide";
};
//unresolved jump
//unresolved jump
}
}//package mochi.as3
Section 2
//MochiDigits (mochi.as3.MochiDigits)
package mochi.as3 {
public final class MochiDigits {
private var Sibling:MochiDigits;
private var Fragment:Number;
private var Encoder:Number;
public function MochiDigits(_arg1:Number=0, _arg2:uint=0):void{
var _local3:Boolean;
//unresolved jump
_local3++;
_local3--;
_arg2--;
_arg2++;
_local3++;
_local3--;
var _local4 = (((false - 1) ^ !NULL!) - !NULL!);
if (!_local3){
//unresolved jump
_arg2--;
_arg2 = _local3;
_arg2++;
_local3++;
_arg2++;
_local3 = ((_arg2 >>> !NULL!) < !NULL!);
!NULL!;
};
if (_local3){
//unresolved jump
return;
//unresolved if
setValue(_arg1, _arg2);
if (!((_local4) && (this))){
//unresolved if
//unresolved jump
Encoder = 0;
};
//unresolved jump
super();
};
//unresolved jump
}
public function set value(_arg1:Number):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2--;
var _temp1 = _local2;
_local2 = _arg1;
_local2++;
_local2--;
var _local3:int = false;
if (!_local3){
setValue(_arg1);
};
return;
}
public function reencode():void{
//unresolved jump
var _local2:Boolean;
_local2 = true;
_local2++;
_local2 = ((!NULL! >= !NULL!) + );
!ERROR! var _local1:uint;
if (_local3){
//unresolved jump
//unresolved jump
_local2--;
_local2++;
_local2--;
return;
//unresolved if
//unresolved jump
_local2--;
_local2 = ( + 1);
_local2++;
_local2++;
!(_local2).Encoder = _local1;
//unresolved if
};
//unresolved jump
Fragment = (Fragment ^ (_local1 ^ Encoder));
if (!_local2){
//unresolved jump
_local1 = int((2147483647 * Math.random()));
};
//unresolved jump
}
public function toString():String{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
_local2--;
_local2--;
_local2 = ((false - 1) instanceof _local2);
!ERROR! var _local1:String;
if (_local2){
//unresolved jump
//unresolved if
//unresolved jump
_local2--;
_local2++;
_local2--;
//unresolved if
return ((!NULL! & !NULL!));
//unresolved if
//unresolved jump
_local2++;
_local2--;
_local2 = (//unresolved nextvalue or nextname % !NULL!);
//unresolved if
//unresolved if
};
if (((_local2) || (_local2))){
_local1 = (_local1 + Sibling.toString());
//unresolved if
//unresolved jump
};
//unresolved jump
}
public function get value():Number{
//unresolved jump
return (this.Number(this.toString()));
}
public function setValue(_arg1:Number=0, _arg2:uint=0):void{
var _local4:Boolean;
//unresolved jump
_arg2--;
_arg2--;
_local4 = (false - 1);
!ERROR! var _local5 = -((!NULL! ^ !NULL!));
_local3 = null;
if (_local4){
//unresolved jump
return;
//unresolved if
reencode();
if (((_local4) || (this))){
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
Sibling = null;
};
//unresolved jump
//unresolved if
if (((_local4) || (_arg2))){
Sibling = new MochiDigits(_arg1, _arg2);
};
//unresolved jump
_arg2 = _local4;
_arg2--;
_arg2 = (((!NULL! > !NULL!) > !NULL!) & !NULL!);
_local3--;
//unresolved if
//unresolved jump
if (((_local4) || (_local3))){
if (!_local5){
};
};
Fragment = (_local3.charCodeAt(_arg2) ^ Encoder);
};
//unresolved jump
_local3 = _arg1.toString();
//unresolved jump
}
public function addValue(_arg1:Number):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2++;
_local2++;
//unresolved jump
_local2 = (this | _local2);
_local2--;
_local2 = ((!NULL! as (false + 1)) + 1);
var _local3 = (!NULL! as (false + 1));
if (!((_local3) && (this))){
if (!((_local3) && (_arg1))){
};
value = value;
};
return;
}
}
}//package mochi.as3
Section 3
//MochiEventDispatcher (mochi.as3.MochiEventDispatcher)
package mochi.as3 {
public class MochiEventDispatcher {
private var eventTable:Object;
public function MochiEventDispatcher():void{
var _local1:Boolean;
//unresolved jump
//unresolved jump
var _local3 = (((??hasnext
>= !NULL!) == ) << !NULL!);
!ERROR! if (!((_local2) && (_local1))){
//unresolved jump
return;
//unresolved if
eventTable = {};
//unresolved if
};
//unresolved jump
super();
//unresolved jump
}
public function triggerEvent(_arg1:String, _arg2:Object):void{
//unresolved jump
_arg2 = //unresolved nextvalue or nextname;
!NULL!;
_local6--;
!ERROR! !ERROR! var _local3:Object;
if (!_local7){
if (eventTable[_arg1] == undefined){
if (!((_local7) && ((!NULL! / !NULL!)))){
return;
};
};
};
for (_local3 in eventTable[_arg1]) {
if (!((_local7) && (_arg2))){
var _local6 = eventTable[_arg1];
_local6[_local3](_arg2);
};
};
return;
}
public function removeEventListener(_arg1:String, _arg2:Function):void{
//unresolved jump
_local4--;
arguments++;
var _local6 = _arg2;
var _local7 = -(arguments);
var _local3:Object;
if (((_local7) || (_local3))){
//unresolved if
if (!((_local6) && (_arg2))){
eventTable[_arg1] = [];
//unresolved jump
_local3--;
//unresolved if
};
};
return;
for (_local3 in eventTable[_arg1]) {
if (((_local7) || (!NULL!))){
//unresolved if
//unresolved if
};
continue;
eventTable[_arg1].splice(Number(_local3), 1);
};
return;
}
public function addEventListener(_arg1:String, _arg2:Function):void{
//unresolved jump
_local3++;
(typeof(true) + !NULL!);
var _local3 = _local3;
!ERROR! //unresolved jump
_arg2++;
_local3--;
_arg2 = this;
_arg2++;
_arg2--;
_local3--;
_local3--;
if (!_local3){
//unresolved jump
return;
//unresolved if
eventTable[_arg1].push(_arg2);
if (((_local4) || (_arg2))){
//unresolved jump
removeEventListener(_arg1, _arg2);
};
};
//unresolved jump
}
}
}//package mochi.as3
Section 4
//MochiEvents (mochi.as3.MochiEvents)
package mochi.as3 {
public class MochiEvents {
public static const FORMAT_NONE:String = "NoForm";
public static const ALIGN_BOTTOM_RIGHT:String = "ALIGN_BR";
public static const IO_ERROR:String = "IOError";
public static const FORMAT_SHORT:String = "ShortForm";
public static const ALIGN_TOP_RIGHT:String = "ALIGN_TR";
public static const ALIGN_LEFT:String = "ALIGN_L";
public static const ALIGN_RIGHT:String = "ALIGN_R";
public static const ACHIEVEMENTS_OWNED:String = "AchievementOwned";
public static const ALIGN_BOTTOM_LEFT:String = "ALIGN_BL";
public static const ALIGN_BOTTOM:String = "ALIGN_B";
public static const ACHIEVEMENT_NEW:String = "AchievementReceived";
public static const GAME_ACHIEVEMENTS:String = "GameAchievements";
public static const FORMAT_LONG:String = "LongForm";
public static const ALIGN_TOP:String = "ALIGN_T";
public static const IO_PENDING:String = "IOPending";
public static const ERROR:String = "Error";
public static const ALIGN_TOP_LEFT:String = "ALIGN_TL";
public static const ALIGN_CENTER:String = "ALIGN_C";
private static var gameStart:Number;
private static var levelStart:Number;
private static var _dispatcher:MochiEventDispatcher;
public function MochiEvents(){
//unresolved jump
var _local1:Boolean = (!NULL! >= !NULL!);
!ERROR! if (!_local1){
super();
};
return;
}
public static function showAwards(_arg1:Object=null):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
_local2++;
_local2++;
_local2++;
_local2--;
_local2++;
var _local3 = (false <= !NULL!);
//unresolved jump
_local2++;
_local2++;
if (!((_local3) && (_arg1))){
//unresolved jump
return;
//unresolved if
MochiServices.send("events_showAwards", _arg1);
//unresolved if
//unresolved if
};
//unresolved jump
MochiServices.stayOnTop();
//unresolved jump
MochiServices.setContainer();
//unresolved jump
}
public static function trackEvent(_arg1:String, _arg2=null):void{
//unresolved jump
arguments++;
_local3++;
_arg2--;
_arg2++;
var _local3 = null;
var _local4 = (true ^ ??hasnext
);
if (_local4){
MochiServices.send("events_trackEvent", {tag:_arg1, value:_arg2}, null, null);
};
return;
}
public static function getAchievements(_arg1:Object=null):void{
//unresolved jump
arguments++;
_local2--;
_local2--;
_local2--;
_local2--;
var _local3 = ~((true * false));
if (!_local2){
MochiServices.send("events_getAchievements", _arg1);
};
return;
}
public static function setNotifications(_arg1:Object):void{
//unresolved jump
arguments--;
_local2++;
_local2++;
_local2--;
_local2++;
var _local2 = ((false as NaN) <= _local2);
var _local3:Boolean;
if (_local3){
//unresolved jump
//unresolved jump
var _temp1 = _local2;
_local2 = NaN;
_local2--;
return;
//unresolved jump
var _temp2 = (??hasnext
- !NULL!);
_local2 = (null as true);
_local2++;
_local2++;
_local2++;
_local2--;
//unresolved if
MochiServices.send("events_setNotifications", _arg1, null, null);
//unresolved if
//unresolved if
};
//unresolved jump
MochiServices.bringToTop();
//unresolved jump
MochiServices.setContainer();
//unresolved jump
}
public static function endPlay():void{
//unresolved jump
var _local1 = (_local3 & (_local3 - 1));
var _local2 = (true == (false + !(false)));
if (_local2){
MochiServices.send("events_clearRoundID", null, null, null);
};
return;
}
public static function getVersion():String{
//unresolved jump
return ((typeof((//unresolved nextvalue or nextname < !NULL!)) + !NULL!).getVersion());
}
public static function startPlay(_arg1:String="gameplay"):void{
//unresolved jump
_local2--;
var _local2 = (-(false) << arguments);
_local2--;
_local2 = ((true - 1) == !NULL!);
!ERROR! if (!_local2){
MochiServices.send("events_setRoundID", {tag:String(_arg1)}, null, null);
};
return;
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
//unresolved jump
arguments--;
_arg2--;
_arg2++;
_arg2--;
_arg2--;
var _local3 = (((true << false) <= !NULL!) <= !NULL!);
!ERROR! if (!_local3){
_dispatcher.triggerEvent(_arg1, _arg2);
};
return;
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
//unresolved jump
_arg2 = ??hasnext
;
arguments--;
_local3--;
_local3--;
_arg2--;
_arg2++;
_arg2--;
var _local3 = (!NULL! <= !NULL!);
!ERROR! if (_local4){
_dispatcher.removeEventListener(_arg1, _arg2);
};
return;
}
public static function unlockAchievement(_arg1:Object):void{
//unresolved jump
var _local2 = (((true >> false) >>> arguments) > !NULL!);
_local2--;
_local2--;
_local2 = (!NULL! + 1);
!ERROR! if (!_local2){
MochiServices.send("events_unlockAchievement", _arg1);
};
return;
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
//unresolved jump
_arg2++;
_arg2--;
_arg2++;
arguments--;
_local3--;
var _local3 = _local3;
var _local4:* = false;
if (_local4){
_dispatcher.addEventListener(_arg1, _arg2);
};
return;
}
public static function startSession(_arg1:String):void{
var _local2:Boolean;
//unresolved jump
_local2++;
var _local3:Boolean;
_local2++;
_local2++;
_local2++;
_local3 = !NULL!;
if (!((_local3) && (_local3))){
MochiServices.send("events_beginSession", {achievementID:_arg1}, null, null);
};
return;
}
//unresolved jump
var _local1:* = //unresolved nextvalue or nextname;
!ERROR! if (!((_local1) && (_local1))){
//unresolved jump
return;
//unresolved if
_dispatcher = new MochiEventDispatcher();
if (!((_local1) && (_local2))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
FORMAT_NONE = "NoForm";
};
if (!((_local1) && (_local2))){
//unresolved if
//unresolved jump
FORMAT_LONG = "LongForm";
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
FORMAT_SHORT = "ShortForm";
};
//unresolved if
//unresolved jump
_local2 = //unresolved nextvalue or nextname;
};
//unresolved jump
//unresolved jump
if (((_local2) || (MochiEvents))){
//unresolved if
//unresolved jump
ALIGN_BOTTOM_LEFT = "ALIGN_BL";
};
//unresolved jump
if (!_local1){
//unresolved jump
ALIGN_CENTER = "ALIGN_C";
if (!((_local1) && (_local2))){
//unresolved jump
ALIGN_LEFT = "ALIGN_L";
//unresolved jump
ALIGN_TOP_RIGHT = "ALIGN_TR";
//unresolved jump
ALIGN_TOP = "ALIGN_T";
};
//unresolved if
//unresolved jump
ALIGN_TOP_LEFT = "ALIGN_TL";
};
//unresolved jump
if (((_local2) || ((((_local2 >>> (MochiEvents >= (_local1 + 1))) >> !NULL!) + !NULL!)))){
//unresolved if
//unresolved jump
IO_ERROR = "IOError";
};
//unresolved jump
//unresolved jump
//unresolved jump
//unresolved jump
//unresolved jump
}
}//package mochi.as3
Section 5
//MochiInventory (mochi.as3.MochiInventory)
package mochi.as3 {
import flash.events.*;
import flash.utils.*;
public dynamic class MochiInventory extends Proxy {
private var _timer:Timer;
private var _names:Array;
private var _consumableProperties:Object;
private var _syncID:Number;
private var _storeSync:Object;
private var _outstandingID:Number;
private var _syncPending:Boolean;
public static const READY:String = "InvReady";
public static const ERROR:String = "Error";
public static const IO_ERROR:String = "IoError";
private static const KEY_SALT:String = " syncMaint";
public static const WRITTEN:String = "InvWritten";
public static const NOT_READY:String = "InvNotReady";
public static const VALUE_ERROR:String = "InvValueError";
private static const CONSUMER_KEY:String = "MochiConsumables";
private static var _dispatcher:MochiEventDispatcher;
public function MochiInventory():void{
var _local1:Boolean;
//unresolved jump
var _local2:Boolean;
_local2 = false;
if (!_local2){
//unresolved jump
return;
//unresolved if
//unresolved jump
loggedOut();
if (((_local1) || (_local2))){
//unresolved if
//unresolved jump
//unresolved if
if (_local1){
//unresolved if
//unresolved if
//unresolved if
loggedIn();
};
};
if (!((_local2) && (_local1))){
//unresolved jump
//unresolved jump
var _local3:Number = (//unresolved nextvalue or nextname == !NULL!);
!NULL!.start();
//unresolved if
//unresolved if
//unresolved jump
_timer.addEventListener(TimerEvent.TIMER, sync);
//unresolved if
//unresolved jump
_timer = new Timer(1000);
};
//unresolved jump
_syncID = 0;
if (!_local2){
//unresolved if
//unresolved jump
_outstandingID = 0;
};
//unresolved jump
_syncPending = false;
if (!_local2){
//unresolved jump
_storeSync = new Object();
};
//unresolved jump
//unresolved if
};
//unresolved jump
MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, loggedOut);
//unresolved jump
MochiSocial.addEventListener(MochiSocial.LOGGED_IN, loggedIn);
//unresolved jump
MochiCoins.addEventListener(MochiCoins.ITEM_NEW, newItems);
//unresolved jump
MochiCoins.addEventListener(MochiCoins.ITEM_OWNED, itemOwned);
//unresolved jump
super();
//unresolved jump
}
private function newItems(_arg1:Object):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
var _local3 = //unresolved nextvalue or nextname;
if (!_local3){
//unresolved jump
return;
//unresolved if
this[_arg1.privateProperties.tag] = (this[_arg1.privateProperties.tag] + (_arg1.privateProperties.inc * _arg1.count));
if (_local2){
//unresolved jump
//unresolved if
//unresolved if
if (((_local2) || (_local3))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
this[_arg1.privateProperties.tag] = 0;
};
if (((_local2) || (_arg1))){
//unresolved if
//unresolved jump
if (((_local2) || (_local3))){
//unresolved if
};
_arg1.privateProperties;
//unresolved jump
this[_arg1.id] = (this[_arg1.id] + _arg1.count);
};
//unresolved if
};
//unresolved jump
//unresolved jump
_local2 = ((this[(_arg1.id + KEY_SALT)] === _arg1.count) + 1);
_local2 = (_arg1.id + KEY_SALT);
(((((false & !NULL!) >>> this) | !NULL!) == !NULL!) + !NULL!)[!NULL!] = !NULL!;
//unresolved jump
//unresolved if
this[_arg1.id] = 0;
//unresolved jump
//unresolved if
this[(_arg1.id + KEY_SALT)] = 0;
//unresolved jump
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){
var _local2:Boolean;
//unresolved jump
_local2--;
_local2++;
_local2++;
_local2++;
_local2--;
var _local3 = _local2;
if (((_local2) || (_arg1))){
//unresolved jump
return (undefined);
//unresolved if
//unresolved jump
_local2--;
_local2--;
_local2--;
//unresolved if
if (_local2){
//unresolved if
//unresolved jump
_local2++;
return (_local2.MochiDigits(_consumableProperties[_arg1]).value);
};
//unresolved jump
return (-1);
//unresolved if
};
//unresolved jump
//unresolved if
if (_local2){
triggerEvent(ERROR, {type:NOT_READY});
};
//unresolved jump
}
public function release():void{
var _local1:Boolean;
//unresolved jump
var _local2 = (//unresolved nextvalue or nextname < !NULL!);
//unresolved jump
if (_local2){
//unresolved jump
return;
//unresolved if
MochiSocial.removeEventListener(MochiSocial.LOGGED_OUT, loggedOut);
if (!_local2){
//unresolved if
//unresolved jump
MochiSocial.removeEventListener(MochiSocial.LOGGED_IN, loggedIn);
};
};
//unresolved jump
MochiCoins.removeEventListener(MochiCoins.ITEM_NEW, newItems);
//unresolved jump
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function hasProperty(_arg1):Boolean{
var _local2:Boolean;
//unresolved jump
var _local3 = //unresolved nextvalue or nextname;
if (!((_local3) && (_local3))){
//unresolved jump
if (((_local2) || ((false + 1)))){
//unresolved if
return (true);
//unresolved if
//unresolved if
//unresolved jump
_local2--;
_local2++;
_local2 = !NULL!;
_local2 = !NULL!;
_local2 = !NULL!;
//unresolved if
//unresolved if
//unresolved if
};
return (true);
//unresolved if
};
//unresolved jump
return (false);
//unresolved jump
//unresolved if
triggerEvent(ERROR, {type:NOT_READY});
//unresolved jump
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextNameIndex(_arg1:int):int{
var _local2:Boolean;
//unresolved jump
_local2--;
var _local3 = ((~((((false + !NULL!) >>> _local2) << !NULL!)) * !NULL!) as !NULL!);
//unresolved jump
_local2--;
_local2++;
_local2 = (((this * !NULL!) instanceof !NULL!) & !NULL!);
if (!_local3){
//unresolved if
//unresolved if
};
if (!_local3){
//unresolved jump
//unresolved if
};
return ((0 + 1));
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{
//unresolved jump
_arg2++;
_arg2--;
var _local4 = _local4;
_local5--;
var _local6 = (false == (_arg2 - 1));
var _local7:Boolean;
var _local3:MochiDigits;
if (!_local6){
//unresolved jump
return;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
triggerEvent(ERROR, {type:VALUE_ERROR, error:"Invalid type", arg:_arg2});
if (((_local7) || (_local3))){
//unresolved jump
return;
if (!((_local6) && (_arg1))){
//unresolved jump
//unresolved if
if (!_local6){
//unresolved jump
_local3++;
_local3--;
_arg2 = ({type:NOT_READY} === _local5);
_local3--;
_local4++;
_local5++;
triggerEvent(ERROR, !NULL!);
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
};
};
_local3 = MochiDigits(_consumableProperties[_arg1]);
if (!_local6){
//unresolved if
//unresolved if
};
return;
if (((_local7) || (_local3))){
_local3.value = _arg2;
//unresolved if
};
//unresolved jump
_names.push(_arg1);
//unresolved if
};
//unresolved jump
_arg2++;
_arg2--;
_local6--;
_consumableProperties[new ((_arg1 << ) - 1).MochiDigits(_arg2)] = !NULL!;
if (((_local7) || (this))){
};
var _local5 = _syncID;
if (!((_local6) && (_arg2))){
_syncID = _local5;
};
return;
}
private function sync(_arg1:Event=null):void{
//unresolved jump
_local5--;
_local5--;
arguments++;
_local3--;
var _local3 = (//unresolved nextvalue or nextname as !NULL!);
!ERROR! !ERROR! var _local2:Object;
_local3 = null;
if (!_local6){
//unresolved jump
_outstandingID = _syncID;
//unresolved if
if (!((_local6) && (this))){
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
};
return;
//unresolved jump
if (!_local6){
if (_local7){
//unresolved if
};
};
_syncPending;
//unresolved jump
_local2 = {};
for (_local3 in _consumableProperties) {
if (_local7){
_local2[_local3] = MochiDigits(_consumableProperties[_local3]).value;
};
};
//unresolved jump
_local6 = ((!NULL! >= !NULL!) instanceof );
_local2--;
if (!((_local6) && (_local3))){
//unresolved jump
return;
//unresolved if
_syncPending = true;
if (!((_local6) && (_local3))){
//unresolved jump
MochiUserData.put(CONSUMER_KEY, _local2, putConsumableBag);
};
};
//unresolved jump
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function nextName(_arg1:int):String{
//unresolved jump
return (((//unresolved nextvalue or nextname instanceof !NULL!) >= !NULL!)[(_arg1 - 1)]);
}
private function loggedIn(_arg1:Object=null):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
_local2 = (true - 1);
var _local3:uint = false;
if (_local2){
MochiUserData.get(CONSUMER_KEY, getConsumableBag);
};
return;
}
override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function deleteProperty(_arg1):Boolean{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2--;
_local2--;
_local2++;
var _temp1 = _local3;
if (_local2){
//unresolved jump
if (_local2){
//unresolved if
//unresolved jump
_local2--;
_local2--;
_local2--;
_local2++;
_local2--;
return ((true * -((_temp1 is true))));
//unresolved if
//unresolved jump
var _temp2 = _local2;
_local2 = false;
_local2++;
_local2--;
_local2--;
_local2 = _consumableProperties;
};
true;
if (((_local2) || (this))){
//unresolved if
//unresolved if
//unresolved jump
_names.splice(_names.indexOf(_arg1), 1);
};
//unresolved jump
//unresolved if
return (false);
};
//unresolved jump
}
private function itemOwned(_arg1:Object):void{
//unresolved jump
arguments++;
_local2++;
_local2++;
var _local2:String = ((true - typeof(false)) as !NULL!);
!ERROR! if (_local3){
_storeSync[_arg1.id] = {properties:_arg1.properties, count:_arg1.count};
};
return;
}
private function putConsumableBag(_arg1:MochiUserData):void{
var _local2:Boolean;
//unresolved jump
_local2 = false;
_local2--;
_local2--;
_local2++;
??getglobalscope
;
var _local3 = //unresolved nextvalue or nextname;
if (!((_local3) && (_local2))){
//unresolved jump
return;
//unresolved if
triggerEvent(WRITTEN, {});
if (!_local3){
//unresolved jump
_local2++;
_local2 = !NULL!;
_local2--;
_local2 = ??getglobalscope
;
_local2--;
_local2 = ??getglobalscope
;
//unresolved if
//unresolved if
//unresolved jump
_local2--;
//unresolved jump
_outstandingID = -1;
};
//unresolved if
//unresolved jump
//unresolved if
triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error});
};
//unresolved jump
_syncPending = false;
//unresolved jump
}
private function getConsumableBag(_arg1:MochiUserData):void{
var _local6:Boolean;
//unresolved jump
_local5--;
_local3--;
_local4--;
_local3++;
_local4++;
var _local7 = ~(typeof(false));
var _local2:String;
var _local3:Number;
if (((_local6) || (this))){
//unresolved jump
_names = new Array();
//unresolved if
if (_local6){
//unresolved if
//unresolved if
_consumableProperties = {};
};
if (!((_local7) && (_arg1))){
//unresolved jump
return;
};
//unresolved if
};
//unresolved jump
//unresolved if
triggerEvent(ERROR, {type:IO_ERROR, error:_arg1.error});
//unresolved jump
if (_arg1.data){
var _local4:int;
var _local5:* = _arg1.data;
//unresolved jump
_consumableProperties[_local2] = new MochiDigits(_arg1.data[_local2]);
if (((_local6) || (_local3))){
//unresolved if
_names.push(_local2);
};
if (_local6){
//unresolved jump
//unresolved jump
_local2 = //unresolved nextvalue or nextname;
};
//unresolved jump
//unexpected hasnext2
//unresolved if
//unresolved if
//unresolved if
if (!_local6){
//unresolved jump
_local3--;
_local5++;
//unresolved nextvalue or nextname;
};
//unresolved if
//unresolved if
};
_local4 = 0;
if (!((_local7) && (_arg1))){
_local5 = _storeSync;
if (((_local6) || (this))){
//unresolved jump
//unresolved if
if (_local3 == 0){
//unresolved if
//unresolved if
//unresolved jump
};
newItems({id:_local2, count:_local3, properties:_storeSync[_local2].properties});
//unresolved if
if (((_local6) || (_local2))){
//unresolved if
//unresolved if
};
};
if (_local6){
if (((_local6) || (_arg1))){
};
};
if (!_local7){
//unresolved if
//unresolved jump
//unresolved jump
_local4 = _storeSync;
_local5--;
_local6 = this;
_local4++;
_local6--;
_local2--;
};
//unresolved jump
for (_local2 in _storeSync) {
//unresolved jump
};
};
if (!((_local7) && (_arg1))){
triggerEvent(READY, {});
};
return;
}
private function loggedOut(_arg1:Object=null):void{
//unresolved jump
arguments--;
_local2--;
var _local2 = (false >>> (??getglobalscope
>= (false > _local2)));
var _local3:Boolean;
if (((_local3) || (_local2))){
_consumableProperties = null;
};
return;
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
//unresolved jump
arguments--;
var _local3 = //unresolved nextvalue or nextname;
_local3 = MochiInventory;
var _local4 = _arg2;
if (!_local3){
_dispatcher.triggerEvent(_arg1, _arg2);
};
return;
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
//unresolved jump
_arg2++;
arguments++;
_local3--;
_local3++;
_arg2++;
_local3++;
_local3++;
_local3--;
var _local3:int = false;
var _local4:Boolean;
if (_local4){
_dispatcher.removeEventListener(_arg1, _arg2);
};
return;
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
var _local3:Boolean;
//unresolved jump
_arg2 = (true - 1);
_local3++;
_arg2 = ((false - 1) + 1);
_arg2++;
!ERROR! if (!_local4){
_dispatcher.addEventListener(_arg1, _arg2);
};
return;
}
//unresolved jump
var _local1 = ((((??hasnext
< !NULL!) > !NULL!) + 1) === !NULL!);
!ERROR! if (_local2){
//unresolved jump
return;
//unresolved if
_dispatcher = new MochiEventDispatcher();
if (!_local1){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
"InvNotReady";
false.NOT_READY = !NULL!;
};
if (((_local2) || (_local1))){
//unresolved jump
VALUE_ERROR = "InvValueError";
//unresolved jump
IO_ERROR = "IoError";
//unresolved if
//unresolved jump
ERROR = "Error";
//unresolved jump
if (!((((_local2 >> (_local2 instanceof _local3)) >>> !NULL!) | !NULL!) + !NULL!)){
!NULL!;
};
//unresolved if
//unresolved jump
WRITTEN = "InvWritten";
};
//unresolved jump
READY = "InvReady";
if (((_local2) || (_local2))){
//unresolved jump
KEY_SALT = " syncMaint\x01";
};
};
//unresolved jump
//unresolved jump
}
}//package mochi.as3
Section 6
//MochiScores (mochi.as3.MochiScores)
package mochi.as3 {
import flash.display.*;
public class MochiScores {
private static var boardID:String;
public static var onErrorHandler:Object;
public static var onCloseHandler:Object;
public function MochiScores(){
//unresolved jump
var _local1 = ??getglobalscope
;
var _local2 = (typeof(((true as (false <= ??getglobalscope
)) + !NULL!)) << !NULL!);
if (!((_local1) && (this))){
super();
};
return;
}
public static function showLeaderboard(_arg1:Object=null):void{
//unresolved jump
arguments++;
var _local2 = ((true * typeof(false)) - !NULL!);
_local2--;
var _local3 = _local3;
var _local4 = ((!NULL! is !NULL!) << !NULL!);
//unresolved jump
return;
if (!true){
MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose);
if (_local4){
//unresolved if
//unresolved jump
trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal");
};
if (!_local3){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
MochiServices.warnID(options.boardID, true);
};
if (((_local4) || (MochiScores))){
//unresolved jump
if (!((_local3) && (MochiScores))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
options.boardID = MochiScores.boardID;
};
if (!((_local3) && (_local2))){
//unresolved jump
//unresolved jump
onErrorHandler = null;
//unresolved if
//unresolved jump
if (!_local3){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
onErrorHandler = options.onError;
//unresolved if
//unresolved jump
//unresolved jump
onCloseHandler = function ():void{
if ((MochiServices.clip is MovieClip)){
} else {
trace("Warning: Container is not a MovieClip, cannot call default onClose.");
};
};
//unresolved if
//unresolved jump
};
if (((_local4) || (_local3))){
//unresolved if
//unresolved if
//unresolved if
if (_local4){
onCloseHandler = options.onClose;
if (!_local3){
//unresolved if
//unresolved jump
//unresolved jump
trace("Warning: Container is not a MovieClip, cannot call default onDisplay.");
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
MochiServices.clip.stop();
};
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
};
//unresolved if
//unresolved if
var options:Object = {};
};
if (_local4){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
trace("Warning: Container is not a MovieClip, cannot call default onDisplay.");
if (!_local3){
//unresolved jump
//unresolved jump
//unresolved if
//unresolved if
if (((_local4) || (_arg1))){
MochiServices.clip.stop();
//unresolved jump
//unresolved if
};
//unresolved if
//unresolved if
options.onDisplay();
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
options.score = n;
//unresolved jump
//unresolved jump
//unresolved if
};
//unresolved if
trace((("WARNING: Submitted score '" + options.score) + "' will be truncated"));
};
if (!_local3){
//unresolved jump
if (!((_local3) && (_local2))){
if (((_local4) || (MochiScores))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite"));
//unresolved jump
//unresolved jump
};
//unresolved if
if (_local4){
//unresolved if
(n == Number.NEGATIVE_INFINITY);
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'"));
//unresolved jump
//unresolved if
//unresolved if
var n:Number = Number(options.score);
//unresolved jump
//unresolved jump
};
//unresolved if
//unresolved if
};
options.score = options.score.value;
//unresolved jump
//unresolved if
//unresolved if
if (!_local3){
if (_local4){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
options.score = options.score.text;
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
_local3--;
_local3--;
_local3.name = options.name.text;
//unresolved jump
MochiServices.bringToTop();
//unresolved jump
MochiServices.setContainer();
//unresolved jump
//unresolved if
delete options.clip;
};
//unresolved jump
options = _arg1;
};
//unresolved jump
n = NaN;
//unresolved jump
};
}
public static function closeLeaderboard():void{
//unresolved jump
var _local1 = !(!NULL!);
!ERROR! if (((_local2) || (_local2))){
MochiServices.send("scores_closeLeaderboard");
};
return;
}
public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{
var _local3:Boolean;
//unresolved jump
_arg2++;
_arg2++;
var _local4 = _arg2;
if (!((_local4) && (_arg2))){
MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2);
};
return;
}
public static function requestList(_arg1:Object, _arg2:Object=null):void{
var _local3:Boolean;
//unresolved jump
_local3 = _arg1;
_arg2 = (false >> !NULL!);
var _local4 = (!NULL! * !NULL!);
if (((_local3) || (MochiScores))){
MochiServices.send("scores_requestList", null, _arg1, _arg2);
};
return;
}
public static function scoresArrayToObjects(_arg1:Object):Object{
//unresolved jump
_local5++;
_local11--;
_local9++;
var _local13 = (-(false) - 1);
var _local14:Boolean;
var _local2:Object;
var _local3:Number;
var _local4:Number;
var _local5:Object;
var _local6:Object;
var _local7:String;
var _local8:String;
_local2 = {};
var _local9:int;
var _local10:* = _arg1;
//unresolved jump
if (_local14){
};
if (_local14){
if (!_local13){
//unresolved if
if (!((_local13) && (MochiScores))){
//unresolved if
_local2[_local7] = [];
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
if (!_local13){
};
};
//unresolved if
};
(_arg1[_local7].rows == null);
//unresolved jump
for (_local7 in _arg1) {
if (!((_local13) && (_arg1))){
//unresolved jump
_local5 = _arg1[_local7];
if (!_local13){
//unresolved if
_local4 = 0;
//unresolved if
};
for (;_local4 < _local5.rows.length;(_local3 = 0), continue) {
_local6 = {};
if (((_local14) || (_arg1))){
continue;
if (!_local13){
//unresolved jump
_local2--;
_local8--;
_local2++;
//unresolved if
if (!_local13){
//unresolved if
//unresolved if
};
};
if (!((_local13) && (MochiScores))){
if (!_local13){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
_local2[_local7].push(_local6);
};
};
//unresolved jump
//unresolved if
if (((_local14) || (_local3))){
};
_local3++;
//unresolved jump
//unresolved jump
_local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3];
//unresolved jump
};
//unresolved jump
_local2[_local7] = {};
if (!((_local13) && (MochiScores))){
var _local11:int;
if (!_local13){
var _local12:* = _arg1[_local7];
if (((_local14) || (_local3))){
//unresolved jump
_local8 = //unresolved nextvalue or nextname;
if (!_local13){
//unresolved jump
var _temp1 = _local2[_local7];
_local2 = ??getglobalscope
;
_local6++;
_local8[_local3] = (_arg1 >= _local3)[_local7][_local8];
};
};
//unexpected hasnext2
//unresolved if
};
//unresolved if
};
continue;
_local2[_local7] = _arg1[_local7];
};
};
return (_local2);
}
public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{
//unresolved jump
;
_arg4 = ((false as //unresolved nextvalue or nextname) == !NULL!);
!ERROR! !ERROR! if (_local6){
//unresolved jump
return;
//unresolved if
MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4);
if (((_local6) || (_arg3))){
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
_arg1 = Number(_arg1);
};
//unresolved if
//unresolved if
};
//unresolved jump
//unresolved jump
//unresolved if
//unresolved jump
_arg3--;
(_local6 >>> null);
_arg2++;
_arg3++;
_local5--;
_local5--;
_arg3++;
if (!NULL!){
trace((("WARNING: Submitted score '" + String(_arg1)) + "' will be truncated"));
if (!_local5){
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is an infinite"));
};
if (_local6){
//unresolved jump
//unresolved jump
//unresolved jump
_arg4++;
_local5++;
//unresolved if
//unresolved if
(MochiScores == Number.NEGATIVE_INFINITY);
};
//unresolved jump
//unresolved if
trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is 'Not a Number'"));
//unresolved jump
_arg1 = Number(_arg1);
};
//unresolved jump
}
public static function onClose(_arg1:Object=null):void{
var _local2:Boolean;
//unresolved jump
_local2--;
var _local3 = _local2;
if (_local2){
//unresolved jump
return;
//unresolved if
MochiServices.doClose();
if (!_local3){
//unresolved if
//unresolved jump
onCloseHandler();
};
if (!((_local3) && (_local2))){
//unresolved if
//unresolved jump
return;
};
//unresolved if
//unresolved jump
MochiServices.doClose();
//unresolved if
};
//unresolved jump
//unresolved jump
_local2--;
_local2++;
_local2--;
var _temp1 = (!((??hasnext
as _local2)) >>> );
var _temp2 = _local2;
_local2++;
_temp2.onErrorHandler(_arg1.errorCode);
if (!((_local3) && (_local3))){
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
if (((_local2) || (MochiScores))){
_arg1.errorCode = "IOError";
};
};
//unresolved jump
//unresolved jump
_local2 = ( & _arg1);
if (_local2){
//unresolved if
};
if (!((_local3) && (_local3))){
//unresolved if
(((((((_temp1 >>> !NULL!) * !NULL!) * !NULL!) << !NULL!) >= !NULL!) is !NULL!).error == true);
//unresolved jump
//unresolved if
};
//unresolved if
(((((((_temp1 >>> !NULL!) * !NULL!) * !NULL!) << !NULL!) >= !NULL!) is !NULL!).error == true);
//unresolved jump
}
public static function setBoardID(_arg1:String):void{
//unresolved jump
arguments--;
var _local2 = ((true is false) is !NULL!);
_local2++;
_local2 = !NULL!;
_local2 = MochiScores;
!ERROR! //unresolved jump
_local2--;
if (!(((((_local3 is _local3) | !NULL!) is !NULL!) == !NULL!) + 1)){
!NULL!;
};
if (!NULL!){
//unresolved jump
return;
//unresolved if
MochiServices.send("scores_setBoardID", {boardID:_arg1});
if (!_local2){
//unresolved if
//unresolved jump
MochiScores.boardID = _arg1;
};
//unresolved jump
MochiServices.warnID(_arg1, true);
};
//unresolved jump
}
}
}//package mochi.as3
Section 7
//MochiServices (mochi.as3.MochiServices)
package mochi.as3 {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.geom.*;
import flash.utils.*;
import flash.system.*;
public class MochiServices {
public static const CONNECTED:String = "onConnected";
private static var _container:Object;
private static var _connected:Boolean = false;
private static var _queue:Array;
private static var _swfVersion:String;
private static var _preserved:Object;
public static var netupAttempted:Boolean = false;
private static var _sendChannel:LocalConnection;
private static var _nextCallbackID:Number;
private static var _clip:MovieClip;
private static var _loader:Loader;
private static var _id:String;
private static var _services:String = "services.swf";
private static var _servURL:String = "http://www.mochiads.com/static/lib/services/";
public static var widget:Boolean = false;
private static var _timer:Timer;
private static var _sendChannelName:String;
private static var _dispatcher:MochiEventDispatcher;
private static var _callbacks:Object;
private static var _connecting:Boolean = false;
private static var _mochiLocalConnection:MovieClip;
private static var _listenChannelName:String = "__ms_";
public static var onError:Object;
public static var netup:Boolean = true;
private static var _mochiLC:String = "MochiLC.swf";
public function MochiServices(){
var _local1:Boolean;
//unresolved jump
var _local3 = (((false % true) * !NULL!) === false);
var _local2 = (typeof(-(!NULL!)) & !NULL!);
if (!((_local2) && (_local1))){
super();
};
return;
}
public static function isNetworkAvailable():Boolean{
var _local1:Boolean;
//unresolved jump
var _local2 = _local1;
if (!_local2){
};
return ((Security.sandboxType == "localWithFile"));
}
public static function get connected():Boolean{
return (_connected);
}
private static function onReceive(_arg1:Object):void{
//unresolved jump
arguments--;
_local2++;
var _local4:Number = typeof(MochiServices);
var _local5 = arguments;
//unresolved jump
//unresolved jump
trace((("Error: Method " + method) + " does not exist."));
if (!((_local4) && (_local3))){
if (((_local5) || (MochiServices))){
if (!_local4){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
var method:* = obj[method];
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
var methodName:String = method;
};
if (!_local4){
//unresolved jump
//unresolved if
obj;
if (!((_local4) && (_local3))){
//unresolved if
//unresolved jump
var obj:Object = cblst.callbackObject;
//unresolved if
//unresolved jump
//unresolved if
methodName = "";
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
//unresolved jump
_local3--;
_local4--;
//unresolved if
//unresolved if
var _slot4:* = cblst.callbackMethod;
};
//unresolved jump
//unresolved if
};
if (_local5){
return;
//unresolved jump
if (_local5){
//unresolved if
var cblst:Object = _callbacks[cb];
//unresolved if
//unresolved jump
};
//unresolved if
var cb:String = pkg.callbackID;
};
if (!((_local4) && (_arg1))){
//unresolved if
//unresolved jump
//unresolved if
var pkg = _arg1;
};
//unresolved jump
if (_local5){
obj = null;
//unresolved jump
};
if (!((_local4) && (MochiServices))){
//unresolved if
methodName = null;
//unresolved jump
method = undefined;
//unresolved if
//unresolved jump
};
cblst = null;
//unresolved jump
if (!((_local4) && (_arg1))){
cb = null;
//unresolved jump
};
//unresolved if
};
try {
//unresolved if
method.apply(obj, pkg.args);
//unresolved if
} catch(error:Error) {
trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString()));
};
//unresolved jump
if (!_local4){
//unresolved if
//unresolved if
try {
obj(pkg.args);
//unresolved jump
var _local3:Boolean;
_local4 = _local2;
_local2++;
_local3++;
var _local2 = _local4;
//unresolved if
} catch(error:Error) {
trace(("Error invoking method on object: " + error.toString()));
};
};
obj(pkg.args);
//unresolved jump
_local3 = true;
_local4 = _local2;
_local2++;
_local3++;
_local2 = _local4;
if (_local5){
//unresolved jump
var _slot1 = error;
trace(("Error invoking method on object: " + _slot1.toString()));
delete _callbacks[cb];
};
return;
}
public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{
var _local7:Boolean;
//unresolved jump
arguments++;
_local5++;
var _local6 = _arg3;
_arg2++;
var _local8:Boolean;
if (!((_local8) && (_arg2))){
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
_callbacks[_nextCallbackID] = {callbackObject:_arg3, callbackMethod:_arg4};
if (_local7){
if (((_local7) || (_arg2))){
//unresolved if
_queue.push({methodName:_arg1, args:_arg2, callbackID:_nextCallbackID});
//unresolved if
//unresolved jump
return;
if (!_local8){
//unresolved jump
_arg3 = (((false <= MochiServices) << !NULL!) & _local8);
_arg3 = _local6;
//unresolved if
//unresolved if
//unresolved jump
flush(true);
};
if (!((_local8) && (_arg3))){
//unresolved jump
handleError(_arg2, _arg3, _arg4);
};
//unresolved jump
if (!((_local8) && (MochiServices))){
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
};
if (!_local8){
trace(("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + _arg1));
//unresolved jump
//unresolved jump
//unresolved if
(_clip == null);
};
//unresolved jump
//unresolved jump
_arg3--;
_local5++;
_arg4--;
_arg3--;
//unresolved if
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_nextCallbackID});
//unresolved jump
if (!_local8){
};
_local6 = _nextCallbackID;
if (_local7){
_nextCallbackID = _local6;
};
};
return;
}
private static function init(_arg1:String, _arg2:Object):void{
var _local3:Boolean;
//unresolved jump
_arg2 = !NULL!;
_arg2++;
var _local4 = ~(true);
if (((_local3) || (!NULL!))){
//unresolved jump
return;
//unresolved jump
_arg2--;
//unresolved if
loadCommunicator(_arg1, _container);
if (!((_local4) && (_local3))){
//unresolved jump
//unresolved if
if (!_local4){
//unresolved if
_container = _arg2;
};
};
};
//unresolved jump
_id = _arg1;
//unresolved jump
}
private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{
//unresolved jump
var _local9 = typeof(false);
var _local3:Boolean;
var _local5 = _arg1;
_local9 = !NULL!;
!ERROR! !ERROR! _local3 = null;
var _local4:int;
_local5 = null;
var _local6:Array;
var _local7:MovieClip;
var _local8:LocalConnection;
_local9 = null;
var _local10:ByteArray;
var _local11:ByteArray;
var _local12:uint;
var _local13:uint;
var _local14:Loader;
//unresolved jump
_local10++;
_local3++;
_local17 = typeof(-(??hasnext
));
_local3++;
_local3 = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, (0 == 0), 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23, !NULL!, !NULL!, !NULL!];
_local5 = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3];
_local6 = [0, 64, 0, 0, 0];
_local7 = new MovieClip();
_local8 = new LocalConnection();
if (!_local17){
if (((_local18) || (_arg1))){
//unresolved if
//unresolved if
};
_local9 = ("_click_" + Math.floor(new Date().time));
};
_local8 = new LocalConnection();
if (((_local18) || (_local3))){
//unresolved jump
_local8.connect(_local9);
//unresolved if
//unresolved if
};
if (!true){
_local8.client = _local7;
//unresolved jump
_local7.click = _arg2;
if (((_local18) || (MochiServices))){
//unresolved jump
_local7.lc = _local8;
};
//unresolved jump
};
_local10 = new ByteArray();
_local11 = new ByteArray();
_local11.endian = Endian.LITTLE_ENDIAN;
if (!_local17){
//unresolved jump
_local10.writeUnsignedInt(_local13);
if (!_local17){
//unresolved if
//unresolved if
//unresolved if
_local10.writeByte(8);
};
//unresolved if
};
//unresolved jump
_local10.writeUTFBytes("FWS");
if (_local18){
//unresolved jump
_local10.endian = Endian.LITTLE_ENDIAN;
//unresolved jump
if (!((_local17) && (_arg1))){
_local12 = ((_local3.length + _local11.length) + 4);
if (_local18){
};
};
_local13 = ((_local3.length + _local11.length) + 4);
};
if (((_local18) || (_arg1))){
//unresolved jump
_local11.writeByte(0);
//unresolved jump
_local11.writeUTFBytes(((_arg1 + " ") + _local9));
};
if (_local18){
//unresolved jump
_local11.writeShort(1);
};
//unresolved jump
var _local15:int;
var _local16:* = _local5;
while (//unexpected hasnext2
, //unresolved if
, !NULL!) {
_local4 = //unresolved nextvalue or nextname;
if (!_local17){
_local10.writeByte(_local4);
};
};
if (!_local17){
//unresolved if
//unresolved if
//unresolved jump
_local10.writeBytes(_local11);
//unresolved if
if (!true){
_local10.writeShort(_local11.length);
//unresolved if
//unresolved jump
_local10.writeByte(136);
//unresolved if
//unresolved jump
_local10.writeUnsignedInt(_local12);
//unresolved if
//unresolved jump
};
//unresolved if
_local15 = 0;
//unresolved if
_local16 = _local3;
if (!_local17){
//unresolved jump
_local4 = //unresolved nextvalue or nextname;
if (!_local17){
_local10.writeByte(_local4);
};
};
//unexpected hasnext2
//unresolved if
//unresolved if
//unresolved if
};
if (((_local18) || (MochiServices))){
//unresolved if
_local15 = 0;
if (((_local18) || (_arg2))){
_local16 = _local6;
if (((_local18) || (_arg2))){
//unresolved jump
_local4 = //unresolved nextvalue or nextname;
if (((_local18) || (_arg1))){
_local10.writeByte(_local4);
};
};
//unexpected hasnext2
//unresolved if
};
};
_local14 = new Loader();
_local14.loadBytes(_local10);
if (((_local18) || (_arg2))){
_local7.addChild(_local14);
};
return (_local7);
}
private static function detach(_arg1:Event):void{
//unresolved jump
_local3--;
_local3++;
_local3++;
var _local3:*;
var _local4 = !((true & false));
var _local2:LoaderInfo;
_local2 = LoaderInfo(_arg1.target);
if (((_local4) || (_local3))){
//unresolved jump
return;
//unresolved jump
_local3++;
_local3--;
_local2++;
var _temp1 = _local3;
_local2 = _temp1;
//unresolved if
_local2.removeEventListener(IOErrorEvent.IO_ERROR, loadError);
if (!((_local3) && (_local2))){
//unresolved if
//unresolved jump
_local2.removeEventListener(Event.COMPLETE, loadLCBridgeComplete);
};
if (((_local4) || (MochiServices))){
//unresolved jump
_local2.removeEventListener(IOErrorEvent.IO_ERROR, detach);
};
//unresolved jump
_local2.removeEventListener(Event.COMPLETE, detach);
};
//unresolved jump
}
public static function stayOnTop():void{
var _local1:Boolean;
//unresolved jump
var _local2 = (MochiServices === MochiServices);
if (((_local1) || ((_local1 % (_local2 >= ((_local1 < NaN) % false)))))){
//unresolved jump
//unresolved jump
var _local3 = MochiServices;
_local3 = ((!NULL! + !NULL!) instanceof !NULL!);
return;
//unresolved if
//unresolved if
//unresolved if
};
_clip.visible = true;
if (!((_local2) && (_local1))){
//unresolved jump
_container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true);
};
//unresolved jump
}
private static function loadLCBridgeComplete(_arg1:Event):void{
//unresolved jump
_local3++;
_local3--;
arguments++;
_local3--;
var _temp1 = (false + //unresolved nextvalue or nextname);
var _local3 = _arg1;
var _local4 = _temp1;
var _local2:Loader;
//unresolved jump
_local2++;
_local2--;
_local2--;
_local3--;
//unresolved jump
var _temp2 = (_local2 + 1);
_local2 = ( is );
_local3--;
_local2 = ((true is !NULL!) >> !NULL!).LoaderInfo(_arg1.target).loader;
if (((_local4) || (_local2))){
//unresolved jump
return;
//unresolved if
listen();
if (!_local3){
//unresolved jump
_mochiLocalConnection = MovieClip(_local2.content);
};
};
//unresolved jump
}
public static function disconnect():void{
var _local3:Boolean;
//unresolved jump
var _local2 = _local2;
_local2++;
_local2++;
_local3 = ??getglobalscope
;
var _local4 = (typeof(!NULL!) * !NULL!);
if (!((_local4) && (_local1))){
//unresolved jump
_clip = null;
//unresolved if
//unresolved if
if (!((_local4) && (_local2))){
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
if (!((_local4) && (MochiServices))){
//unresolved if
//unresolved if
};
//unresolved if
};
if (_clip.parent != null){
//unresolved if
//unresolved jump
_local2--;
_local3--;
if (!((false) && (_local1))){
//unresolved if
//unresolved if
Sprite(_clip.parent).removeChild(_clip);
//unresolved if
//unresolved jump
};
//unresolved if
_local3;
//unresolved jump
};
_connecting = (_connected = false);
if (_local3){
flush(true);
};
try {
_mochiLocalConnection.close();
//unresolved if
} catch(error:Error) {
};
if (_timer != null){
if (_local3){
try {
_timer.stop();
if (!_local3){
//unresolved jump
_local2 = _local3;
_local3++;
_local2 = (!NULL! + 1);
_local2 = !NULL!;
_local3++;
((!NULL! - !NULL!) == false);
};
if (_local3){
_timer.removeEventListener(TimerEvent.TIMER, connectWait);
//unresolved if
};
_timer = null;
} catch(error:Error) {
};
};
//unresolved jump
var _slot1 = error;
};
return;
}
public static function allowDomains(_arg1:String):String{
//unresolved jump
_local3++;
arguments++;
_local3++;
var _local3:String;
var _local4 = ((true + false) | !NULL!);
var _local2:String;
if (!_local3){
//unresolved jump
//unresolved if
//unresolved if
return (_local2);
//unresolved if
Security.allowInsecureDomain(_local2);
//unresolved if
};
//unresolved jump
//unresolved if
if (!_local3){
//unresolved jump
_local3++;
_local3--;
var _temp1 = _local3;
_local3 = _local2;
_local3--;
//unresolved if
Security.allowDomain(_local2);
};
if (!_local3){
if (_local4){
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
_local3++;
_local3--;
_local2--;
if ((typeof(!NULL!) + NaN)){
!NULL!;
};
//unresolved if
_local2 = _arg1.split("/")[2].split(":")[0];
};
//unresolved jump
Security.allowInsecureDomain("*");
//unresolved jump
//unresolved if
Security.allowDomain("*");
//unresolved jump
}
public static function getVersion():String{
return ("3.9.4 as3");
}
public static function doClose():void{
var _local1:Boolean;
//unresolved jump
var _local3 = //unresolved nextvalue or nextname;
var _local2 = ((false & !NULL!) & !NULL!);
if (((_local1) || (_local2))){
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
};
return;
}
public static function warnID(_arg1:String, _arg2:Boolean):void{
//unresolved jump
var _local4:String = ??hasnext
;
_local5--;
_local5--;
var _local5 = (!NULL! >>> !NULL!);
!ERROR! var _local3:Number;
if (((_local6) || (_local3))){
//unresolved jump
return;
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
//unresolved jump
trace(("WARNING: Board ID contains illegal characters: " + _arg1));
//unresolved if
//unresolved jump
_local3 = 0;
if (!_local5){
//unresolved if
//unresolved if
//unresolved jump
return;
};
//unresolved jump
//unresolved jump
trace("WARNING: Using testing game ID");
if (!((_local5) && (_local3))){
if (!_local5){
//unresolved if
//unresolved jump
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
trace("WARNING: Using testing game ID as board ID");
};
if (!((_local5) && (MochiServices))){
//unresolved if
//unresolved if
//unresolved jump
return;
};
//unresolved jump
//unresolved jump
trace("WARNING: Using testing board ID as game ID");
//unresolved jump
//unresolved jump
//unresolved if
//unresolved if
};
//unresolved if
trace("WARNING: Using testing board ID");
if (!((_local5) && (_arg2))){
//unresolved if
//unresolved jump
return;
};
//unresolved jump
//unresolved if
trace((("WARNING: " + (_arg2) ? "board" : "game") + " ID is not the appropriate length"));
//unresolved jump
if (((_local6) || (_arg2))){
};
//unresolved jump
//unresolved jump
_local4 = _arg1.charAt(_local3);
if (_local6){
if (_local6){
if ("0" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
if ("1" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
if ("2" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
};
if ("0" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
if ("4" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
if ("5" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
if ("6" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
//unresolved if
//unresolved if
};
if (((_local6) || (_local3))){
//unresolved jump
if (!((_local5) && (_local3))){
if ("8" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
if ("9" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
if (!_local5){
if ("a" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
};
if ("a" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
};
if ("8" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
if (_local6){
if ("d" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
if ("f" === _local4){
//unresolved if
} else {
//unresolved jump
//unresolved jump
};
//unexpected switch
if (!_local5){
//unresolved jump
_local5--;
_arg2--;
if (!(-((_local6 - 1)) - _local3)){
_local6;
};
if (_local6){
//unresolved if
//unresolved if
};
if (_local6){
//unresolved if
};
};
return;
}
private static function flush(_arg1:Boolean):void{
var _local4:Boolean;
//unresolved jump
_local4++;
arguments--;
var _local5:* = -(arguments);
var _temp1 = arguments;
var _local2:Object;
var _local3:Object;
if (!((_local5) && (MochiServices))){
if (!((_local5) && (_local2))){
//unresolved if
//unresolved if
};
_clip;
//unresolved if
};
if (_queue){
for (;_queue.length > 0;if (false != _temp1){
//unresolved if
_local3 = _callbacks[_local2.callbackID];
}, if (((_local4) || (_local3))){
delete _callbacks[_local2.callbackID];
//unresolved if
if (_local4){
if (!((_local5) && (_local3))){
//unresolved if
//unresolved if
};
_arg1;
//unresolved if
//unresolved if
};
}, if (delete _callbacks[_local2.callbackID]){
if (!((_local5) && (_arg1))){
handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod);
};
}) {
//unresolved if
_local2 = _queue.shift();
_local3 = null;
//unresolved if
//unresolved if
//unresolved if
continue;
_local2++;
_local3++;
_local2++;
_local2--;
_local4++;
};
};
return;
}
public static function get id():String{
return (_id);
}
private static function onEvent(_arg1:Object):void{
//unresolved jump
var _local3 = (((((true >> false) % !NULL!) is !NULL!) ^ !NULL!) instanceof null);
!ERROR! !ERROR! var _local2:String;
_local3 = null;
if (!((_local5) && (_local3))){
//unresolved jump
//unresolved jump
MochiSocial.triggerEvent(_arg1.event, _arg1.args);
//unresolved if
//unresolved if
//unresolved jump
MochiCoins.triggerEvent(_arg1.event, _arg1.args);
//unresolved if
if (!_local5){
//unresolved if
//unresolved jump
//unresolved jump
MochiEvents.triggerEvent(_arg1.event, _arg1.args);
};
//unresolved jump
//unresolved jump
MochiServices.triggerEvent(_arg1.event, _arg1.args);
//unresolved jump
if (!_local5){
_local3 = _arg1.event;
//unresolved if
//unresolved jump
//unresolved jump
_local2--;
_local5++;
_local5++;
};
_local2 = _arg1.event;
};
//unresolved jump
//unresolved jump
//unresolved jump
var _local4 = _local2;
if (!((_local5) && (_local2))){
if (_local6){
//unresolved if
if ("services" === _local4){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
};
if (!_local5){
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
_local3++;
_local5++;
//unresolved if
//unresolved if
};
//unresolved jump
if ("social" === _local4){
//unresolved if
} else {
//unresolved jump
//unresolved jump
};
//unexpected switch
return;
}
private static function urlOptions(_arg1:Object):Object{
var _local7:Boolean;
//unresolved jump
var _local6 = (false < arguments);
var _local2 = (!NULL! >> !NULL!);
_local5--;
var _local8 = _local6;
_local2 = null;
var _local3:String;
var _local4:Array;
var _local5:Number;
_local6 = null;
_local2 = {};
if (_local7){
if (_arg1.stage){
if (((_local7) || (_local2))){
//unresolved if
_local3 = _arg1.stage.loaderInfo.parameters.mochiad_options;
//unresolved if
};
} else {
//unresolved jump
_local5--;
_local4++;
_local2--;
//unresolved if
_local3 = (!NULL! < !NULL!);
//unresolved if
};
};
if (!((_local8) && (MochiServices))){
//unresolved if
};
_local4 = _local3.split("&");
if (!((_local8) && (_arg1))){
_local5 = 0;
};
for (;_local5 < _local4.length;((!NULL! < !NULL!)[NaN].unescape(!NULL!)[!NULL!] = !NULL!), if (!((_local8) && (MochiServices))){
if (!((_local8) && (_local3))){
//unresolved if
};
}) {
_local6 = _local4[_local5].split("=");
//unresolved if
continue;
_local6--;
_local6--;
_local5++;
_local7++;
_local2--;
};
return (_local2);
}
public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{
var _local8:Boolean;
//unresolved jump
_arg2++;
arguments--;
_local7++;
_local7++;
var _local9 = ((((false == !NULL!) + !NULL!) & !NULL!) >>> !NULL!);
//unresolved jump
if (_local8){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
var i:Number = 0;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
if (((_local8) || (_arg1))){
//unresolved if
//unresolved if
var s = "?";
//unresolved if
//unresolved jump
};
vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY);
if (((_local8) || (MochiServices))){
//unresolved if
//unresolved jump
if (_local8){
vars["lang"] = Capabilities.language;
//unresolved if
//unresolved jump
};
//unresolved if
vars["os"] = Capabilities.os;
};
if (_local8){
//unresolved jump
vars["fv"] = Capabilities.version;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
vars["swfurl"] = btn.loaderInfo.loaderURL;
};
if (((_local8) || (_arg1))){
//unresolved jump
if (!_local9){
//unresolved if
//unresolved if
vars["swfv"] = "9";
//unresolved if
//unresolved jump
};
if (!((_local9) && (MochiServices))){
//unresolved if
vars["mav"] = getVersion();
if (_local8){
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
var vars:Object = new Object();
};
//unresolved if
//unresolved jump
};
var onClick = _arg4;
//unresolved if
//unresolved jump
if (_local8){
var btn = _arg3;
//unresolved jump
};
if (!((_local9) && (_arg3))){
//unresolved if
//unresolved if
var burl = _arg2;
//unresolved jump
//unresolved if
};
var url = _arg2;
//unresolved if
//unresolved jump
//unresolved if
if (((_local8) || (MochiServices))){
//unresolved if
//unresolved if
//unresolved if
var complete:Function;
//unresolved jump
};
var err:Function;
//unresolved jump
//unresolved if
//unresolved if
var setURL:Function;
};
//unresolved jump
var loader:Loader;
//unresolved jump
//unresolved jump
_arg2 = !((!NULL! * !NULL!));
_arg4++;
_arg4--;
_local8++;
_local8--;
var req:URLRequest;
//unresolved jump
var x:String;
//unresolved jump
if (!_local9){
i = NaN;
//unresolved jump
//unresolved if
//unresolved if
s = null;
//unresolved jump
};
var avm1Click:DisplayObject;
//unresolved jump
vars = null;
//unresolved jump
var _local6:int;
var _local7:* = vars;
//unresolved jump
if (!((_local9) && (_arg2))){
//unresolved if
if (_local8){
//unresolved if
if (_local8){
};
//unresolved if
};
//unresolved if
s = s;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
if (!((_local9) && (_arg2))){
//unresolved if
if (!_local9){
//unresolved if
};
if (!((_local9) && (_arg2))){
i = i;
//unresolved jump
//unresolved if
};
//unresolved if
};
s = (s + "&");
if (_local8){
//unresolved jump
//unresolved jump
x = //unresolved nextvalue or nextname;
};
//unresolved jump
//unexpected hasnext2
//unresolved if
if (((_local8) || (MochiServices))){
//unresolved jump
return;
//unresolved if
if (!((_local9) && (_arg1))){
//unresolved if
loader.load(req);
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
};
if (!((_local9) && (_arg3))){
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete);
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err);
//unresolved jump
if (!((_local9) && (_arg3))){
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
netupAttempted = true;
//unresolved if
};
//unresolved jump
if (!((_local9) && (_arg1))){
if (!_local9){
//unresolved if
};
netupAttempted;
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
setURL(burl);
//unresolved jump
};
//unresolved if
if (!((_local9) && (MochiServices))){
setURL((url + s));
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
_local8 = (_local5 as !NULL!);
_arg2 = !NULL!;
_local5--;
if (_local8){
var _slot14:Function = function (_arg1:Object):void{
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
};
//unresolved jump
};
var _slot13:Function = function (_arg1:Object):void{
netup = false;
_arg1.target.removeEventListener(_arg1.type, arguments.callee);
setURL(burl);
};
//unresolved jump
};
setURL = function (_arg1:String):void{
var _local2:Rectangle;
if (avm1Click){
btn.removeChild(avm1Click);
};
avm1Click = clickMovie(_arg1, onClick);
_local2 = btn.getBounds(btn);
btn.addChild(avm1Click);
avm1Click.x = _local2.x;
avm1Click.y = _local2.y;
avm1Click.scaleX = (0.01 * _local2.width);
avm1Click.scaleY = (0.01 * _local2.height);
};
//unresolved jump
loader = new Loader();
//unresolved jump
req = new URLRequest("http://link.mochiads.com/linkping.swf");
//unresolved jump
}
public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{
//unresolved jump
_arg2--;
_arg2++;
_arg2--;
arguments--;
var _temp1 = (false as arguments);
var _local3:*;
var _local4 = _temp1;
if (!((_local3) && (_arg2))){
//unresolved jump
return;
//unresolved if
if (((_local4) || (_arg2))){
//unresolved if
//unresolved if
//unresolved if
};
if (!((_local3) && ((_arg2 << (_temp2 < _local3))))){
//unresolved if
if (!((_local3) && (_local3))){
//unresolved if
//unresolved if
DisplayObjectContainer(_container).addChild(_clip);
};
//unresolved jump
//unresolved if
//unresolved jump
_local3++;
_arg2--;
_arg2--;
var _temp3 = ??hasnext
;
_arg2 = null;
//unresolved if
};
//unresolved if
_container = _arg1;
//unresolved if
};
//unresolved jump
//unresolved if
_clip.parent.removeChild(_clip);
//unresolved jump
}
private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{
//unresolved jump
_arg2--;
_local6--;
_arg2++;
arguments++;
var _local6 = ~((true - false));
!ERROR! //unresolved jump
if (((_local7) || (_arg3))){
if (_local7){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
!((_slot2 == null));
//unresolved if
if (!((_local6) && (_arg1))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
_slot1.errorCode = "NotConnected";
};
//unresolved if
//unresolved jump
};
_slot1.error = true;
if (((_local7) || (_arg2))){
//unresolved if
//unresolved jump
if (!_local6){
//unresolved if
//unresolved if
//unresolved if
};
if (_local7){
if (_local6){
//unresolved jump
var _local5 = _local6;
_local5++;
_arg2++;
_arg3;
};
if (!_local6){
if (_local7){
var _slot1:Object = {};
//unresolved if
//unresolved jump
//unresolved if
if (!_local6){
if (_local7){
//unresolved if
};
//unresolved if
//unresolved if
_slot1.options.onError("NotConnected");
//unresolved if
//unresolved jump
};
//unresolved if
!((_slot1.options == null));
//unresolved if
//unresolved jump
};
//unresolved if
};
//unresolved if
//unresolved if
};
_slot1.onError("NotConnected");
//unresolved if
//unresolved jump
var _slot3 = _arg3;
};
//unresolved jump
var _slot2 = _arg2;
//unresolved jump
_slot1 = _arg1;
//unresolved jump
};
if ((_slot3 is String)){
try {
//unresolved if
_local5 = _slot2;
_local5[_slot3](_slot1);
//unresolved if
} catch(error:Error) {
};
} else {
if (_local7){
//unresolved jump
_local4--;
_arg3--;
_local6--;
_local5--;
_local4--;
//unresolved if
//unresolved if
try {
_slot3.apply(_slot1);
} catch(error:Error) {
};
};
_slot3.apply(_slot1);
//unresolved jump
var _slot1 = error;
};
return;
}
private static function loadError(_arg1:Object):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2++;
_local2++;
var _local3 = ((_local2 * null) % -(MochiServices));
if (((_local2) || (MochiServices))){
//unresolved jump
//unresolved jump
_local2++;
_local2--;
_local2--;
_local2++;
_local2++;
_local2++;
return;
//unresolved if
//unresolved jump
_local2--;
_local2++;
var _temp1 = _local2;
null.onError(_temp1);
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
MochiServices.disconnect();
//unresolved jump
trace("MochiServices could not load.");
//unresolved jump
_clip._mochiad_ctr_failed = true;
//unresolved jump
}
public static function get childClip():Object{
return (_clip);
}
private static function initComChannels():void{
//unresolved jump
_local2--;
_local2--;
var _local2:Boolean;
_local2--;
_local2--;
false;
_local2 = (true << !NULL!);
!ERROR! if (!((_local2) && (_local2))){
//unresolved jump
if (_queue.length <= 0){
//unresolved if
return;
//unresolved if
//unresolved jump
};
_mochiLocalConnection.send(_sendChannelName, "onReceive", _queue.shift());
//unresolved jump
_clip.onError = function ():void{
MochiServices.onError("IOError");
};
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
_clip.onEvent = onEvent;
if (!_local2){
//unresolved jump
_clip.onReceive = onReceive;
if (!_local2){
//unresolved jump
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"registerGame", preserved:_preserved, id:_id, version:getVersion(), parentURL:_container.loaderInfo.loaderURL});
};
if (!_local3){
//unresolved jump
_local2--;
_local2++;
??getglobalscope
;
};
//unresolved if
//unresolved jump
_mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
};
if (!_local2){
//unresolved jump
_connected = true;
};
//unresolved jump
_connecting = false;
//unresolved jump
//unresolved if
trace("[SERVICES_API] connected!");
//unresolved jump
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
var _local3:Boolean;
//unresolved jump
_local3--;
_arg2 = false;
_local3++;
_arg2--;
_arg2++;
var _local4 = ((((!NULL! >= !NULL!) * !NULL!) instanceof !NULL!) + !NULL!);
if (!((_local4) && (_arg2))){
_dispatcher.triggerEvent(_arg1, _arg2);
};
return;
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
var _local3:Boolean;
//unresolved jump
_local3++;
_arg2++;
var _local4:Number = _local3;
if (!_local4){
_dispatcher.removeEventListener(_arg1, _arg2);
};
return;
}
private static function listen():void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
_local2++;
_local2--;
_local2--;
_local2++;
var _local3 = //unresolved nextvalue or nextname;
//unresolved jump
_local2++;
_local2--;
_local2 = ((-(!NULL!) + 1) instanceof !NULL!);
if (!_local3){
//unresolved jump
return;
//unresolved if
trace("Waiting for MochiAds services to connect...");
//unresolved if
};
//unresolved jump
_clip.handshake = function (_arg1:Object):void{
MochiServices.comChannelName = _arg1.newChannel;
};
if (_local2){
//unresolved jump
_mochiLocalConnection.connect(_listenChannelName);
};
//unresolved jump
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
var _local3:Boolean;
//unresolved jump
_local3--;
_arg2--;
_arg2--;
!ERROR! if (_local3){
_dispatcher.addEventListener(_arg1, _arg2);
};
return;
}
private static function loadLCBridge(_arg1:Object):void{
//unresolved jump
var _local4:Boolean;
_local3--;
_local4++;
var _local5 = (_local4 - 1);
var _local6 = ((!NULL! >>> !NULL!) - !NULL!);
var _local2:Loader;
var _local3:String;
_local4 = null;
_local2 = new Loader();
if (((_local6) || (_local3))){
if (!((_local5) && (_arg1))){
};
_local3 = _servURL;
};
_local4 = new URLRequest(_local3);
if (((_local6) || (_local3))){
//unresolved jump
return;
//unresolved if
_arg1.addChild(_local2);
//unresolved if
//unresolved if
};
//unresolved jump
_local2.load(_local4);
if (!_local5){
//unresolved if
//unresolved jump
_local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
//unresolved jump
_local2--;
_local2--;
_local5--;
};
if (((_local6) || (_local3))){
//unresolved jump
_local2.contentLoaderInfo.addEventListener(Event.COMPLETE, loadLCBridgeComplete);
//unresolved jump
_local2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach);
//unresolved jump
_local2.contentLoaderInfo.addEventListener(Event.COMPLETE, detach);
};
//unresolved jump
}
public static function set comChannelName(_arg1:String):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2 = (false / !NULL!);
_local2 = ((!NULL! >> !NULL!) - 1);
_local2--;
!ERROR! if (!_local3){
for (;//unresolved if
, _arg1 == null;//unresolved if
, continue) {
return;
//unresolved if
//unresolved jump
_local2--;
_local2 = ??getglobalscope
;
_local2++;
//unresolved nextvalue or nextname.initComChannels();
//unresolved if
continue;
_local2--;
_local2++;
_local2--;
};
//unresolved if
//unresolved if
};
_sendChannelName = (_arg1 + "_fromgame");
//unresolved jump
}
private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{
//unresolved jump
_local6++;
arguments--;
_local3++;
_local4--;
var _local6:Object = _local3;
var _local7 = _local5;
var _local3:String;
var _local4:URLRequest;
var _local5:URLVariables;
if (!((_local6) && (_arg1))){
//unresolved jump
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError);
if (!((_local6) && (_arg1))){
//unresolved if
//unresolved if
//unresolved if
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, detach);
};
if (((_local7) || (MochiServices))){
//unresolved if
//unresolved jump
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, detach);
if (!((_local6) && (_arg2))){
//unresolved if
//unresolved if
//unresolved jump
_loader = new Loader();
};
//unresolved if
//unresolved if
//unresolved jump
loadLCBridge(_clip);
};
if (!((_local6) && (_arg1))){
//unresolved if
//unresolved jump
_clip = new MovieClip();
if (((_local7) || (_local3))){
//unresolved jump
MochiServices.allowDomains(_local3);
//unresolved jump
if (!_local6){
};
_listenChannelName = (_listenChannelName + (Math.floor(new Date().time) + "_"));
};
if (((_local7) || (MochiServices))){
//unresolved if
//unresolved jump
//unresolved if
};
if (!((_local6) && (_local3))){
if (_local7){
_local3 = urlOptions(_arg2).servicesURL;
//unresolved if
//unresolved jump
};
};
_local3 = urlOptions(_arg2).servicesURL;
//unresolved if
//unresolved jump
//unresolved if
_servURL = urlOptions(_arg2).servURL;
};
//unresolved jump
return (null);
//unresolved jump
//unresolved if
MochiServices.onError("NotConnected");
//unresolved jump
//unresolved if
return (_clip);
};
//unresolved jump
_local4 = new URLRequest(_local3);
_local5 = new URLVariables();
_local5.listenLC = _listenChannelName;
if (!_local6){
//unresolved jump
return (_clip);
//unresolved if
_timer.start();
if (!((_local6) && (_arg2))){
//unresolved if
//unresolved if
//unresolved jump
_timer.addEventListener(TimerEvent.TIMER, connectWait);
};
if (((_local7) || (_local3))){
//unresolved if
//unresolved if
//unresolved jump
_timer = new Timer(10000, 1);
//unresolved jump
_callbacks = {};
//unresolved if
//unresolved if
//unresolved jump
_nextCallbackID = 0;
};
//unresolved if
};
//unresolved jump
_queue = [];
if (((_local7) || (_local3))){
//unresolved jump
_sendChannel = new LocalConnection();
//unresolved jump
_clip.addChild(_loader);
};
//unresolved jump
_loader.load(_local4);
if (!((_local6) && (MochiServices))){
//unresolved jump
//unresolved jump
_arg2--;
_arg2--;
MochiServices.data = NaN;
if (!((_local6) && (_local3))){
//unresolved jump
//unresolved if
if (!_local6){
_local5.widget = true;
};
};
//unresolved jump
_local5.api_version = getVersion();
};
//unresolved jump
_local5.mochiad_options = _arg2.loaderInfo.parameters.mochiad_options;
//unresolved jump
}
public static function get clip():Object{
return (_container);
}
public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{
//unresolved jump
_arg3++;
var _local4 = (false + 1);
_arg3++;
_arg3++;
var _local5 = -(((true + MochiServices) - !NULL!));
!ERROR! //unresolved jump
return;
if (!true){
//unresolved jump
trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage.");
if (!((_local5) && (_arg3))){
//unresolved if
//unresolved if
//unresolved jump
init(id, clip);
};
if (((_local6) || (_arg2))){
//unresolved if
//unresolved if
//unresolved jump
_connecting = true;
};
//unresolved jump
if (_local6){
if (((_local6) || (_arg3))){
//unresolved if
trace("MochiServices Connecting...");
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
//unresolved jump
_local4++;
_arg2 = !((_clip == null));
_arg3++;
_arg2++;
_arg2--;
_local5++;
_local4--;
_arg2--;
if (!_local5){
//unresolved if
};
};
(_clip == null);
if (((_local6) || (_arg1))){
//unresolved jump
if (((_local6) || (MochiServices))){
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
};
trace("MochiServices connect requires the containing clip be attached to the stage");
if (((_local6) || (MochiServices))){
//unresolved jump
//unresolved jump
//unresolved if
if (((_local6) || (_arg3))){
//unresolved if
MochiServices.onError = function (_arg1:String):void{
trace(_arg1);
};
};
};
//unresolved jump
if (((_local6) || (MochiServices))){
//unresolved if
//unresolved jump
_arg2--;
if (!_local5){
MochiServices.onError = onError;
//unresolved if
//unresolved jump
warnID(id, false);
};
//unresolved jump
var onError = _arg3;
if (!_local5){
//unresolved jump
var clip = _arg2;
};
//unresolved jump
};
var id = _arg1;
//unresolved jump
};
}
public static function bringToTop(_arg1:Event=null):void{
//unresolved jump
arguments--;
var _local2 = arguments;
_local2++;
_local4++;
var _local3 = (false >> _arg1);
var _local4:Boolean;
!ERROR! var e = _arg1;
if (!_local4){
if (((_local5) || (_local3))){
//unresolved if
};
if ((MochiServices.clip == null)){
if (((_local5) || (MochiServices))){
(MochiServices.clip == null);
//unresolved jump
_local2 = (_local5 + 1);
_local2 = _local5;
_local4++;
_local4++;
if (!!NULL!){
!NULL!;
};
//unresolved if
//unresolved if
};
};
//unresolved if
};
try {
if (MochiServices.clip.numChildren > 1){
if (!_local4){
//unresolved jump
_local3--;
_local3++;
_local2 = (MochiServices.clip.numChildren - 1);
_local4--;
_local4--;
_local2.setChildIndex(MochiServices, _local2);
};
};
} catch(errorObject:Error) {
if (!_local4){
trace("Warning: Depth sort error.");
if (!_local4){
_container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop);
};
};
};
return;
}
public static function connectWait(_arg1:TimerEvent):void{
var _local2:Boolean;
//unresolved jump
_local2 = typeof((false instanceof !NULL!));
??getglobalscope
;
var _local3 = _local2;
if (!((_local3) && (_local3))){
//unresolved jump
return;
//unresolved if
_timer = null;
if (((_local2) || (_local3))){
//unresolved if
//unresolved if
//unresolved jump
_local2++;
_local2--;
_local2 = (((!NULL! << !NULL!) * !NULL!) * !NULL!);
_local2--;
_local2--;
//unresolved if
//unresolved if
//unresolved jump
_timer.removeEventListener(TimerEvent.TIMER, connectWait);
};
if (((_local2) || (_arg1))){
//unresolved jump
_local2--;
(!NULL! << !NULL!);
_local2--;
//unresolved jump
//unresolved jump
_timer.stop();
};
};
//unresolved jump
MochiServices.onError("IOError");
if (!((_local3) && (MochiServices))){
//unresolved jump
MochiServices.disconnect();
//unresolved jump
trace("MochiServices could not load. (timeout)");
//unresolved jump
//unresolved if
};
_clip._mochiad_ctr_failed = true;
//unresolved jump
}
var _local1:Boolean;
//unresolved jump
var _temp1 = _local2;
var _local2 = (_local2 is _local3);
if (((_local1) || (_local2))){
//unresolved jump
return;
//unresolved if
_dispatcher = new MochiEventDispatcher();
if (((_local1) || (_local1))){
//unresolved if
//unresolved if
//unresolved jump
widget = false;
};
if (!_local1){
//unresolved jump
//unresolved nextvalue or nextname;
};
if (_local1){
//unresolved if
//unresolved jump
netupAttempted = false;
//unresolved if
//unresolved if
//unresolved jump
netup = true;
};
if (_local1){
//unresolved if
//unresolved jump
_connected = false;
};
if (_local2){
//unresolved jump
var _local3:Boolean = (_temp1 | (_local2 + 1));
true;
};
//unresolved if
};
//unresolved jump
//unresolved jump
//unresolved jump
//unresolved jump
//unresolved jump
//unresolved jump
//unresolved jump
}
}//package mochi.as3
Section 8
//MochiSocial (mochi.as3.MochiSocial)
package mochi.as3 {
public class MochiSocial {
public static const LOGGED_IN:String = "LoggedIn";
public static const ACTION_CANCELED:String = "onCancel";
public static const PROPERTIES_SIZE:String = "PropertiesSize";
public static const IO_ERROR:String = "IOError";
public static const NO_USER:String = "NoUser";
public static const FRIEND_LIST:String = "FriendsList";
public static const PROFILE_DATA:String = "ProfileData";
public static const GAMEPLAY_DATA:String = "GameplayData";
public static const ACTION_COMPLETE:String = "onComplete";
public static const LOGIN_SHOW:String = "LoginShow";
public static const PROFILE_HIDE:String = "ProfileHide";
public static const USER_INFO:String = "UserInfo";
public static const PROPERTIES_SAVED:String = "PropertySaved";
public static const WIDGET_LOADED:String = "WidgetLoaded";
public static const ERROR:String = "Error";
public static const LOGGED_OUT:String = "LoggedOut";
public static const PROFILE_SHOW:String = "ProfileShow";
public static const LOGIN_HIDE:String = "LoginHide";
public static const LOGIN_SHOWN:String = "LoginShown";
public static var _user_info:Object = null;
private static var _dispatcher:MochiEventDispatcher;
public function MochiSocial(){
var _local1:Boolean;
//unresolved jump
var _local3 = _local2;
var _local2 = (((false === !NULL!) + 1) >= ((_local1 + 1) + 1));
if (!_local2){
super();
};
return;
}
public static function requestFan(_arg1:Object=null):void{
//unresolved jump
arguments--;
var _local2:Boolean;
var _local3 = _local2;
if (((_local3) || (true))){
//unresolved jump
_local2++;
_local2--;
_local2++;
//unresolved jump
return;
//unresolved if
MochiServices.send("social_requestFan", _arg1);
if (((_local3) || (_local2))){
//unresolved if
//unresolved jump
MochiServices.bringToTop();
};
};
//unresolved jump
MochiServices.setContainer();
//unresolved jump
}
public static function postToStream(_arg1:Object=null):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2++;
_local2 = (((false * !NULL!) >= !NULL!) * !NULL!);
!ERROR! if (!((_local3) && (!NULL!))){
//unresolved jump
_local2--;
_local2 = (!NULL! + !NULL!);
_local2--;
_local2++;
//unresolved jump
return;
//unresolved if
MochiServices.send("social_postToStream", _arg1);
if (!((_local3) && (MochiSocial))){
//unresolved jump
MochiServices.bringToTop();
};
//unresolved if
};
//unresolved jump
MochiServices.setContainer();
//unresolved jump
}
public static function getFriendsList(_arg1:Object=null):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
var _local3 = ((false - (_local2 + 1)) * !NULL!);
if (_local2){
MochiServices.send("social_getFriendsList", _arg1);
};
return;
}
public static function requestLogin(_arg1:Object=null):void{
//unresolved jump
arguments--;
_local2++;
var _temp1 = (false >= -(arguments));
var _local2:Boolean;
var _local3 = _temp1;
//unresolved jump
_local2 = !NULL!;
if (!_local2){
//unresolved jump
return;
//unresolved if
MochiServices.send("social_requestLogin", _arg1);
if (_local3){
//unresolved jump
MochiServices.bringToTop();
};
//unresolved if
};
//unresolved jump
MochiServices.setContainer();
//unresolved jump
}
public static function getVersion():String{
//unresolved jump
return (NaN.getVersion());
}
public static function saveUserProperties(_arg1:Object):void{
//unresolved jump
arguments--;
_local2--;
_local2++;
_local2++;
_local2--;
_local2--;
var _local2:Number = _local2;
var _local3:Number;
if (((_local3) || (_local3))){
MochiServices.send("social_saveUserProperties", _arg1);
};
return;
}
public static function triggerEvent(_arg1:String, _arg2:Object):void{
var _local3:Boolean;
//unresolved jump
_local3--;
_local3++;
_arg2++;
_arg2++;
_local3 = (false | !NULL!);
_local3--;
var _local4 = ( >> );
if (((_local3) || (_arg2))){
_dispatcher.triggerEvent(_arg1, _arg2);
};
return;
}
public static function removeEventListener(_arg1:String, _arg2:Function):void{
var _local3:Boolean;
//unresolved jump
false;
_local3++;
var _local4 = (((!NULL! >>> !NULL!) > !NULL!) >> !NULL!);
if (((_local3) || (MochiSocial))){
_dispatcher.removeEventListener(_arg1, _arg2);
};
return;
}
public static function inviteFriends(_arg1:Object=null):void{
var _local2:Boolean;
//unresolved jump
_local2 = false;
var _local3 = (??hasnext
>= !NULL!);
if (((_local2) || ((!NULL! instanceof !NULL!)))){
//unresolved jump
_local2++;
_local2--;
_local3 = (!NULL! === !NULL!);
_local2 = !NULL!;
//unresolved jump
return;
//unresolved if
MochiServices.send("social_inviteFriends", _arg1);
if (!((_local3) && (_local3))){
//unresolved jump
MochiServices.bringToTop();
};
if (((_local2) || (_arg1))){
//unresolved jump
MochiServices.setContainer();
};
};
//unresolved jump
}
public static function get loggedIn():Boolean{
//unresolved jump
(true - (false - 1));
((true - (false - 1)) > !NULL!);
var _local1 = (!NULL! + 1);
!ERROR! if (((_local2) || (MochiSocial))){
};
return ((_user_info == null));
}
public static function addEventListener(_arg1:String, _arg2:Function):void{
//unresolved jump
arguments++;
_arg2 = MochiSocial;
_arg2++;
var _local3:Boolean;
var _local4 = (-(false) - true);
if (((_local4) || (_arg1))){
_dispatcher.addEventListener(_arg1, _arg2);
};
return;
}
public static function showLoginWidget(_arg1:Object=null):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2++;
_local2--;
_local2--;
var _local3 = (((false + !NULL!) - 1) >= !NULL!);
//unresolved jump
_local2++;
_local2++;
if (_arg1){
//unresolved jump
return;
//unresolved if
MochiServices.send("social_showLoginWidget", {options:_arg1});
if (((_local2) || (_local3))){
//unresolved jump
MochiServices.bringToTop();
};
if (_local2){
//unresolved jump
MochiServices.setContainer();
};
};
//unresolved jump
}
public static function getAPIURL():String{
//unresolved jump
var _local1 = (typeof((-((((//unresolved nextvalue or nextname instanceof !NULL!) is !NULL!) + !NULL!)) + 1)) | !NULL!);
!ERROR! if (!_local1){
if (!_user_info){
if (_local2){
return (null);
};
};
};
return (_user_info.api_url);
}
public static function showProfile(_arg1:Object=null):void{
var _local2:Boolean;
//unresolved jump
false;
_local2++;
_local2++;
var _local3 = -(_local2);
//unresolved jump
_local2--;
_local2--;
_local2++;
_local2--;
_local2++;
var _temp1 = _local2;
_local2 = _local3;
if (!_local3){
//unresolved jump
return;
//unresolved if
MochiServices.send("social_showProfile", _arg1);
//unresolved if
};
//unresolved jump
MochiServices.stayOnTop();
if (!_local3){
//unresolved jump
MochiServices.setContainer();
};
//unresolved jump
}
public static function hideLoginWidget():void{
//unresolved jump
var _local3:Boolean;
_local3 = (??getglobalscope
=== ??getglobalscope
);
var _local1 = ((((true > !NULL!) & !NULL!) / !NULL!) === !NULL!);
!ERROR! if (!((_local1) && (_local2))){
MochiServices.send("social_hideLoginWidget");
};
return;
}
public static function getAPIToken():String{
//unresolved jump
((false + 1) <= true);
var _local1 = !((typeof((!NULL! == !NULL!)) + 1));
!ERROR! if (!_local1){
//unresolved if
//unresolved if
};
return (null);
return (_user_info.api_token);
}
//unresolved jump
var _local1 = -((//unresolved nextvalue or nextname % !NULL!));
!ERROR! if (((_local2) || (_local2))){
//unresolved jump
return;
//unresolved if
MochiSocial.addEventListener(MochiSocial.LOGGED_OUT, function (_arg1:Object):void{
_user_info = null;
});
if (!((_local1) && (MochiSocial))){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
MochiSocial.addEventListener(MochiSocial.LOGGED_IN, function (_arg1:Object):void{
_user_info = _arg1;
});
};
//unresolved if
//unresolved if
//unresolved jump
_user_info = null;
//unresolved if
//unresolved if
//unresolved jump
_dispatcher = new MochiEventDispatcher();
if (_local2){
//unresolved if
//unresolved if
//unresolved jump
PROPERTIES_SIZE = "PropertiesSize";
};
//unresolved if
};
//unresolved jump
//unresolved jump
if (((_local2) || (MochiSocial))){
//unresolved if
//unresolved jump
IO_ERROR = "IOError";
if (!_local1){
//unresolved if
//unresolved jump
ERROR = "Error";
if (!((_local1) && (_local2))){
//unresolved if
//unresolved jump
USER_INFO = "UserInfo";
};
//unresolved jump
ACTION_COMPLETE = "onComplete";
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
ACTION_CANCELED = "onCancel";
};
//unresolved jump
GAMEPLAY_DATA = "GameplayData";
//unresolved jump
PROFILE_DATA = "ProfileData";
};
//unresolved jump
//unresolved jump
//unresolved jump
//unresolved jump
//unresolved jump
//unresolved jump
( >>> (undefined - 1)).PROFILE_SHOW = ( >= //unresolved nextvalue or nextname);
//unresolved jump
//unresolved jump
if (((_local2) || (_local1))){
//unresolved jump
LOGIN_SHOW = "LoginShow";
};
//unresolved jump
//unresolved jump
//unresolved jump
}
}//package mochi.as3
Section 9
//MochiUserData (mochi.as3.MochiUserData)
package mochi.as3 {
import flash.events.*;
import flash.net.*;
import flash.utils.*;
public class MochiUserData extends EventDispatcher {
public var callback:Function;// = null
public var error:Event;// = null
public var key:String;// = null
public var operation:String;// = null
public var data;// = null
public var _loader:URLLoader;
public function MochiUserData(_arg1:String="", _arg2:Function=null){
//unresolved jump
arguments--;
_arg2++;
_arg2 = ((false >>> _local3) - 1);
var _local3 = (true <= false);
!ERROR! if (((_local4) || (_arg2))){
//unresolved jump
return;
//unresolved if
this.callback = _arg2;
if (_local4){
//unresolved if
//unresolved jump
this.key = _arg1;
//unresolved jump
_arg2--;
_local3 = _arg2;
_local3--;
_local3++;
_local3++;
};
if (!((_local3) && (_arg2))){
//unresolved jump
super();
};
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
callback = null;
if (!((_local3) && (_arg1))){
//unresolved jump
operation = null;
//unresolved jump
error = null;
};
//unresolved jump
data = null;
//unresolved jump
key = null;
//unresolved jump
}
public function securityErrorHandler(_arg1:SecurityErrorEvent):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2++;
_local2 = ((_arg1 <= false) <= undefined);
//unresolved jump
_local2--;
_local2++;
_local2--;
_local2--;
var _local3 = (((false instanceof this) | !NULL!) / !NULL!);
if (((_local2) || (_local2))){
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + _arg1.toString())));
};
return;
}
public function putEvent(_arg1):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2--;
var _local3 = (((false >= !NULL!) * !NULL!) & true);
if (!_local3){
request("put", serialize(_arg1));
};
return;
}
public function request(_arg1:String, _arg2:ByteArray):void{
//unresolved jump
_local5--;
_local4++;
arguments++;
_local5--;
_arg2++;
var _local5 = ??getglobalscope
;
var _local6 = (true === false);
//unresolved jump
_loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
if (!((_local5) && (this))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
_loader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
};
//unresolved jump
_loader.addEventListener(Event.COMPLETE, completeHandler);
if (((_local6) || (_local3))){
//unresolved if
//unresolved if
//unresolved jump
_loader.dataFormat = URLLoaderDataFormat.BINARY;
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
req.data = _data;
};
//unresolved jump
if (!_local5){
//unresolved if
//unresolved if
req.requestHeaders = [new URLRequestHeader("x-mochi-services-version", MochiServices.getVersion()), new URLRequestHeader("x-mochi-api-token", api_token)];
if (!((_local5) && (_arg1))){
//unresolved jump
//unresolved if
req.contentType = "application/x-mochi-userdata";
};
//unresolved if
//unresolved jump
};
req.method = URLRequestMethod.POST;
if (!((_local5) && (_arg2))){
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
var req:URLRequest = new URLRequest((((MochiSocial.getAPIURL() + "/") + "MochiUserData?") + args.toString()));
};
if (((_local6) || (_arg1))){
//unresolved if
//unresolved jump
if (_local6){
//unresolved if
args.key = key;
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
_local5 = (this - NaN);
_arg2 = !NULL!;
var _local3 = (!NULL! >>> !NULL!);
};
args.op = _operation;
};
//unresolved jump
if (((_local6) || (_arg2))){
var args:URLVariables = new URLVariables();
//unresolved jump
_loader = new URLLoader();
//unresolved jump
return;
//unresolved jump
if (!((_local5) && (_local3))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, "not logged in"));
//unresolved jump
//unresolved if
};
//unresolved if
(api_token == null);
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
if (!((_local5) && (_arg2))){
//unresolved if
};
if (((_local6) || (_arg2))){
//unresolved if
var api_token = MochiSocial.getAPIToken();
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
};
if (((_local6) || (_arg1))){
var api_url = MochiSocial.getAPIToken();
if (_local6){
//unresolved jump
operation = _operation;
//unresolved jump
var _data = _arg2;
};
//unresolved if
//unresolved jump
};
var _operation = MochiSocial.getAPIToken();
//unresolved jump
};
if (((_local6) || (this))){
//unresolved if
req = null;
//unresolved jump
};
if (!((_local5) && (_arg2))){
args = null;
//unresolved jump
//unresolved if
};
if (!((_local5) && (_local3))){
api_token = null;
//unresolved jump
};
api_url = null;
//unresolved jump
try {
//unresolved jump
_local4++;
_loader.load(!NULL!);
} catch(e:SecurityError) {
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("security error: " + e.toString())));
};
return;
}
public function completeHandler(_arg1:Event):void{
//unresolved jump
_local3++;
_local3++;
var _local3 = (((true - false) instanceof (this - 1)) ^ !NULL!);
var _local4 = (!NULL! instanceof !NULL!);
!ERROR! var event = _arg1;
try {
if (_loader.data.length){
//unresolved if
data = deserialize(_loader.data);
//unresolved if
} else {
data = null;
//unresolved jump
_local3 = (!NULL! * !NULL!);
(!NULL! & !NULL!);
_local3++;
//unresolved if
};
} catch(e:Error) {
errorHandler(new IOErrorEvent(IOErrorEvent.IO_ERROR, false, false, ("deserialize error: " + e.toString())));
return;
//unresolved jump
_local3--;
_local3++;
_local3;
_local3--;
};
if (callback != null){
if (!((_local4) && (_local3))){
performCallback();
//unresolved if
};
//unresolved jump
return;
//unresolved if
close();
//unresolved if
//unresolved jump
//unresolved jump
};
dispatchEvent(event);
//unresolved jump
}
public function performCallback():void{
//unresolved jump
((((( >= !NULL!) is !NULL!) is NaN) | !NULL!) << !NULL!);
//unresolved jump
try {
callback(this);
} catch(e:Error) {
trace(("[MochiUserData] exception during callback: " + e));
};
return;
}
public function serialize(_arg1):ByteArray{
var _local3:Boolean;
//unresolved jump
arguments++;
_local3--;
_local2--;
_local3++;
_local3++;
_local3--;
var _local4:Boolean;
var _temp1 = _local2;
var _local2:ByteArray;
_local2 = new ByteArray();
//unresolved jump
_local2++;
_local2--;
NaN;
_local3++;
if (!_local4){
//unresolved jump
//unresolved jump
_local3--;
_local3 = _local2;
_local2 = ((NaN === _local2) + 1);
return ((!NULL! + !NULL!));
//unresolved if
_local2.compress();
//unresolved if
};
//unresolved jump
_local2.writeObject(_arg1);
if (!((_local4) && (_local2))){
//unresolved jump
_local2.objectEncoding = ObjectEncoding.AMF3;
};
//unresolved jump
}
public function errorHandler(_arg1:IOErrorEvent):void{
//unresolved jump
_local2++;
var _temp1 = (((((true % false) + !NULL!) * !NULL!) === !NULL!) <= arguments);
var _local2 = ??getglobalscope
;
var _local3 = _temp1;
if (!((_local2) && (this))){
//unresolved jump
return;
//unresolved if
close();
if (!((_local2) && (NaN))){
//unresolved if
//unresolved jump
//unresolved jump
dispatchEvent(_arg1);
};
if (((_local3) || (_local2))){
//unresolved jump
_local2++;
//unresolved if
//unresolved jump
//unresolved if
performCallback();
};
//unresolved jump
error = _arg1;
//unresolved if
};
//unresolved jump
data = null;
//unresolved jump
}
public function getEvent():void{
var _local1:Boolean;
//unresolved jump
var _local2:Boolean;
_local2 = this;
if (_local1){
request("get", serialize(null));
};
return;
}
override public function toString():String{
//unresolved jump
var _local1 = (typeof(//unresolved nextvalue or nextname) < !NULL!);
!ERROR! if (((_local2) || (_local1))){
//unresolved if
//unresolved if
};
if (((_local2) || (_local1))){
//unresolved jump
if (_local2){
//unresolved if
};
//unresolved if
};
if (!_local1){
//unresolved jump
false;
if (( - )){
//unresolved if
//unresolved if
};
};
if (!((_local1) && (_local2))){
};
return ((("[MochiUserData operation=" + " key=\"") + error));
}
public function close():void{
//unresolved jump
var _local1 = ((true == (((~(false) - ) << (_local2 - 1)) - 1)) + 1);
!ERROR! if (_local2){
//unresolved jump
return;
//unresolved if
callback = null;
if (!_local1){
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
undefined.error = null;
};
if (!((_local1) && (_local2))){
//unresolved jump
_loader = null;
};
if (!_local1){
//unresolved jump
_loader.close();
};
//unresolved jump
if (!((((((//unresolved nextvalue or nextname instanceof _local2) >>> (//unresolved nextvalue or nextname instanceof _local2)) * _local3) + !NULL!)) && (this))){
//unresolved if
//unresolved jump
_loader.removeEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
//unresolved jump
_loader.removeEventListener(IOErrorEvent.IO_ERROR, errorHandler);
};
};
//unresolved jump
//unresolved if
_loader.removeEventListener(Event.COMPLETE, completeHandler);
//unresolved jump
}
public function deserialize(_arg1:ByteArray){
//unresolved jump
arguments++;
_local2++;
var _local2 = (false === (_local2 * _local2));
_local2 = true;
var _local3 = this;
//unresolved jump
_local2 = NaN;
_local3 = (typeof(!NULL!) is !NULL!);
_local2--;
!NULL!;
if (!((_local2) && (_arg1))){
//unresolved jump
return (_arg1.readObject());
//unresolved if
_arg1.uncompress();
if (!_local2){
//unresolved jump
_arg1.objectEncoding = ObjectEncoding.AMF3;
};
};
//unresolved jump
}
public static function get(_arg1:String, _arg2:Function):void{
//unresolved jump
_arg2--;
_local4--;
//unresolved jump
_local4++;
_arg2--;
_arg2++;
var _local4 = -(false);
var _local5 = (//unresolved nextvalue or nextname >>> undefined);
var _local3:MochiUserData;
_local3 = new MochiUserData(_arg1, _arg2);
if (!((_local4) && (_arg2))){
_local3.getEvent();
};
return;
}
public static function put(_arg1:String, _arg2, _arg3:Function):void{
//unresolved jump
_arg3--;
_arg2++;
_arg2++;
var _local4:MochiUserData = (_arg3 - 1);
_local4 = new MochiUserData(_arg1, _arg3);
_local4.putEvent(_arg2);
return;
}
}
}//package mochi.as3
Section 10
//AssetsHolder_5 (Snow_fla.AssetsHolder_5)
package Snow_fla {
import flash.display.*;
public dynamic class AssetsHolder_5 extends MovieClip {
public function AssetsHolder_5(){
//unresolved jump
var _local2 = (false << undefined);
//unresolved jump
_local2 = ((true >> undefined) * !NULL!);
if (((_local2) || (_local1))){
//unresolved jump
return;
//unresolved if
addFrameScript(0, frame1);
if (!((_local1) && (_local2))){
//unresolved jump
super();
};
};
//unresolved jump
}
function frame1(){
//unresolved jump
!ERROR! !ERROR! if (!_local1){
stop();
};
return;
}
}
}//package Snow_fla
Section 11
//HelpSnowTreeGrowing_9 (Snow_fla.HelpSnowTreeGrowing_9)
package Snow_fla {
import flash.display.*;
public dynamic class HelpSnowTreeGrowing_9 extends MovieClip {
public function HelpSnowTreeGrowing_9(){
//unresolved jump
var _local1 = ((!NULL! & (??hasnext
== !NULL!)) - !NULL!);
!ERROR! //unresolved jump
if (_local2){
//unresolved jump
return;
//unresolved if
addFrameScript(86, frame87, 399, frame400);
//unresolved if
};
//unresolved jump
super();
//unresolved jump
}
function frame87(){
return;
}
function frame400(){
//unresolved jump
var _local1 = ((( ^ arguments) >= true) + NaN);
var _local2:Boolean;
if (((_local2) || (_local1))){
gotoAndPlay(89);
};
return;
}
}
}//package Snow_fla
Section 12
//a_ready_click1 (a_ready_click1)
package {
import flash.media.*;
public dynamic class a_ready_click1 extends Sound {
public function a_ready_click1(){
//unresolved jump
var _local1 = -((((!((true | false)) > !NULL!) instanceof !NULL!) ^ !NULL!));
!ERROR! if (!_local1){
super();
};
return;
}
}
}//package
Section 13
//a_ready_click2 (a_ready_click2)
package {
import flash.media.*;
public dynamic class a_ready_click2 extends Sound {
public function a_ready_click2(){
var _local1:Boolean;
//unresolved jump
var _local2 = (((-(((false == _local3) - 1)) < !NULL!) % !NULL!) >>> null);
if (!_local2){
super();
};
return;
}
}
}//package
Section 14
//AchGlass (AchGlass)
package {
import flash.display.*;
public class AchGlass extends MovieClip {
public function AchGlass(_arg1:Boolean=false){
//unresolved jump
_local2++;
_local2--;
_local2;
var _local2 = -(((true >> false) ^ _local3));
!ERROR! if (!_local2){
//unresolved jump
return;
//unresolved if
cacheAsBitmap = true;
//unresolved jump
//unresolved if
//unresolved if
//unresolved jump
_local2++;
_local2--;
_local2--;
var _temp1 = (((!NULL! === !NULL!) & _local2) - (_local2 - 1));
//unresolved if
};
//unresolved jump
//unresolved jump
gotoAndStop(2);
if (((_local3) || (_local3))){
//unresolved jump
//unresolved if
};
gotoAndStop(1);
//unresolved jump
super();
//unresolved jump
}
}
}//package
Section 15
//AchIcon (AchIcon)
package {
import flash.display.*;
public class AchIcon extends MovieClip {
public var descr:String;
public var aname:String;
private var glass:AchGlass;
public var Tag:int;
public function AchIcon(_arg1:int){
//unresolved jump
false;
var _local2 = -(true);
_local2--;
_local2++;
_local2 = (!NULL! * !NULL!);
_local2 = !NULL!;
_local2 = !NULL!;
!ERROR! if (!_local2){
//unresolved jump
return;
//unresolved if
mouseChildren = false;
if (!((_local2) && (_arg1))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
addChild(glass);
};
if (((_local3) || (this))){
//unresolved jump
glass = new AchGlass();
//unresolved jump
gotoAndStop(_arg1);
};
//unresolved jump
//unresolved jump
_local2 = !NULL!;
_local3 = (!NULL! as !NULL!);
_local2++;
_local2++;
if (!_local2){
};
descr = ConstLibrary.AchDescriptions[(2 * _arg1)];
};
//unresolved jump
aname = ConstLibrary.AchDescriptions[(2 * (_arg1 - 1))];
//unresolved jump
Tag = _arg1;
//unresolved jump
super();
//unresolved jump
}
public function showGiven(_arg1:Boolean):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2++;
var _local3 = (((((false === null) > !NULL!) > _local2) + !NULL!) - !NULL!);
if (!((_local3) && (_local3))){
//unresolved jump
_local2++;
_local2++;
_local2--;
//unresolved jump
return;
//unresolved if
//unresolved jump
_local2 = (((((!NULL! == !NULL!) + 1) > !NULL!) === true) > !NULL!);
_local2--;
_local2++;
//unresolved jump
if (!_local3){
//unresolved if
glass.gotoAndStop(2);
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
};
glass.gotoAndStop(1);
};
//unresolved jump
}
public function changeFrame(_arg1:int):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
var _local3 = (((_local2 % _local2) & !NULL!) * ((_local2 % _local2) & !NULL!));
if (_local2){
gotoAndStop(_arg1);
};
return;
}
}
}//package
Section 16
//AchInfoPanel (AchInfoPanel)
package {
import flash.display.*;
import flash.text.*;
public class AchInfoPanel extends Sprite {
public var descTxt:TextField;
public var nameTxt:TextField;
public function AchInfoPanel(){
var _local1:Boolean;
//unresolved jump
var _local2 = _local1;
if (((_local1) || (_local1))){
super();
};
return;
}
public function UpdateInfo(_arg1:int):void{
//unresolved jump
var _local2 = (true instanceof false);
_local2++;
_local2++;
_local2 = undefined;
var _temp1 = (_local2 >>> !NULL!);
_local2 = this;
var _local3 = _temp1;
if (!((_local2) && (_local3))){
//unresolved jump
return;
//unresolved if
//unresolved jump
_local2++;
_local2++;
_local2--;
_local2 = (??getglobalscope
=== -(_local2));
descTxt.text = ConstLibrary.AchDescriptions[((2 * _arg1) - 1)];
//unresolved if
//unresolved if
};
//unresolved jump
//unresolved jump
nameTxt.text = ConstLibrary.AchDescriptions[(2 * (_arg1 - 1))];
if (!_local2){
//unresolved jump
descTxt.text = " ";
};
//unresolved jump
//unresolved if
if (_local3){
nameTxt.text = " ";
};
//unresolved jump
}
public function expand():void{
//unresolved jump
var _temp1 = //unresolved nextvalue or nextname;
var _local1 = this;
var _local2 = _temp1;
if (((_local2) || (_local2))){
descTxt.y = (descTxt.y + 15);
};
return;
}
}
}//package
Section 17
//AchInformer (AchInformer)
package {
import flash.display.*;
import flash.events.*;
public class AchInformer extends Sprite {
private var icon:AchIcon;
private var TTL:int;
private var table:AchInfoPanel;
public function AchInformer(_arg1:int){
var _local4:Boolean;
//unresolved jump
_local4++;
_local4--;
arguments--;
var _local2 = (arguments * typeof(_local4));
var _local5:Boolean;
_local2 = null;
var _local3:AllTexts;
if (!_local5){
super();
};
_local2 = new Shape();
if (!_local5){
//unresolved jump
addChild(icon);
if (_local4){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
icon.y = 60;
};
//unresolved jump
if (((_local4) || (this))){
icon.x = -200;
//unresolved jump
};
icon.showGiven(true);
//unresolved jump
icon = new AchIcon((_arg1 + 1));
if (!_local5){
//unresolved if
//unresolved jump
addChild(_local2);
};
//unresolved if
//unresolved jump
_local2.graphics.endFill();
};
//unresolved jump
_local2.graphics.drawRoundRect(-250, 0, 500, 150, 30);
//unresolved jump
_local2.graphics.beginFill(0, 0.5);
if (((_local4) || (null))){
//unresolved jump
_local2.graphics.lineStyle(3, 16642430, 0.8);
};
//unresolved jump
_local3 = new AllTexts(24);
if (((_local4) || (_local3))){
//unresolved jump
return;
//unresolved if
mouseChildren = false;
if (!_local5){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
cacheAsBitmap = true;
};
//unresolved if
//unresolved jump
addEventListener(MouseEvent.MOUSE_DOWN, onDown);
//unresolved if
//unresolved if
//unresolved jump
addEventListener(Event.ENTER_FRAME, tick);
};
//unresolved jump
y = 350;
if (!((_local5) && (this))){
//unresolved jump
x = 320;
if (_local4){
//unresolved if
//unresolved if
//unresolved jump
addChild(table);
//unresolved jump
//unresolved if
//unresolved if
table.y = 95;
};
//unresolved jump
table.UpdateInfo((_arg1 + 1));
//unresolved jump
table = new AchInfoPanel();
};
if (_local4){
//unresolved jump
addChild(_local3);
//unresolved jump
_local3.y = 40;
//unresolved jump
_local3.x = 60;
};
//unresolved jump
}
private function onDown(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2 = _arg1;
_local2++;
var _local3 = ( - 1);
//unresolved jump
_local2++;
_local2--;
if (_local2){
//unresolved jump
return;
//unresolved if
removeEventListener(MouseEvent.MOUSE_DOWN, onDown);
//unresolved if
};
//unresolved jump
TTL = 135;
//unresolved jump
}
private function tick(_arg1:Event):void{
var _local4:Boolean;
//unresolved jump
_local4--;
!ERROR! if (_local4){
if (((_local4) || (_local2))){
};
var _local3 = TTL;
if (!_local5){
TTL = _local3;
};
//unresolved if
};
for (;!(TTL >= 135);//unresolved if
, //unresolved if
, if (!((_local5) && (_arg1))){
//unresolved if
removeEventListener(MouseEvent.MOUSE_DOWN, onDown);
}, //unresolved jump
, //unresolved if
, if (!((_local5) && ((_local5 == (this << false))))){
//unresolved if
//unresolved if
parent.removeChild(this);
}, continue) {
return;
continue;
arguments--;
_local4--;
_local2++;
_local3++;
//unresolved if
};
removeEventListener(Event.ENTER_FRAME, tick);
//unresolved jump
}
}
}//package
Section 18
//AchPage (AchPage)
package {
import flash.events.*;
public class AchPage extends GeneralPageType {
private var achIcons:Array;
private var infoCaption:AchInfoPanel;
public var isFromMainMemu:Boolean;
public function AchPage(){
var _local8:Boolean;
//unresolved jump
var _local2:String = false;
_local3--;
_local3++;
var _local9 = ( <= _local6);
var _local1:AllTexts;
_local2 = 0;
var _local3:int;
var _local4:int;
var _local5:ATButton;
var _local6:AchIcon;
if (_local8){
super();
};
_local1 = new AllTexts(10);
if (_local8){
//unresolved jump
if (((_local8) || (this))){
_local4 = 0;
//unresolved if
//unresolved if
//unresolved if
};
if (_local8){
_local3 = 0;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
};
_local2 = 0;
};
//unresolved jump
achIcons = new Array();
if (((_local8) || (this))){
//unresolved jump
addChild(infoCaption);
};
if (!_local9){
//unresolved jump
if (_local8){
//unresolved if
infoCaption.y = 420;
//unresolved jump
};
infoCaption.x = 320;
//unresolved jump
infoCaption = new AchInfoPanel();
};
if (!_local9){
//unresolved jump
addChild(_local1);
};
if (((_local8) || (this))){
//unresolved jump
_local1.y = 50;
//unresolved jump
_local1.x = 320;
};
//unresolved jump
for (;_local4 < Application.application.maxAch;achIcons.push(_local6), continue) {
_local6 = new AchIcon((_local4 + 1));
new AchIcon((_local4 + 1)).scaleX = (_local6.scaleY = 0.9);
//unresolved if
continue;
_local4++;
if (((_local8) || (this))){
//unresolved if
//unresolved if
//unresolved if
if (((_local8) || (_local1))){
if (!_local8){
//unresolved jump
var _temp2 = _local3;
_local3 = _local8;
_local2 = _temp2;
_local3++;
_local3--;
(~(!((!NULL! & !NULL!))) >>> !NULL!);
};
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
};
if (_local8){
//unresolved jump
if (((_local8) || (_local1))){
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
};
if (((_local8) || (_local3))){
//unresolved if
//unresolved jump
_local2 = (_local2 + (560 / 9));
};
if (_local8){
//unresolved jump
addChild(_local6);
};
//unresolved jump
_local6.addEventListener(MouseEvent.ROLL_OUT, onAiOut);
//unresolved jump
_local6.addEventListener(MouseEvent.ROLL_OVER, onAiOver);
//unresolved jump
_local6.y = _local3;
if (_local8){
//unresolved jump
_local6.x = _local2;
};
if (_local8){
//unresolved jump
_local6.showGiven(Application.application.GameResults.data.Achievements[_local4]);
};
//unresolved jump
};
_local5 = new ATButton();
if (_local8){
};
_local5.x = (619 - 98);
if (!_local9){
if (_local8){
//unresolved jump
_local8++;
};
_local5.y = (409 + 51);
//unresolved if
};
_local5.scaleX = (_local5.scaleY = 0.5);
if (!((_local9) && (_local1))){
addChild(_local5);
};
return;
}
private function onAiOut(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2++;
_local2--;
_local2--;
!ERROR! if (_local2){
infoCaption.UpdateInfo(-1);
};
return;
}
private function onAiOver(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local3++;
var _local3:*;
//unresolved jump
_local2++;
var _local2 = ((-(undefined) + arguments) * this);
_local2++;
_local3 = (true - typeof(false));
!ERROR! _local2 = null;
_local2 = (_arg1.currentTarget as AchIcon);
if (!((_local3) && (_local2))){
infoCaption.UpdateInfo(_local2.Tag);
};
return;
}
public function updateAch(_arg1:int):void{
//unresolved jump
_local3--;
arguments--;
_local2--;
_local3--;
var _local3:Object = //unresolved nextvalue or nextname;
var _local4:Boolean;
var _local2:AchIcon;
_local2 = (achIcons[_arg1] as AchIcon);
if (_local4){
_local2.showGiven(true);
};
return;
}
}
}//package
Section 19
//AllTexts (AllTexts)
package {
import flash.display.*;
public class AllTexts extends MovieClip {
public var TTL:int;
public function AllTexts(_arg1:int){
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
_local2++;
var _local3 = ??hasnext
;
if (!_local3){
//unresolved jump
//unresolved jump
_local2 = (!NULL! - !NULL!);
_local2++;
_local2--;
_local2--;
return;
//unresolved if
TTL = 0;
if (!((_local3) && (this))){
//unresolved if
//unresolved jump
Alter(_arg1);
};
};
//unresolved jump
super();
//unresolved jump
}
public function UpdateTxt():void{
var _local1:Boolean;
//unresolved jump
var _temp1 = _local2;
var _local2 = this;
if (!((_local2) && (_local1))){
Alter((currentFrame % ConstLibrary.TextsLangOffset));
};
return;
}
public function Alter(_arg1:int):void{
//unresolved jump
arguments--;
_local2++;
_local2--;
_local2++;
//unresolved jump
_local2++;
_local2++;
var _local2 = (_local2 | (-(this) - 1));
var _local3 = !(((true >= !(false)) === !NULL!));
if (!((_local2) && (_arg1))){
gotoAndStop((_arg1 + (ConstLibrary.TextsLangOffset * Application.application.LanguageID)));
};
return;
}
}
}//package
Section 20
//Application (Application)
package {
import flash.display.*;
import mochi.as3.*;
import flash.events.*;
import flash.net.*;
public class Application extends MovieClip {
private var btnSndOn:ButtonContainer;
private var nextAchHeightId:int;
private var nextAchGifts:int;
private var nextAchSnowId:int;
private var cloaker;
public var LanguageID:int;
public var maxAch:int;
private var nextAchSnow:int;
private var btnSndOff:ButtonContainer;
public var PageCredits:CreditsPage;
private var achSprite:Sprite;
public var PageStart:StartPage;
public var needHelp:Boolean;
private var prevSnowVal:int;
private var emul:WorldEmulator;
public var PageGame:GamePage;
private var nextAchStarsId:int;
private var cloakerFramesCount:int;
private var pageChangeFrom:GeneralPageType;
public var PageLevelSelect:LevelSelectPage;
public var PageAchievements:AchPage;
public var GameResults:SharedObject;
private var nextAchStars:int;
private var nextAchHeight:int;
private var btnMusicOff:ButtonContainer;
private var nextAchGiftsId:int;
public var PageInstructions:InstructionsPage;
private var pageChangeTo:GeneralPageType;
public static var application:Application;
public function Application(){
var _local3:Boolean;
//unresolved jump
_local3++;
_local3--;
_local3--;
var _local4 = _local3;
var _temp1 = arguments;
var _local1:String;
var _local2:int;
if (!_local4){
//unresolved jump
return;
//unresolved if
trace("btnSndOff");
if (!((_local4) && (this))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
//unresolved if
//unresolved if
btnSndOff.visible = true;
};
if (((_local3) || (this))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
SoundPlayer.PlayASoundID(23);
};
if (!((_local4) && (this))){
//unresolved if
//unresolved if
//unresolved jump
trace("btnMusicOff");
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
//unresolved if
};
if (!((_local4) && (_local2))){
//unresolved if
//unresolved if
//unresolved if
btnMusicOff.visible = true;
//unresolved if
//unresolved jump
trace("btnSndOn");
};
if (!((_local4) && (this))){
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
btnSndOn.visible = true;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
btnSndOff.visible = false;
//unresolved jump
addChild(btnSndOff);
};
if (!((_local4) && (this))){
//unresolved if
//unresolved if
//unresolved jump
btnSndOff.addEventListener(MouseEvent.CLICK, SndOffClicked);
//unresolved if
//unresolved if
//unresolved jump
btnSndOff = new ButtonContainer((595 + 30), (435 + 100), 29, 30, 30);
//unresolved jump
btnMusicOff.visible = false;
//unresolved jump
addChild(btnMusicOff);
};
if (((_local3) || (_local2))){
//unresolved jump
btnMusicOff.addEventListener(MouseEvent.CLICK, MusicOffClicked);
//unresolved if
//unresolved jump
btnMusicOff = new ButtonContainer((595 + 30), (435 + 100), 27, 30, 30);
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
btnSndOn.visible = false;
};
if (((_local3) || (this))){
//unresolved if
//unresolved jump
addChild(btnSndOn);
//unresolved if
//unresolved if
//unresolved jump
btnSndOn.addEventListener(MouseEvent.CLICK, SndOnClicked);
if (((_local3) || (_local3))){
//unresolved if
//unresolved jump
btnSndOn = new ButtonContainer((595 + 30), (435 + 100), 28, 30, 30);
//unresolved if
//unresolved jump
addEventListener(Event.ENTER_FRAME, stepWorld);
//unresolved if
//unresolved jump
InitPages();
};
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
addChild(emul);
//unresolved jump
emul = new WorldEmulator();
};
if (((_local3) || (this))){
//unresolved if
//unresolved jump
_local3--;
_local3++;
_local3++;
if (!this){
((_temp1 & -((_local3 > _local3))) - !NULL!);
};
//unresolved if
//unresolved jump
cloaker = new Cloaker();
//unresolved if
//unresolved if
//unresolved jump
nextAchStars = ConstLibrary.achStars[(_local2 - 29)];
if (_local3){
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
nextAchStarsId = _local2;
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
GameResults.data.Achievements[_local2];
//unresolved jump
//unresolved jump
_local2++;
};
//unresolved jump
_local2 = 29;
//unresolved jump
nextAchGifts = ConstLibrary.achGifts[(_local2 - 24)];
//unresolved jump
if (!_local4){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
if (!(_local2 <= 28)){
nextAchGiftsId = _local2;
//unresolved if
//unresolved jump
if (((_local3) || (_local1))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
GameResults.data.Achievements[_local2];
//unresolved if
//unresolved jump
//unresolved jump
};
_local2++;
//unresolved if
//unresolved jump
};
if (!((_local4) && (this))){
//unresolved if
//unresolved jump
nextAchSnow = ConstLibrary.achSnowVal[(_local2 - 16)];
//unresolved jump
};
if (((_local3) || (_local1))){
//unresolved if
//unresolved if
if (!(_local2 <= 23)){
nextAchSnowId = _local2;
//unresolved jump
//unresolved if
//unresolved if
GameResults.data.Achievements[_local2];
//unresolved if
//unresolved jump
//unresolved jump
};
_local2++;
//unresolved jump
//unresolved if
_local2 = 16;
//unresolved if
//unresolved jump
prevSnowVal = 0;
//unresolved jump
nextAchHeight = ConstLibrary.achHeight[(_local2 - 1)];
//unresolved jump
};
if (!(_local2 <= 15)){
nextAchHeightId = _local2;
//unresolved jump
//unresolved if
GameResults.data.Achievements[_local2];
//unresolved jump
//unresolved jump
};
_local2++;
//unresolved jump
_local2 = 1;
if (((_local3) || (_local2))){
//unresolved jump
//unresolved if
GameResults.data.Settings = [false, true, true, 0, 0, 0];
//unresolved jump
//unresolved if
//unresolved if
GameResults.data.gameStats = [0, 0, 0, 0, 0, 0, 0, 0];
};
//unresolved jump
if (_local2 >= 50){
//unresolved if
maxAch = 42;
//unresolved jump
_local2++;
//unresolved jump
//unresolved jump
};
GameResults.data.Achievements.push(false);
//unresolved jump
_local2 = 0;
//unresolved jump
//unresolved if
GameResults.data.Achievements = new Array();
//unresolved jump
GameResults = SharedObject.getLocal("SnowTreeNew");
//unresolved jump
application = this;
//unresolved jump
MochiBot.track(this, "f41703c8");
//unresolved jump
if (_local2 >= ConstLibrary.strLockNums.length){
needHelp = true;
//unresolved jump
_local2++;
//unresolved jump
//unresolved jump
};
//unresolved jump
_local2 = _local3;
var _temp2 = _local2;
_local3 = _local2;
if (!(_temp1 / ~((_local1 & _temp2)))){
!NULL!;
};
if (!NULL!){
};
_local1 = !NULL!;
//unresolved jump
_local2 = 0;
if (!_local4){
//unresolved jump
_local1 = "";
};
if (!_local4){
//unresolved jump
super();
};
};
//unresolved jump
}
private function PlayBtnClick(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2++;
_local2--;
_local2++;
var _local3 = (((false is !NULL!) <= _local2) - 1);
//unresolved jump
_local2--;
_local2++;
if (((_local2) || (this))){
//unresolved jump
return;
//unresolved if
PageGame.InitGame();
if (((_local2) || (_local2))){
//unresolved jump
TransitPages(PageStart, PageGame);
};
};
//unresolved jump
}
private function StartGameBtnClick(_arg1:MouseEvent):void{
//unresolved jump
((false as arguments) == undefined);
var _local2 = ~(true);
!ERROR! if (_local3){
TransitPages(PageLevelSelect, PageGame);
};
return;
}
private function AchBackBtnClick(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local2++;
var _local2 = _local3;
_local2 = false;
_local2++;
_local2--;
_local2 = (~(true) | !NULL!);
!ERROR! if (!_local2){
//unresolved jump
return;
//unresolved if
//unresolved jump
_local2++;
_local2 = (false << null);
PageGame.ResumeGame();
//unresolved jump
_local2++;
_local2--;
_local2++;
if (!_local2){
false;
};
if (false){
//unresolved if
//unresolved jump
//unresolved jump
TransitPages(PageAchievements, PageGame);
};
//unresolved jump
//unresolved if
if (!_local2){
TransitPages(PageAchievements, PageStart);
};
};
//unresolved jump
}
private function stepWorld(_arg1:Event):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
_local2 = ((false - 1) <= !NULL!);
_local2--;
var _local3 = -(!NULL!);
if (_local2){
emul.step();
};
return;
}
private function CreditsBackBtnClick(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2--;
var _local3 = (false - 1);
if (!((_local3) && (this))){
TransitPages(PageCredits, PageStart);
};
return;
}
private function PlayMoreClick(_arg1:MouseEvent):void{
//unresolved jump
_local2--;
_local2--;
var _local2 = (??hasnext
% !NULL!);
_local2 = ( - 1);
!ERROR! if (!((_local2) && (this))){
Linx.openURL("http://www.arcadetown.com/index.asp?gameid=snowtree");
};
return;
}
public function react2Gift():void{
//unresolved jump
_local3++;
_local3--;
var _local3:Boolean;
_local3++;
_local4++;
var _local4 = (((true >= _local3) + !NULL!) & !NULL!);
!ERROR! if (((_local5) || (arguments))){
trace("react2Gift", GameResults.data.gameStats[2], nextAchGifts);
if (((_local5) || (arguments))){
var _local1 = GameResults.data.gameStats;
var _local2 = 2;
_local3 = (_local1[_local2] + 1);
if (!_local4){
//unresolved jump
var _temp1 = _local2;
_local2 = _local3;
_local2++;
_local4++;
_local2--;
_local4--;
((_local1 | _temp1) + !NULL!)[!NULL!] = !NULL!;
};
};
};
for (;GameResults.data.gameStats[2] >= nextAchGifts;if ((() || (arguments))){
nextAchGifts = ConstLibrary.achGifts[(nextAchGiftsId - 24)];
//unresolved if
}) {
giveAch(nextAchGiftsId);
//unresolved if
if (!_local4){
};
_local2 = nextAchGiftsId;
if (!((_local4) && (_local2))){
nextAchGiftsId = _local2;
};
continue;
_local2++;
_local2--;
_local3--;
};
return;
}
private function InitPages():void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2++;
var _temp1 = _local3;
var _local3 = (arguments & -(_local2));
var _local1:ButtonContainer;
if (_local2){
PageStart = new StartPage();
};
_local1 = new ButtonContainer(320, (170 - 10), 1, 250, 54);
if (((_local2) || (this))){
_local1.addEventListener(MouseEvent.CLICK, PlayBtnClick);
//unresolved if
};
PageStart.addChild(_local1);
if (_local2){
//unresolved if
};
_local1 = new ButtonContainer(320, (245 - 25), 2, 250, 54);
if (_local2){
_local1.addEventListener(MouseEvent.CLICK, ViewAchFromMenu);
if (!_local3){
PageStart.addChild(_local1);
};
};
_local1 = new ButtonContainer(320, 295, 31, 250, 54);
if (((_local2) || (_local2))){
_local1.addEventListener(MouseEvent.CLICK, ViewHighScoresClick);
if (((_local2) || (this))){
PageStart.addChild(_local1);
};
};
if (!_local3){
//unresolved if
};
_local1 = new ButtonContainer(320, (320 + 50), 3, 250, 54);
if (!_local3){
_local1.addEventListener(MouseEvent.CLICK, CreditsBtnClick);
//unresolved jump
var _temp2 = _local2;
_local2 = this;
_local2++;
if (((_local2) || (this))){
PageStart.addChild(_local1);
};
};
_local1 = new ButtonContainer(320, (395 + 35), 4, 250, 54);
if (!((_local3) && (this))){
//unresolved jump
PageCredits = new CreditsPage();
if (!((_local3) && (_local3))){
//unresolved if
//unresolved if
addChild(PageStart);
};
//unresolved if
//unresolved jump
PageStart.addChild(_local1);
};
//unresolved jump
_local1.addEventListener(MouseEvent.CLICK, PlayMoreClick);
//unresolved jump
_local1 = new ButtonContainer(320, 500, 5, 190, 54);
if (((_local2) || (_local2))){
//unresolved jump
PageAchievements = new AchPage();
//unresolved if
//unresolved if
};
if (!true){
PageCredits.addChild(_local1);
//unresolved jump
_local1.addEventListener(MouseEvent.CLICK, CreditsBackBtnClick);
//unresolved jump
};
//unresolved jump
_local2--;
_local2--;
var _temp3 = _local2;
_local2 = 190;
_local2--;
_local2++;
_local2++;
_local2++;
_local2 = 5;
_local2--;
_local1 = new _temp1.ButtonContainer(this, , 320, 515, 54);
if (!_local3){
//unresolved jump
return;
//unresolved if
PageGame = new GamePage();
if (!_local3){
//unresolved jump
PageAchievements.addChild(_local1);
};
//unresolved if
};
//unresolved jump
_local1.addEventListener(MouseEvent.CLICK, AchBackBtnClick);
//unresolved jump
}
private function PlayMoreBtnClick(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2 = false;
_local2--;
_local2--;
_local2--;
_local2--;
var _local3 = (((//unresolved nextvalue or nextname is !NULL!) / !NULL!) / !NULL!);
if (((_local2) || (_arg1))){
trace("play more");
};
return;
}
public function react2Snow(_arg1:int):void{
//unresolved jump
_local4++;
var _local4 = arguments;
var _local5 = typeof((true >>> (-(false) + 1)));
if (!_local4){
//unresolved jump
//unresolved jump
giveAch(nextAchSnowId);
//unresolved if
//unresolved if
prevSnowVal = _arg1;
if (_local5){
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
//unresolved jump
var _local2 = GameResults.data.gameStats[1];
_local4++;
_local4--;
_local3++;
_local3++;
(??hasnext
+ _arg1)[!NULL!] = !NULL!;
};
if (!((_local4) && (arguments))){
//unresolved jump
prevSnowVal = _arg1;
};
};
//unresolved jump
//unresolved if
GameResults.data.gameStats[1] = (GameResults.data.gameStats[1] + (_arg1 - prevSnowVal));
//unresolved jump
if (_local5){
};
var _local3 = nextAchSnowId;
if (_local5){
//unresolved jump
_local4++;
_local3--;
_local2--;
(undefined >>> !NULL!).nextAchSnowId = _local3;
};
if (_local5){
nextAchSnow = ConstLibrary.achSnowVal[(nextAchSnowId - 16)];
if (((_local5) || (_arg1))){
//unresolved if
};
};
return;
}
private function ViewAchFromMenu(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local2--;
_local2--;
var _local2 = ((true * false) + (_local3 >> _local3));
!ERROR! //unresolved jump
_local2--;
_local2 = !NULL!;
_local2 = this;
if (!((_local2) && (_local2))){
//unresolved jump
return;
//unresolved if
TransitPages(PageStart, PageAchievements);
//unresolved if
};
//unresolved jump
PageAchievements.isFromMainMemu = true;
//unresolved jump
}
private function InstructionsBackBtnClick(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local2++;
!ERROR! !ERROR! if (((_local3) || (this))){
TransitPages(PageInstructions, PageStart);
};
return;
}
private function EndGameBtnClick(_arg1:MouseEvent):void{
//unresolved jump
_local2++;
var _local2:*;
_local2++;
_local2++;
_local2--;
var _local3:Boolean;
if (!((_local2) && (_local3))){
TransitPages(PageGame, PageLevelSelect);
};
return;
}
private function CreditsToPlayBtnClick(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2--;
_local2--;
_local2--;
var _local3 = ((false as !(_local2)) * null);
if (_local2){
TransitPages(PageCredits, PageLevelSelect);
};
return;
}
private function InstructionsToPlayBtnClick(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
var _local2 = (false + _local2);
_local2 = true;
var _local3 = ??hasnext
;
if (_local3){
TransitPages(PageInstructions, PageLevelSelect);
};
return;
}
private function CreditsBtnClick(_arg1:MouseEvent):void{
//unresolved jump
var _local2:* = false;
var _local3 = (((true >> !NULL!) ^ !NULL!) >>> !NULL!);
if (_local3){
TransitPages(PageStart, PageCredits);
};
return;
}
public function ViewAchFromGame(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local2--;
var _local2:*;
var _local3 = ~((false instanceof (_local3 - NaN)));
//unresolved jump
_local2++;
_local2--;
_local2--;
if (!((_local2) && (this))){
//unresolved jump
return;
//unresolved if
TransitPages(PageGame, PageAchievements);
//unresolved if
};
//unresolved jump
PageAchievements.isFromMainMemu = false;
//unresolved jump
}
public function getUnlockedAch():int{
var _local3:Boolean;
//unresolved jump
_local2--;
_local3++;
_local2++;
var _local4 = ((((false + _local3) - !NULL!) + 1) ^ !NULL!);
var _local1:int;
var _local2:int;
if (((_local3) || (_local1))){
//unresolved jump
if (!_local4){
//unresolved if
//unresolved if
//unresolved jump
_local3++;
_local2--;
_local2 = (((!NULL! - 1) == !NULL!) << !NULL!);
_local2++;
//unresolved if
//unresolved if
};
return (_local2);
//unresolved jump
_local2--;
_local3++;
//unresolved if
_local2++;
//unresolved jump
//unresolved jump
//unresolved if
_local1++;
//unresolved jump
//unresolved if
_local2 = 0;
//unresolved if
};
//unresolved jump
_local1 = 0;
//unresolved jump
}
private function ViewHighScoresClick(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2--;
var _local3 = _local2;
_local2--;
_local2 = false;
_local2 = !NULL!;
_local3 = !NULL!;
if (((_local2) || (_local2))){
Linx.openURL("http://www.arcadetown.com/snowtree/view_high_scores.asp");
};
return;
}
private function InstructionsBtnClick(_arg1:MouseEvent):void{
//unresolved jump
arguments++;
_local2++;
var _local2 = (-(((((true <= false) + 1) - !NULL!) + 1)) - 1);
!ERROR! if (((_local3) || (this))){
TransitPages(PageStart, PageInstructions);
};
return;
}
public function react2Stars(_arg1:int):void{
//unresolved jump
_local4++;
var _local4:Boolean = //unresolved nextvalue or nextname;
!ERROR! for (;_arg1 >= nextAchStars;(!NULL!.nextAchStarsId = !NULL!), //unresolved if
, (nextAchStars = ConstLibrary.achStars[(nextAchStarsId - 29)]), //unresolved if
) {
giveAch(nextAchStarsId);
//unresolved if
//unresolved jump
_local4++;
_local3--;
_local3++;
if (!(_arg1 - null)){
null;
};
if (null){
};
var _local3 = _local5;
//unresolved if
continue;
_local3--;
_local4 = (_local2 * _local3);
_local2++;
};
return;
}
private function MusicOffClicked(_arg1:MouseEvent):void{
//unresolved jump
var _local2:Boolean;
_local2++;
_local2 = null;
_local2++;
_local2 = true;
var _local3 = ((true > !NULL!) << );
//unresolved jump
_local2++;
_local2++;
_local2 = //unresolved nextvalue or nextname;
_local2++;
_local2--;
if (!_local2){
//unresolved jump
return;
//unresolved if
SoundPlayer.StopMusic();
if (!_local2){
//unresolved jump
btnMusicOff.visible = false;
};
//unresolved if
};
//unresolved jump
btnSndOff.visible = true;
//unresolved jump
}
public function react2Height(_arg1:Number, _arg2:int):void{
var _local5:Boolean;
//unresolved jump
_local4++;
var _local6 = _arg2;
for (;_arg1 >= nextAchHeight;(arguments.nextAchHeightId = _local4), //unresolved if
, //unresolved jump
, return, //unresolved if
, ) {
giveAch(nextAchHeightId);
//unresolved if
var _temp2 = arguments;
if (_local5){
};
var _local4 = nextAchHeightId;
//unresolved if
continue;
_local3--;
};
if (!((_local6) && (_arg1))){
//unresolved if
//unresolved if
//unresolved if
};
GameResults.data.gameStats[0] = _arg2;
//unresolved jump
nextAchHeight = ConstLibrary.achHeight[(nextAchHeightId - 1)];
//unresolved jump
}
public function react2FinalScore(_arg1:int):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2 = false;
_local2 = !NULL!;
_local2++;
_local2--;
var _local3 = ??getglobalscope
;
if (!_local3){
//unresolved jump
return;
//unresolved if
if (!((_local3) && (this))){
//unresolved if
//unresolved if
//unresolved if
if (((_local2) || (_arg1))){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
_local2--;
var _temp1 = ((_local2 <= !NULL!) & !NULL!);
GameResults.data.gameStats[4] = _arg1;
};
//unresolved if
//unresolved jump
};
//unresolved if
if (((_local2) || (_arg1))){
//unresolved if
//unresolved if
if (!((_local3) && (_arg1))){
giveAch(39);
};
//unresolved jump
};
//unresolved if
//unresolved if
if (((_local2) || ((_local2 & (_arg1 >>> _local2))))){
giveAch(38);
};
//unresolved jump
//unresolved if
giveAch(37);
//unresolved if
};
//unresolved jump
//unresolved if
if (!((_local3) && (_arg1))){
giveAch(36);
};
//unresolved jump
}
private function onCloakerEnterFrame(_arg1:Event):void{
var _local4:Boolean;
//unresolved jump
_local4--;
_local3--;
_local4--;
var _local5 = (-(arguments) + 1);
if (!((_local5) && (_local3))){
if (!_local5){
};
var _local3 = cloakerFramesCount;
if (((_local4) || (this))){
cloakerFramesCount = _local3;
};
//unresolved if
//unresolved jump
return;
//unresolved if
removeChild(cloaker);
if (((_local4) || (_arg1))){
//unresolved jump
//unresolved jump
var _local2 = _local5;
with (cloakerFramesCount) {
};
_local4++;
_local2++;
//unresolved if
//unresolved if
//unresolved if
if (((_local4) || (this))){
//unresolved if
cloaker.removeEventListener(Event.ENTER_FRAME, onCloakerEnterFrame);
};
};
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
pageChangeTo.StartAllChildrenAnimation();
//unresolved jump
pageChangeFrom.StopAllChildrenAnimation();
//unresolved jump
removeChild(pageChangeFrom);
if (((_local4) || (_local3))){
//unresolved jump
//unresolved if
};
addChildAt(pageChangeTo, 1);
//unresolved jump
}
public function giveAch(_arg1:int):void{
var _local3:Boolean;
//unresolved jump
var _local2:Boolean;
_local3++;
var _local4 = _local2;
_local2 = null;
if (((_local3) || (_local2))){
//unresolved if
//unresolved jump
_local2++;
_local3++;
_local3--;
_local3 = (_local4 - 1);
_local3++;
if (!_local3){
GameResults.data.Achievements[_arg1] = true;
};
};
_local2 = new AchInformer(_arg1);
//unresolved jump
_local2++;
_local2 = ((??getglobalscope
- this) === ((_local3 >>> _local3) & this));
_local2--;
if (!(((!NULL! / !NULL!) - 1) - !NULL!)){
!NULL!;
};
if (!NULL!){
//unresolved jump
SoundPlayer.PlayASoundID(3);
if (_local3){
//unresolved if
//unresolved if
PageAchievements.updateAch(_arg1);
};
};
//unresolved jump
addChild(_local2);
//unresolved jump
return;
}
private function LevelsBackBtnClick(_arg1:MouseEvent):void{
//unresolved jump
arguments++;
_local2--;
_local2++;
_local2++;
var _temp1 = arguments;
var _temp2 = _local2;
var _local2 = _local2;
var _local3 = _temp2;
if (_local3){
TransitPages(PageLevelSelect, PageStart);
};
return;
}
public function TransitPages(_arg1, _arg2:GeneralPageType):void{
//unresolved jump
_arg2++;
_arg2++;
arguments--;
_arg2++;
_arg2--;
var _local3 = (null % this);
var _local4 = (true + false);
if (((_local4) || (this))){
//unresolved jump
return;
//unresolved if
//unresolved if
if (_local4){
//unresolved if
//unresolved if
removeChild(emul);
};
if (!((_local3) && (_arg1))){
//unresolved jump
//unresolved if
if (!_local3){
//unresolved if
//unresolved if
};
removeEventListener(Event.ENTER_FRAME, stepWorld);
//unresolved if
//unresolved jump
_local3 = _arg2;
_local3--;
_arg2++;
if (!_local3){
_arg1;
};
//unresolved if
//unresolved jump
addChildAt(emul, 0);
};
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
addEventListener(Event.ENTER_FRAME, stepWorld);
if (((_local4) || (_local3))){
//unresolved if
//unresolved jump
addChild(cloaker);
};
//unresolved jump
//unresolved jump
_local3--;
_local3--;
_local3 = _arg2;
_local3--;
_arg2--;
_local3++;
_arg2--;
cloaker.gotoAndPlay(1);
//unresolved jump
cloaker.addEventListener(Event.ENTER_FRAME, onCloakerEnterFrame);
//unresolved jump
cloakerFramesCount = 0;
if (!((_local3) && (_arg1))){
//unresolved jump
pageChangeTo = _arg2;
//unresolved jump
pageChangeFrom = _arg1;
};
//unresolved jump
}
private function SndOffClicked(_arg1:MouseEvent):void{
//unresolved jump
arguments++;
_local2--;
var _local2 = (((true & (false - 1)) % !NULL!) ^ _local3);
!ERROR! //unresolved jump
_local2--;
_local2--;
if (!_local2){
//unresolved jump
return;
//unresolved if
SoundPlayer.SoundSwitchOff();
if (_local3){
//unresolved if
//unresolved jump
btnSndOff.visible = false;
};
};
//unresolved jump
btnSndOn.visible = true;
//unresolved jump
}
private function SndOnClicked(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2 = false;
_local2++;
(_local2 % !NULL!);
_local2--;
_local2++;
_local2 = ~(!NULL!);
!ERROR! if (!((_local3) && (!NULL!))){
//unresolved jump
_local2++;
_local2++;
_local2--;
_local2++;
//unresolved jump
return;
//unresolved if
SoundPlayer.SoundSwitchOn();
if (((_local2) || (_local3))){
//unresolved if
//unresolved jump
btnSndOn.visible = false;
};
};
//unresolved jump
btnMusicOff.visible = true;
//unresolved jump
}
public static function addButton4Parent(_arg1:MovieClip, _arg2, _arg3:int, _arg4:int, _arg5:Function, _arg6:int=0, _arg7:int=0, _arg8:Number=1, _arg9:Number=1){
var _local12:Boolean;
//unresolved jump
_arg9++;
_arg6--;
_arg8--;
var _local13 = _arg1;
var _local10:SemiTransButton;
var _local11:AllTexts;
_local10 = new SemiTransButton();
_local10.x = _arg2;
if (!((_local13) && (_arg3))){
//unresolved jump
_local10.addEventListener(MouseEvent.CLICK, _arg5);
if (!_local13){
//unresolved if
//unresolved if
//unresolved if
_local10.scaleY = _arg9;
};
//unresolved jump
//unresolved jump
_local12++;
_arg5++;
_local10++;
_arg3++;
_arg5--;
_local10.scaleX = _arg8;
};
//unresolved jump
_local10.y = _arg3;
//unresolved jump
_local11 = new AllTexts(_arg4);
_local11.x = (_arg2 + _arg6);
if (!_local13){
//unresolved jump
return;
//unresolved if
_arg1.addChild(_local11);
//unresolved if
//unresolved jump
_arg4 = ((true + 1) <= (_local11 - 1));
_arg4--;
_local11 = (~(-(false)) instanceof !NULL!);
_arg3++;
};
//unresolved jump
_arg1.addChild(_local10);
if (((_local12) || (_arg2))){
//unresolved if
//unresolved jump
_local11.mouseEnabled = false;
};
//unresolved jump
_local11.y = (_arg3 + _arg7);
//unresolved jump
}
}
}//package
Section 21
//arcadetown_splash (arcadetown_splash)
package {
import flash.display.*;
import flash.events.*;
public class arcadetown_splash extends MovieClip {
public function arcadetown_splash(){
//unresolved jump
var _local1 = (((!NULL! + 1) < !NULL!) < !NULL!);
!ERROR! if (!_local1){
//unresolved jump
return;
//unresolved jump
//unresolved if
//unresolved jump
_local3;
(_local1 === false).addEventListener(MouseEvent.MOUSE_DOWN, Go2Sponsor);
//unresolved if
//unresolved if
};
//unresolved jump
addFrameScript(53, frame54, 93, frame94);
//unresolved jump
super();
//unresolved jump
}
function frame94(){
//unresolved jump
var _local1:String = typeof(typeof((//unresolved nextvalue or nextname * !NULL!)));
var _local2 = _local1;
//unresolved jump
with ((-(typeof(((~(!NULL!) is !NULL!) - 1))) - !NULL!)) {
};
_local2 = !NULL!;
if (!((_local1) && (_local1))){
//unresolved jump
return;
//unresolved if
//unresolved if
if (_local2){
//unresolved if
(parent as Main).gotoAndStop(4);
};
};
//unresolved jump
stop();
//unresolved jump
}
private function Go2Sponsor(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2 = false;
_local2 = !NULL!;
_local2 = !NULL!;
_local2--;
_local2--;
!ERROR! if (((_local2) || (_arg1))){
Linx.openURL("http://www.arcadetown.com/index.asp?gameid=snowtree");
};
return;
}
function frame54(){
return;
}
}
}//package
Section 22
//ATButton (ATButton)
package {
import flash.display.*;
import flash.events.*;
public class ATButton extends SimpleButton {
public function ATButton(){
var _local1:Boolean;
//unresolved jump
var _local3 = (false | ~(_local2));
var _local2:String = _local1;
//unresolved jump
if (!((((((((( * (( | NaN) * _local2)) * !NULL!) * !NULL!) * !NULL!) >= _local1) instanceof !NULL!) - 1)) && (_local2))){
//unresolved jump
return;
//unresolved if
addEventListener(MouseEvent.MOUSE_DOWN, Go2Sponsor);
//unresolved if
};
//unresolved jump
super();
//unresolved jump
}
private function Go2Sponsor(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local2++;
_local2--;
_local2--;
var _local2 = _arg1;
var _local3 = (true & ??hasnext
);
if (((_local3) || (_local2))){
Linx.openURL("http://www.arcadetown.com/index.asp?gameid=snowtree");
};
return;
}
}
}//package
Section 23
//BestResInformer (BestResInformer)
package {
import flash.display.*;
import flash.text.*;
public class BestResInformer extends Sprite {
public var resValTxt:TextField;
public function BestResInformer(){
var _local1:Boolean;
//unresolved jump
var _local3:* = (((false >= !NULL!) < (null - 1)) << true);
var _local2 = (!NULL! >= !NULL!);
//unresolved jump
if (((null - 1) * (null % _local1))){
//unresolved jump
return;
//unresolved if
mouseChildren = false;
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
mouseEnabled = false;
//unresolved jump
cacheAsBitmap = true;
//unresolved jump
super();
//unresolved jump
}
public function Init(_arg1:int, _arg2:Number):void{
var _local3:Boolean;
//unresolved jump
_local3++;
_local3 = -(false);
_arg2++;
_arg2++;
_local3 = !NULL!;
_local3--;
_local3--;
var _local4 = (!NULL! * !NULL!);
//unresolved jump
_arg2++;
_local3++;
if (!_local4){
//unresolved jump
return;
//unresolved if
resValTxt.text = Routines.showHeight(_arg2);
if (((_local3) || (_arg2))){
//unresolved jump
y = (550 - _arg1);
};
};
//unresolved jump
}
}
}//package
Section 24
//BlinkingStar (BlinkingStar)
package {
import flash.display.*;
public class BlinkingStar extends MovieClip {
private var sc0:Number;
public function BlinkingStar(){
var _local3:Boolean;
//unresolved jump
false;
_local2--;
var _local2:Boolean;
var _local4 = (((!NULL! - 1) & _local3) > !NULL!);
var _local1:int;
if (((_local3) || (_local3))){
//unresolved jump
if (_local3){
};
sc0 = (1 + 0.3);
//unresolved if
//unresolved jump
_local2--;
_local3--;
_local3--;
var _temp1 = (_local4 - (_local2 - 1));
if (!null){
//unresolved if
//unresolved if
gotoAndPlay(_local1);
};
if (_local3){
//unresolved jump
//unresolved jump
_local2++;
_local3++;
_local3++;
_local3--;
_local2--;
_local2--;
_local3++;
_local3--;
_local1 = _temp1.int(( + ((1 * Math.random()) * 350)));
};
//unresolved if
};
//unresolved jump
addFrameScript(349, frame350, 388, frame389);
//unresolved jump
super();
//unresolved jump
scaleX = (scaleY = sc0);
return;
}
function frame350(){
var _local1:Boolean;
//unresolved jump
var _local2:*;
if (((_local1) || (_local2))){
gotoAndPlay(1);
};
return;
}
function frame389(){
var _local1:Boolean;
//unresolved jump
!ERROR! if (_local1){
stop();
};
return;
}
}
}//package
Section 25
//BlinkStar (BlinkStar)
package {
import flash.display.*;
public class BlinkStar extends MovieClip {
public var isActive:Boolean;
public function BlinkStar(){
//unresolved jump
var _local1 = (((-((true - false)) - 1) * !NULL!) as _local2);
!ERROR! if (_local2){
//unresolved jump
return;
//unresolved if
//unresolved jump
~(((!NULL! >= ( << undefined)) is !NULL!)).isActive = !NULL!;
if (!((_local1) && ((_local3 * !NULL!)))){
//unresolved if
//unresolved jump
stop();
};
//unresolved if
};
//unresolved jump
addFrameScript(13, frame14, 27, frame28, 41, frame42, 55, frame56);
//unresolved jump
super();
//unresolved jump
}
public function Activate(_arg1, _arg2:int):void{
var _local3:Boolean;
//unresolved jump
_arg2++;
_local3--;
_arg2++;
_local3++;
var _local4 = ??getglobalscope
;
if (!_local4){
//unresolved jump
return;
//unresolved if
isActive = true;
if (((_local3) || (_arg1))){
//unresolved jump
_arg2--;
_local3++;
if (-(_arg2)){
(_local4 / _local4);
};
//unresolved if
//unresolved jump
//unresolved jump
_local3++;
_arg2--;
_arg2--;
14.gotoAndPlay(( + (((Math.random() * 4) ^ undefined) * _local3.int(_arg2))));
};
if (_local3){
//unresolved jump
rotation = (Math.random() * 360);
};
//unresolved jump
y = _arg2;
//unresolved if
};
//unresolved jump
x = _arg1;
//unresolved jump
}
function frame14(){
//unresolved jump
var _local1 = (((((//unresolved nextvalue or nextname | !NULL!) === !NULL!) | !NULL!) is !NULL!) + !NULL!);
!ERROR! if (!_local1){
//unresolved jump
return;
//unresolved jump
//unresolved if
//unresolved jump
;
isActive = false;
if (!((_local1) && (_local2))){
//unresolved jump
//unresolved if
if (!_local1){
parent.removeChild(this);
};
};
//unresolved if
};
//unresolved jump
stop();
//unresolved jump
}
function frame28(){
var _local1:Boolean;
//unresolved jump
var _temp1 = _local2;
if (((_local1) || (this))){
//unresolved jump
return;
//unresolved jump
//unresolved if
isActive = false;
//unresolved jump
if (!_local2){
-(((_local1 / ) - 1));
};
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
};
parent.removeChild(this);
if (!((_local2) && (_local2))){
//unresolved jump
stop();
};
//unresolved jump
}
function frame42(){
//unresolved jump
var _local1 = ((!NULL! - !NULL!) | !NULL!);
!ERROR! if (!((_local1) && (??getglobalscope
))){
//unresolved jump
return;
//unresolved if
isActive = false;
if (_local2){
if (!_local1){
//unresolved jump
//unresolved if
};
//unresolved if
parent.removeChild(this);
};
};
//unresolved jump
stop();
//unresolved jump
}
function frame56(){
//unresolved jump
var _local2 = (true % false);
_local2 = !NULL!;
var _local1 = (((!NULL! + !NULL!) - 1) << !NULL!);
_local2 = !NULL!;
if (!((_local1) && ((((((((((-((_local1 + 1)) % ((NaN * ) - _local2)) instanceof !NULL!) | _local2) >= !NULL!) * !NULL!) >= !NULL!) - !NULL!) === this) == !NULL!)))){
//unresolved jump
return;
//unresolved if
isActive = false;
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
//unresolved if
parent.removeChild(this);
//unresolved jump
stop();
//unresolved jump
}
}
}//package
Section 26
//Bonus (Bonus)
package {
import flash.display.*;
public class Bonus extends MovieClip {
public var typeId:int;
public var uid:Number;
private var stripe:BonusStripe;
public var mustBRemoved:Boolean;
private var box:BonusBox;
public var isWaiting2Activate:Boolean;
public function Bonus(_arg1:int, _arg2:int, _arg3:int){
var _local4:Boolean;
//unresolved jump
_local4 = NaN;
_arg2--;
_arg3--;
//unresolved nextvalue or nextname;
var _local5 = _arg2;
if (!_local5){
//unresolved jump
return;
//unresolved if
isWaiting2Activate = true;
if (((_local4) || (this))){
//unresolved if
//unresolved if
//unresolved jump
uid = Math.random();
};
//unresolved if
//unresolved jump
stop();
//unresolved jump
_local4++;
_arg2--;
if (!-(((_local4 === _local4) >= !NULL!))){
!NULL!;
};
if (!NULL!){
//unresolved if
//unresolved jump
typeId = _arg1;
//unresolved if
//unresolved jump
y = _arg3;
};
if (!_local5){
//unresolved if
//unresolved jump
x = _arg2;
};
if (!_local5){
//unresolved if
//unresolved jump
mustBRemoved = false;
//unresolved jump
_arg2++;
_arg3++;
_arg3--;
_arg2 = ((!NULL! as !NULL!) == !NULL!);
_local4--;
//unresolved jump
addChild(stripe);
};
};
//unresolved jump
addChild(box);
//unresolved jump
box = new BonusBox();
//unresolved jump
stripe = new BonusStripe();
//unresolved jump
addFrameScript(26, frame27);
if (_local4){
//unresolved jump
super();
};
//unresolved jump
}
public function Activate():void{
//unresolved jump
!ERROR! //unresolved jump
if (!((_local1) && (_local1))){
//unresolved jump
return;
//unresolved if
isWaiting2Activate = false;
if (!((_local1) && (this))){
//unresolved jump
Open();
};
};
//unresolved jump
}
public function Open():void{
//unresolved jump
var _local1 = !(??getglobalscope
);
var _local2 = (true < ~(typeof(this)));
//unresolved jump
null;
if (!((_local1) && (_local2))){
//unresolved jump
return;
//unresolved if
box.play();
if (_local2){
//unresolved if
//unresolved jump
stripe.play();
};
//unresolved jump
play();
};
//unresolved jump
}
private function OpenEnded():void{
var _local1:Boolean;
//unresolved jump
var _local2 = _local3;
//unresolved jump
if (!((typeof((((_local3 instanceof undefined) > typeof(true)) - 1))) && (this))){
//unresolved jump
return;
//unresolved if
mustBRemoved = true;
if (((_local1) || (_local2))){
//unresolved jump
World.world.addRandomBonus(x, y);
};
};
//unresolved jump
}
function frame27(){
var _local1:Boolean;
//unresolved jump
!ERROR! //unresolved jump
_local2 = ((this * !NULL!) instanceof !NULL!);
if (!((_local2) && (_local2))){
//unresolved jump
return;
//unresolved if
stop();
//unresolved if
};
//unresolved jump
OpenEnded();
//unresolved jump
}
}
}//package
Section 27
//BonusBox (BonusBox)
package {
import flash.display.*;
public class BonusBox extends MovieClip {
public function BonusBox(){
//unresolved jump
var _local1:Number;
var _local2 = ((!NULL! + !NULL!) | !NULL!);
if (!((_local1) && (this))){
//unresolved jump
return;
//unresolved jump
//unresolved if
//unresolved jump
((((((((!NULL! instanceof !NULL!) - 1) & ( ^ //unresolved nextvalue or nextname)) > !NULL!) << !NULL!) * !NULL!).int(!NULL!) * !NULL!) + !NULL!).gotoAndStop(!NULL!);
if (!_local1){
//unresolved if
//unresolved jump
addFrameScript(20, frame21, 50, frame51, 80, frame81, 110, frame111);
};
};
//unresolved jump
super();
//unresolved jump
}
function frame81(){
var _local1:Boolean;
//unresolved jump
var _local2 = ((((((false & !NULL!) >> !NULL!) * !NULL!) === !NULL!) as !NULL!) >>> !NULL!);
if (((_local1) || (_local2))){
stop();
};
return;
}
function frame21(){
//unresolved jump
var _local1:*;
var _local2 = (-(((false >>> !NULL!) + !NULL!)) | undefined);
if (((_local2) || (_local2))){
stop();
};
return;
}
function frame111(){
var _local1:Boolean;
//unresolved jump
var _local2:String = _local2;
if (_local1){
stop();
};
return;
}
function frame51(){
var _local1:Boolean;
//unresolved jump
var _local3 = (((!((//unresolved nextvalue or nextname ^ !NULL!)) + !NULL!) - 1) / !NULL!);
var _local2:Boolean;
if (!((_local2) && (this))){
stop();
};
return;
}
}
}//package
Section 28
//BonusIcon (BonusIcon)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class BonusIcon extends MovieClip {
private var destY:Number;
public var bonNumTxt:TextField;
private var newValMustB:int;
private var TTL:Number;
private var destX:Number;
public function BonusIcon(_arg1:int, _arg2:int, _arg3:int=1, _arg4:int=1, _arg5:int=0){
var _local6:Boolean;
//unresolved jump
_arg2--;
_arg2++;
_local6++;
_arg5 = false;
_arg2--;
_arg2--;
var _local7 = !((!NULL! | !NULL!));
if (!_local7){
//unresolved jump
return;
//unresolved if
addEventListener(Event.ENTER_FRAME, Move2Target);
if (((_local6) || (_arg1))){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
mouseChildren = false;
};
if (!_local7){
//unresolved if
//unresolved jump
mouseEnabled = false;
if (!((_local7) && (_arg1))){
//unresolved jump
_arg4++;
_arg2++;
//unresolved jump
newValMustB = _arg5;
};
//unresolved if
//unresolved jump
TTL = 0;
};
if (_local6){
//unresolved if
//unresolved jump
y = _arg2;
//unresolved if
//unresolved jump
x = _arg1;
};
//unresolved if
//unresolved jump
bonNumTxt.text = _arg4.toString();
//unresolved if
//unresolved jump
_arg4++;
_arg3--;
_local6 = _local7;
_arg2++;
_arg2--;
//unresolved if
};
//unresolved jump
destY = 11;
//unresolved jump
//unresolved jump
destX = 525;
//unresolved jump
destY = 25;
//unresolved jump
//unresolved if
destX = 145;
//unresolved jump
gotoAndStop(_arg3);
//unresolved jump
super();
//unresolved jump
}
private function Move2Target(_arg1:Event):void{
//unresolved jump
var _local3:Boolean;
arguments--;
_local2++;
var _local2 = ((true == arguments) / !NULL!);
_local3 = !NULL!;
if (((_local3) || (this))){
//unresolved jump
return;
//unresolved if
dispatchEvent(new Event(Event.COMPLETE));
if (!_local2){
//unresolved if
//unresolved jump
removeEventListener(Event.ENTER_FRAME, Move2Target);
};
if (((_local3) || (this))){
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
};
parent.removeChild(this);
if (!_local2){
//unresolved if
//unresolved jump
//unresolved jump
_local2 = !((0.05 === true));
_local2++;
(((//unresolved nextvalue or nextname * (destY - y)) * TTL) + !NULL!).y = !NULL!;
//unresolved jump
x = (x + ((0.25 * (destX - x)) * TTL));
};
//unresolved jump
if (_local3){
};
TTL = TTL;
//unresolved jump
}
}
}//package
Section 29
//BonusStripe (BonusStripe)
package {
import flash.display.*;
public class BonusStripe extends MovieClip {
public function BonusStripe(){
var _local1:Boolean;
//unresolved jump
var _local2:uint = ((false * !NULL!) is true);
_local2 = ((!NULL! + 1) >> !NULL!);
if (_local1){
//unresolved jump
return;
//unresolved if
//unresolved jump
_local2 = ( >>> ((Math.random() >>> (4 + 1)) - 1));
((( * ??hasnext
).int(!NULL!) * !NULL!) + !NULL!).gotoAndStop(!NULL!);
if (((_local1) || (_local1))){
//unresolved if
//unresolved jump
addFrameScript(20, frame21, 50, frame51, 80, frame81, 110, frame111, 166, frame167, 225, frame226);
};
//unresolved jump
super();
};
//unresolved jump
}
function frame167(){
var _local1:Boolean;
//unresolved jump
var _local2:Object = (!NULL! * (false / typeof(this)));
if (!((_local2) && (_local1))){
stop();
};
return;
}
function frame81(){
var _local1:Boolean;
//unresolved jump
var _local2 = //unresolved nextvalue or nextname;
if (!((_local2) && (_local2))){
stop();
};
return;
}
function frame226(){
//unresolved jump
var _local1 = ((((-(((true ^ false) > !NULL!)) << !NULL!) < !NULL!) / !NULL!) - 1);
!ERROR! if (!_local1){
stop();
};
return;
}
function frame21(){
//unresolved jump
var _local2 = (true >>> false);
var _local1:String = (!NULL! <= !NULL!);
_local2 = !NULL!;
if (!((_local1) && (_local2))){
stop();
};
return;
}
function frame111(){
var _local1:Boolean;
//unresolved jump
var _local3 = (!(!NULL!) + 1);
var _local2:int = typeof(_local3);
if (_local1){
stop();
};
return;
}
function frame51(){
var _local1:Boolean;
//unresolved jump
var _local2 = ((((false / !NULL!) == !NULL!) - undefined) >> !NULL!);
if (!_local2){
stop();
};
return;
}
}
}//package
Section 30
//ButtonContainer (ButtonContainer)
package {
import flash.display.*;
import flash.events.*;
public class ButtonContainer extends Sprite {
private var btnGlow:UniversalMovingGlow;
private var txtGlow:UniversalMovingGlow;
private var btn:NewRoundRectButton;
private var bon:Bonus;
public function ButtonContainer(_arg1, _arg2, _arg3:int, _arg4:int=200, _arg5:int=54){
//unresolved jump
_arg3--;
_arg4++;
_arg4--;
_arg4++;
_arg4++;
var _local6 = -((false - _arg5));
var _local7:Boolean;
if (((_local7) || (_arg2))){
//unresolved jump
return;
//unresolved if
y = _arg2;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
x = _arg1;
if (!_local6){
//unresolved if
//unresolved jump
if (((_local7) || (_arg3))){
btn.addEventListener(MouseEvent.MOUSE_DOWN, onDown);
//unresolved if
//unresolved jump
//unresolved jump
_arg4--;
_arg5++;
_arg4--;
};
if (!_local6){
btn.addEventListener(MouseEvent.MOUSE_OVER, onBtnOver);
//unresolved if
//unresolved if
//unresolved jump
};
btn.addEventListener(MouseEvent.MOUSE_OUT, onBtnOut);
//unresolved jump
addChild(txtGlow);
//unresolved jump
txtGlow = new UniversalMovingGlow(_arg3);
//unresolved jump
btnGlow = new UniversalMovingGlow(0, _arg4, _arg5, 20);
};
if (!((_local6) && (this))){
//unresolved jump
addChild(btn);
//unresolved jump
if (!((_local6) && (this))){
//unresolved if
};
if (!_local6){
//unresolved if
};
btn = new NewRoundRectButton(-(_arg4), -(_arg5), _arg3, _arg4, _arg5);
};
//unresolved jump
super();
//unresolved jump
}
private function onBtnOut(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local2++;
_local2--;
_local2--;
_local2--;
var _local2 = typeof(this);
var _local3 = (false - 1);
if (!((_local2) && (_local3))){
txtGlow.StopAnim();
};
return;
}
private function onDown(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2++;
_local2--;
var _local3 = typeof(((false === NaN) - _local2));
if (((_local2) || (this))){
SoundPlayer.PlayASoundID(1);
};
return;
}
private function onBtnOver(_arg1:MouseEvent):void{
//unresolved jump
var _local2:Boolean;
_local2--;
_local2 = _arg1;
_local2--;
_local2 = false;
_local2 = (true + 1);
!ERROR! if (_local3){
txtGlow.StartAnim();
};
return;
}
}
}//package
Section 31
//Cloaker (Cloaker)
package {
import flash.display.*;
public class Cloaker extends MovieClip {
public function Cloaker(){
//unresolved jump
var _local1 = (!(!NULL!) >= !NULL!);
!ERROR! //unresolved jump
if (((_local2) || (_local1))){
//unresolved jump
return;
//unresolved if
addFrameScript(19, frame20);
//unresolved if
};
//unresolved jump
super();
//unresolved jump
}
function frame20(){
//unresolved jump
var _local1 = ??getglobalscope
;
var _local2 = //unresolved nextvalue or nextname;
if (!((_local1) && (_local1))){
stop();
};
return;
}
}
}//package
Section 32
//CloudInformer (CloudInformer)
package {
import flash.display.*;
import flash.text.*;
public class CloudInformer extends Sprite {
public var txtScore:TextField;
public var txt:TextField;
public var txttotal:TextField;
public function CloudInformer(){
var _local1:Boolean;
//unresolved jump
var _local2 = (!NULL! << typeof((((false as !NULL!) * this) === !NULL!)));
if (_local1){
super();
};
return;
}
public function showTotal(_arg1:int):void{
//unresolved jump
_local2--;
var _temp1 = (((false + true) % _local2) / !NULL!);
var _local2 = _local2;
var _local3 = _temp1;
if (!_local2){
//unresolved jump
return;
//unresolved jump
_local2--;
_local2--;
_local2--;
_local2 = -(!NULL!);
//unresolved if
//unresolved jump
_local2 = -(((!NULL! - 1) === !NULL!));
_local2++;
_local2++;
_local2++;
_local2--;
//unresolved jump
txttotal.text = (" of " + _arg1.toString());
//unresolved if
if (!((_local2) && (_local3))){
//unresolved jump
//unresolved if
};
};
txttotal.text = " of infinity";
//unresolved jump
}
public function showSnows(_arg1:int):void{
//unresolved jump
arguments--;
_local2++;
var _local2:Boolean;
_local2--;
_local2 = (true + !NULL!);
_local2 = (!NULL! as !NULL!);
!ERROR! if (_local3){
txt.text = _arg1.toString();
};
return;
}
public function showScore(_arg1:int):void{
var _local2:Boolean;
//unresolved jump
var _local3:Boolean;
_local2++;
_local2++;
_local2++;
_local2--;
_local3 = null;
if (((_local2) || (_local3))){
txtScore.text = _arg1.toString();
};
return;
}
}
}//package
Section 33
//CloudPart1 (CloudPart1)
package {
import flash.display.*;
public class CloudPart1 extends MovieClip {
private var side:Boolean;
private var b:Number;
private var a:Number;
private var isAbove:Boolean;
private var TTL:Number;
public function CloudPart1(_arg1, _arg2:int, _arg3:Boolean, _arg4:Boolean){
//unresolved jump
_arg2++;
_arg2--;
_arg3 = false;
_arg3--;
arguments--;
var _local5 = ((true & !NULL!) >>> !NULL!);
!ERROR! if (_local6){
//unresolved jump
return;
//unresolved if
cacheAsBitmap = true;
if (!((_local5) && (_arg2))){
//unresolved if
//unresolved jump
gotoAndStop((1 + int((Math.random() * 5))));
};
if (_local6){
//unresolved if
//unresolved if
//unresolved jump
y = ((a * (x - b)) * (x - b));
};
if (!((_local5) && (_arg1))){
//unresolved jump
_arg4++;
_local5--;
_arg4--;
var _temp1 = _arg2;
_arg2 = false;
//unresolved if
//unresolved jump
//unresolved if
if (((_local6) || (_arg1))){
if (_local6){
};
a = a;
};
//unresolved if
//unresolved jump
isAbove = _arg4;
};
if (((_local6) || (_arg2))){
//unresolved jump
TTL = 0;
//unresolved if
//unresolved jump
b = 320;
if (((_local6) || (_arg1))){
//unresolved jump
//unresolved jump
!NULL!;
_arg2--;
if (!_local5){
};
a = (100 / (320 + 100));
//unresolved jump
side = _arg3;
};
//unresolved jump
y = _arg2;
//unresolved jump
x = _arg1;
};
};
//unresolved jump
super();
//unresolved jump
}
public function move(_arg1:Number):void{
var _local3:Boolean;
//unresolved jump
var _local2:String = ((false - !NULL!) == !NULL!);
_local3++;
var _local4:Boolean;
_local2 = 0;
if (_local3){
//unresolved jump
return;
//unresolved if
y = ((a * (x - b)) * (x - b));
if (!((_local4) && (_local2))){
if (!((_local4) && (_arg1))){
//unresolved if
//unresolved jump
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
parent.addChild(this);
};
//unresolved jump
x = ((x)>740) ? (x - 840) : (x + 840);
if (((_local3) || (_local2))){
//unresolved jump
if (!((_local4) && (this))){
//unresolved jump
_local3 = -(a);
_local3--;
_local2++;
_local2--;
_local3 = (!NULL! ^ !NULL!);
_local3--;
_local3--;
};
a = a;
};
if (((_local3) || (_local2))){
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
isAbove = true;
};
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
(x > 740);
//unresolved if
};
//unresolved jump
if (_local3){
};
a = a;
if (_local3){
//unresolved jump
//unresolved if
};
if (!((_local4) && (_local2))){
//unresolved if
if (!_local4){
//unresolved if
isAbove = false;
//unresolved jump
y = ((a * (x - b)) * (x - b));
};
//unresolved jump
_local2--;
var _temp1 = ((!NULL! ^ !NULL!) & _local3);
_local2++;
_local3--;
if ((_temp1 + !NULL!)){
//unresolved jump
//unresolved jump
x = (x + _local2);
};
//unresolved jump
//unresolved if
x = (x - _local2);
//unresolved jump
if (_local3){
};
TTL = TTL;
};
//unresolved jump
_local2 = _arg1;
//unresolved jump
}
}
}//package
Section 34
//Clouds (Clouds)
package {
import flash.display.*;
public dynamic class Clouds extends Sprite {
public function Clouds(){
//unresolved jump
var _local1 = ??getglobalscope
;
var _local2 = (((!(//unresolved nextvalue or nextname) | !NULL!) >>> !NULL!) - 1);
if (((_local2) || (_local1))){
super();
};
return;
}
}
}//package
Section 35
//ConstLibrary (ConstLibrary)
package {
public class ConstLibrary {
public static const HelpLangOffset = 50;
public static const ScreenH:int = 550;
public static const achSnowVal:Array;
public static const TextsLangOffset = 50;
public static const multiplierHeight:Array;
public static const strLockNums:Array;
public static const ScreenW:int = 640;
public static const AchDescriptions:Array;
public static const achHeight:Array;
public static const achStars:Array;
public static const strLock:String = "abcdefghijklmnopqrstuvwxyz.-,/1234567890";
public static const achGifts:Array;
public function ConstLibrary(){
//unresolved jump
//unresolved nextvalue or nextname;
var _local1 = (((!NULL! === !NULL!) as !NULL!) + !NULL!);
!ERROR! if (_local2){
super();
};
return;
}
var _local1:Boolean;
//unresolved jump
var _local2 = (false instanceof !(((_local3 + 1) % false)));
if (!_local2){
//unresolved jump
return;
//unresolved if
AchDescriptions = ["The first snow", "Let the snowflake fall when vewing the menu", "One screen tall", "Reach the tree height of 1 metre", "Na'vi", "Reach the tree height of 3 metres", "Like a giraffe", "Reach the tree height of 6 metres", "Dinosaur height", "Reach the tree height of 10 metres", "Trafalgar Square Christmas tree", "Reach the tree height of 20 metres", "Brandenburger Tor", "Reach the tree height of 26 metres", "Statue of Liberty", "Reach the tree height of 50 metres", "The Kremlin", "Reach the tree height of 80 metres", "Big Ben", "Reach the tree height of 100 metres", "The Pyramids", "Reach the tree height of 150 metres", "Eiffel Tower", "Reach the tree height of 300 metres", "C.N.Tower", "Reach the tree height of 553 metres", "Burj Khalifa", "Reach the tree height of 828 metres", "Higher than any building", "Reach the tree height of 1 kilometre", "Ultimate height", "Reach the tree height of 2 kilometres", "It's snowing a little", "5 000 snowflakes fell", "The snow continues", "10 000 snowflakes fell", "20 000 snowflakes from the sky", "20 000 snowflakes fell", "Real snowfall", "50 000 snowflakes fell", "Blizzard", "100 000 snowflakes fell", "Snow storm", "200 000 snowflakes fell", "Snow Majesty", "500 000 snowflakes fell", "Snow maniac!", "1 000 000 snowflakes fell during several games", "The holiday begins!", "Get 1 gift", "Moar!", "Get 5 gifts", "So many of them!", "Get 10 gifts", "A hundred!", "Get 100 gifts", "A thousand!", "Get 1000 gifts during several games", "Success!", "Collect 50 stars from the gifts", "Great!", "Collect 100 stars", "Wonderful!", "Collect 200 stars", "Magnificient!", "Collect 500 stars", "Marvelous!", "Collect 1000 stars", "Unbeliveable!", "Collect 2000 stars", "Impossible!", "Collect 5000 stars in a single session", "Good result!", "Score 100 points", "Professional!", "Score 1000 points", "Master of the snow!", "Score 5000 points", "We are the champions!", "Score 10000 points", "Efficiency", "Spend 5000 snowflakes to reach 5 metres", "Catcher", "Don't let a single gift to fall", " ", " ", " ", " "];
if (((_local1) || (_local2))){
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
[, 50, (100 + (200 > (//unresolved nextvalue or nextname * (typeof(500) - 1)))), 5000, 2000000000, !NULL!, !NULL!, !NULL!].achStars = !NULL!;
};
if (((_local1) || (ConstLibrary))){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
achGifts = [1, 5, 10, 100, 1000, 2000000000];
};
if (_local1){
//unresolved jump
achSnowVal = [5000, 10000, 20000, 50000, 100000, 200000, 500000, 1000000, 2000000000];
//unresolved if
//unresolved jump
achHeight = [1, 3, 6, 10, 20, 26, 50, 80, 100, 150, 300, 553, 828, 1000, 2000, 1000000];
};
//unresolved if
//unresolved jump
multiplierHeight = [1, 3, 10, 30, 50, 100, 150, 250, 500, 750, 1000, 2000, 3000, 5000, 7000, 10000, 1000000];
//unresolved jump
strLock = "abcdefghijklmnopqrstuvwxyz.-,/1234567890";
};
//unresolved jump
//unresolved jump
[, 29, 29, 3, 11, 26, 3, 17, 14, 15, 1, 14, 23, 26, 2, 14, 12, 29, ((20 < (29 - (31 - 1))) * ConstLibrary), ((20 < (29 - (31 - 1))) * ConstLibrary), 35, 31, 39, 30, 30, 37, 29, !NULL!].strLockNums = !NULL!;
if (_local1){
//unresolved jump
ScreenH = 550;
};
//unresolved jump
//unresolved jump
//unresolved jump
//unresolved jump
}
}//package
Section 36
//CreditsPage (CreditsPage)
package {
import flash.events.*;
import flash.filters.*;
public class CreditsPage extends GeneralPageType {
public function CreditsPage(){
//unresolved jump
_local3--;
_local2--;
_local3--;
_local3++;
var _local4 = (((true + false) - 1) === !NULL!);
!ERROR! var _local1:AllTexts;
var _local2:SFGButton;
if (((_local5) || (_local1))){
super();
};
_local1 = new AllTexts(9);
if (((_local5) || (_local1))){
//unresolved jump
mouseChildren = true;
if (((_local5) || (this))){
//unresolved if
_local1.addEventListener(MouseEvent.MOUSE_DOWN, go2SFG);
};
if (!_local4){
//unresolved if
//unresolved jump
//unresolved jump
_local3++;
var _local3:Boolean;
_local2++;
_local4++;
(_local1 * undefined).buttonMode = _local3;
};
if (!_local4){
//unresolved if
//unresolved jump
_local1.mouseChildren = false;
};
//unresolved jump
_local1.mouseEnabled = false;
//unresolved if
//unresolved jump
addChild(_local1);
//unresolved if
};
//unresolved jump
_local1.y = 100;
//unresolved jump
_local1.x = 320;
//unresolved jump
_local2 = new SFGButton();
if (_local5){
_local2.x = (400 + 140);
//unresolved if
_local2.y = (200 - 59);
//unresolved jump
_local3--;
_local4++;
_local3++;
if ((((_local5 - 1) as this) >= !NULL!)){
_local2.scaleX = (_local2.scaleY = 2);
//unresolved if
};
};
//unresolved jump
return;
if (!true){
addChild(_local2);
if (!_local4){
//unresolved jump
_local2.filters = [new GlowFilter(0xFFFFFF)];
};
//unresolved jump
};
}
private function go2SFG(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
var _local3 = (//unresolved nextvalue or nextname > _local2);
if (!_local3){
Linx.openURL("http://smartflashgames.blogspot.com/");
};
return;
}
}
}//package
Section 37
//FBButton (FBButton)
package {
import flash.display.*;
import flash.events.*;
public class FBButton extends SimpleButton {
public function FBButton(){
var _local1:Boolean;
//unresolved jump
var _local2 = ((((!((!(!NULL!) is !NULL!)) >>> null) - 1) >= !NULL!) as !NULL!);
//unresolved jump
;
if (!_local2){
//unresolved jump
return;
//unresolved if
addEventListener(MouseEvent.MOUSE_DOWN, Go2Sponsor);
if (!((_local2) && (_local2))){
//unresolved jump
super();
};
};
//unresolved jump
}
private function Go2Sponsor(_arg1:MouseEvent):void{
//unresolved jump
_local2++;
var _local2 = (false % arguments);
_local2--;
_local2--;
var _local3:Boolean;
if (!_local2){
Linx.openURL("http://www.arcadetown.com/snowtree/gameonline.asp?ref=fb");
};
return;
}
}
}//package
Section 38
//GamePage (GamePage)
package {
import flash.display.*;
import mochi.as3.*;
import flash.events.*;
import flash.net.*;
import flash.filters.*;
public class GamePage extends GeneralPageType {
private var menuSprite:Sprite;
private var alreadyShownSubmit:Boolean;
private var goText:GOInformer;
private var gameResScore:int;
private var gameOverSprite:Sprite;
private var sw:SumbitWindow;
private var world:World;
private var worldBestScore:int;
public function GamePage(){
var _local5:Boolean;
//unresolved jump
_local4--;
_local4++;
_local3++;
_local3--;
var _local6 = (((!NULL! < !NULL!) == !NULL!) <= !NULL!);
var _local1:ButtonContainer;
var _local2:Shape;
var _local3:ATButton;
var _local4:SFGButton;
if (!_local6){
//unresolved jump
if (!_local6){
world.addEventListener(Event.COMPLETE, onGameOver);
//unresolved if
//unresolved if
//unresolved if
};
world.Attach(this);
//unresolved if
//unresolved jump
world = new World();
//unresolved if
};
//unresolved jump
worldBestScore = 0;
//unresolved jump
super();
//unresolved jump
_local1 = new ButtonContainer(625, 15, 18, 20, 20);
if (!_local6){
//unresolved jump
menuSprite.y = 100;
//unresolved if
//unresolved if
//unresolved if
};
if (!true){
menuSprite.x = 320;
//unresolved jump
menuSprite = new Sprite();
if (!_local6){
//unresolved jump
addChild(_local1);
//unresolved jump
_local1.addEventListener(MouseEvent.CLICK, menuCalled);
};
//unresolved jump
};
_local2 = new Shape();
if (_local5){
//unresolved jump
menuSprite.addChild(_local2);
if (!((_local6) && (_local1))){
//unresolved if
//unresolved if
_local2.graphics.endFill();
};
//unresolved if
};
//unresolved jump
_local2.graphics.drawRoundRect(-150, 0, 300, 260, 30);
//unresolved jump
_local2.graphics.beginFill(0, 0.5);
if (((_local5) || (_local2))){
//unresolved jump
_local2.graphics.lineStyle(3, 0xFFFFFF, 0.5);
};
//unresolved jump
_local1 = new ButtonContainer(0, 40, 15, 200, 54);
if (_local5){
_local1.addEventListener(MouseEvent.CLICK, resumeCalled);
if (((_local5) || (_local3))){
menuSprite.addChild(_local1);
};
};
_local1 = new ButtonContainer(0, 100, 2, 200, 54);
if (((_local5) || (this))){
_local1.addEventListener(MouseEvent.CLICK, rewardsCalled);
//unresolved if
};
menuSprite.addChild(_local1);
_local1 = new ButtonContainer(0, 160, 16, 200, 54);
if (!((_local6) && (_local1))){
_local1.addEventListener(MouseEvent.CLICK, restartCalled);
//unresolved if
};
menuSprite.addChild(_local1);
_local1 = new ButtonContainer(0, 220, 17, 200, 54);
if (!_local6){
//unresolved jump
gameOverSprite.y = 75;
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
_local3++;
_local2--;
_local2++;
_local2++;
};
if (!true){
gameOverSprite.x = 320;
if (_local5){
//unresolved jump
gameOverSprite = new Sprite();
//unresolved jump
menuSprite.addChild(_local1);
};
//unresolved jump
_local1.addEventListener(MouseEvent.CLICK, meuExitCalled);
//unresolved jump
};
_local2 = new Shape();
if (_local5){
//unresolved jump
gameOverSprite.addChild(_local2);
//unresolved if
//unresolved if
};
if (!true){
_local2.graphics.endFill();
if (((_local5) || (_local2))){
//unresolved jump
_local2.graphics.drawRoundRect(-200, 0, 400, 400, 30);
//unresolved jump
_local2.graphics.beginFill(0, 0.5);
};
if (((_local5) || (_local3))){
//unresolved jump
_local2.graphics.lineStyle(3, 8500478, 0.5);
};
//unresolved jump
};
_local1 = new ButtonContainer(-125, 300, 20, 130, 44);
if (!((_local6) && (_local2))){
_local1.addEventListener(MouseEvent.CLICK, restartCalled);
if (!((_local6) && (this))){
gameOverSprite.addChild(_local1);
};
};
_local1 = new ButtonContainer(125, 300, 21, 130, 44);
if (((_local5) || (_local1))){
_local1.addEventListener(MouseEvent.CLICK, meuExitCalled);
if (!((_local6) && (_local1))){
gameOverSprite.addChild(_local1);
};
};
_local1 = new ButtonContainer(-115, 370, 23, 150, 44);
if (!_local6){
_local1.addEventListener(MouseEvent.CLICK, rewardsCalled);
if (((_local5) || (_local3))){
gameOverSprite.addChild(_local1);
};
};
_local1 = new ButtonContainer(80, 370, 22, 220, 44);
if (!((_local6) && (this))){
_local1.addEventListener(MouseEvent.CLICK, moreGamesCalled);
if (_local5){
gameOverSprite.addChild(_local1);
};
};
_local3 = new ATButton();
if (!_local6){
//unresolved jump
gameOverSprite.addChild(_local3);
if (((_local5) || (_local3))){
//unresolved if
_local3.y = (420 + 27);
};
if (!_local6){
//unresolved jump
_local3.x = 0;
};
};
//unresolved jump
_local4 = new SFGButton();
_local4.x = 0;
if (!_local6){
//unresolved jump
return;
//unresolved if
alreadyShownSubmit = false;
if (_local5){
//unresolved if
//unresolved jump
sw = new SumbitWindow(this);
};
//unresolved jump
gameOverSprite.addChild(goText);
if (!((_local6) && (_local1))){
//unresolved if
//unresolved jump
_local2--;
_local3++;
//unresolved if
//unresolved jump
goText = new GOInformer();
};
//unresolved jump
gameOverSprite.addChild(_local4);
if (((_local5) || (this))){
//unresolved jump
_local4.filters = [new GlowFilter(0xFFFFFF)];
//unresolved jump
_local4.y = 300;
};
};
//unresolved jump
}
private function moreGamesCalled(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
_local2--;
_local2++;
var _local3 = ((false / true) is !NULL!);
if (((_local2) || (_local3))){
Linx.openURL("http://www.arcadetown.com/index.asp?gameid=snowtree");
};
return;
}
private function resumeCalled(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local2++;
_local2++;
_local2++;
//unresolved jump
_local2--;
_local2++;
var _temp1 = -(_local2);
var _local2 = (_local3 + 1);
_local2--;
_local2--;
_local2 = (_local3 <= _temp1);
var _local3 = (true <= false);
if (!_local2){
//unresolved jump
return;
//unresolved if
world.unPause();
//unresolved if
};
//unresolved jump
removeServiceSprites();
//unresolved jump
}
private function onDown(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2 = undefined;
_local2--;
var _local3 = (false < _local2);
if (_local2){
world.handleDown(_arg1.stageX, _arg1.stageY);
};
return;
}
private function onMove(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2 = ((false / !NULL!) >= !NULL!);
_local2--;
var _local3 = _local2;
//unresolved jump
_local2++;
_local3 = !NULL!;
if (((_local2) || (_arg1))){
//unresolved if
//unresolved if
};
world.handleMove(_arg1.stageX, _arg1.stageY);
return;
}
private function restartCalled(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local2--;
_local2--;
_local2--;
var _local2 = (true >>> (((false - 1) - 1) | _local2));
!ERROR! if (!((_local2) && (_local2))){
//unresolved jump
return;
//unresolved jump
_local2 = true;
_local2--;
_local2++;
//unresolved if
alreadyShownSubmit = false;
if (((_local3) || (_local3))){
//unresolved if
//unresolved jump
//unresolved if
world.unPause();
};
//unresolved if
//unresolved jump
world.Init();
};
//unresolved jump
removeServiceSprites();
//unresolved jump
}
private function SubmitWorldScore():void{
//unresolved jump
_local2--;
var _local2 = -(false);
_local2--;
var _temp1 = _local2;
var _temp2 = _local2;
_local2 = (_local2 - 1);
var _local3 = _temp2;
//unresolved jump
return;
if (!true){
worldBestScore = world.gameScore;
if (((_local3) || (_local3))){
//unresolved jump
MochiScores.showLeaderboard({boardID:boardID, score:world.gameScore});
};
if (!((_local2) && (this))){
//unresolved if
//unresolved jump
//unresolved if
//unresolved jump
_local2 = _local1;
(true ^ _temp1);
!NULL!;
_local2++;
//unresolved if
//unresolved if
//unresolved if
!ERROR! };
if (_local3){
//unresolved jump
//unresolved if
//unresolved if
//unresolved jump
_local2 = 6;
(15 / (6 & 2));
!ERROR! };
if (!_local2){
//unresolved jump
if (!((_local2) && (_local3))){
var boardID:String;
//unresolved jump
};
var o:Object;
};
//unresolved jump
};
}
private function removeServiceSprites():void{
//unresolved jump
var _local3:Boolean;
var _local1:Number;
var _local2:Number = (-(false) > null);
if (!_local1){
//unresolved jump
return;
//unresolved jump
//unresolved if
//unresolved jump
gameOverSprite;
_local3 = (undefined + (_local1 + 1));
//unresolved if
//unresolved if
//unresolved if
};
removeChild(gameOverSprite);
//unresolved jump
//unresolved if
if (((_local2) || (this))){
removeChild(menuSprite);
};
//unresolved jump
}
public function InitGame():void{
var _local1:Boolean;
//unresolved jump
(!NULL! - !NULL!);
var _local2 = //unresolved nextvalue or nextname;
if (((_local1) || (_local1))){
//unresolved jump
return;
//unresolved if
alreadyShownSubmit = false;
if (!_local2){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
removeServiceSprites();
};
if (_local1){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
world.unPause();
};
//unresolved jump
//unresolved if
world.Init();
//unresolved if
};
//unresolved jump
//unresolved if
addEventListener(MouseEvent.MOUSE_DOWN, onDown);
if (((_local1) || (_local2))){
//unresolved jump
//unresolved if
addEventListener(MouseEvent.MOUSE_MOVE, onMove);
//unresolved jump
//unresolved if
addEventListener(Event.ENTER_FRAME, onFrame);
//unresolved jump
world.pause();
};
//unresolved jump
}
private function submitCalled(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local2++;
_local2++;
var _local3 = _local3;
var _local4:Number = (((true - false) % !NULL!) & !NULL!);
//unresolved jump
return;
if (!true){
MochiScores.showLeaderboard({boardID:boardID, score:gameResScore});
if (_local4){
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
var boardID:String = o.f(0, "");
};
//unresolved jump
if (_local4){
//unresolved if
var o:Object = {n:[10, 14, 2, 1, 14, 15, 7, 3, 0, 15, 6, 2, 6, 0, 15, 14], f:function (_arg1:Number, _arg2:String):String{
if (_arg2.length == 16){
return (_arg2);
};
return (this.f((_arg1 + 1), (_arg2 + this.n[_arg1].toString(16))));
}};
//unresolved if
//unresolved if
//unresolved jump
};
var e = _arg1;
if (!_local3){
//unresolved jump
if (_local4){
//unresolved if
boardID = null;
//unresolved jump
};
o = null;
};
//unresolved jump
};
}
private function rewardsCalled(_arg1:MouseEvent):void{
//unresolved jump
arguments++;
_local2--;
_local2--;
_local2++;
var _temp1 = (((true == false) << !NULL!) < _local2);
var _local2:Number;
var _local3 = _temp1;
if (!_local2){
//unresolved jump
return;
//unresolved if
//unresolved jump
_local2--;
_local2++;
_local2--;
_local2--;
_local2.pause();
//unresolved if
};
//unresolved jump
//unresolved jump
_local2++;
_local2 = Application;
_local2++;
_local2 = (!NULL! === !NULL!);
_local2++;
if (!_local2){
_local2.application.TransitPages(Application.application.PageGame, Application.application.PageAchievements);
//unresolved if
//unresolved if
//unresolved jump
};
_local2.application.PageAchievements.isFromMainMemu = false;
//unresolved jump
removeServiceSprites();
//unresolved jump
}
private function menuCalled(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2++;
//unresolved jump
_local2++;
_local2++;
_local2--;
var _local3 = ~(((((((false > !NULL!) + (_local2 - 1)) < !NULL!) is !NULL!) >>> _local2) > !NULL!));
if (_local2){
//unresolved jump
return;
//unresolved if
addChild(menuSprite);
if (!((_local3) && (this))){
//unresolved jump
world.pause();
};
};
//unresolved jump
}
private function onFrame(_arg1:Event):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
_local2--;
_local2 = ((false - !NULL!) <= !NULL!);
_local2++;
var _local3 = _local2;
if (!_local3){
world.Step();
};
return;
}
private function onGameOver(_arg1:Event):void{
var _local4:Boolean;
//unresolved jump
arguments++;
_local4--;
_local3++;
_local2++;
var _local5 = _local4;
var _temp1 = _local2;
var _local2:int;
var _local3:int;
if (_local4){
//unresolved jump
return;
//unresolved if
alreadyShownSubmit = true;
if (_local4){
if (((_local4) || (_local2))){
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
};
//unresolved if
sw.Show(gameResScore);
};
if (!((_local5) && (_arg1))){
//unresolved if
//unresolved jump
SoundPlayer.PlayASoundID(2);
};
if (_local4){
//unresolved jump
addChild(gameOverSprite);
//unresolved if
//unresolved jump
_local3--;
_local3--;
//unresolved if
//unresolved jump
goText.setProperties(world.shownTreeHeight, world.gameScore, gameResScore, _local3);
//unresolved jump
//unresolved if
_local3 = int(((100 * _local2) / Application.application.maxAch));
};
//unresolved jump
if (_local4){
if (!_local5){
};
if (!((_local5) && (_local3))){
_local2 = Application.application.getUnlockedAch();
//unresolved if
//unresolved jump
};
//unresolved if
//unresolved jump
_local3--;
_local3 = Application.application;
_local4 = true;
_local4 = _temp1;
_local2--;
_local3 = (false / !NULL!);
_local3--;
};
//unresolved if
//unresolved if
Application.application.giveAch(41);
};
//unresolved jump
Application.application.react2FinalScore(gameResScore);
//unresolved jump
gameResScore = (world.gameScore + Math.ceil((world.shownTreeHeight * 10)));
//unresolved jump
}
public function ResumeGame():void{
var _local1:Boolean;
//unresolved jump
var _local2 = ((((((false % !NULL!) == !NULL!) % !NULL!) <= true) * !NULL!) < !NULL!);
if (!_local2){
world.unPause();
};
return;
}
private function meuExitCalled(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local2--;
_local2++;
var _temp1 = (-(false) * _local2);
var _local2 = this;
//unresolved jump
_local2++;
var _local3 = ((true >= _temp1) is !NULL!);
_local2--;
_local2++;
_local3 = ((??hasnext
as !NULL!) >= !NULL!);
if (!_local2){
//unresolved jump
return;
//unresolved if
Application.application.TransitPages(Application.application.PageGame, Application.application.PageStart);
//unresolved if
};
//unresolved jump
removeServiceSprites();
//unresolved jump
}
}
}//package
Section 39
//GeneralPageType (GeneralPageType)
package {
import flash.display.*;
public class GeneralPageType extends MovieClip {
public function GeneralPageType(){
var _local1:Boolean;
//unresolved jump
var _local2 = ((NaN - 1) - 1);
if (((_local1) || (_local1))){
//unresolved jump
//unresolved jump
return;
//unresolved if
y = 0;
//unresolved if
//unresolved if
};
//unresolved jump
x = 0;
//unresolved jump
super();
//unresolved jump
}
public function StartAllChildrenAnimation():void{
return;
}
public function StopAllChildrenAnimation():void{
return;
}
}
}//package
Section 40
//GetDown (GetDown)
package {
import flash.display.*;
public dynamic class GetDown extends SimpleButton {
public function GetDown(){
//unresolved jump
var _local3 = (false + (_local2 + 1));
var _local1:Boolean;
var _local2 = ((typeof(true) > !NULL!) is !NULL!);
if (!_local1){
super();
};
return;
}
}
}//package
Section 41
//GetGame (GetGame)
package {
import flash.display.*;
public dynamic class GetGame extends SimpleButton {
public function GetGame(){
//unresolved jump
var _local1 = ((((((true % false) ^ _local2) === !NULL!) instanceof !NULL!) & !NULL!) & NaN);
!ERROR! if (_local2){
super();
};
return;
}
}
}//package
Section 42
//GGButton (GGButton)
package {
import flash.display.*;
public dynamic class GGButton extends SimpleButton {
public function GGButton(){
//unresolved jump
var _local1 = typeof(??hasnext
);
var _local2:Boolean;
if (_local2){
super();
};
return;
}
}
}//package
Section 43
//GOInformer (GOInformer)
package {
import flash.display.*;
import flash.text.*;
public class GOInformer extends MovieClip {
public var rewTxt:TextField;
public var totTxt:TextField;
public var starsTxt:TextField;
public var heightTxt:TextField;
public function GOInformer(){
//unresolved jump
var _local1 = -((~(((true == true) | false)) * !NULL!));
!ERROR! if (!((_local1) && (_local1))){
super();
};
return;
}
public function setProperties(_arg1:Number, _arg2:int, _arg3:int, _arg4:int):void{
//unresolved jump
_arg4 = false;
_arg2--;
_arg2 = true;
arguments--;
_arg2 = arguments;
_arg3--;
_arg4++;
var _local5 = ??getglobalscope
;
!ERROR! if (((_local6) || (_arg1))){
//unresolved jump
return;
//unresolved if
//unresolved jump
_arg3++;
_arg2++;
_local5++;
_arg3++;
rewTxt.text = _arg4.toString();
//unresolved if
//unresolved jump
_arg4++;
_arg2 = (_local5 + _local5);
_arg4++;
_arg3 = (((((!NULL! - 1) / !NULL!) <= _arg3) + !NULL!) + 1);
if (!NULL!){
!NULL!;
};
//unresolved if
//unresolved if
};
//unresolved jump
totTxt.text = _arg3.toString();
//unresolved jump
starsTxt.text = _arg2.toString();
//unresolved jump
heightTxt.text = Routines.showHeight(_arg1);
//unresolved jump
}
}
}//package
Section 44
//HiddenMasks (HiddenMasks)
package {
import flash.display.*;
public class HiddenMasks extends MovieClip {
public function HiddenMasks(_arg1:int=1){
var _local2:Boolean;
//unresolved jump
_local2--;
_local2++;
_local2 = (//unresolved nextvalue or nextname >= !NULL!);
//unresolved jump
!NULL!;
_local2++;
_local2 = (!NULL! as !NULL!);
_local2++;
var _local3 = ((_local2 + 1) >= !NULL!);
if (!_local3){
//unresolved jump
return;
//unresolved if
gotoAndStop(_arg1);
if (!((_local3) && (_local3))){
//unresolved jump
super();
};
};
//unresolved jump
}
}
}//package
Section 45
//InstructionsPage (InstructionsPage)
package {
import flash.text.*;
public class InstructionsPage extends GeneralPageType {
public function InstructionsPage(){
//unresolved jump
_local2--;
_local2--;
_local2--;
var _local2 = //unresolved nextvalue or nextname;
var _local3 = _local2;
var _local1:TextField;
//unresolved jump
_local2++;
_local2--;
_local2 = true;
_local2--;
_local2++;
if (!((_local2) && (_local1))){
super();
};
var _temp1 = _local1;
_local1 = new TextField();
if (_local3){
//unresolved jump
return;
//unresolved if
addChild(_local1);
if (_local3){
//unresolved jump
_local1.text = "dis is der instructions page";
};
};
//unresolved jump
}
}
}//package
Section 46
//Land (Land)
package {
import flash.display.*;
public dynamic class Land extends Sprite {
public function Land(){
var _local1:Boolean;
//unresolved jump
var _local2 = (((false ^ !NULL!) <= ((_local3 + 1) < (false + 1))) - 1);
if (_local1){
super();
};
return;
}
}
}//package
Section 47
//LevelSelectPage (LevelSelectPage)
package {
import flash.text.*;
public class LevelSelectPage extends GeneralPageType {
public function LevelSelectPage(){
//unresolved jump
_local2++;
var _local2 = _local2;
_local2 = (false + 1);
_local2 = false;
_local2--;
_local2 = true;
!ERROR! var _local1:TextField;
//unresolved jump
_local2--;
_local2--;
_local2 = (_local3 + _local3);
if (!!NULL!){
!NULL!;
//unresolved jump
_local2--;
var _temp1 = _local2;
_local2 = ??getglobalscope
;
_local2++;
_local2++;
_local2 = (_temp1 + 1);
};
if (!NULL!){
super();
};
_local1 = new TextField();
if (_local3){
//unresolved jump
return;
//unresolved if
addChild(_local1);
//unresolved if
};
//unresolved jump
_local1.text = "dis is der level select page";
//unresolved jump
}
}
}//package
Section 48
//Linx (Linx)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.text.*;
import flash.system.*;
public class Linx {
private static var theStage:Stage;
private static var tf:TextField;
private static var popup:MovieClip;
private static var currentURL:String;
public function Linx(){
//unresolved jump
NaN;
var _local1 = typeof(null);
var _local2 = (typeof((true + false)) + !NULL!);
if (((_local2) || (_local1))){
super();
};
return;
}
private static function copyURL(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
_local2 = (false ^ !NULL!);
_local2--;
var _local3 = ((_local2 > !NULL!) & !NULL!);
//unresolved jump
_local2--;
_local2--;
if (_local2){
//unresolved jump
return;
//unresolved if
System.setClipboard(currentURL);
//unresolved if
};
//unresolved jump
tf.setSelection(tf.text.length, 0);
//unresolved jump
}
public static function openURL(_arg1:String):void{
var _local4:Boolean;
//unresolved jump
_local4--;
var _local5 = !(((false == !NULL!) == -(??getglobalscope
)));
var url = _arg1;
//unresolved jump
_local3--;
_local4--;
_local4--;
try {
//unresolved jump
_local2--;
var _temp1 = ((_local3 is !NULL!) * !NULL!);
var _local3:Boolean;
_local4--;
_local3 = ( << );
new _temp1.URLRequest(!NULL!).navigateToURL("_blank", !NULL!);
} catch(err:SecurityError) {
if (((_local4) || (_arg1))){
showPopup(_slot1);
};
};
return;
}
private static function showPopup(_arg1:String):void{
var _local3:Boolean;
//unresolved jump
arguments++;
_local3--;
_local2++;
var _local4 = (_local2 === _local3);
if (!((_local4) && (_local3))){
//unresolved jump
_local3--;
_local2--;
var _temp1 = //unresolved nextvalue or nextname;
var _local2 = (((tf >> (currentURL = _arg1)) + 1) + 1);
_temp1.text = !NULL!;
if (!((_local4) && (Linx))){
//unresolved jump
return;
//unresolved jump
_local3--;
_local2--;
_local2++;
//unresolved if
theStage.setChildIndex(popup, (theStage.numChildren - 1));
//unresolved if
//unresolved if
};
};
//unresolved jump
popup.visible = true;
if (_local3){
//unresolved jump
tf.setSelection(tf.text.length, 0);
//unresolved jump
theStage.focus = tf;
};
//unresolved jump
}
public static function init(_arg1:Stage, _arg2:Class):void{
//unresolved jump
_arg2--;
var _temp1 = typeof((false & (arguments >= (arguments >> true))));
var _local3 = arguments;
var _local4 = _temp1;
if (!_local3){
//unresolved jump
return;
//unresolved if
//unresolved jump
trace("NO URL TEXTFIELD");
if (!_local3){
//unresolved jump
tf.addEventListener(MouseEvent.CLICK, copyURL);
};
if (_local4){
if (!((_local3) && (Linx))){
//unresolved jump
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
tf.alwaysShowSelection = true;
};
if (!((_local3) && (_arg2))){
//unresolved jump
tf = popup.link_tf;
if (!((_local3) && (_arg1))){
//unresolved jump
//unresolved jump
//unresolved jump
_local3--;
_local3--;
_arg2 = ( >> ("NO COPY BUTTON" >= ("NO COPY BUTTON" == _arg2)));
true.trace(!NULL!);
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
};
popup.copy_bt.addEventListener(MouseEvent.CLICK, copyURL);
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
trace("NO POPUP CLOSE BUTTON!");
};
//unresolved jump
//unresolved if
popup.close_bt.addEventListener(MouseEvent.CLICK, closeMe);
//unresolved if
};
//unresolved jump
popup.visible = false;
//unresolved jump
//unresolved jump
_local3++;
_arg2--;
_arg2 = ((theStage.stageHeight / 2) << _local3);
_arg2++;
_local3.y = _arg1;
if (!((_local3) && (Linx))){
//unresolved jump
popup.x = (theStage.stageWidth / 2);
};
//unresolved jump
theStage.addChild(popup);
//unresolved jump
theStage = _arg1;
//unresolved jump
popup = new (_arg2);
//unresolved jump
}
private static function closeMe(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2++;
_local2++;
_local2--;
_local2++;
var _local3 = _local2;
if (!((_local3) && (_local3))){
popup.visible = false;
};
return;
}
}
}//package
Section 49
//Main (Main)
package {
import flash.display.*;
import flash.events.*;
import flash.ui.*;
public dynamic class Main extends MovieClip {
private var myContextMenu:ContextMenu;
public var preloader:Preloader;
public function Main(){
var _local1:Boolean;
//unresolved jump
var _local2 = ((_local2 ^ !NULL!) >= !NULL!);
if (((_local1) || (_local1))){
//unresolved jump
return;
//unresolved jump
//unresolved if
//unresolved jump
//unresolved jump
Event.ADDED_TO_STAGE;
((((((//unresolved nextvalue or nextname > !NULL!) % null) % ) ^ !NULL!) - !NULL!) + 1).addEventListener((true + ), init);
if (!((_local2) && (_local1))){
//unresolved jump
//unresolved if
if (!_local2){
//unresolved if
init();
};
};
//unresolved if
};
//unresolved jump
addFrameScript(0, frame1);
//unresolved jump
super();
//unresolved jump
}
private function init(_arg1:Event=null):void{
//unresolved jump
arguments--;
_local2--;
var _local3:Boolean = _local3;
var _local4 = _local2;
var _temp1 = (arguments as _local2);
var _local2:Shape;
_local2 = new Shape();
if (_local4){
//unresolved jump
return;
//unresolved if
//unresolved if
if (((_local4) || (_arg1))){
removeEventListener(Event.ADDED_TO_STAGE, init);
};
//unresolved if
//unresolved if
};
//unresolved jump
this.contextMenu = myContextMenu;
if (((_local4) || (this))){
//unresolved if
//unresolved jump
addCustomMenuItems();
if (((_local4) || (_arg1))){
//unresolved if
//unresolved if
//unresolved jump
_local2++;
_local2++;
//unresolved if
//unresolved if
//unresolved jump
removeDefaultItems();
};
//unresolved jump
myContextMenu = new ContextMenu();
};
if (((_local4) || (_local3))){
//unresolved if
//unresolved jump
if (_local4){
preloader.setLoaderInfo(loaderInfo);
//unresolved if
//unresolved jump
};
preloader.addEventListener(Event.COMPLETE, onPreloaderComplete);
//unresolved jump
stage.scaleMode = StageScaleMode.NO_SCALE;
};
//unresolved jump
Linx.init(stage, PopupLinkWindow);
if (((_local4) || (false))){
//unresolved jump
_local2.graphics.endFill();
//unresolved jump
stage.addChildAt(_local2, 0);
};
//unresolved jump
_local2.graphics.drawRect(0, 0, 640, 550);
//unresolved jump
_local2.graphics.beginFill(58);
//unresolved jump
_local2.graphics.lineStyle(0);
//unresolved jump
}
private function onATClick(_arg1:Event):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
var _local3 = !(_arg1);
if (!((_local3) && (_local3))){
Linx.openURL("http://www.arcadetown.com/index.asp?gameid=snowtree");
};
return;
}
function frame1(){
var _local1:Boolean;
//unresolved jump
var _local2 = -(-(((false > (!(undefined) - 1)) + 1)));
if (!((_local2) && (this))){
stop();
};
return;
}
private function addCustomMenuItems():void{
var _local2:Boolean;
//unresolved jump
_local2 = ??getglobalscope
;
_local2++;
_local2--;
_local2++;
var _local3 = _local2;
var _local1:ContextMenuItem;
_local1 = new ContextMenuItem("ArcadeTown");
if (_local2){
//unresolved jump
_local2 = ContextMenuEvent;
_local2 = typeof(_local1);
_local2 = (false >= (true === _local3));
_local2 = !NULL!;
!NULL!.MENU_ITEM_SELECT.addEventListener(onATClick, !NULL!);
if (_local2){
myContextMenu.customItems.push(_local1);
//unresolved jump
_local2++;
_local2++;
_local2++;
};
};
_local1 = new ContextMenuItem("Smart Flash Games");
if (!((_local3) && (_local3))){
//unresolved jump
return;
//unresolved if
myContextMenu.customItems.push(_local1);
if (!_local3){
//unresolved jump
_local1.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, onDevClick);
};
};
//unresolved jump
}
private function onDevClick(_arg1:Event):void{
//unresolved jump
arguments--;
_local2--;
var _local2 = ((true - false) > !NULL!);
_local2 = ((!NULL! * !NULL!) - !NULL!);
!ERROR! if (((_local3) || (this))){
Linx.openURL("http://smartflashgames.blogspot.com/");
};
return;
}
private function onPreloaderComplete(_arg1:Event):void{
var _local4:Boolean;
//unresolved jump
_local3++;
with (((false >> false) >= !NULL!)) {
};
var _local5 = (!NULL! == !NULL!);
var _local2:String;
var _local3:int;
if (_local4){
//unresolved jump
return;
//unresolved if
if (_local3 >= ConstLibrary.strLockNums.length){
if (((_local4) || (_local3))){
//unresolved jump
gotoAndStop(3);
};
if (((_local4) || (_local2))){
//unresolved if
//unresolved jump
_local3++;
};
//unresolved jump
//unresolved jump
_local3--;
_local4--;
_local4++;
//unresolved jump
};
if (!_local5){
};
//unresolved jump
_local3 = 0;
if (((_local4) || (_local2))){
//unresolved jump
_local2 = "";
};
};
//unresolved jump
}
private function removeDefaultItems():void{
//unresolved jump
_local2++;
_local2++;
_local2--;
var _local2 = -(_local2);
_local2++;
_local2++;
_local2--;
_local2 = false;
var _local3:Boolean;
//unresolved jump
var _local1:ContextMenuBuiltInItems;
if (((_local3) || (_local1))){
myContextMenu.hideBuiltInItems();
};
_local1 = myContextMenu.builtInItems;
if (!_local2){
_local1.print = true;
};
return;
}
}
}//package
Section 50
//Masker (Masker)
package {
import flash.display.*;
public dynamic class Masker extends Sprite {
public function Masker(){
//unresolved jump
false;
var _local1 = (-(arguments) === false);
var _local2 = (((true instanceof !NULL!) <= !NULL!) + 1);
if (!_local1){
super();
};
return;
}
}
}//package
Section 51
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public function MochiBot(){
//unresolved jump
var _local1:*;
var _local2 = (??getglobalscope
- NaN);
if (!_local1){
super();
};
return;
}
public static function track(_arg1:Sprite, _arg2:String):MochiBot{
var _local9:Boolean;
//unresolved jump
_local6--;
_local8++;
var _local4 = (null + 1);
var _local10 = ((false === !NULL!) / !NULL!);
var _local3:MochiBot;
_local4 = null;
var _local5:URLVariables;
var _local6:String;
var _local7:URLRequest;
var _local8:Loader;
if (!_local10){
if (Security.sandboxType == "localWithFile"){
if (!_local10){
return (null);
};
};
};
_local3 = new (MochiBot);
if (!_local10){
//unresolved jump
_local4 = "http://core.mochibot.com/my/core.swf";
if (_local9){
//unresolved if
Security.allowInsecureDomain("*");
};
//unresolved if
//unresolved if
};
//unresolved jump
Security.allowDomain("*");
//unresolved jump
_arg1.addChild(_local3);
//unresolved jump
_local5 = new URLVariables();
_local5["sb"] = Security.sandboxType;
if (!_local10){
//unresolved jump
//unresolved jump
_local5["url"] = "local";
if (((_local9) || (_arg2))){
//unresolved if
//unresolved jump
_local5--;
_local3--;
_local9++;
_local7--;
_local5--;
//unresolved if
//unresolved if
if (((_local9) || (_local3))){
_local6 = _local3.root.loaderInfo.loaderURL;
};
//unresolved if
if (_local9){
_local5["url"] = _local6;
};
};
if (!_local10){
//unresolved jump
_local5["fv"] = "9";
};
//unresolved jump
_local5["mv"] = "8";
//unresolved if
};
//unresolved jump
_local5["swfid"] = _arg2;
//unresolved jump
_local5["v"] = Capabilities.version;
//unresolved jump
_local7 = new URLRequest(_local4);
_local7.contentType = "application/x-www-form-urlencoded";
if (!((_local10) && (MochiBot))){
_local7.method = URLRequestMethod.POST;
//unresolved jump
_local8++;
_local9--;
_local9--;
_local5--;
if (!((_local9 % undefined) * _local8)){
_local9;
};
if (_local9){
_local7.data = _local5;
};
};
_local8 = new Loader();
if (!_local10){
//unresolved jump
return (_local3);
//unresolved if
_local8.load(_local7);
//unresolved if
};
//unresolved jump
_local3.addChild(_local8);
//unresolved jump
}
}
}//package
Section 52
//nc1raw1 (nc1raw1)
package {
import flash.media.*;
public dynamic class nc1raw1 extends Sound {
public function nc1raw1(){
var _local1:Boolean;
//unresolved jump
var _local2 = ((typeof(//unresolved nextvalue or nextname) <= !NULL!) - 1);
if (!((_local2) && (_local2))){
super();
};
return;
}
}
}//package
Section 53
//nc2raw1 (nc2raw1)
package {
import flash.media.*;
public dynamic class nc2raw1 extends Sound {
public function nc2raw1(){
//unresolved jump
var _local2:Number = ??hasnext
;
var _local1 = (-((!NULL! % !NULL!)) as !NULL!);
_local2 = !NULL!;
if (((_local2) || (_local2))){
super();
};
return;
}
}
}//package
Section 54
//NewRoundRectButton (NewRoundRectButton)
package {
import flash.display.*;
import flash.geom.*;
import flash.filters.*;
public class NewRoundRectButton extends SimpleButton {
private var txtId:int;
public function NewRoundRectButton(_arg1, _arg2, _arg3:int, _arg4:int=200, _arg5:int=54){
var _local14:Boolean;
//unresolved jump
var _local10:Boolean;
arguments--;
!NULL!;
var _local15 = ??getglobalscope
;
var _local6:Sprite;
var _local7:Sprite;
var _local8:BitmapData;
var _local9:Bitmap;
_local10 = null;
var _local11:BitmapData;
var _local12:Bitmap;
var _local13:AllTexts;
if (((_local14) || (this))){
super();
//unresolved if
};
txtId = _arg3;
_local6 = new Sprite();
_local7 = new Sprite();
_local7.graphics.lineStyle(3, 14089981);
if (((_local14) || (this))){
//unresolved jump
_local6.addChild(_local7);
//unresolved if
if (((_local14) || (_arg1))){
//unresolved if
_local7.graphics.endFill();
};
};
//unresolved jump
_local7.graphics.drawRoundRect((-(_arg4) / 2), (-(_arg5) / 2), _arg4, _arg5, 20);
if (!_local15){
if (((_local14) || (this))){
//unresolved jump
_local7.graphics.beginFill(8500478);
};
//unresolved jump
//unresolved if
};
_local13 = new AllTexts(txtId);
_local13.mouseChildren = false;
if (((_local14) || (_arg3))){
_local13.mouseEnabled = false;
//unresolved if
};
_local6.addChild(_local13);
_local8 = new BitmapData(_arg4, _arg5, true, 0xFFFFFF);
//unresolved jump
_local7++;
_local8.draw(new ((~(( - 1)) <= _local6) >> _local9).Matrix(1, 0, 0, 1, (_arg4 / 2), (_arg5 / 2)), !NULL!);
_local9 = new Bitmap(_local8);
_local9.filters = [new DropShadowFilter(4, 45, 0, 0.33), new BevelFilter(4, 45, 0xFFFFFF, 0.33, 0, 0.33, 6, 6, 0.34)];
_local10 = new Bitmap(_local8);
_local10.filters = [new DropShadowFilter(4, 45, 0, 0.33), new BevelFilter(4, 45, 0xFFFFFF, 0.33, 0, 0.33)];
if (_local14){
if (txtId > 0){
if (_local14){
_local13.y = (_local13.y + 2);
};
};
};
_local11 = new BitmapData(_local6.width, _local6.height, true, 0xFFFFFF);
_local11.draw(_local6, new Matrix(1, 0, 0, 1, (_arg4 / 2), (_arg5 / 2)));
_local12 = new Bitmap(_local11);
_local12.filters = [new DropShadowFilter(4, 45, 0, 0.33), new BevelFilter(-4, 45, 0xFFFFFF, 0.33, 0, 0.33)];
if (!((_local15) && (_arg1))){
//unresolved jump
return;
//unresolved if
y = _arg2;
if (_local14){
//unresolved if
//unresolved jump
x = _arg1;
};
//unresolved if
};
//unresolved jump
hitTestState = _local9;
if (!_local15){
//unresolved if
//unresolved jump
downState = _local12;
};
//unresolved jump
overState = _local10;
//unresolved jump
upState = _local9;
//unresolved jump
}
}
}//package
Section 55
//PopupLinkWindow (PopupLinkWindow)
package {
import flash.display.*;
import flash.text.*;
public class PopupLinkWindow extends MovieClip {
public var copy_bt:SimpleButton;
public var link_tf:TextField;
public var close_bt:SimpleButton;
public function PopupLinkWindow(){
var _local1:Boolean;
//unresolved jump
var _local2 = (((((//unresolved nextvalue or nextname * !NULL!) | !NULL!) - !NULL!) % !NULL!) > !NULL!);
if (!_local2){
super();
};
return;
}
}
}//package
Section 56
//Preloader (Preloader)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
public class Preloader extends MovieClip {
public var atbtn:ATButton;
public var progressArea:ProgressArea;
private var prevprc:int;
public var progressBar:ProgressBar;
public var percentageText:TextField;
public function Preloader(){
var _local1:Boolean;
//unresolved jump
!ERROR! //unresolved jump
if ((this - 1)){
//unresolved jump
return;
//unresolved if
atbtn.addEventListener(MouseEvent.MOUSE_DOWN, Go2Sponsor);
//unresolved if
//unresolved if
};
//unresolved jump
prevprc = 0;
//unresolved jump
super();
//unresolved jump
}
private function onProgress(_arg1:ProgressEvent):void{
var _local3:Boolean;
//unresolved jump
var _local2:Boolean;
_local3++;
_local3--;
_local3--;
_local3++;
var _local4 = -(_local3);
_local2 = 0;
if (((_local3) || (_local2))){
//unresolved jump
return;
//unresolved if
percentageText.text = (_local2 + "%");
//unresolved jump
_local2--;
_local3 = ((!NULL! >= !NULL!) << !NULL!);
_local3++;
_local3--;
//unresolved if
};
//unresolved jump
//unresolved jump
_local2++;
_local2++;
if (false){
(_local4 > !(_local2));
};
if (!(_local4 > !(_local2))){
};
(_local2 / 100).width = _local4;
if (!((_local4) && (this))){
//unresolved jump
_local2 = Math.round(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100));
};
//unresolved jump
}
private function onComplete(_arg1:Event):void{
//unresolved jump
_local3--;
_local4--;
var _local4 = _local2;
var _local5:* = this;
var _local2:String;
var _local3:int;
if (((_local5) || (_arg1))){
//unresolved jump
return;
//unresolved if
//unresolved jump
_local2 = ConstLibrary.strLockNums.length;
_local4--;
var _temp1 = //unresolved nextvalue or nextname;
_local3 = false;
if (_temp1 >= !NULL!){
if (_local5){
//unresolved if
dispatchEvent(_arg1);
};
if (_local5){
//unresolved jump
_local3++;
};
//unresolved jump
//unresolved jump
};
//unresolved jump
_local4++;
var _temp2 = _local4;
var _temp3 = _local4;
_local2++;
if ((_local2 as (_temp2 >> _temp3))){
!NULL!;
};
if (!!NULL!){
};
_local2 = !NULL!;
//unresolved jump
_local3 = 0;
if (((_local5) || (this))){
//unresolved jump
_local2 = "";
};
};
//unresolved jump
}
public function setLoaderInfo(_arg1:LoaderInfo):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2++;
_local2--;
var _local3 = (((false + 1) - !NULL!) >>> !NULL!);
if (!((_local3) && (this))){
//unresolved jump
return;
//unresolved if
addEventListener(MouseEvent.MOUSE_DOWN, Go2Sponsor);
if (_local2){
//unresolved jump
_arg1.addEventListener(Event.COMPLETE, onComplete);
};
//unresolved if
};
//unresolved jump
_arg1.addEventListener(ProgressEvent.PROGRESS, onProgress);
//unresolved jump
}
private function Go2Sponsor(_arg1:MouseEvent):void{
//unresolved jump
arguments++;
var _local2 = (??hasnext
/ null);
!ERROR! if (!((_local2) && (_local3))){
Linx.openURL("http://www.arcadetown.com/index.asp?gameid=snowtree");
};
return;
}
}
}//package
Section 57
//ProgressArea (ProgressArea)
package {
import flash.display.*;
public dynamic class ProgressArea extends MovieClip {
public function ProgressArea(){
var _local1:Boolean;
//unresolved jump
this;
var _local2 = this;
if (_local1){
super();
};
return;
}
}
}//package
Section 58
//ProgressBar (ProgressBar)
package {
import flash.display.*;
public dynamic class ProgressBar extends MovieClip {
public function ProgressBar(){
var _local1:Boolean;
//unresolved jump
var _local2 = ((((false * !(false)) * !NULL!) + !NULL!) instanceof !NULL!);
if (_local1){
super();
};
return;
}
}
}//package
Section 59
//Routines (Routines)
package {
public class Routines {
public function Routines(){
//unresolved jump
var _local1 = ~((null + 1));
var _local2 = //unresolved nextvalue or nextname;
if (_local2){
super();
};
return;
}
public static function GetBaseUrl(_arg1:String):String{
var _local6:Boolean;
//unresolved jump
arguments++;
_local6--;
var _local3:Boolean;
_local5++;
_local4--;
!ERROR! _local4 = !NULL!;
var _local7:* = ??hasnext
;
var _local2:*;
_local3 = undefined;
_local4 = undefined;
var _local5:*;
_local2 = _arg1.toLowerCase();
//unresolved jump
(_local2 > !NULL!);
_local4++;
_local4++;
_local3 = _local2.length;
_local4 = _local2.indexOf("?", 0);
if (_local4 > 0){
//unresolved jump
_local5++;
_local4++;
_local3 = _local4;
};
_local5 = "download";
if (!((_local7) && (_local2))){
//unresolved if
};
_local5 = _arg1.substr(7, (_local3 - 7));
return (_local5);
}
public static function EncrpytString(_arg1:String):String{
//unresolved jump
var _local10:Boolean;
var _local8:Boolean;
!ERROR! _local7--;
var _local13 = (//unresolved nextvalue or nextname >> (_local11 + 1));
!ERROR! var _local2:*;
var _local3:*;
var _local4:*;
_local5 = undefined;
var _local6:*;
var _local7:*;
_local8 = undefined;
var _local9:*;
_local10 = undefined;
var _local11:*;
var _local12:int;
_local2 = "aHfEjcDebChGiAfIjDbEjacD";
_local3 = _local2.length;
_local4 = "0";
_local5 = "";
_local6 = _arg1.length;
_local7 = 0;
_local5 = "";
_local11 = 0;
if (!((_local13) && (Routines))){
_local12 = 0;
};
for (;_local12 < _local6;(_local10 = (!NULL! + !NULL!)), (_local5 = (_local5 + String.fromCharCode(_local10))), (_local11 = (_local11 + _local10)), (_local9 = _local2.charCodeAt(_local7)), (_local7 = (_local7 + 1)), if (_local7 >= _local3){
_local7 = 0;
}, (_local10 = (Math.floor((_local8 / 16)) + _local9)), (_local5 = (_local5 + String.fromCharCode(_local10))), (_local11 = (_local11 + _local10)), if (_local14){
_local12++;
}) {
_local8 = _arg1.charCodeAt(_local12);
if (_local8 >= 128){
_local8 = "X";
};
_local9 = _local2.charCodeAt(_local7);
_local7 = (_local7 + 1);
if (_local7 >= _local3){
_local7 = 0;
};
continue;
_local13++;
var _temp3 = (_local8 % 16);
_local12 = _local6;
var _temp4 = _local9;
_local2 = _local3;
_local4--;
};
_local11 = (_local11 % 0x0100);
_local9 = _local2.charCodeAt(_local7);
_local7 = (_local7 + 1);
if (_local7 >= _local3){
_local7 = 0;
};
_local10 = ((_local11 % 16) + _local9);
_local5 = (_local5 + String.fromCharCode(_local10));
_local9 = _local2.charCodeAt(_local7);
//unresolved jump
_local10++;
_local2++;
_local2++;
_local8 = undefined;
_local2 = (_local2 <= !NULL!);
_local7 = (_local7 + 1);
if (_local7 >= _local3){
_local7 = 0;
};
_local10 = (Math.floor((_local11 / 16)) + _local9);
_local5 = (_local5 + String.fromCharCode(_local10));
return (_local5);
}
public static function showHeight(_arg1:Number):String{
var _local3:Boolean;
//unresolved jump
var _local2 = (false * !NULL!);
_local3++;
_local2--;
_local3--;
_local2++;
var _local4 = ((!NULL! * !NULL!) >= !NULL!);
_local2 = null;
if (!((_local4) && (_arg1))){
//unresolved jump
return (_local2);
//unresolved if
//unresolved jump
if (!_local4){
//unresolved if
//unresolved if
_local2 = (Number((_arg1 / 1000)).toFixed(2) + " km");
//unresolved if
if (!_local4){
//unresolved jump
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
//unresolved jump
_local2--;
_local3++;
_local2++;
_local3++;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
_local2 = (Number((_arg1 / 1000)).toFixed(2) + " km");
if (((_local3) || (_local2))){
//unresolved if
//unresolved jump
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
_local2 = (_arg1.toFixed(1) + " m");
//unresolved if
};
//unresolved jump
//unresolved jump
if (_local3){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
_local3 = ((undefined ^ _local3) | _local2);
_local3--;
};
if (!_local4){
_local2 = (_arg1.toFixed(2) + " m");
//unresolved jump
//unresolved jump
};
_local2 = (_arg1.toFixed(2) + " m");
//unresolved jump
//unresolved if
//unresolved if
_local2 = "0 cm";
//unresolved jump
}
public static function GetUrlParam(_arg1, _arg2:String):String{
//unresolved jump
_local6++;
_arg2++;
var _local8 = !((false << _local5));
var _local9 = (false << _local5);
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
_local3 = _arg1.toLowerCase();
_local4 = _local3.indexOf(_arg2);
//unresolved jump
_local3--;
_local8++;
_local5 = _arg2.length;
if (!_local8){
//unresolved if
};
_local7 = _local3.indexOf("&", (_local4 + _local5));
if (_local7 > 0){
//unresolved jump
_arg2++;
_local4 = ( % _local7);
_local4++;
_local4--;
//unresolved if
var _temp1 = _local6;
_local6 = (undefined - _local4);
//unresolved if
} else {
var _temp2 = _local6;
_local6 = (_arg1.length - _local4);
};
return (_arg1.substr((_local4 + _local5), _local6));
return ("");
}
}
}//package
Section 60
//sb1raw1 (sb1raw1)
package {
import flash.media.*;
public dynamic class sb1raw1 extends Sound {
public function sb1raw1(){
//unresolved jump
var _local3:Boolean;
var _local1 = (??hasnext
| !NULL!);
!ERROR! if (_local2){
super();
};
return;
}
}
}//package
Section 61
//sb2raw1 (sb2raw1)
package {
import flash.media.*;
public dynamic class sb2raw1 extends Sound {
public function sb2raw1(){
//unresolved jump
var _temp1 = (~(((false == arguments) + 1)) - 1);
var _local1:Boolean;
var _local2 = _temp1;
if (_local2){
super();
};
return;
}
}
}//package
Section 62
//SemiTransButton (SemiTransButton)
package {
import flash.display.*;
public class SemiTransButton extends SimpleButton {
public function SemiTransButton(){
//unresolved jump
var _local1 = (((((true < false) >>> !NULL!) <= undefined) > !NULL!) * !NULL!);
!ERROR! if (!((_local1) && (this))){
super();
};
return;
}
}
}//package
Section 63
//SFGButton (SFGButton)
package {
import flash.display.*;
import flash.events.*;
public class SFGButton extends SimpleButton {
public function SFGButton(){
//unresolved jump
false;
var _local1 = //unresolved nextvalue or nextname;
!ERROR! //unresolved jump
if (_local2){
//unresolved jump
return;
//unresolved if
addEventListener(MouseEvent.MOUSE_DOWN, Go2Me);
if (!((_local1) && (_local2))){
//unresolved jump
super();
};
};
//unresolved jump
}
private function Go2Me(_arg1:Event):void{
//unresolved jump
arguments--;
_local2++;
_local2--;
_local2--;
var _local2 = ??hasnext
;
!ERROR! if (!_local2){
Linx.openURL("http://smartflashgames.blogspot.com/");
};
return;
}
}
}//package
Section 64
//SFGPreloader (SFGPreloader)
package {
import flash.display.*;
import flash.events.*;
public class SFGPreloader extends MovieClip {
public function SFGPreloader(){
//unresolved jump
!ERROR! !ERROR! //unresolved jump
if (!((??hasnext
=== undefined) + _local1)){
//unresolved jump
return;
//unresolved if
addEventListener(MouseEvent.MOUSE_DOWN, gotSFG);
//unresolved if
//unresolved if
};
//unresolved jump
addFrameScript(29, frame30);
//unresolved jump
super();
//unresolved jump
}
private function gotSFG(_arg1:MouseEvent):void{
//unresolved jump
_local2++;
_local2--;
var _local2 = _local3;
_local2 = (true === (false >>> ~()));
!ERROR! if (_local3){
Linx.openURL("http://smartflashgames.blogspot.com/");
};
return;
}
function frame30(){
var _local1:Boolean;
//unresolved jump
var _local2 = ((((((-((false + !NULL!)) + 1) < !NULL!) >>> !NULL!) - 1) as !NULL!) ^ !NULL!);
if (_local2){
//unresolved jump
!NULL!;
};
if (!_local2){
//unresolved jump
return;
//unresolved if
//unresolved if
if (((_local1) || (_local2))){
//unresolved if
(parent as Main).gotoAndStop(5);
};
//unresolved jump
stop();
};
//unresolved jump
}
}
}//package
Section 65
//snd1raw1 (snd1raw1)
package {
import flash.media.*;
public dynamic class snd1raw1 extends Sound {
public function snd1raw1(){
var _local1:Boolean;
//unresolved jump
var _local2 = ((-(false) + 1) == !NULL!);
_local2 = (!NULL! instanceof !NULL!);
if (((_local1) || (_local2))){
super();
};
return;
}
}
}//package
Section 66
//snd2raw1 (snd2raw1)
package {
import flash.media.*;
public dynamic class snd2raw1 extends Sound {
public function snd2raw1(){
//unresolved jump
??hasnext
;
var _local1 = ((//unresolved nextvalue or nextname < !NULL!) < !NULL!);
!ERROR! if (((_local2) || (_local1))){
super();
};
return;
}
}
}//package
Section 67
//snd3raw1 (snd3raw1)
package {
import flash.media.*;
public dynamic class snd3raw1 extends Sound {
public function snd3raw1(){
//unresolved jump
var _local1 = this;
var _local2 = ((((true >= (false + 1)) > undefined) & !NULL!) + !NULL!);
if (!_local1){
super();
};
return;
}
}
}//package
Section 68
//snd4raw1 (snd4raw1)
package {
import flash.media.*;
public dynamic class snd4raw1 extends Sound {
public function snd4raw1(){
var _local1:Boolean;
//unresolved jump
var _local2 = //unresolved nextvalue or nextname;
if (!_local2){
super();
};
return;
}
}
}//package
Section 69
//SnowFlake (SnowFlake)
package {
import flash.display.*;
import flash.geom.*;
public class SnowFlake {
public var y:int;
public var isActive:Boolean;
public var x0:int;
public var bmd:BitmapData;
public var centerPoint:Point;
public var y0:int;
public var x:int;
public function SnowFlake(){
//unresolved jump
var _local3:Boolean;
_local3--;
_local2--;
_local3++;
var _temp1 = _local3;
_local3 = !(_local2);
var _local4 = _temp1;
var _local1:SnowFlakeShapes;
var _local2:Matrix;
if (_local4){
super();
if (((_local4) || (_local1))){
//unresolved jump
_local3--;
_local3 = false;
_local3 = ( * (6 / 6));
_local2--;
_local2--;
new true.BitmapData(false, true, 0, !NULL!).bmd = !NULL!;
};
};
_local1 = new SnowFlakeShapes();
_local2 = new Matrix();
if (_local4){
//unresolved jump
return;
//unresolved if
//unresolved jump
_local3++;
((-((true * false)) * !NULL!) << _local3).isActive = false;
if (_local4){
//unresolved if
//unresolved if
//unresolved jump
centerPoint = new Point();
};
//unresolved jump
bmd.draw(_local1, _local2);
//unresolved jump
_local2.translate(3, 3);
};
//unresolved jump
}
public function Move2Random():void{
//unresolved jump
!ERROR! !ERROR! if (!((_local1) && (this))){
//unresolved jump
return;
//unresolved if
isActive = true;
if (!_local1){
//unresolved if
//unresolved jump
_local2 = (( << ) >= !NULL!);
//unresolved if
//unresolved jump
centerPoint.y = (y - 3);
};
//unresolved jump
centerPoint.x = (x - 3);
//unresolved jump
y = y0;
if (!_local2){
//unresolved jump
((!NULL! - !NULL!) + 1);
(!NULL! - !NULL!);
};
if (_local2){
//unresolved if
//unresolved jump
x = x0;
};
if (!_local1){
//unresolved jump
y0 = 0;
//unresolved jump
x0 = (Math.random() * 640);
};
};
//unresolved jump
}
public function MoveBy(_arg1:int, _arg2:int):void{
var _local3:Boolean;
//unresolved jump
_arg2++;
var _local4 = _local3;
if (!_local4){
//unresolved jump
return;
//unresolved if
centerPoint.y = (y - 3);
if (!_local4){
//unresolved if
//unresolved if
//unresolved jump
centerPoint.x = (x - 3);
};
//unresolved if
//unresolved if
};
//unresolved jump
if (((_local3) || (_arg2))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
isActive = false;
//unresolved if
//unresolved if
//unresolved jump
};
if (!_local4){
//unresolved if
//unresolved if
//unresolved if
y = 0;
if (_local3){
//unresolved if
//unresolved jump
//unresolved if
if (_local3){
//unresolved if
x = (x + 640);
};
};
//unresolved jump
//unresolved jump
_local3 = undefined;
_arg2++;
_arg2++;
_arg2--;
_arg2++;
};
//unresolved if
x = (x - 640);
//unresolved jump
y = (y + _arg2);
//unresolved jump
x = (x + _arg1);
//unresolved jump
y0 = y;
//unresolved jump
x0 = x;
//unresolved jump
}
}
}//package
Section 70
//SnowFlakeShapes (SnowFlakeShapes)
package {
import flash.display.*;
public class SnowFlakeShapes extends MovieClip {
public function SnowFlakeShapes(){
//unresolved jump
var _local2:Boolean;
_local2++;
_local2 = _local3;
var _local3 = ((true ^ !NULL!) - !NULL!);
var _local1:int;
if (((_local3) || (_local2))){
//unresolved jump
//unresolved jump
_local2--;
_local2 = (//unresolved nextvalue or nextname + !NULL!);
_local2--;
_local2--;
return;
//unresolved if
gotoAndStop(_local1);
//unresolved jump
_local2 = _local3;
_local3 = _local2;
_local2++;
_local2++;
if (!((((//unresolved nextvalue or nextname is !NULL!) - 1) / !NULL!) - 1)){
!NULL!;
};
if (!NULL!){
//unresolved jump
if (!_local2){
};
_local1 = 1;
};
if (((_local3) || (_local1))){
//unresolved jump
super();
};
};
//unresolved jump
}
public function go2RandomFrame():void{
var _local2:Boolean;
//unresolved jump
_local2--;
var _temp1 = (false / _local2);
_local2--;
_local2++;
var _local3 = _temp1;
var _local1:int;
//unresolved jump
_local2--;
_local2 = (false - 1);
_local2--;
if ((((//unresolved nextvalue or nextname is !NULL!)) || (this))){
//unresolved jump
return;
//unresolved if
gotoAndStop(_local1);
if (_local2){
//unresolved jump
if (_local2){
};
_local1 = 1;
};
};
//unresolved jump
}
}
}//package
Section 71
//SoundPlayer (SoundPlayer)
package {
import flash.events.*;
import flash.media.*;
public class SoundPlayer {
public static var isMute:Boolean = Application.application.GameResults.data.Settings[0];
private static var prevPrevUsedTrack:int = -1;
private static var UsedTrack:int = -1;
private static var prevUsedTrack:int = -1;
public function SoundPlayer(){
//unresolved jump
var _local1 = ((((!NULL! + !NULL!) % !NULL!) - !NULL!) + 1);
!ERROR! if (!_local1){
super();
};
return;
}
public static function SoundSwitchOn():void{
var _local1:Boolean;
//unresolved jump
var _local2 = //unresolved nextvalue or nextname;
if (!((_local2) && (SoundPlayer))){
//unresolved jump
return;
//unresolved if
PlayASoundID(23);
if (!_local1){
//unresolved jump
(//unresolved nextvalue or nextname < !NULL!);
};
if (_local1){
//unresolved if
//unresolved jump
//unresolved if
Application.application.GameResults.data.Settings[1] = true;
};
if (((_local1) || (SoundPlayer))){
//unresolved jump
Application.application.GameResults.data.Settings[0] = isMute;
};
//unresolved jump
isMute = false;
};
//unresolved jump
}
public static function StopMusic():void{
//unresolved jump
with (!NULL!) {
var _local1 = (!NULL! * !NULL!);
//unresolved jump
};
var _local2 = ~(((((~((!NULL! + !NULL!)) + !NULL!) & !NULL!) === !NULL!) + !NULL!));
if (!_local1){
//unresolved jump
return;
//unresolved if
Application.application.GameResults.data.Settings[1] = false;
//unresolved if
};
//unresolved jump
SoundMixer.stopAll();
//unresolved jump
}
public static function SoundSwitchOff():void{
//unresolved jump
var _local1 = (//unresolved nextvalue or nextname as undefined);
var _local2:Boolean;
if (((_local2) || (SoundPlayer))){
//unresolved jump
return;
//unresolved if
SoundMixer.stopAll();
if (_local1){
//unresolved jump
_local2 = (-(_local1) ^ !NULL!);
-(true);
};
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
//unresolved jump
if (!((_local1) && (_local1))){
Application.application.GameResults.data.Settings[1] = false;
//unresolved jump
};
Application.application.GameResults.data.Settings[0] = isMute;
//unresolved jump
isMute = true;
//unresolved jump
}
private static function onSongOver(_arg1:Event):void{
//unresolved jump
_local2++;
var _temp1 = _local2;
var _local2 = _local2;
_local2 = _temp1;
var _local3 = (((true >= false) as !NULL!) * !NULL!);
if (!((_local2) && (SoundPlayer))){
//unresolved jump
//unresolved jump
(!NULL! % !NULL!);
_local2++;
return;
//unresolved if
//unresolved jump
_local3 = 23;
_local2++;
_local2--;
_local2++;
_local2.PlayASoundID(_local2);
//unresolved if
//unresolved if
};
//unresolved jump
(_arg1.currentTarget as SoundChannel).removeEventListener(Event.SOUND_COMPLETE, onSongOver);
//unresolved jump
trace("Sound Completed");
//unresolved jump
}
public static function SwitchOnOff():void{
//unresolved jump
var _local1 = (!NULL! / !NULL!);
!ERROR! if (((_local2) || (_local1))){
//unresolved jump
return;
//unresolved if
//unresolved jump
PlayASoundID(23);
//unresolved jump
_local2 = (_local2 - _local2);
if (!true){
(-(((??getglobalscope
is !NULL!) + _local1)) * !NULL!);
};
if ((-(((??getglobalscope
is !NULL!) + _local1)) * !NULL!)){
if (_local2){
//unresolved if
//unresolved jump
//unresolved if
};
//unresolved jump
with () {
};
if ((((~(((_local1 + _local1) - 1)) - !NULL!) <= !NULL!) - 1)){
!NULL!;
};
//unresolved if
SoundMixer.stopAll();
};
//unresolved jump
Application.application.GameResults.data.Settings[0] = isMute;
};
//unresolved jump
if (!((_local1) && (_local2))){
};
isMute = isMute;
//unresolved jump
}
public static function PlayASoundID(_arg1:int):void{
//unresolved jump
_local5++;
arguments--;
var _local6:Number;
var _local7 = _arg1;
var _temp1 = (_local2 + 1);
var _local2:int;
var _local3:Sound;
var _local4:SoundChannel;
if (_local7){
trace("PlayASoundID", _arg1);
//unresolved if
};
if (!isMute){
switch (_arg1){
if (!((_local6) && (_local3))){
//unresolved if
_local2 = (1 + int((Math.random() * 2)));
//unresolved if
//unresolved jump
_local3 = new a_ready_click1();
//unresolved if
//unresolved jump
_local3 = new a_ready_click2();
//unresolved jump
//unresolved jump
//unresolved if
};
var _local5 = 1;
//unresolved if
//unresolved if
//unresolved if
if (1 === _local5){
//unresolved if
//unresolved if
} else {
//unresolved if
//unresolved if
if (2 === _local5){
//unresolved if
//unresolved if
} else {
//unresolved jump
//unresolved jump
//unresolved if
};
};
//unresolved if
//unexpected switch
//unresolved if
//unresolved jump
if (!_local6){
if (!((_local6) && (_local2))){
_local2 = (1 + int((Math.random() * 3)));
//unresolved if
//unresolved jump
_local3 = new win1();
//unresolved if
//unresolved jump
_local3 = new win2();
//unresolved jump
_local3 = new win3();
//unresolved jump
//unresolved jump
//unresolved if
};
};
_local5 = 1;
if (!((_local6) && (_local2))){
if (!((_local6) && (SoundPlayer))){
//unresolved if
if (1 === _local5){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
};
if (((_local7) || (SoundPlayer))){
if (1 === _local5){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
};
//unresolved if
};
if (!((_local6) && (_local3))){
//unresolved jump
//unresolved jump
//unresolved jump
};
//unexpected switch
//unresolved jump
if (!_local6){
if (_local7){
_local2 = (1 + int((Math.random() * 4)));
if (_local7){
trace("r=", _local2);
//unresolved if
};
//unresolved jump
_local3 = new t1();
//unresolved if
//unresolved jump
_local3 = new t2();
//unresolved jump
_local3 = new t3();
//unresolved jump
_local3 = new t4();
//unresolved jump
//unresolved jump
if (!((_local6) && (SoundPlayer))){
_local5 = _local2;
if (_local7){
if (!_local6){
//unresolved if
if (1 === _local5){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
//unresolved if
if (2 === _local5){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
//unresolved if
if (3 === _local5){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
};
//unresolved if
};
if (!((_local6) && (_local3))){
//unresolved jump
//unresolved jump
//unresolved jump
};
};
};
};
//unexpected switch
//unresolved jump
if (_local7){
//unresolved if
_local2 = (1 + int((Math.random() * 4)));
if (_local7){
trace("r=", _local2);
//unresolved if
};
//unresolved jump
_local3 = new wind1();
//unresolved if
//unresolved jump
_local3 = new wind2();
//unresolved jump
_local3 = new wind3();
//unresolved jump
_local3 = new wind4();
//unresolved jump
//unresolved jump
//unresolved if
};
_local5 = 1;
if (((_local7) || (_local2))){
if (!_local6){
//unresolved if
if (1 === _local5){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
//unresolved if
if (2 === _local5){
//unresolved if
//unresolved if
//unresolved jump
};
if (!_local6){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
};
//unresolved jump
//unresolved if
//unresolved if
};
if (((_local7) || ((_temp1 & true)))){
//unresolved jump
//unresolved jump
//unresolved jump
};
//unexpected switch
//unresolved jump
if (((_local7) || (_local3))){
if (!((_local6) && (_local3))){
//unresolved if
if (!((_local6) && (_local2))){
//unresolved if
_local2 = 1;
//unresolved if
//unresolved jump
UsedTrack = _local2;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
prevUsedTrack = UsedTrack;
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
if (!((_local6) && (SoundPlayer))){
//unresolved if
//unresolved if
//unresolved if
prevPrevUsedTrack = prevUsedTrack;
//unresolved if
//unresolved jump
//unresolved if
};
//unresolved if
};
if (!_local6){
//unresolved if
//unresolved if
};
(UsedTrack == -1);
if (((_local7) || (_local3))){
//unresolved jump
//unresolved if
if (!_local6){
if (((_local7) || (_local3))){
//unresolved if
};
(_local2 == UsedTrack);
//unresolved jump
//unresolved jump
};
//unresolved if
_local2 = (_local2 + int((Math.random() * 8)));
};
//unresolved if
//unresolved jump
//unresolved jump
if (_local7){
};
};
_local2 = UsedTrack;
//unresolved jump
switch (_local2){
_local3 = new nc1raw1();
break;
_local3 = new nc2raw1();
break;
_local3 = new sb1raw1();
break;
_local3 = new sb2raw1();
break;
_local3 = new snd1raw1();
break;
_local3 = new snd2raw1();
break;
_local3 = new snd3raw1();
break;
_local3 = new snd4raw1();
break;
};
//unresolved jump
};
//unresolved jump
_local3 = _temp1;
_local5--;
_local4 = !((((true & false) as !NULL!) <= !(??getglobalscope
)));
_local3--;
_local4 = new SoundChannel();
if (!((_local6) && (SoundPlayer))){
//unresolved if
};
_local4 = _local3.play();
//unresolved jump
_local4 = _local3.play();
_local4.addEventListener(Event.SOUND_COMPLETE, onSongOver);
};
return;
}
var _local1:Boolean;
//unresolved jump
var _local2 = ((??hasnext
<= !NULL!) <= true);
if (!_local2){
//unresolved jump
return;
//unresolved if
prevPrevUsedTrack = -1;
if (!_local1){
//unresolved jump
_local2;
};
if (_local1){
//unresolved if
//unresolved if
//unresolved jump
prevUsedTrack = -1;
};
//unresolved jump
UsedTrack = -1;
};
//unresolved jump
//unresolved jump
}
}//package
Section 72
//SpeedGridCoef (SpeedGridCoef)
package {
public class SpeedGridCoef {
public var ctopright:Number;
public var cbottomright:Number;
public var cbottomleft:Number;
public var ctopleft:Number;
public function SpeedGridCoef(_arg1, _arg2, _arg3, _arg4:Number){
//unresolved jump
_arg4--;
_arg4++;
_local5--;
var _local5 = ((true / -(false)) + !NULL!);
!ERROR! if (_local6){
//unresolved jump
return;
//unresolved if
cbottomright = _arg4;
//unresolved jump
_arg3--;
_arg3--;
_arg3++;
if (!(_local5 + 1)){
this;
};
//unresolved if
if (_local5){
//unresolved jump
_arg4--;
_local5++;
_arg4++;
_arg3;
};
//unresolved if
//unresolved if
};
//unresolved jump
cbottomleft = _arg3;
//unresolved jump
ctopright = _arg2;
//unresolved jump
ctopleft = _arg1;
if (!_local5){
//unresolved jump
super();
};
//unresolved jump
}
}
}//package
Section 73
//SpeedVector (SpeedVector)
package {
public class SpeedVector {
public var vx:Number;
public var vy:Number;
public var vy0:Number;
public var vx0:Number;
public var tvx:Number;
public var tvy:Number;
public function SpeedVector(){
//unresolved jump
var _local1 = _local3;
var _local2 = ((((((true & (false + 1)) - !NULL!) * !NULL!) ^ !NULL!) ^ !NULL!) | NaN);
if (_local2){
//unresolved jump
return;
//unresolved if
//unresolved jump
vy = vy0;
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
vx = vx0;
if (!_local1){
//unresolved jump
vy0 = 1;
//unresolved jump
vx0 = 0;
};
//unresolved jump
super();
//unresolved jump
}
public function toString():String{
var _local1:Boolean;
//unresolved jump
var _local2:* = ((-(((false + 1) - !NULL!)) - !NULL!) - !NULL!);
_local2 = ??getglobalscope
;
if (!((_local2) && (_local2))){
};
return ((vx.toString() + ";"));
}
public function calm():void{
var _local1:Boolean;
//unresolved jump
var _local2 = ((((-((false <= !NULL!)) == !NULL!) >> !NULL!) * !NULL!) & !NULL!);
if (_local1){
//unresolved jump
return;
//unresolved if
//unresolved jump
((typeof(!NULL!) >>> !NULL!) is !NULL!);
vy = vy0;
//unresolved jump
//unresolved if
};
//unresolved jump
vx = vx0;
if (_local1){
//unresolved if
//unresolved jump
vy0 = 1;
};
//unresolved jump
vx0 = 0;
//unresolved jump
}
}
}//package
Section 74
//StarsBGD1 (StarsBGD1)
package {
import flash.display.*;
public dynamic class StarsBGD1 extends Sprite {
public function StarsBGD1(){
//unresolved jump
var _local1 = //unresolved nextvalue or nextname;
!ERROR! if (!_local1){
super();
};
return;
}
}
}//package
Section 75
//StarsBGD2 (StarsBGD2)
package {
import flash.display.*;
public dynamic class StarsBGD2 extends Sprite {
public function StarsBGD2(){
//unresolved jump
var _local1:Object = ~(((!NULL! >> (((true - false) * !NULL!) + false)) | !NULL!));
!ERROR! if (_local2){
super();
};
return;
}
}
}//package
Section 76
//StarsBGD3 (StarsBGD3)
package {
import flash.display.*;
public dynamic class StarsBGD3 extends Sprite {
public function StarsBGD3(){
var _local1:Boolean;
//unresolved jump
var _local2:Boolean;
_local2 = (((false <= ??getglobalscope
) === !NULL!) === !NULL!);
if (!_local2){
super();
};
return;
}
}
}//package
Section 77
//StartPage (StartPage)
package {
import flash.display.*;
import flash.events.*;
import flash.filters.*;
public class StartPage extends GeneralPageType {
public function StartPage(){
var _local5:Boolean;
//unresolved jump
_local5--;
_local2--;
_local2++;
var _local6 = (-(true) ^ );
var _local1:AllTexts;
var _local2:ATButton;
var _local3:SimpleButton;
if (_local5){
super();
};
_local1 = new AllTexts(8);
if (_local5){
//unresolved jump
addChild(_local1);
if (((_local5) || (_local1))){
//unresolved if
//unresolved if
_local1.y = (100 - 10);
};
//unresolved jump
_local1.x = 320;
};
//unresolved jump
_local2 = new ATButton();
if (!((_local6) && (_local2))){
_local2.x = (600 - 88);
//unresolved if
_local2.y = (560 - 61);
//unresolved if
};
_local2.scaleX = (_local2.scaleY = 0.65);
if (!_local6){
addChild(_local2);
};
_local3 = new GetGame();
if (!_local6){
//unresolved jump
addChild(_local3);
if (((_local5) || (_local3))){
//unresolved if
_local3.addEventListener(MouseEvent.MOUSE_DOWN, go2AT);
};
//unresolved if
};
//unresolved jump
_local3.y = (500 - 99);
//unresolved jump
_local5--;
_local3--;
_local3 = (false % (_local5 >= _local5));
if ((((_local2 - !NULL!)) || (this))){
//unresolved jump
_local3.x = (((30 + 50) + 10) + 7);
};
//unresolved jump
_local3 = new GetDown();
if (((_local5) || (_local3))){
//unresolved jump
addChild(_local3);
if (((_local5) || (this))){
//unresolved if
//unresolved if
_local3.addEventListener(MouseEvent.MOUSE_DOWN, go2ATDownload);
};
if (((_local5) || (_local3))){
//unresolved jump
_local3.y = (500 - 99);
};
//unresolved jump
_local3.x = ((600 - 45) - 10);
};
//unresolved jump
_local3 = new GGButton();
if (!_local6){
//unresolved jump
addChild(_local3);
if (!_local6){
//unresolved if
//unresolved if
//unresolved if
_local3.addEventListener(MouseEvent.MOUSE_DOWN, go2GGO);
};
//unresolved jump
_local3.filters = [new GlowFilter(0xFFFFFF)];
if (((_local5) || (this))){
//unresolved jump
_local3.y = 500;
};
//unresolved jump
//unresolved jump
_local5--;
_local5 = _local3;
_local3--;
_local4--;
_local5 = !NULL!;
_local5++;
(!NULL! >= !NULL!).x = 120;
};
//unresolved jump
_local3 = new FBButton();
if (!_local6){
//unresolved jump
return;
//unresolved if
addChild(_local3);
if (!_local6){
//unresolved jump
_local3.y = 100;
};
if (_local5){
//unresolved jump
_local3.x = 600;
};
};
//unresolved jump
}
private function go2ATDownload(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2++;
_local2--;
_local2--;
var _local3 = _local2;
if (_local2){
Linx.openURL("http://www.arcadetown.com/snowtree/download.asp");
};
return;
}
private function go2GGO(_arg1:MouseEvent):void{
//unresolved jump
arguments--;
_local2--;
var _local2 = (//unresolved nextvalue or nextname << !NULL!);
_local2 = //unresolved nextvalue or nextname;
var _local3 = _local2;
if (((_local3) || (_local2))){
Linx.openURL("http://www.gamegems.org/2011/12/snow-tree-control-blizzard.html");
};
return;
}
private function go2AT(_arg1:MouseEvent):void{
var _local2:Boolean;
//unresolved jump
_local2--;
_local2++;
_local2++;
var _local3 = (((//unresolved nextvalue or nextname as !NULL!) === true) & !NULL!);
if (_local2){
Linx.openURL("http://www.arcadetown.com/free_content/index.asp");
};
return;
}
}
}//package
Section 78
//SumbitWindow (SumbitWindow)
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
import flash.filters.*;
public class SumbitWindow extends Sprite {
private var canSubmit:Boolean;
private var prevTxt:String;
public var btn_submit:SimpleButton;
public var btn_no:SimpleButton;
private var score:int;
private var par:Sprite;
public var name_tf:TextField;
public var txt_mc:MovieClip;
private var TTL:int;
private var grayFiler:ColorMatrixFilter;
public function SumbitWindow(_arg1:MovieClip){
var _local3:Boolean;
//unresolved jump
var _local2 = ((false | !NULL!) >= !NULL!);
_local3--;
_local2 = !((!NULL! > !NULL!));
_local3--;
_local2--;
!ERROR! _local2 = null;
if (!_local4){
//unresolved jump
canSubmit = false;
if (((_local3) || (this))){
//unresolved if
//unresolved if
//unresolved if
btn_no.addEventListener(MouseEvent.MOUSE_DOWN, onCancel);
};
//unresolved if
};
//unresolved jump
//unresolved jump
_local2++;
_local2 = (!NULL! is !NULL!);
_local3 = (_local2 / !NULL!);
_local2++;
btn_submit.addEventListener(MouseEvent.MOUSE_DOWN, onSubmit);
//unresolved jump
par = _arg1;
//unresolved jump
super();
//unresolved jump
_local2 = [0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0, 0, 0, 1, 0];
//unresolved jump
_local3++;
_local2++;
_local3--;
if (((??getglobalscope
) || (_local3))){
//unresolved jump
return;
//unresolved if
TTL = 0;
if (_local3){
//unresolved if
//unresolved jump
btn_submit.filters = [grayFiler];
};
};
//unresolved jump
grayFiler = new ColorMatrixFilter(_local2);
//unresolved jump
}
public function Show(_arg1:int):void{
//unresolved jump
_local2--;
_local2--;
_local2--;
var _temp1 = ((true < false) << _local2);
var _local2 = _arg1;
var _local3 = _temp1;
if (((_local3) || (this))){
//unresolved jump
return;
//unresolved if
addEventListener(Event.REMOVED_FROM_STAGE, onRemoved);
if (_local3){
//unresolved jump
_local2++;
_local2++;
//unresolved if
//unresolved jump
addEventListener(Event.ENTER_FRAME, checkAvailable);
};
if (!((_local2) && (_local2))){
if (!_local3){
//unresolved jump
_local2--;
var _temp2 = _local2;
_local2++;
_local2--;
_local2++;
(_local3 >> _temp2);
};
//unresolved if
//unresolved jump
prevTxt = name_tf.text;
//unresolved if
//unresolved jump
par.addChild(this);
};
//unresolved jump
score = _arg1;
};
//unresolved jump
trace("SHOW!!!");
//unresolved jump
}
private function onCancel(_arg1:MouseEvent):void{
//unresolved jump
arguments++;
_local2--;
_local2--;
var _local2 = (typeof(((true instanceof false) * !NULL!)) - NaN);
!ERROR! if (_local3){
//unresolved jump
_local2--;
_local2++;
_local2--;
(_local2 | !NULL!);
//unresolved jump
return;
//unresolved if
//unresolved if
if (!((_local2) && (_local3))){
parent.removeChild(this);
};
//unresolved if
};
//unresolved jump
trace("Cancel");
//unresolved jump
}
private function calcCanSubmit():Boolean{
var _local4:Boolean;
//unresolved jump
_local2--;
_local2++;
_local4++;
var _local5 = typeof((!NULL! < !NULL!));
var _local1:Boolean;
var _local2:int;
var _local3:TextField;
if (_local4){
//unresolved jump
if (_local2 >= name_tf.length){
if (_local4){
//unresolved if
//unresolved if
return (_local1);
//unresolved if
//unresolved jump
_local2++;
};
//unresolved if
//unresolved jump
//unresolved jump
};
//unresolved jump
_local4--;
_local3--;
_local2++;
_local4++;
//unresolved if
_local1 = true;
//unresolved jump
_local2 = 0;
if (((_local4) || (_local3))){
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
_local1 = false;
};
if (!_local5){
//unresolved jump
//unresolved jump
_local3++;
_local2++;
_local2--;
_local3--;
if (!((_local5) && (_local3))){
};
//unresolved if
//unresolved if
};
};
return (false);
//unresolved jump
if (!_local5){
//unresolved if
};
(name_tf.text == "");
//unresolved jump
}
private function onRemoved(_arg1:Event):void{
var _local2:Boolean;
//unresolved jump
_local2++;
_local2--;
_local2--;
_local2++;
var _local3 = (false - false);
//unresolved jump
_local2--;
_local2++;
_local2--;
_local2++;
_local2++;
if (!((_local3) && (_local3))){
//unresolved jump
return;
//unresolved if
removeEventListener(Event.ENTER_FRAME, checkAvailable);
if (_local2){
//unresolved jump
removeEventListener(Event.REMOVED_FROM_STAGE, onRemoved);
};
};
//unresolved jump
}
private function onTextInput(_arg1:TextEvent):void{
return;
}
private function checkAvailable(_arg1:Event):void{
var _local5:Boolean;
//unresolved jump
var _local3 = -(false);
_local5 = !NULL!;
_local4--;
arguments--;
var _local6 = _local4;
var _local2:Boolean;
if (((_local5) || (_local2))){
var _temp1 = _local3;
if (!((_local6) && (this))){
};
var _local4 = TTL;
if (!((_local6) && (_local3))){
TTL = _local4;
};
//unresolved if
};
for (;!(TTL >= 6);//unresolved if
, (canSubmit = _local2), //unresolved jump
, trace(_local2), //unresolved jump
, if (!((_local6) && (this))){
}, (_local2 = calcCanSubmit()), continue) {
return;
//unresolved if
//unresolved jump
btn_submit.filters = [grayFiler];
if (((_local5) || ((false * (_local5 is _local3))))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
if (!((_local6) && (_local2))){
//unresolved if
btn_submit.filters = [];
};
};
//unresolved if
//unresolved jump
continue;
_local5--;
_local4 = (_local3 > false);
//unresolved if
canSubmit = _local2;
//unresolved jump
};
TTL = 0;
//unresolved jump
}
private function onSubmit(_arg1:MouseEvent):void{
var _local4:Boolean;
//unresolved jump
_local4--;
arguments--;
_local4 = -(~(arguments));
var _local5 = (false <= !NULL!);
var _local2:String;
var _local3:String;
if (_local4){
//unresolved jump
return;
//unresolved if
//unresolved if
if (((_local4) || (_arg1))){
parent.removeChild(this);
};
if (!_local5){
//unresolved if
//unresolved jump
//unresolved jump
_local4++;
_local3 = !NULL!;
_local4 = !NULL!;
_local4--;
"Submit".trace(!NULL!);
};
if (!_local5){
//unresolved jump
if (!_local5){
};
Linx.openURL("http://www.arcadetown.com/snowtree/hs.asp?");
//unresolved jump
if (((_local4) || (_arg1))){
};
//unresolved if
_local3 = Routines.EncrpytString(_local2);
//unresolved jump
_local4 = !NULL!;
_local2 = !NULL!;
_local3--;
_local2--;
};
//unresolved if
//unresolved if
};
//unresolved jump
//unresolved if
if (((_local4) || (_local2))){
};
_local2 = (name_tf.text + "|");
//unresolved jump
}
}
}//package
Section 79
//t1 (t1)
package {
import flash.media.*;
public dynamic class t1 extends Sound {
public function t1(){
var _local1:Boolean;
//unresolved jump
((((false + !NULL!) >= !NULL!) is !NULL!) >= !NULL!);
var _local2 = -((!NULL! <= !NULL!));
if (((_local1) || (_local1))){
super();
};
return;
}
}
}//package
Section 80
//t2 (t2)
package {
import flash.media.*;
public dynamic class t2 extends Sound {
public function t2(){
//unresolved jump
var _local1 = (!NULL! | !NULL!);
!ERROR! if (!_local1){
super();
};
return;
}
}
}//package
Section 81
//t3 (t3)
package {
import flash.media.*;
public dynamic class t3 extends Sound {
public function t3(){
var _local1:Boolean;
//unresolved jump
var _local2 = (null + _local3);
if (!((_local2) && (_local1))){
super();
};
return;
}
}
}//package
Section 82
//t4 (t4)
package {
import flash.media.*;
public dynamic class t4 extends Sound {
public function t4(){
var _local1:Boolean;
//unresolved jump
var _local2 = typeof((!NULL! + 1));
if (_local1){
super();
};
return;
}
}
}//package
Section 83
//TreeHeightInformer (TreeHeightInformer)
package {
import flash.display.*;
import flash.text.*;
public class TreeHeightInformer extends Sprite {
public var txt:TextField;
public var shownHeight:int;
public function TreeHeightInformer(){
var _local1:Boolean;
//unresolved jump
var _local3 = (//unresolved nextvalue or nextname <= !NULL!);
(((!NULL! % !NULL!) + !NULL!) as !NULL!);
//unresolved jump
var _local2:*;
_local2 = ((-(((!NULL! * !NULL!) & !NULL!)) + _local3) == !NULL!);
if (!_local2){
//unresolved jump
return;
//unresolved if
x = 0;
if (((_local1) || (_local2))){
//unresolved jump
super();
};
};
//unresolved jump
}
public function setProperties(_arg1:int, _arg2:Number):void{
//unresolved jump
arguments--;
_arg2++;
var _temp1 = _local3;
var _local3 = ??getglobalscope
;
var _local4 = _temp1;
//unresolved jump
_local3 = (((true + false) >> !NULL!) < ??hasnext
);
_arg2 = ((_arg2 >> _arg2) >> !NULL!);
if ((((!NULL! << !NULL!)) || (this))){
//unresolved jump
return;
//unresolved if
txt.text = Routines.showHeight(_arg2);
if (((_local4) || (this))){
//unresolved jump
y = _arg1;
};
};
//unresolved jump
}
}
}//package
Section 84
//UniversalMovingGlow (UniversalMovingGlow)
package {
import flash.display.*;
public class UniversalMovingGlow extends MovieClip {
private var isOver:Boolean;
private var at:Sprite;
public var amasker:Masker;
public function UniversalMovingGlow(_arg1:int, _arg2:int=0, _arg3:int=0, _arg4:int=0){
var _local6:Boolean;
//unresolved jump
arguments++;
_local5--;
_arg2 = (((false == !NULL!) instanceof undefined) == !NULL!);
_arg3++;
!ERROR! var _local5:Shape;
if (_local6){
//unresolved jump
//unresolved jump
at = new Sprite();
if (((_local6) || (_arg3))){
if (!((_local7) && (_arg2))){
//unresolved if
amasker.addChild(at);
};
if (!((_local7) && (this))){
//unresolved jump
//unresolved if
//unresolved if
at = new AllTexts(_arg1);
//unresolved if
//unresolved jump
addFrameScript(59, frame60);
//unresolved jump
_local6--;
_local6 = (!NULL! >= !NULL!);
_arg2 = ((!NULL! % !NULL!) instanceof !NULL!);
_local6++;
};
//unresolved jump
super();
//unresolved if
//unresolved jump
_local5 = new Shape();
_local5.graphics.beginFill(0);
if (!((_local7) && (this))){
//unresolved jump
amasker.addChild(at);
if (_local6){
//unresolved if
//unresolved if
at.addChild(_local5);
};
};
//unresolved jump
_local5.graphics.drawRoundRect((-(_arg2) / 2), (-(_arg3) / 2), _arg2, _arg3, _arg4, _arg4);
//unresolved jump
isOver = true;
//unresolved jump
_arg4--;
_arg3 = typeof(_local6);
_arg2--;
_arg4--;
_arg3--;
if (!false){
null;
};
if (null){
//unresolved jump
return;
//unresolved if
mouseChildren = false;
//unresolved if
};
};
};
//unresolved jump
mouseEnabled = false;
if (_local6){
//unresolved jump
stop();
};
//unresolved jump
}
public function ChangeMask(_arg1:int):void{
//unresolved jump
_local2++;
//unresolved jump
_local2--;
_local2++;
_local2++;
_local2++;
var _local2:Boolean;
var _local3 = ((((false instanceof (NaN - 1)) < true) instanceof !NULL!) | !NULL!);
if (_local3){
if (_arg1 > 0){
if (_local3){
//unresolved if
//unresolved if
};
(at as AllTexts).Alter(_arg1);
};
};
return;
}
public function StopAnim():void{
//unresolved jump
var _local3:Boolean;
var _local1 = ((((!NULL! - !NULL!) >> !NULL!) instanceof !NULL!) <= !NULL!);
!ERROR! if (!_local1){
isOver = true;
};
return;
}
public function StartAnim():void{
//unresolved jump
var _local3:Object = !(true);
var _local1 = this;
//unresolved jump
var _local2:Boolean = (??hasnext
>>> );
if (_local2){
//unresolved jump
return;
//unresolved if
play();
//unresolved if
};
//unresolved jump
isOver = false;
//unresolved jump
}
function frame60(){
//unresolved jump
var _temp1 = (~(arguments) <= NaN);
var _local1:* = false;
var _local2 = _temp1;
if (!_local1){
if (isOver){
if (!_local1){
stop();
};
};
};
return;
}
}
}//package
Section 85
//win1 (win1)
package {
import flash.media.*;
public dynamic class win1 extends Sound {
public function win1(){
//unresolved jump
var _local2:*;
!ERROR! _local2 = !NULL!;
if (!((_local1) && (_local1))){
super();
};
return;
}
}
}//package
Section 86
//win2 (win2)
package {
import flash.media.*;
public dynamic class win2 extends Sound {
public function win2(){
var _local1:Boolean;
//unresolved jump
var _local2:Object = -((-(((false >> !NULL!) >= !NULL!)) as !NULL!));
if (!((_local2) && (this))){
super();
};
return;
}
}
}//package
Section 87
//win3 (win3)
package {
import flash.media.*;
public dynamic class win3 extends Sound {
public function win3(){
//unresolved jump
var _local1 = ((!(arguments) - false) + 1);
var _local2 = _local2;
if (_local2){
super();
};
return;
}
}
}//package
Section 88
//wind1 (wind1)
package {
import flash.media.*;
public dynamic class wind1 extends Sound {
public function wind1(){
var _local1:Boolean;
//unresolved jump
((((false + 1) instanceof !NULL!) / !NULL!) >>> !NULL!);
var _local2 = _local3;
if (_local1){
super();
};
return;
}
}
}//package
Section 89
//wind2 (wind2)
package {
import flash.media.*;
public dynamic class wind2 extends Sound {
public function wind2(){
//unresolved jump
var _local1 = (((((true as -((false ^ true))) % !NULL!) - !NULL!) - 1) <= !NULL!);
!ERROR! if (!_local1){
super();
};
return;
}
}
}//package
Section 90
//wind3 (wind3)
package {
import flash.media.*;
public dynamic class wind3 extends Sound {
public function wind3(){
var _local1:Boolean;
//unresolved jump
var _local2 = _local2;
if (((_local1) || (_local2))){
super();
};
return;
}
}
}//package
Section 91
//wind4 (wind4)
package {
import flash.media.*;
public dynamic class wind4 extends Sound {
public function wind4(){
//unresolved jump
var _local1 = //unresolved nextvalue or nextname;
var _local2 = ((true - false) + !NULL!);
if (_local2){
super();
};
return;
}
}
}//package
Section 92
//World (World)
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
public class World extends EventDispatcher {
private var isWindChanged:Boolean;
private var isPaused:Boolean;
private var timeTillWindChanges:int;
private var flakes:Array;
private var intMovingSpeed:int;
private var shiftPoint:Point;
private var timeTillWindCalmes:int;
private var cloudsSprite:Sprite;
public var gameBonusScore:int;
private var speedVectors:Array;
public var flakesAvailable:int;
private var settledBmd:BitmapData;
private var blinksPool:Array;
public var shownTreeHeight:Number;
public var lostBonuses:int;
private var prevCursorPt:Point;
private var treeHeight:int;
public var flakesInAir:int;
private var nxtBlinkId:int;
private var bmd:BitmapData;
private var clAr:Array;
private var prevFlakesUsed2CountAch:int;
private var nxtMultiplierShownH:int;
private var bmp:Bitmap;
private var StarsSprite1:Sprite;
private var StarsSprite2:Sprite;
private var infH:TreeHeightInformer;
private var infC:CloudInformer;
private var StarsSprite3:Sprite;
private var vectorGridStep:int;
private var movingSpeed:Number;
private var realTreeHeight:int;
private var TimeOfNoSnow:int;
private var tmpSettledBMD:BitmapData;
public var flakesFell:int;
private var maxsm:int;
private var maxsn:int;
public var gameScore:int;
private var zeroPoint:Point;
private var TTL:int;
private var secondsPassed:int;
private var helpPhaseNxt:int;
private var bons:Array;
private var mainSprite:Sprite;
private var land:Sprite;
private var movingAcceleration:Number;
private var scoreMultiplier:int;
private var windTime:int;
private var nowFlakesUsed2CountAch:int;
private var brI:BestResInformer;
private var hintAT:AllTexts;
public var flakesUsed:int;
private var windowsBmd:BitmapData;
private var speedCoefs:Array;
public static var world:World;
public function World(){
var _local12:Boolean;
//unresolved jump
_local5--;
var _local13 = (-(((!NULL! is false) << _local7)) is !NULL!);
var _local1:int;
var _local2:Shape;
var _local3:SpeedVector;
var _local4:Array;
var _local5:Number;
var _local6:SpeedGridCoef;
var _local7:BlinkStar;
var _local8:int;
var _local9:Boolean;
var _local10:CloudPart1;
var _local11:SnowFlake;
if (((_local12) || (_local1))){
//unresolved jump
_local1 = 0;
//unresolved if
//unresolved if
};
if (!true){
blinksPool = new Array();
if (((_local12) || (_local1))){
//unresolved jump
zeroPoint = new Point(0, 0);
//unresolved if
//unresolved jump
shiftPoint = new Point(0, 0);
};
if (_local12){
//unresolved if
//unresolved jump
tmpSettledBMD = new BitmapData(640, 550, true, 0);
};
if (!_local13){
//unresolved jump
settledBmd = new BitmapData(640, 550, true, 0);
//unresolved jump
bmp = new Bitmap(bmd);
//unresolved if
//unresolved jump
bmd = new BitmapData(640, 550, true, 0);
};
//unresolved jump
mainSprite = new Sprite();
if (!_local13){
//unresolved if
//unresolved jump
world = this;
};
//unresolved jump
super();
//unresolved jump
};
while (//unresolved if
, //unresolved if
, _local1 < 5) {
_local7 = new BlinkStar();
if (((_local12) || (_local2))){
blinksPool.push(_local7);
//unresolved if
};
_local1++;
};
if (!_local13){
nxtBlinkId = 0;
if (((_local12) || (_local2))){
//unresolved jump
//unresolved jump
if (!_local13){
//unresolved if
_local9 = false;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
if (_local12){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
};
_local9 = false;
if (!((_local13) && (this))){
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
(_local1 >= 4);
};
//unresolved if
//unresolved jump
//unresolved if
if (!((_local13) && (_local2))){
//unresolved if
//unresolved if
(_local8 == 0);
//unresolved if
//unresolved jump
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
(_local1 < 4);
//unresolved if
//unresolved if
//unresolved jump
//unresolved jump
};
if (_local12){
//unresolved if
//unresolved jump
_local1 = 0;
};
//unresolved if
//unresolved jump
clAr = new Array();
//unresolved if
//unresolved if
//unresolved jump
cloudsSprite = new Sprite();
//unresolved if
};
//unresolved jump
mainSprite.addChild(bmp);
//unresolved jump
StarsSprite3.cacheAsBitmap = true;
if (!_local13){
//unresolved jump
mainSprite.addChild(StarsSprite3);
//unresolved if
//unresolved jump
StarsSprite3 = new StarsBGD3();
//unresolved jump
StarsSprite2.cacheAsBitmap = true;
//unresolved jump
mainSprite.addChild(StarsSprite2);
};
//unresolved jump
StarsSprite2 = new StarsBGD2();
//unresolved jump
StarsSprite1.cacheAsBitmap = true;
//unresolved jump
mainSprite.addChild(StarsSprite1);
//unresolved if
//unresolved jump
StarsSprite1 = new StarsBGD1();
};
//unresolved jump
if (((_local12) || (_local3))){
};
_local10 = new CloudPart1((-50 + (_local1 * 740)), 0, _local9, (_local8 == 1));
if (!_local13){
//unresolved jump
_local8++;
//unresolved if
//unresolved if
};
if (!true){
cloudsSprite.addChild(_local10);
//unresolved jump
clAr.push(_local10);
//unresolved jump
};
if (_local12){
//unresolved if
//unresolved if
if (!_local13){
_local1++;
//unresolved if
};
};
//unresolved if
_local2 = new Shape();
if (_local12){
//unresolved jump
//unresolved if
_local1 = 0;
//unresolved if
//unresolved if
speedVectors = new Array();
//unresolved if
//unresolved jump
maxsm = (Math.ceil(((550 + 1) / vectorGridStep)) + 1);
//unresolved if
//unresolved if
//unresolved jump
maxsn = (Math.ceil(((640 + 1) / vectorGridStep)) + 1);
//unresolved if
//unresolved if
//unresolved jump
vectorGridStep = 25;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
bons = new Array();
if (!((_local13) && (_local3))){
if (!_local13){
//unresolved jump
mainSprite.addChild(infC);
if (_local12){
//unresolved jump
mainSprite.addChild(brI);
//unresolved jump
brI = new BestResInformer();
//unresolved if
//unresolved jump
if (_local12){
//unresolved if
infC.y = 30;
//unresolved if
//unresolved jump
};
infC.x = 30;
//unresolved if
//unresolved jump
infC = new CloudInformer();
//unresolved if
//unresolved jump
mainSprite.addChild(infH);
//unresolved if
//unresolved jump
infH = new TreeHeightInformer();
//unresolved if
if (!((_local13) && (_local2))){
//unresolved jump
mainSprite.addChild(land);
//unresolved if
//unresolved jump
land.cacheAsBitmap = true;
//unresolved jump
land.y = 550;
};
//unresolved jump
land = new Land();
};
//unresolved jump
mainSprite.addChild(cloudsSprite);
//unresolved if
//unresolved jump
cloudsSprite.mask = _local2;
//unresolved jump
cloudsSprite.addChild(_local2);
};
//unresolved jump
_local2.graphics.drawRect(0, 0, 640, 120);
if (((_local12) || (this))){
//unresolved jump
_local2.graphics.beginFill(0, 1);
//unresolved jump
for (;//unresolved if
, //unresolved if
, _local1 <= (maxsn - 1);//unresolved if
, if (((_local12) || (this))){
speedVectors.push(_local4);
if (!_local13){
_local1++;
};
}) {
_local4 = new Array();
//unresolved if
//unresolved if
_local8 = 0;
//unresolved if
continue;
_local3 = new SpeedVector();
if (!_local13){
_local4.push(_local3);
if (((_local12) || (_local1))){
_local8++;
};
};
};
//unresolved if
speedCoefs = new Array();
if (!_local13){
if (!_local13){
//unresolved if
if (!_local13){
};
_local5 = (vectorGridStep * vectorGridStep);
//unresolved if
//unresolved if
};
_local1 = vectorGridStep;
//unresolved if
};
for (;//unresolved if
, //unresolved if
, _local1 <= vectorGridStep;//unresolved if
, if (!_local13){
speedCoefs.push(_local4);
if (!_local13){
_local1++;
};
}) {
_local4 = new Array();
//unresolved if
//unresolved if
_local8 = 0;
//unresolved if
continue;
if (_local12){
//unresolved if
//unresolved if
//unresolved if
if (!_local13){
//unresolved if
};
};
if (!_local13){
//unresolved if
};
if (((_local12) || (_local2))){
//unresolved if
//unresolved if
};
if (_local12){
if (!((_local13) && (_local3))){
};
};
_local6 = new SpeedGridCoef((vectorGridStep - _local1), (_local1 * (vectorGridStep - _local8)), (vectorGridStep - _local1), _local5);
if (((_local12) || (this))){
_local4.push(_local6);
//unresolved if
};
_local8++;
};
if (!((_local13) && (this))){
prevCursorPt = new Point(0, 0);
if (_local12){
flakes = new Array();
//unresolved if
//unresolved if
_local1 = 0;
//unresolved if
};
};
while (_local1 <= 1000) {
_local11 = new SnowFlake();
if (!((_local13) && (this))){
flakes.push(_local11);
//unresolved if
};
_local1++;
};
if (_local13){
//unresolved jump
_local2++;
_local2++;
_local5--;
(((~(_local13) << !NULL!) >>> _local2) < !NULL!);
};
//unresolved if
hintAT = new AllTexts(13);
//unresolved if
};
//unresolved jump
return;
//unresolved if
//unresolved if
//unresolved if
hintAT.mouseChildren = false;
//unresolved if
};
//unresolved jump
hintAT.mouseEnabled = false;
//unresolved jump
}
private function startWakes():void{
var _local6:Boolean;
//unresolved jump
var _local3 = (false is !NULL!);
_local3++;
_local6 = (_local6 * !NULL!);
_local6--;
!ERROR! !ERROR! var _local1:Number;
var _local2:Number;
_local3 = 0;
var _local4:int;
_local5 = null;
if (!_local7){
_local3 = 0;
};
for (;_local3 <= (maxsn - 1);//unresolved if
, //unresolved if
, //unresolved if
, _local3++, //unresolved if
) {
if (!_local7){
_local4 = 0;
//unresolved if
//unresolved jump
_local5 = speedVectors[_local3][_local4];
if (((_local6) || (_local3))){
//unresolved if
//unresolved if
};
_local5.vx0 = ((_local4 % 5) * 5);
if (_local6){
//unresolved jump
_local6--;
if (((_local6) || (_local3))){
//unresolved if
//unresolved if
};
if (((_local6) || (_local3))){
//unresolved if
};
(((//unresolved nextvalue or nextname + !(typeof(_local5))) + 1) * 2).vy0 = !NULL!;
if (!((_local7) && (this))){
_local4++;
};
};
//unresolved if
};
//unresolved if
continue;
_local6++;
_local4--;
};
return;
}
public function handleMove(_arg1:Number, _arg2:Number):void{
var _local21:Boolean;
//unresolved jump
_local12++;
var _local3:Boolean;
_local11++;
var _local7:Number = null;
var _local22 = ((!NULL! + 1) as !NULL!);
_local3 = 0;
var _local4:int;
var _local5:int;
var _local6:int;
_local7 = 0;
var _local8:int;
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:SpeedVector;
var _local13:SpeedVector;
var _local14:Number;
var _local15:Number;
var _local16:*;
var _local17:*;
var _local18:Boolean;
var _local19:int;
var _local20:int;
if (((_local21) || (_arg2))){
//unresolved jump
if (_local21){
if (_local21){
//unresolved if
//unresolved if
_local11 = Math.max(Math.abs(_local9), Math.abs(_local10));
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
if (!_local22){
//unresolved if
_local10 = Math.max(Math.abs(_local9), Math.abs(_local10));
//unresolved if
//unresolved if
//unresolved jump
};
if (_local21){
//unresolved if
if (!_local22){
//unresolved if
_local9 = (Math.max(Math.abs(_local9), Math.abs(_local10)) - _local5);
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
_local8 = Math.round((_arg2 / vectorGridStep));
if (!((_local22) && (_local3))){
//unresolved jump
_local7 = Math.round((prevCursorPt.y / vectorGridStep));
};
//unresolved if
//unresolved if
//unresolved jump
};
_local6 = (Math.max(Math.abs(_local9), Math.abs(_local10)) - _local5);
//unresolved jump
//unresolved if
_local5 = Math.round((prevCursorPt.x / vectorGridStep));
//unresolved if
//unresolved if
//unresolved jump
};
if (!_local22){
if (!((_local22) && (_local3))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
_local4 = ((Math.max(Math.abs(_local9), Math.abs(_local10)) - _local5) - prevCursorPt.y);
//unresolved jump
};
};
if (!((_local22) && (this))){
_local3 = (Math.max(Math.abs(_local9), Math.abs(_local10)) - _local5);
if (!((_local22) && (this))){
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
};
if (!((_local22) && (_arg1))){
//unresolved if
if (((_local21) || (_arg1))){
_arg2 = 0;
//unresolved jump
};
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
_arg1 = 0;
//unresolved jump
//unresolved if
//unresolved if
};
_arg2 = (Math.max(Math.abs(_local9), Math.abs(_local10)) - _local5);
if (((_local21) || (_arg1))){
//unresolved jump
//unresolved if
_arg1 = 640;
};
//unresolved jump
//unresolved if
if (!((_local22) && (this))){
return;
};
};
//unresolved jump
_local13 = speedVectors[_local5][_local7];
if (_local21){
//unresolved if
if (!((_local22) && (this))){
//unresolved if
//unresolved if
_local14 = _local5;
//unresolved if
};
};
_local15 = _local7;
for (;//unresolved if
, //unresolved if
, _local14 != _local6;if (!((_local22) && (_local3))){
}, (_local12.vy = _local13.vy), continue) {
//unresolved if
_local12 = speedVectors[int(_local14)][int(_local15)];
if (!((_local22) && (_local3))){
};
_local12.vx = _local13.vx;
//unresolved if
continue;
if (!((_local22) && (_local3))){
//unresolved if
if (!((_local22) && (this))){
//unresolved jump
_local17--;
_local9++;
_local9++;
_local8++;
};
//unresolved if
};
if (!((_local22) && (_local3))){
if (!_local22){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
};
_local14 = _local15;
//unresolved jump
};
if (!_local22){
//unresolved jump
if (!((_local22) && (_arg2))){
//unresolved if
_local14 = _local5;
//unresolved if
//unresolved if
};
if (_local21){
_local15 = _local5;
//unresolved if
//unresolved jump
_local12 = speedVectors[int(_local14)][int(_local15)];
if (((_local21) || (_local3))){
};
_local12.vx = _local13.vx;
if (_local21){
//unresolved jump
if (((_local21) || (_arg2))){
//unresolved if
if (_local21){
};
if (!((_local22) && (_local3))){
//unresolved if
//unresolved if
};
};
if (!((_local22) && (this))){
//unresolved if
//unresolved if
//unresolved if
};
_local15 = (_local14 + sign(_local10));
};
//unresolved jump
if (_local21){
};
_local12.vy = _local13.vy;
//unresolved jump
};
//unresolved if
if (!((_local22) && (_arg2))){
prevCursorPt.x = _arg1;
//unresolved if
};
prevCursorPt.y = _arg2;
if (!((_local22) && (_arg2))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
_local12 = SpeedVector(speedVectors[8][5]);
if (_local12.vx > 5){
if (((_local21) || (_local3))){
hintAT.Alter(12);
if (_local21){
helpPhaseNxt = 3;
};
};
};
//unresolved if
//unresolved if
};
_local16 = 18;
_local17 = 8;
if (_local21){
//unresolved jump
helpPhaseNxt = 4;
if (_local21){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
if (!((_local22) && (_arg1))){
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
if (!((_local22) && (_arg1))){
//unresolved if
//unresolved if
//unresolved if
hintAT.Alter(11);
};
};
if (((_local21) || (_arg1))){
//unresolved jump
//unresolved if
if (_local21){
//unresolved if
};
//unresolved if
!(_local18);
//unresolved jump
_local20++;
//unresolved jump
//unresolved if
//unresolved if
};
//unresolved if
_local19 = -1;
if (!((_local22) && (_local3))){
//unresolved jump
//unresolved jump
_local19++;
//unresolved if
//unresolved jump
//unresolved jump
//unresolved jump
_local4 = (!NULL! is !NULL!);
_local6++;
_local16++;
//unresolved if
_local18 = true;
};
//unresolved if
//unresolved jump
_local20 = -1;
};
//unresolved jump
_local19 = -1;
//unresolved jump
_local18 = false;
//unresolved jump
return;
}
public function pause():void{
var _local1:Boolean;
//unresolved jump
var _local2 = //unresolved nextvalue or nextname;
if (!_local2){
isPaused = true;
};
return;
}
public function Step():void{
var _local19:Boolean;
//unresolved jump
_local19++;
_local10--;
var _local20 = _local12;
var _local1:int;
var _local2:int;
var _local3:SnowFlake;
var _local4:Bonus;
var _local5:int;
var _temp1 = _local6;
var _local6:BlinkStar;
var _local7:int;
var _local8:CloudPart1;
var _local9:int;
var _local10:int;
var _local11:int;
var _local12:int;
var _local13:int;
var _local14:int;
if (!((_local20) && (this))){
//unresolved jump
//unresolved if
_local5 = 0;
if (((_local19) || (this))){
//unresolved if
//unresolved if
treeHeight = (treeHeight + intMovingSpeed);
};
if (!_local20){
//unresolved if
//unresolved jump
settledBmd.copyPixels(tmpSettledBMD, tmpSettledBMD.rect, zeroPoint, null, null, true);
//unresolved if
//unresolved jump
settledBmd.fillRect(settledBmd.rect, 0);
};
if (!((_local20) && (_local1))){
//unresolved if
//unresolved if
//unresolved jump
tmpSettledBMD.copyPixels(settledBmd, settledBmd.rect, shiftPoint, null, null, true);
//unresolved if
//unresolved jump
tmpSettledBMD.fillRect(tmpSettledBMD.rect, 0);
};
//unresolved jump
Application.application.needHelp = false;
//unresolved if
};
//unresolved jump
helpPhaseNxt = 6;
if (!((_local20) && (this))){
if (_local19){
//unresolved jump
//unresolved if
if (((_local19) || (this))){
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
};
//unresolved if
};
mainSprite.removeChild(hintAT);
//unresolved jump
//unresolved if
return;
//unresolved jump
var _local15:int;
var _local16:* = bons;
while (//unexpected hasnext2
, //unresolved if
, _temp1) {
_local4 = //unresolved nextvalue or nextname;
//unresolved nextvalue or nextname.y = (_local4.y + intMovingSpeed);
if (!_local20){
//unresolved if
//unresolved if
_local4.isWaiting2Activate = false;
//unresolved if
//unresolved if
//unresolved if
};
_local4.mustBRemoved = true;
if (!((_local20) && (_local3))){
if (!((_local20) && (_local3))){
};
var _local18 = lostBonuses;
if (_local19){
lostBonuses = _local18;
};
//unresolved if
};
_local5++;
};
if (!_local20){
if (!_local20){
if (!((_local20) && (this))){
if (!((_local20) && (_local1))){
//unresolved if
if (!(Math.random() < 0.01)){
//unresolved if
(Math.random() < 0.01);
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
};
if ((Math.random() < 0.01)){
//unresolved if
_local4 = new Bonus(int((1 + (Math.random() * 4))), (40 + (Math.random() * 560)), -10);
if (!_local20){
bons.push(_local4);
//unresolved if
};
mainSprite.addChildAt(_local4, 3);
};
if (land.y < 680){
//unresolved if
land.y = (land.y + intMovingSpeed);
//unresolved if
};
//unresolved if
_local15 = 0;
//unresolved if
//unresolved if
_local16 = blinksPool;
while (//unexpected hasnext2
, //unresolved if
, _temp1) {
_local6 = //unresolved nextvalue or nextname;
//unresolved nextvalue or nextname.y = (_local6.y + intMovingSpeed);
};
//unresolved if
//unresolved if
//unresolved if
brI.y = (brI.y + intMovingSpeed);
//unresolved if
//unresolved if
//unresolved if
if (movingSpeed > 0){
//unresolved if
//unresolved if
_local7 = 0;
//unresolved if
while (//unresolved if
, _local7 < clAr.length) {
_local8 = CloudPart1(clAr[_local7]);
_local8.move(movingSpeed);
if (((_local19) || (_local1))){
_local7++;
};
};
//unresolved if
StarsSprite1.y = (StarsSprite1.y + (movingSpeed * 0.3));
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
_local2 = (Math.random() * settledBmd.height);
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
_local1 = (Math.random() * settledBmd.width);
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
};
StarsSprite3.y = -(StarsSprite3.height);
//unresolved if
if (!_local20){
//unresolved jump
StarsSprite3.y = (StarsSprite3.y + (movingSpeed * 0.1));
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
if (_local19){
StarsSprite2.y = -(StarsSprite2.height);
//unresolved jump
StarsSprite2.y = (StarsSprite2.y + (movingSpeed * 0.2));
};
//unresolved jump
//unresolved if
if (((_local19) || (this))){
StarsSprite1.y = -(StarsSprite1.height);
};
};
//unresolved jump
if (settledBmd.getPixel(_local1, _local2) != 0){
//unresolved if
_local6 = BlinkStar(blinksPool[nxtBlinkId]);
if (!_local6.isActive){
if (_local19){
_local6.Activate(_local1, _local2);
//unresolved if
};
mainSprite.addChild(_local6);
if (_local19){
if (((_local19) || (_local1))){
};
_local16 = nxtBlinkId;
if (((_local19) || (_local2))){
nxtBlinkId = _local16;
};
if (_local19){
nxtBlinkId = (nxtBlinkId % 5);
};
};
};
};
//unresolved if
_local15 = 0;
//unresolved if
};
//unresolved if
_local16 = flakes;
while (//unexpected hasnext2
, //unresolved if
, _temp1) {
_local3 = //unresolved nextvalue or nextname;
if (!_local20){
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
if (Math.random() < 0.01){
if (!((_local20) && (this))){
_local3.Move2Random();
if (((_local19) || (_local1))){
if (!_local20){
//unresolved if
continue;
if (!_local20){
//unresolved if
(flakesFell < flakesAvailable);
//unresolved if
//unresolved jump
};
//unresolved if
if (_local19){
MoveFlake(_local3);
};
};
//unresolved jump
if (_local19){
};
_local18 = flakesFell;
if (((_local19) || (_local1))){
flakesFell = _local18;
};
//unresolved if
};
if (_local19){
};
_local18 = flakesInAir;
if (!_local20){
flakesInAir = _local18;
};
};
};
};
//unresolved if
};
if (((_local19) || (this))){
//unresolved if
//unresolved jump
//unresolved jump
_local13--;
_local18--;
_local4 = (_temp1 > ??hasnext
);
((//unresolved nextvalue or nextname % !NULL!) * (//unresolved nextvalue or nextname % !NULL!)).copyPixels(settledBmd, settledBmd.rect, zeroPoint, null, null, true);
//unresolved if
if (!true){
bmd.fillRect(bmd.rect, 0);
//unresolved if
//unresolved jump
bmd.lock();
//unresolved if
//unresolved jump
};
//unresolved if
_local15 = 0;
//unresolved if
};
_local16 = flakes;
for each (_local3 in flakes) {
if (_local19){
//unresolved if
//unresolved if
};
bmd.copyPixels(_local3.bmd, _local3.bmd.rect, _local3.centerPoint, null, null, true);
};
if (!((_local20) && (_local2))){
bmd.unlock();
if (!((_local20) && (_local2))){
if (!_local20){
};
_local16 = TTL;
if (!_local20){
TTL = _local16;
};
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
if (_local19){
};
_local16 = secondsPassed;
if (!((_local20) && (this))){
secondsPassed = _local16;
};
if (((_local19) || (this))){
//unresolved if
_local9 = -1;
if (((_local19) || (_local1))){
TTL = 0;
//unresolved if
if (_local19){
};
_local16 = windTime;
if (_local19){
windTime = _local16;
};
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
_local11 = bons.length;
//unresolved if
//unresolved if
averageSpeeds();
//unresolved if
if (!((_local20) && (_local3))){
//unresolved jump
isWindChanged = true;
//unresolved if
//unresolved jump
startSideWind();
};
//unresolved jump
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
windTime = 0;
//unresolved if
};
};
};
//unresolved jump
isWindChanged = false;
if (((_local19) || (this))){
//unresolved jump
stopSideWind();
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
if (_local19){
//unresolved if
//unresolved if
windTime = 0;
//unresolved if
//unresolved jump
for (;//unresolved if
, //unresolved if
, //unresolved if
, //unresolved if
, _local11--;(_local13 = _local4.y), continue) {
_local4 = (bons[_local11] as Bonus);
if (!((_local20) && (_local1))){
if (_local4.isWaiting2Activate){
//unresolved if
//unresolved if
_local12 = _local4.x;
//unresolved if
continue;
mainSprite.removeChild(_local4);
//unresolved if
//unresolved if
if (((_local19) || (_local1))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
};
};
//unresolved if
if (!((_local20) && (_local1))){
bons.splice(_local11, 1);
if (_local19){
//unresolved jump
_local14++;
//unresolved if
//unresolved jump
if (!((_local20) && (_local2))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
//unresolved jump
_local7++;
};
//unresolved jump
SoundPlayer.PlayASoundID(3);
//unresolved if
//unresolved if
//unresolved jump
Application.application.react2Gift();
};
//unresolved jump
//unresolved jump
//unresolved if
_local4.Activate();
//unresolved jump
_local14 = -15;
//unresolved jump
//unresolved if
_local7 = -15;
//unresolved if
//unresolved jump
};
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
};
EmdGame();
if (!((_local20) && (_local3))){
//unresolved jump
if (!_local20){
};
_local16 = TimeOfNoSnow;
if (((_local19) || (this))){
TimeOfNoSnow = _local16;
};
//unresolved if
//unresolved jump
shiftPoint.y = intMovingSpeed;
//unresolved if
if (_local19){
//unresolved if
//unresolved if
intMovingSpeed = movingSpeed;
};
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
};
movingSpeed = 0;
if (_local19){
//unresolved jump
if (_local19){
if (((_local19) || (_local1))){
//unresolved if
if (((_local19) || (_local1))){
//unresolved if
//unresolved if
(movingSpeed > 0);
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
};
//unresolved if
//unresolved if
if (_local19){
//unresolved if
movingSpeed = 0;
//unresolved if
};
//unresolved if
//unresolved jump
if (((_local19) || (_local2))){
};
movingSpeed = movingSpeed;
//unresolved jump
if (!((_local20) && (_local1))){
//unresolved if
};
if (!((_local20) && (this))){
//unresolved if
};
//unresolved jump
if (((_local19) || (_local3))){
};
-0.04.movingAcceleration = 0.04;
//unresolved if
//unresolved jump
};
//unresolved if
if (!((_local20) && (this))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
if (_local19){
//unresolved if
Application.application.giveAch(40);
//unresolved jump
};
//unresolved if
Application.application.react2Snow(flakesFell);
};
if (!((_local20) && (_local2))){
//unresolved jump
Application.application.react2Height(shownTreeHeight, realTreeHeight);
//unresolved jump
//unresolved if
};
//unresolved if
EmdGame();
//unresolved jump
};
if (movingSpeed >= nxtMultiplierShownH){
if (((_local19) || (_local3))){
if (!((_local20) && (_local1))){
};
_local16 = scoreMultiplier;
if (_local19){
scoreMultiplier = _local16;
};
if (!((_local20) && (_local3))){
//unresolved jump
//unresolved jump
_local8++;
_local14 = (_temp1 instanceof _local3);
_local8 = ((//unresolved nextvalue or nextname % !NULL!) <= !NULL!);
_local18--;
return;
//unresolved if
infC.showSnows(flakesFell);
//unresolved if
//unresolved if
};
};
//unresolved jump
};
infH.setProperties(treeHeight, shownTreeHeight);
};
//unresolved jump
findNextMultiplierH();
//unresolved jump
}
private function stopSideWind():void{
var _local4:Boolean;
//unresolved jump
_local4--;
_local3--;
var _local3:Boolean;
!ERROR! _local2++;
var _local5 = ((((!NULL! & !NULL!) + !NULL!) - !NULL!) - !NULL!);
var _local1:int;
_local2 = 0;
_local3 = null;
if (!_local5){
_local1 = 0;
};
while (_local1 <= (maxsn - 1)) {
//unresolved if
_local2 = 0;
//unresolved if
for (;//unresolved if
, //unresolved if
, //unresolved if
, _local2 <= (maxsm - 1);(_local3 = !NULL![!NULL!]), if (((_local4) || (this))){
_local3.vx0 = 0;
if (!((_local5) && (_local3))){
_local2++;
};
}) {
continue;
_local2 = ((((speedVectors[_local1] >> _local2) * !NULL!) * typeof(_local3)) >> !NULL!);
};
if (!((_local5) && (_local2))){
_local1++;
//unresolved if
};
};
return;
}
private function ConvertPixels2Metres(_arg1:int):Number{
//unresolved jump
arguments++;
_local2++;
var _local3 = (true % (((false - true) | _local2) - 1));
!ERROR! var _local2:Number;
if (_local4){
//unresolved jump
if (((_local4) || (_arg1))){
if (_local4){
if (_local4){
if (!((_local3) && (_arg1))){
if (_local3){
//unresolved jump
_local2++;
_local2;
};
//unresolved if
return (_local2);
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
var _temp1 = _local2;
var _temp2 = _local2;
_local2 = _local4;
_local2 = _temp2;
_local2++;
_local3++;
_local2++;
if ((((_temp1 >>> !NULL!)) || (_local2))){
//unresolved if
};
};
//unresolved if
};
};
};
//unresolved jump
_local2 = (_arg1 * 0.002);
//unresolved jump
}
public function Init():void{
var _local11:Boolean;
//unresolved jump
_local11--;
var _local4 = (false <= !NULL!);
_local7--;
_local6--;
var _local12:* = -(-(!NULL!));
var _local1:Bonus;
var _local2:SnowFlake;
var _local3:Array;
_local4 = null;
var _local5:int;
var _local6:Number;
if (((_local11) || (_local2))){
//unresolved jump
land.y = 550;
if (((_local11) || (_local3))){
//unresolved if
//unresolved if
windTime = 0;
};
if (_local11){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
timeTillWindChanges = 60;
};
if (!((_local12) && (this))){
//unresolved if
//unresolved jump
isWindChanged = false;
if (_local11){
//unresolved if
//unresolved jump
isPaused = false;
};
if (_local11){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
findNextMultiplierH();
//unresolved jump
TimeOfNoSnow = 0;
};
//unresolved jump
nowFlakesUsed2CountAch = 0;
//unresolved if
//unresolved jump
prevFlakesUsed2CountAch = 0;
};
if (!((_local12) && (this))){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
lostBonuses = 0;
//unresolved if
//unresolved jump
scoreMultiplier = 1;
};
//unresolved if
//unresolved jump
gameBonusScore = 0;
//unresolved jump
gameScore = 0;
//unresolved jump
flakesAvailable = 20000;
if (((_local11) || (_local1))){
//unresolved if
//unresolved if
//unresolved jump
flakesInAir = 0;
};
//unresolved if
//unresolved jump
flakesUsed = 0;
//unresolved jump
flakesFell = 0;
//unresolved jump
movingAcceleration = 0;
//unresolved if
//unresolved jump
intMovingSpeed = 0;
//unresolved jump
movingSpeed = 0;
//unresolved jump
shownTreeHeight = 0;
};
//unresolved jump
realTreeHeight = 0;
//unresolved jump
secondsPassed = 0;
//unresolved jump
settledBmd.fillRect(new Rectangle(0, (treeHeight - 1), 640, 1), 4294967295);
//unresolved jump
settledBmd.fillRect(settledBmd.rect, 0);
//unresolved jump
treeHeight = 530;
//unresolved jump
helpPhaseNxt = 0;
//unresolved jump
_local1 = bons.pop();
while (_local1) {
if (_local1.parent){
//unresolved if
_local1.parent.removeChild(_local1);
//unresolved if
};
_local1 = bons.pop();
};
_local1 = new Bonus(1, 400, 200);
if (!_local12){
//unresolved jump
mainSprite.addChildAt(_local1, 3);
if (_local11){
if (!true){
mainSprite.addChildAt(_local1, 3);
//unresolved if
//unresolved jump
bons.push(_local1);
//unresolved if
//unresolved jump
};
//unresolved if
var _local7:int;
if (!((_local12) && (_local3))){
//unresolved if
var _local8:* = flakes;
while (//unexpected hasnext2
, //unresolved if
, !NULL!) {
_local2 = //unresolved nextvalue or nextname;
if (!_local12){
_local2.isActive = false;
};
};
//unresolved if
//unresolved if
};
//unresolved if
};
//unresolved if
_local7 = 0;
if (_local11){
_local8 = speedVectors;
for each (_local3 in speedVectors) {
if (((_local11) || (this))){
var _local9:int;
if (_local11){
var _local10:* = _local3;
for each (_local4 in _local3) {
_local4.calm();
};
};
};
};
};
//unresolved if
//unresolved jump
return;
//unresolved if
//unresolved jump
helpPhaseNxt = 1;
if (((_local11) || (this))){
//unresolved if
//unresolved jump
helpPhaseNxt = 2;
};
if (((_local11) || (this))){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
mainSprite.addChild(hintAT);
};
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
if (_local11){
//unresolved if
//unresolved if
//unresolved if
hintAT.y = 100;
//unresolved if
//unresolved jump
};
if (!((_local12) && (_local1))){
hintAT.x = 200;
//unresolved if
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
};
hintAT.Alter(13);
if (!((_local12) && (_local1))){
//unresolved jump
//unresolved if
//unresolved if
mainSprite.removeChild(hintAT);
};
//unresolved jump
TTL = 0;
if (!_local12){
//unresolved jump
if (!_local12){
//unresolved if
brI.Init(_local5, _local6);
//unresolved if
//unresolved jump
//unresolved jump
};
if (((_local11) || (_local1))){
brI.visible = true;
//unresolved jump
//unresolved if
//unresolved if
};
brI.visible = true;
//unresolved jump
if (((_local11) || (this))){
};
_local6 = ConvertPixels2Metres(_local5);
//unresolved jump
_local5 = Application.application.GameResults.data.gameStats[0];
if (_local11){
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
infC.showScore(gameScore);
};
//unresolved jump
//unresolved if
infC.showTotal(flakesAvailable);
};
//unresolved jump
infC.showSnows(flakesFell);
//unresolved jump
infH.setProperties(treeHeight, shownTreeHeight);
//unresolved jump
}
private function updateSnow(_arg1:Event):void{
//unresolved jump
_local2++;
var _local2 = (??getglobalscope
< !(_local2));
var _local3:String = (true == !NULL!);
//unresolved jump
_local2--;
var _temp1 = _local2;
var _temp2 = _local2;
_local2++;
_local2--;
if (((_local3) || (_arg1))){
//unresolved jump
return;
//unresolved if
infC.showTotal(flakesAvailable);
if (_local3){
//unresolved jump
(_arg1.currentTarget as BonusIcon).removeEventListener(Event.COMPLETE, updateScore);
};
};
//unresolved jump
}
private function updateScore(_arg1:Event):void{
//unresolved jump
_local2--;
_local2++;
var _local2 = (_local2 << _local2);
var _local3 = ~(false);
if (_local3){
//unresolved jump
//unresolved jump
_local2--;
return;
//unresolved if
infC.showScore(gameScore);
if (_local3){
//unresolved if
//unresolved jump
(_arg1.currentTarget as BonusIcon).removeEventListener(Event.COMPLETE, updateScore);
};
};
//unresolved jump
trace("Score updated");
//unresolved jump
}
private function giveWindProtection():void{
return;
}
public function Attach(_arg1:DisplayObjectContainer):void{
//unresolved jump
arguments--;
_local2++;
_local2--;
var _local2:int = ??getglobalscope
;
!ERROR! if (!_local2){
_arg1.addChild(mainSprite);
};
return;
}
private function MoveFlake(_arg1:SnowFlake):void{
//unresolved jump
_local5++;
_local9--;
_local7--;
_local13++;
var _local17 = typeof(((true * false) / !NULL!));
!ERROR! var _local2:int;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:SpeedVector;
var _local9:SpeedVector;
var _local10:SpeedVector;
var _local11:SpeedVector;
var _local12:SpeedGridCoef;
var _local13:int;
var _local14:int;
if (!((_local17) && (this))){
//unresolved jump
if (_local18){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
if (!_local17){
if (((_local18) || (_local3))){
_local7 = _local3;
if (((_local18) || (_local3))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
if (!_local17){
//unresolved if
};
_local6 = _local2;
};
//unresolved jump
if (((_local18) || (_local2))){
_local5 = int((_local3 / vectorGridStep));
//unresolved if
//unresolved jump
};
//unresolved if
_local4 = int((_local3 / vectorGridStep));
//unresolved jump
};
//unresolved if
};
//unresolved jump
_local2 = _arg1.x;
};
//unresolved jump
_local8 = speedVectors[_local4][_local5];
_local9 = speedVectors[(_local4 + 1)][_local5];
_local10 = speedVectors[_local4][(_local5 + 1)];
_local11 = speedVectors[(_local4 + 1)][(_local5 + 1)];
_local12 = speedCoefs[_local6][_local7];
if (!((_local17) && (_arg1))){
//unresolved jump
_arg1.MoveBy(_local13, _local14);
if (_local18){
if (!true){
//unresolved jump
_local4++;
_local6++;
_local8++;
_local13--;
_local16--;
if (_local18){
//unresolved if
_local14 = Math.round(((((((_local8.vy * _local12.ctopleft) + (_local9.vy * _local12.ctopright)) + (_local10.vy * _local12.cbottomleft)) + (//unresolved nextvalue or nextname * _local9)) + (Math.random() * 5)) - 2.5));
//unresolved if
//unresolved if
};
_local14 = Math.round(((((((_local8.vy * _local12.ctopleft) + (_local9.vy * _local12.ctopright)) + (_local10.vy * _local12.cbottomleft)) + (//unresolved nextvalue or nextname * _local9)) + (Math.random() * 5)) - 2.5));
//unresolved if
//unresolved jump
//unresolved if
_local13 = Math.round(((((((_local8.vx * _local12.ctopleft) + (_local9.vx * _local12.ctopright)) + (_local10.vx * _local12.cbottomleft)) + (_local11.vx * _local12.cbottomright)) + (Math.random() * 5)) - 2.5));
//unresolved if
//unresolved jump
};
//unresolved if
//unresolved if
};
if (((_local18) || (_local3))){
};
var _local16 = flakesInAir;
if (_local18){
flakesInAir = _local16;
};
//unresolved if
//unresolved jump
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
if (!((_local17) && (this))){
};
_local16 = flakesUsed;
if (!((_local17) && (_local2))){
flakesUsed = _local16;
};
//unresolved if
};
if (!((_local17) && (this))){
};
_local16 = flakesInAir;
if (((_local18) || (_local3))){
flakesInAir = _local16;
};
if (((_local18) || (this))){
//unresolved jump
return;
//unresolved if
_arg1.isActive = false;
if (!_local17){
//unresolved if
//unresolved if
//unresolved jump
TimeOfNoSnow = 0;
};
if (((_local18) || (this))){
//unresolved if
//unresolved jump
treeHeight = _arg1.y;
//unresolved jump
shownTreeHeight = ConvertPixels2Metres(realTreeHeight);
//unresolved jump
_local14--;
_local14--;
_local7--;
_local6++;
};
if (!_local17){
//unresolved jump
//unresolved if
};
};
realTreeHeight = (realTreeHeight + (treeHeight - _arg1.y));
//unresolved jump
settledBmd.copyPixels(_arg1.bmd, _arg1.bmd.rect, _arg1.centerPoint, null, null, true);
//unresolved jump
}
private function startSideWind():void{
var _local5:Boolean;
//unresolved jump
_local3++;
var _local6 = (//unresolved nextvalue or nextname - !NULL!);
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:SpeedVector;
if (!((_local6) && (_local2))){
//unresolved jump
//unresolved jump
//unresolved if
_local3 = 0;
//unresolved if
//unresolved if
if (((_local5) || (_local1))){
if (((_local5) || (this))){
_local2 = 0;
//unresolved if
//unresolved jump
_local4--;
_local4 = null;
_local4 = (_local3 + 1);
if (((_local5) || (_local2))){
//unresolved jump
//unresolved if
};
//unresolved if
//unresolved jump
};
};
_local1 = 0;
};
//unresolved jump
while (//unresolved if
, //unresolved if
, //unresolved if
, _local3 <= (maxsm - 1)) {
_local4 = speedVectors[_local2][_local3];
_local4.vx0 = _local1;
if (((_local5) || (_local3))){
_local3++;
};
};
if (_local5){
_local2++;
if (((_local5) || (_local3))){
//unresolved if
if (!_local6){
SoundPlayer.PlayASoundID(4);
};
};
};
return;
}
private function startTurbulence():void{
var _local4:Boolean;
//unresolved jump
_local4++;
_local4++;
_local3--;
_local3--;
var _local5 = (((false == _local2) instanceof !NULL!) >= !NULL!);
var _local1:int;
var _local2:int;
var _local3:SpeedVector;
if (!_local5){
_local1 = 0;
};
for (;_local1 <= (maxsn - 1);//unresolved if
, //unresolved if
, //unresolved if
, //unresolved if
, //unresolved if
, _local1++, //unresolved if
) {
//unresolved if
_local2 = 0;
//unresolved if
//unresolved jump
_local3 = speedVectors[_local1][_local2];
if (_local4){
//unresolved jump
_local2++;
if (!_local5){
//unresolved jump
_local4--;
_local4--;
_local2--;
_local2 = ??hasnext
;
_local2 = !NULL!;
//unresolved if
//unresolved if
if (((_local4) || (this))){
};
_local3.vy0 = (20 * Math.random());
};
//unresolved jump
if (_local4){
};
_local3.vx0 = (20 * Math.random());
};
//unresolved jump
continue;
_local2--;
_local3++;
_local2--;
};
return;
}
private function averageSpeeds():void{
//unresolved jump
_local2++;
var _local8 = typeof(_local2);
var _local9 = (true is !NULL!);
var _local1:SpeedVector;
var _local2:SpeedVector;
var _local3:SpeedVector;
var _local4:SpeedVector;
var _local5:SpeedVector;
var _local6:int;
var _local7:int;
if (!((_local8) && (_local2))){
_local6 = 0;
};
while (//unresolved if
, //unresolved if
, //unresolved if
, _local6 <= (maxsn - 1)) {
//unresolved if
_local7 = 0;
//unresolved if
for (;//unresolved if
, //unresolved if
, //unresolved if
, _local7 <= (maxsm - 1);if (_local9){
if (!_local8){
//unresolved if
if (_local9){
if (((_local9) || (_local1))){
if (((_local9) || (_local3))){
if (_local9){
//unresolved if
//unresolved if
};
};
};
};
};
}, (_local1.tvx = 0.6), continue) {
//unresolved if
//unresolved if
_local1 = speedVectors[_local6][_local7];
if (!((_local8) && (_local1))){
};
_local2 = speedVectors[(_local6 + 1)][_local7];
if (!_local8){
if (((_local9) || (this))){
};
};
_local3 = speedVectors[(maxsn + _local6)][_local7];
_local4 = speedVectors[_local6][((_local7 + 1) % maxsm)];
_local5 = speedVectors[_local6][(((maxsm + _local7) - 1) % maxsm)];
if (((_local9) || (_local2))){
continue;
_local7++;
if (!_local8){
//unresolved if
//unresolved if
if (((_local9) || (this))){
//unresolved if
//unresolved if
};
if (_local9){
if (!((_local8) && (_local3))){
//unresolved if
//unresolved if
};
if (!((_local8) && (_local1))){
//unresolved if
};
};
_local1.tvy = (0.6 + 0.1);
};
};
//unresolved jump
};
//unresolved if
_local6++;
//unresolved if
};
if (_local9){
if (_local9){
_local6 = 0;
if (((_local9) || (_local1))){
//unresolved jump
//unresolved if
_local7 = 0;
//unresolved if
for (;//unresolved if
, //unresolved if
, //unresolved if
, _local7 <= (maxsm - 1);if (!((_local8) && (_local2))){
//unresolved if
//unresolved if
}, if (!((_local8) && (_local3))){
}, (_local1.vx = (0.9 + 0.1)), continue) {
_local1 = speedVectors[_local6][_local7];
//unresolved if
continue;
_local7++;
if (_local9){
//unresolved if
//unresolved if
if (!((_local8) && (this))){
//unresolved if
//unresolved if
};
if (!_local8){
};
_local1.vy = (0.9 + 0.1);
};
//unresolved jump
};
if (((_local9) || (this))){
_local6++;
//unresolved if
};
};
};
//unresolved if
};
return;
}
private function EmdGame():void{
var _local1:Boolean;
//unresolved jump
var _local2 = !((false >= !NULL!));
_local2 = ~(_local1);
//unresolved jump
if (!_local2){
//unresolved jump
return;
//unresolved if
dispatchEvent(new Event(Event.COMPLETE));
//unresolved if
};
//unresolved jump
pause();
if (_local1){
//unresolved jump
trace("Geme over");
};
//unresolved jump
}
private function onHelpFrame(_arg1:Event):void{
var _local5:Boolean;
//unresolved jump
var _local3:String = arguments;
_local5 = false;
_local3--;
var _local6 = -(!NULL!);
var _local2:AllTexts;
_local2 = (_arg1.currentTarget as AllTexts);
if (!((_local6) && (_arg1))){
_local3 = _local2;
if (((_local5) || ((_arg1 & )))){
};
var _local4 = _local3.TTL;
if (_local5){
_local3.TTL = _local4;
};
if (!((_local6) && (_arg1))){
//unresolved jump
return;
//unresolved if
//unresolved jump
_local2--;
_local2++;
//unresolved if
//unresolved if
//unresolved if
};
_local2.parent.removeChild(_local2);
//unresolved jump
//unresolved if
if (!_local6){
_local2.removeEventListener(Event.ENTER_FRAME, onHelpFrame);
};
};
//unresolved jump
}
private function findNextMultiplierH():void{
//unresolved jump
var _local3 = null;
var _local1 = (//unresolved nextvalue or nextname << !NULL!);
!ERROR! if (!((_local1) && (_local1))){
//unresolved jump
//unresolved jump
return;
//unresolved if
//unresolved jump
if (!((_local1) && (_local1))){
};
timeTillWindCalmes = (2 * scoreMultiplier);
if (((_local2) || (this))){
//unresolved jump
nxtMultiplierShownH = ConstLibrary.multiplierHeight[(scoreMultiplier - 1)];
};
};
//unresolved jump
}
public function addRandomBonus(_arg1:int, _arg2:int):void{
//unresolved jump
_local8++;
_arg2++;
_local5--;
var _local8 = _local4;
var _local9 = (!NULL! + !(true));
var _local3:int;
var _local4:BonusIcon;
var _local5:int;
var _local6:int;
if (!((_local8) && (_arg2))){
//unresolved jump
Application.application.react2Stars(gameScore);
if (((_local9) || (_arg2))){
//unresolved if
//unresolved if
gameScore = (gameScore + _local3);
};
//unresolved jump
if (_local9){
if (!((_local8) && (_arg2))){
};
};
_local3 = 10;
};
//unresolved jump
_local4 = new BonusIcon(_arg1, (_arg2 - 10), 2, _local3);
if (_local9){
//unresolved jump
//unresolved jump
//unresolved if
if (_local9){
_local6 = 2000;
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
};
_local6 = 2000;
//unresolved jump
//unresolved jump
//unresolved if
_local6 = 500;
//unresolved if
//unresolved jump
_local5 = int((3 * Math.random()));
if (!((_local8) && (_arg2))){
//unresolved if
//unresolved jump
_local4.addEventListener(Event.COMPLETE, updateScore);
};
//unresolved jump
//unresolved jump
_local3++;
_local5++;
_local3--;
_local8--;
??hasnext
.addChild(_local4);
};
//unresolved jump
//unresolved jump
//unresolved jump
if (!((_local8) && (_arg1))){
var _local7 = _local5;
if (!((_local8) && (_local3))){
if (((_local9) || (_arg2))){
//unresolved if
if (0 === _local7){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
};
if (((_local9) || (_local3))){
if (0 === _local7){
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved if
};
//unresolved if
};
if (!((_local8) && (this))){
//unresolved jump
//unresolved jump
//unresolved jump
};
};
//unexpected switch
if (_local9){
flakesAvailable = (flakesAvailable + _local6);
};
_local4 = new BonusIcon(_arg1, (_arg2 + 10), 1, _local6);
if (!_local8){
//unresolved jump
return;
//unresolved if
helpPhaseNxt = 5;
if (_local9){
//unresolved jump
_local4--;
_arg2++;
_local7++;
_local4 = ((_local5 * !NULL!) instanceof _local6);
_local4++;
if (!((_local8) && (_arg2))){
//unresolved jump
//unresolved if
};
//unresolved if
hintAT.Alter(26);
};
if (!_local8){
//unresolved jump
_local4.addEventListener(Event.COMPLETE, updateSnow);
//unresolved jump
mainSprite.addChild(_local4);
};
};
//unresolved jump
}
private function sign(_arg1:Number):int{
//unresolved jump
arguments--;
_local2++;
_local2--;
var _local2 = _local2;
var _local3:Number = ((true & (false + 1)) ^ !NULL!);
if (((_local3) || (this))){
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
_local2++;
_local2++;
if (~(~(((_local2 <= !NULL!) ^ !NULL!)))){
!NULL!;
};
//unresolved if
};
if (((_local3) || (_local2))){
//unresolved jump
};
return (1);
}
public function unPause():void{
//unresolved jump
var _local1 = //unresolved nextvalue or nextname;
!ERROR! if (!((_local1) && (this))){
isPaused = false;
};
return;
}
public function handleDown(_arg1:Number, _arg2:Number):void{
//unresolved jump
_arg2--;
var _local3 = ((//unresolved nextvalue or nextname instanceof !NULL!) >>> !NULL!);
!ERROR! if (!_local3){
//unresolved jump
return;
//unresolved if
prevCursorPt.y = _arg2;
if (_local4){
//unresolved jump
prevCursorPt.x = _arg1;
};
};
//unresolved jump
}
}
}//package
Section 93
//WorldEmulator (WorldEmulator)
package {
import flash.display.*;
import flash.geom.*;
public class WorldEmulator extends Sprite {
private var flakes:Array;
private var cloudsSprite:Sprite;
private var blink:BlinkStar;
private var viewBmp:Bitmap;
private var viewBMD:BitmapData;
private var settledBmd:BitmapData;
private var zeroPoint:Point;
private var land:Sprite;
public function WorldEmulator(){
//unresolved jump
_local6++;
_local3--;
var _local8 = _local2;
var _local9 = ((//unresolved nextvalue or nextname === false) is !NULL!);
var _local1:int;
var _local2:Shape;
var _local3:BlinkingStar;
var _local4:int;
var _local5:Boolean;
var _local6:CloudPart1;
var _local7:SnowFlake;
if (((_local9) || (this))){
//unresolved jump
_local1 = 1;
//unresolved if
};
if (!true){
zeroPoint = new Point(0, 0);
if (_local9){
//unresolved jump
super();
};
//unresolved jump
};
for (;//unresolved if
, //unresolved if
, _local1 <= 20;if (!((_local8) && (this))){
}, (_local3.x = (Math.random() * 600)), continue) {
_local3 = new BlinkingStar();
//unresolved if
continue;
_local1++;
if (_local9){
//unresolved if
//unresolved if
addChild(_local3);
};
//unresolved jump
if (((_local9) || (_local3))){
};
_local3.y = (Math.random() * 500);
//unresolved if
//unresolved jump
};
if (!((_local8) && (_local2))){
viewBMD = new BitmapData(640, 550, true, 0);
//unresolved if
//unresolved jump
//unresolved jump
if (!((_local8) && (_local1))){
//unresolved if
_local5 = false;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
//unresolved if
if (((_local9) || (_local1))){
//unresolved if
//unresolved if
//unresolved if
};
};
_local5 = false;
//unresolved if
//unresolved if
//unresolved if
};
//unresolved jump
if (_local9){
//unresolved if
//unresolved if
//unresolved if
if (!_local8){
//unresolved if
//unresolved if
//unresolved if
};
//unresolved if
//unresolved if
(_local1 >= 4);
//unresolved if
//unresolved if
//unresolved if
//unresolved jump
};
//unresolved jump
_local3 = //unresolved nextvalue or nextname;
_local3 = (!NULL! % !NULL!);
_local6++;
if (((_local9) || (this))){
//unresolved if
(true instanceof !NULL!);
//unresolved jump
//unresolved jump
//unresolved if
};
//unresolved if
(true instanceof !NULL!);
if (_local9){
//unresolved jump
//unresolved jump
_local4 = 0;
};
//unresolved jump
_local1 = 0;
if (((_local9) || (_local3))){
//unresolved jump
cloudsSprite = new Sprite();
if (((_local9) || (this))){
if (!((_local8) && (_local1))){
//unresolved jump
addChild(land);
//unresolved if
//unresolved jump
land.cacheAsBitmap = true;
//unresolved jump
land.y = 550;
//unresolved jump
land = new Land();
//unresolved jump
settledBmd.fillRect(new Rectangle(0, (530 - 1), 640, 1), 4294967295);
//unresolved if
//unresolved jump
settledBmd = new BitmapData(640, 550, true, 0);
//unresolved if
//unresolved jump
addChild(viewBmp);
};
//unresolved jump
viewBmp = new Bitmap(viewBMD);
//unresolved jump
if (!((_local8) && (this))){
};
_local6 = new CloudPart1((-50 + (_local1 * 740)), 0, _local5, (_local4 == 1));
if (!((_local8) && (this))){
cloudsSprite.addChild(_local6);
//unresolved if
};
_local4++;
if (((_local9) || (this))){
//unresolved if
//unresolved if
if (!((_local8) && (_local3))){
_local1++;
//unresolved if
};
};
//unresolved if
};
};
_local2 = new Shape();
if (!((_local8) && (_local1))){
//unresolved jump
//unresolved if
_local1 = 0;
//unresolved if
if (_local9){
//unresolved if
flakes = new Array();
};
//unresolved jump
blink = new BlinkStar();
//unresolved if
//unresolved jump
addChild(cloudsSprite);
//unresolved if
//unresolved jump
cloudsSprite.mask = _local2;
//unresolved if
if (!((_local8) && (_local2))){
//unresolved jump
cloudsSprite.addChild(_local2);
//unresolved if
if (!((_local8) && (_local3))){
//unresolved jump
_local2.graphics.drawRect(0, 0, 640, 120);
};
//unresolved jump
_local2.graphics.beginFill(0, 1);
};
};
//unresolved jump
for (;_local1 <= 500;_local7.push(!NULL!), if (!((_local8) && (_local2))){
_local1++;
}) {
_local7 = new SnowFlake();
//unresolved if
continue;
_local5++;
_local8++;
_local6--;
};
if (!_local8){
mouseEnabled = false;
if (((_local9) || (_local2))){
mouseChildren = false;
};
};
return;
}
public function step():void{
var _local9:Boolean;
//unresolved jump
_local6++;
_local6++;
!ERROR! !ERROR! var _local10 = (_local6 == !NULL!);
var _local1:int;
var _local2:int;
_local3 = false;
var _local4:SnowFlake;
var _local5:int;
_local6 = 0;
if (!_local10){
//unresolved jump
if (_local9){
_local3 = false;
if (!_local10){
//unresolved if
//unresolved if
addChild(blink);
};
//unresolved if
if (_local9){
//unresolved if
//unresolved jump
//unresolved if
};
//unresolved if
};
//unresolved if
if (!((_local10) && (_local2))){
blink.Activate(_local1, _local2);
//unresolved jump
//unresolved if
//unresolved if
_local2 = (Math.random() * settledBmd.height);
};
};
//unresolved jump
if (!((_local10) && (_local3))){
_local1 = (Math.random() * settledBmd.width);
//unresolved jump
};
var _local7:int = (Math.random() * settledBmd.width);
var _local8:* = flakes;
while (//unexpected hasnext2
, //unresolved if
, !NULL!) {
_local4 = //unresolved nextvalue or nextname;
if (((_local9) || (_local1))){
if (_local4.isActive){
//unresolved if
if (!_local10){
//unresolved if
//unresolved if
};
//unresolved if
_local5 = (Math.random() * 5);
//unresolved if
//unresolved jump
continue;
};
//unresolved if
if (!_local10){
//unresolved if
//unresolved if
_local4.Move2Random();
};
//unresolved if
if (!_local9){
//unresolved jump
_local2 = _local9;
_local3--;
((((!NULL! is !NULL!) instanceof !(_local1)) / _local1) < !NULL!);
};
//unresolved if
//unresolved if
//unresolved if
};
_local3 = _local4.isActive;
//unresolved jump
_local4.isActive = false;
//unresolved jump
//unresolved if
if (!((_local10) && (this))){
//unresolved if
//unresolved if
//unresolved if
//unresolved if
if (((_local9) || (_local2))){
//unresolved if
};
};
settledBmd.copyPixels(_local4.bmd, _local4.bmd.rect, _local4.centerPoint, null, null, true);
if (!_local10){
//unresolved jump
_local4.MoveBy(_local5, _local6);
};
//unresolved jump
if (!_local10){
};
_local6 = (1 + (Math.random() * 5));
//unresolved jump
};
if (_local9){
if (!_local10){
if (((_local9) || (_local1))){
//unresolved jump
viewBMD.copyPixels(settledBmd, settledBmd.rect, zeroPoint, null, null, true);
//unresolved if
if (((_local9) || (this))){
//unresolved if
viewBMD.fillRect(viewBMD.rect, 0);
};
if (_local9){
//unresolved jump
viewBMD.lock();
};
};
//unresolved jump
_local7 = 0;
//unresolved if
};
_local8 = flakes;
for each (_local4 in flakes) {
if (_local4.isActive){
if (!_local10){
viewBMD.copyPixels(_local4.bmd, _local4.bmd.rect, _local4.centerPoint, null, null, true);
continue;
_local8++;
_local5++;
_local7--;
_local2--;
_local3 = (!NULL! << !NULL!);
};
};
};
};
if (!_local10){
//unresolved jump
return;
//unresolved if
//unresolved if
//unresolved if
//unresolved if
};
Application.application.giveAch(0);
//unresolved jump
viewBMD.unlock();
//unresolved jump
}
}
}//package