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

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

fartblaster.swf

This is the info page for
Flash #123525

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


Text
WE HAVE ALL THE LATEST GAMES

1000+ GAMES REGULARLY UPDATED

BEST THINGS IN LIFE ARE FREE

WOULD YOU LIKE SOME PIZZA?

DID YOU KILL A MOB BOSS LATELY?

HAVE YOU DROPPED OFF THAT PASSENGER YET?

DID THAT TRIPLE BACKFLIP COMBO TODAY?

DID THAT TRIPLE BACKFLIP COMBO TODAY?

I THINK YOUR TOAST IS BURNING!

WOULD YOU LIKE ONE OR TWO LUMPS OF SUGAR WITH THAT?

HOW MANY GAME DEVELOPERS DOES IT TAKE TO REPLACE A LIGHT BULB?

ARE YOU SEATED COMFORTABLY?

WOULD YOU LIKE US TO TURN UP THE MUSIC?

ENJOYING YOUR SICK LEAVE?

SLOW WORK DAY?  EHUM?

ARE YOU LONELY?  WE HAVE THE PERFECT MATCH

GETTING PAID FOR OVERTIME?

CATCH ME IF YOU CAN

ARE YOU STUDYING HARD FOR YOUR TEST TOMORROW?

IS THIS WHAT WE USE THE STUDYHALL NOWADAYS?

YOU GOT A NEW COMPUTER FOR THIS?

I BET YOUR WIFE IS AT HER PARENTS HOUSE

OOPSY DAISIES!

WOULD YOU LIKE SOMETHING TO DRINK WITH THAT PIZZA?

YOU HAVE SNAKES. YOU HAVE A PLANE.
AND THIS HAS NOTHING TO DO WITH IT.

GOT ANYTHING? YES WE'RE ALL OUT OF IDEAS.

CLEAN YOUR ROOM.  IT'S A JUNGLE HERE.

IT'S PRONOUNCED AS "ZHOOUKI".

ZOMBIES.  FRESH BRAINS DELIVERED HERE.

HAVE YOU DEFENDED STALINGRAD TODAY?

THE CUBICLE'S GETTING TO ME.  HOW 'BOUT YOU?

STICK IT TO THE MAN

I FEEL LIKE CHICKEN TONIGHT

YOU CAN BEAT THIS GAME.  I KNOW YOU CAN....

I THINK I HEAR THE ICE CREAM TRUCK

HAVE YOU HAD YOUR SUGAR FIX YET?

PARENTAL GUIDANCE NOT NEEDED HERE

BULLIES HAVE FEELINGS TOO!!!

WHO'S YOUR DADDY NOW?

YOU KNOW I STILL LOVE YOU.

WHO ARE YOU? WHERE AM I? WHAT YEAR IS IT NOW?

WHY ARE YOU USING MY COMPUTER?

LET'S GET THIS STRAIGHT: I'M REAL, YOU'RE ANIMATED!

HERE'S A LITTLE FACT.  YOU CAN'T SEE ME.

BEING A GAMER IS FINE.  JUST DON'T MISS YOUR MEETINGS.

INSOMNIA: THE CAPACITY TO PLAY MORE GAMES

YELLOW WALLS MAKE YOU GO INSANE

MORE SHOES MAKE FOR A HAPPY CO-WORKER

HOW ARE YOU DOING TODAY? YAH FEELIN' LUCKY?

HOW BIG IS YOUR BRAIN?  CAN YOU HANDLE THIS?

WHY DON'T YOU DRIVE TODAY?

SOMETHING ON YOUR MIND?

POLLY WANNA CRACKAH!

IT'S ABOUT TIME!

IT'S 5PM. DO YOU KNOW WHERE YOUR BRAIN IS?

IF YOU CAN'T BEAT 'EM, JOIN 'EM!

BIG BOYS DON'T CRY

100

FREEONLINEGAMES.COM

CLICK ANYWHERE TO PLAY THE GAME

THIS GAME IS EXCLUSIVE FOR FREEONLINEGAMES.COM

PUT ALL SOUNDS WITH LINKAGES IN THIS MOVIECLIP

www.freeonlinegames.com

3

1/50

PLAY

INSTRUCTIONS

FREE GAMES FOR YOUR WEBSITE

ActionScript [AS3]

