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

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

Edgrecrement.swf

This is the info page for
Flash #77654

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


ActionScript [AS3]
Section 1
//Bauble (com.adamatomic.EEE.Bauble) package com.adamatomic.EEE { import com.adamatomic.flixel.*; import flash.geom.*; public class Bauble extends Nibbles { private var ImgEdgetend:Class; private var _cycle:Number; public function Bauble(_arg1:FlxArray, _arg2:Player, _arg3:uint){ ImgEdgetend = Bauble_ImgEdgetend; super(ImgEdgetend); offset = new Point(4, 4); addAnimation("0", [1]); addAnimation("1", [11]); addAnimation("2", [21]); addAnimation("3", [4]); addAnimation("4", [32]); addAnimation("5", [6]); addAnimation("6", [43]); addAnimation("7", [17]); addAnimation("8", [0]); addAnimation("9", [9]); addAnimation("10", [18]); addAnimation("11", [0]); addAnimation("12", [27]); addAnimation("13", [0]); addAnimation("14", [36]); addAnimation("15", [9]); var _local4 = 20; addAnimation("8c", [1, 2, 3, 4, 5, 6, 7, 8], _local4); addAnimation("9c", [11, 12, 13, 14, 15, 16, 17, 10], _local4); addAnimation("10c", [21, 22, 23, 24, 25, 26, 19, 20], _local4); addAnimation("11c", [4, 5, 6, 7, 8, 1, 2, 3], _local4); addAnimation("12c", [32, 33, 34, 35, 28, 29, 30, 31], _local4); addAnimation("13c", [6, 7, 8, 1, 2, 3, 4, 5], _local4); addAnimation("14c", [43, 44, 37, 38, 39, 40, 41, 42], _local4); addAnimation("15c", [17, 10, 11, 12, 13, 14, 15, 16], _local4); type = _arg3; if (((!((_arg1 == null))) && (!((_arg2 == null))))){ reset(_arg1, _arg2); } else { x = 8; if (type >= 8){ y = (((type - 4) * 32) + 8); } else { y = (((type + 4) * 32) + 8); }; play(("" + type)); }; _cycle = 0; } override public function update():void{ if ((((x > 32)) || ((_cycle > 0)))){ super.update(); }; if (_cycle > 0){ _cycle = (_cycle - FlxG.elapsed); if (_cycle <= 0){ FlxG.setMusicVolume(1); }; } else { play(("" + type)); }; } public function cycle():void{ _cycle = 4; play((type + "c")); FlxG.setMusicVolume(0); } override public function reset(_arg1:FlxArray, _arg2:Player):void{ super.reset(_arg1, _arg2); points = 1000; play(("" + type)); } } }//package com.adamatomic.EEE
Section 2
//Bauble_ImgEdgetend (com.adamatomic.EEE.Bauble_ImgEdgetend) package com.adamatomic.EEE { import mx.core.*; public class Bauble_ImgEdgetend extends BitmapAsset { } }//package com.adamatomic.EEE
Section 3
//Fruit (com.adamatomic.EEE.Fruit) package com.adamatomic.EEE { import com.adamatomic.flixel.*; import flash.geom.*; public class Fruit extends Nibbles { private var ImgFood:Class; public function Fruit(_arg1:FlxArray, _arg2:Player){ ImgFood = Fruit_ImgFood; super(ImgFood, 32); offset = new Point(8, 4); var _local3:uint; while (_local3 < 12) { addAnimation(("" + _local3), [_local3]); _local3++; }; reset(_arg1, _arg2); } override public function reset(_arg1:FlxArray, _arg2:Player):void{ super.reset(_arg1, _arg2); type = (Math.random() * 12); if (type < 3){ switch (type){ case 0: points = 250; break; case 1: points = 500; break; case 2: points = 1000; break; }; } else { points = ((type - 2) * 100); }; play(("" + type)); } } }//package com.adamatomic.EEE
Section 4
//Fruit_ImgFood (com.adamatomic.EEE.Fruit_ImgFood) package com.adamatomic.EEE { import mx.core.*; public class Fruit_ImgFood extends BitmapAsset { } }//package com.adamatomic.EEE
Section 5
//MenuState (com.adamatomic.EEE.MenuState) package com.adamatomic.EEE { import com.adamatomic.flixel.*; public class MenuState extends FlxState { private var SndMusic:Class; private var ImgLogo:Class; private var _fading:Boolean; public function MenuState():void{ SndMusic = MenuState_SndMusic; ImgLogo = MenuState_ImgLogo; super(); _fading = false; if ((FlxG.score - 100000000) > FlxG.scores[10]){ FlxG.scores[10] = (FlxG.score - 100000000); FlxG.scores[11] = FlxG.level; }; if (FlxG.scores[10] > 0){ this.add(new FlxText(0, 7, FlxG.width, 120, (((("HI SCORE: " + FlxG.scores[10]) + " (L") + (FlxG.scores[11] + 1)) + ")"), 0xFFFFFF, "edge", 16, "center")); }; this.add(new FlxSprite(ImgLogo, 0, 80)); this.add(new FlxText(0, 190, FlxG.width, 120, "by ptoing, Adam Atomic and BMcC", 8276484, "edge", 16, "center")); this.add(new FlxText(0, 280, FlxG.width, 80, "CLICK TO PLAY", 0xFFFFFF, "edge", 32, "center")); this.add(new FlxText(0, 400, FlxG.width, 120, "Press X or C to clench sphincter.\n\nEdgetra Timmy every 500k points.", 8276484, "edge", 16, "center")); FlxG.setMusic(SndMusic); } private function onFade():void{ FlxG.score = 100000000; FlxG.scores[0] = 3; var _local1:uint = 1; while (_local1 < 9) { FlxG.scores[_local1] = false; _local1++; }; FlxG.scores[9] = 0; FlxG.level = 0; FlxG.switchState(PlayState); } override public function update():void{ if (((!(_fading)) && (((((FlxG.kMouse) || (FlxG.kA))) || (FlxG.kB))))){ _fading = true; FlxG.fade(4278190080, 0.5, onFade); }; super.update(); } private function onFlixel():void{ FlxG.openURL("http://flixel.org"); } } }//package com.adamatomic.EEE
Section 6
//MenuState_ImgLogo (com.adamatomic.EEE.MenuState_ImgLogo) package com.adamatomic.EEE { import mx.core.*; public class MenuState_ImgLogo extends BitmapAsset { } }//package com.adamatomic.EEE
Section 7
//MenuState_SndMusic (com.adamatomic.EEE.MenuState_SndMusic) package com.adamatomic.EEE { import mx.core.*; public class MenuState_SndMusic extends SoundAsset { } }//package com.adamatomic.EEE
Section 8
//Nibbles (com.adamatomic.EEE.Nibbles) package com.adamatomic.EEE { import com.adamatomic.flixel.*; public class Nibbles extends FlxSprite { private var ImgFood:Class; public var points:uint; public var type:uint; private var _timer:Number; public function Nibbles(_arg1:Class, _arg2:uint=0){ ImgFood = Nibbles_ImgFood; super(_arg1, 0, 0, true, false, _arg2); width = 16; height = 16; } override public function update():void{ super.update(); var _local1:Number = _timer; _timer = (_timer + FlxG.elapsed); if (_timer >= 8){ if (_local1 < 8){ flicker(2); }; if (!flickering()){ kill(); }; }; } override public function kill():void{ flicker(-1); super.kill(); } public function reset(_arg1:FlxArray, _arg2:Player):void{ var _local3:uint; var _local4:Boolean; var _local6:FlxArray; dead = false; active = true; visible = true; exists = true; _timer = 0; var _local5:uint; do { ++_local5; } while (!(_local5 > 10)); } } }//package com.adamatomic.EEE
Section 9
//Nibbles_ImgFood (com.adamatomic.EEE.Nibbles_ImgFood) package com.adamatomic.EEE { import mx.core.*; public class Nibbles_ImgFood extends BitmapAsset { } }//package com.adamatomic.EEE
Section 10
//Player (com.adamatomic.EEE.Player) package com.adamatomic.EEE { import com.adamatomic.flixel.*; import flash.geom.*; public class Player extends FlxSprite { public const holdMax:Number = 10; private var ImgGibs:Class; private var ImgSpledgeTR:Class; private var ImgNose:Class; private var ImgBlood:Class; private var _bang:FlxSprite; public var _sprint:Number; private var _splode:FlxSprite; private var _speed:Number; public var top:Boolean; private var SndSplat:Class; private var SndGrunt:Class; private var _sweat:FlxEmitter; private var ImgBang:Class; private var SndSpeed:Class; private var ImgTongue:Class; private var _splash:FlxSprite; private var ImgEye:Class; private var ImgSweat:Class; private var _gibs:FlxEmitter; public var combo:uint; private var ImgSplode:Class; private var _spray:FlxSprite; private var _spledgeBL:FlxSprite; private var SndSqueak:Class; private var SndEat1:Class; private var SndEat2:Class; private var SndEat3:Class; public var holdTimer:Number; private var ImgSpray:Class; private var SndFart1:Class; private var SndFart2:Class; private var SndFart3:Class; private var SndEdgeplode:Class; public var corns:uint; private var ImgSpledgeBL:Class; private var _farts:FlxArray; public var wallDeath:Boolean; private var SndGag:Class; private var _holdinIt:int; public var fruits:uint; private var ImgTooth:Class; private var _spledgeTR:FlxSprite; private var _l:FlxArray; private var _o:Point; private var _q:uint; private var _t:FlxArray; private var ImgSplash:Class; private var _eats:FlxArray; private var _blood:FlxEmitter; private var ImgTim:Class; public function Player(_arg1:int, _arg2:int, _arg3:FlxArray, _arg4:FlxArray){ var _local5:uint; var _local7:FlxSprite; ImgTim = Player_ImgTim; ImgGibs = Player_ImgGibs; ImgBlood = Player_ImgBlood; ImgSweat = Player_ImgSweat; ImgSpray = Player_ImgSpray; ImgSpledgeBL = Player_ImgSpledgeBL; ImgSpledgeTR = Player_ImgSpledgeTR; ImgBang = Player_ImgBang; ImgSplode = Player_ImgSplode; ImgEye = Player_ImgEye; ImgNose = Player_ImgNose; ImgTongue = Player_ImgTongue; ImgTooth = Player_ImgTooth; ImgSplash = Player_ImgSplash; SndEat1 = Player_SndEat1; SndEat2 = Player_SndEat2; SndEat3 = Player_SndEat3; SndFart1 = Player_SndFart1; SndFart2 = Player_SndFart2; SndFart3 = Player_SndFart3; SndGag = Player_SndGag; SndSqueak = Player_SndSqueak; SndEdgeplode = Player_SndEdgeplode; SndSpeed = Player_SndSpeed; SndGrunt = Player_SndGrunt; SndSplat = Player_SndSplat; super(ImgTim, _arg1, _arg2, true, true); offset = new Point(8, 8); width = 32; height = 32; _t = _arg3; _l = _arg4; top = true; _q = 2; wallDeath = false; _holdinIt = -1; _sprint = 0; _speed = 1; fruits = 0; corns = 0; holdTimer = -1; addAnimation("idle", [0, 1], 4); addAnimation("wall", [5]); addAnimation("shit", [0, 2, 3, 4], 8); addAnimation("eat", [0, 2, 3, 2, 3, 1], 10); addAnimation("rocket", [6, 7, 8, 9], 20); addAnimation("idle2", [10, 11], 4); addAnimation("eat2", [10, 12, 13], 10); addAnimation("idle3", [14, 15], 4); addAnimation("eat3", [14, 16, 17], 10); facingRight = false; play("idle"); _eats = new FlxArray(); _eats.add(SndEat1); _eats.add(SndEat2); _eats.add(SndEat3); _farts = new FlxArray(); _farts.add(SndFart1); _farts.add(SndFart2); _farts.add(SndFart3); _splash = (FlxG.state.add(new FlxSprite(ImgSplash)) as FlxSprite); _splash.visible = false; var _local6:FlxArray = new FlxArray(); _local6.add(new FlxSprite(ImgEye)); _local6.add(new FlxSprite(ImgEye)); _local6.add(new FlxSprite(ImgNose)); _local6.add(new FlxSprite(ImgTongue)); _local5 = 0; while (_local5 < 20) { _local6.add(new FlxSprite(ImgTooth)); _local5++; }; _local5 = 0; while (_local5 < 80) { _local7 = new FlxSprite(ImgBlood, 0, 0, true); _local7.randomFrame(); _local6.add(_local7); _local5++; }; _gibs = (FlxG.state.add(new FlxEmitter(0, 0, 0, 0, _local6, -4, -300, 300, -500, 0, -720, 720, 500, 0)) as FlxEmitter); _blood = (FlxG.state.add(new FlxEmitter(0, 0, 0, 0, null, -4, -200, 200, -500, 0, 0, 0, 800, 0, ImgBlood, 80, true)) as FlxEmitter); _sweat = (FlxG.state.add(new FlxEmitter(0, 0, 0, 0, null, 0.06, -100, 100, -300, -100, 0, 0, 800, 0, ImgSweat, 4, true)) as FlxEmitter); _sweat.kill(); _spray = new FlxSprite(ImgSpray, 0, 0, true, true, 40); _spray.addAnimation("spray", [0, 1, 2, 3], 20); _spray.play("spray"); _spledgeBL = new FlxSprite(ImgSpledgeBL, 0, 0, true, false, 99); _spledgeBL.addAnimation("spledge", [0, 1, 2, 3, 4, 5], 16); _spledgeBL.visible = false; _spledgeTR = new FlxSprite(ImgSpledgeTR, 0, 0, true, false, 106); _spledgeTR.addAnimation("spledge", [0, 1, 2, 3, 4, 5], 16); _spledgeTR.visible = false; _bang = new FlxSprite(ImgBang, 0, 0, true, false, 101); _bang.addAnimation("bang", [0], 8); _bang.visible = false; _splode = new FlxSprite(ImgSplode, 0, 0, true, false, 172); _splode.addAnimation("splode", [0, 1, 2, 3, 4, 5], 16); _splode.visible = false; } override public function hitWall():Boolean{ wallDeath = true; kill(); return (true); } override public function hitFloor():Boolean{ wallDeath = true; kill(); return (true); } override public function kill():void{ if (dead){ return; }; FlxG.stopMusic(); FlxG.score = (FlxG.score + 10000); super.kill(); exists = true; if (_sweat.active){ _sweat.kill(); }; if (wallDeath){ FlxG.play(SndSplat); play("wall"); _blood.x = (x + (width / 2)); _blood.y = (y + (height / 2)); _blood.reset(); _bang.x = (x + ((width - _bang.width) / 2)); _bang.y = (y + ((height - _bang.height) / 2)); _bang.play("bang"); _bang.visible = true; if ((((velocity.x < 0)) || ((velocity.y > 0)))){ if (velocity.x < 0){ _bang.x = (_bang.x + 16); _spledgeBL.x = (_bang.x + 24); _spledgeBL.y = (((_bang.y + _bang.height) - _spledgeBL.height) - 20); } else { _bang.angle = -90; _spledgeBL.x = (_bang.x + 48); _spledgeBL.y = (((_bang.y + _bang.height) - _spledgeBL.height) - 24); }; _spledgeBL.play("spledge"); _spledgeBL.visible = true; } else { if ((((velocity.x > 0)) || ((velocity.y < 0)))){ if (velocity.x > 0){ _bang.angle = 180; _bang.x = (_bang.x - 16); _spledgeTR.x = (_bang.x - 24); _spledgeTR.y = (((_bang.y + _bang.height) - _spledgeTR.height) - 20); } else { _bang.angle = 90; _spledgeTR.x = (_bang.x + 48); _spledgeTR.y = (((_bang.y + _bang.height) - _spledgeTR.height) + 16); }; _spledgeTR.play("spledge"); _spledgeTR.visible = true; }; }; } else { play("shit"); FlxG.play(SndGag); FlxG.play(SndSqueak); }; } public function add(_arg1:Nibbles, _arg2:Boolean=false):void{ FlxG.play(_eats[Math.floor((Math.random() * _eats.length))]); var _local3:Boolean = _arg2; if (_arg1 != null){ _arg1.kill(); _local3 = (_arg1.type == 11); FlxG.score = (FlxG.score + _arg1.points); }; if (_sprint > 0){ } else { if (_holdinIt >= 0){ if (holdTimer > (holdMax * 0.25)){ play("eat2"); } else { play("eat3"); }; } else { play("eat"); }; }; if (_holdinIt >= 0){ combo = (combo + _arg1.points); _holdinIt++; if (_local3){ corns++; } else { if (_arg1.type >= 3){ fruits++; }; }; return; } else { FlxG.play(_farts[Math.floor((Math.random() * _farts.length))], 0.35); }; var _local4:FlxSprite = this; if (_t.length > 0){ _local4 = _t[(_t.length - 1)]; }; _t.add(new Turd(_local4, (_t.length > 3), _local3)); if (_t.length < 2){ return; }; var _local5:uint = _t[(_t.length - 1)].type; var _local6:uint = _t[(_t.length - 1)].co.x; var _local7:uint = _t[(_t.length - 1)].co.y; var _local8:uint = (_t.length - 1); while (_local8 > 0) { _t[_local8].type = _t[(_local8 - 1)].type; _t[_local8].corn = _t[(_local8 - 1)].corn; _t[_local8].co.x = _t[(_local8 - 1)].co.x; _t[_local8].co.y = _t[(_local8 - 1)].co.y; _local8--; }; _t[0].type = _local5; _t[0].corn = _local3; _t[0].co.x = _local6; _t[0].co.y = _local7; } override public function render():void{ if (!_gibs.active){ super.render(); }; if (_sprint > 0){ _spray.render(); }; if (!dead){ return; }; if (_bang.visible){ _bang.render(); }; if (_spledgeBL.visible){ _spledgeBL.render(); }; if (_spledgeTR.visible){ _spledgeTR.render(); }; if (_splode.visible){ _bang.angle = -90; _bang.render(); _bang.angle = 90; _bang.render(); _bang.angle = 0; _splode.render(); }; } override public function hitCeiling():Boolean{ wallDeath = true; kill(); return (true); } private function loseLife():void{ var _local1 = FlxG.scores; var _local2:int; var _local3 = (_local1[_local2] - 1); _local1[_local2] = _local3; if (FlxG.scores[0] <= 0){ FlxG.switchState(MenuState); } else { FlxG.switchState(PlayState); }; } public function pinch(_arg1:Boolean=false):void{ var _local2:uint; _local2 = 0; while (_local2 < _t.length) { _t[_local2].velocity.x = 0; _t[_local2].velocity.y = 0; if (_arg1){ _t[_local2].gold = 4; }; _l.add(_t[_local2]); _local2++; }; _t.clear(); if (_arg1){ _local2 = 0; while (_local2 < _l.length) { _l[_local2].gold = 4; _local2++; }; }; } override public function update():void{ var _local1:uint; var _local2:Boolean; var _local3:Boolean; var _local4:Boolean; var _local5:uint; var _local6:Boolean; var _local7:int; var _local8:uint; var _local9:uint; var _local10:int; var _local11:Number; var _local12:int; var _local13:Number; if (dead){ if (!_bang.finished){ _bang.update(); if (_bang.finished){ _bang.visible = false; }; }; if (wallDeath){ if (_spledgeBL.visible){ _spledgeBL.update(); if (_spledgeBL.finished){ _spledgeBL.visible = false; }; } else { if (_spledgeTR.visible){ _spledgeTR.update(); if (_spledgeTR.finished){ _spledgeTR.visible = false; }; }; }; _local5 = 7; if (velocity.x < 0){ x = (x - _local5); } else { if (velocity.x > 0){ x = (x + _local5); } else { if (velocity.y < 0){ y = (y - _local5); } else { if (velocity.y > 0){ y = (y + _local5); }; }; }; }; } else { if (_splode.visible){ _splode.update(); if (_splode.finished){ _splode.visible = false; }; }; }; velocity.x = 0; velocity.y = 0; _local4 = finished; super.update(); if (wallDeath){ if (!_blood.active){ loseLife(); }; } else { if (finished){ if (!_local4){ FlxG.play(SndEdgeplode); _splash.x = ((x + (width / 2)) - (_splash.width / 2)); _splash.y = ((y + (height / 2)) - (_splash.height / 2)); _splash.visible = true; _gibs.x = (x + (width / 2)); _gibs.y = (y + (height / 2)); _gibs.reset(); _bang.x = (x + ((width - _bang.width) / 2)); _bang.y = (y + ((height - _bang.height) / 2)); _bang.play("bang"); _bang.visible = true; _splode.x = (_bang.x - 40); _splode.y = (_bang.y - 32); _splode.play("splode"); _splode.visible = true; } else { if (!_gibs.active){ loseLife(); }; }; }; }; return; }; if (_sprint > 0){ _sprint = (_sprint - FlxG.elapsed); if (_sprint < 0){ _sprint = 0; }; } else { _local6 = false; if (holdTimer >= 0){ holdTimer = (holdTimer - FlxG.elapsed); if (holdTimer < 0){ _local6 = true; }; }; if (((FlxG.justPressed(FlxG.A)) || (FlxG.justPressed(FlxG.B)))){ FlxG.play(SndGrunt); _sweat.reset(); holdTimer = holdMax; _holdinIt = 0; combo = 1000000; fruits = 1; corns = 1; pinch(); } else { if (((((_local6) || (FlxG.justReleased(FlxG.A)))) || (FlxG.justReleased(FlxG.B)))){ _sweat.kill(); holdTimer = -1; _local7 = _holdinIt; _holdinIt = -1; if (_local7 > 0){ FlxG.play(SndSpeed); _sprint = (_local7 / 4); _speed = (1 + (_local7 / 8)); _local8 = (_local7 / corns); _local9 = (combo - 1000000); combo = 0; if (_local9 > 0){ if (fruits > 0){ _local9 = (_local9 * fruits); }; if (corns > 0){ _local9 = (_local9 * corns); }; }; FlxG.score = (FlxG.score + _local9); _local1 = 0; while (_local1 < _local7) { add(null, ((_local1 % _local8) == 0)); _local1++; }; play("rocket"); }; }; }; }; if (((FlxG.kLeft) && ((velocity.x == 0)))){ _q = 1; } else { if (((FlxG.kRight) && ((velocity.x == 0)))){ _q = 2; } else { if (((FlxG.kUp) && ((velocity.y == 0)))){ _q = 3; } else { if (((FlxG.kDown) && ((velocity.y == 0)))){ _q = 4; }; }; }; }; if (_q <= 0){ return; }; if (_sprint > 0){ Turd.movement = ((160 + (FlxG.level * 4)) * _speed); } else { Turd.movement = (160 + (FlxG.level * 4)); }; if ((((velocity.x == 0)) && ((velocity.y == 0)))){ _local2 = true; _local3 = true; } else { _local10 = (Math.round((x / 32)) * 32); _local11 = (x + (velocity.x * FlxG.elapsed)); _local2 = (((((x < _local10)) && ((_local11 > _local10)))) || ((((x > _local10)) && ((_local11 < _local10))))); _local12 = (Math.round((y / 32)) * 32); _local13 = (y + (velocity.y * FlxG.elapsed)); _local3 = (((((y < _local12)) && ((_local13 > _local12)))) || ((((y > _local12)) && ((_local13 < _local12))))); }; if ((((_q == 1)) && (_local3))){ facing(true); velocity.x = -(Turd.movement); velocity.y = 0; y = (Math.round((y / 32)) * 32); top = true; } else { if ((((_q == 2)) && (_local3))){ facing(false); velocity.x = Turd.movement; velocity.y = 0; y = (Math.round((y / 32)) * 32); top = true; } else { if ((((_q == 3)) && (_local2))){ velocity.y = -(Turd.movement); velocity.x = 0; x = (Math.round((x / 32)) * 32); top = false; } else { if ((((_q == 4)) && (_local2))){ velocity.y = Turd.movement; velocity.x = 0; x = (Math.round((x / 32)) * 32); top = true; }; }; }; }; if (velocity.x < 0){ velocity.x = -(Turd.movement); } else { if (velocity.x > 0){ velocity.x = Turd.movement; } else { if (velocity.y < 0){ velocity.y = -(Turd.movement); } else { if (velocity.y > 0){ velocity.y = Turd.movement; }; }; }; }; if (velocity.y < 0){ if (facingRight){ angle = 90; } else { angle = -90; }; } else { if (velocity.y > 0){ if (facingRight){ angle = -90; } else { angle = 90; }; } else { angle = 0; }; }; if (finished){ if (_sprint > 0){ play("rocket"); } else { if (_holdinIt >= 0){ if (holdTimer > (holdMax * 0.25)){ play("idle2"); } else { play("idle3"); }; } else { play("idle"); }; }; }; super.update(); if (_sprint > 0){ if (velocity.x > 0){ _spray.facingRight = false; _spray.x = (x - _spray.width); _spray.y = (((y + height) - _spray.height) + 4); _spray.angle = 0; } else { if (velocity.x < 0){ _spray.facingRight = true; _spray.x = (x + width); _spray.y = (((y + height) - _spray.height) + 4); _spray.angle = 0; } else { if (velocity.y < 0){ _spray.x = (x + ((width - _spray.width) / 2)); _spray.y = (y + height); _spray.angle = angle; } else { if (velocity.y > 0){ _spray.x = (x + ((width - _spray.width) / 2)); _spray.y = (y - _spray.height); _spray.angle = angle; }; }; }; }; _spray.update(); }; if (_holdinIt >= 0){ _sweat.x = (x + (width / 2)); _sweat.y = (y + (height / 2)); }; } } }//package com.adamatomic.EEE
Section 11
//Player_ImgBang (com.adamatomic.EEE.Player_ImgBang) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgBang extends BitmapAsset { } }//package com.adamatomic.EEE
Section 12
//Player_ImgBlood (com.adamatomic.EEE.Player_ImgBlood) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgBlood extends BitmapAsset { } }//package com.adamatomic.EEE
Section 13
//Player_ImgEye (com.adamatomic.EEE.Player_ImgEye) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgEye extends BitmapAsset { } }//package com.adamatomic.EEE
Section 14
//Player_ImgGibs (com.adamatomic.EEE.Player_ImgGibs) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgGibs extends BitmapAsset { } }//package com.adamatomic.EEE
Section 15
//Player_ImgNose (com.adamatomic.EEE.Player_ImgNose) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgNose extends BitmapAsset { } }//package com.adamatomic.EEE
Section 16
//Player_ImgSplash (com.adamatomic.EEE.Player_ImgSplash) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgSplash extends BitmapAsset { } }//package com.adamatomic.EEE
Section 17
//Player_ImgSpledgeBL (com.adamatomic.EEE.Player_ImgSpledgeBL) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgSpledgeBL extends BitmapAsset { } }//package com.adamatomic.EEE
Section 18
//Player_ImgSpledgeTR (com.adamatomic.EEE.Player_ImgSpledgeTR) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgSpledgeTR extends BitmapAsset { } }//package com.adamatomic.EEE
Section 19
//Player_ImgSplode (com.adamatomic.EEE.Player_ImgSplode) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgSplode extends BitmapAsset { } }//package com.adamatomic.EEE
Section 20
//Player_ImgSpray (com.adamatomic.EEE.Player_ImgSpray) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgSpray extends BitmapAsset { } }//package com.adamatomic.EEE
Section 21
//Player_ImgSweat (com.adamatomic.EEE.Player_ImgSweat) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgSweat extends BitmapAsset { } }//package com.adamatomic.EEE
Section 22
//Player_ImgTim (com.adamatomic.EEE.Player_ImgTim) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgTim extends BitmapAsset { } }//package com.adamatomic.EEE
Section 23
//Player_ImgTongue (com.adamatomic.EEE.Player_ImgTongue) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgTongue extends BitmapAsset { } }//package com.adamatomic.EEE
Section 24
//Player_ImgTooth (com.adamatomic.EEE.Player_ImgTooth) package com.adamatomic.EEE { import mx.core.*; public class Player_ImgTooth extends BitmapAsset { } }//package com.adamatomic.EEE
Section 25
//Player_SndEat1 (com.adamatomic.EEE.Player_SndEat1) package com.adamatomic.EEE { import mx.core.*; public class Player_SndEat1 extends SoundAsset { } }//package com.adamatomic.EEE
Section 26
//Player_SndEat2 (com.adamatomic.EEE.Player_SndEat2) package com.adamatomic.EEE { import mx.core.*; public class Player_SndEat2 extends SoundAsset { } }//package com.adamatomic.EEE
Section 27
//Player_SndEat3 (com.adamatomic.EEE.Player_SndEat3) package com.adamatomic.EEE { import mx.core.*; public class Player_SndEat3 extends SoundAsset { } }//package com.adamatomic.EEE
Section 28
//Player_SndEdgeplode (com.adamatomic.EEE.Player_SndEdgeplode) package com.adamatomic.EEE { import mx.core.*; public class Player_SndEdgeplode extends SoundAsset { } }//package com.adamatomic.EEE
Section 29
//Player_SndFart1 (com.adamatomic.EEE.Player_SndFart1) package com.adamatomic.EEE { import mx.core.*; public class Player_SndFart1 extends SoundAsset { } }//package com.adamatomic.EEE
Section 30
//Player_SndFart2 (com.adamatomic.EEE.Player_SndFart2) package com.adamatomic.EEE { import mx.core.*; public class Player_SndFart2 extends SoundAsset { } }//package com.adamatomic.EEE
Section 31
//Player_SndFart3 (com.adamatomic.EEE.Player_SndFart3) package com.adamatomic.EEE { import mx.core.*; public class Player_SndFart3 extends SoundAsset { } }//package com.adamatomic.EEE
Section 32
//Player_SndGag (com.adamatomic.EEE.Player_SndGag) package com.adamatomic.EEE { import mx.core.*; public class Player_SndGag extends SoundAsset { } }//package com.adamatomic.EEE
Section 33
//Player_SndGrunt (com.adamatomic.EEE.Player_SndGrunt) package com.adamatomic.EEE { import mx.core.*; public class Player_SndGrunt extends SoundAsset { } }//package com.adamatomic.EEE
Section 34
//Player_SndSpeed (com.adamatomic.EEE.Player_SndSpeed) package com.adamatomic.EEE { import mx.core.*; public class Player_SndSpeed extends SoundAsset { } }//package com.adamatomic.EEE
Section 35
//Player_SndSplat (com.adamatomic.EEE.Player_SndSplat) package com.adamatomic.EEE { import mx.core.*; public class Player_SndSplat extends SoundAsset { } }//package com.adamatomic.EEE
Section 36
//Player_SndSqueak (com.adamatomic.EEE.Player_SndSqueak) package com.adamatomic.EEE { import mx.core.*; public class Player_SndSqueak extends SoundAsset { } }//package com.adamatomic.EEE
Section 37
//PlayState (com.adamatomic.EEE.PlayState) package com.adamatomic.EEE { import com.adamatomic.flixel.*; public class PlayState extends FlxState { private const _life:uint = 500000; private const _comboLevels:uint = 10000; private var _player:Player; private var _edgetend:FlxArray; private var SndItem:Class; public var _loafs:FlxArray; private var ImgSweat:Class; private var _needDark:FlxText; private var _score:FlxText; private var _nTimer:Number; private var _countDisplay:FlxText; private var _combo:FlxText; private var SndSpeed:Class; private var ImgLevel:Class; private var ImgMeter:Class; private var _scoreDark:FlxText; private var ImgBlock:Class; public var _blocks:FlxArray; private var _needMax:uint; private var _sockets:FlxArray; private var _comboDark:FlxText; private var _countDown:Number; private var SndItem2:Class; private var ImgLife:Class; private var _nibbles:FlxArray; private var Snd1Up:Class; private var _ending:Boolean; private var _punTimer:Number; private var SndMusic2:Class; private var ImgNeed:Class; private var _bar:FlxSprite; private var SndMusic:Class; public var _turds:FlxArray; private var _puns:FlxArray; private var _nextLife:uint; private var _wantEnd:Boolean; private var _need:FlxText; private var _endingBlocks:FlxArray; private var _eTimer:Number; public function PlayState():void{ var _local1:uint; SndMusic = PlayState_SndMusic; SndMusic2 = PlayState_SndMusic2; ImgBlock = PlayState_ImgBlock; ImgLife = PlayState_ImgLife; ImgSweat = PlayState_ImgSweat; ImgNeed = PlayState_ImgNeed; SndItem = PlayState_SndItem; SndItem2 = PlayState_SndItem2; ImgLevel = PlayState_ImgLevel; ImgMeter = PlayState_ImgMeter; Snd1Up = PlayState_Snd1Up; SndSpeed = PlayState_SndSpeed; super(); _wantEnd = false; _ending = false; this.add(new FlxSprite(ImgNeed, 8, 3)); _blocks = FlxG.levels[(FlxG.level % FlxG.levels.length)]; _local1 = 0; while (_local1 < _blocks.length) { this.add(_blocks[_local1]); _local1++; }; FlxG.scores[9] = Math.floor((FlxG.scores[9] / 2)); _needMax = (10 + ((FlxG.level + 1) / 2)); _sockets = new FlxArray(); _local1 = 8; while (_local1 < 16) { _sockets.add(this.add(new Bauble(null, null, _local1))); _local1++; }; _edgetend = new FlxArray(); _local1 = 0; while (_local1 < 8) { _edgetend.add(this.add(new Bauble(null, null, _local1))).exists = false; _local1++; }; this.add(new FlxSprite(null, (FlxG.width - 32), 128, false, false, 32, (8 * 32), 4278190080)); _bar = (this.add(new FlxSprite(null, (((FlxG.width - 24) - 4) + 2), FlxG.height, false, false, (24 - 4), ((7 * 32) + 28), 4286466564)) as FlxSprite); this.add(new FlxSprite(ImgMeter, (FlxG.width - 32), 128)); this.add(new FlxBlock((FlxG.width - 32), (FlxG.height - (3 * 32)), 32, (FlxG.height - 64), ImgBlock)); this.add(new FlxSprite(ImgLevel, 288, 32)); this.add(new FlxText(288, 39, 64, 32, ("" + (FlxG.level + 1)), 0xFFFFFF, "edge", 16, "center")); _turds = new FlxArray(); _loafs = new FlxArray(); _player = new Player(320, 224, _turds, _loafs); _nibbles = new FlxArray(); _nTimer = 0; _eTimer = 0; _punTimer = 0; _needDark = (this.add(new FlxText(54, 7, 320, 32, "", 5534823, "edge", 16, "left")) as FlxText); _need = (this.add(new FlxText(54, 7, 320, 32, "", 0xFFFFFF, "edge", 16, "left")) as FlxText); formatNeeds(); _scoreDark = (this.add(new FlxText(503, 7, 320, 32, "", 5534823, "edge", 16, "left")) as FlxText); _score = (this.add(new FlxText(503, 7, 320, 32, "", 0xFFFFFF, "edge", 16, "left")) as FlxText); formatScore(); _comboDark = (this.add(new FlxText(200, 7, 320, 32, "", 5534823, "edge", 16, "left")) as FlxText); _combo = (this.add(new FlxText(200, 7, 320, 32, "", 0xFFFFFF, "edge", 16, "left")) as FlxText); _local1 = 1; while (_local1 < FlxG.scores[0]) { this.add(new FlxSprite(ImgLife, (4 + (26 * (_local1 - 1))), ((FlxG.height - 32) + 4))); _local1++; }; _nextLife = (Math.floor((((FlxG.score - 100000000) + _life) / _life)) * _life); _puns = new FlxArray(); _puns.add(" edgy"); _puns.add(" edgeciting"); _puns.add(" edgecellent"); _puns.add("edgehilarating"); _puns.add(" edgetravagant"); _puns.add("edgetraordinary"); _puns.add(" edgetreme"); _puns.add(" incredgeible"); _puns.add("langdellicious"); FlxG.setMusic(SndMusic); _countDown = 2; _countDisplay = new FlxText(16, 160, FlxG.width, 160, "3", 0xFFFFFF, "edge", 128, "center"); FlxG.play(SndItem); _endingBlocks = new FlxArray(); } override public function render():void{ var _local1:uint; super.render(); _local1 = 0; while (_local1 < _loafs.length) { if (((_loafs[_local1].exists) && (_loafs[_local1].visible))){ _loafs[_local1].render(); }; _local1++; }; _local1 = 0; while (_local1 < _loafs.length) { if (((_loafs[_local1].exists) && (_loafs[_local1].visible))){ _loafs[_local1].top(); _loafs[_local1].render(); }; _local1++; }; _local1 = 0; while (_local1 < _turds.length) { if (((_turds[_local1].exists) && (_turds[_local1].visible))){ _turds[_local1].render(); }; _local1++; }; _local1 = 0; while (_local1 < _turds.length) { if (((_turds[_local1].exists) && (_turds[_local1].visible))){ _turds[_local1].top(); _turds[_local1].render(); }; _local1++; }; if (((_player.exists) && (_player.visible))){ _player.render(); }; _local1 = 0; while (_local1 < _endingBlocks.length) { _endingBlocks[_local1].render(); _local1++; }; if (_countDisplay.visible){ _countDisplay.render(); }; } private function gobble(_arg1:Nibbles, _arg2:Player):void{ var _local3:uint; var _local4:Boolean; _arg2.add(_arg1); if ((_arg1 is Bauble)){ FlxG.play(SndItem2); FlxG.scores[(_arg1.type + 1)] = true; _local4 = false; _local3 = 1; while (_local3 <= _edgetend.length) { if (!FlxG.scores[_local3]){ _local4 = true; break; }; _local3++; }; if (!_local4){ FlxG.play(Snd1Up); _player.pinch(true); _local3 = 1; while (_local3 <= _edgetend.length) { FlxG.scores[_local3] = false; _sockets[(_local3 - 1)].cycle(); _local3++; }; }; } else { if (_arg1.type < 3){ var _local5 = FlxG.scores; var _local6 = 9; var _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; formatNeeds(); FlxG.play(SndItem, 0.5); }; }; } private function eatShit(_arg1:FlxSprite, _arg2:FlxSprite):void{ if ((_arg1 as Turd).collide){ if ((_arg1 as Turd).gold > 0){ FlxG.play(SndItem, 0.25); if (_player.holdTimer > 0){ _player.combo = (_player.combo + 500); } else { FlxG.score = (FlxG.score + 500); }; _arg1.kill(); } else { _arg2.kill(); }; }; } override public function update():void{ var _local1:uint; var _local2:Boolean; var _local6:String; var _local7:uint; var _local8:uint; var _local9:uint; var _local10:Number; var _local11:uint; var _local12:uint; if (_ending){ _local9 = _endingBlocks.length; var _temp1 = ((_local9 % 20) * 32); var _temp2 = _local9; _local9 = (_local9 + 1); _endingBlocks.add(new FlxSprite(ImgBlock, _temp1, (FlxG.height - (Math.floor((_temp2 / 20)) * 32)))); var _temp3 = ((_local9 % 20) * 32); var _temp4 = _local9; _local9 = (_local9 + 1); _endingBlocks.add(new FlxSprite(ImgBlock, _temp3, (FlxG.height - (Math.floor((_temp4 / 20)) * 32)))); var _temp5 = ((_local9 % 20) * 32); var _temp6 = _local9; _local9 = (_local9 + 1); _endingBlocks.add(new FlxSprite(ImgBlock, _temp5, (FlxG.height - (Math.floor((_temp6 / 20)) * 32)))); if (_endingBlocks.length > 280){ FlxG.scores[9] = 0; FlxG.level++; FlxG.switchState(PlayState); }; return; }; if (_countDown > 0){ _local10 = _countDown; _countDown = (_countDown - FlxG.elapsed); if ((((_countDown <= 1.5)) && ((_local10 > 1.5)))){ FlxG.play(SndItem); _countDisplay.setText("2"); } else { if ((((_countDown <= 1)) && ((_local10 > 1)))){ FlxG.play(SndItem); _countDisplay.setText("1"); } else { if ((((_countDown <= 0.5)) && ((_local10 > 0.5)))){ FlxG.play(SndItem2); _countDisplay.setText("GO!"); } else { if (_countDown <= 0){ _countDisplay.visible = false; }; }; }; }; return; }; if (_punTimer > 0){ _punTimer = (_punTimer - FlxG.elapsed); if (_punTimer <= 0){ _combo.setText(""); formatScore(); }; }; _nTimer = (_nTimer + FlxG.elapsed); if ((((_nTimer > 1)) && (!(_player.dead)))){ _nTimer = 0; _local2 = true; _local1 = 0; while (_local1 < _nibbles.length) { if ((((_nibbles[_local1] is Fruit)) && (!(_nibbles[_local1].exists)))){ _local2 = false; _nibbles[_local1].reset(_nibbles, _player); break; }; _local1++; }; if (_local2){ _nibbles.add(this.add(new Fruit(_nibbles, _player))); }; }; _eTimer = (_eTimer + FlxG.elapsed); if ((((_eTimer > (_needMax * 2))) && (!(_player.dead)))){ _local11 = 0; do { _local11 = (Math.random() * 8); } while (FlxG.scores[(_local11 + 1)]); _eTimer = 0; _local2 = true; _local1 = 0; while (_local1 < _nibbles.length) { if ((((_nibbles[_local1] is Bauble)) && (!(_nibbles[_local1].exists)))){ _local2 = false; _nibbles[_local1].type = _local11; _nibbles[_local1].reset(_nibbles, _player); break; }; _local1++; }; if (_local2){ _nibbles.add(this.add(new Bauble(_nibbles, _player, _local11))); }; }; var _local3:uint = FlxG.score; var _local4:uint = _player.combo; super.update(); var _local5:Boolean = _player.dead; if (((_player.exists) && (_player.active))){ _player.update(); }; _local1 = 0; while (_local1 < _turds.length) { if (((_turds[_local1].exists) && (_turds[_local1].active))){ _turds[_local1].update(); }; _local1++; }; _local1 = 0; while (_local1 < _loafs.length) { if (((_loafs[_local1].exists) && (_loafs[_local1].active))){ _loafs[_local1].update(); }; _local1++; }; FlxBlock.collideArray(_blocks, _player); overlapArray(_nibbles, _player, gobble); overlapArray(_turds, _player, eatShit); overlapArray(_loafs, _player, eatShit); if (_local5 != _player.dead){ FlxG.setMusic(SndMusic2); _local1 = 0; while (_local1 < _turds.length) { if (((_turds[_local1].exists) && (_turds[_local1].active))){ _turds[_local1].off(); }; _local1++; }; }; if (_player.dead){ FlxBlock.collideArrays(_blocks, _turds); }; if (_local3 != FlxG.score){ formatScore(); }; if (_local4 != _player.combo){ if (_player.combo == 0){ _local8 = (FlxG.score - _local3); if (_local8 > 0){ _scoreDark.setText(""); _local7 = 0; if (_local8 < 1000){ _local7 = 3; } else { if (_local8 < 10000){ _local7 = 2; } else { if (_local8 < 100000){ _local7 = 1; }; }; }; _local6 = " "; _local1 = 0; while (_local1 < _local7) { _local6 = (_local6 + " "); _local1++; }; _local6 = (_local6 + ("+" + _local8)); _score.setText(_local6); }; _local12 = (_local8 / _comboLevels); if (_local12 >= _puns.length){ _local12 = (_puns.length - 1); }; _comboDark.setText(""); _combo.setText((_puns[_local12].toUpperCase() + "!")); _combo.setColor(0xFFB200); _punTimer = 2; } else { if (_player.combo == 1000000){ _punTimer = 0; formatScore(); _comboDark.setText(""); _combo.setText(""); _combo.setColor(0xFFFFFF); } else { _punTimer = 0; formatScore(); _local7 = 0; _local8 = (_player.combo - 1000000); if (_local8 < 1000){ _local7 = 3; } else { if (_local8 < 10000){ _local7 = 2; } else { if (_local8 < 100000){ _local7 = 1; }; }; }; _local6 = " "; _local1 = 0; while (_local1 < _local7) { _local6 = (_local6 + "0"); _local1++; }; _comboDark.setText(_local6); _local6 = " "; _local1 = 0; while (_local1 < _local7) { _local6 = (_local6 + " "); _local1++; }; _local6 = (_local6 + ((((("" + _local8) + "x") + _player.fruits) + "x") + _player.corns)); _combo.setText(_local6); _combo.setColor(0xFFFFFF); }; }; }; if (_player.holdTimer < 0){ _bar.y = FlxG.height; } else { _bar.y = (((128 + 4) + _bar.height) - (_bar.height * (1 - (_player.holdTimer / _player.holdMax)))); }; if ((FlxG.score - 100000000) > _nextLife){ FlxG.play(Snd1Up, 0.8); _nextLife = (_nextLife + _life); var _local13 = FlxG.scores; var _local14:int; var _local15 = (_local13[_local14] + 1); _local13[_local14] = _local15; this.add(new FlxSprite(ImgLife, (((FlxG.scores[0] - 2) * 26) + 4), ((FlxG.height - 32) + 4))); }; if (FlxG.scores[9] >= _needMax){ _wantEnd = true; }; _local1 = 1; while (_local1 <= _edgetend.length) { _edgetend[(_local1 - 1)].exists = FlxG.scores[_local1]; _local1++; }; if (((((_wantEnd) && ((_player.holdTimer < 0)))) && ((_player._sprint <= 0)))){ _countDisplay.visible = true; _countDisplay.setText("WIN"); _ending = true; }; } private function overlaps(_arg1:FlxSprite, _arg2:FlxSprite):Boolean{ if (((((((((_arg1.x + _arg1.width) <= (_arg2.x + _arg2.width))) && ((_arg1.x >= _arg2.x)))) && (((_arg1.y + _arg1.height) <= (_arg2.y + _arg2.height))))) && ((_arg1.y >= _arg2.y)))){ return (true); }; return (false); } private function formatNeeds():void{ if (FlxG.scores[9] < 10){ _needDark.setText("0"); } else { _needDark.setText(""); }; var _local1 = ""; if (FlxG.scores[9] < 10){ _local1 = " "; }; _local1 = (_local1 + ((FlxG.scores[9] + "/") + _needMax)); _need.setText(_local1); } private function overlapArray(_arg1:FlxArray, _arg2:FlxSprite, _arg3:Function):void{ var _local4:FlxSprite; if (((!(_arg2.exists)) || (_arg2.dead))){ return; }; var _local5:uint; while (_local5 < _arg1.length) { _local4 = _arg1[_local5]; if (((!(_local4.exists)) || (_local4.dead))){ } else { if (overlaps(_local4, _arg2)){ _arg3(_local4, _arg2); }; }; _local5++; }; } private function formatScore():void{ var _local4:uint; if (_punTimer > 0){ return; }; if ((((FlxG.score == 100000000)) || ((FlxG.score == 0)))){ _scoreDark.setText("00000000"); _score.setText(""); return; }; var _local1:uint; var _local2:uint = (FlxG.score - 100000000); if (_local2 < 1000){ _local1 = 5; } else { if (_local2 < 10000){ _local1 = 4; } else { if (_local2 < 100000){ _local1 = 3; } else { if (_local2 < 1000000){ _local1 = 2; } else { if (_local2 < 10000000){ _local1 = 1; }; }; }; }; }; var _local3 = ""; _local4 = 0; while (_local4 < _local1) { _local3 = (_local3 + "0"); _local4++; }; _scoreDark.setText(_local3); _local3 = ""; _local4 = 0; while (_local4 < _local1) { _local3 = (_local3 + " "); _local4++; }; _local3 = (_local3 + ("" + _local2)); _score.setText(_local3); } } }//package com.adamatomic.EEE
Section 38
//PlayState_ImgBlock (com.adamatomic.EEE.PlayState_ImgBlock) package com.adamatomic.EEE { import mx.core.*; public class PlayState_ImgBlock extends BitmapAsset { } }//package com.adamatomic.EEE
Section 39
//PlayState_ImgLevel (com.adamatomic.EEE.PlayState_ImgLevel) package com.adamatomic.EEE { import mx.core.*; public class PlayState_ImgLevel extends BitmapAsset { } }//package com.adamatomic.EEE
Section 40
//PlayState_ImgLife (com.adamatomic.EEE.PlayState_ImgLife) package com.adamatomic.EEE { import mx.core.*; public class PlayState_ImgLife extends BitmapAsset { } }//package com.adamatomic.EEE
Section 41
//PlayState_ImgMeter (com.adamatomic.EEE.PlayState_ImgMeter) package com.adamatomic.EEE { import mx.core.*; public class PlayState_ImgMeter extends BitmapAsset { } }//package com.adamatomic.EEE
Section 42
//PlayState_ImgNeed (com.adamatomic.EEE.PlayState_ImgNeed) package com.adamatomic.EEE { import mx.core.*; public class PlayState_ImgNeed extends BitmapAsset { } }//package com.adamatomic.EEE
Section 43
//PlayState_ImgSweat (com.adamatomic.EEE.PlayState_ImgSweat) package com.adamatomic.EEE { import mx.core.*; public class PlayState_ImgSweat extends BitmapAsset { } }//package com.adamatomic.EEE
Section 44
//PlayState_Snd1Up (com.adamatomic.EEE.PlayState_Snd1Up) package com.adamatomic.EEE { import mx.core.*; public class PlayState_Snd1Up extends SoundAsset { } }//package com.adamatomic.EEE
Section 45
//PlayState_SndItem (com.adamatomic.EEE.PlayState_SndItem) package com.adamatomic.EEE { import mx.core.*; public class PlayState_SndItem extends SoundAsset { } }//package com.adamatomic.EEE
Section 46
//PlayState_SndItem2 (com.adamatomic.EEE.PlayState_SndItem2) package com.adamatomic.EEE { import mx.core.*; public class PlayState_SndItem2 extends SoundAsset { } }//package com.adamatomic.EEE
Section 47
//PlayState_SndMusic (com.adamatomic.EEE.PlayState_SndMusic) package com.adamatomic.EEE { import mx.core.*; public class PlayState_SndMusic extends SoundAsset { } }//package com.adamatomic.EEE
Section 48
//PlayState_SndMusic2 (com.adamatomic.EEE.PlayState_SndMusic2) package com.adamatomic.EEE { import mx.core.*; public class PlayState_SndMusic2 extends SoundAsset { } }//package com.adamatomic.EEE
Section 49
//PlayState_SndSpeed (com.adamatomic.EEE.PlayState_SndSpeed) package com.adamatomic.EEE { import mx.core.*; public class PlayState_SndSpeed extends SoundAsset { } }//package com.adamatomic.EEE
Section 50
//Turd (com.adamatomic.EEE.Turd) package com.adamatomic.EEE { import com.adamatomic.flixel.*; import flash.geom.*; public class Turd extends FlxSprite { private var _toggle:Boolean; private var ImgCorn:Class; private var _corn:FlxSprite; private var _lc:Number; public var gold:Number; private var _tx:Number; private var _ty:Number; public var corn:Boolean; private var _p:FlxSprite; private var _offset:uint; public var co:Point; private var ImgTurd:Class; public var type:uint; public var collide:Boolean; public static const frames:uint = 8; public static var movement:uint; public function Turd(_arg1:FlxSprite, _arg2:Boolean=true, _arg3:Boolean=false){ ImgTurd = Turd_ImgTurd; ImgCorn = Turd_ImgCorn; super(ImgTurd, 0, 0, true); _corn = new FlxSprite(ImgCorn); co = new Point((4 + Math.floor((Math.random() * 16))), (6 + Math.floor((Math.random() * 12)))); collide = _arg2; corn = _arg3; var _local4:uint; while (_local4 < frames) { addAnimation(("bottom" + _local4), [_local4]); addAnimation(("top" + _local4), [(frames + _local4)]); addAnimation(("goldbottom" + _local4), [((frames * 2) + _local4)]); addAnimation(("goldtop" + _local4), [((frames * 3) + _local4)]); _local4++; }; if (_arg1.width != width){ _offset = (width * 0.8); } else { _offset = (width / 2); }; type = (Math.random() * frames); _p = _arg1; _tx = 0; _ty = 0; var _local5:Number = ((_p.x + (_p.width >> 1)) - (width >> 1)); var _local6:Number = ((_p.y + (_p.height >> 1)) - (height >> 1)); if (_p.velocity.x != 0){ if (_p.velocity.x < 0){ x = (_local5 + 1); } else { x = (_local5 - 1); }; latchY(); } else { if (_p.velocity.y < 0){ y = (_local6 + 1); } else { y = (_local6 - 1); }; latchX(); }; _lc = 0; gold = 0; _toggle = false; } override public function update():void{ if (gold > 0){ gold = (gold - FlxG.elapsed); }; if (gold < 1){ _toggle = !(_toggle); } else { _toggle = true; }; play(((((((gold > 0)) && (_toggle))) ? "gold" : "" + "bottom") + type)); if ((((velocity.x == 0)) && ((velocity.y == 0)))){ if (!collide){ _lc = (_lc + FlxG.elapsed); if (_lc > 0.5){ collide = true; }; }; return; }; var _local1:Number = x; var _local2:Number = y; var _local3:Number = ((_p.x + (_p.width >> 1)) - (width >> 1)); var _local4:Number = ((_p.y + (_p.height >> 1)) - (height >> 1)); if (((!((_tx == 0))) || (!((_ty == 0))))){ if (velocity.x < 0){ velocity.x = -(movement); } else { if (velocity.x > 0){ velocity.x = movement; } else { if (velocity.y < 0){ velocity.y = -(movement); } else { if (velocity.y > 0){ velocity.y = movement; }; }; }; }; }; super.update(); if (_tx != 0){ _tx = _local3; } else { if (_ty != 0){ _ty = _local4; }; }; if (((((!((_tx == 0))) && ((((_local1 <= _tx)) && ((x >= _tx)))))) || ((((_local1 >= _tx)) && ((x <= _tx)))))){ latchX(); } else { if (((((!((_ty == 0))) && ((((_local2 <= _ty)) && ((y >= _ty)))))) || ((((_local2 >= _ty)) && ((y <= _ty)))))){ latchY(); }; }; } private function hit():Boolean{ if (Math.abs(velocity.x) > Math.abs(velocity.y)){ velocity.x = (-(velocity.x) + ((Math.random() * (movement / 4)) - (movement / 2))); velocity.y = (velocity.y + ((Math.random() * (movement / 4)) - (movement / 2))); } else { velocity.y = (-(velocity.y) + ((Math.random() * (movement / 4)) - (movement / 2))); velocity.x = (velocity.x + ((Math.random() * (movement / 4)) - (movement / 2))); }; return (true); } private function latchX():void{ var _local1:Number = ((_p.x + (_p.width >> 1)) - (width >> 1)); var _local2:Number = ((_p.y + (_p.height >> 1)) - (height >> 1)); _tx = 0; _ty = 1; x = _local1; velocity.x = 0; if (y < _local2){ y = (_local2 - _offset); velocity.y = movement; } else { y = (_local2 + _offset); velocity.y = -(movement); }; } public function top():void{ play(((((((gold > 0)) && (_toggle))) ? "gold" : "" + "top") + type)); } private function latchY():void{ var _local1:Number = ((_p.x + (_p.width >> 1)) - (width >> 1)); var _local2:Number = ((_p.y + (_p.height >> 1)) - (height >> 1)); _ty = 0; _tx = 1; y = _local2; velocity.y = 0; if (x < _local1){ x = (_local1 - _offset); velocity.x = movement; } else { x = (_local1 + _offset); velocity.x = -(movement); }; } override public function render():void{ super.render(); if (corn){ _corn.x = (x + co.x); _corn.y = (y + co.y); _corn.render(); }; } override public function hitCeiling():Boolean{ return (hit()); } public function off():void{ _tx = 0; _ty = 0; drag.x = 90; drag.y = 90; } override public function hitFloor():Boolean{ return (hit()); } override public function hitWall():Boolean{ return (hit()); } } }//package com.adamatomic.EEE
Section 51
//Turd_ImgCorn (com.adamatomic.EEE.Turd_ImgCorn) package com.adamatomic.EEE { import mx.core.*; public class Turd_ImgCorn extends BitmapAsset { } }//package com.adamatomic.EEE
Section 52
//Turd_ImgTurd (com.adamatomic.EEE.Turd_ImgTurd) package com.adamatomic.EEE { import mx.core.*; public class Turd_ImgTurd extends BitmapAsset { } }//package com.adamatomic.EEE
Section 53
//FlxAnim (com.adamatomic.flixel.data.FlxAnim) package com.adamatomic.flixel.data { public class FlxAnim { public var delay:Number; public var frames:Array; public var looped:Boolean; public var name:String; public function FlxAnim(_arg1:String, _arg2:Array, _arg3:Number=0, _arg4:Boolean=true){ name = _arg1; delay = (1 / _arg3); frames = _arg2; looped = _arg4; } } }//package com.adamatomic.flixel.data
Section 54
//FlxCore (com.adamatomic.flixel.data.FlxCore) package com.adamatomic.flixel.data { import com.adamatomic.flixel.*; import flash.geom.*; public class FlxCore { private var _flicker:Boolean; public var active:Boolean; public var visible:Boolean; public var width:uint; private var _flickerTimer:Number; public var exists:Boolean; public var height:uint; public var dead:Boolean; public var x:Number; public var y:Number; public var scrollFactor:Point; public function FlxCore(){ exists = true; active = true; visible = true; dead = false; x = 0; y = 0; width = 0; height = 0; scrollFactor = new Point(1, 1); _flicker = false; _flickerTimer = -1; } public function update():void{ if (flickering()){ if (_flickerTimer > 0){ _flickerTimer = (_flickerTimer - FlxG.elapsed); }; if (_flickerTimer < 0){ flicker(-1); } else { _flicker = !(_flicker); visible = !(_flicker); }; }; } public function flicker(_arg1:Number=1):void{ _flickerTimer = _arg1; if (_flickerTimer < 0){ _flicker = false; visible = true; }; } public function overlapsPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean{ if ((((((((_arg1 <= x)) || ((_arg1 >= (x + width))))) || ((_arg2 <= y)))) || ((_arg2 >= (y + height))))){ return (false); }; return (true); } public function render():void{ } public function kill():void{ exists = false; dead = true; } protected function getScreenXY(_arg1:Point):void{ _arg1.x = (Math.floor(x) + Math.floor((FlxG.scroll.x * scrollFactor.x))); _arg1.y = (Math.floor(y) + Math.floor((FlxG.scroll.y * scrollFactor.y))); } public function hitFloor():Boolean{ return (true); } public function hitCeiling():Boolean{ return (true); } public function overlaps(_arg1:FlxCore):Boolean{ if ((((((((_arg1.x <= (x - _arg1.width))) || ((_arg1.x >= (x + width))))) || ((_arg1.y <= (y - _arg1.height))))) || ((_arg1.y >= (y + height))))){ return (false); }; return (true); } public function flickering():Boolean{ return ((_flickerTimer >= 0)); } public function onScreen():Boolean{ var _local1:Point = new Point(); getScreenXY(_local1); if (((((((((_local1.x + width) < 0)) || ((_local1.x > FlxG.width)))) || (((_local1.y + height) < 0)))) || ((_local1.y > FlxG.height)))){ return (false); }; return (true); } public function hitWall():Boolean{ return (true); } } }//package com.adamatomic.flixel.data
Section 55
//FlxFactory (com.adamatomic.flixel.data.FlxFactory) package com.adamatomic.flixel.data { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import flash.utils.*; public class FlxFactory extends MovieClip { protected var className:String; private var bits:Array; private var ImgBit:Class; private var bmpBar:Bitmap; private var Buffer:Sprite; private var ImgBar:Class; protected var myURL:String; public function FlxFactory(){ var _local1:Bitmap; var _local3:TextFormat; var _local4:TextField; ImgBar = FlxFactory_ImgBar; ImgBit = FlxFactory_ImgBit; super(); stop(); stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; if (((((((!((myURL == null))) && ((myURL.length > 0)))) && ((root.loaderInfo.url.indexOf(myURL) < 0)))) && ((root.loaderInfo.url.indexOf("localhost") < 0)))){ _local1 = new Bitmap(new BitmapData(stage.stageWidth, stage.stageHeight, true, 4294967295)); addChild(_local1); _local3 = new TextFormat(); _local3.color = 0; _local3.size = 16; _local3.align = "center"; _local3.bold = true; _local4 = new TextField(); _local4.width = (_local1.width - 16); _local4.height = (_local1.height - 16); _local4.y = 8; _local4.multiline = true; _local4.wordWrap = true; _local4.defaultTextFormat = _local3; _local4.text = (("Hi there! It looks like somebody copied this game without my permission. It is meant to be played ad-free! If you would like to play it at my site with NO annoying ads, just click anywhere, or copy-paste this URL into your browser.\n\n" + myURL) + "\n\nThanks, and have fun!"); addChild(_local4); _local4.addEventListener(MouseEvent.CLICK, goToMyURL); _local1.addEventListener(MouseEvent.CLICK, goToMyURL); return; }; Buffer = new Sprite(); Buffer.scaleX = 2; Buffer.scaleY = 2; addChild(Buffer); bmpBar = new ImgBar(); bmpBar.x = (((stage.stageWidth / Buffer.scaleX) - bmpBar.width) / 2); bmpBar.y = (((stage.stageHeight / Buffer.scaleY) - bmpBar.height) / 2); Buffer.addChild(bmpBar); bits = new Array(); var _local2:uint; while (_local2 < 9) { _local1 = new ImgBit(); _local1.visible = false; _local1.x = ((bmpBar.x + 2) + (_local2 * 3)); _local1.y = (bmpBar.y + 2); bits.push(_local1); Buffer.addChild(_local1); _local2++; }; addEventListener(Event.ENTER_FRAME, onEnterFrame); } private function goToMyURL(_arg1:MouseEvent=null):void{ navigateToURL(new URLRequest(("http://" + myURL))); } private function onEnterFrame(_arg1:Event):void{ var _local2:int; var _local3:Class; var _local4:Object; var _local5:uint; graphics.clear(); if (framesLoaded == totalFrames){ removeEventListener(Event.ENTER_FRAME, onEnterFrame); nextFrame(); _local3 = Class(getDefinitionByName(className)); if (_local3){ _local4 = new (_local3); addChild((_local4 as DisplayObject)); }; _local2 = (bits.length - 1); while (_local2 >= 0) { bits.pop(); _local2--; }; removeChild(Buffer); } else { _local5 = ((root.loaderInfo.bytesLoaded / root.loaderInfo.bytesTotal) * 10); _local2 = 0; while ((((_local2 < _local5)) && ((_local2 < bits.length)))) { bits[_local2].visible = true; _local2++; }; }; } } }//package com.adamatomic.flixel.data
Section 56
//FlxFactory_ImgBar (com.adamatomic.flixel.data.FlxFactory_ImgBar) package com.adamatomic.flixel.data { import mx.core.*; public class FlxFactory_ImgBar extends BitmapAsset { } }//package com.adamatomic.flixel.data
Section 57
//FlxFactory_ImgBit (com.adamatomic.flixel.data.FlxFactory_ImgBit) package com.adamatomic.flixel.data { import mx.core.*; public class FlxFactory_ImgBit extends BitmapAsset { } }//package com.adamatomic.flixel.data
Section 58
//FlxLogoPixel (com.adamatomic.flixel.data.FlxLogoPixel) package com.adamatomic.flixel.data { import flash.display.*; public class FlxLogoPixel extends Sprite { private var _curLayer:uint; private var _layers:Array; public function FlxLogoPixel(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint, _arg5:uint){ x = _arg1; y = _arg2; _layers = new Array(); var _local6:Array = new Array(4294901760, 4278255360, 4278190335, 4294967040, 4278255615); _layers.push(addChild(new Bitmap(new BitmapData(_arg3, _arg3, true, _arg5)))); var _local7:uint; while (_local7 < _local6.length) { _layers.push(addChild(new Bitmap(new BitmapData(_arg3, _arg3, true, _local6[_arg4])))); ++_arg4; if (_arg4 >= _local6.length){ _arg4 = 0; }; _local7++; }; _curLayer = (_layers.length - 1); } public function update():void{ if (_curLayer == 0){ return; }; if (_layers[_curLayer].alpha >= 0.1){ _layers[_curLayer].alpha = (_layers[_curLayer].alpha - 0.1); } else { _layers[_curLayer].alpha = 0; _curLayer--; }; } } }//package com.adamatomic.flixel.data
Section 59
//FlxArray (com.adamatomic.flixel.FlxArray) package com.adamatomic.flixel { import com.adamatomic.flixel.data.*; public dynamic class FlxArray extends Array { public function getNonexist():FlxCore{ var _local1:uint; do { if (!(this[_local1] as FlxCore).exists){ return (this[_local1]); }; ++_local1; } while (_local1 < this.length); return (null); } public function add(_arg1:Object):Object{ var _local2:uint; while (_local2 < this.length) { if (this[_local2] == null){ return ((this[_local2] = _arg1)); }; _local2++; }; return (this[(this.push(_arg1) - 1)]); } public function remove(_arg1:FlxCore, _arg2:Boolean=false):void{ removeAt(indexOf(_arg1), _arg2); } public function clear():void{ var _local1:int = (this.length - 1); while (_local1 >= 0) { this.pop(); _local1--; }; } public function removeAt(_arg1:uint, _arg2:Boolean=false):void{ if (_arg2){ delete this[_arg1]; this[_arg1] = null; } else { if ((this[_arg1] is FlxCore)){ this[_arg1].kill(); }; }; } public static function getRandom(_arg1:Array):Object{ return (_arg1[Math.floor((Math.random() * _arg1.length))]); } } }//package com.adamatomic.flixel
Section 60
//FlxBlock (com.adamatomic.flixel.FlxBlock) package com.adamatomic.flixel { import com.adamatomic.flixel.data.*; import flash.display.*; import flash.geom.*; public class FlxBlock extends FlxCore { private var _p:Point; private var _pixels:BitmapData; private var _rects:FlxArray; private var _tileSize:uint; public function FlxBlock(_arg1:int, _arg2:int, _arg3:uint, _arg4:uint, _arg5:Class, _arg6:uint=0){ var _local8:uint; super(); x = _arg1; y = _arg2; width = _arg3; height = _arg4; if (_arg5 == null){ return; }; _pixels = FlxG.addBitmap(_arg5); _rects = new FlxArray(); _p = new Point(); _tileSize = _pixels.height; var _local7:uint = Math.ceil((width / _tileSize)); _local8 = Math.ceil((height / _tileSize)); width = (_local7 * _tileSize); height = (_local8 * _tileSize); var _local9:uint = (_local7 * _local8); var _local10:uint = (_pixels.width / _tileSize); var _local11:uint; while (_local11 < _local9) { if ((Math.random() * (_local10 + _arg6)) > _arg6){ _rects.push(new Rectangle((_tileSize * Math.floor((Math.random() * _local10))), 0, _tileSize, _tileSize)); } else { _rects.push(null); }; _local11++; }; } public function collide(_arg1:FlxSprite):void{ if ((((Math.abs((((_arg1.x + (_arg1.width >> 1)) - x) - (width >> 1))) > ((width >> 1) + (_arg1.width >> 1)))) && ((Math.abs((((_arg1.y + (_arg1.height >> 1)) - y) - (height >> 1))) > ((height >> 1) + (_arg1.height >> 1)))))){ return; }; var _local2:Boolean; if ((Math.abs(_arg1.velocity.x) > Math.abs(_arg1.velocity.y))){ _local2 = false; }; var _local3:Boolean; var _local4:Boolean; if (_local2){ if (_arg1.velocity.y > 0){ if (overlapsPoint((_arg1.x + (_arg1.width >> 1)), (_arg1.y + _arg1.height))){ if (_arg1.hitFloor()){ _arg1.y = (y - _arg1.height); }; } else { _local4 = true; }; } else { if (_arg1.velocity.y < 0){ if (overlapsPoint((_arg1.x + (_arg1.width >> 1)), _arg1.y)){ if (_arg1.hitCeiling()){ _arg1.y = (y + height); }; } else { _local4 = true; }; }; }; if (_arg1.velocity.x < 0){ if (overlapsPoint(_arg1.x, (_arg1.y + (_arg1.height >> 1)))){ if (_arg1.hitWall()){ _arg1.x = (x + width); }; } else { _local3 = true; }; } else { if (_arg1.velocity.x > 0){ if (overlapsPoint((_arg1.x + _arg1.width), (_arg1.y + (_arg1.height >> 1)))){ if (_arg1.hitWall()){ _arg1.x = (x - _arg1.width); }; } else { _local3 = true; }; }; }; } else { if (_arg1.velocity.x < 0){ if (overlapsPoint(_arg1.x, (_arg1.y + (_arg1.height >> 1)))){ if (_arg1.hitWall()){ _arg1.x = (x + width); }; } else { _local3 = true; }; } else { if (_arg1.velocity.x > 0){ if (overlapsPoint((_arg1.x + _arg1.width), (_arg1.y + (_arg1.height >> 1)))){ if (_arg1.hitWall()){ _arg1.x = (x - _arg1.width); }; } else { _local3 = true; }; }; }; if (_arg1.velocity.y > 0){ if (overlapsPoint((_arg1.x + (_arg1.width >> 1)), (_arg1.y + _arg1.height))){ if (_arg1.hitFloor()){ _arg1.y = (y - _arg1.height); }; } else { _local4 = true; }; } else { if (_arg1.velocity.y < 0){ if (overlapsPoint((_arg1.x + (_arg1.width >> 1)), _arg1.y)){ if (_arg1.hitCeiling()){ _arg1.y = (y + height); }; } else { _local4 = true; }; }; }; }; if (((!(_local4)) && (!(_local3)))){ return; }; var _local5 = (_arg1.width >> 3); if (_local5 < 1){ _local5 = 1; }; if (((_local4) && (_local3))){ if (_local2){ if (_local4){ if ((((((_arg1.x + _arg1.width) - _local5) > x)) && (((_arg1.x + _local5) < (x + width))))){ if ((((((((_arg1.velocity.y > 0)) && (((_arg1.y + _arg1.height) > y)))) && (((_arg1.y + _arg1.height) < (y + height))))) && (_arg1.hitFloor()))){ _arg1.y = (y - _arg1.height); } else { if ((((((((_arg1.velocity.y < 0)) && ((_arg1.y > y)))) && ((_arg1.y < (y + height))))) && (_arg1.hitCeiling()))){ _arg1.y = (y + height); }; }; }; }; if (_local3){ if ((((((_arg1.y + _arg1.height) - _local5) > y)) && (((_arg1.y + _local5) < (y + height))))){ if ((((((((_arg1.velocity.x > 0)) && (((_arg1.x + _arg1.width) > x)))) && (((_arg1.x + _arg1.width) < (x + width))))) && (_arg1.hitWall()))){ _arg1.x = (x - _arg1.width); } else { if ((((((((_arg1.velocity.x < 0)) && ((_arg1.x > x)))) && ((_arg1.x < (x + width))))) && (_arg1.hitWall()))){ _arg1.x = (x + width); }; }; }; }; } else { if (_local3){ if ((((((_arg1.y + _arg1.height) - _local5) > y)) && (((_arg1.y + _local5) < (y + height))))){ if ((((((((_arg1.velocity.x > 0)) && (((_arg1.x + _arg1.width) > x)))) && (((_arg1.x + _arg1.width) < (x + width))))) && (_arg1.hitWall()))){ _arg1.x = (x - _arg1.width); } else { if ((((((((_arg1.velocity.x < 0)) && ((_arg1.x > x)))) && ((_arg1.x < (x + width))))) && (_arg1.hitWall()))){ _arg1.x = (x + width); }; }; }; }; if (_local4){ if ((((((_arg1.x + _arg1.width) - _local5) > x)) && (((_arg1.x + _local5) < (x + width))))){ if ((((((((_arg1.velocity.y > 0)) && (((_arg1.y + _arg1.height) > y)))) && (((_arg1.y + _arg1.height) < (y + height))))) && (_arg1.hitFloor()))){ _arg1.y = (y - _arg1.height); } else { if ((((((((_arg1.velocity.y < 0)) && ((_arg1.y > y)))) && ((_arg1.y < (y + height))))) && (_arg1.hitCeiling()))){ _arg1.y = (y + height); }; }; }; }; }; } else { if (_local4){ if ((((((_arg1.x + _arg1.width) - _local5) > x)) && (((_arg1.x + _local5) < (x + width))))){ if ((((((((_arg1.velocity.y > 0)) && (((_arg1.y + _arg1.height) > y)))) && (((_arg1.y + _arg1.height) < (y + height))))) && (_arg1.hitFloor()))){ _arg1.y = (y - _arg1.height); } else { if ((((((((_arg1.velocity.y < 0)) && ((_arg1.y > y)))) && ((_arg1.y < (y + height))))) && (_arg1.hitCeiling()))){ _arg1.y = (y + height); }; }; }; } else { if (_local3){ if ((((((_arg1.y + _arg1.height) - _local5) > y)) && (((_arg1.y + _local5) < (y + height))))){ if ((((((((_arg1.velocity.x > 0)) && (((_arg1.x + _arg1.width) > x)))) && (((_arg1.x + _arg1.width) < (x + width))))) && (_arg1.hitWall()))){ _arg1.x = (x - _arg1.width); } else { if ((((((((_arg1.velocity.x < 0)) && ((_arg1.x > x)))) && ((_arg1.x < (x + width))))) && (_arg1.hitWall()))){ _arg1.x = (x + width); }; }; }; }; }; }; } override public function render():void{ if (!visible){ return; }; getScreenXY(_p); var _local1:int = _p.x; var _local2:uint; while (_local2 < _rects.length) { if (_rects[_local2] != null){ FlxG.buffer.copyPixels(_pixels, _rects[_local2], _p, null, null, true); }; _p.x = (_p.x + _tileSize); if (_p.x >= (_local1 + width)){ _p.x = _local1; _p.y = (_p.y + _tileSize); }; _local2++; }; } public static function collideArrays(_arg1:FlxArray, _arg2:FlxArray):void{ var _local4:uint; var _local3:uint; while (_local3 < _arg1.length) { _local4 = 0; while (_local4 < _arg2.length) { if (((!(_arg2[_local4].exists)) || (_arg2[_local4].dead))){ } else { _arg1[_local3].collide(_arg2[_local4]); }; _local4++; }; _local3++; }; } public static function collideArray(_arg1:FlxArray, _arg2:FlxSprite):void{ if (((!(_arg2.exists)) || (_arg2.dead))){ return; }; var _local3:uint; while (_local3 < _arg1.length) { _arg1[_local3].collide(_arg2); _local3++; }; } } }//package com.adamatomic.flixel
Section 61
//FlxEmitter (com.adamatomic.flixel.FlxEmitter) package com.adamatomic.flixel { import com.adamatomic.flixel.data.*; import flash.geom.*; public class FlxEmitter extends FlxCore { public var maxVelocity:Point; private var _maxRotation:Number; private var _delay:Number; private var _sprites:FlxArray; private var _gravity:Number; private var _minRotation:Number; private var _drag:Number; private var _particle:uint; private var _timer:Number; public var minVelocity:Point; public function FlxEmitter(_arg1:Number, _arg2:Number, _arg3:uint, _arg4:uint, _arg5:FlxArray=null, _arg6:Number=-1, _arg7:Number=-100, _arg8:Number=100, _arg9:Number=-100, _arg10:Number=100, _arg11:Number=-360, _arg12:Number=360, _arg13:Number=500, _arg14:Number=0, _arg15:Class=null, _arg16:uint=0, _arg17:Boolean=false){ var _local18:uint; super(); visible = false; x = _arg1; y = _arg2; width = _arg3; height = _arg4; minVelocity = new Point(_arg7, _arg9); maxVelocity = new Point(_arg8, _arg10); _minRotation = _arg11; _maxRotation = _arg12; _gravity = _arg13; _drag = _arg14; _delay = _arg6; if (_arg15 != null){ _sprites = new FlxArray(); _local18 = 0; while (_local18 < _arg16) { if (_arg17){ (_sprites.add(new FlxSprite(_arg15, 0, 0, true)) as FlxSprite).randomFrame(); } else { _sprites.add(new FlxSprite(_arg15)); }; _local18++; }; } else { _sprites = _arg5; }; _local18 = 0; while (_local18 < _sprites.length) { FlxG.state.add(_sprites[_local18]); _local18++; }; kill(); if (_delay > 0){ reset(); }; } public function emit():void{ var _local1:FlxSprite = _sprites[_particle]; _local1.exists = true; _local1.x = (x - (_local1.width >> 1)); if (width != 0){ _local1.x = (_local1.x + (Math.random() * width)); }; _local1.y = (y - (_local1.height >> 1)); if (height != 0){ _local1.y = (_local1.y + (Math.random() * height)); }; _local1.velocity.x = minVelocity.x; if (minVelocity.x != maxVelocity.x){ _local1.velocity.x = (_local1.velocity.x + (Math.random() * (maxVelocity.x - minVelocity.x))); }; _local1.velocity.y = minVelocity.y; if (minVelocity.y != maxVelocity.y){ _local1.velocity.y = (_local1.velocity.y + (Math.random() * (maxVelocity.y - minVelocity.y))); }; _local1.acceleration.y = _gravity; _local1.angularVelocity = _minRotation; if (_minRotation != _maxRotation){ _local1.angularVelocity = (_local1.angularVelocity + (Math.random() * (_maxRotation - _minRotation))); }; if (_local1.angularVelocity != 0){ _local1.angle = ((Math.random() * 360) - 180); }; _local1.drag.x = _drag; _local1.drag.y = _drag; _particle++; if (_particle >= _sprites.length){ _particle = 0; }; } override public function update():void{ var _local1:uint; _timer = (_timer + FlxG.elapsed); if (_delay < 0){ if (_timer > -(_delay)){ kill(); return; }; if (!_sprites[0].exists){ _local1 = 0; while (_local1 < _sprites.length) { emit(); _local1++; }; }; return; }; while (_timer > _delay) { _timer = (_timer - _delay); emit(); }; } override public function kill():void{ active = false; var _local1:uint; while (_local1 < _sprites.length) { _sprites[_local1].exists = false; _local1++; }; } public function reset():void{ active = true; _timer = 0; _particle = 0; } } }//package com.adamatomic.flixel
Section 62
//FlxG (com.adamatomic.flixel.FlxG) package com.adamatomic.flixel { import flash.events.*; import com.adamatomic.flixel.data.*; import flash.display.*; import flash.geom.*; import flash.media.*; import flash.net.*; public class FlxG { public static const LEFT:uint = 0; public static const A:uint = 4; public static const B:uint = 5; public static const MOUSE:uint = 6; public static const UP:uint = 2; public static const DOWN:uint = 3; public static const RIGHT:uint = 1; public static var kMouse:Boolean; public static var kLeft:Boolean; public static var scores:Array; private static var _music:Sound; public static var height:uint; public static var kB:Boolean; private static var _volume:Number; public static var kA:Boolean; public static var buffer:BitmapData; private static var _fade:Function; public static var kUp:Boolean; public static var levels:Array; public static var kRight:Boolean; private static var _muted:uint; private static var _musicPosition:Number; private static var _oldKeys:Array; private static var _cache:Object; public static var level:uint; public static var state:FlxState; public static var score:uint; private static var _log:Function; private static var _scrollTarget:Point; public static var elapsed:Number; public static var mouse:Point; public static var followTarget:FlxCore; public static var kDown:Boolean; public static var followLead:Point; public static var width:uint; public static var followLerp:Number; public static var scroll:Point; private static var _keys:Array; private static var _setCursor:Function; private static var _quake:Function; private static var _musicVolume:Number; public static var followMin:Point; private static var _flash:Function; public static var followMax:Point; private static var _masterVolume:Number; private static var _musicChannel:SoundChannel; private static var _switchState:Function; public static function getVolume():Number{ return (_volume); } public static function setVolume(_arg1:Number):void{ _volume = _arg1; adjustMusicVolume(); } public static function getAngle(_arg1:Number, _arg2:Number):Number{ return (((Math.atan2(_arg2, _arg1) * 180) / Math.PI)); } static function doFollow():void{ if (followTarget != null){ if (((followTarget.exists) && (!(followTarget.dead)))){ _scrollTarget.x = (((width >> 1) - followTarget.x) - (followTarget.width >> 1)); _scrollTarget.y = (((height >> 1) - followTarget.y) - (followTarget.height >> 1)); if (((!((followLead == null))) && ((followTarget is FlxSprite)))){ _scrollTarget.x = (_scrollTarget.x - ((followTarget as FlxSprite).velocity.x * followLead.x)); _scrollTarget.y = (_scrollTarget.y - ((followTarget as FlxSprite).velocity.y * followLead.y)); }; }; scroll.x = (scroll.x + (((_scrollTarget.x - scroll.x) * followLerp) * FlxG.elapsed)); scroll.y = (scroll.y + (((_scrollTarget.y - scroll.y) * followLerp) * FlxG.elapsed)); if (followMin != null){ if (scroll.x > followMin.x){ scroll.x = followMin.x; }; if (scroll.y > followMin.y){ scroll.y = followMin.y; }; }; if (followMax != null){ if (scroll.x < followMax.x){ scroll.x = followMax.x; }; if (scroll.y < followMax.y){ scroll.y = followMax.y; }; }; }; } public static function addBitmap(_arg1:Class, _arg2:Boolean=false):BitmapData{ var _local6:BitmapData; var _local7:Matrix; var _local3:Boolean; var _local4:String = String(_arg1); if ((((_cache[_local4] == undefined)) || ((_cache[_local4] == null)))){ _cache[_local4] = new (_arg1).bitmapData; if (_arg2){ _local3 = true; }; }; var _local5:BitmapData = _cache[_local4]; if (((((!(_local3)) && (_arg2))) && ((_local5.width == new (_arg1).bitmapData.width)))){ _local3 = true; }; if (_local3){ _local6 = new BitmapData((_local5.width << 1), _local5.height, true, 0); _local6.draw(_local5); _local7 = new Matrix(); _local7.scale(-1, 1); _local7.translate(_local6.width, 0); _local6.draw(_local5, _local7); _local5 = _local6; }; return (_local5); } public static function pressed(_arg1:uint):Boolean{ return ((_keys[_arg1] > 0)); } public static function play(_arg1:Class, _arg2:Number=1):void{ new (_arg1).play(0, 0, new SoundTransform((((_arg2 * _muted) * _volume) * _masterVolume))); } public static function computeVelocity(_arg1:Number, _arg2:Number=0, _arg3:Number=0, _arg4:Number=10000):Number{ var _local5:Number; if (_arg2 != 0){ _arg1 = (_arg1 + (_arg2 * FlxG.elapsed)); } else { if (_arg3 != 0){ _local5 = (_arg3 * FlxG.elapsed); if ((_arg1 - _local5) > 0){ _arg1 = (_arg1 - _local5); } else { if ((_arg1 + _local5) < 0){ _arg1 = (_arg1 + _local5); } else { _arg1 = 0; }; }; }; }; if (((!((_arg1 == 0))) && (!((_arg4 == 10000))))){ if (_arg1 > _arg4){ _arg1 = _arg4; } else { if (_arg1 < -(_arg4)){ _arg1 = -(_arg4); }; }; }; return (_arg1); } static function setGameData(_arg1:uint, _arg2:uint, _arg3:Function, _arg4:Function, _arg5:Function, _arg6:Function, _arg7:Function, _arg8:Function):void{ _cache = new Object(); width = _arg1; height = _arg2; _muted = 1; _volume = 1; _musicVolume = 1; _masterVolume = 0.5; _musicPosition = -1; mouse = new Point(); _switchState = _arg3; _log = _arg4; _quake = _arg5; _flash = _arg6; _fade = _arg7; _setCursor = _arg8; unfollow(); _keys = new Array(); _oldKeys = new Array(); var _local9:uint; while (_local9 < 7) { _keys.push(0); _oldKeys.push(0); _local9++; }; FlxG.levels = new Array(); FlxG.scores = new Array(); level = 0; score = 0; } public static function stopMusic():void{ _musicPosition = 0; if (_musicChannel != null){ _musicChannel.stop(); _musicChannel = null; }; } public static function justReleased(_arg1:uint):Boolean{ return ((_keys[_arg1] == -1)); } public static function playMusic():void{ if (_musicPosition < 0){ return; }; if (_musicPosition == 0){ if (_musicChannel == null){ _musicChannel = _music.play(0, 9999, new SoundTransform((((_muted * _volume) * _musicVolume) * _masterVolume))); }; } else { _musicChannel = _music.play(_musicPosition, 0, new SoundTransform((((_muted * _volume) * _musicVolume) * _masterVolume))); _musicChannel.addEventListener(Event.SOUND_COMPLETE, loopMusic); }; _musicPosition = 0; } public static function createBitmap(_arg1:uint, _arg2:uint, _arg3:uint):BitmapData{ var _local4:String = ((((_arg1 + "x") + _arg2) + ":") + _arg3); if ((((_cache[_local4] == undefined)) || ((_cache[_local4] == null)))){ _cache[_local4] = new BitmapData(_arg1, _arg2, true, _arg3); }; return (_cache[_local4]); } public static function log(_arg1:String):void{ _log(_arg1); } static function pressKey(_arg1:uint):void{ if (_keys[_arg1] > 0){ _keys[_arg1] = 1; } else { _keys[_arg1] = 2; }; } public static function setCursor(_arg1:Class):void{ _setCursor(_arg1); } static function updateKeys():void{ var _local1:uint; while (_local1 < 7) { if ((((_oldKeys[_local1] == -1)) && ((_keys[_local1] == -1)))){ _keys[_local1] = 0; } else { if ((((_oldKeys[_local1] == 2)) && ((_keys[_local1] == 2)))){ _keys[_local1] = 1; }; }; _oldKeys[_local1] = _keys[_local1]; _local1++; }; mouse.x = (state.mouseX - scroll.x); mouse.y = (state.mouseY - scroll.y); } public static function getMusicVolume():Number{ return (_musicVolume); } static function unfollow():void{ followTarget = null; followLead = null; followLerp = 1; followMin = null; followMax = null; scroll = new Point(); _scrollTarget = new Point(); } public static function getMute():Boolean{ if (_muted == 0){ return (true); }; return (false); } public static function justPressed(_arg1:uint):Boolean{ return ((_keys[_arg1] == 2)); } private static function adjustMusicVolume():void{ if (_muted < 0){ _muted = 0; } else { if (_muted > 1){ _muted = 1; }; }; if (_volume < 0){ _volume = 0; } else { if (_volume > 1){ _volume = 1; }; }; if (_musicVolume < 0){ _musicVolume = 0; } else { if (_musicVolume > 1){ _musicVolume = 1; }; }; if (_masterVolume < 0){ _masterVolume = 0; } else { if (_masterVolume > 1){ _masterVolume = 1; }; }; if (_musicChannel != null){ _musicChannel.soundTransform = new SoundTransform((((_muted * _volume) * _musicVolume) * _masterVolume)); }; } static function getMasterVolume():Number{ return (_masterVolume); } public static function followAdjust(_arg1:Number=0, _arg2:Number=0):void{ followLead = new Point(_arg1, _arg2); } public static function setMute(_arg1:Boolean):void{ if (_arg1){ _muted = 0; } else { _muted = 1; }; adjustMusicVolume(); } public static function follow(_arg1:FlxCore, _arg2:Number=1):void{ followTarget = _arg1; followLerp = _arg2; scroll.x = (_scrollTarget.x = (((width >> 1) - followTarget.x) - (followTarget.width >> 1))); scroll.y = (_scrollTarget.y = (((height >> 1) - followTarget.y) - (followTarget.height >> 1))); } public static function fade(_arg1:uint, _arg2:Number=1, _arg3:Function=null):void{ _fade(_arg1, _arg2, _arg3); } public static function switchState(_arg1:Class):void{ _switchState(_arg1); } public static function openURL(_arg1:String):void{ navigateToURL(new URLRequest(_arg1)); } static function setMasterVolume(_arg1:Number):void{ _masterVolume = _arg1; adjustMusicVolume(); } public static function pauseMusic():void{ if (_musicChannel == null){ _musicPosition = -1; return; }; _musicPosition = _musicChannel.position; _musicChannel.stop(); while (_musicPosition >= _music.length) { _musicPosition = (_musicPosition - _music.length); }; _musicChannel = null; } public static function followBounds(_arg1:int=0, _arg2:int=0, _arg3:int=0, _arg4:int=0):void{ followMin = new Point(-(_arg1), -(_arg2)); followMax = new Point((-(_arg3) + width), (-(_arg4) + height)); if (followMax.x > followMin.x){ followMax.x = followMin.x; }; if (followMax.y > followMin.y){ followMax.y = followMin.y; }; } public static function quake(_arg1:Number, _arg2:Number=0.5):void{ _quake(_arg1, _arg2); } public static function setMusicVolume(_arg1:Number):void{ _musicVolume = _arg1; adjustMusicVolume(); } public static function setMusic(_arg1:Class, _arg2:Number=1, _arg3:Boolean=true):void{ stopMusic(); _music = new (_arg1); _musicVolume = _arg2; if (_arg3){ playMusic(); }; } static function releaseKey(_arg1:uint):void{ if (_keys[_arg1] > 0){ _keys[_arg1] = -1; } else { _keys[_arg1] = 0; }; } private static function loopMusic(_arg1:Event=null):void{ if (_musicChannel == null){ return; }; _musicChannel.removeEventListener(Event.SOUND_COMPLETE, loopMusic); playMusic(); } public static function resetKeys():void{ kUp = (kDown = (kLeft = (kRight = (kA = (kB = (kMouse = false)))))); var _local1:uint; while (_local1 < _keys.length) { _keys[_local1] = 0; _local1++; }; } public static function flash(_arg1:uint, _arg2:Number=1):void{ _flash(_arg1, _arg2); } public static function rotatePoint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number):Point{ var _local6:Number = ((-(_arg5) / 180) * Math.PI); var _local7:Number = (_arg1 - _arg3); var _local8:Number = (_arg4 - _arg2); return (new Point(((_arg3 + (Math.cos(_local6) * _local7)) - (Math.sin(_local6) * _local8)), (_arg4 - ((Math.sin(_local6) * _local7) + (Math.cos(_local6) * _local8))))); } } }//package com.adamatomic.flixel
Section 63
//FlxGame (com.adamatomic.flixel.FlxGame) package com.adamatomic.flixel { import flash.events.*; import com.adamatomic.flixel.data.*; import flash.display.*; import flash.geom.*; import flash.text.*; import flash.media.*; import flash.ui.*; import flash.utils.*; public class FlxGame extends Sprite { private const MAX_CONSOLE_LINES:uint = 0x0100; private const MAX_ELAPSED:Number = 0.0333; private var _bmpFront:Bitmap; private var ImgKeyC:Class; protected var hideLogo:Boolean; private var _FPS:Array; private var _flashDelay:Number; private var ImgKeyMinus:Class; private var SndBeep:Class; private var _console:Sprite; private var ImgKeyX:Class; private var _logoFade:Bitmap; private var _help:Array; private var _consoleYT:Number; private var _quakeIntensity:Number; private var _elapsed:Number; private var _consoleY:Number; private var _flipped:Boolean; private var _total:uint; private var _soundTrayBars:Array; private var junk:String;// = "FlxGame_junk" private var ImgKeyMouse:Class; private var _paused:Boolean; private var _focusPopup:Sprite; private var _quakeTimer:Number; private var _fade:Bitmap; private var _fc:uint; private var _buffer:Sprite; private var _poweredBy:Bitmap; private var _consoleText:TextField; private var _fSound:Class; private var _soundTray:Sprite; private var _frame:Class; private var _cursor:Bitmap; private var ImgKeyPlus:Class; private var ImgPoweredBy:Class; private var _soundTrayTimer:Number; private var SndFlixel:Class; private var _gy:int; private var _fpsUpdate:Boolean; private var _gx:int; private var _curState:FlxState; private var ImgKeysArrows:Class; private var _curFPS:uint; private var _created:Boolean; private var _focusField:TextField; private var _consoleFPS:TextField; private var _fadeComplete:Function; private var _iState:Class; private var _bmpBack:Bitmap; private var _consoleLines:Array; private var _logoTimer:Number; private var _quakeLength:Number; private var _logoComplete:Boolean; private var _f:FlxArray; private var _fadeHelper:Number; private var _fadeDelay:Number; private var ImgKey0:Class; private var ImgKey1:Class; private var _flash:Bitmap; private var _z:uint; private var _bgc:Number; public function FlxGame(_arg1:uint, _arg2:uint, _arg3:Class, _arg4:uint=2, _arg5:Number=4278190080, _arg6:Number=4294967295, _arg7:Class=null, _arg8:Class=null, _arg9:uint=0, _arg10:uint=0){ ImgPoweredBy = FlxGame_ImgPoweredBy; ImgKeyX = FlxGame_ImgKeyX; ImgKeyC = FlxGame_ImgKeyC; ImgKeyMouse = FlxGame_ImgKeyMouse; ImgKeysArrows = FlxGame_ImgKeysArrows; ImgKeyMinus = FlxGame_ImgKeyMinus; ImgKeyPlus = FlxGame_ImgKeyPlus; ImgKey0 = FlxGame_ImgKey0; ImgKey1 = FlxGame_ImgKey1; SndBeep = FlxGame_SndBeep; SndFlixel = FlxGame_SndFlixel; super(); _z = _arg4; _gx = _arg9; _gy = _arg10; _bgc = _arg5; _fc = _arg6; FlxG.setGameData(_arg1, _arg2, switchState, log, quake, flash, fade, setCursor); _created = false; addEventListener(Event.ENTER_FRAME, onEnterFrame); _elapsed = 0; _total = 0; _fpsUpdate = true; Mouse.hide(); _logoComplete = false; _f = null; _quakeTimer = 0; _quakeIntensity = 0; _quakeLength = 0; if (_arg7 == null){ _fSound = SndFlixel; } else { _fSound = _arg7; }; _curState = null; _frame = _arg8; _iState = _arg3; _FPS = new Array(8); _curFPS = 0; _paused = false; _help = new Array(); _help.push("A Button"); _help.push("B Button"); _help.push("Mouse"); _help.push("Move"); hideLogo = false; } private function onFocus(_arg1:FocusEvent=null):void{ Mouse.hide(); _focusPopup.visible = false; FlxG.resetKeys(); _paused = false; FlxG.playMusic(); } private function log(_arg1:String):void{ var _local2:String; var _local3:uint; if (_arg1 == null){ _arg1 = "ERROR: NULL GAME LOG MESSAGE"; }; if (_console == null){ trace(_arg1); return; }; _consoleLines.push(_arg1); if (_consoleLines.length > MAX_CONSOLE_LINES){ _consoleLines.shift(); _local2 = ""; _local3 = 0; while (_local3 < _consoleLines.length) { _local2 = (_local2 + (_consoleLines[_local3] + "\n")); _local3++; }; _consoleText.text = _local2; } else { _consoleText.appendText((_arg1 + "\n")); }; _consoleText.scrollV = _consoleText.height; } private function setCursor(_arg1:Class):void{ if (_cursor != null){ _buffer.removeChild(_cursor); }; _cursor = (_buffer.addChild(new (_arg1)) as Bitmap); } protected function help(_arg1:String=null, _arg2:String=null, _arg3:String=null, _arg4:String=null):void{ if (_arg1 != null){ _help[0] = _arg1; }; if (_arg2 != null){ _help[1] = _arg2; }; if (_arg3 != null){ _help[2] = _arg3; }; if (_arg4 != null){ _help[3] = _arg4; }; } private function toggleConsole():void{ if (_consoleYT == (_gy * _z)){ _consoleYT = ((_gy * _z) - (FlxG.height * _z)); } else { _consoleYT = (_gy * _z); _console.visible = true; }; } private function showSoundTray():void{ FlxG.play(SndBeep); _soundTrayTimer = 1; _soundTray.y = (_gy * _z); _soundTray.visible = true; var _local1:uint = Math.round((FlxG.getMasterVolume() * 10)); if (FlxG.getMute()){ _local1 = 0; }; var _local2:uint; while (_local2 < _soundTrayBars.length) { if (_local2 < _local1){ _soundTrayBars[_local2].alpha = 1; } else { _soundTrayBars[_local2].alpha = 0.5; }; _local2++; }; } private function fade(_arg1:uint, _arg2:Number=1, _arg3:Function=null):void{ if (_arg1 == 0){ _fade.visible = false; return; }; _fade.bitmapData.fillRect(new Rectangle(0, 0, _fade.width, _fade.height), _arg1); _fadeDelay = _arg2; _fadeComplete = _arg3; _fadeHelper = 0; _fade.alpha = 0; _fade.visible = true; } private function onMouseUp(_arg1:MouseEvent):void{ FlxG.kMouse = false; FlxG.releaseKey(6); } private function onKeyUp(_arg1:KeyboardEvent):void{ var _local2:String = String.fromCharCode(_arg1.charCode); if (_arg1.keyCode == 37){ FlxG.kLeft = false; FlxG.releaseKey(0); } else { if (_arg1.keyCode == 39){ FlxG.kRight = false; FlxG.releaseKey(1); } else { if (_arg1.keyCode == 38){ FlxG.kUp = false; FlxG.releaseKey(2); } else { if (_arg1.keyCode == 40){ FlxG.kDown = false; FlxG.releaseKey(3); } else { if ((((_local2 == "x")) || ((_local2 == "X")))){ FlxG.kA = false; FlxG.releaseKey(4); } else { if ((((_local2 == "c")) || ((_local2 == "C")))){ FlxG.kB = false; FlxG.releaseKey(5); } else { if ((((_local2 == "0")) || ((_local2 == ")")))){ FlxG.setMute(!(FlxG.getMute())); showSoundTray(); } else { if ((((_local2 == "-")) || ((_local2 == "_")))){ FlxG.setMute(false); FlxG.setMasterVolume((FlxG.getMasterVolume() - 0.1)); showSoundTray(); } else { if ((((_local2 == "+")) || ((_local2 == "=")))){ FlxG.setMute(false); FlxG.setMasterVolume((FlxG.getMasterVolume() + 0.1)); showSoundTray(); } else { if ((((((((_local2 == "1")) || ((_local2 == "!")))) || ((_local2 == "~")))) || ((_local2 == "`")))){ toggleConsole(); }; }; }; }; }; }; }; }; }; }; } private function onEnterFrame(_arg1:Event):void{ var _local2:uint; var _local4:uint; var _local5:Bitmap; var _local6:uint; var _local7:uint; var _local8:int; var _local9:int; var _local10:ColorTransform; var _local11:TextField; var _local12:Bitmap; var _local13:uint; var _local14:uint; var _local15:Bitmap; var _local3:uint = getTimer(); _elapsed = ((_local3 - _total) / 1000); _total = _local3; FlxG.elapsed = _elapsed; if (FlxG.elapsed > MAX_ELAPSED){ FlxG.elapsed = MAX_ELAPSED; }; if (_logoComplete){ if (_soundTrayTimer > 0){ _soundTrayTimer = (_soundTrayTimer - _elapsed); } else { if (_soundTray.y > -(_soundTray.height)){ _soundTray.y = (_soundTray.y - ((_elapsed * FlxG.height) * 2)); if (_soundTray.y < -(_soundTray.height)){ _soundTray.visible = false; }; }; }; if (_console.visible){ _FPS[_curFPS] = (1 / _elapsed); if (++_curFPS >= _FPS.length){ _curFPS = 0; }; _fpsUpdate = !(_fpsUpdate); if (_fpsUpdate){ _local4 = 0; _local2 = 0; while (_local2 < _FPS.length) { _local4 = (_local4 + _FPS[_local2]); _local2++; }; _consoleFPS.text = (Math.floor((_local4 / _FPS.length)) + " fps"); }; }; if (_consoleY < _consoleYT){ _consoleY = (_consoleY + ((FlxG.height * 10) * _elapsed)); } else { if (_consoleY > _consoleYT){ _consoleY = (_consoleY - ((FlxG.height * 10) * _elapsed)); }; }; if (_consoleY > (_gy * _z)){ _consoleY = (_gy * _z); } else { if (_consoleY < ((_gy * _z) - (FlxG.height * _z))){ _consoleY = ((_gy * _z) - (FlxG.height * _z)); _console.visible = false; }; }; _console.y = Math.floor(_consoleY); if (!_paused){ FlxG.updateKeys(); if (_cursor != null){ _cursor.x = (FlxG.mouse.x + FlxG.scroll.x); _cursor.y = (FlxG.mouse.y + FlxG.scroll.y); }; FlxG.doFollow(); _curState.update(); if (_quakeTimer > 0){ _quakeTimer = (_quakeTimer + _elapsed); if (_quakeTimer > _quakeLength){ _quakeTimer = 0; _buffer.x = 0; _buffer.y = 0; } else { _buffer.x = (((((Math.random() * _quakeIntensity) * FlxG.width) * 2) - (_quakeIntensity * FlxG.width)) * _z); _buffer.y = (((((Math.random() * _quakeIntensity) * FlxG.height) * 2) - (_quakeIntensity * FlxG.height)) * _z); }; }; if (_flash.visible){ _flash.alpha = (_flash.alpha - (_elapsed / _flashDelay)); if (_flash.alpha <= 0){ _flash.visible = false; }; }; if (((_fade.visible) && (!((_fade.alpha == 1))))){ _fadeHelper = (_fadeHelper + (_elapsed / _fadeDelay)); _fade.alpha = _fadeHelper; if (_fade.alpha >= 1){ _fade.alpha = 1; if (_fadeComplete != null){ _fadeComplete(); }; }; }; if (_flipped){ _bmpFront.bitmapData.fillRect(new Rectangle(0, 0, _bmpFront.width, _bmpFront.height), _bgc); FlxG.buffer = _bmpFront.bitmapData; } else { _bmpBack.bitmapData.fillRect(new Rectangle(0, 0, _bmpBack.width, _bmpBack.height), _bgc); FlxG.buffer = _bmpBack.bitmapData; }; _curState.render(); _bmpBack.visible = !((_bmpFront.visible = _flipped)); _flipped = !(_flipped); }; } else { if (_created){ if (hideLogo){ _logoComplete = true; switchState(_iState); } else { if (_f == null){ _f = new FlxArray(); _local6 = 1; if (FlxG.height > 200){ _local6 = 2; }; _local7 = (32 * _local6); _local8 = (((FlxG.height * _z) / 2) - (_local7 * 2)); _local9 = (((FlxG.width * _z) / 2) - _local7); _f.push((addChild(new FlxLogoPixel((_local9 + _local7), _local8, _local7, 0, _fc)) as FlxLogoPixel)); _f.push((addChild(new FlxLogoPixel(_local9, (_local8 + _local7), _local7, 1, _fc)) as FlxLogoPixel)); _f.push((addChild(new FlxLogoPixel(_local9, (_local8 + (_local7 * 2)), _local7, 2, _fc)) as FlxLogoPixel)); _f.push((addChild(new FlxLogoPixel((_local9 + _local7), (_local8 + (_local7 * 2)), _local7, 3, _fc)) as FlxLogoPixel)); _f.push((addChild(new FlxLogoPixel(_local9, (_local8 + (_local7 * 3)), _local7, 4, _fc)) as FlxLogoPixel)); _poweredBy = new ImgPoweredBy(); _poweredBy.scaleX = _local6; _poweredBy.scaleY = _local6; _poweredBy.x = (((FlxG.width * _z) / 2) - (_poweredBy.width / 2)); _poweredBy.y = ((_local8 + (_local7 * 4)) + 16); _local10 = new ColorTransform(); _local10.color = _fc; _poweredBy.bitmapData.colorTransform(new Rectangle(0, 0, _poweredBy.width, _poweredBy.height), _local10); addChild(_poweredBy); _logoFade = (addChild(new Bitmap(new BitmapData((FlxG.width * _z), (FlxG.height * _z), true, 4278190080))) as Bitmap); _logoFade.x = (_gx * _z); _logoFade.y = (_gy * _z); if (_fSound != null){ new _fSound().play(0, 0, new SoundTransform(0.35, 0)); }; }; _logoTimer = (_logoTimer + _elapsed); _local2 = 0; while (_local2 < _f.length) { _f[_local2].update(); _local2++; }; if (_logoFade.alpha > 0){ _logoFade.alpha = (_logoFade.alpha - (_elapsed * 0.5)); }; if (_logoTimer > 2){ removeChild(_poweredBy); _local2 = 0; while (_local2 < _f.length) { removeChild(_f[_local2]); _local2++; }; _f.clear(); removeChild(_logoFade); switchState(_iState); _logoComplete = true; }; }; } else { if (root != null){ stage.showDefaultContextMenu = false; stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; stage.frameRate = 90; _buffer = new Sprite(); _buffer.scaleX = _z; _buffer.scaleY = _z; addChild(_buffer); _bmpBack = new Bitmap(new BitmapData(FlxG.width, FlxG.height, true, _bgc)); _bmpBack.x = _gx; _bmpBack.y = _gy; _buffer.addChild(_bmpBack); _bmpFront = new Bitmap(new BitmapData(_bmpBack.width, _bmpBack.height, true, _bgc)); _bmpFront.x = _bmpBack.x; _bmpFront.y = _bmpBack.y; _buffer.addChild(_bmpFront); _flipped = false; _flash = new Bitmap(new BitmapData((FlxG.width * _z), (FlxG.height * _z))); _flash.x = (_gx * _z); _flash.y = (_gy * _z); _flash.visible = false; addChild(_flash); _fade = new Bitmap(new BitmapData((FlxG.width * _z), (FlxG.height * _z))); _fade.x = (_gx * _z); _fade.y = (_gy * _z); _fade.visible = false; addChild(_fade); _console = new Sprite(); _console.visible = false; _console.x = (_gx * _z); _console.y = ((_gy * _z) - (FlxG.height * _z)); _consoleYT = (_consoleY = _console.y); _local5 = new Bitmap(new BitmapData((FlxG.width * _z), (FlxG.height * _z), true, 2130706432)); _console.addChild(_local5); _consoleText = new TextField(); _consoleText.width = _local5.width; _consoleText.height = _local5.height; _consoleText.multiline = true; _consoleText.wordWrap = true; _consoleText.embedFonts = true; _consoleText.antiAliasType = AntiAliasType.NORMAL; _consoleText.gridFitType = GridFitType.PIXEL; _consoleText.defaultTextFormat = new TextFormat("system", 8, 0xFFFFFF); _console.addChild(_consoleText); _consoleFPS = new TextField(); _consoleFPS.width = _local5.width; _consoleFPS.height = 20; _consoleFPS.multiline = true; _consoleFPS.wordWrap = true; _consoleFPS.embedFonts = true; _consoleFPS.antiAliasType = AntiAliasType.NORMAL; _consoleFPS.gridFitType = GridFitType.PIXEL; _consoleFPS.defaultTextFormat = new TextFormat("system", 16, 0xFFFFFF, true, null, null, null, null, "right"); _console.addChild(_consoleFPS); _consoleLines = new Array(); addChild(_console); log("flixel v1.1"); log("---------------------------------------"); stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown); stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUp); stage.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown); stage.addEventListener(MouseEvent.MOUSE_UP, onMouseUp); _focusPopup = new Sprite(); _focusPopup.visible = false; if (FlxG.width > 160){ _focusPopup.scaleX = 2; _focusPopup.scaleY = 2; }; _focusPopup.x = ((_gx * _z) + (8 * _z)); _focusPopup.y = ((_gy * _z) + ((FlxG.height * _z) / 4)); _local5 = new Bitmap(new BitmapData(160, 100, true, 3204448256)); _focusPopup.x = (((_gx + (FlxG.width / 2)) * _z) - ((_local5.width / 2) * _focusPopup.scaleX)); _focusPopup.y = (((_gy + (FlxG.height / 2)) * _z) - ((_local5.height / 2) * _focusPopup.scaleY)); _focusPopup.addChild(_local5); _local11 = new TextField(); _local11.width = _local5.width; _local11.height = 20; _local11.multiline = true; _local11.wordWrap = true; _local11.selectable = false; _local11.embedFonts = true; _local11.antiAliasType = AntiAliasType.NORMAL; _local11.gridFitType = GridFitType.PIXEL; _local11.defaultTextFormat = new TextFormat("system", 16, 0xFFFFFF, null, null, null, null, null, "center"); _local11.text = "GAME PAUSED"; _local11.y = 7; _focusPopup.addChild(_local11); _local12 = (_focusPopup.addChild(new ImgKeyX()) as Bitmap); _local12.x = 4; _local12.y = 36; _local12 = (_focusPopup.addChild(new ImgKeyC()) as Bitmap); _local12.x = 4; _local12.y = (36 + 14); _local12 = (_focusPopup.addChild(new ImgKeyMouse()) as Bitmap); _local12.x = 4; _local12.y = ((36 + 14) + 14); _local12 = (_focusPopup.addChild(new ImgKeysArrows()) as Bitmap); _local12.x = 4; _local12.y = (((36 + 14) + 14) + 14); _local12 = (_focusPopup.addChild(new ImgKeyMinus()) as Bitmap); _local12.x = 84; _local12.y = 36; _local12 = (_focusPopup.addChild(new ImgKeyPlus()) as Bitmap); _local12.x = 84; _local12.y = (36 + 14); _local12 = (_focusPopup.addChild(new ImgKey0()) as Bitmap); _local12.x = 84; _local12.y = ((36 + 14) + 14); _local12 = (_focusPopup.addChild(new ImgKey1()) as Bitmap); _local12.x = 84; _local12.y = (((36 + 14) + 14) + 14); _local11 = new TextField(); _local11.width = (_local5.width / 2); _local11.height = (_local5.height - 20); _local11.multiline = true; _local11.wordWrap = true; _local11.selectable = false; _local11.embedFonts = true; _local11.antiAliasType = AntiAliasType.NORMAL; _local11.gridFitType = GridFitType.PIXEL; _local11.defaultTextFormat = new TextFormat("system", 8, 0xFFFFFF, null, null, null, null, null, "left", null, null, null, 4); _local11.text = ""; _local2 = 0; while (_local2 < _help.length) { if (_local2 == (_help.length - 1)){ _local11.appendText(" "); }; if (_help[_local2] != null){ _local11.appendText(_help[_local2]); }; _local11.appendText("\n"); _local2++; }; _local11.x = 15; _local11.y = 35; _focusPopup.addChild(_local11); _local11 = new TextField(); _local11.width = (_local5.width / 2); _local11.height = (_local5.height - 20); _local11.multiline = true; _local11.wordWrap = true; _local11.selectable = false; _local11.embedFonts = true; _local11.antiAliasType = AntiAliasType.NORMAL; _local11.gridFitType = GridFitType.PIXEL; _local11.defaultTextFormat = new TextFormat("system", 8, 0xFFFFFF, null, null, null, null, null, "left", null, null, null, 4); _local11.text = "Sound up\nSound Down\nMute\nConsole"; _local11.x = 95; _local11.y = 35; _focusPopup.addChild(_local11); addChild(_focusPopup); _soundTray = new Sprite(); _soundTray.visible = false; _soundTray.scaleX = 2; _soundTray.scaleY = 2; _local5 = new Bitmap(new BitmapData(80, 30, true, 2130706432)); _soundTray.x = (((_gx + (FlxG.width / 2)) * _z) - ((_local5.width / 2) * _soundTray.scaleX)); _soundTray.addChild(_local5); _local11 = new TextField(); _local11.width = _local5.width; _local11.height = _local5.height; _local11.multiline = true; _local11.wordWrap = true; _local11.selectable = false; _local11.embedFonts = true; _local11.antiAliasType = AntiAliasType.NORMAL; _local11.gridFitType = GridFitType.PIXEL; _local11.defaultTextFormat = new TextFormat("system", 8, 0xFFFFFF, null, null, null, null, null, "center"); _soundTray.addChild(_local11); _local11.text = "VOLUME"; _local11.y = 16; _local13 = 10; _local14 = 14; _soundTrayBars = new Array(); _local2 = 0; while (_local2 < 10) { _local5 = new Bitmap(new BitmapData(4, (_local2 + 1), false, 0xFFFFFF)); _local5.x = _local13; _local5.y = _local14; _soundTrayBars.push(_soundTray.addChild(_local5)); _local13 = (_local13 + 6); _local14--; _local2++; }; addChild(_soundTray); _focusField = new TextField(); _focusField.width = (FlxG.width * _z); _focusField.height = (FlxG.height * _z); _focusField.selectable = false; addChild(_focusField); _focusField.addEventListener(FocusEvent.FOCUS_IN, onFocus); _focusField.addEventListener(FocusEvent.FOCUS_OUT, onFocusLost); if (_frame != null){ _local15 = new _frame(); _local15.scaleX = _z; _local15.scaleY = _z; addChild(_local15); }; _created = true; _logoTimer = 0; }; }; }; } private function switchState(_arg1:Class):void{ FlxG.unfollow(); FlxG.resetKeys(); _quakeTimer = 0; _buffer.x = 0; _buffer.y = 0; if (_cursor != null){ _buffer.removeChild(_cursor); _cursor = null; }; var _local2:FlxState = new (_arg1); _buffer.addChild(_local2); if (_curState != null){ _buffer.swapChildren(_local2, _curState); _buffer.removeChild(_curState); _curState.destroy(); }; _fade.visible = false; _curState = _local2; } private function onMouseDown(_arg1:MouseEvent):void{ FlxG.kMouse = true; FlxG.pressKey(6); } private function onKeyDown(_arg1:KeyboardEvent):void{ var _local2:String = String.fromCharCode(_arg1.charCode); if (_arg1.keyCode == 37){ FlxG.kLeft = true; FlxG.pressKey(0); } else { if (_arg1.keyCode == 39){ FlxG.kRight = true; FlxG.pressKey(1); } else { if (_arg1.keyCode == 38){ FlxG.kUp = true; FlxG.pressKey(2); } else { if (_arg1.keyCode == 40){ FlxG.kDown = true; FlxG.pressKey(3); } else { if ((((_local2 == "x")) || ((_local2 == "X")))){ FlxG.kA = true; FlxG.pressKey(4); } else { if ((((_local2 == "c")) || ((_local2 == "C")))){ FlxG.kB = true; FlxG.pressKey(5); }; }; }; }; }; }; } private function quake(_arg1:Number, _arg2:Number=0.5):void{ _quakeIntensity = _arg1; _quakeLength = _arg2; _quakeTimer = 0.01; } private function flash(_arg1:uint, _arg2:Number=1):void{ if (_arg1 == 0){ _flash.visible = false; return; }; _flash.bitmapData.fillRect(new Rectangle(0, 0, _flash.width, _flash.height), _arg1); _flashDelay = _arg2; _flash.alpha = 1; _flash.visible = true; } private function onFocusLost(_arg1:FocusEvent=null):void{ Mouse.show(); _focusPopup.visible = true; _paused = true; FlxG.pauseMusic(); } } }//package com.adamatomic.flixel
Section 64
//FlxGame_ImgKey0 (com.adamatomic.flixel.FlxGame_ImgKey0) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_ImgKey0 extends BitmapAsset { } }//package com.adamatomic.flixel
Section 65
//FlxGame_ImgKey1 (com.adamatomic.flixel.FlxGame_ImgKey1) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_ImgKey1 extends BitmapAsset { } }//package com.adamatomic.flixel
Section 66
//FlxGame_ImgKeyC (com.adamatomic.flixel.FlxGame_ImgKeyC) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_ImgKeyC extends BitmapAsset { } }//package com.adamatomic.flixel
Section 67
//FlxGame_ImgKeyMinus (com.adamatomic.flixel.FlxGame_ImgKeyMinus) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_ImgKeyMinus extends BitmapAsset { } }//package com.adamatomic.flixel
Section 68
//FlxGame_ImgKeyMouse (com.adamatomic.flixel.FlxGame_ImgKeyMouse) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_ImgKeyMouse extends BitmapAsset { } }//package com.adamatomic.flixel
Section 69
//FlxGame_ImgKeyPlus (com.adamatomic.flixel.FlxGame_ImgKeyPlus) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_ImgKeyPlus extends BitmapAsset { } }//package com.adamatomic.flixel
Section 70
//FlxGame_ImgKeysArrows (com.adamatomic.flixel.FlxGame_ImgKeysArrows) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_ImgKeysArrows extends BitmapAsset { } }//package com.adamatomic.flixel
Section 71
//FlxGame_ImgKeyX (com.adamatomic.flixel.FlxGame_ImgKeyX) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_ImgKeyX extends BitmapAsset { } }//package com.adamatomic.flixel
Section 72
//FlxGame_ImgPoweredBy (com.adamatomic.flixel.FlxGame_ImgPoweredBy) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_ImgPoweredBy extends BitmapAsset { } }//package com.adamatomic.flixel
Section 73
//FlxGame_junk (com.adamatomic.flixel.FlxGame_junk) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_junk extends FontAsset { } }//package com.adamatomic.flixel
Section 74
//FlxGame_SndBeep (com.adamatomic.flixel.FlxGame_SndBeep) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_SndBeep extends SoundAsset { } }//package com.adamatomic.flixel
Section 75
//FlxGame_SndFlixel (com.adamatomic.flixel.FlxGame_SndFlixel) package com.adamatomic.flixel { import mx.core.*; public class FlxGame_SndFlixel extends SoundAsset { } }//package com.adamatomic.flixel
Section 76
//FlxSprite (com.adamatomic.flixel.FlxSprite) package com.adamatomic.flixel { import com.adamatomic.flixel.data.*; import flash.display.*; import flash.geom.*; public class FlxSprite extends FlxCore { public var acceleration:Point; public var angularAcceleration:Number; private var _animations:FlxArray; public var offset:Point; public var pixels:BitmapData; private var _curAnim:FlxAnim; public var drag:Point; public var angularDrag:Number; private var _flipped:uint; private var _pixels:BitmapData; public var angle:Number; public var thrust:Number; public var maxThrust:Number; public var velocity:Point; public var maxAngular:Number; public var angularVelocity:Number; public var maxVelocity:Point; public var facingRight:Boolean; public var health:Number; private var _bh:uint; private var _p:Point; public var finished:Boolean; private var _r:Rectangle; private var _bw:uint; private var _frameTimer:Number; private var _curFrame:uint; public function FlxSprite(_arg1:Class=null, _arg2:int=0, _arg3:int=0, _arg4:Boolean=false, _arg5:Boolean=false, _arg6:uint=0, _arg7:uint=0, _arg8:uint=0){ if (_arg1 == null){ pixels = FlxG.createBitmap(_arg6, _arg7, _arg8); } else { pixels = FlxG.addBitmap(_arg1, _arg5); }; x = _arg2; y = _arg3; if (_arg6 == 0){ if (_arg4){ _arg6 = pixels.height; } else { _arg6 = pixels.width; }; }; width = (_bw = _arg6); height = (_bh = pixels.height); offset = new Point(); velocity = new Point(); acceleration = new Point(); drag = new Point(); maxVelocity = new Point(10000, 10000); angle = 0; angularVelocity = 0; angularAcceleration = 0; angularDrag = 0; maxAngular = 10000; thrust = 0; finished = false; facingRight = true; _animations = new FlxArray(); if (_arg5){ _flipped = (pixels.width >> 1); } else { _flipped = 0; }; _curAnim = null; _curFrame = 0; _frameTimer = 0; _p = new Point(x, y); _r = new Rectangle(0, 0, _bw, _bh); if (_arg4){ _pixels = new BitmapData(width, height); _pixels.copyPixels(pixels, _r, new Point()); } else { _pixels = null; }; health = 1; } override protected function getScreenXY(_arg1:Point):void{ _arg1.x = (Math.floor((x - offset.x)) + Math.floor((FlxG.scroll.x * scrollFactor.x))); _arg1.y = (Math.floor((y - offset.y)) + Math.floor((FlxG.scroll.y * scrollFactor.y))); } public function hurt(_arg1:Number):void{ if ((health = (health - _arg1)) <= 0){ kill(); }; } override public function render():void{ var _local1:Matrix; if (!visible){ return; }; getScreenXY(_p); if (angle != 0){ _local1 = new Matrix(); _local1.translate(-((_bw >> 1)), -((_bh >> 1))); _local1.rotate(((Math.PI * 2) * (angle / 360))); _local1.translate((_p.x + (_bw >> 1)), (_p.y + (_bh >> 1))); if (_pixels != null){ FlxG.buffer.draw(_pixels, _local1); } else { FlxG.buffer.draw(pixels, _local1); }; return; } else { if (_pixels != null){ FlxG.buffer.copyPixels(_pixels, _r, _p, null, null, true); } else { FlxG.buffer.copyPixels(pixels, _r, _p, null, null, true); }; }; } private function calcFrame():void{ if (_curAnim == null){ return; }; var _local1:uint = (_curAnim.frames[_curFrame] * _bw); if (((!(facingRight)) && ((_flipped > 0)))){ _local1 = (((_flipped << 1) - _local1) - _bw); }; _pixels.copyPixels(pixels, new Rectangle(_local1, 0, _bw, _bh), new Point()); } public function facing(_arg1:Boolean):void{ facingRight = _arg1; calcFrame(); } override public function hitCeiling():Boolean{ velocity.y = 0; return (true); } override public function hitFloor():Boolean{ velocity.y = 0; return (true); } public function play(_arg1:String, _arg2:Boolean=false):void{ if (((((!(_arg2)) && (!((_curAnim == null))))) && ((_arg1 == _curAnim.name)))){ return; }; _curFrame = 0; _frameTimer = 0; var _local3:uint; while (_local3 < _animations.length) { if (_animations[_local3].name == _arg1){ finished = false; _curAnim = _animations[_local3]; calcFrame(); return; }; _local3++; }; } override public function update():void{ var _local1:Point; var _local2:Point; super.update(); if (!active){ return; }; if (((((!((_curAnim == null))) && ((_curAnim.delay > 0)))) && (((_curAnim.looped) || (!(finished)))))){ _frameTimer = (_frameTimer + FlxG.elapsed); if (_frameTimer > _curAnim.delay){ _frameTimer = (_frameTimer - _curAnim.delay); if (_curFrame == (_curAnim.frames.length - 1)){ if (_curAnim.looped){ _curFrame = 0; }; finished = true; } else { _curFrame++; }; calcFrame(); }; }; angle = (angle + ((angularVelocity = FlxG.computeVelocity(angularVelocity, angularAcceleration, angularDrag, maxAngular)) * FlxG.elapsed)); if (thrust != 0){ _local1 = FlxG.rotatePoint(-(thrust), 0, 0, 0, angle); _local2 = FlxG.rotatePoint(-(maxThrust), 0, 0, 0, angle); maxVelocity.x = Math.abs(_local2.x); maxVelocity.y = Math.abs(_local2.y); } else { _local1 = new Point(); }; x = (x + ((velocity.x = FlxG.computeVelocity(velocity.x, (acceleration.x + _local1.x), drag.x, maxVelocity.x)) * FlxG.elapsed)); y = (y + ((velocity.y = FlxG.computeVelocity(velocity.y, (acceleration.y + _local1.y), drag.y, maxVelocity.y)) * FlxG.elapsed)); } public function addAnimation(_arg1:String, _arg2:Array, _arg3:Number=0, _arg4:Boolean=true):void{ _animations.add(new FlxAnim(_arg1, _arg2, _arg3, _arg4)); } public function randomFrame():void{ _pixels.copyPixels(pixels, new Rectangle((Math.floor((Math.random() * (pixels.width / _bw))) * _bw), 0, _bw, _bh), new Point()); } override public function overlapsPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean{ if (_arg3){ return (pixels.hitTest(new Point(0, 0), 0xFF, new Point(_arg1, _arg2))); }; if ((((((((_arg1 <= x)) || ((_arg1 >= (x + width))))) || ((_arg2 <= y)))) || ((_arg2 >= (y + height))))){ return (false); }; return (true); } override public function hitWall():Boolean{ velocity.x = 0; return (true); } public static function overlapArrays(_arg1:FlxArray, _arg2:FlxArray, _arg3:Function):void{ var _local4:uint; var _local5:FlxSprite; var _local6:FlxSprite; var _local7:uint; while (_local7 < _arg1.length) { _local5 = _arg1[_local7]; if (((!(_local5.exists)) || (_local5.dead))){ } else { _local4 = 0; while (_local4 < _arg2.length) { _local6 = _arg2[_local4]; if (((!(_local6.exists)) || (_local6.dead))){ } else { if (_local5.overlaps(_local6)){ _arg3(_local5, _local6); }; }; _local4++; }; }; _local7++; }; } public static function overlapArray(_arg1:FlxArray, _arg2:FlxSprite, _arg3:Function):void{ var _local4:FlxSprite; if (((!(_arg2.exists)) || (_arg2.dead))){ return; }; var _local5:uint; while (_local5 < _arg1.length) { _local4 = _arg1[_local5]; if (((!(_local4.exists)) || (_local4.dead))){ } else { if (_local4.overlaps(_arg2)){ _arg3(_local4, _arg2); }; }; _local5++; }; } } }//package com.adamatomic.flixel
Section 77
//FlxState (com.adamatomic.flixel.FlxState) package com.adamatomic.flixel { import com.adamatomic.flixel.data.*; import flash.display.*; public class FlxState extends Sprite { private var _children:FlxArray; public function FlxState(){ FlxG.state = this; _children = new FlxArray(); } public function add(_arg1:FlxCore):FlxCore{ return ((_children.add(_arg1) as FlxCore)); } public function render():void{ var _local1:uint; while (_local1 < _children.length) { if (((_children[_local1].exists) && (_children[_local1].visible))){ _children[_local1].render(); }; _local1++; }; } public function update():void{ var _local1:uint; while (_local1 < _children.length) { if (((_children[_local1].exists) && (_children[_local1].active))){ _children[_local1].update(); }; _local1++; }; } public function destroy():void{ _children.clear(); } } }//package com.adamatomic.flixel
Section 78
//FlxText (com.adamatomic.flixel.FlxText) package com.adamatomic.flixel { import com.adamatomic.flixel.data.*; import flash.geom.*; import flash.text.*; public class FlxText extends FlxCore { private var _ox:Number; private var _oy:Number; private var _tf:TextField; private var _mtx:Matrix; public var angle:Number; private var _oa:Number; public function FlxText(_arg1:Number, _arg2:Number, _arg3:uint, _arg4:uint, _arg5:String, _arg6:uint=0, _arg7:String=null, _arg8:uint=8, _arg9:String=null, _arg10:Number=0){ _ox = (x = _arg1); _oy = (y = _arg2); _oa = (angle = _arg10); width = _arg3; height = _arg4; if (_arg7 == null){ _arg7 = "system"; }; if (_arg5 == null){ _arg5 = ""; }; _tf = new TextField(); _tf.width = width; _tf.height = height; _tf.embedFonts = true; _tf.selectable = false; _tf.sharpness = 100; _tf.defaultTextFormat = new TextFormat(_arg7, _arg8, _arg6, null, null, null, null, null, _arg9); _tf.text = _arg5; _mtx = new Matrix(); _mtx.translate(-((width >> 1)), -((height >> 1))); _mtx.rotate(((Math.PI * 2) * (angle / 360))); _mtx.translate((Math.floor(x) + (width >> 1)), (Math.floor(y) + (height >> 1))); } public function setColor(_arg1:uint):void{ var _local2:TextFormat = _tf.defaultTextFormat; _local2.color = _arg1; _tf.defaultTextFormat = _local2; _tf.text = _tf.text; } public function setText(_arg1:String):void{ _tf.text = _arg1; } override public function update():void{ super.update(); var _local1:Point = new Point(); getScreenXY(_local1); if (((((!((_ox == _local1.x))) || (!((_oy == _local1.y))))) || (!((_oa == angle))))){ _mtx = new Matrix(); _mtx.translate(-((width >> 1)), -((height >> 1))); _mtx.rotate(((Math.PI * 2) * (angle / 360))); _mtx.translate((_local1.x + (width >> 1)), (_local1.y + (height >> 1))); _ox = _local1.x; _oy = _local1.y; }; } override public function render():void{ FlxG.buffer.draw(_tf, _mtx); } } }//package com.adamatomic.flixel
Section 79
//BitmapAsset (mx.core.BitmapAsset) package mx.core { import flash.display.*; public class BitmapAsset extends FlexBitmap implements IFlexAsset, IFlexDisplayObject { mx_internal static const VERSION:String = "3.0.0.0"; public function BitmapAsset(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } public function get measuredWidth():Number{ if (bitmapData){ return (bitmapData.width); }; return (0); } public function get measuredHeight():Number{ if (bitmapData){ return (bitmapData.height); }; return (0); } public function setActualSize(_arg1:Number, _arg2:Number):void{ width = _arg1; height = _arg2; } public function move(_arg1:Number, _arg2:Number):void{ this.x = _arg1; this.y = _arg2; } } }//package mx.core
Section 80
//FlexBitmap (mx.core.FlexBitmap) package mx.core { import flash.display.*; import mx.utils.*; public class FlexBitmap extends Bitmap { mx_internal static const VERSION:String = "3.0.0.0"; public function FlexBitmap(_arg1:BitmapData=null, _arg2:String="auto", _arg3:Boolean=false){ var bitmapData = _arg1; var pixelSnapping = _arg2; var smoothing = _arg3; super(bitmapData, pixelSnapping, smoothing); try { name = NameUtil.createUniqueName(this); } catch(e:Error) { }; } override public function toString():String{ return (NameUtil.displayObjectToString(this)); } } }//package mx.core
Section 81
//FontAsset (mx.core.FontAsset) package mx.core { import flash.text.*; public class FontAsset extends Font implements IFlexAsset { mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.core
Section 82
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 83
//IFlexDisplayObject (mx.core.IFlexDisplayObject) package mx.core { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.accessibility.*; public interface IFlexDisplayObject extends IBitmapDrawable, IEventDispatcher { function get visible():Boolean; function get rotation():Number; function localToGlobal(_arg1:Point):Point; function get name():String; function set width(_arg1:Number):void; function get measuredHeight():Number; function get blendMode():String; function get scale9Grid():Rectangle; function set name(_arg1:String):void; function set scaleX(_arg1:Number):void; function set scaleY(_arg1:Number):void; function get measuredWidth():Number; function get accessibilityProperties():AccessibilityProperties; function set scrollRect(_arg1:Rectangle):void; function get cacheAsBitmap():Boolean; function globalToLocal(_arg1:Point):Point; function get height():Number; function set blendMode(_arg1:String):void; function get parent():DisplayObjectContainer; function getBounds(_arg1:DisplayObject):Rectangle; function get opaqueBackground():Object; function set scale9Grid(_arg1:Rectangle):void; function setActualSize(_arg1:Number, _arg2:Number):void; function set alpha(_arg1:Number):void; function set accessibilityProperties(_arg1:AccessibilityProperties):void; function get width():Number; function hitTestPoint(_arg1:Number, _arg2:Number, _arg3:Boolean=false):Boolean; function set cacheAsBitmap(_arg1:Boolean):void; function get scaleX():Number; function get scaleY():Number; function get scrollRect():Rectangle; function get mouseX():Number; function get mouseY():Number; function set height(_arg1:Number):void; function set mask(_arg1:DisplayObject):void; function getRect(_arg1:DisplayObject):Rectangle; function get alpha():Number; function set transform(_arg1:Transform):void; function move(_arg1:Number, _arg2:Number):void; function get loaderInfo():LoaderInfo; function get root():DisplayObject; function hitTestObject(_arg1:DisplayObject):Boolean; function set opaqueBackground(_arg1:Object):void; function set visible(_arg1:Boolean):void; function get mask():DisplayObject; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function get transform():Transform; function set filters(_arg1:Array):void; function get x():Number; function get y():Number; function get filters():Array; function set rotation(_arg1:Number):void; function get stage():Stage; } }//package mx.core
Section 84
//IRepeaterClient (mx.core.IRepeaterClient) package mx.core { public interface IRepeaterClient { function get instanceIndices():Array; function set instanceIndices(_arg1:Array):void; function get isDocument():Boolean; function set repeaters(_arg1:Array):void; function initializeRepeaterArrays(_arg1:IRepeaterClient):void; function get repeaters():Array; function set repeaterIndices(_arg1:Array):void; function get repeaterIndices():Array; } }//package mx.core
Section 85
//mx_internal (mx.core.mx_internal) package mx.core { public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal"; }//package mx.core
Section 86
//SoundAsset (mx.core.SoundAsset) package mx.core { import flash.media.*; public class SoundAsset extends Sound implements IFlexAsset { mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.core
Section 87
//NameUtil (mx.utils.NameUtil) package mx.utils { import flash.display.*; import mx.core.*; import flash.utils.*; public class NameUtil { mx_internal static const VERSION:String = "3.0.0.0"; private static var counter:int = 0; public static function displayObjectToString(_arg1:DisplayObject):String{ var _local2:String; var _local4:String; var _local5:Array; var _local3:DisplayObject = _arg1; while (_local3 != null) { if (((((_local3.parent) && (_local3.stage))) && ((_local3.parent == _local3.stage)))){ break; }; _local4 = _local3.name; if ((_local3 is IRepeaterClient)){ _local5 = IRepeaterClient(_local3).instanceIndices; if (_local5){ _local4 = (_local4 + (("[" + _local5.join("][")) + "]")); }; }; _local2 = ((_local2 == null)) ? _local4 : ((_local4 + ".") + _local2); _local3 = _local3.parent; }; return (_local2); } public static function createUniqueName(_arg1:Object):String{ if (!_arg1){ return (null); }; var _local2:String = getQualifiedClassName(_arg1); var _local3:int = _local2.indexOf("::"); if (_local3 != -1){ _local2 = _local2.substr((_local3 + 2)); }; var _local4:int = _local2.charCodeAt((_local2.length - 1)); if ((((_local4 >= 48)) && ((_local4 <= 57)))){ _local2 = (_local2 + "_"); }; return ((_local2 + counter++)); } } }//package mx.utils
Section 88
//EEE (EEE) package { import com.adamatomic.flixel.*; import com.adamatomic.EEE.*; public class EEE extends FlxGame { private var junk:String;// = "EEE_junk" private var ImgBlock:Class; public function EEE():void{ var _local2:FlxArray; ImgBlock = EEE_ImgBlock; super(640, 480, MenuState, 1); help("Clench", "Clench", "Nothing"); hideLogo = true; var _local1:uint; _local2 = new FlxArray(); box(_local2); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(4, 4, 2, 2)); _local2.add(block(14, 8, 2, 2)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(5, 4, 10, 1)); _local2.add(block(5, 9, 10, 1)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(5, 4, 10, 1)); _local2.add(block(5, 9, 10, 1)); _local2.add(block(5, 5, 1, 2)); _local2.add(block(14, 7, 1, 2)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(1, 1, 3, 12)); _local2.add(block(16, 1, 3, 12)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(3, 3, 14, 1)); _local2.add(block(3, 4, 1, 2)); _local2.add(block(16, 4, 1, 2)); _local2.add(block(3, 8, 1, 2)); _local2.add(block(3, 10, 14, 1)); _local2.add(block(16, 8, 1, 2)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(1, 1, 2, 2)); _local2.add(block(17, 11, 2, 2)); _local1 = 2; while (_local1 < 6) { _local2.add(block((1 + _local1), (1 + _local1), 1, 1)); _local2.add(block((18 - _local1), (12 - _local1), 1, 1)); _local1++; }; FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(6, 1, 1, 6)); _local2.add(block(13, 7, 1, 6)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(3, 3, 5, 1)); _local2.add(block(3, 4, 1, 2)); _local2.add(block(12, 3, 5, 1)); _local2.add(block(16, 4, 1, 2)); _local2.add(block(3, 8, 1, 2)); _local2.add(block(3, 10, 5, 1)); _local2.add(block(12, 10, 5, 1)); _local2.add(block(16, 8, 1, 2)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local1 = 0; while (_local1 < 7) { _local2.add(block((12 + _local1), (1 + _local1), (7 - _local1), 1)); _local2.add(block(1, (6 + _local1), (_local1 + 1), 1)); _local1++; }; FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(1, 1, 2, 2)); _local2.add(block(1, 11, 2, 2)); _local2.add(block(17, 1, 2, 2)); _local2.add(block(17, 11, 2, 2)); _local1 = 2; while (_local1 < 5) { _local2.add(block((1 + _local1), (1 + _local1), 1, 1)); _local2.add(block((18 - _local1), (1 + _local1), 1, 1)); _local2.add(block((18 - _local1), (12 - _local1), 1, 1)); _local2.add(block((1 + _local1), (12 - _local1), 1, 1)); _local1++; }; FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(2, 2, 2, 2)); _local2.add(block(9, 3, 2, 2)); _local2.add(block(16, 2, 2, 2)); _local2.add(block(2, 10, 2, 2)); _local2.add(block(9, 9, 2, 2)); _local2.add(block(16, 10, 2, 2)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(4, 1, 2, 4)); _local2.add(block(14, 1, 2, 4)); _local2.add(block(9, 9, 2, 4)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(3, 3, 1, 1)); _local2.add(block(6, 3, 1, 1)); _local2.add(block(9, 3, 2, 1)); _local2.add(block(13, 3, 1, 1)); _local2.add(block(16, 3, 1, 1)); _local2.add(block(3, 6, 1, 2)); _local2.add(block(16, 6, 1, 2)); _local2.add(block(3, 10, 1, 1)); _local2.add(block(6, 10, 1, 1)); _local2.add(block(9, 10, 2, 1)); _local2.add(block(13, 10, 1, 1)); _local2.add(block(16, 10, 1, 1)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local1 = 0; while (_local1 < 6) { _local2.add(block(1, (1 + _local1), (6 - _local1), 1)); _local2.add(block((13 + _local1), (1 + _local1), (6 - _local1), 1)); _local2.add(block(1, (7 + _local1), (_local1 + 1), 1)); _local2.add(block((18 - _local1), (7 + _local1), (_local1 + 1), 1)); _local1++; }; FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(1, 1, 18, 3)); _local2.add(block(1, 10, 18, 3)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local1 = 0; while (_local1 < 12) { _local2.add(block(1, (1 + _local1), (((12 - _local1))>1) ? (12 - _local1) : 2, 1)); _local1++; }; FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(3, 3, 6, 3)); _local2.add(block(11, 3, 6, 3)); _local2.add(block(3, 8, 6, 3)); _local2.add(block(11, 8, 6, 3)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(4, 4, 1, 5)); _local2.add(block(4, 9, 8, 1)); _local2.add(block(11, 10, 1, 3)); _local2.add(block(8, 1, 1, 3)); _local2.add(block(8, 4, 8, 1)); _local2.add(block(15, 5, 1, 5)); FlxG.levels.push(_local2); _local2 = new FlxArray(); box(_local2); _local2.add(block(1, 1, 3, 12)); _local2.add(block(16, 1, 3, 12)); _local2.add(block(6, 3, 2, 2)); _local2.add(block(12, 3, 2, 2)); _local2.add(block(6, 9, 2, 2)); _local2.add(block(12, 9, 2, 2)); FlxG.levels.push(_local2); FlxG.scores = new FlxArray(); FlxG.scores[0] = 0; _local1 = 1; while (_local1 < 9) { FlxG.scores[_local1] = false; _local1++; }; FlxG.scores[9] = 0; FlxG.scores[10] = 0; FlxG.scores[11] = 0; } private function box(_arg1:FlxArray):void{ _arg1.add(block(0, 0, 20, 1)); _arg1.add(block(0, 13, 20, 1)); _arg1.add(block(0, 1, 1, 12)); _arg1.add(block(19, 1, 1, 12)); } private function block(_arg1:int, _arg2:int, _arg3:int, _arg4:int):FlxBlock{ return (new FlxBlock((_arg1 * 32), ((_arg2 + 1) * 32), (_arg3 * 32), (_arg4 * 32), ImgBlock)); } } }//package
Section 89
//EEE_ImgBlock (EEE_ImgBlock) package { import mx.core.*; public class EEE_ImgBlock extends BitmapAsset { } }//package
Section 90
//EEE_junk (EEE_junk) package { import mx.core.*; public class EEE_junk extends FontAsset { } }//package
Section 91
//Preloader (Preloader) package { import com.adamatomic.flixel.data.*; public class Preloader extends FlxFactory { public function Preloader():void{ className = "EEE"; super(); } } }//package

