STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228508
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2565 · P5129

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/19304808?noj=FRM19304808-23DC" width="1" height="1"></div>

Planet Runner.swf

This is the info page for
Flash #66521

(Click the ID number above for more basic data on this flash file.)


Text
skip

PLAY MORE GAMES

CANCEL

submit

<p align="right"><font face="DestructoBeam BB" size="33" color="#ffffff" letterSpacing="0.000000" kerning="1">00000000</font></p>

SCORE

PRESENTED BY:

Over

Game

developed by

developeR:
Zdravko Beykov

Stage

Clear

<p align="right"><font face="Cosmic Alien" size="59" color="#ffff00" letterSpacing="0.000000" kerning="1">0000000</font></p>

<p align="right"><font face="256 Bytes" size="59" color="#ffffff" letterSpacing="0.000000" kerning="1">time bonus</font></p>

<p align="right"><font face="Cosmic Alien" size="59" color="#ffff00" letterSpacing="0.000000" kerning="1">0000000</font></p>

<p align="right"><font face="256 Bytes" size="59" color="#ffffff" letterSpacing="0.000000" kerning="1">star bonus</font></p>

<p align="right"><font face="Cosmic Alien" size="59" color="#ffff00" letterSpacing="0.000000" kerning="1">0000000</font></p>

<p align="right"><font face="256 Bytes" size="59" color="#ffffff" letterSpacing="0.000000" kerning="1">score</font></p>

PLAY MORE GAMES AT

press "ESC" to unpause

GO TO MAIN MENU

RETRY?:

controls:

jump

shoot

move

S

A

pause

<p align="center"><font face="DestructoBeam BB" size="32" color="#ffffff" letterSpacing="0.000000" kerning="1">well done,</font></p><p align="center"><font face="DestructoBeam BB" size="32" color="#ffffff" letterSpacing="0.000000" kerning="1">planet runner!</font></p>

PRESS     and     to turn and
avoid the spikes!

HIT a green pylon to obtain
a power up!

S

Good JOB! NOW you can
shoot them with     !

PRESS and HOLD     and     to
JUMP FAR AND HIGH!

A

BOSS IS COMMING! YOU CAN
FLY AND SHOOT AT HIM!

HEllo,
You are the planet runner!

PRESS     TO MOVE FASTER AND
AVOID RUNNING OUT OF TIME!

Collect stars for bonus
points when you beat a level!

AIM for his head!

e

Sc

you can press     to
pause and sEE MENU

You ARE THE PLANET RUNNER !

EFFECT

ENEMY HEAD:

PLAY

CREDITS

HI SCORES

more games

<p align="center"><font face="Cosmic Alien" size="20" color="#0000ff" letterSpacing="0.000000" kerning="1">0 %</font></p>

GAMEPRISON.com PRESENTS

denta

bonuses (hit green pylons):

music:

programming, graphics:

eliteferrex

dr clay

Music:

ozdy.com

programMing, graphics:

credits

credits

go

lose life

extra life

invincibility

armor

shot

pause

move left/right

go fast/slow

back

Time

Time

<p align="right"><font face="256 Bytes" size="59" color="#ffffff" letterSpacing="0.000000" kerning="1">Mushroom</font></p>

<p align="right"><font face="256 Bytes" size="59" color="#ffffff" letterSpacing="0.000000" kerning="1">Mushroom</font></p>

<p align="right"><font face="256 Bytes" size="59" color="#ffffff" letterSpacing="0.000000" kerning="1">Mushroom</font></p>

<p align="right"><font face="256 Bytes" size="59" color="#0000ff" letterSpacing="0.000000" kerning="1"><b>Mushroom</b></font></p>

<p align="right"><font face="256 Bytes" size="59" color="#ffffff" letterSpacing="0.000000" kerning="1">Mushroom</font></p>

<p align="right"><font face="256 Bytes" size="59" color="#0000ff" letterSpacing="0.000000" kerning="1"><b>Mushroom</b></font></p>

TIME

<p align="right"><font face="Cosmic Alien" size="19" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>00</b></font></p>

<p align="right"><font face="Cosmic Alien" size="20" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>00</b></font></p>

<p align="right"><font face="Cosmic Alien" size="20" color="#00ff00" letterSpacing="0.000000" kerning="1"><b>00</b></font></p>

x

SCORE

DOMAIN ERROR!

ENEMY HEAD:

ActionScript [AS3]

