Frame 1
fscommand ("allowscale", "false");
loadVariables ("http://www.psychogoldfish.com/cgi-bin/taipanload.pl", "_root");
stop();
Frame 2
stop();
Frame 3
if (startscheme == 1) {
debt = 0;
cash = 0;
gun1s = 5;
gun2s = 0;
gun3s = 0;
gun4s = 0;
} else {
debt = 5000;
cash = 400;
gun1s = 0;
gun2s = 0;
gun3s = 0;
gun4s = 0;
}
day = 30000101 /* 0x1C9C3E5 */;
protected = 30;
damage = 0;
tspeed = 1;
trionium = 0;
alloys = 0;
weapons = 0;
food = 0;
rare = 0;
common = 0;
trionium_s = 0;
alloys_s = 0;
weapons_s = 0;
food_s = 0;
rare_s = 0;
common_s = 0;
savings = 0;
holdspace = 600;
ship = 1;
colony = 1;
trionium_rate1 = 5000;
alloys_rate1 = 150;
weapons_rate1 = 50;
food_rate1 = 25;
rare_rate1 = 300;
common_rate1 = 10;
trionium_rate2 = 5000;
alloys_rate2 = 150;
weapons_rate2 = 50;
food_rate2 = 25;
rare_rate2 = 300;
common_rate2 = 10;
trionium_rate3 = 5000;
alloys_rate3 = 250;
weapons_rate3 = 75;
food_rate3 = 30;
rare_rate3 = 300;
common_rate3 = 10;
trionium_rate4 = 4900;
alloys_rate4 = 150;
weapons_rate4 = 50;
food_rate4 = 25;
rare_rate4 = 300;
common_rate4 = 10;
trionium_rate5 = 5000;
alloys_rate5 = 150;
weapons_rate5 = 50;
food_rate5 = 25;
rare_rate5 = 300;
common_rate5 = 10;
trionium_rate6 = 5100;
alloys_rate6 = 150;
weapons_rate6 = 50;
food_rate6 = 25;
rare_rate6 = 300;
common_rate6 = 10;
trionium_rate7 = 5300;
alloys_rate7 = 150;
weapons_rate7 = 50;
food_rate7 = 25;
rare_rate7 = 300;
common_rate7 = 10;
trionium_rate8 = 5500;
alloys_rate8 = 210;
weapons_rate8 = 35;
food_rate8 = 35;
rare_rate8 = 400;
common_rate8 = 5;
trionium_rate9 = 5500;
alloys_rate9 = 200;
weapons_rate9 = 40;
food_rate9 = 40;
rare_rate9 = 350;
common_rate9 = 5;
Frame 4
ship1 = "Transport: A Class";
ship1guns = 0;
ship1power = 0;
ship1armor = 40;
ship1value = 15000;
ship1cargospace = 60;
ship2 = "Transport: B Class";
ship2guns = 0;
ship2power = 0;
ship2armor = 50;
ship2value = 22000;
ship2cargospace = 75;
ship3 = "Transport: C Class";
ship3guns = 0;
ship3power = 0;
ship3armor = 75;
ship3value = 30000;
ship3cargospace = 90;
ship4 = "Cargoship: A Class";
ship4guns = 1;
ship4power = 1;
ship4armor = 100;
ship4value = 35000;
ship4cargospace = 75;
ship5 = "Cargoship: B Class";
ship5guns = 1;
ship5power = 2;
ship5armor = 120;
ship5value = 38000;
ship5cargospace = 90;
ship6 = "Cargoship: C Class";
ship6guns = 2;
ship6power = 2;
ship6armor = 120;
ship6value = 42000;
ship6cargospace = 120;
ship7 = "Cargoship: D Class";
ship7guns = 2;
ship7power = 2;
ship7armor = 140;
ship7value = 50000;
ship7cargospace = 150;
ship8 = "Frieghter: A Class";
ship8guns = 4;
ship8power = 2;
ship8armor = 250;
ship8value = 80000 /* 0x013880 */;
ship8cargospace = 200;
ship9 = "Frieghter: B Class";
ship9guns = 5;
ship9power = 3;
ship9armor = 300;
ship9value = 100000 /* 0x0186A0 */;
ship9cargospace = 300;
colony1 = "New Terra";
colony2 = "Avalon 12";
colony3 = "El Libre";
colony4 = "Rakken";
colony5 = "Herros";
colony6 = "Cerribus";
colony7 = "Der'kuhl";
colony8 = "Oridia";
colony9 = "Tel Tua'tan";
gun1s_rate = 3000;
gun2s_rate = 5000;
gun3s_rate = 7500;
gun4s_rate = 10000;
Frame 5
stopAllSounds();
rumors = "Trade hasn't really changed much";
effects = random(6) + 1;
i = 0;
while (i < effects) {
effect = random(6) + 1;
effect1 = "trionium";
effect2 = "weapons";
effect3 = "alloys";
effect4 = "food";
effect5 = "rare";
effect6 = "common";
effected1 = random(9) + 1;
effected2 = random(9) + 1;
amount = random(20) + 5;
if (effected1 != effected2) {
updown = random(2) + 1;
if (updown == 1) {
rumors = ((((eval ("colony" add effected1) add " has increased ") add eval ("effect" add effect)) add " export to ") add eval ("colony" add effected2)) add ".";
} else {
rumors = ((((eval ("colony" add effected2) add " has slowed ") add eval ("effect" add effect)) add " export to ") add eval ("colony" add effected1)) add ".";
}
Set((eval ("effect" add effect) add "_rate") add effected1, eval ((eval ("effect" add effect) add "_rate") add effected1) - int((eval ((eval ("effect" add effect) add "_rate") add effected1) / 100) * amount));
Set((eval ("effect" add effect) add "_rate") add effected2, eval ((eval ("effect" add effect) add "_rate") add effected2) + int((eval ((eval ("effect" add effect) add "_rate") add effected2) / 100) * amount));
}
i++;
}
citymsg = "Welcome to " add eval ("colony" add colony);
udate = "Universal Date: " add (day / 10000);
trioniumrate = eval ("trionium_rate" add colony) add ".00";
alloysrate = eval ("alloys_rate" add colony) add ".00";
weaponsrate = eval ("weapons_rate" add colony) add ".00";
foodrate = eval ("food_rate" add colony) add ".00";
rarerate = eval ("rare_rate" add colony) add ".00";
commonrate = eval ("common_rate" add colony) add ".00";
stop();
Frame 6
colony = dest;
stopAllSounds();
stop();
Frame 7
if (attacker == "") {
gotoAndPlay (6);
}
warning = "We are under attack from " add attacker;
stop();
Frame 8
prevFrame();
Frame 9
gotoAndPlay (4);
Frame 10
attacker = "Mieng Kahn";
stopAllSounds();
stop();
Frame 11
gotoAndPlay (4);
Frame 12
stopAllSounds();
stop();
Frame 13
stopAllSounds();
stop();
Symbol 3 MovieClip Frame 2
go = random(4);
if (go == 2) {
gotoAndPlay (5);
}
Symbol 3 MovieClip Frame 4
gotoAndPlay (1);
Symbol 18 Button
on (release) {
play();
}
Symbol 23 Button
on (release) {
getURL ("http://www.psychogoldfish.com", "_blank");
}
Symbol 27 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 2
stop();
Symbol 33 Button
on (release) {
startscheme = 1;
play();
}
Symbol 34 Button
on (release) {
startscheme = 2;
play();
}
Symbol 38 Button
on (release) {
tellTarget ("_root.") {
gotoAndStop (5);
};
}
Symbol 39 MovieClip Frame 2
if (_root.datastatus == "loaded") {
gotoAndStop (6);
} else if (_root.datastatus == "blank") {
gotoAndStop (5);
}
Symbol 39 MovieClip Frame 4
gotoAndPlay (1);
Symbol 39 MovieClip Frame 6
tellTarget ("_root") {
debt = int(debt);
cash = int(cash);
gun1s = int(gun1s);
gun2s = int(gun2s);
gun3s = int(gun3s);
gun4s = int(gun4s);
day = int(day);
damage = int(damage);
tspeed = int(tspeed);
trionium = int(trionium);
alloys = int(alloys);
weapons = int(weapons);
food = int(food);
rare = int(rare);
common = int(common);
trionium_s = int(trionium_s);
alloys_s = int(alloys_s);
weapons_s = int(weapons_s);
food_s = int(food_s);
rare_s = int(rare_s);
common_s = int(common_s);
savings = int(savings);
holdspace = int(holdspace);
ship = int(ship);
colony = int(colony);
trionium_rate1 = int(trionium_rate1);
alloys_rate1 = int(alloys_rate1);
weapons_rate1 = int(weapons_rate1);
food_rate1 = int(food_rate1);
rare_rate1 = int(rare_rate1);
common_rate1 = int(common_rate1);
trionium_rate2 = int(trionium_rate2);
alloys_rate2 = int(alloys_rate2);
weapons_rate2 = int(weapons_rate2);
food_rate2 = int(food_rate2);
rare_rate2 = int(rare_rate2);
common_rate2 = int(common_rate2);
trionium_rate3 = int(trionium_rate3);
alloys_rate3 = int(alloys_rate3);
weapons_rate3 = int(weapons_rate3);
food_rate3 = int(food_rate3);
rare_rate3 = int(rare_rate3);
common_rate3 = int(common_rate3);
trionium_rate4 = int(trionium_rate4);
alloys_rate4 = int(alloys_rate4);
weapons_rate4 = int(weapons_rate4);
food_rate4 = int(food_rate4);
rare_rate4 = int(rare_rate4);
common_rate4 = int(common_rate4);
trionium_rate5 = int(trionium_rate5);
alloys_rate5 = int(alloys_rate5);
weapons_rate5 = int(weapons_rate5);
food_rate5 = int(food_rate5);
rare_rate5 = int(rare_rate5);
common_rate5 = int(common_rate5);
trionium_rate6 = int(trionium_rate6);
alloys_rate6 = int(alloys_rate6);
weapons_rate6 = int(weapons_rate6);
food_rate6 = int(food_rate6);
rare_rate6 = int(rare_rate6);
common_rate6 = int(common_rate6);
trionium_rate7 = int(trionium_rate7);
alloys_rate7 = int(alloys_rate7);
weapons_rate7 = int(weapons_rate7);
food_rate7 = int(food_rate7);
rare_rate7 = int(rare_rate7);
common_rate7 = int(common_rate7);
trionium_rate8 = int(trionium_rate8);
alloys_rate8 = int(alloys_rate8);
weapons_rate8 = int(weapons_rate8);
food_rate8 = int(food_rate8);
rare_rate8 = int(rare_rate8);
common_rate8 = int(common_rate8);
trionium_rate9 = int(trionium_rate9);
alloys_rate9 = int(alloys_rate9);
weapons_rate9 = int(weapons_rate9);
food_rate9 = int(food_rate9);
rare_rate9 = int(rare_rate9);
common_rate9 = int(common_rate9);
};
Symbol 59 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 1
ship = eval ("_root.ship" add _root.ship);
shipguns = eval (("_root.ship" add _root.ship) add "guns");
shippower = eval (("_root.ship" add _root.ship) add "power");
shiparmor = eval (("_root.ship" add _root.ship) add "armor");
shipcargospace = eval (("_root.ship" add _root.ship) add "cargospace");
shipcargo = (((((((((_root.gun1s + _root.gun2s) + _root.gun3s) + _root.gun4s) * 10) + _root.trionium) + _root.alloys) + _root.weapons) + _root.food) + _root.rare) + _root.common;
cargo = ((((_root.trionium + _root.alloys) + _root.weapons) + _root.food) + _root.rare) + _root.common;
if (shipcargospace < shipcargo) {
overload = "true";
tellTarget ("over") {
gotoAndStop (2);
};
} else {
tellTarget ("over") {
gotoAndStop (1);
};
overload = "";
}
shipdamage = 100 - int(((shiparmor - _root.damage) / shiparmor) * 100);
if (0 < shipdamage) {
shipvalue = (eval (("_root.ship" add _root.ship) add "value") - int(eval (("_root.ship" add _root.ship) add "value") * (shipdamage / 100))) add ".00";
} else {
shipvalue = int(eval (("_root.ship" add _root.ship) add "value")) add ".00";
}
damage = int(shipdamage);
if (damage < 33) {
_root.tspeed = 1;
} else if (damage < 66) {
_root.tspeed = 2;
} else {
_root.tspeed = 4;
}
if (damage >= 100) {
tellTarget ("_root") {
text = "You died in combat without avenging your father...";
gotoAndPlay ("gameover");
};
}
if ((((_root.cash < 1) and (shipcargo < 1)) and (_root.savings < 1)) and (_root.ship < 2)) {
tellTarget ("_root") {
text = "You have lost all your assets, your company is bankrupt... you will never have your revenge...";
gotoAndPlay ("gameover");
};
}
shipdamage = shipdamage add "%";
Symbol 60 MovieClip Frame 2
gotoAndPlay (1);
Symbol 65 MovieClip Frame 1
savings = _root.savings add ".00";
Symbol 65 MovieClip Frame 2
gotoAndPlay (1);
Symbol 76 MovieClip Frame 1
gun1s = _root.gun1s;
gun2s = _root.gun2s;
gun3s = _root.gun3s;
gun4s = _root.gun4s;
Symbol 76 MovieClip Frame 2
gotoAndPlay (1);
Symbol 79 MovieClip Frame 1
debt = _root.debt add ".00";
Symbol 79 MovieClip Frame 2
gotoAndPlay (1);
Symbol 82 MovieClip Frame 1
cash = _root.cash add ".00";
Symbol 82 MovieClip Frame 2
gotoAndPlay (1);
Symbol 101 Button
on (release) {
if (_root.yourship.overload != "true") {
gotoAndStop (11);
}
}
Symbol 102 Button
on (release) {
gotoAndPlay (4);
}
Symbol 103 Button
on (release) {
gotoAndPlay (6);
}
Symbol 104 Button
on (release) {
gotoAndPlay (7);
}
Symbol 105 Button
on (release) {
gotoAndPlay (8);
}
Symbol 106 Button
on (release) {
gotoAndPlay (9);
}
Symbol 107 Button
on (release) {
gotoAndPlay (10);
}
Symbol 108 Button
on (release) {
tellTarget ("_root") {
gotoAndStop ("final");
};
}
Symbol 109 Button
on (release) {
gotoAndPlay (5);
}
Symbol 117 Button
on (release) {
item = "Common Goods";
itemx = "common";
error = "Common goods are usually inexpensive entertainment items.";
}
Symbol 118 Button
on (release) {
item = "Trionium";
itemx = "trionium";
error = "Trionium is a highly valuable crystal used as an energy source.";
}
Symbol 123 Button
on (release) {
qty = int(qty);
error = "";
if (item != "") {
if (0 < qty) {
if (_root.cash < (qty * eval ((("_root." add itemx) add "_rate") add _root.colony))) {
error = "You don't have enough money for this purchase.";
} else {
Set("_root." add itemx, eval ("_root." add itemx) + qty);
_root.cash = _root.cash - (qty * eval ((("_root." add itemx) add "_rate") add _root.colony));
error = (("Purchased " add qty) add " ") add item;
qty = "";
}
} else {
error = "You must specify a qantity.";
qty = "";
}
} else {
error = "You must first select an item from the list above";
qty = "";
}
}
Symbol 124 Button
on (release) {
qty = int(qty);
error = "";
if (item != "") {
if (0 < qty) {
if (eval ("_root." add itemx) < qty) {
error = "You do not have that much " add item;
} else {
Set("_root." add itemx, eval ("_root." add itemx) - qty);
_root.cash = _root.cash + (qty * eval ((("_root." add itemx) add "_rate") add _root.colony));
error = (("Sold " add qty) add " ") add item;
qty = "";
}
} else {
error = "You must specify a qantity.";
qty = "";
}
} else {
error = "You must first select an item from the list above";
qty = "";
}
}
Symbol 127 Button
on (release) {
item = "Food";
itemx = "food";
error = "All colonies require food items to be impotred for all of the various alien races.";
}
Symbol 128 Button
on (release) {
item = "Weapons";
itemx = "weapons";
error = "Weapons crates contain various guns and military equipment";
}
Symbol 129 Button
on (release) {
item = "Rare Goods";
itemx = "rare";
error = "Rare goods include artwork, fine foods and beverages, popular among high society.";
}
Symbol 130 Button
on (release) {
item = "Alloys";
itemx = "alloys";
error = "Alloys are solid blocks of metal which are melted down for construction.";
}
Symbol 139 MovieClip Frame 1
trioniumstk = _root.trionium;
alloysstk = _root.alloys;
rarestk = _root.rare;
weaponsstk = _root.weapons;
foodstk = _root.food;
commonstk = _root.common;
Symbol 139 MovieClip Frame 2
gotoAndPlay (1);
Symbol 143 Button
on (release) {
gotoAndStop(go2);
}
Symbol 146 Button
on (release) {
item = "Single Cannon";
itemx = "gun1s";
}
Symbol 149 Button
on (release) {
qty = int(qty);
error = "";
if (item != "") {
if (0 < qty) {
if (_root.cash < (qty * eval (("_root." add itemx) add "_rate"))) {
error = "You don't have enough money for this purchase.";
} else if ((_root.yourship.shipcargospace - _root.yourship.shipcargo) < (qty * 10)) {
error = "You don't have enough room on your ship.";
} else {
Set("_root." add itemx, eval ("_root." add itemx) + qty);
_root.cash = _root.cash - (qty * eval (("_root." add itemx) add "_rate"));
error = (("Purchased " add qty) add " ") add item;
qty = "";
}
} else {
error = "You must specify a qantity.";
qty = "";
}
} else {
error = "You must first select an item from the list above";
qty = "";
}
}
Symbol 153 Button
on (release) {
item = "Dual Cannon";
itemx = "gun2s";
}
Symbol 154 Button
on (release) {
item = "Tri-Cannon";
itemx = "gun3s";
}
Symbol 155 Button
on (release) {
item = "Quad Cannon";
itemx = "gun4s";
}
Symbol 168 Button
on (release) {
x = x + 1;
if (9 < x) {
x = 1;
}
}
Symbol 169 Button
on (release) {
x = x - 1;
if (x < 1) {
x = 9;
}
}
Symbol 172 Button
on (release) {
if ((int(_root.yourship.shipvalue) + _root.cash) < int(shipvalue)) {
error = "You need more money for this trade.";
} else {
_root.cash = (int(_root.yourship.shipvalue) + _root.cash) - int(shipvalue);
_root.ship = x;
_root.damage = 0;
error = "You now have a new ship.";
}
}
Symbol 185 MovieClip Frame 1
play();
if (x) {
ship = (("(" add x) add ") ") add eval ("_root.ship" add x);
shipguns = eval (("_root.ship" add x) add "guns");
shippower = eval (("_root.ship" add x) add "power");
shiparmor = eval (("_root.ship" add x) add "armor");
shipcargospace = eval (("_root.ship" add x) add "cargospace");
shipvalue = eval (("_root.ship" add x) add "value") add ".00";
tellTarget ("pics") {
gotoAndPlay(../:x);
};
} else {
x = 1;
}
Symbol 185 MovieClip Frame 2
gotoAndPlay (1);
Symbol 193 MovieClip Frame 1
gotoAndStop(random(4) + 2);
Symbol 198 Button
on (release) {
if (_root.noloans == "true") {
Set("../:greeting", "I am not interested in doing business with the likes of you...leave here at once.");
} else {
amount = int(amount);
if (action == "Borrow") {
if ((_root.cash - _root.debt) < amount) {
Set("../:greeting", "I'm sorry Taipan, but given your current cash situation I am unable to lend you the amount you ask.");
} else {
if (_root.debt < 1) {
_root.debtdue = 30;
}
_root.cash = _root.cash + amount;
_root.debt = _root.debt + amount;
amount = "";
Set("../:greeting", "Very well, I will lend you the money, but I suggest you not let your debt grow too large, or I will take your ship. I will be charging you a 0.3% daily interest rate, and I require a 10% payment every 30 days.");
}
} else if (action == "Pay") {
if (_root.debt < amount) {
Set("../:greeting", "That's more than you owe me Taipan... I am the moneylender around here.");
} else {
if (amount < (_root.debt / 10)) {
Set("../:greeting", "That is not the 10% you owe me, I will accept no less.");
} else {
_root.cash = _root.cash - amount;
_root.debt = _root.debt - amount;
Set("../:greeting", "Thank you Taipan, it's a pleasure doing business with you.");
_root.debtdue = _root.debtdue - 30;
}
amount = "";
}
}
}
}
Symbol 204 Button
on (release) {
action = "Pay";
}
Symbol 205 Button
on (release) {
action = "Borrow";
}
Symbol 207 MovieClip Frame 1
amount = int(amount);
out = ((action add " $") add amount) add ".00?";
if ((action != "Borrow") and (action != "Pay")) {
action = "Borrow";
}
Symbol 207 MovieClip Frame 2
gotoAndPlay (1);
Symbol 210 Button
on (release) {
amount = int(amount);
if (action == "Withdraw") {
if (_root.savings < amount) {
msg = "Insufficient Funds.";
} else {
_root.cash = _root.cash + amount;
_root.savings = _root.savings - amount;
amount = "";
msg = "Thank you, your withdrawal is complete.";
}
} else if (action == "Deposit") {
if (_root.cash < amount) {
msg = "You do not have that much cash.";
} else {
_root.cash = _root.cash - amount;
_root.savings = _root.savings + amount;
amount = "";
msg = "Thank you for your deposit. Have a great day!";
}
}
}
Symbol 215 Button
on (release) {
action = "Deposit";
}
Symbol 216 Button
on (release) {
action = "Withdraw";
}
Symbol 218 MovieClip Frame 1
amount = int(amount);
out = ((action add " $") add amount) add ".00?";
if ((action != "Deposit") and (action != "Withdraw")) {
action = "Deposit";
}
Symbol 218 MovieClip Frame 2
gotoAndPlay (1);
Symbol 221 Button
on (release) {
item = "Common Goods";
itemx = "common";
error = "Common goods are usually inexpensive entertainment items.";
}
Symbol 222 Button
on (release) {
item = "Trionium";
itemx = "trionium";
error = "Trionium is a highly valuable crystal used as an energy source.";
}
Symbol 224 Button
on (release) {
qty = int(qty);
if (eval (("_root." add itemx) add "_s") < qty) {
error = "You don't have that much in your hold.";
} else if (_root.yourship.shipcargospace < qty) {
error = "Insufficient space on your ship";
} else {
error = "Goods transfered.";
Set("_root." add itemx, eval ("_root." add itemx) + qty);
Set(("_root." add itemx) add "_s", eval (("_root." add itemx) add "_s") - qty);
_root.holdspace = _root.holdspace - qty;
qty = "";
}
}
Symbol 225 Button
on (release) {
qty = int(qty);
if (eval ("_root." add itemx) < qty) {
error = "You don't have that much on your ship";
} else if (_root.holdspace < qty) {
error = "Insufficient space in your hold";
} else {
error = "Goods transfered.";
Set("_root." add itemx, eval ("_root." add itemx) - qty);
Set(("_root." add itemx) add "_s", eval (("_root." add itemx) add "_s") + qty);
_root.holdspace = _root.holdspace + qty;
qty = "";
}
}
Symbol 228 Button
on (release) {
item = "Food";
itemx = "food";
error = "All colonies require food items to be impotred for all of the various alien races.";
}
Symbol 229 Button
on (release) {
item = "Weapons";
itemx = "weapons";
error = "Weapons crates contain various guns and military equipment";
}
Symbol 230 Button
on (release) {
item = "Rare Goods";
itemx = "rare";
error = "Rare goods include artwork, fine foods and beverages, popular among high society.";
}
Symbol 231 Button
on (release) {
item = "Alloys";
itemx = "alloys";
error = "Alloys are solid blocks of metal which are melted down for construction.";
}
Symbol 240 MovieClip Frame 1
trioniumstk = _root.trionium;
alloysstk = _root.alloys;
rarestk = _root.rare;
weaponsstk = _root.weapons;
foodstk = _root.food;
commonstk = _root.common;
Symbol 240 MovieClip Frame 2
gotoAndPlay (1);
Symbol 248 MovieClip Frame 1
trioniumstk = _root.trionium_s;
alloysstk = _root.alloys_s;
rarestk = _root.rare_s;
weaponsstk = _root.weapons_s;
foodstk = _root.food_s;
commonstk = _root.common_s;
Symbol 248 MovieClip Frame 2
gotoAndPlay (1);
Symbol 251 Button
on (rollOver, dragOver) {
dest = 3;
}
on (rollOut, dragOut, releaseOutside) {
dest = "";
}
on (release) {
_root.dest = dest;
_root.ttime = days;
tellTarget ("_root") {
gotoAndPlay ("travel");
};
}
Symbol 255 MovieClip Frame 1
stop();
Symbol 256 Button
on (rollOver, dragOver) {
dest = 2;
}
on (rollOut, dragOut, releaseOutside) {
dest = "";
}
on (release) {
_root.dest = dest;
_root.ttime = days;
tellTarget ("_root") {
gotoAndPlay ("travel");
};
}
Symbol 257 Button
on (rollOver, dragOver) {
dest = 1;
}
on (rollOut, dragOut, releaseOutside) {
dest = "";
}
on (release) {
_root.dest = dest;
_root.ttime = days;
tellTarget ("_root") {
gotoAndPlay ("travel");
};
}
Symbol 258 Button
on (rollOver, dragOver) {
dest = 5;
}
on (rollOut, dragOut, releaseOutside) {
dest = "";
}
on (release) {
_root.dest = dest;
_root.ttime = days;
tellTarget ("_root") {
gotoAndPlay ("travel");
};
}
Symbol 259 Button
on (rollOver, dragOver) {
dest = 7;
}
on (rollOut, dragOut, releaseOutside) {
dest = "";
}
on (release) {
_root.dest = dest;
_root.ttime = days;
tellTarget ("_root") {
gotoAndPlay ("travel");
};
}
Symbol 260 Button
on (rollOver, dragOver) {
dest = 4;
}
on (rollOut, dragOut, releaseOutside) {
dest = "";
}
on (release) {
_root.dest = dest;
_root.ttime = days;
tellTarget ("_root") {
gotoAndPlay ("travel");
};
}
Symbol 261 Button
on (rollOver, dragOver) {
dest = 6;
}
on (rollOut, dragOut, releaseOutside) {
dest = "";
}
on (release) {
_root.dest = dest;
_root.ttime = days;
tellTarget ("_root") {
gotoAndPlay ("travel");
};
}
Symbol 262 Button
on (rollOver, dragOver) {
dest = 8;
}
on (rollOut, dragOut, releaseOutside) {
dest = "";
}
on (release) {
_root.dest = dest;
_root.ttime = days;
tellTarget ("_root") {
gotoAndPlay ("travel");
};
}
Symbol 263 Button
on (rollOver, dragOver) {
dest = 9;
}
on (rollOut, dragOut, releaseOutside) {
dest = "";
}
on (release) {
_root.dest = dest;
_root.ttime = days;
tellTarget ("_root") {
gotoAndPlay ("travel");
};
}
Symbol 264 MovieClip Frame 1
bx = eval (("col" add _root.colony) add "._x");
by = eval (("col" add _root.colony) add "._y");
tellTarget ("col" add _root.colony) {
gotoAndStop (2);
};
if ((dest < 10) and (0 < dest)) {
cx = eval (("col" add dest) add "._x");
cy = eval (("col" add dest) add "._y");
days = int(int(Math.sqrt(((bx - cx) * (bx - cx)) + ((by - cy) * (by - cy))) / 17.5) * _root.tspeed);
destination = ((eval ("_root.colony" add dest) add " (") add days) add " days)";
} else {
destination = "";
}
Symbol 264 MovieClip Frame 2
gotoAndPlay (1);
Symbol 268 Button
on (release) {
gotoAndStop (3);
}
Symbol 272 Button
on (release) {
if (_root.cash < ../:payoff) {
Set("../:greeting", "You don't even have the money... Why don't you go trade some more and come see me again.");
} else {
_root.cash = _root.cash - ../:payoff;
Set("../:greeting", "Very good Taipan, may your travels be prosperous.....for both of us, hehehe");
_root.protected = random(10) + 20;
_root.payoff = int(_root.payoff * 1.33);
}
nextFrame();
}
Symbol 273 Button
on (release) {
Set("../:greeting", "That's a shame, but the choice is yours, I would never FORCE you to pay... hehehe....");
if (_root.protected < -25) {
tellTarget ("_root") {
gotoAndStop ("final");
};
}
nextFrame();
}
Symbol 274 Button
on (release) {
tellTarget ("..") {
gotoAndStop (2);
};
}
Symbol 275 MovieClip Frame 1
stop();
Symbol 279 Button
on (release) {
amount = int(amount);
if (_root.cash < amount) {
Set("../:greeting", "You don't have that much money Taipan.");
} else if (../:repaircost < amount) {
Set("../:greeting", ("That's too much money, the repairs are only $" add ../:repaircost) add ".00.");
} else {
_root.damage = _root.damage - int((_root.damage / ../:repaircost) * amount);
_root.cash = _root.cash - amount;
amount = 0;
tellTarget ("..") {
gotoAndPlay (1);
};
}
}
Symbol 282 Button
on (release) {
tellTarget ("..") {
gotoAndPlay (1);
};
}
Symbol 284 MovieClip Frame 1
if ((amount < 1) and (ignore != "y")) {
amount = ../:repaircost;
if (_root.cash < amount) {
amount = _root.cash;
}
ignore = "y";
}
out = ("Pay $" add int(amount)) add ".00?";
Symbol 284 MovieClip Frame 2
gotoAndPlay (1);
Symbol 286 MovieClip Frame 1
fscommand ("showmenu", "false");
if (_root.colony == 1) {
if ((0 < _root.damage) and (repairguy != "true")) {
gotoAndStop (14);
} else {
go2 = "2";
if (_root.protected < 1) {
gotoAndStop (13);
} else {
gotoAndStop (2);
}
}
} else {
go2 = "3";
if (_root.protected < 1) {
gotoAndStop (12);
} else {
gotoAndStop (3);
}
}
Symbol 286 MovieClip Frame 4
item = "";
qty = "";
error = "";
stop();
Symbol 286 MovieClip Frame 5
item = "";
qty = "";
error = "Please note that it is illegal for you to sell gun drones or store them within a colony.";
stop();
Symbol 286 MovieClip Frame 6
stop();
Instance of Symbol 185 MovieClip in Symbol 286 MovieClip Frame 6
onClipEvent (load) {
stop();
}
Symbol 286 MovieClip Frame 7
greeting1 = "Hey there";
greeting2 = "Welcome";
greeting3 = "Hello";
greeting4 = "Greetings";
greeting = random(4) + 1;
rumor = (eval ("greeting" add greeting) add " Taipan! Rumor has it that ") add _root.rumors;
stop();
Symbol 286 MovieClip Frame 8
if (_root.noloans == "true") {
greeting = "...";
} else if (30 < _root.debtdue) {
greeting = "Taipan, I am loosing patience, where is the money you owe me?";
} else if (0 < _root.debt) {
greeting = "Greetings Taipan, have you come to pay your debts, or do you require more money?";
} else {
greeting = "Welcome Taipan, what can I do for you?";
}
stop();
Symbol 286 MovieClip Frame 9
stop();
Symbol 286 MovieClip Frame 10
item = "";
qty = "";
error = "Available space in hold: " add _root.holdspace;
stop();
Symbol 286 MovieClip Frame 11
stop();
Symbol 286 MovieClip Frame 12
greeting1 = "Taipan, Mieng Kahn sends word that he has business with you in New Terra. I suggest you see him immediately.";
if (_root.protected < -25) {
greeting1 = "Mieng Kahn has grown angry with you Taipan, I highly suggest you pay him soon!";
}
stop();
Symbol 286 MovieClip Frame 13
payoff = _root.payoff;
if (payoff < 450) {
payoff = 450;
}
greeting = ("As you know, my fleet protects your trade routes. It would be appreciated if you would donate $" add payoff) add ".00 to feed the men and maintain the ships.";
stop();
Symbol 286 MovieClip Frame 14
repaircost = int((eval (("_root.ship" add _root.ship) add "value") - _root.yourship.shipvalue) * 0.9);
calc.amount = repaircost;
greeting = ("Looks like you saw some action, Taipan. I can fix your ship up like new for $" add repaircost) add ".00. I can also do partial repairs if you can't afford that much.";
repairguy = "true";
stop();
Symbol 290 Button
on (release) {
getURL ("http://www.psychogoldfish.com/cgi-bin/taipansave.pl", "", "POST");
}
Symbol 292 MovieClip Frame 1
tellTarget ("pics") {
gotoAndStop(_root.ship);
};
Symbol 292 MovieClip Frame 24
_root.ttime = _root.ttime - _root.tspeed;
_root.protected = int(_root.protected) - 1;
_root.day = _root.day + 1;
_root.debt = int(_root.debt * 1.003);
_root.savings = int(_root.savings * 1.001);
if (0 < _root.debt) {
_root.debtdue = _root.debtdue + 1;
}
if (_root.ttime < 0) {
tellTarget ("_root") {
gotoAndPlay ("colony");
};
} else {
pirates = random(6);
if (pirates == 1) {
_root.attacker = "Unknown Pirates";
} else if ((pirates == 2) and (_root.protected < 1)) {
_root.attacker = "Mieng Kahn's Pirates";
} else if ((pirates == 3) and (30 < _root.debtdue)) {
_root.attacker = "Bounty Hunters";
} else {
_root.attacker = "";
}
if ((0 < pirates) and (pirates < 4)) {
if (_root.protected < -40) {
_root.attacker = "Mieng Kahn";
}
tellTarget ("_root") {
gotoAndStop ("fight");
};
}
}
Symbol 292 MovieClip Frame 25
gotoAndPlay (1);
Symbol 302 MovieClip Frame 1
setProperty("bar", _xscale , 100);
setProperty("pwr", _xscale , 100 - _root.yourship.damage);
setProperty("pwr2", _xscale , 100 - _root.yourship.damage);
red = _root.yourship.damage * 3;
if (255 < red) {
red = 255;
}
setProperty("pwr", _alpha , red);
Symbol 302 MovieClip Frame 2
gotoAndPlay (1);
Symbol 306 Button
on (release) {
_root.warning = "Cargo has been dumped, that should distract them.";
_root.trionium = 0;
_root.alloys = 0;
_root.weapons = 0;
_root.food = 0;
_root.rare = 0;
_root.common = 0;
gotoAndPlay (4);
}
Symbol 307 Button
on (release) {
if (_root.attacker == "Mieng Kahn") {
_root.warning = "You can't escape this battle.";
} else if (20 < _root.yourship.cargo) {
_root.warning = "They are still following, they must want the cargo.";
gotoAndPlay (4);
} else {
tellTarget ("_root") {
gotoAndStop ("travel");
};
}
}
Symbol 309 Button
on (release) {
_root.warning = "Attacking the enemy.";
Set("../:shots", 0);
marker = 0;
gotoAndPlay (2);
}
Symbol 313 MovieClip Frame 1
Set("../:gun", "");
Set("../:guns", (((int(_root.yourship.shipguns) + _root.gun1s) + _root.gun2s) + _root.gun3s) + _root.gun4s);
saved = "Random(20) + 1";
if ((saved == 8) and (_root.attacker == "Unknown Pirates")) {
gotoAndPlay (13);
}
stop();
Symbol 313 MovieClip Frame 2
if (../:shots >= ../:guns) {
Set("../:shots", 0);
Set("../:attacks", 0);
gotoAndPlay (4);
}
if (../:shots < int(_root.yourship.shipguns)) {
Set("../:gun", "Ship's Cannon");
Set("../:power", int(_root.yourship.shippower));
} else if (../:shots < (int(_root.yourship.shipguns) + _root.gun4s)) {
Set("../:gun", "Gun Drone: 4-C");
Set("../:power", 4);
} else if (../:shots < ((int(_root.yourship.shipguns) + _root.gun4s) + _root.gun3s)) {
Set("../:gun", "Gun Drone: 3-C");
Set("../:power", 3);
} else if (../:shots < (((int(_root.yourship.shipguns) + _root.gun4s) + _root.gun3s) + _root.gun2s)) {
Set("../:gun", "Gun Drone: 2-C");
Set("../:power", 2);
} else {
Set("../:gun", "Gun Drone: 1-C");
Set("../:power", 1);
}
Symbol 313 MovieClip Frame 3
gotoAndPlay (2);
Symbol 313 MovieClip Frame 4
Set("../:gun", "");
Set("../:attacks", int(../:attacks) + 1);
Set(("../bad" add ../:attacks) add ":id", ../:attacks);
tellTarget ("../bad" add int(../:attacks)) {
if (0 < shields) {
gotoAndPlay ("fire");
}
};
Symbol 313 MovieClip Frame 11
if (../:attacks >= ../:enemies) {
gotoAndStop (1);
}
Symbol 313 MovieClip Frame 12
gotoAndPlay (4);
Symbol 313 MovieClip Frame 13
_root.warning = "Mieng Kahn's pirates are approaching, the enemy is retreating";
play();
Symbol 313 MovieClip Frame 49
if (_root.protected < 1) {
_root.attacker = "Mieng Kahn's Pirates";
tellTarget ("..") {
gotoAndPlay (1);
};
} else {
tellTarget ("_root") {
gotoAndStop ("travel");
};
}
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 2
_root.warning = "We've been hit!";
Symbol 316 MovieClip Frame 7
gotoAndStop (1);
Symbol 316 MovieClip Frame 8
_root.warning = "We lost a gun drone!";
Symbol 316 MovieClip Frame 13
gotoAndStop (1);
Symbol 316 MovieClip Frame 22
gotoAndStop (1);
Symbol 318 MovieClip Frame 1
setProperty("bar", _xscale , 100);
setProperty("pwr", _xscale , ../:shields);
setProperty("pwr2", _xscale , ../:shields);
red = (100 - ../:shields) * 3;
if (255 < red) {
red = 255;
}
setProperty("pwr", _alpha , red);
Symbol 318 MovieClip Frame 2
gotoAndPlay (1);
Symbol 322 Button
on (release) {
if (../:gun != "") {
Set("../:shots", ../:shots + 1);
if (random(3) != 1) {
shields = shields - (../:power * 25);
tellTarget ("effect") {
gotoAndPlay ("hit");
};
} else {
tellTarget ("effect") {
gotoAndPlay ("miss");
};
}
}
}
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 7
gotoAndStop (1);
Symbol 325 MovieClip Frame 27
gotoAndStop (1);
Symbol 328 MovieClip Frame 1
shields = "100";
Symbol 328 MovieClip Frame 2
if (shields < 1) {
Set("../:kills", ../:kills + 1);
Set("../:booty", (../:booty + 100) + random(1000));
if (../:kills >= ../:enemies) {
tellTarget ("..") {
gotoAndPlay ("won");
};
}
gotoAndPlay (13);
}
Symbol 328 MovieClip Frame 3
gotoAndPlay (2);
Symbol 328 MovieClip Frame 4
loaded = random(3) + 1;
if (loaded != 1) {
gotoAndPlay (2);
}
Symbol 328 MovieClip Frame 9
success = random(12) + 1;
if (success == 1) {
damaged = "gun1s";
} else if (success == 2) {
damaged = "gun2s";
} else if (success == 3) {
damaged = "gun3s";
} else if (success == 4) {
damaged = "gun4s";
} else if (10 >= success) {
damaged = "ship";
} else {
damaged = "";
}
if ((damaged == "gun1s") and (_root.gun1s < 1)) {
damaged = "ship";
}
if ((damaged == "gun2s") and (_root.gun2s < 1)) {
damaged = "ship";
}
if ((damaged == "gun3s") and (_root.gun3s < 1)) {
damaged = "ship";
}
if ((damaged == "gun4s") and (_root.gun4s < 1)) {
damaged = "ship";
}
if (damaged == "ship") {
_root.damage = _root.damage + 2;
tellTarget ("../flash") {
gotoAndPlay ("hit");
};
} else if (damaged == "") {
tellTarget ("../flash") {
gotoAndPlay ("miss");
};
} else {
Set("_root." add damaged, eval ("_root." add damaged) - 1);
Set("../:guns", ../:guns - 1);
tellTarget ("../flash") {
gotoAndPlay ("hit2");
};
}
Symbol 328 MovieClip Frame 12
gotoAndPlay (2);
Symbol 328 MovieClip Frame 26
stop();
Symbol 330 Button
on (release) {
if (../:gun != "") {
Set("../:shots", ../:shots + 1);
if (random(3) != 1) {
shields = shields - (../:power * 12);
tellTarget ("effect") {
gotoAndPlay ("hit");
};
} else {
tellTarget ("effect") {
gotoAndPlay ("miss");
};
}
}
}
Symbol 331 MovieClip Frame 1
shields = "100";
Symbol 331 MovieClip Frame 2
if (shields < 1) {
Set("../:kills", ../:kills + 1);
Set("../:booty", (../:booty + 100) + random(1000));
if (../:kills >= ../:enemies) {
tellTarget ("..") {
gotoAndPlay ("won");
};
}
gotoAndPlay (13);
}
Symbol 331 MovieClip Frame 3
gotoAndPlay (2);
Symbol 331 MovieClip Frame 4
loaded = random(2) + 1;
if (loaded != 1) {
gotoAndPlay (2);
}
Symbol 331 MovieClip Frame 9
success = random(12) + 1;
if (success == 1) {
damaged = "gun1s";
} else if (success == 2) {
damaged = "gun2s";
} else if (success == 3) {
damaged = "gun3s";
} else if (success == 4) {
damaged = "gun4s";
} else if (10 >= success) {
damaged = "ship";
} else {
damaged = "";
}
if ((damaged == "gun1s") and (_root.gun1s < 1)) {
damaged = "ship";
}
if ((damaged == "gun2s") and (_root.gun2s < 1)) {
damaged = "ship";
}
if ((damaged == "gun3s") and (_root.gun3s < 1)) {
damaged = "ship";
}
if ((damaged == "gun4s") and (_root.gun4s < 1)) {
damaged = "ship";
}
if (damaged == "ship") {
_root.damage = _root.damage + 5;
tellTarget ("../flash") {
gotoAndPlay ("hit");
};
} else if (damaged == "") {
tellTarget ("../flash") {
gotoAndPlay ("miss");
};
} else {
Set("_root." add damaged, eval ("_root." add damaged) - 1);
Set("../:guns", ../:guns - 1);
tellTarget ("../flash") {
gotoAndPlay ("hit2");
};
}
Symbol 331 MovieClip Frame 12
gotoAndPlay (2);
Symbol 331 MovieClip Frame 26
stop();
Symbol 333 Button
on (release) {
if (../:gun != "") {
Set("../:shots", ../:shots + 1);
if (random(3) != 1) {
shields = shields - int((../:power / 3) * 2);
tellTarget ("effect") {
gotoAndPlay ("hit");
};
} else {
tellTarget ("effect") {
gotoAndPlay ("miss");
};
}
}
}
Symbol 334 MovieClip Frame 1
shields = "100";
Symbol 334 MovieClip Frame 2
if (shields < 1) {
Set("../:kills", ../:kills + 1);
Set("../:booty", (../:booty + 100) + random(1000));
if (../:kills >= ../:enemies) {
tellTarget ("..") {
gotoAndPlay ("won");
};
}
gotoAndPlay (13);
}
Symbol 334 MovieClip Frame 3
gotoAndPlay (2);
Symbol 334 MovieClip Frame 4
loaded = random(3) + 1;
if (loaded != 1) {
gotoAndPlay (2);
}
Symbol 334 MovieClip Frame 9
success = random(12) + 1;
if (success == 1) {
damaged = "gun1s";
} else if (success == 2) {
damaged = "gun2s";
} else if (success == 3) {
damaged = "gun3s";
} else if (success == 4) {
damaged = "gun4s";
} else if (10 >= success) {
damaged = "ship";
} else {
damaged = "";
}
if ((damaged == "gun1s") and (_root.gun1s < 1)) {
damaged = "ship";
}
if ((damaged == "gun2s") and (_root.gun2s < 1)) {
damaged = "ship";
}
if ((damaged == "gun3s") and (_root.gun3s < 1)) {
damaged = "ship";
}
if ((damaged == "gun4s") and (_root.gun4s < 1)) {
damaged = "ship";
}
if (damaged == "ship") {
_root.damage = _root.damage + 8;
tellTarget ("../flash") {
gotoAndPlay ("hit");
};
} else if (damaged == "") {
tellTarget ("../flash") {
gotoAndPlay ("miss");
};
} else {
Set("_root." add damaged, eval ("_root." add damaged) - 1);
Set("../:guns", ../:guns - 1);
tellTarget ("../flash") {
gotoAndPlay ("hit2");
};
}
Symbol 334 MovieClip Frame 12
gotoAndPlay (2);
Symbol 334 MovieClip Frame 26
stop();
Symbol 336 Button
on (release) {
tellTarget ("_root") {
gotoAndStop ("travel");
};
}
Symbol 340 MovieClip Frame 1
kills = 0;
if (_root.attacker == "Mieng Kahn's Pirates") {
mod = random(2) + 2;
} else if (_root.attacker == "Bounty Hunters") {
mod = random(4);
} else {
mod = -2;
}
fleetsize = (random(5) + 1) + mod;
if (10 < fleetsize) {
fleetsize = 10;
} else if (fleetsize < 1) {
fleetsize = 1;
}
enemies = fleetsize * 5;
if (_root.attacker == "Mieng Kahn") {
enemies = 15;
gotoAndStop (12);
} else {
gotoAndStop(fleetsize + 1);
}
Symbol 340 MovieClip Frame 13
booty1 = int(booty) add ".00";
_root.cash = _root.cash + int(booty);
booty = 0;
if (_root.attacker == "Mieng Kahn") {
tellTarget ("_root") {
gotoAndPlay ("youwin");
};
}
stop();
Symbol 342 Button
on (release) {
gotoAndStop (7);
}
Symbol 359 MovieClip Frame 13
stop();
Symbol 362 MovieClip Frame 1
x = random(10) + 1;
if (x == 2) {
gotoAndPlay (31);
} else if (x == 3) {
gotoAndPlay (50);
} else if (x == 4) {
gotoAndPlay (12);
}
Symbol 362 MovieClip Frame 4
x = random(10) + 1;
if (x == 2) {
gotoAndPlay (31);
} else if (x == 3) {
gotoAndPlay (50);
} else if (x == 4) {
gotoAndPlay (12);
}
Symbol 362 MovieClip Frame 8
x = random(10) + 1;
if (x == 2) {
gotoAndPlay (31);
} else if (x == 3) {
gotoAndPlay (50);
} else if (x == 4) {
gotoAndPlay (12);
}
Symbol 362 MovieClip Frame 11
gotoAndPlay (1);
Symbol 362 MovieClip Frame 30
gotoAndPlay (1);
Symbol 362 MovieClip Frame 49
gotoAndPlay (1);
Symbol 362 MovieClip Frame 68
gotoAndPlay (1);
Symbol 364 MovieClip Frame 1
tellTarget ("pics") {
gotoAndStop(_root.ship);
};
Symbol 364 MovieClip Frame 190
stop();
Symbol 369 Button
on (release) {
gotoAndPlay (1);
}