Section 1
//fog_103 (fartblaster_final_fla.fog_103) package fartblaster_final_fla { import flash.display.*; import flash.media.*; import flash.events.*; import flash.geom.*; import flash.utils.*; import flash.text.*; import flash.system.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.printing.*; import flash.ui.*; import flash.xml.*; public dynamic class fog_103 extends MovieClip { public var channel:SoundChannel; public var fogsound:fogaudio; public var mcNewLogoSpin2:MovieClip; public var btnFoggy:SimpleButton; public var me; public function fog_103(){ addFrameScript(0, frame1, 70, frame71, 190, frame191); } function frame71(){ fogsound = new fogaudio(); channel = fogsound.play(); } function frame1(){ me = parent; btnFoggy.addEventListener("click", function (){ navigateToURL(new URLRequest(("http://www.freeonlinegames.com/?" + me.gameName)), "_blank"); }); } function frame191(){ stop(); } } }//package fartblaster_final_fla
Section 2
//levelText_21 (fartblaster_final_fla.levelText_21) package fartblaster_final_fla { import flash.display.*; import flash.text.*; public dynamic class levelText_21 extends MovieClip { public var level:TextField; } }//package fartblaster_final_fla
Section 3
//life_18 (fartblaster_final_fla.life_18) package fartblaster_final_fla { import flash.display.*; import flash.text.*; public dynamic class life_18 extends MovieClip { public var life:TextField; } }//package fartblaster_final_fla
Section 4
//life_22 (fartblaster_final_fla.life_22) package fartblaster_final_fla { import flash.display.*; public dynamic class life_22 extends MovieClip { public function life_22(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package fartblaster_final_fla
Section 5
//mcNewLogoSpin2_106 (fartblaster_final_fla.mcNewLogoSpin2_106) package fartblaster_final_fla { import flash.display.*; public dynamic class mcNewLogoSpin2_106 extends MovieClip { public var mcNotice:MovieClip; public function mcNewLogoSpin2_106(){ addFrameScript(0, frame1, 119, frame120); } function frame1(){ mcNotice.visible = false; } function frame120(){ stop(); } } }//package fartblaster_final_fla
Section 6
//mcSounds_108 (fartblaster_final_fla.mcSounds_108) package fartblaster_final_fla { import flash.display.*; public dynamic class mcSounds_108 extends MovieClip { public function mcSounds_108(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package fartblaster_final_fla
Section 7
//mcTag3_100 (fartblaster_final_fla.mcTag3_100) package fartblaster_final_fla { import flash.display.*; import flash.text.*; public dynamic class mcTag3_100 extends MovieClip { public var randomtag:TextField; public var tagctr; public function mcTag3_100(){ addFrameScript(0, frame1); } function frame1(){ stop(); tagctr = Math.round((Math.random() * 100)); gotoAndStop(tagctr); } } }//package fartblaster_final_fla
Section 8
//mcTaglines_97 (fartblaster_final_fla.mcTaglines_97) package fartblaster_final_fla { import flash.display.*; public dynamic class mcTaglines_97 extends MovieClip { public function mcTaglines_97(){ addFrameScript(104, frame105); } function frame105(){ stop(); } } }//package fartblaster_final_fla
Section 9
//prelMCxcopy_ovidiu2_102 (fartblaster_final_fla.prelMCxcopy_ovidiu2_102) package fartblaster_final_fla { import flash.display.*; import flash.text.*; public dynamic class prelMCxcopy_ovidiu2_102 extends MovieClip { public var procent:TextField; public function prelMCxcopy_ovidiu2_102(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package fartblaster_final_fla
Section 10
//Timeline_23 (fartblaster_final_fla.Timeline_23) package fartblaster_final_fla { import flash.display.*; public dynamic class Timeline_23 extends MovieClip { public var music:MovieClip; public function Timeline_23(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package fartblaster_final_fla
Section 11
//Timeline_25 (fartblaster_final_fla.Timeline_25) package fartblaster_final_fla { import flash.display.*; public dynamic class Timeline_25 extends MovieClip { public var sound:MovieClip; public function Timeline_25(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); } } }//package fartblaster_final_fla
Section 12
//Aeronef (handjoys.fly.element.Aeronef) package handjoys.fly.element { import org.cove.ape.*; import handjoys.fly.util.*; import handjoys.fly.*; public class Aeronef extends Group implements Runnable { private var _rect:RectangleParticle; private var _sprite:AeronefMovieClip; private var _face:Number;// = 1 public function Aeronef(_arg1:Number, _arg2:Number, _arg3:Number){ _face = 1; super(); this._face = _arg3; _sprite = new AeronefMovieClip(); _sprite.scaleX = _face; _rect = new RectangleParticle(_arg1, _arg2, 20, 20, 0); _rect.elasticity = 0.5; _rect.mass = 1; _rect.attack = true; _rect.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 1); _rect.parentGroup = this; _rect.name = "aeronef"; addParticle(_rect); _rect.setDisplay(_sprite); Cache._runObj.push(this); } public function stop():void{ _sprite.stop(); } public function run():void{ _rect.addForce(new Vector(0, -16)); _rect.px = (_rect.px + ((10 * _face) * -1)); } public function remove():void{ var _local1:int; Cache._protagonist.removeCollidable(this); _local1 = Cache._runObj.indexOf(this); if (_local1 == -1){ return; }; Cache._runObj.splice(_local1, 1); APEngine.removeGroup(this); } } }//package handjoys.fly.element
Section 13
//Chest (handjoys.fly.element.Chest) package handjoys.fly.element { import org.cove.ape.*; import handjoys.fly.util.*; public class Chest extends Group { private var _rect:RectangleParticle; private var _sprite:ChestMovieClip; public function Chest(_arg1:Number, _arg2:Number){ _sprite = new ChestMovieClip(); _rect = new RectangleParticle(_arg1, _arg2, (_sprite.width - 10), (_sprite.height - 10), 0); _rect.name = "chest"; _rect.attack = true; _rect.fixed = true; _rect.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 0); _rect.setDisplay(_sprite); _rect.parentGroup = this; addParticle(_rect); Cache._protagonist.addCollidable(this); } public function eat():void{ _sprite.gotoAndPlay(2); } } }//package handjoys.fly.element
Section 14
//Chick (handjoys.fly.element.Chick) package handjoys.fly.element { import flash.display.*; import org.cove.ape.*; import flash.events.*; import flash.geom.*; import handjoys.fly.util.*; import handjoys.fly.*; import flash.utils.*; public class Chick extends Group implements Runnable { private var _isStand:Boolean;// = false private var _flyFlag:Boolean;// = false private var _rect:RectangleParticle; private var _timer:Timer; private var _speed:Number;// = 3 private var _sprite:MovieClip; private var _start:Boolean;// = false private var _stayTimer:Timer; private var _flyHigh:Number;// = 0 public function Chick(){ _flyFlag = false; _isStand = false; _start = false; _speed = 3; _flyHigh = 0; super(); _sprite = new ChickMovieClip(); _rect = new RectangleParticle(200, 385.4, (_sprite.width - 12), (_sprite.height - 12), 0); _rect.name = "chick"; _rect.attack = true; _rect.friction = 0; _rect.elasticity = 0; _rect.mass = 0.1; _rect.setDisplay(_sprite); _rect.parentGroup = this; addParticle(_rect); _stayTimer = new Timer(3000, 1); _stayTimer.addEventListener(TimerEvent.TIMER_COMPLETE, stayTimerCompleteHandle); _timer = new Timer(5000, 1); _timer.addEventListener(TimerEvent.TIMER_COMPLETE, timerCompleteHandle); Cache._runObj.push(this); } public function stop():void{ _sprite.stop(); } public function run():void{ if (_isStand){ _rect.addForce(new Vector(0, -1.6)); if (_flyHigh >= 100){ return; }; _rect.py = (_rect.py - _speed); _flyHigh = (_flyHigh + _speed); }; } public function addChickCollidable(_arg1:Group):void{ this.addCollidable(_arg1); } private function stayTimerCompleteHandle(_arg1:TimerEvent):void{ _sprite.gotoAndPlay("fly"); _flyFlag = true; _timer.reset(); _timer.start(); _isStand = true; } public function stand():void{ if (!_flyFlag){ _flyFlag = true; _sprite.gotoAndPlay("down"); _flyHigh = 0; if (_start){ start(); }; }; } public function start():void{ if (!_start){ _start = true; }; _stayTimer.reset(); _stayTimer.start(); } private function timerCompleteHandle(_arg1:TimerEvent):void{ _rect.addMasslessForce(new Vector(0, 2.5)); _sprite.gotoAndStop("down"); _flyFlag = false; _isStand = false; } public function setCoordinate(_arg1:Point):void{ _rect.px = _arg1.x; _rect.py = _arg1.y; } } }//package handjoys.fly.element
Section 15
//ChickGroup (handjoys.fly.element.ChickGroup) package handjoys.fly.element { import org.cove.ape.*; import flash.geom.*; import handjoys.fly.util.*; public class ChickGroup { private var _collidableList:Array; public function ChickGroup(_arg1:Array){ _collidableList = _arg1; init(); } private function chick38():void{ var _local1:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(465.1, 184.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); Cache._chicks.push(_local1); } private function chick40():void{ var _local1:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(347.1, 308.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); Cache._chicks.push(_local1); } private function chick41():void{ var _local1:Chick; var _local2:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(136.1, 181.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(462.1, 233.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick20():void{ var _local1:Chick; var _local2:Chick; var _local3:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(188.1, 389.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(226.1, 389.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); _local3 = new Chick(); _local3.setCoordinate(new Point(264.1, 389.3)); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); Cache._chicks.push(_local1); Cache._chicks.push(_local2); Cache._chicks.push(_local3); } private function chick21():void{ var _local1:Chick; var _local2:Chick; var _local3:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(134.1, 269.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(226.1, 320.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); _local3 = new Chick(); _local3.setCoordinate(new Point(264.1, 320.3)); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); _local3.start(); APEngine.addGroup(_local3); Cache._chicks.push(_local3); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick44():void{ var _local1:Chick; var _local2:Chick; var _local3:Chick; var _local4:Chick; var _local5:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(307.1, 178.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(423.1, 145.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); _local3 = new Chick(); _local3.setCoordinate(new Point(462.1, 145.3)); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); _local4 = new Chick(); _local4.setCoordinate(new Point(500.1, 145.3)); Cache._protagonist.addCollidable(_local4); _local4.addCollidableList(_collidableList); APEngine.addGroup(_local4); _local5 = new Chick(); _local5.setCoordinate(new Point(539, 145.3)); Cache._protagonist.addCollidable(_local5); _local5.addCollidableList(_collidableList); APEngine.addGroup(_local5); Cache._chicks.push(_local1); Cache._chicks.push(_local2); Cache._chicks.push(_local3); Cache._chicks.push(_local4); Cache._chicks.push(_local5); } private function chick23():void{ var _local1:Chick; var _local2:Chick; var _local3:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(547, 107.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(257.1, 304.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); _local3 = new Chick(); _local3.setCoordinate(new Point(138.1, 362.3)); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); _local3.start(); APEngine.addGroup(_local3); Cache._chicks.push(_local3); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick24():void{ var _local1:Chick; var _local2:Chick; var _local3:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(146.1, 263.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(276.1, 103.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); _local3 = new Chick(); _local3.setCoordinate(new Point(423.1, 344.3)); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); _local3.start(); APEngine.addGroup(_local3); Cache._chicks.push(_local3); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function init():void{ switch (Cache._gate){ case 6: chick6(); break; case 13: chick13(); break; case 14: chick14(); break; case 15: chick15(); break; case 16: chick16(); break; case 17: chick17(); break; case 20: chick20(); break; case 21: chick21(); break; case 23: chick23(); break; case 24: chick24(); break; case 26: chick26(); break; case 27: chick27(); break; case 31: chick31(); break; case 32: chick32(); break; case 33: chick33(); break; case 34: chick34(); break; case 35: chick35(); break; case 36: chick36(); break; case 37: chick37(); break; case 38: chick38(); break; case 39: chick39(); break; case 40: chick40(); break; case 41: chick41(); break; case 42: chick42(); break; case 43: chick43(); break; case 44: chick44(); break; case 45: chick45(); break; case 46: chick46(); break; case 47: chick47(); break; case 48: chick48(); break; case 49: chick49(); break; }; } private function chick27():void{ var _local1:Chick; var _local2:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(192.1, 129.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(260.1, 304.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick43():void{ var _local1:Chick; var _local2:Chick; var _local3:Chick; var _local4:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(209.1, 283.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(306.1, 229.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); _local3 = new Chick(); _local3.setCoordinate(new Point(398.1, 230.3)); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); _local3.start(); APEngine.addGroup(_local3); _local4 = new Chick(); _local4.setCoordinate(new Point(487.1, 232.3)); Cache._protagonist.addCollidable(_local4); _local4.addCollidableList(_collidableList); _local4.start(); APEngine.addGroup(_local4); Cache._chicks.push(_local4); Cache._chicks.push(_local3); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick45():void{ var _local1:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(308.1, 180.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); Cache._chicks.push(_local1); } private function chick46():void{ var _local1:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(308.1, 178.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); Cache._chicks.push(_local1); } private function chick47():void{ var _local1:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(503.1, 192.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); Cache._chicks.push(_local1); } private function chick26():void{ var _local1:Chick; var _local2:Chick; var _local3:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(142.1, 129.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(180.1, 129.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); _local3 = new Chick(); _local3.setCoordinate(new Point(218.1, 129.3)); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); Cache._chicks.push(_local3); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick49():void{ var _local1:Chick; var _local2:Chick; var _local3:Chick; var _local4:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(382.1, 99.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(421.1, 99.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); _local3 = new Chick(); _local3.setCoordinate(new Point(459.1, 99.3)); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); _local4 = new Chick(); _local4.setCoordinate(new Point(497.1, 99.3)); Cache._protagonist.addCollidable(_local4); _local4.addCollidableList(_collidableList); APEngine.addGroup(_local4); Cache._chicks.push(_local1); Cache._chicks.push(_local2); Cache._chicks.push(_local3); Cache._chicks.push(_local4); } private function chick42():void{ var _local1:Chick; var _local2:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(287.1, 109.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(378.1, 109.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick48():void{ var _local1:Chick; var _local2:Chick; var _local3:Chick; var _local4:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(217.1, 387.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(254.1, 387.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); _local3 = new Chick(); _local3.setCoordinate(new Point(327.1, 358.3)); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); _local3.start(); APEngine.addGroup(_local3); _local4 = new Chick(); _local4.setCoordinate(new Point(365.1, 358.3)); Cache._protagonist.addCollidable(_local4); _local4.addCollidableList(_collidableList); _local4.start(); APEngine.addGroup(_local4); Cache._chicks.push(_local4); Cache._chicks.push(_local3); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick31():void{ var _local1:Chick; var _local2:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(161.1, 250.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(497.1, 249.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick32():void{ var _local1:Chick; var _local2:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(209.1, 134.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(289.1, 165.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick33():void{ var _local1:Chick; var _local2:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(383.1, 157.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(279.1, 157.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick34():void{ var _local1:Chick; var _local2:Chick; var _local3:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(175.1, 179.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(439.1, 204.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); _local3 = new Chick(); _local3.setCoordinate(new Point(348.1, 361.3)); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); _local3.start(); APEngine.addGroup(_local3); Cache._chicks.push(_local3); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick13():void{ var _local1:Chick; var _local2:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(202.1, 362.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(243.1, 362.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick36():void{ var _local1:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(70.1, 225.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); Cache._chicks.push(_local1); } private function chick15():void{ var _local1:Chick; var _local2:Chick; var _local3:Chick; var _local4:Chick; var _local5:Chick; var _local6:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(392.1, 103.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(350.1, 103.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); _local3 = new Chick(); _local3.setCoordinate(new Point(309.1, 103.3)); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); _local4 = new Chick(); _local4.setCoordinate(new Point(269.1, 103.3)); Cache._protagonist.addCollidable(_local4); _local4.addCollidableList(_collidableList); APEngine.addGroup(_local4); _local5 = new Chick(); _local5.setCoordinate(new Point(229.1, 103.3)); Cache._protagonist.addCollidable(_local5); _local5.addCollidableList(_collidableList); APEngine.addGroup(_local5); _local6 = new Chick(); _local6.setCoordinate(new Point(190.1, 103.3)); Cache._protagonist.addCollidable(_local6); _local6.addCollidableList(_collidableList); APEngine.addGroup(_local6); Cache._chicks.push(_local1); Cache._chicks.push(_local2); Cache._chicks.push(_local3); Cache._chicks.push(_local4); Cache._chicks.push(_local5); Cache._chicks.push(_local6); } private function chick6():void{ var _local1:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(360.9, 298)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); Cache._chicks.push(_local1); } private function chick17():void{ var _local1:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(421.1, 210.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); Cache._chicks.push(_local1); } private function chick35():void{ var _local1:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(140.1, 226.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); Cache._chicks.push(_local1); } private function chick14():void{ var _local1:Chick; var _local2:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(342.1, 362.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(382.1, 362.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick37():void{ var _local1:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(463.1, 183.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); Cache._chicks.push(_local1); } private function chick16():void{ var _local1:Chick; var _local2:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(376.1, 335.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); _local2 = new Chick(); _local2.setCoordinate(new Point(291.1, 362.3)); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); _local2.start(); APEngine.addGroup(_local2); Cache._chicks.push(_local2); Cache._chicks.push(_local1); } private function chick39():void{ var _local1:Chick; _local1 = new Chick(); _local1.setCoordinate(new Point(476.1, 310.3)); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); _local1.start(); APEngine.addGroup(_local1); Cache._chicks.push(_local1); } } }//package handjoys.fly.element
Section 16
//Crossing (handjoys.fly.element.Crossing) package handjoys.fly.element { import org.cove.ape.*; import handjoys.fly.util.*; public class Crossing extends Group { private var floor:RectangleParticle; public var mapblock10:RectangleParticle; public var mapblock11:RectangleParticle; public var mapblock12:RectangleParticle; public var mapblock13:RectangleParticle; public var mapblock14:RectangleParticle; public var mapblock15:RectangleParticle; public var mapblock16:RectangleParticle; public var mapblock17:RectangleParticle; public var mapblock18:RectangleParticle; public var mapblock19:RectangleParticle; public var mapblock1:RectangleParticle; public var mapblock2:RectangleParticle; public var mapblock3:RectangleParticle; public var mapblock4:RectangleParticle; public var mapblock6:RectangleParticle; public var mapblock7:RectangleParticle; public var mapblock8:RectangleParticle; public var mapblock9:RectangleParticle; public var mapblock5:RectangleParticle; public var mapblock20:RectangleParticle; public var mapblock21:RectangleParticle; public var mapblock22:RectangleParticle; public function Crossing(){ throghCrossing(Cache._gate); } public function throghCrossing(_arg1:int):void{ switch (_arg1){ case 1: crossing1(); break; case 2: crossing2(); break; case 3: crossing3(); break; case 4: crossing4(); break; case 5: crossing5(); break; case 6: crossing6(); break; case 7: crossing7(); break; case 8: crossing8(); break; case 9: crossing9(); break; case 10: crossing10(); break; case 11: crossing11(); break; case 12: crossing12(); break; case 13: crossing13(); break; case 14: crossing14(); break; case 15: crossing15(); break; case 16: crossing16(); break; case 17: crossing17(); break; case 18: crossing18(); break; case 19: crossing19(); break; case 20: crossing20(); break; case 21: crossing21(); break; case 22: crossing22(); break; case 23: crossing23(); break; case 24: crossing24(); break; case 25: crossing25(); break; case 26: crossing26(); break; case 27: crossing27(); break; case 28: crossing28(); break; case 29: crossing29(); break; case 30: crossing30(); break; case 31: crossing31(); break; case 32: crossing32(); break; case 33: crossing33(); break; case 34: crossing34(); break; case 35: crossing35(); break; case 36: crossing36(); break; case 37: crossing37(); break; case 38: crossing38(); break; case 39: crossing39(); break; case 40: crossing40(); break; case 41: crossing41(); break; case 42: crossing42(); break; case 43: crossing43(); break; case 44: crossing44(); break; case 45: crossing45(); break; case 46: crossing46(); break; case 47: crossing47(); break; case 48: crossing48(); break; case 49: crossing49(); break; case 50: crossing50(); break; }; } public function crossing10():void{ mapblock1 = new RectangleParticle(325.2, 423.85, 620, 28.1, 0, true); mapblock2 = getRect(111.5, 287, 33, 240, 0, true); mapblock3 = getRect(186, 286.5, 114, 31, 0, true); mapblock4 = getRect(264.5, 206.5, 59, 29, 0, true); mapblock5 = getRect(205, 174, 60, 30, 0, true); mapblock6 = getRect(326, 93, 60, 28, 0, true); mapblock7 = getRect(520.9, 130.5, 218, 29, 0, true); mapblock8 = getRect(457.95, 287.5, 337.9, 29, 0, true); mapblock9 = new RectangleParticle(84.5, 298.5, 22, 200, 0, true); mapblock10 = new RectangleParticle(499, 260, 248, 22, 0, true); mapblock11 = new RectangleParticle(310, 315, 30, 22, 0, true); mapblock12 = new RectangleParticle(335, 120, 30, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "tfloor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock10, "floors", false); setRectStyle(mapblock12, "floors", true); addParticle(mapblock1); addParticle(mapblock9); addParticle(mapblock10); addParticle(mapblock11); addParticle(mapblock12); } public function crossing12():void{ mapblock1 = new RectangleParticle(329.5, 422.4, 630.2, 26.2, 0, true); mapblock2 = getRect(113.95, 148.1, 172.3, 26.2, 0, true); mapblock3 = getRect(300.05, 111.3, 30.1, 210.4, 0, true); mapblock4 = getRect(329.25, 306.35, 88.5, 53.5, 0, true); mapblock5 = getRect(470.45, 214, 172.3, 26.2, 0, true); mapblock6 = getRect(494.25, 292.6, 172.3, 26.2, 0, true); mapblock7 = getRect(541.4, 120.45, 89, 52.9, 0, true); mapblock8 = new RectangleParticle(330.5, 345, 73, 22, 0, true); mapblock9 = new RectangleParticle(486, 117, 22, 30, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floors", true); setRectStyle(mapblock9, "floors", true); addParticle(mapblock1); addParticle(mapblock8); addParticle(mapblock9); } public function crossing14():void{ mapblock1 = new RectangleParticle(329.5, 422.4, 630.2, 26.2, 0, true); mapblock2 = getRect(360, 397, 86, 26, 0, true); mapblock3 = getRect(593, 397, 86, 26, 0, true); mapblock4 = getRect(367.6, 275.7, 254.6, 26.2, 0, true); mapblock5 = getRect(222.15, 249.4, 46.5, 26.2, 0, true); mapblock6 = getRect(120.25, 223.4, 169.7, 26.2, 0, true); mapblock7 = getRect(301, 140.1, 42, 26.2, 0, true); mapblock8 = getRect(345, 100, 40, 50, 0, true); mapblock9 = getRect(388, 72, 40, 108, 0, true); mapblock10 = getRect(503, 151, 26, 164, 0, true); mapblock11 = getRect(536, 221, 40, 26, 0, true); mapblock12 = getRect(510, 247, 40, 26, 0, true); mapblock13 = new RectangleParticle(370.5, 138, 73, 22, 0, true); mapblock14 = new RectangleParticle(423, 90.5, 22, 73, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "5floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "tfloor", false); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); addParticle(mapblock1); addParticle(mapblock13); addParticle(mapblock14); } public function crossing11():void{ mapblock1 = new RectangleParticle(329.5, 422.4, 630.2, 26.2, 0, true); mapblock2 = getRect(316.55, 96.1, 376.9, 26.2, 0, true); mapblock3 = getRect(184.2, 155, 26.2, 94, 0, true); mapblock4 = getRect(181.5, 215.1, 169, 26.2, 0, true); mapblock5 = getRect(482.1, 155, 26.2, 94, 0, true); mapblock6 = getRect(449.5, 217.1, 213, 26.2, 0, true); mapblock7 = getRect(167.1, 351.1, 50, 26.2, 0, true); mapblock8 = getRect(441.5, 351.1, 87, 26.2, 0, true); mapblock9 = new RectangleParticle(327.4, 396.6, 600, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floors", true); addParticle(mapblock1); addParticle(mapblock9); } public function crossing13():void{ mapblock1 = new RectangleParticle(329.5, 422.4, 630.2, 26.2, 0, true); mapblock2 = getRect(219.95, 396.2, 88.5, 26.2, 0, true); mapblock3 = getRect(306.45, 275.5, 541.7, 26.2, 0, true); mapblock4 = getRect(566, 184, 132.2, 26.2, 0, true); mapblock5 = getRect(162, 115, 82, 52, 0, true); mapblock6 = getRect(405.9, 65, 88, 52, 0, true); mapblock7 = new RectangleParticle(407.5, 106.5, 73, 22, 0, true); mapblock8 = new RectangleParticle(110, 114, 22, 30, 0, true); mapblock9 = new RectangleParticle(217, 114, 22, 30, 0, true); mapblock10 = new RectangleParticle(161, 156, 30, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "tfloor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floors", true); setRectStyle(mapblock8, "floors", true); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock10, "floors", true); addParticle(mapblock1); addParticle(mapblock7); addParticle(mapblock8); addParticle(mapblock9); addParticle(mapblock10); } public function crossing17():void{ mapblock1 = new RectangleParticle(329.5, 422.4, 630.2, 26.2, 0, true); mapblock2 = getRect(82, 101.4, 40, 26, 0, true); mapblock3 = getRect(82, 183.6, 40, 26, 0, true); mapblock4 = getRect(82, 265.6, 40, 26, 0, true); mapblock5 = getRect(82, 346.6, 40, 26, 0, true); mapblock6 = getRect(180, 127.4, 40, 26, 0, true); mapblock7 = getRect(168.6, 225.6, 40, 26, 0, true); mapblock8 = getRect(292, 99.4, 40, 26, 0, true); mapblock9 = getRect(168.6, 322.6, 40, 52, 0, true); mapblock10 = getRect(223, 114.4, 40, 52, 0, true); mapblock11 = getRect(605, 230.6, 40, 52, 0, true); mapblock12 = getRect(0x0101, 133, 26, 246, 0, true); mapblock13 = getRect(0x0101, 367.6, 26, 80, 0, true); mapblock14 = getRect(375, 246, 208, 26, 0, true); mapblock15 = getRect(425, 109, 80, 26, 0, true); mapblock16 = getRect(488, 81, 40, 80, 0, true); mapblock17 = new RectangleParticle(84, 157, 30, 22, 0, true); mapblock18 = new RectangleParticle(135.6, 315.6, 22, 30, 0, true); mapblock19 = new RectangleParticle(292, 123.4, 30, 22, 0, true); mapblock20 = new RectangleParticle(126, 393, 240, 22, 0, true); mapblock21 = new RectangleParticle(397, 268, 160, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floor", false); setRectStyle(mapblock13, "tfloor", false); setRectStyle(mapblock14, "floor", false); setRectStyle(mapblock15, "floor", false); setRectStyle(mapblock16, "floor", false); setRectStyle(mapblock17, "floors", true); setRectStyle(mapblock18, "floors", true); setRectStyle(mapblock19, "floors", true); setRectStyle(mapblock20, "floors", true); setRectStyle(mapblock21, "floors", true); addParticle(mapblock1); addParticle(mapblock17); addParticle(mapblock18); addParticle(mapblock19); addParticle(mapblock20); addParticle(mapblock21); } public function crossing19():void{ mapblock1 = new RectangleParticle(329.5, 422.4, 630.2, 26.2, 0, true); mapblock2 = getRect(37, 152, 40, 24, 0, true); mapblock3 = getRect(608, 152, 40, 24, 0, true); mapblock4 = getRect(200, 128, 80, 24, 0, true); mapblock5 = getRect(444, 128, 80, 24, 0, true); mapblock6 = getRect(171, 212, 26, 140, 0, true); mapblock7 = getRect(476, 212, 26, 140, 0, true); mapblock8 = getRect(321.5, 297, 327, 26, 0, true); mapblock9 = getRect(324, 92, 26, 164, 0, true); mapblock10 = getRect(324, 359, 26, 98, 0, true); mapblock11 = new RectangleParticle(39, 175, 30, 22, 0, true); mapblock12 = new RectangleParticle(607, 175, 30, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "tfloor", false); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); addParticle(mapblock1); addParticle(mapblock11); addParticle(mapblock12); } public function crossing15():void{ mapblock1 = new RectangleParticle(329.5, 422.4, 630.2, 26.2, 0, true); mapblock2 = getRect(247.5, 136.7, 455.4, 26.2, 0, true); mapblock3 = getRect(381.45, 215.9, 499.7, 26.2, 0, true); mapblock4 = getRect(248.9, 339.5, 457, 26.2, 0, true); mapblock5 = new RectangleParticle(488, 136.5, 22, 25, 0, true); mapblock6 = new RectangleParticle(119, 215.5, 22, 25, 0, true); mapblock7 = new RectangleParticle(490, 338.5, 22, 25, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floors", true); setRectStyle(mapblock6, "floors", true); setRectStyle(mapblock7, "floors", true); addParticle(mapblock1); addParticle(mapblock5); addParticle(mapblock6); addParticle(mapblock7); } public function crossing16():void{ mapblock1 = new RectangleParticle(329.5, 422.4, 630.2, 26.2, 0, true); mapblock2 = getRect(95.5, 191, 39, 52, 0, true); mapblock3 = getRect(158.5, 231.1, 85, 26.2, 0, true); mapblock4 = getRect(189, 327, 26, 164, 0, true); mapblock5 = getRect(355, 395.5, 166, 25, 0, true); mapblock6 = getRect(375.5, 369, 125, 28, 0, true); mapblock7 = getRect(416.5, 342.5, 43, 25, 0, true); mapblock8 = getRect(478.5, 317, 83, 22, 0, true); mapblock9 = getRect(541, 289, 40, 24, 0, true); mapblock10 = getRect(378.5, 202.1, 247, 26.2, 0, true); mapblock11 = getRect(432.1, 146.5, 26.2, 83, 0, true); mapblock12 = getRect(525, 91, 206, 26, 0, true); mapblock13 = new RectangleParticle(138, 204, 30, 22, 0, true); mapblock14 = new RectangleParticle(417, 315, 30, 22, 0, true); mapblock15 = new RectangleParticle(595.5, 395, 73, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floor", false); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); setRectStyle(mapblock15, "floors", true); addParticle(mapblock1); addParticle(mapblock13); addParticle(mapblock14); addParticle(mapblock15); } public function crossing18():void{ mapblock1 = new RectangleParticle(329.5, 422.4, 630.2, 26.2, 0, true); mapblock2 = getRect(70, 188, 80, 26, 0, true); mapblock3 = getRect(362, 236, 80, 26, 0, true); mapblock4 = getRect(157, 293, 40, 22, 0, true); mapblock5 = getRect(0x0101, 91, 26, 160, 0, true); mapblock6 = getRect(0x0101, 328, 26, 160, 0, true); mapblock7 = getRect(464, 144.5, 40, 263, 0, true); mapblock8 = getRect(604.6, 212.5, 40, 263, 0, true); mapblock9 = new RectangleParticle(126.5, 394.5, 241, 25, 0, true); mapblock10 = new RectangleParticle(465, 288.5, 30, 25, 0, true); mapblock11 = new RectangleParticle(499.5, 94.5, 25, 115, 0, true); mapblock12 = new RectangleParticle(570.5, 262.5, 25, 115, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "tfloor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); addParticle(mapblock1); addParticle(mapblock9); addParticle(mapblock10); addParticle(mapblock11); addParticle(mapblock12); } private function getRect(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:Boolean):RectangleParticle{ var _local7:RectangleParticle; _local7 = new RectangleParticle(_arg1, (_arg2 + 2), _arg3, (_arg4 - 4), _arg5, _arg6); addParticle(_local7); floor = new RectangleParticle(_arg1, (_arg2 - (_arg4 / 2)), _arg3, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); return (_local7); } public function crossing21():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(220, 388.5, 26, 37, 0, true); mapblock3 = getRect(244.5, 353, 77, 26, 0, true); mapblock4 = getRect(145, 334.5, 26, 37, 0, true); mapblock5 = getRect(111.5, 303, 77, 26, 0, true); mapblock6 = getRect(86, 269.5, 26, 37, 0, true); mapblock7 = getRect(88, 199, 30, 26, 0, true); mapblock8 = getRect(126, 167.5, 40, 77, 0, true); mapblock9 = getRect(167, 142, 40, 26, 0, true); mapblock10 = getRect(177, 86, 26, 80, 0, true); mapblock11 = getRect(289, 158, 80, 25, 0, true); mapblock12 = getRect(268, 185.5, 40, 25, 0, true); mapblock13 = getRect(309, 278.5, 40, 25, 0, true); mapblock14 = getRect(474, 345.5, 120, 25, 0, true); mapblock15 = getRect(492.5, 283.5, 37, 25, 0, true); mapblock16 = getRect(561, 283.5, 37, 25, 0, true); mapblock17 = getRect(526.5, 205, 25, 248, 0, true); mapblock18 = getRect(461, 220.5, 100, 25, 0, true); mapblock19 = getRect(586, 154.5, 94, 25, 0, true); mapblock20 = getRect(474.5, 114.5, 77, 25, 0, true); mapblock22 = new RectangleParticle(87, 234.5, 30, 25, 0, true); mapblock21 = new RectangleParticle(291.5, 392.5, 73, 25, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floor", false); setRectStyle(mapblock13, "floor", false); setRectStyle(mapblock14, "floor", false); setRectStyle(mapblock15, "floor", false); setRectStyle(mapblock16, "floor", false); setRectStyle(mapblock17, "floor", false); setRectStyle(mapblock18, "floor", false); setRectStyle(mapblock19, "floor", false); setRectStyle(mapblock20, "floor", false); setRectStyle(mapblock21, "floors", true); setRectStyle(mapblock22, "floors", true); addParticle(mapblock1); addParticle(mapblock21); addParticle(mapblock22); } public function crossing24():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(35, 332.5, 40, 25, 0, true); mapblock3 = getRect(605, 104.5, 40, 25, 0, true); mapblock4 = getRect(605, 229.5, 40, 25, 0, true); mapblock5 = getRect(145.5, 95.5, 25, 160, 0, true); mapblock6 = getRect(145.5, 347, 25, 122, 0, true); mapblock7 = getRect(276.5, 267, 25, 280, 0, true); mapblock9 = getRect(420.5, 135, 25, 240, 0, true); mapblock8 = getRect(420.5, 388, 25, 40, 0, true); mapblock11 = new RectangleParticle(115, 393.5, 30, 25, 0, true); mapblock12 = new RectangleParticle(309, 393.5, 30, 25, 0, true); mapblock10 = new RectangleParticle(607, 254.5, 30, 25, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); addParticle(mapblock1); addParticle(mapblock10); addParticle(mapblock11); addParticle(mapblock12); } public function crossing26():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(227, 162.5, 446, 25, 0, true); mapblock3 = getRect(575, 162.5, 120, 25, 0, true); mapblock4 = getRect(78, 393.5, 80, 25, 0, true); mapblock5 = getRect(262.5, 381.5, 37, 52, 0, true); mapblock6 = getRect(432.5, 135.5, 37, 25, 0, true); mapblock7 = getRect(574.5, 135.5, 37, 25, 0, true); mapblock8 = getRect(56.5, 266.5, 37, 25, 0, true); mapblock9 = getRect(179.5, 394.5, 37, 25, 0, true); mapblock10 = getRect(343.5, 394.5, 37, 25, 0, true); mapblock11 = getRect(425.5, 394.5, 37, 25, 0, true); mapblock12 = new RectangleParticle(26, 135, 30, 26, 0, true); mapblock13 = new RectangleParticle(537, 135, 30, 26, 0, true); mapblock14 = new RectangleParticle(620, 135, 30, 26, 0, true); mapblock15 = new RectangleParticle(60, 293, 30, 26, 0, true); mapblock16 = new RectangleParticle(141, 393, 30, 26, 0, true); mapblock17 = new RectangleParticle(223, 393, 30, 26, 0, true); mapblock18 = new RectangleParticle(305.6, 393, 30, 26, 0, true); mapblock19 = new RectangleParticle(387, 393, 30, 26, 0, true); mapblock20 = new RectangleParticle(374.5, 135.5, 73, 25, 0, true); mapblock21 = new RectangleParticle(532, 395, 156, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floors", true); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); setRectStyle(mapblock15, "floors", true); setRectStyle(mapblock16, "floors", true); setRectStyle(mapblock17, "floors", true); setRectStyle(mapblock18, "floors", true); setRectStyle(mapblock19, "floors", true); setRectStyle(mapblock20, "floors", true); setRectStyle(mapblock21, "floors", true); addParticle(mapblock1); addParticle(mapblock12); addParticle(mapblock13); addParticle(mapblock14); addParticle(mapblock15); addParticle(mapblock16); addParticle(mapblock17); addParticle(mapblock18); addParticle(mapblock19); addParticle(mapblock20); addParticle(mapblock21); } public function crossing20():void{ mapblock1 = new RectangleParticle(329.5, 422.4, 630.2, 26.2, 0, true); mapblock2 = getRect(363, 395, 40, 26, 0, true); mapblock3 = getRect(454, 222, 40, 26, 0, true); mapblock4 = getRect(39, 196, 40, 26, 0, true); mapblock5 = getRect(90, 371, 80, 26, 0, true); mapblock6 = getRect(513, 248, 80, 26, 0, true); mapblock7 = getRect(181.5, 222, 327, 26, 0, true); mapblock8 = getRect(217, 118, 120, 26, 0, true); mapblock9 = getRect(292, 70, 26, 120, 0, true); mapblock10 = new RectangleParticle(146, 117, 22, 30, 0, true); mapblock11 = new RectangleParticle(361, 222, 22, 30, 0, true); mapblock12 = new RectangleParticle(567, 247, 22, 30, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "tfloor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); addParticle(mapblock1); addParticle(mapblock10); addParticle(mapblock11); addParticle(mapblock12); } public function crossing28():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(64, 145.5, 120, 25, 0, true); mapblock3 = getRect(138, 237, 26, 204, 0, true); mapblock4 = getRect(0x0101, 0x0101, 26, 304, 0, true); mapblock5 = getRect(325, 0x0101, 26, 304, 0, true); mapblock6 = getRect(291, 112.5, 40, 25, 0, true); mapblock7 = getRect(452, 136.5, 26, 243, 0, true); mapblock8 = getRect(585, 106, 80, 26, 0, true); mapblock9 = getRect(498, 318, 120, 26, 0, true); mapblock10 = new RectangleParticle(163, 297, 22, 70, 0, true); mapblock11 = new RectangleParticle(232, 140, 22, 70, 0, true); mapblock12 = new RectangleParticle(428, 215, 22, 70, 0, true); mapblock13 = new RectangleParticle(546, 290, 28, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "tfloor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); setRectStyle(mapblock13, "floors", true); addParticle(mapblock1); addParticle(mapblock10); addParticle(mapblock11); addParticle(mapblock12); addParticle(mapblock13); } public function crossing23():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(160.5, 395.5, 77, 25, 0, true); mapblock3 = getRect(220.5, 366.5, 37, 25, 0, true); mapblock4 = getRect(282.5, 338.5, 77, 25, 0, true); mapblock5 = getRect(370, 337.5, 40, 25, 0, true); mapblock6 = getRect(336.5, 280.5, 25, 135, 0, true); mapblock7 = getRect(383, 195.5, 120, 25, 0, true); mapblock8 = getRect(484.5, 167.5, 77, 25, 0, true); mapblock9 = getRect(545, 154, 40, 50, 0, true); mapblock10 = new RectangleParticle(183, 366.5, 30, 25, 0, true); mapblock11 = new RectangleParticle(308, 309.5, 30, 25, 0, true); mapblock12 = new RectangleParticle(590, 392.5, 74, 25, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", true); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); addParticle(mapblock1); addParticle(mapblock10); addParticle(mapblock11); addParticle(mapblock12); } public function crossing25():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(95, 244.5, 160, 25, 0, true); mapblock3 = getRect(276.5, 128, 25, 80, 0, true); mapblock4 = getRect(344, 230.5, 160, 25, 0, true); mapblock5 = getRect(277.5, 325, 25, 160, 0, true); mapblock6 = getRect(557, 258.5, 120, 25, 0, true); mapblock7 = new RectangleParticle(97, 268, 158, 22, 0, true); mapblock8 = new RectangleParticle(191.5, 252, 25, 30, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "tfloor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floors", true); setRectStyle(mapblock8, "floors", true); addParticle(mapblock1); } public function crossing27():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(105, 162, 204, 26, 0, true); mapblock3 = getRect(77.5, 287, 37, 26, 0, true); mapblock4 = getRect(252.5, 337, 37, 26, 0, true); mapblock5 = getRect(326.5, 195, 77, 26, 0, true); mapblock6 = getRect(380, 157.5, 26, 283, 0, true); mapblock7 = getRect(427, 315, 120, 26, 0, true); mapblock8 = getRect(511, 289, 40, 80, 0, true); mapblock9 = getRect(583.5, 106, 77, 26, 0, true); mapblock10 = new RectangleParticle(80, 311, 30, 22, 0, true); mapblock11 = new RectangleParticle(350, 219, 30, 22, 0, true); mapblock12 = new RectangleParticle(443.5, 289, 77, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); addParticle(mapblock1); addParticle(mapblock10); addParticle(mapblock11); addParticle(mapblock12); } public function crossing29():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(40, 154, 40, 26, 0, true); mapblock3 = getRect(293, 177, 40, 26, 0, true); mapblock4 = getRect(337, 146, 40, 26, 0, true); mapblock5 = getRect(378, 120, 40, 26, 0, true); mapblock6 = getRect(605, 92, 40, 26, 0, true); mapblock7 = getRect(607, 0x0100, 40, 26, 0, true); mapblock8 = getRect(140, 177, 26, 322, 0, true); mapblock9 = getRect(213, 204, 120, 26, 0, true); mapblock10 = getRect(456, 93, 120, 26, 0, true); mapblock11 = getRect(419, 0xFF, 120, 26, 0, true); mapblock12 = new RectangleParticle(164, 297, 22, 70, 0, true); mapblock13 = new RectangleParticle(493, 253, 22, 30, 0, true); mapblock14 = new RectangleParticle(577, 253, 22, 30, 0, true); mapblock15 = new RectangleParticle(43, 178, 30, 22, 0, true); mapblock16 = new RectangleParticle(296, 149, 30, 22, 0, true); mapblock17 = new RectangleParticle(337, 122, 30, 22, 0, true); mapblock18 = new RectangleParticle(377, 94, 30, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floors", true); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); setRectStyle(mapblock15, "floors", true); setRectStyle(mapblock16, "floors", true); setRectStyle(mapblock17, "floors", true); setRectStyle(mapblock18, "floors", true); addParticle(mapblock1); addParticle(mapblock12); addParticle(mapblock13); addParticle(mapblock14); addParticle(mapblock15); addParticle(mapblock16); addParticle(mapblock17); addParticle(mapblock18); } public function crossing22():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(59, 342.5, 80, 25, 0, true); mapblock3 = getRect(75, 194.5, 118, 25, 0, true); mapblock4 = getRect(298, 319, 120, 52, 0, true); mapblock5 = getRect(350, 208, 26, 160, 0, true); mapblock6 = getRect(286, 219, 100, 26, 0, true); mapblock7 = getRect(367, 113, 200, 26, 0, true); mapblock8 = getRect(586, 127.5, 80, 25, 0, true); mapblock9 = getRect(504, 293, 80, 52, 0, true); mapblock10 = new RectangleParticle(361, 393.5, 338, 25, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floors", true); addParticle(mapblock1); addParticle(mapblock10); } public function crossing30():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(94, 208, 160, 26, 0, true); mapblock3 = getRect(352, 148, 160, 26, 0, true); mapblock4 = getRect(548, 300, 160, 26, 0, true); mapblock5 = getRect(0x0101, 245, 26, 322, 0, true); mapblock6 = getRect(606, 123, 40, 26, 0, true); mapblock7 = new RectangleParticle(233, 101, 22, 30, 0, true); mapblock8 = new RectangleParticle(445, 147, 22, 30, 0, true); mapblock9 = new RectangleParticle(457, 300, 22, 30, 0, true); mapblock10 = new RectangleParticle(283.5, 284, 25, 244, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "tfloor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floors", true); setRectStyle(mapblock8, "floors", true); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock10, "tfloor", true); addParticle(mapblock1); addParticle(mapblock7); addParticle(mapblock8); addParticle(mapblock9); addParticle(mapblock10); } public function crossing31():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(36, 395, 40, 26, 0, true); mapblock3 = getRect(46, 303, 40, 26, 0, true); mapblock4 = getRect(158, 284, 40, 26, 0, true); mapblock5 = getRect(243, 154, 40, 26, 0, true); mapblock6 = getRect(403, 154, 40, 26, 0, true); mapblock7 = getRect(492, 282, 40, 26, 0, true); mapblock8 = getRect(608, 123, 40, 26, 0, true); mapblock9 = getRect(600, 251, 40, 26, 0, true); mapblock10 = getRect(592, 395, 40, 26, 0, true); mapblock11 = getRect(324, 114, 120, 26, 0, true); mapblock12 = getRect(304, 395, 120, 26, 0, true); mapblock13 = new RectangleParticle(325, 138, 80, 22, 0, true); mapblock14 = new RectangleParticle(48, 327, 30, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "tfloor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "tfloor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "tfloor", false); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); addParticle(mapblock1); addParticle(mapblock13); addParticle(mapblock14); } public function crossing33():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(341, 395, 120, 26, 0, true); mapblock3 = getRect(328, 218, 406, 26, 0, true); mapblock4 = getRect(276, 191, 40, 26, 0, true); mapblock5 = getRect(381, 191, 40, 26, 0, true); mapblock6 = new RectangleParticle(112, 221, 22, 30, 0, true); mapblock7 = new RectangleParticle(547, 221, 22, 30, 0, true); mapblock8 = new RectangleParticle(166.5, 244, 75, 22, 0, true); mapblock9 = new RectangleParticle(334.5, 244, 75, 22, 0, true); mapblock10 = new RectangleParticle(495.5, 244, 75, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "tfloor", false); setRectStyle(mapblock5, "tfloor", false); setRectStyle(mapblock6, "floors", true); setRectStyle(mapblock7, "floors", true); setRectStyle(mapblock8, "floors", true); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock10, "floors", true); addParticle(mapblock1); addParticle(mapblock6); addParticle(mapblock7); addParticle(mapblock8); addParticle(mapblock9); addParticle(mapblock10); } public function crossing34():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(51, 140, 40, 26, 0, true); mapblock3 = getRect(172, 213, 40, 26, 0, true); mapblock4 = getRect(263, 133, 40, 26, 0, true); mapblock5 = getRect(344, 396, 40, 26, 0, true); mapblock6 = getRect(499, 84, 40, 26, 0, true); mapblock7 = getRect(603, 84, 40, 26, 0, true); mapblock8 = getRect(85, 308, 26, 80, 0, true); mapblock9 = getRect(462, 369, 26, 80, 0, true); mapblock10 = getRect(419, 238, 80, 26, 0, true); mapblock11 = getRect(592, 326, 80, 26, 0, true); mapblock12 = new RectangleParticle(86, 252, 30, 22, 0, true); mapblock13 = new RectangleParticle(266, 157, 30, 22, 0, true); mapblock14 = new RectangleParticle(402, 262, 30, 22, 0, true); mapblock15 = new RectangleParticle(501, 54, 30, 22, 0, true); mapblock16 = new RectangleParticle(617, 298, 30, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "tfloor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floors", true); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); setRectStyle(mapblock15, "floors", true); setRectStyle(mapblock16, "floors", true); addParticle(mapblock1); addParticle(mapblock12); addParticle(mapblock13); addParticle(mapblock14); addParticle(mapblock15); addParticle(mapblock16); } public function crossing37():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(75, 395, 124, 26, 0, true); mapblock3 = getRect(266, 175, 124, 26, 0, true); mapblock4 = getRect(358, 81, 26, 80, 0, true); mapblock5 = getRect(570, 143, 80, 26, 0, true); mapblock6 = getRect(318, 142, 26, 40, 0, true); mapblock7 = getRect(161, 0x0101, 40, 26, 0, true); mapblock8 = getRect(324, 108, 40, 26, 0, true); mapblock9 = getRect(319, 332, 40, 26, 0, true); mapblock10 = getRect(413, 286, 40, 26, 0, true); mapblock11 = getRect(462, 218, 40, 26, 0, true); mapblock16 = getRect(126, 262, 26, 240, 0, true); mapblock12 = new RectangleParticle(0xFF, 147, 80, 26, 0, true); mapblock13 = new RectangleParticle(385, 80, 26, 80, 0, true); mapblock14 = new RectangleParticle(518.5, 144, 25, 30, 0, true); mapblock15 = new RectangleParticle(503, 395, 248, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floors", true); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); setRectStyle(mapblock15, "tfloor", true); setRectStyle(mapblock16, "tfloor", false); addParticle(mapblock1); addParticle(mapblock12); addParticle(mapblock13); addParticle(mapblock14); addParticle(mapblock15); } public function crossing38():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(34, 337, 40, 26, 0, true); mapblock3 = getRect(241, 333, 40, 26, 0, true); mapblock4 = getRect(284, 179, 40, 26, 0, true); mapblock5 = getRect(411, 286, 40, 26, 0, true); mapblock6 = getRect(460, 217, 40, 26, 0, true); mapblock7 = getRect(600, 152, 40, 26, 0, true); mapblock8 = getRect(146, 280, 26, 120, 0, true); mapblock9 = new RectangleParticle(326, 393, 596, 26, 0, true); mapblock10 = new RectangleParticle(326, 25, 596, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "tfloor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock10, "floors", true); addParticle(mapblock1); addParticle(mapblock9); addParticle(mapblock10); } public function crossing35():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(138, 260, 40, 26, 0, true); mapblock3 = getRect(244, 212, 40, 26, 0, true); mapblock4 = getRect(231, 342, 40, 26, 0, true); mapblock5 = getRect(236, 157, 26, 40, 0, true); mapblock6 = getRect(438, 175, 26, 40, 0, true); mapblock7 = getRect(347, 122, 290, 26, 0, true); mapblock8 = getRect(386, 213, 120, 26, 0, true); mapblock9 = getRect(474, 338, 80, 26, 0, true); mapblock10 = getRect(578, 311, 26, 80, 0, true); mapblock11 = new RectangleParticle(499, 310.5, 30, 25, 0, true); mapblock12 = new RectangleParticle(322, 395, 590, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); addParticle(mapblock1); addParticle(mapblock11); addParticle(mapblock12); } public function crossing36():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(69, 259, 40, 26, 0, true); mapblock3 = getRect(233, 341, 40, 26, 0, true); mapblock4 = getRect(125, 336, 124, 26, 0, true); mapblock5 = getRect(520, 102, 124, 26, 0, true); mapblock6 = getRect(231, 131, 164, 26, 0, true); mapblock7 = getRect(264, 171, 26, 54, 0, true); mapblock8 = getRect(436.5, 213, 371, 26, 0, true); mapblock9 = getRect(575, 176, 26, 40, 0, true); mapblock10 = getRect(385, 58, 26, 80, 0, true); mapblock11 = new RectangleParticle(460.5, 394.5, 117, 25, 0, true); mapblock12 = new RectangleParticle(611, 183.5, 30, 25, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "tfloor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "tfloor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); addParticle(mapblock1); addParticle(mapblock11); addParticle(mapblock12); } public function crossing39():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(36, 337, 40, 26, 0, true); mapblock3 = getRect(147, 237, 40, 26, 0, true); mapblock4 = getRect(352, 275, 40, 26, 0, true); mapblock5 = getRect(474, 344, 40, 26, 0, true); mapblock6 = getRect(542, 151, 40, 26, 0, true); mapblock7 = getRect(112, 153, 80, 26, 0, true); mapblock8 = getRect(302, 190, 80, 26, 0, true); mapblock9 = getRect(494, 234, 80, 26, 0, true); mapblock10 = getRect(113, 287, 26, 236, 0, true); mapblock11 = getRect(317, 303.5, 26, 201, 0, true); mapblock12 = getRect(507, 119.5, 26, 201, 0, true); mapblock13 = new RectangleParticle(114.5, 124.5, 77, 25, 0, true); mapblock14 = new RectangleParticle(286, 216, 30, 26, 0, true); mapblock15 = new RectangleParticle(327, 164, 30, 26, 0, true); mapblock16 = new RectangleParticle(477, 206, 30, 26, 0, true); mapblock17 = new RectangleParticle(608, 395, 30, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floor", false); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); setRectStyle(mapblock15, "floors", true); setRectStyle(mapblock16, "floors", true); setRectStyle(mapblock17, "floors", true); addParticle(mapblock1); addParticle(mapblock13); addParticle(mapblock14); addParticle(mapblock15); addParticle(mapblock16); addParticle(mapblock17); } public function crossing40():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(77, 395, 80, 26, 0, true); mapblock3 = getRect(496, 319, 80, 26, 0, true); mapblock4 = getRect(511, 57, 26, 80, 0, true); mapblock5 = getRect(510, 244, 26, 124, 0, true); mapblock6 = getRect(344, 367, 42, 80, 0, true); mapblock7 = getRect(164.5, 179, 289, 26, 0, true); mapblock8 = getRect(545, 252, 40, 26, 0, true); mapblock9 = new RectangleParticle(228.5, 152.5, 75, 25, 0, true); mapblock10 = new RectangleParticle(500, 393.5, 250, 25, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "tfloor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "tfloor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock10, "floors", true); addParticle(mapblock1); addParticle(mapblock9); addParticle(mapblock10); } public function crossing41():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(100, 301, 40, 26, 0, true); mapblock3 = getRect(338, 149, 40, 26, 0, true); mapblock4 = getRect(496, 313, 40, 26, 0, true); mapblock5 = getRect(468, 395, 40, 26, 0, true); mapblock6 = getRect(459, 56, 26, 80, 0, true); mapblock7 = getRect(571, 395, 80, 26, 0, true); mapblock8 = getRect(134, 306, 26, 200, 0, true); mapblock9 = getRect(281, 283, 152, 26, 0, true); mapblock10 = getRect(371, 154, 26, 282, 0, true); mapblock11 = getRect(461, 318, 26, 120, 0, true); mapblock12 = new RectangleParticle(37, 395, 30, 25, 0, true); mapblock13 = new RectangleParticle(396.5, 154, 25, 30, 0, true); mapblock14 = new RectangleParticle(319, 308.5, 70, 25, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "tfloor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "tfloor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floors", true); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); addParticle(mapblock1); addParticle(mapblock12); addParticle(mapblock13); addParticle(mapblock14); } public function crossing45():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(270, 337, 40, 26, 0, true); mapblock3 = getRect(396, 243, 40, 26, 0, true); mapblock4 = getRect(571, 300, 40, 26, 0, true); mapblock5 = getRect(58, 394, 80, 26, 0, true); mapblock6 = getRect(417, 367, 26, 80, 0, true); mapblock7 = getRect(306, 263, 26, 120, 0, true); mapblock8 = getRect(98, 205, 164, 26, 0, true); mapblock9 = getRect(356, 37, 164, 26, 0, true); mapblock10 = getRect(402, 311, 164, 26, 0, true); mapblock11 = new RectangleParticle(83, 179.5, 116, 25, 0, true); mapblock12 = new RectangleParticle(343, 63.5, 116, 25, 0, true); mapblock13 = new RectangleParticle(404, 284.5, 152, 25, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "tfloor", false); setRectStyle(mapblock6, "tfloor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); setRectStyle(mapblock13, "floors", true); addParticle(mapblock1); addParticle(mapblock11); addParticle(mapblock11); addParticle(mapblock12); addParticle(mapblock13); } public function crossing47():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(83, 252, 40, 26, 0, true); mapblock3 = getRect(497, 226, 40, 26, 0, true); mapblock4 = getRect(566, 352, 40, 26, 0, true); mapblock5 = getRect(414, 248, 26, 40, 0, true); mapblock6 = getRect(215, 165, 26, 122, 0, true); mapblock7 = getRect(415, 140, 26, 120, 0, true); mapblock8 = getRect(368, 215, 112, 26, 0, true); mapblock9 = getRect(300, 88, 200, 26, 0, true); mapblock11 = new RectangleParticle(241, 204, 22, 30, 0, true); mapblock12 = new RectangleParticle(307, 115, 118, 22, 0, true); mapblock13 = new RectangleParticle(128, 395, 204, 26, 0, true); mapblock10 = new RectangleParticle(456, 395, 338, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); setRectStyle(mapblock13, "floors", true); addParticle(mapblock1); addParticle(mapblock10); addParticle(mapblock11); addParticle(mapblock12); addParticle(mapblock13); } public function crossing32():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(163, 142, 40, 26, 0, true); mapblock3 = getRect(286, 198, 40, 26, 0, true); mapblock4 = getRect(392, 183, 40, 26, 0, true); mapblock5 = getRect(503, 143, 40, 26, 0, true); mapblock6 = getRect(490, 283, 40, 26, 0, true); mapblock7 = getRect(598, 107, 40, 26, 0, true); mapblock8 = getRect(98, 396, 120, 26, 0, true); mapblock9 = getRect(93, 115, 160, 26, 0, true); mapblock10 = getRect(224, 168, 80, 26, 0, true); mapblock11 = new RectangleParticle(397, 207, 30, 22, 0, true); mapblock12 = new RectangleParticle(508, 167, 30, 22, 0, true); mapblock13 = new RectangleParticle(600, 131, 30, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "tfloor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); setRectStyle(mapblock13, "floors", true); addParticle(mapblock1); addParticle(mapblock11); addParticle(mapblock12); addParticle(mapblock13); } public function crossing46():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(36, 118, 40, 26, 0, true); mapblock3 = getRect(84, 251, 40, 26, 0, true); mapblock4 = getRect(208, 333, 40, 26, 0, true); mapblock5 = getRect(340, 311, 40, 26, 0, true); mapblock6 = getRect(541, 233, 40, 26, 0, true); mapblock7 = getRect(562, 352, 40, 26, 0, true); mapblock8 = getRect(415, 345, 26, 40, 0, true); mapblock9 = getRect(442, 311, 80, 26, 0, true); mapblock10 = getRect(307, 264, 26, 120, 0, true); mapblock11 = getRect(416, 236, 26, 120, 0, true); mapblock12 = getRect(241, 38, 164, 26, 0, true); mapblock13 = getRect(482, 160, 164, 26, 0, true); mapblock14 = new RectangleParticle(228, 64, 116, 26, 0, true); mapblock15 = new RectangleParticle(468, 135, 116, 26, 0, true); mapblock16 = new RectangleParticle(389, 167, 22, 30, 0, true); mapblock17 = new RectangleParticle(325, 395, 602, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floor", false); setRectStyle(mapblock13, "floor", false); setRectStyle(mapblock14, "floors", true); setRectStyle(mapblock15, "floors", true); setRectStyle(mapblock16, "floors", true); setRectStyle(mapblock17, "floors", true); addParticle(mapblock1); addParticle(mapblock14); addParticle(mapblock15); addParticle(mapblock16); addParticle(mapblock17); } public function crossing48():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(183, 127, 40, 26, 0, true); mapblock3 = getRect(511, 74, 26, 80, 0, true); mapblock4 = getRect(538, 306, 80, 26, 0, true); mapblock5 = getRect(511, 232, 26, 118, 0, true); mapblock6 = getRect(353, 395, 100, 26, 0, true); mapblock7 = getRect(395, 300, 26, 160, 0, true); mapblock8 = getRect(157, 224, 284, 26, 0, true); mapblock9 = new RectangleParticle(486, 189, 22, 30, 0, true); mapblock10 = new RectangleParticle(522, 395, 208, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock10, "floors", true); addParticle(mapblock1); addParticle(mapblock9); addParticle(mapblock10); } public function crossing49():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(46, 395, 40, 26, 0, true); mapblock3 = getRect(300, 231, 40, 26, 0, true); mapblock4 = getRect(73, 159, 120, 26, 0, true); mapblock5 = getRect(73, 253, 120, 26, 0, true); mapblock6 = getRect(258, 345, 120, 26, 0, true); mapblock7 = getRect(429, 132, 160, 26, 0, true); mapblock8 = getRect(522, 258, 200, 26, 0, true); mapblock9 = getRect(334, 245, 26, 244, 0, true); mapblock10 = new RectangleParticle(583, 282, 74, 22, 0, true); mapblock11 = new RectangleParticle(337, 395, 340, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock11, "floors", true); addParticle(mapblock1); addParticle(mapblock10); addParticle(mapblock11); } public function crossing42():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(59, 141, 80, 26, 0, true); mapblock3 = getRect(286, 174, 26, 80, 0, true); mapblock4 = getRect(376, 174, 26, 80, 0, true); mapblock5 = getRect(214, 331, 164, 26, 0, true); mapblock6 = getRect(444, 331, 164, 26, 0, true); mapblock7 = getRect(252, 198, 40, 26, 0, true); mapblock8 = getRect(545, 170, 120, 26, 0, true); mapblock9 = new RectangleParticle(379, 225.5, 30, 25, 0, true); mapblock10 = new RectangleParticle(281, 225.5, 30, 25, 0, true); mapblock11 = new RectangleParticle(334.5, 394, 75, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock11, "floors", true); addParticle(mapblock1); addParticle(mapblock9); addParticle(mapblock10); addParticle(mapblock11); } public function crossing43():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(206, 318, 40, 26, 0, true); mapblock3 = getRect(302, 264, 40, 26, 0, true); mapblock4 = getRect(393, 264, 40, 26, 0, true); mapblock5 = getRect(482, 264, 40, 26, 0, true); mapblock6 = getRect(522, 290, 40, 26, 0, true); mapblock7 = getRect(606, 215, 40, 26, 0, true); mapblock8 = getRect(186, 131, 80, 26, 0, true); mapblock9 = getRect(309, 76, 26, 80, 0, true); mapblock10 = getRect(135, 264, 26, 286, 0, true); mapblock11 = getRect(362, 132, 162, 26, 0, true); mapblock12 = getRect(571, 132, 120, 26, 0, true); mapblock13 = new RectangleParticle(309, 289.5, 30, 25, 0, true); mapblock14 = new RectangleParticle(527, 315.5, 30, 25, 0, true); mapblock15 = new RectangleParticle(384, 393, 76, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "tfloor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floor", false); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); setRectStyle(mapblock15, "tfloor", true); addParticle(mapblock1); addParticle(mapblock13); addParticle(mapblock14); addParticle(mapblock15); } public function crossing44():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(80, 311, 40, 26, 0, true); mapblock3 = getRect(80, 226, 40, 26, 0, true); mapblock4 = getRect(357, 115, 40, 26, 0, true); mapblock5 = getRect(441, 394, 40, 26, 0, true); mapblock6 = getRect(60, 147, 80, 26, 0, true); mapblock7 = getRect(184, 168, 26, 286, 0, true); mapblock8 = getRect(307, 265, 26, 118, 0, true); mapblock9 = getRect(402, 311, 162, 26, 0, true); mapblock10 = getRect(476, 179, 162, 26, 0, true); mapblock11 = getRect(474, 367, 26, 80, 0, true); mapblock12 = new RectangleParticle(209, 227, 22, 154, 0, true); mapblock13 = new RectangleParticle(406, 286, 154, 22, 0, true); mapblock14 = new RectangleParticle(589, 395, 72, 26, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "tfloor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floor", false); setRectStyle(mapblock11, "floor", false); setRectStyle(mapblock12, "floors", true); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); addParticle(mapblock1); addParticle(mapblock11); addParticle(mapblock12); addParticle(mapblock13); addParticle(mapblock14); } public function crossing50():void{ mapblock1 = new RectangleParticle(325, 423, 650, 26.2, 0, true); mapblock2 = getRect(39, 395, 40, 26, 0, true); mapblock3 = getRect(188, 353, 40, 26, 0, true); mapblock4 = getRect(556, 113, 40, 26, 0, true); mapblock5 = getRect(604, 331, 40, 26, 0, true); mapblock6 = getRect(115, 233, 26, 246, 0, true); mapblock7 = getRect(248, 138, 26, 246, 0, true); mapblock8 = getRect(382, 241, 26, 246, 0, true); mapblock9 = getRect(521, 138, 26, 246, 0, true); mapblock10 = new RectangleParticle(609, 355, 30, 22, 0, true); mapblock11 = new RectangleParticle(546, 196, 22, 120, 0, true); mapblock12 = new RectangleParticle(208, 395, 164, 26, 0, true); mapblock13 = new RectangleParticle(427, 395, 164, 26, 0, true); mapblock14 = new RectangleParticle(92, 243, 20, 210, 0, true); mapblock15 = new RectangleParticle(140, 243, 20, 210, 0, true); mapblock16 = new RectangleParticle(224, 151, 20, 210, 0, true); mapblock17 = new RectangleParticle(274, 151, 20, 210, 0, true); mapblock18 = new RectangleParticle(358, 253, 20, 210, 0, true); mapblock19 = new RectangleParticle(408, 253, 20, 210, 0, true); mapblock20 = new RectangleParticle(497, 151, 20, 210, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); setRectStyle(mapblock9, "floor", false); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock11, "floors", true); setRectStyle(mapblock12, "floors", true); setRectStyle(mapblock13, "floors", true); setRectStyle(mapblock14, "floors", true); setRectStyle(mapblock15, "floors", true); setRectStyle(mapblock16, "floors", true); setRectStyle(mapblock17, "floors", true); setRectStyle(mapblock18, "floors", true); setRectStyle(mapblock19, "floors", true); setRectStyle(mapblock20, "floors", true); addParticle(mapblock1); addParticle(mapblock10); addParticle(mapblock11); addParticle(mapblock11); addParticle(mapblock12); addParticle(mapblock13); addParticle(mapblock14); addParticle(mapblock15); addParticle(mapblock16); addParticle(mapblock17); addParticle(mapblock18); addParticle(mapblock19); addParticle(mapblock20); } public function crossing1():void{ mapblock1 = new RectangleParticle(325, 423.85, 650, 28.1, 0, true); mapblock2 = new RectangleParticle(359.8, 115.65, 240.2, 26.9, 0, true); mapblock3 = new RectangleParticle(242.7, 284, 109.8, 26.2, 0, true); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock1, "floors", false); addParticle(mapblock2); addParticle(mapblock3); addParticle(mapblock1); floor = new RectangleParticle(359.8, 102.2, 240.2, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); floor = new RectangleParticle(242.7, 269, 109.8, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); } public function crossing2():void{ mapblock1 = new RectangleParticle(325, 423.85, 650, 28.1, 0, true); mapblock2 = new RectangleParticle(175.6, 119.9, 113.6, 26.4, 0, true); mapblock3 = new RectangleParticle(366.25, 345.55, 140.1, 25.9, 0, true); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock1, "floors", false); addParticle(mapblock2); addParticle(mapblock3); addParticle(mapblock1); floor = new RectangleParticle(175.6, 102.9, 113.6, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); floor = new RectangleParticle(366.25, 328.55, 140.1, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); } public function crossing3():void{ mapblock1 = new RectangleParticle(325, 423.85, 650, 28.1, 0, true); mapblock2 = new RectangleParticle(77.8, 241.15, 114.8, 25.9, 0, true); mapblock3 = new RectangleParticle(330.5, 316.75, 140, 25.5, 0, true); mapblock4 = new RectangleParticle(470, 279.75, 140, 25.5, 0, true); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock4, "floor", false); addParticle(mapblock2); addParticle(mapblock3); addParticle(mapblock1); addParticle(mapblock4); floor = new RectangleParticle(77.8, 224.15, 114.8, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); floor = new RectangleParticle(330.5, 299.75, 140, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); floor = new RectangleParticle(470, 264.75, 140, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); } public function crossing4():void{ mapblock1 = new RectangleParticle(325, 423.85, 650, 28.1, 0, true); mapblock2 = new RectangleParticle(78, 332, 114, 24, 0, true); setRectStyle(mapblock2, "floor", false); addParticle(mapblock2); floor = new RectangleParticle(78, 316, 114, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); mapblock3 = new RectangleParticle(218.5, 175, 139, 26, 0, true); setRectStyle(mapblock3, "floor", false); addParticle(mapblock3); floor = new RectangleParticle(218.5, 158, 139, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); mapblock4 = new RectangleParticle(412, 251, 34, 184, 0, true); setRectStyle(mapblock4, "floor", false); addParticle(mapblock4); mapblock5 = new RectangleParticle(511, 141, 230, 24, 0, true); setRectStyle(mapblock5, "floor", false); addParticle(mapblock5); floor = new RectangleParticle(511, 125, 230, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); mapblock6 = new RectangleParticle(384, 220.5, 22, 153, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock6, "floor", true); addParticle(mapblock1); addParticle(mapblock6); } public function crossing6():void{ mapblock1 = new RectangleParticle(325.2, 423.85, 620, 28.1, 0, true); mapblock2 = getRect(87.7, 233.65, 139.4, 24.1, 0, true); mapblock3 = getRect(340.75, 341.55, 86.5, 24.1, 0, true); mapblock4 = getRect(367, 384.25, 34, 52.5, 0, true); mapblock5 = getRect(367.9, 34.5, 140, 29, 0, true); mapblock6 = getRect(366.4, 132.5, 35, 169, 0, true); mapblock7 = getRect(578.65, 132.45, 79.3, 28.1, 0, true); mapblock8 = new RectangleParticle(337.5, 145.5, 25, 115, 0, true); mapblock9 = new RectangleParticle(398.5, 145.5, 25, 115, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "tfloor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floors", true); setRectStyle(mapblock9, "floors", true); addParticle(mapblock1); addParticle(mapblock8); addParticle(mapblock9); } public function crossing7():void{ mapblock3 = new RectangleParticle(325.2, 423.85, 620, 28.1, 0, true); mapblock4 = getRect(317.2, 232.55, 417.4, 28.1, 0, true); mapblock5 = getRect(329.75, 130.55, 139.5, 28.1, 0, true); mapblock6 = getRect(276.5, 180.75, 34, 73.5, 0, true); mapblock7 = getRect(508.25, 297.25, 34.5, 101.5, 0, true); mapblock8 = getRect(548.25, 121.75, 78.5, 28.1, 0, true); mapblock9 = new RectangleParticle(536.5, 280.8, 21, 114, 0, true); mapblock10 = new RectangleParticle(498, 122.5, 28, 35.4, 0, true); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock3, "floors", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floor", false); addParticle(mapblock10); addParticle(mapblock3); addParticle(mapblock9); } public function crossing8():void{ mapblock1 = new RectangleParticle(325.2, 423.85, 620, 28.1, 0, true); mapblock2 = getRect(63.8, 374.45, 79.4, 28.1, 0, true); mapblock3 = getRect(170.15, 166.05, 139.9, 32.1, 0, true); mapblock4 = getRect(370.4, 61.5, 35, 91, 0, true); mapblock5 = getRect(369.9, 232.75, 34, 119.5, 0, true); mapblock6 = getRect(492.7, 309.95, 277.6, 33.9, 0, true); mapblock7 = getRect(559.85, 161.15, 139.9, 32.1, 0, true); mapblock8 = new RectangleParticle(373.5, 397, 115, 22, 0, true); mapblock9 = new RectangleParticle(398, 235.75, 22, 116.5, 0, true); mapblock10 = new RectangleParticle(493, 283, 168, 22, 0, true); mapblock11 = new RectangleParticle(398, 66.5, 22, 73, 0, true); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "tfloor", true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "tfloor", false); setRectStyle(mapblock11, "floors", true); addParticle(mapblock8); addParticle(mapblock9); addParticle(mapblock10); addParticle(mapblock11); addParticle(mapblock1); } public function crossing9():void{ mapblock1 = new RectangleParticle(325.2, 423.85, 620, 28.1, 0, true); mapblock2 = getRect(92.5, 291.65, 139.4, 28.1, 0, true); mapblock3 = getRect(132.5, 165.5, 217, 31, 0, true); mapblock4 = getRect(224.5, 107.5, 33, 83, 0, true); mapblock5 = getRect(369.4, 176, 33, 124, 0, true); mapblock6 = getRect(458.45, 255.5, 338.9, 31, 0, true); mapblock7 = getRect(579.05, 155.25, 60.1, 28.1, 0, true); mapblock8 = new RectangleParticle(253.6, 109, 22, 73, 0, true); mapblock9 = new RectangleParticle(312, 225.6, 30, 22, 0, true); mapblock10 = new RectangleParticle(342, 179, 22, 115, 0, true); mapblock11 = new RectangleParticle(493.5, 225, 203, 22, 0, true); setRectStyle(mapblock1, "floors", false); setRectStyle(mapblock2, "floor", false); setRectStyle(mapblock3, "floor", false); setRectStyle(mapblock4, "floor", false); setRectStyle(mapblock5, "floor", false); setRectStyle(mapblock6, "floor", false); setRectStyle(mapblock7, "floor", false); setRectStyle(mapblock8, "floors", true); setRectStyle(mapblock9, "floors", true); setRectStyle(mapblock10, "floors", true); setRectStyle(mapblock11, "floors", true); addParticle(mapblock1); addParticle(mapblock8); addParticle(mapblock9); addParticle(mapblock10); addParticle(mapblock11); } public function crossing5():void{ mapblock1 = new RectangleParticle(325, 423.85, 650, 28.1, 0, true); mapblock2 = new RectangleParticle(285, 152.5, 278, 21, 0, true); setRectStyle(mapblock2, "floor", false); addParticle(mapblock2); floor = new RectangleParticle(285, 140, 278, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); mapblock3 = new RectangleParticle(555.5, 106, 139, 20, 0, true); setRectStyle(mapblock3, "floor", false); addParticle(mapblock3); floor = new RectangleParticle(555.5, 94, 139, 8, 0, true); setRectStyle(floor, "floors", false); addParticle(floor); setRectStyle(mapblock1, "floors", false); addParticle(mapblock1); } private function setRectStyle(_arg1:RectangleParticle, _arg2:String, _arg3:Boolean):void{ _arg1.name = _arg2; if (_arg2 == "floor"){ _arg1.setStyle(0, 0xFFFFFF, 0, 0xFF0000, 0); } else { _arg1.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 0); }; if (_arg2 == "floors"){ _arg1.friction = 0.45; } else { _arg1.friction = 0; }; _arg1.elasticity = 0; _arg1.attack = _arg3; if (_arg3){ _arg1.elasticity = 0.6; }; } } }//package handjoys.fly.element
Section 17
//FlingAeronef (handjoys.fly.element.FlingAeronef) package handjoys.fly.element { import org.cove.ape.*; import flash.events.*; import handjoys.fly.util.*; import handjoys.fly.*; import flash.utils.*; public class FlingAeronef extends Group implements Runnable { private var _people:RectangleParticle; private var _face:Number;// = 1 private var _rect:RectangleParticle; private var _timer:Timer; private var _sleepTimer:Timer; private var _runFlag:Boolean;// = false private var _sprite:FlingAeronefMovieClip; private var _x:Number; private var _y:Number; public function FlingAeronef(_arg1:Number, _arg2:Number, _arg3:Number){ _face = 1; _runFlag = false; super(); _x = _arg1; _y = _arg2; this._face = _arg3; _sprite = new FlingAeronefMovieClip(); _sprite.scaleX = _face; _rect = new RectangleParticle(_arg1, _arg2, _sprite.width, _sprite.height, 0); _rect.friction = 0.6; _rect.elasticity = 0; _rect.mass = 1; _rect.fixed = true; _rect.setDisplay(_sprite); _rect.name = "floor"; addParticle(_rect); draw(_arg2, 10, 10); Cache._runObj.push(this); _timer = new Timer(3250, 1); _timer.addEventListener(TimerEvent.TIMER_COMPLETE, doTimerHandle); _sleepTimer = new Timer(5000, 1); _sleepTimer.addEventListener(TimerEvent.TIMER_COMPLETE, doSleepTimerHandle); _sleepTimer.start(); } public function stop():void{ _sprite.stop(); } public function run():void{ var _local1:Aeronef; if (_runFlag){ switch (_sprite.currentFrame){ case 3: draw((_rect.py - (_sprite.height / 2)), 8.4, 17.6); break; case 7: draw(((_rect.py - (_sprite.height / 2)) - 12.5), 25.8, 37); break; case 14: _local1 = new Aeronef((_x - 15.4), (_y - 20), _face); _local1.addCollidableList(this.collisionList); Cache._protagonist.addCollidable(_local1); APEngine.addGroup(_local1); case 62: draw((_rect.py - (_sprite.height / 2)), 8.4, 17.6); break; case 1: draw(_rect.py, 1, 1); break; }; }; } private function doSleepTimerHandle(_arg1:TimerEvent):void{ _runFlag = true; _timer.reset(); _timer.start(); _sprite.gotoAndPlay("attack"); } private function doTimerHandle(_arg1:TimerEvent):void{ _runFlag = false; _sleepTimer.reset(); _sleepTimer.start(); } private function draw(_arg1:Number, _arg2:Number, _arg3:Number):void{ if (_people != null){ removeParticle(_people); }; _people = new RectangleParticle(_x, _arg1, _arg3, _arg2, 0); _people.elasticity = 0.5; _people.mass = 1; _people.attack = true; _people.fixed = true; _people.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 0); _people.name = "people"; addParticle(_people); } public function addFlingCollidable(_arg1:Group):void{ this.addCollidable(_arg1); } } }//package handjoys.fly.element
Section 18
//FlingAeronefGroup (handjoys.fly.element.FlingAeronefGroup) package handjoys.fly.element { import org.cove.ape.*; import handjoys.fly.util.*; public class FlingAeronefGroup { private var _collidableList:Array; public function FlingAeronefGroup(_arg1:Array){ _collidableList = _arg1; init(); } private function flingAeronef40():void{ var _local1:FlingAeronef; var _local2:FlingAeronef; _local1 = new FlingAeronef(548.9, 219.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new FlingAeronef(36.9, 147.4, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function flingAeronef41():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(338.9, 117.5, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function init():void{ switch (Cache._gate){ case 9: flingAeronef9(); break; case 13: flingAeronef13(); break; case 14: flingAeronef14(); break; case 17: flingAeronef17(); break; case 18: flingAeronef18(); break; case 19: flingAeronef19(); break; case 20: flingAeronef20(); break; case 21: flingAeronef21(); break; case 23: flingAeronef23(); break; case 24: flingAeronef24(); break; case 26: flingAeronef26(); break; case 27: flingAeronef27(); break; case 31: flingAeronef31(); break; case 32: flingAeronef32(); break; case 40: flingAeronef40(); break; case 41: flingAeronef41(); break; case 42: flingAeronef42(); break; case 43: flingAeronef43(); break; case 44: flingAeronef44(); break; case 45: flingAeronef45(); break; case 46: flingAeronef46(); break; case 47: flingAeronef47(); break; case 48: flingAeronef48(); break; case 49: flingAeronef49(); break; case 50: flingAeronef50(); break; }; } private function flingAeronef43():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(610.9, 183.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef44():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(438.9, 363.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef23():void{ var _local1:FlingAeronef; var _local2:FlingAeronef; _local1 = new FlingAeronef(266.9, 388.4, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new FlingAeronef(373.9, 306.4, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function flingAeronef24():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(606.9, 197.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef47():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(258.9, 389.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef27():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(84.9, 254.4, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef21():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(264.9, 127.5, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef45():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(164.9, 172.4, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef46():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(547.9, 128.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef26():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(61.9, 235.4, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef49():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(448.9, 226.4, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef42():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(255.9, 168.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef48():void{ var _local1:FlingAeronef; var _local2:FlingAeronef; _local1 = new FlingAeronef(44.9, 192.4, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new FlingAeronef(185.9, 95.5, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function flingAeronef9():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(582.9, 121.8, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef20():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(497.9, 213.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef50():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(313.9, 389.4, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef31():void{ var _local1:FlingAeronef; var _local2:FlingAeronef; _local1 = new FlingAeronef(49.9, 270.4, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new FlingAeronef(602.9, 219.4, 1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function flingAeronef32():void{ var _local1:FlingAeronef; var _local2:FlingAeronef; _local1 = new FlingAeronef(508.9, 112.5, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new FlingAeronef(600.9, 74.5, 1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function flingAeronef13():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(563.9, 153.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef14():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(596.9, 363.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef17():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(606.9, 187.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef18():void{ var _local1:FlingAeronef; _local1 = new FlingAeronef(619.9, 390.4, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function flingAeronef19():void{ var _local1:FlingAeronef; var _local2:FlingAeronef; _local1 = new FlingAeronef(603.9, 120.5, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new FlingAeronef(39.9, 120.5, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } } }//package handjoys.fly.element
Section 19
//FoulLine (handjoys.fly.element.FoulLine) package handjoys.fly.element { import org.cove.ape.*; public class FoulLine extends Group { public function FoulLine(){ var _local1:RectangleParticle; var _local2:RectangleParticle; var _local3:RectangleParticle; var _local4:RectangleParticle; super(); _local1 = new RectangleParticle(0, 0, (650 * 2), 40, 0, true); _local1.name = "upWall"; _local1.setStyle(1, 0xFFFFFF, 0, 0xFF0000, 0); _local1.friction = 0; _local1.elasticity = 0; addParticle(_local1); _local2 = new RectangleParticle(0, 0, 40, (480 * 2), 0, true); _local2.name = "leftWall"; _local2.setStyle(1, 0xFFFFFF, 0, 0xFF0000, 0); _local2.friction = 0; _local2.elasticity = 0; addParticle(_local2); _local3 = new RectangleParticle(653, 0, 40, (480 * 2), 0, true); _local3.name = "rightWall"; _local3.setStyle(0, 0xFFFFFF, 0, 0xFF0000, 0); _local3.friction = 0; _local3.elasticity = 0; addParticle(_local3); _local4 = new RectangleParticle(0, 464, (650 * 2), 40, 0, true); _local4.name = "floors"; _local4.setStyle(0, 0xFFFFFF, 0, 0xFF0000, 0); _local4.friction = 0.1; _local4.elasticity = 0; addParticle(_local4); } } }//package handjoys.fly.element
Section 20
//Life (handjoys.fly.element.Life) package handjoys.fly.element { import flash.display.*; import org.cove.ape.*; import handjoys.fly.util.*; public class Life extends Group { private var _rect:RectangleParticle; private var _sprite:MovieClip; public function Life(_arg1:Number, _arg2:Number, _arg3:MovieClip){ _sprite = _arg3; _rect = new RectangleParticle(_arg1, _arg2, _sprite.width, _sprite.height, 0); _rect.fixed = true; _rect.name = "life"; _rect.mass = 0.1; _rect.setDisplay(_sprite); _rect.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 1); _rect.parentGroup = this; this.addCollidable(Cache._protagonist); addParticle(_rect); } public function remove():void{ APEngine.removeGroup(this); this.removeCollidable(Cache._protagonist); } } }//package handjoys.fly.element
Section 21
//LifeGroup (handjoys.fly.element.LifeGroup) package handjoys.fly.element { import org.cove.ape.*; import handjoys.fly.util.*; public class LifeGroup { public function LifeGroup(){ initialize(Cache._gate); } private function life10():void{ var _local1:LifeMovieClip1; var _local2:Life; _local1 = new LifeMovieClip1(); _local2 = new Life(43.1, 358.6, _local1); APEngine.addGroup(_local2); } private function life9():void{ var _local1:LifeMovieClip1; var _local2:Life; _local1 = new LifeMovieClip1(); _local2 = new Life(52.8, 220.6, _local1); APEngine.addGroup(_local2); } private function life38():void{ var _local1:LifeMovieClip1; var _local2:Life; _local1 = new LifeMovieClip1(); _local2 = new Life(326.1, 325.1, _local1); APEngine.addGroup(_local2); } private function initialize(_arg1:Number):void{ switch (_arg1){ case 9: life9(); break; case 10: life10(); break; case 22: life22(); break; case 32: life32(); break; case 34: life34(); break; case 38: life38(); break; case 40: life40(); break; case 42: life42(); break; }; } private function life40():void{ var _local1:LifeMovieClip1; var _local2:Life; _local1 = new LifeMovieClip1(); _local2 = new Life(590.1, 44.1, _local1); APEngine.addGroup(_local2); } private function life42():void{ var _local1:LifeMovieClip1; var _local2:Life; _local1 = new LifeMovieClip1(); _local2 = new Life(333.1, 331.1, _local1); APEngine.addGroup(_local2); } private function life32():void{ var _local1:LifeMovieClip1; var _local2:Life; _local1 = new LifeMovieClip1(); _local2 = new Life(604.1, 202.2, _local1); APEngine.addGroup(_local2); } private function life22():void{ var _local1:LifeMovieClip1; var _local2:Life; _local1 = new LifeMovieClip1(); _local2 = new Life(418.1, 309.1, _local1); APEngine.addGroup(_local2); } private function life34():void{ var _local1:LifeMovieClip1; var _local2:Life; _local1 = new LifeMovieClip1(); _local2 = new Life(408.1, 321.1, _local1); APEngine.addGroup(_local2); } } }//package handjoys.fly.element
Section 22
//Monster (handjoys.fly.element.Monster) package handjoys.fly.element { import flash.display.*; import org.cove.ape.*; import handjoys.fly.util.*; import handjoys.fly.*; public class Monster extends Group implements Runnable { private var _rect:RectangleParticle; private var _turnNum:Number;// = 0 public var _speed:Number;// = -4 private var _sprite:MovieClip; private var _x:Number;// = 0 public var _face:Number; public function Monster(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:MovieClip){ _speed = -4; _turnNum = 0; _x = 0; super(); _face = _arg3; _speed = (_speed * _face); this._sprite = _arg4; _arg4.scaleX = _face; _face = _arg3; _rect = new RectangleParticle(_arg1, _arg2, (_arg4.width - 10), (_arg4.height - 10), 0); _rect.name = "move"; _rect.attack = true; _rect.mass = 1; _rect.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 0); _rect.elasticity = 0.6; _rect.setDisplay(_arg4); _rect.parentGroup = this; addParticle(_rect); Cache._runObj.push(this); } public function stop():void{ _sprite.stop(); } public function turnFace(_arg1:Boolean, _arg2:Number):void{ if (!_arg1){ _face = (_face * -1); _sprite.scaleX = _face; _speed = (_speed * -1); _turnNum++; this._x = _arg2; } else { if (((_arg1) && ((((((_face == 1)) && ((_rect.px > Cache._protagonist.getRx())))) || ((((_face == -1)) && ((_rect.px < Cache._protagonist.getRx())))))))){ _face = (_face * -1); _sprite.scaleX = _face; _speed = (_speed * -1); if (_rect.px > Cache._protagonist.getRx()){ Cache._protagonist.addMove((Math.abs(_speed) * -4)); } else { Cache._protagonist.addMove((Math.abs(_speed) * 4)); }; Cache._protagonist.injuredJump(); }; }; } public function run():void{ _rect.px = (_rect.px + _speed); if (_turnNum > 1){ _turnNum = 0; if (_rect.px > _x){ _rect.px = (_rect.px + (Math.abs(_speed) * 4)); } else { _rect.px = (_rect.px - (Math.abs(_speed) * 4)); }; }; } } }//package handjoys.fly.element
Section 23
//MonsterGroup (handjoys.fly.element.MonsterGroup) package handjoys.fly.element { import org.cove.ape.*; import handjoys.fly.util.*; public class MonsterGroup { private var _collidableList:Array; public function MonsterGroup(_arg1:Array){ _collidableList = _arg1; init(); } private function monster17():void{ var _local1:Radish; _local1 = new Radish(528.5, 385.9, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster19():void{ var _local1:Radish; _local1 = new Radish(593.5, 384.9, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster13():void{ var _local1:Radish; var _local2:Group; var _local3:Radish; _local1 = new Radish(135.5, 237.9, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = drawBar(36.4, 254, 575.3, 0xFF); _local1.addCollidable(_local2); _local3 = new Radish(380.4, 385.9, -1); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); Cache._protagonist.addCollidableList([_local1, _local3]); } private function monster36():void{ var _local1:SmallKook; _local1 = new SmallKook(473.3, 167.3, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster38():void{ } private function monster18():void{ var _local1:Radish; _local1 = new Radish(566.5, 386.9, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster34():void{ var _local1:SmallKook; _local1 = new SmallKook(217.3, 376.3, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster37():void{ var _local1:SmallKook; _local1 = new SmallKook(348.3, 378.3, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function init():void{ switch (Cache._gate){ case 3: monster3(); break; case 5: monster5(); break; case 6: monster6(); break; case 7: monster7(); break; case 8: monster8(); break; case 9: monster9(); break; case 10: monster10(); break; case 12: monster12(); break; case 13: monster13(); break; case 14: monster14(); break; case 15: monster15(); break; case 16: monster16(); break; case 17: monster17(); break; case 18: monster18(); break; case 19: monster19(); break; case 20: monster20(); break; case 21: monster21(); break; case 22: monster22(); break; case 25: monster25(); break; case 27: monster27(); break; case 28: monster28(); break; case 29: monster29(); break; case 30: monster30(); break; case 31: monster31(); break; case 32: monster32(); break; case 33: monster33(); break; case 34: monster34(); break; case 36: monster36(); break; case 37: monster37(); break; case 38: monster38(); break; case 40: monster40(); break; case 41: monster41(); break; case 42: monster42(); break; case 43: monster43(); break; case 44: monster44(); break; case 45: monster45(); break; }; } private function monster32():void{ var _local1:SmallKook; var _local2:SmallKook; _local1 = new SmallKook(305.4, 376.3, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new SmallKook(518.3, 376.3, 1); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); Cache._protagonist.addCollidableList([_local1, _local2]); } private function monster40():void{ var _local1:SmallKook; _local1 = new SmallKook(274.4, 377.3, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster41():void{ var _local1:Toad; _local1 = new Toad(236.9, 389.4, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster20():void{ var _local1:Radish; _local1 = new Radish(545.5, 385.9, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster21():void{ } private function monster22():void{ var _local1:Pig; var _local2:Group; var _local3:Pig; var _local4:Group; _local1 = new Pig(435.9, 80.4, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = drawBar(476.3, 93, 265.4, 92); _local1.addCollidable(_local2); _local3 = new Pig(76, 162.4, 1); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); _local4 = drawBar(142.3, 176, 18, 176); _local3.addCollidable(_local4); Cache._protagonist.addCollidableList([_local1, _local3]); } private function monster5():void{ var _local1:Snake; _local1 = new Snake(503.6, 386.7, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster6():void{ var _local1:Snake; _local1 = new Snake(514.6, 386.7, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster7():void{ var _local1:Snake; _local1 = new Snake(514.6, 386.7, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster8():void{ var _local1:Snake; _local1 = new Snake(188.6, 385.7, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster9():void{ var _local1:Snake; var _local2:Snake; _local1 = new Snake(149.7, 386.7, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new Snake(493.6, 385.7, 1); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); Cache._protagonist.addCollidableList([_local1, _local2]); } private function monster3():void{ var _local1:Snake; var _local2:Group; var _local3:Snake; _local1 = new Snake(453.3, 239.9, 1); _local2 = drawBar(398.3, 0x0100, 539.3, 0x0100); _local1.addCollidableList(_collidableList); _local1.addCollidable(_local2); _local3 = new Snake(319.6, 385.7, 1); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local1); APEngine.addGroup(_local3); Cache._protagonist.addCollidableList([_local1, _local3]); } private function monster29():void{ var _local1:Pig; var _local2:Pig; var _local3:Pig; _local1 = new Pig(105, 388.4, -1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new Pig(401.9, 386.4, 1); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); _local3 = new Pig(4563, 388.4, 1); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); Cache._protagonist.addCollidableList([_local1, _local2, _local3]); } private function monster45():void{ var _local1:Toad; _local1 = new Toad(257.9, 390.4, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster25():void{ var _local1:Pig; var _local2:Group; var _local3:Pig; _local1 = new Pig(80, 212.3, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = drawBar(179.3, 228, 18.4, 226); _local1.addCollidable(_local2); _local3 = new Pig(401.9, 386.4, 1); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); Cache._protagonist.addCollidableList([_local1, _local3]); } private function monster27():void{ var _local1:Pig; _local1 = new Pig(153, 387.4, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster28():void{ var _local1:Pig; _local1 = new Pig(533, 387.4, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster43():void{ var _local1:Toad; _local1 = new Toad(276.9, 387.4, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function monster44():void{ var _local1:Toad; _local1 = new Toad(259.9, 390.4, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); } private function drawBar(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Group{ var _local5:Group; var _local6:RectangleParticle; var _local7:RectangleParticle; _local5 = new Group(); _local6 = new RectangleParticle(_arg1, _arg2, 2, 3, 0, true, 1, 0); _local6.name = "bar"; _local6.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 0); _local5.addParticle(_local6); if (_arg3 != -1){ _local7 = new RectangleParticle(_arg3, _arg4, 2, 3, 0, true, 1, 0); _local7.name = "bar"; _local7.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 0); _local5.addParticle(_local7); }; APEngine.addGroup(_local5); return (_local5); } private function monster42():void{ var _local1:Toad; var _local2:Group; _local1 = new Toad(185.9, 298.4, -1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = drawBar(133.3, 310, 300.3, 310); _local1.addCollidable(_local2); Cache._protagonist.addCollidableList([_local1]); } private function monster30():void{ var _local1:Pig; var _local2:Group; var _local3:Pig; var _local4:Group; var _local5:Pig; var _local6:Group; var _local7:Pig; _local1 = new Pig(102, 172.3, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = drawBar(180.3, 186, -1, -1); _local1.addCollidable(_local2); _local3 = new Pig(394.9, 114.4, 1); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); _local4 = drawBar(433.3, 129, -1, -1); _local3.addCollidable(_local4); _local5 = new Pig(587, 266.4, 1); _local5.addCollidableList(_collidableList); APEngine.addGroup(_local5); _local6 = drawBar(472.3, 279, 635.3, 278); _local5.addCollidable(_local6); _local7 = new Pig(469.9, 387.4, 1); _local7.addCollidableList(_collidableList); APEngine.addGroup(_local7); Cache._protagonist.addCollidableList([_local1, _local3, _local5, _local7]); } private function monster31():void{ var _local1:SmallKook; var _local2:SmallKook; _local1 = new SmallKook(151.3, 377.3, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new SmallKook(485.3, 377.3, 1); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); Cache._protagonist.addCollidableList([_local1, _local2]); } private function monster10():void{ var _local1:Snake; var _local2:Group; var _local3:Snake; _local1 = new Snake(491.6, 92.7, 1); _local2 = drawBar(410.3, 110.5, -1, -1); _local1.addCollidableList(_collidableList); _local1.addCollidable(_local2); _local3 = new Snake(383.6, 386.7, 1); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local1); APEngine.addGroup(_local3); Cache._protagonist.addCollidableList([_local1, _local3]); } private function monster33():void{ var _local1:SmallKook; var _local2:Group; var _local3:SmallKook; _local1 = new SmallKook(199.3, 171.3, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = drawBar(128.3, 199, 534.3, 200); _local3 = new SmallKook(472.3, 173.3, 1); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); _local3.addCollidable(_local2); _local1.addCollidable(_local2); Cache._protagonist.addCollidableList([_local1, _local3]); } private function monster12():void{ var _local1:Radish; var _local2:Radish; _local1 = new Radish(111.5, 385.9, -1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new Radish(491.4, 385.9, 1); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); Cache._protagonist.addCollidableList([_local1, _local2]); } private function monster14():void{ var _local1:Radish; var _local2:Group; var _local3:Radish; var _local4:Group; _local1 = new Radish(114.5, 186.9, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = drawBar(35.4, 203, 202.3, 201); _local1.addCollidable(_local2); _local3 = new Radish(354.4, 238.9, -1); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); _local4 = drawBar(246.3, 247, 488.3, 244); _local3.addCollidable(_local4); Cache._protagonist.addCollidableList([_local1, _local3]); } private function monster15():void{ var _local1:Radish; var _local2:Radish; var _local3:Group; _local1 = new Radish(112.5, 302.9, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new Radish(281.5, 302.9, -1); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); Cache._protagonist.addCollidableList([_local1, _local2]); _local3 = drawBar(23.4, 322, 477.3, 319); _local1.addCollidable(_local3); _local2.addCollidable(_local3); } private function monster16():void{ var _local1:Radish; var _local2:Group; _local1 = new Radish(571.5, 56, 1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); Cache._protagonist.addCollidableList([_local1]); _local2 = drawBar(630.3, 72, 421.3, 72); _local1.addCollidable(_local2); } } }//package handjoys.fly.element
Section 24
//Pig (handjoys.fly.element.Pig) package handjoys.fly.element { public class Pig extends Monster { public function Pig(_arg1:Number, _arg2:Number, _arg3:Number){ var _local4:PigMovieClip; _local4 = new PigMovieClip(); super(_arg1, _arg2, _arg3, _local4); } } }//package handjoys.fly.element
Section 25
//Radish (handjoys.fly.element.Radish) package handjoys.fly.element { public class Radish extends Monster { public function Radish(_arg1:Number, _arg2:Number, _arg3:Number){ var _local4:RadishMovieClip; _local4 = new RadishMovieClip(); super(_arg1, _arg2, _arg3, _local4); } } }//package handjoys.fly.element
Section 26
//SmallKook (handjoys.fly.element.SmallKook) package handjoys.fly.element { public class SmallKook extends Monster { public function SmallKook(_arg1:Number, _arg2:Number, _arg3:Number){ var _local4:SmallKookMovieClip; _local4 = new SmallKookMovieClip(); super(_arg1, _arg2, _arg3, _local4); } } }//package handjoys.fly.element
Section 27
//Snake (handjoys.fly.element.Snake) package handjoys.fly.element { public class Snake extends Monster { public function Snake(_arg1:Number, _arg2:Number, _arg3:Number){ var _local4:SnakeMovieClip; _local4 = new SnakeMovieClip(); super(_arg1, _arg2, _arg3, _local4); } } }//package handjoys.fly.element
Section 28
//StickTongue (handjoys.fly.element.StickTongue) package handjoys.fly.element { import org.cove.ape.*; import flash.events.*; import handjoys.fly.util.*; import handjoys.fly.*; import flash.utils.*; public class StickTongue extends Group implements Runnable { private var _hongue:RectangleParticle; private var _isDraw:Boolean;// = false private var _face:Number;// = 1 private var _hongueHead:RectangleParticle; private var _rect:RectangleParticle; private var _timer:Timer; private var _sleepTimer:Timer; private var _runFlag:Boolean;// = false private var _sprite:StickTongueMovieClip; private var _rectX:Number;// = 0 private var _x:Number;// = 0 public function StickTongue(_arg1:Number, _arg2:Number, _arg3:Number){ _runFlag = false; _x = 0; _rectX = 0; _face = 1; _isDraw = false; super(); this._face = _arg3; _sprite = new StickTongueMovieClip(); _sprite.scaleX = _face; _rect = new RectangleParticle(_arg1, _arg2, (_sprite.head.width - 12), (_sprite.head.height - 10), 0); _rect.attack = true; _rect.friction = 0; _rect.elasticity = 0.5; _rect.mass = 1; _rect.fixed = true; _rect.setDisplay(_sprite); _rect.parentGroup = this; addParticle(_rect); _hongue = new RectangleParticle((_rect.px + (20 * _face)), (_rect.py + 15.3), 2, 3.3, 0); _hongue.fixed = true; _hongue.friction = 0.6; _hongue.name = "floor"; addParticle(_hongue); _hongue.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 0); _hongueHead = new RectangleParticle((_rect.px + (13 * _face)), (_rect.py + 15.5), 6, 6, 0); _rectX = (_rect.px + (13 * _face)); _x = _hongueHead.px; _hongueHead.fixed = true; _hongueHead.name = "floor"; _hongueHead.attack = true; _hongueHead.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 0); addParticle(_hongueHead); Cache._runObj.push(this); _timer = new Timer(4900, 1); _timer.addEventListener(TimerEvent.TIMER_COMPLETE, doTimerHandle); _sleepTimer = new Timer(3000, 1); _sleepTimer.addEventListener(TimerEvent.TIMER_COMPLETE, doSleepTimerHandle); _sleepTimer.start(); } public function stop():void{ _sprite.stop(); } public function run():void{ if (_runFlag){ switch (_sprite.currentFrame){ case 4: _isDraw = false; case 5: case 6: drawHongue((_rectX + (14.3 * _face)), 11.3); break; case 8: _isDraw = false; case 9: case 10: drawHongue((_rectX + (46 * _face)), 43); break; case 12: _isDraw = false; case 13: case 14: drawHongue((_rectX + (96.8 * _face)), 93.8); break; case 15: _isDraw = false; case 16: case 17: drawHongue((_rectX + (59.3 * _face)), 56.3); break; case 18: _isDraw = false; case 19: drawHongue((_rectX + (78.3 * _face)), 75.3); break; case 20: _isDraw = false; case 21: case 22: drawHongue((_rectX + (68.2 * _face)), 65.2); break; case 82: _isDraw = false; case 83: case 84: drawHongue((_rectX + (68.2 * _face)), 64); break; case 86: _isDraw = false; case 87: case 88: drawHongue((_rectX + (51 * _face)), 48); break; case 90: _isDraw = false; case 91: case 92: drawHongue((_rectX + (35 * _face)), 32); break; case 94: _isDraw = false; case 95: drawHongue((_rectX + (19 * _face)), 16); break; case 96: _isDraw = false; case 1: case 2: drawHongue(_x, 1); break; }; }; } private function doSleepTimerHandle(_arg1:TimerEvent):void{ _runFlag = true; _timer.reset(); _timer.start(); _sprite.gotoAndPlay("attack"); } public function addChickCollidable(_arg1:Group):void{ this.addCollidable(_arg1); } private function doTimerHandle(_arg1:TimerEvent):void{ _runFlag = false; _sleepTimer.reset(); _sleepTimer.start(); } private function drawHongue(_arg1:Number, _arg2:Number){ if (_isDraw){ return; }; if (_hongue != null){ removeParticle(_hongue); }; _hongue = new RectangleParticle(((_rect.px + (20 * _face)) + ((_arg2 / 2) * _face)), (_rect.py + 15.3), _arg2, 3.3, 0); _hongue.fixed = true; _hongue.name = "floors"; _hongue.friction = 0.6; _hongue.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 0); addParticle(_hongue); if (_hongueHead != null){ removeParticle(_hongueHead); }; _hongueHead = new RectangleParticle(_arg1, (_rect.py + 15.5), 6, 6, 0); _hongueHead.fixed = true; _hongueHead.elasticity = 1; _hongueHead.name = "floors"; _hongueHead.attack = true; _hongueHead.setStyle(0, 0xFFFFFF, 0, 0xFFFF00, 0); addParticle(_hongueHead); _isDraw = true; } } }//package handjoys.fly.element
Section 29
//StickTongueGroup (handjoys.fly.element.StickTongueGroup) package handjoys.fly.element { import org.cove.ape.*; import handjoys.fly.util.*; public class StickTongueGroup { private var _collidableList:Array; public function StickTongueGroup(_arg1:Array){ _collidableList = _arg1; init(); } private function stickTongue49():void{ var _local1:StickTongue; var _local2:StickTongue; var _local3:StickTongue; var _local4:StickTongue; _local1 = new StickTongue(41.1, 120.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(41.1, 214.1, 1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); _local3 = new StickTongue(294.1, 190.1, -1); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); _local4 = new StickTongue(295.1, 305.1, -1); Cache._protagonist.addCollidable(_local4); _local4.addCollidableList(_collidableList); APEngine.addGroup(_local4); } private function stickTongue7():void{ var _local1:StickTongue; _local1 = new StickTongue(371.3, 90, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue8():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(213.1, 128.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(515, 123.1, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue9():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(369.1, 90, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(134.1, 251.1, 1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue47():void{ var _local1:StickTongue; _local1 = new StickTongue(85.1, 214.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue42():void{ var _local1:StickTongue; _local1 = new StickTongue(36.1, 383.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function init():void{ switch (Cache._gate){ case 7: stickTongue7(); break; case 8: stickTongue8(); break; case 9: stickTongue9(); break; case 10: stickTongue10(); break; case 12: stickTongue12(); break; case 13: stickTongue13(); break; case 14: stickTongue14(); break; case 15: stickTongue15(); break; case 16: stickTongue16(); break; case 17: stickTongue17(); break; case 18: stickTongue18(); break; case 19: stickTongue19(); break; case 20: stickTongue20(); break; case 21: stickTongue21(); break; case 22: stickTongue22(); break; case 25: stickTongue25(); break; case 26: stickTongue26(); break; case 27: stickTongue27(); break; case 31: stickTongue31(); break; case 32: stickTongue32(); break; case 34: stickTongue34(); break; case 35: stickTongue35(); break; case 36: stickTongue36(); break; case 37: stickTongue37(); break; case 38: stickTongue38(); break; case 39: stickTongue39(); break; case 40: stickTongue40(); break; case 41: stickTongue41(); break; case 42: stickTongue42(); break; case 44: stickTongue44(); break; case 45: stickTongue45(); break; case 46: stickTongue46(); break; case 47: stickTongue47(); break; case 48: stickTongue48(); break; case 49: stickTongue49(); break; }; } private function stickTongue31():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(235.1, 115.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(414.1, 115.1, 1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue10():void{ var _local1:StickTongue; _local1 = new StickTongue(178.1, 249.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue12():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(411.1, 178.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(433.1, 255.1, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue13():void{ var _local1:StickTongue; _local1 = new StickTongue(426.1, 236.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue14():void{ var _local1:StickTongue; _local1 = new StickTongue(298.1, 101.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue15():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(607, 177.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(623, 384.1, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue16():void{ var _local1:StickTongue; _local1 = new StickTongue(281.1, 165.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue17():void{ var _local1:StickTongue; _local1 = new StickTongue(410.1, 71, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue18():void{ var _local1:StickTongue; _local1 = new StickTongue(344.1, 196.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue19():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(212.1, 257.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(437.1, 257.1, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue35():void{ var _local1:StickTongue; _local1 = new StickTongue(236.1, 303.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue36():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(172.1, 91, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(237.1, 302.1, 1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue37():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(128.1, 115.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(322.1, 293.1, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue38():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(149.1, 190.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(288.1, 141.1, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue39():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(150.1, 198.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(356.1, 236.1, 1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue32():void{ var _local1:StickTongue; _local1 = new StickTongue(396.1, 145.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue34():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(398.1, 201.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(463.1, 300.1, 1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue40():void{ var _local1:StickTongue; _local1 = new StickTongue(294.1, 140.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue41():void{ var _local1:StickTongue; _local1 = new StickTongue(228.1, 244.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue20():void{ var _local1:StickTongue; _local1 = new StickTongue(38.1, 157.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue21():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(435.1, 305.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(437.1, 181.1, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue22():void{ var _local1:StickTongue; var _local2:StickTongue; var _local3:StickTongue; _local1 = new StickTongue(264.1, 266.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(262.1, 183.1, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); _local3 = new StickTongue(568, 89, -1); Cache._protagonist.addCollidable(_local3); _local3.addCollidableList(_collidableList); APEngine.addGroup(_local3); } private function stickTongue45():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(266.1, 297.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(575, 263.1, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue46():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(211.1, 294.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(545, 196.1, 1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue25():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(289.1, 195.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(524, 222.1, -1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue26():void{ var _local1:StickTongue; _local1 = new StickTongue(579, 97, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue27():void{ var _local1:StickTongue; _local1 = new StickTongue(0x0202, 223.1, -1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } private function stickTongue44():void{ var _local1:StickTongue; var _local2:StickTongue; _local1 = new StickTongue(82.1, 188.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); _local2 = new StickTongue(81.1, 272.1, 1); Cache._protagonist.addCollidable(_local2); _local2.addCollidableList(_collidableList); APEngine.addGroup(_local2); } private function stickTongue48():void{ var _local1:StickTongue; _local1 = new StickTongue(276.1, 184.1, 1); Cache._protagonist.addCollidable(_local1); _local1.addCollidableList(_collidableList); APEngine.addGroup(_local1); } } }//package handjoys.fly.element
Section 30
//Toad (handjoys.fly.element.Toad) package handjoys.fly.element { public class Toad extends Monster { public function Toad(_arg1:Number, _arg2:Number, _arg3:Number){ var _local4:ToadMovieClip; _local4 = new ToadMovieClip(); super(_arg1, _arg2, _arg3, _local4); } } }//package handjoys.fly.element
Section 31
//ResourceFactory (handjoys.fly.factory.ResourceFactory) package handjoys.fly.factory { import flash.display.*; import flash.media.*; import handjoys.fly.util.*; import flash.system.*; public class ResourceFactory { public static function getResource(_arg1:String):Sprite{ var _local2:ApplicationDomain; var _local3:Sprite; var _local4:Class; _local2 = ApplicationDomain.currentDomain; _local3 = null; _local4 = (_local2.getDefinition(_arg1) as Class); if (_local4 != null){ _local3 = new (_local4); }; return (_local3); } public static function getSenceResource():Sprite{ var _local1:ApplicationDomain; var _local2:String; var _local3:Sprite; var _local4:Class; _local1 = ApplicationDomain.currentDomain; _local2 = ("Sence" + Cache._gate); _local3 = null; _local4 = (_local1.getDefinition(_local2) as Class); if (_local4 != null){ _local3 = new (_local4); }; return (_local3); } public static function getSoundResource(_arg1:String):Sound{ var _local2:ApplicationDomain; var _local3:Sound; var _local4:Class; _local2 = ApplicationDomain.currentDomain; _local3 = null; _local4 = (_local2.getDefinition(_arg1) as Class); if (_local4 != null){ _local3 = new (_local4); }; return (_local3); } } }//package handjoys.fly.factory
Section 32
//Cache (handjoys.fly.util.Cache) package handjoys.fly.util { import flash.display.*; import flash.media.*; import handjoys.fly.*; public class Cache { public static var _fart2_music_channel:SoundChannel = null; public static var _btn_music:Sound = null; public static var _hert_music:Sound = null; public static var _chicks:Array = []; public static var _runObj:Array = []; public static var _sound:Sound = null; public static var _step_music:Sound = null; public static var _main:Sprite; public static var _getLife_music:Sound = null; public static var _soundFlag:Boolean = true; public static var _pass_music:Sound = null; public static var _gamePause:Boolean = false; public static var _gate:Number = 0; public static var _lifeNum:Number = 3; public static var _musicFlag:Boolean = true; public static var _fart2_music:Sound = null; public static var _fart1_music_channel:SoundChannel = null; public static var _fart3_music_channel:SoundChannel = null; public static var _soundChannel:SoundChannel = null; public static var _step_music_channel:SoundChannel = null; public static var _life:Number = 3; public static var _getLife_music_channel:SoundChannel = null; public static var _protagonist:Protagonist = null; public static var _layers:Array = []; public static var _ss_music:Sound = null; public static var _fart1_music:Sound = null; public static var _fart3_music:Sound = null; public static function reset(){ _protagonist = null; _gate = 0; _musicFlag = true; _soundFlag = true; while (_layers.length > 0) { _layers.pop(); }; while (_runObj.length > 0) { _runObj.pop(); }; _gamePause = false; _main = null; _life = 3; _lifeNum = 3; if (_soundChannel != null){ _soundChannel.stop(); _soundChannel = null; }; } } }//package handjoys.fly.util
Section 33
//Complete (handjoys.fly.Complete) package handjoys.fly { import flash.display.*; import flash.events.*; import handjoys.fly.util.*; public class Complete extends MovieClip { public var backBtn:SimpleButton; public function Complete(){ backBtn.addEventListener(MouseEvent.CLICK, doClickHandle); } private function doClickHandle(_arg1:MouseEvent):void{ Cache._gamePause = true; Main(Cache._main).backStart(); } } }//package handjoys.fly
Section 34
//Doors (handjoys.fly.Doors) package handjoys.fly { import flash.display.*; import org.cove.ape.*; import flash.geom.*; import handjoys.fly.util.*; public class Doors extends Group { private var _rect:RectangleParticle; private var _door:MovieClip; private var _isOpen:Boolean;// = false private var _sdoorOption:Array; private var _edoorOption:Array; public function Doors(_arg1:String){ var _local2:Number; _isOpen = false; _sdoorOption = [[58.2, 385.4], [197.2, 76.5], [54.1, 199.4], [50.1, 290.4], [262, 385.4], [47, 192.4], [135, 192.4], [48, 335.4], [56, 127.5], [586, 386.4], [277.1, 60.1], [69, 111.8], [60.5, 385.5], [71.3, 386.1], [77.7, 385.9], [55.9, 385.8], [222.4, 63.9], [55.5, 151.9], [274.8, 385.4], [75.8, 333.8], [562, 247.9], [47, 304.9], [26, 386.9], [37, 294.9], [37, 384.9], [59, 357.9], [568, 69], [50, 384.9], [181.9, 165.9], [51, 385.9], [304.9, 357.9], [93, 358.9], [339.9, 357.9], [54, 102], [385.9, 85], [559, 65], [44, 357.9], [41, 299.9], [40, 299.9], [58, 358.9], [590, 357.9], [45, 105], [35, 386.9], [39, 111], [37, 357.9], [38, 82], [279.9, 52], [46, 385.9], [50, 358.9], [38, 360]]; _edoorOption = [[431.6, 72.5], [327.9, 303.6], [570.1, 385.4], [586.1, 99.5], [600, 62.4], [591, 92.5], [330, 192.4], [593, 123.5], [583, 385.4], [566, 92.5], [439.4, 181.3], [548.6, 69.6], [150.1, 65.8], [346.4, 49.8], [102, 100.1], [468.4, 385.8], [295, 63.9], [607.5, 57.2], [373.4, 385.4], [247.9, 81.2], [134, 105], [503.9, 243], [488.9, 385.9], [607, 68], [545, 384.9], [69, 126], [61, 126], [569, 70], [40, 118], [580, 385.9], [323.9, 77], [84, 77], [330.9, 182], [606, 384.9], [403.9, 174.9], [600, 384.9], [593, 106], [603, 115], [544, 115], [85, 143], [83, 385.9], [584, 133.9], [349.9, 96], [518, 386.9], [469.9, 385.9], [458.9, 275], [360.9, 176.9], [554, 270], [593, 384.9], [558, 78]]; super(); _local2 = (Cache._gate - 1); if (_arg1 == "startDoor"){ _door = new Door(); _door.gotoAndStop(1); _rect = new RectangleParticle(_sdoorOption[_local2][0], _sdoorOption[_local2][1], (_door.width - 10), (_door.height - 10), 0, true); _rect.setDisplay(_door); _rect.name = "startDoor"; _rect.elasticity = 0; addParticle(_rect); } else { _door = new Door(); _door.gotoAndStop(1); _rect = new RectangleParticle(_edoorOption[_local2][0], _edoorOption[_local2][1], (_door.width - 10), (_door.height - 20), 0, true); _rect.setDisplay(_door); _rect.name = "endDoor"; _rect.elasticity = 0; _rect.parentGroup = this; addParticle(_rect); }; } public function getCoordinate(){ return (new Point(_sdoorOption[(Cache._gate - 1)][0], _sdoorOption[(Cache._gate - 1)][1])); } public function openEndDoor():void{ if (_isOpen){ return; }; _isOpen = true; Cache._gamePause = true; APEngine.removeGroup(Cache._protagonist); if (Cache._protagonist.getRx() > _rect.px){ _door.gotoAndPlay("right"); } else { _door.gotoAndPlay("left"); }; if (Cache._musicFlag){ Cache._pass_music.play(); if (Cache._step_music_channel != null){ Cache._step_music_channel.stop(); Cache._step_music_channel = null; }; if (Cache._fart1_music_channel != null){ Cache._fart1_music_channel.stop(); Cache._fart1_music_channel = null; }; if (Cache._fart2_music_channel != null){ Cache._fart2_music_channel.stop(); Cache._fart2_music_channel = null; }; if (Cache._fart3_music_channel != null){ Cache._fart3_music_channel.stop(); Cache._fart3_music_channel = null; }; }; } } }//package handjoys.fly
Section 35
//Help (handjoys.fly.Help) package handjoys.fly { import flash.display.*; import flash.events.*; import handjoys.fly.util.*; public class Help extends MovieClip { public var backToMenu:MovieClip; public function Help(){ backToMenu.buttonMode = true; backToMenu.addEventListener(MouseEvent.CLICK, doClickHandle); } private function doClickHandle(_arg1:MouseEvent):void{ if (Cache._btn_music != null){ Cache._btn_music.play(); }; if (this.parent){ this.parent.removeChild(this); }; } } }//package handjoys.fly
Section 36
//Main (handjoys.fly.Main) package handjoys.fly { import flash.display.*; import flash.media.*; import org.cove.ape.*; import flash.events.*; import handjoys.fly.util.*; import handjoys.fly.factory.*; import handjoys.fly.element.*; import flash.utils.*; public class Main extends Sprite { private var _timer:Timer; private var _chickIndex:Number;// = 1 public function Main(){ _chickIndex = 1; super(); loadMusic(); loadStartGame(); } public function init():void{ var _local1:Protagonist; var _local2:FoulLine; var _local3:Doors; var _local4:Doors; var _local5:Crossing; var _local6:ChickGroup; var _local7:StickTongueGroup; var _local8:FlingAeronefGroup; var _local9:LifeGroup; var _local10:MonsterGroup; var _local11:*; _local1 = new Protagonist(); APEngine.init((1 / 4)); APEngine.addMasslessForce(new Vector(0, 16)); APEngine.container = Cache._layers["element"]; _local2 = new FoulLine(); _local1.addCollidable(_local2); _local3 = new Doors("startDoor"); _local1.setCoordinate(_local3.getCoordinate()); _local4 = new Doors("endDoor"); _local1.addCollidable(_local4); APEngine.addGroup(_local3); APEngine.addGroup(_local4); _local5 = new Crossing(); _local1.addCollidable(_local5); _local6 = new ChickGroup([_local5, _local2]); _local7 = new StickTongueGroup([_local5, _local2]); _local8 = new FlingAeronefGroup([_local5, _local2]); _local9 = new LifeGroup(); _local10 = new MonsterGroup([_local5, _local2]); APEngine.addGroup(_local2); APEngine.addGroup(_local5); APEngine.addGroup(_local1); _local11 = new Pass(); _local11.x = 228; _local11.y = 207; _local11.gotoAndStop(Cache._gate); Cache._layers["alert"].addChild(_local11); _timer.start(); } public function success():void{ var _local1:Success; while (Cache._runObj.length > 0) { Cache._runObj.pop().stop(); }; _local1 = new Success(); Cache._layers["alert"].addChild(_local1); } private function doMainTimerComplete(_arg1:TimerEvent):void{ var _local2:Timer; while (Cache._layers["alert"].numChildren > 0) { Cache._layers["alert"].removeChildAt(0); }; _timer.reset(); addEventListener(Event.ENTER_FRAME, run); if (Cache._chicks.length > 2){ Chick(Cache._chicks[0]).start(); _local2 = new Timer(1000, (Cache._chicks.length - 1)); _local2.addEventListener(TimerEvent.TIMER, doChickTimerHandle); _local2.start(); }; } private function gameStop():void{ var _local1:Number; var _local2:Number; _local1 = Cache._runObj.length; _local2 = 0; while (_local2 < _local1) { Cache._runObj[_local2].stop(); _local2++; }; } private function loadStartGame():void{ var _local1:Sprite; var _local2:SoundTransform; _timer = new Timer(3000, 1); _timer.addEventListener(TimerEvent.TIMER_COMPLETE, doMainTimerComplete); Cache._main = this; initLayers(); _local1 = ResourceFactory.getResource("StartGameMovieClip"); Cache._layers["sence"].addChild(_local1); if (((!((Cache._sound == null))) && (Cache._soundFlag))){ _local2 = new SoundTransform(0.5); Cache._soundChannel = Cache._sound.play(0, 1000000, _local2); }; } public function gameComplete():void{ var _local1:*; Cache._gamePause = true; while (Cache._runObj.length > 0) { Cache._runObj.pop().stop(); }; _local1 = ResourceFactory.getResource("CompleteMovieClip"); Cache._layers["alert"].addChild(_local1); } public function nextLevel():void{ var _local1:Sprite; var _local2:Menu; Cache._gate = (Cache._gate + 1); _chickIndex = 1; Cache._gamePause = false; if (Cache._layers["sence"].numChildren > 0){ Cache._layers["sence"].removeChildAt(0); }; if (Cache._layers["menu"].numChildren > 0){ Cache._layers["menu"].removeChildAt(0); }; while (Cache._runObj.length > 0) { Cache._runObj.pop(); }; while (Cache._chicks.length > 0) { Cache._chicks.pop(); }; _local1 = ResourceFactory.getSenceResource(); Cache._layers["sence"].addChild(_local1); _local2 = Menu(ResourceFactory.getResource("MenuMovieClip")); Cache._layers["menu"].addChild(_local2); startGame(); setStageFocus(); } public function startGame():void{ if (APEngine.container != null){ while (APEngine.container.numChildren > 0) { APEngine.container.removeChildAt(0); }; }; stage.frameRate = 20; init(); this.stage.addEventListener(KeyboardEvent.KEY_DOWN, doKeyDownHandle); this.stage.addEventListener(KeyboardEvent.KEY_UP, doKeyUpHandle); } private function doKeyDownHandle(_arg1:KeyboardEvent):void{ if (Cache._gamePause){ return; }; Cache._protagonist.doKeyDown(_arg1.keyCode); } public function setStageFocus():void{ } private function doKeyUpHandle(_arg1:KeyboardEvent):void{ if (Cache._gamePause){ return; }; Cache._protagonist.doKeyUp(_arg1.keyCode); } private function run(_arg1:Event):void{ var i:int; var e = _arg1; try { if (Cache._gamePause){ gameStop(); return; } else { if (Cache._protagonist != null){ Cache._protagonist.start(); }; }; APEngine.step(); APEngine.paint(); i = 0; while (i < Cache._runObj.length) { Cache._runObj[i].run(); i = (i + 1); }; } catch(e:Error) { }; } private function initLayers():void{ var _local1:Array; var _local2:*; var _local3:Sprite; _local1 = ["sence", "element", "menu", "alert"]; for (_local2 in _local1) { _local3 = new Sprite(); _local3.name = _local1[_local2]; this.addChild(_local3); Cache._layers[_local1[_local2]] = _local3; }; } public function backStart():void{ if (Cache._soundChannel != null){ Cache._soundChannel.stop(); Cache._soundChannel = null; }; if (Cache._step_music_channel != null){ Cache._step_music_channel.stop(); Cache._step_music_channel = null; }; doOverTimerComplete(null); } public function gameRestart():void{ if (Cache._gate < 0){ gameOver(); } else { Cache._gate = (Cache._gate - 1); nextLevel(); }; } private function doChickTimerHandle(_arg1:TimerEvent):void{ if (_chickIndex <= Cache._chicks.length){ Chick(Cache._chicks[_chickIndex++]).start(); }; } private function loadMusic():void{ Cache._sound = ResourceFactory.getSoundResource("game_sound"); Cache._fart1_music = ResourceFactory.getSoundResource("fart1_music"); Cache._fart2_music = ResourceFactory.getSoundResource("fart2_music"); Cache._fart3_music = ResourceFactory.getSoundResource("fart3_music"); Cache._getLife_music = ResourceFactory.getSoundResource("getLife_music"); Cache._step_music = ResourceFactory.getSoundResource("step_music"); Cache._hert_music = ResourceFactory.getSoundResource("hert_music"); Cache._pass_music = ResourceFactory.getSoundResource("pass_music"); Cache._btn_music = ResourceFactory.getSoundResource("btn_music"); Cache._ss_music = ResourceFactory.getSoundResource("ss_music"); } public function gameOver():void{ var _local1:*; Cache._gamePause = true; while (Cache._runObj.length > 0) { Cache._runObj.pop().stop(); }; _timer.removeEventListener(TimerEvent.TIMER_COMPLETE, doMainTimerComplete); _timer.addEventListener(TimerEvent.TIMER_COMPLETE, doOverTimerComplete); _local1 = new Failure(); _local1.x = 236; _local1.y = 229; Cache._layers["alert"].addChild(_local1); _timer.start(); } private function doOverTimerComplete(_arg1:TimerEvent):void{ var _local2:Number; if (hasEventListener(Event.ENTER_FRAME)){ removeEventListener(Event.ENTER_FRAME, run); }; if (this.stage.hasEventListener(KeyboardEvent.KEY_DOWN)){ this.stage.removeEventListener(KeyboardEvent.KEY_DOWN, doKeyDownHandle); }; if (this.stage.hasEventListener(KeyboardEvent.KEY_UP)){ this.stage.removeEventListener(KeyboardEvent.KEY_UP, doKeyUpHandle); }; _local2 = 0; while (Cache._layers["alert"].numChildren > 0) { var _temp1 = _local2; _local2 = (_local2 + 1); Cache._layers["alert"].removeChildAt(_temp1); }; if (APEngine.container != null){ while (APEngine.container.numChildren > 0) { APEngine.container.removeChildAt(0); }; }; if (Cache._layers["sence"].numChildren > 0){ Cache._layers["sence"].removeChildAt(0); }; if (Cache._layers["menu"].numChildren > 0){ Cache._layers["menu"].removeChildAt(0); }; Cache.reset(); loadStartGame(); } } }//package handjoys.fly
Section 37
//Menu (handjoys.fly.Menu) package handjoys.fly { import flash.display.*; import flash.media.*; import flash.events.*; import handjoys.fly.util.*; import handjoys.fly.factory.*; public class Menu extends MovieClip { public var life:MovieClip; public var sound:MovieClip; public var lifeComp:MovieClip; public var music:MovieClip; public var menu:SimpleButton; public var levelComp:MovieClip; public var pause:SimpleButton; public function Menu(){ this.addEventListener(MouseEvent.CLICK, doClickHandle); music.buttonMode = true; sound.buttonMode = true; levelComp.level.htmlText = ((("<B>" + Cache._gate) + "/50") + "</B>"); this.sound.gotoAndStop((Cache._musicFlag) ? "on" : "off"); this.music.gotoAndStop((Cache._soundFlag) ? "on" : "off"); this.life.gotoAndStop(Cache._lifeNum); this.lifeComp.life.text = Cache._life; } private function doClickHandle(_arg1:MouseEvent):void{ var _local2:String; var _local3:MenuPage; var _local4:Sprite; var _local5:SoundTransform; _arg1.stopPropagation(); if (_arg1.target != null){ if (_arg1.target.name != null){ _local2 = _arg1.target.name; switch (_local2){ case "menu": if (Cache._btn_music != null){ Cache._btn_music.play(); }; Cache._gamePause = true; if (Cache._layers["alert"].numChildren > 0){ Cache._layers["alert"].removeChildAt(0); }; _local3 = new MenuPage(); Cache._layers["alert"].addChild(_local3); break; case "pause": if (Cache._btn_music != null){ Cache._btn_music.play(); }; if (Cache._gamePause){ Cache._gamePause = false; Cache._main.stage.frameRate = 20; if (Cache._layers["alert"].numChildren > 0){ Cache._layers["alert"].removeChildAt(0); }; } else { Cache._gamePause = true; Cache._main.stage.frameRate = 0; _local4 = ResourceFactory.getResource("PauseMC"); Cache._layers["alert"].addChild(_local4); }; break; case "music": if (Cache._btn_music != null){ Cache._btn_music.play(); }; Cache._soundFlag = !(Cache._soundFlag); if (Cache._soundFlag){ music.gotoAndStop("on"); if (Cache._sound != null){ _local5 = new SoundTransform(0.5); Cache._soundChannel = Cache._sound.play(0, 1000000, _local5); }; } else { if (Cache._soundChannel != null){ Cache._soundChannel.stop(); }; Cache._soundChannel = null; music.gotoAndStop("off"); }; break; case "sound": if (Cache._btn_music != null){ Cache._btn_music.play(); }; Cache._musicFlag = !(Cache._musicFlag); if (Cache._musicFlag){ sound.gotoAndStop("on"); } else { sound.gotoAndStop("off"); }; break; }; }; }; } } }//package handjoys.fly
Section 38
//MenuPage (handjoys.fly.MenuPage) package handjoys.fly { import flash.display.*; import flash.media.*; import flash.events.*; import handjoys.fly.util.*; import handjoys.fly.factory.*; public class MenuPage extends MovieClip { public var backBtn:SimpleButton; public var returnBtn:SimpleButton; public var helpBtn:SimpleButton; public function MenuPage(){ this.addEventListener(MouseEvent.CLICK, doClickHandle); } private function doClickHandle(_arg1:MouseEvent):void{ var _local2:String; var _local3:*; _arg1.stopPropagation(); if (_arg1.target != null){ if (_arg1.target.name != null){ _local2 = _arg1.target.name; switch (_local2){ case "backBtn": if (Cache._btn_music != null){ Cache._btn_music.play(); }; Cache._gamePause = true; Main(Cache._main).backStart(); break; case "helpBtn": if (Cache._btn_music != null){ Cache._btn_music.play(); }; Cache._gamePause = true; _local3 = ResourceFactory.getResource("HelpMovieClip"); Cache._layers["alert"].addChild(_local3); break; case "returnBtn": if (Cache._btn_music != null){ Cache._btn_music.play(); }; Cache._gamePause = false; Cache._protagonist.start(); if (Cache._layers["alert"].numChildren > 0){ Cache._layers["alert"].removeChildAt(0); }; break; }; }; }; } } }//package handjoys.fly
Section 39
//MyLoading (handjoys.fly.MyLoading) package handjoys.fly { import flash.display.*; import flash.events.*; import flash.text.*; import flash.net.*; public class MyLoading extends MovieClip { var loadMC; var main:Class; public function MyLoading(){ loadMC = new loading(); super(); addChild(loadMC); loadMC.gotoAndStop(1); loaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler); loaderInfo.addEventListener(Event.COMPLETE, completeHandler); } function enterframeHandler(_arg1:Event){ if (currentFrame == 1){ loadMC.gotoAndStop(2); loadMC.addEventListener(Event.ENTER_FRAME, enter1frameHandler); this.removeEventListener(Event.ENTER_FRAME, enterframeHandler); }; } function progressHandler(_arg1:ProgressEvent){ loadMC.prel.procent.text = Math.floor(((_arg1.bytesLoaded * 100) / _arg1.bytesTotal)).toFixed(); loadMC.prel.gotoAndStop(loadMC.prel.procent.text); } function completeHandler(_arg1:Event){ this.addEventListener(Event.ENTER_FRAME, enterframeHandler); } function enter1frameHandler(_arg1:Event){ if (loadMC.fog.currentFrame == 191){ loadMC.removeEventListener(Event.ENTER_FRAME, enter1frameHandler); loadMC.parent.removeChild(loadMC); main = (loaderInfo.applicationDomain.getDefinition("main") as Class); addChild(new Main()); }; } } }//package handjoys.fly
Section 40
//Protagonist (handjoys.fly.Protagonist) package handjoys.fly { import flash.display.*; import flash.media.*; import org.cove.ape.*; import flash.events.*; import flash.geom.*; import handjoys.fly.util.*; import handjoys.fly.element.*; import flash.utils.*; public class Protagonist extends Group implements Runnable { private var _h:Number;// = 0 private var _canInjured:Boolean;// = true private var _man:MovieClip; private var _isUpKeyPressed:Boolean;// = true private var _lifeNum:Number;// = 3 private var _isDownKeyPressed:Boolean;// = false public var _monsterG:Monster; private var _up:Boolean;// = false private var _face:Number;// = 1 private var _energy:Number;// = 20 private var _rect:RectangleParticle; private var _speed:Number;// = 9.5 private var _injuredTimer:Timer; private var _timer:Timer; private var _isLeftKeyPressed:Boolean;// = false public var _isChick;// = false private var _isFly:Boolean;// = false private var _isDead:Boolean;// = false private var _isUpKeyPressedForFly:Boolean;// = false private var _isRightKeyPressed:Boolean;// = false private var _x:Number; private var _y:Number; private var _short:Sound; public function Protagonist(){ _isUpKeyPressedForFly = false; _isUpKeyPressed = true; _up = false; _isDownKeyPressed = false; _isLeftKeyPressed = false; _isRightKeyPressed = false; _isFly = false; _energy = 20; _canInjured = true; _face = 1; _speed = 9.5; _lifeNum = 3; _h = 0; _isChick = false; _isDead = false; super(); _man = new man(); _rect = new RectangleParticle(200, 200, _man.width, (_man.height - 5), 0); _rect.name = "protagonist"; _rect.friction = 0; _rect.elasticity = 0; _rect.mass = 0.4; _rect.setDisplay(_man); _rect.setStyle(0, 0xFFFFFF, 0, 0xFF0000, 1); _h = _rect.height; addParticle(_rect); Cache._protagonist = this; _timer = new Timer(200, 9999999); _timer.addEventListener("timer", timerHandle); _injuredTimer = new Timer(1500, 1); _injuredTimer.addEventListener(TimerEvent.TIMER_COMPLETE, injuredTimerHandle); _lifeNum = Cache._lifeNum; Cache._runObj.push(this); _isDead = false; } public function getMovieClip():MovieClip{ return (_man); } public function stop():void{ _man.stop(); _rect.fixed = true; } public function setCoordinate(_arg1:Point):void{ _x = _arg1.x; _y = _arg1.y; _rect.px = _arg1.x; _rect.py = _arg1.y; } public function doKeyDown(_arg1:uint):void{ if (_man.currentLabel == "injured"){ return; }; if (_arg1 == 38){ if (!_isFly){ jump(); } else { if (!_up){ _up = true; _isUpKeyPressedForFly = true; }; }; } else { if (_arg1 == 40){ _isDownKeyPressed = true; } else { if (_arg1 == 39){ _isRightKeyPressed = true; if (_face != 1){ _face = 1; _man.scaleX = 1; }; } else { if (_arg1 == 37){ _isLeftKeyPressed = true; if (_face != -1){ _face = -1; _man.scaleX = -1; }; }; }; }; }; } public function addMove(_arg1:Number):void{ _rect.px = (_rect.px + _arg1); } public function doKeyUp(_arg1:uint):void{ if (_arg1 == 38){ _isUpKeyPressedForFly = false; _isUpKeyPressed = true; _up = false; } else { if (_arg1 == 40){ _isDownKeyPressed = false; if (((!((_man.currentLabel == "injured"))) && (!((_man.currentLabel == "dead"))))){ _man.gotoAndStop("stand"); }; } else { if (_arg1 == 39){ _isRightKeyPressed = false; if (((((((!(_isFly)) && (!((_man.currentLabel == "stand"))))) && (!((_man.currentLabel == "injured"))))) && (!((_man.currentLabel == "dead"))))){ _man.gotoAndStop("stand"); }; inertiaMove("right"); } else { if (_arg1 == 37){ _isLeftKeyPressed = false; if (((((((!(_isFly)) && (!((_man.currentLabel == "stand"))))) && (!((_man.currentLabel == "injured"))))) && (!((_man.currentLabel == "dead"))))){ _man.gotoAndStop("stand"); }; inertiaMove("left"); }; }; }; }; } private function timerHandle(_arg1:Event):void{ if (_energy >= 20){ _timer.stop(); return; }; if ((_energy + 5) > 20){ _energy = 20; } else { _energy = (_energy + 5); }; } public function run():void{ moveDown(); fly(); moveRight(); moveLeft(); if (!Cache._musicFlag){ if (Cache._step_music_channel != null){ Cache._step_music_channel.stop(); Cache._step_music_channel = null; }; if (Cache._fart1_music_channel != null){ Cache._fart1_music_channel.stop(); Cache._fart1_music_channel = null; }; if (Cache._fart2_music_channel != null){ Cache._fart2_music_channel.stop(); Cache._fart2_music_channel = null; }; if (Cache._fart3_music_channel != null){ Cache._fart3_music_channel.stop(); Cache._fart3_music_channel = null; }; return; }; if (!_isFly){ if (((((_isLeftKeyPressed) || (_isRightKeyPressed))) && (!(Cache._gamePause)))){ if (Cache._step_music_channel == null){ Cache._step_music_channel = Cache._step_music.play(); }; } else { if (Cache._step_music_channel != null){ Cache._step_music_channel.stop(); Cache._step_music_channel = null; }; }; } else { if (Cache._step_music_channel != null){ Cache._step_music_channel.stop(); Cache._step_music_channel = null; }; }; if (((((_isUpKeyPressedForFly) && ((_energy > 0)))) && (!(Cache._gamePause)))){ if (((((!((Cache._fart1_music_channel == null))) || (!((Cache._fart2_music_channel == null))))) || (!((Cache._fart3_music_channel == null))))){ return; }; if (((!((Cache._fart1_music == null))) && ((_energy >= 25)))){ if (Cache._fart1_music_channel == null){ Cache._fart1_music_channel = Cache._fart1_music.play(); }; } else { if (((!((Cache._fart2_music == null))) && ((_energy >= 15)))){ if (Cache._fart2_music_channel == null){ Cache._fart2_music_channel = Cache._fart2_music.play(); }; } else { if (Cache._fart3_music != null){ if (Cache._fart3_music_channel == null){ Cache._fart3_music_channel = Cache._fart3_music.play(); }; }; }; }; } else { if (Cache._fart1_music_channel != null){ Cache._fart1_music_channel.stop(); Cache._fart1_music_channel = null; }; if (Cache._fart2_music_channel != null){ Cache._fart2_music_channel.stop(); Cache._fart2_music_channel = null; }; if (Cache._fart3_music_channel != null){ Cache._fart3_music_channel.stop(); Cache._fart3_music_channel = null; }; }; } public function start():void{ if (_rect.fixed){ _rect.fixed = false; }; } private function injuredTimerHandle(_arg1:Event):void{ _canInjured = true; if (_isChick){ this.addCollidableList(Cache._chicks); _isChick = false; }; if (_monsterG != null){ this.addCollidable(_monsterG); _monsterG = null; }; _injuredTimer.stop(); } private function inertiaMove(_arg1:String):void{ if (_arg1 == "right"){ if (!_isFly){ } else { _rect.addForce(new Vector(30, 0)); }; } else { if (!_isFly){ } else { _rect.addForce(new Vector((30 * -1), 0)); }; }; } public function injuredJump():void{ if (_isFly){ _rect.py = (_rect.py - 20); }; } public function lostLife():void{ var _local1:Menu; _local1 = Menu(Cache._layers["menu"].getChildAt(0)); if (_local1.lifeComp.life.text == 1){ Main(Cache._main).gameOver(); return; }; _lifeNum = 3; _local1.life.gotoAndStop(_lifeNum); _local1.lifeComp.life.text = (_local1.lifeComp.life.text - 1); Cache._life = _local1.lifeComp.life.text; Cache._lifeNum = _lifeNum; Main(Cache._main).gameRestart(); } private function doFog():void{ var _local1:Fog; _local1 = new Fog(); _local1.x = _rect.px; _local1.y = (_rect.py + 22); Cache._layers["element"].addChild(_local1); } public function addLife():void{ var _local1:Menu; _local1 = Menu(Cache._layers["menu"].getChildAt(0)); _local1.lifeComp.life.text = (Number(_local1.lifeComp.life.text) + 1); Cache._life = _local1.lifeComp.life.text; Cache._lifeNum = _lifeNum; if (!Cache._musicFlag){ return; }; if (Cache._getLife_music != null){ Cache._getLife_music.play(); }; } public function getRx():Number{ return (_rect.px); } private function jump():void{ if (_man.currentLabel == "injured"){ return; }; if (((((!(_isUpKeyPressed)) || (_up))) || (_isDead))){ return; }; _isUpKeyPressed = false; _rect.addForce(new Vector(0, -60)); if (!_isFly){ _isFly = true; }; } private function moveDown():void{ if (_man.currentLabel == "injured"){ return; }; if (((((_isDownKeyPressed) && (!(_isFly)))) && (!(_isDead)))){ if (((((!((_man.currentLabel == "duck"))) && (!((_man.currentLabel == "injured"))))) && (!((_man.currentLabel == "dead"))))){ _man.gotoAndPlay("duck"); }; }; } public function stand():void{ if (_isFly){ _isFly = false; _isUpKeyPressedForFly = false; if (((!((_man.currentLabel == "injured"))) && (!((_man.currentLabel == "dead"))))){ _man.gotoAndStop("stand"); }; }; } public function injured(_arg1:Group, _arg2:AbstractParticle):void{ var _local3:Menu; if (_canInjured){ if ((((_arg1 is Monster)) && ((_monsterG == null)))){ _monsterG = Monster(_arg1); this.removeCollidable(_monsterG); }; _canInjured = false; _local3 = Menu(Cache._layers["menu"].getChildAt(0)); if (_lifeNum == 1){ _isDead = true; if (Cache._musicFlag){ if (Cache._hert_music != null){ Cache._hert_music.play(); }; }; if (_man.currentLabel != "dead"){ _man.gotoAndPlay("dead"); }; } else { if (_man.currentLabel != "injured"){ _man.gotoAndPlay("injured"); }; if (Cache._musicFlag){ if (Cache._ss_music != null){ Cache._ss_music.play(); }; }; _lifeNum--; _local3.life.gotoAndStop(_lifeNum); Cache._life = _local3.lifeComp.life.text; Cache._lifeNum = _lifeNum; }; if (_rect.px > _arg2.px){ _rect.px = (_rect.px + _speed); } else { _rect.px = (_rect.px - _speed); }; _injuredTimer.reset(); _injuredTimer.start(); }; } private function moveRight():void{ if (_man.currentLabel == "injured"){ return; }; if (((((_isRightKeyPressed) && (!(Cache._gamePause)))) && (!(_isDead)))){ if (((((((!(_isFly)) && (!((_man.currentLabel == "walk"))))) && (!((_man.currentLabel == "injured"))))) && (!((_man.currentLabel == "dead"))))){ _man.gotoAndPlay("walk"); }; _rect.px = (_rect.px + _speed); }; } private function fly():void{ if (_man.currentLabel == "injured"){ return; }; if (_isFly){ if (((((!((_man.currentLabel == "fly"))) && (!((_man.currentLabel == "injured"))))) && (!((_man.currentLabel == "dead"))))){ _man.gotoAndPlay("fly"); }; if (_timer.running){ _timer.stop(); }; } else { if (!_timer.running){ _timer.start(); }; }; if (!_isUpKeyPressed){ return; }; if (_isUpKeyPressedForFly){ _energy--; doFog(); if (_energy <= 0){ _energy = 0; _isUpKeyPressedForFly = false; }; _rect.addForce(new Vector(0, -16)); if (!_isFly){ _isFly = true; }; }; } private function moveLeft():void{ if (_man.currentLabel == "injured"){ return; }; if (((((_isLeftKeyPressed) && (!(Cache._gamePause)))) && (!(_isDead)))){ if (((((((!(_isFly)) && (!((_man.currentLabel == "walk"))))) && (!((_man.currentLabel == "injured"))))) && (!((_man.currentLabel == "dead"))))){ _man.gotoAndPlay("walk"); }; _rect.px = (_rect.px - _speed); }; } } }//package handjoys.fly
Section 41
//Runnable (handjoys.fly.Runnable) package handjoys.fly { public interface Runnable { function stop():void; function run():void; } }//package handjoys.fly
Section 42
//StartGame (handjoys.fly.StartGame) package handjoys.fly { import flash.display.*; import flash.media.*; import flash.events.*; import handjoys.fly.util.*; import handjoys.fly.factory.*; import flash.utils.*; import flash.system.*; import flash.net.*; public class StartGame extends MovieClip { public var sound:MovieClip; public var music:MovieClip; public var btnMoreGame:MovieClip; public var gameHelp:MovieClip; public var gamePlay:MovieClip; public function StartGame(){ gamePlay.buttonMode = true; gameHelp.buttonMode = true; music.buttonMode = true; sound.buttonMode = true; music.gotoAndStop("on"); sound.gotoAndStop("on"); this.stop(); initEventListener(); } private function rmEventListener():void{ } private function initEventListener():void{ this.addEventListener(MouseEvent.CLICK, clickHandler); } private function clickHandler(_arg1:MouseEvent):void{ var _local2:String; var _local3:*; var _local4:*; var _local5:SoundTransform; _arg1.stopPropagation(); if (_arg1.target != null){ if (_arg1.target.name != null){ _local2 = _arg1.target.name; switch (_local2){ case "gamePlay": if (Cache._btn_music != null){ Cache._btn_music.play(); }; Main(Cache._main).nextLevel(); break; case "btnMoreGame": if (Cache._btn_music != null){ Cache._btn_music.play(); }; navigateToURL(new URLRequest("http://www.freeonlinegames.com/?fartblaster"), "_blank"); break; case "gameHelp": if (Cache._btn_music != null){ Cache._btn_music.play(); }; _local3 = ResourceFactory.getResource("HelpMovieClip"); Cache._layers["sence"].addChild(_local3); break; case "btnGameScore": if (Cache._btn_music != null){ Cache._btn_music.play(); }; _local4 = ResourceFactory.getResource("IntegralList"); Cache._layers["alert"].addChild(_local4); case "music": if (Cache._btn_music != null){ Cache._btn_music.play(); }; Cache._soundFlag = !(Cache._soundFlag); if (Cache._soundFlag){ music.gotoAndStop("on"); if (Cache._sound != null){ _local5 = new SoundTransform(0.5); Cache._soundChannel = Cache._sound.play(0, 1000000, _local5); }; } else { if (Cache._soundChannel != null){ Cache._soundChannel.stop(); }; Cache._soundChannel = null; music.gotoAndStop("off"); }; break; case "sound": if (Cache._btn_music != null){ Cache._btn_music.play(); }; Cache._musicFlag = !(Cache._musicFlag); if (Cache._musicFlag){ sound.gotoAndStop("on"); } else { sound.gotoAndStop("off"); }; break; }; }; }; } } }//package handjoys.fly
Section 43
//Success (handjoys.fly.Success) package handjoys.fly { import flash.display.*; import flash.events.*; import handjoys.fly.util.*; import flash.utils.*; public class Success extends MovieClip { public function Success(){ var _local1:Timer; super(); _local1 = new Timer(1000, 1); _local1.addEventListener(TimerEvent.TIMER_COMPLETE, doTimerComplete); _local1.start(); this.x = 236; this.y = 229; } private function doTimerComplete(_arg1:TimerEvent):void{ if (Cache._gate == 50){ Main(Cache._main).gameComplete(); } else { Main(Cache._main).nextLevel(); }; if (this.parent){ this.parent.removeChild(this); }; } } }//package handjoys.fly
Section 44
//AbstractCollection (org.cove.ape.AbstractCollection) package org.cove.ape { import flash.display.*; import flash.utils.*; public class AbstractCollection { private var _sprite:Sprite; private var _isParented:Boolean; private var _particles:Array; private var _constraints:Array; public function AbstractCollection(){ if (getQualifiedClassName(this) == "org.cove.ape::AbstractCollection"){ throw (new ArgumentError("AbstractCollection can't be instantiated directly")); }; _isParented = false; _particles = new Array(); _constraints = new Array(); } public function getAll():Array{ return (particles.concat(constraints)); } function checkCollisionsVsCollection(_arg1:AbstractCollection):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:AbstractParticle; var _local6:int; var _local7:int; var _local8:int; var _local9:AbstractParticle; var _local10:SpringConstraint; var _local11:SpringConstraint; var _local12:int; _local2 = _particles.length; _local3 = 0; while (_local3 < _local2) { _local5 = _particles[_local3]; if (!_local5.collidable){ } else { _local6 = _arg1.particles.length; _local7 = 0; while (_local7 < _local6) { _local9 = _arg1.particles[_local7]; if (_local9.collidable){ CollisionDetector.test(_local5, _local9); }; _local7++; }; _local8 = _arg1.constraints.length; _local7 = 0; while (_local7 < _local8) { _local10 = _arg1.constraints[_local7]; if (((_local10.collidable) && (!(_local10.isConnectedTo(_local5))))){ _local10.scp.updatePosition(); CollisionDetector.test(_local5, _local10.scp); }; _local7++; }; }; _local3++; }; _local4 = _constraints.length; _local3 = 0; while (_local3 < _local4) { _local11 = _constraints[_local3]; if (!_local11.collidable){ } else { _local6 = _arg1.particles.length; _local12 = 0; while (_local12 < _local6) { _local9 = _arg1.particles[_local12]; if (((_local9.collidable) && (!(_local11.isConnectedTo(_local9))))){ _local11.scp.updatePosition(); CollisionDetector.test(_local9, _local11.scp); }; _local12++; }; }; _local3++; }; } public function get sprite():Sprite{ if (_sprite != null){ return (_sprite); }; if (APEngine.container == null){ throw (new Error("The container property of the APEngine class has not been set")); }; _sprite = new Sprite(); APEngine.container.addChild(_sprite); return (_sprite); } function checkInternalCollisions():void{ var _local1:int; var _local2:int; var _local3:AbstractParticle; var _local4:int; var _local5:int; var _local6:int; var _local7:AbstractParticle; var _local8:SpringConstraint; _local1 = _particles.length; _local2 = 0; while (_local2 < _local1) { _local3 = _particles[_local2]; if (!_local3.collidable){ } else { _local4 = (_local2 + 1); while (_local4 < _local1) { _local7 = _particles[_local4]; if (_local7.collidable){ CollisionDetector.test(_local3, _local7); }; _local4++; }; _local5 = _constraints.length; _local6 = 0; while (_local6 < _local5) { _local8 = _constraints[_local6]; if (((_local8.collidable) && (!(_local8.isConnectedTo(_local3))))){ _local8.scp.updatePosition(); CollisionDetector.test(_local3, _local8.scp); }; _local6++; }; }; _local2++; }; } public function addParticle(_arg1:AbstractParticle):void{ particles.push(_arg1); if (isParented){ _arg1.init(); }; } public function removeConstraint(_arg1:AbstractConstraint):void{ var _local2:int; _local2 = constraints.indexOf(_arg1); if (_local2 == -1){ return; }; constraints.splice(_local2, 1); _arg1.cleanup(); } function get isParented():Boolean{ return (_isParented); } public function init():void{ var _local1:int; _local1 = 0; while (_local1 < particles.length) { particles[_local1].init(); _local1++; }; _local1 = 0; while (_local1 < constraints.length) { constraints[_local1].init(); _local1++; }; } function satisfyConstraints():void{ var _local1:int; var _local2:int; var _local3:AbstractConstraint; _local1 = _constraints.length; _local2 = 0; while (_local2 < _local1) { _local3 = _constraints[_local2]; _local3.resolve(); _local2++; }; } public function paint():void{ var _local1:AbstractParticle; var _local2:int; var _local3:int; var _local4:SpringConstraint; _local2 = _particles.length; _local3 = 0; while (_local3 < _local2) { _local1 = _particles[_local3]; if (((!(_local1.fixed)) || (_local1.alwaysRepaint))){ _local1.paint(); }; _local3++; }; _local2 = _constraints.length; _local3 = 0; while (_local3 < _local2) { _local4 = _constraints[_local3]; if (((!(_local4.fixed)) || (_local4.alwaysRepaint))){ _local4.paint(); }; _local3++; }; } public function addConstraint(_arg1:AbstractConstraint):void{ constraints.push(_arg1); if (isParented){ _arg1.init(); }; } function set isParented(_arg1:Boolean):void{ _isParented = _arg1; } public function removeParticle(_arg1:AbstractParticle):void{ var _local2:int; _local2 = particles.indexOf(_arg1); if (_local2 == -1){ return; }; particles.splice(_local2, 1); _arg1.cleanup(); } public function cleanup():void{ var _local1:int; _local1 = 0; while (_local1 < particles.length) { particles[_local1].cleanup(); _local1++; }; _local1 = 0; while (_local1 < constraints.length) { constraints[_local1].cleanup(); _local1++; }; } public function get particles():Array{ return (_particles); } function integrate(_arg1:Number):void{ var _local2:int; var _local3:int; var _local4:AbstractParticle; _local2 = _particles.length; _local3 = 0; while (_local3 < _local2) { _local4 = _particles[_local3]; _local4.update(_arg1); _local3++; }; } public function get constraints():Array{ return (_constraints); } } }//package org.cove.ape
Section 45
//AbstractConstraint (org.cove.ape.AbstractConstraint) package org.cove.ape { import flash.utils.*; public class AbstractConstraint extends AbstractItem { private var _stiffness:Number; public function AbstractConstraint(_arg1:Number){ if (getQualifiedClassName(this) == "org.cove.ape::AbstractConstraint"){ throw (new ArgumentError("AbstractConstraint can't be instantiated directly")); }; this.stiffness = _arg1; setStyle(); } public function get stiffness():Number{ return (_stiffness); } public function set stiffness(_arg1:Number):void{ _stiffness = _arg1; } function resolve():void{ } } }//package org.cove.ape
Section 46
//AbstractItem (org.cove.ape.AbstractItem) package org.cove.ape { import flash.display.*; public class AbstractItem { var lineAlpha:Number; var lineColor:uint; var displayObjectOffset:Vector; var lineThickness:Number; var displayObject:DisplayObject; var fillAlpha:Number; private var _sprite:Sprite; var fillColor:uint; private var _visible:Boolean; private var _alwaysRepaint:Boolean; var displayObjectRotation:Number; public function AbstractItem(){ _visible = true; _alwaysRepaint = false; } public function setLine(_arg1:Number=0, _arg2:uint=0, _arg3:Number=1):void{ lineThickness = _arg1; lineColor = _arg2; lineAlpha = _arg3; } public function set visible(_arg1:Boolean):void{ _visible = _arg1; sprite.visible = _arg1; } public function setFill(_arg1:uint=0xFFFFFF, _arg2:Number=1):void{ fillColor = _arg1; fillAlpha = _arg2; } public function init():void{ } public function get sprite():Sprite{ if (_sprite != null){ return (_sprite); }; if (APEngine.container == null){ throw (new Error("The container property of the APEngine class has not been set")); }; _sprite = new Sprite(); APEngine.container.addChild(_sprite); return (_sprite); } public function paint():void{ } public function cleanup():void{ var _local1:int; sprite.graphics.clear(); _local1 = 0; while (_local1 < sprite.numChildren) { sprite.removeChildAt(_local1); _local1++; }; } public function setStyle(_arg1:Number=0, _arg2:uint=0, _arg3:Number=1, _arg4:uint=0xFFFFFF, _arg5:Number=1):void{ setLine(_arg1, _arg2, _arg3); setFill(_arg4, _arg5); } public function get visible():Boolean{ return (_visible); } final public function set alwaysRepaint(_arg1:Boolean):void{ _alwaysRepaint = _arg1; } final public function get alwaysRepaint():Boolean{ return (_alwaysRepaint); } } }//package org.cove.ape
Section 47
//AbstractParticle (org.cove.ape.AbstractParticle) package org.cove.ape { import flash.display.*; import flash.utils.*; public class AbstractParticle extends AbstractItem { private var _collidable:Boolean; private var _fixed:Boolean; private var _multisample:int; public var name:String; private var collision:Collision; var prev:Vector; private var _kfr:Number; var curr:Vector; private var _invMass:Number; public var attack:Boolean;// = false var interval:Interval; private var _mass:Number; private var temp:Vector; private var _friction:Number; private var forces:Vector; var samp:Vector; private var _center:Vector; public var parentGroup:Group;// = null public function AbstractParticle(_arg1:Number, _arg2:Number, _arg3:Boolean, _arg4:Number, _arg5:Number, _arg6:Number){ attack = false; parentGroup = null; super(); if (getQualifiedClassName(this) == "org.cove.ape::AbstractParticle"){ throw (new ArgumentError("AbstractParticle can't be instantiated directly")); }; interval = new Interval(0, 0); curr = new Vector(_arg1, _arg2); prev = new Vector(_arg1, _arg2); samp = new Vector(); temp = new Vector(); fixed = _arg3; forces = new Vector(); collision = new Collision(new Vector(), new Vector()); collidable = true; this.mass = _arg4; this.elasticity = _arg5; this.friction = _arg6; setStyle(); _center = new Vector(); _multisample = 0; } public function set friction(_arg1:Number):void{ if ((((_arg1 < 0)) || ((_arg1 > 1)))){ throw (new ArgumentError("Legal friction must be >= 0 and <=1")); }; _friction = _arg1; } public function get px():Number{ return (curr.x); } public function get py():Number{ return (curr.y); } public function set py(_arg1:Number):void{ curr.y = _arg1; prev.y = _arg1; } function getComponents(_arg1:Vector):Collision{ var _local2:Vector; var _local3:Number; _local2 = velocity; _local3 = _arg1.dot(_local2); collision.vn = _arg1.mult(_local3); collision.vt = _local2.minus(collision.vn); return (collision); } public function set mass(_arg1:Number):void{ if (_arg1 <= 0){ throw (new ArgumentError("mass may not be set <= 0")); }; _mass = _arg1; _invMass = (1 / _mass); } function initDisplay():void{ displayObject.x = displayObjectOffset.x; displayObject.y = displayObjectOffset.y; displayObject.rotation = displayObjectRotation; sprite.addChild(displayObject); } function get invMass():Number{ return ((fixed) ? 0 : _invMass); } public function set elasticity(_arg1:Number):void{ _kfr = _arg1; } public function setDisplay(_arg1:DisplayObject, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0):void{ displayObject = _arg1; displayObjectRotation = _arg4; displayObjectOffset = new Vector(_arg2, _arg3); } public function get position():Vector{ return (new Vector(curr.x, curr.y)); } public function get multisample():int{ return (_multisample); } public function get fixed():Boolean{ return (_fixed); } public function set fixed(_arg1:Boolean):void{ _fixed = _arg1; } function resolveCollision(_arg1:Vector, _arg2:Vector, _arg3:Vector, _arg4:Number, _arg5:int, _arg6:AbstractParticle):void{ curr.plusEquals(_arg1); velocity = _arg2; } public function set px(_arg1:Number):void{ curr.x = _arg1; prev.x = _arg1; } public function addMasslessForce(_arg1:Vector):void{ forces.plusEquals(_arg1); } public function set velocity(_arg1:Vector):void{ prev = curr.minus(_arg1); } public function set multisample(_arg1:int):void{ _multisample = _arg1; } public function get elasticity():Number{ return (_kfr); } public function set position(_arg1:Vector):void{ curr.copy(_arg1); prev.copy(_arg1); } public function get center():Vector{ _center.setTo(px, py); return (_center); } public function update(_arg1:Number):void{ var _local2:Vector; if (fixed){ return; }; addForce(APEngine.force); addMasslessForce(APEngine.masslessForce); temp.copy(curr); _local2 = velocity.plus(forces.multEquals(_arg1)); curr.plusEquals(_local2.multEquals(APEngine.damping)); prev.copy(temp); forces.setTo(0, 0); } public function set collidable(_arg1:Boolean):void{ _collidable = _arg1; } public function get velocity():Vector{ return (curr.minus(prev)); } public function get collidable():Boolean{ return (_collidable); } public function addForce(_arg1:Vector):void{ forces.plusEquals(_arg1.mult(invMass)); } public function get friction():Number{ return (_friction); } public function get mass():Number{ return (_mass); } } }//package org.cove.ape
Section 48
//APEngine (org.cove.ape.APEngine) package org.cove.ape { import flash.display.*; public final class APEngine { private static var _container:DisplayObjectContainer; private static var _damping:Number; private static var _constraintCollisionCycles:int; private static var groups:Array; static var masslessForce:Vector; private static var _constraintCycles:int; static var force:Vector; private static var timeStep:Number; private static var numGroups:int; public static function get container():DisplayObjectContainer{ return (_container); } public static function get constraintCollisionCycles():int{ return (_constraintCollisionCycles); } public static function set damping(_arg1:Number):void{ _damping = _arg1; } public static function step():void{ var _local1:int; var _local2:int; integrate(); _local1 = 0; while (_local1 < _constraintCycles) { satisfyConstraints(); _local1++; }; _local2 = 0; while (_local2 < _constraintCollisionCycles) { satisfyConstraints(); checkCollisions(); _local2++; }; } public static function init(_arg1:Number=0.25):void{ timeStep = (_arg1 * _arg1); numGroups = 0; groups = new Array(); force = new Vector(0, 0); masslessForce = new Vector(0, 0); damping = 1; _constraintCycles = 0; _constraintCollisionCycles = 1; } public static function get constraintCycles():int{ return (_constraintCycles); } public static function set constraintCollisionCycles(_arg1:int):void{ _constraintCollisionCycles = _arg1; } public static function set constraintCycles(_arg1:int):void{ _constraintCycles = _arg1; } public static function addForce(_arg1:Vector):void{ force.plusEquals(_arg1); } public static function get damping():Number{ return (_damping); } public static function set container(_arg1:DisplayObjectContainer):void{ _container = _arg1; } public static function addGroup(_arg1:Group):void{ groups.push(_arg1); _arg1.isParented = true; numGroups++; _arg1.init(); } public static function removeGroup(_arg1:Group):void{ var _local2:int; _local2 = groups.indexOf(_arg1); if (_local2 == -1){ return; }; groups.splice(_local2, 1); _arg1.isParented = false; numGroups--; _arg1.cleanup(); } public static function paint():void{ var _local1:int; var _local2:Group; _local1 = 0; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2.paint(); _local1++; }; } private static function checkCollisions():void{ var _local1:int; var _local2:Group; _local1 = 0; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2.checkCollisions(); _local1++; }; } private static function integrate():void{ var _local1:int; var _local2:Group; _local1 = 0; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2.integrate(timeStep); _local1++; }; } private static function satisfyConstraints():void{ var _local1:int; var _local2:Group; _local1 = 0; while (_local1 < numGroups) { _local2 = groups[_local1]; _local2.satisfyConstraints(); _local1++; }; } public static function addMasslessForce(_arg1:Vector):void{ masslessForce.plusEquals(_arg1); } } }//package org.cove.ape
Section 49
//CircleParticle (org.cove.ape.CircleParticle) package org.cove.ape { public class CircleParticle extends AbstractParticle { private var _radius:Number; public function CircleParticle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Boolean=false, _arg5:Number=1, _arg6:Number=0.3, _arg7:Number=0){ super(_arg1, _arg2, _arg4, _arg5, _arg6, _arg7); _radius = _arg3; } function getIntervalX():Interval{ interval.min = (curr.x - _radius); interval.max = (curr.x + _radius); return (interval); } function getIntervalY():Interval{ interval.min = (curr.y - _radius); interval.max = (curr.y + _radius); return (interval); } override public function init():void{ cleanup(); if (displayObject != null){ initDisplay(); } else { sprite.graphics.clear(); sprite.graphics.lineStyle(lineThickness, lineColor, lineAlpha); sprite.graphics.beginFill(fillColor, fillAlpha); sprite.graphics.drawCircle(0, 0, radius); sprite.graphics.endFill(); }; paint(); } public function set radius(_arg1:Number):void{ _radius = _arg1; } public function get radius():Number{ return (_radius); } function getProjection(_arg1:Vector):Interval{ var _local2:Number; _local2 = samp.dot(_arg1); interval.min = (_local2 - _radius); interval.max = (_local2 + _radius); return (interval); } override public function paint():void{ sprite.x = curr.x; sprite.y = curr.y; } } }//package org.cove.ape
Section 50
//Collision (org.cove.ape.Collision) package org.cove.ape { import org.cove.ape.*; final class Collision { var vn:Vector; var vt:Vector; function Collision(_arg1:Vector, _arg2:Vector){ this.vn = _arg1; this.vt = _arg2; } } }//package org.cove.ape
Section 51
//CollisionDetector (org.cove.ape.CollisionDetector) package org.cove.ape { import org.cove.ape.*; final class CollisionDetector { private static function testOBBvsCircle(_arg1:RectangleParticle, _arg2:CircleParticle):Boolean{ var _local3:Vector; var _local4:Number; var _local5:Array; var _local6:int; var _local7:Number; var _local8:Vector; var _local9:Number; var _local10:Vector; var _local11:Number; _local4 = Number.POSITIVE_INFINITY; _local5 = new Array(2); _local6 = 0; while (_local6 < 2) { _local8 = _arg1.axes[_local6]; _local9 = testIntervals(_arg1.getProjection(_local8), _arg2.getProjection(_local8)); if (_local9 == 0){ return (false); }; if (Math.abs(_local9) < Math.abs(_local4)){ _local3 = _local8; _local4 = _local9; }; _local5[_local6] = _local9; _local6++; }; _local7 = _arg2.radius; if ((((Math.abs(_local5[0]) < _local7)) && ((Math.abs(_local5[1]) < _local7)))){ _local10 = closestVertexOnOBB(_arg2.samp, _arg1); _local3 = _local10.minus(_arg2.samp); _local11 = _local3.magnitude(); _local4 = (_local7 - _local11); if (_local4 > 0){ _local3.divEquals(_local11); } else { return (false); }; }; CollisionResolver.resolveParticleParticle(_arg1, _arg2, _local3, _local4); return (true); } static function test(_arg1:AbstractParticle, _arg2:AbstractParticle):void{ if (((_arg1.fixed) && (_arg2.fixed))){ return; }; if ((((_arg1.multisample == 0)) && ((_arg2.multisample == 0)))){ normVsNorm(_arg1, _arg2); } else { if ((((_arg1.multisample > 0)) && ((_arg2.multisample == 0)))){ sampVsNorm(_arg1, _arg2); } else { if ((((_arg2.multisample > 0)) && ((_arg1.multisample == 0)))){ sampVsNorm(_arg2, _arg1); } else { if (_arg1.multisample == _arg2.multisample){ sampVsSamp(_arg1, _arg2); } else { normVsNorm(_arg1, _arg2); }; }; }; }; } private static function testIntervals(_arg1:Interval, _arg2:Interval):Number{ var _local3:Number; var _local4:Number; if (_arg1.max < _arg2.min){ return (0); }; if (_arg2.max < _arg1.min){ return (0); }; _local3 = (_arg2.max - _arg1.min); _local4 = (_arg2.min - _arg1.max); return (((Math.abs(_local3))<Math.abs(_local4)) ? _local3 : _local4); } private static function normVsNorm(_arg1:AbstractParticle, _arg2:AbstractParticle):void{ _arg1.samp.copy(_arg1.curr); _arg2.samp.copy(_arg2.curr); testTypes(_arg1, _arg2); } private static function testCirclevsCircle(_arg1:CircleParticle, _arg2:CircleParticle):Boolean{ var _local3:Number; var _local4:Number; var _local5:Vector; var _local6:Number; var _local7:Number; _local3 = testIntervals(_arg1.getIntervalX(), _arg2.getIntervalX()); if (_local3 == 0){ return (false); }; _local4 = testIntervals(_arg1.getIntervalY(), _arg2.getIntervalY()); if (_local4 == 0){ return (false); }; _local5 = _arg1.samp.minus(_arg2.samp); _local6 = _local5.magnitude(); _local7 = ((_arg1.radius + _arg2.radius) - _local6); if (_local7 > 0){ _local5.divEquals(_local6); CollisionResolver.resolveParticleParticle(_arg1, _arg2, _local5, _local7); return (true); }; return (false); } private static function testTypes(_arg1:AbstractParticle, _arg2:AbstractParticle):Boolean{ if ((((_arg1 is RectangleParticle)) && ((_arg2 is RectangleParticle)))){ return (testOBBvsOBB((_arg1 as RectangleParticle), (_arg2 as RectangleParticle))); }; if ((((_arg1 is CircleParticle)) && ((_arg2 is CircleParticle)))){ return (testCirclevsCircle((_arg1 as CircleParticle), (_arg2 as CircleParticle))); }; if ((((_arg1 is RectangleParticle)) && ((_arg2 is CircleParticle)))){ return (testOBBvsCircle((_arg1 as RectangleParticle), (_arg2 as CircleParticle))); }; if ((((_arg1 is CircleParticle)) && ((_arg2 is RectangleParticle)))){ return (testOBBvsCircle((_arg2 as RectangleParticle), (_arg1 as CircleParticle))); }; return (false); } private static function sampVsNorm(_arg1:AbstractParticle, _arg2:AbstractParticle):void{ var _local3:Number; var _local4:Number; var _local5:int; _local3 = (1 / (_arg1.multisample + 1)); _local4 = _local3; _arg2.samp.copy(_arg2.curr); _local5 = 0; while (_local5 <= _arg1.multisample) { _arg1.samp.setTo((_arg1.prev.x + (_local4 * (_arg1.curr.x - _arg1.prev.x))), (_arg1.prev.y + (_local4 * (_arg1.curr.y - _arg1.prev.y)))); if (testTypes(_arg1, _arg2)){ return; }; _local4 = (_local4 + _local3); _local5++; }; } private static function closestVertexOnOBB(_arg1:Vector, _arg2:RectangleParticle):Vector{ var _local3:Vector; var _local4:Vector; var _local5:int; var _local6:Number; _local3 = _arg1.minus(_arg2.samp); _local4 = new Vector(_arg2.samp.x, _arg2.samp.y); _local5 = 0; while (_local5 < 2) { _local6 = _local3.dot(_arg2.axes[_local5]); if (_local6 >= 0){ _local6 = _arg2.extents[_local5]; } else { if (_local6 < 0){ _local6 = -(_arg2.extents[_local5]); }; }; _local4.plusEquals(_arg2.axes[_local5].mult(_local6)); _local5++; }; return (_local4); } private static function testOBBvsOBB(_arg1:RectangleParticle, _arg2:RectangleParticle):Boolean{ var _local3:Vector; var _local4:Number; var _local5:int; var _local6:Vector; var _local7:Number; var _local8:Vector; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Boolean; _local4 = Number.POSITIVE_INFINITY; _local5 = 0; while (_local5 < 2) { _local6 = _arg1.axes[_local5]; _local7 = testIntervals(_arg1.getProjection(_local6), _arg2.getProjection(_local6)); if (_local7 == 0){ return (false); }; _local8 = _arg2.axes[_local5]; _local9 = testIntervals(_arg1.getProjection(_local8), _arg2.getProjection(_local8)); if (_local9 == 0){ return (false); }; _local10 = Math.abs(_local7); _local11 = Math.abs(_local9); if ((((_local10 < Math.abs(_local4))) || ((_local11 < Math.abs(_local4))))){ _local12 = (_local10 < _local11); _local3 = (_local12) ? _local6 : _local8; _local4 = (_local12) ? _local7 : _local9; }; _local5++; }; CollisionResolver.resolveParticleParticle(_arg1, _arg2, _local3, _local4); return (true); } private static function sampVsSamp(_arg1:AbstractParticle, _arg2:AbstractParticle):void{ var _local3:Number; var _local4:Number; var _local5:int; _local3 = (1 / (_arg1.multisample + 1)); _local4 = _local3; _local5 = 0; while (_local5 <= _arg1.multisample) { _arg1.samp.setTo((_arg1.prev.x + (_local4 * (_arg1.curr.x - _arg1.prev.x))), (_arg1.prev.y + (_local4 * (_arg1.curr.y - _arg1.prev.y)))); _arg2.samp.setTo((_arg2.prev.x + (_local4 * (_arg2.curr.x - _arg2.prev.x))), (_arg2.prev.y + (_local4 * (_arg2.curr.y - _arg2.prev.y)))); if (testTypes(_arg1, _arg2)){ return; }; _local4 = (_local4 + _local3); _local5++; }; } } }//package org.cove.ape
Section 52
//CollisionResolver (org.cove.ape.CollisionResolver) package org.cove.ape { import org.cove.ape.*; import handjoys.fly.util.*; import handjoys.fly.element.*; import handjoys.fly.*; final class CollisionResolver { static function resolveParticleParticle(_arg1:AbstractParticle, _arg2:AbstractParticle, _arg3:Vector, _arg4:Number):void{ var _local5:Number; var _local6:Vector; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Collision; var _local11:Collision; var _local12:Vector; var _local13:Vector; var _local14:Vector; var _local15:Vector; if (_arg2.name == "chick"){ _arg2.elasticity = 0.3; _local5 = 0; Cache._protagonist._isChick = true; while (_local5 < Cache._chicks.length) { var _temp1 = _local5; _local5 = (_local5 + 1); Cache._protagonist.removeCollidable(Cache._chicks[_temp1]); }; } else { if (_arg2.name == "life"){ _arg2.fixed = false; }; _arg1.curr.copy(_arg1.samp); _arg2.curr.copy(_arg2.samp); _local6 = _arg3.mult(_arg4); _local7 = (_arg1.elasticity + _arg2.elasticity); _local8 = (_arg1.invMass + _arg2.invMass); _local9 = clamp((1 - (_arg1.friction + _arg2.friction)), 0, 1); _local10 = _arg1.getComponents(_arg3); _local11 = _arg2.getComponents(_arg3); _local12 = _local11.vn.mult(((_local7 + 1) * _arg1.invMass)).plus(_local10.vn.mult((_arg2.invMass - (_local7 * _arg1.invMass)))).divEquals(_local8); _local13 = _local10.vn.mult(((_local7 + 1) * _arg2.invMass)).plus(_local11.vn.mult((_arg1.invMass - (_local7 * _arg2.invMass)))).divEquals(_local8); _local10.vt.multEquals(_local9); _local11.vt.multEquals(_local9); _local14 = _local6.mult((_arg1.invMass / _local8)); _local15 = _local6.mult((-(_arg2.invMass) / _local8)); _local12.plusEquals(_local10.vt); _local13.plusEquals(_local11.vt); if (!_arg1.fixed){ _arg1.resolveCollision(_local14, _local12, _arg3, _arg4, -1, _arg2); }; if (!_arg2.fixed){ _arg2.resolveCollision(_local15, _local13, _arg3, _arg4, 1, _arg1); }; }; if (_arg2.name == "chick"){ _arg2.fixed = false; _arg2.elasticity = 0; }; if (_arg1.name == "protagonist"){ if (_arg2.name == "floors"){ Cache._protagonist.stand(); }; if (_arg2.name == "endDoor"){ Doors(_arg2.parentGroup).openEndDoor(); }; if ((((_arg2.name == "aeronef")) && (!((_arg2.parentGroup == null))))){ Aeronef(_arg2.parentGroup).remove(); }; if ((((_arg2.name == "move")) && ((Cache._protagonist._monsterG == null)))){ Monster(_arg2.parentGroup).turnFace(true, _arg1.px); }; if (_arg2.name == "chest"){ Chest(_arg2.parentGroup).eat(); }; if (_arg2.attack){ Cache._protagonist.injured(_arg2.parentGroup, _arg2); }; }; if ((((_arg1.name == "life")) && ((_arg2.name == "protagonist")))){ Cache._protagonist.addLife(); Life(_arg1.parentGroup).remove(); }; if (_arg1.name == "chick"){ if ((((((_arg2.name == "floors")) || ((_arg2.name == "floor")))) || ((_arg2.name == "tfloor")))){ Chick(_arg1.parentGroup).stand(); }; }; if (_arg1.name == "aeronef"){ if ((((((((((((_arg2.name == "floor")) || ((_arg2.name == "floors")))) || ((_arg2.name == "tfloor")))) || ((_arg2.name == "upWall")))) || ((_arg2.name == "leftWall")))) || ((_arg2.name == "rightWall")))){ Aeronef(_arg1.parentGroup).remove(); }; }; if (_arg1.name == "move"){ if ((((((((((_arg2.name == "leftWall")) || ((_arg2.name == "rightWall")))) || ((_arg2.name == "protagonist")))) || ((_arg2.name == "bar")))) || ((_arg2.name == "tfloor")))){ Monster(_arg1.parentGroup).turnFace(false, _arg2.px); }; }; } static function clamp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ if (_arg1 > _arg3){ return (_arg3); }; if (_arg1 < _arg2){ return (_arg2); }; return (_arg1); } } }//package org.cove.ape
Section 53
//Composite (org.cove.ape.Composite) package org.cove.ape { public class Composite extends AbstractCollection { private var delta:Vector; public function Composite(){ delta = new Vector(); } private function getRelativeAngle(_arg1:Vector, _arg2:Vector):Number{ delta.setTo((_arg2.x - _arg1.x), (_arg2.y - _arg1.y)); return (Math.atan2(delta.y, delta.x)); } public function rotateByRadian(_arg1:Number, _arg2:Vector):void{ var _local3:AbstractParticle; var _local4:Array; var _local5:int; var _local6:int; var _local7:Number; var _local8:Number; _local4 = particles; _local5 = _local4.length; _local6 = 0; while (_local6 < _local5) { _local3 = _local4[_local6]; _local7 = _local3.center.distance(_arg2); _local8 = (getRelativeAngle(_arg2, _local3.center) + _arg1); _local3.px = ((Math.cos(_local8) * _local7) + _arg2.x); _local3.py = ((Math.sin(_local8) * _local7) + _arg2.y); _local6++; }; } public function rotateByAngle(_arg1:Number, _arg2:Vector):void{ var _local3:Number; _local3 = (_arg1 * MathUtil.PI_OVER_ONE_EIGHTY); rotateByRadian(_local3, _arg2); } public function set fixed(_arg1:Boolean):void{ var _local2:int; _local2 = 0; while (_local2 < particles.length) { particles[_local2].fixed = _arg1; _local2++; }; } public function get fixed():Boolean{ var _local1:int; _local1 = 0; while (_local1 < particles.length) { if (!particles[_local1].fixed){ return (false); }; _local1++; }; return (true); } } }//package org.cove.ape
Section 54
//Group (org.cove.ape.Group) package org.cove.ape { public class Group extends AbstractCollection { private var _collideInternal:Boolean; private var _composites:Array; private var _collisionList:Array; public function Group(_arg1:Boolean=false){ _composites = new Array(); _collisionList = new Array(); this.collideInternal = _arg1; } function checkCollisions():void{ var _local1:int; var _local2:int; var _local3:Group; if (collideInternal){ checkCollisionGroupInternal(); }; _local1 = collisionList.length; _local2 = 0; while (_local2 < _local1) { _local3 = collisionList[_local2]; checkCollisionVsGroup(_local3); _local2++; }; } public function get composites():Array{ return (_composites); } override public function init():void{ var _local1:int; super.init(); _local1 = 0; while (_local1 < composites.length) { composites[_local1].init(); _local1++; }; } public function removeCollidable(_arg1:Group):void{ var _local2:int; _local2 = collisionList.indexOf(_arg1); if (_local2 == -1){ return; }; collisionList.splice(_local2, 1); } private function checkCollisionVsGroup(_arg1:Group):void{ var _local2:int; var _local3:int; var _local4:int; var _local5:Composite; var _local6:int; var _local7:Composite; checkCollisionsVsCollection(_arg1); _local2 = _composites.length; _local3 = _arg1.composites.length; _local4 = 0; while (_local4 < _local2) { _local5 = _composites[_local4]; _local5.checkCollisionsVsCollection(_arg1); _local6 = 0; while (_local6 < _local3) { _local7 = _arg1.composites[_local6]; _local5.checkCollisionsVsCollection(_local7); _local6++; }; _local4++; }; _local6 = 0; while (_local6 < _local3) { _local7 = _arg1.composites[_local6]; checkCollisionsVsCollection(_local7); _local6++; }; } override function satisfyConstraints():void{ var _local1:int; var _local2:int; var _local3:Composite; super.satisfyConstraints(); _local1 = _composites.length; _local2 = 0; while (_local2 < _local1) { _local3 = _composites[_local2]; _local3.satisfyConstraints(); _local2++; }; } public function get collideInternal():Boolean{ return (_collideInternal); } public function addCollidableList(_arg1:Array):void{ var _local2:int; var _local3:Group; _local2 = 0; while (_local2 < _arg1.length) { _local3 = _arg1[_local2]; collisionList.push(_local3); _local2++; }; } public function removeComposite(_arg1:Composite):void{ var _local2:int; _local2 = composites.indexOf(_arg1); if (_local2 == -1){ return; }; composites.splice(_local2, 1); _arg1.isParented = false; _arg1.cleanup(); } override public function cleanup():void{ var _local1:int; super.cleanup(); _local1 = 0; while (_local1 < composites.length) { composites[_local1].cleanup(); _local1++; }; } override public function paint():void{ var _local1:int; var _local2:int; var _local3:Composite; super.paint(); _local1 = _composites.length; _local2 = 0; while (_local2 < _local1) { _local3 = _composites[_local2]; _local3.paint(); _local2++; }; } public function addCollidable(_arg1:Group):void{ collisionList.push(_arg1); } override public function getAll():Array{ return (particles.concat(constraints).concat(composites)); } public function get collisionList():Array{ return (_collisionList); } override function integrate(_arg1:Number):void{ var _local2:int; var _local3:int; var _local4:Composite; super.integrate(_arg1); _local2 = _composites.length; _local3 = 0; while (_local3 < _local2) { _local4 = _composites[_local3]; _local4.integrate(_arg1); _local3++; }; } public function addComposite(_arg1:Composite):void{ composites.push(_arg1); _arg1.isParented = true; if (isParented){ _arg1.init(); }; } private function checkCollisionGroupInternal():void{ var _local1:int; var _local2:int; var _local3:Composite; var _local4:int; var _local5:Composite; checkInternalCollisions(); _local1 = _composites.length; _local2 = 0; while (_local2 < _local1) { _local3 = _composites[_local2]; _local3.checkCollisionsVsCollection(this); _local4 = (_local2 + 1); while (_local4 < _local1) { _local5 = _composites[_local4]; _local3.checkCollisionsVsCollection(_local5); _local4++; }; _local2++; }; } public function set collideInternal(_arg1:Boolean):void{ _collideInternal = _arg1; } } }//package org.cove.ape
Section 55
//Interval (org.cove.ape.Interval) package org.cove.ape { final class Interval { var min:Number; var max:Number; function Interval(_arg1:Number, _arg2:Number){ this.min = _arg1; this.max = _arg2; } function toString():String{ return (((min + " : ") + max)); } } }//package org.cove.ape
Section 56
//MathUtil (org.cove.ape.MathUtil) package org.cove.ape { final class MathUtil { static var ONE_EIGHTY_OVER_PI:Number = 57.2957795130823; static var PI_OVER_ONE_EIGHTY:Number = 0.0174532925199433; static function clamp(_arg1:Number, _arg2:Number, _arg3:Number):Number{ if (_arg1 < _arg2){ return (_arg2); }; if (_arg1 > _arg3){ return (_arg3); }; return (_arg1); } static function sign(_arg1:Number):int{ if (_arg1 < 0){ return (-1); }; return (1); } } }//package org.cove.ape
Section 57
//RectangleParticle (org.cove.ape.RectangleParticle) package org.cove.ape { public class RectangleParticle extends AbstractParticle { private var _axes:Array; private var _radian:Number; private var _extents:Array; public function RectangleParticle(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number=0, _arg6:Boolean=false, _arg7:Number=1, _arg8:Number=0.3, _arg9:Number=0){ super(_arg1, _arg2, _arg6, _arg7, _arg8, _arg9); _extents = new Array((_arg3 / 2), (_arg4 / 2)); _axes = new Array(new Vector(0, 0), new Vector(0, 0)); radian = _arg5; } override public function init():void{ var _local1:Number; var _local2:Number; cleanup(); if (displayObject != null){ initDisplay(); } else { _local1 = (extents[0] * 2); _local2 = (extents[1] * 2); sprite.graphics.clear(); sprite.graphics.lineStyle(lineThickness, lineColor, lineAlpha); sprite.graphics.beginFill(fillColor, fillAlpha); sprite.graphics.drawRect((-(_local1) / 2), (-(_local2) / 2), _local1, _local2); sprite.graphics.endFill(); }; paint(); } public function set width(_arg1:Number):void{ _extents[0] = (_arg1 / 2); } function get axes():Array{ return (_axes); } public function get height():Number{ return ((_extents[1] * 2)); } function get extents():Array{ return (_extents); } public function set angle(_arg1:Number):void{ radian = (_arg1 * MathUtil.PI_OVER_ONE_EIGHTY); } private function setAxes(_arg1:Number):void{ var _local2:Number; var _local3:Number; _local2 = Math.sin(_arg1); _local3 = Math.cos(_arg1); axes[0].x = _local3; axes[0].y = _local2; axes[1].x = -(_local2); axes[1].y = _local3; } public function get radian():Number{ return (_radian); } public function get width():Number{ return ((_extents[0] * 2)); } public function set height(_arg1:Number):void{ _extents[1] = (_arg1 / 2); } public function get angle():Number{ return ((radian * MathUtil.ONE_EIGHTY_OVER_PI)); } function getProjection(_arg1:Vector):Interval{ var _local2:Number; var _local3:Number; _local2 = ((extents[0] * Math.abs(_arg1.dot(axes[0]))) + (extents[1] * Math.abs(_arg1.dot(axes[1])))); _local3 = samp.dot(_arg1); interval.min = (_local3 - _local2); interval.max = (_local3 + _local2); return (interval); } public function set radian(_arg1:Number):void{ _radian = _arg1; setAxes(_arg1); } override public function paint():void{ sprite.x = curr.x; sprite.y = curr.y; sprite.rotation = angle; } } }//package org.cove.ape
Section 58
//SpringConstraint (org.cove.ape.SpringConstraint) package org.cove.ape { import flash.display.*; public class SpringConstraint extends AbstractConstraint { private var _collidable:Boolean; private var _restLength:Number; private var p1:AbstractParticle; private var p2:AbstractParticle; private var _scp:SpringConstraintParticle; public function SpringConstraint(_arg1:AbstractParticle, _arg2:AbstractParticle, _arg3:Number=0.5, _arg4:Boolean=false, _arg5:Number=1, _arg6:Number=1, _arg7:Boolean=false){ super(_arg3); this.p1 = _arg1; this.p2 = _arg2; checkParticlesLocation(); _restLength = currLength; setCollidable(_arg4, _arg5, _arg6, _arg7); } public function set rectScale(_arg1:Number):void{ if (scp == null){ return; }; scp.rectScale = _arg1; } override public function init():void{ cleanup(); if (collidable){ scp.init(); } else { if (displayObject != null){ initDisplay(); }; }; paint(); } function initDisplay():void{ if (collidable){ scp.initDisplay(); } else { displayObject.x = displayObjectOffset.x; displayObject.y = displayObjectOffset.y; displayObject.rotation = displayObjectRotation; sprite.addChild(displayObject); }; } private function checkParticlesLocation():void{ if ((((p1.curr.x == p2.curr.x)) && ((p1.curr.y == p2.curr.y)))){ p2.curr.x = (p2.curr.x + 0.0001); }; } public function get radian():Number{ var _local1:Vector; _local1 = delta; return (Math.atan2(_local1.y, _local1.x)); } function get scp():SpringConstraintParticle{ return (_scp); } public function get rectHeight():Number{ return (scp.rectHeight); } public function setDisplay(_arg1:DisplayObject, _arg2:Number=0, _arg3:Number=0, _arg4:Number=0):void{ if (collidable){ scp.setDisplay(_arg1, _arg2, _arg3, _arg4); } else { displayObject = _arg1; displayObjectRotation = _arg4; displayObjectOffset = new Vector(_arg2, _arg3); }; } public function set restLength(_arg1:Number):void{ if (_arg1 <= 0){ throw (new ArgumentError("restLength must be greater than 0")); }; _restLength = _arg1; } public function get currLength():Number{ return (p1.curr.distance(p2.curr)); } public function get fixedEndLimit():Number{ return (scp.fixedEndLimit); } public function get rectScale():Number{ return (scp.rectScale); } function get delta():Vector{ return (p1.curr.minus(p2.curr)); } public function get angle():Number{ return ((radian * MathUtil.ONE_EIGHTY_OVER_PI)); } public function get center():Vector{ return (p1.curr.plus(p2.curr).divEquals(2)); } public function set rectHeight(_arg1:Number):void{ if (scp == null){ return; }; scp.rectHeight = _arg1; } public function get restLength():Number{ return (_restLength); } override public function paint():void{ var _local1:Vector; if (collidable){ scp.paint(); } else { if (displayObject != null){ _local1 = center; sprite.x = _local1.x; sprite.y = _local1.y; sprite.rotation = angle; } else { sprite.graphics.clear(); sprite.graphics.lineStyle(lineThickness, lineColor, lineAlpha); sprite.graphics.moveTo(p1.px, p1.py); sprite.graphics.lineTo(p2.px, p2.py); }; }; } public function setCollidable(_arg1:Boolean, _arg2:Number, _arg3:Number, _arg4:Boolean=false):void{ _collidable = _arg1; _scp = null; if (_collidable){ _scp = new SpringConstraintParticle(p1, p2, this, _arg2, _arg3, _arg4); }; } public function get collidable():Boolean{ return (_collidable); } public function isConnectedTo(_arg1:AbstractParticle):Boolean{ return ((((_arg1 == p1)) || ((_arg1 == p2)))); } override function resolve():void{ var _local1:Number; var _local2:Number; var _local3:Vector; if (((p1.fixed) && (p2.fixed))){ return; }; _local1 = currLength; _local2 = ((_local1 - restLength) / (_local1 * (p1.invMass + p2.invMass))); _local3 = delta.mult((_local2 * stiffness)); p1.curr.minusEquals(_local3.mult(p1.invMass)); p2.curr.plusEquals(_local3.mult(p2.invMass)); } public function get fixed():Boolean{ return (((p1.fixed) && (p2.fixed))); } public function set fixedEndLimit(_arg1:Number):void{ if (scp == null){ return; }; scp.fixedEndLimit = _arg1; } } }//package org.cove.ape
Section 59
//SpringConstraintParticle (org.cove.ape.SpringConstraintParticle) package org.cove.ape { import flash.display.*; import org.cove.ape.*; class SpringConstraintParticle extends RectangleParticle { private var _fixedEndLimit:Number; private var _rectScale:Number; private var rca:Vector; private var rcb:Vector; private var s:Number; private var parent:SpringConstraint; private var scaleToLength:Boolean; private var p1:AbstractParticle; private var p2:AbstractParticle; private var lambda:Vector; private var avgVelocity:Vector; private var _rectHeight:Number; function SpringConstraintParticle(_arg1:AbstractParticle, _arg2:AbstractParticle, _arg3:SpringConstraint, _arg4:Number, _arg5:Number, _arg6:Boolean){ super(0, 0, 0, 0, 0, false); this.p1 = _arg1; this.p2 = _arg2; lambda = new Vector(0, 0); avgVelocity = new Vector(0, 0); parent = _arg3; this.rectScale = _arg5; this.rectHeight = _arg4; this.scaleToLength = _arg6; fixedEndLimit = 0; rca = new Vector(); rcb = new Vector(); } private function setCorners(_arg1:RectangleParticle, _arg2:int):void{ var _local3:Number; var _local4:Number; var _local5:Array; var _local6:Array; var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; _local3 = _arg1.curr.x; _local4 = _arg1.curr.y; _local5 = _arg1.axes; _local6 = _arg1.extents; _local7 = (_local5[0].x * _local6[0]); _local8 = (_local5[0].y * _local6[0]); _local9 = (_local5[1].x * _local6[1]); _local10 = (_local5[1].y * _local6[1]); _local11 = (_local7 - _local9); _local12 = (_local8 - _local10); _local13 = (_local7 + _local9); _local14 = (_local8 + _local10); if (_arg2 == 0){ rca.x = (_local3 - _local13); rca.y = (_local4 - _local14); rcb.x = (_local3 + _local11); rcb.y = (_local4 + _local12); } else { if (_arg2 == 1){ rca.x = (_local3 + _local11); rca.y = (_local4 + _local12); rcb.x = (_local3 + _local13); rcb.y = (_local4 + _local14); } else { if (_arg2 == 2){ rca.x = (_local3 + _local13); rca.y = (_local4 + _local14); rcb.x = (_local3 - _local11); rcb.y = (_local4 - _local12); } else { if (_arg2 == 3){ rca.x = (_local3 - _local11); rca.y = (_local4 - _local12); rcb.x = (_local3 - _local13); rcb.y = (_local4 - _local14); }; }; }; }; } override public function init():void{ var _local1:Sprite; var _local2:Number; var _local3:Number; if (displayObject != null){ initDisplay(); } else { _local1 = new Sprite(); parent.sprite.addChild(_local1); _local1.name = "inner"; _local2 = (parent.currLength * rectScale); _local3 = rectHeight; _local1.graphics.clear(); _local1.graphics.lineStyle(parent.lineThickness, parent.lineColor, parent.lineAlpha); _local1.graphics.beginFill(parent.fillColor, parent.fillAlpha); _local1.graphics.drawRect((-(_local2) / 2), (-(_local3) / 2), _local2, _local3); _local1.graphics.endFill(); }; paint(); } function updatePosition():void{ var _local1:Vector; _local1 = parent.center; curr.setTo(_local1.x, _local1.y); width = (scaleToLength) ? (parent.currLength * rectScale) : (parent.restLength * rectScale); height = rectHeight; radian = parent.radian; } private function closestPtSegmentSegment():Number{ var _local1:Vector; var _local2:Vector; var _local3:Vector; var _local4:Vector; var _local5:Vector; var _local6:Vector; var _local7:Vector; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:Number; var _local12:Number; var _local13:Number; var _local14:Number; var _local15:Vector; var _local16:Vector; var _local17:Vector; _local1 = p1.curr; _local2 = p2.curr; _local3 = rca; _local4 = rcb; _local5 = _local2.minus(_local1); _local6 = _local4.minus(_local3); _local7 = _local1.minus(_local3); _local9 = _local5.dot(_local5); _local10 = _local6.dot(_local6); _local11 = _local6.dot(_local7); _local12 = _local5.dot(_local7); _local13 = _local5.dot(_local6); _local14 = ((_local9 * _local10) - (_local13 * _local13)); if (_local14 != 0){ s = MathUtil.clamp((((_local13 * _local11) - (_local12 * _local10)) / _local14), 0, 1); } else { s = 0.5; }; _local8 = (((_local13 * s) + _local11) / _local10); if (_local8 < 0){ _local8 = 0; s = MathUtil.clamp((-(_local12) / _local9), 0, 1); } else { if (_local8 > 0){ _local8 = 1; s = MathUtil.clamp(((_local13 - _local12) / _local9), 0, 1); }; }; _local15 = _local1.plus(_local5.mult(s)); _local16 = _local3.plus(_local6.mult(_local8)); _local17 = _local15.minus(_local16); return (_local15.minus(_local16).dot(_local17)); } function get rectHeight():Number{ return (_rectHeight); } function get fixedEndLimit():Number{ return (_fixedEndLimit); } private function closestParamPoint(_arg1:Vector):Number{ var _local2:Vector; var _local3:Number; _local2 = p2.curr.minus(p1.curr); _local3 = (_local2.dot(_arg1.minus(p1.curr)) / _local2.dot(_local2)); return (MathUtil.clamp(_local3, 0, 1)); } function set rectHeight(_arg1:Number):void{ _rectHeight = _arg1; } override public function paint():void{ var _local1:Vector; var _local2:Sprite; _local1 = parent.center; _local2 = parent.sprite; if (scaleToLength){ _local2.getChildByName("inner").width = (parent.currLength * rectScale); } else { if (displayObject != null){ _local2.getChildByName("inner").width = (parent.restLength * rectScale); }; }; _local2.x = _local1.x; _local2.y = _local1.y; _local2.rotation = parent.angle; } private function getContactPointParam(_arg1:AbstractParticle):Number{ var _local2:Number; var _local3:Number; var _local4:Array; var _local5:Number; var _local6:int; var _local7:Number; if ((_arg1 is CircleParticle)){ _local2 = closestParamPoint(_arg1.curr); } else { if ((_arg1 is RectangleParticle)){ _local4 = new Array(4); _local5 = Number.POSITIVE_INFINITY; _local6 = 0; while (_local6 < 4) { setCorners((_arg1 as RectangleParticle), _local6); _local7 = closestPtSegmentSegment(); if (_local7 < _local5){ _local5 = _local7; _local3 = _local6; _local4[_local6] = s; }; _local6++; }; _local2 = _local4[_local3]; }; }; return (_local2); } function set fixedEndLimit(_arg1:Number):void{ _fixedEndLimit = _arg1; } override function get invMass():Number{ if (((p1.fixed) && (p2.fixed))){ return (0); }; return ((1 / ((p1.mass + p2.mass) / 2))); } override function initDisplay():void{ var _local1:Sprite; displayObject.x = displayObjectOffset.x; displayObject.y = displayObjectOffset.y; displayObject.rotation = displayObjectRotation; _local1 = new Sprite(); _local1.name = "inner"; _local1.addChild(displayObject); parent.sprite.addChild(_local1); } function set rectScale(_arg1:Number):void{ _rectScale = _arg1; } override function resolveCollision(_arg1:Vector, _arg2:Vector, _arg3:Vector, _arg4:Number, _arg5:int, _arg6:AbstractParticle):void{ var _local7:Number; var _local8:Number; var _local9:Number; var _local10:Number; var _local11:AbstractParticle; _local7 = getContactPointParam(_arg6); _local8 = (1 - _local7); _local9 = _local7; if (p1.fixed){ if (_local9 <= fixedEndLimit){ return; }; lambda.setTo((_arg1.x / _local9), (_arg1.y / _local9)); p2.curr.plusEquals(lambda); p2.velocity = _arg2; } else { if (p2.fixed){ if (_local8 <= fixedEndLimit){ return; }; lambda.setTo((_arg1.x / _local8), (_arg1.y / _local8)); p1.curr.plusEquals(lambda); p1.velocity = _arg2; } else { _local10 = ((_local8 * _local8) + (_local9 * _local9)); if (_local10 == 0){ return; }; lambda.setTo((_arg1.x / _local10), (_arg1.y / _local10)); p1.curr.plusEquals(lambda.mult(_local8)); p2.curr.plusEquals(lambda.mult(_local9)); if (_local7 == 0.5){ p1.velocity = _arg2; p2.velocity = _arg2; } else { _local11 = ((_local7)<0.5) ? p1 : p2; _local11.velocity = _arg2; }; }; }; } override public function get elasticity():Number{ return (((p1.elasticity + p2.elasticity) / 2)); } function get rectScale():Number{ return (_rectScale); } override public function get velocity():Vector{ var _local1:Vector; var _local2:Vector; _local1 = p1.velocity; _local2 = p2.velocity; avgVelocity.setTo(((_local1.x + _local2.x) / 2), ((_local1.y + _local2.y) / 2)); return (avgVelocity); } override public function get mass():Number{ return (((p1.mass + p2.mass) / 2)); } override public function get friction():Number{ return (((p1.friction + p2.friction) / 2)); } } }//package org.cove.ape
Section 60
//Vector (org.cove.ape.Vector) package org.cove.ape { public class Vector { public var x:Number; public var y:Number; public function Vector(_arg1:Number=0, _arg2:Number=0){ x = _arg1; y = _arg2; } public function cross(_arg1:Vector):Number{ return (((x * _arg1.y) - (y * _arg1.x))); } public function magnitude():Number{ return (Math.sqrt(((x * x) + (y * y)))); } public function divEquals(_arg1:Number):Vector{ if (_arg1 == 0){ _arg1 = 0.0001; }; x = (x / _arg1); y = (y / _arg1); return (this); } public function times(_arg1:Vector):Vector{ return (new Vector((x * _arg1.x), (y * _arg1.y))); } public function plusEquals(_arg1:Vector):Vector{ x = (x + _arg1.x); y = (y + _arg1.y); return (this); } public function dot(_arg1:Vector):Number{ return (((x * _arg1.x) + (y * _arg1.y))); } public function toString():String{ return (((x + " : ") + y)); } public function normalize():Vector{ var _local1:Number; _local1 = magnitude(); if (_local1 == 0){ _local1 = 0.0001; }; return (mult((1 / _local1))); } public function copy(_arg1:Vector):void{ x = _arg1.x; y = _arg1.y; } public function minusEquals(_arg1:Vector):Vector{ x = (x - _arg1.x); y = (y - _arg1.y); return (this); } public function minus(_arg1:Vector):Vector{ return (new Vector((x - _arg1.x), (y - _arg1.y))); } public function plus(_arg1:Vector):Vector{ return (new Vector((x + _arg1.x), (y + _arg1.y))); } public function distance(_arg1:Vector):Number{ var _local2:Vector; _local2 = this.minus(_arg1); return (_local2.magnitude()); } public function setTo(_arg1:Number, _arg2:Number):void{ x = _arg1; y = _arg2; } public function multEquals(_arg1:Number):Vector{ x = (x * _arg1); y = (y * _arg1); return (this); } public function mult(_arg1:Number):Vector{ return (new Vector((x * _arg1), (y * _arg1))); } } }//package org.cove.ape
Section 61
//AeronefMovieClip (AeronefMovieClip) package { import flash.display.*; public dynamic class AeronefMovieClip extends MovieClip { } }//package
Section 62
//btn_music (btn_music) package { import flash.media.*; public dynamic class btn_music extends Sound { } }//package
Section 63
//ChestMovieClip (ChestMovieClip) package { import flash.display.*; public dynamic class ChestMovieClip extends MovieClip { public function ChestMovieClip(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 64
//ChickMovieClip (ChickMovieClip) package { import flash.display.*; public dynamic class ChickMovieClip extends MovieClip { public function ChickMovieClip(){ addFrameScript(0, frame1, 23, frame24); } function frame1(){ stop(); } function frame24(){ gotoAndPlay("fly"); } } }//package
Section 65
//CompleteMovieClip (CompleteMovieClip) package { import handjoys.fly.*; public dynamic class CompleteMovieClip extends Complete { } }//package
Section 66
//Door (Door) package { import flash.display.*; import handjoys.fly.util.*; import handjoys.fly.*; public dynamic class Door extends MovieClip { public function Door(){ addFrameScript(30, frame31, 54, frame55); } function frame31(){ Main(Cache._main).success(); stop(); } function frame55(){ Main(Cache._main).success(); stop(); } } }//package
Section 67
//Failure (Failure) package { import flash.display.*; public dynamic class Failure extends MovieClip { } }//package
Section 68
//fart1_music (fart1_music) package { import flash.media.*; public dynamic class fart1_music extends Sound { } }//package
Section 69
//fart2_music (fart2_music) package { import flash.media.*; public dynamic class fart2_music extends Sound { } }//package
Section 70
//fart3_music (fart3_music) package { import flash.media.*; public dynamic class fart3_music extends Sound { } }//package
Section 71
//FlingAeronefMovieClip (FlingAeronefMovieClip) package { import flash.display.*; public dynamic class FlingAeronefMovieClip extends MovieClip { public function FlingAeronefMovieClip(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 72
//Fog (Fog) package { import flash.display.*; public dynamic class Fog extends MovieClip { public function Fog(){ addFrameScript(14, frame15); } function frame15(){ if (this.parent != null){ this.parent.removeChild(this); }; } } }//package
Section 73
//fogaudio (fogaudio) package { import flash.media.*; public dynamic class fogaudio extends Sound { } }//package
Section 74
//game_sound (game_sound) package { import flash.media.*; public dynamic class game_sound extends Sound { } }//package
Section 75
//getLife_music (getLife_music) package { import flash.media.*; public dynamic class getLife_music extends Sound { } }//package
Section 76
//HelpMovieClip (HelpMovieClip) package { import handjoys.fly.*; public dynamic class HelpMovieClip extends Help { } }//package
Section 77
//hert_music (hert_music) package { import flash.media.*; public dynamic class hert_music extends Sound { } }//package
Section 78
//LifeMovieClip (LifeMovieClip) package { import flash.display.*; public dynamic class LifeMovieClip extends MovieClip { } }//package
Section 79
//LifeMovieClip1 (LifeMovieClip1) package { import flash.display.*; public dynamic class LifeMovieClip1 extends MovieClip { } }//package
Section 80
//loading (loading) package { import flash.display.*; public dynamic class loading extends MovieClip { public var prel:MovieClip; public var mcTaglines:MovieClip; public var fog:MovieClip; } }//package
Section 81
//main (main) package { import flash.display.*; public dynamic class main extends MovieClip { } }//package
Section 82
//man (man) package { import flash.display.*; import handjoys.fly.util.*; public dynamic class man extends MovieClip { public function man(){ addFrameScript(0, frame1, 14, frame15, 27, frame28, 36, frame37, 52, frame53, 69, frame70); } function frame70(){ Cache._protagonist.lostLife(); stop(); } function frame15(){ gotoAndPlay("walk"); } function frame1(){ stop(); } function frame37(){ stop(); } function frame28(){ stop(); } function frame53(){ gotoAndStop("stand"); } } }//package
Section 83
//MenuMovieClip (MenuMovieClip) package { import handjoys.fly.*; public dynamic class MenuMovieClip extends Menu { } }//package
Section 84
//MenuPage (MenuPage) package { import handjoys.fly.*; public dynamic class MenuPage extends MenuPage { } }//package
Section 85
//Pass (Pass) package { import flash.display.*; public dynamic class Pass extends MovieClip { } }//package
Section 86
//pass_music (pass_music) package { import flash.media.*; public dynamic class pass_music extends Sound { } }//package
Section 87
//PauseMC (PauseMC) package { import flash.display.*; public dynamic class PauseMC extends MovieClip { } }//package
Section 88
//PigMovieClip (PigMovieClip) package { import flash.display.*; public dynamic class PigMovieClip extends MovieClip { } }//package
Section 89
//RadishMovieClip (RadishMovieClip) package { import flash.display.*; public dynamic class RadishMovieClip extends MovieClip { } }//package
Section 90
//Sence1 (Sence1) package { import flash.display.*; public dynamic class Sence1 extends MovieClip { } }//package
Section 91
//Sence10 (Sence10) package { import flash.display.*; public dynamic class Sence10 extends MovieClip { } }//package
Section 92
//Sence11 (Sence11) package { import flash.display.*; public dynamic class Sence11 extends MovieClip { } }//package
Section 93
//Sence12 (Sence12) package { import flash.display.*; public dynamic class Sence12 extends MovieClip { } }//package
Section 94
//Sence13 (Sence13) package { import flash.display.*; public dynamic class Sence13 extends MovieClip { } }//package
Section 95
//Sence14 (Sence14) package { import flash.display.*; public dynamic class Sence14 extends MovieClip { } }//package
Section 96
//Sence15 (Sence15) package { import flash.display.*; public dynamic class Sence15 extends MovieClip { } }//package
Section 97
//Sence16 (Sence16) package { import flash.display.*; public dynamic class Sence16 extends MovieClip { } }//package
Section 98
//Sence17 (Sence17) package { import flash.display.*; public dynamic class Sence17 extends MovieClip { } }//package
Section 99
//Sence18 (Sence18) package { import flash.display.*; public dynamic class Sence18 extends MovieClip { } }//package
Section 100
//Sence19 (Sence19) package { import flash.display.*; public dynamic class Sence19 extends MovieClip { } }//package
Section 101
//Sence2 (Sence2) package { import flash.display.*; public dynamic class Sence2 extends MovieClip { } }//package
Section 102
//Sence20 (Sence20) package { import flash.display.*; public dynamic class Sence20 extends MovieClip { } }//package
Section 103
//Sence21 (Sence21) package { import flash.display.*; public dynamic class Sence21 extends MovieClip { } }//package
Section 104
//Sence22 (Sence22) package { import flash.display.*; public dynamic class Sence22 extends MovieClip { } }//package
Section 105
//Sence23 (Sence23) package { import flash.display.*; public dynamic class Sence23 extends MovieClip { } }//package
Section 106
//Sence24 (Sence24) package { import flash.display.*; public dynamic class Sence24 extends MovieClip { } }//package
Section 107
//Sence25 (Sence25) package { import flash.display.*; public dynamic class Sence25 extends MovieClip { } }//package
Section 108
//Sence26 (Sence26) package { import flash.display.*; public dynamic class Sence26 extends MovieClip { } }//package
Section 109
//Sence27 (Sence27) package { import flash.display.*; public dynamic class Sence27 extends MovieClip { } }//package
Section 110
//Sence28 (Sence28) package { import flash.display.*; public dynamic class Sence28 extends MovieClip { } }//package
Section 111
//Sence29 (Sence29) package { import flash.display.*; public dynamic class Sence29 extends MovieClip { } }//package
Section 112
//Sence3 (Sence3) package { import flash.display.*; public dynamic class Sence3 extends MovieClip { } }//package
Section 113
//Sence30 (Sence30) package { import flash.display.*; public dynamic class Sence30 extends MovieClip { } }//package
Section 114
//Sence31 (Sence31) package { import flash.display.*; public dynamic class Sence31 extends MovieClip { } }//package
Section 115
//Sence32 (Sence32) package { import flash.display.*; public dynamic class Sence32 extends MovieClip { } }//package
Section 116
//Sence33 (Sence33) package { import flash.display.*; public dynamic class Sence33 extends MovieClip { } }//package
Section 117
//Sence34 (Sence34) package { import flash.display.*; public dynamic class Sence34 extends MovieClip { } }//package
Section 118
//Sence35 (Sence35) package { import flash.display.*; public dynamic class Sence35 extends MovieClip { } }//package
Section 119
//Sence36 (Sence36) package { import flash.display.*; public dynamic class Sence36 extends MovieClip { } }//package
Section 120
//Sence37 (Sence37) package { import flash.display.*; public dynamic class Sence37 extends MovieClip { } }//package
Section 121
//Sence38 (Sence38) package { import flash.display.*; public dynamic class Sence38 extends MovieClip { } }//package
Section 122
//Sence39 (Sence39) package { import flash.display.*; public dynamic class Sence39 extends MovieClip { } }//package
Section 123
//Sence4 (Sence4) package { import flash.display.*; public dynamic class Sence4 extends MovieClip { } }//package
Section 124
//Sence40 (Sence40) package { import flash.display.*; public dynamic class Sence40 extends MovieClip { } }//package
Section 125
//Sence41 (Sence41) package { import flash.display.*; public dynamic class Sence41 extends MovieClip { } }//package
Section 126
//Sence42 (Sence42) package { import flash.display.*; public dynamic class Sence42 extends MovieClip { } }//package
Section 127
//Sence43 (Sence43) package { import flash.display.*; public dynamic class Sence43 extends MovieClip { } }//package
Section 128
//Sence44 (Sence44) package { import flash.display.*; public dynamic class Sence44 extends MovieClip { } }//package
Section 129
//Sence45 (Sence45) package { import flash.display.*; public dynamic class Sence45 extends MovieClip { } }//package
Section 130
//Sence46 (Sence46) package { import flash.display.*; public dynamic class Sence46 extends MovieClip { } }//package
Section 131
//Sence47 (Sence47) package { import flash.display.*; public dynamic class Sence47 extends MovieClip { } }//package
Section 132
//Sence48 (Sence48) package { import flash.display.*; public dynamic class Sence48 extends MovieClip { } }//package
Section 133
//Sence49 (Sence49) package { import flash.display.*; public dynamic class Sence49 extends MovieClip { } }//package
Section 134
//Sence5 (Sence5) package { import flash.display.*; public dynamic class Sence5 extends MovieClip { } }//package
Section 135
//Sence50 (Sence50) package { import flash.display.*; public dynamic class Sence50 extends MovieClip { } }//package
Section 136
//Sence6 (Sence6) package { import flash.display.*; public dynamic class Sence6 extends MovieClip { } }//package
Section 137
//Sence7 (Sence7) package { import flash.display.*; public dynamic class Sence7 extends MovieClip { } }//package
Section 138
//Sence8 (Sence8) package { import flash.display.*; public dynamic class Sence8 extends MovieClip { } }//package
Section 139
//Sence9 (Sence9) package { import flash.display.*; public dynamic class Sence9 extends MovieClip { } }//package
Section 140
//SmallKookMovieClip (SmallKookMovieClip) package { import flash.display.*; public dynamic class SmallKookMovieClip extends MovieClip { } }//package
Section 141
//SnakeMovieClip (SnakeMovieClip) package { import flash.display.*; public dynamic class SnakeMovieClip extends MovieClip { } }//package
Section 142
//ss_music (ss_music) package { import flash.media.*; public dynamic class ss_music extends Sound { } }//package
Section 143
//StartGameMovieClip (StartGameMovieClip) package { import handjoys.fly.*; public dynamic class StartGameMovieClip extends StartGame { } }//package
Section 144
//step_music (step_music) package { import flash.media.*; public dynamic class step_music extends Sound { } }//package
Section 145
//StickTongueMovieClip (StickTongueMovieClip) package { import flash.display.*; public dynamic class StickTongueMovieClip extends MovieClip { public var head:MovieClip; public function StickTongueMovieClip(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 146
//Success (Success) package { import handjoys.fly.*; public dynamic class Success extends Success { } }//package
Section 147
//ToadMovieClip (ToadMovieClip) package { import flash.display.*; public dynamic class ToadMovieClip extends MovieClip { } }//package
Section 148
//Win (Win) package { import flash.display.*; public dynamic class Win extends MovieClip { } }//package