Section 1
//Color (fl.motion.Color) package fl.motion { import flash.display.*; import flash.geom.*; public class Color extends ColorTransform { private var _tintMultiplier:Number;// = 0 private var _tintColor:Number;// = 0 public function Color(_arg1:Number=1, _arg2:Number=1, _arg3:Number=1, _arg4:Number=1, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0){ _tintColor = 0; _tintMultiplier = 0; super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); } public function setTint(_arg1:uint, _arg2:Number):void{ var _local3:uint; var _local4:uint; var _local5:uint; this._tintColor = _arg1; this._tintMultiplier = _arg2; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = (1 - _arg2))); _local3 = ((_arg1 >> 16) & 0xFF); _local4 = ((_arg1 >> 8) & 0xFF); _local5 = (_arg1 & 0xFF); this.redOffset = Math.round((_local3 * _arg2)); this.greenOffset = Math.round((_local4 * _arg2)); this.blueOffset = Math.round((_local5 * _arg2)); } public function set tintColor(_arg1:uint):void{ this.setTint(_arg1, this.tintMultiplier); } public function get brightness():Number{ return ((this.redOffset) ? (1 - this.redMultiplier) : (this.redMultiplier - 1)); } private function deriveTintColor():uint{ var _local1:Number; var _local2:uint; var _local3:uint; var _local4:uint; var _local5:uint; _local1 = (1 / this.tintMultiplier); _local2 = Math.round((this.redOffset * _local1)); _local3 = Math.round((this.greenOffset * _local1)); _local4 = Math.round((this.blueOffset * _local1)); _local5 = (((_local2 << 16) | (_local3 << 8)) | _local4); return (_local5); } public function get tintMultiplier():Number{ return (this._tintMultiplier); } public function get tintColor():uint{ return (this._tintColor); } public function set brightness(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (_arg1 > 1){ _arg1 = 1; } else { if (_arg1 < -1){ _arg1 = -1; }; }; _local2 = (1 - Math.abs(_arg1)); _local3 = 0; if (_arg1 > 0){ _local3 = (_arg1 * 0xFF); }; this.redMultiplier = (this.greenMultiplier = (this.blueMultiplier = _local2)); this.redOffset = (this.greenOffset = (this.blueOffset = _local3)); } public function set tintMultiplier(_arg1:Number):void{ this.setTint(this.tintColor, _arg1); } private function parseXML(_arg1:XML=null):Color{ var _local2:XML; var _local3:XML; var _local4:String; var _local5:uint; if (!_arg1){ return (this); }; _local2 = _arg1.elements()[0]; if (!_local2){ return (this); }; for each (_local3 in _local2.attributes()) { _local4 = _local3.localName(); if (_local4 == "tintColor"){ _local5 = (Number(_local3.toString()) as uint); this.tintColor = _local5; } else { this[_local4] = Number(_local3.toString()); }; }; return (this); } public static function interpolateColor(_arg1:uint, _arg2:uint, _arg3:Number):uint{ var _local4:Number; var _local5:uint; var _local6:uint; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:uint; var _local11:uint; var _local12:uint; var _local13:uint; var _local14:uint; var _local15:uint; var _local16:uint; var _local17:uint; _local4 = (1 - _arg3); _local5 = ((_arg1 >> 24) & 0xFF); _local6 = ((_arg1 >> 16) & 0xFF); _local7 = ((_arg1 >> 8) & 0xFF); _local8 = (_arg1 & 0xFF); _local9 = ((_arg2 >> 24) & 0xFF); _local10 = ((_arg2 >> 16) & 0xFF); _local11 = ((_arg2 >> 8) & 0xFF); _local12 = (_arg2 & 0xFF); _local13 = ((_local5 * _local4) + (_local9 * _arg3)); _local14 = ((_local6 * _local4) + (_local10 * _arg3)); _local15 = ((_local7 * _local4) + (_local11 * _arg3)); _local16 = ((_local8 * _local4) + (_local12 * _arg3)); _local17 = ((((_local13 << 24) | (_local14 << 16)) | (_local15 << 8)) | _local16); return (_local17); } public static function interpolateTransform(_arg1:ColorTransform, _arg2:ColorTransform, _arg3:Number):ColorTransform{ var _local4:Number; var _local5:ColorTransform; _local4 = (1 - _arg3); _local5 = new ColorTransform(((_arg1.redMultiplier * _local4) + (_arg2.redMultiplier * _arg3)), ((_arg1.greenMultiplier * _local4) + (_arg2.greenMultiplier * _arg3)), ((_arg1.blueMultiplier * _local4) + (_arg2.blueMultiplier * _arg3)), ((_arg1.alphaMultiplier * _local4) + (_arg2.alphaMultiplier * _arg3)), ((_arg1.redOffset * _local4) + (_arg2.redOffset * _arg3)), ((_arg1.greenOffset * _local4) + (_arg2.greenOffset * _arg3)), ((_arg1.blueOffset * _local4) + (_arg2.blueOffset * _arg3)), ((_arg1.alphaOffset * _local4) + (_arg2.alphaOffset * _arg3))); return (_local5); } public static function fromXML(_arg1:XML):Color{ return (Color(new (Color).parseXML(_arg1))); } } }//package fl.motion
Section 2
//MochiAd (mochi.as3.MochiAd) package mochi.as3 { import flash.display.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.system.*; public class MochiAd { public static function getVersion():String{ return ("3.0 as3"); } public static function showClickAwayAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_timeout:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var sendHostProgress:Boolean; var options = _arg1; DEFAULTS = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_timeout = options.ad_timeout; delete options.ad_timeout; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; sendHostProgress = false; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(_arg1:String):String{ var _local2:String; _local2 = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType == "application"){ return (_local2); }; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (_arg1.origFrameRate != undefined){ _arg1.stage.frameRate = _arg1.origFrameRate; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad._containerLCName != undefined){ _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"}); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ MochiAd._cleanup(mc); options.ad_finished(); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ MochiAd.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Number; var _local3:Boolean; var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; _local1 = this.parent._mochiad_ctr; _local2 = (getTimer() - this.started); _local3 = false; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local3:Object; var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; _local3 = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); }; return (_local3); } public static function _cleanup(_arg1:Object):void{ var idx:Number; var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; idx = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(_arg1:Object):MovieClip{ var DEFAULTS:Object; var clip:Object; var depth:Number; var mc:MovieClip; var wh:Array; var lv:URLVariables; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; DEFAULTS = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = MochiAd.getVersion(); clip = options.clip; if (!MochiAd._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; depth = options.depth; delete options.depth; mc = createEmptyMovieClip(clip, "_mochiad", depth); wh = MochiAd._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; } else { trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal"); }; lv = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); MochiAd.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime())); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function (_arg1:IOErrorEvent):void{ trace("[MochiAds] Blocked URL"); }); loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip; _local4 = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local3:Object; var _local4:Number; var _local5:Number; var _local6:Array; _local3 = _arg2.getBounds(_arg2.root); _local4 = 0; _local5 = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array; var _local4:Number; _local3 = _arg2.split("."); _local4 = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": MochiAd.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = MochiAd.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = MochiAd.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; default: trace(("[mochiads rpc] unknown rpc id: " + _arg3.id)); }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array; var _local5:Number; _local4 = _arg2.split("."); _local5 = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function showPreGameAd(_arg1:Object):void{ var DEFAULTS:Object; var clip:Object; var ad_msec:Number; var ad_timeout:Number; var fadeout_time:Number; var mc:MovieClip; var wh:Array; var w:Number; var h:Number; var chk:MovieClip; var bar:MovieClip; var bar_color:Number; var bar_background:Number; var bar_outline:Number; var backing_mc:MovieClip; var backing:Object; var inside_mc:MovieClip; var inside:Object; var outline_mc:MovieClip; var outline:Object; var complete:Boolean; var unloaded:Boolean; var f:Function; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = _arg1; DEFAULTS = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ trace("[MochiAd] Couldn't load an ad, make sure your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_skipped:function ():void{ }, ad_progress:function (_arg1:Number):void{ }}; options = MochiAd._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); return; }; clip = options.clip; ad_msec = 11000; ad_timeout = options.ad_timeout; delete options.ad_timeout; fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ var fn:Function; MochiAd._cleanup(mc); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; wh = MochiAd._getRes(options, clip); w = wh[0]; h = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); bar = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = 10; bar.y = (h - 20); }; bar_color = options.color; delete options.color; bar_background = options.background; delete options.background; bar_outline = options.outline; delete options.outline; backing_mc = createEmptyMovieClip(bar, "_outline", 1); backing = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo((w - 20), 0); backing.lineTo((w - 20), 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); inside_mc = createEmptyMovieClip(bar, "_inside", 2); inside = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo((w - 20), 0); inside.lineTo((w - 20), 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; outline_mc = createEmptyMovieClip(bar, "_outline", 3); outline = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo((w - 20), 0); outline.lineTo((w - 20), 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number; _local1 = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { MochiAd.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; f = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ MochiAd.unload(clip); }; }; clip.loaderInfo.addEventListener(Event.COMPLETE, f); if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ MochiAd.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object; _local2 = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ MochiAd.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ trace(("[MOCHIAD rpcTestFn] " + _arg1)); return (_arg1); }; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local1:Object; var _local2:Object; var _local3:Number; var _local4:Boolean; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; var _local9:Object; var _local10:Number; var _local11:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; _local1 = this.parent.parent.root; _local2 = this.parent._mochiad_ctr; _local3 = (getTimer() - this.started); _local4 = false; _local5 = _local1.loaderInfo.bytesTotal; _local6 = _local1.loaderInfo.bytesLoaded; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; _local7 = ((100 * _local6) / _local5); _local8 = ((100 * _local3) / chk.ad_msec); _local9 = this._mochiad_bar._inside; _local10 = Math.min(100, Math.min(((_local7) || (0)), _local8)); _local10 = Math.max(this.last_pcnt, _local10); this.last_pcnt = _local10; _local9.scaleX = (_local10 * 0.01); options.ad_progress(_local10); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local7}); if (_local7 == 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local11 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local11 > 0){ chk.showing = true; chk.started = getTimer(); MochiAd.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local7 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); MochiAd.showPreGameAd(_arg1); } public static function showTimedAd(_arg1:Object):void{ trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); MochiAd.showInterLevelAd(_arg1); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var f:Function; var mc = _arg1; f = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package mochi.as3
Section 3
//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{ Encoder = 0; setValue(_arg1, _arg2); } public function set value(_arg1:Number):void{ setValue(_arg1); } public function reencode():void{ var _local1:uint; _local1 = int((2147483647 * Math.random())); Fragment = (Fragment ^ (_local1 ^ Encoder)); Encoder = _local1; } public function toString():String{ var _local1:String; _local1 = String.fromCharCode((Fragment ^ Encoder)); if (Sibling != null){ _local1 = (_local1 + Sibling.toString()); }; return (_local1); } public function get value():Number{ return (Number(this.toString())); } public function setValue(_arg1:Number=0, _arg2:uint=0):void{ var _local3:String; _local3 = _arg1.toString(); var _temp1 = _arg2; _arg2 = (_arg2 + 1); Fragment = (_local3.charCodeAt(_temp1) ^ Encoder); if (_arg2 < _local3.length){ Sibling = new MochiDigits(_arg1, _arg2); } else { Sibling = null; }; reencode(); } public function addValue(_arg1:Number):void{ value = (value + _arg1); } } }//package mochi.as3
Section 4
//MochiScores (mochi.as3.MochiScores) package mochi.as3 { import flash.display.*; import flash.text.*; public class MochiScores { private static var boardID:String; public static var onErrorHandler:Object; public static var onCloseHandler:Object; public static function showLeaderboard(_arg1:Object=null):void{ var n:Number; var options = _arg1; if (options != null){ if (options.clip != null){ if ((options.clip is Sprite)){ MochiServices.setContainer(options.clip); }; delete options.clip; } else { MochiServices.setContainer(); }; MochiServices.stayOnTop(); if (options.name != null){ if ((options.name is TextField)){ if (options.name.text.length > 0){ options.name = options.name.text; }; }; }; if (options.score != null){ if ((options.score is TextField)){ if (options.score.text.length > 0){ options.score = options.score.text; }; } else { if ((options.score is MochiDigits)){ options.score = options.score.value; }; }; n = Number(options.score); if (isNaN(n)){ trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is 'Not a Number'")); } else { if ((((n == Number.NEGATIVE_INFINITY)) || ((n == Number.POSITIVE_INFINITY)))){ trace((("ERROR: Submitted score '" + options.score) + "' will be rejected, score is an infinite")); } else { if (Math.floor(n) != n){ trace((("WARNING: Submitted score '" + options.score) + "' will be truncated")); }; options.score = n; }; }; }; if (options.onDisplay != null){ options.onDisplay(); } else { if (MochiServices.clip != null){ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; }; } else { options = {}; if ((MochiServices.clip is MovieClip)){ MochiServices.clip.stop(); } else { trace("Warning: Container is not a MovieClip, cannot call default onDisplay."); }; }; if (options.onClose != null){ onCloseHandler = options.onClose; } else { onCloseHandler = function ():void{ if ((MochiServices.clip is MovieClip)){ MochiServices.clip.play(); } else { trace("Warning: Container is not a MovieClip, cannot call default onClose."); }; }; }; if (options.onError != null){ onErrorHandler = options.onError; } else { onErrorHandler = null; }; if (options.boardID == null){ if (MochiScores.boardID != null){ options.boardID = MochiScores.boardID; }; }; trace("[MochiScores] NOTE: Security Sandbox Violation errors below are normal"); MochiServices.send("scores_showLeaderboard", {options:options}, null, onClose); } public static function closeLeaderboard():void{ MochiServices.send("scores_closeLeaderboard"); } public static function getPlayerInfo(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_getPlayerInfo", null, _arg1, _arg2); } public static function requestList(_arg1:Object, _arg2:Object=null):void{ MochiServices.send("scores_requestList", null, _arg1, _arg2); } public static function scoresArrayToObjects(_arg1:Object):Object{ var _local2:Object; var _local3:Number; var _local4:Number; var _local5:Object; var _local6:Object; var _local7:String; var _local8:String; _local2 = {}; for (_local7 in _arg1) { if (typeof(_arg1[_local7]) == "object"){ if (((!((_arg1[_local7].cols == null))) && (!((_arg1[_local7].rows == null))))){ _local2[_local7] = []; _local5 = _arg1[_local7]; _local4 = 0; while (_local4 < _local5.rows.length) { _local6 = {}; _local3 = 0; while (_local3 < _local5.cols.length) { _local6[_local5.cols[_local3]] = _local5.rows[_local4][_local3]; _local3++; }; _local2[_local7].push(_local6); _local4++; }; } else { _local2[_local7] = {}; for (_local8 in _arg1[_local7]) { _local2[_local7][_local8] = _arg1[_local7][_local8]; }; }; } else { _local2[_local7] = _arg1[_local7]; }; }; return (_local2); } public static function submit(_arg1:Number, _arg2:String, _arg3:Object=null, _arg4:Object=null):void{ _arg1 = Number(_arg1); if (isNaN(_arg1)){ trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is 'Not a Number'")); } else { if ((((_arg1 == Number.NEGATIVE_INFINITY)) || ((_arg1 == Number.POSITIVE_INFINITY)))){ trace((("ERROR: Submitted score '" + String(_arg1)) + "' will be rejected, score is an infinite")); } else { if (Math.floor(_arg1) != _arg1){ trace((("WARNING: Submitted score '" + String(_arg1)) + "' will be truncated")); }; _arg1 = Number(_arg1); }; }; MochiServices.send("scores_submit", {score:_arg1, name:_arg2}, _arg3, _arg4); } public static function onClose(_arg1:Object=null):void{ if (_arg1 != null){ if (_arg1.error != null){ if (_arg1.error == true){ if (onErrorHandler != null){ if (_arg1.errorCode == null){ _arg1.errorCode = "IOError"; }; onErrorHandler(_arg1.errorCode); MochiServices.doClose(); return; }; }; }; }; onCloseHandler(); MochiServices.doClose(); } public static function setBoardID(_arg1:String):void{ MochiScores.boardID = _arg1; MochiServices.send("scores_setBoardID", {boardID:_arg1}); } } }//package mochi.as3
Section 5
//MochiServices (mochi.as3.MochiServices) package mochi.as3 { import flash.display.*; import flash.events.*; import flash.net.*; import flash.utils.*; import flash.system.*; import flash.geom.*; public class MochiServices { private static var _container:Object; private static var _connected:Boolean = false; private static var _swfVersion:String; public static var netupAttempted:Boolean = false; private static var _sendChannel:LocalConnection; private static var _clip:MovieClip; private static var _loader:Loader; private static var _id:String; private static var _listenChannel:LocalConnection; public static var widget:Boolean = false; private static var _timer:Timer; private static var _sendChannelName:String; private static var _connecting:Boolean = false; public static var onError:Object; private static var _listenChannelName:String = "__ms_"; private static var _servicesURL:String = "http://www.mochiads.com/static/lib/services/services.swf"; public static var netup:Boolean = true; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function get connected():Boolean{ return (_connected); } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (_clip != null){ if (_clip._queue != null){ while (_clip._queue.length > 0) { _local2 = _clip._queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _clip._callbacks[_local2.callbackID]; }; delete _clip._callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; }; } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _sendChannel.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ onError("NotConnected"); handleError(_arg2, _arg3, _arg4); flush(true); return; }; _clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); }; if (_clip != null){ if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){ _clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _clip._nextcallbackID++; }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } public static function get childClip():Object{ return (_clip); } private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{ var _local3:Array; var _local4:int; var _local5:Array; var _local6:Array; var _local7:MovieClip; var _local8:LocalConnection; var _local9:String; var _local10:ByteArray; var _local11:ByteArray; var _local12:uint; var _local13:uint; var _local14:Loader; _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, 7, 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]; _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(); _local9 = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().getTime())); _local8 = new LocalConnection(); _local7.lc = _local8; _local7.click = _arg2; _local8.client = _local7; _local8.connect(_local9); _local10 = new ByteArray(); _local11 = new ByteArray(); _local11.endian = Endian.LITTLE_ENDIAN; _local11.writeShort(1); _local11.writeUTFBytes(((_arg1 + " ") + _local9)); _local11.writeByte(0); _local12 = ((_local3.length + _local11.length) + 4); _local13 = (_local12 + 35); _local10.endian = Endian.LITTLE_ENDIAN; _local10.writeUTFBytes("FWS"); _local10.writeByte(8); _local10.writeUnsignedInt(_local13); for each (_local4 in _local5) { _local10.writeByte(_local4); }; _local10.writeUnsignedInt(_local12); _local10.writeByte(136); _local10.writeShort(_local11.length); _local10.writeBytes(_local11); for each (_local4 in _local3) { _local10.writeByte(_local4); }; for each (_local4 in _local6) { _local10.writeByte(_local4); }; _local14 = new Loader(); _local14.loadBytes(_local10); _local7.addChild(_local14); return (_local7); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, MochiServices.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{ var vars:Object; var avm1Click:DisplayObject; var s:String; var i:Number; var x:String; var req:URLRequest; var loader:Loader; var setURL:Function; var err:Function; var complete:Function; var url = _arg1; var burl = _arg2; var btn = _arg3; var onClick = _arg4; vars = new Object(); vars["mav"] = getVersion(); vars["swfv"] = "9"; vars["swfurl"] = btn.loaderInfo.loaderURL; vars["fv"] = Capabilities.version; vars["os"] = Capabilities.os; vars["lang"] = Capabilities.language; vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY); s = "?"; i = 0; for (x in vars) { if (i != 0){ s = (s + "&"); }; i = (i + 1); s = (((s + x) + "=") + escape(vars[x])); }; req = new URLRequest("http://x.mochiads.com/linkping.swf"); loader = new Loader(); 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); }; err = function (_arg1:Object):void{ netup = false; _arg1.target.removeEventListener(_arg1.type, arguments.callee); setURL(burl); }; complete = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; if (netup){ setURL((url + s)); } else { setURL(burl); }; if (!((netupAttempted) || (_connected))){ netupAttempted = true; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete); loader.load(req); }; } public static function disconnect():void{ if (((_connected) || (_connecting))){ if (_clip != null){ if (_clip.parent != null){ if ((_clip.parent is Sprite)){ Sprite(_clip.parent).removeChild(_clip); _clip = null; }; }; }; _connecting = (_connected = false); flush(true); try { _listenChannel.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; if (Security.sandboxType != "application"){ Security.allowDomain("*"); Security.allowInsecureDomain("*"); }; if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType != "application"){ Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; }; return (_local2); } public static function getVersion():String{ return ("3.0"); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); if (_clip.parent != null){ Sprite(_clip.parent).removeChild(_clip); }; } private static function onStatus(_arg1:StatusEvent):void{ switch (_arg1.level){ case "error": _connected = false; _listenChannel.connect(_listenChannelName); break; }; } public static function get id():String{ return (_id); } private static function urlOptions(_arg1:Object):Object{ var _local2:Object; var _local3:String; var _local4:Array; var _local5:Number; var _local6:Array; _local2 = {}; _local3 = _arg1.loaderInfo.parameters.mochiad_options; if (_local3){ _local4 = _local3.split("&"); _local5 = 0; while (_local5 < _local4.length) { _local6 = _local4[_local5].split("="); _local2[unescape(_local6[0])] = unescape(_local6[1]); _local5++; }; }; return (_local2); } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_arg1 != null){ if ((_arg1 is Sprite)){ _container = _arg1; }; }; if (_arg2){ if ((_container is Sprite)){ Sprite(_container).addChild(_clip); }; }; } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ var args = _arg1; var callbackObject = _arg2; var callbackMethod = _arg3; if (args != null){ if (args.onError != null){ args.onError.apply(null, ["NotConnected"]); }; if (((!((args.options == null))) && (!((args.options.onError == null))))){ args.options.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ try { var _local5 = callbackObject; _local5[callbackMethod](args); } catch(error:Error) { }; } else { if (callbackMethod != null){ try { callbackMethod.apply(args); } catch(error:Error) { }; }; }; }; } private static function initComChannels():void{ if (!_connected){ _sendChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_container, version:getVersion(), parentURL:_container.loaderInfo.loaderURL}); _listenChannel.addEventListener(StatusEvent.STATUS, MochiServices.onStatus); _clip.onReceive = function (_arg1:Object):void{ var cb:String; var cblst:Object; var method:*; var methodName:String; var obj:Object; var pkg = _arg1; cb = pkg.callbackID; cblst = this.client._callbacks[cb]; if (!cblst){ return; }; method = cblst.callbackMethod; methodName = ""; obj = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; } else { trace((("Error: Method " + method) + " does not exist.")); }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { trace(((("Error invoking callback method '" + methodName) + "': ") + error.toString())); }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { trace(("Error invoking method on object: " + error.toString())); }; }; }; delete this.client._callbacks[cb]; }; _clip.onError = function ():void{ MochiServices.onError("IOError"); }; trace("connected!"); _connecting = false; _connected = true; while (_clip._queue.length > 0) { _sendChannel.send(_sendChannelName, "onReceive", _clip._queue.shift()); }; }; } private static function listen():void{ _listenChannel = new LocalConnection(); _listenChannel.client = _clip; _clip.handshake = function (_arg1:Object):void{ MochiServices.comChannelName = _arg1.newChannel; }; _listenChannel.allowDomain("*", "localhost"); _listenChannel.allowInsecureDomain("*", "localhost"); _listenChannel.connect(_listenChannelName); trace("Waiting for MochiAds services to connect..."); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ var clipname:String; var f:Function; var req:URLRequest; var vars:URLVariables; var id = _arg1; var clip = _arg2; clipname = ("_mochiservices_com_" + id); if (_clip != null){ return (_clip); }; if (!MochiServices.isNetworkAvailable()){ return (null); }; if (urlOptions(clip).servicesURL != undefined){ _servicesURL = urlOptions(clip).servicesURL; }; MochiServices.allowDomains(_servicesURL); _clip = createEmptyMovieClip(clip, clipname, 10336, false); _loader = new Loader(); f = function (_arg1:Object):void{ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load."); MochiServices.disconnect(); MochiServices.onError("IOError"); }; _listenChannelName = (_listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor((Math.random() * 99999)))); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, f); req = new URLRequest(_servicesURL); vars = new URLVariables(); vars.listenLC = _listenChannelName; vars.mochiad_options = clip.loaderInfo.parameters.mochiad_options; if (widget){ vars.widget = true; }; req.data = vars; listen(); _loader.load(req); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _clip._nextcallbackID = 0; _clip._callbacks = {}; _timer = new Timer(10000, 1); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); return (_clip); } public static function get clip():Object{ return (_container); } public static function bringToTop(_arg1:Event):void{ var e = _arg1; if (MochiServices.clip != null){ if (MochiServices.childClip != null){ try { if (MochiServices.clip.numChildren > 1){ MochiServices.clip.setChildIndex(MochiServices.childClip, (MochiServices.clip.numChildren - 1)); }; } catch(errorObject:Error) { trace("Warning: Depth sort error."); _container.removeEventListener(Event.ENTER_FRAME, MochiServices.bringToTop); }; }; }; } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; if ((clip is DisplayObject)){ if (((!(_connected)) && ((_clip == null)))){ trace("MochiServices Connecting..."); _connecting = true; init(id, clip); }; } else { trace("Error, MochiServices requires a Sprite, Movieclip or instance of the stage."); }; if (onError != null){ MochiServices.onError = onError; } else { if (MochiServices.onError == null){ MochiServices.onError = function (_arg1:String):void{ trace(_arg1); }; }; }; } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{ var mc:MovieClip; var parent = _arg1; var name = _arg2; var depth = _arg3; var doAdd = _arg4; mc = new MovieClip(); if (doAdd){ if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; }; try { parent[name] = mc; } catch(e:Error) { throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; mc["_name"] = name; return (mc); } public static function connectWait(_arg1:TimerEvent):void{ if (!_connected){ _clip._mochiad_ctr_failed = true; trace("MochiServices could not load. (timeout)"); MochiServices.disconnect(); MochiServices.onError("IOError"); }; } } }//package mochi.as3
Section 6
//bb_79 (planetrunner_fla.bb_79) package planetrunner_fla { import flash.display.*; public dynamic class bb_79 extends MovieClip { public function bb_79(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package planetrunner_fla
Section 7
//eff_82 (planetrunner_fla.eff_82) package planetrunner_fla { import flash.display.*; import flash.text.*; public dynamic class eff_82 extends MovieClip { public var txt:TextField; } }//package planetrunner_fla
Section 8
//glava_99 (planetrunner_fla.glava_99) package planetrunner_fla { import flash.display.*; public dynamic class glava_99 extends MovieClip { public function glava_99(){ addFrameScript(8, frame9); } function frame9(){ stop(); } } }//package planetrunner_fla
Section 9
//intromc_87 (planetrunner_fla.intromc_87) package planetrunner_fla { import flash.display.*; public dynamic class intromc_87 extends MovieClip { public function intromc_87(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package planetrunner_fla
Section 10
//logo_97 (planetrunner_fla.logo_97) package planetrunner_fla { import flash.display.*; public dynamic class logo_97 extends MovieClip { public var gl:MovieClip; } }//package planetrunner_fla
Section 11
//MainTimeline (planetrunner_fla.MainTimeline) package planetrunner_fla { import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.text.*; public dynamic class MainTimeline extends MovieClip { public var mocham:Boolean; public var square:Shape; public var perc:TextField; public function MainTimeline(){ addFrameScript(0, frame1, 1, frame2); } public function updateLoader(_arg1:ProgressEvent):void{ if (_arg1.bytesLoaded == _arg1.bytesTotal){ perc.text = "100 %"; if (!mocham){ gotoAndStop(2); }; } else { perc.text = (("" + (Math.round(((_arg1.bytesLoaded / _arg1.bytesTotal) * 100)) as int)) + " %"); }; } function frame1(){ stop(); mocham = false; square = new Shape(); square.graphics.lineStyle(0, 0); square.graphics.beginFill(0xFF0000); square.graphics.drawRect(0, 0, 0x0200, 448); square.graphics.endFill(); this.addChild(square); this.mask = square; if (mocham){ MochiAd.showPreGameAd({clip:root, id:"3e886f997f6d878f", res:"512x448", background:16777161, color:65467, outline:3947733, no_bg:false}); }; MochiServices.connect("3e886f997f6d878f", root, onConnectError); loaderInfo.addEventListener(ProgressEvent.PROGRESS, updateLoader); } function frame2(){ if (GData.mochiTracked == false){ MochiBot.track(this, "74d060e9"); GData.mochiTracked = true; }; stop(); } public function guru(_arg1:Event):void{ gotoAndStop(2); } public function onConnectError(_arg1:String):void{ } } }//package planetrunner_fla
Section 12
//mcMenuNavig_12 (planetrunner_fla.mcMenuNavig_12) package planetrunner_fla { import flash.display.*; import mochi.as3.*; public dynamic class mcMenuNavig_12 extends MovieClip { public var btnHiScores:SimpleButton; public var btnSponsor:GamePrisonButton; public var btnGoRight:SimpleButton; public var btnGoLeft:SimpleButton; public var btnMore:SimpleButton; public var ct1:Sprite; public var ct2:MovieClip; public var ct3:Sprite; public function mcMenuNavig_12(){ addFrameScript(0, frame1); } function frame1(){ ct1 = new Sprite(); addChild(ct1); ct1.addChild(btnSponsor); MochiServices.addLinkEvent("http://x.mochiads.com/link/11bf57391d2cfc5d", "http://www.gameprison.com/", ct1); ct3 = new Sprite(); addChild(ct3); ct3.addChild(btnMore); MochiServices.addLinkEvent("http://x.mochiads.com/link/11bf57391d2cfc5d", "http://www.gameprison.com/", ct3); } } }//package planetrunner_fla
Section 13
//mcMenuWhole_7 (planetrunner_fla.mcMenuWhole_7) package planetrunner_fla { import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.net.*; public dynamic class mcMenuWhole_7 extends MovieClip { public var crDenta:mcOzdyBut; public var btnBackLeft:SimpleButton; public var crDrClay:mcOzdyBut; public var btnPlay:SimpleButton; public var crEliteFerrex:mcOzdyBut; public var crOzdy:mcOzdyBut; public var ct1:Sprite; public function mcMenuWhole_7(){ addFrameScript(0, frame1); } public function gotoDrClay(_arg1:Event):void{ navigateToURL(new URLRequest("http://drclay.newgrounds.com/")); } function frame1(){ ct1 = new Sprite(); addChild(ct1); ct1.addChild(crOzdy); MochiServices.addLinkEvent("http://x.mochiads.com/link/0bcb0b1f4d80a172", "http://www.ozdy.com/", ct1); crEliteFerrex.addEventListener(MouseEvent.CLICK, gotoEliteFerrex); crDenta.addEventListener(MouseEvent.CLICK, gotoDenta); crDrClay.addEventListener(MouseEvent.CLICK, gotoDrClay); } public function gotoDenta(_arg1:Event):void{ navigateToURL(new URLRequest("http://denta.newgrounds.com/")); } public function gotoEliteFerrex(_arg1:Event):void{ navigateToURL(new URLRequest("http://eliteferrex.newgrounds.com/")); } public function gotoB0unc3(_arg1:Event):void{ navigateToURL(new URLRequest("http://b0unc3.newgrounds.com/")); } } }//package planetrunner_fla
Section 14
//mcOzdyNorm_96 (planetrunner_fla.mcOzdyNorm_96) package planetrunner_fla { import flash.display.*; import flash.events.*; import flash.media.*; import flash.geom.*; import flash.utils.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.net.*; import flash.printing.*; import flash.system.*; import flash.xml.*; public dynamic class mcOzdyNorm_96 extends MovieClip { public var dudi:MovieClip; public function mcOzdyNorm_96(){ addFrameScript(0, frame1, 34, frame35, 47, frame48, 119, frame120); } function frame1(){ dudi.gl.gotoAndStop(1); } function frame35(){ dudi.gl.stop(); } function frame120(){ stop(); GStateManager.ChangeState(new StateMenu()); } function frame48(){ dudi.gl.play(); } } }//package planetrunner_fla
Section 15
//mctDown_72 (planetrunner_fla.mctDown_72) package planetrunner_fla { import flash.display.*; import mochi.as3.*; public dynamic class mctDown_72 extends MovieClip { public var btnSponsor:GamePrisonButton; public var ct1:Sprite; public function mctDown_72(){ addFrameScript(0, frame1); } function frame1(){ ct1 = new Sprite(); addChild(ct1); ct1.addChild(btnSponsor); MochiServices.addLinkEvent("http://x.mochiads.com/link/11bf57391d2cfc5d", "http://www.gameprison.com/", ct1); } } }//package planetrunner_fla
Section 16
//ToggleMusic_53 (planetrunner_fla.ToggleMusic_53) package planetrunner_fla { import flash.display.*; public dynamic class ToggleMusic_53 extends MovieClip { public function ToggleMusic_53(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package planetrunner_fla
Section 17
//auBoss (auBoss) package { import flash.media.*; public dynamic class auBoss extends Sound { } }//package
Section 18
//auBump (auBump) package { import flash.media.*; public dynamic class auBump extends Sound { } }//package
Section 19
//auDestroyed (auDestroyed) package { import flash.media.*; public dynamic class auDestroyed extends Sound { } }//package
Section 20
//auDie (auDie) package { import flash.media.*; public dynamic class auDie extends Sound { } }//package
Section 21
//auFall (auFall) package { import flash.media.*; public dynamic class auFall extends Sound { } }//package
Section 22
//auJump (auJump) package { import flash.media.*; public dynamic class auJump extends Sound { } }//package
Section 23
//auLevel0 (auLevel0) package { import flash.media.*; public dynamic class auLevel0 extends Sound { } }//package
Section 24
//auMenu (auMenu) package { import flash.media.*; public dynamic class auMenu extends Sound { } }//package
Section 25
//auShot (auShot) package { import flash.media.*; public dynamic class auShot extends Sound { } }//package
Section 26
//auTake (auTake) package { import flash.media.*; public dynamic class auTake extends Sound { } }//package
Section 27
//Baddy (Baddy) package { import flash.display.*; public class Baddy extends Object3D { public var pts:int; public static const STATE_IDLE:int = 1; public static const DIE_LENGTH:int = 60; public static const STATE_DYING:int = 2; public function Baddy(_arg1:StateMain, _arg2:MovieClip, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number){ super(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8); pts = 200; ChangeState(STATE_IDLE); } override public function getHit():void{ var _local1:Number; _local1 = (1 - (((_z - _sm.player._z) / (6 * StateMain.TH)) * 0.9)); GSound.PlaySound(GSound.SoundDestroyed, _local1); _mc.removeChildAt(1); _mc.addChild(new mcExplosion()); _sm.player._points = (_sm.player._points + pts); ChangeState(STATE_DYING); } override public function Update():Boolean{ if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) && ((_stCnt >= DIE_LENGTH)))){ ChangeState(STATE_DISPOSE); return (true); }; return (false); } } }//package
Section 28
//Boss (Boss) package { import flash.display.*; import fl.motion.*; import flash.geom.*; public class Boss extends Baddy { public var _tbx:Number; public var _health:int; public var _tfx:Number; public var _tfy:Number; public var _tby:Number; public var _pos:int; public var _lv:int; public var _voidCT:Color; public var _id:int; public var _friend:Boolean; public var _hitCT:Color; public var _T:Transform; public var _par:Boss; private var a3:int; public var _stHit:int; public var _ringBufX:Array; public var _ringBufY:Array; private var a1:int; private var a2:int; public var _ringBufZ:Array; public static const STATE_IDLE:int = 1; public static const DELAY:int = 5; public static const DIE_LENGTH:int = 60; public static const STATE_DYING:int = 2; public static const MINZ:Number = 2; public static const BUF_SIZE:int = 500; public static const MAXY:Number = 200; public static const MAXZ:Number = ((6 * StateMain.TH) - 2); public static const MXDX:Number = (StateMain.TW * 1.3); public function Boss(_arg1:StateMain, _arg2:int, _arg3:int, _arg4:Boss=null){ var _local5:int; super(_arg1, new mcBoss(), 0, (MAXY / 2), ((_arg3 == 0)) ? (MAXZ - 2) : MAXZ, (StateMain.TW * (20 / 92)), 32, (StateMain.TH * (20 / 92))); _lv = _arg2; _pos = _arg3; _par = _arg4; _id = 0; _health = ((_pos == 0)) ? ((_lv == 0)) ? 5 : 10 : 5; _stHit = -300; _T = new Transform(_mc.getChildAt(1)); _voidCT = new Color(); _hitCT = new Color(); _hitCT.setTint(0xFF0000, 1); if (_arg3 == 0){ a1 = (a2 = 1); a3 = -1; _id = 0; _ringBufX = new Array(BUF_SIZE); _ringBufY = new Array(BUF_SIZE); _ringBufZ = new Array(BUF_SIZE); _local5 = 1; while (_local5 < 8) { _sm.AddBaddy(new Boss(_sm, _lv, _local5, this)); _local5++; }; _tbx = (_tfx = 0); _tby = (_tfy = (MAXY / 2)); _friend = false; }; ChangeState(STATE_IDLE); (_mc.getChildAt(1) as MovieClip).gotoAndStop(((1 + (_lv * 4)) + ((_pos)!=0) ? 3 : 0)); } private function quadBezier(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{ return (((((_arg1 * (1 - _arg4)) * (1 - _arg4)) + (((2 * _arg2) * _arg4) * (1 - _arg4))) + ((_arg3 * _arg4) * _arg4))); } private function cubeBezier(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Number{ return (((((((_arg1 * (1 - _arg5)) * (1 - _arg5)) * (1 - _arg5)) + ((((3 * _arg2) * (1 - _arg5)) * (1 - _arg5)) * _arg5)) + ((((3 * _arg3) * (1 - _arg5)) * _arg5) * _arg5)) + (((_arg4 * _arg5) * _arg5) * _arg5))); } override public function getHit():void{ if (_health == 1){ _health--; super.getHit(); } else { if (_health > 0){ _stHit = _stCnt; _health--; }; }; } override public function Update():Boolean{ var _local1:int; var _local2:int; var _local3:Number; var _local4:Boss; var _local5:int; var _local6:int; var _local7:int; var _local8:int; if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) && ((_stCnt >= DIE_LENGTH)))){ ChangeState(STATE_DISPOSE); return (true); }; if (_state == STATE_IDLE){ if (_pos == 0){ switch ((_lv % 6)){ case 0: _x = (_x + (2 * a1)); if (_x < 0){ _x = (_x + 0x0100); }; if ((((((a1 < 0)) && ((_x < (0x0100 - MXDX))))) && ((_x > 128)))){ a1 = 1; } else { if ((((((a1 > 0)) && ((_x > MXDX)))) && ((_x < 128)))){ a1 = -1; }; }; _y = (_y + (2 * a2)); if ((_y + (2 * a2)) <= 0){ a2 = 1; } else { if ((_y + (2 * a2)) >= MAXY){ a2 = -1; }; }; _z = (_z + (2 * a3)); if ((_z + (2 * a3)) <= MINZ){ a3 = 1; } else { if ((_z + (2 * a3)) >= MAXZ){ a3 = -1; }; }; break; case 1: _local1 = (_stCnt % 640); if (_local1 < 32){ _local2 = _local1; _x = (0x0100 - (MXDX * (_local2 / 32))); _y = (MAXY / 2); _z = MAXZ; } else { if (_local1 < 96){ _local2 = (_local1 - 32); _x = (0x0100 - MXDX); _y = (((Math.sin(((_local2 / 32) * Math.PI)) * MAXY) / 2) + (MAXY / 2)); _z = (MAXZ - ((MAXZ - MINZ) * (_local2 / 64))); } else { if (_local1 < 160){ _local2 = (_local1 - 96); _x = (0x0100 - MXDX); _y = (((Math.sin(((_local2 / 32) * Math.PI)) * MAXY) / 2) + (MAXY / 2)); _z = (MINZ + ((MAXZ - MINZ) * (_local2 / 64))); } else { if (_local1 < 192){ _local2 = (_local1 - 160); _x = ((0x0100 - MXDX) + (MXDX * (_local2 / 32))); _y = (MAXY / 2); _z = MAXZ; } else { if (_local1 < 0x0100){ _local2 = (_local1 - 192); _x = 0; _y = (((Math.sin(((_local2 / 32) * Math.PI)) * MAXY) / 2) + (MAXY / 2)); _z = (MAXZ - ((MAXZ - MINZ) * (_local2 / 64))); } else { if (_local1 < 320){ _local2 = (_local1 - 0x0100); _x = 0; _y = (((Math.sin(((_local2 / 32) * Math.PI)) * MAXY) / 2) + (MAXY / 2)); _z = (MINZ + ((MAXZ - MINZ) * (_local2 / 64))); } else { if (_local1 < 352){ _local2 = (_local1 - 320); _x = (MXDX * (_local2 / 32)); _y = (MAXY / 2); _z = MAXZ; } else { if (_local1 < 416){ _local2 = (_local1 - 352); _x = MXDX; _y = (((Math.sin(((_local2 / 32) * Math.PI)) * MAXY) / 2) + (MAXY / 2)); _z = (MAXZ - ((MAXZ - MINZ) * (_local2 / 64))); } else { if (_local1 < 480){ _local2 = (_local1 - 416); _x = MXDX; _y = (((Math.sin(((_local2 / 32) * Math.PI)) * MAXY) / 2) + (MAXY / 2)); _z = (MINZ + ((MAXZ - MINZ) * (_local2 / 64))); } else { if (_local1 < 0x0200){ _local2 = (_local1 - 480); _x = (MXDX - (MXDX * (_local2 / 32))); _y = (MAXY / 2); _z = MAXZ; } else { if (_local1 < 576){ _local2 = (_local1 - 0x0200); _x = 0; _y = (((Math.sin(((_local2 / 32) * Math.PI)) * MAXY) / 2) + (MAXY / 2)); _z = (MAXZ - ((MAXZ - MINZ) * (_local2 / 64))); } else { if (_local1 < 640){ _local2 = (_local1 - 576); _x = 0; _y = (((Math.sin(((_local2 / 32) * Math.PI)) * MAXY) / 2) + (MAXY / 2)); _z = (MINZ + ((MAXZ - MINZ) * (_local2 / 64))); }; }; }; }; }; }; }; }; }; }; }; }; break; case 2: _local1 = (_stCnt % 150); _local2 = 1; if (_local1 < 75){ _local2 = 1; if (_local1 == 0){ _tfx = (((Math.random() * MXDX) * 2) - MXDX); _tfy = (Math.random() * MAXY); }; } else { _local1 = (150 - _local1); _local2 = -1; if (_local1 == 75){ _tbx = (((Math.random() * MXDX) * 2) - MXDX); _tby = (Math.random() * MAXY); }; }; _local3 = (_local1 / 75); _x = cubeBezier(_tbx, ((-(MXDX) * 3) * _local2), ((MXDX * 3) * _local2), _tfx, _local3); _y = (_tby + ((_tfy - _tby) * _local3)); _z = (MAXZ - ((MAXZ - MINZ) * _local3)); break; case 3: _local1 = (_stCnt % 160); _local2 = 1; if (_local1 < 80){ _local2 = 1; if (_local1 == 0){ _tfx = _sm.player._x; while (_tfx > 200) { _tfx = (_tfx - 0x0100); }; _tfy = _sm.player._y; }; } else { _local1 = (160 - _local1); _local2 = -1; if (_local1 == 80){ _tbx = (((Math.random() * MXDX) * 2) - MXDX); _tby = (Math.random() * MAXY); }; }; _local3 = (_local1 / 80); _x = cubeBezier(_tbx, ((MXDX * 2) * _local2), ((MXDX * 2) * _local2), _tfx, _local3); _y = (_tby + ((_tfy - _tby) * _local3)); _z = (MAXZ - ((MAXZ - MINZ) * _local3)); break; case 4: _local1 = (_stCnt % 120); _local2 = 1; if (_local1 < 60){ _local2 = 1; if (_local1 == 0){ _tfx = _sm.player._x; while (_tfx > 200) { _tfx = (_tfx - 0x0100); }; _tfy = _sm.player._y; }; } else { _local1 = (120 - _local1); _local2 = -1; if (_local1 == 60){ if (!_friend){ _friend = true; _local4 = new Boss(_sm, 6, 0); _sm.AddBoss(_local4); _local4._friend = true; }; _tbx = (((Math.random() * MXDX) * 2) - MXDX); _tby = (Math.random() * MAXY); }; }; _local3 = (_local1 / 60); _x = cubeBezier(_tbx, ((-(MXDX) * 3) * _local2), ((MXDX * 3) * _local2), _tfx, _local3); _y = (_tby + ((_tfy - _tby) * _local3)); _z = (MAXZ - ((MAXZ - MINZ) * _local3)); break; case 5: _local1 = (_stCnt % 100); _local2 = 1; if (_local1 < 50){ _local2 = 1; if (_local1 == 0){ _tfx = _sm.player._x; while (_tfx > 200) { _tfx = (_tfx - 0x0100); }; _tfy = _sm.player._y; }; } else { _local1 = (100 - _local1); _local2 = -1; if (_local1 == 50){ if (!_friend){ _friend = true; _local4 = new Boss(_sm, 5, 0); _sm.AddBoss(_local4); _local4._friend = true; }; _tbx = (((Math.random() * MXDX) * 2) - MXDX); _tby = (Math.random() * MAXY); }; }; _local3 = (_local1 / 50); _x = cubeBezier(_tbx, ((MXDX * 2) * _local2), ((MXDX * 2) * _local2), _tfx, _local3); _y = (_tby + ((_tfy - _tby) * _local3)); _z = (MAXZ - ((MAXZ - MINZ) * _local3)); break; default: break; }; _ringBufX[_id] = _x; _ringBufY[_id] = _y; _ringBufZ[_id] = _z; if (_stCnt > 1){ _local5 = (((_id - 1) + BUF_SIZE) % BUF_SIZE); _local6 = 2; if (_z <= _ringBufZ[_local5]){ if (_z < (1.5 * StateMain.TW)){ _local6 = 1; } else { _local6 = 0; }; }; (_mc.getChildAt(1) as MovieClip).gotoAndStop(((1 + (_lv * 4)) + _local6)); }; _id = ((_id + 1) % BUF_SIZE); } else { _local7 = (_pos * DELAY); if (_local7 < _par._stCnt){ _local8 = (((_par._id - _local7) + BUF_SIZE) % BUF_SIZE); _x = _par._ringBufX[_local8]; _y = _par._ringBufY[_local8]; _z = _par._ringBufZ[_local8]; }; if (_par._health == 0){ _health = 1; getHit(); }; }; if (((((_stCnt - _stHit) < 20)) && ((_health > 0)))){ _hitCT.setTint(0xFF0000, (1 - ((_stCnt - _stHit) / 20))); (_mc.getChildAt(1) as MovieClip).transform.colorTransform = _hitCT; } else { (_mc.getChildAt(1) as MovieClip).transform.colorTransform = _voidCT; }; }; return (false); } } }//package
Section 29
//Bullet (Bullet) package { public class Bullet extends Object3D { public static const STATE_IDLE:int = 1; public static const DZ:int = 4; public function Bullet(_arg1:StateMain, _arg2:Number, _arg3:Number, _arg4:Number){ super(_arg1, new mcBullet(), _arg2, _arg3, _arg4, (StateMain.TW * (9 / 62)), 24, (StateMain.TH * (20 / 92))); ChangeState(STATE_IDLE); } override public function getHit():void{ } override public function Update():Boolean{ if (super.Update()){ return (true); }; _z = (_sm.player._z + (_stCnt * 4)); return (false); } } }//package
Section 30
//Container (Container) package { import flash.display.*; public dynamic class Container extends MovieClip { public function Container(){ addFrameScript(0, frame1, 14, frame15); } function frame15(){ stop(); } function frame1(){ stop(); GData.Init(); GSound.Init(true); GStateManager.Init(this, new StateMC(new GamePrisonWrap())); GInput.Init(stage); } } }//package
Section 31
//drusa (drusa) package { import flash.display.*; public dynamic class drusa extends MovieClip { } }//package
Section 32
//EnemyApproacher (EnemyApproacher) package { public class EnemyApproacher extends Baddy { public var _startx:Number; public static const STATE_IDLE:int = 1; public static const DIE_LENGTH:int = 60; public static const STATE_DYING:int = 2; public function EnemyApproacher(_arg1:StateMain, _arg2:Number, _arg3:Number, _arg4:Number){ _startx = _arg2; super(_arg1, new mcEnemyApproacher(), _arg2, _arg3, _arg4, (StateMain.TW * (20 / 92)), 32, (StateMain.TH * (20 / 92))); ChangeState(STATE_IDLE, 0x0100); } override public function Update():Boolean{ var _local1:int; if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) && ((_stCnt >= DIE_LENGTH)))){ ChangeState(STATE_DISPOSE); return (true); }; if (_state == STATE_IDLE){ if ((_z - _sm.player._z) < (3 * StateMain.TH)){ _z = (_z - 2); } else { _local1 = ((_stCnt * 2) & (128 - 1)); if (_local1 <= 64){ _x = (_startx + _local1); } else { _x = ((_startx + 128) - _local1); }; }; }; return (false); } } }//package
Section 33
//EnemyFlyer (EnemyFlyer) package { public class EnemyFlyer extends Baddy { public var _traj:int; public var _startx:Number; public static const STATE_IDLE:int = 1; public static const DIE_LENGTH:int = 60; public static const STATE_DYING:int = 2; public function EnemyFlyer(_arg1:StateMain, _arg2:Number, _arg3:Number, _arg4:int){ _startx = _arg2; _traj = _arg4; super(_arg1, ((_arg4 == 0)) ? new mcEnemyFlyer() : new mcEnemyFlyer2(), _arg2, ((_arg4 == 0)) ? (32 * 2) : 0, _arg3, (StateMain.TW * (20 / 92)), 32, (StateMain.TH * (20 / 92))); ChangeState(STATE_IDLE, 0x0100); } override public function Update():Boolean{ var _local1:int; if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) && ((_stCnt >= DIE_LENGTH)))){ ChangeState(STATE_DISPOSE); return (true); }; if (_state == STATE_IDLE){ if (_traj == 0){ _local1 = ((_stCnt * 2) & (128 - 1)); if (_local1 <= 64){ _x = (_startx + _local1); } else { _x = ((_startx + 128) - _local1); }; } else { _local1 = ((_stCnt * 2) & (0x0100 - 1)); if (_local1 <= 128){ _y = _local1; } else { _y = (0x0100 - _local1); }; }; }; return (false); } } }//package
Section 34
//EnemyGhost (EnemyGhost) package { public class EnemyGhost extends Baddy { public var _type:int; public var _startz:Number; public var _startx:Number; public static const STATE_IDLE:int = 1; public static const DIE_LENGTH:int = 60; public static const STATE_DYING:int = 2; public function EnemyGhost(_arg1:StateMain, _arg2:Number, _arg3:Number, _arg4:int){ _type = _arg4; _startx = _arg2; _startz = _arg3; super(_arg1, new mcEnemyGhost(), _arg2, 0, _arg3, (StateMain.TW * (20 / 92)), 32, (StateMain.TH * (20 / 92))); ChangeState(STATE_IDLE, 0x0100); } override public function Update():Boolean{ var _local1:int; if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) && ((_stCnt >= DIE_LENGTH)))){ ChangeState(STATE_DISPOSE); return (true); }; if (_state == STATE_IDLE){ if (_type == 0){ _local1 = (_stCnt & (0x0100 - 1)); if (_local1 < 32){ _x = _startx; _y = (_local1 * 2); } else { if (_local1 < 64){ _x = _startx; _y = (128 - (_local1 * 2)); } else { if (_local1 < 128){ _x = ((_startx + _local1) - 64); _y = 0; } else { if (_local1 < 160){ _x = (_startx + (StateMain.TW * 2)); _y = ((_local1 - 128) * 2); } else { if (_local1 < 192){ _x = (_startx + (StateMain.TW * 2)); _y = ((192 - _local1) * 2); } else { _x = ((_startx + 0x0100) - _local1); _y = 0; }; }; }; }; }; } else { if (_type == 1){ _local1 = (_stCnt & (128 - 1)); if (_local1 < 64){ _x = (_startx + _local1); _y = (Math.sin(((_local1 / 64) * Math.PI)) * 96); } else { _x = ((_startx + 128) - _local1); _y = 0; }; }; }; }; return (false); } } }//package
Section 35
//EnemyGround (EnemyGround) package { import flash.display.*; public class EnemyGround extends Baddy { public var _fast:Boolean; public var _traj:int; public var _startz:Number; public var _startx:Number; public static const STATE_IDLE:int = 1; public static const DIE_LENGTH:int = 60; public static const STATE_DYING:int = 2; public function EnemyGround(_arg1:StateMain, _arg2:Number, _arg3:Number, _arg4:int, _arg5:Boolean, _arg6:Boolean=false){ var _local7:MovieClip; if (_arg6){ _local7 = new mcEnemyGround2(); } else { _local7 = new mcEnemyGround(); }; super(_arg1, _local7, _arg2, 0, _arg3, (StateMain.TW * (20 / 92)), 32, (StateMain.TH * (20 / 92))); _startx = _arg2; _startz = _arg3; _fast = _arg5; _traj = _arg4; ChangeState(STATE_IDLE, 0x0100); } override public function Update():Boolean{ var _local1:int; if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) && ((_stCnt >= DIE_LENGTH)))){ ChangeState(STATE_DISPOSE); return (true); }; if (_state == STATE_IDLE){ (_mc.getChildAt(1) as MovieClip).gotoAndStop((1 + (int((_stCnt / (_fast) ? 3 : 6)) % 4))); if (_traj == 0){ _local1 = ((_fast) ? (_stCnt * 2) : _stCnt & (128 - 1)); if (_local1 <= 64){ _x = (_startx + _local1); } else { _x = ((_startx + 128) - _local1); }; _z = _startz; } else { if (_traj == 1){ _local1 = ((_fast) ? (_stCnt * 2) : _stCnt & (128 - 1)); if (_local1 < 32){ _x = (_startx + _local1); _z = _startz; } else { if (_local1 < 64){ _x = (_startx + 32); _z = (_startz - (_local1 - 32)); } else { if (_local1 < 96){ _x = ((_startx + 96) - _local1); _z = (_startz - 32); } else { _x = _startx; _z = ((_startz - 128) + _local1); }; }; }; }; }; }; return (false); } } }//package
Section 36
//EnemyGround2 (EnemyGround2) package { public class EnemyGround2 extends EnemyGround { private var follow:Boolean; public static const STATE_IDLE:int = 1; public static const STATE_DYING:int = 2; public static const DIE_LENGTH:int = 60; public static const STATE_FOLLOW:int = 3; public function EnemyGround2(_arg1:StateMain, _arg2:Number, _arg3:Number, _arg4:int, _arg5:Boolean){ super(_arg1, _arg2, _arg3, _arg4, _arg5, true); follow = false; } override public function Update():Boolean{ if (super.Update()){ return (true); }; if (((!(follow)) && ((_sm.player._z >= _z)))){ follow = true; }; if (follow){ if (((!((_state == STATE_DYING))) && (((_z + StateMain.TH) > _sm.player._z)))){ _z = _sm.player._z; }; }; return (false); } } }//package
Section 37
//EnemyJumper (EnemyJumper) package { import flash.display.*; public class EnemyJumper extends Baddy { public var _type:int; public static const STATE_IDLE:int = 1; public static const DIE_LENGTH:int = 60; public static const STATE_DYING:int = 2; public function EnemyJumper(_arg1:StateMain, _arg2:Number, _arg3:Number, _arg4:int){ _type = _arg4; super(_arg1, new mcEnemyJumper(), _arg2, 0, _arg3, (StateMain.TW * (20 / 92)), 32, (StateMain.TH * (20 / 92))); (_mc.getChildAt(1) as MovieClip).gotoAndStop((_type + 1)); ChangeState(STATE_IDLE); } override public function Update():Boolean{ if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) && ((_stCnt >= DIE_LENGTH)))){ ChangeState(STATE_DISPOSE); return (true); }; return (false); } } }//package
Section 38
//EnemyStop (EnemyStop) package { public class EnemyStop extends Baddy { public var _fast:Boolean; public var _traj:int; public var _startz:Number; public var _startx:Number; public static const STATE_IDLE:int = 1; public static const DIE_LENGTH:int = 60; public static const STATE_DYING:int = 2; public function EnemyStop(_arg1:StateMain, _arg2:Number, _arg3:Number, _arg4:int){ super(_arg1, new mcEnemyStop(), _arg2, 0, _arg3, (StateMain.TW * (20 / 92)), 32, (StateMain.TH * (20 / 92))); _startx = _arg2; _traj = _arg4; ChangeState(STATE_IDLE); } override public function Update():Boolean{ var _local1:Number; var _local2:Number; _local1 = _startx; if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) && ((_stCnt >= DIE_LENGTH)))){ ChangeState(STATE_DISPOSE); return (true); }; if (_state == STATE_IDLE){ if (_traj == 0){ if (_sm.player._x < _local1){ _local1 = (_local1 - (StateMain.TW * 8)); }; if ((_sm.player._x - _local1) < (StateMain.TW * 4)){ _local2 = (_sm.player._x - _local1); if (_local2 > 32){ _local2 = 32; }; _x = (_startx + _local2); } else { _local2 = (_sm.player._x - ((StateMain.TW * 8) + _local1)); if (_local2 < -32){ _local2 = -32; }; _x = (_startx + _local2); }; } else { if (_traj == 1){ if (((!((_sm.player._state == Player.STATE_SINKING))) && (!((_sm.player._state == Player.STATE_DYING))))){ _y = _sm.player._y; }; } else { if (_sm.player._x < _local1){ _local1 = (_local1 - (StateMain.TW * 8)); }; if ((_sm.player._x - _local1) < (StateMain.TW * 4)){ _local2 = (_sm.player._x - _local1); if (_local2 > 32){ _local2 = 32; }; _x = (_startx + _local2); } else { _local2 = (_sm.player._x - ((StateMain.TW * 8) + _local1)); if (_local2 < -32){ _local2 = -32; }; _x = (_startx + _local2); }; if (((!((_sm.player._state == Player.STATE_SINKING))) && (!((_sm.player._state == Player.STATE_DYING))))){ _y = _sm.player._y; }; }; }; }; return (false); } } }//package
Section 39
//EnemyUnstompable (EnemyUnstompable) package { public class EnemyUnstompable extends Baddy { public var _startz:Number; public var _startx:Number; public static const STATE_IDLE:int = 1; public static const STATE_DYING:int = 2; public static const DIE_LENGTH:int = 60; public static const STATE_FOLLOW:int = 3; public function EnemyUnstompable(_arg1:StateMain, _arg2:Number, _arg3:Number){ super(_arg1, new mcEnemyUnstompable(), _arg2, 0, _arg3, (StateMain.TW * (20 / 92)), 32, (StateMain.TH * (20 / 92))); _startx = _arg2; _startz = _arg3; ChangeState(STATE_IDLE, 0x0100); } override public function getHit():void{ } override public function Update():Boolean{ var _local1:int; if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) && ((_stCnt >= DIE_LENGTH)))){ ChangeState(STATE_DISPOSE); return (true); }; if ((((_state == STATE_IDLE)) && ((_sm.player._z >= _z)))){ _state = STATE_FOLLOW; _startz = _sm.player._z; }; if ((((_state == STATE_IDLE)) || ((_state == STATE_FOLLOW)))){ _local1 = (_stCnt & (128 - 1)); if (_local1 <= 64){ _x = (_startx + _local1); } else { _x = ((_startx + 128) - _local1); }; if ((((_state == STATE_FOLLOW)) && (((_startz + (StateMain.TH * 2)) >= _sm.player._z)))){ _z = _sm.player._z; }; }; return (false); } } }//package
Section 40
//EnemyXYZ (EnemyXYZ) package { public class EnemyXYZ extends Baddy { public var _type:int; public var _startz:Number; public var _startx:Number; public static const STATE_IDLE:int = 1; public static const DIE_LENGTH:int = 60; public static const STATE_DYING:int = 2; public function EnemyXYZ(_arg1:StateMain, _arg2:Number, _arg3:Number, _arg4:int){ _type = _arg4; _startx = _arg2; _startz = _arg3; super(_arg1, ((_type == 0)) ? new mcEnemyXYZ() : new mcEnemyXYZ2(), _arg2, 0, _arg3, (StateMain.TW * (20 / 92)), 32, (StateMain.TH * (20 / 92))); ChangeState(STATE_IDLE, 0x0100); } override public function Update():Boolean{ var _local1:int; if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) && ((_stCnt >= DIE_LENGTH)))){ ChangeState(STATE_DISPOSE); return (true); }; if (_state == STATE_IDLE){ if (_type == 0){ _local1 = ((_stCnt * 2) & (0x0100 - 1)); if (_local1 < 128){ _x = (_startx + (_local1 / 2)); _y = ((Math.sin(((_local1 / 128) * Math.PI)) * 64) + 64); } else { _x = ((_startx + 128) - (_local1 / 2)); _y = ((Math.sin(((_local1 / 128) * Math.PI)) * 64) + 64); }; } else { if (_type == 1){ _local1 = ((_stCnt * 2) & (0x0100 - 1)); if (_local1 < 128){ _x = (_startx + (_local1 / 2)); _y = ((Math.sin(((_local1 / 128) * Math.PI)) * 64) + 64); _z = (_startz + (Math.sin(((_local1 / 128) * Math.PI)) * StateMain.TH)); } else { _x = ((_startx + 128) - (_local1 / 2)); _y = ((Math.sin(((_local1 / 128) * Math.PI)) * 64) + 64); _z = (_startz + (Math.sin(((_local1 / 128) * Math.PI)) * StateMain.TH)); }; }; }; }; return (false); } } }//package
Section 41
//GamePrisonButton (GamePrisonButton) package { import flash.display.*; public dynamic class GamePrisonButton extends SimpleButton { } }//package
Section 42
//GamePrisonIntro (GamePrisonIntro) package { import flash.display.*; import mochi.as3.*; public dynamic class GamePrisonIntro extends MovieClip { public var sponsi:huhu; public var gpg:MovieClip; public function GamePrisonIntro(){ addFrameScript(0, frame1, 169, frame170); } function frame170(){ stop(); GStateManager.ChangeState(new StateMC(new mcOzdy())); } function frame1(){ MochiServices.addLinkEvent("http://x.mochiads.com/link/11bf57391d2cfc5d", "http://www.gameprison.com/", sponsi); } } }//package
Section 43
//GamePrisonWrap (GamePrisonWrap) package { import flash.display.*; public dynamic class GamePrisonWrap extends MovieClip { } }//package
Section 44
//GData (GData) package { public class GData { public static var started:Boolean = false; public static var mochiTracked:Boolean = false; public static var lvl:Array; public static var forcedSpeed:Array; public static var startTime:Array; public static var floorColors:Array; public static function Init():void{ var _local1:int; if (started){ return; }; lvl = new Array(6); startTime = new Array(6); while (_local1 < 6) { lvl[_local1] = new Array(4); _local1++; }; lvl[0][0] = ((((((((((((((((((((((((((((((((((((((((((((("" + " ") + "# ") + " ") + " ") + " ") + " ") + " ") + " ") + "0 0 0 0 ") + " < ") + " 0 0 0 0 ") + " ") + " ") + " ") + " ") + " ") + " ") + " ") + " ") + "E>E E E ") + " ") + " ") + " ") + " ") + " ") + " ") + "g* g ") + " ") + " g g ") + " ") + " ") + "g g ") + " ") + " g g ") + " ") + " g g ") + " ") + " ") + " ") + " ") + " ") + " 0 ") + " ") + "( 0 ") + " "); lvl[0][1] = (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + " ") + " ") + " ") + " ") + ") ") + "0_0 g ") + " ") + " ") + "0_0 g ") + " ") + " ") + "0_0 g ") + " ") + " ") + " g 0_0 ") + " ") + " ") + " g 0_0 ") + " ") + " ") + " g 0_0 ") + " ") + " ") + " ") + " ") + " ") + "@ ") + " -") + " -") + " -") + " -") + " -") + " ") + "0-0 f ") + " ") + " ") + " ") + " 0-0 f ") + " -") + " -") + " -") + "f 0-0 ") + " ") + " ") + "g 0_0 ") + " ") + " ") + " 0_0 ") + " ") + " ") + " 0_0 ") + " ") + " g g ") + " ") + " g ") + " ") + " g g ") + " ") + " ") + " ") + " ") + " ") + " ") + " ") + "$ ") + " ") + " ") + " "); lvl[0][2] = (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + "A A A A ") + " ") + "E E E E ") + " ") + "i i i i ") + " ") + " ") + "g g ") + " ") + " g g ") + " ") + " g g ") + " -") + "0 0 -") + " -") + " ") + " ") + " ") + " ") + " ") + " g g g g ") + " 5 8 ") + "g g g g ") + "8 9 ") + " g g g g ") + " -") + " 7 7 -") + " -") + " 5 9-") + " ") + " 5 7 ") + " ") + "9 7 ") + " g g g g ") + " 8 7 ") + "g g g g ") + " 9 8 ") + " g g g g ") + "9 8 -") + " -") + " 6 9 -") + " -") + "6 8 -") + " -") + " 7 5 ") + " ") + " 7 8 ") + " ") + "F9F F5F ") + " ") + "8F F8F F ") + " ") + "F7F F7F ") + " -") + " 5 5 -") + " -") + "5 5 -") + " -") + " 7 7 ") + " ") + " 6 6 -") + " -") + " 7 7-") + " -") + " 5 5 ") + " ") + " 6 6 ") + " "); lvl[0][3] = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + "0 0 g ") + " I g ") + "0 0 g ") + " g ") + " g g ") + " g ") + " g g ") + " 5 5 ") + " g g ") + " 6 6 ") + " g g ") + " 7 7 ") + " f f ") + " g g ") + "8 8 ") + " g g ") + "5 5 ") + " g g ") + " 5 5 ") + "g g ") + " 8 6 ") + " g g ") + "5 7 ") + "g g ") + " f f ") + " g ") + " F F ") + " ") + "0 0 g ") + " A ") + "0 0 g ") + " ") + " g g ") + " 6 6 ") + " g g ") + " -") + " -") + " g g ") + " g g ") + " -") + " -") + " f f ") + "F F ") + " g g ") + " f f ") + "F F ") + " 6 7 ") + " 6 7 ") + " F F ") + " F F ") + "F ") + " g 6 ") + "g 5 ") + " g 7 ") + "9 g ") + " g 7 ") + " g 8 ") + "g 5 ") + " g 9 ") + " 8 ") + "5 g ") + " 8 g ") + " g 7 ") + " 7 g ") + "7 g ") + "8 g ") + " g 7 ") + " 7 g ") + " g 7 ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " g g ") + " ") + " g _ g ") + " ") + " g ") + " ") + " ") + " ") + " ") + " ") + " ") + " ") + " ") + "! ") + " ") + " ") + " ") + " ") + " ") + " ") + " ") + " ") + "| ") + " "); lvl[1][0] = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + "A A A A ") + " ") + "Y Y Y Y ") + " ") + "e e e e ") + " ") + " ") + "q q q q ") + " ") + "v v v v ") + " ") + "q q q q ") + " ") + " -") + " -") + " -") + " -") + " -") + " ") + " _ _ ") + " ") + " _ _ ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " _ _ ") + " -") + " -") + " -") + " -") + " ") + " v v ") + " q q ") + " -") + " -") + " -") + " -") + " ") + " G G ") + " ") + "G G ") + " ") + " G G ") + " -") + " -") + " -") + " -") + " ") + " ") + "i 5 6 7 ") + " ") + " ") + "Q Q ") + " ") + " Q Q ") + " ") + "Q Q ") + " ") + "G G ") + " ") + " G G ") + " -") + " -") + " -") + " ") + " _ _ ") + " ") + " _ _ ") + " -") + " -") + " 5 5 -") + " -") + " 6 6-") + " -") + "8 8 ") + " _ _ ") + " -") + " 5 5 -") + " -") + "6 6 -") + " ") + " Q Q ") + " Q Q ") + " -") + " 6 6 -") + " -") + " 7 8-") + " ") + " G G ") + " ") + "G G ") + " ") + " G G ") + " -") + " -") + " -") + " -") + " 6 7 ") + " 8 8 ") + "6 7 ") + " 9 5 ") + " 5 5 -") + " -") + " -") + " -") + " G G ") + " ") + "Q Q Q Q ") + " ") + " G G ") + " ") + " G G ") + " -") + " -") + " -") + " -") + " -") + " ") + " _ _ ") + " A ") + " _ _ ") + " -") + " -") + " -") + " -") + " -") + " G G G G ") + " ") + " -") + " -") + " -") + " -") + " -") + " G G G G ") + " ") + "G G G G ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " 5 6 ") + " 5 5 ") + " 5 ") + "5Y5 ") + " 5 Q ") + " ") + " G G ") + " G 5 Q ") + " ") + " G 5 G ") + " ") + " G G ") + " 5 ") + "Q Q ") + " Q Q ") + " Q 5 ") + " 5 ") + " 5 ") + " 5 ") + " 5 ") + " 5 5 ") + " 5 "); lvl[1][1] = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + "s ") + " ") + "s s ") + " ") + "s s s ") + " ") + "s s s s ") + " ") + " s ") + " s s ") + " s s s ") + " s s s s ") + " ") + " ") + " S S ") + " ") + " S S S S ") + " ") + " _ _ _ ") + " -") + " -") + " -") + " -") + " -") + " ") + " S S S S ") + " -") + " -") + " -") + " -") + "0 0 ") + " ") + " ") + " ") + "x _ x x ") + " ") + "x x x ") + " ") + "x x x ") + " ") + "x x x ") + " ") + "x _ u x ") + " ") + "x x x ") + " ") + "x F x x ") + " ") + "x F x x ") + " ") + "xg x x ") + " ") + "xg x x ") + " -") + " -") + "x x x -") + " -") + "x x x ") + " ") + "x x x -") + " -") + " -") + "x F x x ") + " ") + "x F x x ") + " ") + "xg x x ") + " ") + "xg x x ") + " -") + " -") + "x x x -") + " -") + "x x x ") + " ") + "x x x ") + "x _ x x ") + " -") + " -") + " -") + " -") + "x x x ") + " ") + "x x x ") + " ") + "x x x ") + " ") + "x _ y x ") + " ") + "x x x ") + " ") + "x F x x ") + " ") + "x F x x ") + " ") + "xg x x ") + " ") + "xg x x ") + " -") + " -") + "x x x -") + " -") + "x x x ") + " ") + "x x x -") + " -") + " -") + "x F x x ") + " ") + "x F x x ") + " ") + "xg x x ") + " ") + "xg x x ") + " -") + " -") + "x x x -") + " -") + "x x x ") + " ") + "x x x -") + " -") + " -") + " -") + " -") + " -") + " ") + "_ _ _ _ ") + " -") + " -") + " -") + " -") + " ") + "_ _ _ _ ") + " -") + " -") + " -") + " -") + " ") + "s s s s ") + " -") + " -") + " -") + " -") + " ") + " B B B B ") + " -") + " -") + " -") + " -") + " ") + " B ") + " B ") + " B ") + " B "); lvl[1][2] = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + "A A A A ") + " ") + "I I I I ") + " ") + "y y y y ") + " ") + " ") + "p p p p ") + " ") + "p p p p ") + " ") + "p p p p ") + " ") + " -") + " -") + " -") + " -") + " -") + " ") + " _ _ ") + " ") + " _ _ ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " _ _ ") + " -") + " -") + " -") + " -") + " ") + " q q ") + " q q ") + " -") + " -") + " -") + " -") + " ") + " G G ") + " ") + "G G ") + " ") + " G G ") + " -") + " -") + " -") + " -") + " ") + " ") + "i 5 6 7 ") + " ") + " ") + "Q Q ") + " ") + " Q Q ") + " ") + "Q Q ") + " ") + "G G ") + " ") + " G G ") + " -") + " -") + " -") + " ") + " _ _ ") + " ") + " _ _ ") + " -") + " -") + " 5 5 -") + " -") + " 6 6-") + " -") + "8 8 ") + " _ _ ") + " -") + " 5 5 -") + " -") + "6 6 -") + " ") + " Q Q ") + " Q Q ") + " -") + " 6 6 -") + " -") + " 7 8-") + " ") + " G G ") + " ") + "G G ") + " ") + " G G ") + " -") + " -") + " -") + " -") + " 6 7 ") + " 8 8 ") + "6 7 ") + " 9 5 ") + " 5 5 -") + " -") + " -") + " -") + " G G ") + " ") + "Q Q Q Q ") + " ") + " G G ") + " ") + " G G ") + " -") + " -") + " -") + " -") + " -") + " ") + " _ _ ") + " A ") + " _ _ ") + " -") + " -") + " -") + " -") + " -") + " G G G G ") + " ") + " -") + " -") + " -") + " -") + " -") + " v v v v ") + " ") + "G G G G ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " 5 6 ") + " 5 5 ") + " 5 ") + "5Y5 ") + " 5 Q ") + " ") + " G G ") + " G 5 Q ") + " ") + " G 5 G ") + " ") + " G G ") + " 5 ") + "Q Q ") + " Q Q ") + " Q 5 ") + " 5 ") + " 5 ") + " 5 ") + " 5 ") + " 5 5 ") + " 5 "); lvl[1][3] = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + " ") + " S S S S ") + " -") + " -") + " -") + " -") + "0 0 ") + " ") + " ") + " ") + "x _ x x ") + " ") + "x x x ") + " ") + "x x x ") + " ") + "x x x ") + " ") + "x _ u x ") + " ") + "x x x ") + " ") + "x F x x ") + " ") + "x F x x ") + " ") + "xG x x ") + " ") + "xG x x ") + " -") + " -") + "x x x -") + " -") + "x x x ") + " ") + "x x x -") + " -") + " -") + "xB x x ") + " ") + "xB x x ") + " ") + "xg x x ") + " ") + "xg x x ") + " -") + " -") + "x x x -") + " -") + "x x x ") + " ") + "x x x ") + "x _ x x ") + " -") + " -") + " -") + " -") + "x x x ") + " ") + "x x x ") + " ") + "x x x ") + " ") + "x _ y x ") + " ") + "x x x ") + " ") + "x F x x ") + " ") + "x F x x ") + " ") + "xB x x ") + " ") + "xB x x ") + " -") + " -") + "x x x -") + " -") + "x x x ") + " ") + "x x x -") + " -") + " -") + "x F x x ") + " ") + "x F x x ") + " ") + "xB x x ") + " ") + "xB x x ") + " -") + " -") + "x x x -") + " -") + "x x x ") + " ") + "x x x -") + " -") + " -") + " -") + " -") + " -") + " ") + "_ _ _ _ ") + " -") + " -") + " -") + " -") + " ") + "_ _ _ _ ") + " -") + " -") + " -") + " -") + " ") + "s s s s ") + " ") + " -") + " -") + " -") + " ") + " B B B B ") + " -") + " -") + " -") + " -") + " ") + " B ") + " B ") + " B ") + " B "); lvl[2][0] = (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + "j j j j ") + " ") + " g g ") + " ") + " ") + "j j j j ") + " ") + " g g ") + " ") + " ") + "j j j j ") + " -") + " -") + " F F F F-") + " -") + "j j j j -") + " -") + " -") + " g g ") + " ") + "j j ") + " ") + " g g ") + " ") + " ") + "j j ") + " ") + " g g ") + " ") + " ") + "j j ") + " -") + " F F -") + " -") + " -") + "j j -") + " -") + " F F -") + " ") + " ") + "j j ") + " ") + " F F ") + " ") + " ") + "j j ") + " ") + " F F ") + " ") + " ") + "j j ") + " -") + " f f -") + " -") + " -") + "j j -") + " -") + " f f -") + " -") + " -") + "j j -") + " -") + " f f -") + " -") + " -") + "j j -") + " -") + " f f -") + " -") + " -") + "j j -") + " -") + " F F -") + " -") + " -") + "j j -") + " -") + " F F -") + " -") + " -") + "j j -") + " -") + " F F-") + " -") + " -") + "j j -") + " -") + " F F -") + " -") + " -") + "j j -") + " -") + " f f -") + " -") + " -") + "j j -") + " -") + " f f -") + " -") + " -") + "j j -") + " -") + " f f -") + " -") + " -") + "j j -") + " ") + "g g ") + " A ") + "g g ") + "j j ") + " ") + " f f ") + " ") + " ") + "j j ") + " ") + " ") + " y ") + " -") + "j j -") + " -") + " F F -") + " -") + " -") + "j j -") + " -") + " F F -") + " -") + " -") + "j j -") + " -") + " F F -") + " -") + " -") + "j j -") + " -") + " -") + " -") + " g g ") + " g g ") + "g g ") + " g g ") + " "); lvl[2][1] = (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + "j j j j ") + " ") + " _ _ ") + " ") + " _ _ ") + "5 5 5 5 ") + " ") + " _ _ ") + " ") + " _ _ ") + " ") + " _ _ ") + " ") + " _ _ ") + " ") + " _ _ ") + " ") + " _ _ ") + " ") + " _ _ ") + "j j j j ") + " -") + " -") + " F F F F-") + " -") + "j j j j -") + " -") + " -") + " g g ") + " ") + "j j ") + " ") + " g g ") + " ") + " ") + "j j ") + " ") + " g g ") + " ") + " ") + "j F j F ") + " -") + " -") + " -") + " -") + "5F jF -") + " -") + " -") + " ") + " ") + "5F jF ") + " ") + " ") + " ") + " ") + "j Fj F ") + " ") + " ") + " ") + " ") + "jf 5f ") + " -") + " -") + " -") + " -") + "jf 5f -") + " -") + " -") + " -") + " -") + "j F j F -") + " -") + " -") + " -") + " -") + "5 F j F -") + " -") + " -") + " -") + " -") + "5F jF -") + " -") + " -") + " -") + " -") + "jf jf -") + " -") + " -") + " -") + " -") + "jf 5f -") + " -") + " -") + " -") + " -") + "jf 5f -") + " -") + " -") + " -") + " -") + "jf jf -") + " -") + " -") + " -") + " -") + "5f jf -") + " -") + " -") + " -") + " -") + "5f jf -") + " -") + " -") + " -") + " -") + "jf 5f -") + " ") + "g g ") + " i ") + "g g ") + "j F 5 F ") + " ") + " ") + " ") + " ") + "j j ") + " ") + " ") + " u ") + " -") + "5F jF -") + " -") + " -") + " -") + " -") + "5 F j F -") + " -") + " -") + " -") + " -") + "jf 0f -") + " -") + " -") + " -") + " -") + "j 0 -") + " -") + " -") + " -") + " g g ") + " g g ") + "g g ") + " g g ") + " "); lvl[2][2] = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + " ") + " ") + " _ _ ") + " ") + " _ _ ") + "5 5 5 5 ") + " ") + " _ _ ") + " ") + " _ _ ") + " ") + " _ _ ") + " ") + " _ _ ") + " ") + " _ _ ") + " ") + " _ _ ") + " ") + " _ _ ") + " -") + " -") + " F F F F-") + " -") + " -") + " -") + " -") + " g g ") + " ") + "j j ") + " ") + " g g ") + " ") + " ") + "j j ") + " ") + " g g ") + " ") + " ") + "j F j F ") + " -") + "F F -") + " -") + " -") + "0F jF -") + " -") + " -") + " ") + " ") + "0F jF ") + " ") + " ") + " ") + " ") + "j Fj F ") + " ") + "F F ") + " ") + " ") + "jf 0f ") + " -") + "F F -") + " -") + " -") + "jf 0f -") + " -") + "F F -") + " -") + " -") + "j F j F -") + " -") + " -") + " -") + " -") + "0 F j F -") + " -") + "F F -") + " -") + " -") + "0F jF -") + " -") + " -") + " -") + " -") + "jf jf -") + " -") + "F F -") + " -") + " -") + "jf 0f -") + " -") + " -") + " -") + " -") + "jf 0f -") + " -") + "F F -") + " -") + " -") + "jf jf -") + " -") + " -") + " -") + " -") + "0f jf -") + " -") + " -") + " -") + " -") + "0f jf -") + " -") + "F F -") + " -") + " -") + "jf 0f -") + " ") + "g g ") + " i ") + "g g ") + "j F 0 F ") + " ") + "f f ") + " ") + " ") + "j j ") + " ") + " ") + " u ") + " -") + "0F jF -") + " -") + " -") + " -") + " -") + "0 F j F -") + " -") + " -") + " -") + " -") + "jf 0f -") + " -") + "f f -") + " -") + " -") + "j 0 -") + " -") + " -") + " -") + " g g ") + " g g ") + "g g ") + " g g ") + " "); lvl[2][3] = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " i ") + " 5 ") + " 8 ") + " ") + " 5 ") + " s a ") + " ") + " _ _ ") + "5 5 5 5 ") + " ") + " _ 5 _ ") + " ") + " _ _ ") + " 5 _ ") + " ") + " _5 _ ") + " ") + " _ _ ") + " 5 ") + " _ _ ") + " ") + " _ 5 _ ") + " ") + " ") + " F F ") + " ") + " s 5 ") + " _ ") + " s ") + " g g ") + " ") + " 5 9 ") + " ") + " g g ") + " g ") + " b x ") + " 5 ") + " ") + " g g ") + "b b ") + " g ") + " F F ") + " ") + "F bF ") + " q ") + " q ") + " F bf ") + " ") + " g g ") + " g q ") + " ") + " F F g ") + " ") + " qb ") + " ") + " qb ") + " F F ") + " ") + "F F ") + " ") + "Q Q ") + " ") + " ") + " 5 ") + " 8 ") + " ") + " 5 ") + " s a ") + " ") + " _ _ ") + "5 5 5 5 ") + " ") + " _ 5 _ ") + " ") + " _ _ ") + " 5 _ ") + " ") + " _5 _ ") + " ") + " _ _ ") + " 5 ") + " _ _ ") + " ") + " _ 5 _ ") + " ") + " ") + " F F ") + " ") + " s 5 ") + " _ ") + " s ") + " g g ") + " ") + " 5 9 ") + " ") + " g g ") + " g ") + " b x ") + " 5 ") + " ") + " g g ") + "b b ") + " g ") + " F F ") + " ") + "F bF ") + " q ") + " q ") + " F bf ") + " ") + " g g ") + " g q ") + " ") + " F F g ") + " ") + " qb ") + " ") + " qb ") + " F F ") + " ") + "F F ") + " ") + "Q Q ") + " ") + " ") + " 5 ") + " 8 ") + " ") + " 5 ") + " s a ") + " ") + " _ _ ") + "5 5 5 5 ") + " ") + " _ 5 _ ") + " ") + " _ _ ") + " 5 _ ") + " ") + " _5 _ ") + " ") + " _ _ ") + " 5 ") + " _ _ ") + " ") + " _ 5 _ ") + " ") + " ") + " F F ") + " ") + " s 5 ") + " _ ") + " s ") + " g g ") + " ") + " 5 9 ") + " ") + " g g ") + " g ") + " b x ") + " 5 ") + " ") + " g g ") + "b b ") + " g ") + " F F ") + " ") + "F bF ") + " q ") + " q ") + " F bf ") + " ") + " g g ") + " g q ") + " ") + " F F g ") + " ") + " qb ") + " ") + " qb ") + " F F ") + " ") + "F F ") + " ") + "Q Q ") + " "); lvl[3][0] = (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + " ") + " ") + " ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " s s s s ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " a a a a ") + " ") + " G G ") + " G G ") + " G G ") + " s s s s ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " ") + "G G G G ") + " ") + " G G G G ") + " ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " ") + "x _ x x ") + " ") + "x _ x x ") + " ") + "x _ x x ") + " -") + " -") + "F F -") + " -") + " -") + " ") + " 5 ") + " 5i5 ") + " 5 ") + " ") + " _ ") + " _ ") + " _ ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " g g ") + " g g ") + " g g ") + " g g ") + " g g ") + " ") + " -") + " F F -") + " -") + "F F -") + " -") + " -") + " g g ") + "b b ") + " G G ") + "B B ") + " ") + " 5 ") + " ") + " u -") + " -") + " -") + " FF FF-") + " -") + " ") + " _ _ ") + " _ _ ") + " _ _ ") + " _ _ ") + " _ _ ") + " _ _ ") + " _ _ ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " "); lvl[3][1] = (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + " ") + " ") + " ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " m m m m ") + " ") + " m m m m ") + " ") + " ") + " m m m m ") + " ") + " m m m m ") + " ") + " m m m m ") + " ") + " _ ") + " _ ") + " _ ") + " _ ") + " u _ ") + " ") + " ") + " G G G G ") + " ") + " _ ") + " ") + " _ ") + " ") + " _ ") + " ") + " ") + " a a a a ") + " ") + " G G ") + " G G ") + " G G ") + " s s s s ") + " ") + " m m m m ") + " ") + "w w w w ") + " ") + " W W W W ") + " ") + " G G G G ") + " ") + " -") + " -") + " ") + " _ _ _ _ ") + " -") + " -") + " ") + " _ _ _ _ ") + " -") + " -") + " ") + " _ _ _ _ ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " ") + "x _ x x ") + " ") + "x _ x x ") + " ") + "x _ x x ") + " -") + " -") + "F F -") + " -") + " -") + " ") + " 7 7 7 7 ") + " ") + "8 8 8 8 ") + " ") + " 9 9 9 9 ") + " ") + "5 5 5 5 ") + " ") + "m m m m ") + " ") + "m m s m ") + " ") + "m a m m ") + " ") + " g g ") + " g g ") + " g g ") + " g g ") + " g g ") + " ") + " -") + " F F -") + " ") + "F F ") + " -") + " -") + " ") + " ") + " G G ") + "B B ") + " ") + " 5 ") + " ") + " -") + " -") + " -") + " FF FF-") + " ") + " ") + " -") + " -") + " ") + " ") + " -") + " -") + " ") + " _ ") + " ") + " - ") + " ") + " ^ ") + " ") + " ") + " "); lvl[3][2] = (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + " ") + " ") + " ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " s s s s ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " a a a a ") + " ") + " G G ") + " G G ") + " G G ") + " s s s s ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " ") + "G G G G ") + " ") + " G G G G ") + " ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " ") + "x _ x x ") + " ") + "x _ x x ") + " ") + "x _ x x ") + " -") + " -") + "F F -") + " -") + " -") + " ") + " 5 ") + " 5i5 ") + " 5 ") + " ") + " _ ") + " _ ") + " _ ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " g g ") + " g g ") + " g g ") + " g g ") + " g g ") + " ") + " -") + " F F -") + " -") + "F F -") + " -") + " ") + " g g ") + "b b ") + " G G ") + "B B ") + " ") + " 5 ") + " ") + " u -") + " -") + " -") + " FF FF-") + " -") + " ") + " _ _ ") + " _ _ ") + " _ _ ") + " _ _ ") + " _ _ ") + " _ _ ") + " _ _ ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " "); lvl[3][3] = (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + " ") + " ") + " ") + " -") + " -") + " -") + " -") + " -") + " -") + " n n n n ") + " ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " m m m m ") + " ") + " m m m m ") + " ") + " ") + " m m m m ") + " ") + " m m m m ") + " ") + " m m m m ") + " ") + " _ ") + " _ ") + " _ ") + " _ ") + " u _ ") + " ") + " ") + " n n n n ") + " ") + " _ ") + " ") + " _ ") + " ") + " _ ") + " ") + " ") + " a a a a ") + " ") + " G G ") + " G G ") + " G G ") + " s s s s ") + " ") + " m m m m ") + " ") + "w w w w ") + " ") + " W W W W ") + " ") + " n n n n ") + " ") + " -") + " -") + " ") + " _ _ _ _ ") + " -") + " -") + " ") + " _ _ _ _ ") + " -") + " -") + " ") + " _ _ _ _ ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " ") + "x _ x x ") + " ") + "x _ x x ") + " ") + "x _ x x ") + " -") + " -") + "F F -") + " -") + " -") + " ") + " 7 7 7 7 ") + " ") + "8 8 8 8 ") + " ") + " 9 9 9 9 ") + " ") + "5 5 5 5 ") + " ") + "m m m m ") + " ") + "m m s m ") + " ") + "m a m m ") + " ") + " g g m ") + " g g ") + " g m g ") + " g g ") + " g g m ") + " ") + " -") + " F F -") + " ") + "F F ") + " -") + " -") + " ") + " ") + " G G ") + "B B ") + " ") + " 5 ") + " ") + " -") + " -") + " -") + " FF FF-") + " ") + " ") + " -") + " -") + " ") + " ") + " -") + " -") + " ") + " _ ") + " ") + " - ") + " ") + " ^ ") + " ") + " ") + " "); lvl[4][0] = (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " A A A A ") + " ") + " E E E E ") + " ") + " Y Y Y Y ") + " ") + " ") + " ") + " ") + " ") + " V V V V ") + " ") + "V V V V ") + " ") + " V V V V ") + " ") + "v v v v ") + " ") + " v v v v ") + " ") + "v v v v ") + " ") + " n n n n ") + " ") + "z z z z ") + " ") + " n n n n ") + " ") + "W W W W ") + " ") + " w w w w ") + " ") + "m m m m ") + " ") + " n n n n ") + " ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " ") + "G G G G ") + " ") + " -") + " -") + " ") + " A _ A ") + " ") + " 5 _ 5 ") + " ") + " 5 _ 5 ") + " ") + " 5 _ 5 ") + " ") + " 5 _ 5 ") + " ") + " 5 ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " I Y I Y ") + " ") + " ") + " z z z z ") + " ") + "z z z z ") + " ") + " z z z z ") + " ") + "z z z z ") + " ") + " V V V V ") + " ") + "V V V V ") + " ") + " V V V V ") + " ") + "v v v v ") + " ") + " Z Z Z Z ") + " ") + "Z Z Z Z ") + " ") + " Z Z Z Z ") + " ") + "J J J J -") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " _ ") + " ") + " _ ") + " ") + " _ ") + " ") + " _ "); lvl[4][1] = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + " -") + " z z -") + " -") + "z z -") + " -") + " z z -") + " -") + " ") + " ") + " ") + " J J -") + " -") + " -") + " f f -") + " -") + " -") + " J J -") + " -") + " -") + " F F -") + " -") + " -") + " J J -") + " -") + " -") + " z z -") + " -") + " -") + " J J -") + " -") + " -") + " F F -") + " -") + " -") + " J J -") + " -") + " -") + " F F -") + " -") + " -") + " J J -") + " -") + " -") + " f F -") + " -") + " -") + " J J -") + " -") + " -") + "5 5 5 5 -") + " -") + " -") + " J J -") + " -") + " -") + "5 0 5 0 -") + " -") + " -") + " J J -") + " -") + " -") + " Z Z -") + " -") + " -") + " J J -") + " -") + " -") + " z z -") + " -") + " -") + " J J -") + " -") + " -") + " -") + " F F -") + " -") + " J J -") + " -") + " -") + " f f -") + " -") + " -") + " J J -") + " -") + " -") + " v v -") + " -") + " -") + " J J -") + " -") + " -") + " V V -") + " -") + " -") + " J J -") + " -") + "6 8 7 -") + " -") + " -") + " -") + " J J -") + " -") + " -") + " -") + " _ ") + " _ ") + " _ ") + " _ ") + " _ ") + " _ ") + " _ ") + " _ ") + " _ ") + " _ ") + " _ ") + " _ ") + " "); lvl[4][2] = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + " ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + " ") + "U Y U Y ") + " ") + " ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + " ") + "I A E A ") + " ") + " g g g g ") + " ") + "G G G G ") + " ") + " p p p p ") + " ") + "P P P P ") + " ") + " F F F F ") + " ") + "f f f f ") + " ") + " W W W W ") + " ") + "w w w w ") + " ") + " m m m m ") + " ") + "V V V V ") + " ") + " v v v v ") + " ") + "z z z z ") + " ") + " Z Z Z Z ") + " ") + " ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + "_ x x x ") + " ") + "_ x x x ") + " ") + "_ x x x ") + " ") + "_ x x x ") + " ") + "_ x x x ") + " ") + "_ x x x ") + " ") + "_ x x x ") + " ") + "_ x x x ") + " ") + "_ x x x ") + " ") + "_ x x x ") + " ") + "_ x x x ") + " ") + "_ x x x ") + " ") + " "); lvl[4][3] = (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " A A A A ") + " ") + " E E E E ") + " ") + " Y Y Y Y ") + " ") + " ") + " ") + " ") + " ") + " V V V V ") + " ") + "V V V V ") + " ") + " V V V V ") + " ") + "v v v v ") + " ") + " v v v v ") + " ") + "v v v v ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "W W W W ") + " ") + " w w w w ") + " ") + "m m m m ") + " ") + " n n n n ") + " ") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " G G G G ") + " ") + "G G G G ") + " ") + " -") + " -") + " ") + " A _ A ") + " ") + " 5 _ 5 ") + " ") + " 5 _ 5 ") + " ") + " 5 _ 5 ") + " ") + " 5 _ 5 ") + " ") + " 5 ") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " ") + " I Y I Y ") + " ") + " ") + " z z z z ") + " ") + "z z z z ") + " ") + " z z z z ") + " ") + "z z z z ") + " ") + " V V V V ") + " ") + "V V V V ") + " ") + " V V V V ") + " ") + "v v v v ") + " ") + " Z Z Z Z ") + " ") + "Z Z Z Z ") + " ") + " Z Z Z Z ") + " ") + "J J J J -") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " -") + " _ ") + " ") + " _ ") + " ") + " _ ") + " ") + " "); lvl[5][0] = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " A A A A ") + " ") + " _ x x x ") + " ") + " _ x x x ") + " ") + "g x x x ") + " ") + " _ x x x ") + " ") + "g x x x ") + " ") + " _ x x x ") + " ") + "G x x x ") + " ") + " _ x x x ") + " ") + "G x x x ") + " ") + " _ x x x ") + " ") + " F x x x ") + " ") + " _ x x x ") + " ") + "f x x x ") + " ") + " _ x x x ") + " ") + "n x x x ") + " ") + "n x x x ") + " ") + " - x x x-") + " -") + " ^ x x x-") + " -") + " - x x x-") + " -") + "z x x x-") + " ") + "Z_ x x x ") + " ") + " _ x x x ") + " ") + " _ x x x ") + " ") + "g x x x ") + " ") + " _ x x x ") + " ") + "g x x x ") + " ") + " _ x x x ") + " ") + "G x x x ") + " ") + " _ x x x ") + " ") + "G x x x ") + " ") + " _ x x x ") + " ") + " F x x x ") + " ") + " _ x x x ") + " ") + "f x x x ") + " ") + " _ x x x ") + " ") + "n x x x ") + " ") + "n x x x ") + " ") + " - x x x-") + " -") + " ^ x x x-") + " -") + " - x x x-") + " -") + "z x x x-") + " u ") + "Z_ x x x ") + " "); lvl[5][1] = (((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + " ") + "_ _ _ _ ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + " ") + " _ _ _ _ ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " n n n n ") + " ") + "n n n n ") + " ") + " ") + " ") + " U ") + " ") + " ") + " ") + " ") + " "); lvl[5][2] = (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " A A A U ") + " ") + " _ x x x ") + " ") + "g x x x ") + " ") + " _ x x x ") + " ") + "g x x x ") + " ") + " _ x x x ") + " ") + "G x x x ") + " ") + " _ x x x ") + " ") + "G x x x ") + " ") + "77 x x x ") + " ") + " F x x x ") + " ") + " _ x x x ") + " ") + "f x x x ") + " ") + " _ x x x ") + " ") + "n x x x ") + " ") + "n x x x ") + " ") + " - x x x-") + " -") + "77 x x x-") + " -") + " - x x x-") + " -") + "z x x x-") + " ") + "Z_ x x x ") + " ") + " _ x x x ") + " ") + " _ x x x ") + " ") + "g x x x ") + " ") + " _ x x x ") + " ") + "g x x x ") + " ") + " _ x x x ") + " ") + "G x x x ") + " ") + " _ x x x ") + " ") + "G x x x ") + " ") + " _ x x x ") + " ") + " F x x x ") + " ") + " _ x x x ") + " ") + "f x x x ") + " ") + " _ x x x ") + " ") + "n x x x ") + " ") + "n x x x ") + " ") + " - x x x-") + " -") + " ^ x x x-") + " -") + " - x x x-") + " -") + "z x x x-") + " ") + "Z_ x x x ") + " ") + " ") + " ") + " ") + " ") + " "); lvl[5][3] = ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("" + " ") + " ") + " ") + " ") + " ") + " _ x x x ") + " ") + "g x x x ") + " ") + " _ x x x ") + " ") + "g x x x ") + " ") + " _ x x x ") + " ") + "G x x x ") + " ") + " _ x x x ") + " ") + "G x x x ") + " ") + " _ x x x ") + " ") + " F x x x ") + " ") + " _ x x x ") + " ") + "f x x x ") + " ") + " _ x x x ") + " ") + "n x x x ") + " ") + "n x x x ") + " ") + " - x x x-") + " -") + "6 x x x-") + " -") + " - x x x-") + " -") + "z x x x-") + " ") + "Z_ x x x ") + " ") + "6 x x x ") + " ") + " _ x x x ") + " ") + "g x x x ") + " ") + "6 x x x ") + " ") + "g x x x ") + " ") + "77 x x x ") + " ") + "G x x x ") + " ") + "77 x x x ") + " ") + "G x x x ") + " ") + " 5 x x x ") + " ") + "F x x x ") + " ") + "59 x x x ") + " ") + "f x x x ") + " ") + " _ U x x ") + " ") + "n x x x ") + " ") + "n x x x ") + " ") + " - x x x-") + " -") + " ^ x x x-") + " -") + " - x x x-") + " -") + "z x x x-") + " ") + "Z_ x x x ") + " ") + " ") + " ") + " ") + " "); startTime = [[2800, 2800, 2800, 2800, 4000], [2800, 2800, 2800, 2800, 4000], [2800, 2800, 2800, 2800, 4000], [2800, 2800, 2800, 2800, 4000], [2800, 2800, 2800, 2800, 7000], [2800, 2800, 2800, 2800, 8000]]; forcedSpeed = [[0, 0, 0, 0], [0, 0, 2, 2], [0, 0, 0, 2], [0, 0, 0, 2], [0, 0, 3, 2], [0, 0, 3, 3]]; floorColors = [[0x4400, 0x8800], [0x990066, 0x999900], [0x222222, 14492194], [0x999999, 0xCCCCCC], [14540066, 10710347], [0x111111, 0xEEEEEE]]; started = true; } } }//package
Section 45
//GInput (GInput) package { import flash.display.*; import flash.events.*; import flash.ui.*; public class GInput { public static const KEYNUM:uint = 0x0100; public static const LEFT:uint = 37; public static const UP:uint = 38; public static const DOWN:uint = 40; public static const RIGHT:uint = 39; public static var started = false; public static var pbut:int = Keyboard.ESCAPE; public static var processed:Array; public static var keyDown:Array; public static var JUMP:int; public static var doc:DisplayObjectContainer; public static var SHOOT:int; public static function keyDownHandler(_arg1:KeyboardEvent):void{ keyDown[(_arg1.keyCode % KEYNUM)] = true; } public static function keyUpHandler(_arg1:KeyboardEvent):void{ keyDown[(_arg1.keyCode % KEYNUM)] = false; processed[(_arg1.keyCode % KEYNUM)] = false; } public static function Init(_arg1:DisplayObjectContainer):void{ var _local2:uint; if (started){ return; }; JUMP = "A".charCodeAt(0); SHOOT = "S".charCodeAt(0); doc = _arg1; keyDown = new Array(); processed = new Array(); _local2 = 0; while (_local2 < KEYNUM) { keyDown.push(false); _local2++; }; _local2 = 0; while (_local2 < KEYNUM) { processed.push(false); _local2++; }; doc.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); doc.addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); started = true; } } }//package
Section 46
//GSound (GSound) package { import flash.media.*; public class GSound { public static const LEVEL0:int = 1; public static const LEVEL1:int = 2; public static const MENU:int = 0; public static const BOSS:int = 3; public static const SCORE:int = 4; public static var started = false; public static var SoundBump:Sound; public static var SoundShot:Sound; public static var pid:int; public static var SoundDie:Sound; public static var SoundFall:Sound; public static var SoundTake:Sound; public static var mute:int = 1; public static var SoundDestroyed:Sound; public static var m:Array; public static var musc:SoundChannel; public static var SoundJump:Sound; public static function MuteButton(_arg1:int):void{ mute = _arg1; if (mute == 1){ if (musc){ musc.stop(); }; if (pid != -1){ musc = m[pid].play(0, 2000000000); }; } else { if (musc){ musc.stop(); }; }; } public static function StopMusic():void{ if (musc){ musc.stop(); }; } public static function PlayMusic(_arg1:int):void{ if ((((((mute == 1)) || ((_arg1 == SCORE)))) && (!((pid == _arg1))))){ if (musc){ musc.stop(); }; musc = m[_arg1].play(0, 200000000); pid = _arg1; }; } public static function PlaySound(_arg1:Sound, _arg2:Number=1):void{ var _local3:SoundChannel; var _local4:SoundTransform; if (_arg2 < 0){ _arg2 = 0; }; if (_arg2 > 1){ _arg2 = 1; }; if (mute != 1){ _arg2 = 0; }; _local3 = _arg1.play(); _local4 = _local3.soundTransform; _local4.volume = _arg2; _local3.soundTransform = _local4; } public static function Init(_arg1:Boolean=true):void{ if (((_arg1) && (!(started)))){ pid = -1; m = new Array(5); m[MENU] = new auMenu(); m[LEVEL0] = new auLevel0(); m[BOSS] = new auBoss(); m[SCORE] = new auTake(); SoundDie = new auDie(); SoundJump = new auJump(); SoundBump = new auBump(); SoundDestroyed = new auDestroyed(); SoundFall = new auFall(); SoundTake = new auTake(); SoundShot = new auShot(); }; started = true; } } }//package
Section 47
//GStateManager (GStateManager) package { import flash.display.*; import flash.events.*; public class GStateManager { public static var started:Boolean = false; private static var MAXSTATES:int = 20; public static var stack:Array; public static var currentId:int; public static var doc:DisplayObjectContainer; public static function PopState():void{ if (currentId == 0){ throw (new Error("GStateManager.stack underflow.")); }; RemoveState(); stack[currentId].Return(); } private static function RemoveState():void{ if (currentId < 0){ throw (new Error("GStateManager.stack underflow.")); }; doc.removeChild(stack[currentId]._mc); stack[currentId].Dispose(); currentId--; } private static function Step(_arg1:Event):void{ stack[currentId].Update(); } public static function ChangeState(_arg1:State):void{ RemoveState(); PushState(_arg1); } public static function PushState(_arg1:State):void{ if (currentId >= 0){ stack[currentId].Pause(); } else { if ((currentId + 1) == MAXSTATES){ throw (new Error("GStateManager.stack overflow.")); }; }; currentId++; stack[currentId] = _arg1; doc.addChild(_arg1._mc); } public static function Init(_arg1:DisplayObjectContainer, _arg2:State):void{ if (started){ return; }; doc = _arg1; currentId = -1; stack = new Array(MAXSTATES); PushState(_arg2); doc.addEventListener(Event.ENTER_FRAME, Step); started = true; } } }//package
Section 48
//huhu (huhu) package { import flash.display.*; public dynamic class huhu extends MovieClip { } }//package
Section 49
//Item (Item) package { import flash.display.*; public class Item extends Baddy { public var _type:int; public var _startz:Number; public static const STATE_IDLE:int = 1; public static const DIE_LENGTH:int = 60; public static const STATE_DYING:int = 2; public static const INVINCIBILITY:int = 4; public static const STAR:int = 5; public static const DEATH:int = 2; public static const DY:Number = 6; public static const SHOT:int = 3; public static const LIFE:int = 6; public static const ARMOR:int = 1; public function Item(_arg1:StateMain, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:int){ super(_arg1, new mcItem(), _arg2, _arg3, _arg4, (StateMain.TW * (20 / 92)), 32, (StateMain.TH * (20 / 92))); _type = _arg5; ChangeState(STATE_IDLE); _startz = _arg4; (_mc.getChildAt(1) as MovieClip).gotoAndStop(_type); } override public function getHit():void{ ChangeState(STATE_DISPOSE); } override public function Update():Boolean{ if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) && ((_stCnt >= DIE_LENGTH)))){ ChangeState(STATE_DISPOSE); return (true); }; if (_type != STAR){ if (_stCnt < 10){ _y = (_y + DY); } else { _y = (_y - DY); }; if (_y < 0){ ChangeState(STATE_DISPOSE); }; _z = ((_sm.player._z < _startz)) ? _sm.player._z : _z; }; return (false); } } }//package
Section 50
//mcBG0 (mcBG0) package { import flash.display.*; public dynamic class mcBG0 extends MovieClip { } }//package
Section 51
//mcBG1 (mcBG1) package { import flash.display.*; public dynamic class mcBG1 extends MovieClip { public function mcBG1(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6); } function frame3(){ stop(); } function frame6(){ stop(); } function frame1(){ stop(); } function frame4(){ stop(); } function frame5(){ stop(); } function frame2(){ stop(); } } }//package
Section 52
//mcBoss (mcBoss) package { import flash.display.*; public dynamic class mcBoss extends MovieClip { } }//package
Section 53
//mcBullet (mcBullet) package { import flash.display.*; public dynamic class mcBullet extends MovieClip { } }//package
Section 54
//mcEffect (mcEffect) package { import flash.display.*; public dynamic class mcEffect extends MovieClip { public var ef:MovieClip; public function mcEffect(){ addFrameScript(31, frame32); } function frame32(){ stop(); } } }//package
Section 55
//mcEnemyApproacher (mcEnemyApproacher) package { import flash.display.*; public dynamic class mcEnemyApproacher extends MovieClip { } }//package
Section 56
//mcEnemyFlyer (mcEnemyFlyer) package { import flash.display.*; public dynamic class mcEnemyFlyer extends MovieClip { } }//package
Section 57
//mcEnemyFlyer2 (mcEnemyFlyer2) package { import flash.display.*; public dynamic class mcEnemyFlyer2 extends MovieClip { } }//package
Section 58
//mcEnemyGhost (mcEnemyGhost) package { import flash.display.*; public dynamic class mcEnemyGhost extends MovieClip { } }//package
Section 59
//mcEnemyGround (mcEnemyGround) package { import flash.display.*; public dynamic class mcEnemyGround extends MovieClip { } }//package
Section 60
//mcEnemyGround2 (mcEnemyGround2) package { import flash.display.*; public dynamic class mcEnemyGround2 extends MovieClip { } }//package
Section 61
//mcEnemyJumper (mcEnemyJumper) package { import flash.display.*; public dynamic class mcEnemyJumper extends MovieClip { } }//package
Section 62
//mcEnemyStop (mcEnemyStop) package { import flash.display.*; public dynamic class mcEnemyStop extends MovieClip { } }//package
Section 63
//mcEnemyUnstompable (mcEnemyUnstompable) package { import flash.display.*; public dynamic class mcEnemyUnstompable extends MovieClip { } }//package
Section 64
//mcEnemyXYZ (mcEnemyXYZ) package { import flash.display.*; public dynamic class mcEnemyXYZ extends MovieClip { } }//package
Section 65
//mcEnemyXYZ2 (mcEnemyXYZ2) package { import flash.display.*; public dynamic class mcEnemyXYZ2 extends MovieClip { } }//package
Section 66
//mcExplosion (mcExplosion) package { import flash.display.*; public dynamic class mcExplosion extends MovieClip { } }//package
Section 67
//mcIndicatorArmor (mcIndicatorArmor) package { import flash.display.*; public dynamic class mcIndicatorArmor extends MovieClip { public function mcIndicatorArmor(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 68
//mcIndicatorInvisibility (mcIndicatorInvisibility) package { import flash.display.*; public dynamic class mcIndicatorInvisibility extends MovieClip { public function mcIndicatorInvisibility(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 69
//mcIndicatorShot (mcIndicatorShot) package { import flash.display.*; public dynamic class mcIndicatorShot extends MovieClip { public function mcIndicatorShot(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 70
//mcItem (mcItem) package { import flash.display.*; public dynamic class mcItem extends MovieClip { } }//package
Section 71
//mcMenu (mcMenu) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.geom.*; import flash.utils.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.net.*; import flash.printing.*; import flash.system.*; import flash.xml.*; public dynamic class mcMenu extends MovieClip { public var menu:MovieClip; public function mcMenu(){ addFrameScript(0, frame1, 29, frame30, 59, frame60, 89, frame90, 120, frame121); } function frame90(){ stop(); } function frame1(){ stop(); menu.btnBackLeft.addEventListener(MouseEvent.CLICK, moveLeft); menu.btnPlay.addEventListener(MouseEvent.CLICK, startGame); } public function startGame(_arg1:Event){ GStateManager.ChangeState(new StateMain()); } public function moveLeft(_arg1:Event):void{ gotoAndPlay(31); } function frame30(){ stop(); } function frame121(){ stop(); } function frame60(){ stop(); } } }//package
Section 72
//mcMenuBG (mcMenuBG) package { import flash.display.*; public dynamic class mcMenuBG extends MovieClip { public function mcMenuBG(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 73
//mcMenuMiddle (mcMenuMiddle) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.geom.*; import mochi.as3.*; import flash.utils.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.net.*; import flash.printing.*; import flash.system.*; import flash.xml.*; public dynamic class mcMenuMiddle extends MovieClip { public var navi:MovieClip; public function mcMenuMiddle(){ addFrameScript(0, frame1, 94, frame95); } public function gotoSponsor(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.gameprison.com/")); } function frame95(){ stop(); } function frame1(){ navi.btnHiScores.addEventListener(MouseEvent.CLICK, hiScores); navi.btnGoLeft.addEventListener(MouseEvent.CLICK, moveLeft); navi.btnGoRight.addEventListener(MouseEvent.CLICK, moveRight); } public function moveLeft(_arg1:Event):void{ (parent.parent as MovieClip).gotoAndPlay(2); } public function hiScores(_arg1:Event):void{ MochiScores.showLeaderboard({boardID:"6a3bdee77b230b24", onClose:golgo13}); } public function golgo13():void{ } public function gotoOzdy(_arg1:Event):void{ navigateToURL(new URLRequest("http://www.ozdy.com/")); } public function moveRight(_arg1:Event):void{ (parent.parent as MovieClip).gotoAndPlay(61); } } }//package
Section 74
//mcMusicOn (mcMusicOn) package { import flash.display.*; public dynamic class mcMusicOn extends MovieClip { public function mcMusicOn(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package
Section 75
//mcOzdy (mcOzdy) package { import flash.display.*; import flash.events.*; import mochi.as3.*; public dynamic class mcOzdy extends MovieClip { public var id:int; public var btnOzdy:mcOzdyBut; public var sz:String; public var ct1:Sprite; public function mcOzdy(){ addFrameScript(0, frame1, 135, frame136); } public function checkString(_arg1:Event):void{ var _local2:*; var _local3:int; _local2 = (id + 1); if (_local2 == sz.length){ removeEventListener(Event.ENTER_FRAME, checkString); gotoAndPlay(2); } else { _local3 = 0; while (_local3 < 0x0100) { if (((GInput.keyDown[_local3]) && (!(GInput.processed[_local3])))){ GInput.processed[_local3] = true; if (_local3 == sz.charCodeAt(_local2)){ id++; } else { id = -1; }; break; }; _local3++; }; }; } function frame1(){ stop(); sz = "FROM"; id = -1; addEventListener(Event.ENTER_FRAME, checkString); ct1 = new Sprite(); addChild(ct1); ct1.addChild(btnOzdy); MochiServices.addLinkEvent("http://x.mochiads.com/link/0bcb0b1f4d80a172", "http://www.ozdy.com/", ct1); } function frame136(){ stop(); GStateManager.ChangeState(new StateMenu()); } } }//package
Section 76
//mcOzdyBut (mcOzdyBut) package { import flash.display.*; public dynamic class mcOzdyBut extends SimpleButton { } }//package
Section 77
//mcPlayer (mcPlayer) package { import flash.display.*; public dynamic class mcPlayer extends MovieClip { public function mcPlayer(){ addFrameScript(16, frame17); } function frame17(){ stop(); } } }//package
Section 78
//mcShadow (mcShadow) package { import flash.display.*; public dynamic class mcShadow extends MovieClip { } }//package
Section 79
//mcSpikesB (mcSpikesB) package { import flash.display.*; public dynamic class mcSpikesB extends MovieClip { } }//package
Section 80
//mcSpikesS (mcSpikesS) package { import flash.display.*; public dynamic class mcSpikesS extends MovieClip { } }//package
Section 81
//mcStatusBar (mcStatusBar) package { import flash.display.*; import flash.events.*; import flash.text.*; public dynamic class mcStatusBar extends MovieClip { public var points:TextField; public var idArmor:mcIndicatorArmor; public var lives:TextField; public var stars:TextField; public var idTime:TimeBar; public var idInvincible:mcIndicatorInvisibility; public var idShot:mcIndicatorShot; public var musicButton:MovieClip; public function mcStatusBar(){ addFrameScript(0, frame1); } public function musicBtnDown(_arg1:Event):void{ musicButton.gotoAndStop(((musicButton.currentFrame % 2) + 1)); GSound.MuteButton(musicButton.currentFrame); } function frame1(){ musicButton.gotoAndStop(GSound.mute); GSound.MuteButton(musicButton.currentFrame); musicButton.addEventListener(MouseEvent.CLICK, musicBtnDown); } } }//package
Section 82
//mcStatusBoss (mcStatusBoss) package { import flash.display.*; public dynamic class mcStatusBoss extends MovieClip { public var b:MovieClip; } }//package
Section 83
//mcTGObg (mcTGObg) package { import flash.display.*; import flash.events.*; import mochi.as3.*; import flash.text.*; public dynamic class mcTGObg extends MovieClip { public var pmg:Symbol21; public var submit:mcOzdyBut; public var score:TextField; public var cancel:mcOzdyBut; public var nPoints:int; public function mcTGObg(){ addFrameScript(0, frame1, 24, frame25, 34, frame35); } public function submitScore(_arg1:Event):void{ MochiScores.showLeaderboard({boardID:"6a3bdee77b230b24", score:nPoints, onClose:golgoplay}); } function frame1(){ MochiServices.addLinkEvent("http://x.mochiads.com/link/11bf57391d2cfc5d", "http://www.gameprison.com/", pmg); submit.addEventListener(MouseEvent.CLICK, submitScore); cancel.addEventListener(MouseEvent.CLICK, cancelSubmitScore); } function frame25(){ stop(); } public function cancelSubmitScore(_arg1:Event):void{ gotoAndPlay(26); } public function golgo13():void{ } public function golgoplay():void{ gotoAndPlay(26); } function frame35(){ GStateManager.ChangeState(new StateMenu()); } } }//package
Section 84
//mcTNL (mcTNL) package { import flash.display.*; import flash.text.*; public dynamic class mcTNL extends MovieClip { public var tfield2:TextField; public var tfield:TextField; public var tfielda:TextField; public var tfielda2:TextField; } }//package
Section 85
//mcTNLbg (mcTNLbg) package { import flash.display.*; public dynamic class mcTNLbg extends MovieClip { public function mcTNLbg(){ addFrameScript(62, frame63); } function frame63(){ stop(); } } }//package
Section 86
//mcTP (mcTP) package { import flash.display.*; import flash.events.*; import mochi.as3.*; public dynamic class mcTP extends MovieClip { public var btnSponsor:GamePrisonButton; public var re:Boolean; public var mainm:mcOzdyBut; public var ct1:Sprite; public function mcTP(){ addFrameScript(0, frame1); } function frame1(){ stop(); mainm.addEventListener(MouseEvent.CLICK, mainmenu); re = false; ct1 = new Sprite(); addChild(ct1); ct1.addChild(btnSponsor); MochiServices.addLinkEvent("http://x.mochiads.com/link/11bf57391d2cfc5d", "http://www.gameprison.com/", ct1); } public function mainmenu(_arg1:Event):void{ re = true; } } }//package
Section 87
//mcTreeB (mcTreeB) package { import flash.display.*; public dynamic class mcTreeB extends MovieClip { } }//package
Section 88
//mcTreeS (mcTreeS) package { import flash.display.*; public dynamic class mcTreeS extends MovieClip { } }//package
Section 89
//mcTSC (mcTSC) package { import flash.display.*; import flash.text.*; public dynamic class mcTSC extends MovieClip { public var scoret:TextField; public var starBonust:TextField; public var timeBonust:TextField; public var timeBonus:TextField; public var score:TextField; public var starBonus:TextField; public function mcTSC(){ addFrameScript(89, frame90, 140, frame141); } function frame90(){ stop(); } function frame141(){ stop(); } } }//package
Section 90
//mcTut (mcTut) package { import flash.display.*; public dynamic class mcTut extends MovieClip { } }//package
Section 91
//mcTutso (mcTutso) package { import flash.display.*; public dynamic class mcTutso extends MovieClip { } }//package
Section 92
//MochiBot (MochiBot) package { import flash.display.*; import flash.net.*; import flash.system.*; public dynamic class MochiBot extends Sprite { public static function track(_arg1:Sprite, _arg2:String):MochiBot{ var _local3:MochiBot; var _local4:String; var _local5:URLVariables; var _local6:String; var _local7:URLRequest; var _local8:Loader; if (Security.sandboxType == "localWithFile"){ return (null); }; _local3 = new (MochiBot); _arg1.addChild(_local3); Security.allowDomain("*"); Security.allowInsecureDomain("*"); _local4 = "http://core.mochibot.com/my/core.swf"; _local5 = new URLVariables(); _local5["sb"] = Security.sandboxType; _local5["v"] = Capabilities.version; _local5["swfid"] = _arg2; _local5["mv"] = "8"; _local5["fv"] = "9"; _local6 = _local3.root.loaderInfo.loaderURL; if (_local6.indexOf("http") == 0){ _local5["url"] = _local6; } else { _local5["url"] = "local"; }; _local7 = new URLRequest(_local4); _local7.contentType = "application/x-www-form-urlencoded"; _local7.method = URLRequestMethod.POST; _local7.data = _local5; _local8 = new Loader(); _local3.addChild(_local8); _local8.load(_local7); return (_local3); } } }//package
Section 93
//Object3D (Object3D) package { import flash.display.*; public class Object3D { public var _x:Number; public var _depth:Number; public var _height:Number; public var _stCnt:int; public var _width:Number; public var _state:int; public var _mc:DisplayObjectContainer; public var _sm:StateMain; public var _y:Number; public var _z:Number; public static const STATE_DISPOSE:int = -1; public function Object3D(_arg1:StateMain, _arg2:MovieClip, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number, _arg8:Number){ _mc = new Sprite(); _sm = _arg1; _mc.addChild(new mcShadow()); _mc.addChild(_arg2); _x = _arg3; _y = _arg4; _z = _arg5; _width = _arg6; _height = _arg7; _depth = _arg8; _state = 0; _stCnt = 0; } public function Collides(_arg1:Object3D):Boolean{ var _local2:Object3D; var _local3:Object3D; var _local4:Number; var _local5:Object3D; _local2 = this; _local3 = _arg1; if (_local3._x < _local2._x){ _local5 = _local2; _local2 = _local3; _local3 = _local5; }; _local4 = (StateMain.TW * 8); return ((((((((Math.max((_local2._x - (_local2._width / 2)), (_local3._x - (_local3._width / 2))) < Math.min((_local2._x + (_local2._width / 2)), (_local3._x + (_local3._width / 2))))) || ((Math.max(((_local2._x - (_local2._width / 2)) + _local4), (_local3._x - (_local3._width / 2))) < Math.min(((_local2._x + (_local2._width / 2)) + _local4), (_local3._x + (_local3._width / 2))))))) && ((Math.max(_local2._y, _local3._y) < Math.min((_local2._y + _local2._height), (_local3._y + _local3._height)))))) && ((Math.max((_local2._z - (_local2._depth / 2)), (_local3._z - (_local3._depth / 2))) < Math.min((_local2._z + (_local2._depth / 2)), (_local3._z + (_local3._depth / 2))))))); } public function ChangeState(_arg1:int, _arg2:int=0):void{ _state = _arg1; _stCnt = int((Math.random() * _arg2)); } public function Update():Boolean{ _stCnt++; return (false); } public function getHit():void{ } public function Dispose():void{ } } }//package
Section 94
//Player (Player) package { import flash.display.*; import fl.motion.*; import flash.geom.*; import flash.filters.*; public class Player extends Object3D { public var _points:int; public var _isShooter:Boolean; public var _cntShooter:int; public var _lives:int; public var _isArmored:Boolean; public var _lastJumperZ:Number; public var _voidCT:Color; public var _armorCT:Color; public var _dz:int;// = 2 public var _goingDown:Boolean; public var _invincible:int; public var _forcedHeight:int; public var _inv2CT:Color; public var _T:Transform; public var _stars:int; public var _cntReel:int; public var _bForcedJump:Boolean; public var _inv1CT:Color; public var _isReeling:Boolean; public static const STATE_SINKING:int = 5; public static const STATE_IDLE:int = 1; public static const DIE_LENGTH:int = 60; public static const STATE_JUMPING:int = 4; public static const STATE_WALKING:int = 3; public static const _fdx:Number = 1.73913043478261; public static const _dx:int = 4; public static const ARMOR_RGBA:uint = 4294967295; public static const _dy:Number = 6; public static const _fdy:Number = 8; public static const STATE_FLYING:int = 6; public static const STATE_DYING:int = 2; public function Player(_arg1:StateMain, _arg2:Number, _arg3:Number){ var _local4:GlowFilter; _dz = 2; super(_arg1, new mcPlayer(), _arg2, 0, _arg3, (StateMain.TW * (20 / 92)), 64, (StateMain.TH * (20 / 184))); _T = new Transform(_mc.getChildAt(1)); _armorCT = new Color(); _armorCT.setTint(0xFF0000, 0.4); _inv1CT = new Color(); _inv1CT.setTint(0xFF0000, 0.3); _inv2CT = new Color(); _inv2CT.setTint(0xFF0000, 0.5); _voidCT = new Color(); _points = 0; _stars = 0; _lives = 5; _local4 = new GlowFilter(); _local4.color = 128; _local4.alpha = 1; _local4.blurX = 1.1; _local4.blurY = 1.1; _local4.strength = 16; _local4.quality = BitmapFilterQuality.MEDIUM; (_mc.getChildAt(1) as MovieClip).filters = [_local4]; Reset(false); } private function UnArmor():void{ _isArmored = false; (_mc.getChildAt(1) as MovieClip).transform.colorTransform = _voidCT; } public function Reset(_arg1:Boolean):void{ if (((!(_arg1)) && (!((_sm.sublevel == 4))))){ ChangeState(STATE_WALKING); } else { if (_sm.sublevel == 4){ ChangeState(STATE_FLYING); }; }; if (!_arg1){ _x = 0; _y = 0; _z = 0; _goingDown = false; _bForcedJump = false; _stars = 0; _isShooter = false; _isArmored = false; }; _invincible = 0; _isReeling = false; _cntReel = 0; if (_sm.sublevel == 4){ _isShooter = true; }; } private function Reel(_arg1:Baddy):void{ _isReeling = true; _cntReel = 0; _z = Math.floor(((_arg1._z - (_arg1._depth / 2)) - (_depth / 2))); GSound.PlaySound(GSound.SoundBump); if (_state == STATE_JUMPING){ _goingDown = true; }; } private function Explode():void{ ChangeState(STATE_DYING); (_mc.getChildAt(1) as MovieClip).gotoAndStop(17); GSound.PlaySound(GSound.SoundDie); } public function TakeThis(_arg1:Baddy):void{ var _local2:Item; if (_state == STATE_DYING){ return; }; if ((_arg1 is Tree)){ if (_isReeling){ return; }; _arg1.getHit(); if (!(_arg1 as Tree)._good){ if (_invincible > 0){ } else { if (_isArmored){ UnArmor(); } else { Explode(); return; }; }; }; Reel(_arg1); if ((_arg1 as Tree)._good){ return; }; } else { if ((_arg1 is Item)){ GSound.PlaySound(GSound.SoundTake); _local2 = (_arg1 as Item); switch (_local2._type){ case Item.ARMOR: if (!_isArmored){ _isArmored = true; _sm.AddEffect("ARMOR"); }; break; case Item.SHOT: if (!_isShooter){ _isShooter = true; _sm.AddEffect("WEAPON"); }; break; case Item.INVINCIBILITY: _invincible = 420; _sm.AddEffect("INVINCIBILITY"); break; case Item.LIFE: _lives++; _sm.AddEffect("1UP"); break; case Item.STAR: _points = (_points + 50); _stars++; break; case Item.DEATH: if (_invincible == 0){ Explode(); } else { _points = (_points + 2000); }; break; }; _local2.getHit(); } else { if ((_arg1 is EnemyJumper)){ if (_lastJumperZ == _arg1._z){ return; }; trace(((_lastJumperZ + " ") + _arg1._z)); _lastJumperZ = _arg1._z; _z = _arg1._z; _y = 0; ChangeState(STATE_JUMPING); GSound.PlaySound(GSound.SoundJump); _bForcedJump = true; _goingDown = false; _forcedHeight = (((_arg1 as EnemyJumper)._type == 0)) ? 40 : 48; } else { if ((_arg1 is EnemyStop)){ Reel(_arg1); } else { if (_invincible > 0){ } else { if (_isArmored){ UnArmor(); } else { Explode(); }; }; _arg1.getHit(); }; }; }; }; } override public function Update():Boolean{ var _local1:int; var _local2:int; if (super.Update()){ return (true); }; if ((((_state == STATE_DYING)) || ((_state == STATE_SINKING)))){ if (_stCnt >= DIE_LENGTH){ _state = STATE_DYING; return (true); }; if (_state == STATE_SINKING){ _y = (_y - _dy); }; } else { if (--_sm.timeLeft <= 0){ Explode(); } else { if (_sm.sublevel != 4){ if (_invincible > 0){ _invincible--; }; if ((((_state == STATE_WALKING)) || ((_state == STATE_JUMPING)))){ if (((((((_isShooter) && (GInput.keyDown[GInput.SHOOT]))) && (!(GInput.processed[GInput.SHOOT])))) && ((_sm.numBullets < 4)))){ GInput.processed[GInput.SHOOT] = true; _sm.AddBullet(new Bullet(_sm, _x, _y, _z)); GSound.PlaySound(GSound.SoundShot); }; }; if (_state == STATE_WALKING){ if (GData.lvl[_sm.level][_sm.sublevel].charCodeAt(((Math.floor(((_z - 2) / StateMain.TH)) * 9) + 8)) == 45){ if (GData.lvl[_sm.level][_sm.sublevel].charCodeAt(((Math.floor(((_z + 2) / StateMain.TH)) * 9) + 8)) == 45){ ChangeState(STATE_SINKING); GSound.PlaySound(GSound.SoundFall); return (false); }; }; _local1 = 0; if (GInput.keyDown[GInput.LEFT]){ _x = (_x - _dx); } else { if (GInput.keyDown[GInput.RIGHT]){ _x = (_x + _dx); }; }; (_mc.getChildAt(1) as MovieClip).gotoAndStop(((1 + (_local1 * 4)) + (int(((_dz * _stCnt) / 6)) % 4))); if (((GInput.keyDown[GInput.JUMP]) && (!(GInput.processed[GInput.JUMP])))){ GInput.processed[GInput.JUMP]; ChangeState(STATE_JUMPING); _goingDown = false; GSound.PlaySound(GSound.SoundJump); }; } else { if (_state == STATE_JUMPING){ if ((((_y <= 0)) && (_goingDown))){ _y = 0; _goingDown = false; ChangeState(STATE_WALKING); } else { if (_goingDown){ _y = (_y - _dy); } else { if (_bForcedJump){ if (_y >= (_forcedHeight * _dy)){ _goingDown = true; _bForcedJump = false; _y = (_y - _dy); } else { _y = (_y + _dy); }; } else { if (GInput.keyDown[GInput.JUMP]){ if (_y >= (_dy * ((_dz <= 2)) ? 24 : 32)){ _goingDown = true; _y = (_y - _dy); } else { _y = (_y + _dy); }; } else { if (_y < (_dy * 8)){ _y = (_y + _dy); } else { _goingDown = true; _y = (_y - _dy); }; }; }; }; }; _local2 = 2; if (GInput.keyDown[GInput.LEFT]){ _x = (_x - _dx); } else { if (GInput.keyDown[GInput.RIGHT]){ _x = (_x + _dx); }; }; (_mc.getChildAt(1) as MovieClip).gotoAndStop(_local2); }; }; if (_isReeling){ _cntReel++; if (_cntReel > 24){ _isReeling = false; _cntReel = 0; } else { _z = (_z - 1); }; } else { if (GData.forcedSpeed[_sm.level][_sm.sublevel] == 0){ if (GInput.keyDown[GInput.UP]){ _dz = 4; } else { if (GInput.keyDown[GInput.DOWN]){ _dz = 1; } else { _dz = 2; }; }; } else { if (GData.forcedSpeed[_sm.level][_sm.sublevel] == 2){ _dz = 4; } else { if (GData.forcedSpeed[_sm.level][_sm.sublevel] == 3){ _dz = 6; } else { trace("Forced Speed unspecified!"); }; }; }; _z = (_z + _dz); }; } else { (_mc.getChildAt(1) as MovieClip).gotoAndStop(16); if (((((GInput.keyDown[GInput.SHOOT]) && (!(GInput.processed[GInput.SHOOT])))) && ((_sm.numBullets < 4)))){ GInput.processed[GInput.SHOOT] = true; _sm.AddBullet(new Bullet(_sm, _x, _y, _z)); GSound.PlaySound(GSound.SoundShot); }; if (GInput.keyDown[GInput.LEFT]){ _x = (_x - _fdx); } else { if (GInput.keyDown[GInput.RIGHT]){ _x = (_x + _fdx); }; }; if (GInput.keyDown[GInput.UP]){ _y = (_y + _fdy); } else { if (GInput.keyDown[GInput.DOWN]){ _y = (_y - _fdy); }; }; }; }; }; return (false); } } }//package
Section 95
//PlayerDieFragAn (PlayerDieFragAn) package { import flash.display.*; public dynamic class PlayerDieFragAn extends MovieClip { } }//package
Section 96
//State (State) package { import flash.display.*; public class State { public var _mc:Sprite; public var _cnt:int; public function State(){ _mc = new Sprite(); _cnt = 0; } public function Update():void{ _cnt++; } public function Pause():void{ _mc.visible = false; } public function Return():void{ _mc.visible = true; } public function Dispose():void{ if (_mc != null){ if (_mc.parent != null){ _mc.parent.removeChild(_mc); }; _mc = null; }; } } }//package
Section 97
//StateMain (StateMain) package { import flash.display.*; import flash.events.*; import flash.media.*; import fl.motion.*; import flash.geom.*; import flash.utils.*; public class StateMain extends State { public var level:int; public var lastLoadedZ:Number; private var ground:Shape; public var tut:Tut; private var ys:Array; public var inlevel:Boolean; private var mBG0:MovieClip; public var trans:Transition; private var docTut:Sprite; private var statusBar:mcStatusBar; public var sublevel:int; public var numBullets:int; private var dicEnemies:Dictionary; private var dicBullets:Dictionary; private var docTrans:Sprite; private var docBG1:Sprite; public var player:Player; private var docPerspective:Array; private var docEffect:Sprite; public var timeLeft:int; private var dicBosses:Dictionary; private var xs:Array; private var statusBoss:mcStatusBoss; public static const WIDTH:int = 0x0200; public static const HEIGHT:int = 448; public static const PERSPECTIVE_SECTORS:int = 128; public static var TW:int = 32; private static var FY:Number = 24; private static var MINY:Number = (1 / (((6 * TH) / FY) + 1)); public static var TH:int = 32; public function StateMain(){ var _local1:int; var _local2:MovieClip; super(); mBG0 = new mcBG0(); _mc.addChild(mBG0); mBG0.x = 0; mBG0.y = 0; docBG1 = new Sprite(); _local2 = new mcBG1(); docBG1.addChild(_local2); _local2.x = 0; _local2.y = 0; _local2 = new mcBG1(); docBG1.addChild(_local2); _local2.x = WIDTH; _local2.y = 0; _mc.addChild(docBG1); docBG1.x = 0; docBG1.y = 114; ground = new Shape(); _mc.addChild(ground); ground.x = 0; ground.y = 240; docPerspective = new Array(PERSPECTIVE_SECTORS); _local1 = 0; while (_local1 < PERSPECTIVE_SECTORS) { docPerspective[_local1] = new Sprite(); docPerspective[_local1].y = 240; _mc.addChild(docPerspective[_local1]); _local1++; }; statusBar = new mcStatusBar(); _mc.addChild(statusBar); statusBar.x = 0; statusBar.y = (HEIGHT - 80); docTut = new Sprite(); _mc.addChild(docTut); statusBoss = new mcStatusBoss(); statusBoss.x = 0xFF; statusBoss.y = 36; _mc.addChild(statusBoss); docEffect = new Sprite(); _mc.addChild(docEffect); docEffect.x = (0x0200 / 2); docEffect.y = (448 / 2); docTrans = new Sprite(); _mc.addChild(docTrans); ys = new Array(8); xs = new Array(8); _local1 = 0; while (_local1 < 8) { xs[_local1] = new Array(11); _local1++; }; ys[0] = 128; ys[7] = 0; dicBosses = new Dictionary(); dicEnemies = new Dictionary(); dicBullets = new Dictionary(); GInput.doc.stage.focus = GInput.doc.stage; player = new Player(this, 0, 0); AddTransition(new TrNewLevel(this, 0, 0, false)); } private function DrawObject3D(_arg1:Object3D, _arg2:int):void{ var _local3:Number; var _local4:Number; var _local5:Number; if (_arg1._mc == null){ return; }; _local3 = ((_arg1._z - _arg2) / FY); _local3 = ((((1 / (_local3 + 1)) - MINY) / (1 - MINY)) * 128); if ((((_local3 < 0)) || ((_local3 > 127)))){ if (_arg1._mc.parent != null){ _arg1._mc.parent.removeChild(_arg1._mc); }; return; } else { _arg1._mc.y = _local3; _arg1._mc.getChildAt(1).y = -(_arg1._y); docPerspective[Math.floor(_local3)].addChild(_arg1._mc); _local5 = (_arg1._x - player._x); if (sublevel == 4){ _local5 = _arg1._x; }; if (_local5 < 0){ _local4 = (_local5 + (TW * 8)); } else { _local4 = (_local5 - (TW * 8)); }; if (Math.abs(_local5) > Math.abs(_local4)){ _local5 = _local4; }; _arg1._mc.x = ((WIDTH / 2) + ((_local5 / TW) * (64 + _local3))); _arg1._mc.scaleX = (0.25 + ((_local3 / 128) * 0.75)); _arg1._mc.scaleY = (0.25 + ((_local3 / 128) * 0.75)); }; } public function AddEffect(_arg1:String):void{ var _local2:MovieClip; _local2 = new mcEffect(); _local2.ef.txt.text = _arg1; docEffect.addChild(_local2); } public function RemoveTransition(_arg1:Transition):void{ docTrans.removeChild(_arg1._mc); trans = null; } public function ResetLevel(_arg1:int, _arg2:int, _arg3:Boolean):void{ var _local4:int; var _local5:Object; level = _arg1; sublevel = _arg2; mBG0.gotoAndStop((1 + _arg1)); (docBG1.getChildAt(0) as MovieClip).gotoAndStop((1 + _arg1)); (docBG1.getChildAt(1) as MovieClip).gotoAndStop((1 + _arg1)); lastLoadedZ = 0; timeLeft = GData.startTime[level][sublevel]; for (_local5 in dicBosses) { RemoveBoss((_local5 as Baddy)); }; for (_local5 in dicEnemies) { RemoveBaddy((_local5 as Baddy)); }; for (_local5 in dicBullets) { RemoveBullet((_local5 as Bullet)); }; if (tut){ RemoveTut(tut); }; _local4 = (docEffect.numChildren - 1); while (_local4 >= 0) { docEffect.removeChildAt(_local4); _local4--; }; numBullets = 0; player.Reset(_arg3); if (sublevel != 4){ statusBoss.visible = false; GSound.PlayMusic(GSound.LEVEL0); _local4 = 0; while (_local4 < 6) { loadLine(_local4); _local4++; }; } else { statusBoss.visible = true; AddBoss(new Boss(this, _arg1, 0)); GSound.PlayMusic(GSound.BOSS); }; } public function RemoveBaddy(_arg1:Baddy):void{ if (_arg1._mc.parent){ _arg1._mc.parent.removeChild(_arg1._mc); }; _arg1._mc = null; delete dicEnemies[_arg1]; } public function AddBoss(_arg1:Baddy):void{ dicBosses[_arg1] = 1; } public function RemoveBoss(_arg1:Baddy):void{ if (_arg1._mc.parent){ _arg1._mc.parent.removeChild(_arg1._mc); }; _arg1._mc = null; delete dicBosses[_arg1]; } public function AddTransition(_arg1:Transition):void{ trans = _arg1; docTrans.addChild(_arg1._mc); } public function RemoveBullet(_arg1:Bullet):void{ if (_arg1){ if (_arg1._mc){ if (_arg1._mc.parent){ _arg1._mc.parent.removeChild(_arg1._mc); }; _arg1._mc = null; }; delete dicBullets[_arg1]; numBullets--; }; } private function DrawScene():void{ var _local1:int; var _local2:int; var _local3:Number; var _local4:int; var _local5:Number; var _local6:int; var _local7:int; var _local8:Object; var _local9:String; var _local10:int; var _local11:int; var _local12:Color; var _local13:Number; var _local14:Number; ground.graphics.clear(); _local3 = (player._z - 2); _local4 = player._x; if (sublevel == 4){ _local4 = 0; }; _local5 = ((((TH - _local3) % TH) + TH) % TH); _local1 = 1; while (_local1 < 7) { _local13 = ((_local5 + (TH * (_local1 - 1))) / FY); ys[_local1] = ((((1 / (_local13 + 1)) - MINY) / (1 - MINY)) * 128); _local1++; }; _local6 = ((((TW - _local4) % TW) + TW) % TW); _local1 = 0; while (_local1 < 8) { xs[_local1][5] = (((_local6 / TW) * (64 + ys[_local1])) + 0x0100); _local14 = (64 + ys[_local1]); _local2 = 6; while (_local2 < 11) { xs[_local1][_local2] = (xs[_local1][(_local2 - 1)] + _local14); _local2++; }; _local2 = 4; while (_local2 >= 0) { xs[_local1][_local2] = (xs[_local1][(_local2 + 1)] - _local14); _local2--; }; _local1++; }; _local7 = ((((_local4 - 1) >> 5) + (_local3 >> 5)) & 1); ground.graphics.lineStyle(0, 0, 0); _local1 = ((ys[1] > 127.5)) ? 2 : 1; while (_local1 < 8) { _local7 = ((_local7 + 1) & 1); if (sublevel != 4){ //unresolved if } else { _local2 = 1; for (;_local2 < 11;_local2++) { _local7 = ((_local7 + 1) & 1); if ((((xs[_local1][_local2] < 0)) || ((xs[_local1][(_local2 - 1)] > 0x0200)))){ continue; } else { ground.graphics.beginFill(GData.floorColors[level][_local7], 1); ground.graphics.moveTo(xs[(_local1 - 1)][(_local2 - 1)], ys[(_local1 - 1)]); ground.graphics.lineTo(xs[_local1][(_local2 - 1)], ys[_local1]); ground.graphics.lineTo(xs[_local1][_local2], ys[_local1]); ground.graphics.lineTo(xs[(_local1 - 1)][_local2], ys[(_local1 - 1)]); ground.graphics.lineTo(xs[(_local1 - 1)][(_local2 - 1)], ys[(_local1 - 1)]); ground.graphics.endFill(); }; }; }; _local1++; }; for (_local8 in dicBosses) { DrawObject3D((_local8 as Object3D), _local3); }; for (_local8 in dicEnemies) { DrawObject3D((_local8 as Object3D), _local3); }; for (_local8 in dicBullets) { DrawObject3D((_local8 as Object3D), _local3); }; DrawObject3D(player, _local3); if (sublevel != 4){ docBG1.x = -(((player._x / (8 * TW)) * 0x0200)); }; _local9 = ""; _local10 = player._points; _local1 = 0; while (_local1 < 7) { _local9 = ((_local10 % 10) + _local9); _local10 = (_local10 / 10); _local1++; }; statusBar.points.text = _local9; statusBar.stars.text = (((player._stars > 9)) ? "" : "0" + player._stars); statusBar.lives.text = (((player._lives > 9)) ? "" : "0" + player._lives); statusBar.idArmor.gotoAndStop((player._isArmored) ? 2 : 1); statusBar.idShot.gotoAndStop((((player._isShooter) || ((sublevel == 4)))) ? 2 : 1); _local11 = 1; if (player._invincible > 0){ if (player._invincible > 89){ _local11 = 2; } else { _local11 = (2 + (Math.floor((player._invincible / 15)) % 2)); }; }; statusBar.idInvincible.gotoAndStop(_local11); statusBar.idTime.gotoAndStop(((1 + 16) - Math.round(((timeLeft / GData.startTime[level][sublevel]) * 16)))); if (player._invincible > 0){ _local12 = (((Math.floor((player._invincible / 15)) % 2) == 0)) ? player._inv1CT : player._inv2CT; } else { if (player._isArmored){ _local12 = player._armorCT; } else { _local12 = player._voidCT; }; }; (player._mc.getChildAt(1) as MovieClip).transform.colorTransform = _local12; } public function AddTut(_arg1:Tut):void{ if (tut){ RemoveTut(tut); }; tut = _arg1; docTut.addChild(_arg1._mc); } public function RemoveTut(_arg1:Tut):void{ docTut.removeChild(_arg1._mc); tut = null; } public function AddBaddy(_arg1:Baddy):void{ dicEnemies[_arg1] = 1; } public function AddBullet(_arg1:Bullet):void{ dicBullets[_arg1] = 1; numBullets++; } override public function Update():void{ super.Update(); if (tut){ tut.Update(); }; if (trans != null){ trans.Update(); if (trans._done){ RemoveTransition(trans); }; }; if (trans == null){ if (((GInput.keyDown[GInput.pbut]) && (!(GInput.processed[GInput.pbut])))){ GInput.processed[GInput.pbut] = true; AddTransition(new TrPause(this)); }; }; if ((((trans == null)) || (trans._updateMain))){ UpdateLogic(); DrawScene(); }; } private function UpdateLogic():void{ var _local1:Object; var _local2:Object; var _local3:int; var _local4:int; var _local5:Number; var _local6:Boolean; if (sublevel != 4){ _local5 = ((player._z - 2) + (6 * TH)); if (lastLoadedZ < _local5){ if (Math.floor((lastLoadedZ / TH)) < Math.floor((_local5 / TH))){ loadLine(Math.floor((_local5 / TH))); }; lastLoadedZ = _local5; }; }; if (player.Update()){ if (trans != null){ RemoveTransition(trans); }; if (player._lives <= 0){ AddTransition(new TrGameOver(this)); } else { player._lives--; AddTransition(new TrNewLevel(this, level, sublevel, false)); }; }; while (player._x < 0) { player._x = (player._x + (TW * 8)); }; while (player._x > (TW * 8)) { player._x = (player._x - (TW * 8)); }; if (sublevel == 4){ if ((((player._x < 128)) && ((player._x > 40)))){ player._x = 40; } else { if ((((player._x >= 128)) && ((player._x < 216)))){ player._x = 216; }; }; if (player._y < 0){ player._y = 0; } else { if (player._y > 232){ player._y = 232; }; }; }; _local3 = 0; _local4 = 0; for (_local1 in dicBosses) { (_local1 as Baddy).Update(); if ((_local1 as Boss)._pos == 0){ _local4 = (_local4 + (_local1 as Boss)._health); }; _local3++; while ((_local1 as Baddy)._x < 0) { (_local1 as Baddy)._x = ((_local1 as Baddy)._x + (TW * 8)); }; while ((_local1 as Baddy)._x > (TW * 8)) { (_local1 as Baddy)._x = ((_local1 as Baddy)._x - (TW * 8)); }; if (((((_local1 as Baddy)._z < (player._z - 17))) || (((_local1 as Baddy)._state == Object3D.STATE_DISPOSE)))){ RemoveBoss((_local1 as Baddy)); }; }; if ((((_local3 == 0)) && ((sublevel == 4)))){ AddTransition(new TrStageClear(this, level, sublevel, false)); }; statusBoss.b.gotoAndStop((1 + _local4)); for (_local1 in dicEnemies) { (_local1 as Baddy).Update(); while ((_local1 as Baddy)._x < 0) { (_local1 as Baddy)._x = ((_local1 as Baddy)._x + (TW * 8)); }; while ((_local1 as Baddy)._x > (TW * 8)) { (_local1 as Baddy)._x = ((_local1 as Baddy)._x - (TW * 8)); }; if (((((_local1 as Baddy)._z < (player._z - 17))) || (((_local1 as Baddy)._state == Object3D.STATE_DISPOSE)))){ RemoveBaddy((_local1 as Baddy)); }; }; for (_local1 in dicBullets) { (_local1 as Bullet).Update(); while ((_local1 as Bullet)._x < 0) { (_local1 as Bullet)._x = ((_local1 as Bullet)._x + (TW * 8)); }; while ((_local1 as Bullet)._x > (TW * 8)) { (_local1 as Bullet)._x = ((_local1 as Bullet)._x - (TW * 8)); }; if (((((_local1 as Bullet)._z > ((player._z + (6 * 32)) + 16))) || (((_local1 as Bullet)._state == Object3D.STATE_DISPOSE)))){ RemoveBullet((_local1 as Bullet)); }; }; for (_local1 in dicBosses) { if ((_local1 as Baddy).Collides(player)){ if (((!(((_local1 as Baddy)._state == Baddy.STATE_DYING))) && (!(((_local1 as Baddy)._state == Object3D.STATE_DISPOSE))))){ player.TakeThis((_local1 as Baddy)); }; }; }; for (_local1 in dicEnemies) { if ((_local1 as Baddy).Collides(player)){ if (((!(((_local1 as Baddy)._state == Baddy.STATE_DYING))) && (!(((_local1 as Baddy)._state == Object3D.STATE_DISPOSE))))){ player.TakeThis((_local1 as Baddy)); }; }; }; for (_local1 in dicBullets) { for (_local2 in dicBosses) { if ((_local1 as Bullet).Collides((_local2 as Baddy))){ if (((((!(((_local2 as Baddy)._state == Baddy.STATE_DYING))) && (!(((_local2 as Baddy)._state == Object3D.STATE_DISPOSE))))) && (!((_local2 is Item))))){ RemoveBullet((_local1 as Bullet)); if (!(_local2 is Tree)){ (_local2 as Baddy).getHit(); }; }; }; }; }; for (_local1 in dicBullets) { for (_local2 in dicEnemies) { if ((_local1 as Bullet).Collides((_local2 as Baddy))){ if (((((!(((_local2 as Baddy)._state == Baddy.STATE_DYING))) && (!(((_local2 as Baddy)._state == Object3D.STATE_DISPOSE))))) && (!((_local2 is Item))))){ RemoveBullet((_local1 as Bullet)); if (!(_local2 is Tree)){ (_local2 as Baddy).getHit(); }; }; }; }; }; if ((((sublevel < 4)) && ((Math.floor((player._z / TH)) >= (GData.lvl[level][sublevel].length / 9))))){ if (sublevel == 3){ if (trans != null){ RemoveTransition(trans); }; AddTransition(new TrNewLevel(this, level, (sublevel + 1), false)); } else { if (trans != null){ RemoveTransition(trans); }; AddTransition(new TrNewLevel(this, level, (sublevel + 1), true)); _local6 = ((Math.floor((player._z / TH)) % 2) == 1); player._z = -(((6 * TH) - (player._z % TH))); if (_local6){ player._z = (player._z - TH); }; }; }; } private function loadLine(_arg1:int):void{ var _local2:int; var _local3:int; var _local4:Number; var _local5:Number; _local3 = 0; while (_local3 < 8) { _local2 = GData.lvl[level][sublevel].charCodeAt(((_arg1 * 9) + _local3)); if (_local2 != 32){ _local4 = (TW * _local3); _local5 = (TH * _arg1); switch (_local2){ case 60: AddTut(new Tut(this, _local5, 1)); break; case 62: AddTut(new Tut(this, _local5, 2)); break; case 42: AddTut(new Tut(this, _local5, 3)); break; case 64: AddTut(new Tut(this, _local5, 4)); break; case 33: AddTut(new Tut(this, _local5, 5)); break; case 35: AddTut(new Tut(this, _local5, 6)); break; case 40: AddTut(new Tut(this, _local5, 7)); break; case 41: AddTut(new Tut(this, _local5, 8)); break; case 124: AddTut(new Tut(this, _local5, 9)); break; case 36: AddTut(new Tut(this, _local5, 10)); break; case 103: AddBaddy(new EnemyGround(this, _local4, _local5, 0, false)); break; case 113: AddBaddy(new EnemyGround(this, _local4, _local5, 1, false)); break; case 98: AddBaddy(new EnemyGround(this, _local4, _local5, 0, true)); break; case 112: AddBaddy(new EnemyGround(this, _local4, _local5, 1, true)); break; case 71: AddBaddy(new EnemyGround2(this, _local4, _local5, 0, false)); break; case 81: AddBaddy(new EnemyGround2(this, _local4, _local5, 1, false)); break; case 66: AddBaddy(new EnemyGround2(this, _local4, _local5, 0, true)); break; case 80: AddBaddy(new EnemyGround2(this, _local4, _local5, 1, true)); break; case 70: AddBaddy(new EnemyFlyer(this, _local4, _local5, 1)); break; case 102: AddBaddy(new EnemyFlyer(this, _local4, _local5, 0)); break; case 83: AddBaddy(new EnemyStop(this, _local4, _local5, 1)); break; case 115: AddBaddy(new EnemyStop(this, _local4, _local5, 0)); break; case 120: AddBaddy(new EnemyStop(this, _local4, _local5, 2)); break; case 110: AddBaddy(new EnemyUnstompable(this, _local4, _local5)); break; case 106: AddBaddy(new EnemyJumper(this, _local4, _local5, 0)); break; case 74: AddBaddy(new EnemyJumper(this, _local4, _local5, 1)); break; case 87: AddBaddy(new EnemyApproacher(this, _local4, 128, _local5)); break; case 119: AddBaddy(new EnemyApproacher(this, _local4, 64, _local5)); break; case 109: AddBaddy(new EnemyApproacher(this, _local4, 0, _local5)); break; case 86: AddBaddy(new EnemyGhost(this, _local4, _local5, 1)); break; case 118: AddBaddy(new EnemyGhost(this, _local4, _local5, 0)); break; case 90: AddBaddy(new EnemyXYZ(this, _local4, _local5, 1)); break; case 122: AddBaddy(new EnemyXYZ(this, _local4, _local5, 0)); break; case 65: AddBaddy(new Tree(this, _local4, _local5, true, true, Item.ARMOR)); break; case 97: AddBaddy(new Tree(this, _local4, _local5, true, false, Item.ARMOR)); break; case 85: AddBaddy(new Tree(this, _local4, _local5, true, true, Item.LIFE)); break; case 117: AddBaddy(new Tree(this, _local4, _local5, true, false, Item.LIFE)); break; case 69: AddBaddy(new Tree(this, _local4, _local5, true, true, Item.SHOT)); break; case 101: AddBaddy(new Tree(this, _local4, _local5, true, false, Item.SHOT)); break; case 89: AddBaddy(new Tree(this, _local4, _local5, true, true, Item.DEATH)); break; case 121: AddBaddy(new Tree(this, _local4, _local5, true, false, Item.DEATH)); break; case 73: AddBaddy(new Tree(this, _local4, _local5, true, true, Item.INVINCIBILITY)); break; case 105: AddBaddy(new Tree(this, _local4, _local5, true, false, Item.INVINCIBILITY)); break; case 68: AddBaddy(new Tree(this, _local4, _local5, true, true, 0)); break; case 100: AddBaddy(new Tree(this, _local4, _local5, true, false, 0)); break; case 48: case 49: case 50: case 51: case 52: AddBaddy(new Tree(this, (_local4 + (((_local2 - 48) * TW) / 5)), _local5, false, true, 0)); break; case 53: case 54: case 55: case 56: case 57: AddBaddy(new Tree(this, (_local4 + (((_local2 - 53) * TW) / 5)), _local5, false, false, 0)); break; case 94: AddBaddy(new Item(this, _local4, 200, _local5, Item.STAR)); break; case 45: AddBaddy(new Item(this, _local4, 100, _local5, Item.STAR)); break; case 95: AddBaddy(new Item(this, _local4, 0, _local5, Item.STAR)); break; default: break; }; }; _local3++; }; } } }//package
Section 98
//StateMC (StateMC) package { import flash.display.*; public class StateMC extends State { public function StateMC(_arg1:MovieClip){ _mc.addChild(_arg1); } } }//package
Section 99
//StateMenu (StateMenu) package { import flash.display.*; public class StateMenu extends StateMC { private var xs:Array; private var docBG1:Sprite; private var ground:Shape; var px:int; private var ys:Array; public static var TW:int = 32; public static var TH:int = 32; private static var MINY:Number = (1 / (((6 * TH) / FY) + 1)); private static var FY:Number = 24; public function StateMenu(){ var _local1:MovieClip; var _local2:int; super(new mcMenu()); px = 0; ground = new Shape(); _mc.addChildAt(ground, 0); docBG1 = new Sprite(); _local1 = new mcMenuBG(); docBG1.addChild(_local1); _local1.x = 0; _local1.y = 0; _mc.addChildAt(docBG1, 0); ground.x = 0; ground.y = 240; ys = new Array(8); xs = new Array(8); _local2 = 0; while (_local2 < 8) { xs[_local2] = new Array(11); _local2++; }; ys[0] = 208; ys[7] = 0; GSound.PlayMusic(GSound.MENU); } override public function Update():void{ var _local1:int; var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:Array; var _local7:int; var _local8:Number; var _local9:Number; super.Update(); px = ((px + 1) % 3200); ground.graphics.clear(); _local3 = 57; _local4 = ((((TH - _local3) % TH) + TH) % TH); _local1 = 1; while (_local1 < 7) { _local8 = ((_local4 + (TH * (_local1 - 1))) / FY); ys[_local1] = ((((1 / (_local8 + 1)) - MINY) / (1 - MINY)) * 128); _local1++; }; _local5 = ((((TW - px) % TW) + TW) % TW); _local1 = 0; while (_local1 < 8) { xs[_local1][5] = (((_local5 / TW) * (64 + ys[_local1])) + 0x0100); _local9 = (64 + ys[_local1]); _local2 = 6; while (_local2 < 11) { xs[_local1][_local2] = (xs[_local1][(_local2 - 1)] + _local9); _local2++; }; _local2 = 4; while (_local2 >= 0) { xs[_local1][_local2] = (xs[_local1][(_local2 + 1)] - _local9); _local2--; }; _local1++; }; _local6 = new Array(0x999999, 0x444444); _local7 = ((((px - 1) >> 5) + (1 >> 5)) & 1); ground.graphics.lineStyle(0, 0, 0); _local1 = ((ys[1] > 127.5)) ? 2 : 1; while (_local1 < 8) { _local7 = ((_local7 + 1) & 1); _local2 = 1; for (;_local2 < 11;_local2++) { _local7 = ((_local7 + 1) & 1); if ((((xs[_local1][_local2] < 0)) || ((xs[_local1][(_local2 - 1)] > 0x0200)))){ continue; } else { ground.graphics.beginFill(_local6[_local7], 1); ground.graphics.moveTo(xs[(_local1 - 1)][(_local2 - 1)], ys[(_local1 - 1)]); ground.graphics.lineTo(xs[_local1][(_local2 - 1)], ys[_local1]); ground.graphics.lineTo(xs[_local1][_local2], ys[_local1]); ground.graphics.lineTo(xs[(_local1 - 1)][_local2], ys[(_local1 - 1)]); ground.graphics.lineTo(xs[(_local1 - 1)][(_local2 - 1)], ys[(_local1 - 1)]); ground.graphics.endFill(); }; }; _local1++; }; docBG1.x = (docBG1.x - 2); while (docBG1.x <= -180) { docBG1.x = (docBG1.x + 180); }; } } }//package
Section 100
//Story (Story) package { import flash.display.*; import flash.events.*; import flash.media.*; import flash.geom.*; import flash.utils.*; import flash.text.*; import flash.ui.*; import flash.filters.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.net.*; import flash.printing.*; import flash.system.*; import flash.xml.*; public dynamic class Story extends MovieClip { public var picture:MovieClip; public var story:Array; public var skipper:mcOzdyBut; public var subtext:TextField; public var maxf:int; public function Story(){ addFrameScript(0, frame1, 1157, frame1158); } public function skipIntro(_arg1:Event):void{ gotoAndPlay(1158); } function frame1(){ GSound.PlayMusic(GSound.MENU); skipper.addEventListener(MouseEvent.CLICK, skipIntro); maxf = 1080; story = ["In a peaceful\ngalaxy far,\nfar away ...", "a spaceship\napproached and\nalien forms ...", "started to\nwreak havoc.\n", "the only chance\nfor survival is\np$l$a$n$e$t$ $r$u$n$n$e$r !"]; addEventListener(Event.ENTER_FRAME, update); } public function writeText(_arg1:int, _arg2:int){ var _local3:int; _local3 = 0; while ((((_local3 < _arg2)) && ((_local3 < story[_arg1].length)))) { if (story[_arg1].charAt(_local3) != "$"){ subtext.appendText(story[_arg1].charAt(_local3)); }; _local3++; }; } function frame1158(){ stop(); GStateManager.ChangeState(new StateMenu()); } public function update(_arg1:Event){ var _local2:int; var _local3:int; _local2 = (maxf / 4); subtext.text = ""; if (currentFrame < _local2){ if (currentFrame >= 30){ writeText(0, ((currentFrame - 30) / 5)); }; picture.gotoAndStop(1); } else { if (currentFrame < (_local2 * 2)){ if (currentFrame >= 301){ writeText(1, ((currentFrame - 301) / 5)); }; picture.gotoAndStop(2); } else { if (currentFrame < (_local2 * 3)){ if (currentFrame >= 571){ writeText(2, ((currentFrame - 571) / 5)); }; picture.gotoAndStop(3); } else { if (currentFrame >= 830){ writeText(3, ((currentFrame - 830) / 5)); }; }; }; }; } } }//package
Section 101
//Symbol21 (Symbol21) package { import flash.display.*; public dynamic class Symbol21 extends MovieClip { } }//package
Section 102
//TimeBar (TimeBar) package { import flash.display.*; public dynamic class TimeBar extends MovieClip { } }//package
Section 103
//Transition (Transition) package { import flash.display.*; public class Transition { public var _done:Boolean; public var _updateMain:Boolean; public var _mc:Sprite; public var _stCnt:int; public var _sm:StateMain; public function Transition(_arg1:StateMain, _arg2:Boolean=false):void{ _mc = new Sprite(); _sm = _arg1; _stCnt = 0; _updateMain = _arg2; _done = false; } public function Update():void{ _stCnt++; } } }//package
Section 104
//trCongrats (trCongrats) package { import flash.display.*; import flash.events.*; import flash.text.*; public dynamic class trCongrats extends MovieClip { public var szFirst:String; public var szSecond:String; public var storyText:TextField; public function trCongrats(){ addFrameScript(0, frame1, 18, frame19, 240, frame241); } function frame1(){ storyText.text = ""; } function frame19(){ addEventListener(Event.ENTER_FRAME, typer); szFirst = "Well Done,\nPlanet Runner!"; szSecond = "The galaxy is\nat peace again!"; } public function typer(_arg1:Event):void{ if ((currentFrame % 2) == 1){ return; }; if (currentFrame == 120){ storyText.text = ""; }; if (currentFrame < 120){ if (((currentFrame - 20) / 2) < szFirst.length){ storyText.appendText(szFirst.charAt(((currentFrame - 20) / 2))); }; } else { if (((currentFrame - 120) / 2) < szSecond.length){ storyText.appendText(szSecond.charAt(((currentFrame - 120) / 2))); }; }; } function frame241(){ stop(); } } }//package
Section 105
//TrCongrats (TrCongrats) package { public class TrCongrats extends Transition { public var trc:trCongrats; public function TrCongrats(_arg1:StateMain){ super(_arg1, false); _mc.addChild((trc = new trCongrats())); GSound.PlayMusic(GSound.MENU); } override public function Update():void{ super.Update(); if (trc.currentFrame == 240){ _sm.RemoveTransition(this); _sm.AddTransition(new TrGameOver(_sm)); }; } } }//package
Section 106
//Tree (Tree) package { import flash.display.*; public class Tree extends Baddy { public var _item:int; public var _big:Boolean; public var _good:Boolean; public static const STATE_IDLE:int = 1; public static const DIE_LENGTH:int = 60; public static const STATE_DYING:int = 2; public function Tree(_arg1:StateMain, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Boolean, _arg6:int){ var _local7:MovieClip; if (((_arg5) && (_arg4))){ _local7 = new mcTreeB(); } else { if (((!(_arg5)) && (_arg4))){ _local7 = new mcTreeS(); } else { if (((_arg5) && (!(_arg4)))){ _local7 = new mcSpikesB(); } else { _local7 = new mcSpikesS(); }; }; }; _big = _arg5; _good = _arg4; _item = _arg6; super(_arg1, _local7, _arg2, 0, _arg3, (StateMain.TW * (20 / 92)), (_arg5) ? 188 : 120, (StateMain.TH * (20 / 184))); ChangeState(STATE_IDLE); } override public function getHit():void{ if (_item != 0){ _sm.AddBaddy(new Item(_sm, _x, (_big) ? 188 : 120, _z, _item)); _item = 0; }; } override public function Update():Boolean{ if (super.Update()){ return (true); }; return (false); } } }//package
Section 107
//trGameOver (trGameOver) package { import flash.display.*; public dynamic class trGameOver extends MovieClip { public function trGameOver(){ addFrameScript(9, frame10); } function frame10(){ stop(); } } }//package
Section 108
//TrGameOver (TrGameOver) package { public class TrGameOver extends Transition { public var _lv:int; public var clip:mcTNL; public var _slv:int; public function TrGameOver(_arg1:StateMain){ var _local2:mcTGObg; super(_arg1, false); _local2 = new mcTGObg(); _mc.addChild(_local2); _local2.score.text = ("" + _sm.player._points); _local2.nPoints = _sm.player._points; } } }//package
Section 109
//TrNewLevel (TrNewLevel) package { import flash.display.*; public class TrNewLevel extends Transition { public var _lv:int; public var clip:mcTNL; public var _slv:int; public static var names:Array = ["VALLEY", "MUSHROOM", "TWILIGHT", "ROCK", "VOLCANO", "DEATH"]; public function TrNewLevel(_arg1:StateMain, _arg2:int, _arg3:int, _arg4:Boolean){ var _local5:MovieClip; var _local6:int; super(_arg1, _arg4); if (!_arg4){ _local5 = new mcTNLbg(); _mc.addChild(_local5); }; clip = new mcTNL(); _mc.addChild(clip); _lv = _arg2; _slv = _arg3; if (clip.tfield != null){ clip.tfield.text = (names[_lv] + " ZONE"); }; if (clip.tfielda != null){ clip.tfielda.text = ("Area " + (_slv + 1)); }; _local6 = ((((_sm.sublevel == 3)) && ((_arg3 == 4)))) ? _sm.player._stars : 0; _sm.ResetLevel(_lv, _slv, _arg4); if (_arg3 == 4){ _sm.player._stars = _local6; }; } override public function Update():void{ super.Update(); _sm.timeLeft = GData.startTime[_lv][_slv]; if (_stCnt < 20){ } else { if (_stCnt < 37){ clip.tfield.x = (clip.tfield.x + 50); if (clip.tfield.x > 47.6){ clip.tfield.x = 47.6; }; clip.tfielda.x = (clip.tfielda.x - 50); if (clip.tfielda.x < 47.6){ clip.tfielda.x = 47.6; }; } else { if (_stCnt == 50){ _updateMain = true; } else { if (_stCnt > 75){ if (_stCnt <= 83){ clip.tfield.x = (clip.tfield.x - 75); clip.tfielda.x = (clip.tfielda.x + 75); } else { _done = true; }; }; }; }; }; } } }//package
Section 110
//TrPause (TrPause) package { public class TrPause extends Transition { public function TrPause(_arg1:StateMain){ super(_arg1, false); _mc.addChild(new mcTP()); } override public function Update():void{ super.Update(); if (((GInput.keyDown[GInput.pbut]) && (!(GInput.processed[GInput.pbut])))){ GInput.processed[GInput.pbut] = true; _done = true; } else { if ((_mc.getChildAt(0) as mcTP).re){ _sm.RemoveTransition(this); _sm.AddTransition(new TrGameOver(_sm)); }; }; } } }//package
Section 111
//TrStageClear (TrStageClear) package { public class TrStageClear extends Transition { public var atemp:Array; public var time:int; public var clip:mcTSC; public var startCount:Boolean; public var stars:int; public var pts:int; public var _lv:int; public var _slv:int; public function TrStageClear(_arg1:StateMain, _arg2:int, _arg3:int, _arg4:Boolean){ var _local5:int; super(_arg1, _arg4); _mc.addChild((clip = new mcTSC())); _lv = _arg2; _slv = _arg3; pts = _sm.player._points; time = (_sm.timeLeft * 10); stars = (_sm.player._stars * 1000); startCount = false; atemp = new Array(6); while (_local5 < 6) { atemp[0] = 0; _local5++; }; GSound.StopMusic(); } override public function Update():void{ var _local1:int; var _local2:int; var _local3:int; super.Update(); _local1 = clip.currentFrame; if (_local1 < 41){ } else { if (_local1 < 69){ if (_local1 == 41){ atemp[0] = clip.timeBonust.x; atemp[1] = clip.timeBonus.x; atemp[2] = clip.starBonust.x; atemp[3] = clip.starBonus.x; atemp[4] = clip.scoret.x; atemp[5] = clip.score.x; clip.timeBonus.text = ("" + time); clip.starBonus.text = ("" + stars); clip.score.text = ("" + pts); }; clip.timeBonust.x = (atemp[0] - Math.min(500, ((_local1 - 41) * 25))); clip.timeBonus.x = (atemp[1] - Math.min(500, ((_local1 - 41) * 25))); clip.starBonust.x = (atemp[2] - Math.min(500, ((_local1 - 44) * 25))); clip.starBonus.x = (atemp[3] - Math.min(500, ((_local1 - 44) * 25))); clip.scoret.x = (atemp[4] - Math.min(500, ((_local1 - 47) * 25))); clip.score.x = (atemp[5] - Math.min(500, ((_local1 - 47) * 25))); } else { if (_local1 == 90){ GSound.PlayMusic(GSound.SCORE); if ((((time == 0)) && ((stars == 0)))){ GSound.StopMusic(); clip.gotoAndPlay(91); } else { _local2 = 0; _local2 = Math.min(stars, 500); stars = (stars - _local2); _local3 = 0; _local3 = Math.min(time, 500); time = (time - _local3); _sm.player._points = (_sm.player._points + (_local3 + _local2)); clip.timeBonus.text = ("" + time); clip.starBonus.text = ("" + stars); clip.score.text = ("" + _sm.player._points); }; } else { if (_local1 == 140){ _sm.RemoveTransition(this); if (_lv < 5){ _sm.AddTransition(new TrNewLevel(_sm, (_lv + 1), 0, false)); } else { _sm.AddTransition(new TrCongrats(_sm)); }; }; }; }; }; } } }//package
Section 112
//trTimeOver (trTimeOver) package { import flash.display.*; public dynamic class trTimeOver extends MovieClip { public function trTimeOver(){ addFrameScript(60, frame61); } function frame61(){ stop(); } } }//package
Section 113
//Tut (Tut) package { import flash.display.*; public class Tut { public var _updateMain:Boolean; public var _stCnt:int; public var _mc:Sprite; public var _startz:int; public var _sm:StateMain; public var _id:int; public function Tut(_arg1:StateMain, _arg2:int, _arg3:int):void{ var _local4:MovieClip; super(); _mc = new Sprite(); _startz = _arg2; _stCnt = 0; _sm = _arg1; _id = _arg3; _local4 = new mcTutso(); _local4.x = (0x0200 / 2); _local4.y = 40; _mc.addChild(_local4); (_mc.getChildAt(0) as MovieClip).gotoAndStop(_id); } public function Update():void{ var _local1:int; var _local2:int; _stCnt++; _local1 = 10; _local2 = ((_stCnt % _local1) * 2); _mc.getChildAt(0).scaleX = (_mc.getChildAt(0).scaleX + ((_local2)<_local1) ? 0.01 : -0.01); _mc.getChildAt(0).scaleY = (_mc.getChildAt(0).scaleY + ((_local2)<_local1) ? 0.01 : -0.01); if ((((_id == 2)) && ((_sm.player._z >= (_startz + StateMain.TH))))){ if (!_sm.player._isShooter){ _sm.player._z = (_sm.player._z - (8 * StateMain.TH)); _sm.lastLoadedZ = (_startz - StateMain.TH); } else { _sm.RemoveTut(this); }; } else { if (((!((_id == 2))) && ((_sm.player._z >= (_startz + (4 * StateMain.TH)))))){ _sm.RemoveTut(this); }; }; } } }//package