Library Items

Symbol 1 Bitmap {com.adamatomic.flixel.data.FlxFactory_ImgBar}
Symbol 2 Bitmap {com.adamatomic.flixel.data.FlxFactory_ImgBit}
Symbol 3 Sound {com.adamatomic.flixel.FlxGame_SndBeep} [com.adamatomic.flixel.FlxGame_SndBeep]
Symbol 4 Sound {com.adamatomic.flixel.FlxGame_SndFlixel} [com.adamatomic.flixel.FlxGame_SndFlixel]
Symbol 5 Sound {com.adamatomic.EEE.MenuState_SndMusic} [com.adamatomic.EEE.MenuState_SndMusic]
Symbol 6 Sound {com.adamatomic.EEE.PlayState_SndMusic2} [com.adamatomic.EEE.PlayState_SndMusic2]
Symbol 7 Sound {com.adamatomic.EEE.PlayState_SndItem} [com.adamatomic.EEE.PlayState_SndItem]
Symbol 8 Sound {com.adamatomic.EEE.PlayState_SndMusic} [com.adamatomic.EEE.PlayState_SndMusic]
Symbol 9 Sound {com.adamatomic.EEE.PlayState_SndItem2} [com.adamatomic.EEE.PlayState_SndItem2]
Symbol 10 Sound {com.adamatomic.EEE.PlayState_SndSpeed} [com.adamatomic.EEE.PlayState_SndSpeed]
Symbol 11 Sound {com.adamatomic.EEE.PlayState_Snd1Up} [com.adamatomic.EEE.PlayState_Snd1Up]
Symbol 12 Sound {com.adamatomic.EEE.Player_SndEat3} [com.adamatomic.EEE.Player_SndEat3]
Symbol 13 Sound {com.adamatomic.EEE.Player_SndEat2} [com.adamatomic.EEE.Player_SndEat2]
Symbol 14 Sound {com.adamatomic.EEE.Player_SndGrunt} [com.adamatomic.EEE.Player_SndGrunt]
Symbol 15 Sound {com.adamatomic.EEE.Player_SndSplat} [com.adamatomic.EEE.Player_SndSplat]
Symbol 16 Sound {com.adamatomic.EEE.Player_SndFart2} [com.adamatomic.EEE.Player_SndFart2]
Symbol 17 Sound {com.adamatomic.EEE.Player_SndSpeed} [com.adamatomic.EEE.Player_SndSpeed]
Symbol 18 Sound {com.adamatomic.EEE.Player_SndEat1} [com.adamatomic.EEE.Player_SndEat1]
Symbol 19 Sound {com.adamatomic.EEE.Player_SndGag} [com.adamatomic.EEE.Player_SndGag]
Symbol 20 Sound {com.adamatomic.EEE.Player_SndSqueak} [com.adamatomic.EEE.Player_SndSqueak]
Symbol 21 Sound {com.adamatomic.EEE.Player_SndEdgeplode} [com.adamatomic.EEE.Player_SndEdgeplode]
Symbol 22 Sound {com.adamatomic.EEE.Player_SndFart3} [com.adamatomic.EEE.Player_SndFart3]
Symbol 23 Sound {com.adamatomic.EEE.Player_SndFart1} [com.adamatomic.EEE.Player_SndFart1]
Symbol 24 Font {EEE_junk}
Symbol 25 Bitmap {com.adamatomic.EEE.Player_ImgBlood}
Symbol 26 Bitmap {com.adamatomic.flixel.FlxGame_ImgKeyMinus}
Symbol 27 Bitmap {EEE_ImgBlock}
Symbol 28 Bitmap {com.adamatomic.EEE.Player_ImgSplode}
Symbol 29 Bitmap {com.adamatomic.EEE.Player_ImgGibs}
Symbol 30 Bitmap {com.adamatomic.flixel.FlxGame_ImgKey1}
Symbol 31 Bitmap {com.adamatomic.EEE.Player_ImgBang}
Symbol 32 Bitmap {com.adamatomic.EEE.PlayState_ImgLife}
Symbol 33 Font {com.adamatomic.flixel.FlxGame_junk}
Symbol 34 Bitmap {com.adamatomic.flixel.FlxGame_ImgPoweredBy}
Symbol 35 Bitmap {com.adamatomic.EEE.Player_ImgTooth}
Symbol 36 Bitmap {com.adamatomic.EEE.Player_ImgSplash}
Symbol 37 Bitmap {com.adamatomic.EEE.PlayState_ImgMeter}
Symbol 38 Bitmap {com.adamatomic.flixel.FlxGame_ImgKeyMouse}
Symbol 39 Bitmap {com.adamatomic.flixel.FlxGame_ImgKeyX}
Symbol 40 Bitmap {com.adamatomic.EEE.Player_ImgTongue}
Symbol 41 Bitmap {com.adamatomic.EEE.Turd_ImgCorn}
Symbol 42 Bitmap {com.adamatomic.EEE.Bauble_ImgEdgetend}
Symbol 43 Bitmap {com.adamatomic.EEE.Player_ImgTim}
Symbol 44 Bitmap {com.adamatomic.flixel.FlxGame_ImgKeyPlus}
Symbol 45 Bitmap {com.adamatomic.flixel.FlxGame_ImgKey0}
Symbol 46 Bitmap {com.adamatomic.EEE.Player_ImgSpray}
Symbol 47 Bitmap {com.adamatomic.EEE.Player_ImgEye}
Symbol 48 Bitmap {com.adamatomic.EEE.Player_ImgSweat}
Symbol 49 Bitmap {com.adamatomic.EEE.PlayState_ImgNeed}
Symbol 50 Bitmap {com.adamatomic.flixel.FlxGame_ImgKeysArrows}
Symbol 51 Bitmap {com.adamatomic.EEE.Nibbles_ImgFood}
Symbol 52 Bitmap {com.adamatomic.EEE.Player_ImgNose}
Symbol 53 Bitmap {com.adamatomic.EEE.Player_ImgSpledgeTR}
Symbol 54 Bitmap {com.adamatomic.EEE.PlayState_ImgLevel}
Symbol 55 Bitmap {com.adamatomic.EEE.Player_ImgSpledgeBL}
Symbol 56 Bitmap {com.adamatomic.flixel.FlxGame_ImgKeyC}
Symbol 57 Bitmap {com.adamatomic.EEE.MenuState_ImgLogo}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1459 bytes "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 1000, ScriptTimeout: 60 seconds
ExportAssets (56)Timeline Frame 2Symbol 3 as "com.adamatomic.flixel.FlxGame_SndBeep"
ExportAssets (56)Timeline Frame 2Symbol 4 as "com.adamatomic.flixel.FlxGame_SndFlixel"
ExportAssets (56)Timeline Frame 2Symbol 5 as "com.adamatomic.EEE.MenuState_SndMusic"
ExportAssets (56)Timeline Frame 2Symbol 6 as "com.adamatomic.EEE.PlayState_SndMusic2"
ExportAssets (56)Timeline Frame 2Symbol 7 as "com.adamatomic.EEE.PlayState_SndItem"
ExportAssets (56)Timeline Frame 2Symbol 8 as "com.adamatomic.EEE.PlayState_SndMusic"
ExportAssets (56)Timeline Frame 2Symbol 9 as "com.adamatomic.EEE.PlayState_SndItem2"
ExportAssets (56)Timeline Frame 2Symbol 10 as "com.adamatomic.EEE.PlayState_SndSpeed"
ExportAssets (56)Timeline Frame 2Symbol 11 as "com.adamatomic.EEE.PlayState_Snd1Up"
ExportAssets (56)Timeline Frame 2Symbol 12 as "com.adamatomic.EEE.Player_SndEat3"
ExportAssets (56)Timeline Frame 2Symbol 13 as "com.adamatomic.EEE.Player_SndEat2"
ExportAssets (56)Timeline Frame 2Symbol 14 as "com.adamatomic.EEE.Player_SndGrunt"
ExportAssets (56)Timeline Frame 2Symbol 15 as "com.adamatomic.EEE.Player_SndSplat"
ExportAssets (56)Timeline Frame 2Symbol 16 as "com.adamatomic.EEE.Player_SndFart2"
ExportAssets (56)Timeline Frame 2Symbol 17 as "com.adamatomic.EEE.Player_SndSpeed"
ExportAssets (56)Timeline Frame 2Symbol 18 as "com.adamatomic.EEE.Player_SndEat1"
ExportAssets (56)Timeline Frame 2Symbol 19 as "com.adamatomic.EEE.Player_SndGag"
ExportAssets (56)Timeline Frame 2Symbol 20 as "com.adamatomic.EEE.Player_SndSqueak"
ExportAssets (56)Timeline Frame 2Symbol 21 as "com.adamatomic.EEE.Player_SndEdgeplode"
ExportAssets (56)Timeline Frame 2Symbol 22 as "com.adamatomic.EEE.Player_SndFart3"
ExportAssets (56)Timeline Frame 2Symbol 23 as "com.adamatomic.EEE.Player_SndFart1"
SerialNumber (41)Timeline Frame 1

Labels

"Preloader"Frame 1
"EEE"Frame 2




http://swfchan.com/16/77654/info.shtml
Created: 3/4 -2019 23:40:38 Last modified: 3/4 -2019 23:40:38 Server time: 04/05 -2024 04:40:23