Library Items

Symbol 1 Sound {step_music}
Symbol 2 Sound {ss_music}
Symbol 3 Sound {pass_music}
Symbol 4 Sound {hert_music}
Symbol 5 Sound {getLife_music}
Symbol 6 Sound {game_sound}
Symbol 7 Sound {fart3_music}
Symbol 8 Sound {fart2_music}
Symbol 9 Sound {fart1_music}
Symbol 10 Sound {btn_music}
Symbol 11 FontUsed by:12 14 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 81 96 139
Symbol 12 TextUses:11Used by:13
Symbol 13 MovieClipUses:12Used by:72
Symbol 14 TextUses:11Used by:15
Symbol 15 MovieClipUses:14Used by:72
Symbol 16 EditableTextUses:11Used by:71
Symbol 17 EditableTextUses:11Used by:71
Symbol 18 EditableTextUses:11Used by:71
Symbol 19 EditableTextUses:11Used by:71
Symbol 20 EditableTextUses:11Used by:71
Symbol 21 EditableTextUses:11Used by:71
Symbol 22 EditableTextUses:11Used by:71
Symbol 23 EditableTextUses:11Used by:71
Symbol 24 EditableTextUses:11Used by:71
Symbol 25 EditableTextUses:11Used by:71
Symbol 26 EditableTextUses:11Used by:71
Symbol 27 EditableTextUses:11Used by:71
Symbol 28 EditableTextUses:11Used by:71
Symbol 29 EditableTextUses:11Used by:71
Symbol 30 EditableTextUses:11Used by:71
Symbol 31 EditableTextUses:11Used by:71
Symbol 32 EditableTextUses:11Used by:71
Symbol 33 EditableTextUses:11Used by:71
Symbol 34 EditableTextUses:11Used by:71
Symbol 35 EditableTextUses:11Used by:71
Symbol 36 EditableTextUses:11Used by:71
Symbol 37 EditableTextUses:11Used by:71
Symbol 38 EditableTextUses:11Used by:71
Symbol 39 EditableTextUses:11Used by:71
Symbol 40 EditableTextUses:11Used by:71
Symbol 41 EditableTextUses:11Used by:71
Symbol 42 EditableTextUses:11Used by:71
Symbol 43 EditableTextUses:11Used by:71
Symbol 44 EditableTextUses:11Used by:71
Symbol 45 EditableTextUses:11Used by:71
Symbol 46 EditableTextUses:11Used by:71
Symbol 47 EditableTextUses:11Used by:71
Symbol 48 EditableTextUses:11Used by:71
Symbol 49 EditableTextUses:11Used by:71
Symbol 50 EditableTextUses:11Used by:71
Symbol 51 EditableTextUses:11Used by:71
Symbol 52 EditableTextUses:11Used by:71
Symbol 53 EditableTextUses:11Used by:71
Symbol 54 EditableTextUses:11Used by:71
Symbol 55 EditableTextUses:11Used by:71
Symbol 56 EditableTextUses:11Used by:71
Symbol 57 EditableTextUses:11Used by:71
Symbol 58 EditableTextUses:11Used by:71
Symbol 59 EditableTextUses:11Used by:71
Symbol 60 EditableTextUses:11Used by:71
Symbol 61 EditableTextUses:11Used by:71
Symbol 62 EditableTextUses:11Used by:71
Symbol 63 EditableTextUses:11Used by:71
Symbol 64 EditableTextUses:11Used by:71
Symbol 65 EditableTextUses:11Used by:71
Symbol 66 EditableTextUses:11Used by:71
Symbol 67 EditableTextUses:11Used by:71
Symbol 68 EditableTextUses:11Used by:71
Symbol 69 EditableTextUses:11Used by:71
Symbol 70 EditableTextUses:11Used by:71
Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100}Uses:16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70Used by:72
Symbol 72 MovieClip {fartblaster_final_fla.mcTaglines_97}Uses:13 15 71Used by:73
Symbol 73 MovieClipUses:72Used by:140
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:135 140
Symbol 76 GraphicUsed by:140
Symbol 77 GraphicUsed by:83
Symbol 78 FontUsed by:79
Symbol 79 EditableTextUses:78Used by:83
Symbol 80 ShapeTweeningUsed by:83
Symbol 81 TextUses:11Used by:83
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClip {fartblaster_final_fla.prelMCxcopy_ovidiu2_102}Uses:77 79 80 81 82Used by:140
Symbol 84 GraphicUsed by:135
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:135
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:134 135
Symbol 89 GraphicUsed by:90
Symbol 90 ButtonUses:89Used by:135
Symbol 91 GraphicUsed by:135
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:134
Symbol 94 FontUsed by:95
Symbol 95 TextUses:94Used by:97
Symbol 96 TextUses:11Used by:97
Symbol 97 MovieClipUses:95 96Used by:134
Symbol 98 BitmapUsed by:99
Symbol 99 GraphicUses:98Used by:134
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:134
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:134
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:134
Symbol 106 BitmapUsed by:107
Symbol 107 GraphicUses:106Used by:134
Symbol 108 BitmapUsed by:109
Symbol 109 GraphicUses:108Used by:134
Symbol 110 BitmapUsed by:111
Symbol 111 GraphicUses:110Used by:134
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:134
Symbol 114 BitmapUsed by:115
Symbol 115 GraphicUses:114Used by:134
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:134
Symbol 118 BitmapUsed by:119
Symbol 119 GraphicUses:118Used by:134
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:134
Symbol 122 BitmapUsed by:123
Symbol 123 GraphicUses:122Used by:134
Symbol 124 BitmapUsed by:125
Symbol 125 GraphicUses:124Used by:134
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:134
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:134
Symbol 130 BitmapUsed by:131
Symbol 131 GraphicUses:130Used by:134
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:134
Symbol 134 MovieClip {fartblaster_final_fla.mcNewLogoSpin2_106}Uses:93 97 99 101 103 105 107 109 111 113 115 117 119 121 123 125 127 129 131 133 88Used by:135
Symbol 135 MovieClip {fartblaster_final_fla.fog_103}Uses:75 84 86 88 90 91 134Used by:140
Symbol 136 GraphicUsed by:140
Symbol 137 Sound {fogaudio}Used by:138
Symbol 138 MovieClip {fartblaster_final_fla.mcSounds_108}Uses:137Used by:140
Symbol 139 TextUses:11Used by:140
Symbol 140 MovieClip {loading}Uses:73 75 76 83 135 136 138 139
Symbol 141 GraphicUsed by:160
Symbol 142 GraphicUsed by:160
Symbol 143 GraphicUsed by:160
Symbol 144 GraphicUsed by:160
Symbol 145 GraphicUsed by:160
Symbol 146 GraphicUsed by:160
Symbol 147 GraphicUsed by:160
Symbol 148 GraphicUsed by:160
Symbol 149 GraphicUsed by:160
Symbol 150 GraphicUsed by:160
Symbol 151 GraphicUsed by:160
Symbol 152 GraphicUsed by:160
Symbol 153 GraphicUsed by:160
Symbol 154 GraphicUsed by:160
Symbol 155 GraphicUsed by:160
Symbol 156 GraphicUsed by:160
Symbol 157 GraphicUsed by:160
Symbol 158 GraphicUsed by:160
Symbol 159 GraphicUsed by:160
Symbol 160 MovieClip {Door}Uses:141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
Symbol 161 MovieClip {main}Used by:542
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClip {AeronefMovieClip}Uses:162Used by:542
Symbol 164 GraphicUsed by:167
Symbol 165 GraphicUsed by:167
Symbol 166 GraphicUsed by:167
Symbol 167 MovieClip {ChestMovieClip}Uses:164 165 166Used by:542
Symbol 168 GraphicUsed by:181
Symbol 169 GraphicUsed by:181
Symbol 170 GraphicUsed by:181
Symbol 171 GraphicUsed by:181
Symbol 172 GraphicUsed by:181
Symbol 173 GraphicUsed by:181
Symbol 174 GraphicUsed by:181
Symbol 175 GraphicUsed by:181
Symbol 176 GraphicUsed by:181
Symbol 177 GraphicUsed by:181
Symbol 178 GraphicUsed by:181
Symbol 179 GraphicUsed by:181
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClip {ChickMovieClip}Uses:168 169 170 171 172 173 174 175 176 177 178 179 180Used by:542
Symbol 182 GraphicUsed by:192
Symbol 183 GraphicUsed by:192
Symbol 184 GraphicUsed by:192
Symbol 185 GraphicUsed by:192
Symbol 186 GraphicUsed by:192
Symbol 187 GraphicUsed by:192
Symbol 188 GraphicUsed by:192
Symbol 189 GraphicUsed by:192
Symbol 190 GraphicUsed by:192
Symbol 191 GraphicUsed by:192
Symbol 192 MovieClip {FlingAeronefMovieClip}Uses:182 183 184 185 186 187 188 189 190 191Used by:542
Symbol 193 GraphicUsed by:201
Symbol 194 GraphicUsed by:201
Symbol 195 GraphicUsed by:201
Symbol 196 GraphicUsed by:201
Symbol 197 GraphicUsed by:201
Symbol 198 GraphicUsed by:201
Symbol 199 GraphicUsed by:201
Symbol 200 GraphicUsed by:201
Symbol 201 MovieClip {PigMovieClip}Uses:193 194 195 196 197 198 199 200Used by:542
Symbol 202 GraphicUsed by:210
Symbol 203 GraphicUsed by:210
Symbol 204 GraphicUsed by:210
Symbol 205 GraphicUsed by:210
Symbol 206 GraphicUsed by:210
Symbol 207 GraphicUsed by:210
Symbol 208 GraphicUsed by:210
Symbol 209 GraphicUsed by:210
Symbol 210 MovieClip {RadishMovieClip}Uses:202 203 204 205 206 207 208 209Used by:542
Symbol 211 GraphicUsed by:219
Symbol 212 GraphicUsed by:219
Symbol 213 GraphicUsed by:219
Symbol 214 GraphicUsed by:219
Symbol 215 GraphicUsed by:219
Symbol 216 GraphicUsed by:219
Symbol 217 GraphicUsed by:219
Symbol 218 GraphicUsed by:219
Symbol 219 MovieClip {SmallKookMovieClip}Uses:211 212 213 214 215 216 217 218Used by:542
Symbol 220 GraphicUsed by:224
Symbol 221 GraphicUsed by:224
Symbol 222 GraphicUsed by:224
Symbol 223 GraphicUsed by:224
Symbol 224 MovieClip {SnakeMovieClip}Uses:220 221 222 223Used by:542
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:231
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:231
Symbol 229 GraphicUsed by:231
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClip {StickTongueMovieClip}Uses:226 228 229 230Used by:542
Symbol 232 GraphicUsed by:240
Symbol 233 GraphicUsed by:240
Symbol 234 GraphicUsed by:240
Symbol 235 GraphicUsed by:240
Symbol 236 GraphicUsed by:240
Symbol 237 GraphicUsed by:240
Symbol 238 GraphicUsed by:240
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClip {ToadMovieClip}Uses:232 233 234 235 236 237 238 239Used by:542
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:241Used by:247
Symbol 243 FontUsed by:244 251 260
Symbol 244 TextUses:243Used by:247 448
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:247
Symbol 247 MovieClip {HelpMovieClip}Uses:242 244 246Used by:542
Symbol 248 BitmapUsed by:249
Symbol 249 GraphicUses:248Used by:274
Symbol 250 GraphicUsed by:252
Symbol 251 EditableTextUses:243Used by:252
Symbol 252 MovieClip {fartblaster_final_fla.life_18}Uses:250 251Used by:274
Symbol 253 GraphicUsed by:255
Symbol 254 GraphicUsed by:255
Symbol 255 ButtonUses:253 254Used by:274
Symbol 256 GraphicUsed by:258
Symbol 257 GraphicUsed by:258
Symbol 258 ButtonUses:256 257Used by:274
Symbol 259 GraphicUsed by:261
Symbol 260 EditableTextUses:243Used by:261
Symbol 261 MovieClip {fartblaster_final_fla.levelText_21}Uses:259 260Used by:274
Symbol 262 GraphicUsed by:265
Symbol 263 GraphicUsed by:265
Symbol 264 GraphicUsed by:265
Symbol 265 MovieClip {fartblaster_final_fla.life_22}Uses:262 263 264Used by:274
Symbol 266 GraphicUsed by:267
Symbol 267 MovieClipUses:266Used by:270 273
Symbol 268 GraphicUsed by:270
Symbol 269 GraphicUsed by:270
Symbol 270 MovieClip {fartblaster_final_fla.Timeline_23}Uses:267 268 269Used by:274 448
Symbol 271 GraphicUsed by:273
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClip {fartblaster_final_fla.Timeline_25}Uses:267 271 272Used by:274 448
Symbol 274 MovieClip {MenuMovieClip}Uses:249 252 255 258 261 265 270 273Used by:542
Symbol 275 GraphicUsed by:288
Symbol 276 GraphicUsed by:279
Symbol 277 GraphicUsed by:279
Symbol 278 GraphicUsed by:279
Symbol 279 ButtonUses:276 277 278Used by:288
Symbol 280 GraphicUsed by:283
Symbol 281 GraphicUsed by:283
Symbol 282 GraphicUsed by:283
Symbol 283 ButtonUses:280 281 282Used by:288
Symbol 284 GraphicUsed by:287
Symbol 285 GraphicUsed by:287
Symbol 286 GraphicUsed by:287
Symbol 287 ButtonUses:284 285 286Used by:288 541
Symbol 288 MovieClip {MenuPage}Uses:275 279 283 287Used by:542
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:289Used by:291
Symbol 291 MovieClip {Sence1}Uses:290Used by:542
Symbol 292 BitmapUsed by:293
Symbol 293 GraphicUses:292Used by:294
Symbol 294 MovieClip {Sence2}Uses:293Used by:542
Symbol 295 BitmapUsed by:296
Symbol 296 GraphicUses:295Used by:297
Symbol 297 MovieClip {Sence3}Uses:296Used by:542
Symbol 298 BitmapUsed by:299
Symbol 299 GraphicUses:298Used by:300
Symbol 300 MovieClip {Sence4}Uses:299Used by:542
Symbol 301 BitmapUsed by:302
Symbol 302 GraphicUses:301Used by:303
Symbol 303 MovieClip {Sence5}Uses:302Used by:542
Symbol 304 BitmapUsed by:305
Symbol 305 GraphicUses:304Used by:306
Symbol 306 MovieClip {Sence6}Uses:305Used by:542
Symbol 307 BitmapUsed by:308
Symbol 308 GraphicUses:307Used by:309
Symbol 309 MovieClip {Sence7}Uses:308Used by:542
Symbol 310 BitmapUsed by:311
Symbol 311 GraphicUses:310Used by:312
Symbol 312 MovieClip {Sence8}Uses:311Used by:542
Symbol 313 BitmapUsed by:314
Symbol 314 GraphicUses:313Used by:315
Symbol 315 MovieClip {Sence9}Uses:314Used by:542
Symbol 316 BitmapUsed by:317
Symbol 317 GraphicUses:316Used by:318
Symbol 318 MovieClip {Sence10}Uses:317Used by:542
Symbol 319 BitmapUsed by:320
Symbol 320 GraphicUses:319Used by:321
Symbol 321 MovieClip {Sence11}Uses:320Used by:542
Symbol 322 BitmapUsed by:323
Symbol 323 GraphicUses:322Used by:324
Symbol 324 MovieClip {Sence12}Uses:323Used by:542
Symbol 325 BitmapUsed by:326
Symbol 326 GraphicUses:325Used by:327
Symbol 327 MovieClip {Sence13}Uses:326Used by:542
Symbol 328 BitmapUsed by:329
Symbol 329 GraphicUses:328Used by:330
Symbol 330 MovieClip {Sence14}Uses:329Used by:542
Symbol 331 BitmapUsed by:332
Symbol 332 GraphicUses:331Used by:333
Symbol 333 MovieClip {Sence15}Uses:332Used by:542
Symbol 334 BitmapUsed by:335
Symbol 335 GraphicUses:334Used by:336
Symbol 336 MovieClip {Sence16}Uses:335Used by:542
Symbol 337 BitmapUsed by:338
Symbol 338 GraphicUses:337Used by:339
Symbol 339 MovieClip {Sence17}Uses:338Used by:542
Symbol 340 BitmapUsed by:341
Symbol 341 GraphicUses:340Used by:342
Symbol 342 MovieClip {Sence18}Uses:341Used by:542
Symbol 343 BitmapUsed by:344
Symbol 344 GraphicUses:343Used by:345
Symbol 345 MovieClip {Sence19}Uses:344Used by:542
Symbol 346 BitmapUsed by:347
Symbol 347 GraphicUses:346Used by:348
Symbol 348 MovieClip {Sence20}Uses:347Used by:542
Symbol 349 BitmapUsed by:350
Symbol 350 GraphicUses:349Used by:351
Symbol 351 MovieClip {Sence21}Uses:350Used by:542
Symbol 352 BitmapUsed by:353
Symbol 353 GraphicUses:352Used by:354
Symbol 354 MovieClip {Sence22}Uses:353Used by:542
Symbol 355 BitmapUsed by:356
Symbol 356 GraphicUses:355Used by:357
Symbol 357 MovieClip {Sence23}Uses:356Used by:542
Symbol 358 BitmapUsed by:359
Symbol 359 GraphicUses:358Used by:360
Symbol 360 MovieClip {Sence24}Uses:359Used by:542
Symbol 361 BitmapUsed by:362
Symbol 362 GraphicUses:361Used by:363
Symbol 363 MovieClip {Sence25}Uses:362Used by:542
Symbol 364 BitmapUsed by:365
Symbol 365 GraphicUses:364Used by:366
Symbol 366 MovieClip {Sence26}Uses:365Used by:542
Symbol 367 BitmapUsed by:368
Symbol 368 GraphicUses:367Used by:369
Symbol 369 MovieClip {Sence27}Uses:368Used by:542
Symbol 370 BitmapUsed by:371
Symbol 371 GraphicUses:370Used by:372
Symbol 372 MovieClip {Sence28}Uses:371Used by:542
Symbol 373 BitmapUsed by:374
Symbol 374 GraphicUses:373Used by:375
Symbol 375 MovieClip {Sence29}Uses:374Used by:542
Symbol 376 BitmapUsed by:377
Symbol 377 GraphicUses:376Used by:378
Symbol 378 MovieClip {Sence30}Uses:377Used by:542
Symbol 379 BitmapUsed by:380
Symbol 380 GraphicUses:379Used by:381
Symbol 381 MovieClip {Sence31}Uses:380Used by:542
Symbol 382 BitmapUsed by:383
Symbol 383 GraphicUses:382Used by:384
Symbol 384 MovieClip {Sence32}Uses:383Used by:542
Symbol 385 BitmapUsed by:386
Symbol 386 GraphicUses:385Used by:387
Symbol 387 MovieClip {Sence33}Uses:386Used by:542
Symbol 388 BitmapUsed by:389
Symbol 389 GraphicUses:388Used by:390
Symbol 390 MovieClip {Sence34}Uses:389Used by:542
Symbol 391 BitmapUsed by:392
Symbol 392 GraphicUses:391Used by:393
Symbol 393 MovieClip {Sence35}Uses:392Used by:542
Symbol 394 BitmapUsed by:395
Symbol 395 GraphicUses:394Used by:396
Symbol 396 MovieClip {Sence36}Uses:395Used by:542
Symbol 397 BitmapUsed by:398
Symbol 398 GraphicUses:397Used by:399
Symbol 399 MovieClip {Sence37}Uses:398Used by:542
Symbol 400 BitmapUsed by:401
Symbol 401 GraphicUses:400Used by:402
Symbol 402 MovieClip {Sence38}Uses:401Used by:542
Symbol 403 BitmapUsed by:404
Symbol 404 GraphicUses:403Used by:405
Symbol 405 MovieClip {Sence39}Uses:404Used by:542
Symbol 406 BitmapUsed by:407
Symbol 407 GraphicUses:406Used by:408
Symbol 408 MovieClip {Sence40}Uses:407Used by:542
Symbol 409 BitmapUsed by:410
Symbol 410 GraphicUses:409Used by:411
Symbol 411 MovieClip {Sence41}Uses:410Used by:542
Symbol 412 BitmapUsed by:413
Symbol 413 GraphicUses:412Used by:414
Symbol 414 MovieClip {Sence42}Uses:413Used by:542
Symbol 415 BitmapUsed by:416
Symbol 416 GraphicUses:415Used by:417
Symbol 417 MovieClip {Sence43}Uses:416Used by:542
Symbol 418 BitmapUsed by:419
Symbol 419 GraphicUses:418Used by:420
Symbol 420 MovieClip {Sence44}Uses:419Used by:542
Symbol 421 BitmapUsed by:422
Symbol 422 GraphicUses:421Used by:423
Symbol 423 MovieClip {Sence45}Uses:422Used by:542
Symbol 424 BitmapUsed by:425
Symbol 425 GraphicUses:424Used by:426
Symbol 426 MovieClip {Sence46}Uses:425Used by:542
Symbol 427 BitmapUsed by:428
Symbol 428 GraphicUses:427Used by:429
Symbol 429 MovieClip {Sence47}Uses:428Used by:542
Symbol 430 BitmapUsed by:431
Symbol 431 GraphicUses:430Used by:432
Symbol 432 MovieClip {Sence48}Uses:431Used by:542
Symbol 433 BitmapUsed by:434
Symbol 434 GraphicUses:433Used by:435
Symbol 435 MovieClip {Sence49}Uses:434Used by:542
Symbol 436 BitmapUsed by:437
Symbol 437 GraphicUses:436Used by:438
Symbol 438 MovieClip {Sence50}Uses:437Used by:542
Symbol 439 BitmapUsed by:440
Symbol 440 GraphicUses:439Used by:448
Symbol 441 FontUsed by:442 444 446
Symbol 442 TextUses:441Used by:443
Symbol 443 MovieClipUses:442Used by:448
Symbol 444 TextUses:441Used by:445
Symbol 445 MovieClipUses:444Used by:448
Symbol 446 TextUses:441Used by:447
Symbol 447 MovieClipUses:446Used by:448
Symbol 448 MovieClip {StartGameMovieClip}Uses:440 244 270 273 443 445 447Used by:542
Symbol 449 GraphicUsed by:451
Symbol 450 GraphicUsed by:451
Symbol 451 MovieClip {Fog}Uses:449 450Used by:542
Symbol 452 GraphicUsed by:476
Symbol 453 GraphicUsed by:476
Symbol 454 GraphicUsed by:476
Symbol 455 GraphicUsed by:476
Symbol 456 GraphicUsed by:476
Symbol 457 GraphicUsed by:476
Symbol 458 GraphicUsed by:476
Symbol 459 GraphicUsed by:476
Symbol 460 GraphicUsed by:476
Symbol 461 GraphicUsed by:476
Symbol 462 GraphicUsed by:476
Symbol 463 GraphicUsed by:476
Symbol 464 GraphicUsed by:476
Symbol 465 GraphicUsed by:476
Symbol 466 GraphicUsed by:476
Symbol 467 GraphicUsed by:476
Symbol 468 GraphicUsed by:476
Symbol 469 GraphicUsed by:476
Symbol 470 GraphicUsed by:476
Symbol 471 GraphicUsed by:476
Symbol 472 GraphicUsed by:476
Symbol 473 GraphicUsed by:476
Symbol 474 GraphicUsed by:476
Symbol 475 GraphicUsed by:476
Symbol 476 MovieClip {man}Uses:452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475Used by:542
Symbol 477 GraphicUsed by:478
Symbol 478 MovieClip {Success}Uses:477Used by:542
Symbol 479 GraphicUsed by:480
Symbol 480 MovieClip {Win}Uses:479Used by:542
Symbol 481 GraphicUsed by:482
Symbol 482 MovieClip {PauseMC}Uses:481Used by:542
Symbol 483 GraphicUsed by:533
Symbol 484 GraphicUsed by:533
Symbol 485 GraphicUsed by:533
Symbol 486 GraphicUsed by:533
Symbol 487 GraphicUsed by:533
Symbol 488 GraphicUsed by:533
Symbol 489 GraphicUsed by:533
Symbol 490 GraphicUsed by:533
Symbol 491 GraphicUsed by:533
Symbol 492 GraphicUsed by:533
Symbol 493 GraphicUsed by:533
Symbol 494 GraphicUsed by:533
Symbol 495 GraphicUsed by:533
Symbol 496 GraphicUsed by:533
Symbol 497 GraphicUsed by:533
Symbol 498 GraphicUsed by:533
Symbol 499 GraphicUsed by:533
Symbol 500 GraphicUsed by:533
Symbol 501 GraphicUsed by:533
Symbol 502 GraphicUsed by:533
Symbol 503 GraphicUsed by:533
Symbol 504 GraphicUsed by:533
Symbol 505 GraphicUsed by:533
Symbol 506 GraphicUsed by:533
Symbol 507 GraphicUsed by:533
Symbol 508 GraphicUsed by:533
Symbol 509 GraphicUsed by:533
Symbol 510 GraphicUsed by:533
Symbol 511 GraphicUsed by:533
Symbol 512 GraphicUsed by:533
Symbol 513 GraphicUsed by:533
Symbol 514 GraphicUsed by:533
Symbol 515 GraphicUsed by:533
Symbol 516 GraphicUsed by:533
Symbol 517 GraphicUsed by:533
Symbol 518 GraphicUsed by:533
Symbol 519 GraphicUsed by:533
Symbol 520 GraphicUsed by:533
Symbol 521 GraphicUsed by:533
Symbol 522 GraphicUsed by:533
Symbol 523 GraphicUsed by:533
Symbol 524 GraphicUsed by:533
Symbol 525 GraphicUsed by:533
Symbol 526 GraphicUsed by:533
Symbol 527 GraphicUsed by:533
Symbol 528 GraphicUsed by:533
Symbol 529 GraphicUsed by:533
Symbol 530 GraphicUsed by:533
Symbol 531 GraphicUsed by:533
Symbol 532 GraphicUsed by:533
Symbol 533 MovieClip {Pass}Uses:483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532Used by:542
Symbol 534 GraphicUsed by:535
Symbol 535 MovieClip {LifeMovieClip}Uses:534Used by:542
Symbol 536 GraphicUsed by:537
Symbol 537 MovieClip {LifeMovieClip1}Uses:536Used by:542
Symbol 538 GraphicUsed by:539
Symbol 539 MovieClip {Failure}Uses:538Used by:542
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClip {CompleteMovieClip}Uses:540 287Used by:542
Symbol 542 MovieClipUses:161 163 167 181 192 201 210 219 224 231 240 247 274 288 291 294 297 300 303 306 309 312 315 318 321 324 327 330 333 336 339 342 345 348 351 354 357 360 363 366 369 372 375 378 381 384 387 390 393 396 399 402 405 408 411 414 417 420 423 426 429 432 435 438 448 451 476 478 480 482 533 535 537 539 541Used by:Timeline