Library Items

Symbol 1 GraphicUsed by:3
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip {mcMusicOn}Uses:1 2
Symbol 4 GraphicUsed by:6 159
Symbol 5 GraphicUsed by:6
Symbol 6 Button {mcOzdyBut}Uses:4 5Used by:55 78 95 128 236
Symbol 7 FontUsed by:8 60 129 407
Symbol 8 TextUses:7Used by:55
Symbol 9 FontUsed by:10 56 58 59 60 61 112 126 129 132 133 136 137 139 140 141 142 143 146 148
Symbol 10 EditableTextUses:9Used by:55
Symbol 11 GraphicUsed by:47
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:47
Symbol 14 GraphicUsed by:47
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:15Used by:47
Symbol 17 GraphicUsed by:47
Symbol 18 GraphicUsed by:47
Symbol 19 GraphicUsed by:47
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClip {mcShadow}Uses:20Used by:47 408
Symbol 22 GraphicUsed by:30
Symbol 23 GraphicUsed by:30
Symbol 24 GraphicUsed by:30
Symbol 25 GraphicUsed by:30
Symbol 26 GraphicUsed by:30
Symbol 27 GraphicUsed by:30
Symbol 28 GraphicUsed by:30
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClip {mcEnemyGhost}Uses:22 23 24 25 26 27 28 29Used by:47 408
Symbol 31 GraphicUsed by:33 34
Symbol 32 GraphicUsed by:33 34
Symbol 33 MovieClip {mcEnemyXYZ}Uses:31 32Used by:47 408
Symbol 34 MovieClip {mcEnemyXYZ2}Uses:31 32Used by:47 408
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClip {mcTreeS}Uses:35Used by:47 408
Symbol 37 GraphicUsed by:43 320
Symbol 38 GraphicUsed by:43
Symbol 39 GraphicUsed by:43
Symbol 40 GraphicUsed by:43 320
Symbol 41 GraphicUsed by:43 320
Symbol 42 GraphicUsed by:43 320
Symbol 43 MovieClip {mcEnemyGround2}Uses:37 38 39 40 41 42Used by:47 408
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:47
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClip {planetrunner_fla.intromc_87}Uses:11 13 14 16 17 18 19 21 30 33 34 36 43 45 46Used by:55 131
Symbol 48 GraphicUsed by:55 78 91 109 131
Symbol 49 GraphicUsed by:55 78 91 109 131 198 241 408
Symbol 50 GraphicUsed by:54
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:54 236 314 342
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:50 52 53Used by:55 131
Symbol 55 MovieClip {Story}Uses:6 8 10 47 48 49 54
Symbol 56 TextUses:9Used by:57
Symbol 57 MovieClip {Symbol21}Uses:56Used by:78
Symbol 58 TextUses:9Used by:78
Symbol 59 TextUses:9Used by:78
Symbol 60 EditableTextUses:7 9Used by:78
Symbol 61 TextUses:9Used by:78
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:78 241
Symbol 64 FontUsed by:65 89 92 103 105 107 113 116 117 118 154 170 171 172 173 186 187 221 222 223 224 225 226 227 230 231 232 273 276 277 409
Symbol 65 TextUses:64Used by:71
Symbol 66 BitmapUsed by:67 188 193
Symbol 67 GraphicUses:66Used by:68
Symbol 68 ButtonUses:67Used by:69
Symbol 69 Button {GamePrisonButton}Uses:68Used by:71 128 177
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClip {planetrunner_fla.mctDown_72}Uses:65 69 70Used by:78 241
Symbol 72 GraphicUsed by:73 77
Symbol 73 MovieClipUses:72Used by:78 241
Symbol 74 FontUsed by:75 76 100 101 104 106 108 238 239 242 243 244 246 247 248
Symbol 75 TextUses:74Used by:78 160 240
Symbol 76 TextUses:74Used by:78 160
Symbol 77 MovieClipUses:72Used by:78
Symbol 78 MovieClip {mcTGObg}Uses:49 57 6 58 59 60 61 63 71 73 75 76 77 48
Symbol 79 GraphicUsed by:84
Symbol 80 GraphicUsed by:84
Symbol 81 GraphicUsed by:84
Symbol 82 GraphicUsed by:84
Symbol 83 SoundUsed by:84
Symbol 84 MovieClip {planetrunner_fla.glava_99}Uses:79 80 81 82 83Used by:88
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:88
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClip {planetrunner_fla.logo_97}Uses:84 86 87Used by:91
Symbol 89 TextUses:64Used by:91
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClip {planetrunner_fla.mcOzdyNorm_96}Uses:88 89 90 49 48Used by:95
Symbol 92 TextUses:64Used by:95
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:95
Symbol 95 MovieClip {mcOzdy}Uses:6 91 92 94
Symbol 96 BitmapUsed by:97
Symbol 97 GraphicUses:96Used by:99
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClip {mcMenuBG}Uses:97 98
Symbol 100 TextUses:74Used by:102
Symbol 101 TextUses:74Used by:102
Symbol 102 MovieClipUses:100 101Used by:109
Symbol 103 EditableTextUses:64 110Used by:109
Symbol 104 EditableTextUses:74 245Used by:109
Symbol 105 EditableTextUses:64 110Used by:109
Symbol 106 EditableTextUses:74 245Used by:109
Symbol 107 EditableTextUses:64 110Used by:109
Symbol 108 EditableTextUses:74 245Used by:109
Symbol 109 MovieClip {mcTSC}Uses:49 48 102 103 104 105 106 107 108
Symbol 110 FontUsed by:103 105 107 111 114 115 119 123 144 145 186 202 203 212 213 214 215 216 217 218 219 220 272 273 276 277 279
Symbol 111 TextUses:110Used by:128
Symbol 112 TextUses:9Used by:128
Symbol 113 TextUses:64Used by:128
Symbol 114 TextUses:110Used by:128
Symbol 115 TextUses:110Used by:128 236
Symbol 116 TextUses:64Used by:128 236
Symbol 117 TextUses:64Used by:128 236
Symbol 118 TextUses:64Used by:128
Symbol 119 TextUses:110Used by:128 236
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:120Used by:122
Symbol 122 MovieClipUses:121Used by:128 147 236
Symbol 123 TextUses:110Used by:128 236
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:128 147 236
Symbol 126 TextUses:9Used by:128
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClip {mcTP}Uses:69 111 112 6 113 114 115 116 117 118 119 122 123 125 126 127
Symbol 129 EditableTextUses:7 9Used by:131
Symbol 130 TextUsed by:131
Symbol 131 MovieClip {trCongrats}Uses:49 54 129 130 48 47
Symbol 132 TextUses:9Used by:147
Symbol 133 TextUses:9Used by:147
Symbol 134 FontUsed by:135 138
Symbol 135 TextUses:134Used by:147
Symbol 136 TextUses:9Used by:147
Symbol 137 TextUses:9Used by:147
Symbol 138 TextUses:134Used by:147
Symbol 139 TextUses:9Used by:147
Symbol 140 TextUses:9Used by:147
Symbol 141 TextUses:9Used by:147
Symbol 142 TextUses:9Used by:147
Symbol 143 TextUses:9Used by:147
Symbol 144 TextUses:110Used by:147 236
Symbol 145 TextUses:110Used by:147 236
Symbol 146 TextUses:9Used by:147
Symbol 147 MovieClip {mcTutso}Uses:132 125 122 133 135 136 137 138 139 140 141 142 143 144 145 146Used by:149
Symbol 148 TextUses:9Used by:149
Symbol 149 MovieClip {mcTut}Uses:147 148
Symbol 150 FontUsed by:151
Symbol 151 EditableTextUses:150Used by:152
Symbol 152 MovieClip {planetrunner_fla.eff_82}Uses:151Used by:153
Symbol 153 MovieClip {mcEffect}Uses:152
Symbol 154 TextUses:64Used by:157
Symbol 155 GraphicUsed by:156
Symbol 156 MovieClipUses:155Used by:157
Symbol 157 MovieClip {planetrunner_fla.bb_79}Uses:154 156Used by:158
Symbol 158 MovieClip {mcStatusBoss}Uses:157
Symbol 159 MovieClip {drusa}Uses:4
Symbol 160 MovieClip {trGameOver}Uses:75 76Used by:408
Symbol 161 GraphicUsed by:163
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClip {mcIndicatorArmor}Uses:161 162Used by:304
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClip {huhu}Uses:164Used by:198
Symbol 166 GraphicUsed by:167 169
Symbol 167 MovieClipUses:166Used by:169
Symbol 168 Sound {auTake}Used by:169 408
Symbol 169 ButtonUses:167 166 168Used by:177 236
Symbol 170 TextUses:64Used by:177
Symbol 171 TextUses:64Used by:177
Symbol 172 TextUses:64Used by:177
Symbol 173 TextUses:64Used by:177
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:177 236
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClip {planetrunner_fla.mcMenuNavig_12}Uses:169 69 170 171 172 173 175 176Used by:185
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClipUses:178Used by:182
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClipUses:180Used by:182
Symbol 182 MovieClipUses:179 181Used by:184
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:182 183Used by:185  Timeline
Symbol 185 MovieClip {mcMenuMiddle}Uses:177 184Used by:236
Symbol 186 EditableTextUses:64 110Used by:Timeline
Symbol 187 TextUses:64Used by:Timeline
Symbol 188 GraphicUses:66Used by:189
Symbol 189 MovieClipUses:188Used by:198
Symbol 190 GraphicUsed by:198
Symbol 191 SoundUsed by:198
Symbol 192 ShapeTweeningUsed by:198
Symbol 193 GraphicUses:66Used by:194
Symbol 194 MovieClipUses:193Used by:198
Symbol 195 SoundUsed by:198
Symbol 196 GraphicUsed by:198
Symbol 197 ShapeTweeningUsed by:198
Symbol 198 MovieClip {GamePrisonIntro}Uses:165 189 190 191 192 194 195 196 197 49Used by:199 408
Symbol 199 MovieClip {GamePrisonWrap}Uses:198Used by:408
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClipUses:200Used by:236 314
Symbol 202 TextUses:110Used by:236
Symbol 203 TextUses:110Used by:236
Symbol 204 GraphicUsed by:205
Symbol 205 MovieClipUses:204Used by:236
Symbol 206 GraphicUsed by:207
Symbol 207 MovieClipUses:206Used by:236
Symbol 208 GraphicUsed by:209
Symbol 209 MovieClipUses:208Used by:236
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClipUses:210Used by:236
Symbol 212 TextUses:110Used by:236
Symbol 213 TextUses:110Used by:236
Symbol 214 TextUses:110Used by:236
Symbol 215 TextUses:110Used by:236
Symbol 216 TextUses:110Used by:236
Symbol 217 TextUses:110Used by:236
Symbol 218 TextUses:110Used by:236
Symbol 219 TextUses:110Used by:236
Symbol 220 TextUses:110Used by:236
Symbol 221 TextUses:64Used by:236
Symbol 222 TextUses:64Used by:236
Symbol 223 TextUses:64Used by:236
Symbol 224 TextUses:64Used by:236
Symbol 225 TextUses:64Used by:236
Symbol 226 TextUses:64Used by:236
Symbol 227 TextUses:64Used by:236
Symbol 228 GraphicUsed by:229
Symbol 229 MovieClipUses:228Used by:236
Symbol 230 TextUses:64Used by:236
Symbol 231 TextUses:64Used by:236
Symbol 232 TextUses:64Used by:236
Symbol 233 GraphicUsed by:234
Symbol 234 MovieClipUses:233Used by:236
Symbol 235 GraphicUsed by:236
Symbol 236 MovieClip {planetrunner_fla.mcMenuWhole_7}Uses:144 145 201 202 115 203 205 207 209 211 116 212 213 214 215 216 217 218 219 220 169 221 222 223 224 225 226 52 227 117 229 230 231 122 119 123 125 232 185 175 6 234 235Used by:237
Symbol 237 MovieClip {mcMenu}Uses:236Used by:408
Symbol 238 TextUses:74Used by:240
Symbol 239 TextUses:74Used by:240
Symbol 240 MovieClip {trTimeOver}Uses:75 238 239Used by:408
Symbol 241 MovieClip {mcTNLbg}Uses:73 49 71 63Used by:408
Symbol 242 EditableTextUses:74 245Used by:249
Symbol 243 EditableTextUses:74 245Used by:249
Symbol 244 EditableTextUses:74 245Used by:249
Symbol 245 FontUsed by:104 106 108 242 243 244 246 247 248 278
Symbol 246 EditableTextUses:74 245Used by:249
Symbol 247 EditableTextUses:74 245Used by:249
Symbol 248 EditableTextUses:74 245Used by:249
Symbol 249 MovieClip {mcTNL}Uses:242 243 244 246 247 248Used by:408
Symbol 250 GraphicUsed by:252
Symbol 251 GraphicUsed by:252
Symbol 252 MovieClip {mcEnemyJumper}Uses:250 251Used by:408
Symbol 253 GraphicUsed by:254
Symbol 254 MovieClip {mcEnemyStop}Uses:253Used by:408
Symbol 255 GraphicUsed by:257
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClip {mcEnemyUnstompable}Uses:255 256Used by:408
Symbol 258 GraphicUsed by:260 305
Symbol 259 GraphicUsed by:260 305
Symbol 260 MovieClip {mcSpikesS}Uses:258 259Used by:408
Symbol 261 GraphicUsed by:262
Symbol 262 MovieClip {mcBullet}Uses:261Used by:408
Symbol 263 GraphicUsed by:264
Symbol 264 MovieClip {mcTreeB}Uses:263Used by:408
Symbol 265 GraphicUsed by:268
Symbol 266 GraphicUsed by:268
Symbol 267 GraphicUsed by:268
Symbol 268 MovieClip {mcIndicatorInvisibility}Uses:265 266 267Used by:304
Symbol 269 GraphicUsed by:271
Symbol 270 GraphicUsed by:271
Symbol 271 MovieClip {mcIndicatorShot}Uses:269 270Used by:304
Symbol 272 TextUses:110Used by:304
Symbol 273 EditableTextUses:64 110Used by:304
Symbol 274 GraphicUsed by:275
Symbol 275 MovieClipUses:274Used by:304
Symbol 276 EditableTextUses:64 110Used by:304
Symbol 277 EditableTextUses:64 110Used by:304
Symbol 278 TextUses:245Used by:304
Symbol 279 TextUses:110Used by:304
Symbol 280 GraphicUsed by:304
Symbol 281 GraphicUsed by:283
Symbol 282 GraphicUsed by:283
Symbol 283 MovieClip {planetrunner_fla.ToggleMusic_53}Uses:281 282Used by:304
Symbol 284 GraphicUsed by:301
Symbol 285 GraphicUsed by:301
Symbol 286 GraphicUsed by:301
Symbol 287 GraphicUsed by:301
Symbol 288 GraphicUsed by:301
Symbol 289 GraphicUsed by:301
Symbol 290 GraphicUsed by:301
Symbol 291 GraphicUsed by:301
Symbol 292 GraphicUsed by:301
Symbol 293 GraphicUsed by:301
Symbol 294 GraphicUsed by:301
Symbol 295 GraphicUsed by:301
Symbol 296 GraphicUsed by:301
Symbol 297 GraphicUsed by:301
Symbol 298 GraphicUsed by:301
Symbol 299 GraphicUsed by:301
Symbol 300 GraphicUsed by:301
Symbol 301 MovieClip {TimeBar}Uses:284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300Used by:304
Symbol 302 GraphicUsed by:304
Symbol 303 GraphicUsed by:304
Symbol 304 MovieClip {mcStatusBar}Uses:268 271 163 272 273 275 276 277 278 279 280 283 301 302 303Used by:408
Symbol 305 MovieClip {mcSpikesB}Uses:258 259Used by:408
Symbol 306 GraphicUsed by:307
Symbol 307 MovieClipUses:306Used by:314
Symbol 308 GraphicUsed by:309
Symbol 309 MovieClipUses:308Used by:314
Symbol 310 GraphicUsed by:311
Symbol 311 MovieClipUses:310Used by:314
Symbol 312 GraphicUsed by:313
Symbol 313 MovieClipUses:312Used by:314
Symbol 314 MovieClip {mcItem}Uses:307 201 309 52 311 313Used by:408
Symbol 315 GraphicUsed by:316
Symbol 316 MovieClipUses:315Used by:317
Symbol 317 MovieClip {mcExplosion}Uses:316Used by:408
Symbol 318 GraphicUsed by:320
Symbol 319 GraphicUsed by:320
Symbol 320 MovieClip {mcEnemyGround}Uses:37 318 319 40 41 42Used by:408
Symbol 321 GraphicUsed by:342
Symbol 322 GraphicUsed by:342
Symbol 323 GraphicUsed by:342
Symbol 324 GraphicUsed by:342
Symbol 325 GraphicUsed by:342
Symbol 326 GraphicUsed by:342
Symbol 327 GraphicUsed by:342
Symbol 328 GraphicUsed by:342
Symbol 329 GraphicUsed by:342
Symbol 330 GraphicUsed by:342
Symbol 331 GraphicUsed by:342
Symbol 332 GraphicUsed by:342
Symbol 333 GraphicUsed by:342
Symbol 334 GraphicUsed by:342
Symbol 335 GraphicUsed by:342
Symbol 336 GraphicUsed by:342
Symbol 337 GraphicUsed by:342
Symbol 338 GraphicUsed by:342
Symbol 339 GraphicUsed by:340
Symbol 340 MovieClipUses:339Used by:341
Symbol 341 MovieClip {PlayerDieFragAn}Uses:340Used by:342
Symbol 342 MovieClip {mcPlayer}Uses:52 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 341Used by:408
Symbol 343 GraphicUsed by:347
Symbol 344 GraphicUsed by:347
Symbol 345 GraphicUsed by:347
Symbol 346 GraphicUsed by:347
Symbol 347 MovieClip {mcEnemyFlyer2}Uses:343 344 345 346Used by:408
Symbol 348 GraphicUsed by:352
Symbol 349 GraphicUsed by:352
Symbol 350 GraphicUsed by:352
Symbol 351 GraphicUsed by:352
Symbol 352 MovieClip {mcEnemyFlyer}Uses:348 349 350 351Used by:408
Symbol 353 GraphicUsed by:354
Symbol 354 MovieClip {mcEnemyApproacher}Uses:353Used by:408
Symbol 355 GraphicUsed by:383
Symbol 356 GraphicUsed by:383
Symbol 357 GraphicUsed by:383
Symbol 358 GraphicUsed by:383
Symbol 359 GraphicUsed by:383
Symbol 360 GraphicUsed by:383
Symbol 361 GraphicUsed by:383
Symbol 362 GraphicUsed by:383
Symbol 363 GraphicUsed by:383
Symbol 364 GraphicUsed by:383
Symbol 365 GraphicUsed by:383
Symbol 366 GraphicUsed by:383
Symbol 367 GraphicUsed by:383
Symbol 368 GraphicUsed by:383
Symbol 369 GraphicUsed by:383
Symbol 370 GraphicUsed by:383
Symbol 371 GraphicUsed by:383
Symbol 372 GraphicUsed by:383
Symbol 373 GraphicUsed by:383
Symbol 374 GraphicUsed by:383
Symbol 375 GraphicUsed by:383
Symbol 376 GraphicUsed by:383
Symbol 377 GraphicUsed by:383
Symbol 378 GraphicUsed by:383
Symbol 379 GraphicUsed by:383
Symbol 380 GraphicUsed by:383
Symbol 381 GraphicUsed by:383
Symbol 382 GraphicUsed by:383
Symbol 383 MovieClip {mcBoss}Uses:355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382Used by:408
Symbol 384 GraphicUsed by:390
Symbol 385 GraphicUsed by:390
Symbol 386 GraphicUsed by:390
Symbol 387 GraphicUsed by:390
Symbol 388 GraphicUsed by:390
Symbol 389 GraphicUsed by:390
Symbol 390 MovieClip {mcBG1}Uses:384 385 386 387 388 389Used by:408
Symbol 391 GraphicUsed by:396
Symbol 392 GraphicUsed by:396
Symbol 393 GraphicUsed by:396
Symbol 394 GraphicUsed by:396
Symbol 395 GraphicUsed by:396
Symbol 396 MovieClip {mcBG0}Uses:391 392 393 394 395Used by:408
Symbol 397 GraphicUsed by:408
Symbol 398 Sound {auMenu}Used by:408
Symbol 399 Sound {auLevel0}Used by:408
Symbol 400 Sound {auBoss}Used by:408
Symbol 401 Sound {auBump}Used by:408
Symbol 402 Sound {auDestroyed}Used by:408
Symbol 403 Sound {auDie}Used by:408
Symbol 404 Sound {auJump}Used by:408
Symbol 405 Sound {auShot}Used by:408
Symbol 406 Sound {auFall}Used by:408
Symbol 407 TextUses:7Used by:408
Symbol 408 MovieClip {Container}Uses:49 199 237 198 160 240 241 249 34 33 252 254 257 43 260 262 21 36 264 304 305 314 317 320 342 30 347 352 354 383 390 396 397 398 399 400 168 401 402 403 404 405 406 407Used by:Timeline
Symbol 409 TextUses:64Used by:Timeline

