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

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

Elona Shooter - a chaotic shooter with RPG elements.swf

This is the info page for
Flash #92377

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


Text
<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Nane</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">L:1</font></p><p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">E:56</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Nane</font></p>

LEVEL UP!

LEVEL UP!

Elona Shooter

Return to Title

Return to Title

Save Game

Save Game

Help

Help

Statistics & Options

Reward:

Victory! The townsfolk are overjoyed by
the deeds you have performed today.

- Result -

Before the battle:

Wage:

After the battle:

Proceed

Proceed

Taken from enemy:

Castle income:

Other:

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#0000cc" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#0000cc" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#ff0000" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#0000cc" letterSpacing="0.000000" kerning="1">0</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#0000cc" letterSpacing="0.000000" kerning="1">0</font></p>

NEWS:

Tax & Upkeep:

<p align="left"><font face="HGPGyoshotai" size="13" color="#ff0000" letterSpacing="0.000000" kerning="1">0</font></p>

Play more games at:

Congratulations!

<p align="center"><font face="HGPGyoshotai" size="15" color="#ffffff" letterSpacing="4.000000" kerning="1">You have survived another day!</font></p><p align="center"><font face="HGPGyoshotai" size="15" color="#ffffff" letterSpacing="4.000000" kerning="1">(+25 xp)</font></p>

<p align="left"><font face="MoolBoran" size="34" color="#ffffff" letterSpacing="0.000000" kerning="1">Day 1 </font></p>

<p align="left"><font face="HGPGyoshotai" size="15" color="#ffffff" letterSpacing="2.000000" kerning="1">Get ready! Enemies are coming!</font></p>

Version Info:

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">You game has been updated!</font></p><p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">New versions is 1.11.</font></p>

Available actions:

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">The innkeeper greets you,</font></p><p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">&quot;Rest well, for you will need it!&quot;</font></p>

Sleep(End the day)

Hire
Henchman

Click a skill to set as a focused skill.
This is multiline test

<p align="left"><font face="HGPGyoshotai" size="21" color="#000000" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="left"><font face="HGPGyoshotai" size="21" color="#000000" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="left"><font face="HGPGyoshotai" size="21" color="#000000" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="left"><font face="HGPGyoshotai" size="21" color="#000000" letterSpacing="0.000000" kerning="1">1</font></p>

<p align="left"><font face="HGPGyoshotai" size="21" color="#000000" letterSpacing="0.000000" kerning="1">2</font></p>

<p align="left"><font face="HGPGyoshotai" size="21" color="#000000" letterSpacing="0.000000" kerning="1">2</font></p>

<p align="left"><font face="HGPGyoshotai" size="21" color="#000000" letterSpacing="0.000000" kerning="1">2</font></p>

<p align="left"><font face="HGPGyoshotai" size="21" color="#000000" letterSpacing="0.000000" kerning="1">2</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">The chef yells,</font></p><p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">&quot;Upgrades! I love upgrades!</font></p>

2 AP
Free Repair

Upkeep Cost:

<p align="left"><font face="HGPGyoshotai" size="13" color="#cc0000" letterSpacing="0.000000" kerning="1">0 </font></p>

<p align="left"><font face="HGPGyoshotai" size="16" color="#000000" letterSpacing="0.000000" kerning="1">Item Name</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000099" letterSpacing="0.000000" kerning="1">Item Name</font></p>

<p align="left"><font face="Impact" size="11" color="#330000" letterSpacing="0.000000" kerning="1"><b>Maxed at 1</b></font></p>

<p align="left"><font face="Impact" size="11" color="#330000" letterSpacing="0.000000" kerning="1"><b>Party Skill</b></font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">Item Name</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">Hunter</font></p>

CLASS.

EARNED.

KILLS.

<p align="right"><font face="Impact" size="10" color="#330000" letterSpacing="0.000000" kerning="1"><b>WAGE.</b></font></p>

<p align="right"><font face="Impact" size="10" color="#330000" letterSpacing="0.000000" kerning="1"><b>TITLE.</b></font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">3% of Reward</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">123456</font></p>

<p align="right"><font face="Impact" size="10" color="#330000" letterSpacing="0.000000" kerning="1"><b>ORDER.</b></font></p>

<p align="right"><font face="Impact" size="10" color="#330000" letterSpacing="0.000000" kerning="1"><b>RECRUIT:</b></font></p>

<p align="right"><font face="Impact" size="11" color="#330000" letterSpacing="0.000000" kerning="1"><b>DISMISS</b></font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

<p align="right"><font face="Impact" size="12" color="#000099" letterSpacing="0.000000" kerning="1"><b>Fo</b></font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">The guards salute you,</font></p><p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">&quot;This is a fine day to die.&quot;</font></p>

2 AP
Refresh Recruit

Equipment of your troops:

Your Equipment:

<p align="left"><font face="Arial" size="11" color="#cc0000" letterSpacing="0.000000" kerning="1">*You don&apos;t have the required skill to use the weapon.</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">The guards gaze at you,</font></p><p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">&quot;Prepare yourselves!&quot;</font></p>

5 AP
Recycle Gun

<p align="left"><font face="Arial" size="11" color="#330000" letterSpacing="0.000000" kerning="1">Choose an item to apply. Click nowhere to cancel.</font></p>

3 AP
Charge Item

<p align="left"><font face="HGPGyoshotai" size="14" color="#000000" letterSpacing="0.000000" kerning="1">Item Name</font></p>

DMG.

VALUE.

REQ.

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

MOD.

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

RATE.

AMMO.

RELOAD.

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

DMG AIR.

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

DMG ARMOR.

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

ACCU.

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">456</font></p>

Items for Sale:

Your Inventory:

<p align="left"><font face="Arial" size="11" color="#cc0000" letterSpacing="0.000000" kerning="1">*You don&apos;t have the required skill to use the weapon.</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">The blacksmith hails you,</font></p><p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">&quot;What can I do for you today?&quot;</font></p>

2 AP
Refresh Stock

4 AP
Reforge

<p align="left"><font face="Arial" size="11" color="#330000" letterSpacing="0.000000" kerning="1">Choose a weapon to upgrade. Click nowhere to cancel.</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Visitors make a toast,</font></p><p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">&quot;To our King and brave soldiers!&quot;</font></p>

2 AP
Rob Visitors

Your Inventory:

Your loot: (Items left here will be wasted)

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Your servants have searched corpses and found something valuable.</font></p>

- Loot -

<p align="left"><font face="Arial" size="11" color="#cc0000" letterSpacing="0.000000" kerning="1">*You don&apos;t have the required skill to use the weapon.</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">You&apos;ve successfully killed boss(es) therefore receive some prizes!</font></p>

- Prize -

<p align="left"><font face="Arial" size="11" color="#cc0000" letterSpacing="0.000000" kerning="1">*You don&apos;t have the required skill to use the weapon..</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Welcome, famed officer. We need your help badly to defend our castle!</font></p>

Choose your appearance:

Choose your starting class:

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Unlocked</font></p><p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Class</font></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000066" letterSpacing="0.000000" kerning="1">Choose your starting class</font></p>

Game MODs

Game MODs

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Extra options...extra options....</font></p><p align="left"></p>

General MODs

Less randomness MODs

*

<p align="center"><font face="Arial" size="11" color="#c40000" letterSpacing="0.000000" kerning="1">*WARNING: Your game won&apos;t be qualifed for Kongregate Badges, score submittions and MostDaysSurvived record if you enable this MOD.</font></p>

Back

Back

See the detail

Community Compilation Mod

The mod contains modifications requested by players.
Thank you for the suggestions!

- Level Up-

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">You&apos;ve gained enough experience and acquire a new level!</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Item Name</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000099" letterSpacing="0.000000" kerning="1">Item Name</font></p>

Choose a  skill:

Description:

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Item Name</font></p>

Now.

Next.

< Battle >

Shows Current
day/Remainig
waves.

Shows your
money.

Shows your
ammo/max.

Shows castle HP.
If it reaches 0, the game
is over!

Aim the cursor at the
enemies  and click to shoot!

This is your inventory.
Press 1-5 to quickly change
your weapon.

This is your side.

The menu button.

Elona Shooter In-Game Help

Battle

Town

Credits

Credits

Basic

< Town >

You can start the
battle from here.

Inn:

Tower:

You can buy upgrades here.
Also, repair the wall before
going to the battle!

You can set tactics, hire
or dismiss troops here.

Barrack:

You can use items or
change the equipment
of your troops here.

Equip:

You can sell or buy
goods here.

Shop:

You can see the medals
you collected here.

Museum:

In the town, you can spend your AP(action points) to
perform several actions. To begin the battle, sleep in the
inn!

Special thanks to the people who provided the
resources for this game!

Graphics(Altered):

Sounds:

Sounds from the free sound project:

LAGtheNoggin
PhreaKsAccount
acclivity
jpberger
Robinhood76
sagetyrtle
Neumann

WEB WAVE LIB

すきまの素材
背景素材店
First Seed Material
Lost Garden
Reiner "Tiles" Prokein
十二星座の欠片
FreeDigitalPhotos.net

< Credits >

あみたろの声素材工房

DARKYDUDE2142
Foley
BlacKSacrificE
fastson
inferno
nthompson

jobro
hiramjustus
sentryx86
Erdie
Corsica_S
FreqMan

Beta testers:

aekx, DimJim, Elvenspirit (He also wrote the
bestiary), Rex, SiamJai, Turbn and Trantez

Keys:

< Basic >

Switch Weapons

Reload

1-5

Space

Objective:

Click, shoot, kill the enemies. Defend the castle,
upgrade it, and survive as long as you can!

Some Tips:

Turn on/off "Fire at will"
(See below)

A

<p align="left"><font face="HGPGyoshotai" size="15" color="#000000" letterSpacing="0.000000" kerning="1">The inkeeper asks you</font></p>

<p align="left"><font face="Levenim MT Bold" size="11" color="#ffffff" letterSpacing="1.000000" kerning="0"><b>x 2</b></font></p>

<p align="left"><font face="HGPGyoshotai" size="11" color="#000000" letterSpacing="0.000000" kerning="1">1560 gp</font></p>

<p align="left"><font face="KaiTi" size="50" color="#725231" letterSpacing="0.000000" kerning="1">/</font></p>

<p align="left"><font face="HGPGyoshotai" size="15" color="#000000" letterSpacing="0.000000" kerning="1">Really?</font></p>

<p align="left"><font face="HGPGyoshotai" size="18" color="#000000" letterSpacing="0.000000" kerning="1">No</font></p>

<p align="left"><font face="HGPGyoshotai" size="18" color="#000000" letterSpacing="0.000000" kerning="1">No</font></p>

Yes

Confirmation

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">Reloading</font></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">Reloading</font></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Upgrade Lv1</font></p>

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">1480</font></p>

<p align="left"><font face="HGPGyoshotai" size="15" color="#ffffff" letterSpacing="1.000000" kerning="0"><b>Help page has been opened in your browser</b></font></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#000000" letterSpacing="0.000000" kerning="1">Class name</font></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

Class name

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"><font face="HGPGyoshotai" size="13" color="#ffffff" letterSpacing="0.000000" kerning="1">Try your luck to get extra bonuses!</font></p>

HEAD SHOT!

HEAD SHOT!

<p align="right"><font face="HGPGyoshotai" size="30" color="#ffffff" letterSpacing="1.000000" kerning="0">Get ready! Enemies </font></p>

Enemy Commander

<p align="left"><font face="HGPGyoshotai" size="13" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>3 AP</b></font></p><p align="left"><font face="HGPGyoshotai" size="13" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Charge Item</b></font></p>

Oh, good

Oh, good

<p align="left"><font face="HGPGyoshotai" size="12" color="#000000" letterSpacing="0.000000" kerning="1">Victory! Town falks are overjoyed by the deed you have brought today.</font></p>

<p align="center"><font face="HGPGyoshotai" size="20" color="#330000" letterSpacing="0.000000" kerning="1"><b>Result</b></font></p>

www.kongregate.com

Over 4500 free online games

finance

Elona Shooter

ver 1.20

New Game

New Game

New Game

New Game

<p align="left"><font face="Victorian LET" size="30" color="#ffffff" letterSpacing="2.000000" kerning="0">Continue</font></p>

<p align="left"><font face="Victorian LET" size="30" color="#ffffff" letterSpacing="2.000000" kerning="0">Continue</font></p>

<p align="left"><font face="Victorian LET" size="30" color="#ffffff" letterSpacing="2.000000" kerning="0">Continue</font></p>

<p align="left"><font face="Victorian LET" size="30" color="#ffffff" letterSpacing="2.000000" kerning="0">Continue</font></p>

<p align="left"><font face="Victorian LET" size="30" color="#ffffff" letterSpacing="4.000000" kerning="0">Help</font></p>

<p align="left"><font face="Victorian LET" size="30" color="#ffffff" letterSpacing="4.000000" kerning="0">Help</font></p>

<p align="left"><font face="Victorian LET" size="30" color="#ffffff" letterSpacing="4.000000" kerning="0">Help</font></p>

<p align="left"><font face="Victorian LET" size="30" color="#ffffff" letterSpacing="4.000000" kerning="0">Help</font></p>

Elona is a freeware Roguelike RPG I created. Visit my WEB to download it now!

Elona is a freeware Roguelike RPG I created. Visit my WEB to download it now!

<p align="left"><font face="Segoe UI" size="10" color="#ffffff" letterSpacing="2.000000" kerning="0"><b>Game by Noa</b></font></p>

<p align="right"><font face="HGPGyoshotai" size="13" color="#ffffff" letterSpacing="0.000000" kerning="1">Most days survived: -1 / -1(HC)</font></p>

VERSION

PLAY

+Extra Classes
+Bonus Features

Play more games!

color.blueMultiplier = 0;

<p align="left"><font face="Leelawadee Bold" size="16" color="#ffffff" letterSpacing="1.000000" kerning="0"><b>99999999</b></font></p>

<p align="left"><font face="Leelawadee Bold" size="16" color="#ffffff" letterSpacing="1.000000" kerning="0"><b>999</b></font></p>

<p align="left"><font face="Leelawadee Bold" size="16" color="#ffffff" letterSpacing="1.000000" kerning="0"><b>9999/9999</b></font></p>

<p align="left"><font face="Leelawadee Bold" size="16" color="#ffffff" letterSpacing="1.000000" kerning="0"><b>999/999</b></font></p>

1

2

3

4

5

Lv

<p align="left"><font face="Levenim MT Bold" size="10" color="#ffffff" letterSpacing="1.000000" kerning="0"><b>99</b></font></p>

Exp

<p align="left"><font face="Levenim MT Bold" size="10" color="#ffffff" letterSpacing="1.000000" kerning="0"><b>99</b></font></p>

<p align="left"><font face="Leelawadee Bold" size="12" color="#ffffff" letterSpacing="1.000000" kerning="0"><b>Adrenaline</b></font></p>

<p align="left"><font face="Leelawadee Bold" size="16" color="#ffffff" letterSpacing="1.000000" kerning="0"><b>999</b></font></p>

<p align="left"><font face="MoolBoran" size="41" color="#ff0000" letterSpacing="0.000000" kerning="1">GAME OVER</font></p>

<p align="left"><font face="HGPGyoshotai" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Click here to return to the title menu.</font></p>

<p align="left"><font face="HGPGyoshotai" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Click here to return to the title menu.</font></p>

<p align="left"><font face="HGPGyoshotai" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Click here to return to the title menu.</font></p>

<p align="left"><font face="HGPGyoshotai" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Click here to return to the title menu.</font></p>

*If you choose the "carry over" option, you can replay the day with
all the money you've earned during this battle. But if you ever use the option, you
won't be able to get some medals  afterward.

<p align="center"><font face="HGPGyoshotai" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Use &quot;Carry Over&quot; option.</font></p>

<p align="center"><font face="HGPGyoshotai" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Use &quot;Carry Over&quot; option.</font></p>

You can continue the game with your money carried over
since you have already selected "Carry Over" option.

<p align="center"><font face="HGPGyoshotai" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Continue</font></p>

<p align="center"><font face="HGPGyoshotai" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Continue</font></p>

<p align="center"><font face="HGPGyoshotai" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Play more games.</font></p>

<p align="center"><font face="HGPGyoshotai" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Play more games.</font></p>

INN
mission

[Enter]

SMITHY
trade!

[Enter]

TOWER
upgrade!

[Enter]

BARRACK
troops

[Enter]

EQUIP

[Do it]

MUSEUM
medals

[Enter]

<p align="left"><font face="Arial" size="8" color="#ffffff" letterSpacing="1.000000" kerning="0">CARRIED OVER</font></p>

This game was licensed to Funny Games.
Click here to visit the site.

ActionScript [AS3]

Section 1
//ColorShortcuts (caurina.transitions.properties.ColorShortcuts) package caurina.transitions.properties { import caurina.transitions.*; import flash.geom.*; import flash.filters.*; public class ColorShortcuts { private static var LUMINANCE_B:Number = 0.072169; private static var LUMINANCE_G:Number = 0.71516; private static var LUMINANCE_R:Number = 0.212671; public static function _color_splitter(_arg1, _arg2:Array):Array{ var _local3:Array = new Array(); if (_arg1 == null){ _local3.push({name:"_color_redMultiplier", value:1}); _local3.push({name:"_color_redOffset", value:0}); _local3.push({name:"_color_greenMultiplier", value:1}); _local3.push({name:"_color_greenOffset", value:0}); _local3.push({name:"_color_blueMultiplier", value:1}); _local3.push({name:"_color_blueOffset", value:0}); } else { _local3.push({name:"_color_redMultiplier", value:0}); _local3.push({name:"_color_redOffset", value:AuxFunctions.numberToR(_arg1)}); _local3.push({name:"_color_greenMultiplier", value:0}); _local3.push({name:"_color_greenOffset", value:AuxFunctions.numberToG(_arg1)}); _local3.push({name:"_color_blueMultiplier", value:0}); _local3.push({name:"_color_blueOffset", value:AuxFunctions.numberToB(_arg1)}); }; return (_local3); } public static function _contrast_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local5:Number; var _local6:Number; _local5 = (_arg2 + 1); _local6 = Math.round((_arg2 * -128)); var _local7:ColorTransform = new ColorTransform(_local5, _local5, _local5, 1, _local6, _local6, _local6, 0); _arg1.transform.colorTransform = _local7; } public static function _brightness_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ var _local4:Boolean = _arg2[0]; var _local5:ColorTransform = _arg1.transform.colorTransform; var _local6:Number = (1 - (((_local5.redMultiplier + _local5.greenMultiplier) + _local5.blueMultiplier) / 3)); var _local7:Number = (((_local5.redOffset + _local5.greenOffset) + _local5.blueOffset) / 3); if (_local4){ return (((_local7 > 0)) ? (_local7 / 0xFF) : -(_local6)); //unresolved jump }; return ((_local7 / 100)); } public static function _saturation_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ var _local4:Array = getObjectMatrix(_arg1); var _local5:Boolean = _arg2[0]; var _local6:Number = (_local5) ? (1 / 3) : LUMINANCE_R; var _local7:Number = (_local5) ? (1 / 3) : LUMINANCE_G; var _local8:Number = (_local5) ? (1 / 3) : LUMINANCE_B; var _local9:Number = (((((_local4[0] - _local6) / (1 - _local6)) + ((_local4[6] - _local7) / (1 - _local7))) + ((_local4[12] - _local8) / (1 - _local8))) / 3); var _local10:Number = (1 - (((((((_local4[1] / _local7) + (_local4[2] / _local8)) + (_local4[5] / _local6)) + (_local4[7] / _local8)) + (_local4[10] / _local6)) + (_local4[11] / _local7)) / 6)); return (((_local9 + _local10) / 2)); } public static function _oldColor_property_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ return ((_arg1.transform.colorTransform[_arg2[0]] * 100)); } public static function _brightness_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local6:Number; var _local7:Number; var _local5:Boolean = _arg3[0]; if (_local5){ _local6 = (1 - Math.abs(_arg2)); _local7 = ((_arg2 > 0)) ? Math.round((_arg2 * 0xFF)) : 0; } else { _local6 = 1; _local7 = Math.round((_arg2 * 100)); }; var _local8:ColorTransform = new ColorTransform(_local6, _local6, _local6, 1, _local7, _local7, _local7, 0); _arg1.transform.colorTransform = _local8; } public static function _saturation_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local5:Boolean = _arg3[0]; var _local6:Number = (_local5) ? (1 / 3) : LUMINANCE_R; var _local7:Number = (_local5) ? (1 / 3) : LUMINANCE_G; var _local8:Number = (_local5) ? (1 / 3) : LUMINANCE_B; var _local9:Number = _arg2; var _local10:Number = (1 - _local9); var _local11:Number = (_local6 * _local10); var _local12:Number = (_local7 * _local10); var _local13:Number = (_local8 * _local10); var _local14:Array = [(_local11 + _local9), _local12, _local13, 0, 0, _local11, (_local12 + _local9), _local13, 0, 0, _local11, _local12, (_local13 + _local9), 0, 0, 0, 0, 0, 1, 0]; setObjectMatrix(_arg1, _local14); } private static function getObjectMatrix(_arg1:Object):Array{ var _local2:Number = 0; while (_local2 < _arg1.filters.length) { if ((_arg1.filters[_local2] is ColorMatrixFilter)){ return (_arg1.filters[_local2].matrix.concat()); }; _local2++; }; return ([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]); } public static function getHueDistance(_arg1:Array, _arg2:Array):Number{ return (((Math.abs((_arg1[0] - _arg2[0])) + Math.abs((_arg1[1] - _arg2[1]))) + Math.abs((_arg1[2] - _arg2[2])))); } public static function _hue_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ setObjectMatrix(_arg1, getHueMatrix(_arg2)); } public static function _hue_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ var _local6:Number; var _local8:Number; var _local4:Array = getObjectMatrix(_arg1); var _local5:Array = []; _local5[0] = {angle:-179.9, matrix:getHueMatrix(-179.9)}; _local5[1] = {angle:180, matrix:getHueMatrix(180)}; _local6 = 0; while (_local6 < _local5.length) { _local5[_local6].distance = getHueDistance(_local4, _local5[_local6].matrix); _local6++; }; var _local7:Number = 15; _local6 = 0; while (_local6 < _local7) { if (_local5[0].distance < _local5[1].distance){ _local8 = 1; } else { _local8 = 0; }; _local5[_local8].angle = ((_local5[0].angle + _local5[1].angle) / 2); _local5[_local8].matrix = getHueMatrix(_local5[_local8].angle); _local5[_local8].distance = getHueDistance(_local4, _local5[_local8].matrix); _local6++; }; return (_local5[_local8].angle); } public static function getHueMatrix(_arg1:Number):Array{ var _local2:Number = ((_arg1 * Math.PI) / 180); var _local3:Number = LUMINANCE_R; var _local4:Number = LUMINANCE_G; var _local5:Number = LUMINANCE_B; var _local6:Number = Math.cos(_local2); var _local7:Number = Math.sin(_local2); var _local8:Array = [((_local3 + (_local6 * (1 - _local3))) + (_local7 * -(_local3))), ((_local4 + (_local6 * -(_local4))) + (_local7 * -(_local4))), ((_local5 + (_local6 * -(_local5))) + (_local7 * (1 - _local5))), 0, 0, ((_local3 + (_local6 * -(_local3))) + (_local7 * 0.143)), ((_local4 + (_local6 * (1 - _local4))) + (_local7 * 0.14)), ((_local5 + (_local6 * -(_local5))) + (_local7 * -0.283)), 0, 0, ((_local3 + (_local6 * -(_local3))) + (_local7 * -((1 - _local3)))), ((_local4 + (_local6 * -(_local4))) + (_local7 * _local4)), ((_local5 + (_local6 * (1 - _local5))) + (_local7 * _local5)), 0, 0, 0, 0, 0, 1, 0]; return (_local8); } public static function _color_property_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ return (_arg1.transform.colorTransform[_arg2[0]]); } public static function init():void{ Tweener.registerSpecialProperty("_color_ra", _oldColor_property_get, _oldColor_property_set, ["redMultiplier"]); Tweener.registerSpecialProperty("_color_rb", _color_property_get, _color_property_set, ["redOffset"]); Tweener.registerSpecialProperty("_color_ga", _oldColor_property_get, _oldColor_property_set, ["greenMultiplier"]); Tweener.registerSpecialProperty("_color_gb", _color_property_get, _color_property_set, ["greenOffset"]); Tweener.registerSpecialProperty("_color_ba", _oldColor_property_get, _oldColor_property_set, ["blueMultiplier"]); Tweener.registerSpecialProperty("_color_bb", _color_property_get, _color_property_set, ["blueOffset"]); Tweener.registerSpecialProperty("_color_aa", _oldColor_property_get, _oldColor_property_set, ["alphaMultiplier"]); Tweener.registerSpecialProperty("_color_ab", _color_property_get, _color_property_set, ["alphaOffset"]); Tweener.registerSpecialProperty("_color_redMultiplier", _color_property_get, _color_property_set, ["redMultiplier"]); Tweener.registerSpecialProperty("_color_redOffset", _color_property_get, _color_property_set, ["redOffset"]); Tweener.registerSpecialProperty("_color_greenMultiplier", _color_property_get, _color_property_set, ["greenMultiplier"]); Tweener.registerSpecialProperty("_color_greenOffset", _color_property_get, _color_property_set, ["greenOffset"]); Tweener.registerSpecialProperty("_color_blueMultiplier", _color_property_get, _color_property_set, ["blueMultiplier"]); Tweener.registerSpecialProperty("_color_blueOffset", _color_property_get, _color_property_set, ["blueOffset"]); Tweener.registerSpecialProperty("_color_alphaMultiplier", _color_property_get, _color_property_set, ["alphaMultiplier"]); Tweener.registerSpecialProperty("_color_alphaOffset", _color_property_get, _color_property_set, ["alphaOffset"]); Tweener.registerSpecialPropertySplitter("_color", _color_splitter); Tweener.registerSpecialPropertySplitter("_colorTransform", _colorTransform_splitter); Tweener.registerSpecialProperty("_brightness", _brightness_get, _brightness_set, [false]); Tweener.registerSpecialProperty("_tintBrightness", _brightness_get, _brightness_set, [true]); Tweener.registerSpecialProperty("_contrast", _contrast_get, _contrast_set); Tweener.registerSpecialProperty("_hue", _hue_get, _hue_set); Tweener.registerSpecialProperty("_saturation", _saturation_get, _saturation_set, [false]); Tweener.registerSpecialProperty("_dumbSaturation", _saturation_get, _saturation_set, [true]); } private static function setObjectMatrix(_arg1:Object, _arg2:Array):void{ var _local6:ColorMatrixFilter; var _local3:Array = _arg1.filters.concat(); var _local4:Boolean; var _local5:Number = 0; while (_local5 < _local3.length) { if ((_local3[_local5] is ColorMatrixFilter)){ _local3[_local5].matrix = _arg2.concat(); _local4 = true; }; _local5++; }; if (!_local4){ _local6 = new ColorMatrixFilter(_arg2); _local3[_local3.length] = _local6; }; _arg1.filters = _local3; } public static function _color_property_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local5:ColorTransform = _arg1.transform.colorTransform; _local5[_arg3[0]] = _arg2; _arg1.transform.colorTransform = _local5; } public static function _oldColor_property_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local5:ColorTransform = _arg1.transform.colorTransform; _local5[_arg3[0]] = (_arg2 / 100); _arg1.transform.colorTransform = _local5; } public static function _contrast_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ var _local5:Number; var _local6:Number; var _local4:ColorTransform = _arg1.transform.colorTransform; _local5 = ((((_local4.redMultiplier + _local4.greenMultiplier) + _local4.blueMultiplier) / 3) - 1); _local6 = ((((_local4.redOffset + _local4.greenOffset) + _local4.blueOffset) / 3) / -128); return (((_local5 + _local6) / 2)); } public static function _colorTransform_splitter(_arg1:Object, _arg2:Array):Array{ var _local3:Array = new Array(); if (_arg1 == null){ _local3.push({name:"_color_redMultiplier", value:1}); _local3.push({name:"_color_redOffset", value:0}); _local3.push({name:"_color_greenMultiplier", value:1}); _local3.push({name:"_color_greenOffset", value:0}); _local3.push({name:"_color_blueMultiplier", value:1}); _local3.push({name:"_color_blueOffset", value:0}); } else { _local3.push({name:"_color_redMultiplier", value:_arg1.redMultiplier}); _local3.push({name:"_color_redOffset", value:_arg1.redOffset}); _local3.push({name:"_color_blueMultiplier", value:_arg1.blueMultiplier}); _local3.push({name:"_color_blueOffset", value:_arg1.blueOffset}); _local3.push({name:"_color_greenMultiplier", value:_arg1.greenMultiplier}); _local3.push({name:"_color_greenOffset", value:_arg1.greenOffset}); _local3.push({name:"_color_alphaMultiplier", value:_arg1.alphaMultiplier}); _local3.push({name:"_color_alphaOffset", value:_arg1.alphaOffset}); }; return (_local3); } } }//package caurina.transitions.properties
Section 2
//FilterShortcuts (caurina.transitions.properties.FilterShortcuts) package caurina.transitions.properties { import flash.display.*; import caurina.transitions.*; import flash.geom.*; import flash.filters.*; public class FilterShortcuts { public static function init():void{ Tweener.registerSpecialPropertySplitter("_filter", _filter_splitter); Tweener.registerSpecialProperty("_Bevel_angle", _filter_property_get, _filter_property_set, [BevelFilter, "angle"]); Tweener.registerSpecialProperty("_Bevel_blurX", _filter_property_get, _filter_property_set, [BevelFilter, "blurX"]); Tweener.registerSpecialProperty("_Bevel_blurY", _filter_property_get, _filter_property_set, [BevelFilter, "blurY"]); Tweener.registerSpecialProperty("_Bevel_distance", _filter_property_get, _filter_property_set, [BevelFilter, "distance"]); Tweener.registerSpecialProperty("_Bevel_highlightAlpha", _filter_property_get, _filter_property_set, [BevelFilter, "highlightAlpha"]); Tweener.registerSpecialPropertySplitter("_Bevel_highlightColor", _generic_color_splitter, ["_Bevel_highlightColor_r", "_Bevel_highlightColor_g", "_Bevel_highlightColor_b"]); Tweener.registerSpecialProperty("_Bevel_highlightColor_r", _filter_property_get, _filter_property_set, [BevelFilter, "highlightColor", "color", "r"]); Tweener.registerSpecialProperty("_Bevel_highlightColor_g", _filter_property_get, _filter_property_set, [BevelFilter, "highlightColor", "color", "g"]); Tweener.registerSpecialProperty("_Bevel_highlightColor_b", _filter_property_get, _filter_property_set, [BevelFilter, "highlightColor", "color", "b"]); Tweener.registerSpecialProperty("_Bevel_knockout", _filter_property_get, _filter_property_set, [BevelFilter, "knockout"]); Tweener.registerSpecialProperty("_Bevel_quality", _filter_property_get, _filter_property_set, [BevelFilter, "quality"]); Tweener.registerSpecialProperty("_Bevel_shadowAlpha", _filter_property_get, _filter_property_set, [BevelFilter, "shadowAlpha"]); Tweener.registerSpecialPropertySplitter("_Bevel_shadowColor", _generic_color_splitter, ["_Bevel_shadowColor_r", "_Bevel_shadowColor_g", "_Bevel_shadowColor_b"]); Tweener.registerSpecialProperty("_Bevel_shadowColor_r", _filter_property_get, _filter_property_set, [BevelFilter, "shadowColor", "color", "r"]); Tweener.registerSpecialProperty("_Bevel_shadowColor_g", _filter_property_get, _filter_property_set, [BevelFilter, "shadowColor", "color", "g"]); Tweener.registerSpecialProperty("_Bevel_shadowColor_b", _filter_property_get, _filter_property_set, [BevelFilter, "shadowColor", "color", "b"]); Tweener.registerSpecialProperty("_Bevel_strength", _filter_property_get, _filter_property_set, [BevelFilter, "strength"]); Tweener.registerSpecialProperty("_Bevel_type", _filter_property_get, _filter_property_set, [BevelFilter, "type"]); Tweener.registerSpecialProperty("_Blur_blurX", _filter_property_get, _filter_property_set, [BlurFilter, "blurX"]); Tweener.registerSpecialProperty("_Blur_blurY", _filter_property_get, _filter_property_set, [BlurFilter, "blurY"]); Tweener.registerSpecialProperty("_Blur_quality", _filter_property_get, _filter_property_set, [BlurFilter, "quality"]); Tweener.registerSpecialPropertySplitter("_ColorMatrix_matrix", _generic_matrix_splitter, [[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], ["_ColorMatrix_matrix_rr", "_ColorMatrix_matrix_rg", "_ColorMatrix_matrix_rb", "_ColorMatrix_matrix_ra", "_ColorMatrix_matrix_ro", "_ColorMatrix_matrix_gr", "_ColorMatrix_matrix_gg", "_ColorMatrix_matrix_gb", "_ColorMatrix_matrix_ga", "_ColorMatrix_matrix_go", "_ColorMatrix_matrix_br", "_ColorMatrix_matrix_bg", "_ColorMatrix_matrix_bb", "_ColorMatrix_matrix_ba", "_ColorMatrix_matrix_bo", "_ColorMatrix_matrix_ar", "_ColorMatrix_matrix_ag", "_ColorMatrix_matrix_ab", "_ColorMatrix_matrix_aa", "_ColorMatrix_matrix_ao"]]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_rr", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 0]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_rg", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 1]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_rb", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 2]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ra", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 3]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ro", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 4]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_gr", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 5]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_gg", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 6]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_gb", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 7]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ga", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 8]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_go", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 9]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_br", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 10]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_bg", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 11]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_bb", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 12]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ba", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 13]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_bo", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 14]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ar", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 15]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ag", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 16]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ab", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 17]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_aa", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 18]); Tweener.registerSpecialProperty("_ColorMatrix_matrix_ao", _filter_property_get, _filter_property_set, [ColorMatrixFilter, "matrix", "matrix", 19]); Tweener.registerSpecialProperty("_Convolution_alpha", _filter_property_get, _filter_property_set, [ConvolutionFilter, "alpha"]); Tweener.registerSpecialProperty("_Convolution_bias", _filter_property_get, _filter_property_set, [ConvolutionFilter, "bias"]); Tweener.registerSpecialProperty("_Convolution_clamp", _filter_property_get, _filter_property_set, [ConvolutionFilter, "clamp"]); Tweener.registerSpecialPropertySplitter("_Convolution_color", _generic_color_splitter, ["_Convolution_color_r", "_Convolution_color_g", "_Convolution_color_b"]); Tweener.registerSpecialProperty("_Convolution_color_r", _filter_property_get, _filter_property_set, [ConvolutionFilter, "color", "color", "r"]); Tweener.registerSpecialProperty("_Convolution_color_g", _filter_property_get, _filter_property_set, [ConvolutionFilter, "color", "color", "g"]); Tweener.registerSpecialProperty("_Convolution_color_b", _filter_property_get, _filter_property_set, [ConvolutionFilter, "color", "color", "b"]); Tweener.registerSpecialProperty("_Convolution_divisor", _filter_property_get, _filter_property_set, [ConvolutionFilter, "divisor"]); Tweener.registerSpecialProperty("_Convolution_matrixX", _filter_property_get, _filter_property_set, [ConvolutionFilter, "matrixX"]); Tweener.registerSpecialProperty("_Convolution_matrixY", _filter_property_get, _filter_property_set, [ConvolutionFilter, "matrixY"]); Tweener.registerSpecialProperty("_Convolution_preserveAlpha", _filter_property_get, _filter_property_set, [ConvolutionFilter, "preserveAlpha"]); Tweener.registerSpecialProperty("_DisplacementMap_alpha", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "alpha"]); Tweener.registerSpecialPropertySplitter("_DisplacementMap_color", _generic_color_splitter, ["_DisplacementMap_color_r", "_DisplacementMap_color_r", "_DisplacementMap_color_r"]); Tweener.registerSpecialProperty("_DisplacementMap_color_r", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "color", "color", "r"]); Tweener.registerSpecialProperty("_DisplacementMap_color_g", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "color", "color", "g"]); Tweener.registerSpecialProperty("_DisplacementMap_color_b", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "color", "color", "b"]); Tweener.registerSpecialProperty("_DisplacementMap_componentX", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "componentX"]); Tweener.registerSpecialProperty("_DisplacementMap_componentY", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "componentY"]); Tweener.registerSpecialProperty("_DisplacementMap_mapBitmap", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mapBitmap"]); Tweener.registerSpecialPropertySplitter("_DisplacementMap_mapPoint", _generic_point_splitter, ["_DisplacementMap_mapPoint_x", "_DisplacementMap_mapPoint_y"]); Tweener.registerSpecialProperty("_DisplacementMap_mapPoint_x", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mapPoint", "point", "x"]); Tweener.registerSpecialProperty("_DisplacementMap_mapPoint_y", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mapPoint", "point", "y"]); Tweener.registerSpecialProperty("_DisplacementMap_mode", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "mode"]); Tweener.registerSpecialProperty("_DisplacementMap_scaleX", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "scaleX"]); Tweener.registerSpecialProperty("_DisplacementMap_scaleY", _filter_property_get, _filter_property_set, [DisplacementMapFilter, "scaleY"]); Tweener.registerSpecialProperty("_DropShadow_alpha", _filter_property_get, _filter_property_set, [DropShadowFilter, "alpha"]); Tweener.registerSpecialProperty("_DropShadow_angle", _filter_property_get, _filter_property_set, [DropShadowFilter, "angle"]); Tweener.registerSpecialProperty("_DropShadow_blurX", _filter_property_get, _filter_property_set, [DropShadowFilter, "blurX"]); Tweener.registerSpecialProperty("_DropShadow_blurY", _filter_property_get, _filter_property_set, [DropShadowFilter, "blurY"]); Tweener.registerSpecialPropertySplitter("_DropShadow_color", _generic_color_splitter, ["_DropShadow_color_r", "_DropShadow_color_g", "_DropShadow_color_b"]); Tweener.registerSpecialProperty("_DropShadow_color_r", _filter_property_get, _filter_property_set, [DropShadowFilter, "color", "color", "r"]); Tweener.registerSpecialProperty("_DropShadow_color_g", _filter_property_get, _filter_property_set, [DropShadowFilter, "color", "color", "g"]); Tweener.registerSpecialProperty("_DropShadow_color_b", _filter_property_get, _filter_property_set, [DropShadowFilter, "color", "color", "b"]); Tweener.registerSpecialProperty("_DropShadow_distance", _filter_property_get, _filter_property_set, [DropShadowFilter, "distance"]); Tweener.registerSpecialProperty("_DropShadow_hideObject", _filter_property_get, _filter_property_set, [DropShadowFilter, "hideObject"]); Tweener.registerSpecialProperty("_DropShadow_inner", _filter_property_get, _filter_property_set, [DropShadowFilter, "inner"]); Tweener.registerSpecialProperty("_DropShadow_knockout", _filter_property_get, _filter_property_set, [DropShadowFilter, "knockout"]); Tweener.registerSpecialProperty("_DropShadow_quality", _filter_property_get, _filter_property_set, [DropShadowFilter, "quality"]); Tweener.registerSpecialProperty("_DropShadow_strength", _filter_property_get, _filter_property_set, [DropShadowFilter, "strength"]); Tweener.registerSpecialProperty("_Glow_alpha", _filter_property_get, _filter_property_set, [GlowFilter, "alpha"]); Tweener.registerSpecialProperty("_Glow_blurX", _filter_property_get, _filter_property_set, [GlowFilter, "blurX"]); Tweener.registerSpecialProperty("_Glow_blurY", _filter_property_get, _filter_property_set, [GlowFilter, "blurY"]); Tweener.registerSpecialPropertySplitter("_Glow_color", _generic_color_splitter, ["_Glow_color_r", "_Glow_color_g", "_Glow_color_b"]); Tweener.registerSpecialProperty("_Glow_color_r", _filter_property_get, _filter_property_set, [GlowFilter, "color", "color", "r"]); Tweener.registerSpecialProperty("_Glow_color_g", _filter_property_get, _filter_property_set, [GlowFilter, "color", "color", "g"]); Tweener.registerSpecialProperty("_Glow_color_b", _filter_property_get, _filter_property_set, [GlowFilter, "color", "color", "b"]); Tweener.registerSpecialProperty("_Glow_inner", _filter_property_get, _filter_property_set, [GlowFilter, "inner"]); Tweener.registerSpecialProperty("_Glow_knockout", _filter_property_get, _filter_property_set, [GlowFilter, "knockout"]); Tweener.registerSpecialProperty("_Glow_quality", _filter_property_get, _filter_property_set, [GlowFilter, "quality"]); Tweener.registerSpecialProperty("_Glow_strength", _filter_property_get, _filter_property_set, [GlowFilter, "strength"]); Tweener.registerSpecialProperty("_GradientBevel_angle", _filter_property_get, _filter_property_set, [GradientBevelFilter, "angle"]); Tweener.registerSpecialProperty("_GradientBevel_blurX", _filter_property_get, _filter_property_set, [GradientBevelFilter, "blurX"]); Tweener.registerSpecialProperty("_GradientBevel_blurY", _filter_property_get, _filter_property_set, [GradientBevelFilter, "blurY"]); Tweener.registerSpecialProperty("_GradientBevel_distance", _filter_property_get, _filter_property_set, [GradientBevelFilter, "distance"]); Tweener.registerSpecialProperty("_GradientBevel_quality", _filter_property_get, _filter_property_set, [GradientBevelFilter, "quality"]); Tweener.registerSpecialProperty("_GradientBevel_strength", _filter_property_get, _filter_property_set, [GradientBevelFilter, "strength"]); Tweener.registerSpecialProperty("_GradientBevel_type", _filter_property_get, _filter_property_set, [GradientBevelFilter, "type"]); Tweener.registerSpecialProperty("_GradientGlow_angle", _filter_property_get, _filter_property_set, [GradientGlowFilter, "angle"]); Tweener.registerSpecialProperty("_GradientGlow_blurX", _filter_property_get, _filter_property_set, [GradientGlowFilter, "blurX"]); Tweener.registerSpecialProperty("_GradientGlow_blurY", _filter_property_get, _filter_property_set, [GradientGlowFilter, "blurY"]); Tweener.registerSpecialProperty("_GradientGlow_distance", _filter_property_get, _filter_property_set, [GradientGlowFilter, "distance"]); Tweener.registerSpecialProperty("_GradientGlow_knockout", _filter_property_get, _filter_property_set, [GradientGlowFilter, "knockout"]); Tweener.registerSpecialProperty("_GradientGlow_quality", _filter_property_get, _filter_property_set, [GradientGlowFilter, "quality"]); Tweener.registerSpecialProperty("_GradientGlow_strength", _filter_property_get, _filter_property_set, [GradientGlowFilter, "strength"]); Tweener.registerSpecialProperty("_GradientGlow_type", _filter_property_get, _filter_property_set, [GradientGlowFilter, "type"]); } public static function _filter_property_get(_arg1:Object, _arg2:Array, _arg3:Object=null):Number{ var _local5:Number; var _local9:Object; var _local10:String; var _local4:Array = _arg1.filters; var _local6:Object = _arg2[0]; var _local7:String = _arg2[1]; var _local8:String = _arg2[2]; _local5 = 0; while (_local5 < _local4.length) { if ((_local4[_local5] is Class(_local6))){ if (_local8 == "color"){ _local10 = _arg2[3]; if (_local10 == "r"){ return (AuxFunctions.numberToR(_local4[_local5][_local7])); }; if (_local10 == "g"){ return (AuxFunctions.numberToG(_local4[_local5][_local7])); }; if (_local10 == "b"){ return (AuxFunctions.numberToB(_local4[_local5][_local7])); }; } else { if (_local8 == "matrix"){ return (_local4[_local5][_local7][_arg2[3]]); }; if (_local8 == "point"){ return (_local4[_local5][_local7][_arg2[3]]); }; return (_local4[_local5][_local7]); }; }; _local5++; }; switch (_local6){ case BevelFilter: _local9 = {angle:NaN, blurX:0, blurY:0, distance:0, highlightAlpha:1, highlightColor:NaN, knockout:null, quality:NaN, shadowAlpha:1, shadowColor:NaN, strength:2, type:null}; break; case BlurFilter: _local9 = {blurX:0, blurY:0, quality:NaN}; break; case ColorMatrixFilter: _local9 = {matrix:[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]}; break; case ConvolutionFilter: _local9 = {alpha:0, bias:0, clamp:null, color:NaN, divisor:1, matrix:[1], matrixX:1, matrixY:1, preserveAlpha:null}; break; case DisplacementMapFilter: _local9 = {alpha:0, color:NaN, componentX:null, componentY:null, mapBitmap:null, mapPoint:null, mode:null, scaleX:0, scaleY:0}; break; case DropShadowFilter: _local9 = {distance:0, angle:NaN, color:NaN, alpha:1, blurX:0, blurY:0, strength:1, quality:NaN, inner:null, knockout:null, hideObject:null}; break; case GlowFilter: _local9 = {alpha:1, blurX:0, blurY:0, color:NaN, inner:null, knockout:null, quality:NaN, strength:2}; break; case GradientBevelFilter: _local9 = {alphas:null, angle:NaN, blurX:0, blurY:0, colors:null, distance:0, knockout:null, quality:NaN, ratios:NaN, strength:1, type:null}; break; case GradientGlowFilter: _local9 = {alphas:null, angle:NaN, blurX:0, blurY:0, colors:null, distance:0, knockout:null, quality:NaN, ratios:NaN, strength:1, type:null}; break; }; if (_local8 == "color"){ return (NaN); }; if (_local8 == "matrix"){ return (_local9[_local7][_arg2[3]]); }; if (_local8 == "point"){ return (_local9[_local7][_arg2[3]]); }; return (_local9[_local7]); } public static function _filter_property_set(_arg1:Object, _arg2:Number, _arg3:Array, _arg4:Object=null):void{ var _local6:Number; var _local10:BitmapFilter; var _local11:String; var _local12:Array; var _local13:Point; var _local5:Array = _arg1.filters; var _local7:Object = _arg3[0]; var _local8:String = _arg3[1]; var _local9:String = _arg3[2]; _local6 = 0; while (_local6 < _local5.length) { if ((_local5[_local6] is Class(_local7))){ if (_local9 == "color"){ _local11 = _arg3[3]; if (_local11 == "r"){ _local5[_local6][_local8] = ((_local5[_local6][_local8] & 0xFFFF) | (_arg2 << 16)); }; if (_local11 == "g"){ _local5[_local6][_local8] = ((_local5[_local6][_local8] & 0xFF00FF) | (_arg2 << 8)); }; if (_local11 == "b"){ _local5[_local6][_local8] = ((_local5[_local6][_local8] & 0xFFFF00) | _arg2); }; } else { if (_local9 == "matrix"){ _local12 = _local5[_local6][_local8]; _local12[_arg3[3]] = _arg2; _local5[_local6][_local8] = _local12; } else { if (_local9 == "point"){ _local13 = Point(_local5[_local6][_local8]); _local13[_arg3[3]] = _arg2; _local5[_local6][_local8] = _local13; } else { _local5[_local6][_local8] = _arg2; }; }; }; _arg1.filters = _local5; return; }; _local6++; }; if (_local5 == null){ _local5 = new Array(); }; switch (_local7){ case BevelFilter: _local10 = new BevelFilter(0, 45, 0xFFFFFF, 1, 0, 1, 0, 0); break; case BlurFilter: _local10 = new BlurFilter(0, 0); break; case ColorMatrixFilter: _local10 = new ColorMatrixFilter([1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]); break; case ConvolutionFilter: _local10 = new ConvolutionFilter(1, 1, [1], 1, 0, true, true, 0, 0); break; case DisplacementMapFilter: _local10 = new DisplacementMapFilter(new BitmapData(10, 10), new Point(0, 0), 0, 1, 0, 0); break; case DropShadowFilter: _local10 = new DropShadowFilter(0, 45, 0, 1, 0, 0); break; case GlowFilter: _local10 = new GlowFilter(0xFF0000, 1, 0, 0); break; case GradientBevelFilter: _local10 = new GradientBevelFilter(0, 45, [0xFFFFFF, 0], [1, 1], [32, 223], 0, 0); break; case GradientGlowFilter: _local10 = new GradientGlowFilter(0, 45, [0xFFFFFF, 0], [1, 1], [32, 223], 0, 0); break; }; _local5.push(_local10); _arg1.filters = _local5; _filter_property_set(_arg1, _arg2, _arg3); } public static function _generic_color_splitter(_arg1:Number, _arg2:Array):Array{ var _local3:Array = new Array(); _local3.push({name:_arg2[0], value:AuxFunctions.numberToR(_arg1)}); _local3.push({name:_arg2[1], value:AuxFunctions.numberToG(_arg1)}); _local3.push({name:_arg2[2], value:AuxFunctions.numberToB(_arg1)}); return (_local3); } public static function _generic_point_splitter(_arg1:Point, _arg2:Array):Array{ var _local3:Array = new Array(); _local3.push({name:_arg2[0], value:_arg1.x}); _local3.push({name:_arg2[1], value:_arg1.y}); return (_local3); } public static function _generic_matrix_splitter(_arg1:Array, _arg2:Array):Array{ if (_arg1 == null){ _arg1 = _arg2[0].concat(); }; var _local3:Array = new Array(); var _local4:Number = 0; while (_local4 < _arg1.length) { _local3.push({name:_arg2[1][_local4], value:_arg1[_local4]}); _local4++; }; return (_local3); } public static function _filter_splitter(_arg1:BitmapFilter, _arg2:Array, _arg3:Object=null):Array{ var _local4:Array = new Array(); if ((_arg1 is BevelFilter)){ _local4.push({name:"_Bevel_angle", value:BevelFilter(_arg1).angle}); _local4.push({name:"_Bevel_blurX", value:BevelFilter(_arg1).blurX}); _local4.push({name:"_Bevel_blurY", value:BevelFilter(_arg1).blurY}); _local4.push({name:"_Bevel_distance", value:BevelFilter(_arg1).distance}); _local4.push({name:"_Bevel_highlightAlpha", value:BevelFilter(_arg1).highlightAlpha}); _local4.push({name:"_Bevel_highlightColor", value:BevelFilter(_arg1).highlightColor}); _local4.push({name:"_Bevel_knockout", value:BevelFilter(_arg1).knockout}); _local4.push({name:"_Bevel_quality", value:BevelFilter(_arg1).quality}); _local4.push({name:"_Bevel_shadowAlpha", value:BevelFilter(_arg1).shadowAlpha}); _local4.push({name:"_Bevel_shadowColor", value:BevelFilter(_arg1).shadowColor}); _local4.push({name:"_Bevel_strength", value:BevelFilter(_arg1).strength}); _local4.push({name:"_Bevel_type", value:BevelFilter(_arg1).type}); } else { if ((_arg1 is BlurFilter)){ _local4.push({name:"_Blur_blurX", value:BlurFilter(_arg1).blurX}); _local4.push({name:"_Blur_blurY", value:BlurFilter(_arg1).blurY}); _local4.push({name:"_Blur_quality", value:BlurFilter(_arg1).quality}); } else { if ((_arg1 is ColorMatrixFilter)){ _local4.push({name:"_ColorMatrix_matrix", value:ColorMatrixFilter(_arg1).matrix}); } else { if ((_arg1 is ConvolutionFilter)){ _local4.push({name:"_Convolution_alpha", value:ConvolutionFilter(_arg1).alpha}); _local4.push({name:"_Convolution_bias", value:ConvolutionFilter(_arg1).bias}); _local4.push({name:"_Convolution_clamp", value:ConvolutionFilter(_arg1).clamp}); _local4.push({name:"_Convolution_color", value:ConvolutionFilter(_arg1).color}); _local4.push({name:"_Convolution_divisor", value:ConvolutionFilter(_arg1).divisor}); _local4.push({name:"_Convolution_matrixX", value:ConvolutionFilter(_arg1).matrixX}); _local4.push({name:"_Convolution_matrixY", value:ConvolutionFilter(_arg1).matrixY}); _local4.push({name:"_Convolution_preserveAlpha", value:ConvolutionFilter(_arg1).preserveAlpha}); } else { if ((_arg1 is DisplacementMapFilter)){ _local4.push({name:"_DisplacementMap_alpha", value:DisplacementMapFilter(_arg1).alpha}); _local4.push({name:"_DisplacementMap_color", value:DisplacementMapFilter(_arg1).color}); _local4.push({name:"_DisplacementMap_componentX", value:DisplacementMapFilter(_arg1).componentX}); _local4.push({name:"_DisplacementMap_componentY", value:DisplacementMapFilter(_arg1).componentY}); _local4.push({name:"_DisplacementMap_mapBitmap", value:DisplacementMapFilter(_arg1).mapBitmap}); _local4.push({name:"_DisplacementMap_mapPoint", value:DisplacementMapFilter(_arg1).mapPoint}); _local4.push({name:"_DisplacementMap_mode", value:DisplacementMapFilter(_arg1).mode}); _local4.push({name:"_DisplacementMap_scaleX", value:DisplacementMapFilter(_arg1).scaleX}); _local4.push({name:"_DisplacementMap_scaleY", value:DisplacementMapFilter(_arg1).scaleY}); } else { if ((_arg1 is DropShadowFilter)){ _local4.push({name:"_DropShadow_alpha", value:DropShadowFilter(_arg1).alpha}); _local4.push({name:"_DropShadow_angle", value:DropShadowFilter(_arg1).angle}); _local4.push({name:"_DropShadow_blurX", value:DropShadowFilter(_arg1).blurX}); _local4.push({name:"_DropShadow_blurY", value:DropShadowFilter(_arg1).blurY}); _local4.push({name:"_DropShadow_color", value:DropShadowFilter(_arg1).color}); _local4.push({name:"_DropShadow_distance", value:DropShadowFilter(_arg1).distance}); _local4.push({name:"_DropShadow_hideObject", value:DropShadowFilter(_arg1).hideObject}); _local4.push({name:"_DropShadow_inner", value:DropShadowFilter(_arg1).inner}); _local4.push({name:"_DropShadow_knockout", value:DropShadowFilter(_arg1).knockout}); _local4.push({name:"_DropShadow_quality", value:DropShadowFilter(_arg1).quality}); _local4.push({name:"_DropShadow_strength", value:DropShadowFilter(_arg1).strength}); } else { if ((_arg1 is GlowFilter)){ _local4.push({name:"_Glow_alpha", value:GlowFilter(_arg1).alpha}); _local4.push({name:"_Glow_blurX", value:GlowFilter(_arg1).blurX}); _local4.push({name:"_Glow_blurY", value:GlowFilter(_arg1).blurY}); _local4.push({name:"_Glow_color", value:GlowFilter(_arg1).color}); _local4.push({name:"_Glow_inner", value:GlowFilter(_arg1).inner}); _local4.push({name:"_Glow_knockout", value:GlowFilter(_arg1).knockout}); _local4.push({name:"_Glow_quality", value:GlowFilter(_arg1).quality}); _local4.push({name:"_Glow_strength", value:GlowFilter(_arg1).strength}); } else { if ((_arg1 is GradientBevelFilter)){ _local4.push({name:"_GradientBevel_angle", value:GradientBevelFilter(_arg1).strength}); _local4.push({name:"_GradientBevel_blurX", value:GradientBevelFilter(_arg1).blurX}); _local4.push({name:"_GradientBevel_blurY", value:GradientBevelFilter(_arg1).blurY}); _local4.push({name:"_GradientBevel_distance", value:GradientBevelFilter(_arg1).distance}); _local4.push({name:"_GradientBevel_quality", value:GradientBevelFilter(_arg1).quality}); _local4.push({name:"_GradientBevel_strength", value:GradientBevelFilter(_arg1).strength}); _local4.push({name:"_GradientBevel_type", value:GradientBevelFilter(_arg1).type}); } else { if ((_arg1 is GradientGlowFilter)){ _local4.push({name:"_GradientGlow_angle", value:GradientGlowFilter(_arg1).strength}); _local4.push({name:"_GradientGlow_blurX", value:GradientGlowFilter(_arg1).blurX}); _local4.push({name:"_GradientGlow_blurY", value:GradientGlowFilter(_arg1).blurY}); _local4.push({name:"_GradientGlow_distance", value:GradientGlowFilter(_arg1).distance}); _local4.push({name:"_GradientGlow_knockout", value:GradientGlowFilter(_arg1).knockout}); _local4.push({name:"_GradientGlow_quality", value:GradientGlowFilter(_arg1).quality}); _local4.push({name:"_GradientGlow_strength", value:GradientGlowFilter(_arg1).strength}); _local4.push({name:"_GradientGlow_type", value:GradientGlowFilter(_arg1).type}); //unresolved jump }; }; }; }; }; }; }; }; }; return (_local4); } } }//package caurina.transitions.properties
Section 3
//AuxFunctions (caurina.transitions.AuxFunctions) package caurina.transitions { public class AuxFunctions { public static function getObjectLength(_arg1:Object):uint{ var _local3:String; var _local2:uint; for (_local3 in _arg1) { _local2++; }; return (_local2); } public static function numberToG(_arg1:Number):Number{ return (((_arg1 & 0xFF00) >> 8)); } public static function numberToB(_arg1:Number):Number{ return ((_arg1 & 0xFF)); } public static function numberToR(_arg1:Number):Number{ return (((_arg1 & 0xFF0000) >> 16)); } public static function concatObjects(... _args):Object{ var _local3:Object; var _local5:String; var _local2:Object = {}; var _local4:int; while (_local4 < _args.length) { _local3 = _args[_local4]; for (_local5 in _local3) { if (_local3[_local5] == null){ delete _local2[_local5]; } else { _local2[_local5] = _local3[_local5]; }; }; _local4++; }; return (_local2); } } }//package caurina.transitions
Section 4
//Equations (caurina.transitions.Equations) package caurina.transitions { public class Equations { public static function easeOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); if (_arg1 < (1 / 2.75)){ return (((_arg3 * ((7.5625 * _arg1) * _arg1)) + _arg2)); }; if (_arg1 < (2 / 2.75)){ _arg1 = (_arg1 - (1.5 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.75)) + _arg2)); }; if (_arg1 < (2.5 / 2.75)){ _arg1 = (_arg1 - (2.25 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.9375)) + _arg2)); }; _arg1 = (_arg1 - (2.625 / 2.75)); return (((_arg3 * (((7.5625 * _arg1) * _arg1) + 0.984375)) + _arg2)); } public static function easeInOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 == 2){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * (0.3 * 1.5)) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; if (_arg1 < 1){ --_arg1; return (((-0.5 * ((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); }; --_arg1; return ((((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) * 0.5) + _arg3) + _arg2)); } public static function easeInOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * _arg1) * _arg1) + _arg2)); }; --_arg1; return ((((-(_arg3) / 2) * ((_arg1 * (_arg1 - 2)) - 1)) + _arg2)); } public static function easeInOutBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (((easeInBounce((_arg1 * 2), 0, _arg3, _arg4) * 0.5) + _arg2)); }; return ((((easeOutBounce(((_arg1 * 2) - _arg4), 0, _arg3, _arg4) * 0.5) + (_arg3 * 0.5)) + _arg2)); } public static function easeInOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * ((_arg1 * _arg1) * (((_local6 + 1) * _arg1) - _local6))) + _arg2)); }; _arg1 = (_arg1 - 2); _local6 = (_local6 * 1.525); return ((((_arg3 / 2) * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 2)) + _arg2)); } public static function easeOutInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCubic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCubic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeNone(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((_arg3 * _arg1) / _arg4) + _arg2)); } public static function easeOutBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * (((_local6 + 1) * _arg1) + _local6)) + 1)) + _arg2)); } public static function easeInOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) / 2) * (Math.cos(((Math.PI * _arg1) / _arg4)) - 1)) + _arg2)); } public static function easeInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.overshoot)))) ? 1.70158 : _arg5.overshoot; _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * (((_local6 + 1) * _arg1) - _local6)) + _arg2)); } public static function easeInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeOutInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuint((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuint(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBounce((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBounce(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function init():void{ Tweener.registerTransition("easenone", easeNone); Tweener.registerTransition("linear", easeNone); Tweener.registerTransition("easeinquad", easeInQuad); Tweener.registerTransition("easeoutquad", easeOutQuad); Tweener.registerTransition("easeinoutquad", easeInOutQuad); Tweener.registerTransition("easeoutinquad", easeOutInQuad); Tweener.registerTransition("easeincubic", easeInCubic); Tweener.registerTransition("easeoutcubic", easeOutCubic); Tweener.registerTransition("easeinoutcubic", easeInOutCubic); Tweener.registerTransition("easeoutincubic", easeOutInCubic); Tweener.registerTransition("easeinquart", easeInQuart); Tweener.registerTransition("easeoutquart", easeOutQuart); Tweener.registerTransition("easeinoutquart", easeInOutQuart); Tweener.registerTransition("easeoutinquart", easeOutInQuart); Tweener.registerTransition("easeinquint", easeInQuint); Tweener.registerTransition("easeoutquint", easeOutQuint); Tweener.registerTransition("easeinoutquint", easeInOutQuint); Tweener.registerTransition("easeoutinquint", easeOutInQuint); Tweener.registerTransition("easeinsine", easeInSine); Tweener.registerTransition("easeoutsine", easeOutSine); Tweener.registerTransition("easeinoutsine", easeInOutSine); Tweener.registerTransition("easeoutinsine", easeOutInSine); Tweener.registerTransition("easeincirc", easeInCirc); Tweener.registerTransition("easeoutcirc", easeOutCirc); Tweener.registerTransition("easeinoutcirc", easeInOutCirc); Tweener.registerTransition("easeoutincirc", easeOutInCirc); Tweener.registerTransition("easeinexpo", easeInExpo); Tweener.registerTransition("easeoutexpo", easeOutExpo); Tweener.registerTransition("easeinoutexpo", easeInOutExpo); Tweener.registerTransition("easeoutinexpo", easeOutInExpo); Tweener.registerTransition("easeinelastic", easeInElastic); Tweener.registerTransition("easeoutelastic", easeOutElastic); Tweener.registerTransition("easeinoutelastic", easeInOutElastic); Tweener.registerTransition("easeoutinelastic", easeOutInElastic); Tweener.registerTransition("easeinback", easeInBack); Tweener.registerTransition("easeoutback", easeOutBack); Tweener.registerTransition("easeinoutback", easeInOutBack); Tweener.registerTransition("easeoutinback", easeOutInBack); Tweener.registerTransition("easeinbounce", easeInBounce); Tweener.registerTransition("easeoutbounce", easeOutBounce); Tweener.registerTransition("easeinoutbounce", easeInOutBounce); Tweener.registerTransition("easeoutinbounce", easeOutInBounce); } public static function easeOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==_arg4) ? (_arg2 + _arg3) : (((_arg3 * 1.001) * (-(Math.pow(2, ((-10 * _arg1) / _arg4))) + 1)) + _arg2)); } public static function easeOutInBack(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutBack((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInBack(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg1)==0) ? _arg2 : (((_arg3 * Math.pow(2, (10 * ((_arg1 / _arg4) - 1)))) + _arg2) - (_arg3 * 0.001))); } public static function easeInCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((_arg3 * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((((((_arg3 * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); } public static function easeInOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((-(_arg3) / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (Math.sqrt((1 - (_arg1 * _arg1))) + 1)) + _arg2)); } public static function easeInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((_arg3 * _arg1) * _arg1) + _arg2)); } public static function easeInBounce(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 - easeOutBounce((_arg4 - _arg1), 0, _arg3, _arg4)) + _arg2)); } public static function easeOutInExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutExpo((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInExpo(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((-(_arg3) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 1)) + _arg2)); } public static function easeInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return ((((-(_arg3) * Math.cos(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg3) + _arg2)); } public static function easeInOutQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((-(_arg3) / 2) * ((((_arg1 * _arg1) * _arg1) * _arg1) - 2)) + _arg2)); } public static function easeOutQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2)); } public static function easeOutInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutElastic((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInElastic(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; --_arg1; return ((-(((_local8 * Math.pow(2, (10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6)))) + _arg2)); } public static function easeOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((_arg1 * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 1)) + _arg2)); } public static function easeOutInQuad(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuad((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuad(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ return (((_arg3 * Math.sin(((_arg1 / _arg4) * (Math.PI / 2)))) + _arg2)); } public static function easeInOutCubic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((_arg1 * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInOutQuint(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return ((((((((_arg3 / 2) * _arg1) * _arg1) * _arg1) * _arg1) * _arg1) + _arg2)); }; _arg1 = (_arg1 - 2); return ((((_arg3 / 2) * (((((_arg1 * _arg1) * _arg1) * _arg1) * _arg1) + 2)) + _arg2)); } public static function easeInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = (_arg1 / _arg4); return (((-(_arg3) * (Math.sqrt((1 - (_arg1 * _arg1))) - 1)) + _arg2)); } public static function easeOutInSine(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutSine((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInSine(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeInOutExpo(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 == 0){ return (_arg2); }; if (_arg1 == _arg4){ return ((_arg2 + _arg3)); }; _arg1 = (_arg1 / (_arg4 / 2)); if (_arg1 < 1){ return (((((_arg3 / 2) * Math.pow(2, (10 * (_arg1 - 1)))) + _arg2) - (_arg3 * 0.0005))); }; --_arg1; return (((((_arg3 / 2) * 1.0005) * (-(Math.pow(2, (-10 * _arg1))) + 2)) + _arg2)); } public static function easeOutElastic(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ var _local7:Number; if (_arg1 == 0){ return (_arg2); }; _arg1 = (_arg1 / _arg4); if (_arg1 == 1){ return ((_arg2 + _arg3)); }; var _local6:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.period)))) ? (_arg4 * 0.3) : _arg5.period; var _local8:Number = (((!(Boolean(_arg5))) || (isNaN(_arg5.amplitude)))) ? 0 : _arg5.amplitude; if (((!(Boolean(_local8))) || ((_local8 < Math.abs(_arg3))))){ _local8 = _arg3; _local7 = (_local6 / 4); } else { _local7 = ((_local6 / (2 * Math.PI)) * Math.asin((_arg3 / _local8))); }; return (((((_local8 * Math.pow(2, (-10 * _arg1))) * Math.sin(((((_arg1 * _arg4) - _local7) * (2 * Math.PI)) / _local6))) + _arg3) + _arg2)); } public static function easeOutCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ _arg1 = ((_arg1 / _arg4) - 1); return (((_arg3 * Math.sqrt((1 - (_arg1 * _arg1)))) + _arg2)); } public static function easeOutInQuart(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutQuart((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInQuart(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } public static function easeOutInCirc(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Object=null):Number{ if (_arg1 < (_arg4 / 2)){ return (easeOutCirc((_arg1 * 2), _arg2, (_arg3 / 2), _arg4, _arg5)); }; return (easeInCirc(((_arg1 * 2) - _arg4), (_arg2 + (_arg3 / 2)), (_arg3 / 2), _arg4, _arg5)); } } }//package caurina.transitions
Section 5
//PropertyInfoObj (caurina.transitions.PropertyInfoObj) package caurina.transitions { public class PropertyInfoObj { public var modifierParameters:Array; public var isSpecialProperty:Boolean; public var valueComplete:Number; public var modifierFunction:Function; public var extra:Object; public var valueStart:Number; public var hasModifier:Boolean; public var arrayIndex:Number; public var originalValueComplete:Object; public function PropertyInfoObj(_arg1:Number, _arg2:Number, _arg3:Object, _arg4:Number, _arg5:Object, _arg6:Boolean, _arg7:Function, _arg8:Array){ valueStart = _arg1; valueComplete = _arg2; originalValueComplete = _arg3; arrayIndex = _arg4; extra = _arg5; isSpecialProperty = _arg6; hasModifier = Boolean(_arg7); modifierFunction = _arg7; modifierParameters = _arg8; } public function toString():String{ var _local1 = "\n[PropertyInfoObj "; _local1 = (_local1 + ("valueStart:" + String(valueStart))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("valueComplete:" + String(valueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("originalValueComplete:" + String(originalValueComplete))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("arrayIndex:" + String(arrayIndex))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("extra:" + String(extra))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("isSpecialProperty:" + String(isSpecialProperty))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("hasModifier:" + String(hasModifier))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierFunction:" + String(modifierFunction))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("modifierParameters:" + String(modifierParameters))); _local1 = (_local1 + "]\n"); return (_local1); } public function clone():PropertyInfoObj{ var _local1:PropertyInfoObj = new PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, modifierFunction, modifierParameters); return (_local1); } } }//package caurina.transitions
Section 6
//SpecialProperty (caurina.transitions.SpecialProperty) package caurina.transitions { public class SpecialProperty { public var parameters:Array; public var getValue:Function; public var preProcess:Function; public var setValue:Function; public function SpecialProperty(_arg1:Function, _arg2:Function, _arg3:Array=null, _arg4:Function=null){ getValue = _arg1; setValue = _arg2; parameters = _arg3; preProcess = _arg4; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialProperty "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("setValue:" + String(setValue))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("preProcess:" + String(preProcess))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 7
//SpecialPropertyModifier (caurina.transitions.SpecialPropertyModifier) package caurina.transitions { public class SpecialPropertyModifier { public var getValue:Function; public var modifyValues:Function; public function SpecialPropertyModifier(_arg1:Function, _arg2:Function){ modifyValues = _arg1; getValue = _arg2; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialPropertyModifier "); _local1 = (_local1 + ("modifyValues:" + String(modifyValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("getValue:" + String(getValue))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 8
//SpecialPropertySplitter (caurina.transitions.SpecialPropertySplitter) package caurina.transitions { public class SpecialPropertySplitter { public var parameters:Array; public var splitValues:Function; public function SpecialPropertySplitter(_arg1:Function, _arg2:Array){ splitValues = _arg1; parameters = _arg2; } public function toString():String{ var _local1 = ""; _local1 = (_local1 + "[SpecialPropertySplitter "); _local1 = (_local1 + ("splitValues:" + String(splitValues))); _local1 = (_local1 + ", "); _local1 = (_local1 + ("parameters:" + String(parameters))); _local1 = (_local1 + "]"); return (_local1); } } }//package caurina.transitions
Section 9
//Tweener (caurina.transitions.Tweener) package caurina.transitions { import flash.events.*; import flash.display.*; import flash.utils.*; public class Tweener { private static var _timeScale:Number = 1; private static var _currentTimeFrame:Number; private static var _specialPropertySplitterList:Object; public static var autoOverwrite:Boolean = true; private static var _engineExists:Boolean = false; private static var _currentTime:Number; private static var _tweenList:Array; private static var _specialPropertyModifierList:Object; private static var _specialPropertyList:Object; private static var _transitionList:Object; private static var _inited:Boolean = false; private static var __tweener_controller__:MovieClip; public static function registerSpecialPropertyModifier(_arg1:String, _arg2:Function, _arg3:Function):void{ if (!_inited){ init(); }; var _local4:SpecialPropertyModifier = new SpecialPropertyModifier(_arg2, _arg3); _specialPropertyModifierList[_arg1] = _local4; } public static function registerSpecialProperty(_arg1:String, _arg2:Function, _arg3:Function, _arg4:Array=null, _arg5:Function=null):void{ if (!_inited){ init(); }; var _local6:SpecialProperty = new SpecialProperty(_arg2, _arg3, _arg4, _arg5); _specialPropertyList[_arg1] = _local6; } public static function init(... _args):void{ _inited = true; _transitionList = new Object(); Equations.init(); _specialPropertyList = new Object(); _specialPropertyModifierList = new Object(); _specialPropertySplitterList = new Object(); } private static function updateTweens():Boolean{ var _local1:int; if (_tweenList.length == 0){ return (false); }; _local1 = 0; while (_local1 < _tweenList.length) { if ((((_tweenList[_local1] == undefined)) || (!(_tweenList[_local1].isPaused)))){ if (!updateTweenByIndex(_local1)){ removeTweenByIndex(_local1); }; if (_tweenList[_local1] == null){ removeTweenByIndex(_local1, true); _local1--; }; }; _local1++; }; return (true); } public static function addCaller(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Array; var _local8:Function; var _local9:TweenListObj; var _local10:Number; var _local11:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local4 = _arg1.concat(); } else { _local4 = [_arg1]; }; var _local5:Object = _arg2; if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; var _local6:Number = (isNaN(_local5.time)) ? 0 : _local5.time; var _local7:Number = (isNaN(_local5.delay)) ? 0 : _local5.delay; if (typeof(_local5.transition) == "string"){ _local11 = _local5.transition.toLowerCase(); _local8 = _transitionList[_local11]; } else { _local8 = _local5.transition; }; if (!Boolean(_local8)){ _local8 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local4.length) { if (_local5.useFrames == true){ _local9 = new TweenListObj(_local4[_local3], (_currentTimeFrame + (_local7 / _timeScale)), (_currentTimeFrame + ((_local7 + _local6) / _timeScale)), true, _local8, _local5.transitionParams); } else { _local9 = new TweenListObj(_local4[_local3], (_currentTime + ((_local7 * 1000) / _timeScale)), (_currentTime + (((_local7 * 1000) + (_local6 * 1000)) / _timeScale)), false, _local8, _local5.transitionParams); }; _local9.properties = null; _local9.onStart = _local5.onStart; _local9.onUpdate = _local5.onUpdate; _local9.onComplete = _local5.onComplete; _local9.onOverwrite = _local5.onOverwrite; _local9.onStartParams = _local5.onStartParams; _local9.onUpdateParams = _local5.onUpdateParams; _local9.onCompleteParams = _local5.onCompleteParams; _local9.onOverwriteParams = _local5.onOverwriteParams; _local9.onStartScope = _local5.onStartScope; _local9.onUpdateScope = _local5.onUpdateScope; _local9.onCompleteScope = _local5.onCompleteScope; _local9.onOverwriteScope = _local5.onOverwriteScope; _local9.onErrorScope = _local5.onErrorScope; _local9.isCaller = true; _local9.count = _local5.count; _local9.waitFrames = _local5.waitFrames; _tweenList.push(_local9); if ((((_local6 == 0)) && ((_local7 == 0)))){ _local10 = (_tweenList.length - 1); updateTweenByIndex(_local10); removeTweenByIndex(_local10); }; _local3++; }; return (true); } public static function pauseAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { pauseTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function removeTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local5:SpecialPropertySplitter; var _local6:Array; var _local7:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ if (_specialPropertySplitterList[_args[_local4]]){ _local5 = _specialPropertySplitterList[_args[_local4]]; _local6 = _local5.splitValues(_arg1, null); _local7 = 0; while (_local7 < _local6.length) { _local3.push(_local6[_local7].name); _local7++; }; } else { _local3.push(_args[_local4]); }; }; _local4++; }; return (affectTweens(removeTweenByIndex, _arg1, _local3)); } public static function updateFrame():void{ _currentTimeFrame++; } public static function splitTweens(_arg1:Number, _arg2:Array):uint{ var _local5:uint; var _local6:String; var _local7:Boolean; var _local3:TweenListObj = _tweenList[_arg1]; var _local4:TweenListObj = _local3.clone(false); _local5 = 0; while (_local5 < _arg2.length) { _local6 = _arg2[_local5]; if (Boolean(_local3.properties[_local6])){ _local3.properties[_local6] = undefined; delete _local3.properties[_local6]; }; _local5++; }; for (_local6 in _local4.properties) { _local7 = false; _local5 = 0; while (_local5 < _arg2.length) { if (_arg2[_local5] == _local6){ _local7 = true; break; }; _local5++; }; if (!_local7){ _local4.properties[_local6] = undefined; delete _local4.properties[_local6]; }; }; _tweenList.push(_local4); return ((_tweenList.length - 1)); } public static function resumeTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj = _tweenList[_arg1]; if ((((_local2 == null)) || (!(_local2.isPaused)))){ return (false); }; var _local3:Number = getCurrentTweeningTime(_local2); _local2.timeStart = (_local2.timeStart + (_local3 - _local2.timePaused)); _local2.timeComplete = (_local2.timeComplete + (_local3 - _local2.timePaused)); _local2.timePaused = undefined; _local2.isPaused = false; return (true); } public static function getVersion():String{ return ("AS3 1.33.74"); } public static function onEnterFrame(_arg1:Event):void{ updateTime(); updateFrame(); var _local2:Boolean; _local2 = updateTweens(); if (!_local2){ stopEngine(); }; } public static function updateTime():void{ _currentTime = getTimer(); } private static function updateTweenByIndex(_arg1:Number):Boolean{ var tTweening:TweenListObj; var mustUpdate:Boolean; var nv:Number; var t:Number; var b:Number; var c:Number; var d:Number; var pName:String; var eventScope:Object; var tScope:Object; var tProperty:Object; var pv:Number; var i = _arg1; tTweening = _tweenList[i]; if ((((tTweening == null)) || (!(Boolean(tTweening.scope))))){ return (false); }; var isOver:Boolean; var cTime:Number = getCurrentTweeningTime(tTweening); if (cTime >= tTweening.timeStart){ tScope = tTweening.scope; if (tTweening.isCaller){ do { t = (((tTweening.timeComplete - tTweening.timeStart) / tTweening.count) * (tTweening.timesCalled + 1)); b = tTweening.timeStart; c = (tTweening.timeComplete - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d); } while (!(cTime >= nv)); } else { mustUpdate = (((((tTweening.skipUpdates < 1)) || (!(tTweening.skipUpdates)))) || ((tTweening.updatesSkipped >= tTweening.skipUpdates))); if (cTime >= tTweening.timeComplete){ isOver = true; mustUpdate = true; }; if (!tTweening.hasStarted){ if (Boolean(tTweening.onStart)){ eventScope = (Boolean(tTweening.onStartScope)) ? tTweening.onStartScope : tScope; try { tTweening.onStart.apply(eventScope, tTweening.onStartParams); } catch(e2:Error) { handleError(tTweening, e2, "onStart"); }; }; for (pName in tTweening.properties) { if (tTweening.properties[pName].isSpecialProperty){ if (Boolean(_specialPropertyList[pName].preProcess)){ tTweening.properties[pName].valueComplete = _specialPropertyList[pName].preProcess(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].originalValueComplete, tTweening.properties[pName].extra); }; pv = _specialPropertyList[pName].getValue(tScope, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { pv = tScope[pName]; }; tTweening.properties[pName].valueStart = (isNaN(pv)) ? tTweening.properties[pName].valueComplete : pv; }; mustUpdate = true; tTweening.hasStarted = true; }; if (mustUpdate){ for (pName in tTweening.properties) { tProperty = tTweening.properties[pName]; if (isOver){ nv = tProperty.valueComplete; } else { if (tProperty.hasModifier){ t = (cTime - tTweening.timeStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, 0, 1, d, tTweening.transitionParams); nv = tProperty.modifierFunction(tProperty.valueStart, tProperty.valueComplete, nv, tProperty.modifierParameters); } else { t = (cTime - tTweening.timeStart); b = tProperty.valueStart; c = (tProperty.valueComplete - tProperty.valueStart); d = (tTweening.timeComplete - tTweening.timeStart); nv = tTweening.transition(t, b, c, d, tTweening.transitionParams); }; }; if (tTweening.rounded){ nv = Math.round(nv); }; if (tProperty.isSpecialProperty){ _specialPropertyList[pName].setValue(tScope, nv, _specialPropertyList[pName].parameters, tTweening.properties[pName].extra); } else { tScope[pName] = nv; }; }; tTweening.updatesSkipped = 0; if (Boolean(tTweening.onUpdate)){ eventScope = (Boolean(tTweening.onUpdateScope)) ? tTweening.onUpdateScope : tScope; try { tTweening.onUpdate.apply(eventScope, tTweening.onUpdateParams); } catch(e3:Error) { handleError(tTweening, e3, "onUpdate"); }; }; } else { tTweening.updatesSkipped++; }; }; if (((isOver) && (Boolean(tTweening.onComplete)))){ eventScope = (Boolean(tTweening.onCompleteScope)) ? tTweening.onCompleteScope : tScope; try { tTweening.onComplete.apply(eventScope, tTweening.onCompleteParams); } catch(e4:Error) { handleError(tTweening, e4, "onComplete"); }; }; return (!(isOver)); }; return (true); } public static function setTimeScale(_arg1:Number):void{ var _local2:Number; var _local3:Number; if (isNaN(_arg1)){ _arg1 = 1; }; if (_arg1 < 1E-5){ _arg1 = 1E-5; }; if (_arg1 != _timeScale){ if (_tweenList != null){ _local2 = 0; while (_local2 < _tweenList.length) { _local3 = getCurrentTweeningTime(_tweenList[_local2]); _tweenList[_local2].timeStart = (_local3 - (((_local3 - _tweenList[_local2].timeStart) * _timeScale) / _arg1)); _tweenList[_local2].timeComplete = (_local3 - (((_local3 - _tweenList[_local2].timeComplete) * _timeScale) / _arg1)); if (_tweenList[_local2].timePaused != undefined){ _tweenList[_local2].timePaused = (_local3 - (((_local3 - _tweenList[_local2].timePaused) * _timeScale) / _arg1)); }; _local2++; }; }; _timeScale = _arg1; }; } public static function resumeAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { resumeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } private static function handleError(_arg1:TweenListObj, _arg2:Error, _arg3:String):void{ var eventScope:Object; var pTweening = _arg1; var pError = _arg2; var pCallBackName = _arg3; if (((Boolean(pTweening.onError)) && ((pTweening.onError is Function)))){ eventScope = (Boolean(pTweening.onErrorScope)) ? pTweening.onErrorScope : pTweening.scope; try { pTweening.onError.apply(eventScope, [pTweening.scope, pError]); } catch(metaError:Error) { printError(((((String(pTweening.scope) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError.getStackTrace()) + "\nonError error: ") + metaError.getStackTrace())); }; } else { if (!Boolean(pTweening.onError)){ printError(((((String(pTweening.scope) + " raised an error while executing the '") + pCallBackName) + "'handler. \n") + pError.getStackTrace())); }; }; } private static function startEngine():void{ _engineExists = true; _tweenList = new Array(); __tweener_controller__ = new MovieClip(); __tweener_controller__.addEventListener(Event.ENTER_FRAME, _slot1.onEnterFrame); _currentTimeFrame = 0; updateTime(); } public static function removeAllTweens():Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; var _local1:Boolean; _local2 = 0; while (_local2 < _tweenList.length) { removeTweenByIndex(_local2); _local1 = true; _local2++; }; return (_local1); } public static function addTween(_arg1:Object=null, _arg2:Object=null):Boolean{ var _local3:Number; var _local4:Number; var _local5:String; var _local6:Array; var _local13:Function; var _local14:Object; var _local15:TweenListObj; var _local16:Number; var _local17:Array; var _local18:Array; var _local19:Array; var _local20:String; if (!Boolean(_arg1)){ return (false); }; if ((_arg1 is Array)){ _local6 = _arg1.concat(); } else { _local6 = [_arg1]; }; var _local7:Object = TweenListObj.makePropertiesChain(_arg2); if (!_inited){ init(); }; if (((!(_engineExists)) || (!(Boolean(__tweener_controller__))))){ startEngine(); }; var _local8:Number = (isNaN(_local7.time)) ? 0 : _local7.time; var _local9:Number = (isNaN(_local7.delay)) ? 0 : _local7.delay; var _local10:Array = new Array(); var _local11:Object = {overwrite:true, time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true}; var _local12:Object = new Object(); for (_local5 in _local7) { if (!_local11[_local5]){ if (_specialPropertySplitterList[_local5]){ _local17 = _specialPropertySplitterList[_local5].splitValues(_local7[_local5], _specialPropertySplitterList[_local5].parameters); _local3 = 0; while (_local3 < _local17.length) { if (_specialPropertySplitterList[_local17[_local3].name]){ _local18 = _specialPropertySplitterList[_local17[_local3].name].splitValues(_local17[_local3].value, _specialPropertySplitterList[_local17[_local3].name].parameters); _local4 = 0; while (_local4 < _local18.length) { _local10[_local18[_local4].name] = {valueStart:undefined, valueComplete:_local18[_local4].value, arrayIndex:_local18[_local4].arrayIndex, isSpecialProperty:false}; _local4++; }; } else { _local10[_local17[_local3].name] = {valueStart:undefined, valueComplete:_local17[_local3].value, arrayIndex:_local17[_local3].arrayIndex, isSpecialProperty:false}; }; _local3++; }; } else { if (_specialPropertyModifierList[_local5] != undefined){ _local19 = _specialPropertyModifierList[_local5].modifyValues(_local7[_local5]); _local3 = 0; while (_local3 < _local19.length) { _local12[_local19[_local3].name] = {modifierParameters:_local19[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local5].getValue}; _local3++; }; } else { _local10[_local5] = {valueStart:undefined, valueComplete:_local7[_local5]}; }; }; }; }; for (_local5 in _local10) { if (_specialPropertyList[_local5] != undefined){ _local10[_local5].isSpecialProperty = true; } else { if (_local6[0][_local5] == undefined){ printError((((("The property '" + _local5) + "' doesn't seem to be a normal object property of ") + String(_local6[0])) + " or a registered special property.")); }; }; }; for (_local5 in _local12) { if (_local10[_local5] != undefined){ _local10[_local5].modifierParameters = _local12[_local5].modifierParameters; _local10[_local5].modifierFunction = _local12[_local5].modifierFunction; }; }; if (typeof(_local7.transition) == "string"){ _local20 = _local7.transition.toLowerCase(); _local13 = _transitionList[_local20]; } else { _local13 = _local7.transition; }; if (!Boolean(_local13)){ _local13 = _transitionList["easeoutexpo"]; }; _local3 = 0; while (_local3 < _local6.length) { _local14 = new Object(); for (_local5 in _local10) { _local14[_local5] = new PropertyInfoObj(_local10[_local5].valueStart, _local10[_local5].valueComplete, _local10[_local5].valueComplete, _local10[_local5].arrayIndex, {}, _local10[_local5].isSpecialProperty, _local10[_local5].modifierFunction, _local10[_local5].modifierParameters); }; if (_local7.useFrames == true){ _local15 = new TweenListObj(_local6[_local3], (_currentTimeFrame + (_local9 / _timeScale)), (_currentTimeFrame + ((_local9 + _local8) / _timeScale)), true, _local13, _local7.transitionParams); } else { _local15 = new TweenListObj(_local6[_local3], (_currentTime + ((_local9 * 1000) / _timeScale)), (_currentTime + (((_local9 * 1000) + (_local8 * 1000)) / _timeScale)), false, _local13, _local7.transitionParams); }; _local15.properties = _local14; _local15.onStart = _local7.onStart; _local15.onUpdate = _local7.onUpdate; _local15.onComplete = _local7.onComplete; _local15.onOverwrite = _local7.onOverwrite; _local15.onError = _local7.onError; _local15.onStartParams = _local7.onStartParams; _local15.onUpdateParams = _local7.onUpdateParams; _local15.onCompleteParams = _local7.onCompleteParams; _local15.onOverwriteParams = _local7.onOverwriteParams; _local15.onStartScope = _local7.onStartScope; _local15.onUpdateScope = _local7.onUpdateScope; _local15.onCompleteScope = _local7.onCompleteScope; _local15.onOverwriteScope = _local7.onOverwriteScope; _local15.onErrorScope = _local7.onErrorScope; _local15.rounded = _local7.rounded; _local15.skipUpdates = _local7.skipUpdates; if (((_local7.overwrite == undefined)) ? autoOverwrite : _local7.overwrite){ removeTweensByTime(_local15.scope, _local15.properties, _local15.timeStart, _local15.timeComplete); }; _tweenList.push(_local15); if ((((_local8 == 0)) && ((_local9 == 0)))){ _local16 = (_tweenList.length - 1); updateTweenByIndex(_local16); removeTweenByIndex(_local16); }; _local3++; }; return (true); } public static function registerTransition(_arg1:String, _arg2:Function):void{ if (!_inited){ init(); }; _transitionList[_arg1] = _arg2; } public static function printError(_arg1:String):void{ } private static function affectTweens(_arg1:Function, _arg2:Object, _arg3:Array):Boolean{ var _local5:uint; var _local6:Array; var _local7:uint; var _local8:uint; var _local9:uint; var _local4:Boolean; if (!Boolean(_tweenList)){ return (false); }; _local5 = 0; while (_local5 < _tweenList.length) { if (((_tweenList[_local5]) && ((_tweenList[_local5].scope == _arg2)))){ if (_arg3.length == 0){ _arg1(_local5); _local4 = true; } else { _local6 = new Array(); _local7 = 0; while (_local7 < _arg3.length) { if (Boolean(_tweenList[_local5].properties[_arg3[_local7]])){ _local6.push(_arg3[_local7]); }; _local7++; }; if (_local6.length > 0){ _local8 = AuxFunctions.getObjectLength(_tweenList[_local5].properties); if (_local8 == _local6.length){ _arg1(_local5); _local4 = true; } else { _local9 = splitTweens(_local5, _local6); _arg1(_local9); _local4 = true; }; }; }; }; _local5++; }; return (_local4); } public static function getTweens(_arg1:Object):Array{ var _local2:uint; var _local3:String; if (!Boolean(_tweenList)){ return ([]); }; var _local4:Array = new Array(); _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ for (_local3 in _tweenList[_local2].properties) { _local4.push(_local3); }; }; _local2++; }; return (_local4); } public static function isTweening(_arg1:Object):Boolean{ var _local2:uint; if (!Boolean(_tweenList)){ return (false); }; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ return (true); }; _local2++; }; return (false); } public static function pauseTweenByIndex(_arg1:Number):Boolean{ var _local2:TweenListObj = _tweenList[_arg1]; if ((((_local2 == null)) || (_local2.isPaused))){ return (false); }; _local2.timePaused = getCurrentTweeningTime(_local2); _local2.isPaused = true; return (true); } public static function getCurrentTweeningTime(_arg1:Object):Number{ return ((_arg1.useFrames) ? _currentTimeFrame : _currentTime); } public static function getTweenCount(_arg1:Object):Number{ var _local2:uint; if (!Boolean(_tweenList)){ return (0); }; var _local3:Number = 0; _local2 = 0; while (_local2 < _tweenList.length) { if (((Boolean(_tweenList[_local2])) && ((_tweenList[_local2].scope == _arg1)))){ _local3 = (_local3 + AuxFunctions.getObjectLength(_tweenList[_local2].properties)); }; _local2++; }; return (_local3); } private static function stopEngine():void{ _engineExists = false; _tweenList = null; _currentTime = 0; _currentTimeFrame = 0; __tweener_controller__.removeEventListener(Event.ENTER_FRAME, _slot1.onEnterFrame); __tweener_controller__ = null; } public static function removeTweensByTime(_arg1:Object, _arg2:Object, _arg3:Number, _arg4:Number):Boolean{ var removedLocally:Boolean; var i:uint; var pName:String; var eventScope:Object; var p_scope = _arg1; var p_properties = _arg2; var p_timeStart = _arg3; var p_timeComplete = _arg4; var removed:Boolean; var tl:uint = _tweenList.length; i = 0; while (i < tl) { if (((Boolean(_tweenList[i])) && ((p_scope == _tweenList[i].scope)))){ if ((((p_timeComplete > _tweenList[i].timeStart)) && ((p_timeStart < _tweenList[i].timeComplete)))){ removedLocally = false; for (pName in _tweenList[i].properties) { if (Boolean(p_properties[pName])){ if (Boolean(_tweenList[i].onOverwrite)){ eventScope = (Boolean(_tweenList[i].onOverwriteScope)) ? _tweenList[i].onOverwriteScope : _tweenList[i].scope; try { _tweenList[i].onOverwrite.apply(eventScope, _tweenList[i].onOverwriteParams); } catch(e:Error) { handleError(_tweenList[i], e, "onOverwrite"); }; }; _tweenList[i].properties[pName] = undefined; delete _tweenList[i].properties[pName]; removedLocally = true; removed = true; }; }; if (removedLocally){ if (AuxFunctions.getObjectLength(_tweenList[i].properties) == 0){ removeTweenByIndex(i); }; }; }; }; i = (i + 1); }; return (removed); } public static function registerSpecialPropertySplitter(_arg1:String, _arg2:Function, _arg3:Array=null):void{ if (!_inited){ init(); }; var _local4:SpecialPropertySplitter = new SpecialPropertySplitter(_arg2, _arg3); _specialPropertySplitterList[_arg1] = _local4; } public static function removeTweenByIndex(_arg1:Number, _arg2:Boolean=false):Boolean{ _tweenList[_arg1] = null; if (_arg2){ _tweenList.splice(_arg1, 1); }; return (true); } public static function resumeTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(resumeTweenByIndex, _arg1, _local3)); } public static function pauseTweens(_arg1:Object, ... _args):Boolean{ var _local4:uint; var _local3:Array = new Array(); _local4 = 0; while (_local4 < _args.length) { if ((((typeof(_args[_local4]) == "string")) && ((_local3.indexOf(_args[_local4]) == -1)))){ _local3.push(_args[_local4]); }; _local4++; }; return (affectTweens(pauseTweenByIndex, _arg1, _local3)); } } }//package caurina.transitions
Section 10
//TweenListObj (caurina.transitions.TweenListObj) package caurina.transitions { public class TweenListObj { public var hasStarted:Boolean; public var onUpdate:Function; public var useFrames:Boolean; public var count:Number; public var onOverwriteParams:Array; public var timeStart:Number; public var timeComplete:Number; public var onStartParams:Array; public var onUpdateScope:Object; public var rounded:Boolean; public var onUpdateParams:Array; public var properties:Object; public var onComplete:Function; public var transitionParams:Object; public var updatesSkipped:Number; public var onStart:Function; public var onOverwriteScope:Object; public var skipUpdates:Number; public var onStartScope:Object; public var scope:Object; public var isCaller:Boolean; public var timePaused:Number; public var transition:Function; public var onCompleteParams:Array; public var onError:Function; public var timesCalled:Number; public var onErrorScope:Object; public var onOverwrite:Function; public var isPaused:Boolean; public var waitFrames:Boolean; public var onCompleteScope:Object; public function TweenListObj(_arg1:Object, _arg2:Number, _arg3:Number, _arg4:Boolean, _arg5:Function, _arg6:Object){ scope = _arg1; timeStart = _arg2; timeComplete = _arg3; useFrames = _arg4; transition = _arg5; transitionParams = _arg6; properties = new Object(); isPaused = false; timePaused = undefined; isCaller = false; updatesSkipped = 0; timesCalled = 0; skipUpdates = 0; hasStarted = false; } public function clone(_arg1:Boolean):TweenListObj{ var _local3:String; var _local2:TweenListObj = new TweenListObj(scope, timeStart, timeComplete, useFrames, transition, transitionParams); _local2.properties = new Array(); for (_local3 in properties) { _local2.properties[_local3] = properties[_local3].clone(); }; _local2.skipUpdates = skipUpdates; _local2.updatesSkipped = updatesSkipped; if (!_arg1){ _local2.onStart = onStart; _local2.onUpdate = onUpdate; _local2.onComplete = onComplete; _local2.onOverwrite = onOverwrite; _local2.onError = onError; _local2.onStartParams = onStartParams; _local2.onUpdateParams = onUpdateParams; _local2.onCompleteParams = onCompleteParams; _local2.onOverwriteParams = onOverwriteParams; _local2.onStartScope = onStartScope; _local2.onUpdateScope = onUpdateScope; _local2.onCompleteScope = onCompleteScope; _local2.onOverwriteScope = onOverwriteScope; _local2.onErrorScope = onErrorScope; }; _local2.rounded = rounded; _local2.isPaused = isPaused; _local2.timePaused = timePaused; _local2.isCaller = isCaller; _local2.count = count; _local2.timesCalled = timesCalled; _local2.waitFrames = waitFrames; _local2.hasStarted = hasStarted; return (_local2); } public function toString():String{ var _local3:String; var _local1 = "\n[TweenListObj "; _local1 = (_local1 + ("scope:" + String(scope))); _local1 = (_local1 + ", properties:"); var _local2:Boolean; for (_local3 in properties) { if (!_local2){ _local1 = (_local1 + ","); }; _local1 = (_local1 + ("[name:" + properties[_local3].name)); _local1 = (_local1 + (",valueStart:" + properties[_local3].valueStart)); _local1 = (_local1 + (",valueComplete:" + properties[_local3].valueComplete)); _local1 = (_local1 + "]"); _local2 = false; }; _local1 = (_local1 + (", timeStart:" + String(timeStart))); _local1 = (_local1 + (", timeComplete:" + String(timeComplete))); _local1 = (_local1 + (", useFrames:" + String(useFrames))); _local1 = (_local1 + (", transition:" + String(transition))); _local1 = (_local1 + (", transitionParams:" + String(transitionParams))); if (skipUpdates){ _local1 = (_local1 + (", skipUpdates:" + String(skipUpdates))); }; if (updatesSkipped){ _local1 = (_local1 + (", updatesSkipped:" + String(updatesSkipped))); }; if (Boolean(onStart)){ _local1 = (_local1 + (", onStart:" + String(onStart))); }; if (Boolean(onUpdate)){ _local1 = (_local1 + (", onUpdate:" + String(onUpdate))); }; if (Boolean(onComplete)){ _local1 = (_local1 + (", onComplete:" + String(onComplete))); }; if (Boolean(onOverwrite)){ _local1 = (_local1 + (", onOverwrite:" + String(onOverwrite))); }; if (Boolean(onError)){ _local1 = (_local1 + (", onError:" + String(onError))); }; if (onStartParams){ _local1 = (_local1 + (", onStartParams:" + String(onStartParams))); }; if (onUpdateParams){ _local1 = (_local1 + (", onUpdateParams:" + String(onUpdateParams))); }; if (onCompleteParams){ _local1 = (_local1 + (", onCompleteParams:" + String(onCompleteParams))); }; if (onOverwriteParams){ _local1 = (_local1 + (", onOverwriteParams:" + String(onOverwriteParams))); }; if (onStartScope){ _local1 = (_local1 + (", onStartScope:" + String(onStartScope))); }; if (onUpdateScope){ _local1 = (_local1 + (", onUpdateScope:" + String(onUpdateScope))); }; if (onCompleteScope){ _local1 = (_local1 + (", onCompleteScope:" + String(onCompleteScope))); }; if (onOverwriteScope){ _local1 = (_local1 + (", onOverwriteScope:" + String(onOverwriteScope))); }; if (onErrorScope){ _local1 = (_local1 + (", onErrorScope:" + String(onErrorScope))); }; if (rounded){ _local1 = (_local1 + (", rounded:" + String(rounded))); }; if (isPaused){ _local1 = (_local1 + (", isPaused:" + String(isPaused))); }; if (timePaused){ _local1 = (_local1 + (", timePaused:" + String(timePaused))); }; if (isCaller){ _local1 = (_local1 + (", isCaller:" + String(isCaller))); }; if (count){ _local1 = (_local1 + (", count:" + String(count))); }; if (timesCalled){ _local1 = (_local1 + (", timesCalled:" + String(timesCalled))); }; if (waitFrames){ _local1 = (_local1 + (", waitFrames:" + String(waitFrames))); }; if (hasStarted){ _local1 = (_local1 + (", hasStarted:" + String(hasStarted))); }; _local1 = (_local1 + "]\n"); return (_local1); } public static function makePropertiesChain(_arg1:Object):Object{ var _local3:Object; var _local4:Object; var _local5:Object; var _local6:Number; var _local7:Number; var _local8:Number; var _local2:Object = _arg1.base; if (_local2){ _local3 = {}; if ((_local2 is Array)){ _local4 = []; _local8 = 0; while (_local8 < _local2.length) { _local4.push(_local2[_local8]); _local8++; }; } else { _local4 = [_local2]; }; _local4.push(_arg1); _local6 = _local4.length; _local7 = 0; while (_local7 < _local6) { if (_local4[_local7]["base"]){ _local5 = AuxFunctions.concatObjects(makePropertiesChain(_local4[_local7]["base"]), _local4[_local7]); } else { _local5 = _local4[_local7]; }; _local3 = AuxFunctions.concatObjects(_local3, _local5); _local7++; }; if (_local3["base"]){ delete _local3["base"]; }; return (_local3); //unresolved jump }; return (_arg1); } } }//package caurina.transitions
Section 11
//KongregateEvent (com.kongregate.as3.client.events.KongregateEvent) package com.kongregate.as3.client.events { import flash.events.*; public class KongregateEvent extends Event { public static const COMPLETE:String = "component_api_available"; public function KongregateEvent(_arg1:String){ super(_arg1); } } }//package com.kongregate.as3.client.events
Section 12
//AbstractShadowService (com.kongregate.as3.client.services.AbstractShadowService) package com.kongregate.as3.client.services { import flash.events.*; public class AbstractShadowService extends EventDispatcher { protected function alert(_arg1:String, _arg2:String, _arg3="", _arg4:String=""):void{ trace(((((((("Kongregate API: " + _arg1) + ".") + _arg2) + "(") + _arg3) + ") ") + _arg4)); } } }//package com.kongregate.as3.client.services
Section 13
//HighScoreServiceShadow (com.kongregate.as3.client.services.HighScoreServiceShadow) package com.kongregate.as3.client.services { public class HighScoreServiceShadow extends AbstractShadowService implements IHighScoreServices { private var mode:String; public function HighScoreServiceShadow(){ mode = ""; } public function submit(_arg1:Number, _arg2:String=null):void{ alert("IHighScoreServices", "submit", arguments); } public function connect():Boolean{ alert("IKongregateServices", "connect"); return (true); } public function requestList(_arg1:Function):void{ alert("IHighScoreServices", "requestList", "", (("[Mode: " + mode) + "]")); _arg1({success:false}); } public function setMode(_arg1:String):void{ alert("IHighScoreServices", "setMode", arguments); this.mode = _arg1; } } }//package com.kongregate.as3.client.services
Section 14
//IHighScoreServices (com.kongregate.as3.client.services.IHighScoreServices) package com.kongregate.as3.client.services { public interface IHighScoreServices { function setMode(_arg1:String):void; function submit(_arg1:Number, _arg2:String=null):void; function requestList(_arg1:Function):void; } }//package com.kongregate.as3.client.services
Section 15
//IKongregateServices (com.kongregate.as3.client.services.IKongregateServices) package com.kongregate.as3.client.services { import flash.events.*; public interface IKongregateServices extends IEventDispatcher { function getPlayerInfo(_arg1:Function):void; function connect(_arg1:Number=-1):Boolean; } }//package com.kongregate.as3.client.services
Section 16
//IStatServices (com.kongregate.as3.client.services.IStatServices) package com.kongregate.as3.client.services { public interface IStatServices { function submitArray(_arg1:Array):void; function submit(_arg1:String, _arg2:Number):void; } }//package com.kongregate.as3.client.services
Section 17
//IUserServices (com.kongregate.as3.client.services.IUserServices) package com.kongregate.as3.client.services { public interface IUserServices { function getName():String; function getPlayerInfo(_arg1:Function):void; } }//package com.kongregate.as3.client.services
Section 18
//KongregateServiceShadow (com.kongregate.as3.client.services.KongregateServiceShadow) package com.kongregate.as3.client.services { public class KongregateServiceShadow extends AbstractShadowService implements IKongregateServices { public function getName():String{ alert("IKongregateServices", "getName"); return ("Guest"); } public function connect(_arg1:Number=-1):Boolean{ alert("IKongregateServices", "connect", arguments); return (true); } public function getPlayerInfo(_arg1:Function):void{ alert("IKongregateServices", "getPlayerInfo"); _arg1(new Object()); } } }//package com.kongregate.as3.client.services
Section 19
//StatServiceShadow (com.kongregate.as3.client.services.StatServiceShadow) package com.kongregate.as3.client.services { public class StatServiceShadow extends AbstractShadowService implements IStatServices { public function submitArray(_arg1:Array):void{ alert("IStatServices", "submitArray", arguments); } public function submit(_arg1:String, _arg2:Number):void{ alert("IStatServices", "submitStat", arguments); } } }//package com.kongregate.as3.client.services
Section 20
//UserServiceShadow (com.kongregate.as3.client.services.UserServiceShadow) package com.kongregate.as3.client.services { public class UserServiceShadow extends AbstractShadowService implements IUserServices { public function getName():String{ alert("UserService", "getName"); return ("Guest"); } public function getPlayerInfo(_arg1:Function):void{ alert("UserService", "getPlayerInfo"); _arg1({isGuest:true, name:"Guest", points:0, level:0, isMode:false, isAdmin:false, isDeveloper:false, avatarPath:"", chatAvatarPath:""}); } } }//package com.kongregate.as3.client.services
Section 21
//IAPIBootstrap (com.kongregate.as3.client.IAPIBootstrap) package com.kongregate.as3.client { import flash.events.*; import flash.display.*; public interface IAPIBootstrap { function init(_arg1:Event=null, _arg2:Stage=null):void; function hideLog():void; function showLog(_arg1:int=0):void; } }//package com.kongregate.as3.client
Section 22
//KongregateAPI (com.kongregate.as3.client.KongregateAPI) package com.kongregate.as3.client { import flash.events.*; import flash.display.*; import com.kongregate.as3.client.services.*; import flash.utils.*; import com.kongregate.as3.client.events.*; import flash.system.*; import flash.net.*; import flash.errors.*; public class KongregateAPI extends Sprite { private const VERSION:Number = 1; private var loader:Loader; private var loadedDomain:ApplicationDomain; private static const CLASS_USER:String = "com.kongregate.as3.client.services.UserServices"; private static const CLASS_STATS:String = "com.kongregate.as3.client.services.StatServices"; private static const CLASS_SERVICES:String = "com.kongregate.as3.client.services.KongregateServices"; private static const CLASS_SCORES:String = "com.kongregate.as3.client.services.HighScoreServices"; private static const DEBUG_API_URL:String = "//Linuxpc/kongregate/public/flash/API_AS3.swf"; private static var _connected:Boolean; private static var kUser:IUserServices; private static var _loaded:Boolean; private static var kServices:IKongregateServices; private static var kScores:IHighScoreServices; private static var mInstance:KongregateAPI; private static var kStats:IStatServices; private static var kAPI:IAPIBootstrap; public function KongregateAPI(){ if (mInstance != null){ throw (new Error("Warning: KongregateAPI has been added to stage more than once or accessed improperly. Use getInstance() or a stage reference to access.")); }; mInstance = this; this.addEventListener(Event.ADDED_TO_STAGE, init, false, 0, true); } public function get loaded():Boolean{ return (_loaded); } public function get connected():Boolean{ return (_connected); } private function alertConnected(_arg1:TimerEvent=null):void{ var _local2:KongregateEvent; var _local3:Boolean; _local2 = new KongregateEvent(KongregateEvent.COMPLETE); _local3 = this.dispatchEvent(_local2); } private function init(_arg1:Event):void{ var _local2:Object; var _local3:String; var _local4:URLRequest; var _local5:LoaderContext; this.removeEventListener(Event.ADDED_TO_STAGE, init); _loaded = false; _connected = false; _local2 = LoaderInfo(root.loaderInfo).parameters; _local3 = _local2.api_path; if (_local3 == null){ trace("Alert: Kongregate API could not be loaded, due to local testing. API will load when the game is uploaded."); createShadowServices(); return; }; Security.allowDomain("*.kongregate.com"); Security.allowDomain("kongregatetrunk.com"); _local4 = new URLRequest(_local3); _local5 = new LoaderContext(false); _local5.applicationDomain = ApplicationDomain.currentDomain; _local5.securityDomain = SecurityDomain.currentDomain; loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete); loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); loader.load(_local4, _local5); } public function get api():IAPIBootstrap{ return (kAPI); } private function loadComplete(_arg1:Event):void{ getServices(); } public function get scores():IHighScoreServices{ return (kScores); } private function ioErrorHandler(_arg1:IOErrorEvent):void{ throw (new IOError(("API file not found. " + _arg1))); } public function get services():IKongregateServices{ return (kServices); } public function get stats():IStatServices{ return (kStats); } private function createShadowServices():void{ var _local1:Timer; trace(">>> Kongregate Shadow Services instantiated for local development.."); kServices = new KongregateServiceShadow(); kScores = new HighScoreServiceShadow(); kStats = new StatServiceShadow(); kUser = new UserServiceShadow(); _local1 = new Timer(200, 1); _local1.addEventListener(TimerEvent.TIMER_COMPLETE, alertConnected); _local1.start(); _connected = true; } public function get user():IUserServices{ return (kUser); } private function getServices():void{ var _local1:ApplicationDomain; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = ApplicationDomain.currentDomain; kAPI = IAPIBootstrap(loader.getChildAt(0)); this.addChild(loader); _local2 = _local1.getDefinition(CLASS_SERVICES); trace(_local2); kServices = _local2.getInstance(); _local3 = _local1.getDefinition(CLASS_SCORES); kScores = _local3.getInstance(); _local4 = _local1.getDefinition(CLASS_STATS); kStats = _local4.getInstance(); _local5 = _local1.getDefinition(CLASS_USER); kUser = _local5.getInstance(); kServices.connect(VERSION); _loaded = true; _connected = true; alertConnected(); } public static function getInstance():KongregateAPI{ if (!mInstance){ throw (new IllegalOperationError("You must add the Kongregate API component to the stage before attempting to access it.")); }; return (mInstance); } } }//package com.kongregate.as3.client
Section 23
//BaseScrollPane (fl.containers.BaseScrollPane) package fl.containers { import fl.core.*; import flash.events.*; import flash.display.*; import fl.controls.*; import flash.geom.*; import fl.events.*; public class BaseScrollPane extends UIComponent { protected var defaultLineScrollSize:Number;// = 4 protected var _maxHorizontalScrollPosition:Number;// = 0 protected var vScrollBar:Boolean; protected var disabledOverlay:Shape; protected var hScrollBar:Boolean; protected var availableWidth:Number; protected var _verticalPageScrollSize:Number;// = 0 protected var vOffset:Number;// = 0 protected var _verticalScrollBar:ScrollBar; protected var useFixedHorizontalScrolling:Boolean;// = false protected var contentWidth:Number;// = 0 protected var contentHeight:Number;// = 0 protected var _horizontalPageScrollSize:Number;// = 0 protected var background:DisplayObject; protected var _useBitmpScrolling:Boolean;// = false protected var contentPadding:Number;// = 0 protected var availableHeight:Number; protected var _horizontalScrollBar:ScrollBar; protected var contentScrollRect:Rectangle; protected var _horizontalScrollPolicy:String; protected var _verticalScrollPolicy:String; protected static const SCROLL_BAR_STYLES:Object = {upArrowDisabledSkin:"upArrowDisabledSkin", upArrowDownSkin:"upArrowDownSkin", upArrowOverSkin:"upArrowOverSkin", upArrowUpSkin:"upArrowUpSkin", downArrowDisabledSkin:"downArrowDisabledSkin", downArrowDownSkin:"downArrowDownSkin", downArrowOverSkin:"downArrowOverSkin", downArrowUpSkin:"downArrowUpSkin", thumbDisabledSkin:"thumbDisabledSkin", thumbDownSkin:"thumbDownSkin", thumbOverSkin:"thumbOverSkin", thumbUpSkin:"thumbUpSkin", thumbIcon:"thumbIcon", trackDisabledSkin:"trackDisabledSkin", trackDownSkin:"trackDownSkin", trackOverSkin:"trackOverSkin", trackUpSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; private static var defaultStyles:Object = {repeatDelay:500, repeatInterval:35, skin:"ScrollPane_upSkin", contentPadding:0, disabledAlpha:0.5}; public function BaseScrollPane(){ contentWidth = 0; contentHeight = 0; contentPadding = 0; vOffset = 0; _maxHorizontalScrollPosition = 0; _horizontalPageScrollSize = 0; _verticalPageScrollSize = 0; defaultLineScrollSize = 4; useFixedHorizontalScrolling = false; _useBitmpScrolling = false; super(); } protected function handleWheel(_arg1:MouseEvent):void{ if (((((!(enabled)) || (!(_verticalScrollBar.visible)))) || ((contentHeight <= availableHeight)))){ return; }; _verticalScrollBar.scrollPosition = (_verticalScrollBar.scrollPosition - (_arg1.delta * verticalLineScrollSize)); setVerticalScrollPosition(_verticalScrollBar.scrollPosition); dispatchEvent(new ScrollEvent(ScrollBarDirection.VERTICAL, _arg1.delta, horizontalScrollPosition)); } public function get verticalScrollPosition():Number{ return (_verticalScrollBar.scrollPosition); } protected function drawDisabledOverlay():void{ if (enabled){ if (contains(disabledOverlay)){ removeChild(disabledOverlay); }; } else { disabledOverlay.x = (disabledOverlay.y = contentPadding); disabledOverlay.width = availableWidth; disabledOverlay.height = availableHeight; disabledOverlay.alpha = (getStyleValue("disabledAlpha") as Number); addChild(disabledOverlay); }; } public function set verticalScrollPosition(_arg1:Number):void{ drawNow(); _verticalScrollBar.scrollPosition = _arg1; setVerticalScrollPosition(_verticalScrollBar.scrollPosition, false); } protected function setContentSize(_arg1:Number, _arg2:Number):void{ if ((((((contentWidth == _arg1)) || (useFixedHorizontalScrolling))) && ((contentHeight == _arg2)))){ return; }; contentWidth = _arg1; contentHeight = _arg2; invalidate(InvalidationType.SIZE); } public function get horizontalScrollPosition():Number{ return (_horizontalScrollBar.scrollPosition); } public function get horizontalScrollBar():ScrollBar{ return (_horizontalScrollBar); } override public function set enabled(_arg1:Boolean):void{ if (enabled == _arg1){ return; }; _verticalScrollBar.enabled = _arg1; _horizontalScrollBar.enabled = _arg1; super.enabled = _arg1; } public function get verticalLineScrollSize():Number{ return (_verticalScrollBar.lineScrollSize); } public function get horizontalScrollPolicy():String{ return (_horizontalScrollPolicy); } protected function calculateAvailableSize():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = ScrollBar.WIDTH; _local2 = (contentPadding = Number(getStyleValue("contentPadding"))); _local3 = ((height - (2 * _local2)) - vOffset); vScrollBar = (((_verticalScrollPolicy == ScrollPolicy.ON)) || ((((_verticalScrollPolicy == ScrollPolicy.AUTO)) && ((contentHeight > _local3))))); _local4 = ((width - (vScrollBar) ? _local1 : 0) - (2 * _local2)); _local5 = (useFixedHorizontalScrolling) ? _maxHorizontalScrollPosition : (contentWidth - _local4); hScrollBar = (((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_local5 > 0))))); if (hScrollBar){ _local3 = (_local3 - _local1); }; if (((((((hScrollBar) && (!(vScrollBar)))) && ((_verticalScrollPolicy == ScrollPolicy.AUTO)))) && ((contentHeight > _local3)))){ vScrollBar = true; _local4 = (_local4 - _local1); }; availableHeight = (_local3 + vOffset); availableWidth = _local4; } public function get maxVerticalScrollPosition():Number{ drawNow(); return (Math.max(0, (contentHeight - availableHeight))); } public function set horizontalScrollPosition(_arg1:Number):void{ drawNow(); _horizontalScrollBar.scrollPosition = _arg1; setHorizontalScrollPosition(_horizontalScrollBar.scrollPosition, false); } public function get horizontalLineScrollSize():Number{ return (_horizontalScrollBar.lineScrollSize); } public function set verticalPageScrollSize(_arg1:Number):void{ _verticalPageScrollSize = _arg1; invalidate(InvalidationType.SIZE); } public function get verticalScrollPolicy():String{ return (_verticalScrollPolicy); } protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ } public function get useBitmapScrolling():Boolean{ return (_useBitmpScrolling); } protected function handleScroll(_arg1:ScrollEvent):void{ if (_arg1.target == _verticalScrollBar){ setVerticalScrollPosition(_arg1.position); } else { setHorizontalScrollPosition(_arg1.position); }; } public function set verticalLineScrollSize(_arg1:Number):void{ _verticalScrollBar.lineScrollSize = _arg1; } public function get verticalScrollBar():ScrollBar{ return (_verticalScrollBar); } protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ } public function set horizontalPageScrollSize(_arg1:Number):void{ _horizontalPageScrollSize = _arg1; invalidate(InvalidationType.SIZE); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES)){ setStyles(); drawBackground(); if (contentPadding != getStyleValue("contentPadding")){ invalidate(InvalidationType.SIZE, false); }; }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STATE)){ drawLayout(); }; updateChildren(); super.draw(); } public function set horizontalScrollPolicy(_arg1:String):void{ _horizontalScrollPolicy = _arg1; invalidate(InvalidationType.SIZE); } override protected function configUI():void{ var _local1:Graphics; super.configUI(); contentScrollRect = new Rectangle(0, 0, 85, 85); _verticalScrollBar = new ScrollBar(); _verticalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true); _verticalScrollBar.visible = false; _verticalScrollBar.lineScrollSize = defaultLineScrollSize; addChild(_verticalScrollBar); copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES); _horizontalScrollBar = new ScrollBar(); _horizontalScrollBar.direction = ScrollBarDirection.HORIZONTAL; _horizontalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true); _horizontalScrollBar.visible = false; _horizontalScrollBar.lineScrollSize = defaultLineScrollSize; addChild(_horizontalScrollBar); copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES); disabledOverlay = new Shape(); _local1 = disabledOverlay.graphics; _local1.beginFill(0xFFFFFF); _local1.drawRect(0, 0, width, height); _local1.endFill(); addEventListener(MouseEvent.MOUSE_WHEEL, handleWheel, false, 0, true); } protected function calculateContentWidth():void{ } public function get verticalPageScrollSize():Number{ if (isNaN(availableHeight)){ drawNow(); }; return (((((_verticalPageScrollSize == 0)) && (!(isNaN(availableHeight))))) ? availableHeight : _verticalPageScrollSize); } protected function drawLayout():void{ calculateAvailableSize(); calculateContentWidth(); background.width = width; background.height = height; if (vScrollBar){ _verticalScrollBar.visible = true; _verticalScrollBar.x = ((width - ScrollBar.WIDTH) - contentPadding); _verticalScrollBar.y = contentPadding; _verticalScrollBar.height = availableHeight; } else { _verticalScrollBar.visible = false; }; _verticalScrollBar.setScrollProperties(availableHeight, 0, (contentHeight - availableHeight), verticalPageScrollSize); setVerticalScrollPosition(_verticalScrollBar.scrollPosition, false); if (hScrollBar){ _horizontalScrollBar.visible = true; _horizontalScrollBar.x = contentPadding; _horizontalScrollBar.y = ((height - ScrollBar.WIDTH) - contentPadding); _horizontalScrollBar.width = availableWidth; } else { _horizontalScrollBar.visible = false; }; _horizontalScrollBar.setScrollProperties(availableWidth, 0, (useFixedHorizontalScrolling) ? _maxHorizontalScrollPosition : (contentWidth - availableWidth), horizontalPageScrollSize); setHorizontalScrollPosition(_horizontalScrollBar.scrollPosition, false); drawDisabledOverlay(); } protected function drawBackground():void{ var _local1:DisplayObject; _local1 = background; background = getDisplayObjectInstance(getStyleValue("skin")); background.width = width; background.height = height; addChildAt(background, 0); if (((!((_local1 == null))) && (!((_local1 == background))))){ removeChild(_local1); }; } public function set horizontalLineScrollSize(_arg1:Number):void{ _horizontalScrollBar.lineScrollSize = _arg1; } public function get horizontalPageScrollSize():Number{ if (isNaN(availableWidth)){ drawNow(); }; return (((((_horizontalPageScrollSize == 0)) && (!(isNaN(availableWidth))))) ? availableWidth : _horizontalPageScrollSize); } public function get maxHorizontalScrollPosition():Number{ drawNow(); return (Math.max(0, (contentWidth - availableWidth))); } protected function setStyles():void{ copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES); copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES); } protected function updateChildren():void{ _verticalScrollBar.enabled = (_horizontalScrollBar.enabled = enabled); _verticalScrollBar.drawNow(); _horizontalScrollBar.drawNow(); } public function set verticalScrollPolicy(_arg1:String):void{ _verticalScrollPolicy = _arg1; invalidate(InvalidationType.SIZE); } public function set useBitmapScrolling(_arg1:Boolean):void{ _useBitmpScrolling = _arg1; invalidate(InvalidationType.STATE); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, ScrollBar.getStyleDefinition())); } } }//package fl.containers
Section 24
//CellRenderer (fl.controls.listClasses.CellRenderer) package fl.controls.listClasses { import flash.events.*; import fl.controls.*; public class CellRenderer extends LabelButton implements ICellRenderer { protected var _data:Object; protected var _listData:ListData; private static var defaultStyles:Object = {upSkin:"CellRenderer_upSkin", downSkin:"CellRenderer_downSkin", overSkin:"CellRenderer_overSkin", disabledSkin:"CellRenderer_disabledSkin", selectedDisabledSkin:"CellRenderer_selectedDisabledSkin", selectedUpSkin:"CellRenderer_selectedUpSkin", selectedDownSkin:"CellRenderer_selectedDownSkin", selectedOverSkin:"CellRenderer_selectedOverSkin", textFormat:null, disabledTextFormat:null, embedFonts:null, textPadding:5}; public function CellRenderer():void{ toggle = true; focusEnabled = false; } override protected function toggleSelected(_arg1:MouseEvent):void{ } override public function get selected():Boolean{ return (super.selected); } public function set listData(_arg1:ListData):void{ _listData = _arg1; label = _listData.label; setStyle("icon", _listData.icon); } override public function set selected(_arg1:Boolean):void{ super.selected = _arg1; } public function set data(_arg1:Object):void{ _data = _arg1; } public function get listData():ListData{ return (_listData); } override public function setSize(_arg1:Number, _arg2:Number):void{ super.setSize(_arg1, _arg2); } override protected function drawLayout():void{ var _local1:Number; var _local2:Number; var _local3:Number; _local1 = Number(getStyleValue("textPadding")); _local2 = 0; if (icon != null){ icon.x = _local1; icon.y = Math.round(((height - icon.height) >> 1)); _local2 = (icon.width + _local1); }; if (label.length > 0){ textField.visible = true; _local3 = Math.max(0, ((width - _local2) - (_local1 * 2))); textField.width = _local3; textField.height = (textField.textHeight + 4); textField.x = (_local2 + _local1); textField.y = Math.round(((height - textField.height) >> 1)); } else { textField.visible = false; }; background.width = width; background.height = height; } public function get data():Object{ return (_data); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls.listClasses
Section 25
//ICellRenderer (fl.controls.listClasses.ICellRenderer) package fl.controls.listClasses { public interface ICellRenderer { function setSize(_arg1:Number, _arg2:Number):void; function get listData():ListData; function get data():Object; function setMouseState(_arg1:String):void; function set x(_arg1:Number):void; function set y(_arg1:Number):void; function set data(_arg1:Object):void; function set selected(_arg1:Boolean):void; function set listData(_arg1:ListData):void; function get selected():Boolean; } }//package fl.controls.listClasses
Section 26
//ListData (fl.controls.listClasses.ListData) package fl.controls.listClasses { import fl.core.*; public class ListData { protected var _index:uint; protected var _owner:UIComponent; protected var _label:String; protected var _icon:Object;// = null protected var _row:uint; protected var _column:uint; public function ListData(_arg1:String, _arg2:Object, _arg3:UIComponent, _arg4:uint, _arg5:uint, _arg6:uint=0){ _icon = null; super(); _label = _arg1; _icon = _arg2; _owner = _arg3; _index = _arg4; _row = _arg5; _column = _arg6; } public function get owner():UIComponent{ return (_owner); } public function get label():String{ return (_label); } public function get row():uint{ return (_row); } public function get index():uint{ return (_index); } public function get icon():Object{ return (_icon); } public function get column():uint{ return (_column); } } }//package fl.controls.listClasses
Section 27
//BaseButton (fl.controls.BaseButton) package fl.controls { import fl.core.*; import flash.events.*; import flash.display.*; import fl.events.*; import flash.utils.*; public class BaseButton extends UIComponent { protected var _selected:Boolean;// = false private var unlockedMouseState:String; protected var pressTimer:Timer; protected var mouseState:String; protected var background:DisplayObject; private var _mouseStateLocked:Boolean;// = false protected var _autoRepeat:Boolean;// = false private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35}; public function BaseButton(){ _selected = false; _autoRepeat = false; _mouseStateLocked = false; super(); buttonMode = true; mouseChildren = false; useHandCursor = false; setupMouseEvents(); setMouseState("up"); pressTimer = new Timer(1, 0); pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true); } protected function endPress():void{ pressTimer.reset(); } public function set mouseStateLocked(_arg1:Boolean):void{ _mouseStateLocked = _arg1; if (_arg1 == false){ setMouseState(unlockedMouseState); } else { unlockedMouseState = mouseState; }; } public function get autoRepeat():Boolean{ return (_autoRepeat); } public function set autoRepeat(_arg1:Boolean):void{ _autoRepeat = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; mouseEnabled = _arg1; } public function get selected():Boolean{ return (_selected); } protected function mouseEventHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_DOWN){ setMouseState("down"); startPress(); } else { if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){ setMouseState("over"); endPress(); } else { if (_arg1.type == MouseEvent.ROLL_OUT){ setMouseState("up"); endPress(); }; }; }; } public function setMouseState(_arg1:String):void{ if (_mouseStateLocked){ unlockedMouseState = _arg1; return; }; if (mouseState == _arg1){ return; }; mouseState = _arg1; invalidate(InvalidationType.STATE); } protected function startPress():void{ if (_autoRepeat){ pressTimer.delay = Number(getStyleValue("repeatDelay")); pressTimer.start(); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } protected function buttonDown(_arg1:TimerEvent):void{ if (!_autoRepeat){ endPress(); return; }; if (pressTimer.currentCount == 1){ pressTimer.delay = Number(getStyleValue("repeatInterval")); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } public function set selected(_arg1:Boolean):void{ if (_selected == _arg1){ return; }; _selected = _arg1; invalidate(InvalidationType.STATE); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function setupMouseEvents():void{ addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true); } protected function drawLayout():void{ background.width = width; background.height = height; } protected function drawBackground():void{ var _local1:String; var _local2:DisplayObject; _local1 = (enabled) ? mouseState : "disabled"; if (selected){ _local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1)); }; _local1 = (_local1 + "Skin"); _local2 = background; background = getDisplayObjectInstance(getStyleValue(_local1)); addChildAt(background, 0); if (((!((_local2 == null))) && (!((_local2 == background))))){ removeChild(_local2); }; } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 28
//Button (fl.controls.Button) package fl.controls { import fl.core.*; import flash.display.*; import fl.managers.*; public class Button extends LabelButton implements IFocusManagerComponent { protected var emphasizedBorder:DisplayObject; protected var _emphasized:Boolean;// = false private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2}; public static var createAccessibilityImplementation:Function; public function Button(){ _emphasized = false; super(); } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; var _local3:*; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("emphasizedPadding")); if ((((_local2 < 0)) || (!(_emphasized)))){ _local2 = 0; }; _local3 = getStyleValue("focusRectPadding"); _local3 = ((_local3)==null) ? 2 : _local3; _local3 = (_local3 + _local2); uiFocusRect.x = -(_local3); uiFocusRect.y = -(_local3); uiFocusRect.width = (width + (_local3 * 2)); uiFocusRect.height = (height + (_local3 * 2)); }; } public function set emphasized(_arg1:Boolean):void{ _emphasized = _arg1; invalidate(InvalidationType.STYLES); } override protected function draw():void{ if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){ drawEmphasized(); }; super.draw(); if (emphasizedBorder != null){ setChildIndex(emphasizedBorder, (numChildren - 1)); }; } public function get emphasized():Boolean{ return (_emphasized); } override protected function initializeAccessibility():void{ if (Button.createAccessibilityImplementation != null){ Button.createAccessibilityImplementation(this); }; } protected function drawEmphasized():void{ var _local1:Object; var _local2:Number; if (emphasizedBorder != null){ removeChild(emphasizedBorder); }; emphasizedBorder = null; if (!_emphasized){ return; }; _local1 = getStyleValue("emphasizedSkin"); if (_local1 != null){ emphasizedBorder = getDisplayObjectInstance(_local1); }; if (emphasizedBorder != null){ addChildAt(emphasizedBorder, 0); _local2 = Number(getStyleValue("emphasizedPadding")); emphasizedBorder.x = (emphasizedBorder.y = -(_local2)); emphasizedBorder.width = (width + (_local2 * 2)); emphasizedBorder.height = (height + (_local2 * 2)); }; } public static function getStyleDefinition():Object{ return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles)); } } }//package fl.controls
Section 29
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement) package fl.controls { public class ButtonLabelPlacement { public static const TOP:String = "top"; public static const LEFT:String = "left"; public static const BOTTOM:String = "bottom"; public static const RIGHT:String = "right"; } }//package fl.controls
Section 30
//CheckBox (fl.controls.CheckBox) package fl.controls { import flash.display.*; public class CheckBox extends LabelButton { private static var defaultStyles:Object = {icon:null, upIcon:"CheckBox_upIcon", downIcon:"CheckBox_downIcon", overIcon:"CheckBox_overIcon", disabledIcon:"CheckBox_disabledIcon", selectedDisabledIcon:"CheckBox_selectedDisabledIcon", focusRectSkin:null, focusRectPadding:null, selectedUpIcon:"CheckBox_selectedUpIcon", selectedDownIcon:"CheckBox_selectedDownIcon", selectedOverIcon:"CheckBox_selectedOverIcon", textFormat:null, disabledTextFormat:null, embedFonts:null, textPadding:5}; public static var createAccessibilityImplementation:Function; override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.x = (background.x - _local2); uiFocusRect.y = (background.y - _local2); uiFocusRect.width = (background.width + (_local2 << 1)); uiFocusRect.height = (background.height + (_local2 << 1)); }; } override public function get autoRepeat():Boolean{ return (false); } override public function set autoRepeat(_arg1:Boolean):void{ } override public function set toggle(_arg1:Boolean):void{ throw (new Error("Warning: You cannot change a CheckBox's toggle.")); } override public function get toggle():Boolean{ return (true); } override protected function configUI():void{ var _local1:Shape; var _local2:Graphics; super.configUI(); super.toggle = true; _local1 = new Shape(); _local2 = _local1.graphics; _local2.beginFill(0, 0); _local2.drawRect(0, 0, 100, 100); _local2.endFill(); background = (_local1 as DisplayObject); addChildAt(background, 0); } override protected function drawLayout():void{ var _local1:Number; super.drawLayout(); _local1 = Number(getStyleValue("textPadding")); switch (_labelPlacement){ case ButtonLabelPlacement.RIGHT: icon.x = _local1; textField.x = (icon.x + (icon.width + _local1)); background.width = ((textField.x + textField.width) + _local1); background.height = (Math.max(textField.height, icon.height) + (_local1 * 2)); break; case ButtonLabelPlacement.LEFT: icon.x = ((width - icon.width) - _local1); textField.x = (((width - icon.width) - (_local1 * 2)) - textField.width); background.width = ((textField.width + icon.width) + (_local1 * 3)); background.height = (Math.max(textField.height, icon.height) + (_local1 * 2)); break; case ButtonLabelPlacement.TOP: case ButtonLabelPlacement.BOTTOM: background.width = (Math.max(textField.width, icon.width) + (_local1 * 2)); background.height = ((textField.height + icon.height) + (_local1 * 3)); break; }; background.x = Math.min((icon.x - _local1), (textField.x - _local1)); background.y = Math.min((icon.y - _local1), (textField.y - _local1)); } override protected function drawBackground():void{ } override protected function initializeAccessibility():void{ if (CheckBox.createAccessibilityImplementation != null){ CheckBox.createAccessibilityImplementation(this); }; } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 31
//ComboBox (fl.controls.ComboBox) package fl.controls { import fl.controls.listClasses.*; import fl.core.*; import flash.events.*; import flash.display.*; import flash.geom.*; import fl.data.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; public class ComboBox extends UIComponent implements IFocusManagerComponent { protected var _dropdownWidth:Number; protected var highlightedCell:int;// = -1 protected var _prompt:String; protected var isOpen:Boolean;// = false protected var list:List; protected var _rowCount:uint;// = 5 protected var currentIndex:int; protected var isKeyDown:Boolean;// = false protected var _labels:Array; protected var background:BaseButton; protected var inputField:TextInput; protected var listOverIndex:uint; protected var editableValue:String; protected var _editable:Boolean;// = false private var collectionItemImport:SimpleCollectionItem; protected static const BACKGROUND_STYLES:Object = {overSkin:"overSkin", downSkin:"downSkin", upSkin:"upSkin", disabledSkin:"disabledSkin", repeatInterval:"repeatInterval"}; protected static const LIST_STYLES:Object = {upSkin:"comboListUpSkin", overSkin:"comboListOverSkin", downSkin:"comobListDownSkin", disabledSkin:"comboListDisabledSkin", downArrowDisabledSkin:"downArrowDisabledSkin", downArrowDownSkin:"downArrowDownSkin", downArrowOverSkin:"downArrowOverSkin", downArrowUpSkin:"downArrowUpSkin", upArrowDisabledSkin:"upArrowDisabledSkin", upArrowDownSkin:"upArrowDownSkin", upArrowOverSkin:"upArrowOverSkin", upArrowUpSkin:"upArrowUpSkin", thumbDisabledSkin:"thumbDisabledSkin", thumbDownSkin:"thumbDownSkin", thumbOverSkin:"thumbOverSkin", thumbUpSkin:"thumbUpSkin", thumbIcon:"thumbIcon", trackDisabledSkin:"trackDisabledSkin", trackDownSkin:"trackDownSkin", trackOverSkin:"trackOverSkin", trackUpSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval", textFormat:"textFormat", disabledAlpha:"disabledAlpha", skin:"listSkin"}; private static var defaultStyles:Object = {upSkin:"ComboBox_upSkin", downSkin:"ComboBox_downSkin", overSkin:"ComboBox_overSkin", disabledSkin:"ComboBox_disabledSkin", focusRectSkin:null, focusRectPadding:null, textFormat:null, disabledTextFormat:null, textPadding:3, buttonWidth:24, disabledAlpha:null, listSkin:null}; public static var createAccessibilityImplementation:Function; public function ComboBox(){ _rowCount = 5; _editable = false; isOpen = false; highlightedCell = -1; isKeyDown = false; super(); } protected function drawList():void{ list.rowCount = Math.max(0, Math.min(_rowCount, list.dataProvider.length)); } public function set imeMode(_arg1:String):void{ inputField.imeMode = _arg1; } public function get dropdown():List{ return (list); } public function get dropdownWidth():Number{ return (list.width); } public function sortItemsOn(_arg1:String, _arg2:Object=null){ return (list.sortItemsOn(_arg1, _arg2)); } protected function onEnter(_arg1:ComponentEvent):void{ _arg1.stopPropagation(); } public function removeItemAt(_arg1:uint):void{ list.removeItemAt(_arg1); invalidate(InvalidationType.DATA); } public function open():void{ currentIndex = selectedIndex; if (((isOpen) || ((length == 0)))){ return; }; dispatchEvent(new Event(Event.OPEN)); isOpen = true; addEventListener(Event.ENTER_FRAME, addCloseListener, false, 0, true); positionList(); list.scrollToSelected(); stage.addChild(list); } public function get selectedItem():Object{ return (list.selectedItem); } public function set text(_arg1:String):void{ if (!editable){ return; }; inputField.text = _arg1; } public function get labelField():String{ return (list.labelField); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ var _local2:int; var _local3:uint; var _local4:Number; var _local5:int; isKeyDown = true; if (_arg1.ctrlKey){ switch (_arg1.keyCode){ case Keyboard.UP: if (highlightedCell > -1){ selectedIndex = highlightedCell; dispatchEvent(new Event(Event.CHANGE)); }; close(); break; case Keyboard.DOWN: open(); break; }; return; }; _arg1.stopPropagation(); _local2 = Math.max(((calculateAvailableHeight() / list.rowHeight) << 0), 1); _local3 = selectedIndex; _local4 = ((highlightedCell)==-1) ? selectedIndex : highlightedCell; _local5 = -1; switch (_arg1.keyCode){ case Keyboard.SPACE: if (isOpen){ close(); } else { open(); }; return; case Keyboard.ESCAPE: if (isOpen){ if (highlightedCell > -1){ selectedIndex = selectedIndex; }; close(); }; return; case Keyboard.UP: _local5 = Math.max(0, (_local4 - 1)); break; case Keyboard.DOWN: _local5 = Math.min((length - 1), (_local4 + 1)); break; case Keyboard.PAGE_UP: _local5 = Math.max((_local4 - _local2), 0); break; case Keyboard.PAGE_DOWN: _local5 = Math.min((_local4 + _local2), (length - 1)); break; case Keyboard.HOME: _local5 = 0; break; case Keyboard.END: _local5 = (length - 1); break; case Keyboard.ENTER: if (((_editable) && ((highlightedCell == -1)))){ editableValue = inputField.text; selectedIndex = -1; } else { if (((isOpen) && ((highlightedCell > -1)))){ editableValue = null; selectedIndex = highlightedCell; dispatchEvent(new Event(Event.CHANGE)); }; }; dispatchEvent(new ComponentEvent(ComponentEvent.ENTER)); close(); return; default: if (editable){ break; }; _local5 = list.getNextIndexAtLetter(String.fromCharCode(_arg1.keyCode), _local4); break; }; if (_local5 > -1){ if (isOpen){ highlightCell(_local5); inputField.text = list.itemToLabel(getItemAt(_local5)); } else { highlightCell(); selectedIndex = _local5; dispatchEvent(new Event(Event.CHANGE)); }; }; } public function set dropdownWidth(_arg1:Number):void{ _dropdownWidth = _arg1; invalidate(InvalidationType.SIZE); } public function get editable():Boolean{ return (_editable); } override protected function focusInHandler(_arg1:FocusEvent):void{ super.focusInHandler(_arg1); if (editable){ stage.focus = inputField.textField; }; } protected function onStageClick(_arg1:MouseEvent):void{ if (!isOpen){ return; }; if (((!(contains((_arg1.target as DisplayObject)))) && (!(list.contains((_arg1.target as DisplayObject)))))){ if (highlightedCell != -1){ selectedIndex = highlightedCell; dispatchEvent(new Event(Event.CHANGE)); }; close(); }; } protected function handleDataChange(_arg1:DataChangeEvent):void{ invalidate(InvalidationType.DATA); } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ isKeyDown = false; } protected function onListItemUp(_arg1:MouseEvent):void{ var _local2:*; stage.removeEventListener(MouseEvent.MOUSE_UP, onListItemUp); if (((!((_arg1.target is ICellRenderer))) || (!(list.contains((_arg1.target as DisplayObject)))))){ return; }; editableValue = null; _local2 = selectedIndex; selectedIndex = _arg1.target.listData.index; if (_local2 != selectedIndex){ dispatchEvent(new Event(Event.CHANGE)); }; close(); } public function removeAll():void{ list.removeAll(); inputField.text = ""; invalidate(InvalidationType.DATA); } public function set selectedItem(_arg1:Object):void{ list.selectedItem = _arg1; invalidate(InvalidationType.SELECTED); } protected function highlightCell(_arg1:int=-1):void{ var _local2:ICellRenderer; if (highlightedCell > -1){ _local2 = list.itemToCellRenderer(getItemAt(highlightedCell)); if (_local2 != null){ _local2.setMouseState("up"); }; }; if (_arg1 == -1){ return; }; list.scrollToIndex(_arg1); list.drawNow(); _local2 = list.itemToCellRenderer(getItemAt(_arg1)); if (_local2 != null){ _local2.setMouseState("over"); highlightedCell = _arg1; }; } public function itemToLabel(_arg1:Object):String{ if (_arg1 == null){ return (""); }; return (list.itemToLabel(_arg1)); } public function addItemAt(_arg1:Object, _arg2:uint):void{ list.addItemAt(_arg1, _arg2); invalidate(InvalidationType.DATA); } public function replaceItemAt(_arg1:Object, _arg2:uint):Object{ return (list.replaceItemAt(_arg1, _arg2)); } protected function showPrompt():void{ inputField.text = _prompt; } public function set rowCount(_arg1:uint):void{ _rowCount = _arg1; invalidate(InvalidationType.SIZE); } public function get restrict():String{ return (inputField.restrict); } protected function setEmbedFonts():void{ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ inputField.textField.embedFonts = _local1; }; } public function sortItems(... _args){ return (list.sortItems.apply(list, _args)); } public function set labelField(_arg1:String):void{ list.labelField = _arg1; invalidate(InvalidationType.DATA); } public function set editable(_arg1:Boolean):void{ _editable = _arg1; drawTextField(); } public function set prompt(_arg1:String):void{ if (_arg1 == ""){ _prompt = null; } else { _prompt = _arg1; }; invalidate(InvalidationType.STATE); } public function get length():int{ return (list.length); } protected function drawTextField():void{ inputField.setStyle("upSkin", ""); inputField.setStyle("disabledSkin", ""); inputField.enabled = enabled; inputField.editable = _editable; inputField.textField.selectable = ((enabled) && (_editable)); inputField.mouseEnabled = (inputField.mouseChildren = ((enabled) && (_editable))); inputField.focusEnabled = false; if (_editable){ inputField.addEventListener(FocusEvent.FOCUS_IN, onInputFieldFocus, false, 0, true); inputField.addEventListener(FocusEvent.FOCUS_OUT, onInputFieldFocusOut, false, 0, true); } else { inputField.removeEventListener(FocusEvent.FOCUS_IN, onInputFieldFocus); inputField.removeEventListener(FocusEvent.FOCUS_OUT, onInputFieldFocusOut); }; } protected function onInputFieldFocusOut(_arg1:FocusEvent):void{ inputField.removeEventListener(ComponentEvent.ENTER, onEnter); selectedIndex = selectedIndex; } protected function passEvent(_arg1:Event):void{ dispatchEvent(_arg1); } public function get imeMode():String{ return (inputField.imeMode); } public function get labelFunction():Function{ return (list.labelFunction); } protected function calculateAvailableHeight():Number{ var _local1:Number; _local1 = Number(getStyleValue("contentPadding")); return ((list.height - (_local1 * 2))); } public function get selectedIndex():int{ return (list.selectedIndex); } override protected function focusOutHandler(_arg1:FocusEvent):void{ isKeyDown = false; if (isOpen){ if (((!(_arg1.relatedObject)) || (!(list.contains(_arg1.relatedObject))))){ if (((!((highlightedCell == -1))) && (!((highlightedCell == selectedIndex))))){ selectedIndex = highlightedCell; dispatchEvent(new Event(Event.CHANGE)); }; close(); }; }; super.focusOutHandler(_arg1); } public function get selectedLabel():String{ if (editableValue != null){ return (editableValue); }; if (selectedIndex == -1){ return (null); }; return (itemToLabel(selectedItem)); } public function get text():String{ return (inputField.text); } protected function onListChange(_arg1:Event):void{ editableValue = null; dispatchEvent(_arg1); invalidate(InvalidationType.SELECTED); if (isKeyDown){ return; }; close(); } protected function onToggleListVisibility(_arg1:MouseEvent):void{ _arg1.stopPropagation(); dispatchEvent(_arg1); if (isOpen){ close(); } else { open(); stage.addEventListener(MouseEvent.MOUSE_UP, onListItemUp, false, 0, true); }; } override protected function draw():void{ var _local1:*; _local1 = selectedIndex; if ((((_local1 == -1)) && (((((!((prompt == null))) || (editable))) || ((length == 0)))))){ _local1 = Math.max(-1, Math.min(_local1, (length - 1))); } else { editableValue = null; _local1 = Math.max(0, Math.min(_local1, (length - 1))); }; if (list.selectedIndex != _local1){ list.selectedIndex = _local1; invalidate(InvalidationType.SELECTED, false); }; if (isInvalid(InvalidationType.STYLES)){ setStyles(); setEmbedFonts(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE, InvalidationType.DATA, InvalidationType.STATE)){ drawTextFormat(); drawLayout(); invalidate(InvalidationType.DATA); }; if (isInvalid(InvalidationType.DATA)){ drawList(); invalidate(InvalidationType.SELECTED, true); }; if (isInvalid(InvalidationType.SELECTED)){ if ((((_local1 == -1)) && (!((editableValue == null))))){ inputField.text = editableValue; } else { if (_local1 > -1){ if (length > 0){ inputField.horizontalScrollPosition = 0; inputField.text = itemToLabel(list.selectedItem); }; } else { if ((((_local1 == -1)) && (!((_prompt == null))))){ showPrompt(); } else { inputField.text = ""; }; }; }; if (((((editable) && ((selectedIndex > -1)))) && ((stage.focus == inputField.textField)))){ inputField.setSelection(0, inputField.length); }; }; drawTextField(); super.draw(); } public function addItem(_arg1:Object):void{ list.addItem(_arg1); invalidate(InvalidationType.DATA); } public function get rowCount():uint{ return (_rowCount); } override protected function configUI():void{ super.configUI(); background = new BaseButton(); background.focusEnabled = false; copyStylesToChild(background, BACKGROUND_STYLES); background.addEventListener(MouseEvent.MOUSE_DOWN, onToggleListVisibility, false, 0, true); addChild(background); inputField = new TextInput(); inputField.focusTarget = (this as IFocusManagerComponent); inputField.focusEnabled = false; inputField.addEventListener(Event.CHANGE, onTextInput, false, 0, true); addChild(inputField); list = new List(); list.focusEnabled = false; copyStylesToChild(list, LIST_STYLES); list.addEventListener(Event.CHANGE, onListChange, false, 0, true); list.addEventListener(ListEvent.ITEM_CLICK, onListChange, false, 0, true); list.addEventListener(ListEvent.ITEM_ROLL_OUT, passEvent, false, 0, true); list.addEventListener(ListEvent.ITEM_ROLL_OVER, passEvent, false, 0, true); list.verticalScrollBar.addEventListener(Event.SCROLL, passEvent, false, 0, true); } protected function positionList():void{ var _local1:Point; _local1 = localToGlobal(new Point(0, 0)); list.x = _local1.x; if (((_local1.y + height) + list.height) > stage.stageHeight){ list.y = (_local1.y - list.height); } else { list.y = (_local1.y + height); }; } public function get value():String{ var _local1:Object; if (editableValue != null){ return (editableValue); }; _local1 = selectedItem; if (((!(_editable)) && (!((_local1.data == null))))){ return (_local1.data); }; return (itemToLabel(_local1)); } public function get prompt():String{ return (_prompt); } public function set dataProvider(_arg1:DataProvider):void{ _arg1.addEventListener(DataChangeEvent.DATA_CHANGE, handleDataChange, false, 0, true); list.dataProvider = _arg1; invalidate(InvalidationType.DATA); } public function set restrict(_arg1:String):void{ if (((componentInspectorSetting) && ((_arg1 == "")))){ _arg1 = null; }; if (!_editable){ return; }; inputField.restrict = _arg1; } protected function onTextInput(_arg1:Event):void{ _arg1.stopPropagation(); if (!_editable){ return; }; editableValue = inputField.text; selectedIndex = -1; dispatchEvent(new Event(Event.CHANGE)); } protected function onInputFieldFocus(_arg1:FocusEvent):void{ inputField.addEventListener(ComponentEvent.ENTER, onEnter, false, 0, true); close(); } public function getItemAt(_arg1:uint):Object{ return (list.getItemAt(_arg1)); } override protected function initializeAccessibility():void{ if (ComboBox.createAccessibilityImplementation != null){ ComboBox.createAccessibilityImplementation(this); }; } protected function drawLayout():void{ var _local1:Number; var _local2:Number; _local1 = (getStyleValue("buttonWidth") as Number); _local2 = (getStyleValue("textPadding") as Number); background.setSize(width, height); inputField.x = (inputField.y = _local2); inputField.setSize(((width - _local1) - _local2), (height - _local2)); list.width = (isNaN(_dropdownWidth)) ? width : _dropdownWidth; background.enabled = enabled; background.drawNow(); } public function removeItem(_arg1:Object):Object{ return (list.removeItem(_arg1)); } private function addCloseListener(_arg1:Event){ removeEventListener(Event.ENTER_FRAME, addCloseListener); if (!isOpen){ return; }; stage.addEventListener(MouseEvent.MOUSE_DOWN, onStageClick, false, 0, true); } public function get dataProvider():DataProvider{ return (list.dataProvider); } public function get textField():TextInput{ return (inputField); } protected function setStyles():void{ copyStylesToChild(background, BACKGROUND_STYLES); copyStylesToChild(list, LIST_STYLES); } public function set labelFunction(_arg1:Function):void{ list.labelFunction = _arg1; invalidate(InvalidationType.DATA); } protected function drawTextFormat():void{ var _local1:TextFormat; _local1 = (getStyleValue((_enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local1 == null){ _local1 = new TextFormat(); }; inputField.textField.defaultTextFormat = _local1; inputField.textField.setTextFormat(_local1); setEmbedFonts(); } public function set selectedIndex(_arg1:int):void{ list.selectedIndex = _arg1; highlightCell(); invalidate(InvalidationType.SELECTED); } public function close():void{ highlightCell(); highlightedCell = -1; if (!isOpen){ return; }; dispatchEvent(new Event(Event.CLOSE)); stage.removeEventListener(MouseEvent.MOUSE_DOWN, onStageClick); isOpen = false; stage.removeChild(list); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, List.getStyleDefinition())); } } }//package fl.controls
Section 32
//LabelButton (fl.controls.LabelButton) package fl.controls { import fl.core.*; import flash.events.*; import flash.display.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; public class LabelButton extends BaseButton implements IFocusManagerComponent { protected var _labelPlacement:String;// = "right" protected var _toggle:Boolean;// = false protected var icon:DisplayObject; protected var oldMouseState:String; protected var mode:String;// = "center" public var textField:TextField; protected var _label:String;// = "Label" private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function LabelButton(){ _labelPlacement = ButtonLabelPlacement.RIGHT; _toggle = false; _label = "Label"; mode = "center"; super(); } protected function toggleSelected(_arg1:MouseEvent):void{ selected = !(selected); dispatchEvent(new Event(Event.CHANGE, true)); } public function get labelPlacement():String{ return (_labelPlacement); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ if (oldMouseState == null){ oldMouseState = mouseState; }; setMouseState("down"); startPress(); }; } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ setMouseState(oldMouseState); oldMouseState = null; endPress(); dispatchEvent(new MouseEvent(MouseEvent.CLICK)); }; } override public function get selected():Boolean{ return ((_toggle) ? _selected : false); } public function set labelPlacement(_arg1:String):void{ _labelPlacement = _arg1; invalidate(InvalidationType.SIZE); } public function set toggle(_arg1:Boolean):void{ if (((!(_arg1)) && (super.selected))){ selected = false; }; _toggle = _arg1; if (_toggle){ addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true); } else { removeEventListener(MouseEvent.CLICK, toggleSelected); }; invalidate(InvalidationType.STATE); } public function get label():String{ return (_label); } override public function set selected(_arg1:Boolean):void{ _selected = _arg1; if (_toggle){ invalidate(InvalidationType.STATE); }; } override protected function draw():void{ if (textField.text != _label){ label = _label; }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); drawIcon(); drawTextFormat(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } public function get toggle():Boolean{ return (_toggle); } override protected function configUI():void{ super.configUI(); textField = new TextField(); textField.type = TextFieldType.DYNAMIC; textField.selectable = false; addChild(textField); } override protected function drawLayout():void{ var _local1:Number; var _local2:String; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local1 = Number(getStyleValue("textPadding")); _local2 = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement; textField.height = (textField.textHeight + 4); _local3 = (textField.textWidth + 4); _local4 = (textField.textHeight + 4); _local5 = ((icon)==null) ? 0 : (icon.width + _local1); _local6 = ((icon)==null) ? 0 : (icon.height + _local1); textField.visible = (label.length > 0); if (icon != null){ icon.x = Math.round(((width - icon.width) / 2)); icon.y = Math.round(((height - icon.height) / 2)); }; if (textField.visible == false){ textField.width = 0; textField.height = 0; } else { if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){ _local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1)))); if ((height - 2) > _local4){ _local8 = _local4; } else { _local8 = (height - 2); }; _local3 = _local7; textField.width = _local3; _local4 = _local8; textField.height = _local4; textField.x = Math.round(((width - _local3) / 2)); textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0)); if (icon != null){ icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1)); }; } else { _local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1)))); _local3 = _local7; textField.width = _local3; textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0)); textField.y = Math.round(((height - textField.height) / 2)); if (icon != null){ icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1)); }; }; }; super.drawLayout(); } override protected function initializeAccessibility():void{ if (LabelButton.createAccessibilityImplementation != null){ LabelButton.createAccessibilityImplementation(this); }; } protected function drawIcon():void{ var _local1:DisplayObject; var _local2:String; var _local3:Object; _local1 = icon; _local2 = (enabled) ? mouseState : "disabled"; if (selected){ _local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1)); }; _local2 = (_local2 + "Icon"); _local3 = getStyleValue(_local2); if (_local3 == null){ _local3 = getStyleValue("icon"); }; if (_local3 != null){ icon = getDisplayObjectInstance(_local3); }; if (icon != null){ addChildAt(icon, 1); }; if (((!((_local1 == null))) && (!((_local1 == icon))))){ removeChild(_local1); }; } public function set label(_arg1:String):void{ _label = _arg1; if (textField.text != _label){ textField.text = _label; dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE)); }; invalidate(InvalidationType.SIZE); invalidate(InvalidationType.STYLES); } protected function drawTextFormat():void{ var _local1:Object; var _local2:TextFormat; var _local3:TextFormat; _local1 = UIComponent.getStyleDefinition(); _local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); _local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition())); } } }//package fl.controls
Section 33
//List (fl.controls.List) package fl.controls { import fl.controls.listClasses.*; import fl.core.*; import flash.events.*; import flash.display.*; import flash.geom.*; import fl.managers.*; import flash.utils.*; import flash.ui.*; public class List extends SelectableList implements IFocusManagerComponent { protected var _labelField:String;// = "label" protected var _rowHeight:Number;// = 20 protected var _cellRenderer:Object; protected var _iconField:String;// = "icon" protected var _labelFunction:Function; protected var _iconFunction:Function; private static var defaultStyles:Object = {focusRectSkin:null, focusRectPadding:null}; public static var createAccessibilityImplementation:Function; public function List(){ _rowHeight = 20; _labelField = "label"; _iconField = "icon"; super(); } public function get iconField():String{ return (_iconField); } protected function doKeySelection(_arg1:int, _arg2:Boolean, _arg3:Boolean):void{ var _local4:Boolean; var _local5:int; var _local6:Array; var _local7:int; var _local8:int; _local4 = false; if (_arg2){ _local6 = []; _local7 = lastCaretIndex; _local8 = _arg1; if (_local7 == -1){ _local7 = ((caretIndex)!=-1) ? caretIndex : _arg1; }; if (_local7 > _local8){ _local8 = _local7; _local7 = _arg1; }; _local5 = _local7; while (_local5 <= _local8) { _local6.push(_local5); _local5++; }; selectedIndices = _local6; caretIndex = _arg1; _local4 = true; } else { selectedIndex = _arg1; caretIndex = (lastCaretIndex = _arg1); _local4 = true; }; if (_local4){ dispatchEvent(new Event(Event.CHANGE)); }; invalidate(InvalidationType.DATA); } override protected function drawList():void{ var _local1:Rectangle; var _local2:uint; var _local3:uint; var _local4:uint; var _local5:Object; var _local6:ICellRenderer; var _local7:Dictionary; var _local8:Dictionary; var _local9:Boolean; var _local10:String; var _local11:Object; var _local12:Sprite; var _local13:String; listHolder.x = (listHolder.y = contentPadding); _local1 = listHolder.scrollRect; _local1.x = _horizontalScrollPosition; _local1.y = (Math.floor(_verticalScrollPosition) % rowHeight); listHolder.scrollRect = _local1; listHolder.cacheAsBitmap = useBitmapScrolling; _local2 = Math.floor((_verticalScrollPosition / rowHeight)); _local3 = Math.min(length, ((_local2 + rowCount) + 1)); _local7 = (renderedItems = new Dictionary(true)); _local4 = _local2; while (_local4 < _local3) { _local7[_dataProvider.getItemAt(_local4)] = true; _local4++; }; _local8 = new Dictionary(true); while (activeCellRenderers.length > 0) { _local6 = (activeCellRenderers.pop() as ICellRenderer); _local5 = _local6.data; if ((((_local7[_local5] == null)) || ((invalidItems[_local5] == true)))){ availableCellRenderers.push(_local6); } else { _local8[_local5] = _local6; invalidItems[_local5] = true; }; list.removeChild((_local6 as DisplayObject)); }; invalidItems = new Dictionary(true); _local4 = _local2; while (_local4 < _local3) { _local9 = false; _local5 = _dataProvider.getItemAt(_local4); if (_local8[_local5] != null){ _local9 = true; _local6 = _local8[_local5]; delete _local8[_local5]; } else { if (availableCellRenderers.length > 0){ _local6 = (availableCellRenderers.pop() as ICellRenderer); } else { _local6 = (getDisplayObjectInstance(getStyleValue("cellRenderer")) as ICellRenderer); _local12 = (_local6 as Sprite); if (_local12 != null){ _local12.addEventListener(MouseEvent.CLICK, handleCellRendererClick, false, 0, true); _local12.addEventListener(MouseEvent.ROLL_OVER, handleCellRendererMouseEvent, false, 0, true); _local12.addEventListener(MouseEvent.ROLL_OUT, handleCellRendererMouseEvent, false, 0, true); _local12.addEventListener(Event.CHANGE, handleCellRendererChange, false, 0, true); _local12.doubleClickEnabled = true; _local12.addEventListener(MouseEvent.DOUBLE_CLICK, handleCellRendererDoubleClick, false, 0, true); if (_local12["setStyle"] != null){ for (_local13 in rendererStyles) { var _local16 = _local12; _local16["setStyle"](_local13, rendererStyles[_local13]); }; }; }; }; }; list.addChild((_local6 as Sprite)); activeCellRenderers.push(_local6); _local6.y = (rowHeight * (_local4 - _local2)); _local6.setSize((availableWidth + _maxHorizontalScrollPosition), rowHeight); _local10 = itemToLabel(_local5); _local11 = null; if (_iconFunction != null){ _local11 = _iconFunction(_local5); } else { if (_iconField != null){ _local11 = _local5[_iconField]; }; }; if (!_local9){ _local6.data = _local5; }; _local6.listData = new ListData(_local10, _local11, this, _local4, _local4, 0); _local6.selected = !((_selectedIndices.indexOf(_local4) == -1)); if ((_local6 is UIComponent)){ (_local6 as UIComponent).drawNow(); }; _local4++; }; } public function get iconFunction():Function{ return (_iconFunction); } public function set iconField(_arg1:String):void{ if (_arg1 == _iconField){ return; }; _iconField = _arg1; invalidate(InvalidationType.DATA); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ var _local2:int; if (!selectable){ return; }; switch (_arg1.keyCode){ case Keyboard.UP: case Keyboard.DOWN: case Keyboard.END: case Keyboard.HOME: case Keyboard.PAGE_UP: case Keyboard.PAGE_DOWN: moveSelectionVertically(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); break; case Keyboard.LEFT: case Keyboard.RIGHT: moveSelectionHorizontally(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); break; case Keyboard.SPACE: if (caretIndex == -1){ caretIndex = 0; }; doKeySelection(caretIndex, _arg1.shiftKey, _arg1.ctrlKey); scrollToSelected(); break; default: _local2 = getNextIndexAtLetter(String.fromCharCode(_arg1.keyCode), selectedIndex); if (_local2 > -1){ selectedIndex = _local2; scrollToSelected(); }; break; }; _arg1.stopPropagation(); } override public function itemToLabel(_arg1:Object):String{ if (_labelFunction != null){ return (String(_labelFunction(_arg1))); }; return (((_arg1[_labelField])!=null) ? String(_arg1[_labelField]) : ""); } public function get labelField():String{ return (_labelField); } override protected function moveSelectionVertically(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ var _local4:int; var _local5:int; var _local6:int; _local4 = Math.max(Math.floor((calculateAvailableHeight() / rowHeight)), 1); _local5 = -1; _local6 = 0; switch (_arg1){ case Keyboard.UP: if (caretIndex > 0){ _local5 = (caretIndex - 1); }; break; case Keyboard.DOWN: if (caretIndex < (length - 1)){ _local5 = (caretIndex + 1); }; break; case Keyboard.PAGE_UP: if (caretIndex > 0){ _local5 = Math.max((caretIndex - _local4), 0); }; break; case Keyboard.PAGE_DOWN: if (caretIndex < (length - 1)){ _local5 = Math.min((caretIndex + _local4), (length - 1)); }; break; case Keyboard.HOME: if (caretIndex > 0){ _local5 = 0; }; break; case Keyboard.END: if (caretIndex < (length - 1)){ _local5 = (length - 1); }; break; }; if (_local5 >= 0){ doKeySelection(_local5, _arg2, _arg3); scrollToSelected(); }; } public function set labelField(_arg1:String):void{ if (_arg1 == _labelField){ return; }; _labelField = _arg1; invalidate(InvalidationType.DATA); } public function set rowCount(_arg1:uint):void{ var _local2:Number; var _local3:Number; _local2 = Number(getStyleValue("contentPadding")); _local3 = ((((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_maxHorizontalScrollPosition > 0)))))) ? 15 : 0; height = (((rowHeight * _arg1) + (2 * _local2)) + _local3); } override protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ list.x = -(_arg1); super.setHorizontalScrollPosition(_arg1, true); } public function set iconFunction(_arg1:Function):void{ if (_iconFunction == _arg1){ return; }; _iconFunction = _arg1; invalidate(InvalidationType.DATA); } public function get labelFunction():Function{ return (_labelFunction); } override protected function moveSelectionHorizontally(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ } override protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ invalidate(InvalidationType.SCROLL); super.setVerticalScrollPosition(_arg1, true); } protected function calculateAvailableHeight():Number{ var _local1:Number; _local1 = Number(getStyleValue("contentPadding")); return (((height - (_local1 * 2)) - ((((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_maxHorizontalScrollPosition > 0)))))) ? 15 : 0)); } override protected function draw():void{ var _local1:Boolean; _local1 = !((contentHeight == (rowHeight * length))); contentHeight = (rowHeight * length); if (isInvalid(InvalidationType.STYLES)){ setStyles(); drawBackground(); if (contentPadding != getStyleValue("contentPadding")){ invalidate(InvalidationType.SIZE, false); }; if (_cellRenderer != getStyleValue("cellRenderer")){ _invalidateList(); _cellRenderer = getStyleValue("cellRenderer"); }; }; if (((isInvalid(InvalidationType.SIZE, InvalidationType.STATE)) || (_local1))){ drawLayout(); }; if (isInvalid(InvalidationType.RENDERER_STYLES)){ updateRendererStyles(); }; if (isInvalid(InvalidationType.STYLES, InvalidationType.SIZE, InvalidationType.DATA, InvalidationType.SCROLL, InvalidationType.SELECTED)){ drawList(); }; updateChildren(); validate(); } override protected function configUI():void{ useFixedHorizontalScrolling = true; _horizontalScrollPolicy = ScrollPolicy.AUTO; _verticalScrollPolicy = ScrollPolicy.AUTO; super.configUI(); } override public function get rowCount():uint{ return (Math.ceil((calculateAvailableHeight() / rowHeight))); } override protected function initializeAccessibility():void{ if (List.createAccessibilityImplementation != null){ List.createAccessibilityImplementation(this); }; } override public function scrollToIndex(_arg1:int):void{ var _local2:uint; var _local3:uint; drawNow(); _local2 = (Math.floor(((_verticalScrollPosition + availableHeight) / rowHeight)) - 1); _local3 = Math.ceil((_verticalScrollPosition / rowHeight)); if (_arg1 < _local3){ verticalScrollPosition = (_arg1 * rowHeight); } else { if (_arg1 > _local2){ verticalScrollPosition = (((_arg1 + 1) * rowHeight) - availableHeight); }; }; } public function get rowHeight():Number{ return (_rowHeight); } public function set labelFunction(_arg1:Function):void{ if (_labelFunction == _arg1){ return; }; _labelFunction = _arg1; invalidate(InvalidationType.DATA); } public function set rowHeight(_arg1:Number):void{ _rowHeight = _arg1; invalidate(InvalidationType.SIZE); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, SelectableList.getStyleDefinition())); } } }//package fl.controls
Section 34
//NumericStepper (fl.controls.NumericStepper) package fl.controls { import fl.core.*; import flash.events.*; import flash.display.*; import fl.managers.*; import fl.events.*; import flash.ui.*; public class NumericStepper extends UIComponent implements IFocusManagerComponent { protected var upArrow:BaseButton; protected var _stepSize:Number;// = 1 protected var downArrow:BaseButton; protected var _value:Number;// = 1 protected var _minimum:Number;// = 0 protected var _maximum:Number;// = 10 protected var _precision:Number; protected var inputField:TextInput; protected static const DOWN_ARROW_STYLES:Object = {disabledSkin:"downArrowDisabledSkin", downSkin:"downArrowDownSkin", overSkin:"downArrowOverSkin", upSkin:"downArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; protected static const TEXT_INPUT_STYLES:Object = {upSkin:"upSkin", disabledSkin:"disabledSkin", textPadding:"textPadding", textFormat:"textFormat", disabledTextFormat:"disabledTextFormat", embedFonts:"embedFonts"}; protected static const UP_ARROW_STYLES:Object = {disabledSkin:"upArrowDisabledSkin", downSkin:"upArrowDownSkin", overSkin:"upArrowOverSkin", upSkin:"upArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; private static var defaultStyles:Object = {downArrowDisabledSkin:"NumericStepperDownArrow_disabledSkin", downArrowDownSkin:"NumericStepperDownArrow_downSkin", downArrowOverSkin:"NumericStepperDownArrow_overSkin", downArrowUpSkin:"NumericStepperDownArrow_upSkin", upArrowDisabledSkin:"NumericStepperUpArrow_disabledSkin", upArrowDownSkin:"NumericStepperUpArrow_downSkin", upArrowOverSkin:"NumericStepperUpArrow_overSkin", upArrowUpSkin:"NumericStepperUpArrow_upSkin", upSkin:"TextInput_upSkin", disabledSkin:"TextInput_disabledSkin", focusRect:null, focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35, embedFonts:false}; public function NumericStepper(){ _maximum = 10; _minimum = 0; _value = 1; _stepSize = 1; super(); setStyles(); stepSize = _stepSize; } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.width = (width + (_local2 * 2)); uiFocusRect.height = (height + (_local2 * 2)); }; } public function get minimum():Number{ return (_minimum); } public function set imeMode(_arg1:String):void{ inputField.imeMode = _arg1; } public function set minimum(_arg1:Number):void{ _minimum = _arg1; if (_value < _minimum){ setValue(_minimum, false); }; } public function get maximum():Number{ return (_maximum); } override protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((((_arg1 == inputField)) || (super.isOurFocus(_arg1)))); } public function get nextValue():Number{ var _local1:Number; _local1 = (_value + _stepSize); return ((inRange(_local1)) ? _local1 : _value); } public function set maximum(_arg1:Number):void{ _maximum = _arg1; if (_value > _maximum){ setValue(_maximum, false); }; } protected function setValue(_arg1:Number, _arg2:Boolean=true):void{ var _local3:Number; if (_arg1 == _value){ return; }; _local3 = _value; _value = getValidValue(_arg1); inputField.text = _value.toString(); if (_arg2){ dispatchEvent(new Event(Event.CHANGE, true)); }; } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ var _local2:Number; if (!enabled){ return; }; _arg1.stopImmediatePropagation(); _local2 = Number(inputField.text); switch (_arg1.keyCode){ case Keyboard.END: setValue(maximum); break; case Keyboard.HOME: setValue(minimum); break; case Keyboard.UP: setValue(nextValue); break; case Keyboard.DOWN: setValue(previousValue); break; case Keyboard.ENTER: setValue(_local2); break; }; } override public function set enabled(_arg1:Boolean):void{ if (_arg1 == enabled){ return; }; super.enabled = _arg1; upArrow.enabled = (downArrow.enabled = (inputField.enabled = _arg1)); } protected function onTextChange(_arg1:Event):void{ _arg1.stopImmediatePropagation(); } public function get previousValue():Number{ var _local1:Number; _local1 = (_value - _stepSize); return ((inRange(_local1)) ? _local1 : _value); } protected function getValidValue(_arg1:Number):Number{ var _local2:Number; if (isNaN(_arg1)){ return (_value); }; _local2 = Number((_stepSize * Math.round((_arg1 / _stepSize))).toFixed(_precision)); if (_local2 > maximum){ return (maximum); }; if (_local2 < minimum){ return (minimum); }; return (_local2); } public function set value(_arg1:Number):void{ setValue(_arg1, false); } public function get stepSize():Number{ return (_stepSize); } protected function passEvent(_arg1:Event):void{ dispatchEvent(_arg1); } public function get imeMode():String{ return (inputField.imeMode); } protected function stepperPressHandler(_arg1:ComponentEvent):void{ setValue(Number(inputField.text), false); switch (_arg1.currentTarget){ case upArrow: setValue(nextValue); break; case downArrow: setValue(previousValue); }; inputField.setFocus(); inputField.textField.setSelection(0, 0); } override protected function focusOutHandler(_arg1:FocusEvent):void{ if (_arg1.eventPhase == 3){ setValue(Number(inputField.text)); }; super.focusOutHandler(_arg1); } protected function inRange(_arg1:Number):Boolean{ return ((((_arg1 >= _minimum)) && ((_arg1 <= _maximum)))); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ setStyles(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; validate(); } override protected function configUI():void{ super.configUI(); upArrow = new BaseButton(); copyStylesToChild(upArrow, UP_ARROW_STYLES); upArrow.autoRepeat = true; upArrow.setSize(21, 12); upArrow.focusEnabled = false; addChild(upArrow); downArrow = new BaseButton(); copyStylesToChild(downArrow, DOWN_ARROW_STYLES); downArrow.autoRepeat = true; downArrow.setSize(21, 12); downArrow.focusEnabled = false; addChild(downArrow); inputField = new TextInput(); copyStylesToChild(inputField, TEXT_INPUT_STYLES); inputField.restrict = "0-9\\-\\.\\,"; inputField.text = _value.toString(); inputField.setSize(21, 24); inputField.focusTarget = (this as IFocusManagerComponent); inputField.focusEnabled = false; inputField.addEventListener(FocusEvent.FOCUS_IN, passEvent); inputField.addEventListener(FocusEvent.FOCUS_OUT, passEvent); addChild(inputField); inputField.addEventListener(Event.CHANGE, onTextChange, false, 0, true); upArrow.addEventListener(ComponentEvent.BUTTON_DOWN, stepperPressHandler, false, 0, true); downArrow.addEventListener(ComponentEvent.BUTTON_DOWN, stepperPressHandler, false, 0, true); } public function get value():Number{ return (_value); } protected function inStep(_arg1:Number):Boolean{ return ((((_arg1 - _minimum) % _stepSize) == 0)); } protected function drawLayout():void{ var _local1:Number; var _local2:Number; _local1 = (width - upArrow.width); _local2 = (height / 2); inputField.setSize(_local1, height); upArrow.height = _local2; downArrow.height = Math.floor(_local2); downArrow.move(_local1, _local2); upArrow.move(_local1, 0); downArrow.drawNow(); upArrow.drawNow(); inputField.drawNow(); } override public function setFocus():void{ if (stage){ stage.focus = inputField.textField; }; } protected function getPrecision():Number{ var _local1:String; _local1 = _stepSize.toString(); if (_local1.indexOf(".") == -1){ return (0); }; return (_local1.split(".").pop().length); } public function get textField():TextInput{ return (inputField); } public function set stepSize(_arg1:Number):void{ _stepSize = _arg1; _precision = getPrecision(); setValue(_value); } protected function setStyles():void{ copyStylesToChild(downArrow, DOWN_ARROW_STYLES); copyStylesToChild(upArrow, UP_ARROW_STYLES); copyStylesToChild(inputField, TEXT_INPUT_STYLES); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 35
//ScrollBar (fl.controls.ScrollBar) package fl.controls { import fl.core.*; import flash.events.*; import fl.events.*; public class ScrollBar extends UIComponent { private var _direction:String;// = "vertical" protected var inDrag:Boolean;// = false protected var upArrow:BaseButton; private var _pageScrollSize:Number;// = 0 protected var downArrow:BaseButton; private var _pageSize:Number;// = 10 private var thumbScrollOffset:Number; private var _maxScrollPosition:Number;// = 0 private var _scrollPosition:Number;// = 0 protected var track:BaseButton; private var _minScrollPosition:Number;// = 0 private var _lineScrollSize:Number;// = 1 protected var thumb:LabelButton; protected static const THUMB_STYLES:Object = {disabledSkin:"thumbDisabledSkin", downSkin:"thumbDownSkin", overSkin:"thumbOverSkin", upSkin:"thumbUpSkin", icon:"thumbIcon", textPadding:0}; public static const WIDTH:Number = 15; protected static const DOWN_ARROW_STYLES:Object = {disabledSkin:"downArrowDisabledSkin", downSkin:"downArrowDownSkin", overSkin:"downArrowOverSkin", upSkin:"downArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; protected static const UP_ARROW_STYLES:Object = {disabledSkin:"upArrowDisabledSkin", downSkin:"upArrowDownSkin", overSkin:"upArrowOverSkin", upSkin:"upArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; protected static const TRACK_STYLES:Object = {disabledSkin:"trackDisabledSkin", downSkin:"trackDownSkin", overSkin:"trackOverSkin", upSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; private static var defaultStyles:Object = {downArrowDisabledSkin:"ScrollArrowDown_disabledSkin", downArrowDownSkin:"ScrollArrowDown_downSkin", downArrowOverSkin:"ScrollArrowDown_overSkin", downArrowUpSkin:"ScrollArrowDown_upSkin", thumbDisabledSkin:"ScrollThumb_upSkin", thumbDownSkin:"ScrollThumb_downSkin", thumbOverSkin:"ScrollThumb_overSkin", thumbUpSkin:"ScrollThumb_upSkin", trackDisabledSkin:"ScrollTrack_skin", trackDownSkin:"ScrollTrack_skin", trackOverSkin:"ScrollTrack_skin", trackUpSkin:"ScrollTrack_skin", upArrowDisabledSkin:"ScrollArrowUp_disabledSkin", upArrowDownSkin:"ScrollArrowUp_downSkin", upArrowOverSkin:"ScrollArrowUp_overSkin", upArrowUpSkin:"ScrollArrowUp_upSkin", thumbIcon:"ScrollBar_thumbIcon", repeatDelay:500, repeatInterval:35}; public function ScrollBar(){ _pageSize = 10; _pageScrollSize = 0; _lineScrollSize = 1; _minScrollPosition = 0; _maxScrollPosition = 0; _scrollPosition = 0; _direction = ScrollBarDirection.VERTICAL; inDrag = false; super(); setStyles(); focusEnabled = false; } public function get minScrollPosition():Number{ return (_minScrollPosition); } public function set minScrollPosition(_arg1:Number):void{ setScrollProperties(_pageSize, _arg1, _maxScrollPosition); } public function setScrollPosition(_arg1:Number, _arg2:Boolean=true):void{ var _local3:Number; _local3 = scrollPosition; _scrollPosition = Math.max(_minScrollPosition, Math.min(_maxScrollPosition, _arg1)); if (_local3 == _scrollPosition){ return; }; if (_arg2){ dispatchEvent(new ScrollEvent(_direction, (scrollPosition - _local3), scrollPosition)); }; updateThumb(); } public function set scrollPosition(_arg1:Number):void{ setScrollPosition(_arg1, true); } public function get pageScrollSize():Number{ return (((_pageScrollSize)==0) ? _pageSize : _pageScrollSize); } public function set pageSize(_arg1:Number):void{ if (_arg1 > 0){ _pageSize = _arg1; }; } public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{ this.pageSize = _arg1; _minScrollPosition = _arg2; _maxScrollPosition = _arg3; if (_arg4 >= 0){ _pageScrollSize = _arg4; }; enabled = (_maxScrollPosition > _minScrollPosition); setScrollPosition(_scrollPosition, false); updateThumb(); } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; downArrow.enabled = (track.enabled = (thumb.enabled = (upArrow.enabled = ((enabled) && ((_maxScrollPosition > _minScrollPosition)))))); updateThumb(); } protected function updateThumb():void{ var _local1:Number; _local1 = ((_maxScrollPosition - _minScrollPosition) + _pageSize); if ((((((track.height <= 12)) || ((_maxScrollPosition <= _minScrollPosition)))) || ((((_local1 == 0)) || (isNaN(_local1)))))){ thumb.height = 12; thumb.visible = false; } else { thumb.height = Math.max(13, ((_pageSize / _local1) * track.height)); thumb.y = (track.y + ((track.height - thumb.height) * ((_scrollPosition - _minScrollPosition) / (_maxScrollPosition - _minScrollPosition)))); thumb.visible = enabled; }; } protected function thumbPressHandler(_arg1:MouseEvent):void{ inDrag = true; thumbScrollOffset = (mouseY - thumb.y); thumb.mouseStateLocked = true; mouseChildren = false; stage.addEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler, false, 0, true); } protected function thumbReleaseHandler(_arg1:MouseEvent):void{ inDrag = false; mouseChildren = true; thumb.mouseStateLocked = false; stage.removeEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag); stage.removeEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler); } public function set pageScrollSize(_arg1:Number):void{ if (_arg1 >= 0){ _pageScrollSize = _arg1; }; } protected function handleThumbDrag(_arg1:MouseEvent):void{ var _local2:Number; _local2 = Math.max(0, Math.min((track.height - thumb.height), ((mouseY - track.y) - thumbScrollOffset))); setScrollPosition((((_local2 / (track.height - thumb.height)) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition)); } public function set direction(_arg1:String):void{ var _local2:Boolean; if (_direction == _arg1){ return; }; _direction = _arg1; if (isLivePreview){ return; }; setScaleY(1); _local2 = (_direction == ScrollBarDirection.HORIZONTAL); if (((_local2) && (componentInspectorSetting))){ if (rotation == 90){ return; }; setScaleX(-1); rotation = -90; }; if (!componentInspectorSetting){ if (((_local2) && ((rotation == 0)))){ rotation = -90; setScaleX(-1); } else { if (((!(_local2)) && ((rotation == -90)))){ rotation = 0; setScaleX(1); }; }; }; invalidate(InvalidationType.SIZE); } public function set lineScrollSize(_arg1:Number):void{ if (_arg1 > 0){ _lineScrollSize = _arg1; }; } override public function get height():Number{ return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.width : super.height); } protected function scrollPressHandler(_arg1:ComponentEvent):void{ var _local2:Number; var _local3:Number; _arg1.stopImmediatePropagation(); if (_arg1.currentTarget == upArrow){ setScrollPosition((_scrollPosition - _lineScrollSize)); } else { if (_arg1.currentTarget == downArrow){ setScrollPosition((_scrollPosition + _lineScrollSize)); } else { _local2 = (((track.mouseY / track.height) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition); _local3 = ((pageScrollSize)==0) ? pageSize : pageScrollSize; if (_scrollPosition < _local2){ setScrollPosition(Math.min(_local2, (_scrollPosition + _local3))); } else { if (_scrollPosition > _local2){ setScrollPosition(Math.max(_local2, (_scrollPosition - _local3))); }; }; }; }; } public function get pageSize():Number{ return (_pageSize); } public function set maxScrollPosition(_arg1:Number):void{ setScrollProperties(_pageSize, _minScrollPosition, _arg1); } public function get scrollPosition():Number{ return (_scrollPosition); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ var _local1:Number; if (isInvalid(InvalidationType.SIZE)){ _local1 = super.height; downArrow.move(0, Math.max(upArrow.height, (_local1 - downArrow.height))); track.setSize(WIDTH, Math.max(0, (_local1 - (downArrow.height + upArrow.height)))); updateThumb(); }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ setStyles(); }; downArrow.drawNow(); upArrow.drawNow(); track.drawNow(); thumb.drawNow(); validate(); } override protected function configUI():void{ super.configUI(); track = new BaseButton(); track.move(0, 14); track.useHandCursor = false; track.autoRepeat = true; track.focusEnabled = false; addChild(track); thumb = new LabelButton(); thumb.label = ""; thumb.setSize(WIDTH, 15); thumb.move(0, 15); thumb.focusEnabled = false; addChild(thumb); downArrow = new BaseButton(); downArrow.setSize(WIDTH, 14); downArrow.autoRepeat = true; downArrow.focusEnabled = false; addChild(downArrow); upArrow = new BaseButton(); upArrow.setSize(WIDTH, 14); upArrow.move(0, 0); upArrow.autoRepeat = true; upArrow.focusEnabled = false; addChild(upArrow); upArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); downArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); track.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbPressHandler, false, 0, true); enabled = false; } public function get direction():String{ return (_direction); } public function get lineScrollSize():Number{ return (_lineScrollSize); } override public function setSize(_arg1:Number, _arg2:Number):void{ if (_direction == ScrollBarDirection.HORIZONTAL){ super.setSize(_arg2, _arg1); } else { super.setSize(_arg1, _arg2); }; } public function get maxScrollPosition():Number{ return (_maxScrollPosition); } override public function get width():Number{ return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.height : super.width); } protected function setStyles():void{ copyStylesToChild(downArrow, DOWN_ARROW_STYLES); copyStylesToChild(thumb, THUMB_STYLES); copyStylesToChild(track, TRACK_STYLES); copyStylesToChild(upArrow, UP_ARROW_STYLES); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 36
//ScrollBarDirection (fl.controls.ScrollBarDirection) package fl.controls { public class ScrollBarDirection { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; } }//package fl.controls
Section 37
//ScrollPolicy (fl.controls.ScrollPolicy) package fl.controls { public class ScrollPolicy { public static const OFF:String = "off"; public static const ON:String = "on"; public static const AUTO:String = "auto"; } }//package fl.controls
Section 38
//SelectableList (fl.controls.SelectableList) package fl.controls { import fl.controls.listClasses.*; import fl.core.*; import flash.events.*; import flash.display.*; import fl.data.*; import fl.managers.*; import fl.events.*; import flash.utils.*; import fl.containers.*; import flash.ui.*; public class SelectableList extends BaseScrollPane implements IFocusManagerComponent { protected var invalidItems:Dictionary; protected var renderedItems:Dictionary; protected var listHolder:Sprite; protected var _allowMultipleSelection:Boolean;// = false protected var lastCaretIndex:int;// = -1 protected var _selectedIndices:Array; protected var availableCellRenderers:Array; protected var list:Sprite; protected var caretIndex:int;// = -1 protected var updatedRendererStyles:Object; protected var preChangeItems:Array; protected var activeCellRenderers:Array; protected var rendererStyles:Object; protected var _verticalScrollPosition:Number; protected var _dataProvider:DataProvider; protected var _horizontalScrollPosition:Number; private var collectionItemImport:SimpleCollectionItem; protected var _selectable:Boolean;// = true private static var defaultStyles:Object = {skin:"List_skin", cellRenderer:CellRenderer, contentPadding:null, disabledAlpha:null}; public static var createAccessibilityImplementation:Function; public function SelectableList(){ _allowMultipleSelection = false; _selectable = true; caretIndex = -1; lastCaretIndex = -1; super(); activeCellRenderers = []; availableCellRenderers = []; invalidItems = new Dictionary(true); renderedItems = new Dictionary(true); _selectedIndices = []; if (dataProvider == null){ dataProvider = new DataProvider(); }; verticalScrollPolicy = ScrollPolicy.AUTO; rendererStyles = {}; updatedRendererStyles = {}; } protected function drawList():void{ } public function set allowMultipleSelection(_arg1:Boolean):void{ if (_arg1 == _allowMultipleSelection){ return; }; _allowMultipleSelection = _arg1; if (((!(_arg1)) && ((_selectedIndices.length > 1)))){ _selectedIndices = [_selectedIndices.pop()]; invalidate(InvalidationType.DATA); }; } public function sortItemsOn(_arg1:String, _arg2:Object=null){ return (_dataProvider.sortOn(_arg1, _arg2)); } public function removeItemAt(_arg1:uint):Object{ return (_dataProvider.removeItemAt(_arg1)); } public function get selectedItem():Object{ return (((_selectedIndices.length)==0) ? null : _dataProvider.getItemAt(selectedIndex)); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!selectable){ return; }; switch (_arg1.keyCode){ case Keyboard.UP: case Keyboard.DOWN: case Keyboard.END: case Keyboard.HOME: case Keyboard.PAGE_UP: case Keyboard.PAGE_DOWN: moveSelectionVertically(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); _arg1.stopPropagation(); break; case Keyboard.LEFT: case Keyboard.RIGHT: moveSelectionHorizontally(_arg1.keyCode, ((_arg1.shiftKey) && (_allowMultipleSelection)), ((_arg1.ctrlKey) && (_allowMultipleSelection))); _arg1.stopPropagation(); break; }; } public function get selectable():Boolean{ return (_selectable); } public function itemToCellRenderer(_arg1:Object):ICellRenderer{ var _local2:*; var _local3:ICellRenderer; if (_arg1 != null){ for (_local2 in activeCellRenderers) { _local3 = (activeCellRenderers[_local2] as ICellRenderer); if (_local3.data == _arg1){ return (_local3); }; }; }; return (null); } public function getNextIndexAtLetter(_arg1:String, _arg2:int=-1):int{ var _local3:int; var _local4:Number; var _local5:Number; var _local6:Object; var _local7:String; if (length == 0){ return (-1); }; _arg1 = _arg1.toUpperCase(); _local3 = (length - 1); _local4 = 0; while (_local4 < _local3) { _local5 = ((_arg2 + 1) + _local4); if (_local5 > (length - 1)){ _local5 = (_local5 - length); }; _local6 = getItemAt(_local5); if (_local6 == null){ break; }; _local7 = itemToLabel(_local6); if (_local7 == null){ } else { if (_local7.charAt(0).toUpperCase() == _arg1){ return (_local5); }; }; _local4++; }; return (-1); } public function invalidateList():void{ _invalidateList(); invalidate(InvalidationType.DATA); } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; list.mouseChildren = _enabled; } public function get selectedIndices():Array{ return (_selectedIndices.concat()); } public function set selectable(_arg1:Boolean):void{ if (_arg1 == _selectable){ return; }; if (!_arg1){ selectedIndices = []; }; _selectable = _arg1; } public function itemToLabel(_arg1:Object):String{ return (_arg1["label"]); } public function addItemAt(_arg1:Object, _arg2:uint):void{ _dataProvider.addItemAt(_arg1, _arg2); invalidateList(); } public function replaceItemAt(_arg1:Object, _arg2:uint):Object{ return (_dataProvider.replaceItemAt(_arg1, _arg2)); } protected function handleDataChange(_arg1:DataChangeEvent):void{ var _local2:int; var _local3:int; var _local4:String; var _local5:uint; _local2 = _arg1.startIndex; _local3 = _arg1.endIndex; _local4 = _arg1.changeType; if (_local4 == DataChangeType.INVALIDATE_ALL){ clearSelection(); invalidateList(); } else { if (_local4 == DataChangeType.INVALIDATE){ _local5 = 0; while (_local5 < _arg1.items.length) { invalidateItem(_arg1.items[_local5]); _local5++; }; } else { if (_local4 == DataChangeType.ADD){ _local5 = 0; while (_local5 < _selectedIndices.length) { if (_selectedIndices[_local5] >= _local2){ _selectedIndices[_local5] = (_selectedIndices[_local5] + (_local2 - _local3)); }; _local5++; }; } else { if (_local4 == DataChangeType.REMOVE){ _local5 = 0; while (_local5 < _selectedIndices.length) { if (_selectedIndices[_local5] >= _local2){ if (_selectedIndices[_local5] <= _local3){ delete _selectedIndices[_local5]; } else { _selectedIndices[_local5] = (_selectedIndices[_local5] - ((_local2 - _local3) + 1)); }; }; _local5++; }; } else { if (_local4 == DataChangeType.REMOVE_ALL){ clearSelection(); } else { if (_local4 == DataChangeType.REPLACE){ } else { selectedItems = preChangeItems; preChangeItems = null; }; }; }; }; }; }; invalidate(InvalidationType.DATA); } protected function _invalidateList():void{ availableCellRenderers = []; while (activeCellRenderers.length > 0) { list.removeChild((activeCellRenderers.pop() as DisplayObject)); }; } protected function updateRendererStyles():void{ var _local1:Array; var _local2:uint; var _local3:uint; var _local4:String; _local1 = availableCellRenderers.concat(activeCellRenderers); _local2 = _local1.length; _local3 = 0; while (_local3 < _local2) { if (_local1[_local3].setStyle == null){ } else { for (_local4 in updatedRendererStyles) { _local1[_local3].setStyle(_local4, updatedRendererStyles[_local4]); }; _local1[_local3].drawNow(); }; _local3++; }; updatedRendererStyles = {}; } public function set selectedItem(_arg1:Object):void{ var _local2:int; _local2 = _dataProvider.getItemIndex(_arg1); selectedIndex = _local2; } public function sortItems(... _args){ return (_dataProvider.sort.apply(_dataProvider, _args)); } public function removeAll():void{ _dataProvider.removeAll(); } protected function handleCellRendererChange(_arg1:Event):void{ var _local2:ICellRenderer; var _local3:uint; _local2 = (_arg1.currentTarget as ICellRenderer); _local3 = _local2.listData.index; _dataProvider.invalidateItemAt(_local3); } protected function moveSelectionVertically(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ } override protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ var _local3:Number; if (_arg1 == _horizontalScrollPosition){ return; }; _local3 = (_arg1 - _horizontalScrollPosition); _horizontalScrollPosition = _arg1; if (_arg2){ dispatchEvent(new ScrollEvent(ScrollBarDirection.HORIZONTAL, _local3, _arg1)); }; } public function scrollToSelected():void{ scrollToIndex(selectedIndex); } public function invalidateItem(_arg1:Object):void{ if (renderedItems[_arg1] == null){ return; }; invalidItems[_arg1] = true; invalidate(InvalidationType.DATA); } protected function handleCellRendererClick(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:uint; var _local4:int; var _local5:int; var _local6:uint; if (!_enabled){ return; }; _local2 = (_arg1.currentTarget as ICellRenderer); _local3 = _local2.listData.index; if (((!(dispatchEvent(new ListEvent(ListEvent.ITEM_CLICK, false, true, _local2.listData.column, _local2.listData.row, _local3, _local2.data)))) || (!(_selectable)))){ return; }; _local4 = selectedIndices.indexOf(_local3); if (!_allowMultipleSelection){ if (_local4 != -1){ return; }; _local2.selected = true; _selectedIndices = [_local3]; lastCaretIndex = (caretIndex = _local3); } else { if (_arg1.shiftKey){ _local6 = ((_selectedIndices.length)>0) ? _selectedIndices[0] : _local3; _selectedIndices = []; if (_local6 > _local3){ _local5 = _local6; while (_local5 >= _local3) { _selectedIndices.push(_local5); _local5--; }; } else { _local5 = _local6; while (_local5 <= _local3) { _selectedIndices.push(_local5); _local5++; }; }; caretIndex = _local3; } else { if (_arg1.ctrlKey){ if (_local4 != -1){ _local2.selected = false; _selectedIndices.splice(_local4, 1); } else { _local2.selected = true; _selectedIndices.push(_local3); }; caretIndex = _local3; } else { _selectedIndices = [_local3]; lastCaretIndex = (caretIndex = _local3); }; }; }; dispatchEvent(new Event(Event.CHANGE)); invalidate(InvalidationType.DATA); } public function get length():uint{ return (_dataProvider.length); } public function get allowMultipleSelection():Boolean{ return (_allowMultipleSelection); } protected function onPreChange(_arg1:DataChangeEvent):void{ switch (_arg1.changeType){ case DataChangeType.REMOVE: case DataChangeType.ADD: case DataChangeType.INVALIDATE: case DataChangeType.REMOVE_ALL: case DataChangeType.REPLACE: case DataChangeType.INVALIDATE_ALL: break; default: preChangeItems = selectedItems; break; }; } public function getRendererStyle(_arg1:String, _arg2:int=-1):Object{ return (rendererStyles[_arg1]); } override protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ var _local3:Number; if (_arg1 == _verticalScrollPosition){ return; }; _local3 = (_arg1 - _verticalScrollPosition); _verticalScrollPosition = _arg1; if (_arg2){ dispatchEvent(new ScrollEvent(ScrollBarDirection.VERTICAL, _local3, _arg1)); }; } protected function moveSelectionHorizontally(_arg1:uint, _arg2:Boolean, _arg3:Boolean):void{ } public function set selectedIndices(_arg1:Array):void{ if (!_selectable){ return; }; _selectedIndices = ((_arg1)==null) ? [] : _arg1.concat(); invalidate(InvalidationType.SELECTED); } public function get selectedIndex():int{ return (((_selectedIndices.length)==0) ? -1 : _selectedIndices[(_selectedIndices.length - 1)]); } override protected function draw():void{ super.draw(); } override protected function configUI():void{ super.configUI(); listHolder = new Sprite(); addChild(listHolder); listHolder.scrollRect = contentScrollRect; list = new Sprite(); listHolder.addChild(list); } public function addItem(_arg1:Object):void{ _dataProvider.addItem(_arg1); invalidateList(); } protected function handleCellRendererMouseEvent(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:String; _local2 = (_arg1.target as ICellRenderer); _local3 = ((_arg1.type)==MouseEvent.ROLL_OVER) ? ListEvent.ITEM_ROLL_OVER : ListEvent.ITEM_ROLL_OUT; dispatchEvent(new ListEvent(_local3, false, false, _local2.listData.column, _local2.listData.row, _local2.listData.index, _local2.data)); } public function clearRendererStyle(_arg1:String, _arg2:int=-1):void{ delete rendererStyles[_arg1]; updatedRendererStyles[_arg1] = null; invalidate(InvalidationType.RENDERER_STYLES); } protected function handleCellRendererDoubleClick(_arg1:MouseEvent):void{ var _local2:ICellRenderer; var _local3:uint; if (!_enabled){ return; }; _local2 = (_arg1.currentTarget as ICellRenderer); _local3 = _local2.listData.index; dispatchEvent(new ListEvent(ListEvent.ITEM_DOUBLE_CLICK, false, true, _local2.listData.column, _local2.listData.row, _local3, _local2.data)); } public function get rowCount():uint{ return (0); } public function isItemSelected(_arg1:Object):Boolean{ return ((selectedItems.indexOf(_arg1) > -1)); } public function set dataProvider(_arg1:DataProvider):void{ if (_dataProvider != null){ _dataProvider.removeEventListener(DataChangeEvent.DATA_CHANGE, handleDataChange); _dataProvider.removeEventListener(DataChangeEvent.PRE_DATA_CHANGE, onPreChange); }; _dataProvider = _arg1; _dataProvider.addEventListener(DataChangeEvent.DATA_CHANGE, handleDataChange, false, 0, true); _dataProvider.addEventListener(DataChangeEvent.PRE_DATA_CHANGE, onPreChange, false, 0, true); clearSelection(); invalidateList(); } override protected function drawLayout():void{ super.drawLayout(); contentScrollRect = listHolder.scrollRect; contentScrollRect.width = availableWidth; contentScrollRect.height = availableHeight; listHolder.scrollRect = contentScrollRect; } public function getItemAt(_arg1:uint):Object{ return (_dataProvider.getItemAt(_arg1)); } override protected function initializeAccessibility():void{ if (SelectableList.createAccessibilityImplementation != null){ SelectableList.createAccessibilityImplementation(this); }; } public function scrollToIndex(_arg1:int):void{ } public function removeItem(_arg1:Object):Object{ return (_dataProvider.removeItem(_arg1)); } public function get dataProvider():DataProvider{ return (_dataProvider); } public function set maxHorizontalScrollPosition(_arg1:Number):void{ _maxHorizontalScrollPosition = _arg1; invalidate(InvalidationType.SIZE); } public function setRendererStyle(_arg1:String, _arg2:Object, _arg3:uint=0):void{ if (rendererStyles[_arg1] == _arg2){ return; }; updatedRendererStyles[_arg1] = _arg2; rendererStyles[_arg1] = _arg2; invalidate(InvalidationType.RENDERER_STYLES); } public function invalidateItemAt(_arg1:uint):void{ var _local2:Object; _local2 = _dataProvider.getItemAt(_arg1); if (_local2 != null){ invalidateItem(_local2); }; } public function set selectedItems(_arg1:Array):void{ var _local2:Array; var _local3:uint; var _local4:int; if (_arg1 == null){ selectedIndices = null; return; }; _local2 = []; _local3 = 0; while (_local3 < _arg1.length) { _local4 = _dataProvider.getItemIndex(_arg1[_local3]); if (_local4 != -1){ _local2.push(_local4); }; _local3++; }; selectedIndices = _local2; } public function clearSelection():void{ selectedIndex = -1; } override public function get maxHorizontalScrollPosition():Number{ return (_maxHorizontalScrollPosition); } public function get selectedItems():Array{ var _local1:Array; var _local2:uint; _local1 = []; _local2 = 0; while (_local2 < _selectedIndices.length) { _local1.push(_dataProvider.getItemAt(_selectedIndices[_local2])); _local2++; }; return (_local1); } public function set selectedIndex(_arg1:int):void{ selectedIndices = ((_arg1)==-1) ? null : [_arg1]; } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseScrollPane.getStyleDefinition())); } } }//package fl.controls
Section 39
//TextArea (fl.controls.TextArea) package fl.controls { import fl.core.*; import flash.events.*; import flash.display.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.system.*; import flash.ui.*; public class TextArea extends UIComponent implements IFocusManagerComponent { protected var _html:Boolean;// = false protected var _verticalScrollBar:UIScrollBar; protected var _savedHTML:String; protected var background:DisplayObject; protected var _horizontalScrollBar:UIScrollBar; protected var _horizontalScrollPolicy:String;// = "auto" protected var _editable:Boolean;// = true protected var textHasChanged:Boolean;// = false public var textField:TextField; protected var _wordWrap:Boolean;// = true protected var _verticalScrollPolicy:String;// = "auto" protected static const SCROLL_BAR_STYLES:Object = {downArrowDisabledSkin:"downArrowDisabledSkin", downArrowDownSkin:"downArrowDownSkin", downArrowOverSkin:"downArrowOverSkin", downArrowUpSkin:"downArrowUpSkin", upArrowDisabledSkin:"upArrowDisabledSkin", upArrowDownSkin:"upArrowDownSkin", upArrowOverSkin:"upArrowOverSkin", upArrowUpSkin:"upArrowUpSkin", thumbDisabledSkin:"thumbDisabledSkin", thumbDownSkin:"thumbDownSkin", thumbOverSkin:"thumbOverSkin", thumbUpSkin:"thumbUpSkin", thumbIcon:"thumbIcon", trackDisabledSkin:"trackDisabledSkin", trackDownSkin:"trackDownSkin", trackOverSkin:"trackOverSkin", trackUpSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; private static var defaultStyles:Object = {upSkin:"TextArea_upSkin", disabledSkin:"TextArea_disabledSkin", focusRectSkin:null, focusRectPadding:null, textFormat:null, disabledTextFormat:null, textPadding:3, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function TextArea(){ _editable = true; _wordWrap = true; _horizontalScrollPolicy = ScrollPolicy.AUTO; _verticalScrollPolicy = ScrollPolicy.AUTO; _html = false; textHasChanged = false; super(); } override public function drawFocus(_arg1:Boolean):void{ if (focusTarget != null){ focusTarget.drawFocus(_arg1); return; }; super.drawFocus(_arg1); } public function set imeMode(_arg1:String):void{ _imeMode = _arg1; } protected function handleWheel(_arg1:MouseEvent):void{ if (((!(enabled)) || (!(_verticalScrollBar.visible)))){ return; }; _verticalScrollBar.scrollPosition = (_verticalScrollBar.scrollPosition - (_arg1.delta * _verticalScrollBar.lineScrollSize)); dispatchEvent(new ScrollEvent(ScrollBarDirection.VERTICAL, (_arg1.delta * _verticalScrollBar.lineScrollSize), _verticalScrollBar.scrollPosition)); } public function get verticalScrollPosition():Number{ return (textField.scrollV); } override protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((((_arg1 == textField)) || (super.isOurFocus(_arg1)))); } public function set verticalScrollPosition(_arg1:Number):void{ drawNow(); textField.scrollV = _arg1; } protected function handleKeyDown(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.ENTER){ dispatchEvent(new ComponentEvent(ComponentEvent.ENTER, true)); }; } public function set text(_arg1:String):void{ if (((componentInspectorSetting) && ((_arg1 == "")))){ return; }; textField.text = _arg1; _html = false; invalidate(InvalidationType.DATA); invalidate(InvalidationType.STYLES); textHasChanged = true; } protected function updateTextFieldType():void{ textField.type = (((enabled) && (_editable))) ? TextFieldType.INPUT : TextFieldType.DYNAMIC; textField.selectable = enabled; textField.wordWrap = _wordWrap; textField.multiline = true; } public function get selectionEndIndex():int{ return (textField.selectionEndIndex); } public function get editable():Boolean{ return (_editable); } override protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; setIMEMode(true); if (_arg1.target == this){ stage.focus = textField; }; _local2 = focusManager; if (_local2){ if (editable){ _local2.showFocusIndicator = true; }; _local2.defaultButtonEnabled = false; }; super.focusInHandler(_arg1); if (editable){ setIMEMode(true); }; } public function get wordWrap():Boolean{ return (_wordWrap); } public function get selectionBeginIndex():int{ return (textField.selectionBeginIndex); } public function get horizontalScrollBar():UIScrollBar{ return (_horizontalScrollBar); } public function set alwaysShowSelection(_arg1:Boolean):void{ textField.alwaysShowSelection = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; mouseChildren = enabled; invalidate(InvalidationType.STATE); } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } public function get horizontalScrollPosition():Number{ return (textField.scrollH); } public function set condenseWhite(_arg1:Boolean):void{ textField.condenseWhite = _arg1; invalidate(InvalidationType.DATA); } public function get horizontalScrollPolicy():String{ return (_horizontalScrollPolicy); } public function set displayAsPassword(_arg1:Boolean):void{ textField.displayAsPassword = _arg1; } public function get maxVerticalScrollPosition():int{ return (textField.maxScrollV); } public function set horizontalScrollPosition(_arg1:Number):void{ drawNow(); textField.scrollH = _arg1; } public function get textHeight():Number{ drawNow(); return (textField.textHeight); } public function get textWidth():Number{ drawNow(); return (textField.textWidth); } public function get restrict():String{ return (textField.restrict); } public function set editable(_arg1:Boolean):void{ _editable = _arg1; invalidate(InvalidationType.STATE); } protected function updateScrollBars(){ _horizontalScrollBar.update(); _verticalScrollBar.update(); _verticalScrollBar.enabled = enabled; _horizontalScrollBar.enabled = enabled; _horizontalScrollBar.drawNow(); _verticalScrollBar.drawNow(); } public function get maxChars():int{ return (textField.maxChars); } public function get length():Number{ return (textField.text.length); } public function set wordWrap(_arg1:Boolean):void{ _wordWrap = _arg1; invalidate(InvalidationType.STATE); } public function get verticalScrollPolicy():String{ return (_verticalScrollPolicy); } public function getLineMetrics(_arg1:int):TextLineMetrics{ return (textField.getLineMetrics(_arg1)); } public function get imeMode():String{ return (IME.conversionMode); } protected function handleScroll(_arg1:ScrollEvent):void{ dispatchEvent(_arg1); } override protected function focusOutHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; _local2 = focusManager; if (_local2){ _local2.defaultButtonEnabled = true; }; setSelection(0, 0); super.focusOutHandler(_arg1); if (editable){ setIMEMode(false); }; } protected function delayedLayoutUpdate(_arg1:Event):void{ if (textHasChanged){ textHasChanged = false; drawLayout(); return; }; removeEventListener(Event.ENTER_FRAME, delayedLayoutUpdate); } public function set htmlText(_arg1:String):void{ if (((componentInspectorSetting) && ((_arg1 == "")))){ return; }; if (_arg1 == ""){ text = ""; return; }; _html = true; _savedHTML = _arg1; textField.htmlText = _arg1; invalidate(InvalidationType.DATA); invalidate(InvalidationType.STYLES); textHasChanged = true; } public function get text():String{ return (textField.text); } public function get verticalScrollBar():UIScrollBar{ return (_verticalScrollBar); } override public function get enabled():Boolean{ return (super.enabled); } public function get condenseWhite():Boolean{ return (textField.condenseWhite); } public function set horizontalScrollPolicy(_arg1:String):void{ _horizontalScrollPolicy = _arg1; invalidate(InvalidationType.SIZE); } public function get displayAsPassword():Boolean{ return (textField.displayAsPassword); } override protected function draw():void{ if (isInvalid(InvalidationType.STATE)){ updateTextFieldType(); }; if (isInvalid(InvalidationType.STYLES)){ setStyles(); setEmbedFont(); }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawTextFormat(); drawBackground(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE, InvalidationType.DATA)){ drawLayout(); }; super.draw(); } protected function handleTextInput(_arg1:TextEvent):void{ _arg1.stopPropagation(); dispatchEvent(new TextEvent(TextEvent.TEXT_INPUT, true, false, _arg1.text)); } override protected function configUI():void{ super.configUI(); tabChildren = true; textField = new TextField(); addChild(textField); updateTextFieldType(); _verticalScrollBar = new UIScrollBar(); _verticalScrollBar.name = "V"; _verticalScrollBar.visible = false; _verticalScrollBar.focusEnabled = false; copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES); _verticalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true); addChild(_verticalScrollBar); _horizontalScrollBar = new UIScrollBar(); _horizontalScrollBar.name = "H"; _horizontalScrollBar.visible = false; _horizontalScrollBar.focusEnabled = false; _horizontalScrollBar.direction = ScrollBarDirection.HORIZONTAL; copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES); _horizontalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true); addChild(_horizontalScrollBar); textField.addEventListener(TextEvent.TEXT_INPUT, handleTextInput, false, 0, true); textField.addEventListener(Event.CHANGE, handleChange, false, 0, true); textField.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown, false, 0, true); _horizontalScrollBar.scrollTarget = textField; _verticalScrollBar.scrollTarget = textField; addEventListener(MouseEvent.MOUSE_WHEEL, handleWheel, false, 0, true); } protected function setTextSize(_arg1:Number, _arg2:Number, _arg3:Number):void{ var _local4:Number; var _local5:Number; _local4 = (_arg1 - (_arg3 * 2)); _local5 = (_arg2 - (_arg3 * 2)); if (_local4 != textField.width){ textField.width = _local4; }; if (_local5 != textField.height){ textField.height = _local5; }; } public function appendText(_arg1:String):void{ textField.appendText(_arg1); invalidate(InvalidationType.DATA); } protected function needVScroll():Boolean{ if (_verticalScrollPolicy == ScrollPolicy.OFF){ return (false); }; if (_verticalScrollPolicy == ScrollPolicy.ON){ return (true); }; return ((textField.maxScrollV > 1)); } public function setSelection(_arg1:int, _arg2:int):void{ textField.setSelection(_arg1, _arg2); } public function get alwaysShowSelection():Boolean{ return (textField.alwaysShowSelection); } public function get htmlText():String{ return (textField.htmlText); } public function set restrict(_arg1:String):void{ if (((componentInspectorSetting) && ((_arg1 == "")))){ _arg1 = null; }; textField.restrict = _arg1; } protected function drawBackground():void{ var _local1:DisplayObject; var _local2:String; _local1 = background; _local2 = (enabled) ? "upSkin" : "disabledSkin"; background = getDisplayObjectInstance(getStyleValue(_local2)); if (background != null){ addChildAt(background, 0); }; if (((((!((_local1 == null))) && (!((_local1 == background))))) && (contains(_local1)))){ removeChild(_local1); }; } public function set maxChars(_arg1:int):void{ textField.maxChars = _arg1; } public function get maxHorizontalScrollPosition():int{ return (textField.maxScrollH); } protected function drawLayout():void{ var _local1:Number; var _local2:Number; var _local3:Boolean; var _local4:Number; var _local5:Boolean; _local1 = Number(getStyleValue("textPadding")); textField.x = (textField.y = _local1); background.width = width; background.height = height; _local2 = height; _local3 = needVScroll(); _local4 = (width - (_local3) ? _verticalScrollBar.width : 0); _local5 = needHScroll(); if (_local5){ _local2 = (_local2 - _horizontalScrollBar.height); }; setTextSize(_local4, _local2, _local1); if (((((_local5) && (!(_local3)))) && (needVScroll()))){ _local3 = true; _local4 = (_local4 - _verticalScrollBar.width); setTextSize(_local4, _local2, _local1); }; if (_local3){ _verticalScrollBar.visible = true; _verticalScrollBar.x = (width - _verticalScrollBar.width); _verticalScrollBar.height = _local2; _verticalScrollBar.visible = true; _verticalScrollBar.enabled = enabled; } else { _verticalScrollBar.visible = false; }; if (_local5){ _horizontalScrollBar.visible = true; _horizontalScrollBar.y = (height - _horizontalScrollBar.height); _horizontalScrollBar.width = _local4; _horizontalScrollBar.visible = true; _horizontalScrollBar.enabled = enabled; } else { _horizontalScrollBar.visible = false; }; updateScrollBars(); addEventListener(Event.ENTER_FRAME, delayedLayoutUpdate, false, 0, true); } protected function setStyles():void{ copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES); copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES); } protected function needHScroll():Boolean{ if (_horizontalScrollPolicy == ScrollPolicy.OFF){ return (false); }; if (_horizontalScrollPolicy == ScrollPolicy.ON){ return (true); }; return ((textField.maxScrollH > 0)); } protected function drawTextFormat():void{ var _local1:Object; var _local2:TextFormat; var _local3:TextFormat; _local1 = UIComponent.getStyleDefinition(); _local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); _local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); if (_html){ textField.htmlText = _savedHTML; }; } public function set verticalScrollPolicy(_arg1:String):void{ _verticalScrollPolicy = _arg1; invalidate(InvalidationType.SIZE); } protected function handleChange(_arg1:Event):void{ _arg1.stopPropagation(); dispatchEvent(new Event(Event.CHANGE, true)); invalidate(InvalidationType.DATA); } public static function getStyleDefinition():Object{ return (UIComponent.mergeStyles(defaultStyles, ScrollBar.getStyleDefinition())); } } }//package fl.controls
Section 40
//TextInput (fl.controls.TextInput) package fl.controls { import fl.core.*; import flash.events.*; import flash.display.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.ui.*; public class TextInput extends UIComponent implements IFocusManagerComponent { protected var _html:Boolean;// = false protected var _savedHTML:String; protected var background:DisplayObject; protected var _editable:Boolean;// = true public var textField:TextField; private static var defaultStyles:Object = {upSkin:"TextInput_upSkin", disabledSkin:"TextInput_disabledSkin", focusRectSkin:null, focusRectPadding:null, textFormat:null, disabledTextFormat:null, textPadding:0, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function TextInput(){ _editable = true; _html = false; super(); } override public function drawFocus(_arg1:Boolean):void{ if (focusTarget != null){ focusTarget.drawFocus(_arg1); return; }; super.drawFocus(_arg1); } public function set imeMode(_arg1:String):void{ _imeMode = _arg1; } override protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((((_arg1 == textField)) || (super.isOurFocus(_arg1)))); } protected function handleKeyDown(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.ENTER){ dispatchEvent(new ComponentEvent(ComponentEvent.ENTER, true)); }; } public function set text(_arg1:String):void{ textField.text = _arg1; _html = false; invalidate(InvalidationType.DATA); invalidate(InvalidationType.STYLES); } protected function updateTextFieldType():void{ textField.type = (((enabled) && (editable))) ? TextFieldType.INPUT : TextFieldType.DYNAMIC; textField.selectable = enabled; } public function get selectionEndIndex():int{ return (textField.selectionEndIndex); } public function get editable():Boolean{ return (_editable); } override protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (_arg1.target == this){ stage.focus = textField; }; _local2 = focusManager; if (((editable) && (_local2))){ _local2.showFocusIndicator = true; if (((textField.selectable) && ((textField.selectionBeginIndex == textField.selectionBeginIndex)))){ setSelection(0, textField.length); }; }; super.focusInHandler(_arg1); if (editable){ setIMEMode(true); }; } public function get selectionBeginIndex():int{ return (textField.selectionBeginIndex); } public function set alwaysShowSelection(_arg1:Boolean):void{ textField.alwaysShowSelection = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; updateTextFieldType(); } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } public function get horizontalScrollPosition():int{ return (textField.scrollH); } public function set condenseWhite(_arg1:Boolean):void{ textField.condenseWhite = _arg1; } public function set displayAsPassword(_arg1:Boolean):void{ textField.displayAsPassword = _arg1; } public function set horizontalScrollPosition(_arg1:int):void{ textField.scrollH = _arg1; } public function get restrict():String{ return (textField.restrict); } public function get textWidth():Number{ return (textField.textWidth); } public function get textHeight():Number{ return (textField.textHeight); } public function set editable(_arg1:Boolean):void{ _editable = _arg1; updateTextFieldType(); } public function get maxChars():int{ return (textField.maxChars); } public function get length():int{ return (textField.length); } public function getLineMetrics(_arg1:int):TextLineMetrics{ return (textField.getLineMetrics(_arg1)); } public function get imeMode():String{ return (_imeMode); } override protected function focusOutHandler(_arg1:FocusEvent):void{ super.focusOutHandler(_arg1); if (editable){ setIMEMode(false); }; } public function set htmlText(_arg1:String):void{ if (_arg1 == ""){ text = ""; return; }; _html = true; _savedHTML = _arg1; textField.htmlText = _arg1; invalidate(InvalidationType.DATA); invalidate(InvalidationType.STYLES); } public function get text():String{ return (textField.text); } override public function get enabled():Boolean{ return (super.enabled); } public function get condenseWhite():Boolean{ return (textField.condenseWhite); } public function get alwaysShowSelection():Boolean{ return (textField.alwaysShowSelection); } override protected function draw():void{ var _local1:Object; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawTextFormat(); drawBackground(); _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function handleTextInput(_arg1:TextEvent):void{ _arg1.stopPropagation(); dispatchEvent(new TextEvent(TextEvent.TEXT_INPUT, true, false, _arg1.text)); } override protected function configUI():void{ super.configUI(); tabChildren = true; textField = new TextField(); addChild(textField); updateTextFieldType(); textField.addEventListener(TextEvent.TEXT_INPUT, handleTextInput, false, 0, true); textField.addEventListener(Event.CHANGE, handleChange, false, 0, true); textField.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown, false, 0, true); } public function setSelection(_arg1:int, _arg2:int):void{ textField.setSelection(_arg1, _arg2); } public function get displayAsPassword():Boolean{ return (textField.displayAsPassword); } public function appendText(_arg1:String):void{ textField.appendText(_arg1); } public function set restrict(_arg1:String):void{ if (((componentInspectorSetting) && ((_arg1 == "")))){ _arg1 = null; }; textField.restrict = _arg1; } public function get htmlText():String{ return (textField.htmlText); } protected function drawBackground():void{ var _local1:DisplayObject; var _local2:String; _local1 = background; _local2 = (enabled) ? "upSkin" : "disabledSkin"; background = getDisplayObjectInstance(getStyleValue(_local2)); if (background == null){ return; }; addChildAt(background, 0); if (((((!((_local1 == null))) && (!((_local1 == background))))) && (contains(_local1)))){ removeChild(_local1); }; } override public function setFocus():void{ stage.focus = textField; } protected function drawLayout():void{ var _local1:Number; _local1 = Number(getStyleValue("textPadding")); if (background != null){ background.width = width; background.height = height; }; textField.width = (width - (2 * _local1)); textField.height = (height - (2 * _local1)); textField.x = (textField.y = _local1); } public function set maxChars(_arg1:int):void{ textField.maxChars = _arg1; } public function get maxHorizontalScrollPosition():int{ return (textField.maxScrollH); } protected function drawTextFormat():void{ var _local1:Object; var _local2:TextFormat; var _local3:TextFormat; _local1 = UIComponent.getStyleDefinition(); _local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); _local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); if (_html){ textField.htmlText = _savedHTML; }; } protected function handleChange(_arg1:Event):void{ _arg1.stopPropagation(); dispatchEvent(new Event(Event.CHANGE, true)); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 41
//UIScrollBar (fl.controls.UIScrollBar) package fl.controls { import fl.core.*; import flash.events.*; import fl.events.*; import flash.text.*; public class UIScrollBar extends ScrollBar { protected var inScroll:Boolean;// = false protected var _scrollTarget:TextField; protected var inEdit:Boolean;// = false private static var defaultStyles:Object = {}; public function UIScrollBar(){ inEdit = false; inScroll = false; super(); } protected function handleTargetScroll(_arg1:Event):void{ if (inDrag){ return; }; if (!enabled){ return; }; inEdit = true; updateScrollTargetProperties(); scrollPosition = ((direction)==ScrollBarDirection.HORIZONTAL) ? _scrollTarget.scrollH : _scrollTarget.scrollV; inEdit = false; } override public function set minScrollPosition(_arg1:Number):void{ super.minScrollPosition = ((_arg1)<0) ? 0 : _arg1; } override public function setScrollPosition(_arg1:Number, _arg2:Boolean=true):void{ super.setScrollPosition(_arg1, _arg2); if (!_scrollTarget){ inScroll = false; return; }; updateTargetScroll(); } override public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{ var _local5:Number; var _local6:Number; _local5 = _arg3; _local6 = ((_arg2)<0) ? 0 : _arg2; if (_scrollTarget != null){ if (direction == ScrollBarDirection.HORIZONTAL){ _local5 = ((_arg3)>_scrollTarget.maxScrollH) ? _scrollTarget.maxScrollH : _local5; } else { _local5 = ((_arg3)>_scrollTarget.maxScrollV) ? _scrollTarget.maxScrollV : _local5; }; }; super.setScrollProperties(_arg1, _local6, _local5, _arg4); } public function get scrollTargetName():String{ return (_scrollTarget.name); } public function get scrollTarget():TextField{ return (_scrollTarget); } protected function updateScrollTargetProperties():void{ var _local1:Boolean; var _local2:Number; if (_scrollTarget == null){ setScrollProperties(pageSize, minScrollPosition, maxScrollPosition, pageScrollSize); scrollPosition = 0; } else { _local1 = (direction == ScrollBarDirection.HORIZONTAL); _local2 = (_local1) ? _scrollTarget.width : 10; setScrollProperties(_local2, (_local1) ? 0 : 1, (_local1) ? _scrollTarget.maxScrollH : _scrollTarget.maxScrollV, pageScrollSize); scrollPosition = (_local1) ? _scrollTarget.scrollH : _scrollTarget.scrollV; }; } public function update():void{ inEdit = true; updateScrollTargetProperties(); inEdit = false; } public function set scrollTargetName(_arg1:String):void{ var target = _arg1; try { scrollTarget = (parent.getChildByName(target) as TextField); } catch(error:Error) { throw (new Error("ScrollTarget not found, or is not a TextField")); }; } override public function set direction(_arg1:String):void{ if (isLivePreview){ return; }; super.direction = _arg1; updateScrollTargetProperties(); } protected function handleTargetChange(_arg1:Event):void{ inEdit = true; setScrollPosition(((direction)==ScrollBarDirection.HORIZONTAL) ? _scrollTarget.scrollH : _scrollTarget.scrollV, true); updateScrollTargetProperties(); inEdit = false; } override public function set maxScrollPosition(_arg1:Number):void{ var _local2:Number; _local2 = _arg1; if (_scrollTarget != null){ if (direction == ScrollBarDirection.HORIZONTAL){ _local2 = ((_local2)>_scrollTarget.maxScrollH) ? _scrollTarget.maxScrollH : _local2; } else { _local2 = ((_local2)>_scrollTarget.maxScrollV) ? _scrollTarget.maxScrollV : _local2; }; }; super.maxScrollPosition = _local2; } protected function updateTargetScroll(_arg1:ScrollEvent=null):void{ if (inEdit){ return; }; if (direction == ScrollBarDirection.HORIZONTAL){ _scrollTarget.scrollH = scrollPosition; } else { _scrollTarget.scrollV = scrollPosition; }; } override protected function draw():void{ if (isInvalid(InvalidationType.DATA)){ updateScrollTargetProperties(); }; super.draw(); } public function set scrollTarget(_arg1:TextField):void{ if (_scrollTarget != null){ _scrollTarget.removeEventListener(Event.CHANGE, handleTargetChange, false); _scrollTarget.removeEventListener(TextEvent.TEXT_INPUT, handleTargetChange, false); _scrollTarget.removeEventListener(Event.SCROLL, handleTargetScroll, false); removeEventListener(ScrollEvent.SCROLL, updateTargetScroll, false); }; _scrollTarget = _arg1; if (_scrollTarget != null){ _scrollTarget.addEventListener(Event.CHANGE, handleTargetChange, false, 0, true); _scrollTarget.addEventListener(TextEvent.TEXT_INPUT, handleTargetChange, false, 0, true); _scrollTarget.addEventListener(Event.SCROLL, handleTargetScroll, false, 0, true); addEventListener(ScrollEvent.SCROLL, updateTargetScroll, false, 0, true); }; invalidate(InvalidationType.DATA); } override public function get direction():String{ return (super.direction); } public static function getStyleDefinition():Object{ return (UIComponent.mergeStyles(defaultStyles, ScrollBar.getStyleDefinition())); } } }//package fl.controls
Section 42
//ComponentShim (fl.core.ComponentShim) package fl.core { import flash.display.*; public dynamic class ComponentShim extends MovieClip { } }//package fl.core
Section 43
//InvalidationType (fl.core.InvalidationType) package fl.core { public class InvalidationType { public static const SIZE:String = "size"; public static const ALL:String = "all"; public static const DATA:String = "data"; public static const SCROLL:String = "scroll"; public static const STATE:String = "state"; public static const STYLES:String = "styles"; public static const SELECTED:String = "selected"; public static const RENDERER_STYLES:String = "rendererStyles"; } }//package fl.core
Section 44
//UIComponent (fl.core.UIComponent) package fl.core { import flash.events.*; import flash.display.*; import fl.managers.*; import fl.events.*; import flash.text.*; import flash.utils.*; import flash.system.*; public class UIComponent extends Sprite { protected var _enabled:Boolean;// = true private var _mouseFocusEnabled:Boolean;// = true protected var startHeight:Number; protected var _height:Number; protected var _oldIMEMode:String;// = null protected var startWidth:Number; public var focusTarget:IFocusManagerComponent; protected var errorCaught:Boolean;// = false protected var uiFocusRect:DisplayObject; protected var _width:Number; public var version:String;// = "3.0.0.15" protected var isFocused:Boolean;// = false protected var callLaterMethods:Dictionary; private var _focusEnabled:Boolean;// = true private var tempText:TextField; protected var invalidateFlag:Boolean;// = false protected var _inspector:Boolean;// = false protected var sharedStyles:Object; protected var invalidHash:Object; protected var isLivePreview:Boolean;// = false protected var _imeMode:String;// = null protected var instanceStyles:Object; protected var _x:Number; protected var _y:Number; public static var inCallLaterPhase:Boolean = false; private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)}; public static var createAccessibilityImplementation:Function; private static var focusManagers:Dictionary = new Dictionary(false); public function UIComponent(){ version = "3.0.0.15"; isLivePreview = false; invalidateFlag = false; _enabled = true; isFocused = false; _focusEnabled = true; _mouseFocusEnabled = true; _imeMode = null; _oldIMEMode = null; errorCaught = false; _inspector = false; super(); instanceStyles = {}; sharedStyles = {}; invalidHash = {}; callLaterMethods = new Dictionary(); StyleManager.registerInstance(this); configUI(); invalidate(InvalidationType.ALL); tabEnabled = (this is IFocusManagerComponent); focusRect = false; if (tabEnabled){ addEventListener(FocusEvent.FOCUS_IN, focusInHandler); addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler); addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); }; initializeFocusManager(); addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true); } public function drawFocus(_arg1:Boolean):void{ var _local2:Number; isFocused = _arg1; if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){ removeChild(uiFocusRect); uiFocusRect = null; }; if (_arg1){ uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite); if (uiFocusRect == null){ return; }; _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.x = -(_local2); uiFocusRect.y = -(_local2); uiFocusRect.width = (width + (_local2 * 2)); uiFocusRect.height = (height + (_local2 * 2)); addChildAt(uiFocusRect, 0); }; } private function callLaterDispatcher(_arg1:Event):void{ var _local2:Dictionary; var _local3:Object; if (_arg1.type == Event.ADDED_TO_STAGE){ removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher); stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); return; }; _arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher); if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); return; }; inCallLaterPhase = true; _local2 = callLaterMethods; for (_local3 in _local2) { _local3(); delete _local2[_local3]; }; inCallLaterPhase = false; } private function addedHandler(_arg1:Event):void{ removeEventListener("addedToStage", addedHandler); initializeFocusManager(); } protected function getStyleValue(_arg1:String):Object{ return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]); } protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } override public function get scaleX():Number{ return ((width / startWidth)); } override public function get scaleY():Number{ return ((height / startHeight)); } override public function set height(_arg1:Number):void{ if (_height == _arg1){ return; }; setSize(width, _arg1); } protected function keyDownHandler(_arg1:KeyboardEvent):void{ } protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (isOurFocus((_arg1.target as DisplayObject))){ _local2 = focusManager; if (((_local2) && (_local2.showFocusIndicator))){ drawFocus(true); isFocused = true; }; }; } public function setStyle(_arg1:String, _arg2:Object):void{ if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; instanceStyles[_arg1] = _arg2; invalidate(InvalidationType.STYLES); } override public function get visible():Boolean{ return (super.visible); } public function get componentInspectorSetting():Boolean{ return (_inspector); } override public function get x():Number{ return ((isNaN(_x)) ? super.x : _x); } override public function get y():Number{ return ((isNaN(_y)) ? super.y : _y); } protected function setIMEMode(_arg1:Boolean){ var enabled = _arg1; if (_imeMode != null){ if (enabled){ IME.enabled = true; _oldIMEMode = IME.conversionMode; try { if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _imeMode; }; errorCaught = false; } catch(e:Error) { errorCaught = true; throw (new Error(("IME mode not supported: " + _imeMode))); }; } else { if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _oldIMEMode; }; IME.enabled = false; }; }; } public function set enabled(_arg1:Boolean):void{ if (_arg1 == _enabled){ return; }; _enabled = _arg1; invalidate(InvalidationType.STATE); } public function setSharedStyle(_arg1:String, _arg2:Object):void{ if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; sharedStyles[_arg1] = _arg2; if (instanceStyles[_arg1] == null){ invalidate(InvalidationType.STYLES); }; } protected function keyUpHandler(_arg1:KeyboardEvent):void{ } public function set focusEnabled(_arg1:Boolean):void{ _focusEnabled = _arg1; } override public function set scaleX(_arg1:Number):void{ setSize((startWidth * _arg1), height); } public function get mouseFocusEnabled():Boolean{ return (_mouseFocusEnabled); } override public function set scaleY(_arg1:Number):void{ setSize(width, (startHeight * _arg1)); } protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{ var classDef:Object; var skin = _arg1; classDef = null; if ((skin is Class)){ return ((new (skin) as DisplayObject)); }; if ((skin is DisplayObject)){ (skin as DisplayObject).x = 0; (skin as DisplayObject).y = 0; return ((skin as DisplayObject)); }; try { classDef = getDefinitionByName(skin.toString()); } catch(e:Error) { try { classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object); } catch(e:Error) { }; }; if (classDef == null){ return (null); }; return ((new (classDef) as DisplayObject)); } protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{ var _local3:String; for (_local3 in _arg2) { _arg1.setStyle(_local3, getStyleValue(_arg2[_local3])); }; } protected function beforeComponentParameters():void{ } protected function callLater(_arg1:Function):void{ if (inCallLaterPhase){ return; }; callLaterMethods[_arg1] = true; if (stage != null){ stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); } else { addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); }; } protected function createFocusManager():void{ if (focusManagers[stage] == null){ focusManagers[stage] = new FocusManager(stage); }; } override public function set visible(_arg1:Boolean):void{ var _local2:String; if (super.visible == _arg1){ return; }; super.visible = _arg1; _local2 = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE; dispatchEvent(new ComponentEvent(_local2, true)); } protected function hookAccessibility(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, hookAccessibility); initializeAccessibility(); } public function set componentInspectorSetting(_arg1:Boolean):void{ _inspector = _arg1; if (_inspector){ beforeComponentParameters(); } else { afterComponentParameters(); }; } override public function set x(_arg1:Number):void{ move(_arg1, _y); } public function drawNow():void{ draw(); } override public function set y(_arg1:Number):void{ move(_x, _arg1); } protected function checkLivePreview():Boolean{ var className:String; if (parent == null){ return (false); }; try { className = getQualifiedClassName(parent); } catch(e:Error) { }; return ((className == "fl.livepreview::LivePreviewParent")); } protected function focusOutHandler(_arg1:FocusEvent):void{ if (isOurFocus((_arg1.target as DisplayObject))){ drawFocus(false); isFocused = false; }; } public function set mouseFocusEnabled(_arg1:Boolean):void{ _mouseFocusEnabled = _arg1; } public function getFocus():InteractiveObject{ if (stage){ return (stage.focus); }; return (null); } protected function validate():void{ invalidHash = {}; } override public function get height():Number{ return (_height); } public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{ invalidHash[_arg1] = true; if (_arg2){ this.callLater(draw); }; } public function get enabled():Boolean{ return (_enabled); } protected function getScaleX():Number{ return (super.scaleX); } protected function getScaleY():Number{ return (super.scaleY); } public function get focusEnabled():Boolean{ return (_focusEnabled); } protected function afterComponentParameters():void{ } protected function draw():void{ if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } protected function configUI():void{ var _local1:Number; var _local2:Number; var _local3:Number; isLivePreview = checkLivePreview(); _local1 = rotation; rotation = 0; _local2 = super.width; _local3 = super.height; var _local4 = 1; super.scaleY = _local4; super.scaleX = _local4; setSize(_local2, _local3); move(super.x, super.y); rotation = _local1; startWidth = _local2; startHeight = _local3; if (numChildren > 0){ removeChildAt(0); }; } protected function setScaleX(_arg1:Number):void{ super.scaleX = _arg1; } protected function setScaleY(_arg1:Number):void{ super.scaleY = _arg1; } private function initializeFocusManager():void{ if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true); } else { createFocusManager(); }; } public function set focusManager(_arg1:IFocusManager):void{ UIComponent.focusManagers[this] = _arg1; } public function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } protected function isInvalid(_arg1:String, ... _args):Boolean{ if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){ return (true); }; while (_args.length > 0) { if (invalidHash[_args.pop()]){ return (true); }; }; return (false); } public function setSize(_arg1:Number, _arg2:Number):void{ _width = _arg1; _height = _arg2; invalidate(InvalidationType.SIZE); dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false)); } override public function set width(_arg1:Number):void{ if (_width == _arg1){ return; }; setSize(_arg1, height); } public function setFocus():void{ if (stage){ stage.focus = this; }; } protected function initializeAccessibility():void{ if (UIComponent.createAccessibilityImplementation != null){ UIComponent.createAccessibilityImplementation(this); }; } public function get focusManager():IFocusManager{ var _local1:DisplayObject; _local1 = this; while (_local1) { if (UIComponent.focusManagers[_local1] != null){ return (IFocusManager(UIComponent.focusManagers[_local1])); }; _local1 = _local1.parent; }; return (null); } override public function get width():Number{ return (_width); } public function move(_arg1:Number, _arg2:Number):void{ _x = _arg1; _y = _arg2; super.x = Math.round(_arg1); super.y = Math.round(_arg2); dispatchEvent(new ComponentEvent(ComponentEvent.MOVE)); } public function validateNow():void{ invalidate(InvalidationType.ALL, false); draw(); } public function getStyle(_arg1:String):Object{ return (instanceStyles[_arg1]); } public static function getStyleDefinition():Object{ return (defaultStyles); } public static function mergeStyles(... _args):Object{ var _local2:Object; var _local3:uint; var _local4:uint; var _local5:Object; var _local6:String; _local2 = {}; _local3 = _args.length; _local4 = 0; while (_local4 < _local3) { _local5 = _args[_local4]; for (_local6 in _local5) { if (_local2[_local6] != null){ } else { _local2[_local6] = _args[_local4][_local6]; }; }; _local4++; }; return (_local2); } } }//package fl.core
Section 45
//DataProvider (fl.data.DataProvider) package fl.data { import flash.events.*; import fl.events.*; public class DataProvider extends EventDispatcher { protected var data:Array; public function DataProvider(_arg1:Object=null){ if (_arg1 == null){ data = []; } else { data = getDataFromObject(_arg1); }; } protected function dispatchPreChangeEvent(_arg1:String, _arg2:Array, _arg3:int, _arg4:int):void{ dispatchEvent(new DataChangeEvent(DataChangeEvent.PRE_DATA_CHANGE, _arg1, _arg2, _arg3, _arg4)); } public function invalidateItemAt(_arg1:int):void{ checkIndex(_arg1, (data.length - 1)); dispatchChangeEvent(DataChangeType.INVALIDATE, [data[_arg1]], _arg1, _arg1); } public function getItemIndex(_arg1:Object):int{ return (data.indexOf(_arg1)); } protected function getDataFromObject(_arg1:Object):Array{ var _local2:Array; var _local3:Array; var _local4:uint; var _local5:Object; var _local6:XML; var _local7:XMLList; var _local8:XML; var _local9:XMLList; var _local10:XML; var _local11:XMLList; var _local12:XML; if ((_arg1 is Array)){ _local3 = (_arg1 as Array); if (_local3.length > 0){ if ((((_local3[0] is String)) || ((_local3[0] is Number)))){ _local2 = []; _local4 = 0; while (_local4 < _local3.length) { _local5 = {label:String(_local3[_local4]), data:_local3[_local4]}; _local2.push(_local5); _local4++; }; return (_local2); }; }; return (_arg1.concat()); //unresolved jump }; if ((_arg1 is DataProvider)){ return (_arg1.toArray()); }; if ((_arg1 is XML)){ _local6 = (_arg1 as XML); _local2 = []; _local7 = _local6.*; for each (_local8 in _local7) { _arg1 = {}; _local9 = _local8.attributes(); for each (_local10 in _local9) { _arg1[_local10.localName()] = _local10.toString(); }; _local11 = _local8.*; for each (_local12 in _local11) { if (_local12.hasSimpleContent()){ _arg1[_local12.localName()] = _local12.toString(); }; }; _local2.push(_arg1); }; return (_local2); //unresolved jump }; throw (new TypeError((("Error: Type Coercion failed: cannot convert " + _arg1) + " to Array or DataProvider."))); } public function removeItemAt(_arg1:uint):Object{ var _local2:Array; checkIndex(_arg1, (data.length - 1)); dispatchPreChangeEvent(DataChangeType.REMOVE, data.slice(_arg1, (_arg1 + 1)), _arg1, _arg1); _local2 = data.splice(_arg1, 1); dispatchChangeEvent(DataChangeType.REMOVE, _local2, _arg1, _arg1); return (_local2[0]); } public function addItem(_arg1:Object):void{ dispatchPreChangeEvent(DataChangeType.ADD, [_arg1], (data.length - 1), (data.length - 1)); data.push(_arg1); dispatchChangeEvent(DataChangeType.ADD, [_arg1], (data.length - 1), (data.length - 1)); } public function sortOn(_arg1:Object, _arg2:Object=null){ var _local3:Array; dispatchPreChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); _local3 = data.sortOn(_arg1, _arg2); dispatchChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); return (_local3); } public function sort(... _args){ var _local2:Array; dispatchPreChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); _local2 = data.sort.apply(data, _args); dispatchChangeEvent(DataChangeType.SORT, data.concat(), 0, (data.length - 1)); return (_local2); } public function addItems(_arg1:Object):void{ addItemsAt(_arg1, data.length); } public function concat(_arg1:Object):void{ addItems(_arg1); } public function clone():DataProvider{ return (new DataProvider(data)); } public function toArray():Array{ return (data.concat()); } public function get length():uint{ return (data.length); } public function addItemAt(_arg1:Object, _arg2:uint):void{ checkIndex(_arg2, data.length); dispatchPreChangeEvent(DataChangeType.ADD, [_arg1], _arg2, _arg2); data.splice(_arg2, 0, _arg1); dispatchChangeEvent(DataChangeType.ADD, [_arg1], _arg2, _arg2); } public function getItemAt(_arg1:uint):Object{ checkIndex(_arg1, (data.length - 1)); return (data[_arg1]); } override public function toString():String{ return ((("DataProvider [" + data.join(" , ")) + "]")); } public function invalidateItem(_arg1:Object):void{ var _local2:uint; _local2 = getItemIndex(_arg1); if (_local2 == -1){ return; }; invalidateItemAt(_local2); } protected function dispatchChangeEvent(_arg1:String, _arg2:Array, _arg3:int, _arg4:int):void{ dispatchEvent(new DataChangeEvent(DataChangeEvent.DATA_CHANGE, _arg1, _arg2, _arg3, _arg4)); } protected function checkIndex(_arg1:int, _arg2:int):void{ if ((((_arg1 > _arg2)) || ((_arg1 < 0)))){ throw (new RangeError((((("DataProvider index (" + _arg1) + ") is not in acceptable range (0 - ") + _arg2) + ")"))); }; } public function addItemsAt(_arg1:Object, _arg2:uint):void{ var _local3:Array; checkIndex(_arg2, data.length); _local3 = getDataFromObject(_arg1); dispatchPreChangeEvent(DataChangeType.ADD, _local3, _arg2, ((_arg2 + _local3.length) - 1)); data.splice.apply(data, [_arg2, 0].concat(_local3)); dispatchChangeEvent(DataChangeType.ADD, _local3, _arg2, ((_arg2 + _local3.length) - 1)); } public function replaceItem(_arg1:Object, _arg2:Object):Object{ var _local3:int; _local3 = getItemIndex(_arg2); if (_local3 != -1){ return (replaceItemAt(_arg1, _local3)); }; return (null); } public function removeItem(_arg1:Object):Object{ var _local2:int; _local2 = getItemIndex(_arg1); if (_local2 != -1){ return (removeItemAt(_local2)); }; return (null); } public function merge(_arg1:Object):void{ var _local2:Array; var _local3:uint; var _local4:uint; var _local5:uint; var _local6:Object; _local2 = getDataFromObject(_arg1); _local3 = _local2.length; _local4 = data.length; dispatchPreChangeEvent(DataChangeType.ADD, data.slice(_local4, data.length), _local4, (this.data.length - 1)); _local5 = 0; while (_local5 < _local3) { _local6 = _local2[_local5]; if (getItemIndex(_local6) == -1){ data.push(_local6); }; _local5++; }; if (data.length > _local4){ dispatchChangeEvent(DataChangeType.ADD, data.slice(_local4, data.length), _local4, (this.data.length - 1)); } else { dispatchChangeEvent(DataChangeType.ADD, [], -1, -1); }; } public function replaceItemAt(_arg1:Object, _arg2:uint):Object{ var _local3:Array; checkIndex(_arg2, (data.length - 1)); _local3 = [data[_arg2]]; dispatchPreChangeEvent(DataChangeType.REPLACE, _local3, _arg2, _arg2); data[_arg2] = _arg1; dispatchChangeEvent(DataChangeType.REPLACE, _local3, _arg2, _arg2); return (_local3[0]); } public function invalidate():void{ dispatchEvent(new DataChangeEvent(DataChangeEvent.DATA_CHANGE, DataChangeType.INVALIDATE_ALL, data.concat(), 0, data.length)); } public function removeAll():void{ var _local1:Array; _local1 = data.concat(); dispatchPreChangeEvent(DataChangeType.REMOVE_ALL, _local1, 0, _local1.length); data = []; dispatchChangeEvent(DataChangeType.REMOVE_ALL, _local1, 0, _local1.length); } } }//package fl.data
Section 46
//SimpleCollectionItem (fl.data.SimpleCollectionItem) package fl.data { public dynamic class SimpleCollectionItem { public var label:String; public var data:String; public function toString():String{ return ((((("[SimpleCollectionItem: " + label) + ",") + data) + "]")); } } }//package fl.data
Section 47
//ComponentEvent (fl.events.ComponentEvent) package fl.events { import flash.events.*; public class ComponentEvent extends Event { public static const HIDE:String = "hide"; public static const BUTTON_DOWN:String = "buttonDown"; public static const MOVE:String = "move"; public static const RESIZE:String = "resize"; public static const ENTER:String = "enter"; public static const LABEL_CHANGE:String = "labelChange"; public static const SHOW:String = "show"; public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function toString():String{ return (formatToString("ComponentEvent", "type", "bubbles", "cancelable")); } override public function clone():Event{ return (new ComponentEvent(type, bubbles, cancelable)); } } }//package fl.events
Section 48
//DataChangeEvent (fl.events.DataChangeEvent) package fl.events { import flash.events.*; public class DataChangeEvent extends Event { protected var _items:Array; protected var _endIndex:uint; protected var _changeType:String; protected var _startIndex:uint; public static const PRE_DATA_CHANGE:String = "preDataChange"; public static const DATA_CHANGE:String = "dataChange"; public function DataChangeEvent(_arg1:String, _arg2:String, _arg3:Array, _arg4:int=-1, _arg5:int=-1):void{ super(_arg1); _changeType = _arg2; _startIndex = _arg4; _items = _arg3; _endIndex = ((_arg5)==-1) ? _startIndex : _arg5; } public function get changeType():String{ return (_changeType); } public function get startIndex():uint{ return (_startIndex); } public function get items():Array{ return (_items); } override public function clone():Event{ return (new DataChangeEvent(type, _changeType, _items, _startIndex, _endIndex)); } override public function toString():String{ return (formatToString("DataChangeEvent", "type", "changeType", "startIndex", "endIndex", "bubbles", "cancelable")); } public function get endIndex():uint{ return (_endIndex); } } }//package fl.events
Section 49
//DataChangeType (fl.events.DataChangeType) package fl.events { public class DataChangeType { public static const ADD:String = "add"; public static const REMOVE:String = "remove"; public static const REMOVE_ALL:String = "removeAll"; public static const CHANGE:String = "change"; public static const REPLACE:String = "replace"; public static const INVALIDATE:String = "invalidate"; public static const INVALIDATE_ALL:String = "invalidateAll"; public static const SORT:String = "sort"; } }//package fl.events
Section 50
//ListEvent (fl.events.ListEvent) package fl.events { import flash.events.*; public class ListEvent extends Event { protected var _index:int; protected var _item:Object; protected var _columnIndex:int; protected var _rowIndex:int; public static const ITEM_DOUBLE_CLICK:String = "itemDoubleClick"; public static const ITEM_ROLL_OUT:String = "itemRollOut"; public static const ITEM_ROLL_OVER:String = "itemRollOver"; public static const ITEM_CLICK:String = "itemClick"; public function ListEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false, _arg4:int=-1, _arg5:int=-1, _arg6:int=-1, _arg7:Object=null){ super(_arg1, _arg2, _arg3); _rowIndex = _arg5; _columnIndex = _arg4; _index = _arg6; _item = _arg7; } public function get rowIndex():Object{ return (_rowIndex); } public function get index():int{ return (_index); } public function get item():Object{ return (_item); } public function get columnIndex():int{ return (_columnIndex); } override public function clone():Event{ return (new ListEvent(type, bubbles, cancelable, _columnIndex, _rowIndex)); } override public function toString():String{ return (formatToString("ListEvent", "type", "bubbles", "cancelable", "columnIndex", "rowIndex", "index", "item")); } } }//package fl.events
Section 51
//ScrollEvent (fl.events.ScrollEvent) package fl.events { import flash.events.*; public class ScrollEvent extends Event { private var _position:Number; private var _direction:String; private var _delta:Number; public static const SCROLL:String = "scroll"; public function ScrollEvent(_arg1:String, _arg2:Number, _arg3:Number){ super(ScrollEvent.SCROLL, false, false); _direction = _arg1; _delta = _arg2; _position = _arg3; } override public function clone():Event{ return (new ScrollEvent(_direction, _delta, _position)); } public function get position():Number{ return (_position); } override public function toString():String{ return (formatToString("ScrollEvent", "type", "bubbles", "cancelable", "direction", "delta", "position")); } public function get delta():Number{ return (_delta); } public function get direction():String{ return (_direction); } } }//package fl.events
Section 52
//FocusManager (fl.managers.FocusManager) package fl.managers { import fl.core.*; import flash.events.*; import flash.display.*; import fl.controls.*; import flash.text.*; import flash.utils.*; import flash.ui.*; public class FocusManager implements IFocusManager { private var focusableObjects:Dictionary; private var _showFocusIndicator:Boolean;// = true private var defButton:Button; private var focusableCandidates:Array; private var _form:DisplayObjectContainer; private var _defaultButtonEnabled:Boolean;// = true private var activated:Boolean;// = false private var _defaultButton:Button; private var calculateCandidates:Boolean;// = true private var lastFocus:InteractiveObject; private var lastAction:String; public function FocusManager(_arg1:DisplayObjectContainer){ activated = false; calculateCandidates = true; _showFocusIndicator = true; _defaultButtonEnabled = true; super(); focusableObjects = new Dictionary(true); if (_arg1 != null){ _form = _arg1; addFocusables(DisplayObject(_arg1)); _arg1.addEventListener(Event.ADDED, addedHandler); _arg1.addEventListener(Event.REMOVED, removedHandler); activate(); }; } public function get showFocusIndicator():Boolean{ return (_showFocusIndicator); } private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{ var _local5:int; var _local6:int; var _local7:DisplayObject; var _local8:IFocusManagerGroup; var _local9:int; var _local10:DisplayObject; var _local11:IFocusManagerGroup; _local5 = focusableCandidates.length; _local6 = _arg1; while (true) { if (_arg2){ _arg1--; } else { _arg1++; }; if (_arg3){ if (((_arg2) && ((_arg1 < 0)))){ break; }; if (((!(_arg2)) && ((_arg1 == _local5)))){ break; }; } else { _arg1 = ((_arg1 + _local5) % _local5); if (_local6 == _arg1){ break; }; }; if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){ _local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1])); if ((_local7 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local7); _local9 = 0; while (_local9 < focusableCandidates.length) { _local10 = focusableCandidates[_local9]; if ((_local10 is IFocusManagerGroup)){ _local11 = IFocusManagerGroup(_local10); if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){ _arg1 = _local9; break; }; }; _local9++; }; }; return (_arg1); }; }; return (_arg1); } public function set form(_arg1:DisplayObjectContainer):void{ _form = _arg1; } private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{ var focusable:IFocusManagerComponent; var io:InteractiveObject; var doc:DisplayObjectContainer; var i:int; var child:DisplayObject; var o = _arg1; var skipTopLevel = _arg2; if (!skipTopLevel){ if ((o is IFocusManagerComponent)){ focusable = IFocusManagerComponent(o); if (focusable.focusEnabled){ if (((focusable.tabEnabled) && (isTabVisible(o)))){ focusableObjects[o] = true; calculateCandidates = true; }; o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; } else { if ((o is InteractiveObject)){ io = (o as InteractiveObject); if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){ focusableObjects[io] = true; calculateCandidates = true; }; io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; }; }; if ((o is DisplayObjectContainer)){ doc = DisplayObjectContainer(o); o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){ i = 0; while (i < doc.numChildren) { try { child = doc.getChildAt(i); if (child != null){ addFocusables(doc.getChildAt(i)); }; } catch(error:SecurityError) { }; i = (i + 1); }; }; }; } private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{ return (_arg1.getChildIndex(_arg2)); } private function mouseFocusChangeHandler(_arg1:FocusEvent):void{ if ((_arg1.relatedObject is TextField)){ return; }; _arg1.preventDefault(); } private function focusOutHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; _local2 = (_arg1.target as InteractiveObject); } private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{ var _local3:IFocusManagerGroup; if (!isEnabledAndVisible(_arg1)){ return (false); }; if ((_arg1 is IFocusManagerGroup)){ _local3 = IFocusManagerGroup(_arg1); if (_arg2 == _local3.groupName){ return (false); }; }; return (true); } public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{ var _local2:InteractiveObject; _local2 = _arg1; while (_arg1) { if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){ return (_arg1); }; _arg1 = _arg1.parent; }; return (_local2); } private function sortFocusableObjectsTabIndex():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){ focusableCandidates.push(_local2); }; }; focusableCandidates.sort(sortByTabIndex); } private function removeFocusables(_arg1:DisplayObject):void{ var _local2:Object; var _local3:DisplayObject; if ((_arg1 is DisplayObjectContainer)){ _arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); _arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); for (_local2 in focusableObjects) { _local3 = DisplayObject(_local2); if (DisplayObjectContainer(_arg1).contains(_local3)){ if (_local3 == lastFocus){ lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local2]; calculateCandidates = true; }; }; }; } private function addedHandler(_arg1:Event):void{ var _local2:DisplayObject; _local2 = DisplayObject(_arg1.target); if (_local2.stage){ addFocusables(DisplayObject(_arg1.target)); }; } private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{ while (_arg1 != InteractiveObject(form)) { if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){ return (_arg1); }; _arg1 = _arg1.parent; if (_arg1 == null){ break; }; }; return (null); } private function tabChildrenChangeHandler(_arg1:Event):void{ var _local2:DisplayObjectContainer; if (_arg1.target != _arg1.currentTarget){ return; }; calculateCandidates = true; _local2 = DisplayObjectContainer(_arg1.target); if (_local2.tabChildren){ addFocusables(_local2, true); } else { removeFocusables(_local2); }; } public function sendDefaultButtonEvent():void{ defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK)); } public function getFocus():InteractiveObject{ var _local1:InteractiveObject; _local1 = form.stage.focus; return (findFocusManagerComponent(_local1)); } private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; var _local3:TextField; var _local4:SimpleButton; _local2 = DisplayObject(form).parent; while (_arg1 != _local2) { if ((_arg1 is UIComponent)){ if (!UIComponent(_arg1).enabled){ return (false); }; } else { if ((_arg1 is TextField)){ _local3 = TextField(_arg1); if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){ return (false); }; } else { if ((_arg1 is SimpleButton)){ _local4 = SimpleButton(_arg1); if (!_local4.enabled){ return (false); }; }; }; }; if (!_arg1.visible){ return (false); }; _arg1 = _arg1.parent; }; return (true); } public function set defaultButton(_arg1:Button):void{ var _local2:Button; _local2 = (_arg1) ? Button(_arg1) : null; if (_local2 != _defaultButton){ if (_defaultButton){ _defaultButton.emphasized = false; }; if (defButton){ defButton.emphasized = false; }; _defaultButton = _local2; defButton = _local2; if (_local2){ _local2.emphasized = true; }; }; } private function deactivateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); } public function setFocus(_arg1:InteractiveObject):void{ if ((_arg1 is IFocusManagerComponent)){ IFocusManagerComponent(_arg1).setFocus(); } else { form.stage.focus = _arg1; }; } private function setFocusToNextObject(_arg1:FocusEvent):void{ var _local2:InteractiveObject; if (!hasFocusableObjects()){ return; }; _local2 = getNextFocusManagerComponent(_arg1.shiftKey); if (_local2){ setFocus(_local2); }; } private function hasFocusableObjects():Boolean{ var _local1:Object; for (_local1 in focusableObjects) { return (true); }; return (false); } private function tabIndexChangeHandler(_arg1:Event):void{ calculateCandidates = true; } private function sortFocusableObjects():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){ sortFocusableObjectsTabIndex(); return; }; focusableCandidates.push(_local2); }; focusableCandidates.sort(sortByDepth); } private function keyFocusChangeHandler(_arg1:FocusEvent):void{ showFocusIndicator = true; if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){ setFocusToNextObject(_arg1); _arg1.preventDefault(); }; } private function getIndexOfFocusedObject(_arg1:DisplayObject):int{ var _local2:int; var _local3:int; _local2 = focusableCandidates.length; _local3 = 0; _local3 = 0; while (_local3 < _local2) { if (focusableCandidates[_local3] == _arg1){ return (_local3); }; _local3++; }; return (-1); } public function hideFocus():void{ } private function removedHandler(_arg1:Event):void{ var _local2:int; var _local3:DisplayObject; var _local4:InteractiveObject; _local3 = DisplayObject(_arg1.target); if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){ if (_local3 == lastFocus){ IFocusManagerComponent(lastFocus).drawFocus(false); lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local3]; calculateCandidates = true; } else { if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){ _local4 = (_local3 as InteractiveObject); if (_local4){ if (_local4 == lastFocus){ lastFocus = null; }; delete focusableObjects[_local4]; calculateCandidates = true; }; _local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); }; }; removeFocusables(_local3); } private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):Number{ var _local3:String; var _local4:String; var _local5:int; var _local6:String; var _local7:String; var _local8:String; var _local9:DisplayObject; var _local10:DisplayObject; _local3 = ""; _local4 = ""; _local8 = "0000"; _local9 = DisplayObject(_arg1); _local10 = DisplayObject(_arg2); while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) { _local5 = getChildIndex(_local9.parent, _local9); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local3 = (_local7 + _local3); _local9 = _local9.parent; }; while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) { _local5 = getChildIndex(_local10.parent, _local10); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local4 = (_local7 + _local4); _local10 = _local10.parent; }; return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0); } public function get defaultButton():Button{ return (_defaultButton); } private function activateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); if (lastFocus){ if ((lastFocus is IFocusManagerComponent)){ IFocusManagerComponent(lastFocus).setFocus(); } else { form.stage.focus = lastFocus; }; }; lastAction = "ACTIVATE"; } public function showFocus():void{ } public function set defaultButtonEnabled(_arg1:Boolean):void{ _defaultButtonEnabled = _arg1; } public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{ var _local2:DisplayObject; var _local3:String; var _local4:int; var _local5:Boolean; var _local6:int; var _local7:int; var _local8:IFocusManagerGroup; if (!hasFocusableObjects()){ return (null); }; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; _local2 = form.stage.focus; _local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2))); _local3 = ""; if ((_local2 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local2); _local3 = _local8.groupName; }; _local4 = getIndexOfFocusedObject(_local2); _local5 = false; _local6 = _local4; if (_local4 == -1){ if (_arg1){ _local4 = focusableCandidates.length; }; _local5 = true; }; _local7 = getIndexOfNextObject(_local4, _arg1, _local5, _local3); return (findFocusManagerComponent(focusableCandidates[_local7])); } private function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:InteractiveObject; if (_arg1.isDefaultPrevented()){ return; }; _local2 = getTopLevelFocusTarget(InteractiveObject(_arg1.target)); if (!_local2){ return; }; showFocusIndicator = false; if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){ setFocus(_local2); }; lastAction = "MOUSEDOWN"; } private function isTabVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; _local2 = _arg1.parent; while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) { if (!_local2.tabChildren){ return (false); }; _local2 = _local2.parent; }; return (true); } public function get nextTabIndex():int{ return (0); } private function keyDownHandler(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.TAB){ lastAction = "KEY"; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; }; if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){ sendDefaultButtonEvent(); }; } private function focusInHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; var _local3:Button; _local2 = InteractiveObject(_arg1.target); if (form.contains(_local2)){ lastFocus = findFocusManagerComponent(InteractiveObject(_local2)); if ((lastFocus is Button)){ _local3 = Button(lastFocus); if (defButton){ defButton.emphasized = false; defButton = _local3; _local3.emphasized = true; }; } else { if (((defButton) && (!((defButton == _defaultButton))))){ defButton.emphasized = false; defButton = _defaultButton; _defaultButton.emphasized = true; }; }; }; } private function tabEnabledChangeHandler(_arg1:Event):void{ var _local2:InteractiveObject; var _local3:Boolean; calculateCandidates = true; _local2 = InteractiveObject(_arg1.target); _local3 = (focusableObjects[_local2] == true); if (_local2.tabEnabled){ if (((!(_local3)) && (isTabVisible(_local2)))){ if (!(_local2 is IFocusManagerComponent)){ _local2.focusRect = false; }; focusableObjects[_local2] = true; }; } else { if (_local3){ delete focusableObjects[_local2]; }; }; } public function set showFocusIndicator(_arg1:Boolean):void{ _showFocusIndicator = _arg1; } public function get form():DisplayObjectContainer{ return (_form); } private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{ return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2)); } public function activate():void{ if (activated){ return; }; form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true); form.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true); form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true); form.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true); form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = true; if (lastFocus){ setFocus(lastFocus); }; } public function deactivate():void{ form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler); form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.removeEventListener(Event.ACTIVATE, activateHandler); form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler); form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = false; } public function get defaultButtonEnabled():Boolean{ return (_defaultButtonEnabled); } } }//package fl.managers
Section 53
//IFocusManager (fl.managers.IFocusManager) package fl.managers { import flash.display.*; import fl.controls.*; public interface IFocusManager { function getFocus():InteractiveObject; function deactivate():void; function set defaultButton(_arg1:Button):void; function set showFocusIndicator(_arg1:Boolean):void; function get defaultButtonEnabled():Boolean; function get nextTabIndex():int; function get defaultButton():Button; function get showFocusIndicator():Boolean; function setFocus(_arg1:InteractiveObject):void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function hideFocus():void; function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject; function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject; } }//package fl.managers
Section 54
//IFocusManagerComponent (fl.managers.IFocusManagerComponent) package fl.managers { public interface IFocusManagerComponent { function set focusEnabled(_arg1:Boolean):void; function drawFocus(_arg1:Boolean):void; function setFocus():void; function get focusEnabled():Boolean; function get tabEnabled():Boolean; function get tabIndex():int; function get mouseFocusEnabled():Boolean; } }//package fl.managers
Section 55
//IFocusManagerGroup (fl.managers.IFocusManagerGroup) package fl.managers { public interface IFocusManagerGroup { function set groupName(_arg1:String):void; function set selected(_arg1:Boolean):void; function get groupName():String; function get selected():Boolean; } }//package fl.managers
Section 56
//StyleManager (fl.managers.StyleManager) package fl.managers { import fl.core.*; import flash.text.*; import flash.utils.*; public class StyleManager { private var globalStyles:Object; private var classToDefaultStylesDict:Dictionary; private var styleToClassesHash:Object; private var classToStylesDict:Dictionary; private var classToInstancesDict:Dictionary; private static var _instance:StyleManager; public function StyleManager(){ styleToClassesHash = {}; classToInstancesDict = new Dictionary(true); classToStylesDict = new Dictionary(true); classToDefaultStylesDict = new Dictionary(true); globalStyles = UIComponent.getStyleDefinition(); } public static function clearComponentStyle(_arg1:Object, _arg2:String):void{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){ delete _local4[_arg2]; invalidateComponentStyle(_local3, _arg2); }; } private static function getClassDef(_arg1:Object):Class{ var component = _arg1; if ((component is Class)){ return ((component as Class)); }; try { return ((getDefinitionByName(getQualifiedClassName(component)) as Class)); } catch(e:Error) { if ((component is UIComponent)){ try { return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class)); } catch(e:Error) { }; }; }; return (null); } public static function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Class; var _local5:Object; _local4 = getClassDef(_arg1); _local5 = getInstance().classToStylesDict[_local4]; if (_local5 == null){ _local5 = (getInstance().classToStylesDict[_local4] = {}); }; if (_local5 == _arg3){ return; }; _local5[_arg2] = _arg3; invalidateComponentStyle(_local4, _arg2); } private static function setSharedStyles(_arg1:UIComponent):void{ var _local2:StyleManager; var _local3:Class; var _local4:Object; var _local5:String; _local2 = getInstance(); _local3 = getClassDef(_arg1); _local4 = _local2.classToDefaultStylesDict[_local3]; for (_local5 in _local4) { _arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5)); }; } public static function getComponentStyle(_arg1:Object, _arg2:String):Object{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; return (((_local4)==null) ? null : _local4[_arg2]); } private static function getInstance(){ if (_instance == null){ _instance = new (StyleManager); }; return (_instance); } private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{ var _local3:Dictionary; var _local4:Object; var _local5:UIComponent; _local3 = getInstance().classToInstancesDict[_arg1]; if (_local3 == null){ return; }; for (_local4 in _local3) { _local5 = (_local4 as UIComponent); if (_local5 == null){ } else { _local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2)); }; }; } private static function invalidateStyle(_arg1:String):void{ var _local2:Dictionary; var _local3:Object; _local2 = getInstance().styleToClassesHash[_arg1]; if (_local2 == null){ return; }; for (_local3 in _local2) { invalidateComponentStyle(Class(_local3), _arg1); }; } public static function registerInstance(_arg1:UIComponent):void{ var inst:StyleManager; var classDef:Class; var target:Class; var defaultStyles:Object; var styleToClasses:Object; var n:String; var instance = _arg1; inst = getInstance(); classDef = getClassDef(instance); if (classDef == null){ return; }; if (inst.classToInstancesDict[classDef] == null){ inst.classToInstancesDict[classDef] = new Dictionary(true); target = classDef; while (defaultStyles == null) { if (target["getStyleDefinition"] != null){ defaultStyles = target["getStyleDefinition"](); break; }; try { target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class); } catch(err:Error) { try { target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class); } catch(e:Error) { defaultStyles = UIComponent.getStyleDefinition(); break; }; }; }; styleToClasses = inst.styleToClassesHash; for (n in defaultStyles) { if (styleToClasses[n] == null){ styleToClasses[n] = new Dictionary(true); }; styleToClasses[n][classDef] = true; }; inst.classToDefaultStylesDict[classDef] = defaultStyles; inst.classToStylesDict[classDef] = {}; }; inst.classToInstancesDict[classDef][instance] = true; setSharedStyles(instance); } public static function getStyle(_arg1:String):Object{ return (getInstance().globalStyles[_arg1]); } private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{ var _local3:Class; var _local4:StyleManager; var _local5:Object; _local3 = getClassDef(_arg1); _local4 = getInstance(); _local5 = _local4.classToStylesDict[_local3][_arg2]; if (_local5 != null){ return (_local5); }; _local5 = _local4.globalStyles[_arg2]; if (_local5 != null){ return (_local5); }; return (_local4.classToDefaultStylesDict[_local3][_arg2]); } public static function setStyle(_arg1:String, _arg2:Object):void{ var _local3:Object; _local3 = getInstance().globalStyles; if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; _local3[_arg1] = _arg2; invalidateStyle(_arg1); } } }//package fl.managers
Section 57
//MochiAd (mochi.as3.MochiAd) package mochi.as3 { import flash.events.*; import flash.display.*; import flash.utils.*; import flash.system.*; import flash.net.*; public class MochiAd { public static function getVersion():String{ return (MochiServices.getVersion()); } public static function showClickAwayAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:2000, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function ():void{ }, ad_finished:function ():void{ }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ }, ad_skipped:function ():void{ }}; options = _slot1._parseOptions(options, DEFAULTS); clip = options.clip; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; if (!_slot1.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ _slot1._cleanup(mc); options.ad_finished(); }; var wh:Array = _slot1._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; mc.unloadAd = function ():void{ _slot1.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.rpc = function (_arg1:Number, _arg2:Object):void{ _slot1.rpc(clip, _arg1, _arg2); }; var sendHostProgress:Boolean; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; chk["onEnterFrame"] = function ():void{ var _local4:Number; if (!this.parent){ delete this.onEnterFrame; return; }; var _local1:Object = this.parent._mochiad_ctr; var _local2:Number = (getTimer() - this.started); var _local3:Boolean; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; _local3 = true; chk.started = getTimer(); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (this.root == null){ _local3 = true; }; if (_local3){ delete this.onEnterFrame; }; }; doOnEnterFrame(chk); } public static function _isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function _allowDomains(_arg1:String):String{ var _local2:String = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType == "application"){ return (_local2); }; Security.allowDomain("*"); Security.allowDomain(_local2); Security.allowInsecureDomain("*"); Security.allowInsecureDomain(_local2); return (_local2); } public static function unload(_arg1:Object):Boolean{ if (((_arg1.clip) && (_arg1.clip._mochiad))){ _arg1 = _arg1.clip; }; if (_arg1.origFrameRate != undefined){ _arg1.stage.frameRate = _arg1.origFrameRate; }; if (!_arg1._mochiad){ return (false); }; if (_arg1._mochiad._containerLCName != undefined){ _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "notify", {id:"unload"}); }; if (_arg1._mochiad.onUnload){ _arg1._mochiad.onUnload(); }; delete _arg1._mochiad_loaded; delete _arg1._mochiad; return (true); } public static function showInterLevelAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showInterLevelAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ }, ad_skipped:function ():void{ }}; options = _slot1._parseOptions(options, DEFAULTS); clip = options.clip; var ad_msec:Number = 11000; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; var fadeout_time:Number = options.fadeout_time; delete options.fadeout_time; if (!_slot1.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ _slot1._cleanup(mc); options.ad_finished(); }; var wh:Array = _slot1._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { _slot1.unload(clip); delete this["onEnterFrame"]; }; }; mc.unloadAd = function ():void{ _slot1.unload(clip); }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = (_arg1 - 250); }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ _slot1.rpc(clip, _arg1, _arg2); }; chk["onEnterFrame"] = function ():void{ var _local4:Number; if (!this.parent){ delete this.onEnterFrame; delete this.fadeFunction; return; }; var _local1:Object = this.parent._mochiad_ctr; var _local2:Number = (getTimer() - this.started); var _local3:Boolean; if (!chk.showing){ _local4 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local4 > 0){ chk.showing = true; chk.started = getTimer(); _slot1.adShowing(clip); } else { if (_local2 > chk.ad_timeout){ options.ad_failed(); _local3 = true; }; }; }; if (_local2 > chk.ad_msec){ _local3 = true; }; if (_local3){ if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; }; }; }; doOnEnterFrame(chk); } public static function _parseOptions(_arg1:Object, _arg2:Object):Object{ var _local4:String; var _local5:Array; var _local6:Number; var _local7:Array; var _local3:Object = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; if (_arg1){ for (_local4 in _arg1) { _local3[_local4] = _arg1[_local4]; }; }; if (_local3.clip == undefined){ throw (new Error("MochiAd is missing the 'clip' parameter. This should be a MovieClip, Sprite or an instance of a class that extends MovieClip or Sprite.")); }; _arg1 = _local3.clip.loaderInfo.parameters.mochiad_options; if (_arg1){ _local5 = _arg1.split("&"); _local6 = 0; while (_local6 < _local5.length) { _local7 = _local5[_local6].split("="); _local3[unescape(_local7[0])] = unescape(_local7[1]); _local6++; }; }; if (_local3.id == "test"){ }; return (_local3); } public static function _cleanup(_arg1:Object):void{ var k:String; var lc:LocalConnection; var f:Function; var mc = _arg1; if (("lc" in mc)){ lc = mc.lc; f = function ():void{ try { lc.client = null; lc.close(); } catch(e:Error) { }; }; setTimeout(f, 0); }; var idx:Number = DisplayObjectContainer(mc).numChildren; while (idx > 0) { idx = (idx - 1); DisplayObjectContainer(mc).removeChildAt(idx); }; for (k in mc) { delete mc[k]; }; } public static function load(_arg1:Object):MovieClip{ var clip:Object; var k:String; var server:String; var hostname:String; var lc:LocalConnection; var name:String; var loader:Loader; var g:Function; var req:URLRequest; var v:Object; var options = _arg1; var DEFAULTS:Object = {server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _slot1._parseOptions(options, DEFAULTS); options.swfv = 9; options.mav = _slot1.getVersion(); clip = options.clip; if (!_slot1._isNetworkAvailable()){ return (null); }; try { if (clip._mochiad_loaded){ return (null); }; } catch(e:Error) { throw (new Error("MochiAd requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; var depth:Number = options.depth; delete options.depth; var mc:MovieClip = createEmptyMovieClip(clip, "_mochiad", depth); var wh:Array = _slot1._getRes(options, clip); options.res = ((wh[0] + "x") + wh[1]); options.server = (options.server + options.id); delete options.id; clip._mochiad_loaded = true; if (clip.loaderInfo.loaderURL.indexOf("http") == 0){ options.as3_swf = clip.loaderInfo.loaderURL; //unresolved jump }; var lv:URLVariables = new URLVariables(); for (k in options) { v = options[k]; if (!(v is Function)){ lv[k] = v; }; }; server = lv.server; delete lv.server; hostname = _allowDomains(server); lc = new LocalConnection(); lc.client = mc; name = ["", Math.floor(new Date().getTime()), Math.floor((Math.random() * 999999))].join("_"); lc.allowDomain("*", "localhost"); lc.allowInsecureDomain("*", "localhost"); lc.connect(name); mc.lc = lc; mc.lcName = name; lv.lc = name; lv.st = getTimer(); loader = new Loader(); g = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); _slot1.unload(clip); }; loader.contentLoaderInfo.addEventListener(Event.UNLOAD, g); req = new URLRequest(((server + ".swf?cacheBust=") + new Date().getTime())); req.contentType = "application/x-www-form-urlencoded"; req.method = URLRequestMethod.POST; req.data = lv; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, function (_arg1:IOErrorEvent):void{ }); loader.load(req); mc.addChild(loader); mc._mochiad_ctr = loader; return (mc); } public static function runMethod(_arg1:Object, _arg2:String, _arg3:Array):Object{ var _local4:Array = _arg2.split("."); var _local5:Number = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return (undefined); }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; if (typeof(_arg1[_local4[_local5]]) == "function"){ return (_arg1[_local4[_local5]].apply(_arg1, _arg3)); }; return (undefined); } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number):MovieClip{ var _local4:MovieClip = new MovieClip(); if (((false) && (_arg3))){ _arg1.addChildAt(_local4, _arg3); } else { _arg1.addChild(_local4); }; _arg1[_arg2] = _local4; _local4["_name"] = _arg2; return (_local4); } public static function _getRes(_arg1:Object, _arg2:Object):Array{ var _local6:Array; var _local3:Object = _arg2.getBounds(_arg2.root); var _local4:Number = 0; var _local5:Number = 0; if (typeof(_arg1.res) != "undefined"){ _local6 = _arg1.res.split("x"); _local4 = parseFloat(_local6[0]); _local5 = parseFloat(_local6[1]); } else { _local4 = (_local3.xMax - _local3.xMin); _local5 = (_local3.yMax - _local3.yMin); }; if ((((_local4 == 0)) || ((_local5 == 0)))){ _local4 = _arg2.stage.stageWidth; _local5 = _arg2.stage.stageHeight; }; return ([_local4, _local5]); } public static function adShowing(_arg1:Object):void{ _arg1.origFrameRate = _arg1.stage.frameRate; _arg1.stage.frameRate = 30; } public static function getValue(_arg1:Object, _arg2:String):Object{ var _local3:Array = _arg2.split("."); var _local4:Number = 0; while (_local4 < (_local3.length - 1)) { if ((((_arg1[_local3[_local4]] == undefined)) || ((_arg1[_local3[_local4]] == null)))){ return (undefined); }; _arg1 = _arg1[_local3[_local4]]; _local4++; }; return (_arg1[_local3[_local4]]); } public static function rpc(_arg1:Object, _arg2:Number, _arg3:Object):void{ var _local4:Object; var _local5:Object; switch (_arg3.id){ case "setValue": _slot1.setValue(_arg1, _arg3.objectName, _arg3.value); break; case "getValue": _local4 = _slot1.getValue(_arg1, _arg3.objectName); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local4); break; case "runMethod": _local5 = _slot1.runMethod(_arg1, _arg3.method, _arg3.args); _arg1._mochiad.lc.send(_arg1._mochiad._containerLCName, "rpcResult", _arg2, _local5); break; }; } public static function setValue(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Array = _arg2.split("."); var _local5:Number = 0; while (_local5 < (_local4.length - 1)) { if ((((_arg1[_local4[_local5]] == undefined)) || ((_arg1[_local4[_local5]] == null)))){ return; }; _arg1 = _arg1[_local4[_local5]]; _local5++; }; _arg1[_local4[_local5]] = _arg3; } public static function showPreGameAd(_arg1:Object):void{ var clip:Object; var mc:MovieClip; var chk:MovieClip; var complete:Boolean; var unloaded:Boolean; var sendHostProgress:Boolean; var fn:Function; var r:MovieClip; var options = _arg1; var DEFAULTS:Object = {ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:0xFF8A00, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function ():void{ if ((this.clip is MovieClip)){ this.clip.stop(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_finished:function ():void{ if ((this.clip is MovieClip)){ this.clip.play(); } else { throw (new Error("MochiAd.showPreGameAd requires a clip that is a MovieClip or is an instance of a class that extends MovieClip. If your clip is a Sprite, then you must provide custom ad_started and ad_finished handlers.")); }; }, ad_loaded:function (_arg1:Number, _arg2:Number):void{ }, ad_failed:function ():void{ }, ad_skipped:function ():void{ }, ad_progress:function (_arg1:Number):void{ }, progress_override:function (_arg1:Object):Number{ return (NaN); }, bar_offset:0}; options = _slot1._parseOptions(options, DEFAULTS); if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def"){ options.ad_started(); fn = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); return; }; clip = options.clip; var ad_msec:Number = 11000; var ad_timeout:Number = options.ad_timeout; delete options.ad_timeout; var fadeout_time:Number = options.fadeout_time; delete options.fadeout_time; if (!_slot1.load(options)){ options.ad_failed(); options.ad_finished(); return; }; options.ad_started(); mc = clip._mochiad; mc["onUnload"] = function ():void{ _slot1._cleanup(mc); var fn:Function = function ():void{ options.ad_finished(); }; setTimeout(fn, 100); }; var wh:Array = _slot1._getRes(options, clip); var w:Number = wh[0]; var h:Number = wh[1]; mc.x = (w * 0.5); mc.y = (h * 0.5); chk = createEmptyMovieClip(mc, "_mochiad_wait", 3); chk.x = (w * -0.5); chk.y = (h * -0.5); var bar:MovieClip = createEmptyMovieClip(chk, "_mochiad_bar", 4); if (options.no_progress_bar){ bar.visible = false; delete options.no_progress_bar; } else { bar.x = (10 + options.bar_offset); bar.y = (h - 20); }; var bar_w:Number = ((w - bar.x) - 10); var bar_color:Number = options.color; delete options.color; var bar_background:Number = options.background; delete options.background; var bar_outline:Number = options.outline; delete options.outline; var backing_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 1); var backing:Object = backing_mc.graphics; backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo(bar_w, 0); backing.lineTo(bar_w, 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); var inside_mc:MovieClip = createEmptyMovieClip(bar, "_inside", 2); var inside:Object = inside_mc.graphics; inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo(bar_w, 0); inside.lineTo(bar_w, 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside_mc.scaleX = 0; var outline_mc:MovieClip = createEmptyMovieClip(bar, "_outline", 3); var outline:Object = outline_mc.graphics; outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo(bar_w, 0); outline.lineTo(bar_w, 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function ():void{ var _local1:Number = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (_local1 > 0){ this.parent.alpha = (_local1 * 0.01); } else { _slot1.unload(clip); delete this["onEnterFrame"]; }; }; complete = false; unloaded = false; var progress:Number = Math.min(1, options.progress_override(clip)); var f:Function = function (_arg1:Event):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); complete = true; if (unloaded){ _slot1.unload(clip); }; }; if (!isNaN(progress)){ complete = (progress == 1); } else { if (clip.loaderInfo.bytesLoaded == clip.loaderInfo.bytesTotal){ complete = true; } else { if ((clip.root is MovieClip)){ r = (clip.root as MovieClip); if (r.framesLoaded >= r.totalFrames){ complete = true; } else { clip.loaderInfo.addEventListener(Event.COMPLETE, f); }; } else { clip.loaderInfo.addEventListener(Event.COMPLETE, f); }; }; }; mc.unloadAd = function ():void{ unloaded = true; if (complete){ _slot1.unload(clip); }; }; mc.adLoaded = options.ad_loaded; mc.adSkipped = options.ad_skipped; mc.adjustProgress = function (_arg1:Number):void{ var _local2:Object = mc._mochiad_wait; _local2.server_control = true; _local2.showing = true; _local2.started = getTimer(); _local2.ad_msec = _arg1; }; mc.rpc = function (_arg1:Number, _arg2:Object):void{ _slot1.rpc(clip, _arg1, _arg2); }; mc.rpcTestFn = function (_arg1:String):Object{ return (_arg1); }; mc.regContLC = function (_arg1:String):void{ mc._containerLCName = _arg1; }; sendHostProgress = false; mc.sendHostLoadProgress = function (_arg1:String):void{ sendHostProgress = true; }; chk["onEnterFrame"] = function ():void{ var _local12:Number; if (((!(this.parent)) || (!(this.parent.parent)))){ delete this["onEnterFrame"]; return; }; var _local1:Object = this.parent.parent.root; var _local2:Object = this.parent._mochiad_ctr; var _local3:Number = (getTimer() - this.started); var _local4:Boolean; var _local5:Number = _local1.loaderInfo.bytesTotal; var _local6:Number = _local1.loaderInfo.bytesLoaded; var _local7:Number = Math.min(1, options.progress_override(_local1)); if (_local7 == 1){ complete = true; }; if (complete){ _local6 = Math.max(1, _local6); _local5 = _local6; }; var _local8:Number = ((100 * _local6) / _local5); if (!isNaN(_local7)){ _local8 = (100 * _local7); }; var _local9:Number = ((100 * _local3) / chk.ad_msec); var _local10:Object = this._mochiad_bar._inside; var _local11:Number = Math.min(100, Math.min(((_local8) || (0)), _local9)); _local11 = Math.max(this.last_pcnt, _local11); this.last_pcnt = _local11; _local10.scaleX = (_local11 * 0.01); options.ad_progress(_local11); if (sendHostProgress){ clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local8}); if (_local8 >= 100){ sendHostProgress = false; }; }; if (!chk.showing){ _local12 = this.parent._mochiad_ctr.contentLoaderInfo.bytesTotal; if (_local12 > 0){ chk.showing = true; chk.started = getTimer(); _slot1.adShowing(clip); } else { if ((((_local3 > chk.ad_timeout)) && ((_local8 == 100)))){ options.ad_failed(); _local4 = true; }; }; }; if (_local3 > chk.ad_msec){ _local4 = true; }; if (((complete) && (_local4))){ if (unloaded){ _slot1.unload(_local1); } else { if (this.server_control){ delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; }; }; }; }; doOnEnterFrame(chk); } public static function showPreloaderAd(_arg1:Object):void{ _slot1.showPreGameAd(_arg1); } public static function showTimedAd(_arg1:Object):void{ _slot1.showInterLevelAd(_arg1); } public static function doOnEnterFrame(_arg1:MovieClip):void{ var mc = _arg1; var f:Function = function (_arg1:Object):void{ if (((("onEnterFrame" in mc)) && (mc.onEnterFrame))){ mc.onEnterFrame(); } else { _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; }; mc.addEventListener(Event.ENTER_FRAME, f); } } }//package mochi.as3
Section 58
//MochiCoins (mochi.as3.MochiCoins) package mochi.as3 { public class MochiCoins { public static const STORE_HIDE:String = "StoreHide"; public static const LOGGED_IN:String = "LoggedIn"; public static const STORE_ITEMS:String = "StoreItems"; public static const NO_USER:String = "NoUser"; public static const PROPERTIES_SIZE:String = "PropertiesSize"; public static const ITEM_NEW:String = "ItemNew"; public static const USER_INFO:String = "UserInfo"; public static const IO_ERROR:String = "IOError"; public static const ITEM_OWNED:String = "ItemOwned"; public static const PROPERTIES_SAVED:String = "PropertySaved"; public static const WIDGET_LOADED:String = "WidgetLoaded"; public static const ERROR:String = "Error"; public static const LOGGED_OUT:String = "LoggedOut"; public static const PROFILE_SHOW:String = "ProfileShow"; public static const LOGIN_HIDE:String = "LoginHide"; public static const LOGIN_SHOW:String = "LoginShow"; public static const STORE_SHOW:String = "StoreShow"; public static const PROFILE_HIDE:String = "ProfileHide"; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); public static function showItem(_arg1:Object=null):void{ if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){ return; }; MochiServices.bringToTop(); MochiServices.send("coins_showItem", {options:_arg1}, null, null); } public static function saveUserProperties(_arg1:Object):void{ MochiServices.send("coins_saveUserProperties", _arg1); } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function showLoginWidget(_arg1:Object=null):void{ MochiServices.setContainer(); MochiServices.bringToTop(); MochiServices.send("coins_showLoginWidget", {options:_arg1}); } public static function getStoreItems():void{ MochiServices.send("coins_getStoreItems"); } public static function getVersion():String{ return (MochiServices.getVersion()); } public static function showStore(_arg1:Object=null):void{ MochiServices.bringToTop(); MochiServices.send("coins_showStore", {options:_arg1}, null, null); } public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function getUserInfo():void{ MochiServices.send("coins_getUserInfo"); } public static function hideLoginWidget():void{ MochiServices.send("coins_hideLoginWidget"); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } public static function showVideo(_arg1:Object=null):void{ if (((!(_arg1)) || (!((typeof(_arg1.item) == "string"))))){ return; }; MochiServices.bringToTop(); MochiServices.send("coins_showVideo", {options:_arg1}, null, null); } } }//package mochi.as3
Section 59
//MochiEventDispatcher (mochi.as3.MochiEventDispatcher) package mochi.as3 { public class MochiEventDispatcher { private var eventTable:Object; public function MochiEventDispatcher():void{ eventTable = {}; } public function triggerEvent(_arg1:String, _arg2:Object):void{ var _local3:Object; if (eventTable[_arg1] == undefined){ return; }; for (_local3 in eventTable[_arg1]) { var _local6 = eventTable[_arg1]; _local6[_local3](_arg2); }; } public function removeEventListener(_arg1:String, _arg2:Function):void{ var _local3:Object; if (eventTable[_arg1] == undefined){ eventTable[_arg1] = []; return; }; for (_local3 in eventTable[_arg1]) { if (eventTable[_arg1][_local3] != _arg2){ } else { eventTable[_arg1].splice(Number(_local3), 1); }; }; } public function addEventListener(_arg1:String, _arg2:Function):void{ removeEventListener(_arg1, _arg2); eventTable[_arg1].push(_arg2); } } }//package mochi.as3
Section 60
//MochiEvents (mochi.as3.MochiEvents) package mochi.as3 { import flash.display.*; public class MochiEvents { public static const ALIGN_BOTTOM_LEFT:String = "ALIGN_BL"; public static const FORMAT_LONG:String = "LongForm"; public static const ALIGN_BOTTOM:String = "ALIGN_B"; public static const ACHIEVEMENT_RECEIVED:String = "AchievementReceived"; public static const FORMAT_SHORT:String = "ShortForm"; public static const ALIGN_TOP_RIGHT:String = "ALIGN_TR"; public static const ALIGN_BOTTOM_RIGHT:String = "ALIGN_BR"; public static const ALIGN_TOP:String = "ALIGN_T"; public static const ALIGN_LEFT:String = "ALIGN_L"; public static const ALIGN_RIGHT:String = "ALIGN_R"; public static const ALIGN_TOP_LEFT:String = "ALIGN_TL"; public static const ALIGN_CENTER:String = "ALIGN_C"; private static var _dispatcher:MochiEventDispatcher = new MochiEventDispatcher(); private static var gameStart:Number; private static var levelStart:Number; public static function addEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.addEventListener(_arg1, _arg2); } public static function removeEventListener(_arg1:String, _arg2:Function):void{ _dispatcher.removeEventListener(_arg1, _arg2); } public static function startSession(_arg1:String):void{ MochiServices.send("events_beginSession", {achievementID:_arg1}, null, null); } public static function triggerEvent(_arg1:String, _arg2:Object):void{ _dispatcher.triggerEvent(_arg1, _arg2); } public static function setNotifications(_arg1:MovieClip, _arg2:Object):void{ var _local4:Object; var _local3:Object = {}; for (_local4 in _arg2) { _local3[_local4] = _arg2[_local4]; }; _local3.clip = _arg1; MochiServices.send("events_setNotifications", _local3, null, null); } public static function endGame():void{ var _local1:Number = (new Date().time - gameStart); trigger("end_game", {time:_local1}); } public static function startGame():void{ gameStart = new Date().time; trigger("start_game"); } public static function trigger(_arg1:String, _arg2:Object=null):void{ if (_arg2 == null){ _arg2 = {}; } else { if (_arg2["kind"] != undefined){ _arg2["kind"] = _arg1; }; }; MochiServices.send("events_triggerEvent", {eventObject:_arg2}, null, null); } public static function getVersion():String{ return (MochiServices.getVersion()); } public static function startLevel():void{ levelStart = new Date().time; trigger("start_level"); } public static function endLevel():void{ var _local1:Number = (new Date().time - levelStart); trigger("end_level", {time:_local1}); } } }//package mochi.as3
Section 61
//MochiServices (mochi.as3.MochiServices) package mochi.as3 { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.utils.*; import flash.system.*; import flash.net.*; public class MochiServices { private static var _container:Object; private static var _connected:Boolean = false; private static var _swfVersion:String; private static var _preserved:Object; public static var netupAttempted:Boolean = false; private static var _sendChannel:LocalConnection; public static var servicesSync:MochiSync = new MochiSync(); private static var _clip:MovieClip; private static var _id:String; private static var _services:String = "services.swf"; private static var _servURL:String = "http://www.mochiads.com/static/lib/services/"; public static var widget:Boolean = false; private static var _timer:Timer; private static var _sendChannelName:String; private static var _loader:Loader; private static var _connecting:Boolean = false; private static var _mochiLocalConnection:MovieClip; private static var _listenChannelName:String = "__ms_"; public static var onError:Object; public static var netup:Boolean = true; private static var _mochiLC:String = "MochiLC.swf"; public static function isNetworkAvailable():Boolean{ return (!((Security.sandboxType == "localWithFile"))); } public static function get connected():Boolean{ return (_connected); } private static function onReceive(_arg1:Object):void{ var pkg = _arg1; var cb:String = pkg.callbackID; var cblst:Object = _clip._callbacks[cb]; if (!cblst){ return; }; var method:* = cblst.callbackMethod; var methodName = ""; var obj:Object = cblst.callbackObject; if (((obj) && ((typeof(method) == "string")))){ methodName = method; if (obj[method] != null){ method = obj[method]; //unresolved jump }; }; if (method != undefined){ try { method.apply(obj, pkg.args); } catch(error:Error) { }; } else { if (obj != null){ try { obj(pkg.args); } catch(error:Error) { }; }; }; delete _clip._callbacks[cb]; } public static function get childClip():Object{ return (_clip); } public static function send(_arg1:String, _arg2:Object=null, _arg3:Object=null, _arg4:Object=null):void{ if (_connected){ _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); } else { if ((((_clip == null)) || (!(_connecting)))){ handleError(_arg2, _arg3, _arg4); flush(true); return; }; _clip._queue.push({methodName:_arg1, args:_arg2, callbackID:_clip._nextcallbackID}); }; if (_clip != null){ if (((!((_clip._callbacks == null))) && (!((_clip._nextcallbackID == null))))){ _clip._callbacks[_clip._nextcallbackID] = {callbackObject:_arg3, callbackMethod:_arg4}; _clip._nextcallbackID++; }; }; } private static function init(_arg1:String, _arg2:Object):void{ _id = _arg1; if (_arg2 != null){ _container = _arg2; loadCommunicator(_arg1, _container); }; } private static function clickMovie(_arg1:String, _arg2:Function):MovieClip{ var _local4:int; var _local14:Loader; var _local3:Array = [150, 21, 0, 7, 1, 0, 0, 0, 0, 98, 116, 110, 0, 7, 2, 0, 0, 0, 0, 116, 104, 105, 115, 0, 28, 150, 22, 0, 0, 99, 114, 101, 97, 116, 101, 69, 109, 112, 116, 121, 77, 111, 118, 105, 101, 67, 108, 105, 112, 0, 82, 135, 1, 0, 0, 23, 150, 13, 0, 4, 0, 0, 111, 110, 82, 101, 108, 101, 97, 115, 101, 0, 142, 8, 0, 0, 0, 0, 2, 42, 0, 114, 0, 150, 17, 0, 0, 32, 0, 7, 1, 0, 0, 0, 8, 0, 0, 115, 112, 108, 105, 116, 0, 82, 135, 1, 0, 1, 23, 150, 7, 0, 4, 1, 7, 0, 0, 0, 0, 78, 150, 8, 0, 0, 95, 98, 108, 97, 110, 107, 0, 154, 1, 0, 0, 150, 7, 0, 0, 99, 108, 105, 99, 107, 0, 150, 7, 0, 4, 1, 7, 1, 0, 0, 0, 78, 150, 27, 0, 7, 2, 0, 0, 0, 7, 0, 0, 0, 0, 0, 76, 111, 99, 97, 108, 67, 111, 110, 110, 101, 99, 116, 105, 111, 110, 0, 64, 150, 6, 0, 0, 115, 101, 110, 100, 0, 82, 79, 150, 15, 0, 4, 0, 0, 95, 97, 108, 112, 104, 97, 0, 7, 0, 0, 0, 0, 79, 150, 23, 0, 7, 0xFF, 0, 0xFF, 0, 7, 1, 0, 0, 0, 4, 0, 0, 98, 101, 103, 105, 110, 70, 105, 108, 108, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 109, 111, 118, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 100, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 100, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 25, 0, 7, 0, 0, 0, 0, 7, 0, 0, 0, 0, 7, 2, 0, 0, 0, 4, 0, 0, 108, 105, 110, 101, 84, 111, 0, 82, 23, 150, 16, 0, 7, 0, 0, 0, 0, 4, 0, 0, 101, 110, 100, 70, 105, 108, 108, 0, 82, 23]; var _local5:Array = [104, 0, 31, 64, 0, 7, 208, 0, 0, 12, 1, 0, 67, 2, 0xFF, 0xFF, 0xFF, 63, 3]; var _local6:Array = [0, 64, 0, 0, 0]; var _local7:MovieClip = new MovieClip(); var _local8:LocalConnection = new LocalConnection(); var _local9:String = ((("_click_" + Math.floor((Math.random() * 999999))) + "_") + Math.floor(new Date().time)); _local8 = new LocalConnection(); _local7.lc = _local8; _local7.click = _arg2; _local8.client = _local7; _local8.connect(_local9); var _local10:ByteArray = new ByteArray(); var _local11:ByteArray = new ByteArray(); _local11.endian = Endian.LITTLE_ENDIAN; _local11.writeShort(1); _local11.writeUTFBytes(((_arg1 + " ") + _local9)); _local11.writeByte(0); var _local12:uint = ((_local3.length + _local11.length) + 4); var _local13:uint = (_local12 + 35); _local10.endian = Endian.LITTLE_ENDIAN; _local10.writeUTFBytes("FWS"); _local10.writeByte(8); _local10.writeUnsignedInt(_local13); for each (_local4 in _local5) { _local10.writeByte(_local4); }; _local10.writeUnsignedInt(_local12); _local10.writeByte(136); _local10.writeShort(_local11.length); _local10.writeBytes(_local11); for each (_local4 in _local3) { _local10.writeByte(_local4); }; for each (_local4 in _local6) { _local10.writeByte(_local4); }; _local14 = new Loader(); _local14.loadBytes(_local10); _local7.addChild(_local14); return (_local7); } public static function stayOnTop():void{ _container.addEventListener(Event.ENTER_FRAME, _slot1.bringToTop, false, 0, true); if (_clip != null){ _clip.visible = true; }; } public static function addLinkEvent(_arg1:String, _arg2:String, _arg3:DisplayObjectContainer, _arg4:Function=null):void{ var avm1Click:DisplayObject; var x:String; var req:URLRequest; var loader:Loader; var setURL:Function; var err:Function; var complete:Function; var url = _arg1; var burl = _arg2; var btn = _arg3; var onClick = _arg4; var vars:Object = new Object(); vars["mav"] = getVersion(); vars["swfv"] = "9"; vars["swfurl"] = btn.loaderInfo.loaderURL; vars["fv"] = Capabilities.version; vars["os"] = Capabilities.os; vars["lang"] = Capabilities.language; vars["scres"] = ((Capabilities.screenResolutionX + "x") + Capabilities.screenResolutionY); var s = "?"; var i:Number = 0; for (x in vars) { if (i != 0){ s = (s + "&"); }; i = (i + 1); s = (((s + x) + "=") + escape(vars[x])); }; req = new URLRequest("http://x.mochiads.com/linkping.swf"); loader = new Loader(); setURL = function (_arg1:String):void{ if (avm1Click){ btn.removeChild(avm1Click); }; avm1Click = clickMovie(_arg1, onClick); var _local2:Rectangle = btn.getBounds(btn); btn.addChild(avm1Click); avm1Click.x = _local2.x; avm1Click.y = _local2.y; avm1Click.scaleX = (0.01 * _local2.width); avm1Click.scaleY = (0.01 * _local2.height); }; err = function (_arg1:Object):void{ netup = false; _arg1.target.removeEventListener(_arg1.type, arguments.callee); setURL(burl); }; complete = function (_arg1:Object):void{ _arg1.target.removeEventListener(_arg1.type, arguments.callee); }; if (netup){ setURL((url + s)); } else { setURL(burl); }; if (!((netupAttempted) || (_connected))){ netupAttempted = true; loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, err); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete); loader.load(req); }; } public static function warnID(_arg1:String, _arg2:Boolean):void{ _arg1 = _arg1.toLowerCase(); if (_arg1.length != 16){ return; }; if (_arg1 == "1e113c7239048b3f"){ if (_arg2){ //unresolved jump }; return; } else { if (_arg1 == "84993a1de4031cd8"){ if (_arg2){ //unresolved jump }; return; }; }; var _local3:Number = 0; while (_local3 < _arg1.length) { switch (_arg1.charAt(_local3)){ case "0": case "1": case "2": case "3": case "4": case "5": case "6": case "7": case "8": case "9": case "a": case "b": case "c": case "d": case "e": case "f": break; default: return; }; _local3++; }; } public static function disconnect():void{ if (((_connected) || (_connecting))){ if (_clip != null){ if (_clip.parent != null){ if ((_clip.parent is Sprite)){ Sprite(_clip.parent).removeChild(_clip); _clip = null; }; }; }; _connecting = (_connected = false); flush(true); try { _mochiLocalConnection.close(); } catch(error:Error) { }; }; if (_timer != null){ try { _timer.stop(); } catch(error:Error) { }; }; } public static function allowDomains(_arg1:String):String{ var _local2:String; if (Security.sandboxType != "application"){ Security.allowDomain("*"); Security.allowInsecureDomain("*"); }; if (_arg1.indexOf("http://") != -1){ _local2 = _arg1.split("/")[2].split(":")[0]; if (Security.sandboxType != "application"){ Security.allowDomain(_local2); Security.allowInsecureDomain(_local2); }; }; return (_local2); } public static function getVersion():String{ return ("3.3 as3"); } public static function doClose():void{ _container.removeEventListener(Event.ENTER_FRAME, _slot1.bringToTop); } private static function flush(_arg1:Boolean):void{ var _local2:Object; var _local3:Object; if (((_clip) && (_clip._queue))){ while (_clip._queue.length > 0) { _local2 = _clip._queue.shift(); _local3 = null; if (_local2 != null){ if (_local2.callbackID != null){ _local3 = _clip._callbacks[_local2.callbackID]; }; delete _clip._callbacks[_local2.callbackID]; if (((_arg1) && (!((_local3 == null))))){ handleError(_local2.args, _local3.callbackObject, _local3.callbackMethod); }; }; }; }; } public static function get id():String{ return (_id); } private static function onEvent(_arg1:Object):void{ var _local2:String = _arg1.target; var _local3:String = _arg1.event; switch (_local2){ case "events": MochiEvents.triggerEvent(_arg1.event, _arg1.args); break; case "coins": MochiCoins.triggerEvent(_arg1.event, _arg1.args); break; case "sync": servicesSync.triggerEvent(_arg1.event, _arg1.args); break; }; } private static function urlOptions(_arg1:Object):Object{ var _local3:String; var _local4:Array; var _local5:Number; var _local6:Array; var _local2:Object = {}; if (_arg1.stage){ _local3 = _arg1.stage.loaderInfo.parameters.mochiad_options; } else { _local3 = _arg1.loaderInfo.parameters.mochiad_options; }; if (_local3){ _local4 = _local3.split("&"); _local5 = 0; while (_local5 < _local4.length) { _local6 = _local4[_local5].split("="); _local2[unescape(_local6[0])] = unescape(_local6[1]); _local5++; }; }; return (_local2); } public static function setContainer(_arg1:Object=null, _arg2:Boolean=true):void{ if (_arg1 != null){ if ((_arg1 is Sprite)){ _container = _arg1; }; }; if (_arg2){ if ((_container is Sprite)){ Sprite(_container).addChild(_clip); }; }; } private static function handleError(_arg1:Object, _arg2:Object, _arg3:Object):void{ var args = _arg1; var callbackObject = _arg2; var callbackMethod = _arg3; if (args != null){ if (args.onError != null){ args.onError.apply(null, ["NotConnected"]); }; if (((!((args.options == null))) && (!((args.options.onError == null))))){ args.options.onError.apply(null, ["NotConnected"]); }; }; if (callbackMethod != null){ args = {}; args.error = true; args.errorCode = "NotConnected"; if (((!((callbackObject == null))) && ((callbackMethod is String)))){ try { var _local5 = callbackObject; _local5[callbackMethod](args); } catch(error:Error) { }; } else { if (callbackMethod != null){ try { callbackMethod.apply(args); } catch(error:Error) { }; }; }; }; } private static function loadError(_arg1:Object):void{ _clip._mochiad_ctr_failed = true; _slot1.disconnect(); _slot1.onError("IOError"); } private static function initComChannels():void{ if (!_connected){ _connecting = false; _connected = true; _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"}); _mochiLocalConnection.send(_sendChannelName, "onReceive", {methodName:"registerGame", preserved:_preserved, id:_id, clip:_container, version:getVersion(), parentURL:_container.loaderInfo.loaderURL}); _clip.onReceive = onReceive; _clip.onEvent = onEvent; _clip.onError = function ():void{ _slot1.onError("IOError"); }; while (_clip._queue.length > 0) { _mochiLocalConnection.send(_sendChannelName, "onReceive", _clip._queue.shift()); }; }; } private static function loadLCBridge(_arg1:Object):void{ var loader:Loader; var clip = _arg1; loader = new Loader(); var mochiLCURL:String = (_servURL + _mochiLC); var req:URLRequest = new URLRequest(mochiLCURL); var complete:Function = function (_arg1:Object):void{ _mochiLocalConnection = MovieClip(loader.content); listen(); }; loader.contentLoaderInfo.addEventListener(Event.COMPLETE, complete); loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError); loader.load(req); clip.addChild(loader); } private static function listen():void{ _mochiLocalConnection.connect(_listenChannelName); _clip.handshake = function (_arg1:Object):void{ _slot1.comChannelName = _arg1.newChannel; }; } public static function get clip():Object{ return (_container); } public static function set comChannelName(_arg1:String):void{ if (_arg1 != null){ if (_arg1.length > 3){ _sendChannelName = (_arg1 + "_fromgame"); initComChannels(); }; }; } private static function loadCommunicator(_arg1:String, _arg2:Object):MovieClip{ var _local3:String = ("_mochiservices_com_" + _arg1); if (_clip != null){ return (_clip); }; if (!_slot1.isNetworkAvailable()){ return (null); }; if (urlOptions(_arg2).servURL){ _servURL = urlOptions(_arg2).servURL; }; var _local4:String = (_servURL + _services); if (urlOptions(_arg2).servicesURL){ _local4 = urlOptions(_arg2).servicesURL; }; _listenChannelName = (_listenChannelName + ((Math.floor(new Date().time) + "_") + Math.floor((Math.random() * 99999)))); _slot1.allowDomains(_local4); _clip = createEmptyMovieClip(_arg2, _local3, 10336, false); loadLCBridge(_clip); _loader = new Loader(); _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, loadError); var _local5:URLRequest = new URLRequest(_local4); var _local6:URLVariables = new URLVariables(); _local6.listenLC = _listenChannelName; _local6.mochiad_options = _arg2.loaderInfo.parameters.mochiad_options; _local6.api_version = getVersion(); if (widget){ _local6.widget = true; }; _local5.data = _local6; _loader.load(_local5); _clip.addChild(_loader); _clip._mochiservices_com = _loader; _sendChannel = new LocalConnection(); _clip._queue = []; _clip._nextcallbackID = 0; _clip._callbacks = {}; _timer = new Timer(10000, 1); _timer.addEventListener(TimerEvent.TIMER, connectWait); _timer.start(); return (_clip); } public static function connect(_arg1:String, _arg2:Object, _arg3:Object=null):void{ var id = _arg1; var clip = _arg2; var onError = _arg3; warnID(id, false); if ((clip is DisplayObject)){ if (((!(_connected)) && ((_clip == null)))){ _connecting = true; init(id, clip); }; //unresolved jump }; if (onError != null){ _slot1.onError = onError; } else { if (_slot1.onError == null){ _slot1.onError = function (_arg1:String):void{ }; }; }; } public static function createEmptyMovieClip(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Boolean=true):MovieClip{ var parent = _arg1; var name = _arg2; var depth = _arg3; var doAdd = _arg4; var mc:MovieClip = new MovieClip(); if (doAdd){ if (((false) && (depth))){ parent.addChildAt(mc, depth); } else { parent.addChild(mc); }; }; try { parent[name] = mc; } catch(e:Error) { throw (new Error("MochiServices requires a clip that is an instance of a dynamic class. If your class extends Sprite or MovieClip, you must make it dynamic.")); }; mc["_name"] = name; return (mc); } public static function bringToTop(_arg1:Event=null):void{ var e = _arg1; if (((!((_slot1.clip == null))) && (!((_slot1.childClip == null))))){ try { if (_slot1.clip.numChildren > 1){ _slot1.clip.setChildIndex(_slot1.childClip, (_slot1.clip.numChildren - 1)); }; } catch(errorObject:Error) { _container.removeEventListener(Event.ENTER_FRAME, _slot1.bringToTop); }; }; } public static function connectWait(_arg1:TimerEvent):void{ if (!_connected){ _clip._mochiad_ctr_failed = true; _slot1.disconnect(); _slot1.onError("IOError"); }; } } }//package mochi.as3
Section 62
//MochiSync (mochi.as3.MochiSync) package mochi.as3 { import flash.utils.*; public dynamic class MochiSync extends Proxy { private var _syncContainer:Object; public static var SYNC_PROPERTY:String = "UpdateProperty"; public static var SYNC_REQUEST:String = "SyncRequest"; public function MochiSync():void{ _syncContainer = {}; } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function setProperty(_arg1, _arg2):void{ if (_syncContainer[_arg1] == _arg2){ return; }; var _local3:String = _arg1.toString(); _syncContainer[_local3] = _arg2; MochiServices.send("sync_propUpdate", {name:_local3, value:_arg2}); } override "http://www.adobe.com/2006/actionscript/flash/proxy"?? function getProperty(_arg1){ return (_syncContainer[_arg1]); } public function triggerEvent(_arg1:String, _arg2:Object):void{ switch (_arg1){ case SYNC_REQUEST: MochiServices.send("sync_syncronize", _syncContainer); break; case SYNC_PROPERTY: _syncContainer[_arg2.name] = _arg2.value; break; }; } } }//package mochi.as3
Section 63
//bang_148 (shootem_funny_fla.bang_148) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class bang_148 extends MovieClip { public function bang_148(){ addFrameScript(21, frame22); } function frame22(){ stop(); } } }//package shootem_funny_fla
Section 64
//card4b_128 (shootem_funny_fla.card4b_128) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class card4b_128 extends MovieClip { public function card4b_128(){ addFrameScript(0, frame1); } function frame1(){ } } }//package shootem_funny_fla
Section 65
//detailwin_289 (shootem_funny_fla.detailwin_289) package shootem_funny_fla { import flash.events.*; import flash.display.*; import fl.controls.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class detailwin_289 extends MovieClip { public var closeButton:SimpleButton; public var info:TextArea; public function detailwin_289(){ addFrameScript(0, frame1); __setProp_info_detailwin_Layer1_0(); } function frame1(){ stop(); this.info.text = ""; this.info.text = (this.info.text + "-In mod sales day, the blacksmith will still sell mods after refreshing his inventory. \n\n"); this.info.text = (this.info.text + "-You will get 1/2 AP from your Active Skill. But you always get full AP.\n\n"); this.info.text = (this.info.text + "\n\n"); } function __setProp_info_detailwin_Layer1_0(){ try { info["componentInspectorSetting"] = true; } catch(e:Error) { }; info.condenseWhite = false; info.editable = true; info.enabled = true; info.horizontalScrollPolicy = "auto"; info.htmlText = ""; info.maxChars = 0; info.restrict = ""; info.text = "* In the mod sales day, the blacksmith will still sell mods after refreshing his inventory.\\n\\n-You will get 1/2 AP from your action skill. But you always get full AP."; info.verticalScrollPolicy = "auto"; info.visible = true; info.wordWrap = true; try { info["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package shootem_funny_fla
Section 66
//dino_312 (shootem_funny_fla.dino_312) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class dino_312 extends MovieClip { public function dino_312(){ addFrameScript(8, frame9); } function frame9(){ gotoAndPlay(1); } } }//package shootem_funny_fla
Section 67
//LOADER_18 (shootem_funny_fla.LOADER_18) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class LOADER_18 extends MovieClip { public var bt:SimpleButton; public var bar:MovieClip; public var PercentLoaded; public function LOADER_18(){ addFrameScript(0, frame1, 1, frame2); } function frame2(){ gotoAndPlay(1); } function frame1(){ if (PercentLoaded == undefined){ PercentLoaded = 0.01; }; PercentLoaded = (PercentLoaded + 0.04); if (PercentLoaded < 1){ bar.scaleX = PercentLoaded; } else { gotoAndStop("loaded"); }; } } }//package shootem_funny_fla
Section 68
//lockedupgrades_255 (shootem_funny_fla.lockedupgrades_255) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class lockedupgrades_255 extends MovieClip { public function lockedupgrades_255(){ addFrameScript(0, frame1); } function frame1(){ this.mouseEnabled = false; stop(); } } }//package shootem_funny_fla
Section 69
//MainTimeline (shootem_funny_fla.MainTimeline) package shootem_funny_fla { import flash.events.*; import flash.display.*; import fl.controls.*; import caurina.transitions.*; import flash.geom.*; import flash.filters.*; import com.kongregate.as3.client.*; import fl.events.*; import flash.text.*; import flash.utils.*; import mochi.as3.*; import caurina.transitions.properties.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class MainTimeline extends MovieClip { public const _medalBeta:int = 90; public const _devRogue:int = 3; public const _medalRagnarok:int = 92; public const _maxRunner:int = 8; public const _sheep:int = 3; public const _medalFirework:int = 93; public const _elonaUrl = "http://homepage3.nifty.com/rfish/index_e.html"; public const _air:int = 1; public const _aiNormal:int = 0; public const _defenseLine:int = 455; public const _aiFireAtWill:int = 6; public const _invPlayer:int = 20; public const _devGuard:int = 9; public const _dialogActSleep:int = 7; public const _eventLootBoss:int = 8; public const _dialogActPray:int = 9; public const _dialogTrash:int = 9; public const _dialogRefreshStock:int = 1; public const _helpUrl = "http://homepage3.nifty.com/rfish/index_e.html"; public const _eventEnd:int = 1; public const _encImpact:int = 8; public const _maxItem:int = 39; public const _maxMedal:int = 200; public const _medalCritical1:int = 70; public const _medalCritical2:int = 71; public const _maxDev:int = 9; public const _typeToken:int = 6; public const _aiHero:int = -1; public const _medalCritical3:int = 72; public const _eventClear:int = 4; public const _medalSister1:int = 53; public const _medalSister2:int = 54; public const _medalSister3:int = 55; public const _devMilitia:int = 4; public const _encReloading:int = 2; public const _medalClass1:int = 65; public const _medalClass2:int = 66; public const _medalClass3:int = 67; public const _medalClass4:int = 68; public const _medalKongregate:int = 91; public const _dialogHire:int = 6; public const _normal:int = 0; public const _encArmor:int = 6; public const _medalDay1:int = 40; public const _medalDay3:int = 42; public const _medalDay4:int = 43; public const _medalDay5:int = 44; public const _medalDay6:int = 45; public const _medalDay7:int = 46; public const _encAccuracy:int = 1; public const _medalDay2:int = 41; public const _nc:int = 5; public const _dialogSell:int = 1; public const _typeNormal:int = 0; public const _typeSniper:int = 1; public const _dialogActClaim:int = 13; public const _pc:int = 0; public const _maxTarget:int = 3; public const _encAutoReload:int = 10; public const _dialogActEat:int = 8; public const _typeUse:int = 4; public const _typeItem:int = 2; public const _dialogRecruit:int = 4; public const _waveNormal:int = 0; public const _dialogFreeRepair:int = 3; public const _eventLoot:int = 3; public const _ignore:int = 9; public const G_RANGE:int = 50; public const _dragon:int = 15; public const _aiNoAir:int = 1; public const _dialogNewRecruit:int = 2; public const _medalHardcore1:int = 95; public const _medalHardcore3:int = 97; public const _ratdrop:int = 18; public const _medalHardcore2:int = 96; public const G_CLASS:int = 0; public const _dialogActEgg:int = 11; public const _crow:int = 6; public const debugName; public const _bomb:int = 11; public const _version:int = 1300; public const _stageTitle:int = 0; public const _knight:int = 8; public const _maxWeaponSkill:int = 5; public const _lava:int = 4; public const _fly:int = 10; public const G_BASE:int = 900; public const _eventBegin:int = 5; public const _devSniper:int = 2; public const _encLeech:int = 9; public const _spider:int = 9; public const _dialogActTrain:int = 15; public const _typeMod:int = 5; public const _cata:int = 5; public const urlKong = "http://www.kongregate.com/?gamereferral=elonashooter"; public const _armor:int = 2; public const _encNull:int = 0; public const _boss:int = 999; public const _devDuelist:int = 7; public const _invRefer:int = 49; public const _chicken:int = 19; public const _maxTrait:int = 1000; public const _archer:int = 2; public const _aiArmor:int = 5; public const _dialogRobVisitor:int = 4; public const _dialogActParty:int = 14; public const _medalBadge1:int = 86; public const _medalBadge2:int = 87; public const _maxInv:int = 50; public const _stageTown:int = 2; public const _aiNoArmor:int = 2; public const _medalElona:int = 94; public const _invShop:int = 0; public const _invAlly:int = 40; public const _dialogQuit:int = 2; public const _encFireRate:int = 3; public const _dialogActTaunt:int = 12; public const _encAmmo:int = 7; public const _ghost:int = 14; public const _bird:int = 16; public const _encAutofire:int = 12; public const _devSheriff:int = 6; public const _dialogUpgrade:int = 8; public const _typeShotgun:int = 2; public const _tank:int = 12; public const _devRanger:int = 5; public const _dino:int = 13; public const _dialogCarryOver:int = 7; public const _typeMachine:int = 3; public const _eventMode:int = 9; public const urlExclusive = "http://www.kongregate.com/games/noanoa/elona-shooter"; public const _dialogDismiss:int = 3; public const _dialogActSearch:int = 10; public const _devNoble:int = 8; public const _dialogRecycle:int = 5; public const _dialogRecharge:int = 6; public const _typeGun:int = 1; public const _defTag:int = 60; public const _devHunter:int = 1; public const _medalNoDamage1:int = 60; public const _medalNoDamage3:int = 62; public const _medalNoDamage4:int = 63; public const _dialogActHire:int = 16; public const _waveAir:int = 1; public const _medalNoDamage2:int = 61; public const _encLiving:int = 11; public const _eventLevel:int = 7; public const _maxPic = 22; public const _ogre:int = 1; public const _stageLoader:int = 4; public const _stageResult:int = 3; public const _aiAir:int = 4; public const _strEmptySave = "Empty Save"; public const _typeSell:int = 3; public const _dialogMod:int = 5; public const _encAir:int = 5; public const _eventAlly:int = 2; public const _medalChicken2:int = 51; public const _medalChicken3:int = 52; public const G_GEN:int = 100; public const _medalChicken1:int = 50; public const _eventGene:int = 6; public const chainSoundLength = 2462; public const _rat:int = 17; public const _encDamage:int = 4; public const _aiDefault:int = 0; public const _stageBattle:int = 1; public const _barb:int = 7; public const _medalAction1:int = 80; public const _medalAction3:int = 82; public const _medalAction4:int = 83; public const _medalAction5:int = 84; public const _medalAction2:int = 81; public const _aiNeither:int = 3; public var loaded; public var sound_reloaded1:Sound; public var sound_reloaded3:Sound; public var sound_reloaded2:Sound; public var bgAlpha:MovieClip; public var sound_drop:Sound; public var sound_gun1:Sound; public var sound_gun2:Sound; public var sound_gun3:Sound; public var sound_gun4:Sound; public var sound_gun5:Sound; public var sound_gun6:Sound; public var sound_gun7:Sound; public var sound_gun8:Sound; public var sound_gun9:Sound; public var funnylogo:MovieClip; public var frenzyMode:int; public var kong_mc2:MovieClip; public var window_mc:MovieClip; public var debugLoader:int; public var debugDay:int; public var upgradeCount:int; public var itemName; public var radio_mc:Array; public var airLine:int; public var i:int; public var blendCounter:int; public var shakeStrX; public var p; public var shakeStrY; public var w:int; public var z:int; public var fireAtWill:Boolean; public var groundWidth:int; public var weaponRange; public var t:int; public var maxEnemy:int; public var eventDialog:int; public var encList; public var targetBoss; public var sound_gold1:Sound; public var critArray; public var traitLvFix:int; public var window2_mc:MovieClip; public var maxChara:int; public var popTime; public var vol:MovieClip; public var upgradeRef:Array; public var sound_click1:Sound; public var sound_launch:Sound; public var sound_night:Sound; public var debugBattle:int; public var maxSave:int; public var sound_rampageEnemy:Sound; public var ammoText:TextField; public var ID; public var sound_chickenAttack:Sound; public var sound_deadBoss1:Sound; public var sound_deadBoss2:Sound; public var sound_pop1:Sound; public var blurMcHelp; public var armor; public var castleHPText:TextField; public var armorButton:SimpleButton; public var dragSlot:int; public var missionLevel:int; public var inventory:Object; public var window4_mc:MovieClip; public var encRef; public var lvCycle:int; public var sound_deadChicken:Sound; public var delay:int; public var col; public var longest:TextField; public var mission:Object; public var playerY:Array; public var dialogAction:int; public var amb:SoundChannel; public var sound_battleEnd:Sound; public var lvText:TextField; public var upgradeRefStr:Array; public var kongregate; public var soundCs; public var textCarryOver:TextField; public var radioCount:int; public var sound_good:Sound; public var TRAIT; public var menuLine:int; public var eRef; public var castleCounter:int; public var slot:int; public var skipAd:int; public var moneyText:TextField; public var shakeY; public var groundLine:int; public var shakeX; public var sister:MovieClip; public var customCursor:MovieClip; public var sound_bg_forest:Sound; public var medalPage; public var buttonArray:Array; public var classList:Array; public var pop; public var CALC; public var eventList:Array; public var defenseLine:int; public var sound_fireball:Sound; public var hintCount2; public var sound_complete:Sound; public var dragItem:int; public var maxAlly:int; public var ammobar:MovieClip; public var filterDrop:DropShadowFilter; public var sound_pray1:Sound; public var page:int; public var upgrade_mc:Array; public var text_rampage; public var airWidth:int; public var menuList:Array; public var trans:Array; public var gameResult:Boolean; public var toTownMenu:Boolean; public var kongAPI:KongregateAPI; public var PARTY; public var time:int; public var chainSound; public var PARTYLV; public var news:String; public var sound_search:Sound; public var menuId:int; public var player:Object; public var sound_exp1:Sound; public var cancelFirework; public var unlocked:Boolean; public var frenzyBar:MovieClip; public var fireworkCount; public var armorEmu:int; public var item:int; public var titleList; public var sound_repair1:Sound; public var sound_bg_town:Sound; public var blendType:int; public var g_count; public var trash:SimpleButton; public var sound_throw1:Sound; public var nameBoy:Array; public var sound_mute:Sound; public var debugStartDay:int; public var inventory_mc:Array; public var upgradeItem; public var geneClass:int; public var sound_damage1:Sound; public var dbgWin; public var sound_firework:Sound; public var orderIsOpen:Boolean; public var debugTown:int; public var currentHint:int; public var sound_battleBegin:Sound; public var traitRef; public var filter1:Array; public var filter2:Array; public var gamePaused:Boolean; public var frenzyText:TextField; public var sound_crow:Sound; public var filter1a:BitmapFilter; public var sound_medal:Sound; public var sound_scroll1:Sound; public var aiTarget; public var missionButton:SimpleButton; public var maxParty:int; public var filter2a:BitmapFilter; public var medal_mc:Array; public var sound_card1:Sound; public var game:Object; public var debugGroup:String; public var gameOver:Boolean; public var bag:MovieClip; public var wexpList; public var selectBaseX:int; public var chainMode; public var selectBaseY:int; public var tgCard:int; public var sound_low:Sound; public var sound_gun10:Sound; public var sound_gun11:Sound; public var sound_gun12:Sound; public var sound_gun13:Sound; public var sound_gun14:Sound; public var sound_gun15:Sound; public var debugUnlockClass:int; public var itemDesc; public var bg:MovieClip; public var eDupe; public var continueButtonOrgX; public var bt:SimpleButton; public var bgChange:int; public var actList; public var blurMc; public var medalCount:int; public var ce:int; public var debugMedal:int; public var pic_mc:Array; public var ci:int; public var cs:int; public var defHint; public var fixedLvMax:int; public var REF; public var sound_impact1:Sound; public var sound_rampage:Sound; public var cb:int; public var sound_cata:Sound; public var immune:Boolean; public var helpMode:int; public var debugBatch:int; public var info:LoaderInfo; public var posTrans:Array; public var invSlotCount:int; public var gameContinued:Boolean; public var sound_bad:Sound; public var sound_bow1:Sound; public var sound_bow2:Sound; public var debugShowUpdate:int; public var sisterList; public var i2; public var expText:TextField; public var dbgMode:int; public var kongregateEmu:int; public var castle:MovieClip; public var select:int; public var runner_mc:Array; public var medalButton:SimpleButton; public var sound_eat1:Sound; public var window3_mc:MovieClip; public var frenzyBar2:MovieClip; public var sound_dead1:Sound; public var sound_dead2:Sound; public var sound_dead3:Sound; public var sound_dead4:Sound; public var sound_dead5:Sound; public var sound_dead7:Sound; public var sound_dead9:Sound; public var sound_dead6:Sound; public var sound_dead8:Sound; public var eventModeEnabled; public var drag:Boolean; public var stats_mc:Array; public var popMax:int; public var sound_tank2:Sound; public var sound_beep:Sound; public var menuButton:SimpleButton; public var shakeDirY; public var upgradeMax:Array; public var shakeCount:int; public var logo:MovieClip; public var sound_killed:Sound; public var shakeDirX; public var maxButton:int; public var sound_pay1:Sound; public var shopButton:SimpleButton; public var helpButton:SimpleButton; public var debugTownDay:int; public var shakeRange; public var invIcon_mc:Array; public var soundCounter:int; public var bottomBar:MovieClip; public var equipMode:int; public var beta:int; public var apText:TextField; public var currentPop:int; public var sound_tank:Sound; public var nextAlert; public var gameStage:int; public var showUpdate; public var cloud:MovieClip; public var invSlot_mc:Array; public var castleButton:SimpleButton; public var debugEnemyNum:int; public var debug:int; public var sound_bag1:Sound; public var draw_count; public var sound_goodshot:Array; public var skipLoader:int; public var runner_speed:Array; public var sound_chicken:Sound; public var popList:Array; public var gameoverLogo:MovieClip; public var helpButtonOrgX; public var mouseHidden:Boolean; public var continueButton:SimpleButton; public var idx:Object; public var sound_chain1:Sound; public var sound_chain2:Sound; public var sound_chain3:Sound; public var upgradeHint:Array; public var hintCount:int; public var debugId:int; public var sound_reloading1:Sound; public var sound_reloading2:Sound; public var charaButton:SimpleButton; public var sound_reloading3:Sound; public var protTime:int; public var dayText:TextField; public var bg_color:ColorTransform; public var medal:Array; public var kong_mc:MovieClip; public var targetWall; public var waveRef; public var saveBox:ComboBox; public var selectID:int; public var shakeDec; public var cursor_mc; public var invIconCount:int; public var runner_x:Array; public var runner_y:Array; public var sound_award:Sound; public var old_timer; public var timer:Timer; public var critMsg; public var popupMc; public var elonaButton:SimpleButton; public var devGroup; public var sound_puls:Sound; public var newGameButton:SimpleButton; public var equipButton:SimpleButton; public var newGameButtonOrgX; public var sound_lightning:Sound; public var eRefId; public var eCount; public var gunSound; public var statsCount:int; public var enemyArray:Array; public var player_mc:Array; public var sound_party:Sound; public var cursorX; public var cursorY; public var toBlackScreen:int; public var sound_mod:Sound; public var chainPos; public var gameDialog:Boolean; public var startFromTown:Boolean; public var cardCount:int; public var textCount:int; public var sound_defend:Sound; public var cardSound; public var fadeCount:int; public var hero:int; public var runner_pic:Array; public var dialog_mc:MovieClip; public function MainTimeline(){ debugName = ["random", "ogre", "archer", "sheep", "lava", "cata", "crow", "barb", "knight", "spider", "fly", "bomb", "tank", "dino", "ghost", "dragon", "bird", "rat", "ratdrop"]; super(); addFrameScript(0, frame1, 2, frame3, 5, frame6, 6, frame7, 8, frame9, 11, frame12, 21, frame22, 26, frame27, 32, frame33, 56, frame57, 64, frame65, 70, frame71, 80, frame81); } public function onEnterFrame_help(_arg1:Event){ stage.setChildIndex(window4_mc, (stage.numChildren - 1)); if (window4_mc.animeTime){ window4_mc.animeTime--; window4_mc.visible = true; window4_mc.x = (window4_mc.x - Math.pow(window4_mc.animeTime, 1.7)); if (window4_mc.animeTime == 0){ window4_mc.help1.mouseEnabled = true; window4_mc.help2.mouseEnabled = true; window4_mc.help3.mouseEnabled = true; window4_mc.help4.mouseEnabled = true; } else { if (window4_mc.getChildByName("help1")){ window4_mc.help1.mouseEnabled = false; window4_mc.help2.mouseEnabled = false; window4_mc.help3.mouseEnabled = false; window4_mc.help4.mouseEnabled = false; }; }; }; } public function museumMedal(){ if (medalNum() >= 25){ getMedal(_medalBadge1); }; if ((((((game.day >= 100)) && ((game.HC == true)))) || ((idx.daysHC >= 100)))){ getMedal(_medalBadge2); }; } public function selectEnemy(_arg1, _arg2, _arg3, _arg4){ var _local5:int; var _local6:int; var _local8:*; var _local9:Boolean; var _local7 = -1; var _local10:int = _arg1; if (_local10 > fixedLvMax){ _local10 = fixedLvMax; }; var _local11:* = int((_local10 - ((Math.random() * Math.random()) * _local10))); _local5 = 0; for (;_local5 < eCount;_local5++) { if ((((_local5 == eRefId[_fly])) && ((Math.random() > 0.2)))){ } else { if (eRef[_local5].lv > _arg1){ } else { if (_local7 != -1){ if (eRef[_local5].lv == eRef[_local7].lv){ if (Math.random() > 0.5){ continue; }; //unresolved jump }; //unresolved if } else { _local9 = false; _local6 = 0; while (_local6 < _arg3.length) { if (eRef[_local5][_arg3[_local6]] != true){ _local9 = true; break; }; _local6++; }; if (_local9 == false){ _local6 = 0; while (_local6 < eDupe.length) { if (_local5 == eDupe[_local6]){ _local9 = true; break; }; _local6++; }; }; if (_local9){ } else { _local7 = _local5; }; }; }; }; }; if (_local7 == -1){ debugGroup = (debugGroup + "#"); _local7 = eRefId[3]; if (Math.random() > 0.7){ _local7 = eRefId[17]; }; if ((((mission.fixedLv > 1)) && ((Math.random() > 0.7)))){ _local7 = eRefId[19]; }; if ((((mission.fixedLv > 3)) && ((Math.random() > 0.5)))){ _local7 = eRefId[17]; }; if ((((mission.fixedLv > 7)) && ((Math.random() > 0.5)))){ _local7 = eRefId[7]; }; if ((((mission.fixedLv > 13)) && ((Math.random() > 0.5)))){ _local7 = eRefId[9]; }; if ((((mission.fixedLv > 17)) && ((Math.random() > 0.4)))){ _local7 = eRefId[1]; }; if ((((mission.fixedLv > 22)) && ((Math.random() > 0.4)))){ _local7 = eRefId[8]; }; }; if (debugId){ _local7 = eRefId[debugId]; }; eDupe.push(_local7); _local8 = eRef[_local7].power; _local7 = eRef[_local7].id; _local6 = (((mission.power * _arg2) / 100) / _local8); if (_local6 < 1){ _local6 = 1; }; _local5 = 0; while (_local5 < _local6) { pop[_arg4].push(_local7); _local5++; }; debugGroup = (debugGroup + (((((("" + debugName[_local7]) + "*") + _local6) + "(") + _local10) + ") ")); } public function versionFix(){ var _local1:*; var _local2:*; var _local3:*; mission.wave = int(mission.wave); mission.bossWave = int(mission.bossWave); if (game.submit == undefined){ game.submit = true; }; if (game.version == undefined){ game.version = 0; }; if (game.version < 100){ _local3 = 0; while (_local3 < (maxAlly + 1)) { player.wexp = []; player.wexpRef = []; player.wexp[_local3] = []; _local1 = 0; while (_local1 < _maxWeaponSkill) { player.wexp[_local3][_local1] = 0; _local1++; }; _local3++; }; }; if (game.version < 140){ idx.beta = beta; player.optBoss = []; player.optWall = []; player.onMark = []; _local3 = 0; while (_local3 < (maxAlly + 1)) { player.optBoss[_local3] = false; player.optWall[_local3] = false; _local3++; }; }; if (game.version < 1100){ game.HC = false; }; if (game.version < 1120){ showUpdate = true; }; } public function updateCastleMenu(){ var _local1:*; var _local2:*; var _local3:String; var _local4:Boolean; updateUpgradeHint(); window2_mc.unkeep.text = calcUnkeep(); upgradeCount = 0; window2_mc.locker.visible = false; window2_mc.locker.mouseEnabled = false; _local1 = 0; while (_local1 < 8) { _local2 = (_local1 + (page * 8)); upgrade_mc[_local1] = (new upgrades() as MovieClip); upgrade_mc[_local1].x = (150 + (int((_local1 % 4)) * 100)); upgrade_mc[_local1].y = (140 + (int((_local1 / 4)) * 110)); _local3 = upgradeRefStr[_local2]; if (((!((_local2 == 0))) && ((game[upgradeRef[_local2]] > 0)))){ _local3 = (_local3 + (" Lv " + game[upgradeRef[_local2]])); }; upgrade_mc[_local1].upgradeName.text = _local3; upgrade_mc[_local1].upgradeCost.text = getUpgradeCost(_local2); upgrade_mc[_local1].hintTxt = [_local3, upgradeHint[_local2][0], upgradeHint[_local2][1], upgradeMax[_local2], ""]; upgrade_mc[_local1].upgradePic.hintTxt = [_local3, upgradeHint[_local2][0], upgradeHint[_local2][1], upgradeMax[_local2], ""]; upgrade_mc[_local1].upgradePic.gotoAndStop((_local2 + 2)); upgrade_mc[_local1].upgradePic.mouseEnabled = false; if (getUpgradeCost(_local2) == -1){ upgrade_mc[_local1].upgradeCost.text = 0; window2_mc.locker.visible = true; upgrade_mc[_local1].upgradePic.gotoAndStop(30); }; _local4 = true; if ((((getUpgradeCost(_local2) > player.money[_pc])) || ((getUpgradeCost(_local2) == 0)))){ upgrade_mc[_local1].upgradeCost.textColor = 0xCC0000; _local4 = false; }; if (_local4){ upgrade_mc[_local1].upgradeCost.textColor = 204; upgrade_mc[_local1].upgradeButton.mouseEnabled = true; upgrade_mc[_local1].alpha = 1; } else { upgrade_mc[_local1].upgradeButton.mouseEnabled = false; upgrade_mc[_local1].alpha = 0.3; }; upgrade_mc[_local1].possible = _local4; window2_mc.addChild(upgrade_mc[_local1]); upgradeCount++; _local1++; }; } public function swapStuff(_arg1:int, _arg2:int){ var _local3:*; var _local4:*; for (_local3 in inventory) { _local4 = inventory[_local3][_arg1]; inventory[_local3][_arg1] = inventory[_local3][_arg2]; inventory[_local3][_arg2] = _local4; }; } public function deleteGame(){ game.version = _version; var _local1:* = SharedObject.getLocal(("elonas" + idx.slot)); if (_local1){ _local1.data.deleted = true; if (game.HC == true){ popInfo("Game Deleted(Hardcore Mode)."); } else { popInfo("Game Deleted."); }; }; } public function updateCharaList(){ var _local1:*; window2_mc.recruitText.visible = false; _local1 = 0; while (_local1 < (maxAlly + 1)) { if (player.exist[_local1] == false){ } else { player_mc[_local1] = (new ally3() as MovieClip); player_mc[_local1].x = (160 + (_local1 * 62)); if (_local1 == maxAlly){ player_mc[_local1].x = (player_mc[_local1].x + 10); window2_mc.recruitText.visible = true; }; player_mc[_local1].y = 146; player_mc[_local1].pic = player.pic[_local1]; player_mc[_local1].gotoAndPlay("stand"); player_mc[_local1].pname.text = player.name[_local1]; player_mc[_local1].lv.text = ((("L:" + player.lv[_local1]) + "\nE:") + (player.exp[_local1] / 10)); player_mc[_local1].lv.mouseEnabled = false; player_mc[_local1].pname.mouseEnabled = false; player_mc[_local1].chara1.mouseEnabled = false; window2_mc.addChild(player_mc[_local1]); }; _local1++; }; } public function castleAbsorb(){ return ((1 - (game.sandbag * 0.05))); } public function procHit(_arg1, _arg2, _arg3, _arg4, _arg5){ var _local6:int; var _local7:int; var _local8:Boolean; _local8 = false; _local6 = 0; while (_local6 < maxEnemy) { if (enemyArray[_local6].isFree() == false){ if (enemyArray[_local6].mc.shadowHit == false){ //unresolved if } else { if (enemyArray[_local6].mc.hitTestPoint(_arg3, _arg4, true)){ if ((Math.random() * 100) < CALC.SENSE(_arg1)){ _local7 = 2; }; if ((((_arg4 > (enemyArray[_local6].crit[2] + enemyArray[_local6].y))) && ((_arg4 < (enemyArray[_local6].crit[3] + enemyArray[_local6].y))))){ if ((((_arg3 > (enemyArray[_local6].crit[0] + enemyArray[_local6].x))) && ((_arg3 < (enemyArray[_local6].crit[1] + enemyArray[_local6].x))))){ if (enemyArray[_local6].isDead() == false){ _local7 = 1; }; }; }; if (enemyArray[_local6].isDead() == false){ _local8 = true; }; if (player.trait[_arg1][TRAIT.DUELIST] > 0){ player.frenzy[_arg1] = (player.frenzy[_arg1] + ((CALC.DUELIST(_arg1) / (inventory.shootRate[_arg2] * 0.03)) + 0.1)); if (player.frenzy[_arg1] > calcDuelistMaxDamage(player.trait[_arg1][TRAIT.DUELIST])){ player.frenzy[_arg1] = calcDuelistMaxDamage(player.trait[_arg1][TRAIT.DUELIST]); }; }; enemyArray[_local6].knockBack = CALC.SHERIFF(_arg1); enemyArray[_local6].damage(_arg5, _arg2, _arg3, _arg4, _arg1, _local7); }; }; }; _local6++; }; return (_local8); } public function getTrait(_arg1:int, _arg2:int){ var _local3:Array = ["1", "2"]; return (_local3); } public function removeInvSlot(){ var _local1:*; _local1 = 0; while (_local1 < invSlotCount) { window2_mc.removeChild(invSlot_mc[_local1]); _local1++; }; } function frame27(){ debugDay = 80; critMsg = ["HEAD SHOT!", "LIMB SHOT!", "CORE SHOT!", "ABDOMEN SHOT!", "TORSO SHOT!", "NULL"]; critArray = [0, 1, 0, 0, 0, 2, 0, 0, 4, 3, 0, 2, 2, 1, 0, 1, 0, 0, 0, 4]; if (amb != null){ amb.stop(); }; amb = (sound_bg_forest.play(0, 999999) as SoundChannel); cb = 0; col = []; col[0] = [0, 0, 0, 0, 0, 0]; col[1] = [0, 0, 0, 0, 0, 0]; protTime = 0; textCount = 0; pop = []; popTime = []; eCount = 0; eRef = []; eDupe = []; eRefId = []; bg_color = new ColorTransform(); waveRef = [_waveAir]; setEnemy(_boss, 9999, 500, []); setEnemy(_bomb, 9999, 50, []); setEnemy(_ratdrop, 9999, 80, []); setEnemy(_sheep, 0, 70, ["BATCH"]); setEnemy(_rat, 1, 50, ["BATCH", "MASS"]); setEnemy(_archer, 4, 100, ["RANGED"]); setEnemy(_crow, 3, 110, ["AIR", "MASS"]); setEnemy(_fly, 6, 30, ["AIR"]); setEnemy(_barb, 7, 95, ["BATCH", "MASS"]); setEnemy(_lava, 9, 300, ["KAMIKAZE", "MASS"]); setEnemy(_cata, 11, 300, ["BOSS"]); setEnemy(_spider, 13, 160, ["BATCH", "MASS"]); setEnemy(_ghost, 15, 260, ["BATCH", "MASS"]); setEnemy(_ogre, 17, 350, ["BATCH", "MASS"]); setEnemy(_knight, 19, 280, ["BATCH", "MASS"]); setEnemy(_bird, 22, 420, ["AIR"]); setEnemy(_tank, 25, 400, ["BOSS"]); setEnemy(_dino, 28, 550, ["BOSS", "MASS"]); setEnemy(_dragon, 32, 550, ["BOSS"]); setEnemy(_chicken, 2, 90, ["BATCH", "MASS"]); if (mission.bossDay == true){ text_effect("Boss Day!"); }; preGenerateWave(); sisterList = []; i = 0; while (i < (mission.wave + 1)) { sisterList[i] = 0; i++; }; if (game.sister){ i = 0; while (i < game.sister) { var _local1 = sisterList; var _local2 = (int((Math.random() * mission.wave)) + 1); var _local3 = (_local1[_local2] + 1); _local1[_local2] = _local3; i++; }; }; if (player.ai[_pc] == _aiHero){ hero = _pc; } else { hero = -1; }; updateFrenzyBar(); apText.visible = false; text_rampage = ["", "[6] Great shot!", "[5] Fantastic!", "[4] Shena is dancing!", "[3] Jure blesses you!", "[2] Lulwy is pleased!", "[1] ....meoowwwww!"]; stop(); bottomBar.gotoAndStop(1); initPartySkill(); fireAtWill = false; mission.resultBefore = player.money[_pc]; mission.resultTaken = 0; news = ""; root.x = 0; root.y = 0; immune = false; bgChange = 0; castleCounter = 0; gameStage = _stageBattle; shakeCount = 0; ci = _invPlayer; customCursor.x = mouseX; customCursor.y = mouseY; if (game.optionColor == true){ customCursor.gotoAndStop(3); } else { customCursor.gotoAndStop(1); }; menuButton.mouseEnabled = false; resetBG(); customCursor.visible = true; updateInterface(); updateInventory(); updateAlly(); Mouse.hide(); startBattleMedal(); stage.addEventListener(KeyboardEvent.KEY_DOWN, KeyDown); stage.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler); stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownFunc); stage.addEventListener(MouseEvent.MOUSE_UP, mouseUpFunc); stage.addEventListener(MouseEvent.MOUSE_MOVE, MouseMove); addEventListener(Event.ENTER_FRAME, onEnterFrame); timer.addEventListener(TimerEvent.TIMER, onTick); timer.start(); } function frame12(){ stage.addEventListener(Event.ENTER_FRAME, EnterFrame_logo2); stage.addEventListener(MouseEvent.MOUSE_DOWN, MouseLDown_logo2); } public function kongregateLink(){ sound_click1.play(); popInfo("A Webpage has been opend in your browser."); var request:URLRequest = new URLRequest(urlKong); try { navigateToURL(request); } catch(e:Error) { }; getMedal(_medalKongregate); } public function randLv(_arg1, _arg2){ return (int((_arg1 * (1 - (Math.random() * (1 - (Math.random() * _arg2))))))); } function frame33(){ gameoverLogo.carryOver.gotoAndStop(1); if ((((game.HC == true)) || ((game.day < 2)))){ gameoverLogo.carryOver.visible = false; } else { gameoverLogo.carryOver.visible = true; if (game.carryOver == true){ gameoverLogo.carryOver.gotoAndStop(2); }; }; } public function calcUnkeep(){ var _local1:int; _local1 = (_local1 + ((game.house - 1) * 50)); _local1 = (_local1 + (game.repair * 60)); _local1 = (_local1 + ((game.castleMHP - 40) * 2)); _local1 = (_local1 + (game.sandbag * 40)); _local1 = (_local1 + (game.storage * 40)); if (medal[_medalBadge1]){ _local1 = (_local1 - 40); }; _local1 = (_local1 + (game.looter * 5)); _local1 = (_local1 + (game.museum * 15)); if (_local1 < 0){ _local1 = 0; }; return (_local1); } public function museumFix(){ return ((1 + ((game.museum - 1) * 0.3))); } public function orderRollOver(_arg1:ListEvent):void{ var _local2:uint; var _local3:*; var _local4:*; var _local5:*; _local2 = (_arg1.rowIndex as uint); _local3 = ["", ""]; _local4 = window2_mc.hint; _local5 = window2_mc.order.getItemAt(_local2).data; _local4.alpha = 1; if (_local5 == _aiHero){ _local3 = ["Hero Mode", "You can manually control your character in the hero mode. The commander's items can't be used in this mode."]; }; if (_local5 == _aiNormal){ _local3 = ["Attack mobs in weapon range", "The character attacks mobs within his weapon range. Note that regardless of any order given, the shorter the distance between him and the target, the quicker he will be abled to aim and shoot."]; }; if (_local5 == _aiNoArmor){ _local3 = ["Don't attack armored mobs", "The character attacks mobs within his weapon range but ignores armored mobs."]; }; if (_local5 == _aiNoAir){ _local3 = ["Don't attack air mobs", "The character attacks mobs within his weapon range but ignores air mobs."]; }; if (_local5 == _aiNeither){ _local3 = ["Don't attack either", "The character attacks mobs within his weapon range but ignores neither armored mobs nor air mobs."]; }; if (_local5 == _aiAir){ _local3 = ["Attack air mobs", "The character only attacks air mobs. He does not attack other types of mobs but his weapon range is increased without the accuracy penalty."]; }; if (_local5 == _aiArmor){ _local3 = ["Attack armored mobs", "The character only attacks armored mobs. He does not attack other types of mobs but his weapon range is increased without the accuracy penalty."]; }; if (_local5 == _aiFireAtWill){ _local3 = ["Always fire at will", "The same effect as if he were in \"Fire at will\" mode. The character can attack any mob in the battle field but suffer significant accuracy penalty."]; }; _local4.itemName.text = _local3[0]; _local4.itemDesc.text = _local3[1]; _local4.itemDesc2.text = ""; _local4.typeText.visible = false; _local4.maxText.visible = false; window2_mc.setChildIndex(window2_mc.hint, (window2_mc.numChildren - 1)); window2_mc.hint.visible = true; orderIsOpen = true; } public function MouseLDownFunc_result(_arg1:MouseEvent){ var _local2:int; var _local3:int; var _local4:int; _local2 = stage.mouseX; _local3 = stage.mouseY; if (vol.hitTestPoint(_local2, _local3, true)){ toggleMute(); return; }; if (gameDialog){ if (dialog_mc.yes.hitTestPoint(_local2, _local3, true)){ endDialog(true); } else { endDialog(false); }; return; }; if (toTownMenu){ return; }; if (fadeCount){ return; }; if (window2_mc.animeTime){ return; }; if (ce == _eventBegin){ return; }; if (ce == _eventClear){ fadeCount = 9; return; }; if (gamePaused){ pauseProc(); return; }; if (ce == _eventMode){ if (window2_mc.backButton.hitTestPoint(_local2, _local3, true)){ sound_click1.play(); eventList.push(_eventGene); fadeCount = 9; eventModeEnabled = false; if (unlocked == true){ unlocked = false; } else { unlocked = true; }; popInfo("Game MODs have been reset."); return; }; if (window2_mc.detailWin.visible == true){ if (window2_mc.detailWin.closeButton.hitTestPoint(_local2, _local3, true)){ window2_mc.detailWin.visible = false; }; return; } else { if (window2_mc.detailButton.hitTestPoint(_local2, _local3, true)){ sound_scroll1.play(); window2_mc.detailWin.x = 145; window2_mc.detailWin.visible = true; }; }; }; if (ce == _eventLevel){ _local4 = 0; while (_local4 < radioCount) { if (radio_mc[_local4].hitTestPoint(_local2, _local3, true)){ sound_click1.play(); cs = _local4; updateLevel(); }; _local4++; }; }; if (ce == _eventGene){ if (window2_mc.unlockButton.hitTestPoint(_local2, _local3, true)){ sound_click1.play(); changeUnlock(); }; _local4 = 0; while (_local4 < _maxPic) { if (pic_mc[_local4].hitTestPoint(_local2, _local3, true)){ sound_click1.play(); cs = _local4; updateGene(); break; }; _local4++; }; _local4 = 3; while (_local4 >= 0) { if (radio_mc[_local4].hitTestPoint(_local2, _local3, true)){ if (radio_mc[_local4].mouseEnabled == false){ sound_beep.play(); popInfo("You have to win a medal!"); return; }; if ((((((unlocked == false)) && ((_local4 == 3)))) && ((((kongregate == 0)) && ((armor == 0)))))){ exclusiveLink(); return; }; sound_click1.play(); geneClass = _local4; if (unlocked){ geneClass = (geneClass + 4); }; updateGene(); break; }; _local4--; }; }; if (drag == false){ if (menuButton.hitTestPoint(_local2, _local3, true)){ pauseMenu(); return; }; if ((((((ce == _eventGene)) && ((window2_mc.extraButton.visible == true)))) && (window2_mc.extraButton.hitTestPoint(mouseX, mouseY, true)))){ sound_click1.play(); eventList.push(_eventMode); fadeCount = 9; eventModeEnabled = true; return; }; if ((((((ce == _eventEnd)) && (window2_mc.mc_playMore.visible))) && (window2_mc.mc_playMore.kongButton.hitTestPoint(mouseX, mouseY, true)))){ kongregateLink(); return; }; if ((((((((((((ce == _eventLoot)) || ((ce == _eventLootBoss)))) || ((ce == _eventGene)))) || ((ce == _eventEnd)))) || ((ce == _eventLevel)))) || ((ce == _eventMode)))){ if ((((window2_mc.procButton.visible == true)) && (window2_mc.procButton.hitTestPoint(mouseX, mouseY, true)))){ sound_click1.play(); if (ce == _eventEnd){ window2_mc.procButton.visible = false; Tweener.addTween(window2_mc.mc_playMore, {alpha:0, time:1}); delay = 0; toTownMenu = true; fadeCount = 9; return; }; if (ce == _eventLevel){ var _local5 = player.trait[_pc]; var _local6 = radio_mc[cs].id; var _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; }; fadeCount = 9; if (ce == _eventMode){ stage.focus = stage; setGameOption(); if (startFromTown){ toTownMenu = true; gameStart(); ce = eventList.pop(); ce = _eventGene; delay = 0; return; }; }; return; }; }; }; if ((((ce == _eventLoot)) || ((ce == _eventLootBoss)))){ invDrag(); }; } public function setEnemy(_arg1, _arg2, _arg3, _arg4){ var _local5:int; var _local6:int = eCount; eRef[_local6] = {}; eRef[_local6].id = _arg1; eRef[_local6].lv = _arg2; eRef[_local6].power = _arg3; eRefId[_arg1] = _local6; _local5 = 0; while (_local5 < _arg4.length) { eRef[_local6][_arg4[_local5]] = true; _local5++; }; eCount++; } public function updateInvSlots(_arg1:int){ var _local2:int; var _local3:*; var _local4:int; var _local5:*; if (_arg1 == -1){ _local2 = -1; } else { _local2 = invSlot_mc[_arg1].id; }; window2_mc.warning.visible = false; _local3 = 0; while (_local3 < invSlotCount) { _local4 = _pc; _local5 = invSlot_mc[_local3].id; invSlot_mc[_local3].filters = []; if (invSlot_mc[_local3].id >= _invAlly){ _local4 = (invSlot_mc[_local3].id - _invAlly); }; if ((((inventory.type[_local2] == _typeToken)) && ((invSlot_mc[_local3].op == 0)))){ invSlot_mc[_local3].filters = [new GlowFilter(4160956)]; }; if (equipMode == 1){ if ((((((((invSlot_mc[_local3].op == 0)) || ((inventory.num[_local5] <= 0)))) || (!((inventory.type[_local5] == _typeGun))))) || ((_local5 >= _invAlly)))){ invSlot_mc[_local3].alpha = 0.5; }; } else { if (equipMode == 2){ if ((((((((inventory.ammoMax[_local5] == 0)) || ((inventory.num[_local5] <= 0)))) || (!((inventory.type[_local5] == _typeUse))))) || ((_local5 >= _invAlly)))){ invSlot_mc[_local3].alpha = 0.5; }; } else { if ((((invSlot_mc[_local3].op == -1)) || ((invSlot_mc[_local3].id < _invPlayer)))){ } else { if (_local2 == -1){ invSlot_mc[_local3].alpha = 1; } else { if ((((invSlot_mc[_arg1].op == 0)) && ((inventory.num[_local5] > 0)))){ invSlot_mc[_local3].alpha = 0.5; }; if ((((((_local2 >= _invAlly)) && ((inventory.num[_local5] > 0)))) && (!((inventory.type[_local5] == _typeGun))))){ invSlot_mc[_local3].alpha = 0.5; }; if ((((((((_local2 >= _invAlly)) && ((inventory.num[_local5] > 0)))) && ((inventory.type[_local5] == _typeGun)))) && ((player.trait[(_local2 - _invAlly)][inventory.reqTrait[_local5]] < inventory.reqLv[_local5])))){ invSlot_mc[_local3].alpha = 0.5; }; if (((((!((_local4 == _pc))) && (!((inventory.type[_local2] == _typeGun))))) && (!((inventory.type[_local2] == _typeMod))))){ invSlot_mc[_local3].alpha = 0.5; }; if (((((!((_local4 == _pc))) && ((inventory.num[(_invAlly + _local4)] <= 0)))) && ((inventory.type[_local2] == _typeMod)))){ invSlot_mc[_local3].alpha = 0.5; }; if ((((inventory.type[_local2] == _typeGun)) && ((player.trait[_local4][inventory.reqTrait[_local2]] < inventory.reqLv[_local2])))){ if (_local4 != _pc){ invSlot_mc[_local3].alpha = 0.5; }; if (_local4 == _pc){ window2_mc.warning.visible = true; }; }; if ((((((inventory.type[_local2] == _typeMod)) && ((inventory.type[_local5] == _typeGun)))) && ((inventory.num[_local5] > 0)))){ invSlot_mc[_local3].filters = [new GlowFilter(4160956)]; }; }; }; }; }; _local3++; }; } public function throwSister(_arg1, _arg2, _arg3, _arg4){ var _local5:*; var _local6:*; _local6 = ((((12 * Math.atan2((Math.abs((_arg3 - _arg1)) * 2), Math.abs((_arg4 - _arg2)))) * 2) / Math.PI) + 0.1); _local5 = (new bullet_grenade3() as MovieClip); _local5.x = _arg1; _local5.y = 0; _local5.a = 0.003; _local5.speed = _local6; _local5.x2 = _arg1; _local5.y2 = _arg2; _local5.x1 = _arg3; _local5.y1 = _arg4; _local5.dmg = 20; _local5.chara = _pc; _local5.explode = explode; stage.addChild(_local5); } public function generatePlayer(_arg1:int, _arg2:int, _arg3:int){ var _local5:*; player.exist[_arg1] = true; player.sex[_arg1] = int((Math.random() * 2)); player.name[_arg1] = nameBoy[int((Math.random() * nameBoy.length))]; if (_arg1 == _pc){ player.name[_arg1] = "You"; }; if (_arg3 == -1){ player.devType[_arg1] = (int((Math.random() * _maxDev)) + 1); } else { player.devType[_arg1] = _arg3; }; var _local4:* = 0; while (_local4 < _maxTrait) { player.trait[_arg1][_local4] = 0; _local4++; }; player.potentialAim[_arg1] = ((Math.random() / 1.25) + 0.1); player.potentialTeam[_arg1] = ((Math.random() / 1.25) + 0.1); player.trait[_arg1][TRAIT.BASE_AIMING] = (1 + int((Math.random() * 10))); player.trait[_arg1][TRAIT.BASE_TEAMWORK] = (1 + int((Math.random() * 10))); player.lv[_arg1] = 1; player.sp[_arg1] = 0; player.trained[_arg1] = 0; _local4 = 1; while (_local4 < _arg2) { levelUp(_arg1, false); _local4++; }; player.optBoss[_arg1] = true; player.optWall[_arg1] = true; player.kill[_arg1] = 0; player.earn[_arg1] = 0; player.money[_arg1] = int(200); player.nextTrait[_arg1] = int((Math.random() * 100)); if (_arg1 == _pc){ player.ai[_arg1] = _aiHero; } else { player.ai[_arg1] = _aiDefault; }; player.forcus[_arg1] = -1; player.cost[_arg1] = ((player.lv[_arg1] * 50) + 350); player.exp[_arg1] = 0; player.wexp[_arg1] = []; _local4 = 0; while (_local4 < _maxWeaponSkill) { player.wexp[_arg1][_local4] = 0; _local4++; }; initPartySkill(); if (_arg1 == _pc){ _local5 = (_invPlayer + 1); generateStuff(_local5, 11); inventory.lv[_local5] = 1; inventory.name[_local5] = "Soldier's Grenade"; inventory.attack[_local5] = 45; inventory.ammoMax[_local5] = 5; inventory.ammo[_local5] = inventory.ammoMax[_local5]; inventory.value[_local5] = 100; _local5 = _invPlayer; } else { player.pic[_arg1] = (0 + int((Math.random() * _maxPic))); _local5 = (_invAlly + _arg1); }; generateStuff(_local5, 24); switch (player.devType[_arg1]){ case _devHunter: player.trait[_arg1][TRAIT.SMALL_GUN] = 1; player.trait[_arg1][TRAIT.RIFLE] = 1; player.trait[_arg1][TRAIT.SHOTGUN] = 1; player.trait[_arg1][TRAIT.SCAVENGER] = 1; generateStuff(_local5, 23); inventory.name[_local5] = "Hunter's Bowgun"; inventory.shootRate[_local5] = 32; inventory.baseAccuracy[_local5] = 160; inventory.attack[_local5] = 30; inventory.reqLv[_local5] = 1; break; case _devSniper: player.trait[_arg1][TRAIT.RIFLE] = 2; player.trait[_arg1][TRAIT.KILLER] = 1; generateStuff(_local5, 4); break; case _devSheriff: player.trait[_arg1][TRAIT.SHOTGUN] = 2; player.trait[_arg1][TRAIT.FURY] = 1; generateStuff(_local5, 3); break; case _devRogue: generateStuff(_local5, 1); player.trait[_arg1][TRAIT.SMALL_GUN] = 2; player.trait[_arg1][TRAIT.RIFLE] = 1; player.trait[_arg1][TRAIT.LUCK] = 1; break; case _devRanger: player.trait[_arg1][TRAIT.SMALL_GUN] = 1; player.trait[_arg1][TRAIT.BIG_GUN] = 2; generateStuff(_local5, 36); break; case _devMilitia: player.trait[_arg1][TRAIT.RIFLE] = 2; player.trait[_arg1][TRAIT.BIG_GUN] = 1; generateStuff(_local5, 4); break; case _devGuard: player.trait[_arg1][TRAIT.SMALL_GUN] = 1; player.trait[_arg1][TRAIT.SHOTGUN] = 1; player.trait[_arg1][TRAIT.DEFENDER] = 2; break; case _devNoble: generateStuff(_local5, 2); inventory.name[_local5] = "Sub Machine Gun"; inventory.modMax[_local5] = 2; inventory.reqLv[_local5] = 1; enchant(_local5, _encAccuracy, 3); player.trait[_arg1][TRAIT.SMALL_GUN] = 1; player.trait[_arg1][TRAIT.RIFLE] = 1; player.trait[_arg1][TRAIT.SHOTGUN] = 1; player.trait[_arg1][TRAIT.BIG_GUN] = 1; break; case _devDuelist: generateStuff(_local5, 1); inventory.modMax[_local5] = 4; player.trait[_arg1][TRAIT.SMALL_GUN] = 3; enchant(_local5, _encAmmo, 3); break; }; while (player.sp[_arg1] > 0) { gainTrait(_arg1, false); var _local6 = player.sp; var _local7 = _arg1; var _local8 = (_local6[_local7] - 1); _local6[_local7] = _local8; }; player.trait[_arg1][player.devType[_arg1]] = player.lv[_arg1]; if (_arg1 == _pc){ } else { player.trait[_arg1][TRAIT[devGroup[player.devType[_arg1]][0]]] = (player.trait[_arg1][TRAIT[devGroup[player.devType[_arg1]][0]]] + int(Math.sqrt((_arg2 * 1.5)))); }; } public function onEnterFrame(_arg1:Event){ var _local2:int; var _local3:int; var _local4:*; var _local5:*; var _local6:*; setChildIndex(customCursor, (numChildren - 1)); if (shakeCount){ shakeFrame(); }; if (gamePaused){ stopSound(); return; }; cb = 0; if (protTime){ protTime--; if (protTime <= 0){ if (col[0][2] >= 0){ col[0][2] = (col[0][2] - 0.1); }; protTime--; if (protTime <= -100){ protTime = 0; col[0][2] = 0; }; } else { if (col[0][2] < 1.3){ col[0][2] = (col[0][2] + 0.1); }; }; cb = 1; }; if (blendCounter){ blendCounter--; if (blendCounter == 0){ col[1] = [0, 0, 0, 0, 0, 0]; } else { _local3 = (blendCounter * 8); col[1] = [0.01, 0.01, 0.01, _local3, _local3, _local3]; }; cb = 2; }; if (cb){ bg_color.redMultiplier = 1; bg_color.blueMultiplier = 1; bg_color.greenMultiplier = 1; bg_color.redOffset = 0; bg_color.greenOffset = 0; bg_color.blueOffset = 0; _local2 = 0; while (_local2 < cb) { bg_color.redMultiplier = (bg_color.redMultiplier + col[_local2][0]); bg_color.greenMultiplier = (bg_color.greenMultiplier + col[_local2][1]); bg_color.blueMultiplier = (bg_color.blueMultiplier + col[_local2][2]); bg_color.redOffset = (bg_color.redOffset + col[_local2][3]); bg_color.greenOffset = (bg_color.greenOffset + col[_local2][4]); bg_color.blueOffset = (bg_color.blueOffset + col[_local2][5]); _local2++; }; root.transform.colorTransform = bg_color; }; if (castleCounter){ castleCounter--; if (castleCounter == 0){ castle.x = 575; castle.y = 220; castle.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); } else { castle.x = (575 + (Math.random() * 3)); castle.y = (220 + (Math.random() * 3)); if (blendType == 0){ castle.transform.colorTransform = new ColorTransform((1 + (castleCounter * 0.05)), 1, 1, 1, 1, 0, 0); } else { _local3 = (castleCounter * 4); castle.transform.colorTransform = new ColorTransform(1.01, 1.01, 1.1, 1, _local3, _local3, _local3, 0); }; }; }; cloud.x = (cloud.x - 0.2); if (cloud.x < -1280){ cloud.x = 0; }; _local2 = 0; for (;_local2 < maxAlly;_local2++) { if (player.exist[_local2] == false){ } else { if (_local2 == hero){ w = weapon(_local2); } else { if (((((player.optBoss[_local2]) && (!((targetBoss == undefined))))) && ((player.onMark[_local2] == false)))){ if (targetBoss.isDead()){ targetBoss = undefined; clearAiTarget(_local2); continue; }; player.shooting[_local2] = false; player.burst[_local2] = 0; player.target[_local2] = targetBoss; player.onMark[_local2] = true; player.aimCount[_local2] = int((player.aimTime[_local2] * (5.5 - (player.target[_local2].x / 160)))); if (player.aimCount[_local2] < 3){ player.aimCount[_local2] = 3; }; continue; }; w = weapon(_local2); if (player.target[_local2] == undefined){ player.shooting[_local2] = false; player.burst[_local2] = 0; player.onMark[_local2] = false; if (Math.random() < player.workRate[_local2]){ if (fireAtWill){ player.target[_local2] = aiFireAtWill(_local2, inventory.range[w]); } else { player.target[_local2] = player.aiFunc[_local2](_local2, inventory.range[w]); }; if (player.target[_local2] == undefined){ if (inventory.manualReload[w]){ if (inventory.ammo[w] < (inventory.ammoMax[w] / 1.5)){ reload(_local2, w); }; } else { if (inventory.ammo[w] < (inventory.ammoMax[w] / 3)){ reload(_local2, w); }; }; player.aimCount[_local2] = int((player.aimTime[_local2] * 2)); } else { player.aimCount[_local2] = int((player.aimTime[_local2] * (5.5 - (player.target[_local2].x / 160)))); if (player.aimCount[_local2] < 3){ player.aimCount[_local2] = 3; }; continue; }; }; cursor_mc[_local2].x = (cursor_mc[_local2].x + (((cursorX[inventory.range[w]] - cursor_mc[_local2].x) / player.aimTime[_local2]) / 3)); cursor_mc[_local2].y = (cursor_mc[_local2].y + (((playerY[_local2] - cursor_mc[_local2].y) / player.aimTime[_local2]) / 3)); } else { _local4 = player.target[_local2]; if (_local4.isDead()){ if (((player.onMark[_local2]) && (player.optWall[_local2]))){ searchNextAlert(_local2); } else { clearAiTarget(_local2); }; continue; }; if (_local4.dropping == true){ _local5 = (_local4.y + _local4.mc.rat.y); if (cursor_mc[_local2].x != _local4.x){ cursor_mc[_local2].x = (cursor_mc[_local2].x + ((_local4.x - cursor_mc[_local2].x) / player.aimTime[_local2])); }; if (cursor_mc[_local2].y != _local5){ cursor_mc[_local2].y = (cursor_mc[_local2].y + (((_local5 - cursor_mc[_local2].y) + 1.5) / player.aimTime[_local2])); }; } else { if (cursor_mc[_local2].x != _local4.x){ cursor_mc[_local2].x = (cursor_mc[_local2].x + (((_local4.x + (_local4.speed * player.aimTime[_local2])) - cursor_mc[_local2].x) / player.aimTime[_local2])); }; if (cursor_mc[_local2].y != _local4.y){ cursor_mc[_local2].y = (cursor_mc[_local2].y + ((_local4.y - cursor_mc[_local2].y) / player.aimTime[_local2])); }; }; if (player.aimCount[_local2] > 0){ var _local7 = player.aimCount; var _local8 = _local2; var _local9 = (_local7[_local8] - 1); _local7[_local8] = _local9; } else { player.shooting[_local2] = true; }; }; }; if (player.rampage[_local2] > 0){ _local7 = player.rampage; _local8 = _local2; _local9 = (_local7[_local8] - 1); _local7[_local8] = _local9; if (player.rampage[_local2] == 0){ endRampage(_local2); }; }; if (player.frenzy[_local2] > 0){ if (CALC.DUELIST(_local2)){ if (_local2 == hero){ player.frenzy[_local2] = (player.frenzy[_local2] - 0.12); } else { player.frenzy[_local2] = (player.frenzy[_local2] - 0.04); }; }; if (player.frenzy[_local2] < 0){ player.frenzy[_local2] = 0; }; }; player.shootTimer[_local2] = (player.shootTimer[_local2] - inventory.shootRate[w]); if (player.shooting[_local2]){ shoot(_local2); } else { player.idleCount[_local2] = (player.idleCount[_local2] + 0.033); if (inventory.id[w] == 16){ if (chainMode[_local2] > 1){ _local6 = (chainSoundLength - chainSound[_local2].position); if (chainMode[_local2] == 3){ _local6 = 0; }; if (chainSound[_local2] != null){ chainSound[_local2].stop(); }; chainSound[_local2] = (sound_chain2.play(_local6, 0, trans[_local2]) as SoundChannel); chainMode[_local2] = 1; }; chainPos[_local2] = (chainPos[_local2] - 2); if (chainPos[_local2] < 0){ chainPos[_local2] = 0; }; }; }; }; }; } function frame22(){ loadIndex(); versionFixIndex(); gameMedalBonus(); gameStage = _stageTitle; debugStartDay = 0; vol.buttonMode = true; kongregateStatsIdx(); if (idx.mute == true){ volumeChange(0); } else { volumeChange(1); }; if (debugUnlockClass){ idx.unlocked = [true, true, true, true, true, true, true, true]; }; stop(); if (amb != null){ amb.stop(); }; amb = sound_mute.play(); if (((((kongregate) && (!((idx.version == _version))))) || (debugShowUpdate))){ sound_scroll1.play(); window2_mc = new window(); window2_mc.x = 600; window2_mc.anime = false; window2_mc.gotoAndStop("menu_update"); stage.addChild(window2_mc); Tweener.addTween(window2_mc, {x:0, time:1}); showUpdate = true; window2_mc.addFrameScript((window2_mc.currentFrame - 1), procUpdate); idx.version = _version; }; if (((debug) && (debugMedal))){ i = 0; while (i < _maxMedal) { medal[i] = true; i++; }; }; if (debugTown){ debug_town(); return; }; if (debugBattle){ debug_battle(debugBattle); return; }; root.x = 0; root.y = 0; shakeCount = 0; maxSave = 8; if (debug == 0){ debugId = 0; }; updateSaveSlot(); runner_mc = []; runner_x = [500, 480, 485, 440, 405, 410, 490, 400]; runner_y = [220, 225, 260, 290, 175, 190, 330, 320]; runner_pic = [4, 5, 2, 3, 0, 1, 6, 7]; runner_speed = [4.4, 4.6, 4, 2.3, 1.2, 1.1, 3.2, 2.3]; i = 0; while (i < _maxRunner) { runner_mc[i] = (new runner() as MovieClip); runner_mc[i].x = runner_x[i]; runner_mc[i].y = runner_y[i]; runner_mc[i].pic = runner_pic[i]; runner_mc[i].dead = false; stage.addChild(runner_mc[i]); i++; }; addEventListener(Event.ENTER_FRAME, onEnterFrame_title); stage.addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc_title); resetBG(); longest.text = ((((((("Most Days Survived: " + idx.day) + " / ") + idx.dayHC) + " (HC)") + " / ") + idx.dayCasual) + " (Casual)"); t = 0; kong_mc.y = -100; kong_mc2.y = -100; armorButton.y = -150; if (armor){ Tweener.addTween(armorButton, {delay:1, time:1.2, y:225, transition:"easeOutBounce"}); kong_mc.visible = false; kong_mc2.visible = false; } else { if (kongregate){ Tweener.addTween(kong_mc2, {delay:1, time:1.2, y:300, transition:"easeOutBounce"}); } else { Tweener.addTween(kong_mc, {delay:1, time:1.2, y:260, transition:"easeOutBounce"}); }; }; } public function updateGold(){ moneyText.text = ("" + player.money[_pc]); } public function cancelReload(_arg1:int, _arg2:int){ if (inventory.autoReload[_arg2] == 0){ if ((((inventory.id[_arg2] == 14)) || ((inventory.id[_arg2] == 15)))){ sound_reloaded3.play(0, 0, trans[_arg1]); } else { sound_reloaded2.play(0, 0, trans[_arg1]); }; player_mc[_arg1].gotoAndStop(player_mc[_arg1].anime2); } else { if (inventory.reloadTime[_arg2] != 0){ if ((((inventory.id[_arg2] == 14)) || ((inventory.id[_arg2] == 15)))){ sound_reloading3.play(0, 0, trans[_arg1]); } else { sound_reloading2.play(0, 0, trans[_arg1]); }; }; }; inventory.reloadTime[_arg2] = 0; if (_arg1 == _pc){ updateAmmoBar(); }; } function frame57(){ setChildIndex(gameoverLogo, (numChildren - 1)); stop(); } public function exitTown(){ if (stage.getChildByName("window3_mc")){ stage.removeChild(window3_mc); }; stage.removeChild(window2_mc); stage.removeEventListener(KeyboardEvent.KEY_DOWN, KeyDown_town); stage.removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc_town); removeEventListener(Event.ENTER_FRAME, onEnterFrame_town); } public function updateLevel(){ var _local1:int; var _local2:*; _local1 = 0; while (_local1 < radioCount) { if (cs == _local1){ radio_mc[_local1].gotoAndStop(2); } else { radio_mc[_local1].gotoAndStop(1); }; _local1++; }; window2_mc.procButton.visible = false; if (cs == -1){ window2_mc.itemDesc.text = "Please choose a skill you want to learn or improve."; window2_mc.itemDesc2.text = ""; window2_mc.now.text = ""; } else { _local2 = REF[ID[radio_mc[cs].id]](_pc); window2_mc.now.text = _local2[2]; traitLvFix = 1; _local2 = REF[ID[radio_mc[cs].id]](_pc); window2_mc.itemDesc.text = _local2[1]; window2_mc.itemDesc2.text = _local2[2]; if (radio_mc[cs].alpha == 1){ window2_mc.procButton.visible = true; }; }; } public function spawnEnemy(_arg1:int){ var _local2:int; var _local3:int; var _local4:*; _local2 = -1; _local3 = 0; while (_local3 < maxEnemy) { if (enemyArray[_local3].isFree()){ addChild(enemyArray[_local3]); enemyArray[_local3].init(_arg1); _local2 = _local3; break; }; _local3++; }; if ((((game.day > 40)) && ((Math.random() > 0.95)))){ _local4 = enemyArray[_local3]; if (((((((((!((_local4.id == _ogre))) && (!((_local4.id == _dino))))) && (!((_local4.id == _dragon))))) && (!((_local4.id == _boss))))) && (!((_local4.id == _ratdrop))))){ _local4.mc.scaleX = 1.25; _local4.mc.scaleY = 1.25; _local4.hp = (_local4.hp * 3); _local4.speed = (_local4.speed * 0.75); _local4.speedOrg = (_local4.speedOrg * 0.75); _local4.exp = (_local4.exp * 2); _local4.gold = (_local4.gold * 2); }; }; if (enemyArray[_local3].id == _spider){ _local4 = enemyArray[_local3]; Tweener.addTween(_local4.mc, {time:0, _hue:int(((Math.random() * 360) - 180))}); }; return (_local2); } public function rampageRanger(_arg1:int){ var _local2:int; if (player.frenzy[_arg1] < 1000){ return; }; player.frenzy[_arg1] = 0; (_local2 == 0); while (_local2 < maxAlly) { if (player.exist[_local2] == false){ } else { rampageOn(_local2, (((12 * 30) * (100 + CALC.RANGER(_arg1))) / 100)); }; _local2++; }; } public function resultMedal(){ if (mission.noDamage){ game.noDamage++; }; if (game.carryOver == true){ return; }; if (game.noDamage >= 10){ getMedal(_medalNoDamage4); }; if (game.noDamage >= 7){ getMedal(_medalNoDamage3); }; if (game.noDamage >= 4){ getMedal(_medalNoDamage2); }; if (game.noDamage >= 1){ getMedal(_medalNoDamage1); }; if ((((player.devType[_pc] == _devHunter)) && ((player.lv[_pc] >= 10)))){ getMedal(_medalClass1); }; if ((((player.devType[_pc] == _devRogue)) && ((player.lv[_pc] >= 10)))){ getMedal(_medalClass2); }; if ((((player.devType[_pc] == _devSheriff)) && ((player.lv[_pc] >= 10)))){ getMedal(_medalClass3); }; if ((((player.devType[_pc] == _devMilitia)) && ((player.lv[_pc] >= 10)))){ getMedal(_medalClass4); }; if (mission.ragnarok == true){ getMedal(_medalRagnarok); }; } public function fireworkMedal(){ getMedal(_medalFirework); } public function invDrag(){ var _local1:*; var _local2:Boolean; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (window2_mc.animeTime){ return; }; _local1 = window2_mc.getObjectsUnderPoint(new Point(mouseX, mouseY)); _local2 = false; _local5 = 0; while (_local5 < _local1.length) { _local6 = _local1[_local5].parent; if (_local6.hasOwnProperty("slot")){ _local2 = true; item = _local6.item; slot = _local6.slot; if (drag == false){ if (equipMode == 1){ if (invSlot_mc[slot].alpha != 1){ endEquipMode(); break; }; if (menuId == 6){ sound_mod.play(); game.ap = (game.ap - 5); game.recycleCount++; actionMedal(); _local3 = invSlot_mc[slot].id; randomStuff(_local3, ((inventory.value[_local3] / 2) + 250), 3); endEquipMode(); break; } else { upgradeItem = invSlot_mc[slot].id; showDialog(_dialogUpgrade); dialog_mc.question.text = (("It costs you " + upgradeWeapon(upgradeItem, 1)) + " gp. Really upgrade the weapon?"); break; }; }; if (equipMode == 2){ if (invSlot_mc[slot].alpha != 1){ endEquipMode(); break; }; sound_mod.play(); game.ap = (game.ap - 3); _local3 = invSlot_mc[slot].id; var _local7 = inventory.ammo; var _local8 = _local3; var _local9 = (_local7[_local8] + 1); _local7[_local8] = _local9; endEquipMode(); break; }; if (item != -1){ sound_reloaded1.play(); window2_mc.setChildIndex(invIcon_mc[item], (window2_mc.numChildren - 1)); invIcon_mc[item].x = ((mouseX - window2_mc.x) - (invIcon_mc[item].width / 2)); invIcon_mc[item].y = ((mouseY - window2_mc.y) - (invIcon_mc[item].height / 2)); invIcon_mc[item].startDrag(); drag = true; dragItem = item; dragSlot = slot; updateInvSlots(slot); }; } else { if (invSlot_mc[slot].alpha != 1){ _local2 = false; break; }; if (invSlot_mc[slot].op == 0){ _local3 = invSlot_mc[slot].id; _local4 = invSlot_mc[dragSlot].id; if (inventory.type[_local4] == _typeToken){ sound_pay1.play(); inventory.value[_local3] = limit((inventory.value[_local3] - inventory.attack[_local4]), 0, 999999999); inventory.num[_local4] = 0; invIcon_mc[dragItem].visible = false; invSlot_mc[dragSlot].item = -1; invIcon_mc[dragItem].stopDrag(); invIcon_mc[dragItem].x = ((invSlot_mc[dragSlot].x - ((invIcon_mc[dragItem].width - 48) / 2)) - 4); invIcon_mc[dragItem].y = invSlot_mc[dragSlot].y; drag = false; break; }; _local2 = false; break; }; if (invSlot_mc[dragSlot].op == 0){ _local3 = invSlot_mc[dragSlot].id; if (stuffGetValue(_local3, 1) > player.money[_pc]){ sound_beep.play(); _local2 = false; break; }; sound_pay1.play(); player.money[_pc] = (player.money[_pc] - stuffGetValue(_local3, 1)); updateInterface(); }; invIcon_mc[dragItem].stopDrag(); invIcon_mc[dragItem].x = ((invSlot_mc[slot].x - ((invIcon_mc[dragItem].width - 48) / 2)) - 4); invIcon_mc[dragItem].y = invSlot_mc[slot].y; drag = false; if (item != -1){ _local3 = invSlot_mc[slot].id; _local4 = invSlot_mc[dragSlot].id; if ((((inventory.type[_local4] == _typeMod)) && ((inventory.type[_local3] == _typeGun)))){ showDialog(_dialogMod); dialog_mc.question.text = "Do you really want to mount the mod on this gun?"; break; }; invSlot_mc[slot].item = dragItem; invSlot_mc[dragSlot].item = item; invIcon_mc[item].x = ((invSlot_mc[dragSlot].x - ((invIcon_mc[item].width - 48) / 2)) - 4); invIcon_mc[item].y = invSlot_mc[dragSlot].y; } else { invSlot_mc[slot].item = dragItem; invSlot_mc[dragSlot].item = -1; }; swapStuff(invSlot_mc[dragSlot].id, invSlot_mc[slot].id); }; break; }; _local5++; }; if (_local2 == false){ if (drag){ if ((((menuId == 4)) && ((invSlot_mc[dragSlot].op == 1)))){ _local3 = invSlot_mc[dragSlot].id; showDialog(_dialogSell); dialog_mc.question.text = (("Do you really want to sell it for " + stuffGetValue(_local3, 0)) + " gold?"); invIcon_mc[dragItem].visible = false; }; invIcon_mc[dragItem].stopDrag(); invIcon_mc[dragItem].x = ((invSlot_mc[dragSlot].x - ((invIcon_mc[dragItem].width - 48) / 2)) - 4); invIcon_mc[dragItem].y = invSlot_mc[dragSlot].y; drag = false; updateInvSlots(-1); updateInventory(); }; } else { updateSlots(); updateInventory(); updateInterface(); if (drag == false){ updateInvSlots(-1); }; }; } public function explode(_arg1, _arg2, _arg3, _arg4, _arg5:int, _arg6:int){ var _local7:*; var _local8:int; if (_arg5 != -1){ _arg5 = int(((_arg5 * (100 + CALC.DA_BOMB(_arg1))) / 100)); }; sound_exp1.play(0, 0, soundPos(_arg3)); if (_arg6 == 0){ _local7 = (new explosion() as MovieClip); } else { _local7 = (new explosion2() as MovieClip); }; _local7.x = _arg3; _local7.y = _arg4; _local7.alpha = 0.85; stage.addChild(_local7); shake(10, 5, 0.9); if (_arg5 == -1){ return; }; _local8 = 0; while (_local8 < maxEnemy) { if (enemyArray[_local8].isDead()){ } else { if ((((((((enemyArray[_local8].x > (_arg3 - 60))) && ((enemyArray[_local8].x < (_arg3 + 60))))) && ((enemyArray[_local8].y > (_arg4 - 50))))) && ((enemyArray[_local8].y < (_arg4 + 50))))){ enemyArray[_local8].damage(_arg5, _arg2, enemyArray[_local8].x, enemyArray[_local8].y, _arg1, false); }; }; _local8++; }; } function frame65(){ stop(); root.x = 0; root.y = 0; apText.visible = false; frenzyBar.scaleX = 0; ci = _invPlayer; window2_mc = (new window() as MovieClip); bottomBar.gotoAndStop(1); unlocked = true; menuList = []; draw_count = 0; old_timer = getTimer(); cancelFirework = false; menuList[0] = missionButton; menuList[1] = castleButton; menuList[2] = charaButton; menuList[3] = equipButton; menuList[4] = shopButton; menuList[5] = medalButton; i = 0; while (i < menuList.length) { menuList[i].visible = false; menuList[i].x = (menuList[i].x - 90); i++; }; toTownMenu = false; gameStage = _stageResult; geneClass = 0; ce = -1; cs = _pc; currentPop = -1; currentHint = -1; fadeCount = 0; eventModeEnabled = false; stage.addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc_result); addEventListener(Event.ENTER_FRAME, onEnterFrame_result); menuButton.mouseEnabled = true; customCursor.visible = false; updateAmmoBar(); updateInterface(); updateInventory(); stage.addChild(window2_mc); exitMenuResult(); selectEvent(); } public function mouseUpFunc(_arg1:MouseEvent){ player.burst[_pc] = 0; if (_pc != hero){ return; }; if ((((((inventory.id[ci] == 24)) || ((inventory.id[ci] == 25)))) && ((chainMode[_pc] == 1)))){ shoot(_pc); }; player.shooting[_pc] = false; } function frame71(){ stop(); root.x = 0; root.y = 0; hintCount2 = 0; defHint = ""; upgradeItem = 0; if (amb != null){ amb.stop(); }; amb = (sound_bg_town.play(0, 999999) as SoundChannel); startFromTown = false; ci = _invPlayer; updateFrenzyBar(); window2_mc.closeButton.visible = true; window2_mc.x = 630; window2_mc.y = -22; stage.addChild(window2_mc); if (game.carryOver == true){ textCarryOver.visible = true; } else { textCarryOver.visible = false; }; gameStage = _stageTown; if (gameContinued == false){ if ((game.day % 10) == 4){ game.specialSale = 1; } else { game.specialSale = 0; }; generateShop(); generateCard(); generateMission(game.day); generateRecruit(); townMedalBonus(); if (game.chicken > 0){ game.egg = false; } else { game.egg = true; }; game.partyHeld = false; game.prayed = false; game.robbed = 0; game.taunted = 0; startTownMedal(); saveGame(); } else { if (debugTownDay){ game.day = debugTownDay; generateMission(game.day); game.ap = (game.ap + 40); }; gameContinued = false; }; if (game.searched == undefined){ game.searched = int((Math.random() * 1000)); }; kongregateStats(); initPartySkill(); actList = []; actList[0] = {name:"Pray", cost:2, pic:5, angle:7, desc:"Praying may increase your wall defense.", func:function (){ showEventDialog(_dialogActPray); }, method:function (){ if (game.prayed == false){ return (true); }; return (-1); }}; actList[1] = {name:"Have dinner", cost:3, pic:12, angle:-2, desc:"Having dinner will give you an exp bonus.", func:function (){ showEventDialog(_dialogActEat); }, method:function (){ if (mission.expFix == 1){ return (true); }; return (-1); }}; actList[2] = {name:"Go searching", cost:1, pic:13, angle:4, desc:"Explore and discover the secrets of your town!", func:function (){ showEventDialog(_dialogActSearch); }, method:function (){ return (true); }}; actList[3] = {name:"Party", cost:3, pic:15, angle:-3, desc:"Holding a party increases damages your troops deal.", func:function (){ showEventDialog(_dialogActParty); }, method:function (){ if (game.party == 0){ return (false); }; if (game.partyHeld == false){ return (true); }; return (-1); }}; actList[4] = {name:"Collect eggs", cost:1, pic:6, angle:6, desc:"You can collect eggs once in a day if you have chickens.", func:function (){ showEventDialog(_dialogActEgg); }, method:function (){ if (game.chicken == 0){ return (false); }; if (game.egg == false){ return (true); }; return (-1); }}; actList[5] = {name:"Taunt", cost:2, pic:14, angle:-2, desc:"It will make the enemies stronger but you get more reward.", func:function (){ showEventDialog(_dialogActTaunt); }, method:function (){ if (PARTY.TAUNT == 0){ return (false); }; return (true); }}; actList[6] = {name:"Train", cost:4, pic:16, angle:6, desc:"SP trainer will train one of your skills.", func:function (){ showEventDialog(_dialogActTrain); }, method:function (){ if (game.spTrainer == 0){ return (false); }; return (true); }}; actList[9] = {name:"Claim title", cost:4, pic:3, angle:-9, desc:"You will receive a new title and salary.", func:function (){ showEventDialog(_dialogActClaim); }, method:function (){ if (newTitle(0)){ return (true); }; return (-1); }}; updateAp(); delay = 0; drag = false; eventDialog = 0; stage.addEventListener(KeyboardEvent.KEY_DOWN, KeyDown_town); stage.addEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc_town); addEventListener(Event.ENTER_FRAME, onEnterFrame_town); menuButton.mouseEnabled = true; customCursor.visible = false; updateInterface(); updateInventory(); menuId = 1; exitMenu(); sound_scroll1.play(); window2_mc.alpha = 1; window2_mc.anime = false; window2_mc.gotoAndPlay("menu_mission"); window2_mc.addFrameScript((window2_mc.currentFrame - 1), procMissionMenu); if (game.day == 1){ popInfo("Make sure to repair your walls!"); }; } public function renewResult(){ var _local1:*; _local1 = 0; i = 1; while (i < maxAlly) { if (player.exist[i]){ _local1 = (_local1 + wage(i)); }; i++; }; mission.wage = (_local1 * -1); mission.unkeep = ((calcTax() + calcUnkeep()) * -1); if (mission.noDamage){ news = (news + "You've scored a perfect game! You are given +30% reward bonus.\n"); mission.reward = int((mission.reward * 1.3)); }; if (mission.hire){ mission.hire = false; player.exist[maxParty] = false; mission.reward = int((mission.reward / 2)); }; mission.resultCastle = 0; if (game.museum){ mission.resultCastle = (mission.resultCastle + calcMuseum()); news = (news + (("Your museum generated " + calcMuseum()) + " GP.\n")); }; mission.resultCastle = (mission.resultCastle + (game.titleMoney + int(((game.fame * Math.random()) * 15)))); if (game.titleMoney){ news = (news + (("You received a salary of " + game.titleMoney) + " GP.\n")); }; _local1 = (((mission.reward + mission.wage) + mission.unkeep) + mission.resultCastle); player.money[_pc] = (player.money[_pc] + _local1); game.totalMoney = (game.totalMoney + (mission.reward + mission.resultCastle)); mission.resultOther = (((player.money[_pc] - mission.resultBefore) - _local1) - mission.resultTaken); townEvent(); } public function debug_town(){ game.apFix = 100; game.day = 80; game.invSlot = 16; game.smith = 7; game.spTrainer = 2; generatePlayer(0, 50, _devSniper); generatePlayer(1, 50, _devHunter); generateStuff((_invPlayer + 0), 1); inventory.modMax[(_invPlayer + 0)] = 10; generateStuff((_invPlayer + 1), 3); inventory.modMax[(_invPlayer + 1)] = 10; generateStuff((_invPlayer + 2), 16); generateStuff((_invPlayer + 3), 104); generateStuff((_invPlayer + 4), 105); generateStuff((_invPlayer + 5), 106); generateStuff((_invPlayer + 6), 107); generateStuff((_invPlayer + 7), 10); setMod((_invPlayer + 7), _encDamage); generateStuff((_invPlayer + 8), 10); setMod((_invPlayer + 8), _encDamage); generateStuff((_invPlayer + 9), 10); setMod((_invPlayer + 9), _encDamage); generateStuff((_invPlayer + 10), 10); setMod((_invPlayer + 10), _encDamage); generateStuff((_invPlayer + 11), 10); setMod((_invPlayer + 11), _encDamage); player.trait[_pc][TRAIT.BIG_GUN] = 30; player.trait[_pc][TRAIT.RIFLE] = 30; player.trait[_pc][TRAIT.SHOTGUN] = 30; player.trait[_pc][TRAIT.SMALL_GUN] = 30; player.money[0] = 10000; player.lv[0] = 15; game.chicken = 100; game.party = 5; game.ap = 20; gotoAndPlay("town"); } public function setGameOption(){ game.optionBossDropMod = window2_mc.optDropMod.selected; game.MORE = window2_mc.optMore.selected; game.optWeaponLevel = window2_mc.optWeaponLevel.selected; game.skipHard = window2_mc.optSkipHard.selected; game.tight = window2_mc.optTight.selected; game.laptop = window2_mc.optLaptop.selected; game.comp = window2_mc.optComp.selected; game.submit = true; if (((((((game.skipHard) || (game.tight))) || (game.laptop))) || (game.comp))){ game.submit = false; }; } public function procCharaMenu(){ window2_mc.stop(); window2_mc.anime = true; window2_mc.hint.visible = false; window2_mc.dismissButton.mouseEnabled = true; window2_mc.actRef1.mouseEnabled = false; orderIsOpen = false; updateCharaList(); updateCharaMenu(); } public function createInvSlot(_arg1:int, _arg2:int, _arg3:int, _arg4){ var _local5:int; _local5 = invSlotCount; invSlot_mc[_local5] = (new invSlot() as MovieClip); invSlot_mc[_local5].x = _arg2; invSlot_mc[_local5].y = _arg3; invSlot_mc[_local5].slot = _local5; invSlot_mc[_local5].id = _arg1; invSlot_mc[_local5].op = _arg4; invSlot_mc[_local5].buttonMode = true; invSlot_mc[_local5].shortNum.mouseEnabled = false; invSlot_mc[_local5].cost.visible = false; invSlot_mc[_local5].coin.visible = false; invSlot_mc[_local5].alpha = 1; if (_arg4 == 0){ invSlot_mc[_local5].cost.visible = true; invSlot_mc[_local5].coin.visible = true; updateSlot(_local5); }; if (_arg4 == -1){ invSlot_mc[_local5].alpha = 0.5; }; if ((((_arg1 >= _invPlayer)) && ((_arg1 < (_invPlayer + 5))))){ invSlot_mc[_local5].shortNum.text = ((_arg1 - _invPlayer) + 1); }; window2_mc.addChild(invSlot_mc[_local5]); if ((((inventory.num[_arg1] > 0)) && (!((_arg4 == -1))))){ invSlot_mc[_local5].item = createInvIcon(_arg1, _local5); invSlot_mc[_local5].visible = true; } else { invSlot_mc[_local5].item = -1; if (_arg4 == 0){ invSlot_mc[_local5].visible = false; }; }; updateSlot(_local5); window2_mc.setChildIndex(invSlot_mc[_local5], 3); invSlotCount++; } public function IF(_arg1){ if (_arg1 == true){ return (1); }; return (0); } public function searchProc(_arg1, _arg2, _arg3, _arg4){ _arg1.title.text = _arg2; _arg1.text.text = _arg3; return (0); } public function calcTax(){ var _local1:int; if (game.casual == true){ _local1 = (_local1 + ((game.day * 20) - 400)); } else { _local1 = (_local1 + ((game.day * 35) - 200)); }; if (_local1 < 0){ _local1 = 0; }; return (_local1); } function frame81(){ stage.addEventListener(MouseEvent.MOUSE_DOWN, MouseLDown_logo3); stop(); } public function wage(_arg1:int){ var _local2:*; _local2 = (((player.lv[_arg1] * 6) + 50) - (true_if((player.pic[_arg1] == 50)) * 50)); if (_local2 < 0){ _local2 = 0; }; _local2 = ((_local2 * (75 + ((player.potentialAim[_arg1] * player.potentialTeam[_arg1]) * 100))) / 100); _local2 = ((_local2 * 100) / ((100 + PARTY.ACCOUNTANT) + (IF(medal[_medalRagnarok]) * 3))); if (_arg1 == _pc){ _local2 = 0; }; return (int(_local2)); } public function getAllyNum(){ var _local1:* = 0; if (player.exist[1] == true){ _local1++; }; if (player.exist[2] == true){ _local1++; }; if (player.exist[3] == true){ _local1++; }; return (_local1); } public function useItem(_arg1:int, _arg2:int){ var _local3:int; var _local4:int; var _local5:MovieClip; var _local6:MovieClip; _local3 = 0; if (stage.getChildByName(("timer" + _arg2))){ sound_beep.play(); return; }; if (inventory.id[_arg2] == 11){ _local3 = 100; throwGrenade(_pc, -1, player_mc[_pc].x, player_mc[_pc].y, mouseX, mouseY, 12, inventory.attack[_arg2], -1); }; if (inventory.id[_arg2] == 12){ _local3 = 2000; castleCounter = 15; blendType = 1; game.castleHP = (game.castleHP + calcRepair(_arg2)); if (game.castleHP >= game.castleMHP){ game.castleHP = game.castleMHP; }; updateHP(); sound_repair1.play(); }; if (inventory.id[_arg2] == 37){ protTime = inventory.attack[_arg2]; _local5 = new layhand(); _local5.x = 550; _local5.y = 270; stage.addChild(_local5); sound_pray1.play(); }; if (inventory.id[_arg2] == 38){ _local4 = 0; while (_local4 < 30) { spawnEnemy(_dino); _local4++; }; text_effect("Let's Ragnarok!"); blendType = 0; blendCounter = (blendCounter + 15); shake(150, 1.5, 1); mission.ragnarok = true; mission.time = (mission.time + 200); }; var _local7 = inventory.ammo; var _local8 = _arg2; var _local9 = (_local7[_local8] - 1); _local7[_local8] = _local9; if (inventory.ammo[_arg2] <= 0){ inventory.num[_arg2] = 0; }; updateInventory(); if (((_local3) && ((inventory.ammo[_arg2] > 0)))){ _local6 = new itemTimer(); _local6.y = 350; _local6.x = (((_arg2 - _invPlayer) * 90) - 20); _local6.timer = int(((_local3 * 100) / (100 + PARTY.SUPPLIER))); _local6.name = ("timer" + _arg2); stage.addChild(_local6); }; } public function startTownMedal(){ if (game.carryOver == true){ return; }; if (game.day >= 40){ getMedal(_medalElona); }; if (game.HC == true){ if (game.day >= 40){ getMedal(_medalHardcore2); }; }; } public function clearAiTarget(_arg1:int){ player.shooting[_arg1] = false; player.burst[_arg1] = 0; player.target[_arg1] = undefined; player.onMark[_arg1] = false; } public function removeEnemy(){ var _local1:int; _local1 = 0; while (_local1 < maxEnemy) { if (enemyArray[_local1].isFree() == false){ enemyArray[_local1].nullify(); }; _local1++; }; } public function stopFire(){ var _local2:*; var _local1:* = (stage.numChildren - 1); while (_local1 >= 0) { _local2 = stage.getChildAt(_local1); if (_local2.name == "fire"){ _local2.visible = false; }; _local1--; }; } public function cardEvent(_arg1:int){ var _local2:*; _local2 = (new cardEffect() as MovieClip); _local2.x = 360; _local2.y = 170; var _local3:Boolean; switch (game.card[_arg1]){ case 1: _local3 = true; mission.note = (mission.note + (("[GOLD] " + int((mission.reward * 0.25))) + "gp added to the reward.\n")); mission.reward = (mission.reward + int((mission.reward * 0.25))); break; case 2: _local3 = true; mission.dmgFix = (1.15 + (Math.random() / 3)); mission.note = (mission.note + (("[AXE] You and your troops deal " + int(((mission.dmgFix * 100) - 100))) + "% more damage.\n")); break; case 4: mission.note = (mission.note + "[GRAVE] The number of waves is increased by 1.\n"); mission.wave++; break; case 6: mission.note = (mission.note + (("[SKULL] Enemy level increased by " + (1 + int((mission.strength / 3)))) + ".\n")); mission.strength = (mission.strength + (1 + int((mission.strength / 3)))); break; case 7: mission.hpFix = (1.15 + (Math.random() / 5)); mission.note = (mission.note + (("[ARMOR] Enemies have " + int(((mission.hpFix * 100) - 100))) + "% more HP.\n")); break; }; } public function true_if(_arg1){ if (_arg1 == true){ return (1); }; return (0); } public function alert(_arg1){ var _local2:*; if (_arg1.onMark){ return; }; _local2 = 0; while (_local2 < maxAlly) { if ((((((((player.exist[_local2] == false)) || ((player.optWall[_local2] == false)))) || (player.onMark[_local2]))) || ((_local2 == hero)))){ } else { player.shooting[_local2] = false; player.burst[_local2] = 0; player.target[_local2] = _arg1; player.onMark[_local2] = true; _arg1.onMark = true; player.aimCount[_local2] = int((player.aimTime[_local2] * (5.5 - (player.target[_local2].x / 160)))); if (player.aimCount[_local2] < 3){ player.aimCount[_local2] = 3; }; return; }; _local2++; }; if (_arg1.x >= (_defenseLine - 20)){ nextAlert = _arg1; }; } public function generateStuff(_arg1:int, _arg2:int){ inventory.num[_arg1] = 1; inventory.id[_arg1] = _arg2; inventory.graphic[_arg1] = (10 + _arg2); inventory.type[_arg1] = _typeGun; inventory.reloadTime[_arg1] = 0; inventory.reloadTimeMax[_arg1] = 0; inventory.ammoMax[_arg1] = 0; inventory.value[_arg1] = 100; inventory.mod[_arg1] = 0; inventory.modMax[_arg1] = (1 + int(limit(((Math.random() * Math.random()) * 6), 0, 5))); if ((((inventory.modMax[_arg1] >= 3)) && ((Math.random() > 0.35)))){ inventory.modMax[_arg1] = (inventory.modMax[_arg1] - 2); }; inventory.shell[_arg1] = 1; inventory.manualReload[_arg1] = false; inventory.automatic[_arg1] = true; inventory.modText[_arg1] = ""; inventory.lv[_arg1] = 1; inventory.typeMinor[_arg1] = _typeNormal; inventory.special[_arg1] = 0; inventory.leech[_arg1] = 0; inventory.impact[_arg1] = 0; inventory.shootRate[_arg1] = 100; inventory.rare[_arg1] = 100; inventory.autoReload[_arg1] = 0; if (_arg2 == 1){ inventory.name[_arg1] = "Pistol"; inventory.reloadTimeMax[_arg1] = 40; inventory.ammoMax[_arg1] = 10; inventory.shootRate[_arg1] = 100; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 170; inventory.accuracyDec[_arg1] = 0.18; inventory.attack[_arg1] = 14; inventory.dmgAir[_arg1] = 75; inventory.dmgArmor[_arg1] = 35; inventory.reqTrait[_arg1] = TRAIT.SMALL_GUN; inventory.reqLv[_arg1] = 1; inventory.range[_arg1] = 1; inventory.value[_arg1] = 300; }; if (_arg2 == 2){ inventory.name[_arg1] = "Machine Pistol"; inventory.reloadTimeMax[_arg1] = 45; inventory.ammoMax[_arg1] = 40; inventory.shootRate[_arg1] = 320; inventory.automatic[_arg1] = true; inventory.baseAccuracy[_arg1] = 140; inventory.accuracyDec[_arg1] = 0.08; inventory.attack[_arg1] = 8; inventory.dmgAir[_arg1] = 65; inventory.dmgArmor[_arg1] = 30; inventory.reqTrait[_arg1] = TRAIT.SMALL_GUN; inventory.reqLv[_arg1] = 3; inventory.range[_arg1] = 1; inventory.value[_arg1] = 450; }; if (_arg2 == 3){ inventory.name[_arg1] = "Shotgun"; inventory.reloadTimeMax[_arg1] = 6; inventory.ammoMax[_arg1] = 8; inventory.shootRate[_arg1] = 40; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 65; inventory.accuracyDec[_arg1] = 0.24; inventory.attack[_arg1] = 16; inventory.dmgAir[_arg1] = 80; inventory.dmgArmor[_arg1] = 30; inventory.reqTrait[_arg1] = TRAIT.SHOTGUN; inventory.reqLv[_arg1] = 1; inventory.range[_arg1] = 0; inventory.shell[_arg1] = 4; inventory.manualReload[_arg1] = true; inventory.value[_arg1] = 500; inventory.typeMinor[_arg1] = _typeShotgun; }; if (_arg2 == 4){ inventory.name[_arg1] = "Hunter's Rifle"; inventory.reloadTimeMax[_arg1] = 6; inventory.ammoMax[_arg1] = 6; inventory.shootRate[_arg1] = 30; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 145; inventory.accuracyDec[_arg1] = 0.2; inventory.attack[_arg1] = 44; inventory.dmgAir[_arg1] = 115; inventory.dmgArmor[_arg1] = 55; inventory.reqTrait[_arg1] = TRAIT.RIFLE; inventory.reqLv[_arg1] = 1; inventory.range[_arg1] = 2; inventory.manualReload[_arg1] = true; inventory.value[_arg1] = 400; }; if (_arg2 == 5){ inventory.name[_arg1] = "Assault Rifle"; inventory.reloadTimeMax[_arg1] = 55; inventory.ammoMax[_arg1] = 28; inventory.shootRate[_arg1] = 200; inventory.automatic[_arg1] = true; inventory.baseAccuracy[_arg1] = 95; inventory.accuracyDec[_arg1] = 0.08; inventory.attack[_arg1] = 18; inventory.dmgAir[_arg1] = 55; inventory.dmgArmor[_arg1] = 50; inventory.reqTrait[_arg1] = TRAIT.RIFLE; inventory.reqLv[_arg1] = 5; inventory.range[_arg1] = 0; inventory.value[_arg1] = 850; }; if (_arg2 == 6){ inventory.name[_arg1] = "Fur"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 80; }; if (_arg2 == 7){ inventory.name[_arg1] = "Armor"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 290; }; if (_arg2 == 8){ setMod(_arg1, encList[1][int((Math.random() * encList[1].length))]); }; if (_arg2 == 9){ setMod(_arg1, encList[2][int((Math.random() * encList[2].length))]); }; if (_arg2 == 10){ setMod(_arg1, encList[3][int((Math.random() * encList[3].length))]); }; if (_arg2 == 11){ inventory.lv[_arg1] = (1 + int(limit(((Math.random() * game.day) / 2), 0, 99))); inventory.name[_arg1] = ("Grenade Lv." + inventory.lv[_arg1]); inventory.type[_arg1] = _typeUse; inventory.attack[_arg1] = (30 + (inventory.lv[_arg1] * 15)); inventory.ammoMax[_arg1] = (3 + int((Math.random() * 6))); inventory.value[_arg1] = ((75 + (60 * inventory.lv[_arg1])) + ((20 + (inventory.lv[_arg1] * 3)) * inventory.ammoMax[_arg1])); }; if (_arg2 == 12){ inventory.lv[_arg1] = (1 + int(limit(((Math.random() * game.day) / 5), 0, 19))); inventory.name[_arg1] = ("Repair Hammer Lv." + inventory.lv[_arg1]); inventory.type[_arg1] = _typeUse; inventory.attack[_arg1] = (4 + (inventory.lv[_arg1] * 3)); inventory.ammoMax[_arg1] = (2 + int((Math.random() * 4))); inventory.value[_arg1] = ((50 + (120 * inventory.lv[_arg1])) + ((25 + (inventory.lv[_arg1] * 10)) * inventory.ammoMax[_arg1])); }; if (_arg2 == 13){ inventory.name[_arg1] = "Sniper Rifle"; inventory.reloadTimeMax[_arg1] = 65; inventory.ammoMax[_arg1] = 8; inventory.shootRate[_arg1] = 15; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 225; inventory.accuracyDec[_arg1] = 0.15; inventory.attack[_arg1] = 76; inventory.dmgAir[_arg1] = 100; inventory.dmgArmor[_arg1] = 60; inventory.reqTrait[_arg1] = TRAIT.RIFLE; inventory.reqLv[_arg1] = 6; inventory.range[_arg1] = 2; inventory.value[_arg1] = 1100; inventory.typeMinor[_arg1] = _typeSniper; }; if (_arg2 == 14){ inventory.name[_arg1] = "Revolver -Sniper-"; inventory.reloadTimeMax[_arg1] = 7; inventory.ammoMax[_arg1] = 6; inventory.shootRate[_arg1] = 60; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 120; inventory.accuracyDec[_arg1] = 0.15; inventory.attack[_arg1] = 38; inventory.dmgAir[_arg1] = 70; inventory.dmgArmor[_arg1] = 44; inventory.reqTrait[_arg1] = TRAIT.SMALL_GUN; inventory.reqLv[_arg1] = 6; inventory.range[_arg1] = 2; inventory.value[_arg1] = 900; inventory.typeMinor[_arg1] = _typeSniper; inventory.manualReload[_arg1] = true; }; if (_arg2 == 15){ inventory.name[_arg1] = "Revolver"; inventory.reloadTimeMax[_arg1] = 5; inventory.ammoMax[_arg1] = 7; inventory.shootRate[_arg1] = 90; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 80; inventory.accuracyDec[_arg1] = 0.15; inventory.attack[_arg1] = 52; inventory.dmgAir[_arg1] = 20; inventory.dmgArmor[_arg1] = 50; inventory.reqTrait[_arg1] = TRAIT.SMALL_GUN; inventory.reqLv[_arg1] = 4; inventory.range[_arg1] = 1; inventory.value[_arg1] = 750; inventory.manualReload[_arg1] = true; }; if (_arg2 == 16){ inventory.name[_arg1] = "Chain Gun"; inventory.reloadTimeMax[_arg1] = 130; inventory.ammoMax[_arg1] = 220; inventory.shootRate[_arg1] = 550; inventory.automatic[_arg1] = true; inventory.baseAccuracy[_arg1] = 80; inventory.accuracyDec[_arg1] = 0.032; inventory.attack[_arg1] = 11; inventory.dmgAir[_arg1] = 45; inventory.dmgArmor[_arg1] = 35; inventory.reqTrait[_arg1] = TRAIT.BIG_GUN; inventory.reqLv[_arg1] = 8; inventory.range[_arg1] = 1; inventory.value[_arg1] = 1400; }; if (_arg2 == 17){ inventory.name[_arg1] = "Machine Gun"; inventory.reloadTimeMax[_arg1] = 110; inventory.ammoMax[_arg1] = 125; inventory.shootRate[_arg1] = 400; inventory.automatic[_arg1] = true; inventory.baseAccuracy[_arg1] = 45; inventory.accuracyDec[_arg1] = 0.05; inventory.attack[_arg1] = 12; inventory.dmgAir[_arg1] = 40; inventory.dmgArmor[_arg1] = 55; inventory.reqTrait[_arg1] = TRAIT.RIFLE; inventory.reqLv[_arg1] = 7; inventory.range[_arg1] = 2; inventory.value[_arg1] = 980; }; if (_arg2 == 18){ inventory.name[_arg1] = "Laser Pistol"; inventory.reloadTimeMax[_arg1] = 55; inventory.ammoMax[_arg1] = 32; inventory.shootRate[_arg1] = 220; inventory.automatic[_arg1] = true; inventory.baseAccuracy[_arg1] = 50; inventory.accuracyDec[_arg1] = 0.08; inventory.attack[_arg1] = 35; inventory.dmgAir[_arg1] = 40; inventory.dmgArmor[_arg1] = 80; inventory.reqTrait[_arg1] = TRAIT.SMALL_GUN; inventory.reqLv[_arg1] = 7; inventory.range[_arg1] = 1; inventory.value[_arg1] = 1300; }; if (_arg2 == 19){ inventory.name[_arg1] = "Combat Shotgun"; inventory.reloadTimeMax[_arg1] = 50; inventory.ammoMax[_arg1] = 16; inventory.shootRate[_arg1] = 120; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 65; inventory.accuracyDec[_arg1] = 0.16; inventory.attack[_arg1] = 14; inventory.dmgAir[_arg1] = 70; inventory.dmgArmor[_arg1] = 20; inventory.reqTrait[_arg1] = TRAIT.SHOTGUN; inventory.reqLv[_arg1] = 6; inventory.range[_arg1] = 0; inventory.shell[_arg1] = 4; inventory.manualReload[_arg1] = false; inventory.value[_arg1] = 1100; inventory.typeMinor[_arg1] = _typeShotgun; }; if (_arg2 == 20){ inventory.name[_arg1] = "Auto Shotgun"; inventory.reloadTimeMax[_arg1] = 60; inventory.ammoMax[_arg1] = 24; inventory.shootRate[_arg1] = 150; inventory.automatic[_arg1] = true; inventory.baseAccuracy[_arg1] = 25; inventory.accuracyDec[_arg1] = 0.22; inventory.attack[_arg1] = 13; inventory.dmgAir[_arg1] = 80; inventory.dmgArmor[_arg1] = 30; inventory.reqTrait[_arg1] = TRAIT.SHOTGUN; inventory.reqLv[_arg1] = 4; inventory.range[_arg1] = 1; inventory.shell[_arg1] = 10; inventory.manualReload[_arg1] = false; inventory.value[_arg1] = 1400; inventory.typeMinor[_arg1] = _typeShotgun; }; if (_arg2 == 21){ inventory.name[_arg1] = "Grenade Launcher"; inventory.reloadTimeMax[_arg1] = 14; inventory.ammoMax[_arg1] = 6; inventory.shootRate[_arg1] = 18; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 40; inventory.accuracyDec[_arg1] = 0.4; inventory.attack[_arg1] = 42; inventory.dmgAir[_arg1] = 55; inventory.dmgArmor[_arg1] = 100; inventory.reqTrait[_arg1] = TRAIT.BIG_GUN; inventory.reqLv[_arg1] = 3; inventory.range[_arg1] = 1; inventory.shell[_arg1] = 1; inventory.manualReload[_arg1] = true; inventory.value[_arg1] = 1600; inventory.special[_arg1] = 1; }; if (_arg2 == 22){ inventory.name[_arg1] = "Rocket Launcher"; inventory.reloadTimeMax[_arg1] = 20; inventory.ammoMax[_arg1] = 3; inventory.shootRate[_arg1] = 8; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 40; inventory.accuracyDec[_arg1] = 0.5; inventory.attack[_arg1] = 95; inventory.dmgAir[_arg1] = 80; inventory.dmgArmor[_arg1] = 110; inventory.reqTrait[_arg1] = TRAIT.BIG_GUN; inventory.reqLv[_arg1] = 7; inventory.range[_arg1] = 2; inventory.shell[_arg1] = 1; inventory.manualReload[_arg1] = true; inventory.value[_arg1] = 1700; inventory.special[_arg1] = 2; }; if (_arg2 == 23){ inventory.name[_arg1] = "Bowgun"; inventory.reloadTimeMax[_arg1] = 0; inventory.ammoMax[_arg1] = 1; inventory.shootRate[_arg1] = 28; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 120; inventory.accuracyDec[_arg1] = 0.35; inventory.attack[_arg1] = 36; inventory.dmgAir[_arg1] = 90; inventory.dmgArmor[_arg1] = 50; inventory.reqTrait[_arg1] = TRAIT.RIFLE; inventory.reqLv[_arg1] = 3; inventory.range[_arg1] = 2; inventory.value[_arg1] = 650; inventory.special[_arg1] = 3; }; if (_arg2 == 24){ inventory.name[_arg1] = "Long Bow"; inventory.reloadTimeMax[_arg1] = 0; inventory.ammoMax[_arg1] = 1; inventory.shootRate[_arg1] = 55; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 220; inventory.accuracyDec[_arg1] = 0.4; inventory.attack[_arg1] = 32; inventory.dmgAir[_arg1] = 100; inventory.dmgArmor[_arg1] = 35; inventory.reqTrait[_arg1] = TRAIT.SMALL_GUN; inventory.reqLv[_arg1] = 1; inventory.range[_arg1] = 2; inventory.value[_arg1] = 400; inventory.special[_arg1] = 4; }; if (_arg2 == 25){ inventory.name[_arg1] = "Wind Bow"; inventory.reloadTimeMax[_arg1] = 0; inventory.ammoMax[_arg1] = 1; inventory.shootRate[_arg1] = 35; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 130; inventory.accuracyDec[_arg1] = 0.3; inventory.attack[_arg1] = 18; inventory.dmgAir[_arg1] = 110; inventory.dmgArmor[_arg1] = 30; inventory.reqTrait[_arg1] = TRAIT.SMALL_GUN; inventory.reqLv[_arg1] = 5; inventory.range[_arg1] = 2; inventory.value[_arg1] = 1800; inventory.special[_arg1] = 4; inventory.shell[_arg1] = 3; }; if (_arg2 == 26){ inventory.name[_arg1] = "Rapid Bowgun"; inventory.reloadTimeMax[_arg1] = 0; inventory.ammoMax[_arg1] = 1; inventory.shootRate[_arg1] = 85; inventory.automatic[_arg1] = true; inventory.baseAccuracy[_arg1] = 120; inventory.accuracyDec[_arg1] = 0.25; inventory.attack[_arg1] = 10; inventory.dmgAir[_arg1] = 90; inventory.dmgArmor[_arg1] = 30; inventory.reqTrait[_arg1] = TRAIT.RIFLE; inventory.reqLv[_arg1] = 6; inventory.range[_arg1] = 2; inventory.value[_arg1] = 1550; inventory.special[_arg1] = 3; }; if (_arg2 == 27){ inventory.name[_arg1] = "Gravity Gun"; inventory.reloadTimeMax[_arg1] = 180; inventory.ammoMax[_arg1] = 1; inventory.shootRate[_arg1] = 100; inventory.automatic[_arg1] = false; inventory.baseAccuracy[_arg1] = 120; inventory.accuracyDec[_arg1] = 0.55; inventory.attack[_arg1] = 105; inventory.dmgAir[_arg1] = 100; inventory.dmgArmor[_arg1] = 100; inventory.reqTrait[_arg1] = TRAIT.BIG_GUN; inventory.reqLv[_arg1] = 11; inventory.range[_arg1] = 2; inventory.value[_arg1] = 2000; inventory.special[_arg1] = 3; }; if (_arg2 == 28){ inventory.name[_arg1] = "Rat Roast"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 50; }; if (_arg2 == 29){ inventory.name[_arg1] = "Helmet"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 80; }; if (_arg2 == 30){ inventory.name[_arg1] = "Feather"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 120; }; if (_arg2 == 31){ inventory.name[_arg1] = "Meat"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 150; }; if (_arg2 == 32){ inventory.name[_arg1] = "Scrap Metal"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 220; }; if (_arg2 == 33){ inventory.name[_arg1] = "Insect Blood"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 95; }; if (_arg2 == 34){ inventory.name[_arg1] = "Dragon Head"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 300; }; if (_arg2 == 35){ inventory.name[_arg1] = "Shop Token"; inventory.type[_arg1] = _typeToken; inventory.value[_arg1] = 100; inventory.attack[_arg1] = ((limit(game.day, 0, 30) * 75) + 250); inventory.rare[_arg1] = 0; }; if (_arg2 == 36){ inventory.name[_arg1] = "Cheap Worn HMG"; inventory.reloadTimeMax[_arg1] = 90; inventory.ammoMax[_arg1] = 80; inventory.shootRate[_arg1] = 250; inventory.automatic[_arg1] = true; inventory.baseAccuracy[_arg1] = 45; inventory.accuracyDec[_arg1] = 0.058; inventory.attack[_arg1] = 14; inventory.dmgAir[_arg1] = 25; inventory.dmgArmor[_arg1] = 55; inventory.reqTrait[_arg1] = TRAIT.BIG_GUN; inventory.reqLv[_arg1] = 2; inventory.range[_arg1] = 1; inventory.value[_arg1] = 480; }; if (_arg2 == 37){ inventory.name[_arg1] = "Holy Grail of Jure"; inventory.type[_arg1] = _typeUse; inventory.attack[_arg1] = 250; inventory.ammoMax[_arg1] = 0; inventory.value[_arg1] = 1500; inventory.rare[_arg1] = 0; }; if (_arg2 == 38){ inventory.name[_arg1] = "Ragnarok"; inventory.type[_arg1] = _typeUse; inventory.attack[_arg1] = 200; inventory.ammoMax[_arg1] = 0; inventory.value[_arg1] = 1000; inventory.rare[_arg1] = 0; }; if (_arg2 == 39){ inventory.name[_arg1] = "HMG"; inventory.reloadTimeMax[_arg1] = 90; inventory.ammoMax[_arg1] = 80; inventory.shootRate[_arg1] = 250; inventory.automatic[_arg1] = true; inventory.baseAccuracy[_arg1] = 50; inventory.accuracyDec[_arg1] = 0.06; inventory.attack[_arg1] = 17; inventory.dmgAir[_arg1] = 25; inventory.dmgArmor[_arg1] = 60; inventory.reqTrait[_arg1] = TRAIT.BIG_GUN; inventory.reqLv[_arg1] = 4; inventory.range[_arg1] = 1; inventory.value[_arg1] = 1000; }; if (_arg2 == 39){ inventory.name[_arg1] = "HMG"; inventory.reloadTimeMax[_arg1] = 90; inventory.ammoMax[_arg1] = 80; inventory.shootRate[_arg1] = 250; inventory.automatic[_arg1] = true; inventory.baseAccuracy[_arg1] = 50; inventory.accuracyDec[_arg1] = 0.06; inventory.attack[_arg1] = 17; inventory.dmgAir[_arg1] = 25; inventory.dmgArmor[_arg1] = 60; inventory.reqTrait[_arg1] = TRAIT.BIG_GUN; inventory.reqLv[_arg1] = 4; inventory.range[_arg1] = 1; inventory.value[_arg1] = 1000; }; if (_arg2 == 101){ inventory.name[_arg1] = "Statue of Ogre"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 400; }; if (_arg2 == 102){ inventory.name[_arg1] = "Statue of Archer"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 200; }; if (_arg2 == 103){ inventory.name[_arg1] = "Statue of Sheep"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 150; }; if (_arg2 == 104){ inventory.name[_arg1] = "Statue of Exploder"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 250; }; if (_arg2 == 105){ inventory.name[_arg1] = "Statue of Ballista"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 300; }; if (_arg2 == 106){ inventory.name[_arg1] = "Statue of Crow"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 200; }; if (_arg2 == 107){ inventory.name[_arg1] = "Statue of Barbarian"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 250; }; if (_arg2 == 108){ inventory.name[_arg1] = "Statue of Crusader"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 350; }; if (_arg2 == 109){ inventory.name[_arg1] = "Statue of Spiders"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 200; }; if (_arg2 == 110){ inventory.name[_arg1] = "Statue of Dragonfly"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 150; }; if (_arg2 == 112){ inventory.name[_arg1] = "Statue of Tank"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 450; }; if (_arg2 == 113){ inventory.name[_arg1] = "Statue of Dragon"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 500; }; if (_arg2 == 114){ inventory.name[_arg1] = "Statue of Ghost"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 300; }; if (_arg2 == 115){ inventory.name[_arg1] = "Statue of Dragon"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 600; }; if (_arg2 == 116){ inventory.name[_arg1] = "Statue of Peter"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 400; }; if (_arg2 == 117){ inventory.name[_arg1] = "Statue of Rat"; inventory.type[_arg1] = _typeSell; inventory.value[_arg1] = 150; }; if (_arg2 == 120){ inventory.name[_arg1] = "HMG"; inventory.reloadTimeMax[_arg1] = 90; inventory.ammoMax[_arg1] = 80; inventory.shootRate[_arg1] = 250; inventory.automatic[_arg1] = true; inventory.baseAccuracy[_arg1] = 50; inventory.accuracyDec[_arg1] = 0.06; inventory.attack[_arg1] = 17; inventory.dmgAir[_arg1] = 25; inventory.dmgArmor[_arg1] = 60; inventory.reqTrait[_arg1] = TRAIT.BIG_GUN; inventory.reqLv[_arg1] = 4; inventory.range[_arg1] = 1; inventory.value[_arg1] = 1000; }; if (_arg2 == 121){ setMod(_arg1, _encLiving); }; inventory.ammo[_arg1] = inventory.ammoMax[_arg1]; if (inventory.type[_arg1] == _typeGun){ inventory.value[_arg1] = int(((inventory.value[_arg1] * (100 + ((inventory.modMax[_arg1] * inventory.modMax[_arg1]) * 4))) / 100)); }; } public function updateEquipSlots(){ var _local1:*; _local1 = 0; while (_local1 < game.invSlot) { createInvSlot((_invPlayer + _local1), (140 + (int((_local1 % 8)) * 50)), (250 + (int((_local1 / 8)) * 48)), 1); _local1++; }; _local1 = 0; while (_local1 < maxAlly) { if (player.exist[_local1] == false){ } else { player_mc[_local1] = (new ally2() as MovieClip); player_mc[_local1].x = (155 + (_local1 * 80)); player_mc[_local1].y = 195; player_mc[_local1].pic = player.pic[_local1]; player_mc[_local1].gotoAndPlay("stand"); player_mc[_local1].pname.text = player.name[_local1]; if (player.exist[_local1]){ window2_mc.addChild(player_mc[_local1]); if (_local1 == 0){ createInvSlot(((_invAlly + maxAlly) + 1), (166 + (_local1 * 80)), 160, -1); } else { createInvSlot((_invAlly + _local1), (166 + (_local1 * 80)), 160, 1); }; }; }; _local1++; }; } public function reload(_arg1:int, _arg2:int){ if (inventory.type[_arg2] != _typeGun){ return; }; if (inventory.reloadTime[_arg2]){ return; }; if (inventory.manualReload[_arg2]){ if ((((inventory.id[_arg2] == 14)) || ((inventory.id[_arg2] == 15)))){ sound_reloading3.play(0, 0, trans[_arg1]); } else { sound_reloading2.play(0, 0, trans[_arg1]); }; } else { sound_reloading1.play(0, 0, trans[_arg1]); }; inventory.reloadTime[_arg2] = (int(((inventory.reloadTimeMax[_arg2] * 100) / (100 + CALC.RELOADING(_arg1)))) + 1); if (inventory.autoReload[_arg2] == 0){ player_mc[_arg1].gotoAndPlay("reload"); }; } public function insertHelp(){ window4_mc.help.editable = false; window4_mc.help.text = ""; window4_mc.help.text = (window4_mc.help.text + "-If you're dying playing Sheriff or Militia, try to manually reload your gun after EACH TIME you shoot.\n\n"); window4_mc.help.text = (window4_mc.help.text + "-Aim for head shots if you can. You will deal double damage.\n\n"); window4_mc.help.text = (window4_mc.help.text + "-Tax will become extremely high at later days. Invest in some economic skills early to secure your finance!\n\n"); window4_mc.help.text = (window4_mc.help.text + "-When in the \"Fire at will\" mode, your troops can attack enemies beyond their effective weapon ranges, but they will suffer significant accuracy penalties.\n\n"); window4_mc.help.text = (window4_mc.help.text + "-If you tag an ally's skills as \"Focused\" there will be a big chance that the ally will develop the skill when he levels.\n\n"); window4_mc.help.text = (window4_mc.help.text + "-\"Party\" skills affect all of your troops. It's a good idea to have your allies specialize in party skills that will help your team.\n\n"); window4_mc.help.text = (window4_mc.help.text + "-If more than two characters have the same party skill, only the character with the highest skill level will be used.\n\n"); window4_mc.help.text = (window4_mc.help.text + "-Weapons that have \"Mod\" slots can be modded. Drag a weapon-mod item onto the weapon you want to modify. Be careful, weapon-mod items can only be used once and cannot be removed once applied.\n\n"); window4_mc.help.text = (window4_mc.help.text + "-If you score 7 critical kills, you go on a rampage. While you are on a rampage, the damage you deal and the chance that enemies drop money increases.\n\n"); window4_mc.help.text = (window4_mc.help.text + "-Weapons have effective range. For instance, shotguns are powerful guns but the accuracy of the gun drastically decreases when you aim at distant targets.\n\n"); window4_mc.help.text = (window4_mc.help.text + "-You gain experience in the skill of the weapon you are using every time you kill an enemy. When your weapon experience reaches the amount needed for a level you will gain a weapon skill level.\n\n"); window4_mc.help.text = (window4_mc.help.text + "-Weapons have anti-armor/air rating. For instance, shotguns are effective against air creatures and non-armored creatures but not effective against armored creatures.\n\n"); window4_mc.help.text = (window4_mc.help.text + "-When a battle ends and if your wall HP was full at the beginning of every wave, you get a perfect game and its bonus! Easier to score with the repair upgrade.\n\n"); } public function refreshPlayer(_arg1:int, _arg2:int){ var _local5:int; calcGrenadeCount(_arg1); player.rangeFix[_arg1] = (1800 + (CALC.HUNTER(_arg1) * 20)); player.chain[_arg1] = 0; chainMode[_arg1] = 0; chainPos[_arg1] = 0; if (chainSound[_arg1] != null){ chainSound[_arg1].stop(); }; chainSound[_arg1] = null; var _local3:* = [10, 24, 10]; var _local4:* = []; _local4 = getWeaponInfo(inventory.id[_arg2]); gunSound[_arg1] = _local4[0]; player_mc[_arg1].anime1 = _local4[1]; player_mc[_arg1].anime2 = _local4[2]; player_mc[_arg1].anime3 = _local4[3]; player.burst[_arg1] = 0; player.wexpRef[_arg1] = 4; if (inventory.reqTrait[_arg2] == wexpList[0]){ player.wexpRef[_arg1] = 0; }; if (inventory.reqTrait[_arg2] == wexpList[1]){ player.wexpRef[_arg1] = 1; }; if (inventory.reqTrait[_arg2] == wexpList[2]){ player.wexpRef[_arg1] = 2; }; if (inventory.reqTrait[_arg2] == wexpList[3]){ player.wexpRef[_arg1] = 3; }; if (_arg1 == hero){ player.accuracyDiv[_arg1] = ((inventory.baseAccuracy[_arg2] * (((100 + CALC.ACCURACY(_arg1)) + CALC.NOBLE(_arg1)) - CALC.DR_HOLLIDAY(_arg1))) / 100); } else { player.accuracyDiv[_arg1] = ((inventory.baseAccuracy[_arg2] * ((((100 + CALC.ACCURACY(_arg1)) + CALC.NOBLE(_arg1)) + CALC.COOL(_arg1)) - CALC.DR_HOLLIDAY(_arg1))) / 100); }; player.shell[_arg1] = inventory.shell[_arg2]; if (inventory.typeMinor[_arg2] == _typeShotgun){ player.shell[_arg1] = (player.shell[_arg1] + player.trait[_arg1][TRAIT.DR_HOLLIDAY]); }; if (_arg1 == hero){ return; }; player.aimTime[_arg1] = ((18 - (Math.sqrt(player.trait[_arg1][TRAIT.BASE_AIMING]) * 1.4)) - (player.trait[_arg1][TRAIT.BASE_AIMING] * 0.05)); player.aimTime[_arg1] = ((player.aimTime[_arg1] * 100) / (100 + PARTY.LEADERSHIP)); player.workRate[_arg1] = (0.03 + (Math.sqrt(player.trait[_arg1][TRAIT.BASE_TEAMWORK]) * 0.025)); if (player.aimTime[_arg1] < 2){ player.aimTime[_arg1] = 2; }; if (player.workRate[_arg1] > 0.3){ player.workRate[_arg1] = 0.3; }; } public function removeChara(){ var _local1:*; _local1 = 0; while (_local1 < (maxAlly + 1)) { if ((((menuId == 6)) && ((_local1 == maxAlly)))){ } else { if (player.exist[_local1]){ window2_mc.removeChild(player_mc[_local1]); }; }; _local1++; }; } public function _if(_arg1){ if (_arg1){ return (1); }; return (0); } public function _is(_arg1:int){ if (_arg1 == _pc){ return ("are"); }; return ("is"); } public function MouseLDown_logo2(_arg1:MouseEvent){ var event = _arg1; if ((((funnylogo.currentFrame == 3)) && (funnylogo.bt.hitTestPoint(mouseX, mouseY, false)))){ stage.removeEventListener(Event.ENTER_FRAME, EnterFrame_logo2); stage.removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDown_logo2); gotoAndStop("init"); return; }; var request:URLRequest = new URLRequest("http://www.funny-games.biz/main.html"); try { navigateToURL(request); } catch(e:Error) { }; } public function endPauseMenu(){ if (blurMc != undefined){ stage.removeChild(blurMc); }; game.optionShowDamage = window_mc.options.optShowDamage.selected; game.optionShowAllyDamage = window_mc.options.optShowAllyDamage.selected; game.optionLowQuality = window_mc.options.optLowQuality.selected; game.optionFirework = window_mc.options.optFirework.selected; game.optionColor = window_mc.options.optColor.selected; updateOption(); stage.removeChild(window_mc); gamePaused = false; if (gameStage == _stageBattle){ customCursor.visible = true; Mouse.hide(); } else { menuButton.mouseEnabled = true; }; stage.focus = stage; } public function noAp(){ sound_beep.play(); popInfo("You don't have enough action points!"); } public function MouseLDown_logo3(_arg1:MouseEvent){ var request:URLRequest; var event = _arg1; if (bt.hitTestPoint(mouseX, mouseY, false)){ request = new URLRequest("http://www.funny-games.biz/main.html"); try { navigateToURL(request); } catch(e:Error) { }; }; } public function MouseMove(_arg1:MouseEvent){ customCursor.x = mouseX; customCursor.y = mouseY; } public function swapChara(_arg1:int, _arg2:int){ var _local3:*; var _local4:*; for (_local3 in player) { _local4 = player[_local3][_arg1]; player[_local3][_arg1] = player[_local3][_arg2]; player[_local3][_arg2] = _local4; }; swapStuff((_invAlly + _arg1), (_invAlly + _arg2)); } public function removeMedals(){ var _local1:*; _local1 = 0; while (_local1 < medalCount) { window2_mc.removeChild(medal_mc[_local1]); _local1++; }; medalCount = 0; } public function endDialog(_arg1:Boolean){ var _local2:*; var _local3:*; var _local4:*; stage.removeChild(dialog_mc); sound_click1.play(); gameDialog = false; if (dialogAction == _dialogHire){ if (_arg1){ mission.hire = true; showEventDialog(_dialogActHire); window2_mc.act2.visible = false; window2_mc.actRef2.visible = false; }; }; if (dialogAction == _dialogUpgrade){ if (_arg1){ if (player.money[_pc] < upgradeWeapon(upgradeItem, 1)){ sound_beep.play(); popInfo("You don't have enough money!"); } else { sound_mod.play(); game.ap = (game.ap - 4); player.money[_pc] = (player.money[_pc] - upgradeWeapon(upgradeItem, 1)); swapStuff(upgradeItem, _invRefer); updateInterface(); }; }; }; if (dialogAction == _dialogQuit){ if (_arg1){ endPauseMenu(); if (gameStage == _stageResult){ stage.removeChild(window2_mc); exitMenuResult(); exitResult(); } else { exitBattle(); }; gotoAndPlay("init"); }; }; if (dialogAction == _dialogMod){ invIcon_mc[dragItem].visible = true; _local2 = false; if (_arg1){ _local3 = invSlot_mc[dragSlot].id; _local4 = invSlot_mc[slot].id; if (inventory.mod[_local4] >= inventory.modMax[_local4]){ sound_beep.play(); _local2 = true; popInfo("There's no available mod slot on this weapon!"); }; if ((((inventory.ammoMax[_local4] == 1)) && ((((inventory.mod[_local3] == _encAmmo)) || ((inventory.mod[_local3] == _encReloading)))))){ sound_beep.play(); _local2 = true; popInfo("This weapon can't use ammo/reloading mods."); }; if ((((inventory.reloadTimeMax[_local4] == 0)) && ((((inventory.mod[_local3] == _encAmmo)) || ((inventory.mod[_local3] == _encReloading)))))){ sound_beep.play(); _local2 = true; popInfo("This weapon can't use ammo/reloading mods."); }; if ((((inventory.mod[_local3] == _encAutoReload)) && ((inventory.manualReload[_local4] == false)))){ sound_beep.play(); _local2 = true; popInfo("This weapon can't use Auto Reload mod."); }; if (_local2 == false){ sound_mod.play(); enchant(_local4, inventory.mod[_local3], inventory.modMax[_local3]); inventory.num[_local3] = 0; invIcon_mc[dragItem].visible = false; invSlot_mc[dragSlot].item = -1; }; } else { if (invSlot_mc[slot].id >= _invAlly){ _local2 = true; } else { invSlot_mc[slot].item = dragItem; invSlot_mc[dragSlot].item = item; invIcon_mc[item].x = ((invSlot_mc[dragSlot].x - ((invIcon_mc[item].width - 48) / 2)) - 4); invIcon_mc[item].y = invSlot_mc[dragSlot].y; swapStuff(invSlot_mc[dragSlot].id, invSlot_mc[slot].id); }; }; if (_local2){ invIcon_mc[dragItem].stopDrag(); invIcon_mc[dragItem].x = ((invSlot_mc[dragSlot].x - ((invIcon_mc[dragItem].width - 48) / 2)) - 4); invIcon_mc[dragItem].y = invSlot_mc[dragSlot].y; }; updateInterface(); updateSlots(); updateInventory(); }; if (dialogAction == _dialogCarryOver){ if (_arg1){ carryOver(); }; }; if (dialogAction == _dialogSell){ invIcon_mc[dragItem].visible = true; if (_arg1){ sound_pay1.play(); _local3 = invSlot_mc[dragSlot].id; player.money[_pc] = (player.money[_pc] + stuffGetValue(_local3, 0)); game.totalMoney = (game.totalMoney + stuffGetValue(_local3, 0)); inventory.num[_local3] = 0; invIcon_mc[dragItem].visible = false; invSlot_mc[dragSlot].item = -1; updateInterface(); updateSlots(); updateInventory(); }; }; if (dialogAction == _dialogRecruit){ if (_arg1){ sound_pay1.play(); player.money[_pc] = (player.money[_pc] - player.cost[maxAlly]); removeChara(); cs = getFreeAlly(); swapChara(maxAlly, getFreeAlly()); deleteChara(maxAlly); delay = 0; updateInterface(); updateCharaList(); updateCharaMenu(); kongregateStats(); initPartySkill(); }; }; if (dialogAction == _dialogDismiss){ if (_arg1){ removeChara(); deleteChara(cs); delay = 0; cs--; updateCharaList(); updateCharaMenu(); initPartySkill(); }; }; if (dialogAction == _dialogTrash){ if (_arg1){ deleteGame(); updateSaveSlot(); }; }; } public function loadGame(){ var _local2:Object; var _local1:* = SharedObject.getLocal(("elonas" + idx.slot)); if (_local1){ _local2 = _local1.data; if ((((_local2.game == undefined)) || ((_local2.deleted == true)))){ return (false); }; game = cloneObj(_local2.game); player = cloneObj(_local2.player); inventory = cloneObj(_local2.inventory); mission = cloneObj(_local2.mission); versionFix(); updateOption(); return (true); //unresolved jump }; return (false); } public function onEnterFrame_result(_arg1:Event){ var _local2:int; var _local3:*; draw_count = (draw_count + 1); if ((((((cancelFirework == false)) && (!((ce == _eventClear))))) && (((getTimer() - old_timer) >= 2000)))){ if (draw_count < 25){ stopFire(); cancelFirework = true; }; old_timer = getTimer(); draw_count = 0; }; delay++; cloud.x = (cloud.x - 0.2); if (cloud.x < -1280){ cloud.x = 0; }; if (ce == _eventClear){ fireworkCount--; if (fireworkCount < 0){ fireworkMedal(); }; }; if (((startFromTown) && (toTownMenu))){ if (delay == 30){ window3_mc.name = "window3_mc"; window3_mc.x = window2_mc.x; window3_mc.y = window2_mc.y; window3_mc.gotoAndStop("menu_result"); }; if (delay > 30){ exitResult(); stage.addChild(window3_mc); stage.removeChild(window2_mc); if (game.HC == true){ idx.dayHC = game.day; } else { idx.day = game.day; }; gotoAndStop("town"); return; }; _local2 = 0; while (_local2 < menuList.length) { menuList[_local2].visible = true; menuList[_local2].x = (menuList[_local2].x + 3); _local2++; }; window2_mc.x = (window2_mc.x + 1.1); bgAlpha.alpha = (bgAlpha.alpha + 0.04); return; }; if (toTownMenu){ if (delay == 30){ window3_mc.name = "window3_mc"; window3_mc.x = window2_mc.x; window3_mc.y = window2_mc.y; window3_mc.gotoAndStop("menu_result"); window3_mc.addFrameScript((window3_mc.currentFrame - 1), procResult); }; if (delay > 30){ exitResult(); stage.addChild(window3_mc); stage.removeChild(window2_mc); if ((((game.submit == true)) || ((kongregate == 0)))){ if (game.casual == true){ idx.dayCasual = game.day; if ((((game.day > 40)) && (((game.day % 40) == 1)))){ idx.winCasual++; }; } else { if (game.HC == true){ idx.dayHC = game.day; if ((((game.day > 40)) && (((game.day % 40) == 1)))){ idx.winHC++; }; } else { idx.day = game.day; if ((((game.day > 40)) && (((game.day % 40) == 1)))){ idx.win++; }; }; }; }; gotoAndStop("town"); return; }; _local2 = 0; while (_local2 < menuList.length) { menuList[_local2].visible = true; menuList[_local2].x = (menuList[_local2].x + 3); _local2++; }; window2_mc.x = (window2_mc.x + 1.1); bgAlpha.alpha = (bgAlpha.alpha + 0.04); return; }; if ((((ce == _eventMode)) && ((delay > 3)))){ setGameOption(); if ((((game.submit == true)) || ((kongregate == 0)))){ window2_mc.warning.alpha = 0; } else { window2_mc.warning.alpha = 1; }; }; if ((((ce == _eventGene)) && ((delay > 3)))){ if (window2_mc.optHC.selected == true){ window2_mc.extraButton.visible = false; window2_mc.optCasual.selected = false; } else { window2_mc.extraButton.visible = true; }; }; if ((((((ce == _eventGene)) && ((eventModeEnabled == false)))) || ((ce == _eventMode)))){ if (delay < 41){ root.transform.colorTransform = new ColorTransform((0.025 * delay), (0.025 * delay), (0.025 * delay), 1, 0, 0, 0, 0); }; _local3 = false; _local2 = 0; while (_local2 < _maxPic) { if (cs == _local2){ pic_mc[_local2].alpha = 1; } else { pic_mc[_local2].alpha = 0.5; if ((((_local3 == false)) && (pic_mc[_local2].hitTestPoint(mouseX, mouseY, true)))){ pic_mc[_local2].alpha = 0.8; _local3 = true; }; }; _local2++; }; }; if (ce == _eventBegin){ if (delay < 41){ root.transform.colorTransform = new ColorTransform((0.025 * delay), (0.025 * delay), (0.025 * delay), 1, 0, 0, 0, 0); }; if (delay >= 90){ exitResult(); stage.removeChild(window2_mc); gotoAndStop("battle"); return; }; }; if (fadeCount){ window2_mc.alpha = ((fadeCount * 0.1) - 0.1); fadeCount--; if ((((ce == _eventGene)) || ((ce == _eventMode)))){ root.transform.colorTransform = new ColorTransform((fadeCount * 0.1), (fadeCount * 0.1), (fadeCount * 0.1), 1, 0, 0, 0, 0); if (fadeCount == 0){ bgAlpha.alpha = 0; }; }; if (ce != _eventBegin){ if (fadeCount == 0){ exitMenuResult(); selectEvent(); }; }; }; if (window2_mc.anime){ window2_mc.anime = false; window2_mc.animeTime = 16; window2_mc.x = 590; window2_mc.visible = true; }; if (((window2_mc.animeTime) && ((delay > 3)))){ window2_mc.animeTime--; window2_mc.x = (window2_mc.x - Math.pow(window2_mc.animeTime, 1.7)); _local2 = 0; while (_local2 < selectID) { buttonArray[_local2].x = (buttonArray[_local2].x - Math.pow(window2_mc.animeTime, 1.7)); _local2++; }; }; if (((gamePaused) || (gameDialog))){ return; }; if ((((ce == _eventLoot)) || ((ce == _eventLootBoss)))){ invPopup(); }; if ((((ce == _eventAlly)) || ((ce == _eventGene)))){ hint(); }; } public function generateShop(){ var _local1:*; clearGameInv(); _local1 = 0; while (_local1 < (2 + game.smith)) { randomStuff((_invShop + _local1), (int(((Math.random() * game.day) * 250)) + 200), 0); _local1++; }; randomStuff(_invShop, (int(((Math.random() * game.day) * 200)) + 200), 4); if (game.specialSale){ _local1 = 0; while (_local1 < (2 + game.smith)) { randomStuff((_invShop + _local1), (int(((Math.random() * game.day) * 75)) + 500), 3); _local1++; }; generateStuff(_invShop, 8); setMod(_invShop, _encAutoReload); }; if (game.comp != true){ game.specialSale = 0; }; } public function generateWave(_arg1){ var _local2:*; var _local3:int; var _local4:int; var _local5:int; var _local6:*; debugGroup = (("" + _arg1) + ":"); _local2 = int(((mission.level % lvCycle) + (int((mission.level / lvCycle)) * 3))); pop[_arg1] = []; popTime[_arg1] = []; eDupe = []; mission.power = int((mission.powerOrg - (((mission.powerOrg / 2.5) * _arg1) / mission.wave))); while (1) { if (mission.bossDay == true){ if (_arg1 == mission.bossWave){ _local3 = 0; while (_local3 < int(Math.sqrt(mission.level))) { pop[_arg1].push(_boss); _local3++; }; break; }; _local3 = 0; while (_local3 < ((mission.wave - _arg1) - 1)) { selectEnemy(randLv(_local2, 1), 1, [], _arg1); _local3++; }; break; }; if (debugBatch){ debugGroup = (debugGroup + "(DBUG BATCH) "); selectEnemy(randLv((_local2 - 2), 0.8), 115, ["MASS"], _arg1); break; }; if ((((Math.random() < 0.1)) && ((_local2 > 3)))){ debugGroup = (debugGroup + "(Air ) "); selectEnemy(randLv(_local2, 0.5), 20, ["AIR"], _arg1); selectEnemy(randLv(_local2, 0.8), 20, ["AIR"], _arg1); selectEnemy(_local2, 20, ["AIR"], _arg1); selectEnemy((_local2 + 2), 20, ["AIR"], _arg1); selectEnemy(randLv(_local2, 0.2), 20, ["AIR"], _arg1); break; }; if ((((((Math.random() < 0.1)) && ((_local2 > 2)))) && (!((game.skipHard == true))))){ debugGroup = (debugGroup + "(BATCH1) "); selectEnemy(randLv(_local2, 0.7), 40, ["BATCH"], _arg1); selectEnemy((_local2 + 2), 20, [], _arg1); selectEnemy(randLv(_local2, 1), 60, ["BATCH"], _arg1); break; }; if ((((Math.random() < 0.2)) && ((_local2 > 5)))){ debugGroup = (debugGroup + "(RANGED) "); selectEnemy(randLv(_local2, 0.8), 10, [], _arg1); selectEnemy(randLv(_local2, 1), 30, ["RANGED"], _arg1); selectEnemy((_local2 + 2), 20, [], _arg1); selectEnemy(randLv(_local2, 1), 15, [], _arg1); selectEnemy(randLv(_local2, 1), 15, ["RANGED"], _arg1); break; }; if ((((((Math.random() < 0.15)) && ((_local2 > 10)))) && (!((game.skipHard == true))))){ debugGroup = (debugGroup + "(BATCH2) "); selectEnemy(randLv((_local2 - 2), 0.8), 100, ["MASS"], _arg1); break; }; debugGroup = (debugGroup + "(RANDOM) "); selectEnemy(randLv(_local2, 0.25), 15, ["BATCH"], _arg1); if (mission.level > 1){ selectEnemy(randLv(_local2, 0.8), 15, [], _arg1); }; selectEnemy(randLv(_local2, 0.5), 20, ["BATCH"], _arg1); selectEnemy((_local2 + 2), 20, [], _arg1); if (mission.level > 1){ selectEnemy(randLv(_local2, 1), 15, [], _arg1); }; selectEnemy(randLv(_local2, 0.4), 15, ["BATCH"], _arg1); break; }; if (_arg1 == mission.bossWave){ pop[_arg1].push(_boss); }; _local3 = 0; while (_local3 < pop[_arg1].length) { _local6 = eRef[eRefId[pop[_arg1][_local3]]].power; popTime[_arg1][_local3] = ((mission.spawnRate + int((_local6 / 100))) + (true_if((_local6 >= 300)) * 2)); _local4 = int((Math.random() * pop[_arg1].length)); _local5 = pop[_arg1][_local3]; pop[_arg1][_local3] = pop[_arg1][_local4]; pop[_arg1][_local4] = _local5; _local3++; }; popTime[_arg1][0] = (popTime[_arg1][0] + (90 - int((mission.fixedLv * 1.5)))); if ((((game.day < 10)) && ((game.MORE == false)))){ popTime[_arg1][0] = (popTime[_arg1][0] + 20); }; if (_arg1 == 0){ popTime[_arg1][0] = (popTime[_arg1][0] + 50); }; mission.group[_arg1] = pop[_arg1].length; } public function updateDay(){ if (gameStage == _stageTown){ dayText.text = game.day; } else { dayText.text = ((game.day + "/") + mission.wave); }; } public function weapon(_arg1:int){ if (_arg1 == _pc){ return (ci); }; return ((_invAlly + _arg1)); } public function generateCard(){ var _local1:*; var _local2:int; var _local3:int; _local1 = [1, 1, 1, 2, 3, 4, 5, 6, 7]; _local2 = 0; while (_local2 < 5) { _local3 = (Math.random() * _local1.length); if (_local1[_local3] == 0){ } else { game.card[_local2] = (_local1[_local3] * -1); _local1[_local3] = 0; _local2++; }; }; } public function calcRepair(_arg1:int){ return (inventory.attack[_arg1]); } public function killPop(_arg1){ popList[_arg1] = 0; } public function stopSound(){ var _local1:*; _local1 = 0; while (_local1 < maxAlly) { if (chainMode[_local1] == 3){ if (chainSound[_local1] != null){ chainSound[_local1].stop(); }; }; _local1++; }; } public function actionMedal(){ if (game.carryOver == true){ return; }; if (game.prayerCount >= 15){ getMedal(_medalAction1); }; if (game.tauntCount >= 10){ getMedal(_medalAction2); }; if (game.partyCount >= 10){ getMedal(_medalAction3); }; if (game.recycleCount >= 10){ getMedal(_medalAction4); }; if (game.robCount >= 20){ getMedal(_medalAction5); }; } public function procMedalMenu(){ museumMedal(); window2_mc.stop(); window2_mc.anime = true; window2_mc.hint.visible = false; window2_mc.actRef1.mouseEnabled = false; if (window2_mc.page1.hasEventListener(MouseEvent.MOUSE_DOWN) == false){ window2_mc.page1.addEventListener(MouseEvent.MOUSE_DOWN, pageChange(0)); }; if (window2_mc.page2.hasEventListener(MouseEvent.MOUSE_DOWN) == false){ window2_mc.page2.addEventListener(MouseEvent.MOUSE_DOWN, pageChange(1)); }; if (beta){ getMedal(_medalBeta); }; if (armor){ window2_mc.kongMc.visible = false; } else { window2_mc.armorbt.visible = false; }; updateMedals(); defHint = "Medals you won give you various bonuses.\nThey are carried over to the next games."; } public function pauseProc(){ if (gameDialog){ if (dialog_mc.yes.hitTestPoint(mouseX, mouseY, true)){ endDialog(true); } else { endDialog(false); }; return; }; if (helpMode){ procHelp(); return; }; if (window_mc.returnTitleButton.hitTestPoint(mouseX, mouseY, true)){ if (gameStage == _stageBattle){ showDialog(_dialogQuit); dialog_mc.question.text = "Current game will not be saved. Really quit?"; return; }; if (gameStage == _stageResult){ showDialog(_dialogQuit); dialog_mc.question.text = "Current game will not be saved. Really quit?"; return; }; sound_click1.play(); endPauseMenu(); if (gameStage == _stageTown){ if (game.HC == true){ saveGame(); }; exitMenu(); exitTown(); }; if (amb != null){ amb.stop(); }; gotoAndPlay("init"); return; }; if (window_mc.helpButton.hitTestPoint(mouseX, mouseY, true)){ openHelp(); return; }; if (window_mc.saveGameButton.hitTestPoint(mouseX, mouseY, true)){ if (gameStage != _stageTown){ popInfo("You can only save the game in the town."); sound_beep.play(); } else { saveGame(); sound_click1.play(); }; return; }; if (window_mc.options.hitTestPoint(mouseX, mouseY, true)){ return; }; sound_click1.play(); endPauseMenu(); } public function removeUpgrades(){ var _local1:*; _local1 = 0; while (_local1 < upgradeCount) { window2_mc.removeChild(upgrade_mc[_local1]); _local1++; }; } public function updateSlot(_arg1:int){ var _local2:int; _local2 = invSlot_mc[_arg1].id; invSlot_mc[_arg1].cost.text = stuffGetValue(_local2, 1); if (stuffGetValue(_local2, 1) <= player.money[_pc]){ invSlot_mc[_arg1].cost.textColor = 204; } else { invSlot_mc[_arg1].cost.textColor = 0xCC0000; }; invSlot_mc[_arg1].peke.visible = false; invSlot_mc[_arg1].peke.mouseEnabled = false; if ((((((_local2 >= _invPlayer)) && ((_local2 < (_invPlayer + 5))))) && ((inventory.num[_local2] > 0)))){ if (((((!((inventory.type[_local2] == _typeGun))) && (!((inventory.type[_local2] == _typeUse))))) || ((player.trait[_pc][inventory.reqTrait[_local2]] < inventory.reqLv[_local2])))){ invSlot_mc[_arg1].peke.visible = true; }; }; if (inventory.num[_local2] <= 0){ if (invSlot_mc[_arg1].op == 0){ invSlot_mc[_arg1].visible = false; }; }; } public function updateMedals(){ var _local1:*; var _local2:Array; _local1 = medalPage[page]; while (_local1 < medalPage[(page + 1)]) { _local2 = getMedalInfo(_local1); if (_local2[0] == "null"){ } else { if (((armor) && ((_local1 == _medalKongregate)))){ } else { medal_mc[medalCount] = (new medals() as MovieClip); medal_mc[medalCount].x = (145 + (int((medalCount / 10)) * 130)); medal_mc[medalCount].y = (130 + (int((medalCount % 10)) * 20)); if ((medalCount / 10) >= 2){ medal_mc[medalCount].y = (medal_mc[medalCount].y + 20); }; medal_mc[medalCount].medalName.text = _local2[0]; if (medal[_local1] == true){ medal_mc[medalCount].hintTxt = [_local2[0], _local2[2], _local2[3], "", ""]; medal_mc[medalCount].alpha = 1; } else { medal_mc[medalCount].hintTxt = [_local2[0], _local2[1], "????", "", ""]; medal_mc[medalCount].alpha = 0.3; }; window2_mc.addChild(medal_mc[medalCount]); medalCount++; }; }; _local1++; }; } public function updateInventory(){ var _local1:*; var _local2:int; _local1 = 0; while (_local1 < 5) { _local2 = (_invPlayer + _local1); if (inventory.num[_local2] < 1){ inventory_mc[_local1].visible = false; } else { inventory_mc[_local1].visible = true; }; inventory_mc[_local1].num.visible = false; if (inventory.type[_local2] == _typeUse){ inventory_mc[_local1].num.text = ("x " + inventory.ammo[_local2]); inventory_mc[_local1].num.y = 20; if (inventory.ammoMax[_local2] > 0){ inventory_mc[_local1].num.visible = true; }; }; inventory_mc[_local1].gotoAndStop(inventory.graphic[(_invPlayer + _local1)]); setChildIndex(inventory_mc[_local1], (numChildren - 1)); _local1++; }; } public function criticalMedal(){ if (game.carryOver == true){ return; }; if (mission.criticalCount >= 10){ getMedal(_medalCritical1); }; if (mission.criticalCount >= 30){ getMedal(_medalCritical2); }; if (mission.criticalCount >= 50){ getMedal(_medalCritical3); }; } public function updateOption(){ if (game.optionLowQuality == true){ stage.quality = StageQuality.LOW; } else { stage.quality = StageQuality.HIGH; }; if (customCursor != undefined){ if (game.optionColor == true){ customCursor.gotoAndStop(3); } else { customCursor.gotoAndStop(1); }; }; } public function popInfo(_arg1:String){ var _local2:int; var _local3:int; _local3 = -1; _local2 = 0; while (_local2 < popMax) { if (popList[_local2] == 0){ _local3 = _local2; break; }; _local2++; }; if (_local3 == -1){ return; }; var _local5 = popList; var _local6 = _local3; var _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; var _local4:MovieClip = new infoPop(); _local4.tg = _local3; _local4.kill = killPop; _local4.x = 200; _local4.y = (_local3 * 30); if (gameStage == _stageBattle){ _local4.x = 40; _local4.y = (_local4.y + 40); }; _local4.pop.infoText.text = _arg1; stage.addChild(_local4); } public function showDialog(_arg1:int){ stage.focus = stage; gameDialog = true; dialogAction = _arg1; sound_scroll1.play(); dialog_mc.x = 0; dialog_mc.y = 0; stage.addChild(dialog_mc); stage.setChildIndex(dialog_mc, (stage.numChildren - 1)); if (dialogAction == _dialogUpgrade){ upgradeWeapon(upgradeItem, 0); dialog_mc.pop1.visible = true; dialog_mc.pop2.visible = true; dialog_mc.poparrow.visible = true; popupMc = dialog_mc.pop1; invPopupUpdate(upgradeItem); popupMc = dialog_mc.pop2; invPopupUpdate(_invRefer); popupMc = undefined; } else { dialog_mc.poparrow.visible = false; dialog_mc.pop1.visible = false; dialog_mc.pop2.visible = false; }; } public function resetOption(){ game.optionBossDropMod = false; game.MORE = false; game.optWeaponLevel = false; game.skipHard = false; game.tight = false; game.laptop = false; game.comp = false; game.carryOver = false; game.submit = true; } public function versionFixIndex(){ if (idx.dayHC == undefined){ idx.dayHC = 0; }; if (idx.dayCasual == undefined){ idx.dayCasual = 0; }; if (idx.win == undefined){ idx.win = 0; }; if (idx.winCasual == undefined){ idx.winCasual = 0; }; if (idx.winHC == undefined){ idx.winHC = 0; }; } public function calcSniperMaxDamage(_arg1:int){ return (int(((160 + (Math.sqrt(_arg1) * 2)) + _arg1))); } public function soundPos(_arg1:int){ var _local2:int; _local2 = int((_arg1 / 25)); if (_local2 <= 0){ _local2 = 0; }; if (_local2 > 19){ _local2 = 19; }; return (posTrans[_local2]); } public function updateBG(){ var _local1:*; var _local2:Array; _local2 = []; if (bgChange > 0){ bgChange--; _local1 = ((100 - bgChange) * 0.01); _local2 = [1, (1 - (_local1 * 0.4)), (1 - (_local1 * 0.6))]; } else { bgChange++; _local1 = ((100 + bgChange) * 0.01); _local2 = [(1 - (_local1 * 0.9)), (0.6 - (_local1 * 0.2)), (0.4 + (_local1 * 0.6))]; }; bg.transform.colorTransform = new ColorTransform(_local2[0], _local2[1], _local2[2], 1, 0, 0, 0, 0); cloud.transform.colorTransform = new ColorTransform(_local2[0], _local2[1], _local2[2], 1, 0, 0, 0, 0); } public function setTrait(_arg1:String, _arg2:int, _arg3:int, _arg4:int, _arg5:String, _arg6:Array, _arg7:Function){ var i:*; var s2:String; var s = _arg1; var g = _arg2; var maxLv = _arg3; var reqLv = _arg4; var reqTrait = _arg5; var desc = _arg6; var func = _arg7; if (g_count[g] == undefined){ g_count[g] = 0; }; i = (g + g_count[g]); ID[i] = s; TRAIT[s] = i; traitRef[i] = {}; traitRef[i].group = g; traitRef[i].maxLv = maxLv; traitRef[i].reqLv = reqLv; traitRef[i].reqTrait = reqTrait; traitRef[i].icon = 0; traitRef[i].name = (s.substr(0, 1) + s.substr(1).toLowerCase()); if (s.indexOf("_") != -1){ traitRef[i].name = ((traitRef[i].name.substr(0, traitRef[i].name.indexOf("_")) + " ") + traitRef[i].name.substr((traitRef[i].name.indexOf("_") + 1))); }; CALC[s] = function (_arg1:int){ if ((player.trait[_arg1][i] + traitLvFix) == 0){ return (0); }; return (func((player.trait[_arg1][i] + traitLvFix))); }; REF[s] = function (_arg1:int){ var _local2:String; var _local3:String; var _local4:String; var _local5:int; var _local6:String; var _local7:String; if (traitRef[i].maxLv != 999){ _local6 = ("" + traitRef[i].maxLv); } else { _local6 = ""; }; _local7 = ""; _local3 = desc[0]; if (PARTY[s] != undefined){ _local3 = (_local3 + " Party Skill."); _local7 = "Party Skill"; }; if ((((traitRef[i].group == G_BASE)) || ((i < G_GEN)))){ _local7 = "Base Skill"; }; _local5 = (player.trait[_arg1][i] + traitLvFix); _local2 = (s.substr(0, 1) + s.substr(1).toLowerCase()); var _local8:* = 0; while (_local8 < 2) { if (_local2.indexOf("_") != -1){ _local2 = (((_local2.substr(0, _local2.indexOf("_")) + " ") + _local2.substr((_local2.indexOf("_") + 1), 1).toUpperCase()) + _local2.substr((_local2.indexOf("_") + 2))); }; _local8++; }; if (_local2 == "Dr Holiday"){ (_local2 == "Doc Holiday"); }; if ((((traitRef[i].maxLv > 1)) && ((_local5 > 1)))){ _local2 = (_local2 + (" " + _local5)); }; if (((!((traitLvFix == 0))) && ((_local5 == 1)))){ _local2 = (_local2 + "(New!)"); }; _local4 = desc[1]; if (desc[2] == "x"){ _local4 = (_local4 + ("" + int(CALC[s](_arg1)))); }; if (desc[2] == "y"){ _local4 = (_local4 + ("" + _local5)); }; _local4 = (_local4 + desc[3]); if (desc[1] == "sniper1"){ _local4 = (("" + (calcSniperMaxDamage(_local5) - 100)) + "% damage bonus(max)"); }; if (desc[1] == "duelist1"){ _local4 = (("" + calcDuelistMaxDamage(_local5)) + "% damage bonus(max)"); }; if (traitRef[i].maxLv == _local5){ _local4 = (_local4 + " [Maxed]"); }; if (_local5 == 0){ _local4 = "None"; }; traitLvFix = 0; return ([_local2, _local3, _local4, _local6, _local7]); }; var _local9 = g_count; var _local10 = g; var _local11 = (_local9[_local10] + 1); _local9[_local10] = _local11; } public function orderOpen(_arg1:Event):void{ window2_mc.dismissButton.mouseEnabled = false; } public function removeInvIcon(){ var _local1:*; _local1 = 0; while (_local1 < invIconCount) { window2_mc.removeChild(invIcon_mc[_local1]); _local1++; }; } public function updateAp(){ apText.visible = true; apText.text = ("AP: " + game.ap); } public function updateSlots(){ var _local1:*; _local1 = 0; while (_local1 < invSlotCount) { updateSlot(_local1); _local1++; }; } public function randomStuff(_arg1:int, _arg2:int, _arg3:int){ var _local4:int; var _local5:int; if (_arg2 <= 500){ _arg2 = 500; }; while (_local5 < 300) { _local5++; if (_local5 >= 200){ generateStuff(_arg1, 8); break; }; generateStuff(_arg1, (1 + int((Math.random() * _maxItem)))); if (inventory.rare[_arg1] == 0){ } else { if (_arg3 == 0){ if ((((inventory.type[_arg1] == _typeMod)) && ((Math.random() > 0.025)))){ continue; }; //unresolved if } else { if (_arg3 == 1){ if ((((inventory.type[_arg1] == _typeMod)) && ((Math.random() > 0.2)))){ continue; }; //unresolved if } else { if (_arg3 == 2){ if ((((inventory.type[_arg1] == _typeMod)) && ((Math.random() > 0.2)))){ continue; }; //unresolved if } else { if (_arg3 == 3){ //unresolved if } else { if (_arg3 == 4){ //unresolved if } else { if (inventory.type[_arg1] == _typeSell){ } else { if (inventory.type[_arg1] == _typeGun){ if (game.optWeaponLevel == true){ if (inventory.reqLv[_arg1] > (getBestSkill(ID[inventory.reqTrait[_arg1]], 1) + 2)){ _arg3 = 4; continue; }; }; weaponVariation(_arg1, -1); if ((((_arg3 == 2)) || ((Math.random() > 0.85)))){ _local4 = 0; while (_local4 < inventory.modMax[_arg1]) { if ((((((_arg3 == 2)) && ((_local4 == 0)))) || ((Math.random() < (0.5 - (_local4 * 0.15)))))){ enchant(_arg1, -1, -1); }; _local4++; }; }; }; if (inventory.value[_arg1] <= 500){ break; }; if ((((Math.random() > 0.96)) && ((inventory.value[_arg1] <= ((_arg2 * 2) + 500))))){ break; }; if (inventory.value[_arg1] <= ((_arg2 * (100 + _local5)) / 100)){ break; }; }; }; }; }; }; }; }; }; } public function explode_puls(_arg1, _arg2, _arg3, _arg4, _arg5:int, _arg6:int){ var _local7:int; _arg5 = int(((_arg5 * (100 + CALC.DA_BOMB(_arg1))) / 100)); sound_puls.play(0, 0, soundPos(_arg3)); _local7 = 0; while (_local7 < maxEnemy) { if (enemyArray[_local7].isDead()){ } else { if ((((((((enemyArray[_local7].x > (_arg3 - 60))) && ((enemyArray[_local7].x < (_arg3 + 60))))) && ((enemyArray[_local7].y > (_arg4 - 50))))) && ((enemyArray[_local7].y < (_arg4 + 50))))){ enemyArray[_local7].damage(_arg5, _arg2, enemyArray[_local7].x, enemyArray[_local7].y, _arg1, false); }; }; _local7++; }; } public function loadEnterFrame(_arg1:Event){ if (root.loaderInfo.bytesLoaded == root.loaderInfo.bytesTotal){ stage.removeEventListener(Event.ENTER_FRAME, loadEnterFrame); if (armor){ gotoAndStop("logo2"); return; }; if (toBlackScreen){ gotoAndStop("black"); return; }; gotoAndStop("logo"); return; }; } public function selectEvent(){ ce = eventList.pop(); if (ce == _eventClear){ sound_battleEnd.play(); window2_mc.gotoAndStop("clear"); }; if (ce == _eventLevel){ sound_scroll1.play(); window2_mc.gotoAndStop("menu_level"); window2_mc.addFrameScript((window2_mc.currentFrame - 1), procLevel); }; if (ce == _eventEnd){ renewResult(); sound_scroll1.play(); window2_mc.gotoAndStop("menu_result"); window2_mc.addFrameScript((window2_mc.currentFrame - 1), procResult); }; if (ce == _eventGene){ game.HC = false; bgAlpha.alpha = 1; frenzyBar.visible = false; frenzyBar2.visible = false; frenzyText.visible = false; sound_scroll1.play(); window2_mc.gotoAndStop("menu_gene"); window2_mc.addFrameScript((window2_mc.currentFrame - 1), procGeneMenu); }; if (ce == _eventMode){ bgAlpha.alpha = 1; sound_scroll1.play(); window2_mc.gotoAndStop("menu_mode"); }; if (ce == _eventLoot){ generateLoot(); sound_scroll1.play(); window2_mc.gotoAndStop("menu_loot"); window2_mc.addFrameScript((window2_mc.currentFrame - 1), procLootMenu); }; if (ce == _eventLootBoss){ generateLootBoss(); sound_scroll1.play(); window2_mc.gotoAndStop("menu_lootBoss"); window2_mc.addFrameScript((window2_mc.currentFrame - 1), procLootMenu); }; if (ce == _eventBegin){ stopFire(); if (player.ai[_pc] == _aiHero){ hero = _pc; } else { hero = -1; }; updateAlly(); if (amb != null){ amb.stop(); }; amb = (sound_bg_forest.play(0, 999999) as SoundChannel); sound_battleBegin.play(); window2_mc.gotoAndPlay("beg"); window2_mc.addFrameScript((window2_mc.currentFrame - 1), procBeginMenu); fadeCount = 80; }; menuId = 1; window2_mc.closeButton.visible = false; window2_mc.visible = false; window2_mc.x = 0; window2_mc.y = -26; window2_mc.alpha = 1; window2_mc.anime = true; } public function procBeginMenu(){ window2_mc.stop(); window2_mc.dayTxt.text = ("Day " + game.day); } public function procShopMenu(){ defHint = "\nDrop an item on an empty space to sell the item."; window2_mc.stop(); window2_mc.anime = true; window2_mc.popup.visible = false; window2_mc.warning.visible = false; window2_mc.actHelp.visible = false; window2_mc.actRef1.mouseEnabled = false; window2_mc.actRef2.mouseEnabled = false; updateShopSlots(); } public function updateCi(){ i = 0; while (i < 5) { if ((i + _invPlayer) == ci){ inventory_mc[i].alpha = 1; } else { inventory_mc[i].alpha = 0.6; }; i++; }; } public function saveGame(){ var obj:Object; var s:*; var str:*; game.version = _version; var so:* = SharedObject.getLocal(("elonas" + idx.slot)); if (so){ obj = so.data; obj.deleted = false; obj.game = cloneObj(game); obj.player = cloneObj(player); obj.inventory = cloneObj(inventory); obj.mission = cloneObj(mission); try { str = so.flush(so.size); switch (str){ case SharedObjectFlushStatus.FLUSHED: break; case SharedObjectFlushStatus.PENDING: break; }; } catch(e) { popInfo("Save failed"); }; s = getClass(player.devType[_pc]); s[0] = (s[0] + ((("(" + player.lv[_pc]) + ") Day.") + game.day)); if (game.HC == true){ s[0] = (s[0] + " HC"); }; idx.saveName[idx.slot] = ("" + s[0]); popInfo("Game Saved."); }; saveIndex(); } public function pageChange(_arg1:int):Function{ var i = _arg1; return (function (_arg1:MouseEvent):void{ sound_scroll1.play(); page = i; if (menuId == 2){ removeUpgrades(); updateCastleMenu(); }; if (menuId == 5){ removeMedals(); updateMedals(); }; }); } public function changeUnlock(){ var _local1:Array; var _local2:int; var _local3:int; _local1 = ["1", "2"]; if (unlocked){ _local2 = 0; unlocked = false; window2_mc.unlockButton.unlockText.text = "Next Page"; } else { _local2 = 4; unlocked = true; window2_mc.unlockButton.unlockText.text = "Previous Page"; }; _local3 = 0; while (_local3 < 4) { _local1 = getClass(classList[(_local2 + _local3)]); if (idx.unlocked[(_local3 + _local2)] == true){ if (((((_local2 + _local3) == 3)) && ((((kongregate == 0)) && ((armor == 0)))))){ _local1 = ["Militia", "Playable in the Kongregate Version. Clicking it will open the link.", ""]; }; radio_mc[_local3].alpha = 1; radio_mc[_local3].mouseEnabled = true; } else { radio_mc[_local3].alpha = 0.5; radio_mc[_local3].mouseEnabled = false; _local1 = ["??????", "You need to win a medal to play this class.", ""]; }; radio_mc[_local3].dummy.mouseEnabled = false; radio_mc[_local3].txt.text = _local1[0]; radio_mc[_local3].hintTxt = [_local1[0], _local1[1], "", "", ""]; _local3++; }; updateGene(); } public function townEvent(){ var _local1:int; _local1 = 0; if ((game.day % 10) == 4){ news = (news + "It's a MOD sales day! You should check the shop.\n"); }; if (game.comp == true){ _local1 = int(((PARTY.ACTIVE + 1) / 2)); } else { _local1 = int(((Math.random() * Math.random()) * (PARTY.ACTIVE + 1))); }; if (_local1){ news = (news + (("Thanks to the Active skill, you gained extra " + _local1) + " AP to spend.\n")); }; game.ap = ((4 + _local1) + game.apFix); game.apFix = 0; } public function onEnterFrame_town(_arg1:Event){ var _local2:Boolean; var _local3:int; var _local4:int; delay++; if (cardCount > 0){ if (cardCount == 17){ cardEvent(tgCard); }; cardCount--; }; if (blendCounter){ blendCounter--; if (blendCounter == 0){ root.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); } else { if (blendType == 0){ _local3 = (blendCounter * 8); root.transform.colorTransform = new ColorTransform(1.01, 1.01, 1.1, 1, _local3, _local3, _local3, 0); } else { _local3 = (blendCounter * 8); root.transform.colorTransform = new ColorTransform(1.04, 1, 1, 1, _local3, (_local3 / 2), (_local3 / 2), 0); }; }; }; if ((((delay >= 3)) && ((menuId == 3)))){ player.optBoss[cs] = window2_mc.optBoss.selected; player.optWall[cs] = window2_mc.optWall.selected; }; if (window2_mc.anime){ window2_mc.anime = false; window2_mc.animeTime = 16; window2_mc.x = 630; }; if (((window2_mc.animeTime) && ((delay > 3)))){ window2_mc.animeTime--; window2_mc.x = (window2_mc.x - Math.pow(window2_mc.animeTime, 1.7)); i = 0; while (i < selectID) { buttonArray[i].x = (buttonArray[i].x - Math.pow(window2_mc.animeTime, 1.7)); i++; }; }; if (eventDialog){ return; }; _local2 = false; if ((((menuId == 3)) && ((delay > 3)))){ i = 0; while (i < (maxAlly + 1)) { if (player.exist[i] == false){ } else { if (player_mc[i].bg.hitTestPoint(mouseX, mouseY, true)){ _local2 = true; player_mc[i].alpha = 1; if (soundCs != i){ sound_pop1.play(); soundCs = i; }; } else { player_mc[i].alpha = 0.6; }; if (cs == i){ player_mc[i].alpha = 1; }; }; i++; }; if (_local2 == false){ soundCs = -1; }; }; if (((gamePaused) || (gameDialog))){ return; }; if ((((menuId == 4)) || ((menuId == 6)))){ invPopup(); }; if ((((((menuId == 2)) || ((menuId == 3)))) || ((menuId == 5)))){ hint(); }; if (delay < 4){ return; }; window2_mc.hint2.text = defHint; if (menuId == 1){ if (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)){ window2_mc.hint2.text = "\nTo the next day, to the next battle!"; }; if (((window2_mc.act2.visible) && (window2_mc.act2.hitTestPoint(mouseX, mouseY, true)))){ window2_mc.hint2.text = "\nYou can hire a henchman. Be aware, it's costly."; }; _local4 = 0; i = 0; while (i < radioCount) { if (((radio_mc[i].avail) && (radio_mc[i].card.hitTestPoint(mouseX, mouseY, true)))){ window2_mc.hint2.text = ("\n" + actList[i].desc); }; i++; }; }; if (menuId == 2){ if (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)){ window2_mc.hint2.text = "\nIt will completely repair you wall."; }; }; if (menuId == 3){ if (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)){ window2_mc.hint2.text = "\nYou will get a new recruit."; }; }; if (menuId == 4){ if (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)){ window2_mc.hint2.text = "\nThe blacksmith will refresh his inventory."; }; if (window2_mc.act2.hitTestPoint(mouseX, mouseY, true)){ window2_mc.hint2.text = "\nThe blacksmith will upgrade your weapon."; }; }; if (menuId == 5){ if (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)){ window2_mc.hint2.text = "\nRobbing visitors gives you some blood money."; }; if (((window2_mc.kongMc.visible) && (window2_mc.kongMc.kongButton.hitTestPoint(mouseX, mouseY, true)))){ window2_mc.hint2.text = "\nThe link to Kongregate is here for a reason!"; }; }; if (menuId == 6){ if (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)){ window2_mc.hint2.text = "\nYou can turn a weapon into a random Mod."; }; if (window2_mc.act2.hitTestPoint(mouseX, mouseY, true)){ window2_mc.hint2.text = "\nYou can recharge item like grenades and repair kits."; }; }; if (equipMode){ window2_mc.hint2.text = "\nClick an item to apply."; }; } public function procEventDialog(_arg1){ if (menuId == 1){ updateMissionMenu(); }; sound_click1.play(); if (eventDialog == _dialogActSleep){ root.transform.colorTransform = new ColorTransform(0, 0, 0, 1, 0, 0, 0, 0); select_end(); sound_click1.play(); exitMenu(); exitTown(); if (game.HC == true){ deleteGame(); }; if (mission.hire){ generateHenchman(); }; game.day++; eventList.push(_eventBegin); gotoAndStop("event"); }; eventDialog = 0; stage.removeChild(_arg1); } public function upgradeWeapon(_arg1:int, _arg2:int){ var _local4:*; var _local3:* = 0; var _local5:* = []; var _local6:* = []; if (_arg2){ return ((int((inventory.value[_arg1] * 1.2)) + 500)); }; generateStuff(_invRefer, inventory.id[_arg1]); weaponVariation(_invRefer, (inventory.lv[_arg1] + 1)); inventory.modMax[_invRefer] = inventory.modMax[_arg1]; _local5 = inventory.modText[_arg1].split(") "); if (_local5.length >= 3){ _local3 = 0; while (_local3 < (_local5.length - 2)) { _local6 = _local5[_local3].split("(Lv."); if (_local6.length < 2){ } else { _local4 = 0; while (_local4 < encRef.length) { if (_local6[0].indexOf(encRef[_local4].name) == -1){ } else { enchant(_invRefer, _local4, int(_local6[1])); }; _local4++; }; }; _local3++; }; }; } public function calcGrenadeCount(_arg1:int){ var _local2:int; _local2 = (325 - (player.trait[_arg1][TRAIT.MILITIA] * 4)); if (_local2 < 100){ _local2 = 100; }; player.grenadeCount[_arg1] = _local2; } public function endEquipMode(){ equipMode = 0; window2_mc.actHelp.visible = false; updateInvSlots(-1); updateAp(); removeInvIcon(); removeInvSlot(); invSlotCount = 0; invIconCount = 0; if (menuId == 4){ updateShopSlots(); }; if (menuId == 6){ removeChara(); updateEquipSlots(); }; } public function startBattleMedal(){ if (game.carryOver == true){ return; }; getMedal(_medalDay1); if (game.day >= 10){ getMedal(_medalDay2); }; if (game.day >= 20){ getMedal(_medalDay3); }; if (game.day >= 35){ getMedal(_medalDay4); }; if (game.day >= 50){ getMedal(_medalDay5); }; if (game.day >= 80){ getMedal(_medalDay6); }; if (game.day >= 150){ getMedal(_medalDay7); }; if (game.HC == true){ if (game.day >= 20){ getMedal(_medalHardcore1); }; if (game.day >= 80){ getMedal(_medalHardcore3); }; }; } public function updateAlly(){ var _local1:*; nextAlert = undefined; i = 0; while (i < maxAlly) { w = weapon(i); player.idleCount[i] = 0; player.frenzy[i] = 0; player_mc[i] = (new ally1() as MovieClip); player_mc[i].x = (510 + (i * 2)); if (i == 3){ player_mc[i].x = (player_mc[i].x - 8); }; player_mc[i].y = playerY[i]; player_mc[i].name = ("player" + i); cursor_mc[i] = (new cursor2() as MovieClip); cursor_mc[i].name = ("cursor" + i); clearAiTarget(i); player.rampage[i] = 0; refreshPlayer(i, w); if (player.exist[i]){ player_mc[i].visible = true; player_mc[i].pic = player.pic[i]; player_mc[i].gotoAndPlay(player_mc[i].anime2); player.shooting[i] = false; player.shootTimer[i] = 0; player.accuracyFix[i] = 0; if (i == _pc){ _local1 = _invPlayer; while (_local1 < (game.invSlot + _invPlayer)) { if (inventory.type[_local1] != _typeUse){ inventory.ammo[_local1] = inventory.ammoMax[_local1]; }; inventory.reloadTime[_local1] = 0; _local1++; }; }; if (i != hero){ player.aiFunc[i] = aiNormal; if (player.ai[i] == _aiFireAtWill){ player.aiFunc[i] = aiFireAtWill; }; if (player.ai[i] == _aiAir){ player.aiFunc[i] = aiAir; }; if (player.ai[i] == _aiArmor){ player.aiFunc[i] = aiArmor; }; cursor_mc[i].x = (480 + (i * 2)); cursor_mc[i].y = playerY[i]; cursor_mc[i].visible = true; player.target[i] = undefined; player.aimCount[i] = 100; stage.addChild(cursor_mc[i]); inventory.ammo[w] = inventory.ammoMax[w]; inventory.reloadTime[w] = 0; }; } else { player_mc[i].gotoAndStop(player_mc[i].anime2); player_mc[i].visible = false; }; stage.addChild(player_mc[i]); i++; }; } public function getNews(){ var _local1:*; _local1 = news; if (_local1 == ""){ _local1 = "No news today."; }; return (_local1); } public function createInvIcon(_arg1:int, _arg2:int){ var _local3:int; _local3 = invIconCount; invIcon_mc[_local3] = (new itemPicture() as MovieClip); invIcon_mc[_local3].gotoAndStop(inventory.graphic[_arg1]); invIcon_mc[_local3].x = ((invSlot_mc[_arg2].x - ((invIcon_mc[_local3].width - 48) / 2)) - 4); invIcon_mc[_local3].y = invSlot_mc[_arg2].y; window2_mc.addChild(invIcon_mc[_local3]); invIcon_mc[_local3].filters = [filterDrop]; invIcon_mc[_local3].visible = true; invIcon_mc[_local3].mouseEnabled = false; invIcon_mc[_local3].num.y = 2; if ((((inventory.type[_arg1] == _typeUse)) && ((inventory.ammoMax[_arg1] > 0)))){ invIcon_mc[_local3].num.text = ("x " + inventory.ammo[_arg1]); invIcon_mc[_local3].num.visible = true; } else { invIcon_mc[_local3].num.visible = false; }; invIconCount++; return ((invIconCount - 1)); } public function volumeChange(_arg1){ var _local2:SoundTransform = SoundMixer.soundTransform; _local2.volume = _arg1; SoundMixer.soundTransform = _local2; if (_arg1 == 0){ vol.gotoAndStop(2); } else { vol.gotoAndStop(1); }; } public function wexpUp(_arg1:int){ var _local2:int; var _local3:int; var _local4:int; var _local5:*; var _local6:*; _local2 = 0; while (_local2 < (_maxWeaponSkill - 1)) { _local3 = wexpList[_local2]; _local4 = ((player.trait[_arg1][_local3] * 12) + 20); if (_arg1 == _pc){ _local6 = 1; } else { _local6 = 0.5; }; if (player.wexp[_arg1][_local2] > int((_local4 * _local6))){ var _local7 = player.trait[_arg1]; var _local8 = _local3; var _local9 = (_local7[_local8] + 1); _local7[_local8] = _local9; _local5 = REF[ID[_local3]](_arg1); if (_arg1 == _pc){ news = (news + (((("You have earned total of " + _local4) + " weapon exp and gain ") + _local5[0]) + ".\n")); } else { news = (news + (((((player.name[_arg1] + " has earned total of ") + _local4) + " weapon exp and gains ") + _local5[0]) + ".\n")); }; player.wexp[_arg1][_local2] = 0; }; _local2++; }; } public function kongregateStats(){ kongregateStatsIdx(); if ((((((kongregate == 0)) || (!((game.submit == true))))) || (kongregateEmu))){ return; }; kongAPI.stats.submit("TotalKills", game.totalKill); kongAPI.stats.submit("TotalMoney", game.totalMoney); kongSubmit2("PcLevelReached", player.lv[_pc]); kongSubmit2("AlliesRecruited", getAllyNum()); kongSubmit2("PerfectGames", game.noDamage); kongSubmit2("EggsCollected", game.eggsCollected); } public function procGeneMenu(){ var _local1:int; resetOption(); statsCount = 0; window2_mc.stop(); window2_mc.hint.visible = false; window2_mc.optHC.label = "Hardcore Mode"; window2_mc.optHC.selected = game.HC; window2_mc.optHint.hintTxt = ["Hardcore Mode", "In Hardcore Mode, your save file is deleted at the start of each battle. Pray to the RNG and prepare to throw your keyboard!", "", "", ""]; window2_mc.optCasual.label = "Casual Mode"; window2_mc.optCasual.selected = game.casual; window2_mc.optHint3.hintTxt = ["Casual Mode", "If the game is too hard, enabling this option makes it a lot easier. Hardcore Mode will be disabled if you choose this option.", "", "", ""]; _local1 = 0; while (_local1 < _maxPic) { pic_mc[_local1] = (new ally4() as MovieClip); pic_mc[_local1].x = (((_local1 % 11) * 32) + 176); pic_mc[_local1].y = ((int((_local1 / 11)) * 30) + 157); pic_mc[_local1].pic = _local1; pic_mc[_local1].gotoAndPlay("stand"); pic_mc[_local1].alpha = 0.7; pic_mc[_local1].chara1.mouseEnabled = false; window2_mc.addChild(pic_mc[_local1]); _local1++; }; _local1 = 0; while (_local1 < 4) { radio_mc[_local1] = (new radioButton() as MovieClip); radio_mc[_local1].x = 180; radio_mc[_local1].y = (240 + (_local1 * 20)); window2_mc.addChild(radio_mc[_local1]); radioCount++; _local1++; }; ci = _invPlayer; changeUnlock(); } public function loadIndex(){ var _local2:Object; var _local1:SharedObject = SharedObject.getLocal("elonas_idx"); if (_local1){ _local2 = _local1.data; if (_local2.idx == undefined){ return (false); }; idx = cloneObj(_local2.idx); medal = cloneObj(_local2.medal); if (idx.slot == undefined){ idx.slot = 0; }; }; } public function updateGene(){ var _local1:Array; var _local2:*; var _local3:int; var _local4:*; var _local5:*; _local1 = ["1", "2", "3"]; generatePlayer(0, 1, classList[geneClass]); player.pic[0] = cs; _local1 = getClass(classList[geneClass]); window2_mc.desc2.text = ("" + _local1[2]); window2_mc.classPic.gotoAndStop(((geneClass % 4) + 1)); updateInterface(); updateInventory(); if (unlocked){ _local2 = 4; } else { _local2 = 0; }; _local3 = 0; while (_local3 < 4) { if (((((_local3 + _local2) == 3)) && ((((kongregate == 0)) && ((armor == 0)))))){ radio_mc[_local3].gotoAndStop(3); } else { if (geneClass == (_local3 + _local2)){ radio_mc[_local3].gotoAndStop(2); } else { radio_mc[_local3].gotoAndStop(1); }; }; _local3++; }; removeStats(); _local4 = []; _local5 = _pc; _local3 = 0; while (_local3 < _maxTrait) { if (player.trait[_local5][_local3] == 0){ } else { if ((((((_local5 == _pc)) && ((player.ai[_local5] == _aiHero)))) && ((((_local3 == TRAIT.BASE_AIMING)) || ((_local3 == TRAIT.BASE_TEAMWORK)))))){ } else { _local2 = (50000 - _local3); if (PARTY[ID[_local3]] != undefined){ _local2 = (10000 + _local3); }; if (traitRef[_local3].group == G_BASE){ _local2 = (70000 + _local3); }; if (_local3 < G_GEN){ _local2 = (100000 + _local3); }; _local4[_local4.length] = {id:_local3, sort:_local2}; }; }; _local3++; }; _local4.sortOn("sort", (Array.NUMERIC | Array.DESCENDING)); statsCount = 0; i2 = 0; while (i2 < _local4.length) { _local3 = _local4[i2].id; _local2 = statsCount; _local1 = REF[ID[_local3]](_pc); stats_mc[_local2] = (new trait() as MovieClip); stats_mc[_local2].x = (271 + (int((_local2 / 4)) * 130)); stats_mc[_local2].y = (244 + ((_local2 % 4) * 18)); stats_mc[_local2].traitName.text = _local1[0]; stats_mc[_local2].hintTxt = _local1; if ((((traitRef[_local3].group == G_BASE)) || ((_local3 < G_GEN)))){ Tweener.addTween(stats_mc[_local2].traitName, {time:0, _color:278544}); stats_mc[_local2].icon.gotoAndStop(2); } else { if (PARTY[ID[_local3]] != undefined){ stats_mc[_local2].icon.gotoAndStop(3); } else { stats_mc[_local2].icon.gotoAndStop(1); }; }; window2_mc.addChild(stats_mc[_local2]); statsCount++; i2++; }; } public function updateHP(){ castleHPText.text = ((("" + game.castleHP) + "/") + game.castleMHP); } public function townMedalBonus(){ if (medal[_medalAction1]){ if (Math.random() > 0.6){ game.ap++; }; }; if (medal[_medalAction2]){ if (Math.random() > 0.6){ game.ap++; }; }; if (medal[_medalAction3]){ if (Math.random() > 0.6){ game.ap++; }; }; } public function exitMenu(){ var _local1:*; defHint = ""; stage.focus = stage; currentPop = -1; currentHint = -1; delay = 0; cs = _pc; drag = false; equipMode = 0; select_end(); if (menuId == 1){ _local1 = 0; while (_local1 < radioCount) { radio_mc[_local1].removeEvent(); _local1++; }; removeRadio(); }; if (menuId == 2){ removeUpgrades(); window2_mc.page1.removeEventListener(MouseEvent.MOUSE_DOWN, pageChange); window2_mc.page2.removeEventListener(MouseEvent.MOUSE_DOWN, pageChange); window2_mc.hint.visible = false; }; if ((((menuId == 3)) || ((menuId == 6)))){ removeChara(); }; if (menuId == 6){ removeInvSlot(); removeInvIcon(); window2_mc.popup.visible = false; }; if (menuId == 3){ window2_mc.order.removeEventListener(Event.OPEN, orderOpen); window2_mc.order.removeEventListener(Event.CLOSE, orderClose); window2_mc.order.removeEventListener(Event.CHANGE, orderClick); window2_mc.order.removeEventListener(ListEvent.ITEM_ROLL_OVER, orderRollOver); removeStats(); window2_mc.hint.visible = false; }; if (menuId == 4){ removeInvSlot(); removeInvIcon(); window2_mc.popup.visible = false; }; if (menuId == 5){ removeMedals(); window2_mc.page1.removeEventListener(MouseEvent.MOUSE_DOWN, pageChange); window2_mc.page2.removeEventListener(MouseEvent.MOUSE_DOWN, pageChange); window2_mc.hint.visible = false; }; radioCount = 0; invSlotCount = 0; invIconCount = 0; statsCount = 0; medalCount = 0; upgradeCount = 0; page = 0; } public function dbg(_arg1){ if (dbgMode == 0){ return; }; dbgWin.info.text = (dbgWin.info.text + (("" + _arg1) + " ")); } public function debug_survival(_arg1){ game.day = 10; generatePlayer(_pc, (_arg1 + 1), -1); generatePlayer(1, (_arg1 + 1), -1); generatePlayer(2, (_arg1 * 1), -1); generatePlayer(3, (_arg1 + 1), -1); player.trait[_pc][TRAIT.BIG_GUN] = 30; player.trait[_pc][TRAIT.RIFLE] = 30; player.trait[_pc][TRAIT.SHOTGUN] = 30; player.trait[_pc][TRAIT.SMALL_GUN] = 30; generateStuff((_invPlayer + 1), 19); generateStuff((_invPlayer + 2), 20); generateStuff((_invPlayer + 3), 1); generateStuff((_invPlayer + 4), 26); generateMission(_arg1); game.castleMHP = (40 + (_arg1 * 5)); game.castleHP = game.castleMHP; game.sister = 500; } public function exclusiveLink(){ sound_click1.play(); popInfo("A Webpage has been opend in your browser."); var request:URLRequest = new URLRequest(urlExclusive); try { navigateToURL(request); } catch(e:Error) { }; } public function limit(_arg1, _arg2, _arg3){ if (_arg1 < _arg2){ return (_arg2); }; if (_arg1 > _arg3){ return (_arg3); }; return (_arg1); } public function rampage(_arg1:int){ if (player.rampage[_arg1] > 0){ return; }; var _local2 = player.rampage; var _local3 = _arg1; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (player.rampage[_arg1] == -7){ rampageOn(_arg1, (10 * 30)); } else { if (_arg1 == _pc){ text_effect(text_rampage[Math.abs(player.rampage[_arg1])]); }; }; } public function upgradeDone(_arg1:int){ var _local2:String; _local2 = upgradeRef[_arg1]; var _local3 = game; var _local4 = _local2; var _local5 = (_local3[_local4] + 1); _local3[_local4] = _local5; if (_local2 == "wallFix"){ game.castleHP = game.castleMHP; }; if (_local2 == "wallUpgrade"){ game.castleHP = (game.castleHP + 5); game.castleMHP = (game.castleMHP + 5); }; if (_local2 == "storage"){ game.invSlot++; }; if (_local2 == "smith"){ generateShop(); }; upgradeMedal(); } public function reloading(_arg1:int, _arg2:int){ var _local3 = inventory.reloadTime; var _local4 = _arg2; var _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; if (player.rampage[_arg1] > 0){ if ((inventory.reloadTime[_arg2] % 3) == 2){ _local3 = inventory.reloadTime; _local4 = _arg2; _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; }; }; if (inventory.manualReload[_arg2]){ if (inventory.reloadTime[_arg2] <= 0){ _local3 = inventory.ammo; _local4 = _arg2; _local5 = (_local3[_local4] + 1); _local3[_local4] = _local5; if (inventory.ammo[_arg2] == inventory.ammoMax[_arg2]){ cancelReload(_arg1, _arg2); } else { reload(_arg1, _arg2); }; if (_arg1 == _pc){ updateAmmoBar(); }; }; } else { if (_arg1 == _pc){ ammobar.scaleX = (1 - (inventory.reloadTime[_arg2] / int((((inventory.reloadTimeMax[_arg2] * 100) / (100 + CALC.RELOADING(_arg1))) + 1)))); }; if (inventory.reloadTime[_arg2] <= 0){ inventory.ammo[_arg2] = inventory.ammoMax[_arg2]; if (_arg1 == _pc){ updateAmmoBar(); }; sound_reloaded1.play(0, 0, trans[_arg1]); player_mc[_arg1].gotoAndStop(player_mc[_arg1].anime2); }; }; } public function MouseLDownFunc_title(_arg1:MouseEvent){ var f:*; var request:URLRequest; var event = _arg1; var hitX:int = stage.mouseX; var hitY:int = stage.mouseY; if (showUpdate == true){ if (window2_mc.procButton.hitTestPoint(hitX, hitY, true)){ stage.removeChild(window2_mc); sound_click1.play(); showUpdate = false; }; return; }; if (gameDialog){ if (dialog_mc.yes.hitTestPoint(hitX, hitY, true)){ endDialog(true); } else { endDialog(false); }; return; }; if (vol.hitTestPoint(hitX, hitY, true)){ toggleMute(); return; }; if (helpMode){ procHelp(); return; }; if ((((armor == 0)) && (kong_mc.exclusiveButton.hitTestPoint(hitX, hitY, true)))){ exclusiveLink(); }; if ((((armor == 0)) && (kong_mc2.bt.hitTestPoint(hitX, hitY, true)))){ kongregateLink(); }; if (armorButton.hitTestPoint(hitX, hitY, true)){ armorLink(); }; if (newGameButton.hitTestPoint(hitX, hitY, true)){ root.transform.colorTransform = new ColorTransform(0, 0, 0, 1, 0, 0, 0, 0); sound_click1.play(); saveBox.visible = false; saveBox.enabled = false; stage.focus = stage; exitTitle(); eventList.push(_eventBegin); eventList.push(_eventGene); generateMission(0); gotoAndPlay("event"); return; }; if (continueButton.hitTestPoint(hitX, hitY, true)){ sound_click1.play(); f = loadGame(); if (f == false){ sound_beep.play(); popInfo("Save Game not found."); return; }; saveBox.visible = false; saveBox.enabled = false; stage.focus = stage; gameContinued = true; exitTitle(); gotoAndStop("town"); return; }; if (helpButton.hitTestPoint(hitX, hitY, true)){ openHelp(); }; if (elonaButton.hitTestPoint(hitX, hitY, true)){ sound_click1.play(); popInfo("A Webpage has been opend in your browser."); request = new URLRequest(_elonaUrl); try { navigateToURL(request); } catch(e:Error) { }; }; if (trash.hitTestPoint(hitX, hitY, true)){ showDialog(_dialogTrash); dialog_mc.question.text = (("Really delete\n" + idx.saveName[idx.slot]) + "?"); return; }; } public function procHelp(){ if (helpMode == 4){ if (window4_mc.help.hitTestPoint(mouseX, mouseY, true)){ return; }; }; if (helpMode == 3){ if (window4_mc.link1.hitTestPoint(mouseX, mouseY, true)){ procLink(1); return; }; if (window4_mc.link2.hitTestPoint(mouseX, mouseY, true)){ procLink(2); return; }; if (window4_mc.link3.hitTestPoint(mouseX, mouseY, true)){ procLink(3); return; }; if (window4_mc.link4.hitTestPoint(mouseX, mouseY, true)){ procLink(4); return; }; if (window4_mc.link5.hitTestPoint(mouseX, mouseY, true)){ procLink(5); return; }; if (window4_mc.link6.hitTestPoint(mouseX, mouseY, true)){ procLink(6); return; }; if (window4_mc.link7.hitTestPoint(mouseX, mouseY, true)){ procLink(7); return; }; if (window4_mc.link8.hitTestPoint(mouseX, mouseY, true)){ procLink(8); return; }; if (window4_mc.link10.hitTestPoint(mouseX, mouseY, true)){ procLink(10); return; }; }; if (window4_mc.help1.hitTestPoint(mouseX, mouseY, true)){ window4_mc.gotoAndStop("help1"); sound_scroll1.play(); helpMode = 1; return; }; if (window4_mc.help2.hitTestPoint(mouseX, mouseY, true)){ window4_mc.gotoAndStop("help2"); sound_scroll1.play(); helpMode = 2; return; }; if (window4_mc.help3.hitTestPoint(mouseX, mouseY, true)){ window4_mc.gotoAndStop("help3"); sound_scroll1.play(); helpMode = 3; return; }; if (window4_mc.help4.hitTestPoint(mouseX, mouseY, true)){ window4_mc.gotoAndStop("help4"); window4_mc.addFrameScript((window4_mc.currentFrame - 1), insertHelp); sound_scroll1.play(); helpMode = 4; return; }; sound_click1.play(); if (gameStage != _stageTitle){ window_mc.saveGameButton.mouseEnabled = true; window_mc.helpButton.mouseEnabled = true; window_mc.returnTitleButton.mouseEnabled = true; } else { elonaButton.mouseEnabled = true; }; if (blurMcHelp != undefined){ stage.removeChild(blurMcHelp); }; window4_mc.removeEventListener(Event.ENTER_FRAME, onEnterFrame_help); stage.removeChild(window4_mc); helpMode = 0; } public function exitTitle(){ stage.removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc_title); removeEventListener(Event.ENTER_FRAME, onEnterFrame_title); i = 0; while (i < _maxRunner) { stage.removeChild(runner_mc[i]); i++; }; } public function aiAir(_arg1:int, _arg2:int){ var _local3:int; var _local4:*; _local3 = 0; while (_local3 < 3) { _local4 = aiTarget[_air][weaponRange[_arg2][_local3]][0]; if (_local4 != undefined){ aiTarget[_air][weaponRange[_arg2][_local3]] = [undefined, 1000]; _local4.tag = _defTag; return (_local4); }; _local3++; }; return (undefined); } public function invPopupUpdate(_arg1:int){ var _local3:*; var _local4:*; var _local2:* = 0; if (popupMc == undefined){ if (_arg1 == currentPop){ return; }; currentPop = _arg1; _local3 = window2_mc.popup; } else { _local3 = popupMc; }; _local3.itemName.text = inventory.name[_arg1]; _local3.priceText.text = stuffGetValue(_arg1, 1); _local3.detailText.textColor = 0; _local3.itemName.textColor = 0; if (inventory.lv[_arg1] > 1){ _local3.itemName.textColor = 204; }; if (inventory.type[_arg1] == _typeGun){ _local3.modTxt.text = ((inventory.mod[_arg1] + "/") + inventory.modMax[_arg1]); _local4 = ("" + inventory.attack[_arg1]); if (inventory.shell[_arg1] > 1){ _local4 = (_local4 + (" x" + inventory.shell[_arg1])); }; _local3.dmgText.text = _local4; _local3.dmgAirText.text = (inventory.dmgAir[_arg1] + "%"); _local3.dmgArmorText.text = (inventory.dmgArmor[_arg1] + "%"); _local3.accuracyText.text = inventory.baseAccuracy[_arg1]; _local3.reloadText.text = (int(((inventory.reloadTimeMax[_arg1] * 1000) / 20)) + "ms"); if (inventory.manualReload[_arg1]){ _local3.reloadText.text = (_local3.reloadText.text + "(M)"); }; _local3.ammoText.text = inventory.ammoMax[_arg1]; _local3.rateText.text = ((int((300 / (1000 / inventory.shootRate[_arg1]))) / 10) + "/sec"); if (inventory.modText[_arg1] == ""){ _local3.detailText.text = "No Modification"; } else { _local3.detailText.textColor = 204; _local3.detailText.text = inventory.modText[_arg1]; }; if ((((inventory.ammoMax[_arg1] == 1)) && (!((inventory.id[_arg1] == 27))))){ _local3.ammoText.text = "-"; _local3.reloadText.text = "-"; }; _local3.reqText.text = ((traitRef[inventory.reqTrait[_arg1]].name + " ") + inventory.reqLv[_arg1]); if (player.trait[_pc][inventory.reqTrait[_arg1]] < inventory.reqLv[_arg1]){ _local3.reqText.textColor = 0xCC0000; } else { _local3.reqText.textColor = 204; }; } else { _local3.modTxt.text = "-"; _local3.dmgText.text = "-"; _local3.dmgAirText.text = "-"; _local3.dmgArmorText.text = "-"; _local3.accuracyText.text = "-"; _local3.reloadText.text = "-"; _local3.ammoText.text = "-"; _local3.rateText.text = "-"; _local3.reqText.text = "-"; _local3.reqText.textColor = 0; _local3.detailText.text = getItemDetail(_arg1); }; _local3.visible = true; } public function generateRecruit(){ generatePlayer(_nc, ((int(((Math.random() * game.day) * 0.3)) + int((game.day / 5))) + 1), -1); } public function listTrait(_arg1:int){ var _local2:* = []; var _local3:* = player.devType[_arg1]; var _local4:int; var _local5:int; var _local6:int; var _local7:int; _local4 = 0; while (_local4 < _maxTrait) { if ((((player.trait[_arg1][_local4] == undefined)) || ((player.trait[_arg1][_local4] == 0)))){ } else { _local7++; }; _local4++; }; _local4 = 0; while (_local4 < devGroup[_local3].length) { _local5 = TRAIT[devGroup[_local3][_local4]]; if (traitRef[_local5] == undefined){ break; }; if (traitRef[_local5].maxLv < (player.trait[_arg1][_local5] + 1)){ } else { if (traitRef[_local5].reqLv > player.lv[_arg1]){ } else { if (traitRef[_local5].reqTrait != ""){ //unresolved if } else { if ((((_local7 > 17)) && ((((player.trait[_arg1][_local5] == undefined)) || ((player.trait[_arg1][_local5] == 0)))))){ } else { _local2[_local6] = _local5; _local6++; }; }; }; }; _local4++; }; return (_local2); } public function getBestSkill(_arg1:String, _arg2=0){ var _local3:int; var _local4:int; var _local5:int; _local3 = 0; while (_local3 < maxAlly) { if (player.exist[_local3] == false){ } else { if (CALC[_arg1](_local3) > _local4){ _local4 = CALC[_arg1](_local3); _local5 = player.trait[_local3][TRAIT[_arg1]]; }; }; _local3++; }; if (_arg2 == 1){ return (_local4); }; PARTY[_arg1] = _local4; PARTYLV[_arg1] = _local5; } public function shoot(_arg1:int){ var _local2:int; var _local3:int; var _local4:int; var _local5:int; var _local6:int; var _local7:int; var _local8:int; var _local9:*; var _local10:Boolean; var _local11:int; var _local12:int; var _local13:int; var _local14:*; var _local15:*; var _local16:*; var _local17:MovieClip; if (player.shootTimer[_arg1] > 0){ return; }; _local13 = 0; if (_arg1 == hero){ _local11 = weapon(_arg1); if ((((inventory.num[_local11] == 0)) || (!((inventory.type[_local11] == _typeGun))))){ sound_beep.play(); popInfo("You need a gun to shoot!"); player.shooting[_arg1] = false; return; }; if (player.trait[_pc][inventory.reqTrait[_local11]] < inventory.reqLv[_local11]){ sound_beep.play(); popInfo("You don't have the required weapon skill!"); player.shooting[_arg1] = false; return; }; _local9 = ((13 * (100 + ((player.accuracyFix[_arg1] * player.accuracyFix[_arg1]) * 1000))) / player.accuracyDiv[_arg1]); if (game.tight == true){ _local9 = (_local9 * 0.75); }; _local6 = mouseY; _local5 = mouseX; } else { _local11 = weapon(_arg1); if (player.trait[_arg1][inventory.reqTrait[_local11]] < inventory.reqLv[_local11]){ return; }; _local14 = player.target[_arg1]; if ((((_local14.isDead() == true)) || ((_local14.x < -10)))){ if (((player.onMark[_arg1]) && (player.optWall[_arg1]))){ searchNextAlert(_arg1); } else { clearAiTarget(_arg1); }; return; }; if (inventory.num[_local11] == 0){ return; }; _local9 = ((17 * 100) / player.accuracyDiv[_arg1]); if (((fireAtWill) || ((player.ai[_arg1] == _aiFireAtWill)))){ _local9 = ((_local9 * (100 + ((50 * 100) / (100 + (CALC.HUNTER(_arg1) * 2))))) / 100); }; _local5 = _local14.x; _local6 = _local14.y; }; if (((inventory.reloadTime[_local11]) && ((inventory.autoReload[_local11] == 0)))){ return; }; if (inventory.ammo[_local11] <= 0){ player.shooting[_arg1] = false; player.burst[_arg1] = 0; reload(_arg1, _local11); return; }; player.shootTimer[_arg1] = (1000 + (player.trait[_arg1][TRAIT.AIMED_SHOT] * 200)); if (inventory.automatic[_local11] == false){ if (_arg1 != hero){ player.shootTimer[_arg1] = (player.shootTimer[_arg1] + int((Math.random() * ((inventory.shootRate[_local11] / 1.5) / player.workRate[_arg1])))); } else { player.shooting[_arg1] = false; }; }; inventory.reloadTime[_local11] = 0; if (inventory.id[_local11] == 16){ _local15 = 0; if (chainMode[_arg1] != 3){ if (chainMode[_arg1] != 2){ if (chainMode[_arg1] == 1){ _local15 = (chainSoundLength - chainSound[_arg1].position); if (chainSound[_arg1] != null){ chainSound[_arg1].stop(); }; }; chainMode[_arg1] = 2; chainSound[_arg1] = (sound_chain1.play(_local15, 0, trans[_arg1]) as SoundChannel); }; if ((((chainPos[_arg1] > 82)) || (((chainSound[_arg1].position + 400) >= chainSoundLength)))){ chainMode[_arg1] = 3; chainSound[_arg1] = (sound_chain3.play(0, 999999, trans[_arg1]) as SoundChannel); }; chainPos[_arg1] = (chainPos[_arg1] + 2); return; }; chainPos[_arg1] = 82; }; if ((((inventory.id[_local11] == 24)) || ((inventory.id[_local11] == 25)))){ if (chainMode[_arg1] == 0){ if (_arg1 == hero){ player.shootTimer[_arg1] = 0; }; player_mc[_arg1].gotoAndPlay(player_mc[_arg1].anime3); chainMode[_arg1] = 1; chainSound[_arg1] = (sound_bow2.play(_local15, 0, trans[_arg1]) as SoundChannel); player.accuracyFix[_arg1] = (player.accuracyFix[_arg1] + inventory.accuracyDec[_local11]); return; } else { chainMode[_arg1] = 0; if (chainSound[_arg1] != null){ chainSound[_arg1].stop(); }; }; } else { player.accuracyFix[_arg1] = (player.accuracyFix[_arg1] + (inventory.accuracyDec[_local11] / (1 + IF((game.tight == true))))); }; if (inventory.reloadTimeMax[_local11] != 0){ var _local18 = inventory.ammo; var _local19 = _local11; var _local20 = (_local18[_local19] - 1); _local18[_local19] = _local20; if (_arg1 == _pc){ if ((((inventory.ammo[_local11] == 0)) && ((game.hintReload == false)))){ game.hintReload = true; popInfo("Reload your gun by pressing Space Key!"); }; updateAmmoBar(); }; }; if (player_mc[_arg1].currentFrame > (player_mc[_arg1].anime1 + 3)){ player_mc[_arg1].gotoAndPlay(player_mc[_arg1].anime1); }; if (inventory.id[_local11] != 16){ gunSound[_arg1].play(0, 0, trans[_arg1]); }; _local2 = int((((inventory.attack[_local11] * mission.dmgFix) * ((100 + CALC.AIMED_SHOT(_arg1)) + CALC.NOBLE(_arg1))) / 100)); if (player.trait[_arg1][TRAIT.DUELIST] > 0){ _local2 = int(((_local2 * (100 + player.frenzy[_arg1])) / 100)); }; if (player.trait[_arg1][TRAIT.SNIPER] > 0){ _local16 = (100 + (CALC.SNIPER(_arg1) * player.idleCount[_arg1])); if (_local16 >= calcSniperMaxDamage(player.trait[_arg1][TRAIT.SNIPER])){ _local16 = calcSniperMaxDamage(player.trait[_arg1][TRAIT.SNIPER]); }; _local2 = int(((_local2 * _local16) / 100)); }; if (player.rampage[_arg1] > 0){ _local2 = int((_local2 * 1.5)); }; if (inventory.special[_local11]){ _local7 = ((_local5 + (Math.random() * _local9)) - (Math.random() * _local9)); _local8 = ((_local6 + (Math.random() * _local9)) - (Math.random() * _local9)); if (inventory.id[_local11] == 21){ throwGrenade(_arg1, _local11, player_mc[_arg1].x, player_mc[_arg1].y, _local7, _local8, 12, _local2, 1); return; }; if (inventory.id[_local11] == 22){ throwRocket(_arg1, _local11, player_mc[_arg1].x, player_mc[_arg1].y, _local7, _local8, 7, _local2, 1); return; }; if ((((inventory.id[_local11] == 23)) || ((inventory.id[_local11] == 26)))){ player.idleCount[_arg1] = (player.idleCount[_arg1] * 0.5); throwGrenade(_arg1, _local11, player_mc[_arg1].x, player_mc[_arg1].y, _local7, _local8, 20, _local2, 3); return; }; if (inventory.id[_local11] == 24){ player.idleCount[_arg1] = (player.idleCount[_arg1] * 0.5); throwGrenade(_arg1, _local11, player_mc[_arg1].x, player_mc[_arg1].y, _local7, _local8, 10, _local2, 2); return; }; if (inventory.id[_local11] == 25){ player.idleCount[_arg1] = (player.idleCount[_arg1] * 0.5); throwGrenade(_arg1, _local11, (player_mc[_arg1].x + 5), player_mc[_arg1].y, (_local7 + 20), _local8, 10, _local2, 2); throwGrenade(_arg1, _local11, player_mc[_arg1].x, player_mc[_arg1].y, _local7, _local8, 10, _local2, 2); throwGrenade(_arg1, _local11, (player_mc[_arg1].x - 5), player_mc[_arg1].y, (_local7 - 20), _local8, 10, _local2, 2); return; }; if (inventory.id[_local11] == 27){ if (_arg1 != hero){ _local7 = (_local7 - 200); }; throwGrenade(_arg1, _local11, player_mc[_arg1].x, player_mc[_arg1].y, _local7, _local8, 10, _local2, 4); reload(_arg1, _local11); return; }; }; if ((((((player.trait[_arg1][TRAIT.BURST] > 0)) && ((inventory.automatic[_local11] == true)))) && ((inventory.reqTrait[_local11] == TRAIT.RIFLE)))){ _local18 = player.burst; _local19 = _arg1; _local20 = (_local18[_local19] + 1); _local18[_local19] = _local20; if (player.burst[_arg1] <= CALC.BURST(_arg1)){ player.accuracyFix[_arg1] = (player.accuracyFix[_arg1] - inventory.accuracyDec[_local11]); _local2 = int((_local2 * 1.25)); }; }; if ((((((inventory.automatic[_local11] == false)) && ((player.trait[_arg1][TRAIT.POWER_SHOT] > 0)))) && ((CALC.POWER_SHOT(_arg1) > (Math.random() * 100))))){ _local2 = int((_local2 * 1.5)); _local13 = 1; }; if ((((((((inventory.manualReload[_local11] == false)) && ((inventory.ammo[_local11] == 0)))) && ((player.trait[_arg1][TRAIT.ONE_SHOT] > 0)))) && ((((inventory.reqTrait[_local11] == TRAIT.SMALL_GUN)) || ((inventory.id[_local11] == 13)))))){ _local2 = int(((_local2 * (100 + CALC.ONE_SHOT(_arg1))) / 100)); blendType = 0; blendCounter = (blendCounter + 15); shake(5, 1.5, 1); _local13 = 2; }; _local3 = 0; while (_local3 < player.shell[_arg1]) { _local12 = 0; _local7 = ((_local5 + (Math.random() * _local9)) - (Math.random() * _local9)); _local8 = ((_local6 + (Math.random() * _local9)) - (Math.random() * _local9)); if (((sister.hitTestPoint(_local7, _local8, true)) && ((sister.dead == false)))){ sound_killed.play(0, 0, trans[9]); sister.gotoAndPlay("dead"); sister.dead = true; }; _local4 = 0; while (_local4 < maxEnemy) { if (enemyArray[_local4].isFree() == false){ if (enemyArray[_local4].mc.shadowHit == false){ //unresolved if } else { if (enemyArray[_local4].mc.hitTestPoint(_local7, _local8, true)){ if (((Math.random() * 100) * player.shell[_arg1]) < CALC.SENSE(_arg1)){ _local12 = 2; }; if ((((_local8 > (enemyArray[_local4].crit[2] + enemyArray[_local4].y))) && ((_local8 < (enemyArray[_local4].crit[3] + enemyArray[_local4].y))))){ if ((((_local7 > (enemyArray[_local4].crit[0] + enemyArray[_local4].x))) && ((_local7 < (enemyArray[_local4].crit[1] + enemyArray[_local4].x))))){ if (enemyArray[_local4].isDead() == false){ _local12 = 1; }; }; }; if (((((((Math.random() * 100) < CALC.ONE_HIT_KILL(_arg1))) && ((inventory.typeMinor[_local11] == _typeSniper)))) && (!((enemyArray[_local4].id == _boss))))){ _local2 = 999999; _local13 = 3; }; if (player.trait[_arg1][TRAIT.DUELIST] > 0){ player.frenzy[_arg1] = (player.frenzy[_arg1] + ((CALC.DUELIST(_arg1) / (inventory.shootRate[_local11] * 0.02)) + 0.05)); if (player.frenzy[_arg1] > calcDuelistMaxDamage(player.trait[_arg1][TRAIT.DUELIST])){ player.frenzy[_arg1] = calcDuelistMaxDamage(player.trait[_arg1][TRAIT.DUELIST]); }; }; _local10 = true; enemyArray[_local4].damage(_local2, _local11, _local7, _local8, _arg1, _local12); }; }; }; _local4++; }; if (_local13){ drawTrail(_local7, _local8, (player_mc[_arg1].x - 10), player_mc[_arg1].y, _local13); }; if (_local10 == false){ player.idleCount[_arg1] = 0; if (_local8 > 150){ _local17 = new effect(); _local17.x = _local7; _local17.y = (_local8 + 4); _local17.gotoAndPlay("impact1"); stage.addChild(_local17); }; }; _local3++; }; player.idleCount[_arg1] = (player.idleCount[_arg1] * 0.8); } public function updateLv(){ lvText.text = ("" + player.lv[_pc]); expText.text = ("" + (player.exp[_pc] / 10)); } public function debug_battle(_arg1:int){ game.day = (_arg1 + 1); generatePlayer(_pc, 1, _devSheriff); player.exp[_pc] = 200; generatePlayer(1, 150, _devMilitia); generatePlayer(2, 150, _devMilitia); generatePlayer(3, 150, _devMilitia); generateStuff((_invAlly + 0), 26); generateStuff((_invAlly + 1), 26); generateStuff((_invAlly + 2), 26); generateStuff((_invAlly + 3), 26); player.ai[1] = _aiNoAir; player.ai[2] = _aiNoAir; player.ai[3] = _aiNoAir; enchant(_invAlly, _encAutoReload, 3); enchant((_invAlly + 1), _encAutoReload, 3); player.optWall[1] = true; player.trait[_pc][TRAIT.CAPABLE] = 8; player.trait[_pc][TRAIT.BIG_GUN] = 30; player.trait[_pc][TRAIT.RIFLE] = 30; player.trait[_pc][TRAIT.SHOTGUN] = 30; player.trait[_pc][TRAIT.SMALL_GUN] = 30; player.trait[_pc][TRAIT.POWER_SHOT] = 5; player.trait[_pc][TRAIT.ONE_SHOT] = 10; player.trait[_pc][TRAIT.ONE_HIT_KILL] = 20; player.trait[_pc][TRAIT.COOL] = 10; generateStuff(_invPlayer, 16); generateStuff((_invPlayer + 1), 20); generateStuff((_invPlayer + 2), 35); generateStuff((_invPlayer + 3), 27); enchant(_invPlayer, -1, 3); enchant(_invPlayer, -1, 3); enchant(_invPlayer, -1, 3); enchant(_invPlayer, -1, 3); enchant(_invPlayer, -1, 3); enchant(_invPlayer, -1, 3); game.day = 35; generateMission(game.day); game.castleMHP = (40 + (_arg1 * 10)); game.castleHP = game.castleMHP; game.castleHP = (game.castleHP * 20); player.exp[_pc] = 2000; gameStart(); gotoAndPlay("battle"); } public function updateFrenzyBar(){ frenzyMode = 0; if (CALC.DUELIST(_pc)){ frenzyMode = 1; }; if (CALC.SNIPER(_pc)){ frenzyMode = 2; }; if (CALC.RANGER(_pc)){ frenzyMode = 3; }; if (frenzyMode){ frenzyBar.visible = true; frenzyBar2.visible = true; frenzyText.visible = true; frenzyBar.scaleX = 0; } else { frenzyBar.visible = false; frenzyBar2.visible = false; frenzyText.visible = false; }; } public function onTick(_arg1:TimerEvent):void{ var _local2:int; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (gamePaused){ return; }; if (game.castleHP <= 0){ customCursor.visible = false; Mouse.show(); gamePaused = true; gameOver = true; gotoAndPlay("dead"); return; }; _local2 = 0; while (_local2 < maxAlly) { if (player.exist[_local2] == false){ } else { w = weapon(_local2); if (((((inventory.autoReload[w]) && ((inventory.reloadTime[w] == 0)))) && ((inventory.ammo[w] < inventory.ammoMax[w])))){ if (player.shootTimer[_local2] <= (inventory.shootRate[w] * -3)){ reload(_local2, w); }; }; if (inventory.reloadTime[w]){ reloading(_local2, w); player.idleCount[_local2] = (player.idleCount[_local2] - 0.15); if (player.idleCount[_local2] < 0){ player.idleCount[_local2] = 0; }; }; if (player.trait[_local2][TRAIT.MILITIA]){ var _local7 = player.grenadeCount; var _local8 = _local2; var _local9 = (_local7[_local8] - 1); _local7[_local8] = _local9; if (player.grenadeCount[_local2] < 0){ _local4 = aiFireAtWill(_local2, 2); if (_local4 == undefined){ player.grenadeCount[_local2] = (player.grenadeCount[_local2] + 10); } else { if (_local4.x > player_mc[_local2].x){ player.grenadeCount[_local2] = (player.grenadeCount[_local2] + 10); } else { throwGrenade(_local2, -1, player_mc[_local2].x, player_mc[_local2].y, (_local4.x + (_local4.speed * (15 + (Math.random() * 20)))), _local4.y, 12, CALC.MILITIA(_local2), 0); calcGrenadeCount(_local2); }; }; }; }; }; _local2++; }; soundCounter--; if (mission.newWave){ if (sisterList[mission.wave]){ sound_launch.play(0, 0, soundPos(640)); _local2 = 0; while (_local2 < sisterList[mission.wave]) { spawnEnemy(_bomb); _local2++; }; }; mission.newWave = false; if (mission.wave == 3){ if (game.optionColor != true){ customCursor.gotoAndStop(2); }; bgChange = 100; }; if (mission.wave == 1){ bgChange = -100; }; if (mission.wave <= 0){ if (game.castleHP < game.castleMHP){ mission.noDamage = false; }; mission.wave = 0; gamePaused = true; immune = true; stopSound(); startFire(); exitBattle2(); eventAfterBattle(); gotoAndStop("event"); return; }; mission.wave--; if (game.day == 1){ if (mission.wave == 3){ popInfo("You can throw a powerful grenade by pressing 2."); }; if (mission.wave == 2){ popInfo("Throw grenades at the boss to deal major damage!"); }; }; if (mission.wave == mission.bossWave){ text_effect("Incoming Boss!!"); }; updateDay(); if (game.repair){ game.castleHP = (game.castleHP + castleRepair()); if (game.castleHP > game.castleMHP){ game.castleHP = game.castleMHP; }; updateHP(); }; if (game.castleHP < game.castleMHP){ mission.noDamage = false; }; } else { mission.time--; if (mission.time < 0){ if (pop[mission.wave].length <= 0){ mission.newWave = true; } else { _local2 = 0; while (_local2 < pop[mission.wave].length) { _local5 = pop[mission.wave].pop(); spawnEnemy(_local5); mission.time = (popTime[mission.wave].pop() + (_local2 * 4)); if ((((eRef[eRefId[_local5]].lv > ((Math.random() * mission.level) - 6))) || ((Math.random() > 0.8)))){ break; }; _local2++; }; }; }; }; if (bgChange){ updateBG(); }; if (_pc == hero){ if (player.accuracyFix[_pc] > 0){ player.accuracyFix[_pc] = (player.accuracyFix[_pc] - ((0.02 * (100 + CALC.COOL(_pc))) / 100)); }; if (game.tight == true){ _local3 = 0; } else { _local3 = Math.abs(((500 - (inventory.range[ci] * 200)) - mouseX)); }; if (_local3 < 100){ _local3 = 0; } else { _local3 = (_local3 / player.rangeFix[_pc]); }; if (player.accuracyFix[_pc] < _local3){ player.accuracyFix[_pc] = _local3; }; if ((((player.shootTimer[_pc] > 0)) && ((inventory.automatic[ci] == false)))){ customCursor.alpha = 0.7; } else { customCursor.alpha = 1; }; if (player.accuracyFix[_pc] > 0.6){ player.accuracyFix[_pc] = 0.6; }; customCursor.scaleX = (0.3 + player.accuracyFix[_pc]); customCursor.scaleY = (0.3 + player.accuracyFix[_pc]); } else { customCursor.scaleX = 0.3; customCursor.scaleY = 0.3; }; if (frenzyMode){ if (frenzyMode == 1){ frenzyBar.scaleX = (player.frenzy[_pc] / calcDuelistMaxDamage(player.trait[_pc][TRAIT.DUELIST])); }; if (frenzyMode == 2){ _local6 = ((CALC.SNIPER(_pc) * player.idleCount[_pc]) / (calcSniperMaxDamage(player.trait[_pc][TRAIT.SNIPER]) - 100)); if (_local6 > 1){ _local6 = 1; player.idleCount[_pc] = ((calcSniperMaxDamage(player.trait[_pc][TRAIT.SNIPER]) - 100) / CALC.SNIPER(_pc)); }; frenzyBar.scaleX = _local6; }; if (frenzyMode == 3){ frenzyBar.scaleX = (player.frenzy[_pc] / 1000); }; }; } public function initPartySkill(){ getBestSkill("SCAVENGER"); getBestSkill("THREAT"); getBestSkill("DEFENDER"); getBestSkill("LEADERSHIP"); getBestSkill("NEGOTIATOR"); getBestSkill("INSURANCE"); getBestSkill("ENGINEER"); getBestSkill("ROBBER"); getBestSkill("ACTIVE"); getBestSkill("BREEDER"); getBestSkill("TAUNT"); getBestSkill("COOK"); getBestSkill("ACCOUNTANT"); getBestSkill("QUICK_EYED"); getBestSkill("LOVE"); getBestSkill("SUPPLIER"); var _local1:int; var _local2:int; PARTY.GUARDIAN = 0; PARTY.GUARDIAN_LIST = []; _local1 = 0; while (_local1 < maxAlly) { if (player.exist[_local1] == false){ } else { PARTY.GUARDIAN = (PARTY.GUARDIAN + CALC.GUARDIAN(_local1)); PARTY.GUARDIAN_LIST[_local2] = _local1; _local2++; }; _local1++; }; } public function makeBlurScreen(){ var _local1:BitmapData = new BitmapData(640, 380, true, 4294967295); var _local2:Matrix = new Matrix(1, 0, 0, 1, 0, 0); var _local3:ColorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); var _local4:Rectangle = new Rectangle(0, 0, 640, 380); _local1.draw(stage, _local2, _local3, BlendMode.NORMAL, _local4, true); var _local5:* = new MovieClip(); stage.addChild(_local5); var _local6:Bitmap = new Bitmap(_local1); _local5.addChild(_local6); Tweener.addTween(_local5, {_Blur_blurX:3, _Blur_blurY:3, time:1}); return (_local5); } public function preGenerateWave(){ if (game.optionAltStart == 2){ mission.wave = 100; mission.waveMax = mission.wave; }; i = 0; while (i < mission.wave) { if (game.optionAltStart == 2){ mission.level = (108 - i); mission.fixedLv = mission.level; mission.strength = 0; mission.power = (450 + (mission.level * 140)); mission.powerOrg = mission.power; }; generateWave(i); i++; }; } public function checkPaused(){ if (gamePaused){ return (true); }; return (false); } public function initEnemy(){ var _local1:enemy; i = 0; while (i < maxEnemy) { _local1 = new enemy(); enemyArray[i] = _local1; i++; }; } public function enchant(_arg1:int, _arg2:int, _arg3:int){ if (_arg3 == -1){ _arg3 = (1 + int((Math.random() * 3))); }; if (_arg2 == -1){ _arg2 = encList[_arg3][int((Math.random() * encList[_arg3].length))]; }; var _local4:* = (1.1 + (PARTY.ENGINEER / 100)); if (medal[_medalAction4]){ _local4 = (_local4 + 0.15); }; var _local5:* = inventory.modText[_arg1].split(") "); var _local6:* = 0; while (_local6 < _local5.length) { if (_local5[_local6].indexOf(encRef[_arg2].name) != -1){ _local4 = (_local4 * 0.65); }; _local6++; }; if (_arg2 == _encAutofire){ inventory.automatic[_arg1] = true; inventory.shootRate[_arg1] = (_arg3 + int(((inventory.shootRate[_arg1] * (100 + ((_arg3 * 10) * _local4))) / 100))); }; if (_arg2 == _encDamage){ inventory.attack[_arg1] = (int((_arg3 * 1.5)) + int(((inventory.attack[_arg1] * (100 + ((_arg3 * 8) * _local4))) / 100))); }; if (_arg2 == _encFireRate){ inventory.shootRate[_arg1] = (_arg3 + int(((inventory.shootRate[_arg1] * (100 + ((_arg3 * 12) * _local4))) / 100))); }; if (_arg2 == _encAccuracy){ inventory.baseAccuracy[_arg1] = (_arg3 + int(((inventory.baseAccuracy[_arg1] * (100 + ((_arg3 * 5) * _local4))) / 100))); }; if (_arg2 == _encAmmo){ if (inventory.ammoMax[_arg1] == 1){ return; }; inventory.ammoMax[_arg1] = (_arg3 + int(((inventory.ammoMax[_arg1] * (100 + ((_arg3 * 10) * _local4))) / 100))); }; if (_arg2 == _encReloading){ if (inventory.reloadTimeMax[_arg1] == 0){ return; }; inventory.reloadTimeMax[_arg1] = int(((inventory.reloadTimeMax[_arg1] * 100) / (100 + ((_arg3 * 7) * _local4)))); if (inventory.reloadTimeMax[_arg1] < 2){ inventory.reloadTimeMax[_arg1] = 2; }; }; if (_arg2 == _encLeech){ inventory.leech[_arg1] = (inventory.leech[_arg1] + int(((_arg3 + 1) * _local4))); }; if (_arg2 == _encImpact){ if (inventory.impact[_arg1] < 1){ inventory.impact[_arg1] = 1; }; inventory.impact[_arg1] = (inventory.impact[_arg1] + (_arg3 * 2)); }; if (_arg2 == _encAir){ inventory.dmgAir[_arg1] = (inventory.dmgAir[_arg1] + int(((_arg3 * 11) * _local4))); }; if (_arg2 == _encArmor){ inventory.dmgArmor[_arg1] = (inventory.dmgArmor[_arg1] + int(((_arg3 * 11) * _local4))); }; if (_arg2 == _encAutoReload){ if (inventory.manualReload[_arg1] == false){ return; }; inventory.autoReload[_arg1] = _arg3; }; var _local7 = inventory.mod; var _local8 = _arg1; var _local9 = (_local7[_local8] + 1); _local7[_local8] = _local9; inventory.modText[_arg1] = (inventory.modText[_arg1] + encRef[_arg2].name); inventory.value[_arg1] = (inventory.value[_arg1] + (((encRef[_arg2].cost * _arg3) * _arg3) / 3)); inventory.modText[_arg1] = (inventory.modText[_arg1] + (("(Lv." + _arg3) + ") ")); inventory.ammo[_arg1] = inventory.ammoMax[_arg1]; } public function initButton(){ var _local1:MovieClip; i = 0; while (i < maxButton) { _local1 = new selectButton(); buttonArray[i] = _local1; i++; }; } public function procLink(_arg1:int){ var i = _arg1; var url:* = []; url[1] = "http://www.s-t-t.com/wwl/"; url[2] = "http://zodiacfragment.sakura.ne.jp/hp_00_mainpage_f.html"; url[3] = "http://www.tekepon.net/fsm/"; url[4] = "http://reinerstileset.4players.de/englisch.html"; url[5] = "http://lostgarden.com/"; url[6] = "http://shass.sakura.ne.jp/"; url[7] = "http://www.freesound.org/"; url[8] = "http://www14.big.or.jp/~amiami/happy/"; url[9] = ""; url[10] = "http://www.freedigitalphotos.net/"; sound_click1.play(); popInfo("A Webpage has been opend in your browser."); var request:URLRequest = new URLRequest(url[i]); try { navigateToURL(request); } catch(e:Error) { }; } function frame7(){ } public function pauseMenu(){ var _local1:String; blurMc = makeBlurScreen(); stage.focus = stage; menuButton.mouseEnabled = false; sound_scroll1.play(); gamePaused = true; window_mc.x = 0; window_mc.y = 0; stage.addChild(window_mc); customCursor.visible = false; Mouse.show(); helpMode = 0; if (game.optionColor == undefined){ game.optionColor = false; }; window_mc.options.optShowDamage.selected = game.optionShowDamage; window_mc.options.optShowAllyDamage.selected = game.optionShowAllyDamage; window_mc.options.optLowQuality.selected = game.optionLowQuality; window_mc.options.optFirework.selected = game.optionFirework; window_mc.options.optColor.selected = game.optionColor; window_mc.options.stats.editable = false; _local1 = (("Elona Shooter Stactics Day " + game.day) + "\n"); if (game.casual == true){ _local1 = (_local1 + "You are playing Casual Mode.\n"); }; if (game.HC == true){ _local1 = (_local1 + "You are playing Hardcore Mode.\n"); }; if (game.optionBossDropMod == true){ _local1 = (_local1 + "Mod(Bosses drop Mod) is on.\n"); }; if (game.MORE == true){ _local1 = (_local1 + "Mod(Intense Start) is on.\n"); }; if (game.tight == true){ _local1 = (_local1 + "Mod(Tighter crosshair) is on.\n"); }; if (game.optWeaponLevel == true){ _local1 = (_local1 + "Mod(Limit high level weapons) is on.\n"); }; if (game.laptop == true){ _local1 = (_local1 + "Mod(Laptop difficulty) is on.\n"); }; if (game.comp == true){ _local1 = (_local1 + "Mod(Community Compilation) is on.\n"); }; if (game.skipHard == true){ _local1 = (_local1 + "Mod(Skip hard waves) is on.\n"); }; if (game.carryOver == true){ _local1 = (_local1 + "You've used Carry Over Option.\n"); }; _local1 = (_local1 + (game.noDamage + " Perfect Games scored.\n")); _local1 = (_local1 + (game.eggsCollected + " eggs collected.\n")); _local1 = (_local1 + (("Exploded " + game.sistersExploded) + " sisters.\n")); _local1 = (_local1 + (("Robbed " + game.childrenRobbed) + " children.\n")); _local1 = (_local1 + (("Total of " + game.totalKill) + " enemies killed.\n")); _local1 = (_local1 + (("Total of " + game.totalMoney) + " GP earned.\n")); _local1 = (_local1 + "\n"); window_mc.options.stats.text = _local1; window_mc.gotoAndPlay("menu_pause"); } public function geneMedalBonus(){ if (medal[_medalHardcore3]){ player.trait[_pc][TRAIT.LUCK] = (player.trait[_pc][TRAIT.LUCK] + 3); }; if (medal[_medalRagnarok]){ player.trait[_pc][TRAIT.LUCK] = (player.trait[_pc][TRAIT.LUCK] + 1); }; if (medal[_medalCritical1]){ player.trait[_pc][TRAIT.LUCK] = (player.trait[_pc][TRAIT.LUCK] + 1); }; if (medal[_medalCritical2]){ player.trait[_pc][TRAIT.SENSE] = (player.trait[_pc][TRAIT.SENSE] + 1); }; if (medal[_medalHardcore1]){ player.trait[_pc][TRAIT.SENSE] = (player.trait[_pc][TRAIT.SENSE] + 1); }; if (medal[_medalCritical3]){ player.trait[_pc][TRAIT.ACCURACY] = (player.trait[_pc][TRAIT.ACCURACY] + 2); }; if (medal[_medalBadge1]){ game.invSlot++; game.storage++; }; if (medal[_medalBadge2]){ game.fame = (game.fame + 20); }; if (debugStartDay){ return; }; if (medal[_medalDay1]){ player.money[_pc] = (player.money[_pc] + 0); }; if (medal[_medalDay2]){ player.money[_pc] = (player.money[_pc] + 100); }; if (medal[_medalDay3]){ player.money[_pc] = (player.money[_pc] + 200); }; if (medal[_medalDay4]){ player.money[_pc] = (player.money[_pc] + 300); }; if (medal[_medalDay5]){ player.money[_pc] = (player.money[_pc] + 500); }; if (medal[_medalDay6]){ player.money[_pc] = (player.money[_pc] + 750); }; if (medal[_medalDay7]){ player.money[_pc] = (player.money[_pc] + 1000); }; } function frame1(){ skipLoader = 0; skipAd = 0; dbgMode = 0; debug = 0; kongregateEmu = 0; armorEmu = 0; beta = 0; toBlackScreen = 1; debugShowUpdate = 0; debugMedal = 0; debugUnlockClass = 0; debugBattle = 0; debugTown = 0; debugId = 0; debugBatch = 0; debugTownDay = 0; debugStartDay = 0; debugEnemyNum = 0; debugLoader = 0; this.contextMenu = new ContextMenu(); this.contextMenu.hideBuiltInItems(); Tweener.init(); ColorShortcuts.init(); FilterShortcuts.init(); kongregate = 0; armor = 0; info = root.loaderInfo; loaded = 0; sound_click1 = new soundClick1(); if (((((!((info.url.indexOf("funny-base.com") == -1))) || (!((info.url.indexOf("funny-games.biz") == -1))))) || (armorEmu))){ armor = 1; } else { armor = 0; }; if (((!((info.url.indexOf("kongregate.com") == -1))) || (kongregateEmu))){ kongregate = 1; armor = 0; } else { kongregate = 0; }; if (kongregate){ kongAPI = new KongregateAPI(); this.addChild(kongAPI); }; if (dbgMode == 1){ dbgWin = new dbgWindow(); dbgWin.y = 0; stage.addChild(dbgWin); }; if (skipLoader){ stop(); gotoAndStop("init"); return; }; if ((((((((kongregate == 0)) && ((armor == 0)))) && ((skipAd == 0)))) && ((toBlackScreen == 0)))){ MochiAd.showPreGameAd({clip:root, id:"f9e95432841094cb", res:"620x380"}); } else { stage.addEventListener(Event.ENTER_FRAME, loadEnterFrame); stop(); }; } public function procTownMenu(){ window2_mc.stop(); select_init(720, 300); select_add("what"); select_add("hey"); } public function updateMissionMenu(){ var _local1:int; _local1 = 0; while (_local1 < radioCount) { radio_mc[_local1].removeEvent(); _local1++; }; removeRadio(); radioCount = 0; _local1 = 0; while (_local1 < 10) { radio_mc[_local1] = (new actions() as MovieClip); radio_mc[_local1]._root = (root as MovieClip); radio_mc[_local1].x = (145 + ((_local1 % 5) * 80)); radio_mc[_local1].y = (150 + (int((_local1 / 5)) * 105)); if (((!((actList[_local1] == undefined))) && (!((actList[_local1].method() == false))))){ radio_mc[_local1].card.gotoAndStop(actList[_local1].pic); if (actList[_local1].method() == true){ radio_mc[_local1].avail = true; radio_mc[_local1].card.buttonMode = true; } else { radio_mc[_local1].avail = false; radio_mc[_local1].alpha = 0.5; }; radio_mc[_local1].card.rotation = actList[_local1].angle; radio_mc[_local1].text.text = ((actList[_local1].cost + " AP\n") + actList[_local1].name); } else { radio_mc[_local1].card.gotoAndStop(1); radio_mc[_local1].avail = false; radio_mc[_local1].text.text = ""; radio_mc[_local1].alpha = 0.5; }; radio_mc[_local1].text.mouseEnabled = false; radio_mc[_local1].pin.mouseEnabled = false; window2_mc.addChild(radio_mc[_local1]); radioCount++; _local1++; }; updateInterface(); } function frame6(){ allRemoveChild((root as MovieClip)); stage.quality = StageQuality.HIGH; chainPos = []; soundCs = -1; hero = -1; weaponRange = []; showUpdate = false; popupMc = undefined; weaponRange[0] = [2, 1, 0]; weaponRange[1] = [1, 2, 0]; weaponRange[2] = [0, 1, 2]; cursorX = [375, 225, 75]; cursorY = [250, 265, 220]; aiTarget = []; i = 0; while (i < _maxTarget) { aiTarget[i] = []; i2 = 0; while (i2 < 3) { aiTarget[i][i2] = [undefined, 1000]; i2++; }; i++; }; clearTarget(); fireAtWill = false; playerY = [245, 215, 275, 185, 305, 335]; filter1a = new GlowFilter(3394815, 0); filter2a = new GlowFilter(0xFFFFFF); filterDrop = new DropShadowFilter(); filter1 = new Array(); filter2 = new Array(); filter1.push(filter1a); filter2.push(filter2a); player_mc = []; inventory_mc = []; stats_mc = []; medal_mc = []; upgrade_mc = []; enemyArray = []; buttonArray = []; invSlot_mc = []; invIcon_mc = []; pic_mc = []; cursor_mc = []; radio_mc = []; window_mc = new window(); window2_mc = new window(); window3_mc = new window(); window4_mc = new window(); sound_mute = new soundMute(); sound_defend = new soundDefend(); sound_drop = new soundDrop(); sound_launch = new soundLaunch(); sound_party = new soundParty(); sound_search = new soundSearch(); sound_night = new soundNight(); sound_pray1 = new soundPray1(); sound_eat1 = new soundEat1(); sound_dead1 = new soundDead1(); sound_dead2 = new soundDead2(); sound_dead3 = new soundDead3(); sound_dead4 = new soundDead4(); sound_dead5 = new soundDead5(); sound_dead6 = new soundDead6(); sound_dead7 = new soundDead7(); sound_dead8 = new soundDead8(); sound_dead9 = new soundDead9(); sound_deadChicken = new soundDeadChicken(); sound_chicken = new soundChicken(); sound_chickenAttack = new soundChickenAttack(); sound_fireball = new soundFireball(); sound_lightning = new soundLightning(); sound_puls = new soundPuls(); sound_exp1 = new soundExp1(); sound_bow1 = new soundBow1(); sound_gun1 = new soundGun1(); sound_gun2 = new soundGun2(); sound_gun3 = new soundGun3(); sound_gun4 = new soundGun4(); sound_gun5 = new soundGun5(); sound_gun6 = new soundGun6(); sound_gun7 = new soundGun7(); sound_gun8 = new soundGun8(); sound_gun9 = new soundGun9(); sound_gun10 = new soundGun10(); sound_gun11 = new soundGun11(); sound_gun12 = new soundGun12(); sound_gun13 = new soundGun13(); sound_gun14 = new soundGun14(); sound_gun15 = new soundGun15(); sound_card1 = new soundCard1(); sound_deadBoss1 = new soundDeadBoss1(); sound_deadBoss2 = new soundDeadBoss2(); sound_beep = new soundBeep(); sound_bad = new soundBad(); sound_good = new soundGood(); sound_mod = new soundMod(); sound_rampage = new soundRampage(); sound_rampageEnemy = new soundRampageEnemy(); sound_reloading1 = new soundReloading1(); sound_reloaded1 = new soundReloaded1(); sound_reloading2 = new soundReloading2(); sound_reloaded2 = new soundReloaded2(); sound_reloading3 = new soundReloading3(); sound_reloaded3 = new soundReloaded3(); sound_damage1 = new soundDamage1(); sound_impact1 = new soundImpact1(); sound_scroll1 = new soundScroll1(); sound_pay1 = new soundPay1(); sound_crow = new soundCrow(); sound_cata = new soundCata(); sound_killed = new soundKilled(); sound_complete = new soundComplete(); sound_battleBegin = new soundBattleBegin(); sound_battleEnd = new soundBattleEnd(); sound_award = new soundAward(); sound_gold1 = new soundGold1(); sound_bag1 = new soundBag1(); sound_pop1 = new soundPop1(); sound_medal = new soundMedal(); sound_throw1 = new soundThrow1(); sound_repair1 = new soundRepair1(); sound_chain1 = new soundChain1(); sound_chain2 = new soundChain2(); sound_chain3 = new soundChain3(); sound_bow2 = new soundBow2(); sound_bg_forest = new soundBgForest(); sound_bg_town = new soundBgTown(); sound_low = new soundLow(); sound_tank = new soundTank(); sound_tank2 = new soundTank2(); sound_firework = new soundFirework(); sound_goodshot = []; sound_goodshot[0] = (new soundGoodshot0() as Sound); sound_goodshot[1] = (new soundGoodshot1() as Sound); sound_goodshot[2] = (new soundGoodshot2() as Sound); sound_goodshot[3] = (new soundGoodshot3() as Sound); sound_goodshot[4] = (new soundGoodshot4() as Sound); trans = []; trans[0] = (new SoundTransform(0.9, 0) as SoundTransform); trans[1] = (new SoundTransform(0.2, 0.8) as SoundTransform); trans[2] = (new SoundTransform(0.3, 0.7) as SoundTransform); trans[3] = (new SoundTransform(0.1, 0.9) as SoundTransform); trans[4] = (new SoundTransform(0.2, 0.85) as SoundTransform); trans[5] = (new SoundTransform(0.3, 0.75) as SoundTransform); trans[6] = (new SoundTransform(0.3, 0.75) as SoundTransform); trans[9] = (new SoundTransform(0.5, 0.8) as SoundTransform); posTrans = []; i = 0; while (i < 20) { posTrans[i] = (new SoundTransform(0.9, ((i * 0.08) - 0.8)) as SoundTransform); i++; }; frenzyMode = 0; menuLine = 400; defenseLine = 455; groundLine = 170; groundWidth = 155; airLine = 40; airWidth = 70; maxEnemy = 200; maxAlly = 5; maxParty = 4; maxChara = 7; maxButton = 8; eventList = []; timer = new Timer(50, 0); idx = new Object(); idx.day = 0; idx.dayHC = 0; idx.dayCasual = 0; idx.unlocked = [true, true, true, true, false, false, false, false]; idx.slot = 0; idx.beta = beta; idx.saveName = ["Empty Save", "Empty Save", "Empty Save", "Empty Save", "Empty Save", "Empty Save"]; idx.mute = false; idx.version = _version; upgradeRefStr = ["Fix Wall", "Wall", "Sandbag", "Storage", "House", "Looter", "Repairman", "Trainer", "Smith", "Museum", "Chicken", "Sister", "Villa", "Sp.Trainer", "N/A", "N/A"]; upgradeRef = ["wallFix", "wallUpgrade", "sandbag", "storage", "house", "looter", "repair", "trainer", "smith", "museum", "chicken", "sister", "party", "spTrainer", "na", "na"]; upgradeHint = []; upgradeMax = []; game = new Object(); popList = []; popMax = 10; i = 0; while (i < popMax) { popList[i] = 0; i++; }; game.optionFirework = false; game.optionBossDropMod = false; game.optionAltStart = 0; game.optionShowDamage = true; game.optionShowAllyDamage = false; game.optionLowQuality = false; game.submit = true; game.apFix = 0; game.day = 1; game.castleHP = 40; game.castleMHP = 40; game.invSlot = 6; game.ap = 0; game.apMax = 5; game.card = []; game.noDamage = 0; game.prayerCount = 0; game.tauntCount = 0; game.partyCount = 0; game.recycleCount = 0; game.robCount = 0; newTitle(1); game.fame = 0; game.train = 0; game.boss = 0; game.hintReload = false; game.prayed = false; game.HC = false; game.MORE = false; game.casual = false; game.carryOver = false; game.eggsCollected = 0; game.childrenRobbed = 0; game.sistersExploded = 0; game.totalKill = 0; game.totalMoney = 0; fixedLvMax = 30; lvCycle = 40; i = 0; while (i < upgradeRef.length) { game[upgradeRef[i]] = 0; i++; }; game.wallUpgrade = 1; game.storage = 1; game.house = 1; upgradeMax = ["", "", "10", "11", "3", "", "", "", "6", "", "", "", "", ""]; titleList = ["Newcomer", "Honorary Citizen", "Private", "Knight Apprentice", "Knight", "Baron", "Duke", "Prince", "King"]; medalPage = [0, 85, 150]; medal = new Array(_maxMedal); gunSound = []; inventory = new Object(); inventory.num = []; inventory.id = []; inventory.graphic = []; inventory.type = []; inventory.text = []; inventory.reloadTime = []; inventory.reloadTimeMax = []; inventory.ammo = []; inventory.ammoMax = []; inventory.shootRate = []; inventory.automatic = []; inventory.baseAccuracy = []; inventory.accuracyDec = []; inventory.attack = []; inventory.value = []; inventory.reqTrait = []; inventory.reqLv = []; inventory.mod = []; inventory.modMax = []; inventory.shell = []; inventory.range = []; inventory.name = []; inventory.manualReload = []; inventory.modText = []; inventory.lv = []; inventory.typeMinor = []; inventory.special = []; inventory.dmgAir = []; inventory.dmgArmor = []; inventory.leech = []; inventory.impact = []; inventory.rare = []; inventory.autoReload = []; i = 0; while (i < _maxInv) { inventory.num[i] = 0; inventory.value[i] = 0; i++; }; encRef = []; encRef[0] = {name:"NullEnc", cost:100, detail:"This mod increases the base accuracy of a weapon."}; encRef[1] = {name:"Accuracy", cost:100, detail:"This mod increases the base accuracy of a weapon."}; encRef[2] = {name:"Reloading", cost:120, detail:"This mod speeds up the reloading time of a weapon."}; encRef[3] = {name:"Fire Rate", cost:130, detail:"This mod improves the firing rate of a weapon."}; encRef[4] = {name:"Damage", cost:140, detail:"This mod enchances the damage output of a weapon."}; encRef[5] = {name:"Anti Air", cost:80, detail:"This mod adds anti-air capability to a weapon."}; encRef[6] = {name:"Anti Armor", cost:80, detail:"This mod adds anti-armor capability to a weapon."}; encRef[7] = {name:"Ammo", cost:140, detail:"This mod inreases the ammo capacity of a weapon."}; encRef[8] = {name:"Impact", cost:160, detail:"This mod grants a weapon an ability to knock back enemies."}; encRef[9] = {name:"Leech", cost:200, detail:"This mod grants a weapon an ability to convert inflicted damage to the castle HP."}; encRef[10] = {name:"Auto Reload", cost:100, detail:"This handy mod automatically refills your ammo when you're not shooting. Only works on manual reloading guns."}; encRef[11] = {name:"Living Weapon", cost:300, detail:"Once mounted, your weapon will be parasitized by this rare creature and slowly develop unique powers."}; encRef[12] = {name:"Auto Fire", cost:110, detail:"This handy mod gives auto-fire function to a weapon when mounted. It also boosts the firing rate."}; encList = []; encList[0] = [_encDamage, _encAccuracy, _encAccuracy, _encAmmo, _encAmmo, _encAmmo, _encAmmo, _encReloading, _encFireRate, _encAir, _encArmor, _encImpact, _encLeech, _encAutoReload, _encAutofire]; encList[1] = [_encDamage, _encAccuracy, _encAccuracy, _encAmmo, _encAmmo, _encAmmo, _encAmmo, _encReloading, _encFireRate, _encAir, _encArmor, _encImpact, _encLeech, _encAutoReload, _encAutofire]; encList[2] = [_encDamage, _encAccuracy, _encAccuracy, _encAmmo, _encAmmo, _encAmmo, _encAmmo, _encReloading, _encFireRate, _encAir, _encArmor, _encImpact, _encLeech, _encAutoReload, _encAutofire]; encList[3] = [_encDamage, _encAccuracy, _encAccuracy, _encAmmo, _encAmmo, _encAmmo, _encAmmo, _encReloading, _encFireRate, _encAir, _encArmor, _encImpact, _encLeech, _encAutoReload, _encAutofire]; nameBoy = ["Smith", "Johnson", "Williams", "Brown", "Jones", "Miller", "Davis", "García", "Rodriguez", "Wilson", "Martinez", "Anderson", "Taylor", "Thomas", "Moore", "Martin", "Jackson", "Thompson", "White", "Lee", "Harris", "Clark", "Lewis", "Robinson", "Walker", "Hall", "Young", "Allen", "Wright", "Scott", "Adams", "Nelson", "Hill", "Campbell", "Mitchell", "Roberts", "Carter", "Phillips", "Evans", "Turner", "Torres", "Parker", "Collins", "Edwards", "Stewart", "Flores", "Morris", "Nguyen", "Murphy", "Rivera", "Rogers", "Morgan", "Peterson", "Cooper", "Reed", "Bailey", "Bell", "Kelly", "Howard", "Cox", "Wood", "Watson", "Brooks", "Bennett", "Gray", "James", "Reyes", "Cruz", "Hughes", "Myers", "Foster", "Sanders", "Ross", "Powell", "Sullivan", "Russell", "Ortiz", "Jenkins", "Perry", "Barnes", "Silva", "Santos", "Oliveira", "Souza", "Pereira", "Costa", "Carvalho", "Almeida", "Ferreira", "Ribeiro", "Janssens", "Maes", "Svoboda", "Jensen", "Nielsen", "Larsen", "Olsen", "Tamm", "Korhonen", "Laine", "Martin", "Bernard", "Dubois", "Robert", "Petit", "Durand", "Leroy", "Laurent", "David", "Roux", "Vincent", "Fournier", "Girard", "Beridze", "Schmidt", "Fischer", "Meyer", "Weber", "Schulz", "Wagner", "Koch", "Varga", "Lakatos", "Murphy", "Lynch", "Rossi", "Russo", "Ferrari", "Bianchi", "Rizzo", "Vella", "Grech"]; devGroup = []; g_count = []; TRAIT = {}; CALC = {}; REF = {}; ID = {}; traitRef = []; PARTY = []; PARTYLV = []; setTrait("HUNTER", _devHunter, 999, 1, "", ["A hunter receives reduced range penalty and can fire a gun beyond its effective range.", "-", "x", "% range penalty"], function (_arg1:int){ return (((25 + _arg1) + (Math.sqrt(_arg1) * 5))); }); setTrait("ROGUE", _devRogue, 999, 1, "", ["When a rogue scores a critical kill, the enemy drops money. Guaranteed! She even gets more than normal amount.", "", "x", "% more money"], function (_arg1:int){ return (((20 + _arg1) + (Math.sqrt(_arg1) * 15))); }); setTrait("SHERIFF", _devSheriff, 999, 1, "", ["Enemies shot by a sheriff will be knocked back and slowed down, making them easy targets.", "+", "x", " knock back"], function (_arg1:int){ return ((5 + Math.sqrt(_arg1))); }); setTrait("MILITIA", _devMilitia, 999, 1, "", ["A militia can occasionally throw a grenade at a random enemy. The throwing rate also increases as he levels.", "", "x", " grenade damage"], function (_arg1:int){ return ((25 + (_arg1 * 2))); }); setTrait("SNIPER", _devSniper, 999, 1, "", ["While a sniper is not firing or reloading, his adrenalin and the damage bonus go up. Adrenalin diminishes once he misses a shot.", "sniper1", "", ""], function (_arg1:int){ return (((Math.sqrt(_arg1) * 3) + 4)); }); setTrait("RANGER", _devRanger, 999, 1, "", ["A ranger gains adrenalin every time he kills an enemy. When it's full, all the troops go rampage and his adrenalin diminishes.", "", "x", "% more rampage duration"], function (_arg1:int){ return ((7 + (Math.sqrt(_arg1) * 5))); }); setTrait("DUELIST", _devDuelist, 999, 1, "", ["When a Duelist shoots an enemy, her adrenalin and the damage bonus go up. Adrenalin diminishes quickly when not firing.", "duelist1", "", ""], function (_arg1:int){ return (7); }); setTrait("NOBLE", _devNoble, 999, 1, "", ["A noble gains 40% more exp from killing enemies. Also rewarded slight bonuses to damage and accuracy per level.", "", "x", "% more damage and accuracy"], function (_arg1:int){ return (((5 + (_arg1 / 2)) + (Math.sqrt(_arg1) * 2))); }); setTrait("GUARDIAN", _devGuard, 999, 1, "", ["When an enemy attacks the castle, a guardian can inflict certain damage back to the enemy.", "", "x", " damage to the attacker"], function (_arg1:int){ return ((4 + int((_arg1 / 2)))); }); setTrait("COOL", G_GEN, 999, 1, "", ["Makes you calm and recover quicikly from gun recoil.", "", "x", "% faster recovery"], function (_arg1:int){ return ((_arg1 + (Math.sqrt(_arg1) * 11))); }); setTrait("ACCURACY", G_GEN, 999, 1, "", ["Decreases the bullet spread, making it fly to just where you aim at.", "", "x", "% less bullet spread"], function (_arg1:int){ return ((_arg1 + (Math.sqrt(_arg1) * 10))); }); setTrait("CAPABLE", G_GEN, 2, 1, "", ["You will be able to see more skill options when leveling up.", "+", "x", " option(s) availabe when leveled"], function (_arg1:int){ return (_arg1); }); setTrait("SMALL_GUN", G_GEN, 999, 2, "", ["The skill is required to handle small weapons such as pistols and machine pistols.", "You can equip Lv.", "x", " small guns"], function (_arg1:int){ return (_arg1); }); setTrait("RIFLE", G_GEN, 999, 2, "", ["The skill is required to handle rifles such as assault rifles and sniper rifles.", "You can equip Lv.", "x", " rifles"], function (_arg1:int){ return (_arg1); }); setTrait("SHOTGUN", G_GEN, 999, 2, "", ["The skill is required to handle shotguns.", "You can equip Lv.", "x", " shotguns"], function (_arg1:int){ return (_arg1); }); setTrait("BIG_GUN", G_GEN, 999, 2, "", ["The skill is required to handle big guns such as Rockets and Flame throwers.", "You can equip Lv.", "x", " big guns"], function (_arg1:int){ return (_arg1); }); setTrait("RELOADING", G_GEN, 999, 1, "", ["Reloading! Faster reloading is all you need!", "", "x", "% faster reloading"], function (_arg1:int){ return ((_arg1 + (Math.sqrt(_arg1) * 10))); }); setTrait("LUCK", G_GEN, 10, 1, "", ["Increases the chance that the killed enemy drops gold pieces. When stacked on the rogue's critical kill bonus, she gets double the money.", "", "x", "% more chance"], function (_arg1:int){ return (((_arg1 * 2) + (Math.sqrt(_arg1) * 12))); }); setTrait("SCAVENGER", G_GEN, 10, 1, "", ["Enemies killed by your troops drop items more often with the skill.", "", "x", "% extra chance of item drop"], function (_arg1:int){ return ((_arg1 + (Math.sqrt(_arg1) * 8))); }); setTrait("DR_HOLLIDAY", G_GEN, 5, 1, "", ["When equipped with a shotgun, each level of the skill increases the number of shells shot but decreases accuracy.", "+", "y", " shot(s) fired"], function (_arg1:int){ return (((_arg1 * 7) + 3)); }); setTrait("SENSE", G_GEN, 10, 1, "", ["It gives you a small chance of critical shot even when you don't hit the enemy's weak spot.", "", "x", "% chance of critical hit"], function (_arg1:int){ return ((_arg1 + (Math.sqrt(_arg1) * 6))); }); setTrait("THREAT", G_GEN, 10, 1, "", ["Threaten the enemies to reduce their speed.", "Enemies move ", "x", "% slower"], function (_arg1:int){ return (((_arg1 * 2) + 1)); }); setTrait("DEFENDER", G_GEN, 10, 1, "", ["Occasionally, you will be able to completely nullify the damage done to the castle. ", "", "x", "% nullify chance"], function (_arg1:int){ return (((_arg1 * 2) + 3)); }); setTrait("ONE_HIT_KILL", G_GEN, 10, 1, "", ["When equipped with a sniper rifle, you can sometimes kill an enemy in 1 shot no matter how much HP it has. Doesn't work on bosses though.", "", "x", "% chance of 1 hit kill"], function (_arg1:int){ return (((_arg1 * 3) + 2)); }); setTrait("AIMED_SHOT", G_GEN, 10, 1, "", ["Each level invested in the skill increases the damage but decreases fire rate.", "", "x", "% more damage"], function (_arg1:int){ return ((_arg1 * 7)); }); setTrait("LEADERSHIP", G_GEN, 10, 1, "", ["Leadership raises the morale of the team, making your troops aim faster.", "", "x", "% faster aiming"], function (_arg1:int){ return (((_arg1 * 5) + 2)); }); setTrait("NEGOTIATOR", G_GEN, 10, 1, "", ["Enables you to negotiate a better reward price.", "", "x", "% better reward"], function (_arg1:int){ return (((_arg1 * 4) + 5)); }); setTrait("INSURANCE", G_GEN, 10, 1, "", ["You receive the insurance EVERY TIME an enemy hits the castle!", "You get ", "x", " gp"], function (_arg1:int){ return ((1 + _arg1)); }); setTrait("KILLER", G_GEN, 10, 1, "", ["You are a real killer. When you score a critical kill, you receive extra EXP.", "", "x", "% extra EXP"], function (_arg1:int){ return ((_arg1 + (Math.sqrt(_arg1) * 20))); }); setTrait("ENGINEER", G_GEN, 10, 1, "", ["You know how to build a good gun. When adding a modification to a gun, the effect increases.", "", "x", "% bonus to the effect"], function (_arg1:int){ return ((2 + (_arg1 * 5))); }); setTrait("FURY", G_GEN, 10, 1, "", ["Everyone should just make sure not to piss you off. Your rampage duration lasts longer than normal. Stacks on the ranger's bonus.", "", "x", "% more rampage duration"], function (_arg1:int){ return ((_arg1 + (Math.sqrt(_arg1) * 12))); }); setTrait("ROBBER", G_GEN, 10, 1, "", ["You can slaugher more people and get more money in the museum!", "+", "x", " more people killed"], function (_arg1:int){ return ((_arg1 * 7)); }); setTrait("ACTIVE", G_GEN, 10, 1, "", ["You become a hyperactive person. You get a small chance of gaining extra AP after each battle.", "+", "x", " AP (random)"], function (_arg1:int){ return (_arg1); }); setTrait("BREEDER", G_GEN, 10, 1, "", ["You know how to encourage the egg production of chickens. Your lovely chickens will give you more eggs!", "", "x", "% more eggs"], function (_arg1:int){ return (((_arg1 * 6) + 3)); }); setTrait("TAUNT", G_GEN, 5, 1, "", ["Taunting enemies makes them angry and stronger. But it will increase the mission reward money somehow.", "", "x", "% more reward"], function (_arg1:int){ return (((_arg1 * 10) + 10)); }); setTrait("COOK", G_GEN, 5, 1, "", ["Increases the benefit of having dinner. In short, you get more exp after dinner.", "+", "x", " base exp bonus"], function (_arg1:int){ return (((_arg1 * 5) + 2)); }); setTrait("ACCOUNTANT", G_GEN, 10, 1, "", ["Think the wages you pay are too much? Have an accountant and hold down the wages!", "-", "x", "% cheaper wages"], function (_arg1:int){ return (((_arg1 * 4) + 3)); }); setTrait("BOW_MASTER", G_GEN, 10, 1, "", ["You've mastered the art of the bow. Your arrows and bolts penetrate through enemies.", "+", "x", " penetrations"], function (_arg1:int){ return (_arg1); }); setTrait("CRIPPLE_SHOT", G_GEN, 10, 1, "", ["Slows down the shot enemy so you can dish it anyway you want.", "", "x", "% slow down per hit"], function (_arg1:int){ return ((2 + (_arg1 * 3))); }); setTrait("DISARM", G_GEN, 10, 1, "", ["Lowers the damage dealt by the shot enemy. Very effective against tough creatures.", "", "x", "% reduced damage"], function (_arg1:int){ return ((_arg1 * 20)); }); setTrait("ANTI_AIR", G_GEN, 10, 1, "", ["You know weak spots of air creatures.", "", "x", "% more damage vs Air"], function (_arg1:int){ return ((2 + (_arg1 * 7))); }); setTrait("ANTI_ARMOR", G_GEN, 10, 1, "", ["You know weak spots of armored creatures.", "", "x", "% more damage vs Armor"], function (_arg1:int){ return ((2 + (_arg1 * 7))); }); setTrait("DA_BOMB", G_GEN, 10, 1, "", ["Explosive weapons such as rockets, grenades and gravity gun do extra damages.", "", "x", "% extra damage"], function (_arg1:int){ return ((2 + (_arg1 * 5))); }); setTrait("LAST_HOPE", G_GEN, 10, 1, "", ["When the castle is attacked while the wall is heavily damaged, you get a fair chance of going rampage.", "When the wall HP is less than", "x", "%"], function (_arg1:int){ return ((15 + (_arg1 * 4))); }); setTrait("BURST", G_GEN, 5, 1, "", ["When firing an automatic rifle or machine gun, bullets don't spread and do 25% more damage for a certain period.", "Applied to first ", "x", " shots"], function (_arg1:int){ return (int((1 + _arg1))); }); setTrait("ONE_SHOT", G_GEN, 10, 1, "", ["When equipped with a pistol or a sniper rifle, the last bullet of the magazine will deal massive damage.", "", "x", "% increased damage"], function (_arg1:int){ return ((300 + (_arg1 * 70))); }); setTrait("QUICK_EYED", G_GEN, 10, 1, "", ["The feat increases the chance you get good events while searching in the town.", "", "x", "% more good events"], function (_arg1:int){ return ((5 + (_arg1 * 10))); }); setTrait("LOVE", G_GEN, 10, 1, "", ["With the feat, you are awarded compensation every time you explode your little sister!", "", "x", " gold per sister"], function (_arg1:int){ return ((5 + (_arg1 * 5))); }); setTrait("SUPPLIER", G_GEN, 10, 1, "", ["You are a respected supplier. Recharge time of all usable items are reduced.", "", "x", "% faster recharge"], function (_arg1:int){ return ((_arg1 * 20)); }); setTrait("POWER_SHOT", G_GEN, 10, 1, "", ["When equipped with a non-autofire gun, you sometimes do 1.5x damage. Never ask why!", "", "x", "% chance"], function (_arg1:int){ return ((_arg1 * 10)); }); setTrait("BASE_AIMING", G_BASE, 999, 999, "", ["Indicates how fast he can aim at his target. Base skills can't be focused. He will gradually develop them depending on his potential.", "Aiming Speed +", "x", ""], function (_arg1:int){ return (_arg1); }); setTrait("BASE_TEAMWORK", G_BASE, 999, 999, "", ["Indicates his workrate. Base skills can't be focused. He will gradually develop them depending on his potential.", "Work Rate +", "x", ""], function (_arg1:int){ return (_arg1); }); devGroup[_devHunter] = ["RIFLE", "SMALL_GUN", "SHOTGUN", "COOL", "ACCURACY", "RELOADING", "CAPABLE", "POWER_SHOT", "SCAVENGER", "AIMED_SHOT", "ENGINEER", "BREEDER", "COOK", "BOW_MASTER", "CRIPPLE_SHOT", "ANTI_AIR", "BURST"]; devGroup[_devRogue] = ["SMALL_GUN", "RIFLE", "COOL", "ACCURACY", "RELOADING", "CAPABLE", "POWER_SHOT", "LUCK", "THREAT", "AIMED_SHOT", "NEGOTIATOR", "SENSE", "KILLER", "ROBBER", "ACTIVE", "BURST", "ONE_SHOT", "QUICK_EYED"]; devGroup[_devSheriff] = ["SHOTGUN", "COOL", "ACCURACY", "RELOADING", "CAPABLE", "DR_HOLLIDAY", "DEFENDER", "LEADERSHIP", "INSURANCE", "FURY", "TAUNT", "LAST_HOPE", "CRIPPLE_SHOT", "QUICK_EYED", "ANTI_ARMOR"]; devGroup[_devMilitia] = ["BIG_GUN", "RIFLE", "COOL", "ACCURACY", "RELOADING", "CAPABLE", "KILLER", "FURY", "TAUNT", "CRIPPLE_SHOT", "ANTI_ARMOR", "DA_BOMB", "BURST", "LOVE", "SUPPLIER"]; devGroup[_devSniper] = ["RIFLE", "COOL", "ACCURACY", "RELOADING", "CAPABLE", "POWER_SHOT", "SENSE", "ONE_HIT_KILL", "AIMED_SHOT", "KILLER", "DISARM", "ANTI_AIR", "ONE_SHOT"]; devGroup[_devRanger] = ["BIG_GUN", "SMALL_GUN", "COOL", "ACCURACY", "RELOADING", "CAPABLE", "SCAVENGER", "LEADERSHIP", "BREEDER", "ANTI_ARMOR", "DA_BOMB", "LAST_HOPE", "BOW_MASTER", "ACTIVE", "SUPPLIER"]; devGroup[_devDuelist] = ["SMALL_GUN", "COOL", "ACCURACY", "RELOADING", "CAPABLE", "POWER_SHOT", "SENSE", "AIMED_SHOT", "NEGOTIATOR", "LUCK", "KILLER", "ENGINEER", "FURY", "ONE_SHOT"]; devGroup[_devNoble] = ["SMALL_GUN", "RIFLE", "SHOTGUN", "BIG_GUN", "COOL", "ACCURACY", "RELOADING", "CAPABLE", "LUCK", "INSURANCE", "ACTIVE", "TAUNT", "COOK", "ACCOUNTANT", "BOW_MASTER", "BURST", "ANTI_AIR", "ANTI_ARMOR"]; devGroup[_devGuard] = ["SHOTGUN", "SMALL_GUN", "COOL", "ACCURACY", "RELOADING", "CAPABLE", "DR_HOLLIDAY", "THREAT", "DEFENDER", "LEADERSHIP", "INSURANCE", "ACCOUNTANT", "DISARM", "LAST_HOPE", "LOVE", "SUPPLIER"]; i = 1; while (i < (_maxDev + 1)) { p = 0; while (p < devGroup[i].length) { if (TRAIT[devGroup[i][p]] == undefined){ }; p++; }; i++; }; classList = [3, 1, 6, 4, 2, 5, 7, 8]; wexpList = [TRAIT.SMALL_GUN, TRAIT.BIG_GUN, TRAIT.RIFLE, TRAIT.SHOTGUN, -1]; chainMode = []; chainSound = []; player = new Object(); player.money = [200]; player.accuracyFix = []; player.shooting = []; player.shootTimer = []; player.exist = []; player.target = []; player.pic = []; player.name = []; player.sex = []; player.lv = []; player.exp = []; player.devType = []; player.sp = []; player.kill = []; player.earn = []; player.trait = []; player.cost = []; player.nextTrait = []; player.ai = []; player.aiFunc = []; player.aimCount = []; player.aimTime = []; player.forcus = []; player.workRate = []; player.potentialAim = []; player.potentialTeam = []; player.accuracyDiv = []; player.shell = []; player.idleCount = []; player.rangeFix = []; player.grenadeCount = []; player.frenzy = []; player.rampage = []; player.chain = []; player.trained = []; player.burst = []; player.wexpRef = []; player.wexp = []; player.optBoss = []; player.optWall = []; player.onMark = []; i = 0; while (i < maxChara) { player.optBoss[i] = false; player.optWall[i] = false; player.exist[i] = false; player.pic[i] = (0 + int((Math.random() * _maxPic))); player.target[i] = maxEnemy; player.trait[i] = []; i++; }; generatePlayer(0, 1, -1); mission = new Object(); mission.time = 0; mission.endTime = 1000; mission.level = 1; mission.spawnRate = 20; mission.spawnInterval = 220; mission.spawnDuration = 120; initEnemy(); initButton(); dialog_mc = new dialog(); i = 0; while (i < 5) { inventory_mc[i] = (new itemPicture() as MovieClip); if (inventory.num[(_invPlayer + i)] < 1){ inventory_mc[i].visible = false; }; inventory_mc[i].x = (25 + (i * 90)); inventory_mc[i].y = 343; inventory_mc[i].gotoAndStop(inventory.graphic[(_invPlayer + i)]); inventory_mc[i].filters = [filterDrop]; inventory_mc[i].name = ("invmc" + i); inventory_mc[i].visible = false; addChild(inventory_mc[i]); i++; }; gotoAndPlay("title"); } public function carryOver(){ var _local1:*; sound_click1.play(); gameOver = false; gamePaused = false; exitBattle(); if (amb != null){ amb.stop(); }; stage.focus = stage; gameContinued = true; _local1 = (player.money[_pc] - mission.resultBefore); if (_local1 < 200){ _local1 = 200; }; loadGame(); player.money[_pc] = (player.money[_pc] + _local1); game.carryOver = true; game.ap++; removeChild(gameoverLogo); gotoAndStop("town"); } public function KeyDown_town(_arg1:KeyboardEvent){ if (gamePaused){ return; }; if (debug){ game.ap = (game.ap + 10); }; } public function kongSubmit(_arg1, _arg2, _arg3, _arg4){ var _local5:* = [_arg2, _arg3, _arg4]; if (_local5[1] < _local5[2]){ _local5[1] = _local5[2]; }; if (_local5[0] < _local5[1]){ _local5[0] = _local5[1]; }; kongAPI.stats.submit((_arg1 + "OnCasual"), _local5[0]); kongAPI.stats.submit(_arg1, _local5[1]); kongAPI.stats.submit((_arg1 + "OnHardcore"), _local5[2]); } public function newTitle(_arg1){ if (game.day <= 5){ game.title = 0; game.titleMoney = 0; return (false); }; if ((((game.title < 1)) && ((game.day > 5)))){ if (_arg1 == 1){ game.title = 1; game.titleMoney = 100; }; return (true); }; if ((((game.title < 2)) && ((game.day > 10)))){ if (_arg1 == 1){ game.title = 2; game.titleMoney = 200; }; return (true); }; if ((((game.title < 3)) && ((game.day > 15)))){ if (_arg1 == 1){ game.title = 3; game.titleMoney = 400; }; return (true); }; if ((((game.title < 4)) && ((game.day > 25)))){ if (_arg1 == 1){ game.title = 4; game.titleMoney = 700; }; return (true); }; if ((((game.title < 5)) && ((game.day > 40)))){ if (_arg1 == 1){ game.title = 5; game.titleMoney = 1000; }; return (true); }; if ((((game.title < 6)) && ((game.day > 60)))){ if (_arg1 == 1){ game.title = 6; game.titleMoney = 1500; }; return (true); }; if ((((game.title < 7)) && ((game.day > 80)))){ if (_arg1 == 1){ game.title = 7; game.titleMoney = 2000; }; return (true); }; if ((((game.title < 8)) && ((game.day > 100)))){ if (_arg1 == 1){ game.title = 8; game.titleMoney = 3000; }; return (true); }; return (false); } public function kongregateStatsIdx(){ saveIndex(); if ((((kongregate == 0)) || (kongregateEmu))){ return; }; kongAPI.stats.submit("MedalsEarned", medalNum()); kongSubmit("MostDaysSurvived", idx.dayCasual, idx.day, idx.dayHC); } function frame3(){ gotoAndStop("logo"); } function frame9(){ stage.addEventListener(Event.ENTER_FRAME, EnterFrame_logo); stage.addEventListener(MouseEvent.MOUSE_DOWN, MouseLDown_logo); } public function openHelp(){ if (gameStage != _stageTitle){ window_mc.saveGameButton.mouseEnabled = false; window_mc.helpButton.mouseEnabled = false; window_mc.returnTitleButton.mouseEnabled = false; } else { elonaButton.mouseEnabled = false; }; blurMcHelp = makeBlurScreen(); sound_scroll1.play(); helpMode = 4; window4_mc.visible = false; window4_mc.animeTime = 16; window4_mc.x = 600; window4_mc.y = -20; window4_mc.addEventListener(Event.ENTER_FRAME, onEnterFrame_help); window4_mc.gotoAndStop("help4"); window4_mc.addFrameScript((window4_mc.currentFrame - 1), insertHelp); window4_mc.closeButton.visible = false; stage.addChild(window4_mc); } public function EnterFrame_logo2(_arg1){ } public function calcMuseum(){ return ((50 + int(((medalNum() * 6) * museumFix())))); } public function select_proc(){ select = -1; i = 0; while (i < selectID) { if (buttonArray[i].hitTestPoint(mouseX, mouseY, true)){ buttonArray[i].filters = filter2; select = i; } else { buttonArray[i].filters = filter1; }; i++; }; } public function sortChara(){ var _local1:int; var _local2:* = 0; while (_local2 < (maxAlly - 1)) { _local1 = (_local2 + 1); if ((((player.exist[_local2] == false)) && ((player.exist[_local1] == true)))){ swapChara(_local2, _local1); }; _local2++; }; } public function getWeaponInfo(_arg1:int){ var _local2:* = [sound_gun1, 10, 24, 10]; if (_arg1 == 1){ _local2 = [sound_gun6, 10, 24, 10, 1, (3 * 30), 4]; }; if (_arg1 == 2){ _local2 = [sound_gun2, 10, 24, 10, 5, 5, 1]; }; if (_arg1 == 3){ _local2 = [sound_gun3, 95, 109, 95]; }; if (_arg1 == 4){ _local2 = [sound_gun4, 95, 109, 95]; }; if (_arg1 == 5){ _local2 = [sound_gun7, 120, 134, 120]; }; if (_arg1 == 13){ _local2 = [sound_gun5, 120, 134, 120]; }; if ((((_arg1 == 14)) || ((_arg1 == 15)))){ _local2 = [sound_gun1, 10, 24, 10]; }; if (_arg1 == 16){ _local2 = [sound_gun2, 145, 159, 145]; }; if (_arg1 == 17){ _local2 = [sound_gun8, 120, 134, 120]; }; if (_arg1 == 18){ _local2 = [sound_gun9, 10, 24, 10]; }; if (_arg1 == 19){ _local2 = [sound_gun10, 95, 109, 95]; }; if (_arg1 == 20){ _local2 = [sound_gun12, 95, 109, 95]; }; if (_arg1 == 21){ _local2 = [sound_gun11, 170, 184, 184]; }; if (_arg1 == 22){ _local2 = [sound_gun13, 170, 184, 184]; }; if (_arg1 == 23){ _local2 = [sound_gun14, 70, 84, 86]; }; if (_arg1 == 24){ _local2 = [sound_gun15, 70, 84, 86]; }; if (_arg1 == 25){ _local2 = [sound_gun15, 70, 84, 86]; }; if (_arg1 == 26){ _local2 = [sound_gun14, 70, 84, 86]; }; if (_arg1 == 27){ _local2 = [sound_fireball, 70, 84, 86]; }; if (_arg1 == 36){ _local2 = [sound_gun1, 120, 134, 120]; }; return (_local2); } public function text_effect(_arg1:String){ var _local2:*; _local2 = (new textEffect() as MovieClip); _local2.x = -180; _local2.y = 320; _local2.wait = ("textEff" + textCount); textCount++; _local2.name = ("textEff" + textCount); _local2.msg.msg.text = _arg1; stage.addChild(_local2); } public function deleteChara(_arg1:int){ player.exist[_arg1] = false; sortChara(); } public function getFreeAlly(){ var _local1:* = 0; while (_local1 < maxAlly) { if (player.exist[_local1] == false){ return (_local1); }; _local1++; }; return (-1); } public function gameMedalBonus(){ if (medal[_medalClass1]){ idx.unlocked[5] = true; }; if (medal[_medalClass2]){ idx.unlocked[6] = true; }; if (medal[_medalClass3]){ idx.unlocked[7] = true; }; if (medal[_medalClass4]){ idx.unlocked[4] = true; }; } public function updateSaveSlot(){ var _local1:*; saveBox.visible = true; saveBox.enabled = true; saveBox.removeAll(); i = 0; while (i < maxSave) { _local1 = SharedObject.getLocal(("elonas" + i)); if ((((_local1.data.deleted == true)) || ((idx.saveName[i] == undefined)))){ idx.saveName[i] = _strEmptySave; }; saveBox.addItem({data:i, label:("" + idx.saveName[i])}); i++; }; saveBox.selectedItem = saveBox.getItemAt(idx.slot); } public function updateCharaMenu(){ var _local1:*; var _local2:*; var _local3:*; var _local4:int; var _local5:*; stage.focus = stage; removeStats(); _local1 = getClass(player.devType[cs]); window2_mc.classText.text = _local1[0]; statsCount = 0; _local2 = []; _local3 = 0; _local4 = 0; while (_local4 < _maxTrait) { if (player.trait[cs][_local4] == 0){ } else { if ((((((cs == _pc)) && ((player.ai[cs] == _aiHero)))) && ((((_local4 == TRAIT.BASE_AIMING)) || ((_local4 == TRAIT.BASE_TEAMWORK)))))){ } else { _local3 = (50000 - _local4); if (PARTY[ID[_local4]] != undefined){ _local3 = (10000 + _local4); }; if (traitRef[_local4].group == G_BASE){ _local3 = (70000 + _local4); }; if (_local4 < G_GEN){ _local3 = (100000 + _local4); }; _local2[_local2.length] = {id:_local4, sort:_local3}; }; }; _local4++; }; _local2.sortOn("sort", (Array.NUMERIC | Array.DESCENDING)); _local5 = 0; while (_local5 < _local2.length) { _local4 = _local2[_local5].id; _local3 = statsCount; _local1 = REF[ID[_local4]](cs); stats_mc[_local3] = (new trait() as MovieClip); stats_mc[_local3].x = (150 + (int((_local3 / 6)) * 130)); stats_mc[_local3].y = (232 + ((_local3 % 6) * 18)); stats_mc[_local3].traitName.text = _local1[0]; stats_mc[_local3].hintTxt = _local1; stats_mc[_local3].id = _local4; if (player.forcus[cs] == _local4){ window2_mc.fo.x = (stats_mc[_local3].x - 22); window2_mc.fo.y = (stats_mc[_local3].y + 2); }; if ((((traitRef[stats_mc[_local3].id].group == G_BASE)) || ((stats_mc[_local3].id < G_GEN)))){ Tweener.addTween(stats_mc[_local3].traitName, {time:0, _color:278544}); stats_mc[_local3].icon.gotoAndStop(2); } else { if (PARTY[ID[_local4]] != undefined){ stats_mc[_local3].icon.gotoAndStop(3); } else { stats_mc[_local3].icon.gotoAndStop(1); }; }; window2_mc.addChild(stats_mc[_local3]); statsCount++; _local5++; }; window2_mc.costText.visible = false; window2_mc.order.visible = true; window2_mc.order.removeAll(); if (cs == _pc){ window2_mc.order.addItem({data:_aiHero, label:"Hero Mode"}); }; window2_mc.order.addItem({data:_aiNormal, label:"Attack mobs in weapon range"}); window2_mc.order.addItem({data:_aiNoAir, label:" +don't attack air mobs"}); window2_mc.order.addItem({data:_aiNoArmor, label:" +don't attack armored mobs"}); window2_mc.order.addItem({data:_aiNeither, label:" +don't attack either"}); window2_mc.order.addItem({data:_aiAir, label:"Attack air mobs"}); window2_mc.order.addItem({data:_aiArmor, label:"Attack armored mobs"}); window2_mc.order.addItem({data:_aiFireAtWill, label:"Always fire at will"}); _local4 = 0; while (_local4 < ((_aiFireAtWill + 1) + _if((cs == _pc)))) { if (player.ai[cs] == window2_mc.order.getItemAt(_local4).data){ window2_mc.order.selectedItem = window2_mc.order.getItemAt(_local4); }; _local4++; }; window2_mc.order.dropdownWidth = 190; window2_mc.order.rowCount = 7; window2_mc.order.addEventListener(Event.OPEN, orderOpen); window2_mc.order.addEventListener(Event.CLOSE, orderClose); window2_mc.order.addEventListener(Event.CHANGE, orderClick); window2_mc.order.addEventListener(ListEvent.ITEM_ROLL_OVER, orderRollOver); window2_mc.fo.visible = false; window2_mc.optBoss.visible = false; window2_mc.optWall.visible = false; window2_mc.optBoss.label = "Boss"; window2_mc.optWall.label = "Defend"; window2_mc.optBoss.selected = player.optBoss[cs]; window2_mc.optWall.selected = player.optWall[cs]; window2_mc.optHint.visible = false; defHint = "\nClick \"Recruit\" to hire this person."; if (cs != maxAlly){ if (player.forcus[cs] != -1){ window2_mc.fo.visible = true; }; if (cs == _pc){ defHint = "Click a skill to set it as a focused skill.\nIt will appear on the list more frequently when leveling."; } else { defHint = "Click a skill to set it as a focused skill.\nYour ally will likely gain the skill when leveling."; }; }; if (cs == _pc){ window2_mc.dismissText.visible = false; window2_mc.dismissButton.visible = false; if (player.ai[_pc] != _aiHero){ window2_mc.optBoss.visible = true; window2_mc.optWall.visible = true; window2_mc.optHint.visible = true; }; } else { if (cs == maxAlly){ window2_mc.costText.visible = true; window2_mc.costText.text = ("" + player.cost[cs]); if (player.cost[cs] > player.money[_pc]){ window2_mc.costText.textColor = 0xCC0000; } else { window2_mc.costText.textColor = 204; }; window2_mc.orderText.text = "COST."; window2_mc.dismissText.text = "RECRUIT"; window2_mc.order.visible = false; } else { window2_mc.orderText.text = "ORDER."; window2_mc.dismissText.text = "DISMISS"; window2_mc.optBoss.visible = true; window2_mc.optWall.visible = true; window2_mc.optHint.visible = true; window2_mc.order.enabled = true; }; window2_mc.dismissText.visible = true; window2_mc.dismissButton.visible = true; }; window2_mc.killText.text = player.kill[cs]; window2_mc.earnText.text = player.earn[cs]; if (window2_mc.optHint.visible == false){ window2_mc.optHint.hintTxt = undefined; } else { window2_mc.optHint.hintTxt = ["Options", "When \"Boss\" is checked, the character will go for the boss when a boss appears.\nWhen \"Defend\" is checked, the character will go for the enemies attacking your wall.", "", "", ""]; }; if (cs == _pc){ window2_mc.wageText.text = titleList[game.title]; window2_mc.wage.visible = false; window2_mc.titleText.visible = true; } else { window2_mc.wage.visible = true; window2_mc.titleText.visible = false; if (wage(cs) == 0){ window2_mc.wageText.text = "Free"; } else { window2_mc.wageText.text = (("" + wage(cs)) + " GP"); }; }; } public function medalNum(){ var _local2:int; var _local1:int; _local2 = 0; while (_local2 < _maxMedal) { if (medal[_local2] > 0){ _local1++; }; _local2++; }; return (_local1); } public function getItemDetail(_arg1:int){ var _local2:* = inventory.id[_arg1]; var _local3 = ""; if (_local2 == 6){ _local3 = "Fur skinned from a dead animal. You can sell it for money."; }; if (_local2 == 7){ _local3 = "An armor looted from a dead soldier. You can sell it for some money."; }; if ((((((_local2 >= 8)) && ((_local2 <= 10)))) || ((_local2 == 121)))){ _local3 = ("A modification device that can be mounted on a weapon. " + encRef[inventory.mod[_arg1]].detail); }; if (_local2 == 11){ _local3 = (("[Usable] When thrown to the ground, it exlodes and deals " + inventory.attack[_arg1]) + " damage to all enemies surrounding it."); }; if (_local2 == 12){ _local3 = (("[Usable] Repairs " + calcRepair(_arg1)) + " points of castle HP when used. It's a life saver but has long recharge time."); }; if (_local2 == 28){ _local3 = "Yummy rat roast. You can sell it for money."; }; if (_local2 == 29){ _local3 = "A helmet looted from a dead soldier. You can sell it for some money."; }; if (_local2 == 30){ _local3 = "A beautiful feather of some bird. You can sell it for some money."; }; if (_local2 == 31){ _local3 = "A piece of meat of some animal or whatever. You can sell it for some money."; }; if (_local2 == 32){ _local3 = "Taken from a destroyed machine. Contains some rare metals. You can sell it for some money."; }; if (_local2 == 33){ _local3 = "A bottle of insect blood. You can sell it for some money."; }; if (_local2 == 34){ _local3 = "Carefully taken from a dead dragon. You can sell it for some money."; }; if (_local2 == 35){ _local3 = (("A special token. When dragged onto a shop item, the item get discounted by " + inventory.attack[_arg1]) + " gp. Use it wisely!"); }; if (_local2 == 37){ _local3 = "[Usable] A special artifact of Jure, Goddess of Healing. Her blessing protects your castle from enemies for a short period."; }; if (_local2 == 38){ _local3 = "[Usable] A special artifact. The ancient sword is called Ragnarok for a reason."; }; if (_local2 == 101){ _local3 = "\"These guy's do two thing's well, feasting on food bought with their hard earned gold... And earning their gold.\""; }; if (_local2 == 102){ _local3 = "\"One day these guy's just showed up shooting... That make's them party crashers and they must be treated accordingly!\""; }; if (_local2 == 103){ _local3 = "\"Something seems to have scared the sheep all in your direction, they are not damaging \"Your castle\" intentionally but... You don't care you kill them anyway.\""; }; if (_local2 == 104){ _local3 = "\"One night you saw one trip on a rock and then blow up... Now there's a whole army of them!\""; }; if (_local2 == 105){ _local3 = "\"Unfortunately you do not carry insurance against damage from these weapons, also unfortunate is the fact that during your recent tax audit they were mistaken as yours and your taxes have been raised accordingly.\""; }; if (_local2 == 106){ _local3 = "\"They eat Dragonflies, Dragonflies have taken up residence in your castle...\""; }; if (_local2 == 107){ _local3 = "\"Apparently the rat's came over in ships... From the stench you can guess why they left.\""; }; if (_local2 == 108){ _local3 = "\"Oddly enough these zealots just showed up and attacked you, you just assume they want to meet their maker sooner.\""; }; if (_local2 == 109){ _local3 = "\"An underground spider known to like peace and quiet, how sad for it because you produce neither.\""; }; if (_local2 == 110){ _local3 = "\"These insects are in brooding season and are looking for a place to nest... Apparently they've taken a liking to your younger sister.\""; }; if (_local2 == 112){ _local3 = "\"You don't know where these came from but by the look's of them it's probably safe to say you've ticked off Mani of Machine.\""; }; if (_local2 == 113){ _local3 = "\"Some guy from Vernis showed up the other night and killed a Bard...\""; }; if (_local2 == 114){ _local3 = "\"Well with as much killing as you have been doing lately Someone was bound to hold a grudge.\""; }; if (_local2 == 115){ _local3 = "\"Some guy from Vernis showed up the other night and killed a Bard...\""; }; if (_local2 == 116){ _local3 = "\"Apparently this is just a Juere prototype related to a bigger project, the fact that it's causing you nuisance is purely coincidental.\""; }; if (_local2 == 117){ _local3 = "\"These monster's chew through anything. Seems they've eaten everything on the way and the castle food supplies are kinda low...\""; }; return (_local3); } public function levelUp(_arg1:int, _arg2:Boolean){ var _local3:MovieClip; player.exp[_arg1] = (player.exp[_arg1] % 1000); var _local4 = player.lv; var _local5 = _arg1; var _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local4 = player.sp; _local5 = _arg1; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; player.trait[_arg1][player.devType[_arg1]] = player.lv[_arg1]; if (Math.random() < player.potentialAim[_arg1]){ _local4 = player.trait[_arg1]; _local5 = TRAIT.BASE_AIMING; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; }; if (Math.random() < player.potentialTeam[_arg1]){ _local4 = player.trait[_arg1]; _local5 = TRAIT.BASE_TEAMWORK; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; }; if (_arg2){ news = (news + (((((player.name[_arg1] + " ") + _is(_arg1)) + " now level ") + player.lv[_arg1]) + "!\n")); sound_complete.play(0, 0, trans[_arg1]); _local3 = new effect2(); _local3.x = player_mc[_arg1].x; _local3.y = player_mc[_arg1].y; _local3.gotoAndPlay("lvup"); stage.addChild(_local3); }; if (_arg1 == _pc){ kongregateStats(); }; } public function getMedal(_arg1:int){ if (medal[_arg1] == true){ return; }; var _local2:* = getMedalInfo(_arg1); if (_local2[0] == "null"){ return; }; medal[_arg1] = true; sound_medal.play(); popInfo((("You've been awarded <" + _local2[0]) + "> Medal!")); kongregateStatsIdx(); } public function showEventDialog(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:String; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:String; if (_arg1 == _dialogNewRecruit){ if (game.ap < 2){ noAp(); return; }; sound_good.play(); game.ap = (game.ap - 2); _local2 = new eventWindow(); _local2.card.gotoAndStop(7); _local2.title.text = "New Recruit!"; _local2.text.text = "As you review the list of recruits with no real prospects, one of the guards says, \"Some traveler just arrived at the inn...looks quite capable in my opinion.\" Finally, a new recruit!"; exitMenu(); generateRecruit(); sound_scroll1.play(); menuId = 3; window2_mc.gotoAndPlay("menu_chara"); window2_mc.x = 1000; window2_mc.addFrameScript((window2_mc.currentFrame - 1), procCharaMenu); }; if (_arg1 == _dialogFreeRepair){ if (game.castleHP == game.castleMHP){ sound_beep.play(); popInfo("The castle is not damaged!"); return; }; if (game.ap < 2){ noAp(); return; }; sound_repair1.play(); game.ap = (game.ap - 2); _local2 = new eventWindow(); _local2.card.gotoAndStop(2); _local2.title.text = "Free Repair!"; _local2.text.text = "Citizens acknowledge your hard work and decided to rebuild the castle walls for free!"; game.castleHP = game.castleMHP; removeUpgrades(); updateCastleMenu(); updateInterface(); }; if (_arg1 == _dialogActSearch){ if (game.ap < 1){ noAp(); return; }; game.ap = (game.ap - 1); _local2 = new eventWindow(); _local2.card.gotoAndStop(13); search(_local2); }; if (_arg1 == _dialogActParty){ if (game.ap < 3){ noAp(); return; }; game.ap = (game.ap - 3); game.partyCount++; game.partyHeld = true; sound_party.play(); _local2 = new eventWindow(); mission.dmgFix = (mission.dmgFix + (calcParty() / 100)); _local2.card.gotoAndStop(15); _local2.title.text = "Party"; _local2.text.text = (("You hold a party and celebrate the victory today. Everyone seems to be enjoying it! You and your troops deal " + calcParty()) + "% more damage tomorrow."); }; if (_arg1 == _dialogActPray){ if (game.ap < 2){ noAp(); return; }; game.ap = (game.ap - 2); game.prayed = true; game.prayerCount++; sound_pray1.play(); _local2 = new eventWindow(); _local2.card.gotoAndStop(5); mission.absorbFix = (mission.absorbFix + (int(((Math.random() * 15) + 5)) / 100)); _local2.title.text = "Prayer"; _local2.text.text = (("A holy aura surrounds your castle as you say grace to your God. The castle wall will absorb " + int((mission.absorbFix * 100))) + "% damage during the next battle."); }; if (_arg1 == _dialogActClaim){ if (game.ap < 4){ noAp(); return; }; game.ap = (game.ap - 4); sound_award.play(); _local2 = new eventWindow(); _local2.card.gotoAndStop(3); newTitle(1); _local2.title.text = "New Title!"; _local2.text.text = (((("Your remarkable achievements have been acknowledged and you are granted a new title, " + titleList[game.title]) + "! You will receive ") + game.titleMoney) + " gold pieces every day as a salary."); }; if (_arg1 == _dialogActEat){ if (game.ap < 3){ noAp(); return; }; game.ap = (game.ap - 3); sound_eat1.play(); _local2 = new eventWindow(); _local2.card.gotoAndStop(12); mission.expFix = ((1.05 + (Math.random() / 4)) + (PARTY.COOK / 100)); _local2.title.text = "Dinner"; _local2.text.text = (("You and your troops enjoy a meal and some drinks with some of the soldiers. You are refreshed! You and your troops will get " + int(((mission.expFix * 100) - 100))) + "% more exp in the next battle."); }; if (_arg1 == _dialogActEgg){ if (game.ap < 1){ noAp(); return; }; sound_gold1.play(); game.ap = (game.ap - 1); game.egg = true; _local2 = new eventWindow(); _local2.card.gotoAndStop(1); _local2.title.text = "Eggs"; _local4 = (2 + int(((game.chicken / 2) + ((int(((Math.random() * game.chicken) / 2)) * (100 + PARTY.BREEDER)) / 100)))); game.eggsCollected = (game.eggsCollected + _local4); _local7 = 1; if (medal[_medalChicken1]){ _local7 = (_local7 + 0.05); }; if (medal[_medalChicken2]){ _local7 = (_local7 + 0.15); }; if (medal[_medalChicken3]){ _local7 = (_local7 + 0.3); }; _local8 = ((_local4 * 12) * _local7); _local8 = int(_local8); _local2.text.text = (((("Your lovely chickens produced " + _local4) + " eggs today! You sold them and received ") + _local8) + " gold pieces."); player.money[_pc] = (player.money[_pc] + _local8); game.totalMoney = (game.totalMoney + _local8); }; if (_arg1 == _dialogActTrain){ _local3 = 0; for (;_local3 < 10;_local3++) { _local5 = int((Math.random() * getFreeAlly())); if (player.trained[_local5] >= game.spTrainer){ continue; }; }; if (player.trained[_local5] >= game.spTrainer){ _local5 = -1; _local3 = 0; while (_local3 < getFreeAlly()) { if (player.trained[_local3] < game.spTrainer){ _local5 = _local3; break; }; _local3++; }; if (_local5 == -1){ sound_beep.play(); popInfo("For more training, you need an upgrade."); return; }; }; if (game.ap < 4){ noAp(); return; }; sound_complete.play(); game.ap = (game.ap - 4); _local2 = new eventWindow(); _local2.card.gotoAndStop(16); _local9 = listTrait(_local5); _local4 = _local9[int((Math.random() * _local9.length))]; var _local12 = player.trait[_local5]; var _local13 = _local4; var _local14 = (_local12[_local13] + 1); _local12[_local13] = _local14; _local12 = player.trained; _local13 = _local5; _local14 = (_local12[_local13] + 1); _local12[_local13] = _local14; _local10 = REF[ID[_local4]](_local5); if (_local5 == _pc){ _local6 = "you gain "; } else { _local6 = (player.name[_local5] + " gains "); }; _local11 = (player.name[_local5] + " "); if (player.trained[_local5] < game.spTrainer){ _local11 = (_local11 + (("can still take the training " + (game.spTrainer - player.trained[_local5])) + " time(s).")); } else { _local11 = (_local11 + "reached maximum training limit."); }; _local2.title.text = "Training"; _local2.text.text = (((((("The special trainer picks " + player.name[_local5]) + ". After hours of training, ") + _local6) + _local10[0]) + "! ") + _local11); }; if (_arg1 == _dialogActTaunt){ if (game.ap < 2){ noAp(); return; }; sound_gold1.play(); game.ap = (game.ap - 2); game.tauntCount++; game.taunted++; _local2 = new eventWindow(); _local2.card.gotoAndStop(14); _local2.title.text = "Taunt!"; _local3 = (0.3 + (Math.random() / 4)); mission.hpFix = (mission.hpFix + _local3); _local6 = (("You taunt the enemies outside the castle. They will have " + int((_local3 * 100))) + "% more HP tomorrow."); _local4 = mission.reward; mission.reward = int(((mission.reward * (100 + (PARTY.TAUNT / game.taunted))) / 100)); _local2.text.text = (((((_local6 + " Your King decided to increase your reward from ") + _local4) + " to ") + mission.reward) + " gold pieces!"); }; if (_arg1 == _dialogActSleep){ sound_night.play(); _local2 = new eventWindow(); _local2.card.gotoAndStop(11); _local2.title.text = "Resting"; _local2.text.text = "The day is finally over! You relax for the first time today and settle down to enjoy the warm, cozy bed."; }; if (_arg1 == _dialogActHire){ sound_good.play(); _local2 = new eventWindow(); _local2.card.gotoAndStop(7); _local2.title.text = "Hired Gun"; _local2.text.text = "You've hired a henchman for this mission. Is it really worth the money? You'll find out soon!"; }; if (_arg1 == _dialogRefreshStock){ if (game.ap < 2){ noAp(); return; }; game.ap = (game.ap - 2); sound_good.play(); _local2 = new eventWindow(); _local2.card.gotoAndStop(8); _local2.title.text = "New Goods!"; _local2.text.text = "You start complaining how the selection of goods is limited. After much fussing, the blacksmith finally gets off his lazy butt, \"Alright, alright, lad. Here're our special stocks.\" They have new goods now!"; exitMenu(); generateShop(); sound_scroll1.play(); menuId = 4; window2_mc.gotoAndPlay("menu_shop"); window2_mc.x = 1000; window2_mc.addFrameScript((window2_mc.currentFrame - 1), procShopMenu); }; if (_arg1 == _dialogRobVisitor){ if (game.ap < 2){ noAp(); return; }; game.ap = (game.ap - 2); game.robbed++; game.robCount++; sound_gun2.play(0, 8); _local2 = new eventWindow(); _local2.card.gotoAndStop(6); _local2.title.text = "Slaughter!"; _local8 = int((((((1 + (game.day * 5)) + (Math.random() * limit(((game.day * 10) + 100), 0, (600 + (PARTY.ROBBER * 10))))) * (100 + PARTY.ROBBER)) / 100) / game.robbed)); if (medal[_medalAction5]){ _local8 = int((_local8 * 1.25)); }; if (game.robbed == 1){ _local2.text.text = (("You start firing a gun at women and children. After you have slaughtered them all, you search the ground for money and collect " + _local8) + " gold pieces!"); } else { _local2.text.text = (("You start firing a gun at women and children AGAIN! There're only few people left in the museum but you manage to collect " + _local8) + " gold pieces."); }; game.childrenRobbed = (game.childrenRobbed + (int((_local8 / 10)) + 1)); player.money[_pc] = (player.money[_pc] + _local8); game.totalMoney = (game.totalMoney + _local8); updateInterface(); }; actionMedal(); updateAp(); _local2.name = "eventWindow"; eventDialog = _arg1; initPartySkill(); kongregateStats(); stage.addChild(_local2); } public function damageCastle(_arg1, _arg2:int){ var _local3:int; if (immune){ return; }; if (protTime > 0){ sound_defend.play(0, 0, soundPos(640)); return; }; if (((!((_arg1 == undefined))) && (PARTY.GUARDIAN))){ _arg1.damage(PARTY.GUARDIAN, -1, _arg1.x, _arg1.y, PARTY.GUARDIAN_LIST[int((Math.random() * PARTY.GUARDIAN_LIST.length))], false); }; if (PARTY.INSURANCE){ player.money[_pc] = (player.money[_pc] + PARTY.INSURANCE); game.totalMoney = (game.totalMoney + PARTY.INSURANCE); updateGold(); }; if ((Math.random() * 100) < PARTY.DEFENDER){ sound_defend.play(0, 0, soundPos(640)); return; }; if (((sister.free) && ((sister.dead == false)))){ sister.gotoAndPlay("damage"); }; castleCounter = 10; blendType = 0; _arg2 = int((_arg2 * (castleAbsorb() - mission.absorbFix))); if (_arg2 < 1){ _arg2 = 1; }; game.castleHP = (game.castleHP - _arg2); castleHPText.text = ((game.castleHP + "/") + game.castleMHP); if (Math.random() > 0.6){ _local3 = int((Math.random() * maxAlly)); if ((((((((player.exist[_local3] == true)) && ((player.rampage[_local3] <= 0)))) && (!((CALC.LAST_HOPE(_local3) == 0))))) && ((CALC.LAST_HOPE(_local3) < ((game.castleHP / game.castleMHP) * 100))))){ rampageOn(_local3, (10 * 30)); }; }; } public function saveIndex(){ var _local2:Object; var _local1:SharedObject = SharedObject.getLocal("elonas_idx"); if (_local1){ _local2 = _local1.data; _local2.idx = cloneObj(idx); _local2.medal = cloneObj(medal); }; } public function throwRocket(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8:int, _arg9:int){ var _local10:*; _arg7 = ((((_arg7 * Math.atan2((Math.abs((_arg5 - _arg3)) * 2), Math.abs((_arg6 - _arg4)))) * 2) / Math.PI) + 1.5); _local10 = (new bullet_rocket() as MovieClip); if (((!((_arg1 == hero))) && (!((_arg1 == -1))))){ _arg5 = (_arg5 + (player.target[_arg1].speed * ((_arg3 - _arg5) / (_arg7 * 0.9)))); }; _local10.x = _arg3; _local10.y = 0; _local10.a = 0; _local10.speed = _arg7; _local10.x2 = _arg3; _local10.y2 = _arg4; _local10.x1 = _arg5; _local10.y1 = _arg6; _local10.dmg = _arg8; _local10.chara = _arg1; _local10.w = _arg2; _local10.explode = explode; stage.addChild(_local10); } public function searchNextAlert(_arg1){ var _local2:*; if (((!((nextAlert == undefined))) && ((nextAlert.isDead() == false)))){ _local2 = nextAlert; player.shooting[_arg1] = false; player.burst[_arg1] = 0; player.target[_arg1] = _local2; player.onMark[_arg1] = true; _local2.onMark = true; player.aimCount[_arg1] = int((player.aimTime[_arg1] * (5.5 - (player.target[_arg1].x / 160)))); if (player.aimCount[_arg1] < 3){ player.aimCount[_arg1] = 3; }; } else { clearAiTarget(_arg1); }; } public function updateAmmoBar(){ if (inventory.num[ci] > 0){ ammobar.scaleX = (inventory.ammo[ci] / inventory.ammoMax[ci]); ammoText.text = ((("" + inventory.ammo[ci]) + "/") + inventory.ammoMax[ci]); } else { ammobar.scaleX = 0; ammoText.text = ""; }; } public function max(_arg1, _arg2){ if (_arg1 < _arg2){ return (_arg1); }; return (_arg2); } public function getMedalInfo(_arg1:int){ var _local2:Array = ["null", "null"]; if (_arg1 == _medalDay1){ _local2 = ["Newcomer", "Just play!", "Given when you first play Elona Shooter. It's a free medal!", "No Bonus"]; }; if (_arg1 == _medalDay2){ _local2 = ["Experienced", "Survive 10 days.", "You've survived 10 days. It's not that hard to accomplish it but well.", "+100 GP Starting Money"]; }; if (_arg1 == _medalDay3){ _local2 = ["Survivor", "Survive 20 days.", "You've survived 20 days. You sure know how to kill sheep!", "+200 GP Starting Money"]; }; if (_arg1 == _medalDay4){ _local2 = ["Veteran", "Survive 35 days.", "You've survived 35 days. This is something.", "+300 GP Starting Money"]; }; if (_arg1 == _medalDay5){ _local2 = ["Elite", "Survive 50 days.", "You've survived 50 days! Nice!", "+500 GP Starting Money"]; }; if (_arg1 == _medalDay6){ _local2 = ["Savior", "Survive ?? days.", "You've survived 80 days! You are the savior.", "+750 GP Starting Money"]; }; if (_arg1 == _medalDay7){ _local2 = ["Choosen one", "Survive, survive!", "You've survived 150 days! I don't belive it!", "+1000 GP Starting Money"]; }; if (_arg1 == _medalChicken1){ _local2 = ["Chicken Lover", "Buy 30 chickens.", "You've bought 30 chickens. You love chickens, chickens love you!", "+5% Egg Revenue"]; }; if (_arg1 == _medalChicken2){ _local2 = ["Chicken Prince", "Buy 60 chickens.", "You've bought 60 chickens. You love chickens, chickens love you!", "+15% Egg Revenue"]; }; if (_arg1 == _medalChicken3){ _local2 = ["Chicken King", "Buy lots of chickens!", "You've bought 120 chickens. You love chickens, chickens love you!", "+30% Egg Revenue"]; }; if (_arg1 == _medalSister1){ _local2 = ["Sister Lover", "Get 10 younger sisters.", "You've convinced 10 of your younger sisters to commit suicide bombing. Keep going!", "+10% Bomb Damage"]; }; if (_arg1 == _medalSister2){ _local2 = ["Sister Mania", "Get 20 younger sisters.", "You've convinced 20 of your younger sisters to commit suicide bombing. More sisters!", "+20% Bomb Damage"]; }; if (_arg1 == _medalSister3){ _local2 = ["Sister Master", "You need to become a beast.", "You've convinced 30 of your younger sisters to commit suicide bombing. You are nasty!", "+30% Bomb Damage"]; }; if (_arg1 == _medalNoDamage1){ _local2 = ["Novice Defender", "Score a perfect game.", "You've marked 1 perfect game. Good.", "+1% Castle Wall Absorption"]; }; if (_arg1 == _medalNoDamage2){ _local2 = ["Skilled Defender", "Score 4 perfect games.", "You've marked 4 perfect games. Good good.", "+1% Castle Wall Absorption"]; }; if (_arg1 == _medalNoDamage3){ _local2 = ["Adept Defender", "Score 7 perfect games.", "You've marked 7 perfect games. Great!", "+1% Castle Wall Absorption"]; }; if (_arg1 == _medalNoDamage4){ _local2 = ["Master Defender", "Score perfect games like hell!", "You've marked 10 perfect games. Great! I mean it...really!", "+1% Castle Wall Absorption"]; }; if (_arg1 == _medalClass1){ _local2 = ["Hunter's Award", "Grow your hunter.", "You've made a level 10 hunter.", "Unlocks Ranger Class"]; }; if (_arg1 == _medalClass2){ _local2 = ["Rogue's Award", "Grow your rogue.", "You've made a level 10 rogue.", "Unlocks Duelist Class"]; }; if (_arg1 == _medalClass3){ _local2 = ["Sheriff's Award", "Grow your sheriff.", "You've made a level 10 sheriff.", "Unlocks Noble Class"]; }; if (_arg1 == _medalClass4){ _local2 = ["Militia's Award", "Grow your militia.", "You've made a level 10 militia.", "Unlocks Sniper Class"]; }; if (_arg1 == _medalCritical1){ _local2 = ["Killer", "Score 10 critical hits in one battle.", "You've scored 10 critical kills in a battle. Lucky shots maybe?", "Starting Bonus skill:Luck +1"]; }; if (_arg1 == _medalCritical2){ _local2 = ["Assassin", "Score 30 critical hits in one battle.", "You've scored 30 critical kills in a battle. Fear the assassin!", "Starting Bonus skill:Sense +1"]; }; if (_arg1 == _medalCritical3){ _local2 = ["Unseen Hand", "Critical hits? You wonder what's so special about them.", "You've scored 50 critical kills in a battle. Be thankful you don't have to clean up the mess.", "Starting Bonus skill:Accuracy +2"]; }; if (_arg1 == _medalAction1){ _local2 = ["Prayer", "Pray to your God! (15 times)", "You've prayed 15 times. You must be a religious person.", "+1 AP chance"]; }; if (_arg1 == _medalAction2){ _local2 = ["Provoker", "Taunt'em! (10 times)", "You've taunted 10 times. You know lots of slang!", "+1 AP chance"]; }; if (_arg1 == _medalAction3){ _local2 = ["Boomer", "Hold parties. Lots of parties. (10 times)", "You've held 10 parties. Don't you ever get tired?", "+1 AP chance"]; }; if (_arg1 == _medalAction4){ _local2 = ["Gun Mania", "Don't forget to recycle your gun. (10 times)\t", "You've recycled 10 guns. A true ecologist!?", "+15% Modding Bonus"]; }; if (_arg1 == _medalAction5){ _local2 = ["Robber", "Guess what? Rob some people! (20 times)", "You've robbed 20 times. Everyone hates you!", "+25% robbery money"]; }; if (_arg1 == _medalBadge1){ _local2 = ["Hard Badge", "The name tells eveything. It is hard to get, but not impossible.", "You've achieved the Hard Badge! Dare to challenge the impossible badge?", "+1 Starting Inventory Slot"]; }; if (_arg1 == _medalBadge2){ _local2 = ["Impossible Badge", "And this is impossible!", "You've achieved the Impossible Badge! After all, it wasn't that impossible.", "+20 Starting Fame"]; }; if (_arg1 == _medalKongregate){ _local2 = ["Kongregate", "Isn't there a banner somewhere?", "You've visited the Kongregate Web. Good for you!", "3% Wage discount"]; }; if (_arg1 == _medalRagnarok){ _local2 = ["Ragnarok Surviver", "Ragnarok is an ancient sword you will find eventually.", "You've survivied Ragnarok. Just unbelievable.", "Starting Bonus skill:Luck +1"]; }; if (_arg1 == _medalFirework){ _local2 = ["Ha-na-bi", "Ha-na-bi means fireworks.", "You've watched fireworks long enough. I hope you had a good relief.", "+25 Fireworks"]; }; if (_arg1 == _medalElona){ _local2 = ["Elonian", "Given when you win the first round.", "You've successfully won the first round of the game. Congratulations!", "You will be able to import weapons to Elona, someday!"]; }; if (_arg1 == _medalHardcore1){ _local2 = ["Hardcore", "Survive 20 days in Hardcore mode.", "You've survived 20 days in Hardcore Mode. Way to go!", "Starting Bonus skill:Sense +1"]; }; if (_arg1 == _medalHardcore2){ _local2 = ["Ultimate Hardcore", "Survive 40 days in Hardcore mode.", "You've won the first round of the game in Hardcore Mode. You're not a human.", "Starting Bonus Weapon:GravityGun"]; }; if (_arg1 == _medalHardcore3){ _local2 = ["RNG Award", "Survive, survive! And survive in Hardcore mode!", "You've survived 80 days in Hardcore Mode. RNG loves you.", "Starting Bonus skill:Luck +3"]; }; if (game.carryOver == true){ _local2[1] = (_local2[1] + "\nYou don't receive some medals in Carry Over Mode."); }; return (_local2); } public function calcParty(){ return ((game.party * 10)); } public function fixedRnd(){ var _local1:* = 0.753624683711678; var _local2:* = game.searched; game.searched++; var _local3:Number = 3.14159265358979; var _local4:Number = 2.71828182845905; var _local5:Number = (_local3 * (_local1 + 0.5)); var _local6:Number = (((173 * _local2) * _local2) * _local2); var _local7:Number = ((((_local2 * _local4) + _local6) * _local5) % 1); return (_local7); } public function procLootMenu(){ var _local1:*; window2_mc.stop(); window2_mc.popup.visible = false; window2_mc.warning.visible = false; if (ce == _eventLootBoss){ window2_mc.lootText.text = (("You've successfully killed " + mission.bossKilled) + " boss(es) therefore received some prizes!"); }; _local1 = 0; while (_local1 < 8) { createInvSlot((_invShop + _local1), (140 + (_local1 * 50)), 155, 1); _local1++; }; _local1 = 0; while (_local1 < game.invSlot) { createInvSlot((_invPlayer + _local1), (140 + (int((_local1 % 8)) * 50)), (224 + (int((_local1 / 8)) * 48)), 1); _local1++; }; } public function search(_arg1){ var _local2:int; var _local3:*; var _local4:String; var _local5:int; var _local6:*; var _local7:*; var _local8:*; if ((fixedRnd() * (100 + PARTY.QUICK_EYED)) < 35){ if (fixedRnd() < 0.15){ _local3 = (0.1 + (fixedRnd() / 5)); (mission.hpFix + _local3); sound_search.play(); searchProc(_arg1, "Trouble", (("A fool taunted the enemies and rose their morale. The enemies will have " + int((_local3 * 100))) + "% more HP tomorrow."), []); return; }; if (fixedRnd() < 0.2){ sound_search.play(); searchProc(_arg1, "Chatterbox", "An old lady stops you and delays you with deadly endless chatter. You lose 2 action point.", []); game.ap = (game.ap - 2); if (game.ap < 0){ game.ap = 0; }; return; }; if ((((fixedRnd() < 0.05)) && ((game.chicken > 2)))){ sound_search.play(); _local2 = int(((fixedRnd() * 4) + 2)); if (game.chicken <= _local2){ _local2 = (game.chicken - 1); }; searchProc(_arg1, "Chickens gone", (("Some crazy chickens broke out of the cage. You lost " + _local2) + " chickens!"), []); game.chicken = (game.chicken - _local2); return; }; if ((((fixedRnd() < 0.3)) && ((game.castleHP > 1)))){ sound_search.play(); _local2 = int((((fixedRnd() * game.castleMHP) / 4) + 1)); if (game.castleHP <= _local2){ _local2 = (game.castleHP - 1); }; searchProc(_arg1, "Disaster", "A cloud of pessimistic mobs gone nuts and destroyed the walls. You need to repair them at once.", []); game.castleHP = (game.castleHP - _local2); return; }; if ((((fixedRnd() < 0.3)) && ((player.money[_pc] > 0)))){ sound_gold1.play(); _local6 = (int((((fixedRnd() * 30) * game.day) + 40)) + 2); if (_local6 > player.money[_pc]){ _local6 = player.money[_pc]; }; searchProc(_arg1, "Thief!", (("You were pickpocketed while you were shopping. You lost " + _local6) + " gold pieces!"), []); player.money[_pc] = (player.money[_pc] - _local6); return; }; if (fixedRnd() < 0.4){ sound_search.play(); searchProc(_arg1, "Ouch...", "You trip over a stone and lose 1 action point.", []); game.ap--; if (game.ap < 0){ game.ap = 0; }; return; }; sound_search.play(); searchProc(_arg1, "Fruitless", "You were unable to find anything useful in the town.", []); return; }; if (fixedRnd() < 0.15){ game.train++; if (game.train < 3){ sound_search.play(); searchProc(_arg1, "Talent", (("While taking a walk, you suddenly realize your hidden potential. You start to develop one of your skills. [Progress:" + game.train) + "/3]"), []); return; }; game.train = 0; _local5 = _pc; _local7 = listTrait(_local5); _local2 = _local7[int((fixedRnd() * _local7.length))]; var _local9 = player.trait[_local5]; var _local10 = _local2; var _local11 = (_local9[_local10] + 1); _local9[_local10] = _local11; _local8 = REF[ID[_local2]](_local5); sound_search.play(); searchProc(_arg1, "Talent Flowered!", (("It seems you've finally unfolded the potential for one of your skills. You've gained " + _local8[0]) + "!"), []); return; }; if (fixedRnd() < 0.15){ sound_search.play(); game.fame++; searchProc(_arg1, "Popularity", "It seems you are edging up in popularity. Your fame has been increased by 1.", []); return; }; if (fixedRnd() < 0.22){ sound_search.play(); game.castleMHP++; searchProc(_arg1, "Good news", "One of the engineers succeeded to fortify the caste walls. The walls now have +1 max HP.", []); return; }; if (fixedRnd() < 0.12){ sound_search.play(); _local2 = (int((fixedRnd() * 4)) + 2); searchProc(_arg1, "Free Chicken", (("You find stray chickens. You carefully look around and steal " + _local2) + " chickens."), []); game.chicken = (game.chicken + _local2); return; }; if (fixedRnd() < 0.2){ sound_search.play(); _local2 = (int((fixedRnd() * 10)) + 5); searchProc(_arg1, "Sales Time", "You hear bells. Looking around, you notice that the shops in the plaza are all thronged with customers. It's sale time! The shop's inventory has been restocked.", []); generateShop(); return; }; if (fixedRnd() < 0.15){ sound_search.play(); _local2 = (int((fixedRnd() * 10)) + 5); _local4 = "You pick up something valuable on the ground. "; _local2 = getEmptyInventory(_invPlayer); if (_local2 == -1){ _local4 = (_local4 + "But your inventory is full..."); } else { randomStuff(_local2, ((game.day * 100) + 1000), 3); _local4 = (_local4 + (("" + inventory.name[_local2]) + " added to your inventory!")); }; searchProc(_arg1, "Gift?", _local4, []); return; }; if (fixedRnd() < 0.25){ sound_search.play(); _local2 = (int((fixedRnd() * 10)) + 5); searchProc(_arg1, "Training", (("You come upon a bounch of militias jogging for a training drill. You decided to join up with them. Your party gains " + _local2) + " exp."), []); _local3 = 0; while (_local3 < maxAlly) { player.exp[_local3] = (player.exp[_local3] + (_local2 * 10)); _local3++; }; return; }; if (fixedRnd() < 0.3){ sound_search.play(); searchProc(_arg1, "Rejoice!", "A group of soldiers celebrate you and buy you a drink at the bar. It made you even more determined to win the battle tomorrow. You gain 2 action points.", []); game.ap = (game.ap + 2); return; }; if (fixedRnd() < 0.15){ sound_search.play(); searchProc(_arg1, "Hero", "As you walk up to the plaza, children and women gather around you to applaud your effort. You gain 3 action points.", []); game.ap = (game.ap + 3); return; }; if (fixedRnd() < 0.65){ sound_gold1.play(); _local6 = (int((((fixedRnd() * 10) * limit(game.day, 0, 40)) + 100)) + 2); searchProc(_arg1, "Look!", (("You found a wallet at the side of the road. You look cautiously round and open the wallet. You get " + _local6) + " gold pieces!"), []); player.money[_pc] = (player.money[_pc] + _local6); game.totalMoney = (game.totalMoney + _local6); return; }; sound_search.play(); searchProc(_arg1, "Nothing Found", "You wander around the town looking for something but in vain.", []); } public function startFire(){ var _local3:*; if (game.optionFirework == true){ return; }; var _local1:* = 0; var _local2:* = 0; while (_local2 < (48 + (IF(medal[_medalClass1]) * 12))) { _local3 = new fireWork1(); _local3.x = (50 + (Math.random() * 550)); _local3.y = (10 + (Math.random() * 40)); _local3.delay = _local1; _local3.name = "fire"; _local1 = (_local1 + (int((Math.random() * 3)) + 2)); stage.addChild(_local3); _local2++; }; sound_firework.play(0, (4 + (IF(medal[_medalClass1]) * 1))); fireworkCount = 650; } public function generateLoot(){ var _local1:int; var _local2:int; clearGameInv(); _local2 = 0; while (_local2 < mission.loot.length) { if (_local2 > 7){ break; }; if ((((Math.random() > 0.2)) || ((mission.loot[_local2] > 1000)))){ if (mission.loot[_local2] > 1000){ mission.loot[_local2] = (mission.loot[_local2] - 1000); }; generateStuff((_invShop + _local2), mission.loot[_local2]); } else { _local1 = ((game.day * 40) + 250); _local1 = int((_local1 * looterFix())); randomStuff((_invShop + _local2), _local1, 1); }; _local2++; }; } public function procLevel(){ var _local1:*; var _local2:*; cs = -1; _local1 = listTrait2(_pc); window2_mc.stop(); i = 0; while (i < _local1.length) { radio_mc[i] = (new radioButton() as MovieClip); radio_mc[i].x = 158; radio_mc[i].y = (206 + (i * 20)); radio_mc[i].id = _local1[i]; traitLvFix = 1; _local2 = REF[ID[radio_mc[i].id]](_pc); radio_mc[i].alpha = 1; radio_mc[i].txt.text = _local2[0]; radio_mc[i].dummy.mouseEnabled = false; window2_mc.addChild(radio_mc[i]); radio_mc[i].gotoAndStop(1); if (traitRef[_local1[i]].maxLv < (player.trait[_pc][_local1[i]] + 1)){ radio_mc[i].alpha = 0.5; }; radioCount++; i++; }; updateLevel(); } public function removeAlly(){ i = 0; while (i < maxAlly) { player.target[i] = undefined; player.aiFunc[i] = undefined; if (stage.getChildByName(player_mc[i].name)){ stage.removeChild(player_mc[i]); }; if (stage.getChildByName(cursor_mc[i].name)){ stage.removeChild(cursor_mc[i]); }; i++; }; } public function stuffGetValue(_arg1:int, _arg2:int){ var _local3:int; _local3 = inventory.value[_arg1]; if (_arg2){ } else { if (inventory.type[_arg1] != _typeSell){ _local3 = int((_local3 / 5)); }; }; return (_local3); } public function armorLink(){ sound_click1.play(); popInfo("A Webpage has been opend in your browser."); var request:URLRequest = new URLRequest("http://www.funny-games.biz/main.html"); try { navigateToURL(request); } catch(e:Error) { }; } public function resetBG(){ bg.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); cloud.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); } public function gainTrait(_arg1:int, _arg2:Boolean){ var _local6:int; var _local10:int; var _local11:String; var _local3:* = listTrait(_arg1); var _local4:int; var _local5:* = []; var _local7:Boolean; var _local8:int; var _local9:int; _local4 = TRAIT.ACCURACY; _local6 = 0; while (_local6 < 10) { _local10 = _local3[int((Math.random() * _local3.length))]; _local11 = ID[_local10]; if (traitRef[_local10].maxLv != 999){ _local9 = (100 + (player.trait[_arg1][_local10] * 50)); } else { if (traitRef[_local10].reqLv == 2){ _local9 = 0; }; if (Math.random() > 0.75){ _local9 = (_local9 + 500); }; }; if (_arg1 < maxParty){ if (PARTY[_local11] != undefined){ if ((PARTYLV[_local11] - 3) <= player.trait[_arg1][_local10]){ _local9 = (110 + (player.trait[_arg1][_local10] * 50)); } else { _local9 = 10; }; }; }; if (_local10 == TRAIT.CAPABLE){ _local9 = 0; }; _local9 = int((_local9 * Math.random())); if (_local9 > _local8){ _local4 = _local10; _local8 = _local9; }; _local6++; }; if (player.forcus[_arg1] != -1){ _local6 = 0; while (_local6 < _local3.length) { if (player.forcus[_arg1] == _local3[_local6]){ _local7 = true; if (int((Math.random() * 3)) == 0){ break; }; _local4 = _local3[_local6]; break; }; _local6++; }; }; if ((((((player.devType[_arg1] == _devNoble)) || ((player.devType[_arg1] == _devRogue)))) || ((player.devType[_arg1] == _devRanger)))){ if ((((PARTY.ACTIVE < 2)) && ((CALC.ACTIVE(_arg1) == 0)))){ _local4 = TRAIT.ACTIVE; }; }; if (_local7 == false){ player.forcus[_arg1] = -1; }; var _local12 = player.trait[_arg1]; var _local13 = _local4; var _local14 = (_local12[_local13] + 1); _local12[_local13] = _local14; player.nextTrait[_arg1] = int((Math.random() * 100)); _local5 = REF[ID[_local4]](_arg1); if (_arg2){ news = (news + (((player.name[_arg1] + " gains ") + _local5[0]) + ".\n")); }; } public function deleteIndex(){ var _local1:SharedObject = SharedObject.getLocal("elonas_idx"); _local1.clear(); } public function mouseOverHandler(_arg1:MouseEvent):void{ if (gamePaused){ return; }; Mouse.hide(); } public function removeRadio(){ var _local1:*; _local1 = 0; while (_local1 < radioCount) { window2_mc.removeChild(radio_mc[_local1]); _local1++; }; } public function calcDuelistMaxDamage(_arg1:int){ return (int(((40 + (Math.sqrt(_arg1) * 1.6)) + _arg1))); } public function shakeFrame(){ shakeCount--; shakeRange = (shakeRange * shakeDec); if (shakeDirX == 1){ shakeStrX = (shakeStrX + (shakeRange / 4)); } else { shakeStrX = (shakeStrX - (shakeRange / 4)); }; if (shakeDirY == 1){ shakeStrY = (shakeStrY + (shakeRange / 4)); } else { shakeStrY = (shakeStrY - (shakeRange / 4)); }; shakeX = (shakeX + (shakeStrX * shakeDirX)); if (shakeX > shakeRange){ shakeX = shakeRange; shakeDirX = (shakeDirX * -1); }; if (shakeX < (shakeRange * -1)){ shakeX = (shakeRange * -1); shakeDirX = (shakeDirX * -1); }; shakeY = (shakeY + (shakeStrY * shakeDirY)); if (shakeY > shakeRange){ shakeY = shakeRange; shakeDirY = (shakeDirY * -1); }; if (shakeY < (shakeRange * -1)){ shakeY = (shakeRange * -1); shakeDirY = (shakeDirY * -1); }; root.x = shakeX; root.y = shakeY; if (shakeCount <= 0){ root.x = 0; root.y = 0; }; } public function aiArmor(_arg1:int, _arg2:int){ var _local3:int; var _local4:*; _local3 = 0; while (_local3 < 3) { _local4 = aiTarget[_armor][weaponRange[_arg2][_local3]][0]; if (_local4 != undefined){ aiTarget[_armor][weaponRange[_arg2][_local3]] = [undefined, 1000]; _local4.tag = _defTag; return (_local4); }; _local3++; }; return (undefined); } public function EnterFrame_logo(_arg1){ if (logo.currentFrame > 170){ stage.removeEventListener(Event.ENTER_FRAME, EnterFrame_logo); stage.removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDown_logo); gotoAndStop("init"); return; }; } public function updateShopSlots(){ var _local1:*; _local1 = 0; while (_local1 < 8) { createInvSlot((_invShop + _local1), (140 + (_local1 * 50)), 160, 0); _local1++; }; _local1 = 0; while (_local1 < game.invSlot) { createInvSlot((_invPlayer + _local1), (140 + (int((_local1 % 8)) * 50)), (250 + (int((_local1 / 8)) * 48)), 1); _local1++; }; } public function exitMenuResult(){ var _local1:int; stage.focus = stage; currentPop = -1; currentHint = -1; delay = 0; if (((!((ce == _eventMode))) && (!((ce == _eventGene))))){ cs = _pc; }; drag = false; equipMode = 0; if (ce == _eventClear){ removeEnemy(); gamePaused = false; immune = false; resultMedal(); }; if ((((ce == _eventLoot)) || ((ce == _eventLootBoss)))){ removeInvSlot(); removeInvIcon(); window2_mc.popup.visible = false; }; if (ce == _eventMode){ gameStart(); updateInterface(); }; if (ce == _eventGene){ game.casual = window2_mc.optCasual.selected; game.HC = window2_mc.optHC.selected; if (game.HC == true){ game.casual = false; }; removeStats(); _local1 = 0; while (_local1 < _maxPic) { window2_mc.removeChild(pic_mc[_local1]); _local1++; }; window2_mc.hint.visible = false; removeRadio(); if (eventModeEnabled == false){ gameStart(); }; updateInterface(); }; if (ce == _eventLevel){ removeRadio(); }; radioCount = 0; invSlotCount = 0; invIconCount = 0; statsCount = 0; medalCount = 0; upgradeCount = 0; radioCount = 0; page = 0; } public function listTrait2(_arg1:int){ var _local7:*; var _local2:* = []; var _local3:* = listTrait(_arg1); var _local4:int; var _local5:int; var _local6:int; _local4 = 0; while (_local4 < (3 + CALC.CAPABLE(_arg1))) { _local5 = -1; if ((((((_local4 == 0)) && ((_arg1 == _pc)))) && (!((player.forcus[_arg1] == -1))))){ _local7 = 0; while (_local7 < _local3.length) { if (player.forcus[_arg1] == _local3[_local7]){ if (Math.random() > 0.5){ break; }; _local5 = _local7; }; _local7++; }; }; if (_local5 == -1){ _local5 = int((Math.random() * _local3.length)); }; _local6++; if (_local6 > 2000){ _local2[_local4] = TRAIT[devGroup[player.devType[_arg1]][_local4]]; } else { if (_local3[_local5] == -1){ _local4--; } else { if (traitRef[_local3[_local5]].maxLv < (player.trait[_arg1][_local3[_local5]] + 1)){ _local4--; } else { _local2[_local4] = _local3[_local5]; _local3[_local5] = -1; }; }; }; _local4++; }; return (_local2); } public function updateUpgradeHint(){ var _local2:String; upgradeHint[0] = ["This will completely fix the castle wall.", ""]; upgradeHint[1] = ["Each level of the wall upgrade gives you +5 more max hit points.", (("(Currently, " + game.castleMHP) + " MHP)")]; upgradeHint[2] = ["Stronger sandbags will absorb more damage done to the wall.", (("(Currently, sandbag will absorb " + int((100 - (castleAbsorb() * 100)))) + "% damage)")]; upgradeHint[3] = ["Buying this upgrade gives you +1 extra inventory slot.", (("(Currently, you have " + game.invSlot) + " inventory slots)")]; upgradeHint[4] = ["For each house built, you can hire +1 more troop.", (("(Currently, you can hire " + game.house) + " people)")]; upgradeHint[5] = ["The more looters you have the, the more valuable stuff you find will be.", (("(Currently, looted items's value will be " + int(((looterFix() * 100) - 100))) + "% higher)")]; upgradeHint[6] = ["Repairers will slowly fix the castle wall during a battle between waves.", (("(Currently, they can fix " + castleRepair()) + " HP per wave)")]; upgradeHint[7] = ["With more trainers, your troops will gain experience a lot faster.", (("(Currently, your troops get " + int(((trainerFix() * 100) - 100))) + "% more EXP)")]; upgradeHint[8] = ["The shop will show more items with each upgrade.", (("(Currently, the shop will produce +" + game.smith) + " more stuff)")]; upgradeHint[9] = ["If upgraded, the museum will produce money each day depending on the No. of medals you have.", (("(Currently, the museum produces " + int(((museumFix() * 100) - 100))) + "% more money)")]; upgradeHint[10] = ["Chickens will produce some eggs! You can collect them and sell them each day.", (("(Currently, you have " + game.chicken) + " chickens)")]; upgradeHint[11] = ["Terror from the sky! You can convince some of your younger sisters into suicide bombing.", (("(Currently, you have " + game.sister) + " sisters to launch)")]; upgradeHint[12] = ["When purchased, you will be able to hold a party after a battle to gain a damage bonus for the next day.", (("(Currently, " + calcParty()) + "% damage bonus)")]; upgradeHint[13] = ["These special trainers can improve your skills. Number of sessions you can take depends on the upgrade level.", (("(Currently, " + game.spTrainer) + " sessions per unit)")]; if (kongregate == 0){ upgradeHint[7] = ["Upgradable in Kongregate Version. Clicking it will open the link.", (("(Currently, your troops get " + int(((trainerFix() * 100) - 100))) + "% more EXP)")]; }; var _local1:* = 1; while (_local1 < 16) { _local2 = upgradeRef[_local1]; if (_local1 > 13){ upgradeHint[_local1] = ["[ Not available yet ]", ""]; } else { if (game[_local2] == 0){ upgradeHint[_local1] = [upgradeHint[_local1][0], "[ You haven't acquired this upgrade yet ]"]; }; }; _local1++; }; } public function upgradeMedal(){ if (game.carryOver == true){ return; }; if (game.chicken >= 30){ getMedal(_medalChicken1); }; if (game.chicken >= 60){ getMedal(_medalChicken2); }; if (game.chicken >= 120){ getMedal(_medalChicken3); }; if (game.sister >= 10){ getMedal(_medalSister1); }; if (game.sister >= 20){ getMedal(_medalSister2); }; if (game.sister >= 30){ getMedal(_medalSister3); }; } public function kongSubmit2(_arg1, _arg2){ if (game.HC == true){ kongAPI.stats.submit((_arg1 + "OnCasual"), _arg2); kongAPI.stats.submit(_arg1, _arg2); kongAPI.stats.submit((_arg1 + "OnHardcore"), _arg2); return; }; if (game.casual == true){ kongAPI.stats.submit((_arg1 + "OnCasual"), _arg2); return; }; kongAPI.stats.submit((_arg1 + "OnCasual"), _arg2); kongAPI.stats.submit(_arg1, _arg2); } public function clearTarget(){ var _local1:int; var _local2:int; _local1 = 0; while (_local1 < _maxTarget) { _local2 = 0; while (_local2 < 3) { aiTarget[_local1][_local2] = [undefined, 1000]; _local2++; }; _local1++; }; } public function mouseDownFunc(_arg1:MouseEvent){ var _local2:int; var _local3:int; _local2 = stage.mouseX; _local3 = stage.mouseY; stage.focus = stage; if (vol.hitTestPoint(_local2, _local3, true)){ toggleMute(); return; }; if (gamePaused){ if (gameDialog){ if (dialog_mc.yes.hitTestPoint(mouseX, mouseY, true)){ endDialog(true); } else { endDialog(false); }; return; }; if (gameOver){ if (((gameoverLogo.playMoreButton.hitTestPoint(_local2, _local3, true)) && ((gameoverLogo.alpha > 0.8)))){ if (armor){ armorLink(); return; }; kongregateLink(); return; }; if (((gameoverLogo.gameoverButton.hitTestPoint(_local2, _local3, true)) && ((gameoverLogo.alpha > 0.8)))){ sound_click1.play(); gameOver = false; gamePaused = false; exitBattle(); if (amb != null){ amb.stop(); }; gotoAndPlay("init"); return; }; if ((((((((game.HC == false)) && ((gameoverLogo.carryOver.visible == true)))) && (gameoverLogo.carryOver.carryOverButton.hitTestPoint(_local2, _local3, true)))) && ((gameoverLogo.alpha > 0.8)))){ if (game.carryOver == true){ carryOver(); } else { showDialog(_dialogCarryOver); dialog_mc.question.text = "Do you really want to use Carry Over option?"; }; }; return; }; pauseProc(); return; }; if (menuButton.hitTestPoint(_local2, _local3, true)){ pauseMenu(); return; }; if (mouseY > menuLine){ return; }; if (_pc != hero){ return; }; if (((((inventory.reloadTime[ci]) && (inventory.manualReload[ci]))) && ((inventory.autoReload[ci] == 0)))){ cancelReload(_pc, ci); return; }; player.shooting[_pc] = true; } public function generateSpecialLoot(){ if (Math.random() > 0.97){ mission.loot.push((38 + 1000)); }; if ((game.day % 8) == 5){ mission.loot.push((37 + 1000)); }; if ((game.day % 6) == 3){ mission.loot.push((35 + 1000)); }; if ((game.day % 40) == 1){ mission.loot.push((_rat + 1100)); }; if ((game.day % 40) == 2){ mission.loot.push((_sheep + 1100)); }; if ((game.day % 40) == 4){ mission.loot.push((_archer + 1100)); }; if ((game.day % 40) == 6){ mission.loot.push((_crow + 1100)); }; if ((game.day % 40) == 9){ mission.loot.push((_fly + 1100)); }; if ((game.day % 40) == 11){ mission.loot.push((_barb + 1100)); }; if ((game.day % 40) == 14){ mission.loot.push((_lava + 1100)); }; if ((game.day % 40) == 17){ mission.loot.push((_cata + 1100)); }; if ((game.day % 40) == 20){ mission.loot.push((_spider + 1100)); }; if ((game.day % 40) == 23){ mission.loot.push((_ghost + 1100)); }; if ((game.day % 40) == 26){ mission.loot.push((_ogre + 1100)); }; if ((game.day % 40) == 29){ mission.loot.push((_knight + 1100)); }; if ((game.day % 40) == 32){ mission.loot.push((_bird + 1100)); }; if ((game.day % 40) == 35){ mission.loot.push((_tank + 1100)); }; if ((game.day % 40) == 38){ mission.loot.push((_dino + 1100)); }; if ((game.day % 40) == 39){ mission.loot.push((_dragon + 1100)); }; } public function generateMission(_arg1:int){ var _local2:*; _local2 = int(((_arg1 % lvCycle) + (int((_arg1 / lvCycle)) * 3))); initPartySkill(); mission.level = _arg1; mission.fixedLv = _local2; mission.strength = (0 + (int((_arg1 / lvCycle)) * 200)); if (game.casual == true){ mission.power = ((500 + (_local2 * 30)) + (_arg1 * 60)); } else { mission.power = ((800 + (_local2 * 50)) + (_arg1 * 70)); }; if ((((game.MORE == true)) && ((game.day < 10)))){ mission.power = (mission.power + (400 - (game.day * 25))); }; mission.powerOrg = mission.power; mission.reward = int((((600 + (_arg1 * 20)) * (100 + PARTY.NEGOTIATOR)) / 100)); mission.hire = false; mission.ragnarok = false; mission.wave = 5; if (_local2 > 10){ mission.wave++; }; if (_local2 > 20){ mission.wave++; }; if (_local2 > 30){ mission.wave++; }; if (_local2 > 35){ mission.wave++; }; mission.spawnRate = limit((15 - (_local2 / 5)), 5, 15); mission.group = []; mission.waveType = _waveNormal; mission.loot = []; generateSpecialLoot(); mission.newWave = true; mission.time = 30; if (((((_local2 % 10) == 9)) && ((_local2 > 8)))){ mission.wave = (6 + int((_local2 / 10))); mission.bossDay = true; mission.bossWave = (mission.wave - 1); } else { mission.bossDay = false; mission.bossWave = (2 + int(((Math.random() * mission.wave) / 3))); if (_arg1 == 0){ mission.bossWave = 2; }; }; mission.note = ""; mission.hpFix = 1; mission.dmgFix = 1; mission.expFix = 1; mission.absorbFix = 0; mission.bossKilled = 0; mission.noDamage = true; mission.criticalCount = 0; mission.resultOther = 0; if (medal[_medalNoDamage1]){ mission.absorbFix = (mission.absorbFix + 0.01); }; if (medal[_medalNoDamage2]){ mission.absorbFix = (mission.absorbFix + 0.01); }; if (medal[_medalNoDamage3]){ mission.absorbFix = (mission.absorbFix + 0.01); }; if (medal[_medalNoDamage4]){ mission.absorbFix = (mission.absorbFix + 0.01); }; } public function cloneObj(_arg1){ var _local2:*; var _local3:*; var _local4:*; if (_arg1.length != undefined){ _local2 = new Array(); _local3 = 0; while (_local3 < _arg1.length) { if (typeof(_arg1[_local3]) == "object"){ _local2[_local3] = cloneObj(_arg1[_local3]); } else { _local2[_local3] = _arg1[_local3]; }; _local3++; }; } else { _local2 = new Object(); for (_local4 in _arg1) { if (typeof(_arg1[_local4]) == "object"){ _local2[_local4] = cloneObj(_arg1[_local4]); } else { _local2[_local4] = _arg1[_local4]; }; }; }; return (_local2); } public function procCastleMenu(){ defHint = "\nYou can change pages by cliking the side tab."; window2_mc.stop(); window2_mc.anime = true; window2_mc.hint.visible = false; window2_mc.actRef1.mouseEnabled = false; updateCastleMenu(); if (window2_mc.page1.hasEventListener(MouseEvent.MOUSE_DOWN) == false){ window2_mc.page1.addEventListener(MouseEvent.MOUSE_DOWN, pageChange(0)); }; if (window2_mc.page2.hasEventListener(MouseEvent.MOUSE_DOWN) == false){ window2_mc.page2.addEventListener(MouseEvent.MOUSE_DOWN, pageChange(1)); }; } public function select_init(_arg1:int, _arg2:int){ selectBaseX = _arg1; selectBaseY = _arg2; selectID = 0; } public function rampageOn(_arg1:int, _arg2:int){ var _local3:*; if (_arg1 == _pc){ text_effect("Rampage!!"); blendType = 0; blendCounter = (blendCounter + 15); bottomBar.gotoAndStop(2); shake(40, 1.5, 1); }; sound_rampage.play(0, 0, trans[_arg1]); player.rampage[_arg1] = int(((_arg2 * (100 + CALC.FURY(_arg1))) / 100)); _local3 = (new ef_rampage() as MovieClip); _local3.name = "rampage"; _local3.y = 18; if (player_mc[_arg1].getChildByName("rampage") == null){ player_mc[_arg1].addChild(_local3); }; } public function looterFix(){ return (((game.looter == 0)) ? 1 : (1.05 + (game.looter * 0.08))); } public function MouseLDown_logo(_arg1:MouseEvent){ var request:URLRequest; var event = _arg1; if (logo.bt.hitTestPoint(mouseX, mouseY, false)){ request = new URLRequest("http://kongregate.com/"); try { navigateToURL(request); } catch(e:Error) { }; }; } public function hint(){ var _local1:Boolean; var _local2:*; var _local3:*; var _local4:*; var _local5:*; if (orderIsOpen){ return; }; if (window2_mc.animeTime){ return; }; if (delay < 5){ return; }; _local1 = false; _local2 = window2_mc.getObjectsUnderPoint(new Point(mouseX, mouseY)); _local3 = 0; while (_local3 < _local2.length) { _local4 = _local2[_local3].parent; if (_local4.hasOwnProperty("hintTxt")){ _local5 = window2_mc.hint; _local1 = true; _local5.alpha = 1; hintCount = 20; if (currentHint == _local4){ break; }; currentHint = _local4; if (_local4.hintTxt[3] == ""){ _local5.maxText.visible = false; } else { _local5.maxText.visible = true; _local5.maxText.text = ("Maxed at " + _local4.hintTxt[3]); }; if (_local4.hintTxt[4] == ""){ _local5.typeText.visible = false; } else { _local5.typeText.visible = true; _local5.typeText.text = _local4.hintTxt[4]; }; _local5.itemName.text = _local4.hintTxt[0]; _local5.itemDesc.text = _local4.hintTxt[1]; _local5.itemDesc2.text = _local4.hintTxt[2]; window2_mc.setChildIndex(window2_mc.hint, (window2_mc.numChildren - 1)); window2_mc.hint.visible = true; }; _local3++; }; if (_local1 == false){ hintCount--; if (hintCount < 0){ window2_mc.hint.visible = false; currentHint = -1; } else { if (hintCount < 10){ window2_mc.hint.alpha = (window2_mc.hint.alpha - 0.1); }; }; }; } public function updateInterface(){ updateAmmoBar(); updateGold(); updateLv(); updateDay(); updateHP(); updateCi(); if (gameStage == _stageTown){ updateAp(); }; } public function allRemoveChild(_arg1:MovieClip):void{ var _local4:*; var _local2:uint = _arg1.numChildren; var _local3:uint; while (_local3 < _local2) { _local2 = _arg1.numChildren; if (_local3 >= _local2){ break; }; _local4 = _arg1.getChildAt(_local3); if ((_local4 is MovieClip)){ _arg1.removeChild(_local4); _local3 = 0; }; _local3++; }; } public function removeStats(){ var _local1:*; _local1 = 0; while (_local1 < statsCount) { window2_mc.removeChild(stats_mc[_local1]); _local1++; }; } public function castleRepair(){ return ((game.repair * 2)); } public function endRampage(_arg1:int){ if (_arg1 == _pc){ bottomBar.gotoAndStop(1); }; if (player_mc[_arg1].getChildByName("rampage") != null){ player_mc[_arg1].removeChild(player_mc[_arg1].getChildByName("rampage")); }; } public function eventAfterBattle(){ var _local1:int; eventList.push(_eventEnd); _local1 = 0; while (_local1 < maxAlly) { if (player.exist[_local1] == false){ } else { player.exp[_local1] = (player.exp[_local1] + 250); if (player.exp[_local1] >= 1000){ levelUp(_local1, true); }; }; _local1++; }; news = (news + "\n"); _local1 = 0; while (_local1 < maxAlly) { if (player.exist[_local1] == false){ } else { wexpUp(_local1); while (player.sp[_local1] > 0) { if (_local1 == _pc){ eventList.push(_eventLevel); } else { gainTrait(_local1, true); }; var _local2 = player.sp; var _local3 = _local1; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; }; }; _local1++; }; if (mission.bossKilled){ eventList.push(_eventLootBoss); }; if (mission.loot.length > 0){ eventList.push(_eventLoot); }; eventList.push(_eventClear); gamePaused = false; news = (news + "\n"); } public function generateLootBoss(){ var _local1:int; clearGameInv(); var _local2:* = 0; while (_local2 < (int((mission.bossKilled / 2)) + 1)) { if (_local2 > 7){ break; }; _local1 = ((game.day * 60) + 500); _local1 = int((_local1 * looterFix())); if ((((game.optionBossDropMod == true)) || ((Math.random() > 0.8)))){ randomStuff((_invShop + _local2), _local1, 3); } else { randomStuff((_invShop + _local2), _local1, 2); }; _local2++; }; } public function aiFireAtWill(_arg1:int, _arg2:int){ var _local3:int; var _local4:int; var _local5:*; _local4 = 0; while (_local4 < 3) { _local3 = 0; while (_local3 < 3) { if (aiTarget[_local4][weaponRange[_arg2][_local3]][0] != undefined){ _local5 = aiTarget[_local4][weaponRange[_arg2][_local3]][0]; aiTarget[_local4][weaponRange[_arg2][_local3]] = [undefined, 1000]; _local5.tag = _defTag; return (_local5); }; _local3++; }; _local4++; }; return (undefined); } public function getUpgradeCost(_arg1:int){ var _local2:String; var _local3:int; _local2 = upgradeRef[_arg1]; _local3 = 150; if (_local2 == "wallFix"){ _local3 = (8 * (game.castleMHP - game.castleHP)); }; if (_local2 == "wallUpgrade"){ _local3 = (((game.castleMHP * game.castleMHP) / 2.5) - 400); }; if (_local2 == "storage"){ _local3 = ((((game.invSlot - 4) * (game.invSlot - 4)) * 30) + 250); }; if (_local2 == "house"){ _local3 = (((game.house * game.house) * 1000) + 1000); }; if (_local2 == "looter"){ _local3 = (((game.looter * game.looter) * 125) + 300); }; if (_local2 == "repair"){ _local3 = (((game.repair * game.repair) * 250) + 700); }; if (_local2 == "trainer"){ _local3 = (((game.trainer * game.trainer) * 180) + 250); }; if (_local2 == "smith"){ _local3 = (((game.smith * game.smith) * 80) + 200); }; if (_local2 == "sandbag"){ _local3 = (((game.sandbag * game.sandbag) * 240) + 1000); }; if (_local2 == "museum"){ _local3 = ((game.museum * 150) + 2000); }; if (_local2 == "chicken"){ _local3 = ((int(Math.sqrt(((game.chicken * game.chicken) * 20))) + 20) + (game.chicken * 2.5)); }; if (_local2 == "sister"){ _local3 = ((game.sister * 100) + 250); }; if (_local2 == "party"){ _local3 = (((game.party * game.party) * 180) + 2500); }; if (_local2 == "spTrainer"){ _local3 = (((game.spTrainer * game.spTrainer) * 400) + 2500); }; if (_local2 == "na"){ _local3 = 0; }; if ((((_local2 == "trainer")) && ((((kongregate == 0)) && ((armor == 0)))))){ _local3 = -1; }; if ((((_local2 == "storage")) && ((game.invSlot >= 16)))){ _local3 = 0; }; if ((((_local2 == "house")) && ((game.house >= 3)))){ _local3 = 0; }; if ((((_local2 == "smith")) && ((game.smith >= 6)))){ _local3 = 0; }; if ((((_local2 == "sandbag")) && ((game.sandbag >= 10)))){ _local3 = 0; }; if ((((_local2 == "spTrainer")) && ((game.spTrainer >= 9)))){ _local3 = 0; }; return (int(_local3)); } public function select_add(_arg1:String){ var _local2:MovieClip = buttonArray[selectID]; _local2.x = selectBaseX; _local2.y = (selectBaseY + (selectID * 26)); _local2.selectText.text = _arg1; _local2.transButton.x = 0; _local2.transButton.y = 0; stage.addChild(_local2); selectID++; } public function exitResult(){ stage.removeEventListener(MouseEvent.MOUSE_DOWN, MouseLDownFunc_result); removeEventListener(Event.ENTER_FRAME, onEnterFrame_result); if (((!((ce == _eventGene))) && (!((ce == _eventMode))))){ removeAlly(); }; } public function fillAmmo(){ var _local1:int; var _local2:int; var _local3:*; _local1 = 0; while (_local1 < maxAlly) { _local2 = weapon(_local1); if (_local1 == _pc){ _local3 = _invPlayer; while (_local3 < (game.invSlot + _invPlayer)) { if (inventory.type[_local3] != _typeUse){ inventory.reloadTime[_local3] = 0; inventory.ammo[_local3] = inventory.ammoMax[_local3]; }; _local3++; }; } else { if (inventory.type[_local2] != _typeUse){ inventory.reloadTime[_local2] = 0; inventory.ammo[_local2] = inventory.ammoMax[_local2]; }; }; _local1++; }; } public function generateHenchman(){ var _local1:* = maxParty; var _local2:* = (_invAlly + maxParty); generatePlayer(_local1, (10 + game.day), _devMilitia); generateStuff(_local2, 21); player.trait[_local1][TRAIT.BIG_GUN] = 40; player.ai[_local1] = _aiFireAtWill; player.optBoss[_local1] = false; player.optWall[_local1] = true; } public function procEquipMenu(){ defHint = "\nDrag & drop to move items or change equipment."; window2_mc.stop(); window2_mc.anime = true; window2_mc.popup.visible = false; window2_mc.warning.visible = false; window2_mc.actRef1.mouseEnabled = false; window2_mc.actRef2.mouseEnabled = false; window2_mc.actHelp.visible = false; updateEquipSlots(); } public function shake(_arg1:int, _arg2:int, _arg3){ shakeCount = _arg1; shakeRange = _arg2; shakeDec = _arg3; shakeX = 0; shakeY = 0; shakeStrX = (shakeRange / 2); shakeStrY = (shakeRange / 2); shakeDirX = 1; shakeDirY = 1; if (Math.random() > 0.5){ shakeDirX = (shakeDirX * -1); }; if (Math.random() > 0.5){ shakeDirY = (shakeDirY * -1); }; } public function onEnterFrame_title(_arg1:Event){ var _local2:MovieClip; idx.slot = saveBox.selectedItem.data; if (shakeCount){ shakeFrame(); }; cloud.x = (cloud.x - 0.5); if (cloud.x < -1280){ cloud.x = 0; }; t++; if ((((t >= 20)) && ((t <= 30)))){ newGameButton.y = (newGameButton.y + 25); newGameButtonOrgX = newGameButton.x; }; if ((((t >= 29)) && ((t <= 39)))){ _local2 = new effect(); _local2.x = ((Math.random() * 100) + 250); _local2.y = ((Math.random() * 10) + 245); _local2.gotoAndPlay("impact1"); stage.addChild(_local2); newGameButton.x = ((newGameButtonOrgX + (Math.random() * 2)) - (Math.random() * 2)); if (t == 29){ sound_impact1.play(); shake(20, 5, 0.9); }; }; if ((((t >= 25)) && ((t <= 39)))){ continueButton.y = (continueButton.y + 25); continueButtonOrgX = continueButton.x; }; if ((((t >= 38)) && ((t <= 48)))){ _local2 = new effect(); _local2.x = ((Math.random() * 100) + 250); _local2.y = ((Math.random() * 10) + 295); _local2.gotoAndPlay("impact1"); stage.addChild(_local2); continueButton.x = ((continueButtonOrgX + (Math.random() * 2)) - (Math.random() * 2)); if (t == 38){ sound_impact1.play(); shake(20, 5, 0.9); }; }; if ((((t >= 30)) && ((t <= 48)))){ helpButton.y = (helpButton.y + 25); helpButtonOrgX = helpButton.x; }; if ((((t >= 47)) && ((t <= 57)))){ _local2 = new effect(); _local2.x = ((Math.random() * 80) + 250); _local2.y = ((Math.random() * 10) + 345); _local2.gotoAndPlay("impact1"); stage.addChild(_local2); helpButton.x = ((helpButtonOrgX + (Math.random() * 2)) - (Math.random() * 2)); if (t == 47){ sound_impact1.play(); shake(30, 5, 0.9); }; }; i = 0; while (i < _maxRunner) { if (t == 50){ runner_mc[i].gotoAndPlay("run"); }; if ((((t >= 50)) && ((t < 95)))){ runner_mc[i].x = (runner_mc[i].x + (0.25 + (runner_speed[i] / 8))); }; if (t == (98 + i)){ runner_mc[i].gotoAndPlay("notice"); }; if (t == 130){ runner_mc[i].gotoAndPlay("run"); }; if (t >= 130){ if (runner_mc[i].dead == false){ runner_mc[i].x = (runner_mc[i].x - runner_speed[i]); }; }; if (t > 150){ if (runner_mc[i].x > (480 - ((t - 150) * 5))){ if (runner_mc[i].dead == false){ _local2 = new effect(); _local2.x = runner_mc[i].x; _local2.y = (runner_mc[i].y - 5); _local2.gotoAndPlay("blood1"); stage.addChild(_local2); runner_mc[i].dead = true; runner_mc[i].gotoAndPlay("dead"); }; }; }; i++; }; if ((((((t >= 150)) && ((t < 230)))) && ((int((t % 2)) == 0)))){ _local2 = new effect(); _local2.x = ((480 - ((t - 150) * 5)) + (Math.random() * 15)); _local2.y = ((Math.random() * 200) + 160); _local2.gotoAndPlay("impact1"); stage.addChild(_local2); }; if (showUpdate == true){ stage.setChildIndex(window2_mc, (stage.numChildren - 1)); }; } public function procResult(){ var _local1:*; if (toTownMenu){ _local1 = window3_mc; _local1.procButton.visible = false; _local1.mc_playMore.visible = false; _local1.mc_playMore.mouseEnabled = false; } else { _local1 = window2_mc; _local1.procButton.visible = true; _local1.mc_playMore.visible = true; _local1.mc_playMore.mouseEnabled = true; }; if (armor){ _local1.mc_playMore.visible = false; _local1.procButton.x = 280; }; _local1.stop(); _local1.field.text = getNews(); _local1.field.editable = false; _local1.before.text = ("" + mission.resultBefore); _local1.taken.text = ("" + mission.resultTaken); _local1.reward.text = ("" + mission.reward); _local1.castle.text = ("" + mission.resultCastle); _local1.other.text = ("" + mission.resultOther); _local1.wage.text = ("" + mission.wage); _local1.tax.text = ("" + mission.unkeep); _local1.now.text = ("" + player.money[_pc]); updateInterface(); } public function trainerFix(){ return (((game.trainer == 0)) ? 1 : (1.03 + (game.trainer * 0.04))); } public function drawTrail(_arg1, _arg2, _arg3, _arg4, _arg5){ var _local6:MovieClip; var _local7:*; var _local8:*; if (_arg5 == 1){ _local6 = (new trail1() as MovieClip); }; if (_arg5 == 2){ _local6 = (new trail2() as MovieClip); }; if (_arg5 == 3){ _local6 = (new trail3() as MovieClip); }; _local7 = (_arg1 - _arg3); _local8 = (_arg2 - _arg4); _local6.x = _arg3; _local6.y = _arg4; _local6.width = Math.sqrt(((_local7 * _local7) + (_local8 * _local8))); _local6.rotation = (((Math.atan2((_arg1 - _arg3), (_arg2 - _arg4)) * -180) / Math.PI) + 90); stage.addChild(_local6); } public function select_end(){ select = -1; if (selectID == 0){ return; }; i = 0; while (i < selectID) { stage.removeChild(buttonArray[i]); i++; }; selectID = 0; } public function orderClick(_arg1:Event):void{ sound_click1.play(); player.ai[cs] = window2_mc.order.selectedItem.data; updateCharaMenu(); } public function aiNormal(_arg1:int, _arg2:int){ var _local3:int; var _local4:int; var _local5:*; _local4 = 0; while (_local4 < 2) { if (aiTarget[0][weaponRange[_arg2][_local4]][0] != undefined){ _local5 = aiTarget[0][weaponRange[_arg2][_local4]][0]; aiTarget[0][weaponRange[_arg2][_local4]] = [undefined, 1000]; _local5.tag = _defTag; return (_local5); }; if (player.ai[_arg1] == _aiNeither){ return (undefined); }; if (aiTarget[_armor][weaponRange[_arg2][_local4]][0] != undefined){ _local5 = aiTarget[_armor][weaponRange[_arg2][_local4]][0]; aiTarget[_armor][weaponRange[_arg2][_local4]] = [undefined, 1000]; _local5.tag = _defTag; return (_local5); }; if (player.ai[_arg1] == _aiNoAir){ return (undefined); }; if (aiTarget[_air][weaponRange[_arg2][_local4]][0] != undefined){ _local5 = aiTarget[_air][weaponRange[_arg2][_local4]][0]; aiTarget[_air][weaponRange[_arg2][_local4]] = [undefined, 1000]; _local5.tag = _defTag; return (_local5); }; _local4++; }; return (undefined); } public function setMod(_arg1:int, _arg2:int){ inventory.mod[_arg1] = _arg2; if (inventory.id[_arg1] == 8){ inventory.modMax[_arg1] = 1; inventory.lv[_arg1] = 1; inventory.name[_arg1] = (encRef[inventory.mod[_arg1]].name + " Mod Lv.1"); inventory.type[_arg1] = _typeMod; inventory.value[_arg1] = (200 + (2 * encRef[inventory.mod[_arg1]].cost)); }; if (inventory.id[_arg1] == 9){ inventory.modMax[_arg1] = 2; inventory.lv[_arg1] = 2; inventory.name[_arg1] = (encRef[inventory.mod[_arg1]].name + " Mod Lv.2"); inventory.type[_arg1] = _typeMod; inventory.value[_arg1] = (600 + (4 * encRef[inventory.mod[_arg1]].cost)); }; if ((((inventory.id[_arg1] == 10)) || ((inventory.id[_arg1] == 121)))){ inventory.modMax[_arg1] = 3; inventory.lv[_arg1] = 3; inventory.name[_arg1] = (encRef[inventory.mod[_arg1]].name + " Mod Lv.3"); inventory.type[_arg1] = _typeMod; inventory.value[_arg1] = (1200 + (8 * encRef[inventory.mod[_arg1]].cost)); }; } public function invPopup(){ var _local1:Boolean; var _local2:*; var _local3:*; var _local4:*; if (window2_mc.animeTime){ return; }; if (delay < 5){ return; }; _local1 = false; if (drag){ invPopupUpdate(invSlot_mc[dragSlot].id); return; }; _local2 = window2_mc.getObjectsUnderPoint(new Point(mouseX, mouseY)); _local3 = 0; while (_local3 < _local2.length) { _local4 = _local2[_local3].parent; if (_local4.hasOwnProperty("slot")){ if (_local4.item != -1){ _local1 = true; hintCount = 20; window2_mc.popup.alpha = 1; invPopupUpdate(_local4.id); }; }; _local3++; }; if (_local1 == false){ hintCount--; if (hintCount < 0){ window2_mc.popup.visible = false; currentPop = -1; } else { if (hintCount < 10){ window2_mc.popup.alpha = (window2_mc.popup.alpha - 0.1); }; }; }; } public function weaponVariation(_arg1:int, _arg2:int){ var _local3:*; if (_arg2 == -1){ if (game.optWeaponLevel == true){ _local3 = getBestSkill(ID[inventory.reqTrait[_arg1]], 1); _local3 = int(((((_local3 + 3) - inventory.reqLv[_arg1]) / 2.5) + 1)); _arg2 = int((Math.random() * _local3)); } else { _arg2 = limit((1 + int((Math.random() * ((game.day / 5) + 2)))), 1, (2 + (game.day / 8))); }; }; if (_arg2 <= 1){ return; }; inventory.attack[_arg1] = int(((inventory.attack[_arg1] * (100 + (_arg2 * 15))) / 100)); inventory.shootRate[_arg1] = int(((inventory.shootRate[_arg1] * (100 + (_arg2 * 5))) / 100)); inventory.name[_arg1] = (inventory.name[_arg1] + (" Mk-" + _arg2)); inventory.value[_arg1] = (int(((inventory.value[_arg1] * _arg2) / 1.5)) + (_arg2 * 300)); inventory.reqLv[_arg1] = (inventory.reqLv[_arg1] + int((_arg2 * 2.5))); inventory.ammo[_arg1] = inventory.ammoMax[_arg1]; inventory.lv[_arg1] = _arg2; } public function orderClose(_arg1:Event):void{ window2_mc.dismissButton.mouseEnabled = true; window2_mc.hint.visible = false; orderIsOpen = false; } public function exitBattle(){ stopSound(); exitBattle2(); removeAlly(); removeEnemy(); } public function KeyDown(_arg1:KeyboardEvent){ var _local2:*; var _local3:*; var _local4:int; var _local5:*; var _local6:*; if (gamePaused){ if (((gameDialog) || (gameOver))){ return; }; if ((((_arg1.keyCode == 27)) || ((_arg1.keyCode == Keyboard.SPACE)))){ sound_click1.play(); endPauseMenu(); }; return; }; if (_arg1.keyCode == 70){ sound_reloaded2.play(); if (fireAtWill == false){ blendCounter = 8; fireAtWill = true; sister.sisterFire.visible = true; _local3 = (new ef_rampage() as MovieClip); _local3.name = "rampage"; _local3.y = 16; if (sister.getChildByName("rampage") == null){ sister.addChild(_local3); }; } else { fireAtWill = false; sister.sisterFire.visible = false; if (sister.getChildByName("rampage") != null){ sister.removeChild(sister.getChildByName("rampage")); }; }; return; }; if (_arg1.keyCode == 27){ pauseMenu(); return; }; if (_arg1.keyCode == Keyboard.SPACE){ if (((!((inventory.ammo[ci] == inventory.ammoMax[ci]))) && ((inventory.autoReload[ci] == 0)))){ reload(_pc, ci); }; return; }; _local2 = 0; while (_local2 < 5) { if (_arg1.keyCode == (49 + _local2)){ _local4 = (_invPlayer + _local2); if (inventory.num[_local4] > 0){ if (inventory.type[_local4] == _typeUse){ useItem(_pc, _local4); return; }; inventory.reloadTime[ci] = 0; ci = _local4; refreshPlayer(_pc, ci); sound_reloaded1.play(); updateAmmoBar(); updateCi(); player_mc[_pc].gotoAndStop(player_mc[_pc].anime2); return; }; sound_beep.play(); return; }; _local2++; }; if (debug){ if (_arg1.keyCode == Keyboard.UP){ customCursor.visible = false; Mouse.show(); gamePaused = true; gameOver = true; gotoAndPlay("dead"); return; }; if (_arg1.keyCode == Keyboard.RIGHT){ text_effect("AAAAAAAAAAAAA"); return; }; if (_arg1.keyCode == Keyboard.LEFT){ bgChange = 100; _local5 = ((100 + bgChange) * 0.01); _local6 = [(1 - (_local5 * 0.9)), (0.6 - (_local5 * 0.2)), (0.4 + (_local5 * 0.6))]; bg.transform.colorTransform = new ColorTransform(_local6[0], _local6[1], _local6[2], 1, 0, 0, 0, 0); cloud.transform.colorTransform = new ColorTransform(_local6[0], _local6[1], _local6[2], 1, 0, 0, 0, 0); startFire(); exitBattle2(); eventAfterBattle(); gotoAndStop("event"); return; }; if (_arg1.keyCode == Keyboard.DOWN){ spawnEnemy(1); return; }; if (_arg1.keyCode == 16){ return; }; }; } public function exitBattle2(){ var _local1:*; var _local2:*; _local1 = _invPlayer; while (_local1 < (_invPlayer + 5)) { if (stage.getChildByName(("timer" + _local1))){ _local2 = stage.getChildByName(("timer" + _local1)); _local2.timer = 0; }; _local1++; }; fillAmmo(); _local1 = 0; while (_local1 < maxAlly) { endRampage(_local1); if (stage.getChildByName(cursor_mc[_local1].name)){ cursor_mc[_local1].visible = false; }; _local1++; }; blendCounter = 0; castleCounter = 0; root.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); removeChild(customCursor); timer.removeEventListener(TimerEvent.TIMER, onTick); stage.removeEventListener(KeyboardEvent.KEY_DOWN, KeyDown); stage.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownFunc); stage.removeEventListener(MouseEvent.MOUSE_UP, mouseUpFunc); stage.removeEventListener(MouseEvent.MOUSE_MOVE, MouseMove); stage.removeEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler); removeEventListener(Event.ENTER_FRAME, onEnterFrame); Mouse.show(); } public function getEmptyInventory(_arg1:int){ var _local3:*; var _local2 = -1; if (_arg1 == _invPlayer){ _local3 = _invPlayer; while (_local3 < (game.invSlot + _invPlayer)) { if ((((inventory.num[_local3] == 0)) || ((inventory.num[_local3] == undefined)))){ _local2 = _local3; break; }; _local3++; }; }; return (_local2); } public function throwGrenade(_arg1, _arg2, _arg3, _arg4, _arg5, _arg6, _arg7, _arg8:int, _arg9:int){ var _local10:*; _arg7 = ((((_arg7 * Math.atan2((Math.abs((_arg5 - _arg3)) * 2), Math.abs((_arg6 - _arg4)))) * 2) / Math.PI) + 0.1); if ((((_arg9 == 0)) || ((_arg9 == -1)))){ sound_throw1.play(0, 0, soundPos(_arg3)); _local10 = (new bullet_grenade() as MovieClip); }; if (_arg9 == 1){ _local10 = (new bullet_grenade2() as MovieClip); }; if (_arg9 == 2){ _local10 = (new bullet_arrow2() as MovieClip); if (_arg6 < 150){ _arg7 = (_arg7 * 1.5); }; _arg6 = (_arg6 + 6); }; if (_arg9 == 3){ _local10 = (new bullet_arrow3() as MovieClip); _arg6 = (_arg6 + 4); }; if (_arg9 == 4){ _local10 = (new bullet_puls() as MovieClip); _arg7 = (_arg7 / 4); }; if (((((((!((_arg1 == hero))) && (!((_arg9 == -1))))) && (!((_arg1 == -1))))) && (!((_arg9 == 4))))){ if (player.target[_arg1] != undefined){ _arg5 = (_arg5 + (player.target[_arg1].speed * ((_arg3 - _arg5) / (_arg7 * 1.1)))); }; }; _local10.x = _arg3; _local10.y = 0; _local10.a = 0.003; _local10.speed = _arg7; _local10.x2 = _arg3; _local10.y2 = _arg4; _local10.x1 = _arg5; _local10.y1 = _arg6; _local10.dmg = _arg8; _local10.chara = _arg1; _local10.w = _arg2; _local10.explode = explode; _local10.checkPaused = checkPaused; if ((((_arg9 == 2)) || ((_arg9 == 3)))){ _local10.penetrate = player.trait[_arg1][TRAIT.BOW_MASTER]; if (inventory.id[_arg2] == 23){ _local10.penetrate++; }; _local10.explode = procHit; }; if (_arg9 == 4){ _local10.explode = explode_puls; }; stage.addChild(_local10); } public function toggleMute(){ if (idx.mute == true){ idx.mute = false; volumeChange(1); } else { idx.mute = true; volumeChange(0); }; } public function clearGameInv(){ var _local1:int; while (_local1 < _invPlayer) { inventory.num[_local1] = 0; _local1++; }; } public function MouseLDownFunc_town(_arg1:MouseEvent){ var _local2:int; var _local3:int; var _local4:*; var _local5:int; _local2 = stage.mouseX; _local3 = stage.mouseY; if (orderIsOpen){ return; }; if (cardCount){ return; }; if (vol.hitTestPoint(_local2, _local3, true)){ toggleMute(); return; }; if (gameDialog){ if (dialog_mc.yes.hitTestPoint(_local2, _local3, true)){ endDialog(true); } else { endDialog(false); }; return; }; if (gamePaused){ pauseProc(); return; }; _local4 = stage.getChildByName("eventWindow"); if (_local4 != null){ procEventDialog(_local4); return; }; if (menuId == 1){ if (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)){ showEventDialog(_dialogActSleep); return; }; if (((window2_mc.act2.visible) && (window2_mc.act2.hitTestPoint(mouseX, mouseY, true)))){ showDialog(_dialogHire); dialog_mc.question.text = "The henchman demands half the mission reward. Accept?"; return; }; _local5 = 0; i = 0; while (i < radioCount) { if (((radio_mc[i].avail) && (radio_mc[i].card.hitTestPoint(mouseX, mouseY, true)))){ actList[i].func(); return; }; i++; }; }; if ((((menuId == 2)) && ((delay > 3)))){ if (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)){ showEventDialog(_dialogFreeRepair); return; }; i = 0; while (i < upgradeCount) { if (upgrade_mc[i].hitTestPoint(mouseX, mouseY, true)){ if (upgrade_mc[i].possible == false){ sound_beep.play(); return; }; if (getUpgradeCost((i + (page * 8))) == -1){ exclusiveLink(); return; }; sound_pay1.play(); player.money[_pc] = (player.money[_pc] - getUpgradeCost((i + (page * 8)))); upgradeDone((i + (page * 8))); removeUpgrades(); updateCastleMenu(); updateInterface(); return; }; i++; }; }; if ((((menuId == 3)) && ((delay > 3)))){ if (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)){ showEventDialog(_dialogNewRecruit); return; }; i = 0; while (i < (maxAlly + 1)) { if (player.exist[i] == false){ } else { if (player_mc[i].bg.hitTestPoint(mouseX, mouseY, true)){ sound_click1.play(); cs = i; updateCharaMenu(); return; }; }; i++; }; }; if ((((menuId == 3)) && (!((cs == maxAlly))))){ i = 0; while (i < statsCount) { if (stats_mc[i].hitTestPoint(mouseX, mouseY, true)){ if ((((traitRef[stats_mc[i].id].group == G_BASE)) || ((stats_mc[i].id < G_GEN)))){ sound_beep.play(); popInfo("Base skills can't be focused."); return; }; sound_click1.play(); if (player.forcus[cs] == stats_mc[i].id){ player.forcus[cs] = -1; } else { player.forcus[cs] = stats_mc[i].id; }; updateCharaMenu(); return; }; i++; }; }; if ((((((menuId == 3)) && (!((cs == _pc))))) && ((window2_mc.dismissButton.mouseEnabled == true)))){ if (window2_mc.dismissButton.hitTestPoint(_local2, _local3, true)){ if (cs != maxAlly){ showDialog(_dialogDismiss); dialog_mc.question.text = (("Do you really want to dismiss " + player.name[cs]) + "?"); } else { if (player.exist[3] == true){ sound_beep.play(); popInfo("You have reached the limit of recruits."); return; }; if (getFreeAlly() > game.house){ sound_beep.play(); popInfo("You need to upgrade the house!"); return; }; if (player.money[_pc] < player.cost[cs]){ sound_beep.play(); popInfo("You don't have enough money!"); return; }; showDialog(_dialogRecruit); dialog_mc.question.text = (((("Do you really want to recruit " + player.name[cs]) + " for ") + player.cost[cs]) + " gp?"); }; }; }; if (menuId == 4){ if ((((drag == false)) && (window2_mc.act2.hitTestPoint(mouseX, mouseY, true)))){ if (game.ap < 4){ noAp(); return; }; sound_click1.play(); window2_mc.actHelp.visible = true; equipMode = 1; updateInvSlots(-1); return; }; if ((((drag == false)) && (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)))){ showEventDialog(_dialogRefreshStock); return; }; }; if (menuId == 5){ if (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)){ showEventDialog(_dialogRobVisitor); return; }; if (((window2_mc.kongMc.visible) && (window2_mc.kongMc.kongButton.hitTestPoint(mouseX, mouseY, true)))){ kongregateLink(); return; }; if (((window2_mc.armorbt.visible) && (window2_mc.armorbt.hitTestPoint(mouseX, mouseY, true)))){ armorLink(); return; }; }; if (menuId == 6){ if ((((drag == false)) && (window2_mc.act1.hitTestPoint(mouseX, mouseY, true)))){ if (game.ap < 5){ noAp(); return; }; sound_click1.play(); window2_mc.actHelp.visible = true; equipMode = 1; updateInvSlots(-1); return; }; if ((((drag == false)) && (window2_mc.act2.hitTestPoint(mouseX, mouseY, true)))){ if (game.ap < 3){ noAp(); return; }; sound_click1.play(); window2_mc.actHelp.visible = true; equipMode = 2; updateInvSlots(-1); return; }; }; if (equipButton.hitTestPoint(_local2, _local3, true)){ exitMenu(); sound_scroll1.play(); menuId = 6; window2_mc.gotoAndPlay("menu_equip"); window2_mc.x = 1000; window2_mc.addFrameScript((window2_mc.currentFrame - 1), procEquipMenu); return; }; if (missionButton.hitTestPoint(_local2, _local3, true)){ exitMenu(); sound_scroll1.play(); menuId = 1; window2_mc.gotoAndPlay("menu_mission"); window2_mc.x = 1000; window2_mc.addFrameScript((window2_mc.currentFrame - 1), procMissionMenu); return; }; if (castleButton.hitTestPoint(_local2, _local3, true)){ exitMenu(); sound_scroll1.play(); menuId = 2; window2_mc.gotoAndPlay("menu_castle"); window2_mc.x = 1000; window2_mc.addFrameScript((window2_mc.currentFrame - 1), procCastleMenu); return; }; if (charaButton.hitTestPoint(_local2, _local3, true)){ exitMenu(); sound_scroll1.play(); menuId = 3; window2_mc.gotoAndPlay("menu_chara"); window2_mc.x = 1000; window2_mc.addFrameScript((window2_mc.currentFrame - 1), procCharaMenu); return; }; if (shopButton.hitTestPoint(_local2, _local3, true)){ exitMenu(); sound_scroll1.play(); menuId = 4; window2_mc.gotoAndPlay("menu_shop"); window2_mc.x = 1000; window2_mc.addFrameScript((window2_mc.currentFrame - 1), procShopMenu); return; }; if (medalButton.hitTestPoint(_local2, _local3, true)){ exitMenu(); sound_scroll1.play(); menuId = 5; window2_mc.gotoAndPlay("menu_medal"); window2_mc.x = 1000; window2_mc.addFrameScript((window2_mc.currentFrame - 1), procMedalMenu); return; }; if (drag == false){ if (menuButton.hitTestPoint(_local2, _local3, true)){ pauseMenu(); return; }; if (window2_mc.closeButton.hitTestPoint(_local2, _local3, true)){ exitMenu(); sound_scroll1.play(); menuId = 0; window2_mc.x = 1000; return; }; }; if ((((menuId == 4)) || ((menuId == 6)))){ invDrag(); if (equipMode){ endEquipMode(); }; }; } public function gameStart(){ if ((((player.devType[_pc] == _devHunter)) || ((player.devType[_pc] == _devRogue)))){ generatePlayer(1, 1, _devGuard); player.name[1] = "Little Girl"; player.potentialAim[1] = 0.7; player.potentialTeam[1] = 0.8; player.trait[1][TRAIT.BASE_AIMING] = 1; player.trait[1][TRAIT.BASE_TEAMWORK] = 1; player.pic[1] = 50; player.ai[1] = _aiFireAtWill; player.optBoss[1] = true; player.optWall[1] = true; }; geneMedalBonus(); if (medal[_medalHardcore2]){ generateStuff((_invPlayer + 2), 27); }; if (game.optionAltStart == 1){ player.money[_pc] = (player.money[_pc] + 20000); game.apFix = 100; game.day = 10; }; if (game.optionAltStart == 3){ game.invSlot = 16; generateStuff((_invPlayer + 0), 101); generateStuff((_invPlayer + 8), 121); generateStuff((_invPlayer + 1), 102); generateStuff((_invPlayer + 2), 103); generateStuff((_invPlayer + 3), 104); generateStuff((_invPlayer + 4), 105); generateStuff((_invPlayer + 5), 106); generateStuff((_invPlayer + 6), 107); generateStuff((_invPlayer + 7), 108); generateStuff((_invPlayer + 9), 110); generateStuff((_invPlayer + 10), 117); generateStuff((_invPlayer + 11), 112); generateStuff((_invPlayer + 12), 113); generateStuff((_invPlayer + 13), 114); generateStuff((_invPlayer + 14), 115); generateStuff((_invPlayer + 15), 116); player.trait[_pc][TRAIT.BIG_GUN] = 30; player.trait[_pc][TRAIT.RIFLE] = 30; player.trait[_pc][TRAIT.SHOTGUN] = 30; player.trait[_pc][TRAIT.SMALL_GUN] = 30; }; if (debugStartDay){ game.day = debugStartDay; player.money[_pc] = (player.money[_pc] + (debugStartDay * 1000)); }; if (game.optionAltStart == 2){ debug_survival(11); }; } public function procUpdate(){ window2_mc.titleText.text = "You game has been updated!\n[Last Update] 11/27 (Release 21)"; window2_mc.updateText.editable = false; window2_mc.updateText.text = (window2_mc.updateText.text + "* Experinces needed to gain weapon skills have been reduced.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Each spider will have different color variation.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Starting from day 40, there's a small chance an enemy will spawn bigger and tougher than normal.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Overal, enemies have slightly less HP than before after day 40.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* When mounting a Mod on a weapon that already has the same kind of Mod, the effect will be reduced.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Inventory slots gained by medals will no longer require unkeep costs.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Fixed a bug where you could improve skills beyond their caps when playing certain classes.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Reloading to get different results for searching no longer works.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Arrows will not hit \"blood\" any more.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Some other fixes and balance adjustments.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "[Previous Update(11/24 release 20]\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "This is a fix for the save-system. The next update will have some new features and should be released tomorrow.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Taunting will increase enemy HP intended now.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Changed the save system so that save-failure should no longer occur.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Party skill will be re-calculated after dismissing a friendly NPC.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Fixed some bugs and exploits.\n\n"); window2_mc.updateText.text = (window2_mc.updateText.text + "* Some balance adjustments.\n\n"); } public function getClass(_arg1:int){ var _local2:Array = ["1", "2", "3", "4"]; if (_arg1 == _devHunter){ _local2 = ["Hunter", "Hunters do not confine themselves to a single field. They aim at developing all around skills and receive many skills to choose from. ", "Starts with Little Girl."]; }; if (_arg1 == _devRogue){ _local2 = ["Rogue", "Rogues are the best money winners and also learn many useful skills that benefit the entire party.", "Starts with Little Girl."]; }; if (_arg1 == _devSheriff){ _local2 = ["Sheriff", "Sheriffs are the experts of shotgun. Though they somewhat lack teamwork, they are deadly at close range combat.", "Starts with a shotgun."]; }; if (_arg1 == _devMilitia){ _local2 = ["Militia", "Militia can use both rifles and big guns well. A militia can learn a wide variety of combat skills and a few party skills.", "Starts with a rifle."]; }; if (_arg1 == _devSniper){ _local2 = ["Sniper", "Snipers are simply the best damage dealers. They don't get any party skill nor are they good at shooting at crowds, but they can take out the enemies one by one pretty quickly.", "Starts with a rifle."]; }; if (_arg1 == _devRanger){ _local2 = ["Ranger", "Rangers use big guns effectively and are also good natural leaders. They can take out big crowds and raise the morale of the party with their party skills.", "Starts with cheap worn HMG."]; }; if (_arg1 == _devDuelist){ _local2 = ["Duelist", "Duelists are the specialists of small guns. They learn various tactics and skills to adapt to any combat situation.", "Starts with a modified pistol."]; }; if (_arg1 == _devNoble){ _local2 = ["Noble", "Nobles start with only few basic skills and no unique skills. However, they have the biggest potentials and possibilities.", "Starts with a modified smg."]; }; if (_arg1 == _devGuard){ _local2 = ["Guardian", "", ""]; }; return (_local2); } public function procMissionMenu(){ window2_mc.stop(); window2_mc.anime = true; window2_mc.actRef1.mouseEnabled = false; defHint = "\nRoll your mouse over an action to see details."; if (mission.hire == true){ window2_mc.act2.visible = false; window2_mc.actRef2.visible = false; } else { window2_mc.act2.visible = true; window2_mc.actRef2.visible = true; }; window2_mc.actRef2.mouseEnabled = false; updateMissionMenu(); } } }//package shootem_funny_fla
Section 70
//optionwindow_224 (shootem_funny_fla.optionwindow_224) package shootem_funny_fla { import flash.events.*; import flash.display.*; import fl.controls.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class optionwindow_224 extends MovieClip { public var optLowQuality:CheckBox; public var stats:TextArea; public var optColor:CheckBox; public var optShowAllyDamage:CheckBox; public var optFirework:CheckBox; public var optShowDamage:CheckBox; public function optionwindow_224(){ __setProp_optShowDamage_optionwindow_Layer1_0(); __setProp_optLowQuality_optionwindow_Layer1_0(); __setProp_optShowAllyDamage_optionwindow_Layer1_0(); __setProp_optFirework_optionwindow_Layer1_0(); __setProp_optColor_optionwindow_Layer1_0(); } function __setProp_optLowQuality_optionwindow_Layer1_0(){ try { optLowQuality["componentInspectorSetting"] = true; } catch(e:Error) { }; optLowQuality.enabled = true; optLowQuality.label = "Enable low quality mode (Faster)"; optLowQuality.labelPlacement = "right"; optLowQuality.selected = false; optLowQuality.visible = true; try { optLowQuality["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_optShowAllyDamage_optionwindow_Layer1_0(){ try { optShowAllyDamage["componentInspectorSetting"] = true; } catch(e:Error) { }; optShowAllyDamage.enabled = true; optShowAllyDamage.label = "Show NPCs' damage output"; optShowAllyDamage.labelPlacement = "right"; optShowAllyDamage.selected = false; optShowAllyDamage.visible = true; try { optShowAllyDamage["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_optFirework_optionwindow_Layer1_0(){ try { optFirework["componentInspectorSetting"] = true; } catch(e:Error) { }; optFirework.enabled = true; optFirework.label = "Disable firework effect"; optFirework.labelPlacement = "right"; optFirework.selected = false; optFirework.visible = true; try { optFirework["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_optShowDamage_optionwindow_Layer1_0(){ try { optShowDamage["componentInspectorSetting"] = true; } catch(e:Error) { }; optShowDamage.enabled = true; optShowDamage.label = "Show player's damage output"; optShowDamage.labelPlacement = "right"; optShowDamage.selected = false; optShowDamage.visible = true; try { optShowDamage["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_optColor_optionwindow_Layer1_0(){ try { optColor["componentInspectorSetting"] = true; } catch(e:Error) { }; optColor.enabled = true; optColor.label = "Crosshair for color blindness."; optColor.labelPlacement = "right"; optColor.selected = false; optColor.visible = true; try { optColor["componentInspectorSetting"] = false; } catch(e:Error) { }; } } }//package shootem_funny_fla
Section 71
//rat_310 (shootem_funny_fla.rat_310) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class rat_310 extends MovieClip { public function rat_310(){ addFrameScript(14, frame15, 18, frame19); } function frame15(){ gotoAndPlay("alive"); } function frame19(){ gotoAndPlay("dead"); } } }//package shootem_funny_fla
Section 72
//runningboy_25 (shootem_funny_fla.runningboy_25) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class runningboy_25 extends MovieClip { public function runningboy_25(){ addFrameScript(49, frame50); } function frame50(){ stop(); } } }//package shootem_funny_fla
Section 73
//runningcat_32 (shootem_funny_fla.runningcat_32) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class runningcat_32 extends MovieClip { public function runningcat_32(){ addFrameScript(70, frame71); } function frame71(){ stop(); } } }//package shootem_funny_fla
Section 74
//runninggirl_29 (shootem_funny_fla.runninggirl_29) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class runninggirl_29 extends MovieClip { public function runninggirl_29(){ addFrameScript(57, frame58); } function frame58(){ stop(); } } }//package shootem_funny_fla
Section 75
//runninglady_34 (shootem_funny_fla.runninglady_34) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class runninglady_34 extends MovieClip { public function runninglady_34(){ addFrameScript(69, frame70); } function frame70(){ stop(); } } }//package shootem_funny_fla
Section 76
//sister_39 (shootem_funny_fla.sister_39) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class sister_39 extends MovieClip { public var dead:Boolean; public var free:Boolean; public var sisterFire:MovieClip; public function sister_39(){ addFrameScript(0, frame1, 3, frame4, 6, frame7, 16, frame17, 35, frame36, 71, frame72, 79, frame80, 89, frame90); } function frame1(){ free = true; dead = false; sisterFire.visible = false; } function frame80(){ free = false; } function frame4(){ free = true; stop(); } function frame72(){ stop(); } function frame7(){ free = false; } function frame36(){ gotoAndPlay("stand"); } function frame17(){ gotoAndPlay("stand"); } function frame90(){ gotoAndPlay("joy"); } } }//package shootem_funny_fla
Section 77
//sister_85 (shootem_funny_fla.sister_85) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class sister_85 extends MovieClip { public var bt:SimpleButton; public function sister_85(){ addFrameScript(337, frame338); } function frame338(){ stop(); } } }//package shootem_funny_fla
Section 78
//SPARKLE2_349 (shootem_funny_fla.SPARKLE2_349) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class SPARKLE2_349 extends MovieClip { public function SPARKLE2_349(){ addFrameScript(13, frame14); } function frame14(){ stop(); } } }//package shootem_funny_fla
Section 79
//titleanime_38 (shootem_funny_fla.titleanime_38) package shootem_funny_fla { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class titleanime_38 extends MovieClip { public var sister:MovieClip; public var count:int; public function titleanime_38(){ addFrameScript(0, frame1, 306, frame307); } function frame1(){ count = 0; } function frame307(){ stop(); } } }//package shootem_funny_fla
Section 80
//actions (actions) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class actions extends MovieClip { public var card:MovieClip; public var pin:MovieClip; public var text:TextField; public function actions(){ addFrameScript(0, frame1); } function frame1(){ stop(); card.addEventListener(MouseEvent.MOUSE_OVER, actions_over); card.addEventListener(MouseEvent.MOUSE_OUT, actions_out); } public function actions_over(_arg1:MouseEvent){ if (this.avail == false){ return; }; card.scaleX = 1.04; card.scaleY = 1.04; var _local2:* = this._root.cardSound; if (_local2 != undefined){ if (_local2.position < 2){ return; }; }; this._root.cardSound = (this._root.sound_card1.play(0) as SoundChannel); } public function actions_out(_arg1:MouseEvent){ card.scaleX = 1; card.scaleY = 1; } public function removeEvent(){ card.removeEventListener(MouseEvent.MOUSE_OVER, actions_over); card.removeEventListener(MouseEvent.MOUSE_OUT, actions_out); } } }//package
Section 81
//ally1 (ally1) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class ally1 extends MovieClip { public var _root; public var chara1:charaPic; public var chara2:charaPic; public function ally1(){ addFrameScript(0, frame1, 9, frame10, 11, frame12, 15, frame16, 23, frame24, 29, frame30, 35, frame36, 41, frame42, 44, frame45, 48, frame49, 52, frame53, 69, frame70, 71, frame72, 75, frame76, 83, frame84, 85, frame86, 91, frame92, 94, frame95, 96, frame97, 100, frame101, 108, frame109, 119, frame120, 121, frame122, 125, frame126, 133, frame134, 144, frame145, 146, frame147, 150, frame151, 158, frame159, 169, frame170, 171, frame172, 175, frame176, 183, frame184, 199, frame200, 202, frame203, 205, frame206, 208, frame209, 211, frame212, 220, frame221, 226, frame227, 235, frame236, 280, frame281, 290, frame291, 402, frame403); } function frame151(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame70(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame72(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame30(){ chara1.gotoAndStop(((this.pic * 10) + 3)); } function frame159(){ chara1.gotoAndStop(((this.pic * 10) + 2)); stop(); } function frame36(){ chara1.gotoAndStop(((this.pic * 10) + 4)); } function frame76(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame236(){ stop(); } function frame281(){ chara1.gotoAndStop(((this.pic * 10) + 8)); chara2.gotoAndStop(((this.pic * 10) + 9)); _root.sound_deadBoss1.play(0, 0, _root.soundPos(x)); } function frame120(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame122(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame200(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame126(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame84(){ chara1.gotoAndStop(((this.pic * 10) + 2)); stop(); } function frame403(){ stop(); } function frame86(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame45(){ chara1.gotoAndStop(((this.pic * 10) + 5)); } function frame203(){ chara1.gotoAndStop(((this.pic * 10) + 2)); } function frame42(){ gotoAndPlay("reload"); } function frame209(){ chara1.gotoAndStop(((this.pic * 10) + 2)); } function frame49(){ chara1.gotoAndStop(((this.pic * 10) + 6)); } function frame206(){ chara1.gotoAndStop(((this.pic * 10) + 7)); } function frame291(){ _root.sound_deadBoss2.play(0, 0, _root.soundPos(x)); } function frame172(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame176(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame170(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame134(){ chara1.gotoAndStop(((this.pic * 10) + 2)); stop(); } function frame95(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame97(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame10(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame212(){ gotoAndPlay("walk"); } function frame12(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame16(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame92(){ stop(); } function frame53(){ gotoAndPlay("stand"); } function frame184(){ chara1.gotoAndStop(((this.pic * 10) + 2)); stop(); } function frame1(){ _root = (root as MovieClip); } function frame101(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame147(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame227(){ chara1.gotoAndStop(((this.pic * 10) + 4)); } function frame221(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame145(){ chara1.gotoAndStop(((this.pic * 10) + 1)); } function frame109(){ chara1.gotoAndStop(((this.pic * 10) + 2)); stop(); } function frame24(){ chara1.gotoAndStop(((this.pic * 10) + 2)); stop(); } } }//package
Section 82
//ally2 (ally2) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class ally2 extends MovieClip { public var pname:TextField; public var chara1:charaPic; public function ally2(){ addFrameScript(7, frame8, 11, frame12, 15, frame16); } function frame16(){ gotoAndPlay("stand"); } function frame8(){ chara1.gotoAndStop(((this.pic * 10) + 5)); } function frame12(){ chara1.gotoAndStop(((this.pic * 10) + 6)); } } }//package
Section 83
//ally3 (ally3) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class ally3 extends MovieClip { public var bg:SimpleButton; public var chara1:charaPic; public var lv:TextField; public var pname:TextField; public function ally3(){ addFrameScript(7, frame8, 11, frame12, 15, frame16); } function frame8(){ chara1.gotoAndStop(((this.pic * 10) + 5)); } function frame12(){ chara1.gotoAndStop(((this.pic * 10) + 6)); } function frame16(){ gotoAndPlay("stand"); } } }//package
Section 84
//ally4 (ally4) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class ally4 extends MovieClip { public var bg:SimpleButton; public var chara1:charaPic; public function ally4(){ addFrameScript(7, frame8, 11, frame12, 15, frame16); } function frame16(){ gotoAndPlay("stand"); } function frame8(){ chara1.gotoAndStop(((this.pic * 10) + 5)); } function frame12(){ chara1.gotoAndStop(((this.pic * 10) + 6)); } } }//package
Section 85
//arrow (arrow) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class arrow extends MovieClip { public var shadow:bullet_shadow; public var mc:MovieClip; public function arrow(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stop(); } public function onEnterFrame_bullet(_arg1:Event){ x = (x + 15); this.dx++; mc.y = (this.dy + ((this.dx * this.dx) / 3)); mc.rotation = ((this.dx * 2.5) + 90); shadow.y = this.sy; if (x > 650){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); return; }; } } }//package
Section 86
//arrowEgg (arrowEgg) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class arrowEgg extends MovieClip { public var shadow:bullet_shadow; public var mc:MovieClip; public function arrowEgg(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stop(); } public function onEnterFrame_bullet(_arg1:Event){ x = (x + 15); this.dx++; mc.y = ((this.dy + ((this.dx * this.dx) / 20)) - 10); mc.rotation = ((this.dx * 4) + 90); shadow.y = this.sy; if (x > 650){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); return; }; } } }//package
Section 87
//bolt (bolt) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class bolt extends MovieClip { public var shadow:bullet_shadow; public var mc:MovieClip; public function bolt(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stop(); } public function onEnterFrame_bullet(_arg1:Event){ x = (x + 25); this.dx++; mc.y = (this.dy + ((this.dx * this.dx) / 8)); shadow.y = this.sy; mc.rotation = (this.dx + 90); if (x > 650){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); delete ??getglobalscope [this]; }; } } }//package
Section 88
//bolt_tank (bolt_tank) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class bolt_tank extends MovieClip { public var shadow:bullet_shadow; public var mc:MovieClip; public function bolt_tank(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stop(); } public function onEnterFrame_bullet(_arg1:Event){ x = (x + 25); this.dx++; mc.y = (this.dy + ((this.dx * this.dx) / 8)); shadow.y = this.sy; mc.rotation = (this.dx + 90); if (x > 650){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); delete ??getglobalscope [this]; }; } } }//package
Section 89
//bullet (bullet) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class bullet extends MovieClip { public function bullet(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stop(); } public function onEnterFrame_bullet(_arg1:Event){ x = (x + this.dx); y = (y + this.dy); this.counter--; if (this.counter < 0){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); delete ??getglobalscope [this]; }; } } }//package
Section 90
//bullet_arrow2 (bullet_arrow2) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class bullet_arrow2 extends MovieClip { public var shadow:bullet_shadow; public var r; public var mc:MovieClip; public var count; public function bullet_arrow2(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); count = (int((Math.abs((this.x1 - this.x2)) / this.speed)) + 1); r = 2.5; mc.rotation = (-90 + ((r * count) / 2)); if (Math.abs((this.x1 - this.x2)) < 200){ mc.rotation = (((Math.atan2((this.x1 - this.x2), (this.y1 - this.y2)) * -180) / Math.PI) + 180); r = (Math.abs((this.x1 - this.x2)) / 150); }; if (this.y1 < 150){ r = (1.25 - Math.abs((count / 100))); this.a = 0.001; count = ((count * 2) + 20); mc.rotation = (((Math.atan2((this.x1 - this.x2), (this.y1 - this.y2)) * -180) / Math.PI) + 180); }; if (this.x1 > this.x2){ this.speed = (this.speed * -1); mc.rotation = (((Math.atan2((this.x1 - this.x2), (this.y1 - this.y2)) * -180) / Math.PI) + 180); r = (r * -1); }; stop(); } public function onEnterFrame_bullet(_arg1:Event){ count--; if ((((x < 0)) || ((x > 640)))){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); return; }; if ((((((count >= 0)) && ((count < 4)))) || ((((((this.y1 < 135)) && ((mc.y > 0)))) && ((mc.y < 135)))))){ if (this.explode(this.chara, this.w, (this.x - 4), mc.y, this.dmg) == true){ if (this.penetrate <= 0){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); return; }; this.penetrate--; }; }; if (count <= 0){ shadow.visible = false; alpha = (alpha - 0.025); if (count < -40){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); }; return; }; x = (x - this.speed); mc.rotation = (mc.rotation - r); var _local2:* = ((((this.y1 - this.y2) - ((this.a * this.x1) * this.x1)) + ((this.a * this.x2) * this.x2)) / (this.x1 - this.x2)); var _local3:* = ((this.y1 - ((this.a * this.x1) * this.x1)) - (_local2 * this.x1)); mc.y = ((((this.a * this.x) * this.x) + (_local2 * this.x)) + _local3); shadow.y = (((this.y1 - this.y2) * (x - this.x2)) / (this.x1 - this.x2)); if (this.y1 < 135){ shadow.y = (shadow.y / 3); }; shadow.y = (shadow.y + (this.y2 + 6)); if (count < 10){ shadow.alpha = (shadow.alpha - 0.1); }; if (shadow.y < 135){ shadow.visible = false; }; } } }//package
Section 91
//bullet_arrow3 (bullet_arrow3) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class bullet_arrow3 extends MovieClip { public var shadow:bullet_shadow; public var r; public var mc:MovieClip; public var count:int; public function bullet_arrow3(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); r = 0.2; count = 0; mc.rotation = -90; this.a = 2E-5; mc.rotation = (((Math.atan2((this.x1 - this.x2), (this.y1 - this.y2)) * -180) / Math.PI) + 180); if (this.x1 > this.x2){ this.speed = (this.speed * -1); mc.rotation = (((Math.atan2((this.x1 - this.x2), (this.y1 - this.y2)) * -180) / Math.PI) + 180); r = (r * -1); }; stop(); } public function onEnterFrame_bullet(_arg1:Event){ if ((((((((x < -10)) || ((x > 640)))) || ((y < -10)))) || ((y > 400)))){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); return; }; if ((((((this.y1 > 135)) && ((mc.y < 135)))) && ((count > 2)))){ this.speed = (this.speed / (2.5 - (Math.abs((this.x - this.x2)) / 450))); mc.rotation = (mc.rotation - (r * 10)); mc.scaleX = (mc.scaleX - 0.1); mc.scaleY = (mc.scaleY - 0.1); if (mc.scaleX <= 0){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); return; }; } else { if ((((this.y1 > 135)) || ((((this.y1 < 135)) && ((mc.y < 135)))))){ if (this.explode(this.chara, this.w, (this.x - 4), mc.y, this.dmg) == true){ if (this.penetrate <= 0){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); return; }; this.penetrate--; }; }; }; count++; x = (x - this.speed); mc.rotation = (mc.rotation - r); var _local2:* = ((((this.y1 - this.y2) - ((this.a * this.x1) * this.x1)) + ((this.a * this.x2) * this.x2)) / (this.x1 - this.x2)); var _local3:* = ((this.y1 - ((this.a * this.x1) * this.x1)) - (_local2 * this.x1)); mc.y = ((((this.a * this.x) * this.x) + (_local2 * this.x)) + _local3); shadow.y = (((this.y1 - this.y2) * (x - this.x2)) / (this.x1 - this.x2)); if (this.y1 < 135){ shadow.y = (shadow.y / 3); }; shadow.y = (shadow.y + (this.y2 + 14)); if (shadow.y < 135){ shadow.visible = false; }; } } }//package
Section 92
//bullet_grenade (bullet_grenade) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class bullet_grenade extends MovieClip { public var shadow:bullet_shadow; public var mc:MovieClip; public var count; public function bullet_grenade(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); count = (int((Math.abs((this.x1 - this.x2)) / this.speed)) + 1); if (this.x1 > this.x2){ this.speed = (this.speed * -1); }; stop(); } public function onEnterFrame_bullet(_arg1:Event){ count--; x = (x - this.speed); mc.rotation = (mc.rotation - 4); var _local2:* = ((((this.y1 - this.y2) - ((this.a * this.x1) * this.x1)) + ((this.a * this.x2) * this.x2)) / (this.x1 - this.x2)); var _local3:* = ((this.y1 - ((this.a * this.x1) * this.x1)) - (_local2 * this.x1)); mc.y = ((((this.a * this.x) * this.x) + (_local2 * this.x)) + _local3); shadow.y = (((this.y1 - this.y2) * (x - this.x2)) / (this.x1 - this.x2)); if (this.y1 < 135){ shadow.y = (shadow.y / 3); }; shadow.y = (shadow.y + this.y2); if (count <= 0){ this.explode(this.chara, this.w, x, mc.y, this.dmg, 0); this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); }; } } }//package
Section 93
//bullet_grenade2 (bullet_grenade2) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class bullet_grenade2 extends MovieClip { public var shadow:bullet_shadow; public var mc:MovieClip; public var count; public function bullet_grenade2(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); count = (int((Math.abs((this.x1 - this.x2)) / this.speed)) + 1); if (this.x1 > this.x2){ this.speed = (this.speed * -1); }; stop(); } public function onEnterFrame_bullet(_arg1:Event){ count--; x = (x - this.speed); mc.rotation = (mc.rotation - 24); var _local2:* = ((((this.y1 - this.y2) - ((this.a * this.x1) * this.x1)) + ((this.a * this.x2) * this.x2)) / (this.x1 - this.x2)); var _local3:* = ((this.y1 - ((this.a * this.x1) * this.x1)) - (_local2 * this.x1)); mc.y = ((((this.a * this.x) * this.x) + (_local2 * this.x)) + _local3); shadow.y = (((this.y1 - this.y2) * (x - this.x2)) / (this.x1 - this.x2)); if (this.y1 < 135){ shadow.y = (shadow.y / 3); }; shadow.y = (shadow.y + this.y2); if (count <= 0){ this.explode(this.chara, this.w, x, mc.y, this.dmg, 0); this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); }; } } }//package
Section 94
//bullet_grenade3 (bullet_grenade3) package { import flash.display.*; public dynamic class bullet_grenade3 extends MovieClip { public var shadow:bullet_shadow; public var mc:MovieClip; } }//package
Section 95
//bullet_puls (bullet_puls) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class bullet_puls extends MovieClip { public var mc:MovieClip; public var count:int; public function bullet_puls(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); count = 15; this.a = 0; if (this.x1 > this.x2){ this.speed = (this.speed * -1); }; stop(); } public function onEnterFrame_bullet(_arg1:Event){ if (this.checkPaused() == true){ return; }; if ((((((((x < -10)) || ((x > 640)))) || ((y < -10)))) || ((y > 400)))){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); }; count--; if (count <= 0){ count = 15; mc.puls.gotoAndPlay(1); this.explode(this.chara, this.w, x, mc.y, this.dmg, 0); }; x = (x - this.speed); mc.rotation = (mc.rotation - 50); var _local2:* = ((((this.y1 - this.y2) - ((this.a * this.x1) * this.x1)) + ((this.a * this.x2) * this.x2)) / (this.x1 - this.x2)); var _local3:* = ((this.y1 - ((this.a * this.x1) * this.x1)) - (_local2 * this.x1)); mc.y = ((((this.a * this.x) * this.x) + (_local2 * this.x)) + _local3); } } }//package
Section 96
//bullet_rocket (bullet_rocket) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class bullet_rocket extends MovieClip { public var shadow:bullet_shadow; public var mc:MovieClip; public var dir; public var spd; public function bullet_rocket(){ addFrameScript(0, frame1); } public function onEnterFrame_bullet(_arg1:Event){ x = (x - ((dir * spd) * spd)); spd = (spd + (this.speed * 0.01)); var _local2:* = ((((this.y1 - this.y2) - ((this.a * this.x1) * this.x1)) + ((this.a * this.x2) * this.x2)) / (this.x1 - this.x2)); var _local3:* = ((this.y1 - ((this.a * this.x1) * this.x1)) - (_local2 * this.x1)); mc.y = ((((this.a * this.x) * this.x) + (_local2 * this.x)) + _local3); if (this.y1 < 135){ shadow.y = (this.y2 + ((((this.y1 - this.y2) * (x - this.x2)) / (this.x1 - this.x2)) / 3)); } else { shadow.y = ((mc.y + 15) - ((15 * (x - this.x2)) / (this.x1 - this.x2))); }; if (shadow.y < 135){ shadow.visible = false; }; if ((((((dir == 1)) && ((x < (this.x1 - 5))))) || ((((dir == -1)) && ((x > (this.x1 + 5))))))){ this.explode(this.chara, this.w, x, mc.y, this.dmg, 1); this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); }; } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); spd = 0; mc.rotation = (((Math.atan2((this.x1 - this.x2), (this.y1 - this.y2)) * -180) / Math.PI) - 90); if (this.x1 > this.x2){ dir = -1; } else { dir = 1; }; stop(); } } }//package
Section 97
//bullet_shadow (bullet_shadow) package { import flash.display.*; public dynamic class bullet_shadow extends MovieClip { } }//package
Section 98
//card (card) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class card extends MovieClip { public var cardPic:MovieClip; public function card(){ addFrameScript(8, frame9, 14, frame15); } function frame15(){ cardPic.gotoAndStop(this.pic); stop(); } function frame9(){ cardPic.gotoAndStop(this.pic); } } }//package
Section 99
//cardEffect (cardEffect) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class cardEffect extends MovieClip { public var txt:MovieClip; public function cardEffect(){ addFrameScript(45, frame46, 98, frame99); } function frame99(){ stop(); stage.removeChild(this); delete ??getglobalscope [this]; } function frame46(){ stop(); stage.removeChild(this); delete ??getglobalscope [this]; } } }//package
Section 100
//CellRenderer_disabledSkin (CellRenderer_disabledSkin) package { import flash.display.*; public dynamic class CellRenderer_disabledSkin extends MovieClip { } }//package
Section 101
//CellRenderer_downSkin (CellRenderer_downSkin) package { import flash.display.*; public dynamic class CellRenderer_downSkin extends MovieClip { } }//package
Section 102
//CellRenderer_overSkin (CellRenderer_overSkin) package { import flash.display.*; public dynamic class CellRenderer_overSkin extends MovieClip { } }//package
Section 103
//CellRenderer_selectedDisabledSkin (CellRenderer_selectedDisabledSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedDisabledSkin extends MovieClip { } }//package
Section 104
//CellRenderer_selectedDownSkin (CellRenderer_selectedDownSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedDownSkin extends MovieClip { } }//package
Section 105
//CellRenderer_selectedOverSkin (CellRenderer_selectedOverSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedOverSkin extends MovieClip { } }//package
Section 106
//CellRenderer_selectedUpSkin (CellRenderer_selectedUpSkin) package { import flash.display.*; public dynamic class CellRenderer_selectedUpSkin extends MovieClip { } }//package
Section 107
//CellRenderer_upSkin (CellRenderer_upSkin) package { import flash.display.*; public dynamic class CellRenderer_upSkin extends MovieClip { } }//package
Section 108
//charaPic (charaPic) package { import flash.display.*; public dynamic class charaPic extends MovieClip { } }//package
Section 109
//CheckBox_disabledIcon (CheckBox_disabledIcon) package { import flash.display.*; public dynamic class CheckBox_disabledIcon extends MovieClip { } }//package
Section 110
//CheckBox_downIcon (CheckBox_downIcon) package { import flash.display.*; public dynamic class CheckBox_downIcon extends MovieClip { } }//package
Section 111
//CheckBox_overIcon (CheckBox_overIcon) package { import flash.display.*; public dynamic class CheckBox_overIcon extends MovieClip { } }//package
Section 112
//CheckBox_selectedDisabledIcon (CheckBox_selectedDisabledIcon) package { import flash.display.*; public dynamic class CheckBox_selectedDisabledIcon extends MovieClip { } }//package
Section 113
//CheckBox_selectedDownIcon (CheckBox_selectedDownIcon) package { import flash.display.*; public dynamic class CheckBox_selectedDownIcon extends MovieClip { } }//package
Section 114
//CheckBox_selectedOverIcon (CheckBox_selectedOverIcon) package { import flash.display.*; public dynamic class CheckBox_selectedOverIcon extends MovieClip { } }//package
Section 115
//CheckBox_selectedUpIcon (CheckBox_selectedUpIcon) package { import flash.display.*; public dynamic class CheckBox_selectedUpIcon extends MovieClip { } }//package
Section 116
//CheckBox_upIcon (CheckBox_upIcon) package { import flash.display.*; public dynamic class CheckBox_upIcon extends MovieClip { } }//package
Section 117
//ComboBox_disabledSkin (ComboBox_disabledSkin) package { import flash.display.*; public dynamic class ComboBox_disabledSkin extends MovieClip { } }//package
Section 118
//ComboBox_downSkin (ComboBox_downSkin) package { import flash.display.*; public dynamic class ComboBox_downSkin extends MovieClip { } }//package
Section 119
//ComboBox_overSkin (ComboBox_overSkin) package { import flash.display.*; public dynamic class ComboBox_overSkin extends MovieClip { } }//package
Section 120
//ComboBox_upSkin (ComboBox_upSkin) package { import flash.display.*; public dynamic class ComboBox_upSkin extends MovieClip { } }//package
Section 121
//critKill (critKill) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class critKill extends MovieClip { public var txt:TextField; public var count; public function critKill(){ addFrameScript(0, frame1); } public function onEnterFrame_critKill(_arg1:Event){ txt.y = (txt.y - 0.5); count--; if (count <= 7){ txt.alpha = (txt.alpha - 0.1); }; if (count <= 0){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_critKill); stage.removeChild(this); }; } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_critKill); count = 20; txt.alpha = 0.8; if (this.msg == undefined){ this.msg = ""; }; txt.text = this.msg; stop(); } } }//package
Section 122
//cursor2 (cursor2) package { import flash.display.*; public dynamic class cursor2 extends MovieClip { } }//package
Section 123
//dbgWindow (dbgWindow) package { import flash.display.*; import fl.controls.*; public dynamic class dbgWindow extends MovieClip { public var info:TextArea; } }//package
Section 124
//dialog (dialog) package { import flash.display.*; import flash.text.*; public dynamic class dialog extends MovieClip { public var pop1:MovieClip; public var pop2:MovieClip; public var question:TextField; public var yes:SimpleButton; public var no:SimpleButton; public var poparrow:MovieClip; } }//package
Section 125
//ef_rampage (ef_rampage) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class ef_rampage extends MovieClip { public function ef_rampage(){ addFrameScript(12, frame13); } function frame13(){ gotoAndPlay(1); } } }//package
Section 126
//ef_rampage_enemy (ef_rampage_enemy) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class ef_rampage_enemy extends MovieClip { public function ef_rampage_enemy(){ addFrameScript(12, frame13); } function frame13(){ parent.removeChild(this); delete ??getglobalscope [this]; stop(); } } }//package
Section 127
//effect (effect) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class effect extends MovieClip { public function effect(){ addFrameScript(4, frame5, 6, frame7, 8, frame9, 10, frame11, 12, frame13, 27, frame28, 29, frame30, 31, frame32, 33, frame34, 36, frame37, 53, frame54, 55, frame56, 57, frame58, 59, frame60, 62, frame63, 75, frame76, 94, frame95, 121, frame122, 128, frame129, 130, frame131, 132, frame133, 134, frame135, 139, frame140, 141, frame142, 143, frame144, 145, frame146); } function frame131(){ alpha = 0.5; } function frame133(){ alpha = 0.2; } function frame135(){ parent.removeChild(this); delete ??getglobalscope [this]; stop(); } function frame95(){ parent.removeChild(this); delete ??getglobalscope [this]; stop(); } function frame30(){ alpha = 0.6; } function frame76(){ parent.removeChild(this); delete ??getglobalscope [this]; stop(); } function frame11(){ alpha = 0.2; } function frame56(){ alpha = 0.6; } function frame13(){ parent.removeChild(this); delete ??getglobalscope [this]; stop(); } function frame58(){ alpha = 0.4; } function frame37(){ stage.removeChild(this); delete ??getglobalscope [this]; stop(); } function frame54(){ alpha = 0.8; } function frame34(){ alpha = 0.1; } function frame32(){ alpha = 0.4; } function frame140(){ alpha = 0.7; } function frame142(){ alpha = 0.5; } function frame122(){ parent.removeChild(this); delete ??getglobalscope [this]; stop(); } function frame146(){ parent.removeChild(this); delete ??getglobalscope [this]; stop(); } function frame60(){ alpha = 0.1; } function frame5(){ alpha = 0.8; } function frame63(){ parent.removeChild(this); delete ??getglobalscope [this]; stop(); } function frame129(){ alpha = 0.7; } function frame9(){ alpha = 0.4; } function frame7(){ alpha = 0.6; } function frame28(){ alpha = 0.8; } function frame144(){ alpha = 0.2; } } }//package
Section 128
//effect2 (effect2) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class effect2 extends MovieClip { public function effect2(){ addFrameScript(4, frame5, 6, frame7, 8, frame9, 10, frame11, 12, frame13, 50, frame51, 80, frame81); } function frame81(){ parent.removeChild(this); delete ??getglobalscope [this]; stop(); } function frame5(){ alpha = 0.8; } function frame51(){ stage.removeChild(this); delete ??getglobalscope [this]; stop(); } function frame7(){ alpha = 0.6; } function frame9(){ alpha = 0.4; } function frame11(){ alpha = 0.2; } function frame13(){ parent.removeChild(this); delete ??getglobalscope [this]; stop(); } } }//package
Section 129
//enemy (enemy) package { import flash.events.*; import flash.display.*; import flash.geom.*; public class enemy extends MovieClip { const _bossShield1:int = 3; const _spider:int = 9; const _cata:int = 5; const _dragon:int = 15; const _boss:int = 999; const _ratdrop:int = 18; const _sheep:int = 3; const _rat:int = 17; const _chicken:int = 19; const _crow:int = 6; const _bomb:int = 11; const _bossSp1:int = 6; const _barb:int = 7; const _ghost:int = 14; const _pc:int = 0; const _defenseLine:int = 455; const _bird:int = 16; const _bossSp2:int = 20; const _archer:int = 2; const _knight:int = 8; const _fly:int = 10; const _lava:int = 4; const _bossRampage:int = 15; const _tank:int = 12; const _dino:int = 13; const _ogre:int = 1; const _bossShield2:int = 10; public var hp:int; var deathAnimeDuration; public var speedOrg; public var id:int; var resKnock;// = 1 public var exp:int; var disarmed:int; var ai:int; public var speed; var attack:int; public var type:int; public var onMark:Boolean; var bloodType:int; public var gold:int; var a; var colorCount:int;// = 0 var boss; public var lv:int; var dir:int; public var mc:MovieClip; public var tag:int; var loot:int; public var attacking:Boolean; var rampage:int; var dirCounter:int; var x1; var x2; var _root; var multiAction:int; var attackRange:Array; var y2; public var knockBack; var y1; public var dropping:Boolean; public var attacked:Boolean; public var crit:Array; var eRef; var drop:int; var alerted:Boolean; var counter:int; public function enemy(){ attackRange = []; boss = {}; super(); hp = -1; mc = new enemy_archer(); } public function nullify(){ mc.gotoAndStop("null"); hp = -1; deathAnimeDuration = 201; if (mc.sub != undefined){ stage.removeChild(mc.sub); }; removeEventListener(Event.ENTER_FRAME, onEnterFrame); removeChild(mc); _root.removeChild(this); } public function init(_arg1:int){ var _local2:*; _root = (root as MovieClip); eRef = _root.eRef[_root.eRefId[_arg1]]; id = _arg1; if (id == _boss){ lv = _root.mission.level; } else { lv = eRef.lv; }; gold = (1 + int((((Math.random() * eRef.power) / 10) + 5))); exp = (1 + int((eRef.power * 0.4))); loot = 6; bloodType = 50; type = _root._normal; drop = 0; disarmed = 0; rampage = 0; colorCount = 0; knockBack = 0; attacked = false; x = -20; dropping = false; onMark = false; alerted = false; switch (id){ case _boss: boss.weapon = (1 + int((Math.random() * 2))); boss.weaponRef = []; boss.weaponRef = _root.getWeaponInfo(boss.weapon); boss.action = 3; boss.count = (100 + int((Math.random() * 60))); _root.targetBoss = this; boss.rectile = false; boss.damage = 0; hp = (150 + (lv * 25)); boss.hpMax = hp; attack = (1 + int((lv / 15))); speed = ((Math.random() * 0.8) + 1.1); y = (((Math.random() * (_root.groundWidth - 50)) + _root.groundLine) + 25); crit = [-100, -100, -100, -100]; mc = new ally1(); mc.scaleX = -1; mc.pic = (51 + (_root.game.boss % 15)); ai = _boss; resKnock = 0; _root.game.boss++; if (_root.mission.bossDay == true){ attack = (int((attack / 2)) + 1); }; break; case _bomb: crit = [-50, -50, 50, 50]; mc = new bullet_grenade3(); x1 = (190 + (Math.random() * 325)); y1 = (200 + (Math.random() * 100)); x2 = 650; y2 = 240; a = 0.003; speed = ((((12 * Math.atan2((Math.abs((x1 - x2)) * 2), Math.abs((y1 - y2)))) * 2) / Math.PI) + 0.1); counter = (int((Math.abs((x1 - x2)) / speed)) + 1); if (x1 > x2){ speed = (speed * -1); }; _local2 = 1; if (_root.medal[_root._medalSister1]){ _local2 = (_local2 + 0.1); }; if (_root.medal[_root._medalSister2]){ _local2 = (_local2 + 0.2); }; if (_root.medal[_root._medalSister3]){ _local2 = (_local2 + 0.3); }; attack = int(((100 + (_root.game.day * 5)) * _local2)); x = x2; y = y2; mc.shadowHit = false; ai = _bomb; hp = 1; break; case _sheep: hp = 42; attack = 1; speed = ((Math.random() * 0.4) + 0.7); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [4, 19, -1, 9]; mc = new enemy_sheep(); ai = _ogre; loot = 6; resKnock = 0.9; break; case _rat: hp = 16; attack = 2; speed = ((Math.random() * 1.3) + 2.7); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-6, 9, -11, 1]; mc = new enemy_rat(); ai = _rat; loot = 28; resKnock = 1.1; break; case _ratdrop: dropping = true; if (Math.random() > 0.5){ x2 = -0.5; } else { x2 = 0.5; }; hp = 66; attack = 3; speed = ((Math.random() * 1.3) + 2.7); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-6, 9, -11, 1]; mc = new enemy_rat(); ai = _rat; loot = 28; resKnock = 1.1; break; case _archer: hp = 38; attack = 3; attackRange = [290, 400]; speed = ((Math.random() * 0.7) + 0.8); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-7, 9, -20, -8]; mc = new enemy_archer(); ai = _archer; loot = 29; counter = 120; resKnock = 0.8; break; case _chicken: hp = 54; attack = 1; attackRange = [40, 350]; speed = ((Math.random() * 1.3) + 1.3); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-4, 4, -12, -4]; mc = new enemy_chicken(); ai = _chicken; loot = 6; counter = 160; resKnock = 1; break; case _crow: hp = 34; attack = 5; attackRange = [360, 460, 280]; speed = ((Math.random() * 1.5) + 1.6); y = ((Math.random() * _root.airWidth) + _root.airLine); crit = [5, 18, -1, 16]; mc = new enemy_crow(); ai = _crow; type = _root._air; loot = 30; resKnock = 1; break; case _bird: hp = 150; attack = 3; attackRange = [360, 460]; speed = ((Math.random() * 0.5) + 1.2); y = ((Math.random() * _root.airWidth) + _root.airLine); crit = [6, 19, -9, -1]; mc = new enemy_bird(); ai = _bird; type = _root._air; loot = 30; resKnock = 0.3; break; case _ogre: hp = 500; attack = 10; speed = ((Math.random() * 0.6) + 0.9); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-14, 17, 7, 19]; mc = new enemy_ogre(); ai = _ogre; loot = 31; resKnock = 0.2; break; case _lava: hp = 72; attack = 12; speed = ((Math.random() * 2) + 4.5); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-9, 9, -19, -7]; mc = new enemy_lava(); ai = _lava; loot = 31; break; case _cata: hp = 240; attack = 11; attackRange = [150, 350]; speed = ((Math.random() * 0.4) + 1.1); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-20, -6, -22, -7]; mc = new enemy_cata(); ai = _cata; type = _root._armor; bloodType = 125; loot = 32; resKnock = 0; break; case _barb: hp = 85; attack = 5; speed = ((Math.random() * 0.8) + 1.2); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-9, 7, -19, -8]; mc = new enemy_barb(); ai = _ogre; loot = 7; resKnock = 0.8; break; case _knight: hp = 180; attack = 6; speed = ((Math.random() * 0.7) + 0.8); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-4, 8, -2, 9]; mc = new enemy_knight(); ai = _ogre; type = _root._armor; loot = 7; resKnock = 0.3; break; case _spider: hp = 135; attack = 5; if (Math.random() > 0.5){ dir = 1; } else { dir = -1; }; speed = ((Math.random() * 2) + 6); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-21, -8, -16, 5]; mc = new enemy_spider(); ai = _spider; loot = 33; break; case _fly: hp = 2; attack = 2; attackRange = [360, 460]; speed = ((Math.random() * 1) + 1.8); y = ((((Math.random() * _root.airWidth) / 1.5) + _root.airLine) + 40); crit = [-100, -100, -100, -100]; mc = new enemy_fly(); ai = _fly; type = _root._air; loot = 33; break; case _tank: hp = 520; attack = 14; attackRange = [150, 350]; speed = ((Math.random() * 0.7) + 1.4); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-9, 6, -26, -15]; mc = new enemy_tank(); ai = _cata; type = _root._armor; bloodType = 125; loot = 32; resKnock = 0; break; case _dino: hp = 700; attack = 25; attackRange = [190, 400]; speed = ((Math.random() * 1.3) + 1.7); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-100, -100, -100, -100]; mc = new enemy_dino(); ai = _dino; counter = (50 + int((Math.random() * 70))); loot = 34; resKnock = 0.2; break; case _ghost: hp = 120; attack = 6; speed = ((Math.random() * 1.5) + 1); y = ((Math.random() * _root.groundWidth) + _root.groundLine); crit = [-6, 12, -38, -25]; mc = new enemy_ghost(); ai = _ghost; loot = 6; resKnock = 1; break; case _dragon: hp = 600; attack = 6; attackRange = [200, 400]; speed = ((Math.random() * 0.8) + 1); y = (((Math.random() * _root.airWidth) + _root.airLine) + 20); crit = [-100, -100, -100, -100]; mc = new enemy_dragon(); ai = _dragon; type = _root._air; counter = (80 + int((Math.random() * 50))); loot = 34; resKnock = 0.4; break; }; if (id == _boss){ mc.sub = (new hpbar() as MovieClip); mc.sub.y = -20; stage.addChild(mc.sub); } else { mc.sub = undefined; }; y = int(y); if (id != _boss){ hp = int((((hp * _root.mission.hpFix) * (100 + (_root.mission.strength * 1.2))) / 100)); attack = int(((attack * (100 + (_root.mission.strength / 2))) / 100)); }; if (ai != _bomb){ speed = ((speed * (100 + (_root.mission.strength / 8))) / (100 + _root.PARTY.THREAT)); if (_root.game.laptop == true){ speed = (speed * 0.7); }; speedOrg = speed; }; this.addChild(mc); mc.gotoAndPlay("init"); addEventListener(Event.ENTER_FRAME, onEnterFrame); alpha = 1; deathAnimeDuration = 0; attacking = false; if (id == _ratdrop){ _root.setChildIndex(this, (_root.numChildren - 1)); } else { sortIndex(); }; } public function kill(){ _root.clearTarget(); if (mc.sub != undefined){ stage.removeChild(mc.sub); mc.sub = undefined; }; if (dropping == false){ mc.gotoAndPlay("dead"); } else { mc.rat.gotoAndPlay("dead"); }; } public function damage(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int, _arg6:int){ var _local8:MovieClip; var _local9:MovieClip; var _local10:MovieClip; var _local11:*; var _local12:MovieClip; var _local13:int; var _local14:*; if (isDead()){ return; }; if (id == _bomb){ nullify(); _root.player.money[0] = (_root.player.money[0] + _root.PARTY.LOVE); _root.game.totalMoney = (_root.game.totalMoney + _root.PARTY.LOVE); _root.game.sistersExploded++; _root.updateGold(); _root.explode(_arg5, -1, _arg3, _arg4, attack, 0); return; }; var _local7:int = bloodType; if (_arg6){ if (_arg5 == _pc){ if (_root.blendCounter == 0){ _root.blendCounter = 7; }; }; _arg1 = (_arg1 * 2); }; if (_arg5 == -1){ }; if (_arg2 != -1){ if (type == _root._air){ _arg1 = int((((_arg1 * _root.inventory.dmgAir[_arg2]) * (100 + _root.CALC.ANTI_AIR(_arg5))) / 10000)); if (_root.inventory.dmgAir[_arg2] < 60){ _root.sound_low.play(0, 0, _root.soundPos(x)); _local7 = 140; }; }; if (type == _root._armor){ _arg1 = int((((_arg1 * _root.inventory.dmgArmor[_arg2]) * (100 + _root.CALC.ANTI_ARMOR(_arg5))) / 10000)); if (_root.inventory.dmgArmor[_arg2] < 60){ _root.sound_low.play(0, 0, _root.soundPos(x)); _local7 = 140; }; }; if (((((_root.inventory.leech[_arg2]) && ((_root.game.castleHP > 0)))) && (((Math.random() * (_root.inventory.shootRate[_arg2] + 50)) < 10)))){ _root.game.castleHP = (_root.game.castleHP + (int(((_arg1 * _root.inventory.leech[_arg2]) / 100)) + 1)); if (_root.game.castleHP > _root.game.castleMHP){ _root.game.castleHP = _root.game.castleMHP; }; _root.castleHPText.text = ((_root.game.castleHP + "/") + _root.game.castleMHP); }; if (((_root.player.trait[_arg5][_root.TRAIT.DISARM]) && ((disarmed == 0)))){ disarmed = _root.CALC.CRIPPLE_SHOT(_arg5); attack = ((attack * 100) / (100 + disarmed)); colorCount = 12; mc.transform.colorTransform = new ColorTransform(0.7, 0.7, 1, 1, 0, 0, 0, 0); }; if (_root.player.trait[_arg5][_root.TRAIT.CRIPPLE_SHOT]){ speedOrg = ((speedOrg * 100) / (100 + _root.CALC.CRIPPLE_SHOT(_arg5))); if (speedOrg < 0.4){ speedOrg = 0.4; }; if (speed != 0){ speed = speedOrg; }; }; if (resKnock != 0){ knockBack = int(((_root.CALC.SHERIFF(_arg5) + _root.inventory.impact[_arg2]) * resKnock)); if (knockBack){ knockBack = (knockBack + 3); if ((((((id == _dino)) && (attacking))) && ((Math.random() > 0.05)))){ knockBack = 0; }; }; }; }; if (ai == _boss){ if (boss.action == 6){ _root.sound_low.play(0, 0, _root.soundPos(x)); _local7 = 140; _arg1 = ((_arg1 / 10) + 1); }; }; _local8 = new effect(); _local8.x = (_arg3 - x); _local8.y = (_arg4 - y); _local8.gotoAndPlay(_local7); this.addChild(_local8); if (_arg6){ _local9 = new effect(); _local9.x = (_arg3 - x); _local9.y = (_arg4 - y); _local9.gotoAndPlay("critical"); this.addChild(_local9); }; if (_arg5 == 0){ if (((_root.game.optionShowDamage) && (!((_arg6 == 3))))){ _local10 = new showdamage(); _local10.x = (_arg3 + 10); _local10.y = (_arg4 + 4); _local10.msg = ("" + _arg1); stage.addChild(_local10); }; } else { if (((_root.game.optionShowAllyDamage) && (!((_arg6 == 3))))){ _local10 = new showdamage(); _local10.x = (_arg3 + 10); _local10.y = (_arg4 + 4); _local10.msg = ("" + _arg1); stage.addChild(_local10); }; }; hp = (hp - _arg1); if (isDead()){ if (_arg6){ _local12 = new critKill(); _local12.x = x; _local12.y = (y - 12); if (_arg6 == 3){ _local12.msg = "ONE HIT KILL!"; } else { if (_arg6 == 2){ _local12.msg = "CRITICAL KILL!"; } else { _local12.msg = _root.critMsg[_root.critArray[id]]; }; }; stage.addChild(_local12); }; kill(); _root.game.totalKill++; if (bloodType == 125){ _local13 = 0; while (_local13 < 4) { _local8 = new effect(); _local8.x = ((mc.x + (Math.random() * 36)) - 18); _local8.y = ((mc.y + (Math.random() * 20)) - 8); _local8.gotoAndPlay(bloodType); this.addChild(_local8); _local13++; }; }; _local11 = ((150 * 100) / (100 + _root.CALC.LUCK(_arg5))); if (_root.player.rampage[_arg5] > 0){ _local11 = (_local11 / 1.5); }; var _local15 = _root.player.kill; var _local16 = _arg5; var _local17 = (_local15[_local16] + 1); _local15[_local16] = _local17; _local15 = _root.player.wexp[_arg5]; _local16 = _root.player.wexpRef[_arg5]; _local17 = (_local15[_local16] + 1); _local15[_local16] = _local17; if (_root.CALC.RANGER(_arg5)){ _root.player.frenzy[_arg5] = (_root.player.frenzy[_arg5] + int(((exp * 125) / (100 + (_root.player.lv[_arg5] * 5))))); _root.rampageRanger(_arg5); }; exp = (exp * _root.mission.expFix); if (_root.game.casual == true){ exp = (exp * 1.35); }; if (_arg5 != _pc){ if ((_root.game.day / 1.5) > _root.player.lv[_arg5]){ _local15 = _root.player.wexp[_arg5]; _local16 = _root.player.wexpRef[_arg5]; _local17 = (_local15[_local16] + 1); _local15[_local16] = _local17; exp = (exp * 2); }; exp = (exp * 1.5); } else { if (_root.game.tight == true){ exp = (exp * 0.7); }; }; if ((lv + 3) < _root.player.lv[_arg5]){ exp = ((exp * 100) / (100 + ((_root.player.lv[_arg5] - lv) * 75))); }; if (_root.CALC.NOBLE(_arg5)){ exp = (exp * 1.4); }; if (_arg6){ if (_root.CALC.ROGUE(_arg5)){ _local11 = 1; }; if (_root.CALC.KILLER(_arg5)){ exp = ((exp * (100 + _root.CALC.KILLER(_arg5))) / 100); }; _root.rampage(_arg5); }; if (_arg5 == _root.pc){ _root.player.exp[_arg5] = (_root.player.exp[_arg5] + int(exp)); } else { _root.player.exp[_arg5] = (_root.player.exp[_arg5] + int((exp * _root.trainerFix()))); }; if (_root.player.exp[_arg5] >= 1000){ _root.levelUp(_arg5, true); }; if (_arg5 == _root._pc){ _root.updateLv(); if (_arg6){ _root.mission.criticalCount++; _root.criticalMedal(); }; if (((_arg6) && ((_root.sister.dead == false)))){ _root.sister.gotoAndPlay("kill"); _root.sound_goodshot[int((Math.random() * _root.sound_goodshot.length))].play(0, 0, _root.trans[9]); }; }; if (int((Math.random() * _local11)) <= 10){ drop = 1; if (_root.CALC.ROGUE(_arg5)){ gold = int(((gold * (100 + _root.CALC.ROGUE(_arg5))) / 100)); if (int((Math.random() * 100)) < _root.CALC.LUCK(_arg5)){ gold = (gold * 2); }; }; _root.player.earn[_arg5] = (_root.player.earn[_arg5] + gold); }; if ((((int(((Math.random() * _root.mission.group[_root.mission.wave]) * 5)) == 0)) || ((int(((Math.random() * 400) * _root.mission.group[_root.mission.wave])) < _root.PARTY.SCAVENGER)))){ drop = 2; _root.mission.loot.push(loot); }; if (id == _boss){ _root.targetBoss = undefined; _root.text_effect("Good Job!!"); _root.mission.bossKilled++; drop = 1; }; return; }; if ((((((id == _barb)) && ((rampage == 0)))) && ((Math.random() > 0.75)))){ rampage = 100; if (speed != 0){ speed = ((speed * 1.5) + 1.7); }; speedOrg = (speedOrg * ((speedOrg * 1.5) + 1.7)); attack = (int((attack * 0.5)) + 1); _root.sound_rampageEnemy.play(0, 0, _root.soundPos(x)); _local14 = (new ef_rampage_enemy() as MovieClip); _local14.y = 20; mc.addChild(_local14); }; if (id == _boss){ if ((((((rampage == 0)) && ((lv >= _bossRampage)))) && ((hp < (boss.hpMax / 2))))){ rampage = 100; speed = (speed * 1.5); speedOrg = (speedOrg * 1.5); _root.sound_rampageEnemy.play(0, 0, _root.soundPos(x)); _local14 = (new ef_rampage_enemy() as MovieClip); _local14.y = 20; mc.addChild(_local14); _root.text_effect("The boss gone mad!"); }; if (boss.action == 5){ _arg1 = (_arg1 * 2); }; boss.damage = (boss.damage + _arg1); if (((((!((boss.action == 6))) && ((((boss.damage >= ((Math.random() * boss.hpMax) * 2))) || ((_arg1 >= (Math.random() * boss.hpMax))))))) && ((lv >= _bossShield2)))){ boss.count = (20 + int((Math.random() * 30))); boss.action = 6; mc.gotoAndPlay("shield"); boss.damage = 0; }; }; } public function isDead(){ if (hp < 1){ return (true); }; return (false); } public function isFree(){ if ((((deathAnimeDuration < 200)) || ((isDead() == false)))){ return (false); }; return (true); } public function onEnterFrame(_arg1:Event){ var _local2:MovieClip; var _local3:MovieClip; var _local4:*; var _local5:*; var _local6:*; var _local7:int; var _local8:*; if (colorCount){ colorCount--; if (colorCount == 0){ mc.transform.colorTransform = new ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); }; }; if (isDead()){ if (dropping){ mc.rat.rotation = 0; mc.rat.y = (mc.rat.y + 8); if (mc.rat.y >= (mc.shadow.y + 8)){ dropping = false; mc.shadowHit = false; mc.gotoAndPlay("dead"); sortIndex(); }; }; deathAnimeDuration++; if (deathAnimeDuration > 200){ return; }; if (deathAnimeDuration >= 100){ alpha = (alpha * 0.96); } else { if (deathAnimeDuration == 50){ if (drop == 1){ _root.sound_gold1.play(0, 0, _root.soundPos(x)); _local2 = new effect(); _local2.x = mc.x; _local2.y = (mc.y + fixY()); _local2.gotoAndPlay("gold"); this.addChild(_local2); _root.player.money[0] = (_root.player.money[0] + gold); _root.game.totalMoney = (_root.game.totalMoney + gold); _root.mission.resultTaken = (_root.mission.resultTaken + gold); _root.updateGold(); }; if (drop == 2){ _root.sound_bag1.play(0, 0, _root.soundPos(x)); _local3 = new effect(); _local3.x = mc.x; _local3.y = (mc.y + fixY()); _local3.gotoAndPlay("item"); this.addChild(_local3); }; }; }; if (deathAnimeDuration == 200){ nullify(); }; return; }; if (_root.gamePaused){ return; }; if (id == _boss){ mc.sub.x = (x - 11); mc.sub.y = (y + 22); mc.sub.bar.scaleX = (hp / boss.hpMax); }; if (id != _bomb){ if (tag > 0){ tag--; } else { if (x < 150){ if (_root.aiTarget[type][0][1] > x){ _root.aiTarget[type][0] = [this, x]; }; } else { if (x < 300){ if (_root.aiTarget[type][1][1] > x){ _root.aiTarget[type][1] = [this, x]; }; } else { if (_root.aiTarget[type][2][1] > x){ _root.aiTarget[type][2] = [this, x]; }; }; }; }; if (knockBack > 0){ if ((((ai == _lava)) && (attacking))){ knockBack = 0; } else { if (attacking){ attacking = false; mc.gotoAndPlay("alive"); speed = speedOrg; }; knockBack--; x = (x - ((((knockBack * knockBack) / 40) + (resKnock / 2)) + 0.2)); if (x < (width * -1)){ x = (width * -1); }; if (dropping == false){ return; }; }; }; }; switch (ai){ case _ogre: if (attacking){ break; }; x = (x + speed); if (x >= _defenseLine){ speed = 0; attacking = true; mc.gotoAndPlay("attack"); }; break; case _boss: if ((((x > 20)) && ((boss.rectile == false)))){ _local6 = (new rectile() as MovieClip); _local6.x = 13; _local6.y = -20; mc.sub.addChild(_local6); boss.rectile = true; }; multiAction = 0; for (;multiAction < ((rampage == 0)) ? 1 : 2;multiAction++) { if (boss.idle > 0){ boss.idle--; } else { if (boss.action == 1){ boss.idle = boss.weaponRef[5]; mc.gotoAndPlay(boss.weaponRef[1]); _root.damageCastle(this, int((attack * boss.weaponRef[6]))); boss.weaponRef[0].play(0, 0, _root.soundPos(x)); boss.fireNum--; if (boss.fireNum <= 0){ if (int((Math.random() * 2)) == 0){ boss.action = -1; }; boss.idle = (100 + int((Math.random() * 100))); }; } else { if (boss.action == 2){ x = (x + speed); boss.count--; if (boss.count <= 0){ if ((((Math.random() < 0.15)) && ((lv >= _bossShield1)))){ boss.count = (100 + int((Math.random() * 100))); boss.action = 6; mc.gotoAndPlay("shield"); continue; }; if ((((Math.random() < 0.2)) && ((lv >= _bossSp1)))){ mc.scaleX = -1; speed = 0; boss.action = 5; boss.spAttack = [60, 184, 1]; if ((((Math.random() < 0.5)) && ((lv >= _bossSp2)))){ boss.spAttack = [100, 184, 0]; }; boss.idle = (boss.spAttack[0] + int(((Math.random() * boss.spAttack[0]) / 2))); mc.gotoAndPlay(boss.spAttack[1]); continue; }; mc.scaleX = -1; boss.action = 1; speed = 0; boss.fireNum = ((boss.weaponRef[4] / 2) + int((Math.random() * boss.weaponRef[4]))); boss.idle = (50 + int((Math.random() * 100))); mc.gotoAndPlay(boss.weaponRef[2]); }; } else { if (boss.action == 3){ mc.scaleX = -1; mc.gotoAndPlay("walk"); speed = speedOrg; boss.action = 2; } else { if (boss.action == 4){ mc.scaleX = 1; mc.gotoAndPlay("walk"); speed = (speedOrg * -1); boss.action = 2; } else { if (boss.action == 5){ boss.action = -1; boss.idle = (25 + int((Math.random() * 25))); if (boss.spAttack[2] == 0){ mc.gotoAndPlay(170); _root.throwRocket(-1, -1, x, y, ((_root.player_mc[0].x + (Math.random() * 120)) - 20), ((_root.player_mc[0].y + (Math.random() * 100)) - 50), 7, -1, 1); _root.damageCastle(this, int((attack * 5))); _root.sound_gun13.play(0, 0, _root.soundPos(x)); }; if (boss.spAttack[2] == 1){ mc.gotoAndPlay(170); _root.throwGrenade(-1, -1, x, y, ((_root.player_mc[0].x + (Math.random() * 120)) - 20), ((_root.player_mc[0].y + (Math.random() * 100)) - 50), 12, -1, 1); _root.damageCastle(this, int((attack * 3))); _root.sound_gun11.play(0, 0, _root.soundPos(x)); }; } else { if (boss.action == 6){ boss.count--; mc.scaleX = -1; speed = 0; if (boss.count <= 0){ boss.action = 2; }; } else { boss.action = 3; boss.count = (40 + (Math.random() * 40)); if ((((x > 380)) || ((((x >= 100)) && ((int((Math.random() * 3)) == 0)))))){ boss.action = 4; boss.count = (20 + (Math.random() * 40)); }; }; }; }; }; }; }; }; }; break; case _dino: if (attacking){ if ((((x < attackRange[0])) && ((attacked == true)))){ attacked = false; attacking = false; mc.gotoAndPlay("alive"); speed = speedOrg; }; break; }; x = (x + speed); if (x >= attackRange[0]){ if ((Math.random() * (attackRange[1] - x)) <= 5){ attacking = true; speed = 0; mc.gotoAndPlay("attack"); }; } else { counter--; if (counter < 0){ counter = 80; attacking = true; speed = 0; mc.gotoAndPlay("attack"); }; }; break; case _cata: if (attacking){ if ((((x < attackRange[0])) && ((attacked == true)))){ attacked = false; attacking = false; mc.gotoAndPlay("stand"); speed = speedOrg; }; break; }; x = (x + speed); if (x >= attackRange[0]){ if ((Math.random() * (attackRange[1] - x)) <= 3){ attacking = true; speed = 0; mc.gotoAndPlay("attack"); }; }; break; case _chicken: if (attacking){ if (attacked == true){ attacked = false; attacking = false; mc.gotoAndPlay("wait"); }; break; }; x = (x + speed); if (speed == 0){ if ((((((x > 40)) && ((x >= attackRange[0])))) && (((Math.random() * (attackRange[1] - x)) <= 2)))){ attacking = true; mc.gotoAndPlay("attack"); break; }; if ((((x <= attackRange[1])) && ((Math.random() > 0.98)))){ speed = speedOrg; mc.gotoAndPlay("alive"); }; }; break; case _archer: if (attacking){ if ((((x < attackRange[0])) && ((attacked == true)))){ attacked = false; attacking = false; mc.gotoAndPlay("stand"); speed = speedOrg; }; break; }; x = (x + speed); if (x >= attackRange[0]){ if ((Math.random() * (attackRange[1] - x)) <= 3.5){ attacking = true; speed = 0; mc.gotoAndPlay("attack"); }; } else { counter--; if (counter < 0){ counter = 80; attacking = true; speed = 0; mc.gotoAndPlay("attack"); }; }; break; case _lava: x = (x + speed); if ((((x >= (_defenseLine - 300))) && ((alerted == false)))){ _root.alert(this); alerted = true; }; if ((((x >= _defenseLine)) && ((attacking == false)))){ attacking = true; mc.gotoAndPlay("attack"); }; break; case _fly: dirCounter++; if (dirCounter < 40){ x = (x + speed); } else { if (dirCounter == 40){ sortIndex(); speed = 0; }; if (Math.random() < 0.02){ speed = speedOrg; dirCounter = 0; }; }; if (x > 640){ _root.sound_damage1.play(0, 0, _root.soundPos(x)); _root.damageCastle(undefined, attack); nullify(); }; break; case _crow: if (attacking){ speed = (speed + 0.5); y = (y + 1); if (x > 640){ _root.sound_damage1.play(0, 0, _root.soundPos(x)); _root.damageCastle(undefined, attack); nullify(); }; }; x = (x + speed); if ((((x >= (_defenseLine - 250))) && ((alerted == false)))){ _root.alert(this); alerted = true; }; if (x >= attackRange[0]){ if ((Math.random() * (attackRange[1] - x)) <= 3){ attacking = true; mc.gotoAndPlay("attack"); }; }; break; case _rat: if (dropping){ mc.rat.y = (mc.rat.y + 1.5); x = (x + x2); if (x2 > 0){ if (mc.rat.rotation < 10){ mc.rat.rotation = (mc.rat.rotation + 0.7); }; } else { if (mc.rat.rotation > -10){ mc.rat.rotation = (mc.rat.rotation - 0.7); }; }; if (Math.random() > 0.95){ x2 = (x2 * -1); }; if (x >= _defenseLine){ x = _defenseLine; }; if (mc.rat.y >= (mc.shadow.y + 8)){ mc.rat.rotation = 0; dropping = false; mc.shadowHit = false; mc.gotoAndPlay("alive"); sortIndex(); }; break; }; if (attacking){ break; }; x = (x + speed); if (x >= _defenseLine){ speed = 0; attacking = true; mc.gotoAndPlay("attack"); }; break; case _bird: x = (x + speed); if ((((x < 350)) && ((Math.random() > 0.988)))){ _local7 = _root.spawnEnemy(_ratdrop); if (_local7 != -1){ _root.enemyArray[_local7].x = x; _root.enemyArray[_local7].y1 = (y + 30); _root.sound_drop.play(0, 0, _root.soundPos(x)); }; }; if (x > 640){ nullify(); }; break; case _spider: if (attacking){ break; }; dirCounter++; if (dirCounter < 10){ x = (x + speed); y = (y + ((speed / 2) * dir)); if (y < _root.groundLine){ dirCounter = 20; }; if (y > (_root.groundWidth + _root.groundLine)){ dirCounter = 20; }; } else { if (dirCounter == 10){ sortIndex(); mc.gotoAndStop("stop"); speed = 0; }; if (Math.random() < 0.02){ mc.gotoAndPlay("alive"); dir = (dir * -1); speed = speedOrg; if (y < (_root.groundLine + 40)){ dir = 1; }; if (y > ((_root.groundWidth + _root.groundLine) - 40)){ dir = -1; }; dirCounter = 0; }; }; if (x >= _defenseLine){ sortIndex(); attacking = true; mc.gotoAndPlay("attack"); speed = 0; }; break; case _ghost: if (attacking){ break; }; dirCounter++; if (dirCounter < 100){ x = (x + speed); } else { if (dirCounter == 100){ mc.gotoAndStop("stop"); speed = 0; }; if (Math.random() < 0.02){ mc.gotoAndPlay("alive"); speed = speedOrg; dirCounter = 0; }; }; if (x >= _defenseLine){ sortIndex(); attacking = true; mc.gotoAndPlay("attack"); speed = 0; }; break; case _dragon: if (attacking){ if ((((x < attackRange[0])) && ((attacked == true)))){ attacked = false; attacking = false; mc.gotoAndPlay("alive"); speed = speedOrg; }; break; }; x = (x + speed); if (x >= attackRange[0]){ if ((Math.random() * (attackRange[1] - x)) <= 4){ attacking = true; speed = 0; mc.gotoAndPlay("attack"); }; } else { counter--; if (counter < 0){ counter = 80; attacking = true; speed = 0; mc.gotoAndPlay("attack"); }; }; break; case _bomb: counter--; x = (x - speed); _local4 = ((((y1 - y2) - ((a * x1) * x1)) + ((a * x2) * x2)) / (x1 - x2)); _local5 = ((y1 - ((a * x1) * x1)) - (_local4 * x1)); y = ((((a * x) * x) + (_local4 * x)) + _local5); if (counter == 0){ x2 = (x2 - 50); a = 0; mc.shadow.scaleX = 2; mc.shadow.scaleY = 1.4; speed = (speed / 2); }; if (counter < 0){ mc.shadow.y = 2; if (speed <= 0){ speed = 0; break; }; if (speed < 0.5){ _local8 = (Math.abs(mc.mc.rotation) % 360); if ((((_local8 > 180)) || ((_local8 < 90)))){ speed = (speed - 0.2); }; } else { speed = ((speed / 1.05) - 0.01); }; mc.mc.rotation = (mc.mc.rotation - (speed * 6.7)); break; }; mc.shadow.y = (((y1 - y2) * (x - x2)) / (x1 - x2)); mc.shadow.y = (mc.shadow.y + (y2 - y)); mc.mc.rotation = (mc.mc.rotation - 4); break; }; } public function sortIndex(){ var _local1:*; var _local2 = -1; _local1 = 1000; var _local3:int; while (_local3 < _root.maxEnemy) { if ((((((_root.enemyArray[_local3].y > y)) && ((_root.enemyArray[_local3].y < _local1)))) && ((_root.enemyArray[_local3].isFree() == false)))){ _local1 = _root.enemyArray[_local3].y; _local2 = _local3; }; _local3++; }; if (_local2 != -1){ _root.setChildIndex(this, _root.getChildIndex(_root.enemyArray[_local2])); }; } function fixY(){ if (id == _crow){ return (130); }; if (id == _fly){ return (130); }; return (0); } } }//package
Section 130
//enemy_archer (enemy_archer) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_archer extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public var mc:MovieClip; public function enemy_archer(){ addFrameScript(0, frame1, 24, frame25, 27, frame28, 58, frame59, 81, frame82, 93, frame94, 124, frame125); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; } function frame94(){ _root.sound_dead2.play(0, 0, _root.soundPos(_parent.x)); } function frame82(){ gotoAndPlay("attack"); } function frame25(){ gotoAndPlay("alive"); } function frame59(){ mc = new arrow(); mc.x = _parent.x; mc.y = 0; mc.dx = (((700 - _parent.x) / 30) * -1); mc.dy = (_parent.y - ((mc.dx * mc.dx) / 3)); mc.sy = (_parent.y + 11); _root.sound_bow1.play(0, 0, _root.soundPos(_parent.x)); _parent.attacked = true; stage.addChild(mc); if (_root.gamePaused == false){ _root.damageCastle(_parent, _parent.attack); }; } function frame28(){ _root.alert(_parent); } function frame125(){ stop(); } } }//package
Section 131
//enemy_barb (enemy_barb) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_barb extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public function enemy_barb(){ addFrameScript(0, frame1, 22, frame23, 25, frame26, 26, frame27, 44, frame45, 52, frame53, 71, frame72, 83, frame84, 118, frame119); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; } function frame72(){ gotoAndPlay("attack"); } function frame53(){ if (_parent.rampage){ gotoAndPlay("attack"); }; } function frame119(){ stop(); } function frame23(){ gotoAndPlay("alive"); } function frame84(){ _root.sound_dead2.play(0, 0, _root.soundPos(_parent.x)); } function frame26(){ _root.alert(_parent); } function frame45(){ if (_root.gamePaused == false){ _root.sound_damage1.play(0, 0, _root.soundPos(_parent.x)); _root.damageCastle(_parent, _parent.attack); }; } function frame27(){ if (_parent.rampage){ gotoAndPlay("attack2"); }; } } }//package
Section 132
//enemy_bird (enemy_bird) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_bird extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var sound:Boolean; public var shadowHit:Boolean; public function enemy_bird(){ addFrameScript(0, frame1, 22, frame23, 29, frame30, 32, frame33, 40, frame41, 58, frame59); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadow.visible = true; shadowHit = false; sound = false; } function frame30(){ _root.sound_dead8.play(0, 0, _root.soundPos(_parent.x)); } function frame33(){ shadow.visible = true; } function frame23(){ gotoAndPlay("alive"); } function frame41(){ shadowHit = true; } function frame59(){ stop(); } } }//package
Section 133
//enemy_cata (enemy_cata) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_cata extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public var mc:MovieClip; public function enemy_cata(){ addFrameScript(0, frame1, 10, frame11, 13, frame14, 112, frame113, 150, frame151, 162, frame163, 193, frame194); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; _root.sound_cata.play(0, 0, _root.soundPos(_parent.x)); } function frame163(){ _root.sound_dead4.play(0, 0, _root.soundPos(_parent.x)); } function frame11(){ gotoAndPlay("alive"); } function frame151(){ gotoAndPlay("attack"); } function frame14(){ _root.alert(_parent); } function frame113(){ mc = new bolt(); mc.x = (_parent.x + 50); mc.dx = (((700 - _parent.x) / 30) * -1); mc.dy = ((_parent.y - ((mc.dx * mc.dx) / 8)) - 25); mc.mc.rotation = (mc.dx + 90); mc.y = 0; mc.sy = (_parent.y + 10); _root.sound_bow1.play(0, 0, _root.soundPos(_parent.x)); stage.addChild(mc); if (_root.gamePaused == false){ _root.damageCastle(_parent, _parent.attack); }; } function frame194(){ stop(); } } }//package
Section 134
//enemy_chicken (enemy_chicken) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_chicken extends MovieClip { public var _root; public var _parent; public var shadowHit:Boolean; public var mc:MovieClip; public var shadow:MovieClip; public function enemy_chicken(){ addFrameScript(0, frame1, 28, frame29, 31, frame32, 33, frame34, 36, frame37, 46, frame47, 57, frame58, 77, frame78, 101, frame102, 104, frame105, 135, frame136, 152, frame153, 195, frame196, 207, frame208, 238, frame239); } function frame136(){ mc = new arrowEgg(); mc.x = _parent.x; mc.y = 0; mc.dx = (((700 - _parent.x) / 30) * -1); mc.dy = ((_parent.y - ((mc.dx * mc.dx) / 20)) - 10); mc.sy = (_parent.y + 4); _root.sound_chickenAttack.play(0, 0, _root.soundPos(_parent.x)); stage.addChild(mc); if (_root.gamePaused == false){ _root.damageCastle(_parent, _parent.attack); }; } function frame196(){ gotoAndPlay("attack"); } function frame239(){ stop(); } function frame32(){ _parent.speed = (_parent.speed * 0.75); } function frame34(){ _parent.speed = (_parent.speed * 0.75); } function frame58(){ if (Math.random() > 0.5){ gotoAndPlay((50 + int((Math.random() * 5)))); }; } function frame37(){ _parent.speed = 0; } function frame78(){ _parent.attacking = false; } function frame153(){ _parent.attacked = true; } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; _root.sound_chicken.play(0, 0, _root.soundPos(_parent.x)); } function frame105(){ _root.alert(_parent); } function frame102(){ gotoAndPlay("wait"); } function frame47(){ _parent.attacking = true; } function frame29(){ _parent.speed = (_parent.speed * 0.75); } function frame208(){ _root.sound_deadChicken.play(0, 0, _root.soundPos(_parent.x)); } } }//package
Section 135
//enemy_crow (enemy_crow) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_crow extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public var sound:Boolean; public function enemy_crow(){ addFrameScript(0, frame1, 23, frame24, 26, frame27, 45, frame46, 57, frame58, 60, frame61, 68, frame69, 86, frame87); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadow.visible = true; shadowHit = false; sound = false; } function frame61(){ shadow.visible = true; } function frame87(){ stop(); } function frame24(){ if (sound == false){ sound = true; _root.sound_crow.play(0, 0, _root.soundPos(_parent.x)); }; } function frame58(){ _root.sound_dead5.play(0, 0, _root.soundPos(_parent.x)); } function frame46(){ gotoAndPlay("attack"); } function frame69(){ shadowHit = true; } function frame27(){ gotoAndPlay("alive"); } } }//package
Section 136
//enemy_dino (enemy_dino) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_dino extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public function enemy_dino(){ addFrameScript(0, frame1, 22, frame23, 25, frame26, 145, frame146, 178, frame179, 181, frame182, 193, frame194, 224, frame225); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; } function frame225(){ stop(); } function frame146(){ _root.sound_lightning.play(0, 0, _root.soundPos(_parent.x)); if (_root.gamePaused == false){ _root.damageCastle(_parent, _parent.attack); }; } function frame23(){ gotoAndPlay("alive"); } function frame26(){ _root.alert(_parent); } function frame179(){ _parent.attacked = true; } function frame182(){ _parent.attacked = true; gotoAndPlay("attack"); } function frame194(){ _root.sound_dead9.play(0, 0, _root.soundPos(_parent.x)); } } }//package
Section 137
//enemy_dragon (enemy_dragon) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_dragon extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var sound:Boolean; public var shadowHit:Boolean; public var mc:MovieClip; public function enemy_dragon(){ addFrameScript(0, frame1, 20, frame21, 39, frame40, 42, frame43, 65, frame66, 77, frame78, 99, frame100, 106, frame107, 109, frame110, 116, frame117, 139, frame140); } function frame110(){ shadow.visible = true; } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadow.visible = true; shadowHit = false; sound = false; } function frame117(){ shadowHit = true; } function frame100(){ gotoAndPlay("attack"); } function frame66(){ mc = new fireball(); mc.x = (_parent.x + 50); mc.dx = 0; mc.dy = _parent.y; mc.mc.rotation = (mc.dx + 90); mc.y = 0; mc.sy = (_parent.y + 10); _root.sound_fireball.play(0, 0, _root.soundPos(_parent.x)); stage.addChild(mc); if (_root.gamePaused == false){ _root.damageCastle(_parent, _parent.attack); }; } function frame43(){ _root.alert(_parent); } function frame40(){ gotoAndPlay("stand"); } function frame78(){ _parent.attacked = true; } function frame140(){ stop(); } function frame107(){ _root.sound_dead9.play(0, 0, _root.soundPos(_parent.x)); } function frame21(){ gotoAndPlay("alive"); } } }//package
Section 138
//enemy_fly (enemy_fly) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_fly extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var sound:Boolean; public var shadowHit:Boolean; public function enemy_fly(){ addFrameScript(0, frame1, 8, frame9, 11, frame12, 14, frame15, 22, frame23, 40, frame41); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadow.visible = true; shadowHit = false; sound = false; } function frame41(){ stop(); } function frame9(){ gotoAndPlay("alive"); } function frame12(){ _root.sound_dead6.play(0, 0, _root.soundPos(_parent.x)); } function frame15(){ shadow.visible = true; } function frame23(){ shadowHit = true; } } }//package
Section 139
//enemy_ghost (enemy_ghost) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_ghost extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public function enemy_ghost(){ addFrameScript(0, frame1, 22, frame23, 29, frame30, 45, frame46, 67, frame68, 79, frame80, 117, frame118); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; shadow.visible = false; } function frame80(){ _root.sound_dead2.play(0, 0, _root.soundPos(_parent.x)); } function frame30(){ _root.alert(_parent); } function frame118(){ stop(); } function frame23(){ stop(); } function frame46(){ if (_root.gamePaused == false){ _root.sound_damage1.play(0, 0, _root.soundPos(_parent.x)); _root.damageCastle(_parent, _parent.attack); }; } function frame68(){ gotoAndPlay("attack"); } } }//package
Section 140
//enemy_knight (enemy_knight) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_knight extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public function enemy_knight(){ addFrameScript(0, frame1, 29, frame30, 32, frame33, 51, frame52, 70, frame71, 82, frame83, 120, frame121); } function frame121(){ stop(); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; } function frame83(){ _root.sound_dead2.play(0, 0, _root.soundPos(_parent.x)); } function frame30(){ gotoAndPlay("alive"); } function frame33(){ _root.alert(_parent); } function frame71(){ gotoAndPlay("attack"); } function frame52(){ if (_root.gamePaused == false){ _root.sound_damage1.play(0, 0, _root.soundPos(_parent.x)); _root.damageCastle(_parent, _parent.attack); }; } } }//package
Section 141
//enemy_lava (enemy_lava) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_lava extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public function enemy_lava(){ addFrameScript(0, frame1, 19, frame20, 22, frame23, 34, frame35, 50, frame51, 85, frame86, 97, frame98, 127, frame128); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; } function frame128(){ stop(); } function frame20(){ gotoAndPlay("alive"); } function frame98(){ _root.sound_dead1.play(0, 0, _root.soundPos(_parent.x)); } function frame23(){ shadowHit = false; } function frame35(){ _root.damageCastle(undefined, _parent.attack); _root.shake(20, 5, 0.9); _root.sound_exp1.play(0, 0, _root.soundPos(_parent.x)); _parent.hp = -1; } function frame51(){ _parent.nullify(); } function frame86(){ gotoAndPlay("attack"); } } }//package
Section 142
//enemy_ogre (enemy_ogre) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_ogre extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public function enemy_ogre(){ addFrameScript(0, frame1, 25, frame26, 28, frame29, 55, frame56, 63, frame64, 75, frame76, 101, frame102); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; } function frame64(){ gotoAndPlay("attack"); } function frame76(){ _root.sound_dead1.play(0, 0, _root.soundPos(_parent.x)); } function frame102(){ stop(); } function frame56(){ if (_root.gamePaused == false){ _root.sound_damage1.play(0, 0, _root.soundPos(_parent.x)); _root.damageCastle(_parent, _parent.attack); }; } function frame26(){ gotoAndPlay("alive"); } function frame29(){ _root.alert(_parent); } } }//package
Section 143
//enemy_punk (enemy_punk) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_punk extends MovieClip { public var _root; public var _parent; public function enemy_punk(){ addFrameScript(6, frame7, 21, frame22, 29, frame30, 63, frame64); } function frame30(){ gotoAndPlay("attack"); } function frame64(){ stop(); } function frame7(){ gotoAndPlay("alive"); } function frame22(){ _root = (root as MovieClip); _parent = (parent as MovieClip); if (_root.gamePaused == false){ _root.sound_damage1.play(); _root.damageCastle(_parent, _parent.attack); }; } } }//package
Section 144
//enemy_rat (enemy_rat) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_rat extends MovieClip { public var shadow:MovieClip; public var _root; public var rat:MovieClip; public var _parent; public var shadowHit:Boolean; public function enemy_rat(){ addFrameScript(0, frame1, 2, frame3, 37, frame38, 40, frame41, 59, frame60, 80, frame81, 92, frame93, 127, frame128); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; if (_parent.dropping == false){ gotoAndPlay("alive"); } else { rat.y = (_parent.y1 - _parent.y); shadowHit = false; gotoAndStop("dropping"); }; } function frame128(){ stop(); } function frame3(){ gotoAndPlay("dropping"); } function frame60(){ if (_root.gamePaused == false){ _root.sound_damage1.play(0, 0, _root.soundPos(_parent.x)); _root.damageCastle(_parent, _parent.attack); }; } function frame41(){ _root.alert(_parent); } function frame81(){ gotoAndPlay("attack"); } function frame93(){ _root.sound_dead7.play(0, 0, _root.soundPos(_parent.x)); } function frame38(){ gotoAndPlay("alive"); } } }//package
Section 145
//enemy_sheep (enemy_sheep) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_sheep extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public function enemy_sheep(){ addFrameScript(0, frame1, 28, frame29, 31, frame32, 43, frame44, 94, frame95, 106, frame107, 128, frame129); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; } function frame107(){ _root.sound_dead3.play(0, 0, _root.soundPos(_parent.x)); shadowHit = true; } function frame32(){ shadowHit = false; _root.alert(_parent); } function frame44(){ if (_root.gamePaused == false){ _root.sound_damage1.play(0, 0, _root.soundPos(_parent.x)); _root.damageCastle(_parent, _parent.attack); }; } function frame95(){ gotoAndPlay("attack"); } function frame29(){ gotoAndPlay("alive"); } function frame129(){ stop(); } } }//package
Section 146
//enemy_spider (enemy_spider) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_spider extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public function enemy_spider(){ addFrameScript(0, frame1, 22, frame23, 29, frame30, 45, frame46, 67, frame68, 79, frame80, 117, frame118); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; shadow.visible = false; } function frame80(){ _root.sound_dead2.play(0, 0, _root.soundPos(_parent.x)); } function frame30(){ _root.alert(_parent); } function frame118(){ stop(); } function frame23(){ gotoAndPlay("alive"); } function frame46(){ if (_root.gamePaused == false){ _root.sound_damage1.play(0, 0, _root.soundPos(_parent.x)); _root.damageCastle(_parent, _parent.attack); }; } function frame68(){ gotoAndPlay("attack"); } } }//package
Section 147
//enemy_tank (enemy_tank) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class enemy_tank extends MovieClip { public var shadow:MovieClip; public var _root; public var _parent; public var shadowHit:Boolean; public var mc:MovieClip; public var mc2:MovieClip; public function enemy_tank(){ addFrameScript(0, frame1, 16, frame17, 19, frame20, 101, frame102, 161, frame162, 173, frame174, 204, frame205); } function frame1(){ _root = (root as MovieClip); _parent = (parent as MovieClip); shadowHit = true; _root.sound_tank.play(0, 0, _root.soundPos(_parent.x)); } function frame174(){ _root.sound_dead4.play(0, 0, _root.soundPos(_parent.x)); } function frame205(){ stop(); } function frame20(){ _root.alert(_parent); } function frame102(){ mc = new bolt_tank(); mc.x = (_parent.x + 65); mc.dx = (((700 - _parent.x) / 30) * -1); mc.dy = ((_parent.y - ((mc.dx * mc.dx) / 8)) - 25); mc.mc.rotation = (mc.dx + 90); mc.y = 0; mc.sy = (_parent.y + 10); _root.sound_tank2.play(0, 0, _root.soundPos(_parent.x)); stage.addChild(mc); mc2 = new explosion(); mc2.x = (mc.x - 20); mc2.y = (_parent.y - 23); mc2.alpha = 0.75; mc2.scaleX = 0.4; mc2.scaleY = 0.4; stage.addChild(mc2); if (_root.gamePaused == false){ _root.alert(_parent); _root.damageCastle(_parent, _parent.attack); }; } function frame162(){ gotoAndPlay("attack2"); } function frame17(){ gotoAndPlay("alive"); } } }//package
Section 148
//eventWindow (eventWindow) package { import flash.display.*; import flash.text.*; public dynamic class eventWindow extends MovieClip { public var card:MovieClip; public var title:TextField; public var text:TextField; public var okButton:SimpleButton; } }//package
Section 149
//explosion (explosion) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class explosion extends MovieClip { public function explosion(){ addFrameScript(22, frame23); } function frame23(){ stop(); stage.removeChild(this); } } }//package
Section 150
//explosion_puls (explosion_puls) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class explosion_puls extends MovieClip { public function explosion_puls(){ addFrameScript(12, frame13); } function frame13(){ stop(); } } }//package
Section 151
//explosion2 (explosion2) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class explosion2 extends MovieClip { public function explosion2(){ addFrameScript(12, frame13); } function frame13(){ stop(); stage.removeChild(this); } } }//package
Section 152
//fireball (fireball) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class fireball extends MovieClip { public var mc:MovieClip; public function fireball(){ addFrameScript(0, frame1); } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stop(); } public function onEnterFrame_bullet(_arg1:Event){ x = (x + 25); this.dx++; mc.y = (this.dy + (((240 - this.dy) / 20) * this.dx)); mc.rotation = ((this.dx * 10) + 90); if (x > 650){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_bullet); stage.removeChild(this); delete ??getglobalscope [this]; }; } } }//package
Section 153
//fireBit1 (fireBit1) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class fireBit1 extends MovieClip { public function fireBit1(){ addFrameScript(39, frame40); } function frame40(){ stop(); } } }//package
Section 154
//fireBit2 (fireBit2) package { import flash.display.*; public dynamic class fireBit2 extends MovieClip { } }//package
Section 155
//fireWork1 (fireWork1) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class fireWork1 extends MovieClip { public var scale; public var bit; public var cen:MovieClip; public var mc; public var op; public var c; public var i; public var fireCol; public var p; public var type; public function fireWork1(){ addFrameScript(4, frame5, 29, frame30, 31, frame32, 92, frame93); } function frame93(){ parent.removeChild(this); stop(); } function frame32(){ this.transform.colorTransform = fireCol[c]; } function frame30(){ type = int((Math.random() * 3)); p = (0.3 + (Math.random() / 3)); c = 0; scale = (Math.random() + 0.7); fireCol = []; i = 0; while (i < 2) { fireCol[i] = new ColorTransform(((Math.random() / 3) + 0.7), ((Math.random() / 3) + 0.7), ((Math.random() / 3) + 0.7), 1, 0, 0, 0, 0); i++; }; c = int((Math.random() * fireCol.length)); op = int((Math.random() * 3)); bit = int((Math.random() * 4)); if (type == 0){ i = 0; while (i < 40) { if (bit != 0){ mc = new fireBit1(); } else { mc = new fireBit2(); }; mc.x = 0; mc.y = 0; if (op == 0){ c = int((Math.random() * fireCol.length)); }; mc.transform.colorTransform = fireCol[c]; mc.rotation = (Math.random() * 360); p = ((Math.random() * 0.4) + 0.1); mc.scaleX = (p * scale); mc.scaleY = (p * scale); this.addChild(mc); i++; }; }; if (type == 1){ i = 0; while (i < 40) { if (bit != 0){ mc = new fireBit1(); } else { mc = new fireBit2(); }; mc.x = 0; mc.y = 0; if (op == 0){ c = int((Math.random() * fireCol.length)); }; mc.transform.colorTransform = fireCol[c]; mc.rotation = (Math.random() * 360); if ((i % 30) == 19){ p = (p * 0.3); }; mc.scaleX = (p * scale); mc.scaleY = (p * scale); this.addChild(mc); i++; }; }; if (type == 2){ i = 1; while (i < 50) { if (bit != 0){ mc = new fireBit1(); } else { mc = new fireBit2(); }; mc.x = 0; mc.y = 0; if (op == 0){ c = int((Math.random() * fireCol.length)); }; mc.transform.colorTransform = fireCol[c]; p = ((int((i / 10)) * 0.1) + 0.1); mc.rotation = ((i * 36) + (p * 100)); mc.scaleX = (p * scale); mc.scaleY = (p * scale); this.addChild(mc); i++; }; }; } function frame5(){ if (this.delay > 0){ this.delay--; gotoAndPlay(1); }; } } }//package
Section 156
//focusRectSkin (focusRectSkin) package { import flash.display.*; public dynamic class focusRectSkin extends MovieClip { } }//package
Section 157
//hpbar (hpbar) package { import flash.display.*; public dynamic class hpbar extends MovieClip { public var bar:MovieClip; } }//package
Section 158
//infoPop (infoPop) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class infoPop extends MovieClip { public var pop:MovieClip; public function infoPop(){ addFrameScript(138, frame139, 149, frame150); } function frame139(){ this.kill(this.tg); } function frame150(){ stage.removeChild(this); delete ??getglobalscope [this]; stop(); } } }//package
Section 159
//invPop (invPop) package { import flash.display.*; import flash.text.*; public dynamic class invPop extends MovieClip { public var maxText:TextField; public var itemDesc:TextField; public var itemName:TextField; public var typeText:TextField; public var itemDesc2:TextField; } }//package
Section 160
//invSlot (invSlot) package { import flash.display.*; import flash.text.*; public dynamic class invSlot extends MovieClip { public var coin:MovieClip; public var shortNum:TextField; public var cost:TextField; public var peke:TextField; } }//package
Section 161
//itemPicture (itemPicture) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class itemPicture extends MovieClip { public var num:TextField; public function itemPicture(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 162
//itemTimer (itemTimer) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class itemTimer extends MovieClip { public var bar:MovieClip; public var timerMax; public function itemTimer(){ addFrameScript(0, frame1); } function frame1(){ addEventListener(Event.ENTER_FRAME, onEnterFrame_itemTimer); timerMax = this.timer; stop(); } public function onEnterFrame_itemTimer(_arg1:Event){ this.timer--; bar.scaleX = (this.timer / timerMax); if (this.timer < 0){ removeEventListener(Event.ENTER_FRAME, onEnterFrame_itemTimer); stage.removeChild(this); }; } } }//package
Section 163
//layhand (layhand) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class layhand extends MovieClip { public function layhand(){ addFrameScript(30, frame31); } function frame31(){ stop(); stage.removeChild(this); } } }//package
Section 164
//List_skin (List_skin) package { import flash.display.*; public dynamic class List_skin extends MovieClip { } }//package
Section 165
//medals (medals) package { import flash.display.*; import flash.text.*; public dynamic class medals extends MovieClip { public var medalName:TextField; } }//package
Section 166
//NumericStepperDownArrow_disabledSkin (NumericStepperDownArrow_disabledSkin) package { import flash.display.*; public dynamic class NumericStepperDownArrow_disabledSkin extends MovieClip { } }//package
Section 167
//NumericStepperDownArrow_downSkin (NumericStepperDownArrow_downSkin) package { import flash.display.*; public dynamic class NumericStepperDownArrow_downSkin extends MovieClip { } }//package
Section 168
//NumericStepperDownArrow_overSkin (NumericStepperDownArrow_overSkin) package { import flash.display.*; public dynamic class NumericStepperDownArrow_overSkin extends MovieClip { } }//package
Section 169
//NumericStepperDownArrow_upSkin (NumericStepperDownArrow_upSkin) package { import flash.display.*; public dynamic class NumericStepperDownArrow_upSkin extends MovieClip { } }//package
Section 170
//NumericStepperUpArrow_disabledSkin (NumericStepperUpArrow_disabledSkin) package { import flash.display.*; public dynamic class NumericStepperUpArrow_disabledSkin extends MovieClip { } }//package
Section 171
//NumericStepperUpArrow_downSkin (NumericStepperUpArrow_downSkin) package { import flash.display.*; public dynamic class NumericStepperUpArrow_downSkin extends MovieClip { } }//package
Section 172
//NumericStepperUpArrow_overSkin (NumericStepperUpArrow_overSkin) package { import flash.display.*; public dynamic class NumericStepperUpArrow_overSkin extends MovieClip { } }//package
Section 173
//NumericStepperUpArrow_upSkin (NumericStepperUpArrow_upSkin) package { import flash.display.*; public dynamic class NumericStepperUpArrow_upSkin extends MovieClip { } }//package
Section 174
//radioButton (radioButton) package { import flash.display.*; import flash.text.*; public dynamic class radioButton extends MovieClip { public var txt:TextField; public var dummy:TextField; } }//package
Section 175
//radioButton2 (radioButton2) package { import flash.display.*; import flash.text.*; public dynamic class radioButton2 extends MovieClip { public var txt:TextField; public var dummy:TextField; } }//package
Section 176
//rectile (rectile) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class rectile extends MovieClip { public function rectile(){ addFrameScript(71, frame72); } function frame72(){ stop(); parent.removeChild(this); } } }//package
Section 177
//runner (runner) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class runner extends MovieClip { public var chara1:MovieClip; public function runner(){ addFrameScript(0, frame1, 33, frame34, 44, frame45, 66, frame67, 74, frame75, 77, frame78, 80, frame81, 119, frame120); } function frame78(){ chara1.gotoAndStop((3 + (this.pic * 10))); } function frame120(){ stop(); } function frame1(){ chara1.gotoAndStop((4 + (this.pic * 10))); } function frame34(){ chara1.gotoAndStop((2 + (this.pic * 10))); } function frame81(){ gotoAndPlay("run"); } function frame75(){ chara1.gotoAndStop((1 + (this.pic * 10))); } function frame67(){ stop(); } function frame45(){ stop(); } } }//package
Section 178
//ScrollArrowDown_disabledSkin (ScrollArrowDown_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_disabledSkin extends MovieClip { } }//package
Section 179
//ScrollArrowDown_downSkin (ScrollArrowDown_downSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_downSkin extends MovieClip { } }//package
Section 180
//ScrollArrowDown_overSkin (ScrollArrowDown_overSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_overSkin extends MovieClip { } }//package
Section 181
//ScrollArrowDown_upSkin (ScrollArrowDown_upSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_upSkin extends MovieClip { } }//package
Section 182
//ScrollArrowUp_disabledSkin (ScrollArrowUp_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_disabledSkin extends MovieClip { } }//package
Section 183
//ScrollArrowUp_downSkin (ScrollArrowUp_downSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_downSkin extends MovieClip { } }//package
Section 184
//ScrollArrowUp_overSkin (ScrollArrowUp_overSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_overSkin extends MovieClip { } }//package
Section 185
//ScrollArrowUp_upSkin (ScrollArrowUp_upSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_upSkin extends MovieClip { } }//package
Section 186
//ScrollBar_thumbIcon (ScrollBar_thumbIcon) package { import flash.display.*; public dynamic class ScrollBar_thumbIcon extends MovieClip { } }//package
Section 187
//ScrollThumb_downSkin (ScrollThumb_downSkin) package { import flash.display.*; public dynamic class ScrollThumb_downSkin extends MovieClip { } }//package
Section 188
//ScrollThumb_overSkin (ScrollThumb_overSkin) package { import flash.display.*; public dynamic class ScrollThumb_overSkin extends MovieClip { } }//package
Section 189
//ScrollThumb_upSkin (ScrollThumb_upSkin) package { import flash.display.*; public dynamic class ScrollThumb_upSkin extends MovieClip { } }//package
Section 190
//ScrollTrack_skin (ScrollTrack_skin) package { import flash.display.*; public dynamic class ScrollTrack_skin extends MovieClip { } }//package
Section 191
//selectButton (selectButton) package { import flash.display.*; import flash.text.*; public dynamic class selectButton extends MovieClip { public var selectText:TextField; public var transButton:SimpleButton; } }//package
Section 192
//showdamage (showdamage) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class showdamage extends MovieClip { public var txt:TextField; public var count; public function showdamage(){ addFrameScript(0, frame1); } public function onEnterFrame_critKill(_arg1:Event){ txt.y = (txt.y - 0.5); count--; if (count <= 7){ txt.alpha = (txt.alpha - 0.1); }; if (count <= 0){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_critKill); stage.removeChild(this); }; } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_critKill); count = 20; txt.alpha = 0.8; txt.text = this.msg; stop(); } } }//package
Section 193
//soundAward (soundAward) package { import flash.media.*; public dynamic class soundAward extends Sound { } }//package
Section 194
//soundBad (soundBad) package { import flash.media.*; public dynamic class soundBad extends Sound { } }//package
Section 195
//soundBag1 (soundBag1) package { import flash.media.*; public dynamic class soundBag1 extends Sound { } }//package
Section 196
//soundBattleBegin (soundBattleBegin) package { import flash.media.*; public dynamic class soundBattleBegin extends Sound { } }//package
Section 197
//soundBattleEnd (soundBattleEnd) package { import flash.media.*; public dynamic class soundBattleEnd extends Sound { } }//package
Section 198
//soundBeep (soundBeep) package { import flash.media.*; public dynamic class soundBeep extends Sound { } }//package
Section 199
//soundBgForest (soundBgForest) package { import flash.media.*; public dynamic class soundBgForest extends Sound { } }//package
Section 200
//soundBgTown (soundBgTown) package { import flash.media.*; public dynamic class soundBgTown extends Sound { } }//package
Section 201
//soundBow1 (soundBow1) package { import flash.media.*; public dynamic class soundBow1 extends Sound { } }//package
Section 202
//soundBow2 (soundBow2) package { import flash.media.*; public dynamic class soundBow2 extends Sound { } }//package
Section 203
//soundCard1 (soundCard1) package { import flash.media.*; public dynamic class soundCard1 extends Sound { } }//package
Section 204
//soundCata (soundCata) package { import flash.media.*; public dynamic class soundCata extends Sound { } }//package
Section 205
//soundChain1 (soundChain1) package { import flash.media.*; public dynamic class soundChain1 extends Sound { } }//package
Section 206
//soundChain2 (soundChain2) package { import flash.media.*; public dynamic class soundChain2 extends Sound { } }//package
Section 207
//soundChain3 (soundChain3) package { import flash.media.*; public dynamic class soundChain3 extends Sound { } }//package
Section 208
//soundChicken (soundChicken) package { import flash.media.*; public dynamic class soundChicken extends Sound { } }//package
Section 209
//soundChickenAttack (soundChickenAttack) package { import flash.media.*; public dynamic class soundChickenAttack extends Sound { } }//package
Section 210
//soundClick1 (soundClick1) package { import flash.media.*; public dynamic class soundClick1 extends Sound { } }//package
Section 211
//soundComplete (soundComplete) package { import flash.media.*; public dynamic class soundComplete extends Sound { } }//package
Section 212
//soundCrow (soundCrow) package { import flash.media.*; public dynamic class soundCrow extends Sound { } }//package
Section 213
//soundDamage1 (soundDamage1) package { import flash.media.*; public dynamic class soundDamage1 extends Sound { } }//package
Section 214
//soundDead1 (soundDead1) package { import flash.media.*; public dynamic class soundDead1 extends Sound { } }//package
Section 215
//soundDead2 (soundDead2) package { import flash.media.*; public dynamic class soundDead2 extends Sound { } }//package
Section 216
//soundDead3 (soundDead3) package { import flash.media.*; public dynamic class soundDead3 extends Sound { } }//package
Section 217
//soundDead4 (soundDead4) package { import flash.media.*; public dynamic class soundDead4 extends Sound { } }//package
Section 218
//soundDead5 (soundDead5) package { import flash.media.*; public dynamic class soundDead5 extends Sound { } }//package
Section 219
//soundDead6 (soundDead6) package { import flash.media.*; public dynamic class soundDead6 extends Sound { } }//package
Section 220
//soundDead7 (soundDead7) package { import flash.media.*; public dynamic class soundDead7 extends Sound { } }//package
Section 221
//soundDead8 (soundDead8) package { import flash.media.*; public dynamic class soundDead8 extends Sound { } }//package
Section 222
//soundDead9 (soundDead9) package { import flash.media.*; public dynamic class soundDead9 extends Sound { } }//package
Section 223
//soundDeadBoss1 (soundDeadBoss1) package { import flash.media.*; public dynamic class soundDeadBoss1 extends Sound { } }//package
Section 224
//soundDeadBoss2 (soundDeadBoss2) package { import flash.media.*; public dynamic class soundDeadBoss2 extends Sound { } }//package
Section 225
//soundDeadChicken (soundDeadChicken) package { import flash.media.*; public dynamic class soundDeadChicken extends Sound { } }//package
Section 226
//soundDefend (soundDefend) package { import flash.media.*; public dynamic class soundDefend extends Sound { } }//package
Section 227
//soundDrop (soundDrop) package { import flash.media.*; public dynamic class soundDrop extends Sound { } }//package
Section 228
//soundEat1 (soundEat1) package { import flash.media.*; public dynamic class soundEat1 extends Sound { } }//package
Section 229
//soundExp1 (soundExp1) package { import flash.media.*; public dynamic class soundExp1 extends Sound { } }//package
Section 230
//soundFireball (soundFireball) package { import flash.media.*; public dynamic class soundFireball extends Sound { } }//package
Section 231
//soundFirework (soundFirework) package { import flash.media.*; public dynamic class soundFirework extends Sound { } }//package
Section 232
//soundGold1 (soundGold1) package { import flash.media.*; public dynamic class soundGold1 extends Sound { } }//package
Section 233
//soundGood (soundGood) package { import flash.media.*; public dynamic class soundGood extends Sound { } }//package
Section 234
//soundGoodshot0 (soundGoodshot0) package { import flash.media.*; public dynamic class soundGoodshot0 extends Sound { } }//package
Section 235
//soundGoodshot1 (soundGoodshot1) package { import flash.media.*; public dynamic class soundGoodshot1 extends Sound { } }//package
Section 236
//soundGoodshot2 (soundGoodshot2) package { import flash.media.*; public dynamic class soundGoodshot2 extends Sound { } }//package
Section 237
//soundGoodshot3 (soundGoodshot3) package { import flash.media.*; public dynamic class soundGoodshot3 extends Sound { } }//package
Section 238
//soundGoodshot4 (soundGoodshot4) package { import flash.media.*; public dynamic class soundGoodshot4 extends Sound { } }//package
Section 239
//soundGun1 (soundGun1) package { import flash.media.*; public dynamic class soundGun1 extends Sound { } }//package
Section 240
//soundGun10 (soundGun10) package { import flash.media.*; public dynamic class soundGun10 extends Sound { } }//package
Section 241
//soundGun11 (soundGun11) package { import flash.media.*; public dynamic class soundGun11 extends Sound { } }//package
Section 242
//soundGun12 (soundGun12) package { import flash.media.*; public dynamic class soundGun12 extends Sound { } }//package
Section 243
//soundGun13 (soundGun13) package { import flash.media.*; public dynamic class soundGun13 extends Sound { } }//package
Section 244
//soundGun14 (soundGun14) package { import flash.media.*; public dynamic class soundGun14 extends Sound { } }//package
Section 245
//soundGun15 (soundGun15) package { import flash.media.*; public dynamic class soundGun15 extends Sound { } }//package
Section 246
//soundGun2 (soundGun2) package { import flash.media.*; public dynamic class soundGun2 extends Sound { } }//package
Section 247
//soundGun3 (soundGun3) package { import flash.media.*; public dynamic class soundGun3 extends Sound { } }//package
Section 248
//soundGun4 (soundGun4) package { import flash.media.*; public dynamic class soundGun4 extends Sound { } }//package
Section 249
//soundGun5 (soundGun5) package { import flash.media.*; public dynamic class soundGun5 extends Sound { } }//package
Section 250
//soundGun6 (soundGun6) package { import flash.media.*; public dynamic class soundGun6 extends Sound { } }//package
Section 251
//soundGun7 (soundGun7) package { import flash.media.*; public dynamic class soundGun7 extends Sound { } }//package
Section 252
//soundGun8 (soundGun8) package { import flash.media.*; public dynamic class soundGun8 extends Sound { } }//package
Section 253
//soundGun9 (soundGun9) package { import flash.media.*; public dynamic class soundGun9 extends Sound { } }//package
Section 254
//soundImpact1 (soundImpact1) package { import flash.media.*; public dynamic class soundImpact1 extends Sound { } }//package
Section 255
//soundKilled (soundKilled) package { import flash.media.*; public dynamic class soundKilled extends Sound { } }//package
Section 256
//soundLaunch (soundLaunch) package { import flash.media.*; public dynamic class soundLaunch extends Sound { } }//package
Section 257
//soundLightning (soundLightning) package { import flash.media.*; public dynamic class soundLightning extends Sound { } }//package
Section 258
//soundLow (soundLow) package { import flash.media.*; public dynamic class soundLow extends Sound { } }//package
Section 259
//soundMedal (soundMedal) package { import flash.media.*; public dynamic class soundMedal extends Sound { } }//package
Section 260
//soundMod (soundMod) package { import flash.media.*; public dynamic class soundMod extends Sound { } }//package
Section 261
//soundMute (soundMute) package { import flash.media.*; public dynamic class soundMute extends Sound { } }//package
Section 262
//soundNight (soundNight) package { import flash.media.*; public dynamic class soundNight extends Sound { } }//package
Section 263
//soundParty (soundParty) package { import flash.media.*; public dynamic class soundParty extends Sound { } }//package
Section 264
//soundPay1 (soundPay1) package { import flash.media.*; public dynamic class soundPay1 extends Sound { } }//package
Section 265
//soundPop1 (soundPop1) package { import flash.media.*; public dynamic class soundPop1 extends Sound { } }//package
Section 266
//soundPray1 (soundPray1) package { import flash.media.*; public dynamic class soundPray1 extends Sound { } }//package
Section 267
//soundPuls (soundPuls) package { import flash.media.*; public dynamic class soundPuls extends Sound { } }//package
Section 268
//soundRampage (soundRampage) package { import flash.media.*; public dynamic class soundRampage extends Sound { } }//package
Section 269
//soundRampageEnemy (soundRampageEnemy) package { import flash.media.*; public dynamic class soundRampageEnemy extends Sound { } }//package
Section 270
//soundReloaded1 (soundReloaded1) package { import flash.media.*; public dynamic class soundReloaded1 extends Sound { } }//package
Section 271
//soundReloaded2 (soundReloaded2) package { import flash.media.*; public dynamic class soundReloaded2 extends Sound { } }//package
Section 272
//soundReloaded3 (soundReloaded3) package { import flash.media.*; public dynamic class soundReloaded3 extends Sound { } }//package
Section 273
//soundReloading1 (soundReloading1) package { import flash.media.*; public dynamic class soundReloading1 extends Sound { } }//package
Section 274
//soundReloading2 (soundReloading2) package { import flash.media.*; public dynamic class soundReloading2 extends Sound { } }//package
Section 275
//soundReloading3 (soundReloading3) package { import flash.media.*; public dynamic class soundReloading3 extends Sound { } }//package
Section 276
//soundRepair1 (soundRepair1) package { import flash.media.*; public dynamic class soundRepair1 extends Sound { } }//package
Section 277
//soundScroll1 (soundScroll1) package { import flash.media.*; public dynamic class soundScroll1 extends Sound { } }//package
Section 278
//soundSearch (soundSearch) package { import flash.media.*; public dynamic class soundSearch extends Sound { } }//package
Section 279
//soundTank (soundTank) package { import flash.media.*; public dynamic class soundTank extends Sound { } }//package
Section 280
//soundTank2 (soundTank2) package { import flash.media.*; public dynamic class soundTank2 extends Sound { } }//package
Section 281
//soundThrow1 (soundThrow1) package { import flash.media.*; public dynamic class soundThrow1 extends Sound { } }//package
Section 282
//TextArea_disabledSkin (TextArea_disabledSkin) package { import flash.display.*; public dynamic class TextArea_disabledSkin extends MovieClip { } }//package
Section 283
//TextArea_upSkin (TextArea_upSkin) package { import flash.display.*; public dynamic class TextArea_upSkin extends MovieClip { } }//package
Section 284
//textEffect (textEffect) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class textEffect extends MovieClip { public var msg:MovieClip; public var mc; public function textEffect(){ addFrameScript(0, frame1, 9, frame10, 91, frame92); } function frame10(){ gotoAndPlay(1); } function frame1(){ mc = stage.getChildByName(this.wait); if (mc != null){ if (mc.currentFrame < 62){ gotoAndPlay(2); return; }; }; gotoAndPlay(11); } function frame92(){ stop(); stage.removeChild(this); } } }//package
Section 285
//TextInput_disabledSkin (TextInput_disabledSkin) package { import flash.display.*; public dynamic class TextInput_disabledSkin extends MovieClip { } }//package
Section 286
//TextInput_upSkin (TextInput_upSkin) package { import flash.display.*; public dynamic class TextInput_upSkin extends MovieClip { } }//package
Section 287
//trail1 (trail1) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class trail1 extends MovieClip { public var count; public function trail1(){ addFrameScript(0, frame1); } public function onEnterFrame_trail(_arg1:Event){ count++; if (count < 3){ this.alpha = (this.alpha + 0.4); } else { this.alpha = (this.alpha - 0.06); }; if (count > 15){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_trail); stage.removeChild(this); return; }; } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_trail); count = 0; this.alpha = 0; stop(); } } }//package
Section 288
//trail2 (trail2) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class trail2 extends MovieClip { public var count; public function trail2(){ addFrameScript(0, frame1); } public function onEnterFrame_trail(_arg1:Event){ count++; if (count < 3){ this.alpha = (this.alpha + 0.4); } else { this.alpha = (this.alpha - 0.06); }; if (count > 15){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_trail); stage.removeChild(this); return; }; } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_trail); count = 0; this.alpha = 0; stop(); } } }//package
Section 289
//trail3 (trail3) package { import flash.events.*; import flash.display.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class trail3 extends MovieClip { public var count; public function trail3(){ addFrameScript(0, frame1); } public function onEnterFrame_trail(_arg1:Event){ count++; if (count < 3){ this.alpha = (this.alpha + 0.4); } else { this.alpha = (this.alpha - 0.06); }; if (count > 15){ this.removeEventListener(Event.ENTER_FRAME, onEnterFrame_trail); stage.removeChild(this); return; }; } function frame1(){ this.addEventListener(Event.ENTER_FRAME, onEnterFrame_trail); count = 0; this.alpha = 0; stop(); } } }//package
Section 290
//trait (trait) package { import flash.display.*; import flash.text.*; public dynamic class trait extends MovieClip { public var icon:MovieClip; public var traitName:TextField; public var text:SimpleButton; } }//package
Section 291
//upgrades (upgrades) package { import flash.display.*; import flash.text.*; public dynamic class upgrades extends MovieClip { public var upgradeButton:SimpleButton; public var upgradeName:TextField; public var upgradeCost:TextField; public var upgradePic:MovieClip; } }//package
Section 292
//window (window) package { import flash.events.*; import flash.display.*; import fl.controls.*; import flash.geom.*; import flash.filters.*; import flash.text.*; import flash.utils.*; import flash.media.*; import flash.system.*; import flash.net.*; import flash.ui.*; import flash.errors.*; import flash.accessibility.*; public dynamic class window extends MovieClip { public var optWeaponLevel:CheckBox; public var procButton:SimpleButton; public var optTight:CheckBox; public var itemDesc:TextField; public var returnTitleButton:SimpleButton; public var __setPropDict:Dictionary; public var dismissButton:SimpleButton; public var optComp:CheckBox; public var optLaptop:CheckBox; public var itemDesc2:TextField; public var wageText:TextField; public var hint:invPop; public var hint2:TextField; public var kongMc:MovieClip; public var costText:TextField; public var options:MovieClip; public var optMore:CheckBox; public var popup:MovieClip; public var classText:TextField; public var taken:TextField; public var fo:TextField; public var optBoss:CheckBox; public var now:TextField; public var dismissText:TextField; public var optSkipHard:CheckBox; public var detailButton:SimpleButton; public var actHelp:TextField; public var optHC:CheckBox; public var castle:TextField; public var backButton:SimpleButton; public var classPic:MovieClip; public var field:TextArea; public var help1:SimpleButton; public var help2:SimpleButton; public var help3:SimpleButton; public var help4:SimpleButton; public var other:TextField; public var locker:MovieClip; public var optWall:CheckBox; public var saveGameButton:SimpleButton; public var earnText:TextField; public var wage:TextField; public var reward:TextField; public var mc_playMore:MovieClip; public var dayTxt:TextField; public var button1:MovieClip; public var help:TextArea; public var order:ComboBox; public var closeButton:SimpleButton; public var extraButton:SimpleButton; public var optDropMod:CheckBox; public var link1:SimpleButton; public var link2:SimpleButton; public var link3:SimpleButton; public var link4:SimpleButton; public var link5:SimpleButton; public var link6:SimpleButton; public var link7:SimpleButton; public var link8:SimpleButton; public var before:TextField; public var page2:SimpleButton; public var page1:SimpleButton; public var recruitText:TextField; public var optHint3:MovieClip; public var orderText:TextField; public var warning:TextField; public var updateText:TextArea; public var unkeep:TextField; public var link10:SimpleButton; public var titleText:TextField; public var killText:TextField; public var actRef1:MovieClip; public var actRef2:MovieClip; public var tax:TextField; public var unlockButton:MovieClip; public var desc2:TextField; public var detailWin:MovieClip; public var armorbt:SimpleButton; public var helpButton:SimpleButton; public var optHint:MovieClip; public var act1:SimpleButton; public var act2:SimpleButton; public var lootText:TextField; public var talkText:TextField; public var optCasual:CheckBox; public function window(){ __setPropDict = new Dictionary(true); super(); addFrameScript(9, frame10, 13, frame14, 134, frame135, 14, frame15, 15, frame16, 16, frame17, 17, frame18, 18, frame19, 19, frame20, 20, frame21, 21, frame22, 22, frame23, 62, frame63, 63, frame64, 64, frame65, 65, frame66, 66, frame67, 67, frame68, 68, frame69, 69, frame70, 135, frame136, 136, frame137, 137, frame138, 138, frame139, 139, frame140, 140, frame141, 141, frame142, 142, frame143, 143, frame144, 144, frame145, 145, frame146, 146, frame147); } function __setProp_optSkipHard_windows_Layer3_134(){ try { optSkipHard["componentInspectorSetting"] = true; } catch(e:Error) { }; optSkipHard.enabled = true; optSkipHard.label = "Skip hard waves(no more 10+ suicide bombers)."; optSkipHard.labelPlacement = "right"; optSkipHard.selected = false; optSkipHard.visible = true; try { optSkipHard["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_optWall_windows_Layer1_62(){ try { optWall["componentInspectorSetting"] = true; } catch(e:Error) { }; optWall.enabled = true; optWall.label = "Go for boss"; optWall.labelPlacement = "right"; optWall.selected = false; optWall.visible = true; try { optWall["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame10(){ stop(); } function frame15(){ if ((((__setPropDict[field] == undefined)) || (!((((int(__setPropDict[field]) >= 14)) && ((int(__setPropDict[field]) <= 23))))))){ __setPropDict[field] = currentFrame; __setProp_field_windows_Layer1_13(); }; } function frame16(){ if ((((__setPropDict[field] == undefined)) || (!((((int(__setPropDict[field]) >= 14)) && ((int(__setPropDict[field]) <= 23))))))){ __setPropDict[field] = currentFrame; __setProp_field_windows_Layer1_13(); }; } function frame17(){ if ((((__setPropDict[field] == undefined)) || (!((((int(__setPropDict[field]) >= 14)) && ((int(__setPropDict[field]) <= 23))))))){ __setPropDict[field] = currentFrame; __setProp_field_windows_Layer1_13(); }; } function frame18(){ if ((((__setPropDict[field] == undefined)) || (!((((int(__setPropDict[field]) >= 14)) && ((int(__setPropDict[field]) <= 23))))))){ __setPropDict[field] = currentFrame; __setProp_field_windows_Layer1_13(); }; } function frame19(){ if ((((__setPropDict[field] == undefined)) || (!((((int(__setPropDict[field]) >= 14)) && ((int(__setPropDict[field]) <= 23))))))){ __setPropDict[field] = currentFrame; __setProp_field_windows_Layer1_13(); }; } function frame14(){ if ((((__setPropDict[field] == undefined)) || (!((((int(__setPropDict[field]) >= 14)) && ((int(__setPropDict[field]) <= 23))))))){ __setPropDict[field] = currentFrame; __setProp_field_windows_Layer1_13(); }; stop(); } function frame20(){ if ((((__setPropDict[field] == undefined)) || (!((((int(__setPropDict[field]) >= 14)) && ((int(__setPropDict[field]) <= 23))))))){ __setPropDict[field] = currentFrame; __setProp_field_windows_Layer1_13(); }; } function frame21(){ if ((((__setPropDict[field] == undefined)) || (!((((int(__setPropDict[field]) >= 14)) && ((int(__setPropDict[field]) <= 23))))))){ __setPropDict[field] = currentFrame; __setProp_field_windows_Layer1_13(); }; } function frame22(){ if ((((__setPropDict[field] == undefined)) || (!((((int(__setPropDict[field]) >= 14)) && ((int(__setPropDict[field]) <= 23))))))){ __setPropDict[field] = currentFrame; __setProp_field_windows_Layer1_13(); }; } function __setProp_optDropMod_windows_Layer3_134(){ try { optDropMod["componentInspectorSetting"] = true; } catch(e:Error) { }; optDropMod.enabled = true; optDropMod.label = "Bosses always drop MODs instead of weapons."; optDropMod.labelPlacement = "right"; optDropMod.selected = false; optDropMod.visible = true; try { optDropMod["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame23(){ if ((((__setPropDict[field] == undefined)) || (!((((int(__setPropDict[field]) >= 14)) && ((int(__setPropDict[field]) <= 23))))))){ __setPropDict[field] = currentFrame; __setProp_field_windows_Layer1_13(); }; } function __setProp_optWeaponLevel_windows_Layer3_134(){ try { optWeaponLevel["componentInspectorSetting"] = true; } catch(e:Error) { }; optWeaponLevel.enabled = true; optWeaponLevel.label = "Don't generate too high level weapons."; optWeaponLevel.labelPlacement = "right"; optWeaponLevel.selected = false; optWeaponLevel.visible = true; try { optWeaponLevel["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame63(){ if ((((__setPropDict[optWall] == undefined)) || (!((((int(__setPropDict[optWall]) >= 63)) && ((int(__setPropDict[optWall]) <= 70))))))){ __setPropDict[optWall] = currentFrame; __setProp_optWall_windows_Layer1_62(); }; if ((((__setPropDict[optBoss] == undefined)) || (!((((int(__setPropDict[optBoss]) >= 63)) && ((int(__setPropDict[optBoss]) <= 70))))))){ __setPropDict[optBoss] = currentFrame; __setProp_optBoss_windows_Layer1_62(); }; } function frame64(){ if ((((__setPropDict[optWall] == undefined)) || (!((((int(__setPropDict[optWall]) >= 63)) && ((int(__setPropDict[optWall]) <= 70))))))){ __setPropDict[optWall] = currentFrame; __setProp_optWall_windows_Layer1_62(); }; if ((((__setPropDict[optBoss] == undefined)) || (!((((int(__setPropDict[optBoss]) >= 63)) && ((int(__setPropDict[optBoss]) <= 70))))))){ __setPropDict[optBoss] = currentFrame; __setProp_optBoss_windows_Layer1_62(); }; } function frame65(){ if ((((__setPropDict[optWall] == undefined)) || (!((((int(__setPropDict[optWall]) >= 63)) && ((int(__setPropDict[optWall]) <= 70))))))){ __setPropDict[optWall] = currentFrame; __setProp_optWall_windows_Layer1_62(); }; if ((((__setPropDict[optBoss] == undefined)) || (!((((int(__setPropDict[optBoss]) >= 63)) && ((int(__setPropDict[optBoss]) <= 70))))))){ __setPropDict[optBoss] = currentFrame; __setProp_optBoss_windows_Layer1_62(); }; } function frame66(){ if ((((__setPropDict[optWall] == undefined)) || (!((((int(__setPropDict[optWall]) >= 63)) && ((int(__setPropDict[optWall]) <= 70))))))){ __setPropDict[optWall] = currentFrame; __setProp_optWall_windows_Layer1_62(); }; if ((((__setPropDict[optBoss] == undefined)) || (!((((int(__setPropDict[optBoss]) >= 63)) && ((int(__setPropDict[optBoss]) <= 70))))))){ __setPropDict[optBoss] = currentFrame; __setProp_optBoss_windows_Layer1_62(); }; } function frame67(){ if ((((__setPropDict[optWall] == undefined)) || (!((((int(__setPropDict[optWall]) >= 63)) && ((int(__setPropDict[optWall]) <= 70))))))){ __setPropDict[optWall] = currentFrame; __setProp_optWall_windows_Layer1_62(); }; if ((((__setPropDict[optBoss] == undefined)) || (!((((int(__setPropDict[optBoss]) >= 63)) && ((int(__setPropDict[optBoss]) <= 70))))))){ __setPropDict[optBoss] = currentFrame; __setProp_optBoss_windows_Layer1_62(); }; } function frame68(){ if ((((__setPropDict[optWall] == undefined)) || (!((((int(__setPropDict[optWall]) >= 63)) && ((int(__setPropDict[optWall]) <= 70))))))){ __setPropDict[optWall] = currentFrame; __setProp_optWall_windows_Layer1_62(); }; if ((((__setPropDict[optBoss] == undefined)) || (!((((int(__setPropDict[optBoss]) >= 63)) && ((int(__setPropDict[optBoss]) <= 70))))))){ __setPropDict[optBoss] = currentFrame; __setProp_optBoss_windows_Layer1_62(); }; } function frame69(){ if ((((__setPropDict[optWall] == undefined)) || (!((((int(__setPropDict[optWall]) >= 63)) && ((int(__setPropDict[optWall]) <= 70))))))){ __setPropDict[optWall] = currentFrame; __setProp_optWall_windows_Layer1_62(); }; if ((((__setPropDict[optBoss] == undefined)) || (!((((int(__setPropDict[optBoss]) >= 63)) && ((int(__setPropDict[optBoss]) <= 70))))))){ __setPropDict[optBoss] = currentFrame; __setProp_optBoss_windows_Layer1_62(); }; } function __setProp_optLaptop_windows_Layer3_134(){ try { optLaptop["componentInspectorSetting"] = true; } catch(e:Error) { }; optLaptop.enabled = true; optLaptop.label = "Laptop difficulty. Enemies move 30% slower."; optLaptop.labelPlacement = "right"; optLaptop.selected = false; optLaptop.visible = true; try { optLaptop["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_optBoss_windows_Layer1_62(){ try { optBoss["componentInspectorSetting"] = true; } catch(e:Error) { }; optBoss.enabled = true; optBoss.label = "Go for boss"; optBoss.labelPlacement = "right"; optBoss.selected = false; optBoss.visible = true; try { optBoss["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame70(){ if ((((__setPropDict[optWall] == undefined)) || (!((((int(__setPropDict[optWall]) >= 63)) && ((int(__setPropDict[optWall]) <= 70))))))){ __setPropDict[optWall] = currentFrame; __setProp_optWall_windows_Layer1_62(); }; if ((((__setPropDict[optBoss] == undefined)) || (!((((int(__setPropDict[optBoss]) >= 63)) && ((int(__setPropDict[optBoss]) <= 70))))))){ __setPropDict[optBoss] = currentFrame; __setProp_optBoss_windows_Layer1_62(); }; } function __setProp_optTight_windows_Layer3_134(){ try { optTight["componentInspectorSetting"] = true; } catch(e:Error) { }; optTight.enabled = true; optTight.label = "Tighter accuracy&cross-hair. Slightly less exp gains."; optTight.labelPlacement = "right"; optTight.selected = false; optTight.visible = true; try { optTight["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_optComp_windows_Layer3_134(){ try { optComp["componentInspectorSetting"] = true; } catch(e:Error) { }; optComp.enabled = true; optComp.label = "Community Compilation Mod."; optComp.labelPlacement = "right"; optComp.selected = false; optComp.visible = true; try { optComp["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_optMore_windows_Layer3_134(){ try { optMore["componentInspectorSetting"] = true; } catch(e:Error) { }; optMore.enabled = true; optMore.label = "More intense enemies at the beginning. It's hard but more coins!"; optMore.labelPlacement = "right"; optMore.selected = false; optMore.visible = true; try { optMore["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setProp_field_windows_Layer1_13(){ try { field["componentInspectorSetting"] = true; } catch(e:Error) { }; field.condenseWhite = false; field.editable = false; field.enabled = true; field.horizontalScrollPolicy = "auto"; field.htmlText = ""; field.maxChars = 0; field.restrict = ""; field.text = "No news today."; field.verticalScrollPolicy = "auto"; field.visible = true; field.wordWrap = true; try { field["componentInspectorSetting"] = false; } catch(e:Error) { }; } function frame136(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } function frame137(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } function frame138(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } function frame139(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } function frame135(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; detailWin.visible = false; } function frame141(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } function frame142(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } function frame143(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } function frame145(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } function frame140(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } function frame144(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } function frame146(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } function frame147(){ if ((((__setPropDict[optComp] == undefined)) || (!((((int(__setPropDict[optComp]) >= 135)) && ((int(__setPropDict[optComp]) <= 147))))))){ __setPropDict[optComp] = currentFrame; __setProp_optComp_windows_Layer3_134(); }; if ((((__setPropDict[optLaptop] == undefined)) || (!((((int(__setPropDict[optLaptop]) >= 135)) && ((int(__setPropDict[optLaptop]) <= 147))))))){ __setPropDict[optLaptop] = currentFrame; __setProp_optLaptop_windows_Layer3_134(); }; if ((((__setPropDict[optTight] == undefined)) || (!((((int(__setPropDict[optTight]) >= 135)) && ((int(__setPropDict[optTight]) <= 147))))))){ __setPropDict[optTight] = currentFrame; __setProp_optTight_windows_Layer3_134(); }; if ((((__setPropDict[optSkipHard] == undefined)) || (!((((int(__setPropDict[optSkipHard]) >= 135)) && ((int(__setPropDict[optSkipHard]) <= 147))))))){ __setPropDict[optSkipHard] = currentFrame; __setProp_optSkipHard_windows_Layer3_134(); }; if ((((__setPropDict[optWeaponLevel] == undefined)) || (!((((int(__setPropDict[optWeaponLevel]) >= 135)) && ((int(__setPropDict[optWeaponLevel]) <= 147))))))){ __setPropDict[optWeaponLevel] = currentFrame; __setProp_optWeaponLevel_windows_Layer3_134(); }; if ((((__setPropDict[optMore] == undefined)) || (!((((int(__setPropDict[optMore]) >= 135)) && ((int(__setPropDict[optMore]) <= 147))))))){ __setPropDict[optMore] = currentFrame; __setProp_optMore_windows_Layer3_134(); }; if ((((__setPropDict[optDropMod] == undefined)) || (!((((int(__setPropDict[optDropMod]) >= 135)) && ((int(__setPropDict[optDropMod]) <= 147))))))){ __setPropDict[optDropMod] = currentFrame; __setProp_optDropMod_windows_Layer3_134(); }; } } }//package

Library Items

Symbol 1 Sound {soundThrow1}
Symbol 2 Sound {soundTank2}
Symbol 3 Sound {soundTank}
Symbol 4 Sound {soundSearch}
Symbol 5 Sound {soundScroll1}
Symbol 6 Sound {soundRepair1}
Symbol 7 Sound {soundReloading3}
Symbol 8 Sound {soundReloading2}
Symbol 9 Sound {soundReloading1}
Symbol 10 Sound {soundReloaded3}
Symbol 11 Sound {soundReloaded2}
Symbol 12 Sound {soundRampageEnemy}
Symbol 13 Sound {soundRampage}
Symbol 14 Sound {soundPuls}
Symbol 15 Sound {soundPray1}
Symbol 16 Sound {soundPay1}
Symbol 17 Sound {soundParty}
Symbol 18 Sound {soundNight}
Symbol 19 Sound {soundMute}
Symbol 20 Sound {soundMod}
Symbol 21 Sound {soundMedal}
Symbol 22 Sound {soundLow}
Symbol 23 Sound {soundLightning}
Symbol 24 Sound {soundLaunch}
Symbol 25 Sound {soundKilled}
Symbol 26 Sound {soundImpact1}
Symbol 27 Sound {soundGun9}
Symbol 28 Sound {soundGun8}
Symbol 29 Sound {soundGun7}
Symbol 30 Sound {soundGun6}
Symbol 31 Sound {soundGun5}
Symbol 32 Sound {soundGun4}
Symbol 33 Sound {soundGun3}
Symbol 34 Sound {soundGun15}
Symbol 35 Sound {soundGun14}
Symbol 36 Sound {soundGun13}
Symbol 37 Sound {soundGun12}
Symbol 38 Sound {soundGun11}
Symbol 39 Sound {soundGun10}
Symbol 40 Sound {soundGun1}
Symbol 41 Sound {soundGoodshot4}
Symbol 42 Sound {soundGoodshot3}
Symbol 43 Sound {soundGoodshot2}
Symbol 44 Sound {soundGoodshot1}
Symbol 45 Sound {soundGoodshot0}
Symbol 46 Sound {soundGood}
Symbol 47 Sound {soundGold1}
Symbol 48 Sound {soundFirework}
Symbol 49 Sound {soundFireball}
Symbol 50 Sound {soundExp1}
Symbol 51 Sound {soundEat1}
Symbol 52 Sound {soundDrop}
Symbol 53 Sound {soundDefend}
Symbol 54 Sound {soundDeadChicken}
Symbol 55 Sound {soundDead9}
Symbol 56 Sound {soundDead8}
Symbol 57 Sound {soundDead7}
Symbol 58 Sound {soundDead6}
Symbol 59 Sound {soundDead5}
Symbol 60 Sound {soundDead4}
Symbol 61 Sound {soundDead3}
Symbol 62 Sound {soundDead2}
Symbol 63 Sound {soundDead1}
Symbol 64 Sound {soundDamage1}
Symbol 65 Sound {soundCrow}
Symbol 66 Sound {soundComplete}
Symbol 67 Sound {soundClick1}
Symbol 68 Sound {soundChickenAttack}
Symbol 69 Sound {soundChicken}
Symbol 70 Sound {soundChain3}
Symbol 71 Sound {soundChain2}
Symbol 72 Sound {soundChain1}
Symbol 73 Sound {soundCata}
Symbol 74 Sound {soundBow2}
Symbol 75 Sound {soundBow1}
Symbol 76 Sound {soundDeadBoss2}
Symbol 77 Sound {soundDeadBoss1}
Symbol 78 Sound {soundBgTown}
Symbol 79 Sound {soundBgForest}
Symbol 80 Sound {soundBeep}
Symbol 81 Sound {soundBattleBegin}
Symbol 82 Sound {soundBattleEnd}
Symbol 83 Sound {soundBag1}
Symbol 84 Sound {soundBad}
Symbol 85 Sound {soundAward}
Symbol 86 Sound {soundCard1}Used by:1602 1606 1643 1759 1763 1808 1816 1832 2338
Symbol 87 Sound {soundGun2}Used by:2649
Symbol 88 Sound {soundReloaded1}Used by:2649
Symbol 89 Sound {soundPop1}Used by:1487 1490 1493 1497 1547 1566 1626 1631 1697 1840 1882 1894 1899 1937 1939 1942 1944 1979 2127 2129 2160 2435 2533 2554 2591 2595 2656 2665 2670 2678 2740 2744 2748 2752
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClip {fireBit2}Uses:90
Symbol 92 GraphicUsed by:96
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:95
Symbol 95 MovieClipUses:94Used by:96
Symbol 96 MovieClip {fireWork1}Uses:92 95
Symbol 97 GraphicUsed by:101
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:100
Symbol 100 MovieClip {shootem_funny_fla.SPARKLE2_349}Uses:99Used by:101
Symbol 101 MovieClip {fireBit1}Uses:97 100
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:127 128 1475 1529 1530 1740 1741
Symbol 104 MovieClip {fl.core.ComponentShim}Used by:127 128 1475 1529 1530 1738 1739 1740 1741
Symbol 105 MovieClip {focusRectSkin}Used by:127 128 1475 1529 1530 1739 1740 1741
Symbol 106 GraphicUsed by:108
Symbol 107 GraphicUsed by:108 110 112 114 116 118 120 122 1508 1511 1514 1522
Symbol 108 MovieClip {NumericStepperDownArrow_disabledSkin}Uses:106 107Used by:128
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClip {NumericStepperDownArrow_downSkin}Uses:109 107Used by:128
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClip {NumericStepperDownArrow_overSkin}Uses:111 107Used by:128
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClip {NumericStepperDownArrow_upSkin}Uses:113 107Used by:128
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClip {NumericStepperUpArrow_disabledSkin}Uses:115 107Used by:128
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClip {NumericStepperUpArrow_downSkin}Uses:117 107Used by:128
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClip {NumericStepperUpArrow_overSkin}Uses:119 107Used by:128
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClip {NumericStepperUpArrow_upSkin}Uses:121 107Used by:128
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClip {TextInput_disabledSkin}Uses:123Used by:127
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClip {TextInput_upSkin}Uses:125Used by:127
Symbol 127 MovieClip {fl.controls.TextInput}Uses:103 104 124 126 105Used by:128 1741
Symbol 128 MovieClip {fl.controls.NumericStepper}Uses:103 104 105 108 110 112 114 116 118 120 122 127
Symbol 129 GraphicUsed by:130 2444 2474 2657 2687  Timeline
Symbol 130 ButtonUses:129Used by:681 685
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:677
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:677
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:677
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:677
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:677
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:677
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:677
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:677
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:677
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:677
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:677
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:677
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:677
Symbol 157 BitmapUsed by:158
Symbol 158 GraphicUses:157Used by:677
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:677
Symbol 161 BitmapUsed by:162
Symbol 162 GraphicUses:161Used by:677
Symbol 163 BitmapUsed by:164
Symbol 164 GraphicUses:163Used by:677
Symbol 165 BitmapUsed by:166
Symbol 166 GraphicUses:165Used by:677
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:677
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:169Used by:677
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:171Used by:677
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:173Used by:677
Symbol 175 BitmapUsed by:176
Symbol 176 GraphicUses:175Used by:677
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:677
Symbol 179 BitmapUsed by:180
Symbol 180 GraphicUses:179Used by:677
Symbol 181 BitmapUsed by:182
Symbol 182 GraphicUses:181Used by:677
Symbol 183 BitmapUsed by:184
Symbol 184 GraphicUses:183Used by:677
Symbol 185 BitmapUsed by:186
Symbol 186 GraphicUses:185Used by:677
Symbol 187 BitmapUsed by:188
Symbol 188 GraphicUses:187Used by:677
Symbol 189 BitmapUsed by:190
Symbol 190 GraphicUses:189Used by:677
Symbol 191 BitmapUsed by:192
Symbol 192 GraphicUses:191Used by:677
Symbol 193 BitmapUsed by:194
Symbol 194 GraphicUses:193Used by:677
Symbol 195 BitmapUsed by:196
Symbol 196 GraphicUses:195Used by:677
Symbol 197 BitmapUsed by:198
Symbol 198 GraphicUses:197Used by:677
Symbol 199 BitmapUsed by:200
Symbol 200 GraphicUses:199Used by:677
Symbol 201 BitmapUsed by:202
Symbol 202 GraphicUses:201Used by:677
Symbol 203 BitmapUsed by:204
Symbol 204 GraphicUses:203Used by:677
Symbol 205 BitmapUsed by:206
Symbol 206 GraphicUses:205Used by:677
Symbol 207 BitmapUsed by:208
Symbol 208 GraphicUses:207Used by:677
Symbol 209 BitmapUsed by:210
Symbol 210 GraphicUses:209Used by:677
Symbol 211 BitmapUsed by:212
Symbol 212 GraphicUses:211Used by:677
Symbol 213 BitmapUsed by:214
Symbol 214 GraphicUses:213Used by:677
Symbol 215 BitmapUsed by:216
Symbol 216 GraphicUses:215Used by:677
Symbol 217 BitmapUsed by:218
Symbol 218 GraphicUses:217Used by:677
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:677
Symbol 221 BitmapUsed by:222
Symbol 222 GraphicUses:221Used by:677
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:677
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:677
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:677
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:677
Symbol 231 BitmapUsed by:232
Symbol 232 GraphicUses:231Used by:677
Symbol 233 BitmapUsed by:234
Symbol 234 GraphicUses:233Used by:677
Symbol 235 BitmapUsed by:236
Symbol 236 GraphicUses:235Used by:677
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:237Used by:677
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:677
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:241Used by:677
Symbol 243 BitmapUsed by:244
Symbol 244 GraphicUses:243Used by:677
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:245Used by:677
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:247Used by:677
Symbol 249 BitmapUsed by:250
Symbol 250 GraphicUses:249Used by:677
Symbol 251 BitmapUsed by:252
Symbol 252 GraphicUses:251Used by:677
Symbol 253 BitmapUsed by:254
Symbol 254 GraphicUses:253Used by:677
Symbol 255 BitmapUsed by:256
Symbol 256 GraphicUses:255Used by:677
Symbol 257 BitmapUsed by:258
Symbol 258 GraphicUses:257Used by:677
Symbol 259 BitmapUsed by:260
Symbol 260 GraphicUses:259Used by:677
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:677
Symbol 263 BitmapUsed by:264
Symbol 264 GraphicUses:263Used by:677
Symbol 265 BitmapUsed by:266
Symbol 266 GraphicUses:265Used by:677
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:677
Symbol 269 BitmapUsed by:270
Symbol 270 GraphicUses:269Used by:677
Symbol 271 BitmapUsed by:272
Symbol 272 GraphicUses:271Used by:677
Symbol 273 BitmapUsed by:274
Symbol 274 GraphicUses:273Used by:677
Symbol 275 BitmapUsed by:276
Symbol 276 GraphicUses:275Used by:677
Symbol 277 BitmapUsed by:278
Symbol 278 GraphicUses:277Used by:677
Symbol 279 BitmapUsed by:280
Symbol 280 GraphicUses:279Used by:677
Symbol 281 BitmapUsed by:282
Symbol 282 GraphicUses:281Used by:677
Symbol 283 BitmapUsed by:284
Symbol 284 GraphicUses:283Used by:677
Symbol 285 BitmapUsed by:286
Symbol 286 GraphicUses:285Used by:677
Symbol 287 BitmapUsed by:288
Symbol 288 GraphicUses:287Used by:677
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:289Used by:677
Symbol 291 BitmapUsed by:292
Symbol 292 GraphicUses:291Used by:677
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:293Used by:677
Symbol 295 BitmapUsed by:296
Symbol 296 GraphicUses:295Used by:677
Symbol 297 BitmapUsed by:298
Symbol 298 GraphicUses:297Used by:677
Symbol 299 BitmapUsed by:300
Symbol 300 GraphicUses:299Used by:677
Symbol 301 BitmapUsed by:302
Symbol 302 GraphicUses:301Used by:677
Symbol 303 BitmapUsed by:304
Symbol 304 GraphicUses:303Used by:677
Symbol 305 BitmapUsed by:306
Symbol 306 GraphicUses:305Used by:677
Symbol 307 BitmapUsed by:308
Symbol 308 GraphicUses:307Used by:677
Symbol 309 BitmapUsed by:310
Symbol 310 GraphicUses:309Used by:677
Symbol 311 BitmapUsed by:312
Symbol 312 GraphicUses:311Used by:677
Symbol 313 BitmapUsed by:314
Symbol 314 GraphicUses:313Used by:677
Symbol 315 BitmapUsed by:316
Symbol 316 GraphicUses:315Used by:677
Symbol 317 BitmapUsed by:318
Symbol 318 GraphicUses:317Used by:677
Symbol 319 BitmapUsed by:320
Symbol 320 GraphicUses:319Used by:677
Symbol 321 BitmapUsed by:322
Symbol 322 GraphicUses:321Used by:677
Symbol 323 BitmapUsed by:324
Symbol 324 GraphicUses:323Used by:677
Symbol 325 BitmapUsed by:326
Symbol 326 GraphicUses:325Used by:677
Symbol 327 BitmapUsed by:328
Symbol 328 GraphicUses:327Used by:677
Symbol 329 BitmapUsed by:330
Symbol 330 GraphicUses:329Used by:677
Symbol 331 BitmapUsed by:332
Symbol 332 GraphicUses:331Used by:677
Symbol 333 BitmapUsed by:334
Symbol 334 GraphicUses:333Used by:677
Symbol 335 BitmapUsed by:336
Symbol 336 GraphicUses:335Used by:677
Symbol 337 BitmapUsed by:338
Symbol 338 GraphicUses:337Used by:677
Symbol 339 BitmapUsed by:340
Symbol 340 GraphicUses:339Used by:677
Symbol 341 BitmapUsed by:342
Symbol 342 GraphicUses:341Used by:677
Symbol 343 BitmapUsed by:344
Symbol 344 GraphicUses:343Used by:677
Symbol 345 BitmapUsed by:346
Symbol 346 GraphicUses:345Used by:677
Symbol 347 BitmapUsed by:348
Symbol 348 GraphicUses:347Used by:677
Symbol 349 BitmapUsed by:350
Symbol 350 GraphicUses:349Used by:677
Symbol 351 BitmapUsed by:352
Symbol 352 GraphicUses:351Used by:677
Symbol 353 BitmapUsed by:354
Symbol 354 GraphicUses:353Used by:677
Symbol 355 BitmapUsed by:356
Symbol 356 GraphicUses:355Used by:677
Symbol 357 BitmapUsed by:358
Symbol 358 GraphicUses:357Used by:677
Symbol 359 BitmapUsed by:360
Symbol 360 GraphicUses:359Used by:677
Symbol 361 BitmapUsed by:362
Symbol 362 GraphicUses:361Used by:677
Symbol 363 BitmapUsed by:364
Symbol 364 GraphicUses:363Used by:677
Symbol 365 BitmapUsed by:366
Symbol 366 GraphicUses:365Used by:677
Symbol 367 BitmapUsed by:368
Symbol 368 GraphicUses:367Used by:677
Symbol 369 BitmapUsed by:370
Symbol 370 GraphicUses:369Used by:677
Symbol 371 BitmapUsed by:372
Symbol 372 GraphicUses:371Used by:677
Symbol 373 BitmapUsed by:374
Symbol 374 GraphicUses:373Used by:677
Symbol 375 BitmapUsed by:376
Symbol 376 GraphicUses:375Used by:677
Symbol 377 BitmapUsed by:378
Symbol 378 GraphicUses:377Used by:677
Symbol 379 BitmapUsed by:380
Symbol 380 GraphicUses:379Used by:677
Symbol 381 BitmapUsed by:382
Symbol 382 GraphicUses:381Used by:677
Symbol 383 BitmapUsed by:384
Symbol 384 GraphicUses:383Used by:677
Symbol 385 BitmapUsed by:386
Symbol 386 GraphicUses:385Used by:677
Symbol 387 BitmapUsed by:388
Symbol 388 GraphicUses:387Used by:677
Symbol 389 BitmapUsed by:390
Symbol 390 GraphicUses:389Used by:677
Symbol 391 BitmapUsed by:392
Symbol 392 GraphicUses:391Used by:677
Symbol 393 BitmapUsed by:394
Symbol 394 GraphicUses:393Used by:677
Symbol 395 BitmapUsed by:396
Symbol 396 GraphicUses:395Used by:677
Symbol 397 BitmapUsed by:398
Symbol 398 GraphicUses:397Used by:677
Symbol 399 BitmapUsed by:400
Symbol 400 GraphicUses:399Used by:677
Symbol 401 BitmapUsed by:402
Symbol 402 GraphicUses:401Used by:677
Symbol 403 BitmapUsed by:404
Symbol 404 GraphicUses:403Used by:677
Symbol 405 BitmapUsed by:406
Symbol 406 GraphicUses:405Used by:677
Symbol 407 BitmapUsed by:408
Symbol 408 GraphicUses:407Used by:677
Symbol 409 BitmapUsed by:410
Symbol 410 GraphicUses:409Used by:677
Symbol 411 BitmapUsed by:412
Symbol 412 GraphicUses:411Used by:677
Symbol 413 BitmapUsed by:414
Symbol 414 GraphicUses:413Used by:677
Symbol 415 BitmapUsed by:416
Symbol 416 GraphicUses:415Used by:677
Symbol 417 BitmapUsed by:418
Symbol 418 GraphicUses:417Used by:677
Symbol 419 BitmapUsed by:420
Symbol 420 GraphicUses:419Used by:677
Symbol 421 BitmapUsed by:422
Symbol 422 GraphicUses:421Used by:677
Symbol 423 BitmapUsed by:424
Symbol 424 GraphicUses:423Used by:677
Symbol 425 BitmapUsed by:426
Symbol 426 GraphicUses:425Used by:677
Symbol 427 BitmapUsed by:428
Symbol 428 GraphicUses:427Used by:677
Symbol 429 BitmapUsed by:430
Symbol 430 GraphicUses:429Used by:677
Symbol 431 BitmapUsed by:432
Symbol 432 GraphicUses:431Used by:677
Symbol 433 BitmapUsed by:434
Symbol 434 GraphicUses:433Used by:677
Symbol 435 BitmapUsed by:436
Symbol 436 GraphicUses:435Used by:677
Symbol 437 BitmapUsed by:438
Symbol 438 GraphicUses:437Used by:677
Symbol 439 BitmapUsed by:440
Symbol 440 GraphicUses:439Used by:677
Symbol 441 BitmapUsed by:442
Symbol 442 GraphicUses:441Used by:677
Symbol 443 BitmapUsed by:444
Symbol 444 GraphicUses:443Used by:677
Symbol 445 BitmapUsed by:446
Symbol 446 GraphicUses:445Used by:677
Symbol 447 BitmapUsed by:448
Symbol 448 GraphicUses:447Used by:677
Symbol 449 BitmapUsed by:450
Symbol 450 GraphicUses:449Used by:677
Symbol 451 BitmapUsed by:452
Symbol 452 GraphicUses:451Used by:677
Symbol 453 BitmapUsed by:454
Symbol 454 GraphicUses:453Used by:677
Symbol 455 BitmapUsed by:456
Symbol 456 GraphicUses:455Used by:677
Symbol 457 BitmapUsed by:458
Symbol 458 GraphicUses:457Used by:677
Symbol 459 BitmapUsed by:460
Symbol 460 GraphicUses:459Used by:677
Symbol 461 BitmapUsed by:462
Symbol 462 GraphicUses:461Used by:677
Symbol 463 BitmapUsed by:464
Symbol 464 GraphicUses:463Used by:677
Symbol 465 BitmapUsed by:466
Symbol 466 GraphicUses:465Used by:677
Symbol 467 BitmapUsed by:468
Symbol 468 GraphicUses:467Used by:677
Symbol 469 BitmapUsed by:470
Symbol 470 GraphicUses:469Used by:677
Symbol 471 BitmapUsed by:472
Symbol 472 GraphicUses:471Used by:677
Symbol 473 BitmapUsed by:474
Symbol 474 GraphicUses:473Used by:677
Symbol 475 BitmapUsed by:476
Symbol 476 GraphicUses:475Used by:677
Symbol 477 BitmapUsed by:478
Symbol 478 GraphicUses:477Used by:677
Symbol 479 BitmapUsed by:480
Symbol 480 GraphicUses:479Used by:677
Symbol 481 BitmapUsed by:482
Symbol 482 GraphicUses:481Used by:677
Symbol 483 BitmapUsed by:484
Symbol 484 GraphicUses:483Used by:677
Symbol 485 BitmapUsed by:486
Symbol 486 GraphicUses:485Used by:677
Symbol 487 BitmapUsed by:488
Symbol 488 GraphicUses:487Used by:677
Symbol 489 BitmapUsed by:490
Symbol 490 GraphicUses:489Used by:677
Symbol 491 BitmapUsed by:492
Symbol 492 GraphicUses:491Used by:677
Symbol 493 BitmapUsed by:494
Symbol 494 GraphicUses:493Used by:677
Symbol 495 BitmapUsed by:496
Symbol 496 GraphicUses:495Used by:677
Symbol 497 BitmapUsed by:498
Symbol 498 GraphicUses:497Used by:677
Symbol 499 BitmapUsed by:500
Symbol 500 GraphicUses:499Used by:677
Symbol 501 BitmapUsed by:502
Symbol 502 GraphicUses:501Used by:677
Symbol 503 BitmapUsed by:504
Symbol 504 GraphicUses:503Used by:677
Symbol 505 BitmapUsed by:506
Symbol 506 GraphicUses:505Used by:677
Symbol 507 BitmapUsed by:508
Symbol 508 GraphicUses:507Used by:677
Symbol 509 BitmapUsed by:510
Symbol 510 GraphicUses:509Used by:677
Symbol 511 BitmapUsed by:512
Symbol 512 GraphicUses:511Used by:677
Symbol 513 BitmapUsed by:514
Symbol 514 GraphicUses:513Used by:677
Symbol 515 BitmapUsed by:516
Symbol 516 GraphicUses:515Used by:677
Symbol 517 BitmapUsed by:518
Symbol 518 GraphicUses:517Used by:677
Symbol 519 BitmapUsed by:520
Symbol 520 GraphicUses:519Used by:677
Symbol 521 BitmapUsed by:522
Symbol 522 GraphicUses:521Used by:677
Symbol 523 BitmapUsed by:524
Symbol 524 GraphicUses:523Used by:677
Symbol 525 BitmapUsed by:526
Symbol 526 GraphicUses:525Used by:677
Symbol 527 BitmapUsed by:528
Symbol 528 GraphicUses:527Used by:677
Symbol 529 BitmapUsed by:530
Symbol 530 GraphicUses:529Used by:677
Symbol 531 BitmapUsed by:532
Symbol 532 GraphicUses:531Used by:677
Symbol 533 BitmapUsed by:534
Symbol 534 GraphicUses:533Used by:677
Symbol 535 BitmapUsed by:536
Symbol 536 GraphicUses:535Used by:677
Symbol 537 BitmapUsed by:538
Symbol 538 GraphicUses:537Used by:677
Symbol 539 BitmapUsed by:540
Symbol 540 GraphicUses:539Used by:677
Symbol 541 BitmapUsed by:542
Symbol 542 GraphicUses:541Used by:677
Symbol 543 BitmapUsed by:544
Symbol 544 GraphicUses:543Used by:677
Symbol 545 BitmapUsed by:546
Symbol 546 GraphicUses:545Used by:677
Symbol 547 BitmapUsed by:548
Symbol 548 GraphicUses:547Used by:677
Symbol 549 BitmapUsed by:550
Symbol 550 GraphicUses:549Used by:677
Symbol 551 BitmapUsed by:552
Symbol 552 GraphicUses:551Used by:677
Symbol 553 BitmapUsed by:554
Symbol 554 GraphicUses:553Used by:677
Symbol 555 BitmapUsed by:556
Symbol 556 GraphicUses:555Used by:677
Symbol 557 BitmapUsed by:558
Symbol 558 GraphicUses:557Used by:677
Symbol 559 BitmapUsed by:560
Symbol 560 GraphicUses:559Used by:677
Symbol 561 BitmapUsed by:562
Symbol 562 GraphicUses:561Used by:677
Symbol 563 BitmapUsed by:564
Symbol 564 GraphicUses:563Used by:677
Symbol 565 BitmapUsed by:566
Symbol 566 GraphicUses:565Used by:677
Symbol 567 BitmapUsed by:568
Symbol 568 GraphicUses:567Used by:677
Symbol 569 BitmapUsed by:570
Symbol 570 GraphicUses:569Used by:677
Symbol 571 BitmapUsed by:572
Symbol 572 GraphicUses:571Used by:677
Symbol 573 BitmapUsed by:574
Symbol 574 GraphicUses:573Used by:677
Symbol 575 BitmapUsed by:576
Symbol 576 GraphicUses:575Used by:677
Symbol 577 BitmapUsed by:578
Symbol 578 GraphicUses:577Used by:677
Symbol 579 BitmapUsed by:580
Symbol 580 GraphicUses:579Used by:677
Symbol 581 BitmapUsed by:582
Symbol 582 GraphicUses:581Used by:677
Symbol 583 BitmapUsed by:584
Symbol 584 GraphicUses:583Used by:677
Symbol 585 BitmapUsed by:586
Symbol 586 GraphicUses:585Used by:677
Symbol 587 BitmapUsed by:588
Symbol 588 GraphicUses:587Used by:677
Symbol 589 BitmapUsed by:590
Symbol 590 GraphicUses:589Used by:677
Symbol 591 BitmapUsed by:592
Symbol 592 GraphicUses:591Used by:677
Symbol 593 BitmapUsed by:594
Symbol 594 GraphicUses:593Used by:677
Symbol 595 BitmapUsed by:596
Symbol 596 GraphicUses:595Used by:677
Symbol 597 BitmapUsed by:598
Symbol 598 GraphicUses:597Used by:677
Symbol 599 BitmapUsed by:600
Symbol 600 GraphicUses:599Used by:677
Symbol 601 BitmapUsed by:602
Symbol 602 GraphicUses:601Used by:677
Symbol 603 BitmapUsed by:604
Symbol 604 GraphicUses:603Used by:677
Symbol 605 BitmapUsed by:606
Symbol 606 GraphicUses:605Used by:677
Symbol 607 BitmapUsed by:608
Symbol 608 GraphicUses:607Used by:677
Symbol 609 BitmapUsed by:610
Symbol 610 GraphicUses:609Used by:677
Symbol 611 BitmapUsed by:612
Symbol 612 GraphicUses:611Used by:677
Symbol 613 BitmapUsed by:614
Symbol 614 GraphicUses:613Used by:677
Symbol 615 BitmapUsed by:616
Symbol 616 GraphicUses:615Used by:677
Symbol 617 BitmapUsed by:618
Symbol 618 GraphicUses:617Used by:677
Symbol 619 BitmapUsed by:620
Symbol 620 GraphicUses:619Used by:677
Symbol 621 BitmapUsed by:622
Symbol 622 GraphicUses:621Used by:677
Symbol 623 BitmapUsed by:624
Symbol 624 GraphicUses:623Used by:677
Symbol 625 BitmapUsed by:626
Symbol 626 GraphicUses:625Used by:677
Symbol 627 BitmapUsed by:628
Symbol 628 GraphicUses:627Used by:677
Symbol 629 BitmapUsed by:630
Symbol 630 GraphicUses:629Used by:677
Symbol 631 BitmapUsed by:632
Symbol 632 GraphicUses:631Used by:677
Symbol 633 BitmapUsed by:634
Symbol 634 GraphicUses:633Used by:677
Symbol 635 BitmapUsed by:636
Symbol 636 GraphicUses:635Used by:677
Symbol 637 BitmapUsed by:638
Symbol 638 GraphicUses:637Used by:677
Symbol 639 BitmapUsed by:640
Symbol 640 GraphicUses:639Used by:677
Symbol 641 BitmapUsed by:642
Symbol 642 GraphicUses:641Used by:677
Symbol 643 BitmapUsed by:644
Symbol 644 GraphicUses:643Used by:677
Symbol 645 BitmapUsed by:646
Symbol 646 GraphicUses:645Used by:677
Symbol 647 BitmapUsed by:648
Symbol 648 GraphicUses:647Used by:677
Symbol 649 BitmapUsed by:650
Symbol 650 GraphicUses:649Used by:677
Symbol 651 BitmapUsed by:652
Symbol 652 GraphicUses:651Used by:677
Symbol 653 BitmapUsed by:654
Symbol 654 GraphicUses:653Used by:677
Symbol 655 BitmapUsed by:656
Symbol 656 GraphicUses:655Used by:677
Symbol 657 BitmapUsed by:658
Symbol 658 GraphicUses:657Used by:677
Symbol 659 BitmapUsed by:660
Symbol 660 GraphicUses:659Used by:677
Symbol 661 BitmapUsed by:662
Symbol 662 GraphicUses:661Used by:677
Symbol 663 BitmapUsed by:664
Symbol 664 GraphicUses:663Used by:677
Symbol 665 BitmapUsed by:666
Symbol 666 GraphicUses:665Used by:677
Symbol 667 BitmapUsed by:668
Symbol 668 GraphicUses:667Used by:677
Symbol 669 BitmapUsed by:670
Symbol 670 GraphicUses:669Used by:677
Symbol 671 BitmapUsed by:672
Symbol 672 GraphicUses:671Used by:677
Symbol 673 BitmapUsed by:674
Symbol 674 GraphicUses:673Used by:677
Symbol 675 BitmapUsed by:676
Symbol 676 GraphicUses:675Used by:677
Symbol 677 MovieClip {charaPic}Uses:132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 178 180 182 184 186 188 190 192 194 196 198 200 202 204 206 208 210 212 214 216 218 220 222 224 226 228 230 232 234 236 238 240 242 244 246 248 250 252 254 256 258 260 262 264 266 268 270 272 274 276 278 280 282 284 286 288 290 292 294 296 298 300 302 304 306 308 310 312 314 316 318 320 322 324 326 328 330 332 334 336 338 340 342 344 346 348 350 352 354 356 358 360 362 364 366 368 370 372 374 376 378 380 382 384 386 388 390 392 394 396 398 400 402 404 406 408 410 412 414 416 418 420 422 424 426 428 430 432 434 436 438 440 442 444 446 448 450 452 454 456 458 460 462 464 466 468 470 472 474 476 478 480 482 484 486 488 490 492 494 496 498 500 502 504 506 508 510 512 514 516 518 520 522 524 526 528 530 532 534 536 538 540 542 544 546 548 550 552 554 556 558 560 562 564 566 568 570 572 574 576 578 580 582 584 586 588 590 592 594 596 598 600 602 604 606 608 610 612 614 616 618 620 622 624 626 628 630 632 634 636 638 640 642 644 646 648 650 652 654 656 658 660 662 664 666 668 670 672 674 676Used by:681 685 687 838
Symbol 678 BitmapUsed by:679
Symbol 679 GraphicUses:678Used by:680
Symbol 680 MovieClipUses:679Used by:681 685 687 763 838 883 910 945 952 964 981 993 1020 1063 1092 1118 1164 1211 1247 1295 1340 1363 1384 2528 2549 2570 2586 2634
Symbol 681 MovieClip {ally4}Uses:130 677 680
Symbol 682 FontUsed by:683 684 686 1485 1486 1488 1489 1491 1492 1537 1545 1546 1553 1554 1555 1556 1557 1558 1559 1562 1572 1574 1576 1598 1622 1623 1624 1625 1627 1628 1629 1630 1639 1648 1652 1653 1657 1698 1706 1707 1708 1712 1743 1755 1770 1774 1775 1777 1778 1782 1783 1784 1785 1787 1789 1791 1809 1828 1843 1849 1855 1867 1870 1872 1876 1880 1881 1883 1892 1893 1907 1908 1909 1912 1936 1938 1940 1941 1943 1997 2119 2124 2125 2126 2128 2133 2134 2135 2145 2149 2150 2153 2154 2288 2293 2294 2295 2298 2301 2302 2303 2305 2306 2311 2342 2388 2428 2433 2434 2436 2437 2502 2652 2736 2737 2738 2739 2742 2743 2746 2747 2750 2751 2791
Symbol 683 EditableTextUses:682 1609Used by:685
Symbol 684 EditableTextUses:682 1609Used by:685
Symbol 685 MovieClip {ally3}Uses:130 677 683 684 680
Symbol 686 EditableTextUses:682 1609Used by:687
Symbol 687 MovieClip {ally2}Uses:686 680 677
Symbol 688 BitmapUsed by:689
Symbol 689 GraphicUses:688Used by:752
Symbol 690 BitmapUsed by:691
Symbol 691 GraphicUses:690Used by:752
Symbol 692 BitmapUsed by:693
Symbol 693 GraphicUses:692Used by:752
Symbol 694 BitmapUsed by:695
Symbol 695 GraphicUses:694Used by:752
Symbol 696 BitmapUsed by:697
Symbol 697 GraphicUses:696Used by:752
Symbol 698 BitmapUsed by:699
Symbol 699 GraphicUses:698Used by:752
Symbol 700 BitmapUsed by:701
Symbol 701 GraphicUses:700Used by:752
Symbol 702 BitmapUsed by:703
Symbol 703 GraphicUses:702Used by:752
Symbol 704 BitmapUsed by:705
Symbol 705 GraphicUses:704Used by:752
Symbol 706 BitmapUsed by:707
Symbol 707 GraphicUses:706Used by:752
Symbol 708 BitmapUsed by:709
Symbol 709 GraphicUses:708Used by:752
Symbol 710 BitmapUsed by:711
Symbol 711 GraphicUses:710Used by:752
Symbol 712 BitmapUsed by:713
Symbol 713 GraphicUses:712Used by:752
Symbol 714 BitmapUsed by:715
Symbol 715 GraphicUses:714Used by:752
Symbol 716 BitmapUsed by:717
Symbol 717 GraphicUses:716Used by:752
Symbol 718 BitmapUsed by:719
Symbol 719 GraphicUses:718Used by:752
Symbol 720 BitmapUsed by:721
Symbol 721 GraphicUses:720Used by:752
Symbol 722 BitmapUsed by:723
Symbol 723 GraphicUses:722Used by:752
Symbol 724 BitmapUsed by:725
Symbol 725 GraphicUses:724Used by:752
Symbol 726 BitmapUsed by:727
Symbol 727 GraphicUses:726Used by:752
Symbol 728 BitmapUsed by:729
Symbol 729 GraphicUses:728Used by:752
Symbol 730 BitmapUsed by:731
Symbol 731 GraphicUses:730Used by:752
Symbol 732 BitmapUsed by:733
Symbol 733 GraphicUses:732Used by:752
Symbol 734 BitmapUsed by:735
Symbol 735 GraphicUses:734Used by:752
Symbol 736 BitmapUsed by:737
Symbol 737 GraphicUses:736Used by:752
Symbol 738 BitmapUsed by:739
Symbol 739 GraphicUses:738Used by:752
Symbol 740 BitmapUsed by:741
Symbol 741 GraphicUses:740Used by:752
Symbol 742 BitmapUsed by:743
Symbol 743 GraphicUses:742Used by:752
Symbol 744 BitmapUsed by:745
Symbol 745 GraphicUses:744Used by:752
Symbol 746 BitmapUsed by:747
Symbol 747 GraphicUses:746Used by:752
Symbol 748 BitmapUsed by:749
Symbol 749 GraphicUses:748Used by:752
Symbol 750 BitmapUsed by:751
Symbol 751 GraphicUses:750Used by:752
Symbol 752 MovieClipUses:689 691 693 695 697 699 701 703 705 707 709 711 713 715 717 719 721 723 725 727 729 731 733 735 737 739 741 743 745 747 749 751Used by:763
Symbol 753 BitmapUsed by:754
Symbol 754 GraphicUses:753Used by:763
Symbol 755 GraphicUsed by:763
Symbol 756 GraphicUsed by:763
Symbol 757 GraphicUsed by:763
Symbol 758 GraphicUsed by:763
Symbol 759 GraphicUsed by:763
Symbol 760 GraphicUsed by:763
Symbol 761 GraphicUsed by:763
Symbol 762 GraphicUsed by:763
Symbol 763 MovieClip {runner}Uses:680 752 754 755 756 757 758 759 760 761 762
Symbol 764 BitmapUsed by:765 767 768 769 770 771 772 773
Symbol 765 GraphicUses:764Used by:838
Symbol 766 BitmapUsed by:767 768 786 787 795 796 803 804 805 2269 2270 2645 2647 2648
Symbol 767 GraphicUses:766 764Used by:838
Symbol 768 GraphicUses:766 764Used by:838
Symbol 769 GraphicUses:764Used by:838
Symbol 770 GraphicUses:764Used by:838
Symbol 771 GraphicUses:764Used by:838
Symbol 772 GraphicUses:764Used by:838
Symbol 773 GraphicUses:764Used by:838
Symbol 774 BitmapUsed by:775 776 777 778 779 780 781 782 783
Symbol 775 GraphicUses:774Used by:838
Symbol 776 GraphicUses:774Used by:838
Symbol 777 GraphicUses:774Used by:838
Symbol 778 GraphicUses:774Used by:838
Symbol 779 GraphicUses:774Used by:838
Symbol 780 GraphicUses:774Used by:838
Symbol 781 GraphicUses:774Used by:838
Symbol 782 GraphicUses:774Used by:838
Symbol 783 GraphicUses:774Used by:838
Symbol 784 BitmapUsed by:785 786 787 788 789 790 791 792
Symbol 785 GraphicUses:784Used by:838
Symbol 786 GraphicUses:766 784Used by:838
Symbol 787 GraphicUses:766 784Used by:838
Symbol 788 GraphicUses:784Used by:838
Symbol 789 GraphicUses:784Used by:838
Symbol 790 GraphicUses:784Used by:838
Symbol 791 GraphicUses:784Used by:838
Symbol 792 GraphicUses:784Used by:838
Symbol 793 BitmapUsed by:794 795 796 797 798 799 800 801
Symbol 794 GraphicUses:793Used by:838
Symbol 795 GraphicUses:766 793Used by:838
Symbol 796 GraphicUses:766 793Used by:838
Symbol 797 GraphicUses:793Used by:838
Symbol 798 GraphicUses:793Used by:838
Symbol 799 GraphicUses:793Used by:838
Symbol 800 GraphicUses:793Used by:838
Symbol 801 GraphicUses:793Used by:838
Symbol 802 BitmapUsed by:803 804 805 806 807 808 809 810
Symbol 803 GraphicUses:766 802Used by:838
Symbol 804 GraphicUses:802 766Used by:838
Symbol 805 GraphicUses:802 766Used by:838
Symbol 806 GraphicUses:802Used by:838
Symbol 807 GraphicUses:802Used by:838
Symbol 808 GraphicUses:802Used by:838
Symbol 809 GraphicUses:802Used by:838
Symbol 810 GraphicUses:802Used by:838
Symbol 811 BitmapUsed by:812 813 814 815 816 817 818
Symbol 812 GraphicUses:811Used by:838
Symbol 813 GraphicUses:811Used by:838
Symbol 814 GraphicUses:811Used by:838
Symbol 815 GraphicUses:811Used by:838
Symbol 816 GraphicUses:811Used by:838
Symbol 817 GraphicUses:811Used by:838
Symbol 818 GraphicUses:811Used by:838
Symbol 819 BitmapUsed by:820 821 822 823
Symbol 820 GraphicUses:819Used by:838
Symbol 821 GraphicUses:819Used by:838
Symbol 822 GraphicUses:819Used by:838
Symbol 823 GraphicUses:819Used by:838
Symbol 824 BitmapUsed by:825 826
Symbol 825 GraphicUses:824Used by:838
Symbol 826 GraphicUses:824Used by:838
Symbol 827 BitmapUsed by:828 829 830 831 832 1386 1387 1388 1389 1390 1391
Symbol 828 GraphicUses:827Used by:833
Symbol 829 GraphicUses:827Used by:833
Symbol 830 GraphicUses:827Used by:833
Symbol 831 GraphicUses:827Used by:833
Symbol 832 GraphicUses:827Used by:833
Symbol 833 MovieClipUses:828 829 830 831 832Used by:838
Symbol 834 ShapeTweeningUsed by:838
Symbol 835 GraphicUsed by:838
Symbol 836 ShapeTweeningUsed by:838
Symbol 837 GraphicUsed by:838
Symbol 838 MovieClip {ally1}Uses:680 677 765 767 768 769 770 771 772 773 775 776 777 778 779 780 781 782 783 785 786 787 788 789 790 791 792 794 795 796 797 798 799 800 801 803 804 805 806 807 808 809 810 812 813 814 815 816 817 818 820 821 822 823 825 826 833 834 835 836 837
Symbol 839 BitmapUsed by:840
Symbol 840 GraphicUses:839Used by:883
Symbol 841 BitmapUsed by:842
Symbol 842 GraphicUses:841Used by:883
Symbol 843 BitmapUsed by:844
Symbol 844 GraphicUses:843Used by:883
Symbol 845 BitmapUsed by:846
Symbol 846 GraphicUses:845Used by:883
Symbol 847 BitmapUsed by:848 849 850
Symbol 848 GraphicUses:847Used by:883
Symbol 849 GraphicUses:847Used by:883
Symbol 850 GraphicUses:847Used by:883
Symbol 851 BitmapUsed by:852 853 854 862
Symbol 852 GraphicUses:851Used by:883
Symbol 853 GraphicUses:851Used by:883
Symbol 854 GraphicUses:851Used by:883
Symbol 855 BitmapUsed by:856 857 858 859 860 861
Symbol 856 GraphicUses:855Used by:883
Symbol 857 GraphicUses:855Used by:883
Symbol 858 GraphicUses:855Used by:883
Symbol 859 GraphicUses:855Used by:883
Symbol 860 GraphicUses:855Used by:883
Symbol 861 GraphicUses:855Used by:883
Symbol 862 GraphicUses:851Used by:883
Symbol 863 BitmapUsed by:864 865 866 867 868
Symbol 864 GraphicUses:863Used by:883
Symbol 865 GraphicUses:863Used by:883
Symbol 866 GraphicUses:863Used by:883
Symbol 867 GraphicUses:863Used by:883
Symbol 868 GraphicUses:863Used by:883 2236
Symbol 869 BitmapUsed by:870
Symbol 870 GraphicUses:869Used by:883
Symbol 871 BitmapUsed by:872
Symbol 872 GraphicUses:871Used by:883
Symbol 873 BitmapUsed by:874 875 876 877
Symbol 874 GraphicUses:873Used by:883
Symbol 875 GraphicUses:873Used by:883
Symbol 876 GraphicUses:873Used by:883
Symbol 877 GraphicUses:873Used by:883
Symbol 878 GraphicUsed by:883 910 945 952 964 981 1063 1092 1211 1247 1295 1340 1363 2634
Symbol 879 BitmapUsed by:880
Symbol 880 GraphicUses:879Used by:883
Symbol 881 BitmapUsed by:882
Symbol 882 GraphicUses:881Used by:883 910 964 981 993 1020 1063 1092
Symbol 883 MovieClip {enemy_lava}Uses:680 840 842 844 846 848 849 850 852 853 854 856 857 858 859 860 861 862 864 865 866 867 868 870 872 874 875 876 877 878 880 882
Symbol 884 BitmapUsed by:885
Symbol 885 GraphicUses:884Used by:910
Symbol 886 BitmapUsed by:887
Symbol 887 GraphicUses:886Used by:910
Symbol 888 BitmapUsed by:889
Symbol 889 GraphicUses:888Used by:910
Symbol 890 BitmapUsed by:891
Symbol 891 GraphicUses:890Used by:910
Symbol 892 BitmapUsed by:893
Symbol 893 GraphicUses:892Used by:910
Symbol 894 BitmapUsed by:895
Symbol 895 GraphicUses:894Used by:910
Symbol 896 BitmapUsed by:897
Symbol 897 GraphicUses:896Used by:910
Symbol 898 BitmapUsed by:899
Symbol 899 GraphicUses:898Used by:910
Symbol 900 BitmapUsed by:901
Symbol 901 GraphicUses:900Used by:910
Symbol 902 BitmapUsed by:903
Symbol 903 GraphicUses:902Used by:910
Symbol 904 BitmapUsed by:905
Symbol 905 GraphicUses:904Used by:910
Symbol 906 BitmapUsed by:907
Symbol 907 GraphicUses:906Used by:910
Symbol 908 BitmapUsed by:909
Symbol 909 GraphicUses:908Used by:910
Symbol 910 MovieClip {enemy_sheep}Uses:680 885 887 889 891 893 895 897 899 901 903 905 907 878 909 882
Symbol 911 BitmapUsed by:912
Symbol 912 GraphicUses:911Used by:945
Symbol 913 BitmapUsed by:914
Symbol 914 GraphicUses:913Used by:945
Symbol 915 BitmapUsed by:916
Symbol 916 GraphicUses:915Used by:945
Symbol 917 BitmapUsed by:918 927 928 929 937
Symbol 918 GraphicUses:917Used by:945
Symbol 919 BitmapUsed by:920 923 924 925 933 934
Symbol 920 GraphicUses:919Used by:945
Symbol 921 BitmapUsed by:922 926 935 936
Symbol 922 GraphicUses:921Used by:945
Symbol 923 GraphicUses:919Used by:945
Symbol 924 GraphicUses:919Used by:945
Symbol 925 GraphicUses:919Used by:945
Symbol 926 GraphicUses:921Used by:945
Symbol 927 GraphicUses:917Used by:945
Symbol 928 GraphicUses:917Used by:945
Symbol 929 GraphicUses:917Used by:945
Symbol 930 BitmapUsed by:931 932
Symbol 931 GraphicUses:930Used by:945
Symbol 932 GraphicUses:930Used by:945
Symbol 933 GraphicUses:919Used by:945
Symbol 934 GraphicUses:919Used by:945
Symbol 935 GraphicUses:921Used by:945
Symbol 936 GraphicUses:921Used by:945
Symbol 937 GraphicUses:917Used by:945
Symbol 938 BitmapUsed by:939 940 941 942 943 944
Symbol 939 GraphicUses:938Used by:945
Symbol 940 GraphicUses:938Used by:945
Symbol 941 GraphicUses:938Used by:945
Symbol 942 GraphicUses:938Used by:945
Symbol 943 GraphicUses:938Used by:945
Symbol 944 GraphicUses:938Used by:945
Symbol 945 MovieClip {enemy_dragon}Uses:680 912 914 916 918 920 922 923 924 925 926 927 928 929 931 932 933 934 935 936 937 939 940 941 942 943 944 878
Symbol 946 BitmapUsed by:947 950 951
Symbol 947 GraphicUses:946Used by:952
Symbol 948 BitmapUsed by:949
Symbol 949 GraphicUses:948Used by:952
Symbol 950 GraphicUses:946Used by:952
Symbol 951 GraphicUses:946Used by:952
Symbol 952 MovieClip {enemy_fly}Uses:680 947 949 950 951 878
Symbol 953 BitmapUsed by:954
Symbol 954 GraphicUses:953Used by:964
Symbol 955 BitmapUsed by:956
Symbol 956 GraphicUses:955Used by:964
Symbol 957 BitmapUsed by:958
Symbol 958 GraphicUses:957Used by:964
Symbol 959 BitmapUsed by:960
Symbol 960 GraphicUses:959Used by:961
Symbol 961 MovieClipUses:960Used by:964
Symbol 962 BitmapUsed by:963
Symbol 963 GraphicUses:962Used by:964
Symbol 964 MovieClip {enemy_bird}Uses:680 954 956 958 961 963 878 882
Symbol 965 BitmapUsed by:966
Symbol 966 GraphicUses:965Used by:981
Symbol 967 BitmapUsed by:968
Symbol 968 GraphicUses:967Used by:981
Symbol 969 BitmapUsed by:970
Symbol 970 GraphicUses:969Used by:981
Symbol 971 BitmapUsed by:972
Symbol 972 GraphicUses:971Used by:981
Symbol 973 BitmapUsed by:974
Symbol 974 GraphicUses:973Used by:981
Symbol 975 BitmapUsed by:976
Symbol 976 GraphicUses:975Used by:981
Symbol 977 BitmapUsed by:978
Symbol 978 GraphicUses:977Used by:981
Symbol 979 BitmapUsed by:980
Symbol 980 GraphicUses:979Used by:981
Symbol 981 MovieClip {enemy_crow}Uses:680 966 968 970 972 974 976 978 980 878 882
Symbol 982 BitmapUsed by:983
Symbol 983 GraphicUses:982Used by:993
Symbol 984 BitmapUsed by:985
Symbol 985 GraphicUses:984Used by:993
Symbol 986 BitmapUsed by:987
Symbol 987 GraphicUses:986Used by:988
Symbol 988 MovieClipUses:987Used by:993
Symbol 989 BitmapUsed by:990
Symbol 990 GraphicUses:989Used by:993
Symbol 991 BitmapUsed by:992
Symbol 992 GraphicUses:991Used by:993
Symbol 993 MovieClip {enemy_tank}Uses:680 983 985 988 990 992 882
Symbol 994 BitmapUsed by:995
Symbol 995 GraphicUses:994Used by:1020
Symbol 996 BitmapUsed by:997
Symbol 997 GraphicUses:996Used by:1020
Symbol 998 BitmapUsed by:999
Symbol 999 GraphicUses:998Used by:1020
Symbol 1000 BitmapUsed by:1001
Symbol 1001 GraphicUses:1000Used by:1020
Symbol 1002 BitmapUsed by:1003
Symbol 1003 GraphicUses:1002Used by:1020
Symbol 1004 BitmapUsed by:1005
Symbol 1005 GraphicUses:1004Used by:1020
Symbol 1006 BitmapUsed by:1007
Symbol 1007 GraphicUses:1006Used by:1020
Symbol 1008 BitmapUsed by:1009
Symbol 1009 GraphicUses:1008Used by:1020
Symbol 1010 BitmapUsed by:1011
Symbol 1011 GraphicUses:1010Used by:1020
Symbol 1012 BitmapUsed by:1013
Symbol 1013 GraphicUses:1012Used by:1020
Symbol 1014 BitmapUsed by:1015
Symbol 1015 GraphicUses:1014Used by:1020
Symbol 1016 BitmapUsed by:1017
Symbol 1017 GraphicUses:1016Used by:1020
Symbol 1018 BitmapUsed by:1019
Symbol 1019 GraphicUses:1018Used by:1020
Symbol 1020 MovieClip {enemy_cata}Uses:680 995 997 999 1001 1003 1005 1007 1009 1011 1013 1015 1017 1019 882
Symbol 1021 BitmapUsed by:1022
Symbol 1022 GraphicUses:1021Used by:1063
Symbol 1023 BitmapUsed by:1024
Symbol 1024 GraphicUses:1023Used by:1063
Symbol 1025 BitmapUsed by:1026
Symbol 1026 GraphicUses:1025Used by:1063
Symbol 1027 BitmapUsed by:1028
Symbol 1028 GraphicUses:1027Used by:1063
Symbol 1029 BitmapUsed by:1030
Symbol 1030 GraphicUses:1029Used by:1063
Symbol 1031 BitmapUsed by:1032
Symbol 1032 GraphicUses:1031Used by:1063
Symbol 1033 BitmapUsed by:1034
Symbol 1034 GraphicUses:1033Used by:1063
Symbol 1035 BitmapUsed by:1036
Symbol 1036 GraphicUses:1035Used by:1063
Symbol 1037 BitmapUsed by:1038
Symbol 1038 GraphicUses:1037Used by:1063
Symbol 1039 BitmapUsed by:1040
Symbol 1040 GraphicUses:1039Used by:1063
Symbol 1041 BitmapUsed by:1042
Symbol 1042 GraphicUses:1041Used by:1063
Symbol 1043 BitmapUsed by:1044
Symbol 1044 GraphicUses:1043Used by:1063
Symbol 1045 BitmapUsed by:1046
Symbol 1046 GraphicUses:1045Used by:1063
Symbol 1047 BitmapUsed by:1048
Symbol 1048 GraphicUses:1047Used by:1063
Symbol 1049 BitmapUsed by:1050
Symbol 1050 GraphicUses:1049Used by:1063
Symbol 1051 BitmapUsed by:1052
Symbol 1052 GraphicUses:1051Used by:1063
Symbol 1053 BitmapUsed by:1054
Symbol 1054 GraphicUses:1053Used by:1063
Symbol 1055 BitmapUsed by:1056
Symbol 1056 GraphicUses:1055Used by:1063
Symbol 1057 BitmapUsed by:1058
Symbol 1058 GraphicUses:1057Used by:1063
Symbol 1059 BitmapUsed by:1060
Symbol 1060 GraphicUses:1059Used by:1063
Symbol 1061 BitmapUsed by:1062
Symbol 1062 GraphicUses:1061Used by:1063
Symbol 1063 MovieClip {enemy_chicken}Uses:680 1022 1024 1026 1028 1030 1032 1034 1036 1038 1040 1042 1044 1046 1048 1050 1052 1054 1056 1058 878 1060 1062 882
Symbol 1064 BitmapUsed by:1065
Symbol 1065 GraphicUses:1064Used by:1092
Symbol 1066 BitmapUsed by:1067
Symbol 1067 GraphicUses:1066Used by:1092
Symbol 1068 BitmapUsed by:1069
Symbol 1069 GraphicUses:1068Used by:1092
Symbol 1070 BitmapUsed by:1071
Symbol 1071 GraphicUses:1070Used by:1092
Symbol 1072 BitmapUsed by:1073
Symbol 1073 GraphicUses:1072Used by:1092
Symbol 1074 BitmapUsed by:1075
Symbol 1075 GraphicUses:1074Used by:1092
Symbol 1076 BitmapUsed by:1077
Symbol 1077 GraphicUses:1076Used by:1092
Symbol 1078 BitmapUsed by:1079
Symbol 1079 GraphicUses:1078Used by:1092
Symbol 1080 BitmapUsed by:1081
Symbol 1081 GraphicUses:1080Used by:1092
Symbol 1082 BitmapUsed by:1083
Symbol 1083 GraphicUses:1082Used by:1092
Symbol 1084 BitmapUsed by:1085 1090 1091
Symbol 1085 GraphicUses:1084Used by:1092
Symbol 1086 BitmapUsed by:1087 1088 1089
Symbol 1087 GraphicUses:1086Used by:1092
Symbol 1088 GraphicUses:1086Used by:1092
Symbol 1089 GraphicUses:1086Used by:1092
Symbol 1090 GraphicUses:1084Used by:1092
Symbol 1091 GraphicUses:1084Used by:1092
Symbol 1092 MovieClip {enemy_archer}Uses:680 1065 1067 1069 1071 1073 1075 1077 1079 1081 1083 1085 1087 1088 1089 1090 1091 882 878
Symbol 1093 BitmapUsed by:1094
Symbol 1094 GraphicUses:1093Used by:1118
Symbol 1095 BitmapUsed by:1096
Symbol 1096 GraphicUses:1095Used by:1118
Symbol 1097 BitmapUsed by:1098
Symbol 1098 GraphicUses:1097Used by:1099
Symbol 1099 MovieClipUses:1098Used by:1118
Symbol 1100 BitmapUsed by:1101
Symbol 1101 GraphicUses:1100Used by:1118
Symbol 1102 BitmapUsed by:1103
Symbol 1103 GraphicUses:1102Used by:1118
Symbol 1104 BitmapUsed by:1105
Symbol 1105 GraphicUses:1104Used by:1118
Symbol 1106 BitmapUsed by:1107
Symbol 1107 GraphicUses:1106Used by:1118
Symbol 1108 BitmapUsed by:1109
Symbol 1109 GraphicUses:1108Used by:1118
Symbol 1110 BitmapUsed by:1111
Symbol 1111 GraphicUses:1110Used by:1118
Symbol 1112 BitmapUsed by:1113
Symbol 1113 GraphicUses:1112Used by:1118
Symbol 1114 BitmapUsed by:1115
Symbol 1115 GraphicUses:1114Used by:1118
Symbol 1116 BitmapUsed by:1117
Symbol 1117 GraphicUses:1116Used by:1118
Symbol 1118 MovieClip {enemy_ghost}Uses:680 1094 1096 1099 1101 1103 1105 1107 1109 1111 1113 1115 1117
Symbol 1119 BitmapUsed by:1120
Symbol 1120 GraphicUses:1119Used by:1164
Symbol 1121 BitmapUsed by:1122
Symbol 1122 GraphicUses:1121Used by:1164
Symbol 1123 BitmapUsed by:1124
Symbol 1124 GraphicUses:1123Used by:1164
Symbol 1125 BitmapUsed by:1126
Symbol 1126 GraphicUses:1125Used by:1164
Symbol 1127 BitmapUsed by:1128
Symbol 1128 GraphicUses:1127Used by:1164
Symbol 1129 BitmapUsed by:1130
Symbol 1130 GraphicUses:1129Used by:1164
Symbol 1131 BitmapUsed by:1132
Symbol 1132 GraphicUses:1131Used by:1164
Symbol 1133 BitmapUsed by:1134
Symbol 1134 GraphicUses:1133Used by:1164
Symbol 1135 BitmapUsed by:1136
Symbol 1136 GraphicUses:1135Used by:1164
Symbol 1137 BitmapUsed by:1138
Symbol 1138 GraphicUses:1137Used by:1164
Symbol 1139 BitmapUsed by:1140
Symbol 1140 GraphicUses:1139Used by:1164
Symbol 1141 BitmapUsed by:1142
Symbol 1142 GraphicUses:1141Used by:1164
Symbol 1143 BitmapUsed by:1144
Symbol 1144 GraphicUses:1143Used by:1164
Symbol 1145 BitmapUsed by:1146
Symbol 1146 GraphicUses:1145Used by:1164
Symbol 1147 BitmapUsed by:1148
Symbol 1148 GraphicUses:1147Used by:1164
Symbol 1149 BitmapUsed by:1150
Symbol 1150 GraphicUses:1149Used by:1164
Symbol 1151 BitmapUsed by:1152
Symbol 1152 GraphicUses:1151Used by:1164
Symbol 1153 BitmapUsed by:1154
Symbol 1154 GraphicUses:1153Used by:1164
Symbol 1155 BitmapUsed by:1156
Symbol 1156 GraphicUses:1155Used by:1164
Symbol 1157 GraphicUsed by:1164
Symbol 1158 GraphicUsed by:1164
Symbol 1159 GraphicUsed by:1164
Symbol 1160 GraphicUsed by:1164
Symbol 1161 GraphicUsed by:1164
Symbol 1162 GraphicUsed by:1164
Symbol 1163 GraphicUsed by:1164
Symbol 1164 MovieClip {enemy_spider}Uses:680 1120 1122 1124 1126 1128 1130 1132 1134 1136 1138 1140 1142 1144 1146 1148 1150 1152 1154 1156 1157 1158 1159 1160 1161 1162 1163
Symbol 1165 BitmapUsed by:1166
Symbol 1166 GraphicUses:1165Used by:1211
Symbol 1167 BitmapUsed by:1168
Symbol 1168 GraphicUses:1167Used by:1211
Symbol 1169 BitmapUsed by:1170
Symbol 1170 GraphicUses:1169Used by:1211
Symbol 1171 BitmapUsed by:1172
Symbol 1172 GraphicUses:1171Used by:1211
Symbol 1173 BitmapUsed by:1174
Symbol 1174 GraphicUses:1173Used by:1211
Symbol 1175 BitmapUsed by:1176
Symbol 1176 GraphicUses:1175Used by:1211
Symbol 1177 BitmapUsed by:1178
Symbol 1178 GraphicUses:1177Used by:1211
Symbol 1179 BitmapUsed by:1180
Symbol 1180 GraphicUses:1179Used by:1211
Symbol 1181 BitmapUsed by:1182
Symbol 1182 GraphicUses:1181Used by:1211
Symbol 1183 BitmapUsed by:1184
Symbol 1184 GraphicUses:1183Used by:1211
Symbol 1185 BitmapUsed by:1186
Symbol 1186 GraphicUses:1185Used by:1211
Symbol 1187 BitmapUsed by:1188
Symbol 1188 GraphicUses:1187Used by:1211
Symbol 1189 BitmapUsed by:1190
Symbol 1190 GraphicUses:1189Used by:1211
Symbol 1191 BitmapUsed by:1192
Symbol 1192 GraphicUses:1191Used by:1211
Symbol 1193 BitmapUsed by:1194
Symbol 1194 GraphicUses:1193Used by:1211
Symbol 1195 BitmapUsed by:1196
Symbol 1196 GraphicUses:1195Used by:1211
Symbol 1197 BitmapUsed by:1198
Symbol 1198 GraphicUses:1197Used by:1211
Symbol 1199 BitmapUsed by:1200
Symbol 1200 GraphicUses:1199Used by:1211
Symbol 1201 BitmapUsed by:1202
Symbol 1202 GraphicUses:1201Used by:1211
Symbol 1203 BitmapUsed by:1204
Symbol 1204 GraphicUses:1203Used by:1211
Symbol 1205 BitmapUsed by:1206
Symbol 1206 GraphicUses:1205Used by:1211
Symbol 1207 BitmapUsed by:1208
Symbol 1208 GraphicUses:1207Used by:1211
Symbol 1209 BitmapUsed by:1210
Symbol 1210 GraphicUses:1209Used by:1211
Symbol 1211 MovieClip {enemy_knight}Uses:680 1166 1168 1170 1172 1174 1176 1178 1180 1182 1184 1186 1188 1190 1192 1194 1196 1198 1200 1202 1204 1206 1208 878 1210
Symbol 1212 BitmapUsed by:1213
Symbol 1213 GraphicUses:1212Used by:1247
Symbol 1214 BitmapUsed by:1215
Symbol 1215 GraphicUses:1214Used by:1247
Symbol 1216 BitmapUsed by:1217
Symbol 1217 GraphicUses:1216Used by:1247
Symbol 1218 BitmapUsed by:1219
Symbol 1219 GraphicUses:1218Used by:1247
Symbol 1220 BitmapUsed by:1221
Symbol 1221 GraphicUses:1220Used by:1222
Symbol 1222 MovieClip {shootem_funny_fla.dino_312}Uses:1221Used by:1247
Symbol 1223 BitmapUsed by:1224
Symbol 1224 GraphicUses:1223Used by:1225 2260
Symbol 1225 MovieClipUses:1224Used by:1247
Symbol 1226 BitmapUsed by:1227
Symbol 1227 GraphicUses:1226Used by:1247
Symbol 1228 BitmapUsed by:1229
Symbol 1229 GraphicUses:1228Used by:1230
Symbol 1230 MovieClipUses:1229Used by:1247
Symbol 1231 BitmapUsed by:1232
Symbol 1232 GraphicUses:1231Used by:1247
Symbol 1233 BitmapUsed by:1234
Symbol 1234 GraphicUses:1233Used by:1247
Symbol 1235 BitmapUsed by:1236
Symbol 1236 GraphicUses:1235Used by:1247
Symbol 1237 BitmapUsed by:1238
Symbol 1238 GraphicUses:1237Used by:1247
Symbol 1239 BitmapUsed by:1240
Symbol 1240 GraphicUses:1239Used by:1247
Symbol 1241 BitmapUsed by:1242
Symbol 1242 GraphicUses:1241Used by:1247
Symbol 1243 BitmapUsed by:1244
Symbol 1244 GraphicUses:1243Used by:1247
Symbol 1245 BitmapUsed by:1246
Symbol 1246 GraphicUses:1245Used by:1247
Symbol 1247 MovieClip {enemy_dino}Uses:680 1213 1215 1217 1219 1222 1225 1227 1230 1232 1234 1236 1238 1240 1242 1244 1246 878
Symbol 1248 BitmapUsed by:1250 1275
Symbol 1249 BitmapUsed by:1250 1252
Symbol 1250 GraphicUses:1248 1249Used by:1258
Symbol 1251 BitmapUsed by:1252 1280
Symbol 1252 GraphicUses:1251 1249Used by:1258
Symbol 1253 BitmapUsed by:1255 1272
Symbol 1254 BitmapUsed by:1255 1257
Symbol 1255 GraphicUses:1253 1254Used by:1258
Symbol 1256 BitmapUsed by:1257 1269
Symbol 1257 GraphicUses:1256 1254Used by:1258
Symbol 1258 MovieClip {shootem_funny_fla.rat_310}Uses:1250 1252 1255 1257Used by:1295
Symbol 1259 BitmapUsed by:1260
Symbol 1260 GraphicUses:1259Used by:1295
Symbol 1261 BitmapUsed by:1262
Symbol 1262 GraphicUses:1261Used by:1295
Symbol 1263 BitmapUsed by:1264
Symbol 1264 GraphicUses:1263Used by:1295
Symbol 1265 BitmapUsed by:1266
Symbol 1266 GraphicUses:1265Used by:1295
Symbol 1267 BitmapUsed by:1268
Symbol 1268 GraphicUses:1267Used by:1295
Symbol 1269 GraphicUses:1256Used by:1295
Symbol 1270 BitmapUsed by:1271
Symbol 1271 GraphicUses:1270Used by:1295
Symbol 1272 GraphicUses:1253Used by:1295
Symbol 1273 BitmapUsed by:1274
Symbol 1274 GraphicUses:1273Used by:1295
Symbol 1275 GraphicUses:1248Used by:1295
Symbol 1276 BitmapUsed by:1277
Symbol 1277 GraphicUses:1276Used by:1295
Symbol 1278 BitmapUsed by:1279
Symbol 1279 GraphicUses:1278Used by:1295
Symbol 1280 GraphicUses:1251Used by:1295
Symbol 1281 BitmapUsed by:1282
Symbol 1282 GraphicUses:1281Used by:1295
Symbol 1283 BitmapUsed by:1284
Symbol 1284 GraphicUses:1283Used by:1295
Symbol 1285 BitmapUsed by:1286
Symbol 1286 GraphicUses:1285Used by:1295
Symbol 1287 BitmapUsed by:1288
Symbol 1288 GraphicUses:1287Used by:1295
Symbol 1289 BitmapUsed by:1290
Symbol 1290 GraphicUses:1289Used by:1295
Symbol 1291 BitmapUsed by:1292
Symbol 1292 GraphicUses:1291Used by:1295
Symbol 1293 BitmapUsed by:1294
Symbol 1294 GraphicUses:1293Used by:1295
Symbol 1295 MovieClip {enemy_rat}Uses:680 1258 1260 1262 1264 1266 1268 1269 1271 1272 1274 1275 1277 1279 1280 1282 1284 1286 1288 1290 1292 1294 878
Symbol 1296 BitmapUsed by:1297
Symbol 1297 GraphicUses:1296Used by:1340
Symbol 1298 BitmapUsed by:1299
Symbol 1299 GraphicUses:1298Used by:1340
Symbol 1300 BitmapUsed by:1301
Symbol 1301 GraphicUses:1300Used by:1340
Symbol 1302 BitmapUsed by:1303
Symbol 1303 GraphicUses:1302Used by:1340
Symbol 1304 BitmapUsed by:1305
Symbol 1305 GraphicUses:1304Used by:1340
Symbol 1306 BitmapUsed by:1307
Symbol 1307 GraphicUses:1306Used by:1340
Symbol 1308 BitmapUsed by:1309
Symbol 1309 GraphicUses:1308Used by:1340
Symbol 1310 BitmapUsed by:1311
Symbol 1311 GraphicUses:1310Used by:1340
Symbol 1312 BitmapUsed by:1313
Symbol 1313 GraphicUses:1312Used by:1340
Symbol 1314 BitmapUsed by:1315
Symbol 1315 GraphicUses:1314Used by:1340
Symbol 1316 BitmapUsed by:1317
Symbol 1317 GraphicUses:1316Used by:1340
Symbol 1318 BitmapUsed by:1319
Symbol 1319 GraphicUses:1318Used by:1340
Symbol 1320 BitmapUsed by:1321
Symbol 1321 GraphicUses:1320Used by:1340
Symbol 1322 BitmapUsed by:1323
Symbol 1323 GraphicUses:1322Used by:1340
Symbol 1324 BitmapUsed by:1325
Symbol 1325 GraphicUses:1324Used by:1340
Symbol 1326 BitmapUsed by:1327
Symbol 1327 GraphicUses:1326Used by:1340
Symbol 1328 BitmapUsed by:1329
Symbol 1329 GraphicUses:1328Used by:1340
Symbol 1330 BitmapUsed by:1331
Symbol 1331 GraphicUses:1330Used by:1340
Symbol 1332 BitmapUsed by:1333
Symbol 1333 GraphicUses:1332Used by:1340
Symbol 1334 BitmapUsed by:1335
Symbol 1335 GraphicUses:1334Used by:1340
Symbol 1336 BitmapUsed by:1337
Symbol 1337 GraphicUses:1336Used by:1340
Symbol 1338 BitmapUsed by:1339
Symbol 1339 GraphicUses:1338Used by:1340
Symbol 1340 MovieClip {enemy_barb}Uses:680 1297 1299 1301 1303 1305 1307 1309 1311 1313 1315 1317 1319 1321 1323 1325 1327 1329 1331 1333 1335 1337 1339 878
Symbol 1341 BitmapUsed by:1342
Symbol 1342 GraphicUses:1341Used by:1363
Symbol 1343 BitmapUsed by:1344
Symbol 1344 GraphicUses:1343Used by:1363
Symbol 1345 BitmapUsed by:1346
Symbol 1346 GraphicUses:1345Used by:1363
Symbol 1347 BitmapUsed by:1348
Symbol 1348 GraphicUses:1347Used by:1363
Symbol 1349 BitmapUsed by:1350 1351 1352 1353 1354 1355
Symbol 1350 GraphicUses:1349Used by:1363
Symbol 1351 GraphicUses:1349Used by:1363
Symbol 1352 GraphicUses:1349Used by:1363
Symbol 1353 GraphicUses:1349Used by:1363
Symbol 1354 GraphicUses:1349Used by:1363
Symbol 1355 GraphicUses:1349Used by:1363
Symbol 1356 BitmapUsed by:1357 1358 1359
Symbol 1357 GraphicUses:1356Used by:1363
Symbol 1358 GraphicUses:1356Used by:1363
Symbol 1359 GraphicUses:1356Used by:1363
Symbol 1360 BitmapUsed by:1361 1362
Symbol 1361 GraphicUses:1360Used by:1363
Symbol 1362 GraphicUses:1360Used by:1363
Symbol 1363 MovieClip {enemy_ogre}Uses:680 1342 1344 1346 1348 1350 1351 1352 1353 1354 1355 1357 1358 1359 1361 878 1362
Symbol 1364 BitmapUsed by:1365 1369 1370 1372
Symbol 1365 GraphicUses:1364Used by:1384
Symbol 1366 BitmapUsed by:1367 1373 1374 1376
Symbol 1367 GraphicUses:1366Used by:1384
Symbol 1368 BitmapUsed by:1369 1371
Symbol 1369 GraphicUses:1368 1364Used by:1384
Symbol 1370 GraphicUses:1364Used by:1384
Symbol 1371 GraphicUses:1368Used by:1384
Symbol 1372 GraphicUses:1364Used by:1384
Symbol 1373 GraphicUses:1366Used by:1384
Symbol 1374 GraphicUses:1366Used by:1384
Symbol 1375 GraphicUsed by:1384 2528 2549 2570 2586
Symbol 1376 GraphicUses:1366Used by:1384
Symbol 1377 GraphicUsed by:1384
Symbol 1378 GraphicUsed by:1384
Symbol 1379 GraphicUsed by:1384
Symbol 1380 GraphicUsed by:1384
Symbol 1381 GraphicUsed by:1384
Symbol 1382 GraphicUsed by:1384
Symbol 1383 GraphicUsed by:1384
Symbol 1384 MovieClip {enemy_punk}Uses:680 1365 1367 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383
Symbol 1385 MovieClip {enemy}
Symbol 1386 GraphicUses:827Used by:1411 1459
Symbol 1387 GraphicUses:827Used by:1411 1459
Symbol 1388 GraphicUses:827Used by:1411 1459
Symbol 1389 GraphicUses:827Used by:1411 1459
Symbol 1390 GraphicUses:827Used by:1411 1459
Symbol 1391 GraphicUses:827Used by:1411 1459
Symbol 1392 FontUsed by:1393 1401 2001 2716 2717 2718 2719 2720 2721 2722 2723 2724
Symbol 1393 TextUses:1392Used by:1411
Symbol 1394 BitmapUsed by:1395 1396 1397
Symbol 1395 GraphicUses:1394Used by:1411
Symbol 1396 GraphicUses:1394Used by:1411
Symbol 1397 GraphicUses:1394Used by:1411
Symbol 1398 BitmapUsed by:1399 1400
Symbol 1399 GraphicUses:1398Used by:1411
Symbol 1400 GraphicUses:1398Used by:1411
Symbol 1401 TextUses:1392Used by:1402
Symbol 1402 MovieClipUses:1401Used by:1411
Symbol 1403 BitmapUsed by:1404
Symbol 1404 GraphicUses:1403Used by:1411
Symbol 1405 BitmapUsed by:1406
Symbol 1406 GraphicUses:1405Used by:1407
Symbol 1407 MovieClipUses:1406Used by:1411
Symbol 1408 BitmapUsed by:1409
Symbol 1409 GraphicUses:1408Used by:1410
Symbol 1410 MovieClipUses:1409Used by:1411
Symbol 1411 MovieClip {effect2}Uses:1386 1387 1388 1389 1390 1391 1393 1395 1396 1397 1399 1400 1402 1404 1407 1410
Symbol 1412 BitmapUsed by:1413 1414 1415 1416 1417 1418 1419 1420
Symbol 1413 GraphicUses:1412Used by:1459
Symbol 1414 GraphicUses:1412Used by:1459
Symbol 1415 GraphicUses:1412Used by:1459
Symbol 1416 GraphicUses:1412Used by:1459
Symbol 1417 GraphicUses:1412Used by:1459
Symbol 1418 GraphicUses:1412Used by:1459
Symbol 1419 GraphicUses:1412Used by:1459
Symbol 1420 GraphicUses:1412Used by:1459
Symbol 1421 BitmapUsed by:1422 1423 1424 1425 1426 1427 1428 1429
Symbol 1422 GraphicUses:1421Used by:1459
Symbol 1423 GraphicUses:1421Used by:1459
Symbol 1424 GraphicUses:1421Used by:1459
Symbol 1425 GraphicUses:1421Used by:1459
Symbol 1426 GraphicUses:1421Used by:1459
Symbol 1427 GraphicUses:1421Used by:1459
Symbol 1428 GraphicUses:1421Used by:1459
Symbol 1429 GraphicUses:1421Used by:1459
Symbol 1430 BitmapUsed by:1431
Symbol 1431 GraphicUses:1430Used by:1459
Symbol 1432 BitmapUsed by:1433
Symbol 1433 GraphicUses:1432Used by:1459
Symbol 1434 BitmapUsed by:1435
Symbol 1435 GraphicUses:1434Used by:1459
Symbol 1436 BitmapUsed by:1437
Symbol 1437 GraphicUses:1436Used by:1459
Symbol 1438 BitmapUsed by:1439
Symbol 1439 GraphicUses:1438Used by:1459
Symbol 1440 BitmapUsed by:1441
Symbol 1441 GraphicUses:1440Used by:1442
Symbol 1442 MovieClipUses:1441Used by:1459 1996 2122 2193
Symbol 1443 BitmapUsed by:1444
Symbol 1444 GraphicUses:1443Used by:1445
Symbol 1445 MovieClipUses:1444Used by:1459
Symbol 1446 BitmapUsed by:1447 1448 1453 1454
Symbol 1447 GraphicUses:1446Used by:1459
Symbol 1448 GraphicUses:1446Used by:1459
Symbol 1449 BitmapUsed by:1450 1451 1452
Symbol 1450 GraphicUses:1449Used by:1459
Symbol 1451 GraphicUses:1449Used by:1459
Symbol 1452 GraphicUses:1449Used by:1459
Symbol 1453 GraphicUses:1446Used by:1459
Symbol 1454 GraphicUses:1446Used by:1459
Symbol 1455 BitmapUsed by:1456 1457 1458
Symbol 1456 GraphicUses:1455Used by:1459
Symbol 1457 GraphicUses:1455Used by:1459
Symbol 1458 GraphicUses:1455Used by:1459
Symbol 1459 MovieClip {effect}Uses:1386 1387 1388 1389 1390 1391 1413 1414 1415 1416 1417 1418 1419 1420 1422 1423 1424 1425 1426 1427 1428 1429 1431 1433 1435 1437 1439 1442 1445 1447 1448 1450 1451 1452 1453 1454 1456 1457 1458
Symbol 1460 GraphicUsed by:1463
Symbol 1461 GraphicUsed by:1462
Symbol 1462 MovieClipUses:1461Used by:1463 1465 1467 1469
Symbol 1463 MovieClip {CheckBox_selectedDisabledIcon}Uses:1460 1462Used by:1475
Symbol 1464 GraphicUsed by:1465 1472
Symbol 1465 MovieClip {CheckBox_selectedDownIcon}Uses:1464 1462Used by:1475
Symbol 1466 GraphicUsed by:1467 1473
Symbol 1467 MovieClip {CheckBox_selectedOverIcon}Uses:1466 1462Used by:1475
Symbol 1468 GraphicUsed by:1469 1474
Symbol 1469 MovieClip {CheckBox_selectedUpIcon}Uses:1468 1462Used by:1475
Symbol 1470 GraphicUsed by:1471
Symbol 1471 MovieClip {CheckBox_disabledIcon}Uses:1470Used by:1475
Symbol 1472 MovieClip {CheckBox_downIcon}Uses:1464Used by:1475
Symbol 1473 MovieClip {CheckBox_overIcon}Uses:1466Used by:1475
Symbol 1474 MovieClip {CheckBox_upIcon}Uses:1468Used by:1475
Symbol 1475 MovieClip {fl.controls.CheckBox}Uses:103 104 1474 1473 1472 1471 1469 1467 1465 1463 105Used by:1531 1996
Symbol 1476 GraphicUsed by:1996 2438
Symbol 1477 BitmapUsed by:1478
Symbol 1478 GraphicUses:1477Used by:1479
Symbol 1479 MovieClipUses:1478Used by:1531 1658 1792 1902 1996 2132 2438
Symbol 1480 FontUsed by:1481 1501 1900 2131 2509 2550 2551 2552 2553 2587 2588 2589 2590
Symbol 1481 TextUses:1480Used by:1996
Symbol 1482 BitmapUsed by:1483
Symbol 1483 GraphicUses:1482Used by:1484 1487 1490 1493
Symbol 1484 MovieClipUses:1483Used by:1487 1490 1493
Symbol 1485 TextUses:682Used by:1487
Symbol 1486 TextUses:682Used by:1487
Symbol 1487 ButtonUses:1484 1485 1486 1483 89Used by:1996
Symbol 1488 TextUses:682Used by:1490
Symbol 1489 TextUses:682Used by:1490
Symbol 1490 ButtonUses:1484 1488 1489 1483 89Used by:1996
Symbol 1491 TextUses:682Used by:1493
Symbol 1492 TextUses:682Used by:1493
Symbol 1493 ButtonUses:1484 1491 1492 1483 89Used by:1996
Symbol 1494 BitmapUsed by:1495 1496
Symbol 1495 GraphicUses:1494Used by:1497
Symbol 1496 GraphicUses:1494Used by:1497
Symbol 1497 ButtonUses:1495 1496 89Used by:1902 1996
Symbol 1498 BitmapUsed by:1499
Symbol 1499 GraphicUses:1498Used by:1500
Symbol 1500 MovieClipUses:1499Used by:1531 2132
Symbol 1501 TextUses:1480Used by:1531
Symbol 1502 GraphicUsed by:1503 1504
Symbol 1503 MovieClip {TextArea_disabledSkin}Uses:1502Used by:1530
Symbol 1504 MovieClip {TextArea_upSkin}Uses:1502Used by:1530
Symbol 1505 GraphicUsed by:1506
Symbol 1506 MovieClip {ScrollTrack_skin}Uses:1505Used by:1529 1739
Symbol 1507 GraphicUsed by:1509
Symbol 1508 MovieClipUses:107Used by:1509 1518 1519
Symbol 1509 MovieClip {ScrollArrowUp_downSkin}Uses:1507 1508Used by:1529 1739
Symbol 1510 GraphicUsed by:1511 1514 1519 1522
Symbol 1511 MovieClip {ScrollArrowDown_downSkin}Uses:1510 107Used by:1529 1739
Symbol 1512 GraphicUsed by:1513
Symbol 1513 MovieClip {ScrollThumb_downSkin}Uses:1512Used by:1529 1739
Symbol 1514 MovieClip {ScrollArrowDown_overSkin}Uses:1510 107Used by:1529 1739
Symbol 1515 GraphicUsed by:1516
Symbol 1516 MovieClip {ScrollThumb_overSkin}Uses:1515Used by:1529 1739
Symbol 1517 GraphicUsed by:1518
Symbol 1518 MovieClip {ScrollArrowUp_overSkin}Uses:1517 1508Used by:1529 1739
Symbol 1519 MovieClip {ScrollArrowUp_upSkin}Uses:1510 1508Used by:1529 1739
Symbol 1520 GraphicUsed by:1521
Symbol 1521 MovieClip {ScrollThumb_upSkin}Uses:1520Used by:1529 1739
Symbol 1522 MovieClip {ScrollArrowDown_upSkin}Uses:1510 107Used by:1529 1739
Symbol 1523 GraphicUsed by:1524
Symbol 1524 MovieClip {ScrollArrowDown_disabledSkin}Uses:1523Used by:1529 1739
Symbol 1525 GraphicUsed by:1526
Symbol 1526 MovieClip {ScrollArrowUp_disabledSkin}Uses:1525Used by:1529 1739
Symbol 1527 GraphicUsed by:1528
Symbol 1528 MovieClip {ScrollBar_thumbIcon}Uses:1527Used by:1529 1739
Symbol 1529 MovieClip {fl.controls.UIScrollBar}Uses:103 104 105 1506 1509 1511 1513 1514 1516 1518 1519 1521 1522 1524 1526 1528Used by:1530
Symbol 1530 MovieClip {fl.controls.TextArea}Uses:103 104 1503 1504 105 1529Used by:1531 1902 1996 2439
Symbol 1531 MovieClip {shootem_funny_fla.optionwindow_224}Uses:1479 1500 1501 1475 1530Used by:1996
Symbol 1532 BitmapUsed by:1533
Symbol 1533 GraphicUses:1532Used by:1534
Symbol 1534 MovieClipUses:1533Used by:1996
Symbol 1535 FontUsed by:1536 1538 1539 1540 1541 1548 1549 1552 1560 1561 1575 1597 1615 1647 1749 1750 1754 1767 1802 1803 1804 1820 1841 1842 1844 1848 1850 1851 1856 1866 1888 1889 1890 1891 1901 1906 1910 1911 1913 1914 1918 1919 1920 1921 1922 1923 1924 1927 1928 1932 1945 1953 1954 1959 1961 1963 1965 1968 1969 1970 1975 1983 1985 1986 1989 1990 1991 1993 1995 2741 2745 2790
Symbol 1536 TextUses:1535Used by:1996
Symbol 1537 TextUses:682Used by:1996
Symbol 1538 TextUses:1535Used by:1996
Symbol 1539 TextUses:1535Used by:1996
Symbol 1540 TextUses:1535Used by:1996
Symbol 1541 TextUses:1535Used by:1996
Symbol 1542 BitmapUsed by:1543
Symbol 1543 GraphicUses:1542Used by:1544 1547 1882 1894 2435
Symbol 1544 MovieClipUses:1543Used by:1547 1882 1894 2435
Symbol 1545 TextUses:682Used by:1547
Symbol 1546 TextUses:682Used by:1547
Symbol 1547 ButtonUses:1544 1545 1546 1543 89Used by:1996
Symbol 1548 TextUses:1535Used by:1996
Symbol 1549 TextUses:1535Used by:1996
Symbol 1550 GraphicUsed by:1551
Symbol 1551 MovieClipUses:1550Used by:1996
Symbol 1552 TextUses:1535Used by:1996
Symbol 1553 EditableTextUses:682 1609Used by:1996
Symbol 1554 EditableTextUses:682 1609Used by:1996
Symbol 1555 EditableTextUses:682 1609Used by:1996
Symbol 1556 EditableTextUses:682 1609Used by:1996
Symbol 1557 EditableTextUses:682 1609Used by:1996
Symbol 1558 EditableTextUses:682 1609Used by:1996
Symbol 1559 EditableTextUses:682 1609Used by:1996
Symbol 1560 TextUses:1535Used by:1996
Symbol 1561 TextUses:1535Used by:1996
Symbol 1562 EditableTextUses:682 1609Used by:1996
Symbol 1563 BitmapUsed by:1564
Symbol 1564 GraphicUses:1563Used by:1565 1566
Symbol 1565 MovieClipUses:1564Used by:1566
Symbol 1566 ButtonUses:1565 1564 89Used by:1569 1836
Symbol 1567 FontUsed by:1568 1754 1767 1804 1820 1848 1851 1891 2790
Symbol 1568 TextUses:1567Used by:1569
Symbol 1569 MovieClipUses:1566 1568Used by:1996
Symbol 1570 FontUsed by:1571 1573 2735
Symbol 1571 TextUses:1570Used by:1996
Symbol 1572 EditableTextUses:682 1609Used by:1996
Symbol 1573 EditableTextUses:1570Used by:1996
Symbol 1574 EditableTextUses:682 1609Used by:1996
Symbol 1575 TextUses:1535Used by:1996
Symbol 1576 EditableTextUses:682 1609Used by:1996
Symbol 1577 BitmapUsed by:1578
Symbol 1578 GraphicUses:1577Used by:1585
Symbol 1579 BitmapUsed by:1580
Symbol 1580 GraphicUses:1579Used by:1585
Symbol 1581 BitmapUsed by:1582
Symbol 1582 GraphicUses:1581Used by:1585
Symbol 1583 BitmapUsed by:1584
Symbol 1584 GraphicUses:1583Used by:1585
Symbol 1585 MovieClipUses:1578 1580 1582 1584Used by:1996
Symbol 1586 BitmapUsed by:1587
Symbol 1587 GraphicUses:1586Used by:1588
Symbol 1588 MovieClipUses:1587Used by:1589
Symbol 1589 MovieClipUses:1588Used by:1996
Symbol 1590 BitmapUsed by:1591
Symbol 1591 GraphicUses:1590Used by:1596
Symbol 1592 BitmapUsed by:1593
Symbol 1593 GraphicUses:1592Used by:1596
Symbol 1594 BitmapUsed by:1595
Symbol 1595 GraphicUses:1594Used by:1596
Symbol 1596 MovieClipUses:1591 1593 1595Used by:1996
Symbol 1597 TextUses:1535Used by:1996
Symbol 1598 EditableTextUses:682 1609Used by:1996
Symbol 1599 BitmapUsed by:1600 1601
Symbol 1600 GraphicUses:1599Used by:1602 2337
Symbol 1601 GraphicUses:1599Used by:1602
Symbol 1602 ButtonUses:1600 1601 86Used by:1996
Symbol 1603 BitmapUsed by:1604 1605
Symbol 1604 GraphicUses:1603Used by:1606 2337 2427
Symbol 1605 GraphicUses:1603Used by:1606
Symbol 1606 ButtonUses:1604 1605 86Used by:1996
Symbol 1607 BitmapUsed by:1608 1612 1644 1744 1764 1810 1817 1833
Symbol 1608 GraphicUses:1607Used by:1611 1769
Symbol 1609 FontUsed by:683 684 686 1553 1554 1555 1556 1557 1558 1559 1562 1572 1574 1576 1598 1610 1613 1622 1623 1624 1625 1627 1628 1629 1630 1639 1645 1648 1652 1653 1657 1698 1706 1707 1708 1712 1743 1745 1755 1765 1768 1770 1774 1775 1777 1778 1782 1783 1784 1785 1787 1789 1791 1809 1811 1818 1828 1834 1843 1849 1855 1867 1876 1883 1907 1908 1909 1912 1997 2119 2124 2125 2126 2133 2145 2153 2154 2288 2293 2342 2388 2428 2436 2437 2652 2684 2736 2737 2738 2739 2742 2743 2746 2747 2750 2751
Symbol 1610 TextUses:1609Used by:1611
Symbol 1611 MovieClipUses:1608 1610Used by:1996
Symbol 1612 GraphicUses:1607Used by:1614
Symbol 1613 TextUses:1609Used by:1614
Symbol 1614 MovieClipUses:1612 1613Used by:1996
Symbol 1615 EditableTextUses:1535Used by:1996
Symbol 1616 BitmapUsed by:1617
Symbol 1617 GraphicUses:1616Used by:1618 1899
Symbol 1618 MovieClipUses:1617Used by:1658 1792 1897 1996
Symbol 1619 BitmapUsed by:1620
Symbol 1620 GraphicUses:1619Used by:1621 1626 1631
Symbol 1621 MovieClipUses:1620Used by:1626 1631
Symbol 1622 EditableTextUses:682 1609Used by:1626
Symbol 1623 EditableTextUses:682 1609Used by:1626
Symbol 1624 EditableTextUses:682 1609Used by:1626
Symbol 1625 EditableTextUses:682 1609Used by:1626
Symbol 1626 ButtonUses:1621 1622 1623 1624 1620 1625 89Used by:1996
Symbol 1627 EditableTextUses:682 1609Used by:1631
Symbol 1628 EditableTextUses:682 1609Used by:1631
Symbol 1629 EditableTextUses:682 1609Used by:1631
Symbol 1630 EditableTextUses:682 1609Used by:1631
Symbol 1631 ButtonUses:1621 1627 1628 1629 1620 1630 89Used by:1996
Symbol 1632 BitmapUsed by:1633
Symbol 1633 GraphicUses:1632Used by:1638
Symbol 1634 BitmapUsed by:1635
Symbol 1635 GraphicUses:1634Used by:1638
Symbol 1636 BitmapUsed by:1637
Symbol 1637 GraphicUses:1636Used by:1638
Symbol 1638 MovieClipUses:1633 1635 1637Used by:1996
Symbol 1639 EditableTextUses:682 1609Used by:1996
Symbol 1640 BitmapUsed by:1641 1642
Symbol 1641 GraphicUses:1640Used by:1643 2337 2427
Symbol 1642 GraphicUses:1640Used by:1643
Symbol 1643 ButtonUses:1641 1642 86Used by:1996
Symbol 1644 GraphicUses:1607Used by:1646
Symbol 1645 TextUses:1609Used by:1646
Symbol 1646 MovieClipUses:1644 1645Used by:1996
Symbol 1647 TextUses:1535Used by:1996
Symbol 1648 EditableTextUses:682 1609Used by:1996
Symbol 1649 BitmapUsed by:1650
Symbol 1650 GraphicUses:1649Used by:1651
Symbol 1651 MovieClip {shootem_funny_fla.lockedupgrades_255}Uses:1650Used by:1996
Symbol 1652 EditableTextUses:682 1609Used by:1658
Symbol 1653 EditableTextUses:682 1609Used by:1658
Symbol 1654 FontUsed by:1655 1656 1699 1702 1703 1704 1705 1709 1710 1711 1742 1771 1772 1773 1776 1779 1780 1781 1786 1788 1790
Symbol 1655 EditableTextUses:1654Used by:1658
Symbol 1656 EditableTextUses:1654Used by:1658
Symbol 1657 EditableTextUses:682 1609Used by:1658
Symbol 1658 MovieClip {invPop}Uses:1479 1652 1653 1655 1656 1657 1618Used by:1996
Symbol 1659 BitmapUsed by:1660
Symbol 1660 GraphicUses:1659Used by:1691
Symbol 1661 BitmapUsed by:1662
Symbol 1662 GraphicUses:1661Used by:1691
Symbol 1663 BitmapUsed by:1664
Symbol 1664 GraphicUses:1663Used by:1691
Symbol 1665 BitmapUsed by:1666
Symbol 1666 GraphicUses:1665Used by:1691
Symbol 1667 BitmapUsed by:1668
Symbol 1668 GraphicUses:1667Used by:1691
Symbol 1669 BitmapUsed by:1670
Symbol 1670 GraphicUses:1669Used by:1691
Symbol 1671 BitmapUsed by:1672
Symbol 1672 GraphicUses:1671Used by:1691
Symbol 1673 BitmapUsed by:1674
Symbol 1674 GraphicUses:1673Used by:1691
Symbol 1675 BitmapUsed by:1676
Symbol 1676 GraphicUses:1675Used by:1691
Symbol 1677 BitmapUsed by:1678
Symbol 1678 GraphicUses:1677Used by:1691
Symbol 1679 BitmapUsed by:1680
Symbol 1680 GraphicUses:1679Used by:1691
Symbol 1681 BitmapUsed by:1682
Symbol 1682 GraphicUses:1681Used by:1691
Symbol 1683 BitmapUsed by:1684
Symbol 1684 GraphicUses:1683Used by:1691
Symbol 1685 BitmapUsed by:1686
Symbol 1686 GraphicUses:1685Used by:1691
Symbol 1687 BitmapUsed by:1688
Symbol 1688 GraphicUses:1687Used by:1691
Symbol 1689 BitmapUsed by:1690
Symbol 1690 GraphicUses:1689Used by:1691
Symbol 1691 MovieClipUses:1660 1662 1664 1666 1668 1670 1672 1674 1676 1678 1680 1682 1684 1686 1688 1690Used by:1996
Symbol 1692 BitmapUsed by:1693
Symbol 1693 GraphicUses:1692Used by:1697 2297 2304
Symbol 1694 BitmapUsed by:1696 2299
Symbol 1695 BitmapUsed by:1696 2296
Symbol 1696 GraphicUses:1694 1695Used by:1697
Symbol 1697 ButtonUses:1693 1696 89Used by:1996
Symbol 1698 EditableTextUses:682 1609Used by:1996
Symbol 1699 TextUses:1654Used by:1996
Symbol 1700 GraphicUsed by:1701
Symbol 1701 MovieClipUses:1700Used by:1996
Symbol 1702 TextUses:1654Used by:1996
Symbol 1703 TextUses:1654Used by:1996
Symbol 1704 EditableTextUses:1654Used by:1996
Symbol 1705 EditableTextUses:1654Used by:1996
Symbol 1706 EditableTextUses:682 1609Used by:1996
Symbol 1707 EditableTextUses:682 1609Used by:1996
Symbol 1708 EditableTextUses:682 1609Used by:1996
Symbol 1709 EditableTextUses:1654Used by:1996
Symbol 1710 EditableTextUses:1654Used by:1996
Symbol 1711 EditableTextUses:1654Used by:1996
Symbol 1712 EditableTextUses:682 1609Used by:1996
Symbol 1713 GraphicUsed by:1714
Symbol 1714 MovieClip {ComboBox_upSkin}Uses:1713Used by:1741
Symbol 1715 GraphicUsed by:1716
Symbol 1716 MovieClip {ComboBox_disabledSkin}Uses:1715Used by:1741
Symbol 1717 GraphicUsed by:1718
Symbol 1718 MovieClip {ComboBox_overSkin}Uses:1717Used by:1741
Symbol 1719 GraphicUsed by:1720
Symbol 1720 MovieClip {ComboBox_downSkin}Uses:1719Used by:1741
Symbol 1721 GraphicUsed by:1722
Symbol 1722 MovieClip {List_skin}Uses:1721Used by:1740
Symbol 1723 GraphicUsed by:1724
Symbol 1724 MovieClip {CellRenderer_upSkin}Uses:1723Used by:1738
Symbol 1725 GraphicUsed by:1726
Symbol 1726 MovieClip {CellRenderer_disabledSkin}Uses:1725Used by:1738
Symbol 1727 GraphicUsed by:1728 1733
Symbol 1728 MovieClip {CellRenderer_downSkin}Uses:1727Used by:1738
Symbol 1729 GraphicUsed by:1730
Symbol 1730 MovieClip {CellRenderer_overSkin}Uses:1729Used by:1738
Symbol 1731 GraphicUsed by:1732
Symbol 1732 MovieClip {CellRenderer_selectedDisabledSkin}Uses:1731Used by:1738
Symbol 1733 MovieClip {CellRenderer_selectedDownSkin}Uses:1727Used by:1738
Symbol 1734 GraphicUsed by:1735
Symbol 1735 MovieClip {CellRenderer_selectedOverSkin}Uses:1734Used by:1738
Symbol 1736 GraphicUsed by:1737
Symbol 1737 MovieClip {CellRenderer_selectedUpSkin}Uses:1736Used by:1738
Symbol 1738 MovieClip {fl.controls.listClasses.CellRenderer}Uses:1724 104 1726 1728 1730 1732 1733 1735 1737Used by:1740
Symbol 1739 MovieClip {fl.controls.ScrollBar}Uses:1506 104 105 1509 1511 1513 1514 1516 1518 1519 1521 1522 1524 1526 1528Used by:1740
Symbol 1740 MovieClip {fl.controls.List}Uses:103 104 1722 1738 105 1739Used by:1741
Symbol 1741 MovieClip {fl.controls.ComboBox}Uses:103 104 105 1714 1716 1718 1720 127 1740Used by:1996  Timeline
Symbol 1742 EditableTextUses:1654Used by:1996
Symbol 1743 EditableTextUses:682 1609Used by:1996
Symbol 1744 GraphicUses:1607Used by:1746
Symbol 1745 TextUses:1609Used by:1746
Symbol 1746 MovieClipUses:1744 1745Used by:1996
Symbol 1747 GraphicUsed by:1748
Symbol 1748 MovieClipUses:1747Used by:1996
Symbol 1749 TextUses:1535Used by:1996
Symbol 1750 TextUses:1535Used by:1996
Symbol 1751 BitmapUsed by:1752
Symbol 1752 GraphicUses:1751Used by:1753 2130
Symbol 1753 ButtonUses:1752Used by:1996
Symbol 1754 EditableTextUses:1535 1567 1895Used by:1996
Symbol 1755 EditableTextUses:682 1609Used by:1996
Symbol 1756 BitmapUsed by:1757 1758
Symbol 1757 GraphicUses:1756Used by:1759 2337
Symbol 1758 GraphicUses:1756Used by:1759
Symbol 1759 ButtonUses:1757 1758 86Used by:1996
Symbol 1760 BitmapUsed by:1761 1762
Symbol 1761 GraphicUses:1760Used by:1763 2337
Symbol 1762 GraphicUses:1760Used by:1763
Symbol 1763 ButtonUses:1761 1762 86Used by:1996
Symbol 1764 GraphicUses:1607Used by:1766
Symbol 1765 TextUses:1609Used by:1766
Symbol 1766 MovieClipUses:1764 1765Used by:1996
Symbol 1767 EditableTextUses:1535 1567 1895Used by:1996
Symbol 1768 TextUses:1609Used by:1769
Symbol 1769 MovieClipUses:1608 1768Used by:1996
Symbol 1770 EditableTextUses:682 1609Used by:1792
Symbol 1771 TextUses:1654Used by:1792
Symbol 1772 TextUses:1654Used by:1792
Symbol 1773 TextUses:1654Used by:1792
Symbol 1774 EditableTextUses:682 1609Used by:1792
Symbol 1775 EditableTextUses:682 1609Used by:1792
Symbol 1776 TextUses:1654Used by:1792
Symbol 1777 EditableTextUses:682 1609Used by:1792
Symbol 1778 EditableTextUses:682 1609Used by:1792
Symbol 1779 TextUses:1654Used by:1792
Symbol 1780 TextUses:1654Used by:1792
Symbol 1781 TextUses:1654Used by:1792
Symbol 1782 EditableTextUses:682 1609Used by:1792
Symbol 1783 EditableTextUses:682 1609Used by:1792
Symbol 1784 EditableTextUses:682 1609Used by:1792
Symbol 1785 EditableTextUses:682 1609Used by:1792
Symbol 1786 TextUses:1654Used by:1792
Symbol 1787 EditableTextUses:682 1609Used by:1792
Symbol 1788 TextUses:1654Used by:1792
Symbol 1789 EditableTextUses:682 1609Used by:1792
Symbol 1790 TextUses:1654Used by:1792
Symbol 1791 EditableTextUses:682 1609Used by:1792
Symbol 1792 MovieClipUses:1479 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1618Used by:1996 2132
Symbol 1793 BitmapUsed by:1794
Symbol 1794 GraphicUses:1793Used by:1801
Symbol 1795 BitmapUsed by:1796
Symbol 1796 GraphicUses:1795Used by:1801
Symbol 1797 BitmapUsed by:1798
Symbol 1798 GraphicUses:1797Used by:1801
Symbol 1799 BitmapUsed by:1800
Symbol 1800 GraphicUses:1799Used by:1801
Symbol 1801 MovieClipUses:1794 1796 1798 1800Used by:1996
Symbol 1802 TextUses:1535Used by:1996
Symbol 1803 TextUses:1535Used by:1996
Symbol 1804 EditableTextUses:1535 1567 1895Used by:1996
Symbol 1805 BitmapUsed by:1806 1807
Symbol 1806 GraphicUses:1805Used by:1808 2337
Symbol 1807 GraphicUses:1805Used by:1808
Symbol 1808 ButtonUses:1806 1807 86Used by:1996
Symbol 1809 EditableTextUses:682 1609Used by:1996
Symbol 1810 GraphicUses:1607Used by:1812
Symbol 1811 TextUses:1609Used by:1812
Symbol 1812 MovieClipUses:1810 1811Used by:1996
Symbol 1813 BitmapUsed by:1814 1815
Symbol 1814 GraphicUses:1813Used by:1816
Symbol 1815 GraphicUses:1813Used by:1816
Symbol 1816 ButtonUses:1814 1815 86Used by:1996
Symbol 1817 GraphicUses:1607Used by:1819
Symbol 1818 TextUses:1609Used by:1819
Symbol 1819 MovieClipUses:1817 1818Used by:1996
Symbol 1820 EditableTextUses:1535 1567 1895Used by:1996
Symbol 1821 BitmapUsed by:1822
Symbol 1822 GraphicUses:1821Used by:1827
Symbol 1823 BitmapUsed by:1824
Symbol 1824 GraphicUses:1823Used by:1827
Symbol 1825 BitmapUsed by:1826
Symbol 1826 GraphicUses:1825Used by:1827
Symbol 1827 MovieClipUses:1822 1824 1826Used by:1996
Symbol 1828 EditableTextUses:682 1609Used by:1996
Symbol 1829 BitmapUsed by:1830 1831
Symbol 1830 GraphicUses:1829Used by:1832 2337
Symbol 1831 GraphicUses:1829Used by:1832
Symbol 1832 ButtonUses:1830 1831 86Used by:1996
Symbol 1833 GraphicUses:1607Used by:1835
Symbol 1834 TextUses:1609Used by:1835
Symbol 1835 MovieClipUses:1833 1834Used by:1996
Symbol 1836 MovieClipUses:1566Used by:1996
Symbol 1837 BitmapUsed by:1838
Symbol 1838 GraphicUses:1837Used by:1839 1840
Symbol 1839 MovieClipUses:1838Used by:1840
Symbol 1840 ButtonUses:1839 1838 89Used by:1996
Symbol 1841 TextUses:1535Used by:1996
Symbol 1842 TextUses:1535Used by:1996
Symbol 1843 EditableTextUses:682 1609Used by:1996
Symbol 1844 TextUses:1535Used by:1996
Symbol 1845 BitmapUsed by:1846
Symbol 1846 GraphicUses:1845Used by:1847
Symbol 1847 MovieClipUses:1846Used by:1996
Symbol 1848 EditableTextUses:1535 1567 1895Used by:1996
Symbol 1849 EditableTextUses:682 1609Used by:1996
Symbol 1850 TextUses:1535Used by:1996
Symbol 1851 EditableTextUses:1535 1567 1895Used by:1996
Symbol 1852 BitmapUsed by:1853
Symbol 1853 GraphicUses:1852Used by:1854
Symbol 1854 MovieClipUses:1853Used by:1996
Symbol 1855 EditableTextUses:682 1609Used by:1996
Symbol 1856 TextUses:1535Used by:1996
Symbol 1857 BitmapUsed by:1858
Symbol 1858 GraphicUses:1857Used by:1865
Symbol 1859 BitmapUsed by:1860
Symbol 1860 GraphicUses:1859Used by:1865
Symbol 1861 BitmapUsed by:1862
Symbol 1862 GraphicUses:1861Used by:1865
Symbol 1863 BitmapUsed by:1864
Symbol 1864 GraphicUses:1863Used by:1865
Symbol 1865 MovieClipUses:1858 1860 1862 1864Used by:1996
Symbol 1866 TextUses:1535Used by:1996
Symbol 1867 EditableTextUses:682 1609Used by:1875
Symbol 1868 BitmapUsed by:1869 1871
Symbol 1869 GraphicUses:1868Used by:1874
Symbol 1870 EditableTextUses:682Used by:1874
Symbol 1871 GraphicUses:1868Used by:1874
Symbol 1872 EditableTextUses:682Used by:1874
Symbol 1873 SoundUsed by:1874 2715 2765 2770 2775 2780 2785 2789
Symbol 1874 ButtonUses:1869 1870 1871 1872 1873Used by:1875
Symbol 1875 MovieClipUses:1867 1874Used by:1996
Symbol 1876 EditableTextUses:682 1609Used by:1996
Symbol 1877 BitmapUsed by:1878
Symbol 1878 GraphicUses:1877Used by:1879
Symbol 1879 MovieClipUses:1878Used by:1996
Symbol 1880 TextUses:682Used by:1882
Symbol 1881 TextUses:682Used by:1882
Symbol 1882 ButtonUses:1544 1880 1881 1543 89Used by:1996
Symbol 1883 EditableTextUses:682 1609Used by:1996
Symbol 1884 BitmapUsed by:1885
Symbol 1885 GraphicUses:1884Used by:1886
Symbol 1886 MovieClipUses:1885Used by:1887
Symbol 1887 MovieClipUses:1886Used by:1996
Symbol 1888 TextUses:1535Used by:1996
Symbol 1889 TextUses:1535Used by:1996
Symbol 1890 TextUses:1535Used by:1996
Symbol 1891 EditableTextUses:1535 1567 1895Used by:1996
Symbol 1892 TextUses:682Used by:1894
Symbol 1893 TextUses:682Used by:1894
Symbol 1894 ButtonUses:1544 1892 1893 1543 89Used by:1996
Symbol 1895 FontUsed by:1754 1767 1804 1820 1848 1851 1891 1896 1952 1955 1958 1960 1962 1964 1966 1967 1971 1972 1974 1981 1982 1984 1987 1988 1992 1994 2790
Symbol 1896 TextUses:1895Used by:1897 1899
Symbol 1897 MovieClipUses:1896 1618Used by:1899
Symbol 1898 GraphicUsed by:1899 2136 2151 2297 2304 2312
Symbol 1899 ButtonUses:1897 1898 1896 1617 89Used by:1996
Symbol 1900 TextUses:1480Used by:1902
Symbol 1901 TextUses:1535Used by:1902
Symbol 1902 MovieClip {shootem_funny_fla.detailwin_289}Uses:1479 1530 1497 1900 1901Used by:1996
Symbol 1903 BitmapUsed by:1904
Symbol 1904 GraphicUses:1903Used by:1905
Symbol 1905 MovieClipUses:1904Used by:1996
Symbol 1906 TextUses:1535Used by:1996
Symbol 1907 EditableTextUses:682 1609Used by:1996
Symbol 1908 EditableTextUses:682 1609Used by:1996
Symbol 1909 EditableTextUses:682 1609Used by:1996
Symbol 1910 TextUses:1535Used by:1996
Symbol 1911 TextUses:1535Used by:1996
Symbol 1912 EditableTextUses:682 1609Used by:1996
Symbol 1913 TextUses:1535Used by:1996
Symbol 1914 TextUses:1535Used by:1996
Symbol 1915 BitmapUsed by:1916
Symbol 1916 GraphicUses:1915Used by:1917
Symbol 1917 MovieClipUses:1916Used by:1996
Symbol 1918 TextUses:1535Used by:1996
Symbol 1919 TextUses:1535Used by:1996
Symbol 1920 TextUses:1535Used by:1996
Symbol 1921 TextUses:1535Used by:1996
Symbol 1922 TextUses:1535Used by:1996
Symbol 1923 TextUses:1535Used by:1996
Symbol 1924 TextUses:1535Used by:1996
Symbol 1925 FontUsed by:2661 2662 2663
Symbol 1926 TextUsed by:1996
Symbol 1927 TextUses:1535Used by:1996
Symbol 1928 TextUses:1535Used by:1996
Symbol 1929 BitmapUsed by:1930
Symbol 1930 GraphicUses:1929Used by:1931
Symbol 1931 MovieClipUses:1930Used by:1996
Symbol 1932 TextUses:1535Used by:1996
Symbol 1933 BitmapUsed by:1934
Symbol 1934 GraphicUses:1933Used by:1935 1937 1939 1942 1944 2127 2129
Symbol 1935 MovieClipUses:1934Used by:1937 1939 1942 1944 2127 2129
Symbol 1936 TextUses:682Used by:1937
Symbol 1937 ButtonUses:1935 1936 1934 89Used by:1996
Symbol 1938 TextUses:682Used by:1939
Symbol 1939 ButtonUses:1935 1938 1934 89Used by:1996
Symbol 1940 TextUses:682Used by:1942
Symbol 1941 TextUses:682Used by:1942
Symbol 1942 ButtonUses:1935 1940 1941 1934 89Used by:1996
Symbol 1943 TextUses:682Used by:1944
Symbol 1944 ButtonUses:1935 1943 1934 89Used by:1996
Symbol 1945 TextUses:1535Used by:1996
Symbol 1946 BitmapUsed by:1951 2781 2783
Symbol 1947 BitmapUsed by:1951 2776 2778
Symbol 1948 BitmapUsed by:1951 2771 2773
Symbol 1949 BitmapUsed by:1951 2766 2768
Symbol 1950 BitmapUsed by:1951 2760 2762
Symbol 1951 GraphicUses:1946 1947 1948 1949 1950Used by:1996
Symbol 1952 TextUses:1895Used by:1996
Symbol 1953 TextUses:1535Used by:1996
Symbol 1954 TextUses:1535Used by:1996
Symbol 1955 TextUses:1895Used by:1996
Symbol 1956 BitmapUsed by:1957 2787
Symbol 1957 GraphicUses:1956Used by:1996 2789
Symbol 1958 TextUses:1895Used by:1996
Symbol 1959 TextUses:1535Used by:1996
Symbol 1960 TextUses:1895Used by:1996
Symbol 1961 TextUses:1535Used by:1996
Symbol 1962 TextUses:1895Used by:1996
Symbol 1963 TextUses:1535Used by:1996
Symbol 1964 TextUses:1895Used by:1996
Symbol 1965 TextUses:1535Used by:1996
Symbol 1966 TextUses:1895Used by:1996
Symbol 1967 TextUses:1895Used by:1996
Symbol 1968 TextUses:1535Used by:1996
Symbol 1969 TextUses:1535Used by:1996
Symbol 1970 TextUses:1535Used by:1996
Symbol 1971 TextUses:1895Used by:1996
Symbol 1972 TextUses:1895Used by:1996
Symbol 1973 FontUsed by:1974 1980
Symbol 1974 TextUses:1973 1895Used by:1996
Symbol 1975 TextUses:1535Used by:1996
Symbol 1976 BitmapUsed by:1977
Symbol 1977 GraphicUses:1976Used by:1978 1979
Symbol 1978 MovieClipUses:1977Used by:1979
Symbol 1979 ButtonUses:1978 1977 89Used by:1996
Symbol 1980 TextUses:1973Used by:1996
Symbol 1981 TextUses:1895Used by:1996
Symbol 1982 TextUses:1895Used by:1996
Symbol 1983 TextUses:1535Used by:1996
Symbol 1984 TextUses:1895Used by:1996
Symbol 1985 TextUses:1535Used by:1996
Symbol 1986 TextUses:1535Used by:1996
Symbol 1987 TextUses:1895Used by:1996
Symbol 1988 TextUses:1895Used by:1996
Symbol 1989 TextUses:1535Used by:1996
Symbol 1990 TextUses:1535Used by:1996
Symbol 1991 TextUses:1535Used by:1996
Symbol 1992 TextUses:1895Used by:1996
Symbol 1993 TextUses:1535Used by:1996
Symbol 1994 TextUses:1895Used by:1996
Symbol 1995 TextUses:1535Used by:1996
Symbol 1996 MovieClip {window}Uses:1476 1479 1481 1487 1490 1493 1497 1531 1534 1536 1537 1538 1539 1540 1541 1547 1548 1549 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1530 1561 1562 1569 1571 1572 1573 1574 1575 1576 1585 1589 1596 1597 1598 1602 1606 1611 1614 1615 1618 1626 1631 1638 1639 1643 1646 1647 1648 1442 1651 1658 1691 1697 1698 1699 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1741 1742 1743 1746 1748 1475 1749 1750 1753 1754 1755 1759 1763 1766 1767 1769 1792 1801 1802 1803 1804 1808 1809 1812 1816 1819 1820 1827 1828 1832 1835 1836 1840 1841 1842 1843 1844 1847 1848 1849 1850 1851 1854 1855 1856 1865 1866 1875 1876 1879 1882 1883 1887 1888 1889 1890 1891 1894 1899 1902 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1917 1918 1919 1920 1921 1922 1923 1924 1926 1927 1928 1931 1932 1937 1939 1942 1944 1945 1951 1952 1953 1954 1955 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1974 1975 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995
Symbol 1997 EditableTextUses:682 1609Used by:2000
Symbol 1998 GraphicUsed by:1999 2439 2443 2476
Symbol 1999 ButtonUses:1998Used by:2000
Symbol 2000 MovieClip {selectButton}Uses:1997 1999
Symbol 2001 EditableTextUses:1392Used by:2114
Symbol 2002 BitmapUsed by:2003
Symbol 2003 GraphicUses:2002Used by:2114
Symbol 2004 BitmapUsed by:2005
Symbol 2005 GraphicUses:2004Used by:2114
Symbol 2006 BitmapUsed by:2007
Symbol 2007 GraphicUses:2006Used by:2114
Symbol 2008 BitmapUsed by:2009
Symbol 2009 GraphicUses:2008Used by:2114
Symbol 2010 BitmapUsed by:2011
Symbol 2011 GraphicUses:2010Used by:2114
Symbol 2012 BitmapUsed by:2013
Symbol 2013 GraphicUses:2012Used by:2114
Symbol 2014 BitmapUsed by:2015
Symbol 2015 GraphicUses:2014Used by:2114
Symbol 2016 BitmapUsed by:2017
Symbol 2017 GraphicUses:2016Used by:2114
Symbol 2018 BitmapUsed by:2019
Symbol 2019 GraphicUses:2018Used by:2114
Symbol 2020 BitmapUsed by:2021
Symbol 2021 GraphicUses:2020Used by:2114
Symbol 2022 BitmapUsed by:2023
Symbol 2023 GraphicUses:2022Used by:2114
Symbol 2024 BitmapUsed by:2025
Symbol 2025 GraphicUses:2024Used by:2114
Symbol 2026 BitmapUsed by:2027
Symbol 2027 GraphicUses:2026Used by:2114
Symbol 2028 BitmapUsed by:2029
Symbol 2029 GraphicUses:2028Used by:2114
Symbol 2030 BitmapUsed by:2031
Symbol 2031 GraphicUses:2030Used by:2114
Symbol 2032 BitmapUsed by:2033
Symbol 2033 GraphicUses:2032Used by:2114
Symbol 2034 BitmapUsed by:2035
Symbol 2035 GraphicUses:2034Used by:2114
Symbol 2036 BitmapUsed by:2037
Symbol 2037 GraphicUses:2036Used by:2114
Symbol 2038 BitmapUsed by:2039
Symbol 2039 GraphicUses:2038Used by:2114
Symbol 2040 BitmapUsed by:2041
Symbol 2041 GraphicUses:2040Used by:2114
Symbol 2042 BitmapUsed by:2043
Symbol 2043 GraphicUses:2042Used by:2114
Symbol 2044 BitmapUsed by:2045
Symbol 2045 GraphicUses:2044Used by:2114
Symbol 2046 BitmapUsed by:2047
Symbol 2047 GraphicUses:2046Used by:2114
Symbol 2048 BitmapUsed by:2049
Symbol 2049 GraphicUses:2048Used by:2114
Symbol 2050 BitmapUsed by:2051
Symbol 2051 GraphicUses:2050Used by:2114
Symbol 2052 BitmapUsed by:2053
Symbol 2053 GraphicUses:2052Used by:2114
Symbol 2054 BitmapUsed by:2055
Symbol 2055 GraphicUses:2054Used by:2114
Symbol 2056 BitmapUsed by:2057
Symbol 2057 GraphicUses:2056Used by:2114
Symbol 2058 BitmapUsed by:2059
Symbol 2059 GraphicUses:2058Used by:2114
Symbol 2060 BitmapUsed by:2061
Symbol 2061 GraphicUses:2060Used by:2114
Symbol 2062 BitmapUsed by:2063
Symbol 2063 GraphicUses:2062Used by:2114
Symbol 2064 BitmapUsed by:2065
Symbol 2065 GraphicUses:2064Used by:2114
Symbol 2066 BitmapUsed by:2067
Symbol 2067 GraphicUses:2066Used by:2114
Symbol 2068 BitmapUsed by:2069
Symbol 2069 GraphicUses:2068Used by:2114
Symbol 2070 BitmapUsed by:2071
Symbol 2071 GraphicUses:2070Used by:2114
Symbol 2072 BitmapUsed by:2073
Symbol 2073 GraphicUses:2072Used by:2114
Symbol 2074 BitmapUsed by:2075
Symbol 2075 GraphicUses:2074Used by:2114
Symbol 2076 BitmapUsed by:2077
Symbol 2077 GraphicUses:2076Used by:2114
Symbol 2078 BitmapUsed by:2079
Symbol 2079 GraphicUses:2078Used by:2114
Symbol 2080 BitmapUsed by:2081
Symbol 2081 GraphicUses:2080Used by:2114
Symbol 2082 BitmapUsed by:2083
Symbol 2083 GraphicUses:2082Used by:2114
Symbol 2084 BitmapUsed by:2085
Symbol 2085 GraphicUses:2084Used by:2114
Symbol 2086 BitmapUsed by:2087
Symbol 2087 GraphicUses:2086Used by:2114
Symbol 2088 BitmapUsed by:2089
Symbol 2089 GraphicUses:2088Used by:2114
Symbol 2090 BitmapUsed by:2091
Symbol 2091 GraphicUses:2090Used by:2114
Symbol 2092 BitmapUsed by:2093
Symbol 2093 GraphicUses:2092Used by:2114
Symbol 2094 BitmapUsed by:2095
Symbol 2095 GraphicUses:2094Used by:2114
Symbol 2096 BitmapUsed by:2097
Symbol 2097 GraphicUses:2096Used by:2114
Symbol 2098 BitmapUsed by:2099
Symbol 2099 GraphicUses:2098Used by:2114
Symbol 2100 BitmapUsed by:2101
Symbol 2101 GraphicUses:2100Used by:2114
Symbol 2102 BitmapUsed by:2103
Symbol 2103 GraphicUses:2102Used by:2114
Symbol 2104 BitmapUsed by:2105
Symbol 2105 GraphicUses:2104Used by:2114
Symbol 2106 BitmapUsed by:2107
Symbol 2107 GraphicUses:2106Used by:2114
Symbol 2108 BitmapUsed by:2109
Symbol 2109 GraphicUses:2108Used by:2114
Symbol 2110 BitmapUsed by:2111
Symbol 2111 GraphicUses:2110Used by:2114
Symbol 2112 BitmapUsed by:2113
Symbol 2113 GraphicUses:2112Used by:2114
Symbol 2114 MovieClip {itemPicture}Uses:2001 2003 2005 2007 2009 2011 2013 2015 2017 2019 2021 2023 2025 2027 2029 2031 2033 2035 2037 2039 2041 2043 2045 2047 2049 2051 2053 2055 2057 2059 2061 2063 2065 2067 2069 2071 2073 2075 2077 2079 2081 2083 2085 2087 2089 2091 2093 2095 2097 2099 2101 2103 2105 2107 2109 2111 2113
Symbol 2115 BitmapUsed by:2116
Symbol 2116 GraphicUses:2115Used by:2122
Symbol 2117 FontUsed by:2118
Symbol 2118 EditableTextUses:2117Used by:2122
Symbol 2119 EditableTextUses:682 1609Used by:2122
Symbol 2120 FontUsed by:2121
Symbol 2121 EditableTextUses:2120Used by:2122
Symbol 2122 MovieClip {invSlot}Uses:2116 2118 2119 1442 2121
Symbol 2123 GraphicUsed by:2132
Symbol 2124 EditableTextUses:682 1609Used by:2132
Symbol 2125 EditableTextUses:682 1609Used by:2127
Symbol 2126 EditableTextUses:682 1609Used by:2127
Symbol 2127 ButtonUses:1935 2125 2126 1934 89Used by:2132
Symbol 2128 TextUses:682Used by:2129
Symbol 2129 ButtonUses:1935 2128 1934 89Used by:2132
Symbol 2130 MovieClipUses:1752Used by:2132
Symbol 2131 TextUses:1480Used by:2132
Symbol 2132 MovieClip {dialog}Uses:2123 1479 2124 2127 2129 1792 2130 1500 2131
Symbol 2133 EditableTextUses:682 1609Used by:2144
Symbol 2134 EditableTextUses:682Used by:2136
Symbol 2135 EditableTextUses:682Used by:2136
Symbol 2136 ButtonUses:2134 1898 2135Used by:2144
Symbol 2137 BitmapUsed by:2138
Symbol 2138 GraphicUses:2137Used by:2143
Symbol 2139 BitmapUsed by:2140
Symbol 2140 GraphicUses:2139Used by:2143
Symbol 2141 BitmapUsed by:2142
Symbol 2142 GraphicUses:2141Used by:2143
Symbol 2143 MovieClipUses:2138 2140 2142Used by:2144
Symbol 2144 MovieClip {trait}Uses:2133 2136 2143
Symbol 2145 EditableTextUses:682 1609Used by:2152
Symbol 2146 BitmapUsed by:2147
Symbol 2147 GraphicUses:2146Used by:2148
Symbol 2148 MovieClipUses:2147Used by:2152
Symbol 2149 EditableTextUses:682Used by:2151
Symbol 2150 EditableTextUses:682Used by:2151
Symbol 2151 ButtonUses:2149 1898 2150Used by:2152
Symbol 2152 MovieClip {medals}Uses:2145 2148 2151
Symbol 2153 EditableTextUses:682 1609Used by:2193
Symbol 2154 EditableTextUses:682 1609Used by:2193
Symbol 2155 BitmapUsed by:2156
Symbol 2156 GraphicUses:2155Used by:2157
Symbol 2157 MovieClipUses:2156Used by:2193
Symbol 2158 GraphicUsed by:2159 2160
Symbol 2159 MovieClipUses:2158Used by:2160
Symbol 2160 ButtonUses:2159 2158 89Used by:2193
Symbol 2161 BitmapUsed by:2162
Symbol 2162 GraphicUses:2161Used by:2192
Symbol 2163 GraphicUsed by:2192
Symbol 2164 BitmapUsed by:2165
Symbol 2165 GraphicUses:2164Used by:2192
Symbol 2166 BitmapUsed by:2167
Symbol 2167 GraphicUses:2166Used by:2192
Symbol 2168 BitmapUsed by:2169
Symbol 2169 GraphicUses:2168Used by:2192
Symbol 2170 BitmapUsed by:2171
Symbol 2171 GraphicUses:2170Used by:2192
Symbol 2172 BitmapUsed by:2173
Symbol 2173 GraphicUses:2172Used by:2192
Symbol 2174 BitmapUsed by:2175
Symbol 2175 GraphicUses:2174Used by:2192
Symbol 2176 BitmapUsed by:2177
Symbol 2177 GraphicUses:2176Used by:2192
Symbol 2178 BitmapUsed by:2179
Symbol 2179 GraphicUses:2178Used by:2192
Symbol 2180 BitmapUsed by:2181
Symbol 2181 GraphicUses:2180Used by:2192
Symbol 2182 BitmapUsed by:2183
Symbol 2183 GraphicUses:2182Used by:2192
Symbol 2184 BitmapUsed by:2185
Symbol 2185 GraphicUses:2184Used by:2192
Symbol 2186 BitmapUsed by:2187
Symbol 2187 GraphicUses:2186Used by:2192
Symbol 2188 BitmapUsed by:2189
Symbol 2189 GraphicUses:2188Used by:2192
Symbol 2190 BitmapUsed by:2191
Symbol 2191 GraphicUses:2190Used by:2192
Symbol 2192 MovieClipUses:2162 2163 2165 2167 2169 2171 2173 2175 2177 2179 2181 2183 2185 2187 2189 2191Used by:2193
Symbol 2193 MovieClip {upgrades}Uses:2153 2154 1442 2157 2160 2192
Symbol 2194 BitmapUsed by:2195
Symbol 2195 GraphicUses:2194Used by:2196
Symbol 2196 MovieClipUses:2195Used by:2197
Symbol 2197 MovieClip {fireball}Uses:2196
Symbol 2198 BitmapUsed by:2199
Symbol 2199 GraphicUses:2198Used by:2200
Symbol 2200 MovieClip {bullet_shadow}Uses:2199Used by:2204 2208 2240 2248 2265 2266 2273 2277 2281 2283
Symbol 2201 BitmapUsed by:2202
Symbol 2202 GraphicUses:2201Used by:2203
Symbol 2203 MovieClipUses:2202Used by:2204
Symbol 2204 MovieClip {bolt_tank}Uses:2200 2203
Symbol 2205 BitmapUsed by:2206
Symbol 2206 GraphicUses:2205Used by:2207
Symbol 2207 MovieClipUses:2206Used by:2208
Symbol 2208 MovieClip {bolt}Uses:2207 2200
Symbol 2209 BitmapUsed by:2210
Symbol 2210 GraphicUses:2209Used by:2227
Symbol 2211 BitmapUsed by:2212
Symbol 2212 GraphicUses:2211Used by:2227
Symbol 2213 BitmapUsed by:2214
Symbol 2214 GraphicUses:2213Used by:2227
Symbol 2215 BitmapUsed by:2216
Symbol 2216 GraphicUses:2215Used by:2227
Symbol 2217 BitmapUsed by:2218
Symbol 2218 GraphicUses:2217Used by:2227
Symbol 2219 BitmapUsed by:2220
Symbol 2220 GraphicUses:2219Used by:2227
Symbol 2221 BitmapUsed by:2222
Symbol 2222 GraphicUses:2221Used by:2227
Symbol 2223 BitmapUsed by:2224
Symbol 2224 GraphicUses:2223Used by:2227
Symbol 2225 BitmapUsed by:2226
Symbol 2226 GraphicUses:2225Used by:2227
Symbol 2227 MovieClip {layhand}Uses:2210 2212 2214 2216 2218 2220 2222 2224 2226
Symbol 2228 BitmapUsed by:2229 2230 2231 2232
Symbol 2229 GraphicUses:2228Used by:2236
Symbol 2230 GraphicUses:2228Used by:2236
Symbol 2231 GraphicUses:2228Used by:2236
Symbol 2232 GraphicUses:2228Used by:2236
Symbol 2233 BitmapUsed by:2234
Symbol 2234 GraphicUses:2233Used by:2235
Symbol 2235 MovieClipUses:2234Used by:2236
Symbol 2236 MovieClip {explosion}Uses:2229 2230 2231 2232 868 2235
Symbol 2237 BitmapUsed by:2238
Symbol 2238 GraphicUses:2237Used by:2239
Symbol 2239 MovieClipUses:2238Used by:2240
Symbol 2240 MovieClip {bullet_grenade2}Uses:2239 2200
Symbol 2241 BitmapUsed by:2242
Symbol 2242 GraphicUses:2241Used by:2247
Symbol 2243 BitmapUsed by:2244
Symbol 2244 GraphicUses:2243Used by:2247
Symbol 2245 BitmapUsed by:2246
Symbol 2246 GraphicUses:2245Used by:2247
Symbol 2247 MovieClipUses:2242 2244 2246Used by:2248
Symbol 2248 MovieClip {bullet_rocket}Uses:2247 2200
Symbol 2249 BitmapUsed by:2250
Symbol 2250 GraphicUses:2249Used by:2259
Symbol 2251 BitmapUsed by:2252
Symbol 2252 GraphicUses:2251Used by:2259
Symbol 2253 BitmapUsed by:2254
Symbol 2254 GraphicUses:2253Used by:2259
Symbol 2255 BitmapUsed by:2256
Symbol 2256 GraphicUses:2255Used by:2259
Symbol 2257 BitmapUsed by:2258
Symbol 2258 GraphicUses:2257Used by:2259
Symbol 2259 MovieClip {explosion_puls}Uses:2250 2252 2254 2256 2258Used by:2260
Symbol 2260 MovieClipUses:1224 2259Used by:2261
Symbol 2261 MovieClip {bullet_puls}Uses:2260
Symbol 2262 BitmapUsed by:2263
Symbol 2263 GraphicUses:2262Used by:2264 2282
Symbol 2264 MovieClipUses:2263Used by:2265 2266
Symbol 2265 MovieClip {bullet_arrow3}Uses:2200 2264
Symbol 2266 MovieClip {bullet_arrow2}Uses:2200 2264
Symbol 2267 BitmapUsed by:2268
Symbol 2268 GraphicUses:2267Used by:2272
Symbol 2269 GraphicUses:766Used by:2271
Symbol 2270 GraphicUses:766Used by:2271
Symbol 2271 MovieClipUses:2269 2270Used by:2272
Symbol 2272 MovieClipUses:2268 2271Used by:2273
Symbol 2273 MovieClip {bullet_grenade3}Uses:2200 2272
Symbol 2274 BitmapUsed by:2275
Symbol 2275 GraphicUses:2274Used by:2276
Symbol 2276 MovieClipUses:2275Used by:2277
Symbol 2277 MovieClip {bullet_grenade}Uses:2200 2276
Symbol 2278 BitmapUsed by:2279
Symbol 2279 GraphicUses:2278Used by:2280
Symbol 2280 MovieClipUses:2279Used by:2281
Symbol 2281 MovieClip {arrowEgg}Uses:2200 2280
Symbol 2282 MovieClipUses:2263Used by:2283
Symbol 2283 MovieClip {arrow}Uses:2282 2200
Symbol 2284 GraphicUsed by:2286
Symbol 2285 GraphicUsed by:2286
Symbol 2286 MovieClip {bullet}Uses:2284 2285
Symbol 2287 GraphicUsed by:2291
Symbol 2288 EditableTextUses:682 1609Used by:2291
Symbol 2289 BitmapUsed by:2290
Symbol 2290 GraphicUses:2289Used by:2291 2634
Symbol 2291 MovieClipUses:2287 2288 2290Used by:2292
Symbol 2292 MovieClip {infoPop}Uses:2291
Symbol 2293 EditableTextUses:682 1609Used by:2300
Symbol 2294 EditableTextUses:682Used by:2297
Symbol 2295 EditableTextUses:682Used by:2297
Symbol 2296 GraphicUses:1695Used by:2297 2304
Symbol 2297 ButtonUses:2294 1693 1898 2295 2296Used by:2300
Symbol 2298 EditableTextUses:682Used by:2300
Symbol 2299 GraphicUses:1694Used by:2300 2313
Symbol 2300 MovieClip {radioButton2}Uses:2293 2297 2298 2299
Symbol 2301 EditableTextUses:682Used by:2313
Symbol 2302 EditableTextUses:682Used by:2304
Symbol 2303 EditableTextUses:682Used by:2304
Symbol 2304 ButtonUses:2302 1693 1898 2303 2296Used by:2313
Symbol 2305 EditableTextUses:682Used by:2313
Symbol 2306 EditableTextUses:682Used by:2312
Symbol 2307 BitmapUsed by:2308
Symbol 2308 GraphicUses:2307Used by:2309 2312
Symbol 2309 MovieClipUses:2308Used by:2312
Symbol 2310 GraphicUsed by:2312
Symbol 2311 EditableTextUses:682Used by:2312
Symbol 2312 ButtonUses:2306 2309 2310 1898 2311 2308Used by:2313
Symbol 2313 MovieClip {radioButton}Uses:2301 2304 2305 2299 2312
Symbol 2314 BitmapUsed by:2315 2316
Symbol 2315 GraphicUses:2314Used by:2317 2318 2427
Symbol 2316 GraphicUses:2314Used by:2317
Symbol 2317 ButtonUses:2315 2316Used by:2338
Symbol 2318 MovieClipUses:2315Used by:2338
Symbol 2319 BitmapUsed by:2320
Symbol 2320 GraphicUses:2319Used by:2337 2427
Symbol 2321 BitmapUsed by:2322
Symbol 2322 GraphicUses:2321Used by:2337 2427
Symbol 2323 BitmapUsed by:2324
Symbol 2324 GraphicUses:2323Used by:2337 2427
Symbol 2325 BitmapUsed by:2326
Symbol 2326 GraphicUses:2325Used by:2337 2427
Symbol 2327 BitmapUsed by:2328
Symbol 2328 GraphicUses:2327Used by:2337 2427
Symbol 2329 BitmapUsed by:2330
Symbol 2330 GraphicUses:2329Used by:2337 2427
Symbol 2331 BitmapUsed by:2332
Symbol 2332 GraphicUses:2331Used by:2337 2427
Symbol 2333 BitmapUsed by:2334
Symbol 2334 GraphicUses:2333Used by:2337 2427
Symbol 2335 BitmapUsed by:2336
Symbol 2336 GraphicUses:2335Used by:2337 2427
Symbol 2337 MovieClipUses:2320 1641 2322 2324 2326 1830 1604 1806 1757 1761 1600 2328 2330 2332 2334 2336Used by:2338 2438
Symbol 2338 MovieClip {card}Uses:2317 2318 86 2337
Symbol 2339 BitmapUsed by:2340
Symbol 2340 GraphicUses:2339Used by:2341
Symbol 2341 MovieClip {cursor2}Uses:2340
Symbol 2342 EditableTextUses:682 1609Used by:2343
Symbol 2343 MovieClipUses:2342Used by:2363
Symbol 2344 BitmapUsed by:2345
Symbol 2345 GraphicUses:2344Used by:2362
Symbol 2346 BitmapUsed by:2347
Symbol 2347 GraphicUses:2346Used by:2362
Symbol 2348 BitmapUsed by:2349
Symbol 2349 GraphicUses:2348Used by:2362
Symbol 2350 BitmapUsed by:2351
Symbol 2351 GraphicUses:2350Used by:2362
Symbol 2352 BitmapUsed by:2353 2354
Symbol 2353 GraphicUses:2352Used by:2362
Symbol 2354 GraphicUses:2352Used by:2362
Symbol 2355 BitmapUsed by:2356
Symbol 2356 GraphicUses:2355Used by:2362
Symbol 2357 BitmapUsed by:2358
Symbol 2358 GraphicUses:2357Used by:2362
Symbol 2359 BitmapUsed by:2360
Symbol 2360 GraphicUses:2359Used by:2361 2362
Symbol 2361 MovieClipUses:2360Used by:2362
Symbol 2362 MovieClip {shootem_funny_fla.bang_148}Uses:2345 2347 2349 2351 2353 2354 2356 2358 2360 2361Used by:2363
Symbol 2363 MovieClip {cardEffect}Uses:2343 2362
Symbol 2364 FontUsed by:2365 2367
Symbol 2365 EditableTextUses:2364Used by:2366
Symbol 2366 MovieClip {showdamage}Uses:2365
Symbol 2367 EditableTextUses:2364Used by:2368
Symbol 2368 MovieClip {critKill}Uses:2367
Symbol 2369 GraphicUsed by:2370
Symbol 2370 MovieClipUses:2369Used by:2371
Symbol 2371 MovieClip {itemTimer}Uses:2370
Symbol 2372 BitmapUsed by:2373
Symbol 2373 GraphicUses:2372Used by:2386 2387
Symbol 2374 BitmapUsed by:2375
Symbol 2375 GraphicUses:2374Used by:2386 2387
Symbol 2376 BitmapUsed by:2377
Symbol 2377 GraphicUses:2376Used by:2386 2387
Symbol 2378 BitmapUsed by:2379
Symbol 2379 GraphicUses:2378Used by:2386 2387
Symbol 2380 BitmapUsed by:2381
Symbol 2381 GraphicUses:2380Used by:2386 2387
Symbol 2382 BitmapUsed by:2383
Symbol 2383 GraphicUses:2382Used by:2386 2387
Symbol 2384 BitmapUsed by:2385
Symbol 2385 GraphicUses:2384Used by:2386 2387
Symbol 2386 MovieClip {ef_rampage_enemy}Uses:2373 2375 2377 2379 2381 2383 2385
Symbol 2387 MovieClip {ef_rampage}Uses:2373 2375 2377 2379 2381 2383 2385
Symbol 2388 EditableTextUses:682 1609Used by:2389
Symbol 2389 MovieClipUses:2388Used by:2391
Symbol 2390 SoundUsed by:2391
Symbol 2391 MovieClip {textEffect}Uses:2389 2390
Symbol 2392 BitmapUsed by:2393
Symbol 2393 GraphicUses:2392Used by:2404
Symbol 2394 BitmapUsed by:2395
Symbol 2395 GraphicUses:2394Used by:2404
Symbol 2396 BitmapUsed by:2397
Symbol 2397 GraphicUses:2396Used by:2404
Symbol 2398 BitmapUsed by:2399
Symbol 2399 GraphicUses:2398Used by:2404
Symbol 2400 BitmapUsed by:2401
Symbol 2401 GraphicUses:2400Used by:2404
Symbol 2402 BitmapUsed by:2403
Symbol 2403 GraphicUses:2402Used by:2404
Symbol 2404 MovieClip {explosion2}Uses:2393 2395 2397 2399 2401 2403
Symbol 2405 GraphicUsed by:2406
Symbol 2406 MovieClipUses:2405Used by:2407 2408 2409
Symbol 2407 MovieClip {trail3}Uses:2406
Symbol 2408 MovieClip {trail2}Uses:2406
Symbol 2409 MovieClip {trail1}Uses:2406
Symbol 2410 BitmapUsed by:2411
Symbol 2411 GraphicUses:2410Used by:2412
Symbol 2412 MovieClipUses:2411Used by:2413
Symbol 2413 MovieClip {hpbar}Uses:2412
Symbol 2414 ShapeTweeningUsed by:2426
Symbol 2415 ShapeTweeningUsed by:2426
Symbol 2416 GraphicUsed by:2426
Symbol 2417 GraphicUsed by:2426
Symbol 2418 ShapeTweeningUsed by:2426
Symbol 2419 GraphicUsed by:2426
Symbol 2420 GraphicUsed by:2426
Symbol 2421 FontUsed by:2422
Symbol 2422 TextUses:2421Used by:2426
Symbol 2423 ShapeTweeningUsed by:2426
Symbol 2424 GraphicUsed by:2426
Symbol 2425 GraphicUsed by:2426
Symbol 2426 MovieClip {rectile}Uses:2414 2415 2416 2417 2418 2419 2420 2422 2423 2424 2425
Symbol 2427 MovieClip {shootem_funny_fla.card4b_128}Uses:2315 1641 2322 2324 2326 2320 1604 2328 2330 2332 2334 2336Used by:2432
Symbol 2428 EditableTextUses:682 1609Used by:2432
Symbol 2429 BitmapUsed by:2430
Symbol 2430 GraphicUses:2429Used by:2431
Symbol 2431 MovieClipUses:2430Used by:2432
Symbol 2432 MovieClip {actions}Uses:2427 2428 2431
Symbol 2433 TextUses:682Used by:2435
Symbol 2434 TextUses:682Used by:2435
Symbol 2435 ButtonUses:1544 2433 2434 1543 89Used by:2438
Symbol 2436 EditableTextUses:682 1609Used by:2438
Symbol 2437 EditableTextUses:682 1609Used by:2438
Symbol 2438 MovieClip {eventWindow}Uses:1476 1479 2435 2337 2436 2437
Symbol 2439 MovieClip {dbgWindow}Uses:1998 1530
Symbol 2440 MovieClip {com.kongregate.as3.client.KongregateAPI}
Symbol 2441 GraphicUsed by:Timeline
Symbol 2442 MovieClip {fl.controls.Button}
Symbol 2443 MovieClipUses:1998Used by:2474
Symbol 2444 MovieClipUses:129Used by:2474
Symbol 2445 GraphicUsed by:2446 2465
Symbol 2446 ButtonUses:2445Used by:2474
Symbol 2447 GraphicUsed by:2474
Symbol 2448 GraphicUsed by:2449
Symbol 2449 MovieClipUses:2448Used by:2468 2474
Symbol 2450 GraphicUsed by:2451
Symbol 2451 MovieClipUses:2450Used by:2467 2474
Symbol 2452 GraphicUsed by:2453
Symbol 2453 MovieClipUses:2452Used by:2460 2467 2468 2474
Symbol 2454 GraphicUsed by:2455
Symbol 2455 MovieClipUses:2454Used by:2460 2467 2468 2474
Symbol 2456 GraphicUsed by:2457
Symbol 2457 MovieClipUses:2456Used by:2460 2467 2468 2474
Symbol 2458 GraphicUsed by:2459
Symbol 2459 MovieClipUses:2458Used by:2460 2467 2468 2474
Symbol 2460 MovieClipUses:2453 2455 2457 2459Used by:2474
Symbol 2461 GraphicUsed by:2474
Symbol 2462 GraphicUsed by:2463 2474
Symbol 2463 MovieClipUses:2462Used by:2474
Symbol 2464 GraphicUsed by:2474
Symbol 2465 ButtonUses:2445Used by:2474
Symbol 2466 GraphicUsed by:2468
Symbol 2467 MovieClipUses:2451 2453 2455 2457 2459Used by:2468
Symbol 2468 MovieClipUses:2466 2449 2467 2453 2455 2457 2459Used by:2474
Symbol 2469 GraphicUsed by:2470
Symbol 2470 MovieClipUses:2469Used by:2474
Symbol 2471 FontUsed by:2472
Symbol 2472 TextUses:2471Used by:2473
Symbol 2473 MovieClipUses:2472Used by:2474
Symbol 2474 MovieClipUses:2443 129 2444 2446 2447 2449 2451 2460 2461 2463 2464 2465 2453 2455 2457 2459 2468 2470 2462 2473Used by:Timeline
Symbol 2475 GraphicUsed by:2501
Symbol 2476 MovieClipUses:1998Used by:2501
Symbol 2477 GraphicUsed by:2501
Symbol 2478 BitmapUsed by:2479
Symbol 2479 GraphicUses:2478Used by:2480 2492
Symbol 2480 MovieClipUses:2479Used by:2492
Symbol 2481 BitmapUsed by:2488
Symbol 2482 BitmapUsed by:2488
Symbol 2483 BitmapUsed by:2488
Symbol 2484 BitmapUsed by:2488
Symbol 2485 BitmapUsed by:2488
Symbol 2486 BitmapUsed by:2488
Symbol 2487 BitmapUsed by:2488
Symbol 2488 GraphicUses:2481 2482 2483 2484 2485 2486 2487Used by:2492
Symbol 2489 FontUsed by:2490
Symbol 2490 TextUses:2489Used by:2492
Symbol 2491 GraphicUsed by:2492
Symbol 2492 ButtonUses:2479 2480 2488 2490 2491Used by:2501
Symbol 2493 GraphicUsed by:2501
Symbol 2494 GraphicUsed by:2500
Symbol 2495 GraphicUsed by:2500
Symbol 2496 GraphicUsed by:2500
Symbol 2497 GraphicUsed by:2500
Symbol 2498 GraphicUsed by:2500
Symbol 2499 GraphicUsed by:2500
Symbol 2500 ButtonUses:2494 2495 2496 2497 2498 2499Used by:2501
Symbol 2501 MovieClip {shootem_funny_fla.LOADER_18}Uses:2475 2476 2477 2492 2493 2500Used by:Timeline
Symbol 2502 TextUses:682Used by:Timeline
Symbol 2503 BitmapUsed by:2504
Symbol 2504 GraphicUses:2503Used by:2505
Symbol 2505 MovieClipUses:2504Used by:Timeline
Symbol 2506 BitmapUsed by:2507
Symbol 2507 GraphicUses:2506Used by:2508
Symbol 2508 MovieClipUses:2507Used by:Timeline
Symbol 2509 TextUses:1480Used by:Timeline
Symbol 2510 FontUsed by:2511 2529 2530 2531 2532 2550 2551 2552 2553 2587 2588 2589 2590
Symbol 2511 TextUses:2510Used by:Timeline
Symbol 2512 BitmapUsed by:2513
Symbol 2513 GraphicUses:2512Used by:2518
Symbol 2514 BitmapUsed by:2515 2519
Symbol 2515 GraphicUses:2514Used by:2518
Symbol 2516 BitmapUsed by:2517
Symbol 2517 GraphicUses:2516Used by:2518
Symbol 2518 MovieClipUses:2513 2515 2517Used by:2528
Symbol 2519 GraphicUses:2514Used by:2528
Symbol 2520 GraphicUsed by:2528
Symbol 2521 GraphicUsed by:2528
Symbol 2522 GraphicUsed by:2528
Symbol 2523 GraphicUsed by:2528
Symbol 2524 GraphicUsed by:2528
Symbol 2525 GraphicUsed by:2528
Symbol 2526 GraphicUsed by:2528
Symbol 2527 GraphicUsed by:2528 2549 2570 2586
Symbol 2528 MovieClip {shootem_funny_fla.runningboy_25}Uses:680 2518 1375 2519 2520 2521 2522 2523 2524 2525 2526 2527Used by:Timeline
Symbol 2529 EditableTextUses:2510Used by:2533
Symbol 2530 EditableTextUses:2510Used by:2533
Symbol 2531 EditableTextUses:2510Used by:2533
Symbol 2532 EditableTextUses:2510Used by:2533
Symbol 2533 ButtonUses:2529 2530 2531 2532 89Used by:Timeline
Symbol 2534 BitmapUsed by:2535
Symbol 2535 GraphicUses:2534Used by:2540
Symbol 2536 BitmapUsed by:2537 2541
Symbol 2537 GraphicUses:2536Used by:2540
Symbol 2538 BitmapUsed by:2539
Symbol 2539 GraphicUses:2538Used by:2540
Symbol 2540 MovieClipUses:2535 2537 2539Used by:2549
Symbol 2541 GraphicUses:2536Used by:2549
Symbol 2542 GraphicUsed by:2549
Symbol 2543 GraphicUsed by:2549
Symbol 2544 GraphicUsed by:2549
Symbol 2545 GraphicUsed by:2549
Symbol 2546 GraphicUsed by:2549
Symbol 2547 GraphicUsed by:2549
Symbol 2548 GraphicUsed by:2549
Symbol 2549 MovieClip {shootem_funny_fla.runninggirl_29}Uses:680 2540 1375 2541 2542 2543 2544 2545 2546 2547 2548 2527Used by:Timeline
Symbol 2550 EditableTextUses:1480 2510Used by:2554
Symbol 2551 EditableTextUses:1480 2510Used by:2554
Symbol 2552 EditableTextUses:1480 2510Used by:2554
Symbol 2553 EditableTextUses:1480 2510Used by:2554
Symbol 2554 ButtonUses:2550 2551 2552 2553 89Used by:Timeline
Symbol 2555 BitmapUsed by:2556
Symbol 2556 GraphicUses:2555Used by:2561
Symbol 2557 BitmapUsed by:2558 2562
Symbol 2558 GraphicUses:2557Used by:2561
Symbol 2559 BitmapUsed by:2560
Symbol 2560 GraphicUses:2559Used by:2561
Symbol 2561 MovieClipUses:2556 2558 2560Used by:2570
Symbol 2562 GraphicUses:2557Used by:2570
Symbol 2563 GraphicUsed by:2570
Symbol 2564 GraphicUsed by:2570
Symbol 2565 GraphicUsed by:2570
Symbol 2566 GraphicUsed by:2570
Symbol 2567 GraphicUsed by:2570
Symbol 2568 GraphicUsed by:2570
Symbol 2569 GraphicUsed by:2570
Symbol 2570 MovieClip {shootem_funny_fla.runningcat_32}Uses:680 2561 1375 2562 2563 2564 2565 2566 2567 2568 2569 2527Used by:Timeline
Symbol 2571 BitmapUsed by:2572
Symbol 2572 GraphicUses:2571Used by:2577
Symbol 2573 BitmapUsed by:2574 2578
Symbol 2574 GraphicUses:2573Used by:2577
Symbol 2575 BitmapUsed by:2576
Symbol 2576 GraphicUses:2575Used by:2577
Symbol 2577 MovieClipUses:2572 2574 2576Used by:2586
Symbol 2578 GraphicUses:2573Used by:2586
Symbol 2579 GraphicUsed by:2586
Symbol 2580 GraphicUsed by:2586
Symbol 2581 GraphicUsed by:2586
Symbol 2582 GraphicUsed by:2586
Symbol 2583 GraphicUsed by:2586
Symbol 2584 GraphicUsed by:2586
Symbol 2585 GraphicUsed by:2586
Symbol 2586 MovieClip {shootem_funny_fla.runninglady_34}Uses:680 2577 1375 2578 2579 2580 2581 2582 2583 2584 2585 2527Used by:Timeline
Symbol 2587 EditableTextUses:1480 2510Used by:2591
Symbol 2588 EditableTextUses:1480 2510Used by:2591
Symbol 2589 EditableTextUses:1480 2510Used by:2591
Symbol 2590 EditableTextUses:1480 2510Used by:2591
Symbol 2591 ButtonUses:2587 2588 2589 2590 89Used by:Timeline
Symbol 2592 FontUsed by:2593 2594
Symbol 2593 TextUses:2592Used by:2595
Symbol 2594 TextUses:2592Used by:2595
Symbol 2595 ButtonUses:2593 2594 89Used by:Timeline
Symbol 2596 FontUsed by:2597
Symbol 2597 EditableTextUses:2596Used by:Timeline
Symbol 2598 BitmapUsed by:2599
Symbol 2599 GraphicUses:2598Used by:2685  Timeline
Symbol 2600 BitmapUsed by:2601 2607 2608 2609 2610 2611 2612 2613 2614 2621 2622 2623 2624 2625 2627 2628 2629 2630 2631 2632 2633
Symbol 2601 GraphicUses:2600Used by:2634
Symbol 2602 BitmapUsed by:2604
Symbol 2603 BitmapUsed by:2604 2643
Symbol 2604 GraphicUses:2602 2603Used by:2605
Symbol 2605 MovieClipUses:2604Used by:2634
Symbol 2606 BitmapUsed by:2607 2608 2609 2610 2611 2612 2613
Symbol 2607 GraphicUses:2606 2600Used by:2634
Symbol 2608 GraphicUses:2606 2600Used by:2634
Symbol 2609 GraphicUses:2606 2600Used by:2634
Symbol 2610 GraphicUses:2606 2600Used by:2634
Symbol 2611 GraphicUses:2606 2600Used by:2634
Symbol 2612 GraphicUses:2606 2600Used by:2634
Symbol 2613 GraphicUses:2606 2600Used by:2634
Symbol 2614 GraphicUses:2600Used by:2634
Symbol 2615 BitmapUsed by:2616
Symbol 2616 GraphicUses:2615Used by:2634
Symbol 2617 BitmapUsed by:2618
Symbol 2618 GraphicUses:2617Used by:2634
Symbol 2619 BitmapUsed by:2620
Symbol 2620 GraphicUses:2619Used by:2634
Symbol 2621 GraphicUses:2600Used by:2634
Symbol 2622 GraphicUses:2600Used by:2634
Symbol 2623 GraphicUses:2600Used by:2634
Symbol 2624 GraphicUses:2600Used by:2634
Symbol 2625 GraphicUses:2600Used by:2634
Symbol 2626 BitmapUsed by:2627 2628 2629 2630 2631 2632 2633 2646
Symbol 2627 GraphicUses:2626 2600Used by:2634
Symbol 2628 GraphicUses:2626 2600Used by:2634
Symbol 2629 GraphicUses:2626 2600Used by:2634
Symbol 2630 GraphicUses:2626 2600Used by:2634
Symbol 2631 GraphicUses:2626 2600Used by:2634
Symbol 2632 GraphicUses:2626 2600Used by:2634
Symbol 2633 GraphicUses:2626 2600Used by:2634
Symbol 2634 MovieClip {shootem_funny_fla.sister_39}Uses:680 2601 2605 2607 2608 2609 2610 2611 2612 2613 2614 2616 2290 2618 2620 2621 2622 2623 2624 878 2625 2627 2628 2629 2630 2631 2632 2633Used by:2649  Timeline
Symbol 2635 BitmapUsed by:2636
Symbol 2636 GraphicUses:2635Used by:2649
Symbol 2637 BitmapUsed by:2638
Symbol 2638 GraphicUses:2637Used by:2649
Symbol 2639 BitmapUsed by:2640
Symbol 2640 GraphicUses:2639Used by:2649
Symbol 2641 BitmapUsed by:2642
Symbol 2642 GraphicUses:2641Used by:2649
Symbol 2643 GraphicUses:2603Used by:2644
Symbol 2644 MovieClipUses:2643Used by:2649
Symbol 2645 GraphicUses:766Used by:2649
Symbol 2646 GraphicUses:2626Used by:2649
Symbol 2647 GraphicUses:766Used by:2649
Symbol 2648 GraphicUses:766Used by:2649
Symbol 2649 MovieClip {shootem_funny_fla.titleanime_38}Uses:2634 2636 2638 2640 2642 2644 88 2645 2646 87 2647 2648Used by:Timeline
Symbol 2650 BitmapUsed by:2651
Symbol 2651 GraphicUses:2650Used by:Timeline
Symbol 2652 EditableTextUses:682 1609Used by:Timeline
Symbol 2653 BitmapUsed by:2654
Symbol 2654 GraphicUses:2653Used by:2655 2656
Symbol 2655 MovieClipUses:2654Used by:2656
Symbol 2656 ButtonUses:2655 2654 89Used by:Timeline
Symbol 2657 MovieClipUses:129Used by:2666 2674
Symbol 2658 BitmapUsed by:2659
Symbol 2659 GraphicUses:2658Used by:2660 2665 2669 2670
Symbol 2660 MovieClipUses:2659Used by:2664
Symbol 2661 TextUses:1925Used by:2664 2665
Symbol 2662 TextUses:1925Used by:2664 2665
Symbol 2663 TextUses:1925Used by:2664 2665
Symbol 2664 MovieClipUses:2660 2661 2662 2663Used by:2665
Symbol 2665 ButtonUses:2664 2659 2661 2662 2663 89Used by:2666
Symbol 2666 MovieClipUses:2657 2665Used by:Timeline
Symbol 2667 FontUsed by:2668
Symbol 2668 TextUses:2667Used by:2669 2670
Symbol 2669 MovieClipUses:2659 2668Used by:2670
Symbol 2670 ButtonUses:2669 2659 2668 89Used by:2674
Symbol 2671 BitmapUsed by:2672
Symbol 2672 GraphicUses:2671Used by:2673
Symbol 2673 MovieClipUses:2672Used by:2674
Symbol 2674 MovieClip {shootem_funny_fla.sister_85}Uses:2657 2670 2673Used by:Timeline
Symbol 2675 BitmapUsed by:2676
Symbol 2676 GraphicUses:2675Used by:2677 2678
Symbol 2677 MovieClipUses:2676Used by:2678  Timeline
Symbol 2678 ButtonUses:2677 2676 89Used by:Timeline
Symbol 2679 BitmapUsed by:2680
Symbol 2680 GraphicUses:2679Used by:2683
Symbol 2681 BitmapUsed by:2682
Symbol 2682 GraphicUses:2681Used by:2683
Symbol 2683 MovieClipUses:2680 2682Used by:Timeline
Symbol 2684 TextUses:1609Used by:Timeline
Symbol 2685 MovieClipUses:2599Used by:Timeline
Symbol 2686 GraphicUsed by:2687  Timeline
Symbol 2687 MovieClipUses:129 2686Used by:Timeline
Symbol 2688 BitmapUsed by:2689
Symbol 2689 GraphicUses:2688Used by:2690
Symbol 2690 MovieClipUses:2689Used by:Timeline
Symbol 2691 BitmapUsed by:2692
Symbol 2692 GraphicUses:2691Used by:Timeline
Symbol 2693 FontUsed by:2694 2706 2707 2711 2730 2731
Symbol 2694 EditableTextUses:2693Used by:Timeline
Symbol 2695 BitmapUsed by:2696
Symbol 2696 GraphicUses:2695Used by:2701
Symbol 2697 BitmapUsed by:2698
Symbol 2698 GraphicUses:2697Used by:2701
Symbol 2699 BitmapUsed by:2700
Symbol 2700 GraphicUses:2699Used by:2701
Symbol 2701 MovieClipUses:2696 2698 2700Used by:Timeline
Symbol 2702 BitmapUsed by:2705
Symbol 2703 BitmapUsed by:2705
Symbol 2704 BitmapUsed by:2705
Symbol 2705 GraphicUses:2702 2703 2704Used by:Timeline
Symbol 2706 EditableTextUses:2693Used by:Timeline
Symbol 2707 EditableTextUses:2693Used by:Timeline
Symbol 2708 BitmapUsed by:2709
Symbol 2709 GraphicUses:2708Used by:2710
Symbol 2710 MovieClipUses:2709Used by:Timeline
Symbol 2711 EditableTextUses:2693Used by:Timeline
Symbol 2712 BitmapUsed by:2713
Symbol 2713 GraphicUses:2712Used by:2714 2715
Symbol 2714 MovieClipUses:2713Used by:2715
Symbol 2715 ButtonUses:2714 2713 1873Used by:Timeline
Symbol 2716 TextUses:1392Used by:Timeline
Symbol 2717 TextUses:1392Used by:Timeline
Symbol 2718 TextUses:1392Used by:Timeline
Symbol 2719 TextUses:1392Used by:Timeline
Symbol 2720 TextUses:1392Used by:Timeline
Symbol 2721 TextUses:1392Used by:Timeline
Symbol 2722 EditableTextUses:1392Used by:Timeline
Symbol 2723 TextUses:1392Used by:Timeline
Symbol 2724 EditableTextUses:1392Used by:Timeline
Symbol 2725 BitmapUsed by:2726
Symbol 2726 GraphicUses:2725Used by:2727
Symbol 2727 MovieClipUses:2726Used by:Timeline
Symbol 2728 GraphicUsed by:2729
Symbol 2729 MovieClipUses:2728Used by:Timeline
Symbol 2730 EditableTextUses:2693Used by:Timeline
Symbol 2731 EditableTextUses:2693Used by:Timeline
Symbol 2732 BitmapUsed by:2733
Symbol 2733 GraphicUses:2732Used by:2734
Symbol 2734 MovieClipUses:2733Used by:2753
Symbol 2735 EditableTextUses:1570Used by:2753
Symbol 2736 EditableTextUses:682 1609Used by:2740
Symbol 2737 EditableTextUses:682 1609Used by:2740
Symbol 2738 EditableTextUses:682 1609Used by:2740
Symbol 2739 EditableTextUses:682 1609Used by:2740
Symbol 2740 ButtonUses:2736 2737 2738 2739 89Used by:2753
Symbol 2741 TextUses:1535Used by:2749
Symbol 2742 EditableTextUses:682 1609Used by:2744
Symbol 2743 EditableTextUses:682 1609Used by:2744
Symbol 2744 ButtonUses:2742 2743 89Used by:2749
Symbol 2745 TextUses:1535Used by:2749
Symbol 2746 EditableTextUses:682 1609Used by:2748
Symbol 2747 EditableTextUses:682 1609Used by:2748
Symbol 2748 ButtonUses:2746 2747 89Used by:2749
Symbol 2749 MovieClipUses:2741 2744 2745 2748Used by:2753
Symbol 2750 EditableTextUses:682 1609Used by:2752
Symbol 2751 EditableTextUses:682 1609Used by:2752
Symbol 2752 ButtonUses:2750 2751 89Used by:2753
Symbol 2753 MovieClipUses:2734 2735 2740 2749 2752Used by:Timeline
Symbol 2754 SoundUsed by:Timeline
Symbol 2755 BitmapUsed by:2756
Symbol 2756 GraphicUses:2755Used by:2757  Timeline
Symbol 2757 MovieClipUses:2756Used by:Timeline
Symbol 2758 FontUsed by:2759 2767 2772 2777 2782 2786
Symbol 2759 EditableTextUses:2758Used by:2765
Symbol 2760 GraphicUses:1950Used by:2761
Symbol 2761 MovieClipUses:2760Used by:2765
Symbol 2762 GraphicUses:1950Used by:2765
Symbol 2763 FontUsed by:2764 2769 2774 2779 2784 2788
Symbol 2764 EditableTextUses:2763Used by:2765
Symbol 2765 ButtonUses:2759 2761 2762 2764 1873Used by:Timeline
Symbol 2766 GraphicUses:1949Used by:2770
Symbol 2767 EditableTextUses:2758Used by:2770
Symbol 2768 GraphicUses:1949Used by:2770
Symbol 2769 EditableTextUses:2763Used by:2770
Symbol 2770 ButtonUses:2766 2767 2768 2769 1873Used by:Timeline
Symbol 2771 GraphicUses:1948Used by:2775
Symbol 2772 EditableTextUses:2758Used by:2775
Symbol 2773 GraphicUses:1948Used by:2775
Symbol 2774 EditableTextUses:2763Used by:2775
Symbol 2775 ButtonUses:2771 2772 2773 2774 1873Used by:Timeline
Symbol 2776 GraphicUses:1947Used by:2780
Symbol 2777 EditableTextUses:2758Used by:2780
Symbol 2778 GraphicUses:1947Used by:2780
Symbol 2779 EditableTextUses:2763Used by:2780
Symbol 2780 ButtonUses:2776 2777 2778 2779 1873Used by:Timeline
Symbol 2781 GraphicUses:1946Used by:2785
Symbol 2782 EditableTextUses:2758Used by:2785
Symbol 2783 GraphicUses:1946Used by:2785
Symbol 2784 EditableTextUses:2763Used by:2785
Symbol 2785 ButtonUses:2781 2782 2783 2784 1873Used by:Timeline
Symbol 2786 EditableTextUses:2758Used by:2789
Symbol 2787 GraphicUses:1956Used by:2789
Symbol 2788 EditableTextUses:2763Used by:2789
Symbol 2789 ButtonUses:1957 2786 2787 2788 1873Used by:Timeline
Symbol 2790 EditableTextUses:1535 1567 1895Used by:Timeline
Symbol 2791 TextUses:682Used by:2792
Symbol 2792 ButtonUses:2791Used by:Timeline

Instance Names

"logo"Frame 9Symbol 2474 MovieClip
"funnylogo"Frame 12Symbol 2501 MovieClip {shootem_funny_fla.LOADER_18}
"bg"Frame 22Symbol 2505 MovieClip
"cloud"Frame 22Symbol 2508 MovieClip
"newGameButton"Frame 22Symbol 2533 Button
"continueButton"Frame 22Symbol 2554 Button
"helpButton"Frame 22Symbol 2591 Button
"elonaButton"Frame 22Symbol 2595 Button
"longest"Frame 22Symbol 2652 EditableText
"saveBox"Frame 22Symbol 1741 MovieClip {fl.controls.ComboBox}
"trash"Frame 22Symbol 2656 Button
"kong_mc"Frame 22Symbol 2666 MovieClip
"kong_mc2"Frame 22Symbol 2674 MovieClip {shootem_funny_fla.sister_85}
"armorButton"Frame 22Symbol 2678 Button
"vol"Frame 22Symbol 2683 MovieClip
"castle"Frame 27Symbol 2685 MovieClip
"sister"Frame 27Symbol 2634 MovieClip {shootem_funny_fla.sister_39}
"bottomBar"Frame 27Symbol 2687 MovieClip
"bag"Frame 27Symbol 2690 MovieClip
"moneyText"Frame 27Symbol 2694 EditableText
"customCursor"Frame 27Symbol 2701 MovieClip
"dayText"Frame 27Symbol 2706 EditableText
"castleHPText"Frame 27Symbol 2707 EditableText
"ammobar"Frame 27Symbol 2710 MovieClip
"ammoText"Frame 27Symbol 2711 EditableText
"menuButton"Frame 27Symbol 2715 Button
"lvText"Frame 27Symbol 2722 EditableText
"expText"Frame 27Symbol 2724 EditableText
"frenzyBar2"Frame 27Symbol 2727 MovieClip
"frenzyBar"Frame 27Symbol 2729 MovieClip
"frenzyText"Frame 27Symbol 2730 EditableText
"apText"Frame 27Symbol 2731 EditableText
"gameoverLogo"Frame 33Symbol 2753 MovieClip
"bgAlpha"Frame 65Symbol 2757 MovieClip
"missionButton"Frame 65Symbol 2765 Button
"shopButton"Frame 65Symbol 2770 Button
"castleButton"Frame 65Symbol 2775 Button
"charaButton"Frame 65Symbol 2780 Button
"equipButton"Frame 65Symbol 2785 Button
"medalButton"Frame 65Symbol 2789 Button
"textCarryOver"Frame 71Symbol 2790 EditableText
"bt"Frame 81Symbol 2792 Button
"cen"Symbol 96 MovieClip {fireWork1} Frame 32Symbol 95 MovieClip
"bg"Symbol 681 MovieClip {ally4} Frame 1Symbol 130 Button
"chara1"Symbol 681 MovieClip {ally4} Frame 1Symbol 677 MovieClip {charaPic}
"bg"Symbol 685 MovieClip {ally3} Frame 1Symbol 130 Button
"chara1"Symbol 685 MovieClip {ally3} Frame 1Symbol 677 MovieClip {charaPic}
"pname"Symbol 685 MovieClip {ally3} Frame 1Symbol 683 EditableText
"lv"Symbol 685 MovieClip {ally3} Frame 1Symbol 684 EditableText
"pname"Symbol 687 MovieClip {ally2} Frame 1Symbol 686 EditableText
"chara1"Symbol 687 MovieClip {ally2} Frame 8Symbol 677 MovieClip {charaPic}
"chara1"Symbol 763 MovieClip {runner} Frame 1Symbol 752 MovieClip
"chara1"Symbol 838 MovieClip {ally1} Frame 10Symbol 677 MovieClip {charaPic}
"chara2"Symbol 838 MovieClip {ally1} Frame 281Symbol 677 MovieClip {charaPic}
"shadow"Symbol 883 MovieClip {enemy_lava} Frame 1Symbol 680 MovieClip
"shadow"Symbol 910 MovieClip {enemy_sheep} Frame 1Symbol 680 MovieClip
"shadow"Symbol 945 MovieClip {enemy_dragon} Frame 1Symbol 680 MovieClip
"shadow"Symbol 952 MovieClip {enemy_fly} Frame 1Symbol 680 MovieClip
"shadow"Symbol 964 MovieClip {enemy_bird} Frame 1Symbol 680 MovieClip
"shadow"Symbol 981 MovieClip {enemy_crow} Frame 1Symbol 680 MovieClip
"shadow"Symbol 993 MovieClip {enemy_tank} Frame 1Symbol 680 MovieClip
"shadow"Symbol 1020 MovieClip {enemy_cata} Frame 1Symbol 680 MovieClip
"shadow"Symbol 1063 MovieClip {enemy_chicken} Frame 1Symbol 680 MovieClip
"shadow"Symbol 1092 MovieClip {enemy_archer} Frame 1Symbol 680 MovieClip
"shadow"Symbol 1118 MovieClip {enemy_ghost} Frame 1Symbol 680 MovieClip
"shadow"Symbol 1164 MovieClip {enemy_spider} Frame 1Symbol 680 MovieClip
"shadow"Symbol 1211 MovieClip {enemy_knight} Frame 1Symbol 680 MovieClip
"shadow"Symbol 1247 MovieClip {enemy_dino} Frame 1Symbol 680 MovieClip
"shadow"Symbol 1295 MovieClip {enemy_rat} Frame 1Symbol 680 MovieClip
"rat"Symbol 1295 MovieClip {enemy_rat} Frame 1Symbol 1258 MovieClip {shootem_funny_fla.rat_310}
"shadow"Symbol 1340 MovieClip {enemy_barb} Frame 1Symbol 680 MovieClip
"shadow"Symbol 1363 MovieClip {enemy_ogre} Frame 1Symbol 680 MovieClip
"optShowDamage"Symbol 1531 MovieClip {shootem_funny_fla.optionwindow_224} Frame 1Symbol 1475 MovieClip {fl.controls.CheckBox}
"stats"Symbol 1531 MovieClip {shootem_funny_fla.optionwindow_224} Frame 1Symbol 1530 MovieClip {fl.controls.TextArea}
"optLowQuality"Symbol 1531 MovieClip {shootem_funny_fla.optionwindow_224} Frame 1Symbol 1475 MovieClip {fl.controls.CheckBox}
"optShowAllyDamage"Symbol 1531 MovieClip {shootem_funny_fla.optionwindow_224} Frame 1Symbol 1475 MovieClip {fl.controls.CheckBox}
"optFirework"Symbol 1531 MovieClip {shootem_funny_fla.optionwindow_224} Frame 1Symbol 1475 MovieClip {fl.controls.CheckBox}
"optColor"Symbol 1531 MovieClip {shootem_funny_fla.optionwindow_224} Frame 1Symbol 1475 MovieClip {fl.controls.CheckBox}
"kongButton"Symbol 1569 MovieClip Frame 1Symbol 1566 Button
"itemName"Symbol 1658 MovieClip {invPop} Frame 1Symbol 1652 EditableText
"itemDesc2"Symbol 1658 MovieClip {invPop} Frame 1Symbol 1653 EditableText
"maxText"Symbol 1658 MovieClip {invPop} Frame 1Symbol 1655 EditableText
"typeText"Symbol 1658 MovieClip {invPop} Frame 1Symbol 1656 EditableText
"itemDesc"Symbol 1658 MovieClip {invPop} Frame 1Symbol 1657 EditableText
"itemName"Symbol 1792 MovieClip Frame 1Symbol 1770 EditableText
"priceText"Symbol 1792 MovieClip Frame 1Symbol 1774 EditableText
"reqText"Symbol 1792 MovieClip Frame 1Symbol 1775 EditableText
"modTxt"Symbol 1792 MovieClip Frame 1Symbol 1777 EditableText
"detailText"Symbol 1792 MovieClip Frame 1Symbol 1778 EditableText
"dmgText"Symbol 1792 MovieClip Frame 1Symbol 1782 EditableText
"rateText"Symbol 1792 MovieClip Frame 1Symbol 1783 EditableText
"ammoText"Symbol 1792 MovieClip Frame 1Symbol 1784 EditableText
"reloadText"Symbol 1792 MovieClip Frame 1Symbol 1785 EditableText
"dmgAirText"Symbol 1792 MovieClip Frame 1Symbol 1787 EditableText
"dmgArmorText"Symbol 1792 MovieClip Frame 1Symbol 1789 EditableText
"accuracyText"Symbol 1792 MovieClip Frame 1Symbol 1791 EditableText
"kongButton"Symbol 1836 MovieClip Frame 1Symbol 1566 Button
"unlockText"Symbol 1875 MovieClip Frame 1Symbol 1867 EditableText
"info"Symbol 1902 MovieClip {shootem_funny_fla.detailwin_289} Frame 1Symbol 1530 MovieClip {fl.controls.TextArea}
"closeButton"Symbol 1902 MovieClip {shootem_funny_fla.detailwin_289} Frame 1Symbol 1497 Button
"returnTitleButton"Symbol 1996 MovieClip {window} Frame 1Symbol 1487 Button
"saveGameButton"Symbol 1996 MovieClip {window} Frame 1Symbol 1490 Button
"helpButton"Symbol 1996 MovieClip {window} Frame 1Symbol 1493 Button
"closeButton"Symbol 1996 MovieClip {window} Frame 1Symbol 1497 Button
"options"Symbol 1996 MovieClip {window} Frame 1Symbol 1531 MovieClip {shootem_funny_fla.optionwindow_224}
"procButton"Symbol 1996 MovieClip {window} Frame 14Symbol 1547 Button
"before"Symbol 1996 MovieClip {window} Frame 14Symbol 1553 EditableText
"now"Symbol 1996 MovieClip {window} Frame 14Symbol 1554 EditableText
"taken"Symbol 1996 MovieClip {window} Frame 14Symbol 1555 EditableText
"reward"Symbol 1996 MovieClip {window} Frame 14Symbol 1556 EditableText
"wage"Symbol 1996 MovieClip {window} Frame 14Symbol 1557 EditableText
"castle"Symbol 1996 MovieClip {window} Frame 14Symbol 1558 EditableText
"other"Symbol 1996 MovieClip {window} Frame 14Symbol 1559 EditableText
"field"Symbol 1996 MovieClip {window} Frame 14Symbol 1530 MovieClip {fl.controls.TextArea}
"tax"Symbol 1996 MovieClip {window} Frame 14Symbol 1562 EditableText
"mc_playMore"Symbol 1996 MovieClip {window} Frame 14Symbol 1569 MovieClip
"dayTxt"Symbol 1996 MovieClip {window} Frame 28Symbol 1573 EditableText
"titleText"Symbol 1996 MovieClip {window} Frame 34Symbol 1576 EditableText
"procButton"Symbol 1996 MovieClip {window} Frame 34Symbol 1547 Button
"updateText"Symbol 1996 MovieClip {window} Frame 34Symbol 1530 MovieClip {fl.controls.TextArea}
"lootText"Symbol 1996 MovieClip {window} Frame 40Symbol 1598 EditableText
"act1"Symbol 1996 MovieClip {window} Frame 40Symbol 1602 Button
"act2"Symbol 1996 MovieClip {window} Frame 40Symbol 1606 Button
"actRef1"Symbol 1996 MovieClip {window} Frame 40Symbol 1611 MovieClip
"actRef2"Symbol 1996 MovieClip {window} Frame 40Symbol 1614 MovieClip
"hint2"Symbol 1996 MovieClip {window} Frame 40Symbol 1615 EditableText
"page1"Symbol 1996 MovieClip {window} Frame 54Symbol 1626 Button
"page2"Symbol 1996 MovieClip {window} Frame 54Symbol 1631 Button
"lootText"Symbol 1996 MovieClip {window} Frame 54Symbol 1639 EditableText
"act1"Symbol 1996 MovieClip {window} Frame 54Symbol 1643 Button
"actRef1"Symbol 1996 MovieClip {window} Frame 54Symbol 1646 MovieClip
"unkeep"Symbol 1996 MovieClip {window} Frame 54Symbol 1648 EditableText
"locker"Symbol 1996 MovieClip {window} Frame 54Symbol 1651 MovieClip {shootem_funny_fla.lockedupgrades_255}
"hint"Symbol 1996 MovieClip {window} Frame 54Symbol 1658 MovieClip {invPop}
"dismissButton"Symbol 1996 MovieClip {window} Frame 63Symbol 1697 Button
"classText"Symbol 1996 MovieClip {window} Frame 63Symbol 1698 EditableText
"wage"Symbol 1996 MovieClip {window} Frame 63Symbol 1704 EditableText
"titleText"Symbol 1996 MovieClip {window} Frame 63Symbol 1705 EditableText
"wageText"Symbol 1996 MovieClip {window} Frame 63Symbol 1706 EditableText
"earnText"Symbol 1996 MovieClip {window} Frame 63Symbol 1707 EditableText
"killText"Symbol 1996 MovieClip {window} Frame 63Symbol 1708 EditableText
"orderText"Symbol 1996 MovieClip {window} Frame 63Symbol 1709 EditableText
"recruitText"Symbol 1996 MovieClip {window} Frame 63Symbol 1710 EditableText
"dismissText"Symbol 1996 MovieClip {window} Frame 63Symbol 1711 EditableText
"costText"Symbol 1996 MovieClip {window} Frame 63Symbol 1712 EditableText
"order"Symbol 1996 MovieClip {window} Frame 63Symbol 1741 MovieClip {fl.controls.ComboBox}
"fo"Symbol 1996 MovieClip {window} Frame 63Symbol 1742 EditableText
"talkText"Symbol 1996 MovieClip {window} Frame 63Symbol 1743 EditableText
"act1"Symbol 1996 MovieClip {window} Frame 63Symbol 1606 Button
"actRef1"Symbol 1996 MovieClip {window} Frame 63Symbol 1746 MovieClip
"optHint"Symbol 1996 MovieClip {window} Frame 63Symbol 1748 MovieClip
"optBoss"Symbol 1996 MovieClip {window} Frame 63Symbol 1475 MovieClip {fl.controls.CheckBox}
"optWall"Symbol 1996 MovieClip {window} Frame 63Symbol 1475 MovieClip {fl.controls.CheckBox}
"warning"Symbol 1996 MovieClip {window} Frame 71Symbol 1754 EditableText
"talkText"Symbol 1996 MovieClip {window} Frame 71Symbol 1755 EditableText
"act1"Symbol 1996 MovieClip {window} Frame 71Symbol 1759 Button
"act2"Symbol 1996 MovieClip {window} Frame 71Symbol 1763 Button
"actRef1"Symbol 1996 MovieClip {window} Frame 71Symbol 1766 MovieClip
"actHelp"Symbol 1996 MovieClip {window} Frame 71Symbol 1767 EditableText
"actRef2"Symbol 1996 MovieClip {window} Frame 71Symbol 1769 MovieClip
"popup"Symbol 1996 MovieClip {window} Frame 71Symbol 1792 MovieClip
"warning"Symbol 1996 MovieClip {window} Frame 80Symbol 1804 EditableText
"act1"Symbol 1996 MovieClip {window} Frame 80Symbol 1808 Button
"talkText"Symbol 1996 MovieClip {window} Frame 80Symbol 1809 EditableText
"actRef1"Symbol 1996 MovieClip {window} Frame 80Symbol 1812 MovieClip
"act2"Symbol 1996 MovieClip {window} Frame 80Symbol 1816 Button
"actRef2"Symbol 1996 MovieClip {window} Frame 80Symbol 1819 MovieClip
"actHelp"Symbol 1996 MovieClip {window} Frame 80Symbol 1820 EditableText
"page1"Symbol 1996 MovieClip {window} Frame 85Symbol 1626 Button
"page2"Symbol 1996 MovieClip {window} Frame 85Symbol 1631 Button
"lootText"Symbol 1996 MovieClip {window} Frame 85Symbol 1828 EditableText
"act1"Symbol 1996 MovieClip {window} Frame 85Symbol 1832 Button
"actRef1"Symbol 1996 MovieClip {window} Frame 85Symbol 1835 MovieClip
"hint"Symbol 1996 MovieClip {window} Frame 85Symbol 1658 MovieClip {invPop}
"kongMc"Symbol 1996 MovieClip {window} Frame 85Symbol 1836 MovieClip
"armorbt"Symbol 1996 MovieClip {window} Frame 85Symbol 1840 Button
"procButton"Symbol 1996 MovieClip {window} Frame 89Symbol 1547 Button
"warning"Symbol 1996 MovieClip {window} Frame 89Symbol 1848 EditableText
"popup"Symbol 1996 MovieClip {window} Frame 89Symbol 1792 MovieClip
"lootText"Symbol 1996 MovieClip {window} Frame 100Symbol 1849 EditableText
"warning"Symbol 1996 MovieClip {window} Frame 100Symbol 1851 EditableText
"classPic"Symbol 1996 MovieClip {window} Frame 125Symbol 1865 MovieClip
"unlockButton"Symbol 1996 MovieClip {window} Frame 125Symbol 1875 MovieClip
"desc2"Symbol 1996 MovieClip {window} Frame 125Symbol 1876 EditableText
"extraButton"Symbol 1996 MovieClip {window} Frame 125Symbol 1882 Button
"optHint"Symbol 1996 MovieClip {window} Frame 125Symbol 1748 MovieClip
"optHC"Symbol 1996 MovieClip {window} Frame 125Symbol 1475 MovieClip {fl.controls.CheckBox}
"optHint3"Symbol 1996 MovieClip {window} Frame 125Symbol 1748 MovieClip
"optCasual"Symbol 1996 MovieClip {window} Frame 125Symbol 1475 MovieClip {fl.controls.CheckBox}
"hint"Symbol 1996 MovieClip {window} Frame 125Symbol 1658 MovieClip {invPop}
"button1"Symbol 1996 MovieClip {window} Frame 135Symbol 1887 MovieClip
"warning"Symbol 1996 MovieClip {window} Frame 135Symbol 1891 EditableText
"backButton"Symbol 1996 MovieClip {window} Frame 135Symbol 1894 Button
"optDropMod"Symbol 1996 MovieClip {window} Frame 135Symbol 1475 MovieClip {fl.controls.CheckBox}
"optMore"Symbol 1996 MovieClip {window} Frame 135Symbol 1475 MovieClip {fl.controls.CheckBox}
"optWeaponLevel"Symbol 1996 MovieClip {window} Frame 135Symbol 1475 MovieClip {fl.controls.CheckBox}
"optSkipHard"Symbol 1996 MovieClip {window} Frame 135Symbol 1475 MovieClip {fl.controls.CheckBox}
"optTight"Symbol 1996 MovieClip {window} Frame 135Symbol 1475 MovieClip {fl.controls.CheckBox}
"optLaptop"Symbol 1996 MovieClip {window} Frame 135Symbol 1475 MovieClip {fl.controls.CheckBox}
"optComp"Symbol 1996 MovieClip {window} Frame 135Symbol 1475 MovieClip {fl.controls.CheckBox}
"detailButton"Symbol 1996 MovieClip {window} Frame 135Symbol 1899 Button
"detailWin"Symbol 1996 MovieClip {window} Frame 135Symbol 1902 MovieClip {shootem_funny_fla.detailwin_289}
"itemDesc"Symbol 1996 MovieClip {window} Frame 148Symbol 1908 EditableText
"itemDesc2"Symbol 1996 MovieClip {window} Frame 148Symbol 1909 EditableText
"now"Symbol 1996 MovieClip {window} Frame 148Symbol 1912 EditableText
"help1"Symbol 1996 MovieClip {window} Frame 162Symbol 1937 Button
"help2"Symbol 1996 MovieClip {window} Frame 162Symbol 1939 Button
"help3"Symbol 1996 MovieClip {window} Frame 162Symbol 1942 Button
"help4"Symbol 1996 MovieClip {window} Frame 162Symbol 1944 Button
"link1"Symbol 1996 MovieClip {window} Frame 164Symbol 1979 Button
"link2"Symbol 1996 MovieClip {window} Frame 164Symbol 1979 Button
"link3"Symbol 1996 MovieClip {window} Frame 164Symbol 1979 Button
"link4"Symbol 1996 MovieClip {window} Frame 164Symbol 1979 Button
"link6"Symbol 1996 MovieClip {window} Frame 164Symbol 1979 Button
"link5"Symbol 1996 MovieClip {window} Frame 164Symbol 1979 Button
"link7"Symbol 1996 MovieClip {window} Frame 164Symbol 1979 Button
"link8"Symbol 1996 MovieClip {window} Frame 164Symbol 1979 Button
"link10"Symbol 1996 MovieClip {window} Frame 164Symbol 1979 Button
"help"Symbol 1996 MovieClip {window} Frame 165Symbol 1530 MovieClip {fl.controls.TextArea}
"selectText"Symbol 2000 MovieClip {selectButton} Frame 1Symbol 1997 EditableText
"transButton"Symbol 2000 MovieClip {selectButton} Frame 1Symbol 1999 Button
"num"Symbol 2114 MovieClip {itemPicture} Frame 1Symbol 2001 EditableText
"shortNum"Symbol 2122 MovieClip {invSlot} Frame 1Symbol 2118 EditableText
"cost"Symbol 2122 MovieClip {invSlot} Frame 1Symbol 2119 EditableText
"coin"Symbol 2122 MovieClip {invSlot} Frame 1Symbol 1442 MovieClip
"peke"Symbol 2122 MovieClip {invSlot} Frame 1Symbol 2121 EditableText
"question"Symbol 2132 MovieClip {dialog} Frame 1Symbol 2124 EditableText
"no"Symbol 2132 MovieClip {dialog} Frame 1Symbol 2127 Button
"yes"Symbol 2132 MovieClip {dialog} Frame 1Symbol 2129 Button
"pop1"Symbol 2132 MovieClip {dialog} Frame 1Symbol 1792 MovieClip
"pop2"Symbol 2132 MovieClip {dialog} Frame 1Symbol 1792 MovieClip
"poparrow"Symbol 2132 MovieClip {dialog} Frame 1Symbol 2130 MovieClip
"traitName"Symbol 2144 MovieClip {trait} Frame 1Symbol 2133 EditableText
"text"Symbol 2144 MovieClip {trait} Frame 1Symbol 2136 Button
"icon"Symbol 2144 MovieClip {trait} Frame 1Symbol 2143 MovieClip
"medalName"Symbol 2152 MovieClip {medals} Frame 1Symbol 2145 EditableText
"upgradeName"Symbol 2193 MovieClip {upgrades} Frame 1Symbol 2153 EditableText
"upgradeCost"Symbol 2193 MovieClip {upgrades} Frame 1Symbol 2154 EditableText
"upgradeButton"Symbol 2193 MovieClip {upgrades} Frame 1Symbol 2160 Button
"upgradePic"Symbol 2193 MovieClip {upgrades} Frame 1Symbol 2192 MovieClip
"mc"Symbol 2197 MovieClip {fireball} Frame 1Symbol 2196 MovieClip
"shadow"Symbol 2204 MovieClip {bolt_tank} Frame 1Symbol 2200 MovieClip {bullet_shadow}
"mc"Symbol 2204 MovieClip {bolt_tank} Frame 1Symbol 2203 MovieClip
"mc"Symbol 2208 MovieClip {bolt} Frame 1Symbol 2207 MovieClip
"shadow"Symbol 2208 MovieClip {bolt} Frame 1Symbol 2200 MovieClip {bullet_shadow}
"mc"Symbol 2240 MovieClip {bullet_grenade2} Frame 1Symbol 2239 MovieClip
"shadow"Symbol 2240 MovieClip {bullet_grenade2} Frame 1Symbol 2200 MovieClip {bullet_shadow}
"mc"Symbol 2248 MovieClip {bullet_rocket} Frame 1Symbol 2247 MovieClip
"shadow"Symbol 2248 MovieClip {bullet_rocket} Frame 1Symbol 2200 MovieClip {bullet_shadow}
"puls"Symbol 2260 MovieClip Frame 1Symbol 2259 MovieClip {explosion_puls}
"mc"Symbol 2261 MovieClip {bullet_puls} Frame 1Symbol 2260 MovieClip
"shadow"Symbol 2265 MovieClip {bullet_arrow3} Frame 1Symbol 2200 MovieClip {bullet_shadow}
"mc"Symbol 2265 MovieClip {bullet_arrow3} Frame 1Symbol 2264 MovieClip
"shadow"Symbol 2266 MovieClip {bullet_arrow2} Frame 1Symbol 2200 MovieClip {bullet_shadow}
"mc"Symbol 2266 MovieClip {bullet_arrow2} Frame 1Symbol 2264 MovieClip
"shadow"Symbol 2273 MovieClip {bullet_grenade3} Frame 1Symbol 2200 MovieClip {bullet_shadow}
"mc"Symbol 2273 MovieClip {bullet_grenade3} Frame 1Symbol 2272 MovieClip
"shadow"Symbol 2277 MovieClip {bullet_grenade} Frame 1Symbol 2200 MovieClip {bullet_shadow}
"mc"Symbol 2277 MovieClip {bullet_grenade} Frame 1Symbol 2276 MovieClip
"shadow"Symbol 2281 MovieClip {arrowEgg} Frame 1Symbol 2200 MovieClip {bullet_shadow}
"mc"Symbol 2281 MovieClip {arrowEgg} Frame 1Symbol 2280 MovieClip
"mc"Symbol 2283 MovieClip {arrow} Frame 1Symbol 2282 MovieClip
"shadow"Symbol 2283 MovieClip {arrow} Frame 1Symbol 2200 MovieClip {bullet_shadow}
"infoText"Symbol 2291 MovieClip Frame 1Symbol 2288 EditableText
"pop"Symbol 2292 MovieClip {infoPop} Frame 1Symbol 2291 MovieClip
"txt"Symbol 2300 MovieClip {radioButton2} Frame 1Symbol 2293 EditableText
"dummy"Symbol 2300 MovieClip {radioButton2} Frame 1Symbol 2298 EditableText
"txt"Symbol 2313 MovieClip {radioButton} Frame 1Symbol 2301 EditableText
"dummy"Symbol 2313 MovieClip {radioButton} Frame 1Symbol 2305 EditableText
"cardPic"Symbol 2338 MovieClip {card} Frame 9Symbol 2337 MovieClip
"txt"Symbol 2343 MovieClip Frame 1Symbol 2342 EditableText
"txt"Symbol 2363 MovieClip {cardEffect} Frame 1Symbol 2343 MovieClip
"txt"Symbol 2366 MovieClip {showdamage} Frame 1Symbol 2365 EditableText
"txt"Symbol 2368 MovieClip {critKill} Frame 1Symbol 2367 EditableText
"bar"Symbol 2371 MovieClip {itemTimer} Frame 1Symbol 2370 MovieClip
"msg"Symbol 2389 MovieClip Frame 1Symbol 2388 EditableText
"msg"Symbol 2391 MovieClip {textEffect} Frame 1Symbol 2389 MovieClip
"bar"Symbol 2413 MovieClip {hpbar} Frame 1Symbol 2412 MovieClip
"card"Symbol 2432 MovieClip {actions} Frame 1Symbol 2427 MovieClip {shootem_funny_fla.card4b_128}
"text"Symbol 2432 MovieClip {actions} Frame 1Symbol 2428 EditableText
"pin"Symbol 2432 MovieClip {actions} Frame 1Symbol 2431 MovieClip
"okButton"Symbol 2438 MovieClip {eventWindow} Frame 1Symbol 2435 Button
"card"Symbol 2438 MovieClip {eventWindow} Frame 1Symbol 2337 MovieClip
"text"Symbol 2438 MovieClip {eventWindow} Frame 1Symbol 2436 EditableText
"title"Symbol 2438 MovieClip {eventWindow} Frame 1Symbol 2437 EditableText
"info"Symbol 2439 MovieClip {dbgWindow} Frame 1Symbol 1530 MovieClip {fl.controls.TextArea}
"bt"Symbol 2474 MovieClip Frame 1Symbol 2443 MovieClip
"bar"Symbol 2501 MovieClip {shootem_funny_fla.LOADER_18} Frame 1Symbol 2476 MovieClip
"bt"Symbol 2501 MovieClip {shootem_funny_fla.LOADER_18} Frame 3Symbol 2500 Button
"sisterFire"Symbol 2634 MovieClip {shootem_funny_fla.sister_39} Frame 1Symbol 2605 MovieClip
"sister"Symbol 2649 MovieClip {shootem_funny_fla.titleanime_38} Frame 1Symbol 2634 MovieClip {shootem_funny_fla.sister_39}
"exclusiveButton"Symbol 2666 MovieClip Frame 1Symbol 2665 Button
"bt"Symbol 2674 MovieClip {shootem_funny_fla.sister_85} Frame 1Symbol 2670 Button
"carryOverButton"Symbol 2749 MovieClip Frame 1Symbol 2744 Button
"carryOverButton"Symbol 2749 MovieClip Frame 2Symbol 2748 Button
"gameoverButton"Symbol 2753 MovieClip Frame 1Symbol 2740 Button
"carryOver"Symbol 2753 MovieClip Frame 1Symbol 2749 MovieClip
"playMoreButton"Symbol 2753 MovieClip Frame 1Symbol 2752 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
Protect (24)Timeline Frame 10 bytes ""

Labels

"loader"Frame 1
"startloop"Frame 2
"loaded"Frame 3
"init"Frame 6
"functions"Frame 7
"logo"Frame 9
"logo2"Frame 12
"title"Frame 22
"battle"Frame 27
"dead"Frame 33
"event"Frame 65
"townad"Frame 70
"town"Frame 71
"black"Frame 81
"stand"Symbol 681 MovieClip {ally4} Frame 8
"stand"Symbol 685 MovieClip {ally3} Frame 8
"stand"Symbol 687 MovieClip {ally2} Frame 8
"stand"Symbol 763 MovieClip {runner} Frame 1
"notice"Symbol 763 MovieClip {runner} Frame 59
"run"Symbol 763 MovieClip {runner} Frame 75
"dead"Symbol 763 MovieClip {runner} Frame 88
"init"Symbol 838 MovieClip {ally1} Frame 1
"reload"Symbol 838 MovieClip {ally1} Frame 30
"stand"Symbol 838 MovieClip {ally1} Frame 45
"walk"Symbol 838 MovieClip {ally1} Frame 200
"shield"Symbol 838 MovieClip {ally1} Frame 221
"dead"Symbol 838 MovieClip {ally1} Frame 281
"init"Symbol 883 MovieClip {enemy_lava} Frame 1
"alive"Symbol 883 MovieClip {enemy_lava} Frame 4
"attack"Symbol 883 MovieClip {enemy_lava} Frame 23
"dead"Symbol 883 MovieClip {enemy_lava} Frame 98
"null"Symbol 883 MovieClip {enemy_lava} Frame 223
"init"Symbol 910 MovieClip {enemy_sheep} Frame 1
"alive"Symbol 910 MovieClip {enemy_sheep} Frame 5
"attack"Symbol 910 MovieClip {enemy_sheep} Frame 32
"dead"Symbol 910 MovieClip {enemy_sheep} Frame 107
"null"Symbol 910 MovieClip {enemy_sheep} Frame 216
"init"Symbol 945 MovieClip {enemy_dragon} Frame 1
"alive"Symbol 945 MovieClip {enemy_dragon} Frame 3
"stand"Symbol 945 MovieClip {enemy_dragon} Frame 25
"attack"Symbol 945 MovieClip {enemy_dragon} Frame 43
"dead"Symbol 945 MovieClip {enemy_dragon} Frame 107
"null"Symbol 945 MovieClip {enemy_dragon} Frame 225
"init"Symbol 952 MovieClip {enemy_fly} Frame 1
"alive"Symbol 952 MovieClip {enemy_fly} Frame 3
"dead"Symbol 952 MovieClip {enemy_fly} Frame 12
"null"Symbol 952 MovieClip {enemy_fly} Frame 126
"init"Symbol 964 MovieClip {enemy_bird} Frame 1
"alive"Symbol 964 MovieClip {enemy_bird} Frame 3
"dead"Symbol 964 MovieClip {enemy_bird} Frame 30
"null"Symbol 964 MovieClip {enemy_bird} Frame 144
"init"Symbol 981 MovieClip {enemy_crow} Frame 1
"alive"Symbol 981 MovieClip {enemy_crow} Frame 3
"attack"Symbol 981 MovieClip {enemy_crow} Frame 30
"dead"Symbol 981 MovieClip {enemy_crow} Frame 58
"null"Symbol 981 MovieClip {enemy_crow} Frame 172
"init"Symbol 993 MovieClip {enemy_tank} Frame 1
"alive"Symbol 993 MovieClip {enemy_tank} Frame 3
"attack"Symbol 993 MovieClip {enemy_tank} Frame 20
"attack2"Symbol 993 MovieClip {enemy_tank} Frame 74
"dead"Symbol 993 MovieClip {enemy_tank} Frame 174
"null"Symbol 993 MovieClip {enemy_tank} Frame 290
"init"Symbol 1020 MovieClip {enemy_cata} Frame 1
"alive"Symbol 1020 MovieClip {enemy_cata} Frame 3
"attack"Symbol 1020 MovieClip {enemy_cata} Frame 14
"dead"Symbol 1020 MovieClip {enemy_cata} Frame 163
"null"Symbol 1020 MovieClip {enemy_cata} Frame 279
"init"Symbol 1063 MovieClip {enemy_chicken} Frame 1
"alive"Symbol 1063 MovieClip {enemy_chicken} Frame 5
"wait"Symbol 1063 MovieClip {enemy_chicken} Frame 37
"attack"Symbol 1063 MovieClip {enemy_chicken} Frame 105
"dead"Symbol 1063 MovieClip {enemy_chicken} Frame 208
"null"Symbol 1063 MovieClip {enemy_chicken} Frame 324
"init"Symbol 1092 MovieClip {enemy_archer} Frame 1
"alive"Symbol 1092 MovieClip {enemy_archer} Frame 5
"attack"Symbol 1092 MovieClip {enemy_archer} Frame 28
"dead"Symbol 1092 MovieClip {enemy_archer} Frame 94
"null"Symbol 1092 MovieClip {enemy_archer} Frame 210
"init"Symbol 1118 MovieClip {enemy_ghost} Frame 1
"alive"Symbol 1118 MovieClip {enemy_ghost} Frame 3
"stop"Symbol 1118 MovieClip {enemy_ghost} Frame 25
"attack"Symbol 1118 MovieClip {enemy_ghost} Frame 30
"dead"Symbol 1118 MovieClip {enemy_ghost} Frame 80
"null"Symbol 1118 MovieClip {enemy_ghost} Frame 251
"init"Symbol 1164 MovieClip {enemy_spider} Frame 1
"alive"Symbol 1164 MovieClip {enemy_spider} Frame 3
"stop"Symbol 1164 MovieClip {enemy_spider} Frame 25
"attack"Symbol 1164 MovieClip {enemy_spider} Frame 30
"dead"Symbol 1164 MovieClip {enemy_spider} Frame 80
"null"Symbol 1164 MovieClip {enemy_spider} Frame 251
"init"Symbol 1211 MovieClip {enemy_knight} Frame 1
"alive"Symbol 1211 MovieClip {enemy_knight} Frame 3
"attack"Symbol 1211 MovieClip {enemy_knight} Frame 33
"dead"Symbol 1211 MovieClip {enemy_knight} Frame 83
"null"Symbol 1211 MovieClip {enemy_knight} Frame 254
"init"Symbol 1247 MovieClip {enemy_dino} Frame 1
"alive"Symbol 1247 MovieClip {enemy_dino} Frame 3
"attack"Symbol 1247 MovieClip {enemy_dino} Frame 26
"dead"Symbol 1247 MovieClip {enemy_dino} Frame 194
"null"Symbol 1247 MovieClip {enemy_dino} Frame 358
"alive"Symbol 1258 MovieClip {shootem_funny_fla.rat_310} Frame 1
"dead"Symbol 1258 MovieClip {shootem_funny_fla.rat_310} Frame 16
"init"Symbol 1295 MovieClip {enemy_rat} Frame 1
"dropping"Symbol 1295 MovieClip {enemy_rat} Frame 2
"alive"Symbol 1295 MovieClip {enemy_rat} Frame 14
"attack"Symbol 1295 MovieClip {enemy_rat} Frame 41
"dead"Symbol 1295 MovieClip {enemy_rat} Frame 93
"null"Symbol 1295 MovieClip {enemy_rat} Frame 261
"init"Symbol 1340 MovieClip {enemy_barb} Frame 1
"alive"Symbol 1340 MovieClip {enemy_barb} Frame 3
"attack"Symbol 1340 MovieClip {enemy_barb} Frame 26
"attack2"Symbol 1340 MovieClip {enemy_barb} Frame 38
"dead"Symbol 1340 MovieClip {enemy_barb} Frame 84
"null"Symbol 1340 MovieClip {enemy_barb} Frame 252
"init"Symbol 1363 MovieClip {enemy_ogre} Frame 1
"alive"Symbol 1363 MovieClip {enemy_ogre} Frame 6
"attack"Symbol 1363 MovieClip {enemy_ogre} Frame 29
"dead"Symbol 1363 MovieClip {enemy_ogre} Frame 76
"null"Symbol 1363 MovieClip {enemy_ogre} Frame 235
"alive"Symbol 1384 MovieClip {enemy_punk} Frame 1
"attack"Symbol 1384 MovieClip {enemy_punk} Frame 10
"dead"Symbol 1384 MovieClip {enemy_punk} Frame 42
"blood1"Symbol 1411 MovieClip {effect2} Frame 1
"lvup"Symbol 1411 MovieClip {effect2} Frame 20
"disarm"Symbol 1411 MovieClip {effect2} Frame 60
"blood1"Symbol 1459 MovieClip {effect} Frame 1
"impact1"Symbol 1459 MovieClip {effect} Frame 20
"blood3"Symbol 1459 MovieClip {effect} Frame 50
"critical"Symbol 1459 MovieClip {effect} Frame 70
"gold"Symbol 1459 MovieClip {effect} Frame 80
"item"Symbol 1459 MovieClip {effect} Frame 107
"menu_pause"Symbol 1996 MovieClip {window} Frame 1
"menu_result"Symbol 1996 MovieClip {window} Frame 14
"clear"Symbol 1996 MovieClip {window} Frame 24
"beg"Symbol 1996 MovieClip {window} Frame 28
"menu_update"Symbol 1996 MovieClip {window} Frame 34
"menu_mission"Symbol 1996 MovieClip {window} Frame 40
"menu_castle"Symbol 1996 MovieClip {window} Frame 54
"menu_chara"Symbol 1996 MovieClip {window} Frame 63
"menu_equip"Symbol 1996 MovieClip {window} Frame 71
"menu_shop"Symbol 1996 MovieClip {window} Frame 80
"menu_medal"Symbol 1996 MovieClip {window} Frame 85
"menu_loot"Symbol 1996 MovieClip {window} Frame 89
"menu_lootBoss"Symbol 1996 MovieClip {window} Frame 100
"menu_gene"Symbol 1996 MovieClip {window} Frame 125
"menu_mode"Symbol 1996 MovieClip {window} Frame 135
"menu_level"Symbol 1996 MovieClip {window} Frame 148
"help1"Symbol 1996 MovieClip {window} Frame 162
"help2"Symbol 1996 MovieClip {window} Frame 163
"help3"Symbol 1996 MovieClip {window} Frame 164
"help4"Symbol 1996 MovieClip {window} Frame 165
"null"Symbol 1996 MovieClip {window} Frame 171
"help"Symbol 2292 MovieClip {infoPop} Frame 1
"opened"Symbol 2338 MovieClip {card} Frame 15
"good"Symbol 2363 MovieClip {cardEffect} Frame 1
"bad"Symbol 2363 MovieClip {cardEffect} Frame 54
"loaded"Symbol 2501 MovieClip {shootem_funny_fla.LOADER_18} Frame 3
"stand"Symbol 2634 MovieClip {shootem_funny_fla.sister_39} Frame 4
"damage"Symbol 2634 MovieClip {shootem_funny_fla.sister_39} Frame 7
"kill"Symbol 2634 MovieClip {shootem_funny_fla.sister_39} Frame 20
"dead"Symbol 2634 MovieClip {shootem_funny_fla.sister_39} Frame 45
"joy"Symbol 2634 MovieClip {shootem_funny_fla.sister_39} Frame 80
"attack"Symbol 2634 MovieClip {shootem_funny_fla.sister_39} Frame 98
"repeat1"Symbol 2649 MovieClip {shootem_funny_fla.titleanime_38} Frame 152




http://swfchan.com/19/92377/info.shtml
Created: 27/3 -2019 11:17:49 Last modified: 27/3 -2019 11:17:49 Server time: 25/04 -2024 16:16:03