Instance Names

"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 1Symbol 16 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 2Symbol 17 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 3Symbol 18 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 4Symbol 19 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 5Symbol 20 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 6Symbol 21 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 7Symbol 22 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 8Symbol 23 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 9Symbol 24 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 10Symbol 25 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 11Symbol 26 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 12Symbol 27 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 13Symbol 28 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 14Symbol 29 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 15Symbol 30 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 16Symbol 31 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 17Symbol 32 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 18Symbol 33 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 19Symbol 34 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 20Symbol 35 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 21Symbol 36 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 22Symbol 37 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 23Symbol 38 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 24Symbol 39 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 25Symbol 40 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 26Symbol 41 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 27Symbol 42 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 28Symbol 43 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 29Symbol 44 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 30Symbol 45 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 31Symbol 46 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 32Symbol 47 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 33Symbol 48 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 34Symbol 49 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 35Symbol 50 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 36Symbol 51 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 37Symbol 52 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 38Symbol 53 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 39Symbol 54 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 40Symbol 55 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 41Symbol 56 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 42Symbol 57 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 43Symbol 58 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 44Symbol 59 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 45Symbol 60 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 46Symbol 61 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 47Symbol 62 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 48Symbol 63 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 49Symbol 64 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 50Symbol 65 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 51Symbol 66 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 52Symbol 67 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 53Symbol 68 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 54Symbol 69 EditableText
"randomtag"Symbol 71 MovieClip {fartblaster_final_fla.mcTag3_100} Frame 55Symbol 70 EditableText
"procent"Symbol 83 MovieClip {fartblaster_final_fla.prelMCxcopy_ovidiu2_102} Frame 1Symbol 79 EditableText
"mcNotice"Symbol 134 MovieClip {fartblaster_final_fla.mcNewLogoSpin2_106} Frame 1Symbol 97 MovieClip
"btnFoggy"Symbol 135 MovieClip {fartblaster_final_fla.fog_103} Frame 1Symbol 90 Button
"mcNewLogoSpin2"Symbol 135 MovieClip {fartblaster_final_fla.fog_103} Frame 71Symbol 134 MovieClip {fartblaster_final_fla.mcNewLogoSpin2_106}
"mcTaglines"Symbol 140 MovieClip {loading} Frame 1Symbol 73 MovieClip
"prel"Symbol 140 MovieClip {loading} Frame 1Symbol 83 MovieClip {fartblaster_final_fla.prelMCxcopy_ovidiu2_102}
"fog"Symbol 140 MovieClip {loading} Frame 2Symbol 135 MovieClip {fartblaster_final_fla.fog_103}
"head"Symbol 231 MovieClip {StickTongueMovieClip} Frame 1Symbol 226 MovieClip
"head"Symbol 231 MovieClip {StickTongueMovieClip} Frame 3Symbol 228 MovieClip
"backToMenu"Symbol 247 MovieClip {HelpMovieClip} Frame 1Symbol 246 MovieClip
"life"Symbol 252 MovieClip {fartblaster_final_fla.life_18} Frame 1Symbol 251 EditableText
"level"Symbol 261 MovieClip {fartblaster_final_fla.levelText_21} Frame 1Symbol 260 EditableText
"music"Symbol 270 MovieClip {fartblaster_final_fla.Timeline_23} Frame 1Symbol 267 MovieClip
"sound"Symbol 273 MovieClip {fartblaster_final_fla.Timeline_25} Frame 1Symbol 267 MovieClip
"lifeComp"Symbol 274 MovieClip {MenuMovieClip} Frame 1Symbol 252 MovieClip {fartblaster_final_fla.life_18}
"pause"Symbol 274 MovieClip {MenuMovieClip} Frame 1Symbol 255 Button
"menu"Symbol 274 MovieClip {MenuMovieClip} Frame 1Symbol 258 Button
"levelComp"Symbol 274 MovieClip {MenuMovieClip} Frame 1Symbol 261 MovieClip {fartblaster_final_fla.levelText_21}
"life"Symbol 274 MovieClip {MenuMovieClip} Frame 1Symbol 265 MovieClip {fartblaster_final_fla.life_22}
"music"Symbol 274 MovieClip {MenuMovieClip} Frame 1Symbol 270 MovieClip {fartblaster_final_fla.Timeline_23}
"sound"Symbol 274 MovieClip {MenuMovieClip} Frame 1Symbol 273 MovieClip {fartblaster_final_fla.Timeline_25}
"helpBtn"Symbol 288 MovieClip {MenuPage} Frame 1Symbol 279 Button
"returnBtn"Symbol 288 MovieClip {MenuPage} Frame 1Symbol 283 Button
"backBtn"Symbol 288 MovieClip {MenuPage} Frame 1Symbol 287 Button
"music"Symbol 448 MovieClip {StartGameMovieClip} Frame 1Symbol 270 MovieClip {fartblaster_final_fla.Timeline_23}
"sound"Symbol 448 MovieClip {StartGameMovieClip} Frame 1Symbol 273 MovieClip {fartblaster_final_fla.Timeline_25}
"gamePlay"Symbol 448 MovieClip {StartGameMovieClip} Frame 1Symbol 443 MovieClip
"gameHelp"Symbol 448 MovieClip {StartGameMovieClip} Frame 1Symbol 445 MovieClip
"btnMoreGame"Symbol 448 MovieClip {StartGameMovieClip} Frame 1Symbol 447 MovieClip
"backBtn"Symbol 541 MovieClip {CompleteMovieClip} Frame 1Symbol 287 Button