Instance Names

"perc"Frame 1Symbol 186 EditableText
"skipper"Symbol 55 MovieClip {Story} Frame 1Symbol 6 Button {mcOzdyBut}
"subtext"Symbol 55 MovieClip {Story} Frame 1Symbol 10 EditableText
"picture"Symbol 55 MovieClip {Story} Frame 1Symbol 47 MovieClip {planetrunner_fla.intromc_87}
"btnSponsor"Symbol 71 MovieClip {planetrunner_fla.mctDown_72} Frame 1Symbol 69 Button {GamePrisonButton}
"pmg"Symbol 78 MovieClip {mcTGObg} Frame 1Symbol 57 MovieClip {Symbol21}
"cancel"Symbol 78 MovieClip {mcTGObg} Frame 1Symbol 6 Button {mcOzdyBut}
"submit"Symbol 78 MovieClip {mcTGObg} Frame 1Symbol 6 Button {mcOzdyBut}
"score"Symbol 78 MovieClip {mcTGObg} Frame 1Symbol 60 EditableText
"gl"Symbol 88 MovieClip {planetrunner_fla.logo_97} Frame 1Symbol 84 MovieClip {planetrunner_fla.glava_99}
"dudi"Symbol 91 MovieClip {planetrunner_fla.mcOzdyNorm_96} Frame 1Symbol 88 MovieClip {planetrunner_fla.logo_97}
"btnOzdy"Symbol 95 MovieClip {mcOzdy} Frame 1Symbol 6 Button {mcOzdyBut}
"timeBonus"Symbol 109 MovieClip {mcTSC} Frame 40Symbol 103 EditableText
"timeBonust"Symbol 109 MovieClip {mcTSC} Frame 40Symbol 104 EditableText
"starBonus"Symbol 109 MovieClip {mcTSC} Frame 40Symbol 105 EditableText
"starBonust"Symbol 109 MovieClip {mcTSC} Frame 40Symbol 106 EditableText
"score"Symbol 109 MovieClip {mcTSC} Frame 40Symbol 107 EditableText
"scoret"Symbol 109 MovieClip {mcTSC} Frame 40Symbol 108 EditableText
"btnSponsor"Symbol 128 MovieClip {mcTP} Frame 1Symbol 69 Button {GamePrisonButton}
"mainm"Symbol 128 MovieClip {mcTP} Frame 1Symbol 6 Button {mcOzdyBut}
"storyText"Symbol 131 MovieClip {trCongrats} Frame 1Symbol 129 EditableText
"txt"Symbol 152 MovieClip {planetrunner_fla.eff_82} Frame 1Symbol 151 EditableText
"ef"Symbol 153 MovieClip {mcEffect} Frame 1Symbol 152 MovieClip {planetrunner_fla.eff_82}
"b"Symbol 158 MovieClip {mcStatusBoss} Frame 1Symbol 157 MovieClip {planetrunner_fla.bb_79}
"btnMore"Symbol 177 MovieClip {planetrunner_fla.mcMenuNavig_12} Frame 1Symbol 169 Button
"btnGoLeft"Symbol 177 MovieClip {planetrunner_fla.mcMenuNavig_12} Frame 1Symbol 169 Button
"btnHiScores"Symbol 177 MovieClip {planetrunner_fla.mcMenuNavig_12} Frame 1Symbol 169 Button
"btnSponsor"Symbol 177 MovieClip {planetrunner_fla.mcMenuNavig_12} Frame 1Symbol 69 Button {GamePrisonButton}
"btnGoRight"Symbol 177 MovieClip {planetrunner_fla.mcMenuNavig_12} Frame 1Symbol 169 Button
"ct2"Symbol 177 MovieClip {planetrunner_fla.mcMenuNavig_12} Frame 1Symbol 175 MovieClip
"navi"Symbol 185 MovieClip {mcMenuMiddle} Frame 1Symbol 177 MovieClip {planetrunner_fla.mcMenuNavig_12}
"sponsi"Symbol 198 MovieClip {GamePrisonIntro} Frame 1Symbol 165 MovieClip {huhu}
"gpg"Symbol 198 MovieClip {GamePrisonIntro} Frame 30Symbol 189 MovieClip
"btnPlay"Symbol 236 MovieClip {planetrunner_fla.mcMenuWhole_7} Frame 1Symbol 169 Button
"btnBackLeft"Symbol 236 MovieClip {planetrunner_fla.mcMenuWhole_7} Frame 1Symbol 169 Button
"crDenta"Symbol 236 MovieClip {planetrunner_fla.mcMenuWhole_7} Frame 1Symbol 6 Button {mcOzdyBut}
"crEliteFerrex"Symbol 236 MovieClip {planetrunner_fla.mcMenuWhole_7} Frame 1Symbol 6 Button {mcOzdyBut}
"crDrClay"Symbol 236 MovieClip {planetrunner_fla.mcMenuWhole_7} Frame 1Symbol 6 Button {mcOzdyBut}
"crOzdy"Symbol 236 MovieClip {planetrunner_fla.mcMenuWhole_7} Frame 1Symbol 6 Button {mcOzdyBut}
"menu"Symbol 237 MovieClip {mcMenu} Frame 1Symbol 236 MovieClip {planetrunner_fla.mcMenuWhole_7}
"tfield"Symbol 249 MovieClip {mcTNL} Frame 1Symbol 242 EditableText
"tfielda"Symbol 249 MovieClip {mcTNL} Frame 1Symbol 243 EditableText
"tfielda"Symbol 249 MovieClip {mcTNL} Frame 111Symbol 244 EditableText
"tfielda2"Symbol 249 MovieClip {mcTNL} Frame 111Symbol 246 EditableText
"tfield"Symbol 249 MovieClip {mcTNL} Frame 111Symbol 247 EditableText
"tfield2"Symbol 249 MovieClip {mcTNL} Frame 111Symbol 248 EditableText
"idInvincible"Symbol 304 MovieClip {mcStatusBar} Frame 1Symbol 268 MovieClip {mcIndicatorInvisibility}
"idShot"Symbol 304 MovieClip {mcStatusBar} Frame 1Symbol 271 MovieClip {mcIndicatorShot}
"idArmor"Symbol 304 MovieClip {mcStatusBar} Frame 1Symbol 163 MovieClip {mcIndicatorArmor}
"points"Symbol 304 MovieClip {mcStatusBar} Frame 1Symbol 273 EditableText
"lives"Symbol 304 MovieClip {mcStatusBar} Frame 1Symbol 276 EditableText
"stars"Symbol 304 MovieClip {mcStatusBar} Frame 1Symbol 277 EditableText
"musicButton"Symbol 304 MovieClip {mcStatusBar} Frame 1Symbol 283 MovieClip {planetrunner_fla.ToggleMusic_53}
"idTime"Symbol 304 MovieClip {mcStatusBar} Frame 1Symbol 301 MovieClip {TimeBar}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS3.




http://swfchan.com/14/66521/info.shtml
Created: 12/4 -2019 00:33:37 Last modified: 12/4 -2019 00:33:37 Server time: 23/06 -2024 19:04:34