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

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

FlashTrek- Romulan Wars.swf

This is the info page for
Flash #35052

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


Text
Game Not Loading?
Click to Bypass Preload...

FLASHTREK

v2.0

ROMULAN WARS

GAME IS LOADING...

All Star Trek references are copyrighted by
Paramount Pictures. FlashTrek is fan based
material.
There is no existing copyright on this game,
expressed or implied. Ship graphics were
taken from freely distributed animated gifs and
are copyright of their respective authors.
The purpose of this game is to provide an
enjoyable Trek game online, as well as offer
available code and examples for programming
arcade games in Flash.
Enjoy the game.

NEW GAME

PLAY SAVED

INSTRUCTIONS

Welcome Back,

BEGIN NEW GAME...

Your Name

NEW GAME

Your Starship's Name

BACK TO MENU

INSTRUCTIONS

CLICK ON A BUTTON FOR MORE INFORMATION ABOUT ITS FUNCTION

KEYBOARD CONTROLS

SPECIAL ITEMS

CONTINUE

SHIP DATABASE

GAME HINTS

- In the beginning of the game, gather resources and equipment to stock your ship and build a
small fleet.  Remember single ships are no match for the Romulans at the beginning. Do not try
to attack the enemy base until you have researched shields and built the Daedalus class.
- Use your mouse to click on individual allied ships to assign them orders. Hover your mouse
over ships for their status, or their sensor dots for their names.
- Fleeing while firing aft torpedo launchers is a good way to destroy an enemy without sustaining
heavy damage.
- You cannot upgrade your starbase, thus advancing to the next time period, until the enemy
starbase is destroyed.
- Allied ships will also gather resources. Build a large fleet even if you do not intend to attack.
- If the entire Romulan Fleet suddenly cloaks...get back to your starbase quick and call for
reinforcements!
- Equip your ship wisely. Depending on your combat style, some items will be more useful than
others.
- Try disabling enemy ships rather than destroying them. Beam over an assault team to try and
steal their technology.
- Once the enemy starbase is destroyed, take some time to build up a small fleet before you
upgrade your starbase. You want to be ready in the next time period when the enemy starts
attacking again.
- If you are going to attack the enemy, leave a couple ships at your starbase to protect it!
Nothing's worse than having your starbase destroyed while you're out on an attack run.

BUILD NX

RESEARCH DAEDALUS

DILITHIUM:
DEURANIUM:

0

0

ENERGY                        SHIELDS                          HULL                       TORPEDOES                    SPEED                              DAMAGE CONTROL                                SPECIAL EQUIPMENT

DILITHIUM: 0
DUERANIUM: 0

2149.23
STARFLEET HAS JUST MADE DISASTEROUS FIRST CONTACT WITH A RACE CALLING THEMSELVES THE ROMULANS. THE ROMULAN EMPIRE HAS DECLARED WAR ON EARTH, CLAIMING AN INCURSION INTO THEIR SACRED TERRITORY.
THE ROMULANS HAVE CONSTRUCTED A LARGE STARBASE 2 LIGHT YEARS FROM STARFLEET OUTPOST 5 ON THE BORDER OF ROMULAN AND EARTH TERRITORY. IT IS CLEAR THAT THIS SPECIES IS TECHNOLOGY SUPERIOR.
THE ROMULAN EMPIRE WANTS NOTHING MORE THAN TO SEE THE ENTIRE FLEET DESTROYED. AS FLEET COMMANDER, YOU MUST DEFEND EARTH AGAINST THIS NEW THREAT.
THE ROMULAN WARS HAVE BEGUN...

YOU ARE DEAD

PLAY AGAIN

PLAY AGAIN

YOUR SHIP HAS BEEN DESTROYED. BECAUSE OF YOUR FAILURE, THE
ALPHA QUADRANT FELL TO THE ROMULAN EMPIRE. YOU HAVE DOOMED
EVERYONE TO A LIFE OF MISERABLE SLAVERY UNDER THE CRUEL RULE
OF THE ROMULANS...BUMMER, HUH?

YOU ARE VICTORIOUS

BACK TO MENU

YOU HAVE BATTLED THE ROMULANS, THE KLINGONS, AND THE BORG AND
DEFEATED THEM ALL. YOU HAVE BROUGHT PEACE TO THE GALAXY. FOREVER
WILL PEOPLE SPEAK OF YOUR NAME AND YOUR ADVENTURES. CAPTAIN, PILOT,
LEADER, HERO. WORDS CANNOT DESCRIBE YOUR TRIUMPHS; YOU HAVE
SAVED HUMANITY COUNTLESS TIMES. IT'S A SHAME STARFLEET OFFICERS
DON'T GET PAID...

NO ONE QUESTIONS THAT YOU HAVE MANAGED TO LIVE TO OVER 400 YEARS OLD...

ActionScript [AS1/AS2]