Special Tags

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

Labels

"left"Symbol 160 MovieClip {Door} Frame 2
"right"Symbol 160 MovieClip {Door} Frame 32
"stand"Symbol 181 MovieClip {ChickMovieClip} Frame 1
"fly"Symbol 181 MovieClip {ChickMovieClip} Frame 3
"down"Symbol 181 MovieClip {ChickMovieClip} Frame 25
"stand"Symbol 192 MovieClip {FlingAeronefMovieClip} Frame 1
"attack"Symbol 192 MovieClip {FlingAeronefMovieClip} Frame 3
"fling"Symbol 192 MovieClip {FlingAeronefMovieClip} Frame 14
"stand"Symbol 231 MovieClip {StickTongueMovieClip} Frame 1
"attack"Symbol 231 MovieClip {StickTongueMovieClip} Frame 3
"on"Symbol 270 MovieClip {fartblaster_final_fla.Timeline_23} Frame 1
"off"Symbol 270 MovieClip {fartblaster_final_fla.Timeline_23} Frame 2
"on"Symbol 273 MovieClip {fartblaster_final_fla.Timeline_25} Frame 1
"off"Symbol 273 MovieClip {fartblaster_final_fla.Timeline_25} Frame 2
"stand"Symbol 476 MovieClip {man} Frame 1
"walk"Symbol 476 MovieClip {man} Frame 2
"fly"Symbol 476 MovieClip {man} Frame 15
"duck"Symbol 476 MovieClip {man} Frame 29
"injured"Symbol 476 MovieClip {man} Frame 38
"dead"Symbol 476 MovieClip {man} Frame 54




http://swfchan.com/25/123525/info.shtml
Created: 2/3 -2019 15:19:13 Last modified: 2/3 -2019 15:19:13 Server time: 22/12 -2024 11:16:49