Frame 1
_root.bytesLoaded = _root.getBytesLoaded(); _root.bytesTotal = _root.getBytesTotal(); _root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal)); setProperty("percentloadedbox", _xscale , _root.percentLoaded);
Frame 2
if (_root.percentLoaded == 100) { gotoAndPlay (5); } else { gotoAndPlay (1); }
Frame 3
_root.bytesLoaded = _root.getBytesLoaded(); _root.bytesTotal = _root.getBytesTotal(); _root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal)); setProperty("percentloadedbox", _xscale , _root.percentLoaded);
Frame 4
if (_root.percentLoaded == 100) { gotoAndPlay (5); } else { gotoAndPlay (3); }
Frame 5
stopAllSounds(); stop(); soundbeep = new Sound(this); soundbeep.attachSound("romwarstheme"); soundbeep.start(0, 5); myLSO = SharedObject.getLocal("romwars"); newgamebutton._alpha = 50; playsavedbutton._alpha = 50; instructionsbutton._alpha = 50; futbutton._alpha = 50; futbutton._x = -100; if (myLSO.data.playername == undefined) { title = "Welcome, New Player"; } else { title = ((("Welcome back, Captain " + myLSO.data.playername) + " of the ") + myLSO.data.playership) + "."; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 2; x = x - 2; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 5; x = x - 5; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) { x = _x; y = _y; y = y + 15; x = x - 15; if (_x < 0) { x = 500; } if (_y > 450) { y = 0; } _x = x; _y = y; }
Frame 7
stopAllSounds();
Frame 8
shipdesctype = 18; stop();
Instance of Symbol 242 MovieClip in Frame 8
onClipEvent (enterFrame) { _rotation = (_rotation + 5); }
Frame 10
function loadgame() { Set("starbase:d1", 0); Set("starbase:d2", 0); playership = myLSO.data.playership; playername = myLSO.data.playername; step = myLSO.data.era; if (step == 15) { step = 14; } def = myLSO.data.ship; photonictorpedoes = myLSO.data.photonictorpedoes; plasmatorpedoes = myLSO.data.plasmatorpedoes; transphasictorpedoes = myLSO.data.transphasictorpedoes; quantumtorpedoes = myLSO.data.quantumtorpedoes; photontorpedoes = myLSO.data.photontorpedoes; itemslot[1] = myLSO.data.item1; itemslot[2] = myLSO.data.item2; itemslot[3] = myLSO.data.item3; itemslot[4] = myLSO.data.item4; itemslot[5] = myLSO.data.item5; itemslot[6] = myLSO.data.item6; d1 = myLSO.data.d1; d2 = myLSO.data.d2; if (itemslot[1] != undefined) { Set("item1:item", itemslot[1]); } if (itemslot[2] != undefined) { Set("item2:item", itemslot[2]); } if (itemslot[3] != undefined) { Set("item3:item", itemslot[3]); } if (itemslot[4] != undefined) { Set("item4:item", itemslot[4]); } if (itemslot[5] != undefined) { Set("item5:item", itemslot[5]); } if (itemslot[6] != undefined) { Set("item6:item", itemslot[6]); } Set("starbase:d1", d1); Set("starbase:d2", d2); loadship(); loadera(); } function savegame() { myLSO.data.ship = def; myLSO.data.era = step; myLSO.data.item1 = itemslot[1]; myLSO.data.item2 = itemslot[2]; myLSO.data.item3 = itemslot[3]; myLSO.data.item4 = itemslot[4]; myLSO.data.item5 = itemslot[5]; myLSO.data.item6 = itemslot[6]; myLSO.data.photonictorpedoes = photonictorpedoes; myLSO.data.plasmatorpedoes = plasmatorpedoes; myLSO.data.quantumtorpedoes = quantumtorpedoes; myLSO.data.photontorpedoes = photontorpedoes; myLSO.data.transphasictorpedoes = transphasictorpedoes; myLSO.data.d1 = d1; myLSO.data.d2 = d2; myLSO.data.flush(); } function loadera() { if ((step >= 0) and (step < 3)) { infotext = ("2149 - MESSAGE TO " + playership) + newline; infotext = (infotext + " STARFLEET HAS JUST MADE DISASTEROUS FIRST CONTACT WITH A RACE CALLING THEMSELVES THE ROMULANS. THE ROMULAN EMPIRE HAS DECLARED WAR ON EARTH, CLAIMING AN INCURSION INTO THEIR SACRED TERRITORY.") + newline; infotext = (infotext + " THE ROMULANS HAVE CONSTRUCTED A LARGE STARBASE 2 LIGHT YEARS FROM STARFLEET OUTPOST 5 ON THE BORDER OF ROMULAN AND EARTH TERRITORY. IT IS CLEAR THAT THIS SPECIES IS TECHNOLOGY SUPERIOR.") + newline; infotext = (infotext + " THE ROMULAN EMPIRE WANTS NOTHING MORE THAN TO SEE THE ENTIRE FLEET DESTROYED. AS FLEET COMMANDER, YOU MUST DEFEND EARTH AGAINST THIS NEW THREAT.") + newline; infotext = infotext + " THE ROMULAN WARS HAVE BEGUN..."; x = 5000; y = 5000; e = 500; e2 = 500; Set("starbase:stationpic:type", 1); torpsound = "tostorp"; phassound = "tosphaser"; gotoAndStop (12); } if ((step >= 3) and (step < 6)) { infotext = ("2212.10 - MESSAGE TO " + playership) + newline; infotext = (infotext + " THE WAR WITH THE ROMULAN EMPIRE WAS LONG AND COSTLY. BUT IN THE END A PEACE AGREEMENT WAS FORGED, RESULTING IN THE FORMATION OF THE NEUTRAL ZONE. AT LAST EARTH SAW PEACE.") + newline; infotext = (infotext + " WITH THE END OF THE WAR, SEVERAL ADVANCED SPECIES IN THE ALPHA QUADRANT SAW NEED FOR A NEW GOVERNMENT, A GOVERNMENT OF PLANETS TO PROTECT ITS CITIZENS. THUS THE UNITED FEDERATION OF PLANETS WAS CREATED.") + newline; infotext = (infotext + " BUT THE ROMULANS ARE NOT OUTDONE. THEY HAVE BUILT A NEW STARBASE IN FEDERATION TERRITORY TO RECLAIM SPACE THEY LOST DURING THE WAR. ONCE AGAIN THE BATTLE HAS ENSUED. DESTROY THE BASE, SAVE THE FEDERATION.") + newline; x = 6000; y = 4000; e = 800; e2 = 800; Set("starbase:stationpic:type", 2); torpsound = "tostorp"; phassound = "tosphaser"; gotoAndStop (12); } if ((step >= 6) and (step < 9)) { infotext = ("2270 - MESSAGE TO " + playership) + newline; infotext = (infotext + " THE UNITED FEDERATION OF PLANETS, WITH ITS NEW CONSTITUTION CLASS STARSHIPS, DROVE THE ROMULANS BACK INTO THEIR OWN TERRITORY. A NEW TREATY HAS BEEN SIGNED.") + newline; infotext = (infotext + " IT BRINGS PEACE TO THE GALAXY, BUT AT A COST. THE FEDERATION WAS FORCED TO ABANDON ITS CLOAK RESEARCH. NOW THE ROMULANS HAVE GONE INTO HIDING. THEY HAVE NOT BEEN SEEN SINCE THE LAST BATTLE.") + newline; infotext = (infotext + " BUT A NEW THREAT HAS EMERGED. RELATIONS WITH THE KLINGON EMPIRE HAVE CRUMBLED. THE KLINGONS HAVE BUILD A MILITARY OUTPOST NEAR YOUR LOCATION AS A STAGING POINT FOR A WAR. IT MUST BE DESTROYED.") + newline; x = -5000; y = -5000; e = 1000; e2 = 1000; Set("starbase:stationpic:type", 3); torpsound = "def-torp"; phassound = "def-phas"; gotoAndStop (12); } if ((step >= 9) and (step < 12)) { infotext = ("2360 - MESSAGE TO " + playership) + newline; infotext = (infotext + " THE WAR BETWEEN THE KLINGONS AND THE FEDERATION HAS ENDED. THE TWO RACES ARE NOW ALLIES.") + newline; infotext = (infotext + " WITH THIS NEW POWER SHIFT IN THE QUADRANT, THE ROMULANS HAVE ONCE AGAIN EMERGED FROM ISOLATION. IT HAS BEEN DISCOVERED THAT THEIR TECHNOLOGICAL ADVANCEMENT HAS BEEN EXTENSIVE SINCE THEY WERE LAST SEEN AT THE END OF THE LAST WAR.") + newline; infotext = (infotext + " THE ROMULANS HAVE HUGE POWERFUL D'ERIDEX CLASS WARSHIPS, CAPABLE OF OUTMATCHING THE NEW EXCELSIOR CLASS STARSHIPS. ONCE AGAIN THEY ARE MASSING A FLEET NEAR THE NEUTRAL ZONE. THEIR CONSTRUCTION YARD MUST BE DESTROYED. NOT EVEN THE KLINGONS CAN HELP YOU NOW.") + newline; x = 6000; y = -3000; e = 2000; e2 = 2000; Set("starbase:stationpic:type", 4); torpsound = "def-torp"; phassound = "def-phas"; gotoAndStop (12); } if ((step >= 12) and (step < 14)) { infotext = ("2383 - MESSAGE TO " + playership) + newline; infotext = (infotext + " THE FEDERATION'S WORST FEAR IS REALIZED. AFTER THE DOMINION WAR THE KLINGONS AND ROMULANS HAVE FORMED AN ALLIANCE. TOGETHER THEY INTEND TO BECOME THE MOST POWERFUL GROUP IN THE QUADRANT.") + newline; infotext = (infotext + " THEY, ALONG WITH MANY OTHER SPECIES, DO NOT FEEL THE FEDERATION HAS DONE ITS DUTY TO PROTECT THE ALPHA QUADRANT. MANY SUFFERED FROM THE DOMINION WAR, AND THE ROMULANS AND KLINGONS HAVE AGREED THAT A NEW GOVERNMENT IS NEEDED.") + newline; infotext = (infotext + " YOU MUST PRESERVE THE FEDERATION. DESTROY THE KLINGON AND ROMULAN FORCES AT THEIR NEW STARBASE. THE FEDERATION MUST NOT FALL.") + newline; x = 5000; y = 5000; e = 5000; e2 = 5000; Set("starbase:stationpic:type", 5); torpsound = "def-torp"; phassound = "def-phas"; gotoAndStop (12); } if (step == 14) { infotext = ("2400 - MESSAGE TO " + playership) + newline; infotext = (infotext + " AN ALLIANCE HAS FINALLY BEEN FORMED BETWEEN THE FEDERATION, THE KLINGONS, AND THE ROMULANS. PEACE SPREADS THROUGHOUT THE ALPHA QUADRANT. A NEW ERA OF BLISS AND HAPPINESS BLOOMS. YOU ARE HAILED AS A HERO.") + newline; infotext = (infotext + " YOUR CELEBRATION DOESN'T LAST LONG. AFTER THE USS VOYAGER RETURNED FROM THE DELTA QUADRANT, THE BORG HAVE BEEN ON THEIR WAY, INTENT ON REVENGE. THEY WILL STOP AT NOTHING TO ASSIMILATE EARTH, NOW.") + newline; infotext = (infotext + " YOU ARE RECALLED TO EARTH TO DEFEND IT AS SENSORS PICK UP A BORG UNIPLEX APPEARING FROM TRANSWARP. BORG SPHERES AND CUBES FILL THE SECTOR. THE END IS HERE...") + newline; y = 2000; x = -5000; e = 6000; e2 = 10000; Set("starbase:stationpic:type", 6); torpsound = "def-torp"; phassound = "def-phas"; gotoAndStop (12); } if (step == 15) { removeallships(); gotoAndStop (14); _root.comm = "ALL THREATS DESTROYED!!!"; } setProperty("estarbase", _x , x); setProperty("estarbase", _y , y); Set("estarbase:myenergy", e); Set("estarbase:totenergy", e); Set("starbase:myenergy", e2); Set("starbase:damage", 0); setProperty("starbase", _x , 100); setProperty("starbase", _y , 100); savegame(); } function loadship() { if (def == 1) { tot_energy = 3000; tot_hull = 100; tot_shields = -1; tot_phaser = 0; tot_torp = 5; tot_speed = -6; tot_nettorps = 0; } if (def == 37) { tot_energy = 3500; tot_hull = 100; tot_shields = 100; tot_phaser = 75; tot_torp = 5; tot_speed = -6; tot_nettorps = 0; } if (def == 73) { tot_energy = 4000; tot_hull = 125; tot_shields = 125; tot_phaser = 100; tot_torp = 6; tot_speed = -7; tot_nettorps = 0; } if (def == 109) { tot_energy = 4000; tot_hull = 125; tot_shields = 125; tot_phaser = 125; tot_torp = 6; tot_speed = -6; tot_nettorps = 0; } if (def == 145) { tot_energy = 4500; tot_hull = 150; tot_shields = 150; tot_phaser = 150; tot_torp = 6; tot_speed = -7; tot_nettorps = 0; } if (def == 181) { tot_energy = 5000; tot_hull = 185; tot_shields = 185; tot_phaser = 200; tot_torp = 6; tot_speed = -8; tot_nettorps = 0; } if (def == 380) { tot_energy = 5000; tot_hull = 220; tot_shields = 230; tot_phaser = 300; tot_torp = 9; tot_speed = -9; tot_nettorps = 0; } if (def == 217) { tot_energy = 9000; tot_hull = 225; tot_shields = 225; tot_phaser = 300; tot_torp = 7; tot_speed = -8; tot_nettorps = 0; } if (def == 253) { tot_energy = 8000; tot_hull = 300; tot_shields = 300; tot_phaser = 400; tot_torp = 8; tot_speed = -9; tot_nettorps = 0; } if (def == 411) { tot_energy = 8000; tot_hull = 300; tot_shields = 300; tot_phaser = 400; tot_torp = 8; tot_speed = -8; tot_nettorps = 0; } if ((def == 289) or (def == 325)) { tot_energy = 15000; tot_hull = 500; tot_shields = -1; tot_phaser = 500; tot_torp = 9; tot_speed = -8; tot_nettorps = 0; } torpedoes = tot_nettorps; energy = tot_energy; shields = 0; speed = 0; shieldstrength = tot_shields; hull = tot_hull; sensors = 1; engines = 1; torplaunchers = 1; phasers = 1; repair = 0; scale = 50; } function translateswap() { if (def == 1) { swap = 2; } if (def == 37) { swap = 11; } if (def == 73) { swap = 20; } if (def == 145) { swap = 29; } if (def == 181) { swap = 38; } if (def == 217) { swap = 56; } if (def == 380) { swap = 47; } if (def == 253) { swap = 65; } if (def == 411) { swap = 83; } if (def == 109) { swap = 74; } } function updatebars() { shields = 0; bar = (shields / tot_shields) * 100; setProperty("shieldsbar", _xscale , bar); speedmenu = (Math.abs(_root.speed) / Math.abs(_root.tot_speed)) * 100; setProperty("speedbar", _xscale , speedmenu); Set("speedbar:mycolor", 1); torpbar = (torpedoes / _root.tot_nettorps) * 100; setProperty("torpedoesbar", _xscale , torpbar); bar = (hull / tot_hull) * 100; setProperty("hullbar", _xscale , bar); } function hit() { if (shields > 0) { shieldstrength = shieldstrength - hitstrength; shields = shieldstrength; bar = (shields / tot_shields) * 100; setProperty("shieldsbar", _xscale , bar); if (shields < 1) { shields = 0; bar = (shields / tot_shields) * 100; setProperty("shieldsbar", _xscale , bar); setProperty("shieldup", _x , -300); setProperty("shieldup", _y , 100); comm = "SHIELDS HAVE FAILED!"; } } if (shields <= 0) { hull = hull - hitstrength; } bar = (hull / tot_hull) * 100; if ((bar < 75) and (hull < 200)) { if ((random(5) == 1) and (engines == 1)) { comm = "ENGINES HAVE FAILED!"; engines = 2; setProperty("defiant", _yscale , 100); speed = 0; } if ((random(5) == 1) and (torplaunchers == 1)) { comm = "TORPEDOES ARE OFFLINE!"; torplaunchers = 2; } if ((random(5) == 1) and (phasers == 1)) { comm = "PHASERS ARE OFFLINE!"; phaser = 2; } if ((random(5) == 1) and (sensors == 1)) { comm = "LONG RANGE SCANNERS ARE OFFLINE!"; scale = 0; sensors = 2; } } setProperty("hullbar", _xscale , bar); if (hull <= 0) { setProperty("damage", _x , -100); } } function dead() { removeallships(); gotoAndPlay (13); } function createnewenemy() { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } if (step < 3) { type = 3; } enemyenergy = 100; if ((step >= 3) and (step < 6)) { e = random(2) + 1; if (e == 1) { type = 12; enemyenergy = 200; } if (e == 2) { type = 21; enemyenergy = 250; } } if ((step >= 6) and (step < 8)) { e = random(2) + 1; if (e == 1) { type = 21; enemyenergy = 250; } if (e == 2) { type = 30; enemyenergy = 100; } } if (step == 8) { e = random(3) + 1; if (e == 1) { type = 21; enemyenergy = 250; } if (e == 2) { type = 30; enemyenergy = 350; } if (e == 3) { type = 40; enemyenergy = 500; } } if ((step > 8) and (step < 12)) { e = random(2) + 1; if (e == 1) { type = 58; enemyenergy = 75; } if (e == 2) { type = 49; enemyenergy = 800; } } if ((step >= 12) and (step < 14)) { e = random(5) + 1; if (e == 1) { type = 58; enemyenergy = 75; } if (e == 2) { type = 49; enemyenergy = 800; } if (e == 3) { type = 40; enemyenergy = 350; } if (e == 4) { type = 30; enemyenergy = 200; } if (e == 5) { type = 67; enemyenergy = 900; } } if (step >= 14) { e = random(2) + 1; if (e == 1) { type = 76; enemyenergy = 1500; } if (e == 2) { type = 85; enemyenergy = 800; } } duplicateMovieClip ("ship1", "eship" add _root.shotname, _root.shotname); Set(("eship" add _root.shotname) add ":shiptype", type); Set(("eship" add _root.shotname) add ":myenergy", enemyenergy); Set(("eship" add _root.shotname) add ":target", _root.shotname); i = 0; while (i < 10) { if (shipslot[i] == "") { shipslot[i] = "eship" add _root.shotname; break; } i++; } shipx = getProperty("estarbase", _x); shipy = getProperty("estarbase", _y); setProperty("eship" add _root.shotname, _rotation , rotation); setProperty("eship" add _root.shotname, _x , shipx); setProperty("eship" add _root.shotname, _y , shipy); _root.shotname = _root.shotname + 1; if (_root.shotname >= 1001) { _root.shotname = 1; } duplicateMovieClip ("eblip", "enemyblip" add _root.shotname, _root.shotname); target = _root.shotname - 1; Set(("enemyblip" add _root.shotname) add ":target", target); } function createfriendly() { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("friendly", "fship" add _root.shotname, _root.shotname); i = 0; while (i < 10) { if (fshipslot[i] == "") { fshipslot[i] = "fship" add _root.shotname; break; } i++; } shipx = getProperty("starbase", _x); shipy = getProperty("starbase", _y); setProperty("fship" add _root.shotname, _rotation , rotation); setProperty("fship" add _root.shotname, _x , shipx); setProperty("fship" add _root.shotname, _y , shipy); createname(); Set(("fship" add _root.shotname) add ":my_name", shipname); Set(("fship" add _root.shotname) add ":target", _root.shotname); Set(("fship" add _root.shotname) add ":type", buildtype); Set(("fship" add _root.shotname) add ":my_destination", 0); my_blip = _root.shotname + 1; Set(("fship" add _root.shotname) add ":my_blip", my_blip); buildtype = 0; _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1001) { _root.shotname = 1; } duplicateMovieClip ("fblip", "friendlyblip" add _root.shotname, _root.shotname); Set(("friendlyblip" add _root.shotname) add ":my_name", shipname); target = _root.shotname - 1; Set(("friendlyblip" add _root.shotname) add ":target", target); } function removeallships() { i = 0; while (i < 1001) { removeMovieClip("shot" add i); removeMovieClip("eship" add i); removeMovieClip("friendlyblip" add i); removeMovieClip("enemyblip" add i); removeMovieClip("fship" add i); removeMovieClip("object" add i); i++; } i = 0; while (i < 11) { shipslot[i] = ""; i++; } i = 0; while (i < 11) { fshipslot[i] = ""; i++; } Set("planetblip:target", ""); setProperty("planetblip", _x , -10); Set("stellarobject:type", ""); } function makeasteroid() { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("stellarobject", "object" add _root.shotname, _root.shotname); xy = random(3); if (xy == 0) { x = -20; y = random(420); } if (xy == 1) { x = 570; y = random(420); } if (xy == 2) { x = random(570); y = -20; } if (xy == 3) { x = random(570); y = 420; } setProperty("object" add _root.shotname, _x , x); setProperty("object" add _root.shotname, _y , y); Set(("object" add _root.shotname) add ":type", random(15) + 1); } function createname() { x = random(32); if (x == 0) { shipname = "USS SARATOGA"; } if (x == 1) { shipname = "USS PHOENIX"; } if (x == 2) { shipname = "USS MANTICORE"; } if (x == 3) { shipname = "USS STARGAZER"; } if (x == 4) { shipname = "USS ANTARES"; } if (x == 5) { shipname = "USS ARIES"; } if (x == 6) { shipname = "USS BOZEMAN"; } if (x == 7) { shipname = "USS BRITTAIN"; } if (x == 8) { shipname = "USS CAROLINA"; } if (x == 9) { shipname = "USS ARIZONA"; } if (x == 10) { shipname = "USS CAIRO"; } if (x == 11) { shipname = "USS CRAZY HORSE"; } if (x == 12) { shipname = "USS CONSTELLATION"; } if (x == 13) { shipname = "USS CONSTITUTION"; } if (x == 14) { shipname = "USS ENTERPRISE"; } if (x == 15) { shipname = "USS EXCALIBUR"; } if (x == 16) { shipname = "USS EXCELSIOR"; } if (x == 17) { shipname = "USS DEFIANT"; } if (x == 18) { shipname = "USS EAGLE"; } if (x == 19) { shipname = "USS HOOD"; } if (x == 20) { shipname = "USS LAKOTA"; } if (x == 21) { shipname = "USS ENDEAVOUR"; } if (x == 22) { shipname = "USS ESSEX"; } if (x == 23) { shipname = "USS GRISSOM"; } if (x == 24) { shipname = "USS INTREPID"; } if (x == 25) { shipname = "USS HORIZON"; } if (x == 26) { shipname = "USS MONITOR"; } if (x == 27) { shipname = "USS AQUINAS"; } if (x == 28) { shipname = "USS RELIANT"; } if (x == 29) { shipname = "USS YAMATO"; } if (x == 30) { shipname = "USS YORKTOWN"; } if (x == 31) { shipname = "USS CHANDLER"; } } function loaditem() { if (itemslot[itemselect] == 2) { torptype = 6; torpedoes = photontorpedoes; tot_nettorps = 20; comm = ("PHOTON TORPEDOES LOADED...YOU HAVE " + photontorpedoes) + " REMAINING..."; bar = (photontorpedoes / 20) * 100; setProperty("torpedoesbar", _xscale , bar); } if (itemslot[itemselect] == 3) { torptype = 11; torpedoes = quantumtorpedoes; tot_nettorps = 20; comm = ("QUANTUM TORPEDOES LOADED...YOU HAVE " + quantumtorpedoes) + " REMAINING..."; bar = (quantumtorpedoes / 20) * 100; setProperty("torpedoesbar", _xscale , bar); } if (itemslot[itemselect] == 4) { torptype = 1; torpedoes = photonictorpedoes; tot_nettorps = 20; comm = ("PHOTONIC TORPEDOES LOADED...YOU HAVE " + photonictorpedoes) + " REMAINING..."; bar = (photonictorpedoes / 20) * 100; setProperty("torpedoesbar", _xscale , bar); } if (itemslot[itemselect] == 5) { torptype = 16; torpedoes = plasmatorpedoes; tot_nettorps = 10; comm = ("PLASMA TORPEDOES LOADED...YOU HAVE " + plasmatorpedoes) + " REMAINING..."; bar = (plasmatorpedoes / 10) * 100; setProperty("torpedoesbar", _xscale , bar); } if (itemslot[itemselect] == 6) { torptype = 21; tot_nettorps = 5; torpedoes = transphasictorpedoes; comm = ("TRANSPHASIC TORPEDOES LOADED...YOU HAVE " + transphasictorpedoes) + " REMAINING..."; bar = (transphasictorpedoes / 5) * 100; setProperty("torpedoesbar", _xscale , bar); } if (itemslot[itemselect] == 8) { comm = "THIS IS A FORWARD TORPEDO LAUNCHER..."; } if (itemslot[itemselect] == 17) { comm = "THIS IS A CLOAKING DEVICE..."; } if (itemslot[itemselect] == 13) { comm = "THIS IS AN IMPULSE ENGINE ENHANCEMENT CHIP..."; } if (itemslot[itemselect] == 14) { comm = "THIS IS A PHASER OUTPUT ENHANCEMENT CHIP..."; } if (itemslot[itemselect] == 15) { comm = "THIS IS A DAMAGE REPAIR IMPROVEMENT CHIP..."; } if (itemslot[itemselect] == 7) { comm = "LANCE PHASER EMITTER CHARGED AND READY..."; } if (itemslot[itemselect] == 16) { comm = "PULSE PHASERS CHARGED AND READY..."; torptype = 26; } if (itemslot[itemselect] == 9) { comm = "THIS IS AN AFT TORPEDO LAUNCHER..."; } if (itemslot[itemselect] == 19) { comm = "THIS IS A BOTTLE OF ROMULAN ALE!"; } } function firetorps() { defx = getProperty("defiant", _x); defy = getProperty("defiant", _y); b = 0; c = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 8) { b = 1; } if (_root.itemslot[i] == 9) { c = 1; } i++; } if (itemslot[itemselect] == 16) { b = 1; c = 0; torpsound = "ephas"; tot_nettorps = 1000; torptype = 26; } if ((b == 0) and (c == 0)) { _root.comm = "WE DO NOT HAVE A LAUNCHER TO FIRE..."; } if (((c == 1) or (b == 1)) and (torpsaway == 0)) { soundbeep = new Sound(this); soundbeep.attachSound(torpsound); soundbeep.start(0, 0); } if (((((_root.speed >= -10) and ((torpedoes > 0) or (itemslot[itemselect] == 16))) and (energy > 100)) and (torpsaway == 0)) and ((b == 1) or (c == 1))) { if (b == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("torp", "shot" add _root.shotname, _root.shotname); rotation = getProperty("defiant", _rotation); phasx = Math.sin(rotation * (Math.PI/180)) * (Math.abs(_root.speed) + 10); phasy = (Math.cos(rotation * (Math.PI/180)) * (Math.abs(_root.speed) + 10)) * -1; torpsaway = 20 - _root.tot_torp; if (itemslot[itemselect] == 16) { torpsaway = 2; } if (torptype == 1) { photonictorpedoes = photonictorpedoes - 1; } if (torptype == 6) { photontorpedoes = photontorpedoes - 1; } if (torptype == 11) { quantumtorpedoes = quantumtorpedoes - 1; } if (torptype == 16) { plasmatorpedoes = plasmatorpedoes - 1; } if (torptype == 21) { transphasictorpedoes = transphasictorpedoes - 1; } torpedoes = torpedoes - 1; if (((((torptype == 1) or (torptype == 6)) or (torptype == 11)) or (torptype == 16)) or (torptype == 21)) { if (torpedoes <= 0) { itemslot[itemselect] = undefined; Set(("item" add itemselect) add ":item", 1); } } energy = energy - 50; torpbar = (torpedoes / tot_nettorps) * 100; setProperty("torpedoesbar", _xscale , torpbar); Set(("shot" add _root.shotname) add ":torptype", torptype); Set(("shot" add _root.shotname) add ":ymov", phasy); Set(("shot" add _root.shotname) add ":xmov", phasx); setProperty("shot" add _root.shotname, _rotation , rotation); setProperty("shot" add _root.shotname, _x , defx); setProperty("shot" add _root.shotname, _y , defy); } if (c == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("torp", "shot" add _root.shotname, _root.shotname); rotation = getProperty("defiant", _rotation) + 180; phasx = Math.sin(rotation * (Math.PI/180)) * (Math.abs(_root.speed) + 10); phasy = (Math.cos(rotation * (Math.PI/180)) * (Math.abs(_root.speed) + 10)) * -1; torpsaway = 20 - _root.tot_torp; if (torptype == 1) { photonictorpedoes = photonictorpedoes - 1; } if (torptype == 6) { photontorpedoes = photontorpedoes - 1; } if (torptype == 11) { quantumtorpedoes = quantumtorpedoes - 1; } if (torptype == 16) { plasmatorpedoes = plasmatorpedoes - 1; } if (torptype == 21) { transphasictorpedoes = transphasictorpedoes - 1; } torpedoes = torpedoes - 1; if (((((torptype == 1) or (torptype == 6)) or (torptype == 11)) or (torptype == 16)) or (torptype == 21)) { if (torpedoes <= 0) { itemslot[itemselect] = undefined; Set(("item" add itemselect) add ":item", 1); } } energy = energy - 50; torpbar = (torpedoes / tot_nettorps) * 100; setProperty("torpedoesbar", _xscale , torpbar); Set(("shot" add _root.shotname) add ":torptype", torptype); Set(("shot" add _root.shotname) add ":ymov", phasy); Set(("shot" add _root.shotname) add ":xmov", phasx); setProperty("shot" add _root.shotname, _rotation , rotation); setProperty("shot" add _root.shotname, _x , defx); setProperty("shot" add _root.shotname, _y , defy); } } if (energy < 50) { comm = "INSUFFICIENT ENERGY TO FIRE..."; } if ((torpedoes == 0) and (itemslot[itemselect] != 16)) { comm = "WE DON'T HAVE ANY TORPEDOES..."; } } fshipslot = new Array(); shipslot = new Array(); itemslot = new Array(); loadgame(); i = 0; while (i < 10) { shipslot[i] = ""; i++; } i = 0; while (i < 10) { fshipslot[i] = ""; i++; } if ((def == 1) or (def == 37)) { shieldsbutton = ""; } else { shieldsbutton = "SHIELDS"; } if (def == 289) { centerbutton = "ARMOR"; } else { centerbutton = ""; } myDate = new Date(); mytime = myDate.getSeconds(); cheatbox = ""; menu = 1; repairspeed = 0; itemselect = 0; ship1type = 0; ale = 0; buildtype = 1; torpedoes = tot_nettorps; energy = tot_energy; shields = 0; shieldstrength = tot_shields; hull = tot_hull; torpsaway = 0; speed = 0; phaseraway = 0; ephaseraway = 0; shotname = 1; scale = 50; cloak = 0; dilithium = 0; deuranium = 0; sensors = 1; engines = 1; torplaunchers = 1; phaser = 1; repair = 0; Set("speedbar:mycolor", 1); setProperty("speedbar", _xscale , 0); setProperty("torpedoesbar", _xscale , 0); setProperty("starbase", _x , 100); setProperty("starbase", _y , 100); setProperty("star", _x , 9999); setProperty("torp", _x , 9999); setProperty("etorp", _x , 9999); setProperty("ephas", _x , 9999); setProperty("ship1", _x , 9999); setProperty("friendly", _x , 9999); createnewenemy();
Instance of Symbol 273 MovieClip "etorp" in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * _root.speed; y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; } }
Instance of Symbol 147 MovieClip in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * _root.speed; y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; if (locx < 0) { _x = 550; _y = random(400); } if (locx > 550) { _x = 0; _y = random(400); } if (locy < 0) { _x = random(550); _y = 400; } if (locy > 400) { _x = random(550); _y = 0; } } }
Instance of Symbol 147 MovieClip in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * _root.speed; y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; if (locx < 0) { _x = 550; _y = random(400); } if (locx > 550) { _x = 0; _y = random(400); } if (locy < 0) { _x = random(550); _y = 400; } if (locy > 400) { _x = random(550); _y = 0; } } }
Instance of Symbol 147 MovieClip in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * _root.speed; y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; if (locx < 0) { _x = 550; _y = random(400); } if (locx > 550) { _x = 0; _y = random(400); } if (locy < 0) { _x = random(550); _y = 400; } if (locy > 400) { _x = random(550); _y = 0; } } }
Instance of Symbol 147 MovieClip in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2); y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; if (locx < 0) { _x = 550; _y = random(400); } if (locx > 550) { _x = 0; _y = random(400); } if (locy < 0) { _x = random(550); _y = 400; } if (locy > 400) { _x = random(550); _y = 0; } } }
Instance of Symbol 147 MovieClip in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2); y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; if (locx < 0) { _x = 550; _y = random(400); } if (locx > 550) { _x = 0; _y = random(400); } if (locy < 0) { _x = random(550); _y = 400; } if (locy > 400) { _x = random(550); _y = 0; } } }
Instance of Symbol 147 MovieClip in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2); y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; if (locx < 0) { _x = 550; _y = random(400); } if (locx > 550) { _x = 0; _y = random(400); } if (locy < 0) { _x = random(550); _y = 400; } if (locy > 400) { _x = random(550); _y = 0; } } }
Instance of Symbol 147 MovieClip in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2); y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; if (locx < 0) { _x = 550; _y = random(400); } if (locx > 550) { _x = 0; _y = random(400); } if (locy < 0) { _x = random(550); _y = 400; } if (locy > 400) { _x = random(550); _y = 0; } } }
Instance of Symbol 147 MovieClip in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4); y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; if (locx < 0) { _x = 550; _y = random(400); } if (locx > 550) { _x = 0; _y = random(400); } if (locy < 0) { _x = random(550); _y = 400; } if (locy > 400) { _x = random(550); _y = 0; } } }
Instance of Symbol 147 MovieClip in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4); y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; if (locx < 0) { _x = 550; _y = random(400); } if (locx > 550) { _x = 0; _y = random(400); } if (locy < 0) { _x = random(550); _y = 400; } if (locy > 400) { _x = random(550); _y = 0; } } }
Instance of Symbol 147 MovieClip in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4); y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; if (locx < 0) { _x = 550; _y = random(400); } if (locx > 550) { _x = 0; _y = random(400); } if (locy < 0) { _x = random(550); _y = 400; } if (locy > 400) { _x = random(550); _y = 0; } } }
Instance of Symbol 282 MovieClip "torp" in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * _root.speed; y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; } }
Instance of Symbol 302 MovieClip "stellarobject" in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * _root.speed; y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; } _rotation = (_rotation + 1); }
Instance of Symbol 336 MovieClip "starbase" in Frame 10
onClipEvent (load) { setProperty("constructbar", _xscale , 0); damage = 0; construction = 0; menu = 0; } onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * _root.speed; y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; } if (Key.isDown(35)) { if (this.hitTest("../defiant")) { _root.d1 = d1; _root.d2 = d2; _root.savegame(); _root.comm = "SHIP STATUS SAVED..."; if ((_root.dilithium > 0) or (_root.deuranium > 0)) { d1 = d1 + _root.dilithium; d2 = d2 + _root.deuranium; _root.dilithium = 0; _root.deuranium = 0; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); _root.comm = "RESOURCES RECEIVED..."; _root.resources = ((("DILITHIUM: " + _root.dilithium) + newline) + "DEURANIUM: ") + _root.deuranium; } } } if (construction > 0) { myDate = new Date(); if (myDate.getSeconds() < constructiontarget) { x = constructiontarget - myDate.getSeconds(); x = time - x; x = (x / time) * 100; } if (myDate.getSeconds() > constructiontarget) { x = 59 - myDate.getSeconds(); x = x + constructiontarget; x = time - x; x = (x / time) * 100; } setProperty("constructbar", _xscale , x); if (x < 0) { setProperty("constructbar", _xscale , 0); construction = 0; _root.comm = "SABOTAGE! A ROMULAN SPY HAS SABOTAGED YOUR STATION'S CONSTRUCTION EFFORTS..."; } if (myDate.getSeconds() == constructiontarget) { construction = 0; setProperty("constructbar", _xscale , 0); if (_root.buildtype > 0) { _root.createfriendly(); } else { _root.step = _root.step + 1; if (_root.step == 2) { _root.comm = "SHIELD RESEARCH COMPLETED..."; _root.tot_shields = 100; _root.shieldstrength = _root.tot_shields; _root.shields = 0; } if (_root.step == 3) { _root.comm = "STARBASE UPGRADED"; Set("stationpic:type", 2); soundbeep = new Sound(this); soundbeep.attachSound("cheers"); soundbeep.start(0, 0); _root.loadera(); } if (_root.step == 5) { _root.comm = "CLOAK RESEARCH COMPLETED..."; _root.itemslot[6] = 17; Set("../item6:item", 17); } if (_root.step == 6) { _root.comm = "STARBASE UPGRADED"; Set("stationpic:type", 3); soundbeep = new Sound(this); soundbeep.attachSound("cheers"); soundbeep.start(0, 0); _root.loadera(); } if (_root.step == 9) { _root.comm = "STARBASE UPGRADED"; Set("stationpic:type", 4); soundbeep = new Sound(this); soundbeep.attachSound("cheers"); soundbeep.start(0, 0); _root.loadera(); } if (_root.step == 12) { _root.comm = "STARBASE UPGRADED"; Set("stationpic:type", 5); soundbeep = new Sound(this); soundbeep.attachSound("cheers"); soundbeep.start(0, 0); _root.loadera(); } if (_root.step == 14) { _root.comm = "APPROACHING EARTH..."; Set("stationpic:type", 6); soundbeep = new Sound(this); soundbeep.attachSound("cheers"); soundbeep.start(0, 0); _root.loadera(); } } } } }
Instance of Symbol 357 MovieClip "estarbase" in Frame 10
onClipEvent (enterFrame) { defrotation = getProperty("../defiant", _rotation); if (myenergy > -200) { x = Math.sin(defrotation * (Math.PI/180)) * _root.speed; y = (Math.cos(defrotation * (Math.PI/180)) * _root.speed) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; } } }
Instance of Symbol 369 MovieClip "friendly" in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * _root.speed; y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; } if (Key.isDown(36)) { _root.comm = "FLEET REPORTS IT IS ON ITS WAY..."; soundbeep = new Sound(this); soundbeep.attachSound("commopen"); soundbeep.start(0, 0); my_target = "defiant"; my_tx = random(500); my_ty = random(450); } } on (release) { if (my_target != "defiant") { _root.comm = ("THE " + my_name) + " HAS BEEN ASSIGNED AS YOUR ESCORT..."; my_target = "defiant"; my_tx = random(500); my_ty = random(450); } else if (my_target == "defiant") { my_target = "starbase"; _root.comm = ("YOU HAVE RELIEVED THE " + my_name) + " FROM ESCORT DUTY..."; } } on (rollOver) { assign = ""; sx = getProperty("../starbase", _x); sy = getProperty("../starbase", _y); if (((my_target == "starbase") and (Math.abs(_x - sx) < 500)) and (Math.abs(_y - sy) < 500)) { assign = "IS GUARDING THE FEDERATION STARBASE..."; } if (((my_target == "starbase") and (Math.abs(_x - sx) > 500)) and (Math.abs(_y - sy) > 500)) { assign = "IS ON STANDARD PATROL..."; } if (my_target == "estarbase") { assign = "HAS ORDERS TO DESTROY THE ENEMY STARBASE..."; } if (my_target == "defiant") { assign = "IS CURRENTLY SERVING AS YOUR ESCORT..."; } if (my_target == "") { assign = "DOES NOT HAVE ANY ORDERS AT THIS TIME..."; } if (assign == "") { assign = "HAS ORDERS TO ENGAGE THE ENEMY..."; } _root.comm = (((my_name + ": THE ") + my_name) + " ") + assign; bar = ((100 - Math.abs(damage)) / 100) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); } on (rollOut) { if (_root.comm == my_name) { _root.comm = ""; } }
Instance of Symbol 371 MovieClip "fblip" in Frame 10
onClipEvent (enterFrame) { if ((scale != 0) and (target > 0)) { x = getProperty("../defiant", _x); y = getProperty("../defiant", _y); me_x = getProperty("../fship" add target, _x); me_y = getProperty("../fship" add target, _y); Set(("../fship" add target) add ":target", target); if (y > me_y) { ydist = y - ((y - me_y) / _root.scale); _y = ydist; } if (y < me_y) { ydist = y + ((me_y - y) / _root.scale); _y = ydist; } if (x > me_x) { xdist = x - ((x - me_x) / _root.scale); _x = xdist; } if (x < me_x) { xdist = x + ((me_x - x) / _root.scale); _x = xdist; } } if (scale == 0) { _x = -10; } } on (rollOver) { _root.comm = my_name; }
Instance of Symbol 125 MovieClip [defiant] "defiant" in Frame 10
onClipEvent (enterFrame) { myDate = new Date(); curtime = myDate.getSeconds(); if (curtime == _root.mytime) { _root.stardate = _root.stardate + 0.3; _root.stardatetext = "STARDATE: " + _root.stardate; _root.mytime = _root.mytime - 1; if (_root.mytime < 1) { _root.mytime = 59; } } if (_root.energy < _root.tot_energy) { _root.energy = _root.energy + random(10); } if (_root.energy > _root.tot_energy) { _root.energy = _root.tot_energy; } if (_root.cloak == 1) { _root.energy = _root.energy - random(15); } if (Math.abs(_root.speed) > 10) { _root.energy = _root.energy - random(10); } if ((_root.shields > 0) and (random(5) == 1)) { _root.energy = _root.energy - 1; } bar = (_root.energy / _root.tot_energy) * 100; setProperty("../energybar", _xscale , bar); if (_root.torpsaway > 0) { _root.torpsaway = _root.torpsaway - 1; } if (_root.shields < 0) { _root.shields = 0; } if (_root.shieldstrength < _root.tot_shields) { if (random(15) == 1) { _root.shieldstrength = _root.shieldstrength + 1; } if (_root.shields != 0) { _root.shields = _root.shieldstrength; bar = (_root.shields / _root.tot_shields) * 100; setProperty("../shieldsbar", _xscale , bar); } } _root.defangle = _root.def; cargo = (_root.dilithium + _root.deuranium) / 1000; if (_root.speed >= _root.tot_speed) { if (Key.isDown(38) and (_root.engines == 1)) { if (_root.speed > _root.tot_speed) { _root.speed = _root.speed - 1; } if (_root.speed < (_root.tot_speed + cargo)) { _root.speed = _root.tot_speed + cargo; } speedmenu = (Math.abs(_root.speed) / Math.abs(_root.tot_speed)) * 100; setProperty("../speedbar", _xscale , speedmenu); Set("../speedbar:mycolor", 1); } if (Key.isDown(40)) { _root.speed = _root.speed + 1; if (_root.speed > 0) { _root.speed = 0; } speedmenu = (Math.abs(_root.speed) / Math.abs(_root.tot_speed)) * 100; setProperty("../speedbar", _xscale , speedmenu); Set("../speedbar:mycolor", 1); _root.speedmenu = Math.abs(_root.speed); } } if (Key.isDown(37)) { if (_root.energy > 50) { if (_root.speed < 0) { _root.defangle = _root.def + 1; } angle = getProperty("../defiant", _rotation); changeangle = 10 - (Math.abs(_root.speed) / 2); if (changeangle < 1) { changeangle = 1; } angle = angle - Math.abs(changeangle - cargo); setProperty("../defiant", _rotation , angle); if (_root.shields > 0) { setProperty("../shieldup", _rotation , angle); } } } if (Key.isDown(39)) { if (_root.energy > 50) { if (_root.speed < 0) { _root.defangle = _root.def + 2; } angle = getProperty("../defiant", _rotation); changeangle = 10 - (Math.abs(_root.speed) / 2); if (changeangle < 1) { changeangle = 1; } angle = angle + Math.abs(changeangle - cargo); setProperty("../defiant", _rotation , angle); if (_root.shields > 0) { setProperty("../shieldup", _rotation , angle); } } } if (_root.ale == 1) { if (random(200) == 1) { drunk = random(3); } if (drunk == 0) { _root.comm = "I'M SO DRUNK!"; } if (drunk == 1) { _root.comm = "THAT GIRL'S GETTING PRETTIER BY THE MINUTE!"; } if (drunk == 2) { _root.comm = "I THINK I'M GOING TO PUKE..."; } if ((_root.energy > 50) and (_root.speed < 0)) { angle = getProperty("../defiant", _rotation); changeangle = 10 - (Math.abs(_root.speed) / 2); if (changeangle < 1) { changeangle = 1; } angle = angle + (changeangle + random(10)); angle = angle - (changeangle + random(10)); setProperty("../defiant", _rotation , angle); if (_root.shields > 0) { setProperty("../shieldup", _rotation , angle); } } } if (Key.isDown(32)) { _root.comm = ""; if (((((_root.energy > 350) and (_root.phaseraway == 0)) and (_root.speed >= -10)) and (_root.phaser == 1)) and (_root.cloak == 0)) { x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if ((Math.abs(x - _x) < 150) and (Math.abs(y - _y) < 150)) { slot = "estarbase"; } i = 0; while (i < 10) { if ((_root.shipslot[i] != "") or ((Math.abs(x - _x) < 150) and (Math.abs(y - _y) < 150))) { slot = _root.shipslot[i]; if ((Math.abs(x - _x) < 150) and (Math.abs(y - _y) < 150)) { slot = "estarbase"; } slot = "../" add slot; x = getProperty(slot, _x); y = getProperty(slot, _y); defx = getProperty("../defiant", _x); defy = getProperty("../defiant", _y); if ((((Math.abs(defx - x) < (150 + _root.tot_phaser)) and (Math.abs(defy - y) < (150 + _root.tot_phaser))) and (x > 1)) and (_root.phaseraway == 0)) { _root.phaseraway = 12; energydraw = 10 + (_root.tot_phaser / 10); Set(slot add ":energydraw", energydraw); Set(slot add ":my_target", "defiant"); _root.energy = _root.energy - _root.tot_phaser; Set("../line:target", slot); Set("../line:x", x); Set("../line:y", y); soundbeep = new Sound(this); soundbeep.attachSound(_root.phassound); soundbeep.start(0, 0); } } i++; } } if (_root.energy < 350) { _root.comm = "INSUFFICIENT ENERGY TO FIRE PHASERS..."; } if (_root.speed < -10) { _root.comm = "CANNOT FIRE PHASERS AT WARP SPEED..."; } if (_root.cloak == 1) { _root.comm = "CANNOT FIRE PHASERS WHILE CLOAKED..."; } } if (Key.isDown(33)) { if (_root.speed != -30) { if (_root.speed < -5) { _root.speed = -30; _root.comm = ""; Set("../speedbar:mycolor", 0); soundbeep = new Sound(this); soundbeep.attachSound("warp"); soundbeep.start(0, 0); Set("_root.hitpointsclip:hitpoints", ""); Set("../scanbox:target", 1); _root.speedmenu = "WARP"; setProperty("../defiant", _yscale , 250); setProperty("../shieldup", _x , -500); setProperty("../shieldup", _y , 100); _root.shields = 0; bar = (_root.shields / _root.tot_shields) * 100; setProperty("../shieldsbar", _xscale , bar); } } } if (Key.isDown(34)) { if (_root.speed == -30) { _root.comm = ""; Set("../speedbar:mycolor", 1); _root.speed = _root.tot_speed; soundbeep = new Sound(this); soundbeep.attachSound("dropwarp"); soundbeep.start(0, 0); _root.speedmenu = Math.abs(_root.speed); setProperty("../defiant", _yscale , 100); } } if (Key.isDown(16)) { _root.itemselect++; net_torps = 0; setProperty("../torpedoesbar", _xscale , 0); if (_root.itemselect > 6) { _root.itemselect = 0; } if (_root.itemselect == 0) { _root.comm = "INVENTORY ITEMS DESELECTED..."; } if ((_root.itemselect > 0) and (_root.itemslot[_root.itemselect] == undefined)) { _root.comm = "NO EQUIPMENT SELECTED..."; } if ((_root.itemselect > 0) and (_root.itemslot[_root.itemselect] != undefined)) { _root.loaditem(); } } if (Key.isDown(46)) { if (_root.itemselect == 0) { _root.comm = "NO ITEM EXISTS THERE...SELECT ITEM TO DISMANTLE IT..."; } if ((_root.itemselect > 0) and (_root.itemslot[_root.itemselect] == undefined)) { _root.comm = "THERE IS NO ITEM TO DISMANTLE THERE..."; } if ((_root.itemselect > 0) and (_root.itemslot[_root.itemselect] != undefined)) { _root.comm = "ITEM DISMANTLED..."; if (_root.itemslot[_root.itemselect] == 19) { _root.ale = 0; } if (_root.itemslot[_root.itemselect] == 13) { _root.tot_speed = _root.tot_speed + 1; } if (_root.itemslot[_root.itemselect] == 14) { _root.tot_phaser = _root.tot_phaser - 100; } if (_root.itemslot[_root.itemselect] == 15) { _root.repairspeed = 0; } _root.itemslot[_root.itemselect] = undefined; Set(("../item" add _root.itemselect) add ":item", 1); } } if (Key.isDown(13)) { if ((_root.def != 289) and (_root.def != 325)) { if (_root.step <= 1) { _root.comm = "THIS SHIP IS NOT EQUIPED WITH SHIELDS..."; } if ((((_root.shields == 0) and (_root.shieldstrength > 0)) and (_root.speed >= -10)) and (_root.step > 1)) { if (_root.energy > 50) { _root.comm = "RAISING SHIELDS!"; _root.shields = _root.shieldstrength; bar = (_root.shields / _root.tot_shields) * 100; setProperty("../shieldsbar", _xscale , bar); sx = getProperty("../defiant", _x); sy = getProperty("../defiant", _y); angle = getProperty("../defiant", _rotation); setProperty("../shieldup", _rotation , angle); setProperty("../shieldup", _x , sx); setProperty("../shieldup", _y , sy); } else { _root.comm = "THE SHIELDS ARE INOPERATIVE"; } } else if (_root.shields > 0) { _root.comm = "LOWERING SHIELDS!"; setProperty("../shieldup", _x , -500); setProperty("../shieldup", _y , 100); _root.shields = 0; bar = (_root.shields / _root.tot_shields) * 100; setProperty("../shieldsbar", _xscale , bar); } } if ((_root.def == 289) and (_root.energy > 1000)) { _root.def = 361; _root.tot_hull = _root.tot_hull + 1000; _root.hull = _root.hull + 1000; _root.energy = _root.energy - 1000; } else if (_root.def == 325) { _root.def = 289; _root.tot_hull = _root.tot_hull - 1000; _root.hull = _root.hull - 1000; if (_root.hull < 100) { _root.hull = 100; } soundbeep = new Sound(this); soundbeep.attachSound("armor"); soundbeep.start(0, 0); } if ((_root.def == 289) and (_root.energy < 1000)) { _root.comm = "INSUFFICIENT ENERGY TO GENERATE ARMOR PLATING..."; } } if (_root.energy < 40) { _root.comm = "WARNING: POWER FAILURE...ALL SYSTEMS OFFLINE!"; setProperty("../shieldup", _x , -50); setProperty("../shieldup", _y , 100); if (_root.speed < -10) { setProperty("../defiant", _yscale , 100); } _root.speed = 0; _root.cloak = 0; _root.speedmenu = Math.abs(_root.speed); _root.shields = 0; } if ((_root.speed < 0) and (random(300 / Math.abs(_root.speed)) == 1)) { x = getProperty("../starbase", _x); y = getProperty("../starbase", _y); if ((((x > 600) or (x < 0)) or (y < 0)) or (y > 600)) { _root.makeasteroid(); } } rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * _root.speed; y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1; locx = getProperty("../station", _x); locy = getProperty("../station", _y); locx = locx + x; locy = locy + y; setProperty("../station", _x , locx); setProperty("../station", _y , locy); locx = getProperty("../spacedock", _x); locy = getProperty("../spacedock", _y); locx = locx + x; locy = locy + y; setProperty("../spacedock", _x , locx); setProperty("../spacedock", _y , locy); if ((_root.cloak == 0) and (this._alpha <= 100)) { this._alpha = this._alpha + 5; } if ((_root.cloak == 1) and (this._alpha >= 25)) { this._alpha = this._alpha - 5; } if (Key.isDown(17)) { c = _root.itemslot[_root.itemselect]; if ((((((((c == 2) or (c == 3)) or (c == 4)) or (c == 5)) or (c == 6)) or (c == 16)) and (_root.cloak == 0)) and (_root.torplaunchers == 1)) { _root.firetorps(); } if (c == 17) { if (_root.cloak == 0) { _root.cloak = 1; soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } else if (_root.cloak == 1) { _root.cloak = 0; soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } } if (c == 7) { lx = getProperty("../lancephaser", _x); if ((lx < 0) and (_root.cloak == 0)) { dx = getProperty("../defiant", _x); dy = getProperty("../defiant", _y); soundbeep = new Sound(this); soundbeep.attachSound("lance"); soundbeep.start(0, 0); _root.energy = _root.energy - 300; setProperty("../lancephaser", _yscale , 0); setProperty("../lancephaser", _x , dx); setProperty("../lancephaser", _y , dy); } } } }
Instance of Symbol 439 MovieClip "item1" in Frame 10
onClipEvent (load) { if (item == undefined) { item = 1; } }
Instance of Symbol 439 MovieClip "item2" in Frame 10
onClipEvent (load) { if (item == undefined) { item = 1; } }
Instance of Symbol 439 MovieClip "item3" in Frame 10
onClipEvent (load) { if (item == undefined) { item = 1; } }
Instance of Symbol 439 MovieClip "item4" in Frame 10
onClipEvent (load) { if (item == undefined) { item = 1; } }
Instance of Symbol 439 MovieClip "item5" in Frame 10
onClipEvent (load) { if (item == undefined) { item = 1; } }
Instance of Symbol 439 MovieClip "item6" in Frame 10
onClipEvent (load) { if (item == undefined) { item = 1; } }
Instance of Symbol 451 MovieClip "ship1" in Frame 10
onClipEvent (enterFrame) { rotation = getProperty("../defiant", _rotation); x = Math.sin(rotation * (Math.PI/180)) * _root.speed; y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; } }
Instance of Symbol 459 MovieClip "damagetorps" in Frame 10
on (release) { if (_root.torplaunchers == 1) { _root.comm = "TORPEDO LAUNCHERS NOT IN NEED OF REPAIR..."; } if (_root.torplaunchers == 2) { _root.comm = "REPAIR TEAMS SENT TO TORPEDO LAUNCHERS..."; if (_root.engines == 3) { _root.engines = 2; } if (_root.hullrepair == 1) { _root.hullrepair = 0; } if (_root.phasers == 3) { _root.phasers = 2; } if (_root.sensors == 3) { _root.sensors = 2; } _root.torplaunchers = 3; } } onClipEvent (enterFrame) { if (Key.isDown(45)) { _root.repair++; if (_root.repair > 5) { _root.repair = 0; } if (_root.repair == 1) { if ((_root.torplaunchers == 1) or (_root.torplaunchers == 3)) { _root.repair++; } else if (_root.torplaunchers == 2) { _root.torplaunchers = 3; if (_root.engines == 3) { _root.engines = 2; } if (_root.hullrepair == 1) { _root.hullrepair = 2; } if (_root.phaser == 3) { _root.phaser = 2; } if (_root.sensors == 3) { _root.sensors = 2; } } } if (_root.repair == 2) { if ((_root.phaser == 1) or (_root.phaser == 3)) { _root.repair++; } else if (_root.phaser == 2) { _root.phaser = 3; if (_root.engines == 3) { _root.engines = 2; } if (_root.hullrepair == 1) { _root.hullrepair = 2; } if (_root.torplaunchers == 3) { _root.torplaunchers = 2; } if (_root.sensors == 3) { _root.sensors = 2; } } } if (_root.repair == 3) { if ((_root.engines == 1) or (engines == 3)) { _root.repair++; } else if (_root.engines == 2) { _root.engines = 3; if (_root.torplaunchers == 3) { _root.torplaunchers = 2; } if (_root.hullrepair == 1) { _root.hullrepair = 2; } if (_root.phaser == 3) { _root.phaser = 2; } if (_root.sensors == 3) { _root.sensors = 2; } } } if (_root.repair == 4) { if ((_root.sensors == 1) or (_root.sensors == 3)) { _root.repair++; } else if (_root.sensors == 2) { _root.sensors = 3; if (_root.engines == 3) { _root.engines = 2; } if (_root.hullrepair == 1) { _root.hullrepair = 2; } if (_root.phaser == 3) { _root.phaser = 2; } if (_root.torplaunchers == 3) { _root.torplaunchers = 2; } } } if (_root.repair == 5) { if (_root.hullrepair == 0) { _root.repair++; } else if (_root.hullrepair == 2) { _root.hullrepair = 1; if (_root.engines == 3) { _root.engines = 2; } if (_root.torplaunchers == 3) { _root.torplaunchers = 2; } if (_root.phaser == 3) { _root.phaser = 2; } if (_root.sensors == 3) { _root.sensors = 2; } } } if (_root.repair == 0) { _root.comm = "REPAIR TEAMS ARE ON A BREAK..."; if (_root.sensors == 3) { _root.sensors = 2; } if (_root.engines == 3) { _root.engines = 2; } if (_root.hullrepair == 1) { _root.hullrepair = 2; } if (_root.phaser == 3) { _root.phaser = 2; } if (_root.torplaunchers == 3) { _root.torplaunchers = 2; } } } }
Instance of Symbol 463 MovieClip "damageengines" in Frame 10
on (release) { if (_root.engines == 1) { _root.comm = "ENGINES NOT IN NEED OF REPAIR..."; } if (_root.engines == 2) { _root.comm = "REPAIR TEAMS SENT TO ENGINEERING..."; if (_root.phasers == 3) { _root.phasers = 2; } if (_root.hullrepair == 1) { _root.hullrepair = 0; } if (_root.torplaunchers == 3) { _root.torplaunchers = 2; } if (_root.sensors == 3) { _root.sensors = 2; } _root.engines = 3; } }
Instance of Symbol 467 MovieClip "damageshields" in Frame 10
on (release) { bar = getProperty("../hullbar", _xscale); if (bar >= 95) { _root.comm = "HULL IS NOT IN NEED OF REPAIR..."; } if (bar < 95) { _root.comm = "REPAIR TEAMS SENT TO REPAIR HULL..."; if (_root.engines == 3) { _root.engines = 2; } if (_root.phasers == 3) { _root.phasers = 2; } if (_root.torplaunchers == 3) { _root.torplaunchers = 2; } if (_root.sensors == 3) { _root.sensors = 2; } _root.hullrepair = 1; } }
Instance of Symbol 471 MovieClip "damagephasers" in Frame 10
on (release) { if (_root.phasers == 1) { _root.comm = "PHASERS NOT IN NEED OF REPAIR..."; } if (_root.phasers == 2) { _root.comm = "REPAIR TEAMS SENT TO PHASERS..."; if (_root.engines == 3) { _root.engines = 2; } if (_root.hullrepair == 1) { _root.hullrepair = 0; } if (_root.torplaunchers == 3) { _root.torplaunchers = 2; } if (_root.sensors == 3) { _root.sensors = 2; } _root.phasers = 3; } }
Instance of Symbol 475 MovieClip "damagesensors" in Frame 10
on (release) { if (_root.sensors == 1) { _root.comm = "DEFLECTOR DISH NOT IN NEED OF REPAIR..."; } if (_root.sensors == 2) { _root.comm = "REPAIR TEAMS SENT TO DEFLECTOR DISH..."; if (_root.engines == 3) { _root.engines = 2; } if (_root.hullrepair == 1) { _root.hullrepair = 0; } if (_root.torplaunchers == 3) { _root.torplaunchers = 2; } if (_root.phasers == 3) { _root.phasers = 2; } _root.sensors = 3; } }
Instance of Symbol 488 MovieClip in Frame 10
onClipEvent (load) { item = 1; } onClipEvent (enterFrame) { if (_root.itemselect == 1) { item = 3; } else { item = 1; } }
Instance of Symbol 488 MovieClip in Frame 10
onClipEvent (load) { item = 1; } onClipEvent (enterFrame) { if (_root.itemselect == 2) { item = 3; } else { item = 1; } }
Instance of Symbol 488 MovieClip in Frame 10
onClipEvent (load) { item = 1; } onClipEvent (enterFrame) { if (_root.itemselect == 3) { item = 3; } else { item = 1; } }
Instance of Symbol 488 MovieClip in Frame 10
onClipEvent (load) { item = 1; } onClipEvent (enterFrame) { if (_root.itemselect == 4) { item = 3; } else { item = 1; } }
Instance of Symbol 488 MovieClip in Frame 10
onClipEvent (load) { item = 1; } onClipEvent (enterFrame) { if (_root.itemselect == 5) { item = 3; } else { item = 1; } }
Instance of Symbol 488 MovieClip in Frame 10
onClipEvent (load) { item = 1; } onClipEvent (enterFrame) { if (_root.itemselect == 6) { item = 3; } else { item = 1; } }
Instance of Symbol 491 MovieClip "enemybar" in Frame 10
onClipEvent (enterFrame) { if (_x > 0) { if (this._alpha > 10) { this._alpha = this._alpha - 10; } if (this._alpha < 10) { this._alpha = 100; _x = -100; } } }
Instance of Symbol 493 MovieClip in Frame 10
onClipEvent (enterFrame) { _x = getProperty("../enemybar", _x); _y = getProperty("../enemybar", _y); }
Instance of Symbol 20 MovieClip [eblip] "eblip" in Frame 10
onClipEvent (enterFrame) { if ((scale != 0) and (target > 0)) { x = getProperty("../defiant", _x); y = getProperty("../defiant", _y); me_x = getProperty("../eship" add target, _x); me_y = getProperty("../eship" add target, _y); Set(("../fship" add target) add ":target", target); if (y > me_y) { ydist = y - ((y - me_y) / _root.scale); _y = ydist; } if (y < me_y) { ydist = y + ((me_y - y) / _root.scale); _y = ydist; } if (x > me_x) { xdist = x - ((x - me_x) / _root.scale); _x = xdist; } if (x < me_x) { xdist = x + ((me_x - x) / _root.scale); _x = xdist; } } if (scale == 0) { _x = -10; } }
Instance of Symbol 498 MovieClip "planetblip" in Frame 10
onClipEvent (enterFrame) { x = getProperty("../defiant", _x); y = getProperty("../defiant", _y); me_x = getProperty("../estarbase", _x); me_y = getProperty("../estarbase", _y); if (y > me_y) { ydist = y - ((y - me_y) / _root.scale); _y = ydist; } if (y < me_y) { ydist = y + ((me_y - y) / _root.scale); _y = ydist; } if (x > me_x) { xdist = x - ((x - me_x) / _root.scale); _x = xdist; } if (x < me_x) { xdist = x + ((me_x - x) / _root.scale); _x = xdist; } }
Instance of Symbol 500 MovieClip in Frame 10
onClipEvent (enterFrame) { x = getProperty("../defiant", _x); y = getProperty("../defiant", _y); me_x = getProperty("../starbase", _x); me_y = getProperty("../starbase", _y); if (y > me_y) { ydist = y - ((y - me_y) / _root.scale); _y = ydist; } if (y < me_y) { ydist = y + ((me_y - y) / _root.scale); _y = ydist; } if (x > me_x) { xdist = x - ((x - me_x) / _root.scale); _x = xdist; } if (x < me_x) { xdist = x + ((me_x - x) / _root.scale); _x = xdist; } }
Frame 11
stop(); _root.updatebars();
Frame 12
stop();
Frame 13
stop();
Frame 14
stop();
Symbol 125 MovieClip [defiant] Frame 1
if (_root.hull >= 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (5); }
Symbol 125 MovieClip [defiant] Frame 2
if (_root.hull >= 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (5); }
Symbol 125 MovieClip [defiant] Frame 3
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (5); }
Symbol 125 MovieClip [defiant] Frame 4
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (5); }
Symbol 125 MovieClip [defiant] Frame 36
_root.dead();
Symbol 125 MovieClip [defiant] Frame 37
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (41); }
Symbol 125 MovieClip [defiant] Frame 38
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (41); }
Symbol 125 MovieClip [defiant] Frame 39
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (41); }
Symbol 125 MovieClip [defiant] Frame 40
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (41); }
Symbol 125 MovieClip [defiant] Frame 72
_root.dead();
Symbol 125 MovieClip [defiant] Frame 73
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (77); }
Symbol 125 MovieClip [defiant] Frame 74
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (77); }
Symbol 125 MovieClip [defiant] Frame 75
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (77); }
Symbol 125 MovieClip [defiant] Frame 76
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (77); }
Symbol 125 MovieClip [defiant] Frame 108
_root.dead();
Symbol 125 MovieClip [defiant] Frame 109
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (114); }
Symbol 125 MovieClip [defiant] Frame 110
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (114); }
Symbol 125 MovieClip [defiant] Frame 111
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (114); }
Symbol 125 MovieClip [defiant] Frame 112
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (114); }
Symbol 125 MovieClip [defiant] Frame 144
_root.dead();
Symbol 125 MovieClip [defiant] Frame 145
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (149); }
Symbol 125 MovieClip [defiant] Frame 146
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (149); }
Symbol 125 MovieClip [defiant] Frame 147
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (149); }
Symbol 125 MovieClip [defiant] Frame 148
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (149); }
Symbol 125 MovieClip [defiant] Frame 180
_root.dead();
Symbol 125 MovieClip [defiant] Frame 181
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (185); }
Symbol 125 MovieClip [defiant] Frame 182
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (185); }
Symbol 125 MovieClip [defiant] Frame 183
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (185); }
Symbol 125 MovieClip [defiant] Frame 184
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (185); }
Symbol 125 MovieClip [defiant] Frame 216
_root.dead();
Symbol 125 MovieClip [defiant] Frame 217
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (221); }
Symbol 125 MovieClip [defiant] Frame 218
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (221); }
Symbol 125 MovieClip [defiant] Frame 219
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (221); }
Symbol 125 MovieClip [defiant] Frame 220
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (221); }
Symbol 125 MovieClip [defiant] Frame 252
_root.dead();
Symbol 125 MovieClip [defiant] Frame 253
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (257); }
Symbol 125 MovieClip [defiant] Frame 254
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (257); }
Symbol 125 MovieClip [defiant] Frame 255
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (257); }
Symbol 125 MovieClip [defiant] Frame 256
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (257); }
Symbol 125 MovieClip [defiant] Frame 288
_root.dead();
Symbol 125 MovieClip [defiant] Frame 289
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (293); }
Symbol 125 MovieClip [defiant] Frame 290
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (293); }
Symbol 125 MovieClip [defiant] Frame 291
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (293); }
Symbol 125 MovieClip [defiant] Frame 292
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (293); }
Symbol 125 MovieClip [defiant] Frame 324
_root.dead();
Symbol 125 MovieClip [defiant] Frame 325
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (329); }
Symbol 125 MovieClip [defiant] Frame 326
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (329); }
Symbol 125 MovieClip [defiant] Frame 327
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (329); }
Symbol 125 MovieClip [defiant] Frame 328
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (329); }
Symbol 125 MovieClip [defiant] Frame 360
_root.dead();
Symbol 125 MovieClip [defiant] Frame 361
soundbeep = new Sound(this); soundbeep.attachSound("armor"); soundbeep.start(0, 0);
Symbol 125 MovieClip [defiant] Frame 363
soundbeep = new Sound(this); soundbeep.attachSound("armor"); soundbeep.start(0, 0);
Symbol 125 MovieClip [defiant] Frame 365
soundbeep = new Sound(this); soundbeep.attachSound("armor"); soundbeep.start(0, 0);
Symbol 125 MovieClip [defiant] Frame 367
soundbeep = new Sound(this); soundbeep.attachSound("armor"); soundbeep.start(0, 0);
Symbol 125 MovieClip [defiant] Frame 369
soundbeep = new Sound(this); soundbeep.attachSound("armor"); soundbeep.start(0, 0);
Symbol 125 MovieClip [defiant] Frame 371
soundbeep = new Sound(this); soundbeep.attachSound("armor"); soundbeep.start(0, 0);
Symbol 125 MovieClip [defiant] Frame 373
soundbeep = new Sound(this); soundbeep.attachSound("armor"); soundbeep.start(0, 0);
Symbol 125 MovieClip [defiant] Frame 375
soundbeep = new Sound(this); soundbeep.attachSound("armor"); soundbeep.start(0, 0);
Symbol 125 MovieClip [defiant] Frame 379
_root.def = 325; _root.defangle = 325; gotoAndPlay (325);
Symbol 125 MovieClip [defiant] Frame 380
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (384); }
Symbol 125 MovieClip [defiant] Frame 381
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (384); }
Symbol 125 MovieClip [defiant] Frame 382
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (384); }
Symbol 125 MovieClip [defiant] Frame 383
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (384); }
Symbol 125 MovieClip [defiant] Frame 411
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (414); }
Symbol 125 MovieClip [defiant] Frame 412
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (414); }
Symbol 125 MovieClip [defiant] Frame 413
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (414); }
Symbol 125 MovieClip [defiant] Frame 414
if (_root.hull > 0) { gotoAndPlay(_root.defangle); } else { gotoAndPlay (414); }
Symbol 128 Button
on (release) { gotoAndPlay (10); }
Symbol 152 Button
on (rollOver) { newgamebutton._alpha = 100; } on (rollOut) { newgamebutton._alpha = 50; } on (release) { stopAllSounds(); soundbeep = new Sound(this); soundbeep.attachSound("gamemusic"); soundbeep.start(0, 99); tot_energy = 3000; tot_hull = 200; tot_shields = -1; tot_phaser = 0; tot_torp = 5; tot_speed = -8; tot_nettorps = 0; def = 1; gotoAndStop (6); }
Symbol 153 Button
on (release) { stopAllSounds(); soundbeep = new Sound(this); soundbeep.attachSound("gamemusic"); soundbeep.start(0, 99); myLSO = SharedObject.getLocal("romwars"); if (myLSO.data.playership == undefined) { gotoAndStop (6); } else { playership = myLSO.data.playership; gotoAndPlay (10); } } on (rollOver) { playsavedbutton._alpha = 100; } on (rollOut) { playsavedbutton._alpha = 50; }
Symbol 154 Button
on (rollOver) { editprofilebutton._alpha = 100; } on (rollOut) { editprofilebutton._alpha = 50; } on (release) { gotoAndStop (7); }
Symbol 163 Button
on (release) { myLSO.data.playership = playership; myLSO.data.playername = playername; myLSO.data.era = 0; myLSO.data.ship = 1; myLSO.data.item1 = undefined; myLSO.data.item2 = undefined; myLSO.data.item3 = undefined; myLSO.data.item4 = undefined; myLSO.data.item5 = undefined; myLSO.data.item6 = undefined; myLSO.data.photonictorpedoes = 0; myLSO.data.plasmatorpedoes = 0; myLSO.data.quantumtorpedoes = 0; myLSO.data.photontorpedoes = 0; myLSO.data.transphasictorpedoes = 0; myLSO.data.d1 = 0; myLSO.data.d2 = 0; myLSO.data.flush(); gotoAndPlay (10); }
Symbol 172 Button
on (release) { gotoAndStop (5); }
Symbol 181 Button
on (release) { instructions = " PAGE UP: THIS BUTTON WILL ENGAGE YOUR WARP SPEED. YOU MUST BE AT FULL IMPULSE IN ORDER TO ACTIVATE THE WARP DRIVE. WARP SPEED IS COMMONLY USED FOR TRAVELLING FAR DISTANCES QUICKLY AND CAN BE A VALUABLE RESOURCE FOR ESCAPING A HEAVY BATTLE..."; }
Symbol 182 Button
on (release) { instructions = " HOME: HAILS THE FLEET. WHEN YOU HAVE BUILT ADDITIONAL STARSHIPS HAILING THE FLEET WILL CALL ALL OF THEM TO YOUR POSITION AND THEY WILL FOLLOW YOUR MOVEMENTS. IF A SHIP IS ENGAGED IN BATTLE IT MAY NOT RESPOND TO YOUR HAIL, OR IF IT ENCOUNTERS AN ENEMY WHILE IN FORMATION IT MAY BREAK AWAY TO ATTACK."; }
Symbol 183 Button
on (release) { instructions = " INSERT: TOGGLES REPAIR TEAMS. YOUR SYSTEM STATUS INDICATORS ARE USUALLY GREEN, INDICATING THEY ARE OPERATING. WHEN YOU TAKE DAMAGE THEY MAY BECOME RED, AND WILL GO OFFLINE. YOU CAN ASSIGN A REPAIR TEAM TO ANY ONE SYSTEM AT A TIME TO SPEED UP REPAIR TIME. AN INDICATOR IN YELLOW SHOWS THAT A REPAIR TEAM HAS BEEN SENT THERE. YOU CAN ONLY SEND REPAIR TEAMS TO ONE SYSTEM AT A TIME."; }
Symbol 184 Button
on (release) { instructions = " ENTER: THE ENTER KEY WILL RAISE OR LOWER YOUR SHIELDS, IF YOUR SHIP IS EQUIPED WITH THEM AND THEY ARE SUFFICIENTLY CHARGED."; }
Symbol 185 Button
on (release) { instructions = " END: ACTIVATES YOUR TRANSPORTER SYSTEM FOR GATHERING AND DELIVERING RESOURCES. PUT YOUR SHIP UNDER A RESOURCE ASTEROID OR EQUIPMENT BOX AND IT WILL BE BEAMED ABOARD. AT THE STARBASE YOU CAN BEAM YOUR RESOURCES TO THEM TO BUILD SHIPS OR UPGRADE YOUR OWN. YOU MUST BE TOUCHING THE OBJECT TO BEAM."; }
Symbol 186 Button
on (release) { instructions = " PAGE DOWN: DEACTIVATES YOUR WARP DRIVE AND RETURNS YOU TO IMPULSE SPEED."; }
Symbol 187 Button
on (release) { instructions = " ARROW KEYS: USE THE ARROW KEYS TO NAVIGATE YOUR STARSHIP."; }
Symbol 188 Button
on (release) { instructions = " SHIFT: THIS KEY WILL SELECT THE ITEMS IN YOUR SPECIAL EQUIPMENT INVENTORY. IF YOU ARE SELECTING A WEAPON OR DEVICE, YOU CAN THEN USE THE CONTROL KEY TO FIRE OR ACTIVATE IT."; }
Symbol 189 Button
on (release) { instructions = " CONTROL: FIRES OR ACTIVATES A SELECTED ITEM IN THE SPECIAL EQUIPMENT INVENTORY. ONLY USED FOR WEAPONS OR DEVICES. THIS KEY WILL DO NOTHING IF ANOTHER ITEM TYPE OR NO ITEM IS SELECTED."; }
Symbol 190 Button
on (release) { instructions = " SPACEBAR: FIRES YOUR PHASERS."; }
Symbol 191 Button
on (release) { instructions = " DELETE: THIS KEY WILL REMOVE ANY ITEM CURRENTLY SELECTED IN YOUR SPECIAL EQUIPMENT INVENTORY AND BEAM IT OFF THE SHIP. YOU CAN ONLY HAVE 6 ITEMS ABOARD AT ANY TIME, SO THIS IS USEFUL FOR DISPOSING OF UNNEEDED ITEMS IN FAVOR OF NEW ONES. IF YOU EJECT AN ITEM BY ACCIDENT YOU CAN ALWAYS BEAM IT BACK ABOARD."; }
Symbol 207 Button
on (release) { instructions = " DEURANIUM ASTEROID CONTAINING VARIOUS TONS OF DEURANIUM RESOURCES."; }
Symbol 208 Button
on (release) { instructions = " DILITHIUM ASTEROID CONTAINING VARIOUS TONS OF DILITHIUM"; }
Symbol 209 Button
on (release) { instructions = " A CASE OF 20 PHOTON TORPEDOES."; }
Symbol 210 Button
on (release) { instructions = " A CASE OF 10 QUANTUM TORPEDOES"; }
Symbol 211 Button
on (release) { instructions = " A CASE OF 20 PHOTONIC TORPEDOES"; }
Symbol 212 Button
on (release) { instructions = " A CASE OF 10 PLASMA TORPEDOES"; }
Symbol 213 Button
on (release) { instructions = " A CASE OF 5 TRANSPHASIC TORPEDOES."; }
Symbol 214 Button
on (release) { instructions = " LANCE PHASER EMITTER."; }
Symbol 215 Button
on (release) { instructions = " TORPEDO LAUNCHERS - SINGLE FORWARD."; }
Symbol 216 Button
on (release) { instructions = " TORPEDO LAUNCHER - SINGLE AFT."; }
Symbol 217 Button
on (release) { instructions = " COMPUTER ENHANCEMENT CHIP - IMPROVED DAMAGE CONTROL RESPONSE."; }
Symbol 218 Button
on (release) { instructions = " COMPUTER ENHANCEMENT CHIP - PHASER OUTPUT INCREASE."; }
Symbol 219 Button
on (release) { instructions = " COMPUTER ENHANCEMENT CHIP - IMPULSE SPEED INCREASE."; }
Symbol 222 Button
on (release) { instructions = " PULSE PHASER EMITTERS."; }
Symbol 223 Button
on (release) { gotoAndStop (8); }
Symbol 225 Button
on (release) { instructions = " CLOAKING DEVICE - CLOAKS YOUR STARSHIP."; }
Symbol 242 MovieClip Frame 1
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 2
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 3
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 4
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 5
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 6
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 7
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 8
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 9
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 10
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 11
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 12
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 13
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 14
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 15
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 16
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 17
gotoAndPlay(_root.shipdesctype);
Symbol 242 MovieClip Frame 18
gotoAndPlay(_root.shipdesctype);
Symbol 247 Button
on (release) { shipdesctext = "The D'eridex is the largest vessel produced in the Alpha Quadrant, although much of its interior space is hollow. Originally classified as the B-Type warbird by Starfleet, this vessel proved a superior foe against the new Galaxy Class starships."; shipdesc = "D'ERIDEX CLASS WARBIRD\r\rLength: 1805 m\rCrew: 870\rShields: Type X\rWeapons: Plasma Torpedoes, Plasma Phasers"; shipdesctype = 16; }
Symbol 249 Button
on (release) { shipdesctext = "The Neg'Var Class Warship is the Klingon Empire's newest fleet flagship. With heavy shielding and a massive weapons platform, the Neg'Var is certainly a force to be reckoned with."; shipdesc = "NEG'VAR CLASS WARSHIP\r\rLength: 1042 m\rCrew: 900\rShields: Type X\rWeapons: Photon Torpedoes, Phasers"; shipdesctype = 11; }
Symbol 250 Button
on (release) { shipdesctext = "The Klingon Vorcha Class is a long-running warship. Once a fleet flagship, it has been reduced to battlecruiser status with the development of the Neg'Var."; shipdesc = "VORCHA CLASS WARSHIP\r\rLength: 807 m\rCrew: 540\rShields: Type Y\rWeapons: Plasma Torpedoes"; shipdesctype = 15; }
Symbol 251 Button
on (release) { shipdesctext = "Although small, the Klingon Bird of Prey packs a heavy punch with its torpedoes and twin disruptor cannons. These ships have been produced in various sizes, but the large K'Vort is the most common."; shipdesc = "KLINGON BIRD OF PREY\r\rLength: 75 m\rCrew: 30\rShields: Type Y\rWeapons: Photon Torpedoes, Twin Disruptors"; shipdesctype = 9; }
Symbol 252 Button
on (release) { shipdesctext = "This scoutship is small and fast. Though alone they are no match for the large Federation starships, they can be dangerous in large numbers. They are often escorts for warbird battlegroups."; shipdesc = "ROMULAN SCOUT\r\rLength: 50 m\rCrew: 22\rShields: Type 2\rWeapons: Plasma Phasers"; shipdesctype = 14; }
Symbol 253 Button
on (release) { shipdesctext = "The D-7, and its later upgrade the K'Tinga, has been used by both the Romulan and Klingon Empires. Its lack of phasers is made up for by its rapid-fire forward torpedo launcher."; shipdesc = "D-7 CLASS BATTLECRUISER\r\rLength: 480 m\rCrew: 84\rShields: Class 56\rWeapons: Photon Torpedoes"; shipdesctype = 10; }
Symbol 254 Button
on (release) { shipdesctext = "The Romulan Bird of Prey is the most common vessel in the Romulan fleet following the Romulan Wars. Its plasma torpedoes inflict heavy damage on any opponent."; shipdesc = "ROMULAN BIRD OF PREY\r\rLength: 370 m\rCrew: 201\rShields: Class 2\rWeapons: Plasma Torpedoes, Plasma Phasers"; shipdesctype = 13; }
Symbol 255 Button
on (release) { shipdesctext = "The Romulan Battleship was a dangerous foe during the Romulan Wars. Far outpowering the intial NX Class, they did not fear Starfleet until the development of the Daedalus Class, when the tide of the war was turned. These ships were eventually abandoned after the war."; shipdesc = "ROMULAN BATTLESHIP\r\rLength: 240 m\rCrew: 140\rShields: Class 1\rWeapons: Plasma Torpedoes, Plasma Phasers"; shipdesctype = 12; }
Symbol 256 Button
on (release) { shipdesctext = "Produced during the Romulan War, the Daedalus Class was the first starship to be developed by the newly formed United Federation of Planets. It was built to match the superior Romulan Battlecruisers that were decimating the aging NX Class. They later became the workhorse of Starfleet until the production of the Constitution."; shipdesc = "DAEDALUS CLASS STARSHIP\r\rLength: 121 m\rCrew: 299\rShields: Type N\rWeapons: Phasers, Photon Torpedoes"; shipdesctype = 8; }
Symbol 257 Button
on (release) { shipdesctext = "The NX Class was the first Warp-5 vessel built by the human race. It supported a massive scientific and exploration platform, although soon after its deployment the use of the NX Class as a battleship became clear. It served the fleet for many years until, with the start of the Romulan War, it became clear that the NX class was no match for the Romulan Birds of Prey. It was replaced with the Daedalus Class heavy cruiser during the war."; shipdesc = "NX CLASS STARSHIP\r\rLength: 350 m\rCrew: 80\rShields: Type A\rWeapons: Photonic Torpedoes, Phasers"; shipdesctype = 1; }
Symbol 258 Button
on (release) { shipdesctext = "The Constitution Class was the first starship to be produced by the United Federation of Planets on a massive scale, utilizing not only the basic design but structural components as well to construct other various class designs. Its superior saucer hull, compared to the outdated spherical hull of the Daedalus, provided greater warp speeds with the warp field capabilities of the time. These starships were built so well that many have found their way to the civilian market and are still in use today."; shipdesc = "CONSTITUTION CLASS STARSHIP\r\rLength: 229 m\rCrew: 433\rShields: Type M\rWeapons: Photonic Torpedoes, Phasers"; shipdesctype = 2; }
Symbol 259 Button
on (release) { shipdesctext = "With the sheer number of Constitution Class starships produced, it was decided to refit these vessels rather than scrap them. All of the systems on the Constitution were enhanced, and other projects were given greater attention such as the Miranda and Oberth Class designs. The refitted Constitutions saw little use, however, as the new Excelsior class quickly replaced it as the workhorse of Starfleet."; shipdesc = "CONSTITUTION CLASS REFIT\r\rLength: 305 m\rCrew: 390\rShields: Type G\rWeapons: Photon Torpedoes, Phasers"; shipdesctype = 3; }
Symbol 260 Button
on (release) { shipdesctext = "The Galaxy Class starship was built as a multi-mission, multi-task workhorse for the Federation, for exploration, diplomacy, and defense. The Galaxy design soon became the basis for several other projects, including the Nebula and New Orleans classes. The Galaxy Class surpassed all expectations, but were difficult to mass produce because of its sheer size. These ships are still in service today."; shipdesc = "GALAXY CLASS STARSHIP\r\rLength: 641 m\rCrew: 1024\rShields: Type X\rWeapons: Photon Torpedoes, Phasers"; shipdesctype = 4; }
Symbol 261 Button
on (release) { shipdesctext = "Once called the Great Experiment, the Excelsior Class failed its use as a Transwarp vessel. However the existing plans were modified to utilize a standard warp engine and the Excelsior quickly became Starfleet's largest and longest production run. Many variants have been produced on this class to extend their use."; shipdesc = "EXCELSIOR CLASS STARSHIP\r\rLength: 467 m\rCrew: 650\rShields: Type J\rWeapons: Photon Torpedoes, Phasers"; shipdesctype = 17; }
Symbol 262 Button
on (release) { shipdesctext = "The development of the Akira Class was in response to the growing threats from the Borg and Dominion. Designed as a warship, the Akira is the torpedo platform of the fleet with 15 independent launchers. It is a fast and powerful ship, though not as well shielded as the Sovereign."; shipdesc = "AKIRA CLASS STARSHIP\r\rLength: 460 m\rCrew: 450\rShields: Type X\rWeapons: Torpedoes, Phasers"; shipdesctype = 7; }
Symbol 263 Button
on (release) { shipdesctext = "The Nebula Class starship was developed based on the Galaxy Class hull. Although originally planned to utilize the Galaxy Class saucer intact, modifications were later made to incorporate the design but required new saucer variants to be constructed. The Nebula Class is in quick production but its size limits its rate. It serves mostly as a ship of exploration."; shipdesc = "NEBULA CLASS STARSHIP\r\rLength: 442 m\rCrew: 800\rShields: Type X\rWeapons: Torpedoes, Phasers"; shipdesctype = 6; }
Symbol 264 Button
on (release) { shipdesctext = "The Sovereign Class project was intended to add a new, powerful battleship to the Starfleet ranks. Although it did not reach production until the Dominion War had ended, this delay allowed several design and technology aspects of the now mass-produced Defiant class to be incorporated into the Sovereign. Very few of these ships are in service because there is limited need for battleships at this time."; shipdesc = "SOVEREIGN CLASS STARSHIP\r\rLength: 680 m\rCrew: 700\rShields: Type ZX\rWeapons: Torpedoes, Phasers"; shipdesctype = 5; }
Symbol 265 Button
on (release) { gotoAndStop (9); }
Symbol 273 MovieClip Frame 1
gotoAndPlay(torptype); my_x = _x; my_y = _y; if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) { removeMovieClip(""); } else { if (this.hitTest("../defiant")) { if (_root.step <= 6) { _root.hitstrength = 7; } if (_root.step > 6) { _root.hitstrength = 15; } _root.hit(); soundbeep = new Sound(this); soundbeep.attachSound("hit"); soundbeep.start(0, 0); gotoAndPlay (3); } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { if (this.hitTest("../" add _root.fshipslot[i])) { if (_root.step <= 6) { Set(("../" add _root.fshipslot[i]) add ":hit", 30); } if (_root.step > 6) { Set(("../" add _root.fshipslot[i]) add ":hit", 50); } gotoAndPlay (3); break; } } i++; } if (this.hitTest("../starbase")) { if (_root.step <= 6) { Set("../starbase:hit", 30); } if (_root.step > 6) { Set("../starbase:hit", 50); } gotoAndPlay (3); } } rotation = getProperty("../defiant", _rotation); x = (Math.sin(rotation * (Math.PI/180)) * 20) * -1; y = Math.cos(rotation * (Math.PI/180)) * 20; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; locx = Number(my_x) + Number(xmov); locy = Number(my_y) + Number(ymov); _x = locx; _y = locy; }
Symbol 273 MovieClip Frame 2
gotoAndPlay(torptype);
Symbol 273 MovieClip Frame 5
removeMovieClip("");
Symbol 273 MovieClip Frame 6
my_x = _x; my_y = _y; if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) { removeMovieClip(""); } else { if (this.hitTest("../defiant")) { _root.hitstrength = 7; _root.hit(); soundbeep = new Sound(this); soundbeep.attachSound("hit"); soundbeep.start(0, 0); gotoAndPlay (8); } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { if (this.hitTest("../" add _root.fshipslot[i])) { Set(("../" add _root.fshipslot[i]) add ":hit", 30); gotoAndPlay (3); break; } } i++; } if (this.hitTest("../starbase")) { Set("../starbase:hit", 50); gotoAndPlay (3); } } rotation = getProperty("../defiant", _rotation); x = (Math.sin(rotation * (Math.PI/180)) * 20) * -1; y = Math.cos(rotation * (Math.PI/180)) * 20; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; locx = Number(my_x) + Number(xmov); locy = Number(my_y) + Number(ymov); _x = locx; _y = locy; }
Symbol 273 MovieClip Frame 7
gotoAndPlay(torptype);
Symbol 273 MovieClip Frame 10
removeMovieClip("");
Symbol 273 MovieClip Frame 11
my_x = _x; my_y = _y; if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) { removeMovieClip(""); } else { if (this.hitTest("../defiant")) { _root.hitstrength = 7; _root.hit(); soundbeep = new Sound(this); soundbeep.attachSound("hit"); soundbeep.start(0, 0); gotoAndPlay (13); } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { if (this.hitTest("../" add _root.fshipslot[i])) { Set(("../" add _root.fshipslot[i]) add ":hit", 30); gotoAndPlay (3); break; } } i++; } if (this.hitTest("../starbase")) { Set("../starbase:hit", 20); gotoAndPlay (3); } } rotation = getProperty("../defiant", _rotation); x = (Math.sin(rotation * (Math.PI/180)) * 20) * -1; y = Math.cos(rotation * (Math.PI/180)) * 20; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; locx = Number(my_x) + Number(xmov); locy = Number(my_y) + Number(ymov); _x = locx; _y = locy; }
Symbol 273 MovieClip Frame 12
gotoAndPlay(torptype);
Symbol 273 MovieClip Frame 15
removeMovieClip("");
Symbol 273 MovieClip Frame 16
my_x = _x; my_y = _y; if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) { removeMovieClip(""); } else { if (this.hitTest("../defiant")) { _root.hitstrength = 12; _root.hit(); soundbeep = new Sound(this); soundbeep.attachSound("hit"); soundbeep.start(0, 0); gotoAndPlay (18); } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { if (this.hitTest("../" add _root.fshipslot[i])) { Set(("../" add _root.fshipslot[i]) add ":hit", 40); gotoAndPlay (3); break; } } i++; } if (this.hitTest("../starbase")) { Set("../starbase:hit", 35); gotoAndPlay (3); } } rotation = getProperty("../defiant", _rotation); x = (Math.sin(rotation * (Math.PI/180)) * 20) * -1; y = Math.cos(rotation * (Math.PI/180)) * 20; if (!_root.move.hitTest(_x + x, _y + y, true)) { locx = _x; locy = _y; locx = locx + x; locy = locy + y; locx = Number(my_x) + Number(xmov); locy = Number(my_y) + Number(ymov); _x = locx; _y = locy; }
Symbol 273 MovieClip Frame 17
gotoAndPlay(torptype);
Symbol 273 MovieClip Frame 20
removeMovieClip("");
Symbol 282 MovieClip Frame 1
gotoAndPlay(torptype); my_x = _x; my_y = _y; if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) { removeMovieClip(""); } else { _x = (Number(my_x) + Number(xmov)); _y = (Number(my_y) + Number(ymov)); remove = 0; i = 0; while (i < 10) { slot = "../" add _root.shipslot[i]; if (this.hitTest(slot) and (_root.shipslot[i] != "")) { Set(slot add ":energydraw", 15); remove = 1; } i++; } if (this.hitTest("../estarbase")) { x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if ((((x > 0) and (x < 550)) and (y > 0)) and (y < 400)) { Set("../estarbase:energydraw", 15); remove = 1; } } if (remove == 1) { gotoAndPlay (3); soundbeep = new Sound(this); soundbeep.attachSound("hit"); soundbeep.start(0, 0); } }
Symbol 282 MovieClip Frame 2
gotoAndPlay(torptype);
Symbol 282 MovieClip Frame 5
removeMovieClip("");
Symbol 282 MovieClip Frame 6
my_x = _x; my_y = _y; if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) { removeMovieClip(""); } else { _x = (Number(my_x) + Number(xmov)); _y = (Number(my_y) + Number(ymov)); remove = 0; i = 0; while (i < 10) { slot = "../" add _root.shipslot[i]; if (this.hitTest(slot) and (_root.shipslot[i] != "")) { Set(slot add ":energydraw", 30); remove = 1; } i++; } if (this.hitTest("../estarbase")) { Set("../estarbase:energydraw", 30); remove = 1; } if (remove == 1) { gotoAndPlay (8); soundbeep = new Sound(this); soundbeep.attachSound("hit"); soundbeep.start(0, 0); } }
Symbol 282 MovieClip Frame 7
gotoAndPlay(torptype);
Symbol 282 MovieClip Frame 10
removeMovieClip("");
Symbol 282 MovieClip Frame 11
my_x = _x; my_y = _y; if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) { removeMovieClip(""); } else { _x = (Number(my_x) + Number(xmov)); _y = (Number(my_y) + Number(ymov)); remove = 0; i = 0; while (i < 10) { slot = "../" add _root.shipslot[i]; if (this.hitTest(slot) and (_root.shipslot[i] != "")) { Set(slot add ":energydraw", 50); remove = 1; } i++; } if (this.hitTest("../estarbase")) { Set("../estarbase:energydraw", 50); remove = 1; } if (remove == 1) { gotoAndPlay (13); soundbeep = new Sound(this); soundbeep.attachSound("hit"); soundbeep.start(0, 0); } }
Symbol 282 MovieClip Frame 12
gotoAndPlay(torptype);
Symbol 282 MovieClip Frame 15
removeMovieClip("");
Symbol 282 MovieClip Frame 16
my_x = _x; my_y = _y; if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) { removeMovieClip(""); } else { _x = (Number(my_x) + Number(xmov)); _y = (Number(my_y) + Number(ymov)); remove = 0; i = 0; while (i < 10) { slot = "../" add _root.shipslot[i]; if (this.hitTest(slot) and (_root.shipslot[i] != "")) { Set(slot add ":energydraw", 20); remove = 1; } i++; } if (this.hitTest("../estarbase")) { Set("../estarbase:energydraw", 20); remove = 1; } if (remove == 1) { gotoAndPlay (18); soundbeep = new Sound(this); soundbeep.attachSound("hit"); soundbeep.start(0, 0); } }
Symbol 282 MovieClip Frame 17
gotoAndPlay(torptype);
Symbol 282 MovieClip Frame 20
removeMovieClip("");
Symbol 282 MovieClip Frame 21
my_x = _x; my_y = _y; if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) { removeMovieClip(""); } else { _x = (Number(my_x) + Number(xmov)); _y = (Number(my_y) + Number(ymov)); remove = 0; i = 0; while (i < 10) { slot = "../" add _root.shipslot[i]; if (this.hitTest(slot) and (_root.shipslot[i] != "")) { Set(slot add ":energydraw", 150); remove = 1; } i++; } if (this.hitTest("../estarbase")) { Set("../estarbase:energydraw", 500); remove = 1; } if (remove == 1) { gotoAndPlay (23); soundbeep = new Sound(this); soundbeep.attachSound("hit"); soundbeep.start(0, 0); } }
Symbol 282 MovieClip Frame 22
gotoAndPlay(torptype);
Symbol 282 MovieClip Frame 25
removeMovieClip("");
Symbol 282 MovieClip Frame 26
my_x = _x; my_y = _y; if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) { removeMovieClip(""); } else { _x = (Number(my_x) + Number(xmov)); _y = (Number(my_y) + Number(ymov)); remove = 0; i = 0; while (i < 10) { slot = "../" add _root.shipslot[i]; if (this.hitTest(slot) and (_root.shipslot[i] != "")) { Set(slot add ":energydraw", 10); remove = 1; } i++; } if (this.hitTest("../estarbase")) { Set("../estarbase:energydraw", 15); remove = 1; } if (remove == 1) { gotoAndPlay (28); soundbeep = new Sound(this); soundbeep.attachSound("hit"); soundbeep.start(0, 0); } }
Symbol 282 MovieClip Frame 27
gotoAndPlay(torptype);
Symbol 282 MovieClip Frame 30
removeMovieClip("");
Symbol 302 MovieClip Frame 1
if (type > 0) { if ((_root.step < 3) and (type > 8)) { type = random(8) + 1; } if (((_root.step <= 9) and (_root.step >= 3)) and (type > 12)) { type = random(12) + 1; } if (((_root.step <= 11) and (_root.step > 9)) and (type > 17)) { type = random(17) + 1; } if (_root.step >= 13) { type = random(20) + 1; } if (((_root.step == 14) and ((_root.def != 289) or (_root.def != 325))) and (random(200) == 1)) { type = 18; } if ((type != 1) and (random(3) == 1)) { type = 1; } else if ((type != 2) and (random(3) == 1)) { type = 2; } if ((_root.step > 6) and (type == 4)) { type = 2; } if (random(200) == 1) { type = 19; } if ((_root.step < 14) and (type == 18)) { type = 2; } if (type == 1) { gotoAndPlay (3); } if (type == 2) { gotoAndPlay (5); } if (type == 3) { gotoAndPlay (5); } if (type == 4) { gotoAndPlay (3); } if (type == 5) { gotoAndPlay (11); } if (type == 6) { gotoAndPlay (19); } if (type == 7) { gotoAndPlay (21); } if (type == 8) { gotoAndPlay (29); } if (type == 9) { gotoAndPlay (7); } if (type == 10) { gotoAndPlay (31); } if (type == 11) { gotoAndPlay (33); } if (type == 12) { gotoAndPlay (13); } if (type == 13) { gotoAndPlay (9); } if (type == 14) { gotoAndPlay (9); } if (type == 15) { gotoAndPlay (15); } if (type == 16) { gotoAndPlay (35); } if (type == 17) { gotoAndPlay (23); } if (type == 18) { gotoAndPlay (37); } if (type == 19) { gotoAndPlay (25); } if (type == 20) { gotoAndPlay (17); } }
Symbol 302 MovieClip Frame 2
gotoAndPlay (1);
Symbol 302 MovieClip Frame 4
if (Key.isDown(35)) { if (this.hitTest("../defiant") and ((_root.dilithium + _root.deuranium) < 5000)) { x = random(200); _root.dilithium = _root.dilithium + x; _root.comm = ("YOU BEAM ABOARD " + x) + " TONS OF DILITHIUM..."; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); _root.resources = ((("DILITHIUM: " + _root.dilithium) + newline) + "DEURANIUM: ") + _root.deuranium; if ((_root.dilithium + _root.deuranium) > 2000) { _root.comm = _root.comm + "...THE HEAVY CARGO IS AFFECTING PERFORMANCE!"; } removeMovieClip(""); } if ((_root.dilithium + _root.deuranium) >= 5000) { _root.comm = "CAPTAIN, THE CARGO BAYS ARE FULL, WE DON'T HAVE ANY MORE REDSHIRTS TO EJECT."; } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (3);
Symbol 302 MovieClip Frame 6
if (Key.isDown(35)) { if (this.hitTest("../defiant") and ((_root.dilithium + _root.deuranium) < 5000)) { x = random(200); _root.deuranium = _root.deuranium + x; _root.comm = ("YOU BEAM ABOARD " + x) + " TONS OF DEURANIUM..."; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); _root.resources = ((("DILITHIUM: " + _root.dilithium) + newline) + "DEURANIUM: ") + _root.deuranium; if ((_root.dilithium + _root.deuranium) > 2000) { _root.comm = _root.comm + "...THE HEAVY CARGO IS AFFECTING PERFORMANCE!"; } removeMovieClip(""); } if ((_root.dilithium + _root.deuranium) >= 5000) { _root.comm = "CAPTAIN, THE CARGO BAYS ARE FULL, WE DON'T HAVE ANY MORE REDSHIRTS TO EJECT."; } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (5);
Symbol 302 MovieClip Frame 8
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 2) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 2; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); _root.photontorpedoes = 20; Set(("../item" add i) add ":item", 2); b = 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (7);
Symbol 302 MovieClip Frame 10
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 3) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 3; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); _root.quantumtorpedoes = 20; Set(("../item" add i) add ":item", 3); b = 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (9);
Symbol 302 MovieClip Frame 12
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 4) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 4; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); _root.photonictorpedoes = 20; Set(("../item" add i) add ":item", 4); b = 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (11);
Symbol 302 MovieClip Frame 14
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 5) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 5; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); _root.plasmatorpedoes = 10; Set(("../item" add i) add ":item", 5); b = 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (13);
Symbol 302 MovieClip Frame 16
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 6) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 6; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); _root.transphasictorpedoes = 5; Set(("../item" add i) add ":item", 6); b = 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (15);
Symbol 302 MovieClip Frame 18
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 7) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 7; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); Set(("../item" add i) add ":item", 7); b = 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (17);
Symbol 302 MovieClip Frame 20
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 8) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 8; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); Set(("../item" add i) add ":item", 8); b = 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (19);
Symbol 302 MovieClip Frame 22
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 9) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 9; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); Set(("../item" add i) add ":item", 9); b = 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (21);
Symbol 302 MovieClip Frame 24
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 17) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 17; Set(("../item" add i) add ":item", 17); soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); b = 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (23);
Symbol 302 MovieClip Frame 26
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 19) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 19; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); Set(("../item" add i) add ":item", 19); b = 1; _root.ale = 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (25);
Symbol 302 MovieClip Frame 30
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 13) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 13; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); Set(("../item" add i) add ":item", 13); b = 1; _root.tot_speed - 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (29);
Symbol 302 MovieClip Frame 32
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 14) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 14; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); Set(("../item" add i) add ":item", 14); b = 1; _root.tot_phaser = _root.tot_phaser + 100; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (31);
Symbol 302 MovieClip Frame 34
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 15) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 15; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); Set(("../item" add i) add ":item", 15); b = 1; _root.repairspeed = 50; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (33);
Symbol 302 MovieClip Frame 36
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { b = 0; i = 1; while (i < 7) { if (_root.itemslot[i] == 16) { _root.comm = "YOU ALREADY HAVE THIS ITEM ABOARD..."; b = 1; } i++; } i = 1; while (i < 7) { if ((_root.itemslot[i] == undefined) and (b == 0)) { _root.itemslot[i] = 16; soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); Set(("../item" add i) add ":item", 16); b = 1; removeMovieClip(""); } i++; } if (b == 0) { _root.comm = "THERE IS NO ROOM IN YOUR INVENTORY FOR THIS ITEM..."; } } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (35);
Symbol 302 MovieClip Frame 38
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { _root.def = 289; _root.loadship(); _root.comm = "YOU HAVE JUST TRANSFERRED TO THIS DERILICT NEBULA CLASS EXPERIMENTAL STARSHIP..."; removeMovieClip(""); } } if ((((_x < -200) or (_x > 700)) or (_y < -200)) or ((_y > 600) and (type > 0))) { removeMovieClip(""); } gotoAndPlay (37);
Symbol 314 MovieClip Frame 1
gotoAndPlay(type);
Symbol 314 MovieClip Frame 2
gotoAndPlay(type);
Symbol 314 MovieClip Frame 3
gotoAndPlay(type);
Symbol 314 MovieClip Frame 4
gotoAndPlay(type);
Symbol 314 MovieClip Frame 5
gotoAndPlay(type);
Symbol 314 MovieClip Frame 6
gotoAndPlay(type);
Symbol 319 Button
on (release) { if (menu == 0) { menu = 1; } else { menu = 0; } } on (rollOver) { _root.comm = "CLICK BUTTON TO OPEN MENU..."; }
Symbol 321 Button
on (rollOver) { _root.comm = "THIS CONSTRUCTION COSTS 150 DILITHIUM, 100 DEURANIUM"; } on (release) { if (construction == 0) { time = 0; i = 0; b = 0; while (i < 10) { if (_root.fshipslot[i] == "") { b = 1; } i++; } } if ((((_root.step == 0) or (_root.step == 1)) or (_root.step == 2)) and (construction == 0)) { time = 10; _root.buildtype = 2; } if ((((_root.step == 3) or (_root.step == 4)) or (_root.step == 5)) and (construction == 0)) { time = 15; _root.buildtype = 11; } if ((((_root.step == 6) or (_root.step == 7)) or (_root.step == 8)) and (construction == 0)) { time = 20; _root.buildtype = 20; } if ((((_root.step == 9) or (_root.step == 10)) or (_root.step == 11)) and (construction == 0)) { time = 30; _root.buildtype = 38; } if ((((_root.step == 12) or (_root.step == 13)) or (_root.step == 14)) and (construction == 0)) { time = 35; _root.buildtype = 47; } if ((((((d1 > 150) and (d2 > 100)) and (construction == 0)) and (_root.buildtype > 0)) and (b == 1)) and (time > 0)) { d1 = d1 - 150; d2 = d2 - 100; _root.comm = "RESOURCES RECEIVED...STARSHIP CONSTRUCTION COMMENCING..."; construction = 1; myDate = new Date(); constructiontarget = myDate.getSeconds() + time; if (constructiontarget > 60) { constructiontarget = constructiontarget - 60; } soundbeep = new Sound(this); soundbeep.attachSound("build"); soundbeep.start(0, 0); } else { _root.comm = "UNABLE TO CONSTRUCT THIS STARSHIP - MORE RESOURCES ARE NEEDED..."; if (construction == 1) { _root.comm = "UNABLE TO PROCESS...STANDBY..."; } } if (b == 0) { _root.comm = "SUBSPACE NETWORKS ARE UNABLE TO SUPPORT ANY MORE SHIPS IN THE FLEET..."; } }
Symbol 322 Button
on (rollOver) { _root.comm = "THIS CONSTRUCTION COSTS 200 DILITHIUM, 200 DEURANIUM"; } on (release) { if (construction == 0) { time = 0; if (build2 != "") { i = 0; b = 0; while (i < 10) { if (_root.fshipslot[i] == "") { b = 1; } i++; } } if ((((_root.step == 1) or (_root.step == 2)) and (construction == 0)) and (b == 1)) { time = 25; _root.buildtype = 11; } if ((((_root.step == 4) or (_root.step == 5)) and (construction == 0)) and (b == 1)) { time = 25; _root.buildtype = 20; } if ((((_root.step == 7) or (_root.step == 8)) and (construction == 0)) and (b == 1)) { time = 25; _root.buildtype = 29; } if ((((_root.step == 10) or (_root.step == 11)) and (construction == 0)) and (b == 1)) { time = 35; _root.buildtype = 47; } if ((((_root.step == 12) or (_root.step == 13)) and (construction == 0)) and (b == 1)) { time = 40; _root.buildtype = 56; } if (((((d1 > 200) and (d2 > 200)) and (construction == 0)) and (_root.buildtype > 0)) and (time > 0)) { d1 = d1 - 200; d2 = d2 - 200; _root.comm = "RESOURCES RECEIVED...STARSHIP CONSTRUCTION COMMENCING..."; construction = 1; myDate = new Date(); constructiontarget = myDate.getSeconds() + time; if (constructiontarget > 60) { constructiontarget = constructiontarget - 60; } soundbeep = new Sound(this); soundbeep.attachSound("build"); soundbeep.start(0, 0); } else { _root.comm = "UNABLE TO CONSTRUCT THIS STARSHIP - MORE RESOURCES ARE NEEDED..."; if (construction == 1) { _root.comm = "A STARSHIP IS ALREADY UNDER CONSTRUCTION...STANDBY..."; } } if (b == 0) { _root.comm = "SUBSPACE NETWORKS ARE UNABLE TO SUPPORT ANY MORE SHIPS IN THE FLEET..."; } } }
Symbol 323 Button
on (rollOver) { _root.comm = "THIS CONSTRUCTION COSTS 250 DILITHIUM, 250 DEURANIUM"; } on (release) { if (construction == 0) { time = 0; if (build3 != "") { i = 0; b = 0; while (i < 10) { if (_root.fshipslot[i] == "") { b = 1; } i++; } } if (((_root.step == 8) and (construction == 0)) and (b == 1)) { time = 30; _root.buildtype = 38; } if (((_root.step == 11) and (construction == 0)) and (b == 1)) { time = 40; _root.buildtype = 56; } if ((((_root.step == 13) or (_root.step == 14)) and (construction == 0)) and (b == 1)) { time = 45; _root.buildtype = 65; } if (((((d1 > 250) and (d2 > 250)) and (construction == 0)) and (_root.buildtype > 0)) and (time > 0)) { d1 = d1 - 250; d2 = d2 - 250; _root.comm = "RESOURCES RECEIVED...STARSHIP CONSTRUCTION COMMENCING..."; construction = 1; myDate = new Date(); constructiontarget = myDate.getSeconds() + time; if (constructiontarget > 60) { constructiontarget = constructiontarget - 60; } soundbeep = new Sound(this); soundbeep.attachSound("build"); soundbeep.start(0, 0); } else { _root.comm = "UNABLE TO CONSTRUCT THIS STARSHIP - MORE RESOURCES ARE NEEDED..."; if (construction == 1) { _root.comm = "A STARSHIP IS ALREADY UNDER CONSTRUCTION...STANDBY..."; } } if (b == 0) { _root.comm = "SUBSPACE NETWORKS ARE UNABLE TO SUPPORT ANY MORE SHIPS IN THE FLEET..."; } } }
Symbol 324 Button
on (rollOver) { _root.comm = "THIS CONSTRUCTION COSTS 1,000 DILITHIUM, 1,000 DEURANIUM"; } on (release) { time = 0; if ((((construction == 0) and (build4 != "")) and (build4 != "UPGRADE STARBASE")) and (build4 != "DECLARE PEACE")) { _root.buildtype = 0; time = 50; } x = getProperty("../estarbase", _x); if ((((((_root.step == 2) or (_root.step == 5)) or (_root.step == 8)) or (_root.step == 11)) or (_root.step == 13)) and (x == -99999)) { time = 50; _root.buildtype = 0; } if ((((d1 > 1000) and (d2 > 1000)) and (construction == 0)) and (time > 0)) { d1 = d1 - 1000; d2 = d2 - 1000; _root.comm = "RESEARCH COMMENCING..."; construction = 1; myDate = new Date(); constructiontarget = myDate.getSeconds() + time; if (constructiontarget > 60) { constructiontarget = constructiontarget - 60; } soundbeep = new Sound(this); soundbeep.attachSound("build"); soundbeep.start(0, 0); } else { _root.comm = "UNABLE TO CONDUCT RESEARCH..."; if (construction == 1) { _root.comm = "UNABLE TO PROCESS...STANDBY..."; } } }
Symbol 333 Button
on (release) { _root.comm = "CONSTRUCTION CANCELLED..."; construction = 0; setProperty("constructbar", _xscale , 0); }
Symbol 336 MovieClip Frame 1
if (menu == 1) { gotoAndPlay (3); } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); rotation = rotation + 90; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; rotation = g; if (defy > _y) { rotation = 90 - rotation; } else if (defy < _y) { rotation = 180 - (rotation - 90); } if ((((Math.abs(_x - defx) < 200) and (Math.abs(_y - defy) < 200)) and ((defx > 0) or (defx < 0))) and (construction == 0)) { shootx = _x; shooty = _y; if (random(10) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../torp", "shot" add _root.shotname, _root.shotname); rotation = rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "starbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":energydraw", 12); } if (_root.step < 6) { mytorp = 1; } if ((_root.step >= 6) and (_root.step < 12)) { mytorp = 6; } if (_root.step >= 12) { mytorp = 11; } Set(("../shot" add _root.shotname) add ":torptype", mytorp); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); if (random(500) == 1) { i = 0; b = 0; while (i < 10) { if (_root.fshipslot[i] != "") { b++; } i++; } d1 = d1 + (b * random(2)); d2 = d2 + (b * random(2)); } } } i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.shipslot[i]; } } i++; }
Instance of Symbol 314 MovieClip "stationpic" in Symbol 336 MovieClip Frame 1
on (release) { if (menu == 0) { menu = 1; } else { menu = 0; } } on (rollOver) { _root.comm = "FEDERATION STARBASE: "; bar = ((500 - Math.abs(damage)) / 500) * 100; _root.comm = ((_root.comm + "THE STATION'S SHIELDS ARE AT ") + bar) + "%."; } on (rollOut) { if (_root.comm == "FEDERATION STARBASE") { _root.comm = ""; } }
Symbol 336 MovieClip Frame 2
if (menu == 0) { gotoAndPlay (1); } if (menu == 1) { gotoAndPlay (3); } if ((damage < 0) and (random(10) == 1)) { damage++; } if (hit > 0) { damage = damage - hit; hit = 0; Set("stationpic:damage", damage); if (random(5) == 1) { _root.comm = "THE STARBASE IS UNDER ATTACK..."; } bar = ((myenergy - Math.abs(damage)) / myenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 22); setProperty("../enemybar", _y , _y + 37); } if (damage < (myenergy * -1)) { gotoAndPlay (5); }
Symbol 336 MovieClip Frame 3
if (_root.step == 0) { build1 = "BUILD NX"; build2 = ""; build3 = ""; build4 = "RESEARCH DAEDALUS"; } if (_root.step == 1) { build1 = "BUILD NX"; build2 = "BUILD DAEDALUS"; build3 = ""; build4 = "RESEARCH SHIELDS"; } if (_root.step == 2) { build1 = "BUILD NX"; build2 = "BUILD DAEDALUS"; build3 = ""; build4 = "UPGRADE STARBASE"; } if (_root.step == 3) { build1 = "BUILD DAEDALUS"; build2 = ""; build3 = ""; build4 = "RESEARCH CONSTITUTION"; } if (_root.step == 4) { build1 = "BUILD DAEDALUS"; build2 = "BUILD CONSTITUTION"; build3 = ""; build4 = "RESEARCH CLOAK"; } if (_root.step == 5) { build1 = "BUILD DAEDALUS"; build2 = "BUILD CONSTITUTION"; build3 = ""; build4 = "UPGRADE STARBASE"; } if (_root.step == 6) { build1 = "BUILD CONSTITUTION"; build2 = ""; build3 = ""; build4 = "RESEARCH REFIT"; } if (_root.step == 7) { build1 = "BUILD CONSTITUTION"; build2 = "BUILD REFIT CONST"; build3 = ""; build4 = "RESEARCH EXCELSIOR"; } if (_root.step == 8) { build1 = "BUILD CONSTITUTION"; build2 = "BUILD REFIT CONST"; build3 = "BUILD EXCELSIOR"; build4 = "UPGRADE STARBASE"; } if (_root.step == 9) { build1 = "BUILD EXCELSIOR"; build2 = ""; build3 = ""; build4 = "RESEARCH AKIRA"; } if (_root.step == 10) { build1 = "BUILD EXCELSIOR"; build2 = "BUILD AKIRA"; build3 = ""; build4 = "RESEARCH GALAXY"; } if (_root.step == 11) { build1 = "BUILD EXCELSIOR"; build2 = "BUILD AKIRA"; build3 = "BUILD GALAXY"; build4 = "UPGRADE STARBASE"; } if (_root.step == 12) { build1 = "BUILD AKIRA"; build2 = "BUILD GALAXY"; build3 = ""; build4 = "RESEARCH SOVEREIGN"; } if (_root.step == 13) { build1 = "BUILD AKIRA"; build2 = "BUILD GALAXY"; build3 = "BUILD SOVEREIGN"; build4 = "DECLARE PEACE"; } if (_root.step == 14) { build1 = ""; build2 = ""; build3 = ""; build4 = ""; } if (_root.step == 15) { build1 = ""; build2 = ""; build3 = ""; build4 = ""; }
Symbol 336 MovieClip Frame 4
if (menu == 1) { gotoAndPlay (3); } else { gotoAndPlay (1); }
Symbol 336 MovieClip Frame 36
if (damage == 0) { gotoAndPlay (1); }
Symbol 336 MovieClip Frame 37
gotoAndPlay (36);
Symbol 338 MovieClip Frame 1
if (_x > 0) { rotation = getProperty("../defiant", _rotation); _rotation = rotation; _yscale = (_yscale + 20); if (_yscale > 100) { _yscale = 0; _x = -30; } } i = 0; while (i < 10) { slot = "../" add _root.shipslot[i]; if ((this.hitTest(slot) and (_root.shipslot[i] != "")) and (_x > 0)) { Set(slot add ":energydraw", 10); } i++; }
Symbol 338 MovieClip Frame 2
gotoAndPlay (1);
Symbol 356 MovieClip Frame 1
if (_root.step < 3) { gotoAndPlay (1); } if ((_root.step >= 3) and (_root.step < 6)) { gotoAndPlay (2); } if ((_root.step >= 6) and (_root.step < 9)) { gotoAndPlay (3); } if ((_root.step >= 9) and (_root.step <= 11)) { gotoAndPlay (4); } if ((_root.step >= 12) and (_root.step <= 13)) { gotoAndPlay (5); } if (_root.step > 13) { gotoAndPlay (6); }
Symbol 356 MovieClip Frame 2
if (_root.step < 3) { gotoAndPlay (1); } if ((_root.step >= 3) and (_root.step < 6)) { gotoAndPlay (2); } if ((_root.step >= 6) and (_root.step < 9)) { gotoAndPlay (3); } if ((_root.step >= 9) and (_root.step <= 11)) { gotoAndPlay (4); } if ((_root.step >= 12) and (_root.step <= 13)) { gotoAndPlay (5); } if (_root.step > 13) { gotoAndPlay (6); }
Symbol 356 MovieClip Frame 3
if (_root.step < 3) { gotoAndPlay (1); } if ((_root.step >= 3) and (_root.step < 6)) { gotoAndPlay (2); } if ((_root.step >= 6) and (_root.step < 9)) { gotoAndPlay (3); } if ((_root.step >= 9) and (_root.step <= 11)) { gotoAndPlay (4); } if ((_root.step >= 12) and (_root.step <= 13)) { gotoAndPlay (5); } if (_root.step > 13) { gotoAndPlay (6); }
Symbol 356 MovieClip Frame 4
if (_root.step < 3) { gotoAndPlay (1); } if ((_root.step >= 3) and (_root.step < 6)) { gotoAndPlay (2); } if ((_root.step >= 6) and (_root.step < 9)) { gotoAndPlay (3); } if ((_root.step >= 9) and (_root.step <= 11)) { gotoAndPlay (4); } if ((_root.step >= 12) and (_root.step <= 13)) { gotoAndPlay (5); } if (_root.step > 13) { gotoAndPlay (6); }
Symbol 356 MovieClip Frame 5
if (_root.step < 3) { gotoAndPlay (1); } if ((_root.step >= 3) and (_root.step < 6)) { gotoAndPlay (2); } if ((_root.step >= 6) and (_root.step < 9)) { gotoAndPlay (3); } if ((_root.step >= 9) and (_root.step <= 11)) { gotoAndPlay (4); } if ((_root.step >= 12) and (_root.step <= 13)) { gotoAndPlay (5); } if (_root.step > 13) { gotoAndPlay (6); }
Symbol 356 MovieClip Frame 6
if (_root.step < 3) { gotoAndPlay (1); } if ((_root.step >= 3) and (_root.step < 6)) { gotoAndPlay (2); } if ((_root.step >= 6) and (_root.step < 9)) { gotoAndPlay (3); } if ((_root.step >= 9) and (_root.step <= 11)) { gotoAndPlay (4); } if ((_root.step >= 12) and (_root.step <= 13)) { gotoAndPlay (5); } if (_root.step > 13) { gotoAndPlay (6); }
Symbol 356 MovieClip Frame 10
if (_root.step < 3) { gotoAndPlay (1); } if ((_root.step >= 3) and (_root.step < 6)) { gotoAndPlay (2); } if ((_root.step >= 6) and (_root.step < 9)) { gotoAndPlay (3); } if ((_root.step >= 9) and (_root.step <= 11)) { gotoAndPlay (4); } if ((_root.step >= 12) and (_root.step <= 13)) { gotoAndPlay (5); } if (_root.step > 13) { gotoAndPlay (6); }
Symbol 357 MovieClip Frame 1
if (myenergy > 0) { if (energydraw > 0) { myenergy = myenergy - energydraw; bar = (myenergy / totenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); _root.comm = myenergy; energydraw = 0; } if (random(50) == 1) { i = 0; b = 0; while (i < 11) { if (_root.fshipslot[i] != "") { b = b + 1; } i++; } i = 0; c = 0; while (i < 11) { if (_root.shipslot[i] != "") { c = c + 1; } i++; } if ((b + 2) > c) { _root.createnewenemy(); } } if (random(800) == 1) { i = 0; b = 0; while (i < 10) { if (_root.shipslot[i] == "") { b = 1; } i++; } if (b == 1) { _root.createnewenemy(); } if (b == 0) { i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; if (random(3) != 0) { Set(slot add ":my_target", "starbase"); } Set(slot add ":cloak", 1); } i++; } } } if (random(2000) == 1) { i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; if (random(3) != 0) { Set(slot add ":my_target", "starbase"); } Set(slot add ":cloak", 1); } i++; } } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); rotation = rotation + 90; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; rotation = g; if (defy > _y) { rotation = 90 - rotation; } else if (defy < _y) { rotation = 180 - (rotation - 90); } if (((Math.abs(_x - defx) < 300) and (Math.abs(_y - defy) < 200)) and ((defx < 0) or (defx > 0))) { shootx = _x; shooty = _y; if (random(5) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname); rotation = rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "estarbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":hit", 30); } if (_root.step < 6) { mytorp = 1; } if ((_root.step >= 6) and (_root.step < 9)) { mytorp = 16; } if (_root.step >= 9) { mytorp = 1; } Set(("../shot" add _root.shotname) add ":torptype", mytorp); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } defx = getProperty("../defiant", _x); defy = getProperty("../defiant", _y); if (((Math.abs(defx - _x) < 300) and (Math.abs(defy - _y) < 200)) and (_root.cloak == 0)) { my_target = "defiant"; } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { slot = "../" add _root.fshipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.fshipslot[i]; } } i++; } }
Instance of Symbol 356 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (load) { type = 1; }
Symbol 357 MovieClip Frame 2
if (myenergy < 0) { gotoAndPlay (3); } else { gotoAndPlay (1); }
Symbol 357 MovieClip Frame 30
_x = -99999; myenergy = -300; if (_root.step == 14) { _root.step = _root.step + 1; _root.loadera(); }
Symbol 369 MovieClip Frame 1
if (target > 0) { my_target = ""; _root.comm = ("THE " + my_name) + " HAS BEEN LAUNCHED..."; damage = 0; shielding = 0; if (_root.step > 1) { shielding = 100; } gotoAndPlay(type); } else { stop(); }
Symbol 369 MovieClip Frame 2
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { if (damage > -10) { if (_root.def == 1) { _root.comm = "CAPTAIN, WE'RE ALREADY ON THAT CLASS OF SHIP...WHY WOULD WE TRANSFER?"; } else { _root.translateswap(); _root.def = 1; _root.loadship(); type = _root.swap; } } if (damage < -10) { _root.comm = ("YOU BEAM A REPAIR TEAM ABOARD THE " + my_name) + " TO ASSIST IN REPAIRS..."; damage = -10; } } } if (my_target == "") { ticker = random(6); if ((_root.shipslot[ticker] != "") and (random(50) == 1)) { my_target = _root.shipslot[ticker]; } } if (my_target == "") { if (random(5) == 1) { my_target = "defiant"; } if (random(5) == 1) { my_target = "starbase"; } my_tx = 200; my_ty = random(450); } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "starbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "starbase") and (random(200) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if (((my_target == "starbase") and this.hitTest("../starbase")) and (random(500) == 1)) { my_target = ""; } if (((my_target == "defiant") and (my_tx == 200)) and (random(200) == 1)) { my_target = ""; } if (my_target != "starbase") { defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); } if (my_target == "defiant") { defx = my_tx; defy = my_ty; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } if ((((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "defiant")) and (my_target != "starbase")) { shootx = _x; shooty = _y; if (random(15) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../torp", "shot" add _root.shotname, _root.shotname); rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "starbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":energydraw", 12); } Set(("../shot" add _root.shotname) add ":torptype", 1); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } } i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.shipslot[i]; } } i++; } x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if (x == -99999) { my_target = "starbase"; } if (((Math.abs(x - _x) < 400) and (Math.abs(y - _y) < 400)) and (damage > -80)) { my_target = "estarbase"; }
Symbol 369 MovieClip Frame 3
gotoAndPlay(type); if ((damage < 0) and (random(40) == 1)) { damage++; } if (hit > 0) { damage = damage - hit; hit = 0; if (random(5) == 1) { _root.comm = ("THE " + my_name) + " IS UNDER ATTACK..."; } bar = (((100 + shielding) - Math.abs(damage)) / (100 + shielding)) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); } if (damage < (-100 - shielding)) { gotoAndPlay (4); }
Symbol 369 MovieClip Frame 10
i = 0; while (i < 11) { if (_root.fshipslot[i] == ("fship" add target)) { _root.fshipslot[i] = ""; } i++; } _root.comm = ("THE " + my_name) + " HAS BEEN DESTROYED..."; removeMovieClip("../friendlyblip" add my_blip); removeMovieClip("");
Symbol 369 MovieClip Frame 11
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { if (damage > -10) { if (_root.def == 37) { _root.comm = "CAPTAIN, WE'RE ALREADY ON THAT CLASS OF SHIP...WHY WOULD WE TRANSFER?"; } else { _root.translateswap(); _root.def = 37; _root.loadship(); type = _root.swap; } } if (damage < -10) { _root.comm = ("YOU BEAM A REPAIR TEAM ABOARD THE " + my_name) + " TO ASSIST IN REPAIRS..."; damage = -10; } } } if (my_target == "") { ticker = random(6); if ((_root.shipslot[ticker] != "") and (random(50) == 1)) { my_target = _root.shipslot[ticker]; } } if (my_target == "") { if (random(5) == 1) { my_target = "defiant"; } if (random(5) == 1) { my_target = "starbase"; } my_tx = 200; my_ty = random(450); } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "starbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "starbase") and (random(200) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if (((my_target == "starbase") and this.hitTest("../starbase")) and (random(500) == 1)) { my_target = ""; } if (((my_target == "defiant") and (my_tx == 200)) and (random(200) == 1)) { my_target = ""; } if (my_target != "starbase") { defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); } if (my_target == "defiant") { defx = my_tx; defy = my_ty; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } if ((((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "defiant")) and (my_target != "starbase")) { shootx = _x; shooty = _y; if (random(15) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../torp", "shot" add _root.shotname, _root.shotname); rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "starbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":energydraw", 12); } Set(("../shot" add _root.shotname) add ":torptype", 1); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } } i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.shipslot[i]; } } i++; } x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if (x == -99999) { my_target = "estarbase"; } if (x == -99999) { my_target = "starbase"; } if (((Math.abs(x - _x) < 400) and (Math.abs(y - _y) < 400)) and (damage > -180)) { my_target = "estarbase"; }
Symbol 369 MovieClip Frame 12
gotoAndPlay(type); if ((damage < 0) and (random(40) == 1)) { damage++; } if (hit > 0) { damage = damage - hit; hit = 0; if (random(5) == 1) { _root.comm = ("THE " + my_name) + " IS UNDER ATTACK..."; } bar = (((200 + shielding) - Math.abs(damage)) / (200 + shielding)) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); } if (damage < (-200 - shielding)) { gotoAndPlay (13); }
Symbol 369 MovieClip Frame 19
i = 0; while (i < 11) { if (_root.fshipslot[i] == ("fship" add target)) { _root.fshipslot[i] = ""; } i++; } _root.comm = ("THE " + my_name) + " HAS BEEN DESTROYED..."; removeMovieClip("../friendlyblip" add my_blip); removeMovieClip("");
Symbol 369 MovieClip Frame 20
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { if (damage > -10) { if (_root.def == 73) { _root.comm = "CAPTAIN, WE'RE ALREADY ON THAT CLASS OF SHIP...WHY WOULD WE TRANSFER?"; } else { _root.translateswap(); _root.def = 73; _root.loadship(); type = _root.swap; } } if (damage < -10) { _root.comm = ("YOU BEAM A REPAIR TEAM ABOARD THE " + my_name) + " TO ASSIST IN REPAIRS..."; damage = -10; } } } if (my_target == "") { ticker = random(6); if ((_root.shipslot[ticker] != "") and (random(50) == 1)) { my_target = _root.shipslot[ticker]; } } if (my_target == "") { if (random(5) == 1) { my_target = "defiant"; } if (random(5) == 1) { my_target = "starbase"; } my_tx = 200; my_ty = random(450); } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "starbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "starbase") and (random(200) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if (((my_target == "starbase") and this.hitTest("../starbase")) and (random(500) == 1)) { my_target = ""; } if (((my_target == "defiant") and (my_tx == 200)) and (random(200) == 1)) { my_target = ""; } if (my_target != "starbase") { defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); } if (my_target == "defiant") { defx = my_tx; defy = my_ty; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } if ((((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "defiant")) and (my_target != "starbase")) { shootx = _x; shooty = _y; if (random(15) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../torp", "shot" add _root.shotname, _root.shotname); rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "starbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":energydraw", 12); } Set(("../shot" add _root.shotname) add ":torptype", 1); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } } i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.shipslot[i]; } } i++; } x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if (x == -99999) { my_target = "starbase"; } if (((Math.abs(x - _x) < 400) and (Math.abs(y - _y) < 400)) and (damage > -180)) { my_target = "estarbase"; }
Symbol 369 MovieClip Frame 21
gotoAndPlay(type); if ((damage < 0) and (random(40) == 1)) { damage++; } if (hit > 0) { damage = damage - hit; hit = 0; if (random(5) == 1) { _root.comm = ("THE " + my_name) + " IS UNDER ATTACK..."; } bar = (((200 + shielding) - Math.abs(damage)) / (200 + shielding)) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); } if (damage < (-200 - shielding)) { gotoAndPlay (22); }
Symbol 369 MovieClip Frame 28
i = 0; while (i < 11) { if (_root.fshipslot[i] == ("fship" add target)) { _root.fshipslot[i] = ""; } i++; } _root.comm = ("THE " + my_name) + " HAS BEEN DESTROYED..."; removeMovieClip("../friendlyblip" add my_blip); removeMovieClip("");
Symbol 369 MovieClip Frame 29
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { if (damage > -10) { if (_root.def == 145) { _root.comm = "CAPTAIN, WE'RE ALREADY ON THAT CLASS OF SHIP...WHY WOULD WE TRANSFER?"; } else { _root.translateswap(); _root.def = 145; _root.loadship(); type = _root.swap; } } if (damage < -10) { _root.comm = ("YOU BEAM A REPAIR TEAM ABOARD THE " + my_name) + " TO ASSIST IN REPAIRS..."; damage = -10; } } } if (my_target == "") { ticker = random(6); if ((_root.shipslot[ticker] != "") and (random(50) == 1)) { my_target = _root.shipslot[ticker]; } } if (my_target == "") { if (random(5) == 1) { my_target = "defiant"; } if (random(5) == 1) { my_target = "starbase"; } my_tx = 200; my_ty = random(450); } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "starbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "starbase") and (random(200) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if (((my_target == "starbase") and this.hitTest("../starbase")) and (random(500) == 1)) { my_target = ""; } if (((my_target == "defiant") and (my_tx == 200)) and (random(200) == 1)) { my_target = ""; } if (my_target != "starbase") { defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); } if (my_target == "defiant") { defx = my_tx; defy = my_ty; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } if ((((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "defiant")) and (my_target != "starbase")) { shootx = _x; shooty = _y; if (random(15) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../torp", "shot" add _root.shotname, _root.shotname); rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "starbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":energydraw", 12); } Set(("../shot" add _root.shotname) add ":torptype", 6); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } } i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.shipslot[i]; } } i++; } x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if (x == -99999) { my_target = "starbase"; } if (((Math.abs(x - _x) < 400) and (Math.abs(y - _y) < 400)) and (damage > -180)) { my_target = "estarbase"; }
Symbol 369 MovieClip Frame 30
gotoAndPlay(type); if ((damage < 0) and (random(40) == 1)) { damage++; } if (hit > 0) { damage = damage - hit; hit = 0; if (random(5) == 1) { _root.comm = ("THE " + my_name) + " IS UNDER ATTACK..."; } bar = (((200 + shielding) - Math.abs(damage)) / (200 + shielding)) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); } if (damage < (-200 - shielding)) { gotoAndPlay (31); }
Symbol 369 MovieClip Frame 37
i = 0; while (i < 11) { if (_root.fshipslot[i] == ("fship" add target)) { _root.fshipslot[i] = ""; } i++; } _root.comm = ("THE " + my_name) + " HAS BEEN DESTROYED..."; removeMovieClip("../friendlyblip" add my_blip); removeMovieClip("");
Symbol 369 MovieClip Frame 38
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { if (damage > -10) { if (_root.def == 181) { _root.comm = "CAPTAIN, WE'RE ALREADY ON THAT CLASS OF SHIP...WHY WOULD WE TRANSFER?"; } else { _root.translateswap(); _root.def = 181; _root.loadship(); type = _root.swap; } } if (damage < -10) { _root.comm = ("YOU BEAM A REPAIR TEAM ABOARD THE " + my_name) + " TO ASSIST IN REPAIRS..."; damage = -10; } } } if (my_target == "") { ticker = random(6); if ((_root.shipslot[ticker] != "") and (random(50) == 1)) { my_target = _root.shipslot[ticker]; } } if (my_target == "") { if (random(5) == 1) { my_target = "defiant"; } if (random(5) == 1) { my_target = "starbase"; } my_tx = 200; my_ty = random(450); } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "starbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "starbase") and (random(200) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if (((my_target == "starbase") and this.hitTest("../starbase")) and (random(500) == 1)) { my_target = ""; } if (((my_target == "defiant") and (my_tx == 200)) and (random(200) == 1)) { my_target = ""; } if (my_target != "starbase") { defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); } if (my_target == "defiant") { defx = my_tx; defy = my_ty; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } if ((((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "defiant")) and (my_target != "starbase")) { shootx = _x; shooty = _y; if (random(15) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../torp", "shot" add _root.shotname, _root.shotname); rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "starbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":energydraw", 12); } Set(("../shot" add _root.shotname) add ":torptype", 6); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } } i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.shipslot[i]; } } i++; } x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if (x == -99999) { my_target = "starbase"; } if (((Math.abs(x - _x) < 400) and (Math.abs(y - _y) < 400)) and (damage > -220)) { my_target = "estarbase"; }
Symbol 369 MovieClip Frame 39
gotoAndPlay(type); if ((damage < 0) and (random(40) == 1)) { damage++; } if (hit > 0) { damage = damage - hit; hit = 0; if (random(5) == 1) { _root.comm = ("THE " + my_name) + " IS UNDER ATTACK..."; } bar = (((250 + shielding) - Math.abs(damage)) / (250 + shielding)) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); } if (damage < (-250 - shielding)) { gotoAndPlay (40); }
Symbol 369 MovieClip Frame 46
i = 0; while (i < 11) { if (_root.fshipslot[i] == ("fship" add target)) { _root.fshipslot[i] = ""; } i++; } _root.comm = ("THE " + my_name) + " HAS BEEN DESTROYED..."; removeMovieClip("../friendlyblip" add my_blip); removeMovieClip("");
Symbol 369 MovieClip Frame 47
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { if (damage > -10) { if (_root.def == 380) { _root.comm = "CAPTAIN, WE'RE ALREADY ON THAT CLASS OF SHIP...WHY WOULD WE TRANSFER?"; } else { _root.translateswap(); _root.def = 380; _root.loadship(); type = _root.swap; } } if (damage < -10) { _root.comm = ("YOU BEAM A REPAIR TEAM ABOARD THE " + my_name) + " TO ASSIST IN REPAIRS..."; damage = -10; } } } if (my_target == "") { ticker = random(6); if ((_root.shipslot[ticker] != "") and (random(50) == 1)) { my_target = _root.shipslot[ticker]; } } if (my_target == "") { if (random(5) == 1) { my_target = "defiant"; } if (random(5) == 1) { my_target = "starbase"; } my_tx = 200; my_ty = random(450); } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "starbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "starbase") and (random(200) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if (((my_target == "starbase") and this.hitTest("../starbase")) and (random(500) == 1)) { my_target = ""; } if (((my_target == "defiant") and (my_tx == 200)) and (random(200) == 1)) { my_target = ""; } if (my_target != "starbase") { defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); } if (my_target == "defiant") { defx = my_tx; defy = my_ty; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } if ((((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "defiant")) and (my_target != "starbase")) { shootx = _x; shooty = _y; if (random(15) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../torp", "shot" add _root.shotname, _root.shotname); rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "starbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":energydraw", 12); } Set(("../shot" add _root.shotname) add ":torptype", 11); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } } i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.shipslot[i]; } } i++; } x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if (x == -99999) { my_target = "starbase"; } if (((Math.abs(x - _x) < 400) and (Math.abs(y - _y) < 400)) and (damage > -280)) { my_target = "estarbase"; }
Symbol 369 MovieClip Frame 48
gotoAndPlay(type); if ((damage < 0) and (random(40) == 1)) { damage++; } if (hit > 0) { damage = damage - hit; hit = 0; if (random(5) == 1) { _root.comm = ("THE " + my_name) + " IS UNDER ATTACK..."; } bar = (((300 + shielding) - Math.abs(damage)) / (300 + shielding)) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); } if (damage < (-300 - shielding)) { gotoAndPlay (49); }
Symbol 369 MovieClip Frame 55
i = 0; while (i < 11) { if (_root.fshipslot[i] == ("fship" add target)) { _root.fshipslot[i] = ""; } i++; } _root.comm = ("THE " + my_name) + " HAS BEEN DESTROYED..."; removeMovieClip("../friendlyblip" add my_blip); removeMovieClip("");
Symbol 369 MovieClip Frame 56
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { if (damage > -10) { if (_root.def == 217) { _root.comm = "CAPTAIN, WE'RE ALREADY ON THAT CLASS OF SHIP...WHY WOULD WE TRANSFER?"; } else { _root.translateswap(); _root.def = 217; _root.loadship(); type = _root.swap; } } if (damage < -10) { _root.comm = ("YOU BEAM A REPAIR TEAM ABOARD THE " + my_name) + " TO ASSIST IN REPAIRS..."; damage = -10; } } } if (my_target == "") { ticker = random(6); if ((_root.shipslot[ticker] != "") and (random(50) == 1)) { my_target = _root.shipslot[ticker]; } } if (my_target == "") { if (random(5) == 1) { my_target = "defiant"; } if (random(5) == 1) { my_target = "starbase"; } my_tx = 200; my_ty = random(450); } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "starbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "starbase") and (random(200) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if (((my_target == "starbase") and this.hitTest("../starbase")) and (random(500) == 1)) { my_target = ""; } if (((my_target == "defiant") and (my_tx == 200)) and (random(200) == 1)) { my_target = ""; } if (my_target != "starbase") { defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); } if (my_target == "defiant") { defx = my_tx; defy = my_ty; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } if ((((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "defiant")) and (my_target != "starbase")) { shootx = _x; shooty = _y; if (random(15) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../torp", "shot" add _root.shotname, _root.shotname); rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "starbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":energydraw", 12); } Set(("../shot" add _root.shotname) add ":torptype", 6); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } } i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.shipslot[i]; } } i++; } x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if (x == -99999) { my_target = "starbase"; } if (((Math.abs(x - _x) < 400) and (Math.abs(y - _y) < 400)) and (damage > -370)) { my_target = "estarbase"; }
Symbol 369 MovieClip Frame 57
gotoAndPlay(type); if ((damage < 0) and (random(40) == 1)) { damage++; } if (hit > 0) { damage = damage - hit; hit = 0; if (random(5) == 1) { _root.comm = ("THE " + my_name) + " IS UNDER ATTACK..."; } bar = (((400 + shielding) - Math.abs(damage)) / (400 + shielding)) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); } if (damage < (-400 - shielding)) { gotoAndPlay (58); }
Symbol 369 MovieClip Frame 64
i = 0; while (i < 11) { if (_root.fshipslot[i] == ("fship" add target)) { _root.fshipslot[i] = ""; } i++; } _root.comm = ("THE " + my_name) + " HAS BEEN DESTROYED..."; removeMovieClip("../friendlyblip" add my_blip); removeMovieClip("");
Symbol 369 MovieClip Frame 65
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { if (damage > -10) { if (_root.def == 253) { _root.comm = "CAPTAIN, WE'RE ALREADY ON THAT CLASS OF SHIP...WHY WOULD WE TRANSFER?"; } else { _root.translateswap(); _root.def = 253; _root.loadship(); type = _root.swap; } } if (damage < -10) { _root.comm = ("YOU BEAM A REPAIR TEAM ABOARD THE " + my_name) + " TO ASSIST IN REPAIRS..."; damage = -10; } } } if (my_target == "") { ticker = random(6); if ((_root.shipslot[ticker] != "") and (random(50) == 1)) { my_target = _root.shipslot[ticker]; } } if (my_target == "") { if (random(5) == 1) { my_target = "defiant"; } if (random(5) == 1) { my_target = "starbase"; } my_tx = 200; my_ty = random(450); } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "starbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "starbase") and (random(200) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if (((my_target == "starbase") and this.hitTest("../starbase")) and (random(500) == 1)) { my_target = ""; } if (((my_target == "defiant") and (my_tx == 200)) and (random(200) == 1)) { my_target = ""; } if (my_target != "starbase") { defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); } if (my_target == "defiant") { defx = my_tx; defy = my_ty; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } if ((((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "defiant")) and (my_target != "starbase")) { shootx = _x; shooty = _y; if (random(15) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../torp", "shot" add _root.shotname, _root.shotname); rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "starbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":energydraw", 12); } Set(("../shot" add _root.shotname) add ":torptype", 11); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } } i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.shipslot[i]; } } i++; } x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if (x == -99999) { my_target = "starbase"; } if (((Math.abs(x - _x) < 400) and (Math.abs(y - _y) < 400)) and (damage > -480)) { my_target = "estarbase"; }
Symbol 369 MovieClip Frame 66
gotoAndPlay(type); if ((damage < 0) and (random(40) == 1)) { damage++; } if (hit > 0) { damage = damage - hit; hit = 0; if (random(5) == 1) { _root.comm = ("THE " + my_name) + " IS UNDER ATTACK..."; } bar = (((500 + shielding) - Math.abs(damage)) / (500 + shielding)) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); } if (damage < (-500 - shielding)) { gotoAndPlay (67); }
Symbol 369 MovieClip Frame 73
i = 0; while (i < 11) { if (_root.fshipslot[i] == ("fship" add target)) { _root.fshipslot[i] = ""; } i++; } _root.comm = ("THE " + my_name) + " HAS BEEN DESTROYED..."; removeMovieClip("../friendlyblip" add my_blip); removeMovieClip("");
Symbol 369 MovieClip Frame 74
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { if (damage > -10) { if (_root.def == 109) { _root.comm = "CAPTAIN, WE'RE ALREADY ON THAT CLASS OF SHIP...WHY WOULD WE TRANSFER?"; } else { _root.translateswap(); _root.def = 109; _root.loadship(); type = _root.swap; } } if (damage < -10) { _root.comm = ("YOU BEAM A REPAIR TEAM ABOARD THE " + my_name) + " TO ASSIST IN REPAIRS..."; damage = -10; } } } if (my_target == "") { ticker = random(6); if ((_root.shipslot[ticker] != "") and (random(50) == 1)) { my_target = _root.shipslot[ticker]; } } if (my_target == "") { if (random(5) == 1) { my_target = "defiant"; } if (random(5) == 1) { my_target = "starbase"; } my_tx = 200; my_ty = random(450); } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "starbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "starbase") and (random(200) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if (((my_target == "starbase") and this.hitTest("../starbase")) and (random(500) == 1)) { my_target = ""; } if (((my_target == "defiant") and (my_tx == 200)) and (random(200) == 1)) { my_target = ""; } if (my_target != "starbase") { defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); } if (my_target == "defiant") { defx = my_tx; defy = my_ty; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } if ((((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "defiant")) and (my_target != "starbase")) { shootx = _x; shooty = _y; if (random(15) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../torp", "shot" add _root.shotname, _root.shotname); rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "starbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":energydraw", 12); } Set(("../shot" add _root.shotname) add ":torptype", 11); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } } i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.shipslot[i]; } } i++; } x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if (x == -99999) { my_target = "starbase"; } if (((Math.abs(x - _x) < 400) and (Math.abs(y - _y) < 400)) and (damage > -180)) { my_target = "estarbase"; }
Symbol 369 MovieClip Frame 75
gotoAndPlay(type); if ((damage < 0) and (random(40) == 1)) { damage++; } if (hit > 0) { damage = damage - hit; hit = 0; if (random(5) == 1) { _root.comm = ("THE " + my_name) + " IS UNDER ATTACK..."; } bar = (((200 + shielding) - Math.abs(damage)) / (200 + shielding)) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); } if (damage < (-200 - shielding)) { gotoAndPlay (67); }
Symbol 369 MovieClip Frame 82
i = 0; while (i < 11) { if (_root.fshipslot[i] == ("fship" add target)) { _root.fshipslot[i] = ""; } i++; } _root.comm = ("THE " + my_name) + " HAS BEEN DESTROYED..."; removeMovieClip("../friendlyblip" add my_blip); removeMovieClip("");
Symbol 369 MovieClip Frame 83
if (Key.isDown(35)) { if (this.hitTest("../defiant")) { if (damage > -10) { if (_root.def == 411) { _root.comm = "CAPTAIN, WE'RE ALREADY ON THAT CLASS OF SHIP...WHY WOULD WE TRANSFER?"; } else { _root.translateswap(); _root.def = 411; _root.loadship(); type = _root.swap; } } if (damage < -10) { _root.comm = ("YOU BEAM A REPAIR TEAM ABOARD THE " + my_name) + " TO ASSIST IN REPAIRS..."; damage = -10; } } } if (my_target == "") { ticker = random(6); if ((_root.shipslot[ticker] != "") and (random(50) == 1)) { my_target = _root.shipslot[ticker]; } } if (my_target == "") { if (random(5) == 1) { my_target = "defiant"; } if (random(5) == 1) { my_target = "starbase"; } my_tx = 200; my_ty = random(450); } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "starbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "starbase") and (random(200) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if (((my_target == "starbase") and this.hitTest("../starbase")) and (random(500) == 1)) { my_target = ""; } if (((my_target == "defiant") and (my_tx == 200)) and (random(200) == 1)) { my_target = ""; } if (my_target != "starbase") { defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); } if (my_target == "defiant") { defx = my_tx; defy = my_ty; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } if ((((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "defiant")) and (my_target != "starbase")) { shootx = _x; shooty = _y; if (random(15) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../torp", "shot" add _root.shotname, _root.shotname); rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if (((my_target != "defiant") and (my_target != "starbase")) and (random(5) == 1)) { Set(("../" add my_target) add ":energydraw", 12); } Set(("../shot" add _root.shotname) add ":torptype", 11); Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } } i = 0; while (i < 10) { if (_root.shipslot[i] != "") { slot = "../" add _root.shipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.shipslot[i]; } } i++; } x = getProperty("../estarbase", _x); y = getProperty("../estarbase", _y); if (x == -99999) { my_target = "starbase"; } if (((Math.abs(x - _x) < 400) and (Math.abs(y - _y) < 400)) and (damage > -480)) { my_target = "estarbase"; }
Symbol 369 MovieClip Frame 84
gotoAndPlay(type); if ((damage < 0) and (random(40) == 1)) { damage++; } if (hit > 0) { damage = damage - hit; hit = 0; if (random(5) == 1) { _root.comm = ("THE " + my_name) + " IS UNDER ATTACK..."; } bar = (((500 + shielding) - Math.abs(damage)) / (500 + shielding)) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); } if (damage < (-500 - shielding)) { gotoAndPlay (67); }
Symbol 369 MovieClip Frame 91
i = 0; while (i < 11) { if (_root.fshipslot[i] == ("fship" add target)) { _root.fshipslot[i] = ""; } i++; } _root.comm = ("THE " + my_name) + " HAS BEEN DESTROYED..."; removeMovieClip("../friendlyblip" add my_blip); removeMovieClip("");
Symbol 406 MovieClip Frame 3
gotoAndPlay(_root.def);
Symbol 406 MovieClip Frame 39
gotoAndPlay(_root.def);
Symbol 406 MovieClip Frame 75
gotoAndPlay(_root.def);
Symbol 406 MovieClip Frame 111
gotoAndPlay(_root.def);
Symbol 406 MovieClip Frame 147
gotoAndPlay(_root.def);
Symbol 406 MovieClip Frame 183
gotoAndPlay(_root.def);
Symbol 406 MovieClip Frame 219
gotoAndPlay(_root.def);
Symbol 406 MovieClip Frame 255
gotoAndPlay(_root.def);
Symbol 406 MovieClip Frame 291
gotoAndPlay(_root.def);
Symbol 406 MovieClip Frame 327
gotoAndPlay(_root.def);
Symbol 406 MovieClip Frame 382
gotoAndPlay(_root.def);
Symbol 406 MovieClip Frame 413
gotoAndPlay(_root.def);
Symbol 411 MovieClip Frame 1
if ((_root.step >= 6) and (_root.step < 9)) { gotoAndPlay (3); } if (_root.ephaseraway > 0) { _x = (myx + random(5)); _y = (myy + random(5)); x = getProperty(target, _x); y = getProperty(target, _y); _xscale = (x - 260); _yscale = (y - 195); _root.ephaseraway = _root.ephaseraway - 1; if (_root.ephaseraway < 1) { _x = -999; _root.ephaseraway = 0; } }
Symbol 411 MovieClip Frame 2
gotoAndPlay (1);
Symbol 411 MovieClip Frame 3
if ((_root.step < 6) and (_root.step > 9)) { gotoAndPlay (1); } if (_root.ephaseraway > 0) { _x = (myx + random(5)); _y = (myy + random(5)); x = getProperty(target, _x); y = getProperty(target, _y); _xscale = (x - 260); _yscale = (y - 195); _root.ephaseraway = _root.ephaseraway - 1; if (_root.ephaseraway < 1) { _x = -999; _root.ephaseraway = 0; } }
Symbol 411 MovieClip Frame 4
gotoAndPlay (3);
Symbol 413 Button
on (release) { if (_root.cheatbox == "makenx") { _root.def = 1; } if (_root.cheatbox == "makedaed") { _root.def = 37; } if (_root.cheatbox == "makeconst") { _root.def = 73; } if (_root.cheatbox == "makeconstre") { _root.def = 145; } if (_root.cheatbox == "makeexc") { _root.def = 181; } if (_root.cheatbox == "makegal") { _root.def = 217; } if (_root.cheatbox == "makesov") { _root.def = 253; } if (_root.cheatbox == "makeneb") { _root.def = 289; } if (_root.cheatbox == "makerom") { _root.def = 109; } if (_root.cheatbox == "makeakir") { _root.def = 380; } if (_root.cheatbox == "makewarbird") { _root.def = 411; } if (_root.cheatbox == "activatecloak") { _root.centerbutton = "CLOAK"; } if (_root.cheatbox == "activatearmor") { _root.def = 289; _root.centerbutton = "ARMOR"; } if (_root.cheatbox == "supershields") { _root.shieldstrength = 5000; _root.tot_shields = 5000; _root.shields = 0; } if (_root.cheatbox == "destroybase") { Set("estarbase:myenergy", -10); } if (_root.cheatbox == "getdrunk") { _root.ale = 1; } if (_root.cheatbox == "soberup") { _root.ale = 0; } if (_root.cheatbox == "stepit") { _root.step = _root.step + 1; _root.comm = _root.step; } if (_root.cheatbox == "stepback") { _root.step = _root.step - 1; _root.comm = _root.step; } if (_root.cheatbox == "rich") { _root.dilithium = 2000; _root.deuranium = 2000; } if (_root.cheatbox == "buildenemy") { _root.createnewenemy(); } if (_root.cheatbox == "buildfriendly") { _root.createfriendly(); } if (_root.cheatbox == "loadera") { _root.loadera(); } if (_root.cheatbox == "buildasteroid") { _root.makeasteroid(); } if (_root.cheatbox == "suicide") { _root.hull = 0; } if (_root.cheatbox == "energetic") { _root.energy = 10000; } if (_root.cheatbox == "megaphasers") { _root.tot_phaser = 500; } if (_root.cheatbox == "activatelance") { _root.centerbutton = "LANCE"; } _root.cheatbox = ""; }
Symbol 418 MovieClip Frame 1
if (_root.step > 5) { gotoAndPlay (3); } if (_root.phaseraway > 0) { myx = getProperty("../defiant", _x); myy = getProperty("../defiant", _y); _x = myx; _y = myy; x = getProperty(target, _x); y = getProperty(target, _y); _xscale = ((x - 260) + random(5)); _yscale = ((y - 195) + random(5)); _root.phaseraway = _root.phaseraway - 1; if (_root.phaseraway < 1) { _x = -999; _root.phaseraway = 0; } }
Symbol 418 MovieClip Frame 2
gotoAndPlay (1);
Symbol 418 MovieClip Frame 3
if (_root.step <= 5) { gotoAndPlay (1); } if (_root.phaseraway > 0) { myx = getProperty("../defiant", _x); myy = getProperty("../defiant", _y); _x = myx; _y = myy; x = getProperty(target, _x); y = getProperty(target, _y); _xscale = ((x - 260) + random(5)); _yscale = ((y - 195) + random(5)); _root.phaseraway = _root.phaseraway - 1; if (_root.phaseraway < 1) { _x = -999; _root.phaseraway = 0; } }
Symbol 418 MovieClip Frame 4
gotoAndPlay (3);
Symbol 439 MovieClip Frame 1
gotoAndPlay(item);
Symbol 439 MovieClip Frame 2
gotoAndPlay(item);
Symbol 439 MovieClip Frame 3
gotoAndPlay(item);
Symbol 439 MovieClip Frame 4
gotoAndPlay(item);
Symbol 439 MovieClip Frame 5
gotoAndPlay(item);
Symbol 439 MovieClip Frame 6
gotoAndPlay(item);
Symbol 439 MovieClip Frame 7
gotoAndPlay(item);
Symbol 439 MovieClip Frame 8
gotoAndPlay(item);
Symbol 439 MovieClip Frame 9
gotoAndPlay(item);
Symbol 439 MovieClip Frame 10
gotoAndPlay(item);
Symbol 439 MovieClip Frame 11
gotoAndPlay(item);
Symbol 439 MovieClip Frame 12
gotoAndPlay(item);
Symbol 439 MovieClip Frame 13
gotoAndPlay(item);
Symbol 439 MovieClip Frame 14
gotoAndPlay(item);
Symbol 439 MovieClip Frame 15
gotoAndPlay(item);
Symbol 439 MovieClip Frame 16
gotoAndPlay(item);
Symbol 439 MovieClip Frame 17
gotoAndPlay(item);
Symbol 439 MovieClip Frame 18
gotoAndPlay(item);
Symbol 451 MovieClip Frame 1
if (myenergy > 0) { my_target = ""; if (random(6) == 1) { my_target = "defiant"; } if (random(6) == 1) { my_target = "starbase"; } if (random(3) == 1) { my_target = "estarbase"; } cloak = 0; tot_myenergy = myenergy; if (myenergy > 0) { gotoAndPlay(shiptype); } else { gotoAndPlay (1); } } else { stop(); }
Symbol 451 MovieClip Frame 3
if (Key.isDown(35)) { if (this.hitTest("../defiant") and (myenergy <= 10)) { soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); b = random(2); if (b == 0) { _root.comm = "THE VESSEL SELF-DESTRUCTS BEFORE YOU CAN BEAM ABOARD..."; } myenergy = -10; if (b == 1) { _root.comm = "AS YOUR BOARDING PARTY BEAMS ABOARD, THE VESSEL SELF-DESTRUCTS - KILLING YOUR TEAM..."; myenergy = -10; } } } if (energydraw > 0) { myenergy = myenergy - energydraw; bar = (myenergy / tot_myenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); if ((myenergy <= 5) and (myenergy > 0)) { _root.comm = "TARGET DISABLED..."; if (cloak == 1) { cloak = 0; } } energydraw = 0; } if ((cloak == 0) and (this._alpha <= 100)) { this._alpha = this._alpha + 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if ((cloak == 1) and (this._alpha >= 0)) { this._alpha = this._alpha - 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if (myenergy > 5) { if ((cloak == 0) and (random(500) == 1)) { sx = getProperty("../estarbase", _x); sy = getProperty("../estarbase", _y); if ((Math.abs(_x - sx) > 1000) and (Math.abs(_y - sy) > 1000)) { cloak = 1; } } if ((cloak == 1) and (random(500) == 1)) { cloak = 0; } if (((myenergy < 25) and (my_target == "defiant")) and (my_target != "estarbase")) { my_target = "estarbase"; if (random(100) == 1) { cloak = 1; } } if (my_target == "") { ticker = random(6); if (_root.fshipslot[ticker] != "") { my_target = _root.fshipslot[ticker]; } } if ((my_target == "") and (random(50) == 1)) { my_target = "estarbase"; } if (((my_target == "estarbase") and this.hitTest("../estarbase")) and (random(1000) == 1)) { my_target = "defiant"; } if ((my_target == "defiant") and (_root.cloak == 1)) { my_target = ""; } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "estarbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "estarbase") and (random(300) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } } if (((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "estarbase")) { if (myenergy > 5) { shootx = _x; shooty = _y; if (random(20) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname); Set(("../shot" add _root.shotname) add ":torptype", 1); if (cloak == 1) { if (my_target == "defiant") { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } cloak = 0; } rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if ((((my_target != "defiant") and (my_target != "estarbase")) and (random(5) == 1)) and ((((_x > 600) or (_y > 600)) or (_y < 0)) or (_x < 0))) { Set(("../" add my_target) add ":hit", 30); } Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } if (((random(40) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) { if ((Math.abs(defx - _x) < 150) and (Math.abs(defy - _y) < 150)) { if (cloak == 1) { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); cloak = 0; } _root.ephaseraway = 8; _root.hitstrength = 4; _root.hit(); Set("../eline:target", this); Set("../eline:myx", defx); Set("../eline:myy", defy); Set("../eline:x", _x); Set("../eline:y", _y); soundbeep = new Sound(this); soundbeep.attachSound("def-phas"); soundbeep.start(0, 0); } } } } dx = getProperty("../defiant", _x); dy = getProperty("../defiant", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "defiant"; } dx = getProperty("../starbase", _x); dy = getProperty("../starbase", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "starbase"; } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { slot = "../" add _root.fshipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.fshipslot[i]; } } i++; } } ex = getProperty("../estarbase", _x); if (ex == -99999) { my_target = "starbase"; }
Symbol 451 MovieClip Frame 4
if (myenergy < 1) { gotoAndPlay (5); } else { gotoAndPlay (3); }
Symbol 451 MovieClip Frame 11
i = 0; while (i < 10) { if (_root.shipslot[i] == ("eship" add target)) { _root.shipslot[i] = ""; } i++; } target = target + 1; removeMovieClip("../enemyblip" add target); removeMovieClip(""); stop();
Symbol 451 MovieClip Frame 12
if (Key.isDown(35)) { if (this.hitTest("../defiant") and (myenergy <= 10)) { soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); b = random(3); if (b == 0) { _root.comm = "THE VESSEL SELF-DESTRUCTS BEFORE YOU CAN BEAM ABOARD..."; } myenergy = -10; if (b == 1) { _root.comm = "AS YOUR BOARDING PARTY BEAMS ABOARD, THE VESSEL SELF-DESTRUCTS - KILLING YOUR TEAM..."; myenergy = -10; } if (b == 2) { _root.comm = "A ROMULAN SABOTEUR SNEAKS ABOARD AND DESTROYS YOUR SHIP...SO YOU JUST TAKE THEIRS..."; _root.def = 109; _root.itemslot[6] = 17; Set("../item6:item", 17); loadship(); } } } if (energydraw > 0) { myenergy = myenergy - energydraw; bar = (myenergy / tot_myenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); if ((myenergy <= 10) and (myenergy > 0)) { _root.comm = "TARGET DISABLED..."; if (cloak == 1) { cloak = 0; } } energydraw = 0; } if ((cloak == 0) and (this._alpha <= 100)) { this._alpha = this._alpha + 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if ((cloak == 1) and (this._alpha >= 0)) { this._alpha = this._alpha - 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if (myenergy > 10) { if ((cloak == 0) and (random(500) == 1)) { sx = getProperty("../estarbase", _x); sy = getProperty("../estarbase", _y); if ((Math.abs(_x - sx) > 1000) and (Math.abs(_y - sy) > 1000)) { cloak = 1; } } if ((cloak == 1) and (random(500) == 1)) { cloak = 0; } if (((myenergy < 25) and (my_target == "defiant")) and (my_target != "estarbase")) { my_target = "estarbase"; if (random(100) == 1) { cloak = 1; } } if (my_target == "") { ticker = random(6); if (_root.fshipslot[ticker] != "") { my_target = _root.fshipslot[ticker]; } } if ((my_target == "") and (random(50) == 1)) { my_target = "estarbase"; } if (((my_target == "estarbase") and this.hitTest("../estarbase")) and (random(1000) == 1)) { my_target = "defiant"; } if ((my_target == "defiant") and (_root.cloak == 1)) { my_target = ""; } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "estarbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "estarbase") and (random(300) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } } if (((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "estarbase")) { if (myenergy > 5) { shootx = _x; shooty = _y; if (random(20) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname); Set(("../shot" add _root.shotname) add ":torptype", 1); if (cloak == 1) { if (my_target == "defiant") { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } cloak = 0; } rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if ((((my_target != "defiant") and (my_target != "estarbase")) and (random(5) == 1)) and ((((_x > 600) or (_y > 600)) or (_y < 0)) or (_x < 0))) { Set(("../" add my_target) add ":hit", 30); } Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } if (((random(40) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) { if ((Math.abs(defx - _x) < 150) and (Math.abs(defy - _y) < 150)) { if (cloak == 1) { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); cloak = 0; } _root.ephaseraway = 8; _root.hitstrength = 4; _root.hit(); Set("../eline:target", this); Set("../eline:myx", defx); Set("../eline:myy", defy); Set("../eline:x", _x); Set("../eline:y", _y); soundbeep = new Sound(this); soundbeep.attachSound("def-phas"); soundbeep.start(0, 0); } } } } dx = getProperty("../defiant", _x); dy = getProperty("../defiant", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "defiant"; } dx = getProperty("../starbase", _x); dy = getProperty("../starbase", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "starbase"; } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { slot = "../" add _root.fshipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.fshipslot[i]; } } i++; } } ex = getProperty("../estarbase", _x); if (ex == -99999) { my_target = "starbase"; }
Symbol 451 MovieClip Frame 13
if (myenergy < 1) { gotoAndPlay (14); } else { gotoAndPlay (12); }
Symbol 451 MovieClip Frame 20
i = 0; while (i < 10) { if (_root.shipslot[i] == ("eship" add target)) { _root.shipslot[i] = ""; } i++; } target = target + 1; removeMovieClip("../enemyblip" add target); removeMovieClip(""); stop();
Symbol 451 MovieClip Frame 21
if (Key.isDown(35)) { if (this.hitTest("../defiant") and (myenergy <= 10)) { soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); b = random(2); if (b == 0) { _root.comm = "THE VESSEL SELF-DESTRUCTS BEFORE YOU CAN BEAM ABOARD..."; } myenergy = -10; if (b == 1) { _root.comm = "AS YOUR BOARDING PARTY BEAMS ABOARD, THE VESSEL SELF-DESTRUCTS - KILLING YOUR TEAM..."; myenergy = -10; } } } if (energydraw > 0) { myenergy = myenergy - energydraw; bar = (myenergy / tot_myenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); if ((myenergy <= 5) and (myenergy > 0)) { _root.comm = "TARGET DISABLED..."; if (cloak == 1) { cloak = 0; } } energydraw = 0; } if ((cloak == 0) and (this._alpha <= 100)) { this._alpha = this._alpha + 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if ((cloak == 1) and (this._alpha >= 0)) { this._alpha = this._alpha - 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if (myenergy > 5) { if ((cloak == 0) and (random(500) == 1)) { sx = getProperty("../estarbase", _x); sy = getProperty("../estarbase", _y); if ((Math.abs(_x - sx) > 1000) and (Math.abs(_y - sy) > 1000)) { cloak = 1; } } if ((cloak == 1) and (random(500) == 1)) { cloak = 0; } if (((myenergy < 25) and (my_target == "defiant")) and (my_target != "estarbase")) { my_target = "estarbase"; if (random(100) == 1) { cloak = 1; } } if (my_target == "") { ticker = random(6); if (_root.fshipslot[ticker] != "") { my_target = _root.fshipslot[ticker]; } } if ((my_target == "") and (random(50) == 1)) { my_target = "estarbase"; } if (((my_target == "estarbase") and this.hitTest("../estarbase")) and (random(1000) == 1)) { my_target = "defiant"; } if ((my_target == "defiant") and (_root.cloak == 1)) { my_target = ""; } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "estarbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "estarbase") and (random(300) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } } if (((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "estarbase")) { if (myenergy > 5) { shootx = _x; shooty = _y; if (random(20) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname); Set(("../shot" add _root.shotname) add ":torptype", 6); if (cloak == 1) { if (my_target == "defiant") { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } cloak = 0; } rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if ((((my_target != "defiant") and (my_target != "estarbase")) and (random(5) == 1)) and ((((_x > 600) or (_y > 600)) or (_y < 0)) or (_x < 0))) { Set(("../" add my_target) add ":hit", 30); } Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } if (((random(40) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) { if ((Math.abs(defx - _x) < 150) and (Math.abs(defy - _y) < 150)) { if (cloak == 1) { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); cloak = 0; } _root.ephaseraway = 8; _root.hitstrength = 4; _root.hit(); Set("../eline:target", this); Set("../eline:myx", defx); Set("../eline:myy", defy); Set("../eline:x", _x); Set("../eline:y", _y); soundbeep = new Sound(this); soundbeep.attachSound("def-phas"); soundbeep.start(0, 0); } } } } dx = getProperty("../defiant", _x); dy = getProperty("../defiant", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "defiant"; } dx = getProperty("../starbase", _x); dy = getProperty("../starbase", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "starbase"; } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { slot = "../" add _root.fshipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.fshipslot[i]; } } i++; } } ex = getProperty("../estarbase", _x); if (ex == -99999) { my_target = "starbase"; }
Symbol 451 MovieClip Frame 22
if (myenergy < 1) { gotoAndPlay (23); } else { gotoAndPlay (21); }
Symbol 451 MovieClip Frame 29
i = 0; while (i < 10) { if (_root.shipslot[i] == ("eship" add target)) { _root.shipslot[i] = ""; } i++; } target = target + 1; removeMovieClip("../enemyblip" add target); removeMovieClip(""); stop();
Symbol 451 MovieClip Frame 30
if (Key.isDown(35)) { if (this.hitTest("../defiant") and (myenergy <= 10)) { soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); b = random(2); if (b == 0) { _root.comm = "THE VESSEL SELF-DESTRUCTS BEFORE YOU CAN BEAM ABOARD..."; } myenergy = -10; if (b == 1) { _root.comm = "AS YOUR BOARDING PARTY BEAMS ABOARD, THE VESSEL SELF-DESTRUCTS - KILLING YOUR TEAM..."; myenergy = -10; } } } if (energydraw > 0) { myenergy = myenergy - energydraw; bar = (myenergy / tot_myenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); if ((myenergy <= 5) and (myenergy > 0)) { _root.comm = "TARGET DISABLED..."; if (cloak == 1) { cloak = 0; } } energydraw = 0; } if ((cloak == 0) and (this._alpha <= 100)) { this._alpha = this._alpha + 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if ((cloak == 1) and (this._alpha >= 0)) { this._alpha = this._alpha - 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if (myenergy > 5) { if ((cloak == 0) and (random(500) == 1)) { sx = getProperty("../estarbase", _x); sy = getProperty("../estarbase", _y); if ((Math.abs(_x - sx) > 1000) and (Math.abs(_y - sy) > 1000)) { cloak = 1; } } if ((cloak == 1) and (random(500) == 1)) { cloak = 0; } if (((myenergy < 25) and (my_target == "defiant")) and (my_target != "estarbase")) { my_target = "estarbase"; if (random(100) == 1) { cloak = 1; } } if (my_target == "") { ticker = random(6); if (_root.fshipslot[ticker] != "") { my_target = _root.fshipslot[ticker]; } } if ((my_target == "") and (random(50) == 1)) { my_target = "estarbase"; } if (((my_target == "estarbase") and this.hitTest("../estarbase")) and (random(1000) == 1)) { my_target = "defiant"; } if ((my_target == "defiant") and (_root.cloak == 1)) { my_target = ""; } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "estarbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "estarbase") and (random(300) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } } if (((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "estarbase")) { if (myenergy > 5) { shootx = _x; shooty = _y; if (random(20) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname); Set(("../shot" add _root.shotname) add ":torptype", 11); if (cloak == 1) { if (my_target == "defiant") { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } cloak = 0; } rotation = _rotation + 90; rotation = rotation + random(10); rotation = rotation - random(10); soundbeep = new Sound(this); soundbeep.attachSound("ephas"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if ((((my_target != "defiant") and (my_target != "estarbase")) and (random(5) == 1)) and ((((_x > 600) or (_y > 600)) or (_y < 0)) or (_x < 0))) { Set(("../" add my_target) add ":hit", 20); } Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } } } dx = getProperty("../defiant", _x); dy = getProperty("../defiant", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "defiant"; } dx = getProperty("../starbase", _x); dy = getProperty("../starbase", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "starbase"; } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { slot = "../" add _root.fshipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.fshipslot[i]; } } i++; } } ex = getProperty("../estarbase", _x); if (ex == -99999) { my_target = "starbase"; }
Symbol 451 MovieClip Frame 31
if (myenergy < 1) { gotoAndPlay (32); } else { gotoAndPlay (30); }
Symbol 451 MovieClip Frame 38
i = 0; while (i < 10) { if (_root.shipslot[i] == ("eship" add target)) { _root.shipslot[i] = ""; } i++; } target = target + 1; removeMovieClip("../enemyblip" add target); removeMovieClip(""); stop();
Symbol 451 MovieClip Frame 40
if (Key.isDown(35)) { if (this.hitTest("../defiant") and (myenergy <= 10)) { soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); b = random(2); if (b == 0) { _root.comm = "THE VESSEL SELF-DESTRUCTS BEFORE YOU CAN BEAM ABOARD..."; } myenergy = -10; if (b == 1) { _root.comm = "AS YOUR BOARDING PARTY BEAMS ABOARD, THE VESSEL SELF-DESTRUCTS - KILLING YOUR TEAM..."; myenergy = -10; } } } if (energydraw > 0) { myenergy = myenergy - energydraw; bar = (myenergy / tot_myenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); if ((myenergy <= 5) and (myenergy > 0)) { _root.comm = "TARGET DISABLED..."; if (cloak == 1) { cloak = 0; } } energydraw = 0; } if ((cloak == 0) and (this._alpha <= 100)) { this._alpha = this._alpha + 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if ((cloak == 1) and (this._alpha >= 0)) { this._alpha = this._alpha - 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if (myenergy > 5) { if ((cloak == 0) and (random(500) == 1)) { sx = getProperty("../estarbase", _x); sy = getProperty("../estarbase", _y); if ((Math.abs(_x - sx) > 1000) and (Math.abs(_y - sy) > 1000)) { cloak = 1; } } if ((cloak == 1) and (random(500) == 1)) { cloak = 0; } if (((myenergy < 25) and (my_target == "defiant")) and (my_target != "estarbase")) { my_target = "estarbase"; if (random(100) == 1) { cloak = 1; } } if (my_target == "") { ticker = random(6); if (_root.fshipslot[ticker] != "") { my_target = _root.fshipslot[ticker]; } } if ((my_target == "") and (random(50) == 1)) { my_target = "estarbase"; } if (((my_target == "estarbase") and this.hitTest("../estarbase")) and (random(1000) == 1)) { my_target = "defiant"; } if ((my_target == "defiant") and (_root.cloak == 1)) { my_target = ""; } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "estarbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "estarbase") and (random(300) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } } if (((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "estarbase")) { if (myenergy > 5) { shootx = _x; shooty = _y; if (random(20) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname); Set(("../shot" add _root.shotname) add ":torptype", 16); if (cloak == 1) { if (my_target == "defiant") { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } cloak = 0; } rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if ((((my_target != "defiant") and (my_target != "estarbase")) and (random(5) == 1)) and ((((_x > 600) or (_y > 600)) or (_y < 0)) or (_x < 0))) { Set(("../" add my_target) add ":hit", 30); } Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } if (((random(40) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) { if ((Math.abs(defx - _x) < 150) and (Math.abs(defy - _y) < 150)) { if (cloak == 1) { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); cloak = 0; } _root.ephaseraway = 8; _root.hitstrength = 4; _root.hit(); Set("../eline:target", this); Set("../eline:myx", defx); Set("../eline:myy", defy); Set("../eline:x", _x); Set("../eline:y", _y); soundbeep = new Sound(this); soundbeep.attachSound("def-phas"); soundbeep.start(0, 0); } } } } dx = getProperty("../defiant", _x); dy = getProperty("../defiant", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "defiant"; } dx = getProperty("../starbase", _x); dy = getProperty("../starbase", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "starbase"; } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { slot = "../" add _root.fshipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.fshipslot[i]; } } i++; } } ex = getProperty("../estarbase", _x); if (ex == -99999) { my_target = "starbase"; }
Symbol 451 MovieClip Frame 41
if (myenergy < 1) { gotoAndPlay (42); } else { gotoAndPlay (40); }
Symbol 451 MovieClip Frame 48
i = 0; while (i < 10) { if (_root.shipslot[i] == ("eship" add target)) { _root.shipslot[i] = ""; } i++; } target = target + 1; removeMovieClip("../enemyblip" add target); removeMovieClip(""); stop();
Symbol 451 MovieClip Frame 49
if (Key.isDown(35)) { if (this.hitTest("../defiant") and (myenergy <= 20)) { soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); b = random(3); if (b == 0) { _root.comm = "THE VESSEL SELF-DESTRUCTS BEFORE YOU CAN BEAM ABOARD..."; } myenergy = -10; if (b == 1) { _root.comm = "AS YOUR BOARDING PARTY BEAMS ABOARD, THE VESSEL SELF-DESTRUCTS - KILLING YOUR TEAM..."; myenergy = -10; } if (b == 2) { _root.comm = "A ROMULAN SABOTEUR SNEAKS ABOARD AND DESTROYS YOUR SHIP...SO YOU JUST TAKE THEIRS..."; _root.def = 411; _root.itemslot[6] = 17; Set("../item6:item", 17); loadship(); } } } if (energydraw > 0) { myenergy = myenergy - energydraw; bar = (myenergy / tot_myenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 80); if ((myenergy <= 20) and (myenergy > 0)) { _root.comm = "TARGET DISABLED..."; if (cloak == 1) { cloak = 0; } } energydraw = 0; } if ((cloak == 0) and (this._alpha <= 100)) { this._alpha = this._alpha + 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if ((cloak == 1) and (this._alpha >= 0)) { this._alpha = this._alpha - 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if (myenergy > 20) { if ((cloak == 0) and (random(500) == 1)) { sx = getProperty("../estarbase", _x); sy = getProperty("../estarbase", _y); if ((Math.abs(_x - sx) > 1000) and (Math.abs(_y - sy) > 1000)) { cloak = 1; } } if ((cloak == 1) and (random(500) == 1)) { cloak = 0; } if (((myenergy < 25) and (my_target == "defiant")) and (my_target != "estarbase")) { my_target = "estarbase"; if (random(100) == 1) { cloak = 1; } } if (my_target == "") { ticker = random(6); if (_root.fshipslot[ticker] != "") { my_target = _root.fshipslot[ticker]; } } if ((my_target == "") and (random(50) == 1)) { my_target = "estarbase"; } if (((my_target == "estarbase") and this.hitTest("../estarbase")) and (random(1000) == 1)) { my_target = "defiant"; } if ((my_target == "defiant") and (_root.cloak == 1)) { my_target = ""; } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "estarbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "estarbase") and (random(300) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } } if (((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "estarbase")) { if (myenergy > 5) { shootx = _x; shooty = _y; if (random(20) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname); Set(("../shot" add _root.shotname) add ":torptype", 1); if (cloak == 1) { if (my_target == "defiant") { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } cloak = 0; } rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if ((((my_target != "defiant") and (my_target != "estarbase")) and (random(5) == 1)) and ((((_x > 600) or (_y > 600)) or (_y < 0)) or (_x < 0))) { Set(("../" add my_target) add ":hit", 30); } Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } if (((random(40) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) { if ((Math.abs(defx - _x) < 150) and (Math.abs(defy - _y) < 150)) { if (cloak == 1) { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); cloak = 0; } _root.ephaseraway = 8; _root.hitstrength = 4; _root.hit(); Set("../eline:target", this); Set("../eline:myx", defx); Set("../eline:myy", defy); Set("../eline:x", _x); Set("../eline:y", _y); soundbeep = new Sound(this); soundbeep.attachSound("def-phas"); soundbeep.start(0, 0); } } } } dx = getProperty("../defiant", _x); dy = getProperty("../defiant", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "defiant"; } dx = getProperty("../starbase", _x); dy = getProperty("../starbase", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "starbase"; } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { slot = "../" add _root.fshipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.fshipslot[i]; } } i++; } } ex = getProperty("../estarbase", _x); if (ex == -99999) { my_target = "starbase"; }
Symbol 451 MovieClip Frame 50
if (myenergy < 1) { gotoAndPlay (51); } else { gotoAndPlay (49); }
Symbol 451 MovieClip Frame 57
i = 0; while (i < 10) { if (_root.shipslot[i] == ("eship" add target)) { _root.shipslot[i] = ""; } i++; } target = target + 1; removeMovieClip("../enemyblip" add target); removeMovieClip(""); stop();
Symbol 451 MovieClip Frame 58
if (Key.isDown(35)) { if (this.hitTest("../defiant") and (myenergy <= 10)) { soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); b = random(2); if (b == 0) { _root.comm = "THE VESSEL SELF-DESTRUCTS BEFORE YOU CAN BEAM ABOARD..."; } myenergy = -10; if (b == 1) { _root.comm = "AS YOUR BOARDING PARTY BEAMS ABOARD, THE VESSEL SELF-DESTRUCTS - KILLING YOUR TEAM..."; myenergy = -10; } } } if (energydraw > 0) { myenergy = myenergy - energydraw; bar = (myenergy / tot_myenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); if ((myenergy <= 5) and (myenergy > 0)) { _root.comm = "TARGET DISABLED..."; if (cloak == 1) { cloak = 0; } } energydraw = 0; } if ((cloak == 0) and (this._alpha <= 100)) { this._alpha = this._alpha + 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if ((cloak == 1) and (this._alpha >= 0)) { this._alpha = this._alpha - 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if (myenergy > 5) { if ((cloak == 0) and (random(500) == 1)) { sx = getProperty("../estarbase", _x); sy = getProperty("../estarbase", _y); if ((Math.abs(_x - sx) > 1000) and (Math.abs(_y - sy) > 1000)) { cloak = 1; } } if ((cloak == 1) and (random(500) == 1)) { cloak = 0; } if (((myenergy < 25) and (my_target == "defiant")) and (my_target != "estarbase")) { my_target = "estarbase"; if (random(100) == 1) { cloak = 1; } } if (my_target == "") { ticker = random(6); if (_root.fshipslot[ticker] != "") { my_target = _root.fshipslot[ticker]; } } if ((my_target == "") and (random(50) == 1)) { my_target = "estarbase"; } if (((my_target == "estarbase") and this.hitTest("../estarbase")) and (random(1000) == 1)) { my_target = "defiant"; } if ((my_target == "defiant") and (_root.cloak == 1)) { my_target = ""; } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "estarbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "estarbase") and (random(300) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } } if (((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "estarbase")) { if (myenergy > 5) { shootx = _x; shooty = _y; if (random(20) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname); Set(("../shot" add _root.shotname) add ":torptype", 11); if (cloak == 1) { if (my_target == "defiant") { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } cloak = 0; } rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("ephas"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if ((((my_target != "defiant") and (my_target != "estarbase")) and (random(5) == 1)) and ((((_x > 600) or (_y > 600)) or (_y < 0)) or (_x < 0))) { Set(("../" add my_target) add ":hit", 30); } Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } if (((random(40) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) { if ((Math.abs(defx - _x) < 150) and (Math.abs(defy - _y) < 150)) { if (cloak == 1) { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); cloak = 0; } _root.ephaseraway = 8; _root.hitstrength = 4; _root.hit(); Set("../eline:target", this); Set("../eline:myx", defx); Set("../eline:myy", defy); Set("../eline:x", _x); Set("../eline:y", _y); soundbeep = new Sound(this); soundbeep.attachSound("def-phas"); soundbeep.start(0, 0); } } } } dx = getProperty("../defiant", _x); dy = getProperty("../defiant", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "defiant"; } dx = getProperty("../starbase", _x); dy = getProperty("../starbase", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "starbase"; } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { slot = "../" add _root.fshipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.fshipslot[i]; } } i++; } } ex = getProperty("../estarbase", _x); if (ex == -99999) { my_target = "starbase"; }
Symbol 451 MovieClip Frame 59
if (myenergy < 1) { gotoAndPlay (60); } else { gotoAndPlay (58); }
Symbol 451 MovieClip Frame 66
i = 0; while (i < 10) { if (_root.shipslot[i] == ("eship" add target)) { _root.shipslot[i] = ""; } i++; } target = target + 1; removeMovieClip("../enemyblip" add target); removeMovieClip(""); stop();
Symbol 451 MovieClip Frame 67
if (Key.isDown(35)) { if (this.hitTest("../defiant") and (myenergy <= 10)) { soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); b = random(2); if (b == 0) { _root.comm = "THE VESSEL SELF-DESTRUCTS BEFORE YOU CAN BEAM ABOARD..."; } myenergy = -10; if (b == 1) { _root.comm = "AS YOUR BOARDING PARTY BEAMS ABOARD, THE VESSEL SELF-DESTRUCTS - KILLING YOUR TEAM..."; myenergy = -10; } } } if (energydraw > 0) { myenergy = myenergy - energydraw; bar = (myenergy / tot_myenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 80); if ((myenergy <= 5) and (myenergy > 0)) { _root.comm = "TARGET DISABLED..."; if (cloak == 1) { cloak = 0; } } energydraw = 0; } if ((cloak == 0) and (this._alpha <= 100)) { this._alpha = this._alpha + 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if ((cloak == 1) and (this._alpha >= 0)) { this._alpha = this._alpha - 10; b = this._alpha; c = target + 1; setProperty("../enemyblip" add c, _alpha , b); } if (myenergy > 5) { if ((cloak == 0) and (random(500) == 1)) { sx = getProperty("../estarbase", _x); sy = getProperty("../estarbase", _y); if ((Math.abs(_x - sx) > 1000) and (Math.abs(_y - sy) > 1000)) { cloak = 1; } } if ((cloak == 1) and (random(500) == 1)) { cloak = 0; } if (((myenergy < 25) and (my_target == "defiant")) and (my_target != "estarbase")) { my_target = "estarbase"; if (random(100) == 1) { cloak = 1; } } if (my_target == "") { ticker = random(6); if (_root.fshipslot[ticker] != "") { my_target = _root.fshipslot[ticker]; } } if ((my_target == "") and (random(50) == 1)) { my_target = "estarbase"; } if (((my_target == "estarbase") and this.hitTest("../estarbase")) and (random(1000) == 1)) { my_target = "defiant"; } if ((my_target == "defiant") and (_root.cloak == 1)) { my_target = ""; } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "estarbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "estarbase") and (random(300) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } } if (((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "estarbase")) { if (myenergy > 5) { shootx = _x; shooty = _y; if (random(20) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname); Set(("../shot" add _root.shotname) add ":torptype", 16); if (cloak == 1) { if (my_target == "defiant") { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } cloak = 0; } rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if ((((my_target != "defiant") and (my_target != "estarbase")) and (random(5) == 1)) and ((((_x > 600) or (_y > 600)) or (_y < 0)) or (_x < 0))) { Set(("../" add my_target) add ":hit", 30); } Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } if (((random(40) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) { if ((Math.abs(defx - _x) < 150) and (Math.abs(defy - _y) < 150)) { if (cloak == 1) { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); cloak = 0; } _root.ephaseraway = 8; _root.hitstrength = 4; _root.hit(); Set("../eline:target", this); Set("../eline:myx", defx); Set("../eline:myy", defy); Set("../eline:x", _x); Set("../eline:y", _y); soundbeep = new Sound(this); soundbeep.attachSound("def-phas"); soundbeep.start(0, 0); } } } } dx = getProperty("../defiant", _x); dy = getProperty("../defiant", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "defiant"; } dx = getProperty("../starbase", _x); dy = getProperty("../starbase", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "starbase"; } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { slot = "../" add _root.fshipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.fshipslot[i]; } } i++; } } ex = getProperty("../estarbase", _x); if (ex == -99999) { my_target = "starbase"; }
Symbol 451 MovieClip Frame 68
if (myenergy < 1) { gotoAndPlay (69); } else { gotoAndPlay (67); }
Symbol 451 MovieClip Frame 75
i = 0; while (i < 10) { if (_root.shipslot[i] == ("eship" add target)) { _root.shipslot[i] = ""; } i++; } target = target + 1; removeMovieClip("../enemyblip" add target); removeMovieClip(""); stop();
Symbol 451 MovieClip Frame 76
if (Key.isDown(35)) { if (this.hitTest("../defiant") and (myenergy <= 10)) { soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); _root.comm = "YOUR BOARDING PARTY HAS BEEN ASSIMILATED..."; } } if (energydraw > 0) { myenergy = myenergy - energydraw; bar = (myenergy / tot_myenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 90); if ((myenergy <= 5) and (myenergy > 0)) { _root.comm = "TARGET DISABLED..."; if (cloak == 1) { cloak = 0; } } energydraw = 0; } if (myenergy > 5) { if (my_target == "") { ticker = random(6); if (_root.fshipslot[ticker] != "") { my_target = _root.fshipslot[ticker]; } } if (my_target == "estarbase") { my_target = "defiant"; } if ((my_target == "defiant") and (_root.cloak == 1)) { my_target = ""; } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "estarbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "estarbase") and (random(300) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } } if (((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "estarbase")) { if (myenergy > 5) { shootx = _x; shooty = _y; if (random(20) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname); Set(("../shot" add _root.shotname) add ":torptype", 1); if (cloak == 1) { if (my_target == "defiant") { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } cloak = 0; } rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if ((((my_target != "defiant") and (my_target != "estarbase")) and (random(5) == 1)) and ((((_x > 600) or (_y > 600)) or (_y < 0)) or (_x < 0))) { Set(("../" add my_target) add ":hit", 30); } Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } if (((random(40) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) { if ((Math.abs(defx - _x) < 150) and (Math.abs(defy - _y) < 150)) { if (cloak == 1) { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); cloak = 0; } _root.ephaseraway = 8; _root.hitstrength = 4; _root.hit(); Set("../eline:target", this); Set("../eline:myx", defx); Set("../eline:myy", defy); Set("../eline:x", _x); Set("../eline:y", _y); soundbeep = new Sound(this); soundbeep.attachSound("def-phas"); soundbeep.start(0, 0); } } } } dx = getProperty("../defiant", _x); dy = getProperty("../defiant", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "defiant"; } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { slot = "../" add _root.fshipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.fshipslot[i]; } } i++; } }
Symbol 451 MovieClip Frame 77
if (myenergy < 1) { gotoAndPlay (78); } else { gotoAndPlay (76); }
Symbol 451 MovieClip Frame 84
i = 0; while (i < 10) { if (_root.shipslot[i] == ("eship" add target)) { _root.shipslot[i] = ""; } i++; } target = target + 1; removeMovieClip("../enemyblip" add target); removeMovieClip(""); stop();
Symbol 451 MovieClip Frame 85
if (Key.isDown(35)) { if (this.hitTest("../defiant") and (myenergy <= 10)) { soundbeep = new Sound(this); soundbeep.attachSound("beam"); soundbeep.start(0, 0); _root.comm = "YOUR BOARDING PARTY HAS BEEN ASSIMILATED..."; } } if (energydraw > 0) { myenergy = myenergy - energydraw; bar = (myenergy / tot_myenergy) * 100; if (bar < 0) { bar = 0; } setProperty("../enemybar", _xscale , bar); setProperty("../enemybar", _x , _x - 30); setProperty("../enemybar", _y , _y + 50); if ((myenergy <= 5) and (myenergy > 0)) { _root.comm = "TARGET DISABLED..."; if (cloak == 1) { cloak = 0; } } energydraw = 0; } if (myenergy > 5) { if (my_target == "") { ticker = random(6); if (_root.fshipslot[ticker] != "") { my_target = _root.fshipslot[ticker]; } } if (my_target == "estarbase") { my_target = "defiant"; } if ((my_target == "defiant") and (_root.cloak == 1)) { my_target = ""; } defx = getProperty("../" add my_target, _x); defy = getProperty("../" add my_target, _y); if (my_target == "estarbase") { defx = defx + tx; defy = defy + ty; } if ((my_target == "estarbase") and (random(300) == 1)) { tx = tx + random(1000); tx = tx - random(1000); ty = ty + random(1000); ty = ty - random(1000); } if (defx == undefined) { my_target = ""; } if ((defx > 0) or (defx < 0)) { if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) { if (_xscale == 250) { _xscale = 100; } my_speed = 8; } else { my_speed = 7; } if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) { my_speed = 0; } if ((Math.abs(_x - defx) > 300) and (Math.abs(_y - defy) > 300)) { my_speed = 25; if (_xscale != 250) { _xscale = 250; } } rotation = _rotation + 90; x = Math.sin(rotation * (Math.PI/180)) * my_speed; y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1; locx = _x; locy = _y; locx = locx + x; locy = locy + y; _x = locx; _y = locy; z = defx - _x; r = defy - _y; _root.a = z; _root.b = r; e = z / r; k = Math.atan(e); g = (k * 180) / Math.PI; _rotation = g; if (defy > _y) { _rotation = (90 - _rotation); } else if (defy < _y) { _rotation = (180 - (_rotation - 90)); } } if (((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) and (my_target != "estarbase")) { if (myenergy > 5) { shootx = _x; shooty = _y; if (random(20) == 1) { _root.shotname = Number(_root.shotname) + 1; if (Number(_root.shotname) >= 1000) { _root.shotname = 1; } duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname); Set(("../shot" add _root.shotname) add ":torptype", 1); if (cloak == 1) { if (my_target == "defiant") { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); } cloak = 0; } rotation = _rotation + 90; rotation = rotation + random(30); rotation = rotation - random(30); soundbeep = new Sound(this); soundbeep.attachSound("def-torp"); if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) { soundbeep.setVolume(25); } else { soundbeep.setVolume(100); } soundbeep.start(0, 0); phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1)); phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1; if ((((my_target != "defiant") and (my_target != "estarbase")) and (random(5) == 1)) and ((((_x > 600) or (_y > 600)) or (_y < 0)) or (_x < 0))) { Set(("../" add my_target) add ":hit", 30); } Set(("../shot" add _root.shotname) add ":ymov", phasy); Set(("../shot" add _root.shotname) add ":xmov", phasx); setProperty("../shot" add _root.shotname, _rotation , rotation); setProperty("../shot" add _root.shotname, _x , shootx); setProperty("../shot" add _root.shotname, _y , shooty); } if (((random(40) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) { if ((Math.abs(defx - _x) < 150) and (Math.abs(defy - _y) < 150)) { if (cloak == 1) { soundbeep = new Sound(this); soundbeep.attachSound("def-cloak"); soundbeep.start(0, 0); cloak = 0; } _root.ephaseraway = 8; _root.hitstrength = 4; _root.hit(); Set("../eline:target", this); Set("../eline:myx", defx); Set("../eline:myy", defy); Set("../eline:x", _x); Set("../eline:y", _y); soundbeep = new Sound(this); soundbeep.attachSound("def-phas"); soundbeep.start(0, 0); } } } } dx = getProperty("../defiant", _x); dy = getProperty("../defiant", _y); if (((Math.abs(dx - _x) < 200) and (Math.abs(dy - _y) < 200)) and (_root.cloak == 0)) { my_target = "defiant"; } i = 0; while (i < 10) { if (_root.fshipslot[i] != "") { slot = "../" add _root.fshipslot[i]; x = getProperty(slot, _x); y = getProperty(slot, _y); if ((Math.abs(x - _x) < 200) and (Math.abs(y - _y) < 200)) { my_target = _root.fshipslot[i]; } } i++; } }
Symbol 451 MovieClip Frame 86
if (myenergy < 1) { gotoAndPlay (87); } else { gotoAndPlay (85); }
Symbol 451 MovieClip Frame 93
i = 0; while (i < 10) { if (_root.shipslot[i] == ("eship" add target)) { _root.shipslot[i] = ""; } i++; } target = target + 1; removeMovieClip("../enemyblip" add target); removeMovieClip(""); stop();
Symbol 454 Button
on (release) { if (keyinfo == undefined) { keyinfo = "ARROWS: NAVIGATE\rSHIFT: SELECT SPECIAL\rCTRL: FIRE/USE SPECIAL\rINSERT: TOGGLE REPAIRS\rDELETE: REMOVE SELECTED SPECIAL\rHOME: HAIL ALL VESSELS\rEND: USE TRANSPORTER\rPG UP/DN: WARP SPEED\rENTER: TOGGLE SHIELDS"; } else { keyinfo = undefined; } }
Symbol 459 MovieClip Frame 1
if (_root.torplaunchers == 2) { gotoAndPlay (3); } if (_root.torplaunchers == 1) { gotoAndPlay (1); } if (_root.torplaunchers == 3) { gotoAndPlay (5); }
Symbol 459 MovieClip Frame 2
gotoAndPlay (1);
Symbol 459 MovieClip Frame 3
if (_root.torplaunchers == 2) { gotoAndPlay (3); } if (_root.torplaunchers == 1) { gotoAndPlay (1); } if (_root.torplaunchers == 3) { gotoAndPlay (5); } if (random(500 - _root.repairspeed) == 1) { _root.comm = "TORPEDO LAUNCHERS REPAIRED..."; _root.torplaunchers = 1; }
Symbol 459 MovieClip Frame 4
gotoAndPlay (3);
Symbol 459 MovieClip Frame 5
if (_root.torplaunchers == 2) { gotoAndPlay (3); } if (_root.torplaunchers == 1) { gotoAndPlay (1); } if (_root.torplaunchers == 3) { gotoAndPlay (5); } if (random(100 - _root.repairspeed) == 1) { _root.comm = "TORPEDO LAUNCHERS REPAIRED..."; _root.torplaunchers = 1; } _root.energy = _root.energy - random(10);
Symbol 459 MovieClip Frame 6
gotoAndPlay (5);
Symbol 463 MovieClip Frame 1
if (_root.engines == 2) { gotoAndPlay (3); } if (_root.engines == 1) { gotoAndPlay (1); } if (_root.engines == 3) { gotoAndPlay (5); }
Symbol 463 MovieClip Frame 2
gotoAndPlay (1);
Symbol 463 MovieClip Frame 3
if (_root.engines == 2) { gotoAndPlay (3); } if (_root.engines == 1) { gotoAndPlay (1); } if (_root.engines == 3) { gotoAndPlay (5); } if (random(500 - _root.repairspeed) == 1) { _root.comm = "ENGINES REPAIRED..."; _root.engines = 1; }
Symbol 463 MovieClip Frame 4
if (_root.engines == 0) { gotoAndPlay (3); } else { gotoAndPlay (1); }
Symbol 463 MovieClip Frame 5
if (_root.engines == 2) { gotoAndPlay (3); } if (_root.engines == 1) { gotoAndPlay (1); } if (_root.engines == 3) { gotoAndPlay (5); } if (random(100 - _root.repairspeed) == 1) { _root.comm = "ENGINES REPAIRED..."; _root.engines = 1; } _root.energy = _root.energy - random(10);
Symbol 463 MovieClip Frame 6
gotoAndPlay (5);
Symbol 467 MovieClip Frame 1
bar = getProperty("../hullbar", _xscale); if (bar < 95) { _root.hullrepair = 2; gotoAndPlay (3); } if (bar >= 95) { gotoAndPlay (1); } if (_root.hullrepair == 1) { gotoAndPlay (5); }
Symbol 467 MovieClip Frame 2
gotoAndPlay (1);
Symbol 467 MovieClip Frame 3
bar = getProperty("../hullbar", _xscale); if (bar < 95) { gotoAndPlay (3); } if (bar >= 95) { gotoAndPlay (1); } if (_root.hullrepair == 1) { gotoAndPlay (5); }
Symbol 467 MovieClip Frame 4
gotoAndPlay (3);
Symbol 467 MovieClip Frame 5
if (_root.hullrepair == 2) { gotoAndPlay (3); } if (_root.hullrepair == 1) { gotoAndPlay (5); } if (_root.hullrepair == 0) { gotoAndPlay (1); } if (random(5) == 1) { if (_root.repairspeed > 0) { x = 3; } } if (_root.repairspeed == 0) { x = 0; } if (random(2) == 1) { _root.hull = _root.hull + (1 + x); } bar = (_root.hull / _root.tot_hull) * 100; setProperty("../hullbar", _xscale , bar); if (bar >= 95) { _root.comm = "HULL REPAIRS COMPLETED..."; _root.hullrepair = 0; } if (_root.hullrepair == 0) { gotoAndPlay (1); } _root.energy = _root.energy - random(5);
Symbol 467 MovieClip Frame 6
gotoAndPlay (5);
Symbol 471 MovieClip Frame 1
if (_root.phaser == 2) { gotoAndPlay (3); } if (_root.phaser == 1) { gotoAndPlay (1); } if (_root.phaser == 3) { gotoAndPlay (5); }
Symbol 471 MovieClip Frame 2
gotoAndPlay (1);
Symbol 471 MovieClip Frame 3
if (_root.phase == 2) { gotoAndPlay (3); } if (_root.phaser == 1) { gotoAndPlay (1); } if (_root.phaser == 3) { gotoAndPlay (5); } if (random(500 - _root.repairspeed) == 1) { _root.comm = "PHASERS REPAIRED..."; _root.phaser = 1; }
Symbol 471 MovieClip Frame 4
gotoAndPlay (3);
Symbol 471 MovieClip Frame 5
if (_root.phaser == 2) { gotoAndPlay (3); } if (_root.phaser == 1) { gotoAndPlay (1); } if (_root.phaser == 3) { gotoAndPlay (5); } if (random(100 - _root.repairspeed) == 1) { _root.comm = "PHASERS REPAIRED..."; _root.phaser = 1; } _root.energy = _root.energy - random(10);
Symbol 471 MovieClip Frame 6
gotoAndPlay (5);
Symbol 475 MovieClip Frame 1
if (_root.sensors == 2) { gotoAndPlay (3); } if (_root.sensors == 1) { gotoAndPlay (1); } if (_root.sensors == 3) { gotoAndPlay (5); }
Symbol 475 MovieClip Frame 2
gotoAndPlay (1);
Symbol 475 MovieClip Frame 3
if (_root.sensors == 2) { gotoAndPlay (3); } if (_root.sensors == 1) { gotoAndPlay (1); } if (_root.sensors == 3) { gotoAndPlay (5); } if (random(500 - _root.repairspeed) == 1) { _root.comm = "LONG RANGE SCANNERS REPAIRED..."; _root.scale = 20; _root.sensors = 1; }
Symbol 475 MovieClip Frame 4
gotoAndPlay (3);
Symbol 475 MovieClip Frame 5
if (_root.sensors == 2) { gotoAndPlay (3); } if (_root.sensors == 1) { gotoAndPlay (1); } if (_root.sensors == 3) { gotoAndPlay (5); } if (random(100 - _root.repairspeed) == 1) { _root.comm = "LONG RANGE SCANNERS REPAIRED..."; _root.scale = 50; _root.sensors = 1; } _root.energy = _root.energy - random(10);
Symbol 475 MovieClip Frame 6
gotoAndPlay (5);
Symbol 479 MovieClip Frame 1
if (mycolor == 1) { gotoAndPlay (1); } else { gotoAndPlay (3); }
Symbol 479 MovieClip Frame 2
if (mycolor == 1) { gotoAndPlay (1); } else { gotoAndPlay (3); }
Symbol 488 MovieClip Frame 1
gotoAndPlay(item);
Symbol 488 MovieClip Frame 2
gotoAndPlay(item);
Symbol 488 MovieClip Frame 3
gotoAndPlay(item);
Symbol 488 MovieClip Frame 4
gotoAndPlay(item);
Symbol 494 Button
on (release) { if (menu == 1) { menu = 0; gotoAndStop (11); } else if (menu == 0) { menu = 1; gotoAndStop (12); } }
Symbol 505 Button
on (release) { _root.removeallships(); gotoAndPlay (3); }

Library Items

Symbol 1 Sound [tostorp]
Symbol 2 Sound [tosphaser]
Symbol 3 Sound [romwarstheme]
Symbol 4 Sound [lance]
Symbol 5 Sound [gamemusic]
Symbol 6 Sound [def-torp]
Symbol 7 Sound [def-pulse]
Symbol 8 Sound [def-phas]
Symbol 9 Sound [hit]
Symbol 10 Sound [ephas]
Symbol 11 Sound [warp]
Symbol 12 Sound [dropwarp]
Symbol 13 Sound [def-cloak]
Symbol 14 Sound [build]
Symbol 15 Sound [beam]
Symbol 16 Sound [armor]
Symbol 17 Sound [commopen]
Symbol 18 Sound [cheers]
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClip [eblip]Uses:19Used by:Timeline
Symbol 21 BitmapUsed by:22 248 359
Symbol 22 GraphicUses:21Used by:125 242
Symbol 23 BitmapUsed by:24
Symbol 24 GraphicUses:23Used by:125
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:125
Symbol 27 BitmapUsed by:28 275
Symbol 28 GraphicUses:27Used by:39 273
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:39
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:39
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:39
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:39
Symbol 37 BitmapUsed by:38 269 276
Symbol 38 GraphicUses:37Used by:39
Symbol 39 MovieClipUses:28 30 32 34 36 38Used by:40 369 451
Symbol 40 MovieClipUses:39Used by:125 336 357
Symbol 41 BitmapUsed by:42 248 360
Symbol 42 GraphicUses:41Used by:125 242
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:125
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:125
Symbol 47 BitmapUsed by:48 248 361
Symbol 48 GraphicUses:47Used by:125 242
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:125
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:125
Symbol 53 BitmapUsed by:54 246 367
Symbol 54 GraphicUses:53Used by:125 242
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:125
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:125
Symbol 59 BitmapUsed by:60 248 362
Symbol 60 GraphicUses:59Used by:125 242
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:125
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:125
Symbol 65 BitmapUsed by:66 248 363
Symbol 66 GraphicUses:65Used by:125 242
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:125
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:125
Symbol 71 BitmapUsed by:72 248 365
Symbol 72 GraphicUses:71Used by:125 242
Symbol 73 BitmapUsed by:74
Symbol 74 GraphicUses:73Used by:125
Symbol 75 BitmapUsed by:76
Symbol 76 GraphicUses:75Used by:125
Symbol 77 BitmapUsed by:78 248 366
Symbol 78 GraphicUses:77Used by:125 242
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:79Used by:125
Symbol 81 BitmapUsed by:82
Symbol 82 GraphicUses:81Used by:125
Symbol 83 BitmapUsed by:84 248
Symbol 84 GraphicUses:83Used by:125 242
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:125
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:125
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:125
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:125
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:125
Symbol 95 BitmapUsed by:96 98 100 102 104 106 108 110 112
Symbol 96 GraphicUses:95Used by:125
Symbol 97 BitmapUsed by:98 100 102 104 106 108 110 112
Symbol 98 GraphicUses:97 95Used by:125
Symbol 99 BitmapUsed by:100 102 104 106 108 110 112
Symbol 100 GraphicUses:99 97 95Used by:125
Symbol 101 BitmapUsed by:102 104 106 108 110 112
Symbol 102 GraphicUses:101 99 97 95Used by:125
Symbol 103 BitmapUsed by:104 106 108 110 112
Symbol 104 GraphicUses:103 101 99 97 95Used by:125
Symbol 105 BitmapUsed by:106 108 110 112
Symbol 106 GraphicUses:105 103 101 99 97 95Used by:125
Symbol 107 BitmapUsed by:108 110 112
Symbol 108 GraphicUses:107 105 103 101 99 97 95Used by:125
Symbol 109 BitmapUsed by:110 112
Symbol 110 GraphicUses:109 107 105 103 101 99 97 95Used by:125
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111 109 107 105 103 101 99 97 95Used by:125
Symbol 113 BitmapUsed by:114 248 364
Symbol 114 GraphicUses:113Used by:125 242
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:125
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:125
Symbol 119 BitmapUsed by:120 368
Symbol 120 GraphicUses:119Used by:125
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:125
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:125
Symbol 125 MovieClip [defiant]Uses:22 24 26 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124Used by:Timeline
Symbol 126 GraphicUsed by:Timeline
Symbol 127 GraphicUsed by:128
Symbol 128 ButtonUses:127Used by:Timeline
Symbol 129 FontUsed by:130 412
Symbol 130 TextUses:129Used by:Timeline
Symbol 131 FontUsed by:132 133
Symbol 132 TextUses:131Used by:Timeline
Symbol 133 TextUses:131Used by:Timeline
Symbol 134 FontUsed by:135
Symbol 135 TextUses:134Used by:Timeline
Symbol 136 BitmapUsed by:137 149
Symbol 137 GraphicUses:136Used by:Timeline
Symbol 138 FontUsed by:139 503 506 507 508 510 511
Symbol 139 TextUses:138Used by:140
Symbol 140 MovieClipUses:139Used by:Timeline
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:141Used by:Timeline
Symbol 143 FontUsed by:144 180
Symbol 144 TextUses:143Used by:Timeline
Symbol 145 GraphicUsed by:451  Timeline
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:Timeline
Symbol 148 BitmapUsed by:149
Symbol 149 GraphicUses:136 148Used by:Timeline
Symbol 150 BitmapUsed by:151
Symbol 151 GraphicUses:150Used by:152 153 154 163 172 223 265 505
Symbol 152 ButtonUses:151Used by:Timeline
Symbol 153 ButtonUses:151Used by:Timeline
Symbol 154 ButtonUses:151Used by:Timeline
Symbol 155 FontUsed by:156 157 158 159 160 161 162 164 165 166 173 178 179 192 193 224 325 326 327 328 329 330 331 455 476 489 502 504 509
Symbol 156 TextUses:155Used by:Timeline
Symbol 157 TextUses:155Used by:Timeline
Symbol 158 TextUses:155Used by:Timeline
Symbol 159 EditableTextUses:155Used by:Timeline
Symbol 160 EditableTextUses:155Used by:Timeline
Symbol 161 EditableTextUses:155Used by:Timeline
Symbol 162 EditableTextUses:155Used by:Timeline
Symbol 163 ButtonUses:151Used by:Timeline
Symbol 164 EditableTextUses:155Used by:Timeline
Symbol 165 EditableTextUses:155Used by:Timeline
Symbol 166 EditableTextUses:155Used by:Timeline
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:Timeline
Symbol 169 BitmapUsed by:171 283
Symbol 170 BitmapUsed by:171 293 437
Symbol 171 GraphicUses:169 170Used by:Timeline
Symbol 172 ButtonUses:151Used by:Timeline
Symbol 173 TextUses:155Used by:Timeline
Symbol 174 BitmapUsed by:175
Symbol 175 GraphicUses:174Used by:Timeline
Symbol 176 FontUsed by:177 227 266
Symbol 177 TextUses:176Used by:Timeline
Symbol 178 TextUses:155Used by:Timeline
Symbol 179 EditableTextUses:155Used by:Timeline
Symbol 180 EditableTextUses:143Used by:181 182 183 184 185 186 187 188 189 190 191 207 208 209 210 211 212 213 214 215 216 217 218 219 222 225 247 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 413
Symbol 181 ButtonUses:180Used by:Timeline
Symbol 182 ButtonUses:180Used by:Timeline
Symbol 183 ButtonUses:180Used by:Timeline
Symbol 184 ButtonUses:180Used by:Timeline
Symbol 185 ButtonUses:180Used by:Timeline
Symbol 186 ButtonUses:180Used by:Timeline
Symbol 187 ButtonUses:180Used by:Timeline
Symbol 188 ButtonUses:180Used by:Timeline
Symbol 189 ButtonUses:180Used by:Timeline
Symbol 190 ButtonUses:180Used by:Timeline
Symbol 191 ButtonUses:180Used by:Timeline
Symbol 192 TextUses:155Used by:Timeline
Symbol 193 TextUses:155Used by:Timeline
Symbol 194 BitmapUsed by:206 298 435
Symbol 195 BitmapUsed by:206 297 434
Symbol 196 BitmapUsed by:206 296 433
Symbol 197 BitmapUsed by:206 292 426
Symbol 198 BitmapUsed by:206 291 425
Symbol 199 BitmapUsed by:206 290 424
Symbol 200 BitmapUsed by:206 289 423
Symbol 201 BitmapUsed by:206 288 422
Symbol 202 BitmapUsed by:206 287 421
Symbol 203 BitmapUsed by:206 286 420
Symbol 204 BitmapUsed by:206 285 419
Symbol 205 BitmapUsed by:206 284
Symbol 206 GraphicUses:194 195 196 197 198 199 200 201 202 203 204 205Used by:Timeline
Symbol 207 ButtonUses:180Used by:Timeline
Symbol 208 ButtonUses:180Used by:Timeline
Symbol 209 ButtonUses:180Used by:Timeline
Symbol 210 ButtonUses:180Used by:Timeline
Symbol 211 ButtonUses:180Used by:Timeline
Symbol 212 ButtonUses:180Used by:Timeline
Symbol 213 ButtonUses:180Used by:Timeline
Symbol 214 ButtonUses:180Used by:Timeline
Symbol 215 ButtonUses:180Used by:Timeline
Symbol 216 ButtonUses:180Used by:Timeline
Symbol 217 ButtonUses:180Used by:Timeline
Symbol 218 ButtonUses:180Used by:Timeline
Symbol 219 ButtonUses:180Used by:Timeline
Symbol 220 BitmapUsed by:221 299 436
Symbol 221 GraphicUses:220Used by:Timeline
Symbol 222 ButtonUses:180Used by:Timeline
Symbol 223 ButtonUses:151Used by:Timeline
Symbol 224 TextUses:155Used by:Timeline
Symbol 225 ButtonUses:180Used by:Timeline
Symbol 226 GraphicUsed by:Timeline
Symbol 227 TextUses:176Used by:Timeline
Symbol 228 BitmapUsed by:229 246 442
Symbol 229 GraphicUses:228Used by:242
Symbol 230 BitmapUsed by:231 246 441
Symbol 231 GraphicUses:230Used by:242
Symbol 232 BitmapUsed by:233 246 446
Symbol 233 GraphicUses:232Used by:242
Symbol 234 BitmapUsed by:235 246 440
Symbol 235 GraphicUses:234Used by:242
Symbol 236 BitmapUsed by:237 246 445
Symbol 237 GraphicUses:236Used by:242
Symbol 238 BitmapUsed by:239 246 443
Symbol 239 GraphicUses:238Used by:242
Symbol 240 BitmapUsed by:241 246 444
Symbol 241 GraphicUses:240Used by:242
Symbol 242 MovieClipUses:22 48 60 72 78 84 114 42 229 231 233 235 54 237 239 241 66Used by:Timeline
Symbol 243 FontUsed by:244 245 267
Symbol 244 EditableTextUses:243Used by:Timeline
Symbol 245 EditableTextUses:243Used by:Timeline
Symbol 246 GraphicUses:236 228 230 53 234 232 238 240Used by:Timeline
Symbol 247 ButtonUses:180Used by:Timeline
Symbol 248 GraphicUses:77 21 83 71 65 41 59 47 113Used by:Timeline
Symbol 249 ButtonUses:180Used by:Timeline
Symbol 250 ButtonUses:180Used by:Timeline
Symbol 251 ButtonUses:180Used by:Timeline
Symbol 252 ButtonUses:180Used by:Timeline
Symbol 253 ButtonUses:180Used by:Timeline
Symbol 254 ButtonUses:180Used by:Timeline
Symbol 255 ButtonUses:180Used by:Timeline
Symbol 256 ButtonUses:180Used by:Timeline
Symbol 257 ButtonUses:180Used by:Timeline
Symbol 258 ButtonUses:180Used by:Timeline
Symbol 259 ButtonUses:180Used by:Timeline
Symbol 260 ButtonUses:180Used by:Timeline
Symbol 261 ButtonUses:180Used by:Timeline
Symbol 262 ButtonUses:180Used by:Timeline
Symbol 263 ButtonUses:180Used by:Timeline
Symbol 264 ButtonUses:180Used by:Timeline
Symbol 265 ButtonUses:151Used by:Timeline
Symbol 266 TextUses:176Used by:Timeline
Symbol 267 TextUses:243Used by:Timeline
Symbol 268 GraphicUsed by:273
Symbol 269 GraphicUses:37Used by:273
Symbol 270 GraphicUsed by:273
Symbol 271 GraphicUsed by:273
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:268 28 269 270 271 272Used by:Timeline
Symbol 274 GraphicUsed by:282
Symbol 275 GraphicUses:27Used by:282
Symbol 276 GraphicUses:37Used by:282
Symbol 277 GraphicUsed by:282
Symbol 278 GraphicUsed by:282
Symbol 279 GraphicUsed by:282
Symbol 280 GraphicUsed by:282
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClipUses:274 275 276 277 278 279 280 281Used by:Timeline
Symbol 283 GraphicUses:169Used by:302
Symbol 284 GraphicUses:205Used by:302
Symbol 285 GraphicUses:204Used by:302
Symbol 286 GraphicUses:203Used by:302
Symbol 287 GraphicUses:202Used by:302
Symbol 288 GraphicUses:201Used by:302
Symbol 289 GraphicUses:200Used by:302
Symbol 290 GraphicUses:199Used by:302
Symbol 291 GraphicUses:198Used by:302
Symbol 292 GraphicUses:197Used by:302
Symbol 293 GraphicUses:170Used by:302
Symbol 294 BitmapUsed by:295 438
Symbol 295 GraphicUses:294Used by:302
Symbol 296 GraphicUses:196Used by:302
Symbol 297 GraphicUses:195Used by:302
Symbol 298 GraphicUses:194Used by:302
Symbol 299 GraphicUses:220Used by:302
Symbol 300 BitmapUsed by:301
Symbol 301 GraphicUses:300Used by:302
Symbol 302 MovieClipUses:283 284 285 286 287 288 289 290 291 292 293 295 296 297 298 299 301Used by:Timeline
Symbol 303 BitmapUsed by:304
Symbol 304 GraphicUses:303Used by:314
Symbol 305 BitmapUsed by:306
Symbol 306 GraphicUses:305Used by:314
Symbol 307 BitmapUsed by:308
Symbol 308 GraphicUses:307Used by:314
Symbol 309 BitmapUsed by:310 311
Symbol 310 GraphicUses:309Used by:314
Symbol 311 GraphicUses:309Used by:314
Symbol 312 BitmapUsed by:313
Symbol 313 GraphicUses:312Used by:314
Symbol 314 MovieClipUses:304 306 308 310 311 313Used by:336
Symbol 315 GraphicUsed by:336
Symbol 316 GraphicUsed by:317
Symbol 317 MovieClipUses:316Used by:336
Symbol 318 GraphicUsed by:319 494
Symbol 319 ButtonUses:318Used by:336
Symbol 320 GraphicUsed by:321 322 323 324
Symbol 321 ButtonUses:320Used by:336
Symbol 322 ButtonUses:320Used by:336
Symbol 323 ButtonUses:320Used by:336
Symbol 324 ButtonUses:320Used by:336
Symbol 325 EditableTextUses:155Used by:336
Symbol 326 EditableTextUses:155Used by:336
Symbol 327 EditableTextUses:155Used by:336
Symbol 328 EditableTextUses:155Used by:336
Symbol 329 TextUses:155Used by:336
Symbol 330 EditableTextUses:155Used by:336
Symbol 331 EditableTextUses:155Used by:336
Symbol 332 GraphicUsed by:333
Symbol 333 ButtonUses:332Used by:336
Symbol 334 BitmapUsed by:335
Symbol 335 GraphicUses:334Used by:336
Symbol 336 MovieClipUses:314 315 317 319 321 322 323 324 325 326 327 328 329 330 331 333 40 335Used by:Timeline
Symbol 337 GraphicUsed by:338
Symbol 338 MovieClipUses:337Used by:Timeline
Symbol 339 BitmapUsed by:340 341
Symbol 340 GraphicUses:339Used by:356
Symbol 341 GraphicUses:339Used by:356
Symbol 342 BitmapUsed by:343 346
Symbol 343 GraphicUses:342Used by:356
Symbol 344 BitmapUsed by:345 346
Symbol 345 GraphicUses:344Used by:356
Symbol 346 GraphicUses:344 342Used by:356
Symbol 347 BitmapUsed by:348
Symbol 348 GraphicUses:347Used by:356
Symbol 349 BitmapUsed by:350
Symbol 350 GraphicUses:349Used by:355
Symbol 351 BitmapUsed by:352
Symbol 352 GraphicUses:351Used by:355
Symbol 353 BitmapUsed by:354
Symbol 354 GraphicUses:353Used by:355
Symbol 355 MovieClipUses:350 352 354Used by:356
Symbol 356 MovieClipUses:340 341 343 345 346 348 355Used by:357
Symbol 357 MovieClipUses:356 40Used by:Timeline
Symbol 358 GraphicUsed by:369
Symbol 359 GraphicUses:21Used by:369
Symbol 360 GraphicUses:41Used by:369
Symbol 361 GraphicUses:47Used by:369
Symbol 362 GraphicUses:59Used by:369
Symbol 363 GraphicUses:65Used by:369
Symbol 364 GraphicUses:113Used by:369
Symbol 365 GraphicUses:71Used by:369
Symbol 366 GraphicUses:77Used by:369
Symbol 367 GraphicUses:53Used by:369 451
Symbol 368 GraphicUses:119Used by:369
Symbol 369 MovieClipUses:358 359 39 360 361 362 363 364 365 366 367 368Used by:Timeline
Symbol 370 GraphicUsed by:371
Symbol 371 MovieClipUses:370Used by:Timeline
Symbol 372 GraphicUsed by:406
Symbol 373 GraphicUsed by:406
Symbol 374 GraphicUsed by:406
Symbol 375 GraphicUsed by:406
Symbol 376 GraphicUsed by:406
Symbol 377 GraphicUsed by:406
Symbol 378 GraphicUsed by:406
Symbol 379 GraphicUsed by:406
Symbol 380 GraphicUsed by:406
Symbol 381 GraphicUsed by:406
Symbol 382 GraphicUsed by:406
Symbol 383 GraphicUsed by:406
Symbol 384 GraphicUsed by:406
Symbol 385 GraphicUsed by:406
Symbol 386 GraphicUsed by:406
Symbol 387 GraphicUsed by:406
Symbol 388 GraphicUsed by:406
Symbol 389 GraphicUsed by:406
Symbol 390 GraphicUsed by:406
Symbol 391 GraphicUsed by:406
Symbol 392 GraphicUsed by:406
Symbol 393 GraphicUsed by:406
Symbol 394 GraphicUsed by:406
Symbol 395 GraphicUsed by:406
Symbol 396 GraphicUsed by:406
Symbol 397 GraphicUsed by:406
Symbol 398 GraphicUsed by:406
Symbol 399 GraphicUsed by:406
Symbol 400 GraphicUsed by:406
Symbol 401 GraphicUsed by:406
Symbol 402 GraphicUsed by:406
Symbol 403 GraphicUsed by:406
Symbol 404 GraphicUsed by:406
Symbol 405 GraphicUsed by:406
Symbol 406 MovieClipUses:372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405Used by:Timeline
Symbol 407 GraphicUsed by:411
Symbol 408 GraphicUsed by:411
Symbol 409 GraphicUsed by:411
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClipUses:407 408 409 410Used by:Timeline
Symbol 412 EditableTextUses:129Used by:Timeline
Symbol 413 ButtonUses:180Used by:Timeline
Symbol 414 GraphicUsed by:418
Symbol 415 GraphicUsed by:418
Symbol 416 GraphicUsed by:418
Symbol 417 GraphicUsed by:418
Symbol 418 MovieClipUses:414 415 416 417Used by:Timeline
Symbol 419 GraphicUses:204Used by:439
Symbol 420 GraphicUses:203Used by:439
Symbol 421 GraphicUses:202Used by:439
Symbol 422 GraphicUses:201Used by:439
Symbol 423 GraphicUses:200Used by:439
Symbol 424 GraphicUses:199Used by:439
Symbol 425 GraphicUses:198Used by:439
Symbol 426 GraphicUses:197Used by:439
Symbol 427 BitmapUsed by:428
Symbol 428 GraphicUses:427Used by:439
Symbol 429 BitmapUsed by:430
Symbol 430 GraphicUses:429Used by:439
Symbol 431 BitmapUsed by:432
Symbol 432 GraphicUses:431Used by:439
Symbol 433 GraphicUses:196Used by:439
Symbol 434 GraphicUses:195Used by:439
Symbol 435 GraphicUses:194Used by:439
Symbol 436 GraphicUses:220Used by:439
Symbol 437 GraphicUses:170Used by:439
Symbol 438 GraphicUses:294Used by:439
Symbol 439 MovieClipUses:419 420 421 422 423 424 425 426 428 430 432 433 434 435 436 437 438Used by:Timeline
Symbol 440 GraphicUses:234Used by:451
Symbol 441 GraphicUses:230Used by:451
Symbol 442 GraphicUses:228Used by:451
Symbol 443 GraphicUses:238Used by:451
Symbol 444 GraphicUses:240Used by:451
Symbol 445 GraphicUses:236Used by:451
Symbol 446 GraphicUses:232Used by:451
Symbol 447 BitmapUsed by:448
Symbol 448 GraphicUses:447Used by:451
Symbol 449 BitmapUsed by:450
Symbol 450 GraphicUses:449Used by:451
Symbol 451 MovieClipUses:145 440 39 367 441 442 443 444 445 446 448 450Used by:Timeline
Symbol 452 GraphicUsed by:Timeline
Symbol 453 GraphicUsed by:454
Symbol 454 ButtonUses:453Used by:Timeline
Symbol 455 EditableTextUses:155Used by:Timeline
Symbol 456 GraphicUsed by:459
Symbol 457 GraphicUsed by:459
Symbol 458 GraphicUsed by:459
Symbol 459 MovieClipUses:456 457 458Used by:Timeline
Symbol 460 GraphicUsed by:463
Symbol 461 GraphicUsed by:463
Symbol 462 GraphicUsed by:463
Symbol 463 MovieClipUses:460 461 462Used by:Timeline
Symbol 464 GraphicUsed by:467
Symbol 465 GraphicUsed by:467
Symbol 466 GraphicUsed by:467
Symbol 467 MovieClipUses:464 465 466Used by:Timeline
Symbol 468 GraphicUsed by:471
Symbol 469 GraphicUsed by:471
Symbol 470 GraphicUsed by:471
Symbol 471 MovieClipUses:468 469 470Used by:Timeline
Symbol 472 GraphicUsed by:475
Symbol 473 GraphicUsed by:475
Symbol 474 GraphicUsed by:475
Symbol 475 MovieClipUses:472 473 474Used by:Timeline
Symbol 476 EditableTextUses:155Used by:Timeline
Symbol 477 GraphicUsed by:479 485
Symbol 478 GraphicUsed by:479
Symbol 479 MovieClipUses:477 478Used by:Timeline
Symbol 480 GraphicUsed by:481
Symbol 481 MovieClipUses:480Used by:Timeline
Symbol 482 GraphicUsed by:483 484
Symbol 483 MovieClipUses:482Used by:Timeline
Symbol 484 MovieClipUses:482Used by:Timeline
Symbol 485 ButtonUses:477Used by:Timeline
Symbol 486 GraphicUsed by:488
Symbol 487 GraphicUsed by:488
Symbol 488 MovieClipUses:486 487Used by:Timeline
Symbol 489 EditableTextUses:155Used by:Timeline
Symbol 490 GraphicUsed by:491
Symbol 491 MovieClipUses:490Used by:Timeline
Symbol 492 GraphicUsed by:493
Symbol 493 MovieClipUses:492Used by:Timeline
Symbol 494 ButtonUses:318Used by:Timeline
Symbol 495 FontUsed by:496
Symbol 496 EditableTextUses:495Used by:Timeline
Symbol 497 GraphicUsed by:498
Symbol 498 MovieClipUses:497Used by:Timeline
Symbol 499 GraphicUsed by:500
Symbol 500 MovieClipUses:499Used by:Timeline
Symbol 501 GraphicUsed by:Timeline
Symbol 502 EditableTextUses:155Used by:Timeline
Symbol 503 TextUses:138Used by:Timeline
Symbol 504 TextUses:155Used by:Timeline
Symbol 505 ButtonUses:151Used by:Timeline
Symbol 506 TextUses:138Used by:Timeline
Symbol 507 TextUses:138Used by:Timeline
Symbol 508 TextUses:138Used by:Timeline
Symbol 509 TextUses:155Used by:Timeline
Symbol 510 TextUses:138Used by:Timeline
Symbol 511 TextUses:138Used by:Timeline

Instance Names

"percentloadedbox"Frame 1Symbol 142 MovieClip
"newgamebutton"Frame 5Symbol 152 Button
"playsavedbutton"Frame 5Symbol 153 Button
"editprofilebutton"Frame 5Symbol 154 Button
"instructionsbutton"Frame 7Symbol 172 Button
"instructionsbutton"Frame 7Symbol 223 Button
"instructionsbutton"Frame 8Symbol 265 Button
"etorp"Frame 10Symbol 273 MovieClip
"torp"Frame 10Symbol 282 MovieClip
"stellarobject"Frame 10Symbol 302 MovieClip
"starbase"Frame 10Symbol 336 MovieClip
"lancephaser"Frame 10Symbol 338 MovieClip
"estarbase"Frame 10Symbol 357 MovieClip
"friendly"Frame 10Symbol 369 MovieClip
"fblip"Frame 10Symbol 371 MovieClip
"shieldup"Frame 10Symbol 406 MovieClip
"eline"Frame 10Symbol 411 MovieClip
"defiant"Frame 10Symbol 125 MovieClip [defiant]
"line"Frame 10Symbol 418 MovieClip
"item1"Frame 10Symbol 439 MovieClip
"item2"Frame 10Symbol 439 MovieClip
"item3"Frame 10Symbol 439 MovieClip
"item4"Frame 10Symbol 439 MovieClip
"item5"Frame 10Symbol 439 MovieClip
"item6"Frame 10Symbol 439 MovieClip
"ship1"Frame 10Symbol 451 MovieClip
"damagetorps"Frame 10Symbol 459 MovieClip
"damageengines"Frame 10Symbol 463 MovieClip
"damageshields"Frame 10Symbol 467 MovieClip
"damagephasers"Frame 10Symbol 471 MovieClip
"damagesensors"Frame 10Symbol 475 MovieClip
"speedbar"Frame 10Symbol 479 MovieClip
"torpedoesbar"Frame 10Symbol 481 MovieClip
"shieldsbar"Frame 10Symbol 483 MovieClip
"hullbar"Frame 10Symbol 484 MovieClip
"energybar"Frame 10Symbol 485 Button
"enemybar"Frame 10Symbol 491 MovieClip
"eblip"Frame 10Symbol 20 MovieClip [eblip]
"planetblip"Frame 10Symbol 498 MovieClip
"stationpic"Symbol 336 MovieClip Frame 1Symbol 314 MovieClip
"constructbar"Symbol 336 MovieClip Frame 1Symbol 317 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "tostorp"
ExportAssets (56)Timeline Frame 1Symbol 2 as "tosphaser"
ExportAssets (56)Timeline Frame 1Symbol 3 as "romwarstheme"
ExportAssets (56)Timeline Frame 1Symbol 4 as "lance"
ExportAssets (56)Timeline Frame 1Symbol 5 as "gamemusic"
ExportAssets (56)Timeline Frame 1Symbol 6 as "def-torp"
ExportAssets (56)Timeline Frame 1Symbol 7 as "def-pulse"
ExportAssets (56)Timeline Frame 1Symbol 8 as "def-phas"
ExportAssets (56)Timeline Frame 1Symbol 9 as "hit"
ExportAssets (56)Timeline Frame 1Symbol 10 as "ephas"
ExportAssets (56)Timeline Frame 1Symbol 11 as "warp"
ExportAssets (56)Timeline Frame 1Symbol 12 as "dropwarp"
ExportAssets (56)Timeline Frame 1Symbol 13 as "def-cloak"
ExportAssets (56)Timeline Frame 1Symbol 14 as "build"
ExportAssets (56)Timeline Frame 1Symbol 15 as "beam"
ExportAssets (56)Timeline Frame 1Symbol 16 as "armor"
ExportAssets (56)Timeline Frame 1Symbol 17 as "commopen"
ExportAssets (56)Timeline Frame 1Symbol 18 as "cheers"
ExportAssets (56)Timeline Frame 1Symbol 20 as "eblip"
ExportAssets (56)Timeline Frame 1Symbol 125 as "defiant"
ExportAssets (56)Timeline Frame 10Symbol 125 as "defiant"
ExportAssets (56)Timeline Frame 10Symbol 20 as "eblip"
ExportAssets (56)Timeline Frame 11Symbol 125 as "defiant"
ExportAssets (56)Timeline Frame 11Symbol 20 as "eblip"
ExportAssets (56)Timeline Frame 12Symbol 125 as "defiant"
ExportAssets (56)Timeline Frame 12Symbol 20 as "eblip"

Dynamic Text Variables

titleSymbol 159 EditableText"Welcome Back, "
playernameSymbol 162 EditableText""
playershipSymbol 166 EditableText""
instructionsSymbol 179 EditableText""
shipdescSymbol 244 EditableText""
shipdesctextSymbol 245 EditableText""
build1Symbol 325 EditableText"BUILD NX"
build2Symbol 326 EditableText""
build3Symbol 327 EditableText""
build4Symbol 328 EditableText"RESEARCH DAEDALUS"
d1Symbol 330 EditableText"0"
d2Symbol 331 EditableText"0"
cheatboxSymbol 412 EditableText""
commSymbol 455 EditableText""
resourcesSymbol 489 EditableText"DILITHIUM: 0 DUERANIUM: 0"
keyinfoSymbol 496 EditableText""
infotextSymbol 502 EditableText"2149.23   STARFLEET HAS JUST MADE DISASTEROUS FIRST CONTACT WITH A RACE CALLING THEMSELVES THE ROMULANS. THE ROMULAN EMPIRE HAS DECLARED WAR ON EARTH, CLAIMING AN INCURSION INTO THEIR SACRED TERRITORY.   THE ROMULANS HAVE CONSTRUCTED A LARGE STARBASE 2 LIGHT YEARS FROM STARFLEET OUTPOST 5 ON THE BORDER OF ROMULAN AND EARTH TERRITORY. IT IS CLEAR THAT THIS SPECIES IS TECHNOLOGY SUPERIOR.    THE ROMULAN EMPIRE WANTS NOTHING MORE THAN TO SEE THE ENTIRE FLEET DESTROYED. AS FLEET COMMANDER, YOU MUST DEFEND EARTH AGAINST THIS NEW THREAT.    THE ROMULAN WARS HAVE BEGUN..."




http://swfchan.com/8/35052/info.shtml
Created: 16/5 -2019 10:15:47 Last modified: 16/5 -2019 10:15:47 Server time: 01/05 -2024 17:04:46