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

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

Rift War.swf

This is the info page for
Flash #47279

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


Text
PLEASE WAIT

CONTINUE

DECLARE WAR

Place this box in the middle of the stage
The intro will call stop(); and play();

CLICK TO PLAY

RIFT WAR

2008 Diverge Creations/Mortar Games

<p align="center"><font face="Times New Roman" size="18" color="#000000" letterSpacing="0.000000" kerning="1">pick starting level</font></p>

<p align="center"><font face="Arial" size="23" color="#000000" letterSpacing="0.000000" kerning="1"><b>1 &nbsp;&nbsp;2 &nbsp;3 &nbsp;&nbsp;4 &nbsp;&nbsp;&nbsp;5 &nbsp;&nbsp;&nbsp;6 &nbsp;&nbsp;7</b></font></p>

Our land is in turmoil.

The greed and depravity of my
brothers has plunged our once
glorious nation into
a vicious civil war

The people suffer,
as warlords bicker over
petty differences and
small slices of land

Floods of peasants have sought
refuge in my stronghold,
hiding from the terror
that is war

I will not stand
idly by, any more.

I will train these peasants.
Archers... Swordsmen...

The war is over.
Our lands are ravaged by
the slaughter that has
taken place.

The sky cries fire.

It will take years to
rebuild what has been
destroyed and the lives
that have been lost can
never be replaced.

But finally... our lands
can see peace.

PLAY AGAIN>
TITLESCREEN>

GO

HARVEST

FARM

REPAIR

OPEN MENU>

Spy Cam (Click to view)

Spy Cam (Viewing...)

RESEARCH >

X CLOSE MENU

? Help

Credits

*Wallpaper

CREATE >

INSTRUCTIONS

X

For a full game-guide click here

Welcome to RIFT WAR! Let's begin by explaining the basic controls.
Left-click on objects to pick them up or select them.  To deselect units click
above the ground, or use the Deselect button in the object menu (it's the "X").
Moving your mouse cursor to the left or right edges of the screen will cause
the camera to move left or right allowing you to explore the game world. You
can also move with the Left and Right Arrow Keys and the "A" and "D" keys
as well. The goal of the game is to defend your Fortress from enemy attack.
Pressing the SPACEBAR will center the view on your Fortress.

D

SPACEBAR

GO TO FORT

MOVE

MOVE/INTERACT

<p align="center"><font face="Arial" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>1</b></font></p>

To get started, you'll first need to gather resources. To do this select the 5
peasants we've provided you with, by clicking and holding then dragging a
box around them to select them. Next locate a rice paddy, and click once on
the paddy when you see the "Farm" icon appear. Farming is the most
common means of resource gathering and is unlimited.

You can also drag and drop trees and rocks on your Fortress to convert them
to money. Beware that this is a finite resource and once you've harvested
everything thats it.
Trees and rocks can also be used as weapons! Drop them on enemies to
crush them. Trees and rocks will fall apart after dropping a few times though.
But in a pinch, when there are no soldiers around, this can save your hide.

The best way to defend your Fortress is to train Samurai and Archers.
To do this train some peasants from the main menu. Then select the peasants
and in the unit menu that appears choose "Train as Samurai". Build a squad of
5-10 Samurai, select them, and click on the ground where you want them to go.
It's best to engage enemy squads before they reach your Fortress.
Archers are great defense units who provide ranged support attacks. Select
some peasants and click "Train as Archer" in the unit menu. These new Archers
will run to the Fortress and take position on the Fort. It should be noted that
Archers cannot fully defend the Fort themselves. You should station Samurai
near the Fort as well.

In addition to Peasants, Samurai, and Archers, you can also train 2 special
units. These are the Geisha and Priest. These special units are costly but can
be immensely helpful to your regular units. The Geisha raises Samurai's
morale, resulting in them doing 2x the damage to the enemy. Priests heal
wounded units. Simply place the Priest or Geisha near your other units, and
watch them work their magic (an icon will appear above the units' heads). The
healing rate or "buff" power will increase with the number of Special units
powering up regular units at the same time.

<p align="center"><font face="Arial" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>1</b></font></p>

Another important part of RIFT WAR is defensive building construction.
Walls stop enemy armies in their tracks  and are ideal for defending the fort
and also any peasants who may be harvesting resources in the field (beware
the walls can be destroyed by the enemy though). To make a wall click the
wall icon in the main menu (provided you have enough Gold). Now place the
wall where you want it (walls can only be placed so far from your Fortress)
Damaged walls can, of course, be repaired by peasants. Unwanted walls can
be demolished with the DELETE key.

The other type of defensive structure that can be built is the Tower. This is a
fortified defensive outpost which can be manned by Archers, which will fire
arrows from the building (much like the Fortress).  Click the Tower's icon in
the main menu, and place it in the same way you would the wall. Now select
some Peasants or Samurai, move them near the wall, and then train these
units as Archers. If they are closer to the Tower than the Fortress they will
take position on the tower and will open fire on advancing armiers. Beware
though, Towers are not indestructible, and if the building should collapse,
any Archers tasked on the Tower will sadly perish in the rubble.

As you progress, the enemy will become more numerous and powerful. To
counter this you must Research upgrades. Click the "Research" button on
the main menu to switch to the Research menu. Researching upgrades is
expensive but highly useful, as these upgrades can give you new abilities, or
make your units much more powerful. For example the Peasant's upgrade
"Skilled Laborers" doubles their resource gathering speed.

<p align="center"><font face="Arial" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>1</b></font></p>

Beware of elite enemy units! Onis are Japanese demons which are highly
deadly to human units and buildings alike. Battering rams are the most
powerful enemy unit, but only attack buildings. The aforementioned upgrades
will prove invaluable for taking these monsters down...

CREDITS

CONCEPT/PRODUCTION:
Alexander Asvegren
DESIGN/PROGRAMMING/ART:
Caulder Bradford
ADDITIONAL ART:
Edmund Mcmillen
VOICE ACTING:
Joshua Tomar
MUSIC:
Nemesis Theory, Venomuk

ENEMY FORCES VANQUISHED!

<p align="center"></p>

CLICK TO CONTINUE

Game Over

Game Over

TRY AGAIN>
TITLESCREEN>

ActionScript [AS1/AS2]

Frame 1
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } function f_diverge() { NewgroundsAPI.loadMySite(); } function f_mg() { getURL ("http://www.mortargames.com", "_blank"); } function f_quality() { if (_quality != "LOW") { _quality = "LOW"; menu.customItems[3] = new ContextMenuItem("Set Graphics to HIGH", f_quality); } else { _quality = "MEDIUM"; menu.customItems[3] = new ContextMenuItem("Set Graphics to LOW", f_quality); } } __com_mochibot__("691ec25b", this, 10301, true); NewgroundsAPI.connectMovie(4085); menu = new ContextMenu(); menu.hideBuiltInItems(); menu.customItems[0] = new ContextMenuItem("Play more war games!", f_mg); menu.customItems[1] = new ContextMenuItem("Visit MortarGames!", f_mg); menu.customItems[2] = new ContextMenuItem("Visit Diverge Creations!", f_diverge); menu.customItems[3] = new ContextMenuItem("Set Graphics to LOW", f_quality); loader.stop(); onEnterFrame = function () { loaded = Math.ceil((getBytesLoaded() / getBytesTotal()) * 200); if (loaded > loader._currentframe) { loader.play(); } else { loader.stop(); } if (snd_timer > 0) { snd_timer--; } else { s = new Sound(); s.attachSound("birds"); s.start(); snd_timer = 500 + random(40); } }; stop();
Frame 2
prevFrame();
Frame 4
function onEnterFrame() { if (frameCount == null) { frameCount = 1; } if (causticResized != null) { causticResized.dispose(); } caustic = flash.display.BitmapData.loadBitmap(String(Math.floor(frameCount))); causticResized = new flash.display.BitmapData(760, 420); var _local1 = new flash.geom.Matrix(); _local1.scale(2, 2); causticResized.draw(caustic, _local1, null, null, null, true); caustic.dispose(); if ((backgroundContainer._alpha < 100) && (amount > 0)) { backgroundContainer._alpha = backgroundContainer._alpha + 1.2; } else if (amount > 0) { if (((frameCount % 1) == 0) && (amount > 1)) { backgroundContainer._x = backgroundContainer._x + 0.3; backgroundContainer._y = backgroundContainer._y + 0.3; } amount = amount - 0.5; } else if (wait > 0) { wait--; } else if (backgroundContainer._alpha > 0) { backgroundContainer._alpha = backgroundContainer._alpha - 1.2; } else { backgroundContainer.removeMovieClip(); additiveContainer.removeMovieClip(); nextFrame(); } var _local2 = new flash.filters.DisplacementMapFilter(causticResized, new flash.geom.Point(0, 0), 2, 2, amount, amount, "ignore", 1); backgroundContainer.filters = [_local2]; additiveContainer.attachBitmap(causticResized, 1); additiveContainer.blendMode = "add"; additiveContainer._alpha = amount * 2; frameCount = frameCount + 0.5; if (frameCount > 16) { frameCount = 1; } } var frameCount; var caustic; var causticResized; var backgroundContainer = this.createEmptyMovieClip("backgroundContainer", 1); backgroundContainer.attachMovie("bkg", "bkg", 1); backgroundContainer._x = 65; backgroundContainer._y = 40; var additiveContainer = this.createEmptyMovieClip("backgroundContainer", 2); backgroundContainer._alpha = 0; amount = 50; wait = 110; amount_default = amount; stop();
Frame 5
function onEnterFrame() { } stop();
Frame 6
var up_archer = false; var up_troop = false; var up_peasant = false; var up_geisha = false; var up_priest = false; var up_wall = false; var up_tower = false; var up_armor = false; var up_spies = false; var up_commerce = false; var gold = 200; level = 1; stop(); onEnterFrame = ""; onMouseDown = function () { gotoAndStop ("story"); }; stopAllSounds(); m = new Sound(); m.attachSound("music_title"); m.start(0, 99999);
Frame 7
onMouseDown = "";
Frame 8
stopAllSounds(); onMouseDown = function () { gotoAndStop ("game"); };
Frame 10
function f_engine() { mouse_x = _xmouse; mouse_y = _ymouse; is_scrolling = false; sel_box.createEmptyMovieClip("b", 1); if (mouse_click != true) { box_x = mouse_x; box_y = mouse_y; if (make_sel_box == true) { i = 0; while (i < selected_units.length) { game[selected_units[i]].bar._visible = true; game[selected_units[i]].sel = true; i++; } } make_sel_box = false; } else if (((_root.drag_object != true) && ((Math.abs(box_x - mouse_x) > 4) || (Math.abs(box_y - mouse_y) > 4))) && (begin == true)) { sel_box.b.lineStyle(2, 16777215, 70); sel_box.b.moveTo(box_x, box_y); sel_box.b.lineTo(mouse_x, box_y); sel_box.b.lineTo(mouse_x, mouse_y); sel_box.b.lineTo(box_x, mouse_y); sel_box.b.lineTo(box_x, box_y); if (select_scan == 0) { selected_units = new Array(); i = 0; while (i < units.length) { ob = game[_root.units[i]]; ob_x = ob._x + game._x; ob_y = ob._y + game._y; box_w = sel_box._width; box_h = sel_box._height; if (sel_box.hitTest(ob)) { selected_unit_type = "p_unit"; _root[("selected_" + ob.type) + "s"].push(ob._name); selected_units.push(ob._name); } i++; } select_scan = 4; } else { select_scan--; } make_sel_box = true; } if (make_sel_box != true) { if ((Key.isDown(39) || (Key.isDown(37))) || (Key.isDown(68) || (Key.isDown(65)))) { if (game._x > limit_left) { game._x = limit_left; } else if (game._x < limit_right) { game._x = limit_right; } if (Key.isDown(39) || (Key.isDown(68))) { scr_speed = scr_speed - 0.5; } if (Key.isDown(37) || (Key.isDown(65))) { scr_speed = scr_speed + 0.5; } if (scr_speed > scr_speed_max) { scr_speed = scr_speed_max; } else if (scr_speed < (-scr_speed_max)) { scr_speed = -scr_speed_max; } } else { if (((mouse_y < 310) || (toolbar._currentframe == 1)) && (_root.game.fort.hp > 0)) { if (mouse_x > (scr_center + (scr_center / 1.1))) { is_scrolling = 2; new_scr_x = game._x - ((mouse_x - (scr_center + (scr_center / 1.1))) * 4); } else if (mouse_x < (scr_center - (scr_center / 1.1))) { is_scrolling = 1; new_scr_x = game._x + (((scr_center - (scr_center / 1.1)) - mouse_x) * 4); } } if (new_scr_x > limit_left) { is_scrolling = false; new_scr_x = limit_left; } else if (new_scr_x < limit_right) { is_scrolling = false; new_scr_x = limit_right; } if (Math.abs(scr_speed) < 1) { scr_speed = 0; } scr_speed = (new_scr_x - game._x) / 5; } } if (make_sel_box != true) { game._x = game._x + scr_speed; } if (((Key.isDown(39) || (Key.isDown(37))) || (Key.isDown(65))) || (Key.isDown(68))) { new_scr_x = game._x - scr_speed; } if (Key.isDown(46)) { if (press_del != true) { if ((_root.selected_unit != "") && (_root.selected_unit_type == "p_build")) { _root.game[_root.selected_unit].gotoAndStop("die"); } } press_del = true; } else { press_del = false; } if ((selected_unit_type == "p_unit") && ((_root.selected_units.length > 0) || (_root.selected_unit != ""))) { toolbar.gotoAndStop(2); } else if (toolbar._currentframe == 2) { toolbar.gotoAndStop(3); } if (selected_unit == "") { selected_unit_name = 0; } if (particle_limit > 0) { particle_limit--; } if (Key.isDown(45)) { _root.f_spawn_person("person", game.fort._x, ground_y, 50 + ((5 + random(3)) * grp_new_spawn.length)); _root.grp_new_spawn.push("person" + people); } if (Key.isDown(34)) { enemy_forces_used = enemy_forces; } f_enemy_ai(); cursor._x = mouse_x; if (repair == true) { cursor.gotoAndStop(7); cursor._y = mouse_y; } else if (mine == true) { cursor.gotoAndStop(6); cursor._y = mouse_y; } else if ((((selected_units.length > 0) || (selected_unit != "")) && (selected_unit_type == "p_unit")) && (((_root.mouse_y - _root.game._y) > (_root.ground_y - 40)) && ((_root.mouse_y - _root.game._y) < (_root.ground_y + 10)))) { cursor.gotoAndStop(2); } else if (harvest == true) { cursor.gotoAndStop(3); cursor._y = mouse_y; } else if (is_scrolling != false) { cursor.gotoAndStop(3 + is_scrolling); cursor._y = mouse_y; } else { cursor._y = ground_y + game._y; cursor.gotoAndStop(1); } if (up_commerce == true) { gold = gold + 0.025; } trace(1); gold_display = Math.floor(gold); pop_display = (pop + "/") + pop_limit; enemy_forces_display = Math.ceil(((enemy_forces - enemy_forces_used) / enemy_forces) * 100) + "%"; if (prev_gold < gold) { stat_economy = stat_economy + (gold - prev_gold); } if (Math.abs(prev_gold - gold) >= 10) { s = new Sound(this); s.attachSound("cash"); s.start(); } prev_gold = gold; if (Key.isDown(32)) { if (press_space != true) { _root.new_scr_x = _root.game_default_x; } press_space = true; } else { press_space = false; } if (Key.isDown(16)) { debug_txt = ((((((((((((((((("Units: " + units.length) + " Enemies: ") + enemies.length) + newline) + "Archers: ") + archers.length) + " Troops: ") + troops.length) + newline) + "Peasants: ") + peasants.length) + " towers: ") + towers.length) + newline) + "Walls: ") + walls.length) + " Selected Units: ") + selected_units.length; } else { debug_txt = ""; } if (enemy_forces < enemy_forces_used) { enemy_forces_used = enemy_forces; } if ((enemy_forces == enemy_forces_used) && (cinema_win._currentframe == 1)) { cinema_win.play(); } } function f_i_object(name, weight, width) { tellTarget (_root.game[name]) { _root.snd(_name); if (m == true) { _root.drag_object = true; _root.selected_unit = ""; _x = (_x + (((_root.mouse_x - _root.game._x) - _x) / 2)); _y = (_y + (((_root.mouse_y - _root.game._y) - _y) / 2)); _rotation = (_rotation - (_rotation / 4)); if (_y > ground_y) { _y = ground_y; } speed_r = 0; rest_r = 0; speed_y = 0; dragging = true; if (_root.mouse_click == false) { m = false; } if ((Math.abs(_x - _root.game.fort._x) < (_root.game.fort.w / 1.5)) && (_root.game.fort.hp > 0)) { _root.harvest = true; } else { _root.harvest = false; } } else { if (dragging == true) { _root.drag_object = false; dragging = false; speed_x = (((_root.mouse_x - _root.game._x) - _x) / weight) / 3.5; speed_y = (((_root.mouse_y - _root.game._y) - _y) / weight) / 3.5; if (_root.harvest == true) { _root.harvest = false; if (val > 0) { _root.gold = _root.gold + val; } else { _root.gold = _root.gold + ((hp / hp_full) * 50); } _root.game[name].swapDepths(999999); _root.game[name].removeMovieClip(); } } speed_y = speed_y + (0.2 * weight); _x = (_x + speed_x); _y = (_y + speed_y); if ((Math.abs(speed_x) > 0) && (speed_y < 0)) { _rotation = (_rotation + (speed_x / 3)); speed_r = 0; } else if (wall != true) { speed_r = (_rotation / 90) * 5; } else { speed_r = speed_r - (speed_r / 5); } if ((((speed_r > 0) && (_rotation >= rest_r)) || ((speed_r < 0) && (_rotation <= rest_r))) && (_y >= _root.ground_y)) { } else { _rotation = (_rotation + speed_r); } if (_rotation > 90) { _rotation = 90; } else if (_rotation < -90) { _rotation = -90; } lean = (_rotation / 90) * h; if (speed_y < 0) { wall = false; } if (((_x + lean) >= (_root.game.fort._x - (_root.game.fort.w / 1.2))) && (_x < _root.game.fort._x)) { _x = ((_root.game.fort._x - (_root.game.fort.w / 1.2)) - lean); speed_x = speed_x * -0.7; wall = true; } else if (((_x + lean) < (_root.game.fort._x + (_root.game.fort.w / 1.2))) && (_x > _root.game.fort._x)) { _x = ((_root.game.fort._x + (_root.game.fort.w / 1.2)) - lean); speed_x = speed_x * -0.7; wall = true; } if (_x < (-(_root.limit_left - _root.game_x))) { _x = (-(_root.limit_left - _root.game_x)); speed_x = speed_x * -0.7; } else if (_x > (512 - _root.limit_right)) { _x = (512 - _root.limit_right); } if (_y > ground_y) { if (h > w) { if (_rotation > 0) { rest_r = 90; } else if (_rotation < 0) { rest_r = -90; } else if (speed_x > 0) { rest_r = 90; } else { rest_r = -90; } } else { rest_r = 0; _rotation = 0; } _y = ground_y; speed_x = speed_x * 0.1; speed_y = speed_y * -0.3; if (Math.abs(speed_y) > 3) { if ((_name.substring(0, 4) == "rock") || (treasure == true)) { s = new Sound(_root.game[name]); s.attachSound("land1"); s.start(); _root.f_particle("fx_dust3", _x, _y); } else { s = new Sound(_root.game[name]); s.attachSound("land2"); s.start(); if (type > 0) { l = random(6) + 3; r = (_rotation * Math.abs(_height / _width)) * 2; if (deadtree != true) { i = 0; while (i < l) { if (tree != false) { _root.f_particle("fx_leaf1", (_x - (7 - r)) + random(14 - (r * 2)), ((_y - 80) - random(120)) + Math.abs(r * 2), type, 100 + random(50)); } else { _root.f_particle("fx_leaf1", (_x - (7 - r)) + random(14 - (r * 2)), (_y - random(50)) + Math.abs(r * 2), type, 100 + random(50)); } i++; } } } } if (treasure != true) { hp--; i = 0; while (i < _root.enemies.length) { if ((((((((_x + 15) + r) > _root.game[_root.enemies[i]]._x) && (r > 0)) && (_x < _root.game[_root.enemies[i]]._x)) || (((((_x - 15) - r) < _root.game[_root.enemies[i]]._x) && (r < 0)) && (_x > _root.game[_root.enemies[i]]._x))) && (w > h)) || (Math.abs(_x - _root.game[_root.enemies[i]]._x) < (w / 2))) { _root.game[_root.enemies[i]].hp = _root.game[_root.enemies[i]].hp - 10; if (_root.game[_root.enemies[i]].hp < 0) { _root.game[_root.enemies[i]].hp = 0; } } i++; } } } } } if (hp < 1) { if (int(type) < 1) { l = random(12) + 4; i = 0; while (i < l) { _root.f_particle("fx_rockchip", (_x - (_width / 2)) + random(_width), _y - random(_height), 0, 90); i++; } } gotoAndStop ("die"); } }; } function f_archer_shoot(x, y, t_x, t_y) { arrows++; game.attachMovie("arrow", "arrow" + _root.arrows, game.getNextHighestDepth()); game["arrow" + _root.arrows]._rotation = (Math.atan((t_y - y) / (t_x - x)) * 57.2957795130823) - 90; game["arrow" + _root.arrows]._x = x; game["arrow" + _root.arrows]._y = y; if (x < t_x) { game["arrow" + _root.arrows]._rotation = game["arrow" + _root.arrows]._rotation + 180; } game["arrow" + _root.arrows].s = new Sound(game["arrow" + _root.arrows]); game["arrow" + _root.arrows].s.attachSound("bow" + (random(2) + 1)); game["arrow" + _root.arrows].s.start(); } function f_person(name, type, enemy) { tellTarget (_root.game[name]) { _root.snd(_name); if (_root["up_" + type] == true) { power = power_default; spd = _root["speed_" + type]; } else { power = power_default * 1.5; spd = _root["speed_" + type] * 1.2; } if (_root.up_armor == true) { armor = 1.8; } else { armor = 1; } if ((_x + spd) < dest_x) { speed_x++; if (speed_x > spd) { speed_x = spd; } if (_xscale < 0) { _xscale = (_xscale * -1); } } else if ((_x - spd) > dest_x) { speed_x--; if (speed_x < (-spd)) { speed_x = -spd; } if (_xscale > 0) { _xscale = (_xscale * -1); } } else { dest_x = _x; speed_x = 0; if (type == "archer") { if (_root.game.fort.hp > 0) { _y = dest_y; } } else if (((repair == true) || (mine == true)) && (type == "peasant")) { gotoAndStop ("attack"); } else if (enemy == 1) { if (_root.game.fort.hp > 0) { if (_xscale < 0) { _xscale = (_xscale * -1); } gotoAndStop ("attack"); } else { gotoAndStop ("stand"); } } } if (_currentframe < 3) { _x = (_x + speed_x); } if (((((speed_x < 0) && (_xscale > 0)) || ((speed_x > 0) && (_xscale < 0))) || (((type == "archer") && (speed_x == 0)) && (_xscale > 0))) || (((speed_x == 0) && (random(300) == 1)) && (type == "peasant"))) { _xscale = (_xscale * -1); } if ((_root.selected_unit == _name) || (sel == true)) { bar._visible = true; if ((_root.mouse_click == true) && (((((type == "troop") || (type == "peasant")) || (type == "archer")) || (type == "priest")) || (type == "geisha"))) { if ((((_root.mouse_y - _root.game._y) > (_root.ground_y - 40)) && ((_root.mouse_y - _root.game._y) < (_root.ground_y + 10))) || ((_root.game.fort.hp < _root.game.fort.hp_full) && (_root.game.fort.hitTest(_root._xmouse, _root._ymouse, true)))) { if (Math.abs(_x - (_root.mouse_x - _root.game._x)) > 10) { if ((enemy != 1) && (type != "archer")) { i = 0; while (i < _root.grp_new_spawn.length) { if (_name == _root.grp_new_spawn[i]) { _root.grp_new_spawn.splice(i, 1); } i++; } mixed_group = false; i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type == "troop") { mixed_group = true; } if (_root.selected_units[i] == _name) { place = i; i = _root.selected_units.length; } i++; } if (_currentframe == 3) { gotoAndStop (2); } dest_x = _root.mouse_x - _root.game._x; if (_root.selected_units.length > 0) { if ((mixed_group == true) && ((type == "geisha") || (type == "priest"))) { grp_offset_x = -30 - (4 * place); } else { grp_offset_x = 4 * place; } if (_x > dest_x) { dest_x = dest_x - (grp_offset_x + random(4)); } else { dest_x = dest_x + (grp_offset_x + random(4)); } } mine = false; repair = false; if (Math.abs(_root.game[repair_target]._x - dest_x) < _root.game[repair_target].w) { repair = true; sel = false; } else { repairer = false; } i = 1; while (i <= _root.goldmines) { if (miner == true) { if (Math.abs(_root.game["mine" + i]._x - dest_x) < (_root.game["mine" + i]._width / 2)) { mine = true; sel = false; mine_w = _root.game["mine" + i]._width * 0.8; dest_x = (_root.game["mine" + i]._x - (mine_w / 2)) + random(mine_w); i = _root.goldmines + 1; } else if (_currentframe == 3) { gotoAndStop (1); miner = false; } } i++; } } } } else if ((_root.mouse_y - _root.game._y) < (_root.ground_y + 10)) { _root.selected_unit = ""; i = 0; while (i < _root.selected_units.length) { _root.game[_root.selected_units[i]].sel = false; i++; } sel = false; _root.selected_units = new Array(); _root.selected_peasants = new Array(); _root.selected_troops = new Array(); _root.selected_archers = new Array(); _root.selected_geishas = new Array(); _root.selected_priests = new Array(); } } } else if (int(bar.timer) == 0) { bar._visible = false; } if ((type == "troop") && (enemy != 1)) { if (enemy_scan == 0) { enemy_scan = -1; i = 0; while (i < _root.enemies.length) { if (_root.game[_root.enemies[i]].hp > 0) { if (Math.abs(_x - _root.game[_root.enemies[i]]._x) < 30) { if (((_root.game[_root.enemies[i]]._x > _x) && (_xscale < 0)) || ((_root.game[_root.enemies[i]]._x < _x) && (_xscale > 0))) { _xscale = (_xscale * -1); } gotoAndStop ("attack"); } else if (Math.abs(_x - _root.game[_root.enemies[i]]._x) < 110) { dest_x = _root.game[_root.enemies[i]]._x; } } i++; } } else if (enemy_scan > 0) { enemy_scan--; } else { enemy_scan = 15 + random(10); } } if (type == "archer") { if (_y < _root.ground_y) { if (fire_delay > 0) { fire_delay--; } else { i = 0; while (i < _root.enemies.length) { e_x = _root.game[_root.enemies[i]]._x; e_y = _root.game[_root.enemies[i]]._y; if (_root.game[_root.enemies[i]].hp > 0) { if (Math.abs(_x - e_x) < 250) { if (_root.up_archer == true) { range = 120; } else { range = 60; } if (Math.abs(_x - e_x) > 60) { i = _root.enemies.length; gotoAndStop ("attack"); fire_delay = 50 + random(20); } } } i++; } } } } else { _y = _root.ground_y; } if (hp < 1) { hp = 0; gotoAndStop ("die"); } else if ((speed_x != 0) && (_currentframe == 1)) { gotoAndStop ("walk"); } else if ((_currentframe == 2) && (speed_x == 0)) { gotoAndStop ("stand"); } if (enemy == 1) { if ((enemy_scan == 0) && (type != "ram")) { enemy_scan = -1; i = 0; while (i < _root.units.length) { if (_root.game[_root.units[i]].hp > 0) { if (Math.abs(_x - _root.game[_root.units[i]]._x) < 10) { if (((_root.game[_root.units[i]]._x > _x) && (_xscale < 0)) || ((_root.game[_root.units[i]]._x < _x) && (_xscale > 0))) { _xscale = (_xscale * -1); gotoAndStop ("attack"); } } } i++; } } else if (enemy_scan > 0) { enemy_scan--; } else { enemy_scan = random(5) + 10; } if (wall_scan == 0) { if (_currentframe < 3) { wall = -1; i = 0; while (i < _root.walls.length) { if (Math.abs(_x - _root.game[_root.walls[i]]._x) < (_root.game[_root.walls[i]].w + w)) { if (_currentframe < 3) { _x = (_root.game[_root.walls[i]]._x - (_root.game[_root.walls[i]].w + w)); gotoAndStop ("attack"); wall = i; } } i++; } } } else if (wall_scan > 0) { wall_scan--; } else { wall_scan = random(5) + 10; } if (tower_scan == 0) { i = 0; while (i < _root.towers.length) { if (Math.abs(_x - _root.game[_root.towers[i]]._x) < (_root.game[_root.towers[i]].w + w)) { if (found_tower != true) { if (random(2) == 1) { attack_tower = true; } } if ((_currentframe < 3) && (attack_tower == true)) { _x = (_root.game[_root.towers[i]]._x - (_root.game[_root.towers[i]].w + w)); gotoAndStop ("attack"); tower = i; } found_tower = true; } else { attack_tower = false; found_tower = false; } i++; } } else if (tower_scan > 0) { tower_scan--; } else { tower_scan = random(5) + 10; } } if (enemy != 1) { if (chk_support == 0) { buffage = 0; healage = 0; i = 0; while (i < _root.units.length) { if (_root.game[_root.units[i]].type == "geisha") { if (type == "troop") { if (Math.abs(_x - _root.game[_root.units[i]]._x) < 130) { buffage = buffage + _root.game[_root.units[i]].power; } } } else if (_root.game[_root.units[i]].type == "priest") { if (Math.abs(_x - _root.game[_root.units[i]]._x) < 80) { healage = healage + _root.game[_root.units[i]].power; } } i++; } chk_support = -1; } else if (chk_support > 0) { chk_support--; } else { chk_support = 20 + random(10); } if (buffage > 0) { buff._visible = true; power = power_default + (buffage / 10); } else { buff._visible = false; } if (healage > 0) { if (hp < hp_full) { heal._visible = true; hp = hp + (healage / 200); } else { hp = hp_full; heal._visible = false; } } else { heal._visible = false; } } bar._xscale = (hp / hp_full) * bar_xscale; bar.gotoAndStop(Math.ceil((hp / hp_full) * 100)); if ((type == "archer") && (_y < _root.ground_y)) { swapDepths((_root.game.fort.getDepth() + num) + 1); } else { swapDepths((num + _root.trees) + 1); } }; } function f_fort() { tellTarget (game.fort) { _root.snd(_name); if (wall.hitTest(_root.mouse_x, _root.mouse_y, true)) { wall._alpha = 30; } else { wall._alpha = 100; } bar._xscale = (hp / hp_full) * bar_xscale; bar.gotoAndStop(hp + 1); if (_root.selected_unit == "fort") { bar._visible = true; } else { bar._visible = false; } if ((_root.selected_unit == "fort") && (_root.mouse_click == true)) { if ((!hitTest(_root.mouse_x, _root.mouse_y, true)) && ((_root.mouse_y - _root.game._y) < (_root.ground_y + 10))) { _root.selected_unit = ""; _root.selected_unit_type = ""; } } if (hp < 1) { nextFrame(); } swapDepths((_root.people + _root.trees) + 100); }; } function f_build(name, type) { tellTarget (_root.game[name]) { if (placed != true) { _alpha = 80; glow_amount = 10 + random(6); _root.game[name].filters = [new flash.filters.GlowFilter(16777215, 30, glow_amount, glow_amount, 4, 1)]; _x = (_root.mouse_x - _root.game._x); if (_x < (_root.game.fort._x - 600)) { _x = (_root.game.fort._x - 600); } else if (_x > (_root.game.fort._x - 150)) { _x = (_root.game.fort._x - 150); } } else { _alpha = 100; _root.game[name].filters = []; } if (_root.mouse_click == true) { if (m == false) { if (placed != true) { error = false; a = _root[type + "s"]; i = 0; while ((i < a.length) && (a.length > 0)) { if (Math.abs(_root.game[a[i]]._x - _x) < _width) { error = true; } i++; } if (error != true) { placed = true; a.push(_name); } } else if (!_root.game[name].hitTest(_root.mouse_x, _root.mouse_y, true)) { if (_root.selected_unit == _name) { _root.selected_unit = ""; } } } m = true; } else { m = false; } if (hp < 0) { gotoAndStop ("die"); } swapDepths = ((_root.buildings + _root.people) + _root.trees) + 20; }; } function f_arrow(name) { tellTarget (game[name]) { _root.snd(_name); speed_x = Math.sin((Math.PI/180) * _rotation) * _root.speed_arrow; speed_y = Math.cos((Math.PI/180) * _rotation) * (-_root.speed_arrow); if (_y < _root.ground_y) { _x = (_x + speed_x); _y = (_y + speed_y); if (speed_x > 0) { _rotation = (_rotation + 0.5); } else if (speed_x < 0) { _rotation = (_rotation - 0.5); } i = 0; while (i < _root.enemies.length) { if (Math.abs(_x - _root.game[_root.enemies[i]]._x) < _root.game[_root.enemies[i]].w) { if (Math.abs(_y - _root.game[_root.enemies[i]]._y) < (_root.game[_root.enemies[i]].h * 2)) { _root.game[_root.enemies[i]].f_hurt(); if (_root.up_archer == true) { power = 4; } else { power = 2; } _root.game[_root.enemies[i]].hp = _root.game[_root.enemies[i]].hp - power; _root.game[name].removeMovieClip(); } } i++; } } else if (_currentframe == 1) { gotoAndStop (2); _y = _root.ground_y; } }; } function f_enemy_ai() { if (begin == true) { if (e_squad_spawn == 0) { if (spawn_ram != -1) { if (spawn_ram == ratio_ram) { _root.f_spawn_person("enemy_ram", -((_root.limit_left * 2) + 500), ground_y); spawn_ram = 0; } else { spawn_ram++; } } if (spawn_heavy != -1) { if (spawn_heavy == ratio_heavy) { _root.f_spawn_person("enemy_heavy", -((_root.limit_left * 2) + 500), ground_y); spawn_heavy = 0; } else { spawn_heavy++; } } if (enemies.length < 30) { limit = random(5) + Math.floor(enemy_numbers); if ((enemies.length + limit) > 30) { limit = 30 - enemies.length; } if (limit > enemy_forces) { limit = enemy_forces; } if (random(6) == 1) { formation = 3; } else if (random(3) == 1) { formation = 2; } else { formation = 1; } formation = 3; i = 0; while (i < limit) { if (formation == 1) { dest_x = i * 7; } else if (formation == 2) { dest_x = i * 50; } else if (formation == 3) { dest_x = i * random(80); } _root.f_spawn_person("enemy", (-((_root.limit_left * 2) + 500)) - dest_x, ground_y); i++; } if (enemy_numbers < 15) { enemy_numbers = enemy_numbers + 0.25; } } e_squad_spawn = 1500; } else { e_squad_spawn--; } } } function f_particle(type, x, y, img, lifespan) { if (particle_limit < 100) { particle_limit = particle_limit + 10; part_num++; game.part.attachMovie(type, "p" + part_num, part_num); ob = game.part["p" + part_num]; ob._x = x; ob._y = y; ob.anchor_x = x; ob.lifespan = lifespan; ob.timer = lifespan; ob.img = img; } } function f_p_leaf(name) { tellTarget (game.part[name]) { if (_x > anchor_x) { float_d = float_d - 0.1; } else { float_d = float_d + 0.1; } anchor_x = anchor_x + _root.wind; if (_y >= _root.ground_y) { _y = _root.ground_y; speed_x = speed_x / 1.7; speed_y = 0; _rotation = (_rotation - (_rotation / 10)); if (timer < 1) { _alpha = (_alpha - 4); if (_alpha < 1) { _root.game.part[name].removeMovieClip(); } } else { timer--; } } else { timer = lifespan; speed_x = float_d + _root.wind; _x = (_x + speed_x); _y = (_y + speed_y); _rotation = (_rotation - float_d); } }; } function f_p(name) { tellTarget (game.part[name]) { _x = (_x + speed_x); _y = (_y + speed_y); _rotation = (_rotation + speed_r); if (_y >= _root.ground_y) { _y = _root.ground_y; if (h > w) { speed_r = (90 - _rotation) / 7; } else { speed_r = (-_rotation) / 7; } speed_x = speed_x * 0.9; if (Math.abs(speed_x) < 0.4) { speed_x = 0; } speed_y = 0; if (timer == 0) { _alpha = (_alpha - 4); if (_alpha < 1) { _root.game.part[name].removeMovieClip(); } } else { timer--; } } else { timer = lifespan; speed_y = speed_y + 0.4; speed_r = speed_x; } }; } function snd(name) { t = game[name]; d_x = ((t._x + game._x) - 256) / 10; pan = Math.floor(d_x); vol = 100 - Math.abs(pan); t.s.setPan(pan); t.s.setVolume(vol); } function f_spawn_person(name, x, y, dest_x, type) { game.attachMovie(name, name + people, (people + trees) + 1); obj = _root.game[name + people]; obj._x = x; obj._y = y; ob._yscale = 100 - random(10); obj.dest_x = dest_x; obj.type = type; obj.num = people; if (name.substring(0, 5) != "enemy") { game.fort.ol.attachMovie("person_outline", "p" + people, people); game.fort.ol["p" + people].t = obj; } people++; } function f_r_array_item(item, array) { i = 0; while (i < array.length) { if (array[i] == item) { array.splice(i, 1); i = array.length; } i++; } } function f_deselect() { selected_unit = ""; selected_units = new Array(); info = ""; mine = false; repair = false; } var speed_peasant = 2; var speed_troop = 1.5; var speed_archer = 2; var speed_priest = 1; var speed_geisha = 1.2; var speed_arrow = 9; var speed_ram = 1.5; var speed_heavy = 1; var mouse_x; var mouse_y; var mouse_click = false; var ground_y = 33; var scr_center = 256; var scr_speed = 0; var scr_speed_max = 13; var new_scr_x = game._x; _root.onMouseDown = function () { mouse_click = true; cursor.c.play(); }; _root.onMouseUp = function () { mouse_click = false; }; begin = false; won = false; enemy_forces_used = 0; prev_gold = gold; stat_economy = gold; stat_killed = 0; stat_unitslost = 0; pop = 0; pop_limit = 30; buildings = 0; goldmines = 0; people = 0; trees = 0; rocks = 0; arrows = 0; part_num = 0; spawn_ram = 0; spawn_heavy = 0; e_squad_spawn = 1300; units = new Array(); archers = new Array(); troops = new Array(); peasants = new Array(); priests = new Array(); enemies = new Array(); towers = new Array(); walls = new Array(); grp_new_spawn = new Array(); selected_units = new Array(); selected_troops = new Array(); selected_archers = new Array(); selected_peasants = new Array(); selected_geishas = new Array(); selected_priests = new Array(); selected_unit = ""; selected_unit_type = ""; selected_unit_name = 0; select_scan = 0; particle_limit = 0; game_x = game._x; game_default_x = game_x; _quality = "medium"; this.onEnterFrame = function () { f_engine(); }; game.gotoAndStop(level); game.createEmptyMovieClip("part", 9999999); i = 0; while (i < 5) { _root.pop++; _root.grp_new_spawn.push("person" + _root.people); _root.peasants.push("person" + _root.people); _root.f_spawn_person("person", _root.game.fort._x, _root.ground_y, (_root.game.fort._x - 200) + ((5 + random(3)) * _root.grp_new_spawn.length)); i++; } stopAllSounds(); m = new Sound(toolbar); if (level >= 5) { m.attachSound("music2"); m.setVolume(70); } else { m.attachSound("music1"); m.setVolume(90); } m.start(0, 99999);
Frame 11
Mouse.show(); this.onEnterFrame = "";
Frame 13
level++; if (level > 8) { gotoAndStop ("win"); } else { gotoAndStop ("game"); }
Frame 14
_quality = "HIGH"; Mouse.show(); stopAllSounds();
Symbol 35 Button
on (press) { if ((_root.selected_unit == "") && (_root.selected_units.length < 1)) { _root.selected_unit = _name; _root.selected_unit_type = "p_build"; _root.selected_unit_name = 10; } if (hp < hp_full) { i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type == "peasant") { _root.game[_root.selected_units[i]].repair_target = _name; _root.game[_root.selected_units[i]].repair = true; } i++; } if (_root.game[_root.selected_unit].type == "peasant") { _root.game[_root.selected_unit].repair_target = _name; _root.game[_root.selected_unit].repair = true; } _root.f_deselect(); } } on (rollOver, dragOver) { if (hp < hp_full) { if (_root.game[_root.selected_unit].type == "peasant") { _root.repair = true; } i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type == "peasant") { _root.repair = true; } i++; } } } on (rollOut, dragOut) { _root.repair = false; }
Symbol 37 MovieClip Frame 1
if (ini != true) { ini = true; xscale = _xscale; onEnterFrame = function () { if (prev_hp != _parent.hp) { timer = 60; } if (timer > 0) { _visible = true; timer--; } else if (_parent._name == _root.selected_unit) { _visible = true; } else { _visible = false; } _xscale = ((_parent.hp / _parent.hp_full) * xscale); gotoAndStop(Math.ceil((_parent.hp / _parent.hp_full) * 100)); prev_hp = _parent.hp; }; }
Symbol 41 MovieClip Frame 67
stop();
Symbol 42 MovieClip [wall] Frame 1
if (_root.up_wall == true) { hp_full = 200; } else { hp_full = 100; } hp = hp_full; w = _width / 2; _y = _root.ground_y; _root.buildings++; _name = ("building" + _root.buildings); type = "wall"; bar._visible = false; this.onEnterFrame = function () { _root.f_build(_name, type); }; stop();
Symbol 42 MovieClip [wall] Frame 2
timer = 50; _parent.s = new Sound(this); _parent.s.attachSound("rock_break"); _parent.s.start(); this.onEnterFrame = function () { if (timer == 0) { if (_alpha < 0) { this.swapDepths(88880); this.removeMovieClip(); } else { _alpha = (_alpha - 5); } } else { timer--; } }; _root.f_r_array_item(_name, _root.walls);
Symbol 48 MovieClip Frame 1
onEnterFrame = function () { gotoAndStop((_parent._parent.hp_full - _parent._parent.hp) + 1); };
Symbol 49 Button
on (press) { m = true; } on (release, releaseOutside) { m = false; }
Symbol 50 MovieClip [tree4] Frame 1
if (ini != true) { ini = true; this.cacheAsBitmap = true; ground_y = _root.ground_y - 11; hp_full = 5; hp = hp_full; speed_y = 0; b.useHandCursor = false; _root.trees++; _name = ("tree" + _root.trees); h = _height; w = _width / 2; deadtree = true; type = 4; stop(); } this.onEnterFrame = function () { _root.f_i_object(_name, 2, _width / 9); };
Symbol 50 MovieClip [tree4] Frame 2
deadtree = true;
Symbol 50 MovieClip [tree4] Frame 3
i = 0; while (i < 12) { _root.f_particle("fx_woodchip", _x, _y - (i * 13), 0, 40); i++; } s = new Sound(this); s.attachSound("tree_break"); s.start(); this.removeMovieClip();
Symbol 56 MovieClip Frame 1
onEnterFrame = function () { gotoAndStop((_parent._parent.hp_full - _parent._parent.hp) + 1); };
Symbol 57 Button
on (press) { m = true; } on (release, releaseOutside) { m = false; }
Symbol 58 MovieClip [tree3] Frame 1
if (ini != true) { ini = true; this.cacheAsBitmap = true; ground_y = _root.ground_y - 11; hp_full = 5; hp = hp_full; speed_y = 0; b.useHandCursor = false; _root.trees++; _name = ("tree" + _root.trees); h = _height; w = _width / 2; type = 3; stop(); } this.onEnterFrame = function () { _root.f_i_object(_name, 2, _width / 9); };
Symbol 58 MovieClip [tree3] Frame 2
deadtree = true;
Symbol 58 MovieClip [tree3] Frame 3
i = 0; while (i < 12) { _root.f_particle("fx_woodchip", _x, _y - (i * 13), 0, 40); i++; } s = new Sound(this); s.attachSound("tree_break"); s.start(); this.removeMovieClip();
Symbol 64 MovieClip Frame 1
onEnterFrame = function () { gotoAndStop((_parent._parent.hp_full - _parent._parent.hp) + 1); };
Symbol 65 Button
on (press) { m = true; } on (release, releaseOutside) { m = false; }
Symbol 66 MovieClip [tree2] Frame 1
if (ini != true) { ini = true; this.cacheAsBitmap = true; ground_y = _root.ground_y - 11; hp_full = 5; hp = hp_full; speed_y = 0; b.useHandCursor = false; _root.trees++; _name = ("tree" + _root.trees); h = _height; w = _width / 2; type = 2; stop(); } this.onEnterFrame = function () { _root.f_i_object(_name, 2, _width / 9); };
Symbol 66 MovieClip [tree2] Frame 2
deadtree = true;
Symbol 66 MovieClip [tree2] Frame 3
i = 0; while (i < 12) { _root.f_particle("fx_woodchip", _x, _y - (i * 13), 0, 40); i++; } s = new Sound(this); s.attachSound("tree_break"); s.start(); this.removeMovieClip();
Symbol 71 Button
on (press) { m = true; } on (release, releaseOutside) { m = false; }
Symbol 72 MovieClip [treasure] Frame 1
speed_y = -10; ground_y = _root.ground_y; b.useHandCursor = false; _name = ("tree" + _root.trees); _root.trees++; h = _height; w = _width; val = 1000; hp_full = 1; hp = hp_full; type = 1; tree = false; deadtree = true; treasure = true; this.onEnterFrame = function () { _root.f_i_object(_name, 5, _width / 9); }; stop();
Symbol 72 MovieClip [treasure] Frame 2
this.removeMovieClip();
Symbol 74 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 2
if (random(3) == 1) { _root.f_particle("fx_dust2", _parent._x - (_parent.w * 0.7), _root.ground_y); } if (random(2) == 1) { _root.f_particle("fx_rockchip2", (_parent._x - (_parent.w * 0.7)) + random((_parent.w * 0.7) * 2), _root.ground_y - random(_parent._height / 1.5), 0, 10); _root.snd("damage" + (random(2) + 1)); }
Symbol 75 MovieClip Frame 1
if (ini != true) { ini = true; xscale = _xscale; onEnterFrame = function () { if (prev_hp != _parent.hp) { timer = 60; } if (timer > 0) { _visible = true; timer--; } else if (_parent._name == _root.selected_unit) { _visible = true; } else { _visible = false; } _xscale = ((_parent.hp / _parent.hp_full) * xscale); gotoAndStop(Math.ceil((_parent.hp / _parent.hp_full) * 100)); prev_hp = _parent.hp; }; }
Symbol 77 Button
on (press) { if ((_root.selected_unit == "") && (_root.selected_units.length < 1)) { _root.selected_unit = _name; _root.selected_unit_type = "p_build"; _root.selected_unit_name = 11; } if (hp < hp_full) { i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type == "peasant") { _root.game[_root.selected_units[i]].repair_target = _name; _root.game[_root.selected_units[i]].repair = true; } i++; } if (_root.game[_root.selected_unit].type == "peasant") { _root.game[_root.selected_unit].repair_target = _name; _root.game[_root.selected_unit].repair = true; } _root.f_deselect(); } } on (rollOver, dragOver) { if (hp < hp_full) { if (_root.game[_root.selected_unit].type == "peasant") { _root.repair = true; } i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type == "peasant") { _root.repair = true; } i++; } } } on (rollOut, dragOut) { _root.repair = false; }
Symbol 79 MovieClip Frame 114
_parent.removeMovieClip();
Symbol 81 MovieClip Frame 67
stop();
Symbol 82 MovieClip [tower] Frame 1
if (_root.up_tower == true) { hp_full = 400; } else { hp_full = 200; } hp = hp_full; w = _width / 2; _y = _root.ground_y; _root.buildings++; _name = ("building" + _root.buildings); b.useHandCursor = false; bar._visible = false; this.cacheAsBitmap = true; archers = 0; this.onEnterFrame = function () { _root.f_build(_name, "tower"); if (Key.isDown(46) && (_root.selected_unit == _name)) { hp = 0; } if (hp < hp_prev) { b.play(); } hp_prev = hp; }; stop();
Instance of Symbol 74 MovieClip "b" in Symbol 82 MovieClip [tower] Frame 1
on (press) { if ((_root.selected_unit == "") && (_root.selected_units.length < 1)) { _root.selected_unit = _name; _root.selected_unit_type = "p_build"; _root.selected_unit_name = 11; } if (hp < hp_full) { i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type == "peasant") { _root.game[_root.selected_units[i]].repair_target = _name; _root.game[_root.selected_units[i]].repair = true; } i++; } if (_root.game[_root.selected_unit].type == "peasant") { _root.game[_root.selected_unit].repair_target = _name; _root.game[_root.selected_unit].repair = true; } } } on (rollOver, dragOver) { if (hp < hp_full) { if (_root.game[_root.selected_unit].type == "peasant") { _root.repair = true; } i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type == "peasant") { _root.repair = true; } i++; } } } on (rollOut, dragOut) { _root.repair = false; }
Symbol 82 MovieClip [tower] Frame 2
l = _root.units.length; i = 0; while (i < l) { ob = _root.game[_root.units[i]]; if ((ob._y < _root.ground_y) && (ob.post_name._name == _name)) { ob._visible = false; ob.gotoAndStop("die"); } i++; } _root.f_r_array_item(_name, _root.towers); _parent.s = new Sound(this); _parent.s.attachSound("rock_break"); _parent.s.start();
Symbol 84 MovieClip [smoke_particle] Frame 1
speed = 5 + (random(10) / 10); this.onEnterFrame = function () { _y = (_y - speed_y); _xscale = (_xscale + (1 + (random(30) / 10))); _yscale = (_yscale + 0.5); speed_y = (_alpha / 100) * speed; _alpha = (_alpha - (1.3 + (random(5) / 10))); if (_alpha < 1) { this.removeMovieClip(); } };
Symbol 102 Button
on (press) { if (_root.selected_unit == _name) { _root.selected_unit = ""; } else { _root.selected_unit = _name; _root.selected_unit_type = "p_unit"; if (type == "peasant") { _root.selected_unit_name = 1; } else if (type == "samurai") { _root.selected_unit_name = 3; } else if (type == "archer") { _root.selected_unit_name = 5; } } } on (rollOver, dragOver) { _root.info = ("Your " + type.substring(0, 1).toUpperCase()) + type.substring(1, type.length); } on (rollOut, dragOut) { _root.info = ""; }
Symbol 104 MovieClip Frame 69
gotoAndPlay(random(30) + 1);
Symbol 116 MovieClip [priest] Frame 1
function f_hurt() { _root.f_particle("fx_blooddrop", _x, _y - random(20), 0, 0); } if (ini != true) { ini = true; power_default = 0.5; power = power_default; hp_full = 10; hp = hp_full; speed_x = 0; b.useHandCursor = false; _y = _root.ground_y; bar_xscale = bar._xscale; bar._visible = false; buff._visible = false; _root.units.push(_name); if (type == undefined) { type = "priest"; } } this.onEnterFrame = function () { _root.f_person(_name, type); }; stop();
Symbol 116 MovieClip [priest] Frame 3
_root.pop--; timer = 150 + random(10); if (_root.selected_unit == _name) { _root.selected_unit = ""; } _root.f_r_array_item(ob._name, _root.priests); _root.f_r_array_item(ob._name, _root.units); _root.f_r_array_item(ob._name, _root.selected_units); this.onEnterFrame = function () { timer--; if (timer < 0) { _alpha = (_alpha - 5); } if (_alpha <= 0) { this.removeMovieClip(); } }; _root.stat_unitslost++;
Symbol 118 MovieClip [person_outline] Frame 1
_visible = false; onEnterFrame = function () { _x = (t._x - _root.game.fort._x); _y = (t._y - _root.game.fort._y); if (t._name == undefined) { this.removeMovieClip(); } else if (t.type == "archer") { _visible = false; } else { _visible = true; } };
Symbol 138 MovieClip [geisha] Frame 1
function f_hurt() { _root.f_particle("fx_blooddrop", _x, _y - random(20), 0, 0); } if (ini != true) { ini = true; power_default = 1; power = power_default; hp_full = 10; hp = hp_full; speed_x = 0; b.useHandCursor = false; _y = _root.ground_y; bar_xscale = bar._xscale; bar._visible = false; buff._visible = false; _root.units.push(_name); if (type == undefined) { type = "geisha"; } } this.onEnterFrame = function () { _root.f_person(_name, type); }; stop();
Symbol 138 MovieClip [geisha] Frame 3
_root.pop--; timer = 150 + random(10); if (_root.selected_unit == _name) { _root.selected_unit = ""; } _root.f_r_array_item(ob._name, _root.geishas); _root.f_r_array_item(ob._name, _root.units); _root.f_r_array_item(ob._name, _root.selected_units); this.onEnterFrame = function () { timer--; if (timer < 0) { _alpha = (_alpha - 5); } if (_alpha <= 0) { this.removeMovieClip(); } }; _root.stat_unitslost++;
Symbol 142 MovieClip [fx_woodchip] Frame 1
var speed_x = (-3 + random(6)); var speed_y = (-random(3)); var w = (_width / 2); var h = (_height / 2); onEnterFrame = function () { _root.f_p(_name); }; gotoAndStop(random(3) + 1);
Symbol 146 MovieClip [fx_rockchip2] Frame 1
var speed_x = (-3 + random(6)); var speed_y = (-(random(3) + 1)); _xscale = (30 + random(100)); onEnterFrame = function () { _root.f_p(_name); }; gotoAndStop(random(3) + 1);
Symbol 150 MovieClip [fx_rockchip] Frame 1
var speed_x = (-3 + random(6)); var speed_y = (-(random(3) + 1)); _xscale = (30 + random(200)); onEnterFrame = function () { _root.f_p(_name); }; gotoAndStop(random(3) + 1);
Symbol 154 MovieClip Frame 1
onEnterFrame = function () { gotoAndStop(_parent.img); };
Symbol 155 MovieClip [fx_leaf1] Frame 1
onEnterFrame = function () { _root.f_p_leaf(_name); }; var speed_x = 0; var speed_y = (0.3 + (random(10) / 10)); var float_d = ((-(5 + random(10))) / 5); this.cacheAsBitmap = true;
Symbol 157 MovieClip Frame 1
speed_x = (random(2) + 3) / 4; if (_x < 0) { speed_x = speed_x * -1; } _yscale = (100 - random(45)); _xscale = (100 - random(45)); onEnterFrame = function () { _x = (_x + speed_x); _alpha = (_alpha - 2); if (_alpha < 0) { _visible = false; } };
Symbol 158 MovieClip [fx_dust3] Frame 90
this.removeMovieClip();
Symbol 159 MovieClip Frame 1
speed_y = random(5) / 5; _yscale = (100 - random(45)); _xscale = (100 - random(45)); onEnterFrame = function () { _y = (_y - speed_y); _yscale = (_xscale + 0.5); _xscale = (_xscale + 0.5); _alpha = (_alpha - 2); if (_alpha < 0) { _visible = false; } };
Symbol 160 MovieClip [fx_dust2] Frame 90
this.removeMovieClip();
Symbol 168 MovieClip [fx_dust1] Frame 13
this.removeMovieClip();
Symbol 170 MovieClip [fx_blooddrop] Frame 1
var speed_x = (-3 + random(6)); var speed_y = (-random(3)); onEnterFrame = function () { _root.f_p(_name); }; gotoAndStop(random(3) + 1);
Symbol 173 Button
on (press) { if (_root.selected_units.length == 0) { if (_root.selected_unit == _name) { _root.selected_unit = ""; } else { _root.selected_unit = _name; _root.selected_unit_type = "e_unit"; if (type == "peasant") { _root.selected_unit_name = 2; } else if (type == "samurai") { _root.selected_unit_name = 4; } } } } on (rollOver, dragOver) { _root.info = "Enemy Battering Ram"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 174 MovieClip Frame 25
p = _parent; if (p.enemy == 1) { if (p._x == p.dest_x) { num = random(2) + 1; _root.game.fort.fort.play(); _root.game.fort.hp = _root.game.fort.hp - (p.power / 10); } } i = 0; while (i < _root.walls.length) { if (Math.abs(p._x - _root.game[_root.walls[i]]._x) <= ((_root.game[_root.walls[i]].w + p.w) + 5)) { if (_root.up_walls == true) { _root.game[_root.walls[i]].hp = _root.game[_root.walls[i]].hp - (p.power / 2); } else { _root.game[_root.walls[i]].hp = _root.game[_root.walls[i]].hp - p.power; } } i++; } i = 0; while (i < _root.towers.length) { if (Math.abs(p._x - _root.game[_root.towers[i]]._x) <= ((_root.game[_root.towers[i]].w + p.w) + 5)) { if (_root.up_towers == true) { _root.game[_root.towers[i]].hp = _root.game[_root.towers[i]].hp - (p.power / 2); } else { _root.game[_root.towers[i]].hp = _root.game[_root.towers[i]].hp - p.power; } } i++; }
Symbol 174 MovieClip Frame 51
_parent.gotoAndStop(1);
Symbol 177 MovieClip [enemy_ram] Frame 1
if (ini != true) { ini = true; enemy = 1; type = "ram"; power_default = 15; power = power_default; w = 55; h = 15; hp_full = 150; hp = hp_full; speed_x = 0; dest_x = (_root.game.fort._x - (_root.game.fort.w - 10)) - random(15); b.useHandCursor = false; _y = _root.ground_y; bar._visible = false; _root.enemies.push(_name); this.onEnterFrame = function () { _root.f_person(_name, type, 1, 0, 10); }; stop(); }
Symbol 177 MovieClip [enemy_ram] Frame 4
_parent.s = new Sound(this); _parent.s.attachSound("rock_break"); _parent.s.start(); timer = 150 + random(10); this.onEnterFrame = function () { timer--; if (timer < 0) { _alpha = (_alpha - 5); } if (_alpha <= 0) { this.removeMovieClip(); } }; _root.stat_killed++; _root.enemy_forces_used = _root.enemy_forces_used + 5; _root.f_r_array_item(_name, _root.enemies);
Symbol 185 Button
on (press) { if (_root.selected_units.length == 0) { if (_root.selected_unit == _name) { _root.selected_unit = ""; } else { _root.selected_unit = _name; _root.selected_unit_type = "e_unit"; if (type == "peasant") { _root.selected_unit_name = 2; } else if (type == "samurai") { _root.selected_unit_name = 4; } } } } on (rollOver, dragOver) { _root.info = "Enemy Oni"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 235 MovieClip Frame 11
p = _parent; if (p.enemy == 1) { t = _root.units; if (p._x == p.dest_x) { _root.game.fort.fort.play(); _root.game.fort.hp = _root.game.fort.hp - (p.power / 10); } } else { t = _root.enemies; } i = 0; while (i < t.length) { if (Math.abs(p._x - _root.game[t[i]]._x) < 70) { if (Math.abs(p._y - _root.game[t[i]]._y) < 10) { if (((p._x > _root.game[t[i]]._x) && (p._xscale < 0)) || ((p._x < _root.game[t[i]]._x) && (p._xscale > 0))) { _root.game[t[i]].f_hurt(); _root.game[t[i]].hp = _root.game[t[i]].hp - (p.power / _root.game[t[i]].armor); } } } i++; } i = 0; while (i < _root.walls.length) { if (Math.abs(p._x - _root.game[_root.walls[i]]._x) <= ((_root.game[_root.walls[i]].w + p.w) + 5)) { if (_root.up_walls == true) { _root.game[_root.walls[i]].hp = _root.game[_root.walls[i]].hp - (p.power / 2); } else { _root.game[_root.walls[i]].hp = _root.game[_root.walls[i]].hp - p.power; } } i++; } i = 0; while (i < _root.towers.length) { if (Math.abs(p._x - _root.game[_root.towers[i]]._x) <= ((_root.game[_root.towers[i]].w + p.w) + 5)) { if (_root.up_towers == true) { _root.game[_root.towers[i]].hp = _root.game[_root.towers[i]].hp - (p.power / 2); } else { _root.game[_root.towers[i]].hp = _root.game[_root.towers[i]].hp - p.power; } } i++; }
Symbol 235 MovieClip Frame 23
_parent.gotoAndStop(1);
Symbol 238 MovieClip [enemy_heavy] Frame 1
if (ini != true) { ini = true; enemy = 1; type = "heavy"; w = 10; h = 20; power_default = 4; power = power_default; hp_full = 100; hp = hp_full; speed_x = 0; dest_x = (_root.game.fort._x - _root.game.fort.w) + (20 + random(15)); b.useHandCursor = false; _y = _root.ground_y; bar._visible = false; _root.enemies.push(_name); this.onEnterFrame = function () { _root.f_person(_name, type, 1, 0, 10); }; stop(); }
Symbol 238 MovieClip [enemy_heavy] Frame 4
timer = 150 + random(10); this.onEnterFrame = function () { timer--; if (timer < 0) { _alpha = (_alpha - 5); } if (_alpha <= 0) { this.removeMovieClip(); } }; _root.stat_killed++; _root.enemy_forces_used++; _root.f_r_array_item(_name, _root.enemies);
Symbol 268 MovieClip Frame 1
function f_anim() { if (_parent._parent.type == "archer") { gotoAndStop (2); } else if (_parent._parent.type == "troop") { gotoAndStop (3); } else { gotoAndStop (1); } } f_anim(); this.onEnterFrame = function () { f_anim(); };
Symbol 270 Button
on (press) { if (_root.selected_units.length == 0) { if (_root.selected_unit == _name) { _root.selected_unit = ""; } else { _root.selected_unit = _name; _root.selected_unit_type = "e_unit"; if (type == "peasant") { _root.selected_unit_name = 2; } else if (type == "samurai") { _root.selected_unit_name = 4; } } } } on (rollOver, dragOver) { _root.info = "Enemy Samurai"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 274 MovieClip Frame 1
function f_anim() { if (_parent._parent.type == "archer") { gotoAndStop (2); } else if (_parent._parent.type == "troop") { gotoAndStop (3); } else { gotoAndStop (1); } } f_anim(); this.onEnterFrame = function () { f_anim(); };
Symbol 278 MovieClip Frame 1
if (_parent._parent.repair == true) { gotoAndPlay (41); }
Symbol 278 MovieClip Frame 24
if (_root.up_peasant == true) { _root.gold = _root.gold + 0.5; } else { _root.gold = _root.gold + 0.25; }
Symbol 278 MovieClip Frame 40
gotoAndPlay (1);
Symbol 278 MovieClip Frame 59
p = _parent._parent; p.s = new Sound(); p.s.attachSound("hammer" + (random(3) + 1)); if (random(4) == 1) { p.s.start(); }
Symbol 278 MovieClip Frame 64
if (_root.up_peasant == true) { _root.game[_parent._parent.repair_target].hp = _root.game[_parent._parent.repair_target].hp + 1; _root.gold = _root.gold - 1; } else { _root.game[_parent._parent.repair_target].hp = _root.game[_parent._parent.repair_target].hp + 0.5; _root.gold = _root.gold - 0.5; } if (_root.gold < 0) { _root.gold = 0; } if (_root.game[_parent._parent.repair_target].hp > _root.game[_parent._parent.repair_target].hp_full) { _root.game[_parent._parent.repair_target].hp = _root.game[_parent._parent.repair_target].hp_full; }
Symbol 278 MovieClip Frame 80
if ((_root.game[_parent._parent.repair_target].hp == _root.game[_parent._parent.repair_target].hp_full) || (_root.gold == 0)) { _parent._parent.repair = false; _parent._parent.gotoAndStop("stand"); } else { gotoAndPlay (1); }
Symbol 283 MovieClip Frame 16
if (_root.up_archer == true) { r = 40; } else { r = 80; } _root.f_archer_shoot(_parent._parent._x - 10, _parent._parent._y - 13, (_parent._parent.e_x - r) + random(r), _parent._parent.e_y);
Symbol 283 MovieClip Frame 31
_parent._parent.gotoAndStop("stand");
Symbol 289 MovieClip Frame 24
function f_s() { p.s = new Sound(p); p.s.attachSound("sword" + (random(3) + 1)); p.s.start(); } p = _parent._parent._parent; if (p.enemy == 1) { t = _root.units; if (p._x == p.dest_x) { _root.game.fort.fort.play(); _root.game.fort.hp = _root.game.fort.hp - (p.power / 10); f_s(); } } else { t = _root.enemies; } i = 0; while (i < t.length) { if (Math.abs(p._x - _root.game[t[i]]._x) < 30) { if (Math.abs(p._y - _root.game[t[i]]._y) < 10) { if (((p._x > _root.game[t[i]]._x) && (p._xscale < 0)) || ((p._x < _root.game[t[i]]._x) && (p._xscale > 0))) { _root.game[t[i]].f_hurt(); _root.game[t[i]].hp = _root.game[t[i]].hp - (p.power / _root.game[t[i]].armor); f_s(); } } } i++; } i = 0; while (i < _root.walls.length) { if (Math.abs(p._x - _root.game[_root.walls[i]]._x) <= ((_root.game[_root.walls[i]].w + p.w) + 5)) { if (_root.up_walls == true) { _root.game[_root.walls[i]].hp = _root.game[_root.walls[i]].hp - (p.power / 2); } else { _root.game[_root.walls[i]].hp = _root.game[_root.walls[i]].hp - p.power; } f_s(); } i++; } i = 0; while (i < _root.towers.length) { if (Math.abs(p._x - _root.game[_root.towers[i]]._x) <= ((_root.game[_root.towers[i]].w + p.w) + 5)) { if (_root.up_towers == true) { _root.game[_root.towers[i]].hp = _root.game[_root.towers[i]].hp - (p.power / 2); } else { _root.game[_root.towers[i]].hp = _root.game[_root.towers[i]].hp - p.power; } f_s(); } i++; }
Symbol 289 MovieClip Frame 40
_parent._parent._parent.gotoAndStop("stand");
Symbol 290 MovieClip Frame 1
function f_anim() { if (_parent._parent.type == "archer") { gotoAndStop (2); } else if (_parent._parent.type == "troop") { gotoAndStop (3); } else { gotoAndStop (1); } } f_anim(); this.onEnterFrame = function () { f_anim(); };
Symbol 297 MovieClip Frame 1
if (_parent._parent.type == "archer") { gotoAndStop (2); } else if (_parent._parent.type == "troop") { gotoAndStop (3); } else { gotoAndStop (1); } this.onEnterFrame = function () { if (_parent._parent.type == "archer") { gotoAndStop (2); } else if (_parent._parent.type == "troop") { gotoAndStop (3); } else { gotoAndStop (1); } };
Symbol 299 MovieClip [enemy] Frame 1
if (ini != true) { ini = true; enemy = 1; type = "troop"; w = 5; h = 10; power_default = 1; power = power_default; hp_full = 10; hp = hp_full; speed_x = 0; dest_x = (_root.game.fort._x - _root.game.fort.w) + (20 + random(15)); b.useHandCursor = false; _y = _root.ground_y; bar._visible = false; _root.enemies.push(_name); stop(); } this.onEnterFrame = function () { _root.f_person(_name, type, 1, 0, 10); };
Symbol 299 MovieClip [enemy] Frame 4
timer = 150 + random(10); this.onEnterFrame = function () { timer--; if (timer < 0) { _alpha = (_alpha - 5); } if (_alpha <= 0) { this.removeMovieClip(); } }; _root.stat_killed++; _root.enemy_forces_used++; _root.f_r_array_item(_name, _root.enemies);
Symbol 302 MovieClip [arrow] Frame 1
this.onEnterFrame = function () { _root.f_arrow(_name); }; stop();
Symbol 302 MovieClip [arrow] Frame 2
timer = 30; onEnterFrame = function () { if (timer == 0) { _alpha = (_alpha - 10); if (_alpha < 1) { this.swapDepths(999999); this.removeMovieClip(); } } else { timer--; } };
Symbol 314 MovieClip Frame 1
if (ini != true) { gotoAndPlay(random(30) + 1); } else { gotoAndPlay(random(10) + 1); } ini = true;
Symbol 317 Button
on (press) { _root.gotoAndStop(3); }
Symbol 318 MovieClip Frame 200
_root.onEnterFrame = function () { }; stop();
Symbol 815 MovieClip [__Packages.NewgroundsAPI] Frame 0
class NewgroundsAPI { static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format; function NewgroundsAPI () { } static function connectMovie(id) { if (!id) { SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)"); } else if (!tracker_id) { SendMessage("Connecting to API gateway..."); tracker_id = id; host = _url.split("/")[2].toLowerCase(); if (host.length < 1) { host = "localhost"; } var _local2 = new Object(); SendEvent(MOVIE_VIEWS); } } static function setMovieVersion(movie_version) { if (!movie_version) { SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)"); } else { version = movie_version; } } static function debugMode() { debug = true; } static function addCustomEvent(stat_id, stat_name) { if (!stat_id) { SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else if (!stat_name) { SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)"); } else { custom_events[stat_name] = CUSTOM_STATS + stat_id; SendMessage("Created custom event: " + stat_name); } } static function addCustomLink(stat_id, stat_name) { if (!stat_id) { SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else if (!stat_name) { SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)"); } else { custom_links[stat_name] = CUSTOM_STATS + stat_id; SendMessage((("Created custom link " + stat_id) + ": ") + stat_name); } } static function loadMySite() { SendLink(AUTHOR_SITE); } static function loadNewgrounds(special) { if (special) { var _local1 = {page:special}; } SendLink(NEWGROUNDS, _local1); } static function logCustomEvent(event_name) { if (!event_name) { SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)"); } else if (!custom_events[event_name]) { SendError("Attempted to log undefined custom event: " + event_name); } else { SendEvent(custom_events[event_name]); } } static function loadCustomLink(link_name) { if (!link_name) { SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)"); } else if (!custom_links[link_name]) { SendError("Attempted to open undefined custom link: " + link_name); } else { SendLink(custom_links[link_name]); } } static function getAdURL() { return(movie_options.ad_url); } static function getMovieURL() { if (movie_options.movie_url) { return(movie_options.movie_url); } return("Newgrounds.com"); } static function getNewVersionURL() { return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION); } static function SendEvent(id) { SendStat(id, false); } static function SendLink(id, extra) { SendStat(id, true, extra); } static function ReadGatewayData(params) { for (var _local2 in params) { params[_local2] = unescape(params[_local2]); movie_options[_local2] = params[_local2]; } if (params.settings_loaded) { SendMessage("You have successfully connected to the Newgrounds API gateway!"); SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'"); if (movie_options.message) { SendMessage(movie_options.message); } if (movie_options.ad_url) { SendMessage("Your movie has been approved to run Flash Ads"); onAdsApproved(movie_options.ad_url); } if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) { SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!"); onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL()); } if (movie_options.deny_host) { SendMessage("You have blocked 'localHost' in your API settings."); SendMessage("If you wish to test your movie you will need to remove this block."); onDenyHost(host, getMovieURL(), getNewVersionURL()); } if (movie_options.request_portal_url == 1) { var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url); var _local3 = new XML(); _local3.ignoreWhite = true; _local3.load(_local4); } } else if (!movie_options.settings_loaded) { SendError("Could not establish connection to the API gateway."); } } static function SendStat(stat_id, open_in_browser, extra) { if (!tracker_id) { SendError("API calls cannot be made without a valid movie id."); SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?"); } else { var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id; for (var _local9 in extra) { _local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9])); } trace(_local7); if (debug) { _local7 = _local7 + "&debug=1"; } if (open_in_browser) { getURL (_local7, "_blank"); } else { var _local10 = new XML(); _local10.ignoreWhite = true; _local10.onLoad = function (success) { var _local6 = new Object(); var _local3 = 0; while (_local3 < this.firstChild.childNodes.length) { var _local4 = this.firstChild.childNodes[_local3]; var _local5 = _local4.nodeName; var _local2 = _local4.attributes.value; if (_local2 == Number(_local2)) { _local2 = Number(_local2); } _local6[_local5] = _local2; _local3++; } NewgroundsAPI.ReadGatewayData(_local6); }; _local10.load(_local7); } } } static function SendError(msg) { trace("[NEWGROUNDS API ERROR] :: " + msg); } static function SendMessage(msg) { trace("[NEWGROUNDS API] :: " + msg); } static function InitTextFormats() { if (!error_format) { error_format = new TextFormat(); error_format.font = "Arial Black"; error_format.size = 48; error_format.color = 16711680 /* 0xFF0000 */; } if (!header_format) { header_format = new TextFormat(); header_format.font = "Arial Black"; header_format.size = 24; header_format.color = 16777215 /* 0xFFFFFF */; } if (!normal_format) { normal_format = new TextFormat(); normal_format.font = "Arial"; normal_format.bold = true; normal_format.size = 12; normal_format.color = 16777215 /* 0xFFFFFF */; } if (!link_format) { link_format = new TextFormat(); link_format.color = 16776960 /* 0xFFFF00 */; link_format.underline = true; } } static function onNewVersionAvailable(version, movie_url, redirect_url) { InitTextFormats(); var _local2 = new Object(); _local2.x = Stage.width / 2; _local2.y = Stage.height / 2; _root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth()); _root.NGAPI_new_version_overlay.lineStyle(1, 0, 100); _root.NGAPI_new_version_overlay.beginFill(0, 70); _root.NGAPI_new_version_overlay.moveTo(-10, -10); _root.NGAPI_new_version_overlay.lineTo(-10, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, 1000); _root.NGAPI_new_version_overlay.lineTo(1000, -10); _root.NGAPI_new_version_overlay.lineTo(-10, -10); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.lineStyle(10, 0, 100); _root.NGAPI_new_version_overlay.beginFill(51); _root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120); _root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120); _root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80); _root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80); _root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120); _root.NGAPI_new_version_overlay.endFill(); _root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000); _root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100); _root.NGAPI_new_version_overlay.exit.beginFill(0, 50); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110); _root.NGAPI_new_version_overlay.exit.endFill(); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94); _root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106); _root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94); _root.NGAPI_new_version_overlay.exit.onMouseUp = function () { if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) { _root.NGAPI_new_version_overlay.removeMovieClip(); } }; var _local3 = (("Version " + version) + " is now available at:") + newline; var _local5 = _local3.length; _local3 = _local3 + movie_url; var _local4 = _local3.length; _root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000); _root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80); _root.NGAPI_new_version_overlay.newversion.text = "New Version Available!"; _root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format); _root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40); _root.NGAPI_new_version_overlay.message.text = _local3; _root.NGAPI_new_version_overlay.message.multiline = true; _root.NGAPI_new_version_overlay.message.wordWrap = true; _root.NGAPI_new_version_overlay.message.html = true; _root.NGAPI_new_version_overlay.message.setTextFormat(normal_format); link_format.url = redirect_url; _root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format); } static function onDenyHost(hostname, movie_url, redirect_url) { InitTextFormats(); _root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth()); _root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100); _root.NGAPI_deny_host_overlay.beginFill(6684672); _root.NGAPI_deny_host_overlay.moveTo(0, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0); _root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, Stage.height); _root.NGAPI_deny_host_overlay.lineTo(0, 0); _root.NGAPI_deny_host_overlay.endFill(); var _local2 = ("This movie has not been approved for use on " + hostname) + "."; _local2 = _local2 + "\r\rFor an aproved copy, please visit:\r"; var _local4 = _local2.length; _local2 = _local2 + movie_url; var _local3 = _local2.length; _root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height); _root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200); _root.NGAPI_deny_host_overlay.error.text = "ERROR!"; _root.NGAPI_deny_host_overlay.error.setTextFormat(error_format); _root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200); _root.NGAPI_deny_host_overlay.message.text = _local2; _root.NGAPI_deny_host_overlay.message.multiline = true; _root.NGAPI_deny_host_overlay.message.wordWrap = true; _root.NGAPI_deny_host_overlay.message.html = true; _root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format); link_format.url = redirect_url; _root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format); } static function isInstalled() { return(true); } static function onAdsApproved(ad_url) { } static var movie_options = new Object(); static var custom_events = new Object(); static var custom_links = new Object(); static var MOVIE_VIEWS = 1; static var AUTHOR_SITE = 2; static var NEWGROUNDS = 3; static var NEW_VERSION = 4; static var CUSTOM_STATS = 50; static var GATEWAY_URL = "http://www.ngads.com/gateway.php"; }
Symbol 331 MovieClip Frame 1
stop();
Symbol 332 Button
on (press) { nextFrame(); }
Symbol 338 Button
on (release) { NewgroundsAPI.loadNewgrounds(); }
Symbol 344 Button
on (release) { NewgroundsAPI.loadNewgrounds(); }
Symbol 346 MovieClip Frame 1
function startAd(ngad_url) { trace("opening " + ngad_url); System.security.allowDomain("70.87.128.99"); System.security.allowInsecureDomain("70.87.128.99"); System.security.allowDomain("ads.shizmoo.com"); System.security.allowInsecureDomain("ads.shizmoo.com"); System.security.allowDomain("www.cpmstar.com"); System.security.allowInsecureDomain("www.cpmstar.com"); System.security.allowDomain("server.cpmstar.com"); System.security.allowInsecureDomain("server.cpmstar.com"); var ngads_redirect = new XML(); ngads_redirect.ignoreWhite = true; ngads_redirect.onLoad = function (success) { trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!"); if (success) { ng_ad.loadMovie(ngads_redirect.toString(), "GET"); } }; ngads_redirect.load(ngad_url); } if (NewgroundsAPI.getAdURL()) { startAd(NewgroundsAPI.getAdURL()); } NewgroundsAPI.onAdsApproved = function (ad_url) { startAd(ad_url); }; stop();
Symbol 348 MovieClip Frame 357
stop();
Symbol 349 Button
on (press) { stopAllSounds(); backgroundContainer.removeMovieClip(); additiveContainer.removeMovieClip(); nextFrame(); }
Symbol 354 Button
on (release) { getURL ("http://www.mortargames.com", _blank); }
Symbol 366 MovieClip Frame 1
_root.stop(); gotoAndPlay (2);
Symbol 366 MovieClip Frame 372
_root.play();
Symbol 378 MovieClip Frame 81
_parent.nextFrame();
Symbol 382 MovieClip Frame 219
stop();
Symbol 384 MovieClip Frame 1
stop();
Symbol 386 Button
on (press) { m = true; } on (release, releaseOutside) { m = false; }
Symbol 387 MovieClip Frame 1
speed_y = 0; ground_y = _root.ground_y - 11; b.useHandCursor = false; _name = ("tree" + _root.trees); _root.trees++; h = _height; w = _width; hp_full = 1; hp = hp_full; type = 1; tree = false; this.onEnterFrame = function () { _root.f_i_object(_name, 1.5, _width / 9); }; stop();
Symbol 387 MovieClip Frame 2
this.removeMovieClip();
Symbol 390 Button
on (rollOver, dragOver) { glow = false; if (_root.game[_root.selected_unit].type == "peasant") { glow = true; } i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type == "peasant") { glow = true; } i++; } if (glow == true) { _root.mine = true; this.filters = [new flash.filters.GlowFilter(16777113, 7, 10, 10, 2, 1)]; } } on (rollOut, dragOut) { _root.mine = false; this.filters = ""; } on (press) { d = false; if (_root.game[_root.selected_unit].type == "peasant") { _root.game[_root.selected_unit].miner = true; d = true; } i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type == "peasant") { if (i < 8) { _root.game[_root.selected_units[i]].miner = true; d = true; } else { _root.game[_root.selected_units[i]].sel = false; d = true; } } i++; } if (d == true) { _root.f_deselect(); } }
Symbol 391 MovieClip Frame 1
_root.goldmines++; _name = ("mine" + _root.goldmines); b.useHandCursor = false; this.cacheAsBitmap = true; _y = _root.ground_y;
Symbol 394 MovieClip Frame 1
_parent.f_anim(); this.onEnterFrame = function () { _parent.f_anim(); };
Symbol 395 Button
on (press) { if (_root.selected_unit == _name) { _root.selected_unit = ""; } else { _root.selected_unit = _name; _root.selected_unit_type = "p_unit"; if (type == "peasant") { _root.selected_unit_name = 1; } else if (type == "samurai") { _root.selected_unit_name = 3; } else if (type == "archer") { _root.selected_unit_name = 5; } } } on (rollOver, dragOver) { _root.info = ("Your " + type.substring(0, 1).toUpperCase()) + type.substring(1, type.length); } on (rollOut, dragOut) { _root.info = ""; }
Symbol 399 MovieClip Frame 1
_parent.f_anim(); this.onEnterFrame = function () { _parent.f_anim(); };
Symbol 401 MovieClip Frame 24
function f_s() { p.s = new Sound(p); p.s.attachSound("sword" + (random(3) + 1)); p.s.start(); } p = _parent._parent; if (p.enemy == 1) { t = _root.units; if (p._x == p.dest_x) { _root.game.fort.hp = _root.game.fort.hp - (p.power / 10); f_s(); } } else { t = _root.enemies; } i = 0; while (i < t.length) { if (Math.abs(p._x - _root.game[t[i]]._x) < 30) { if (Math.abs(p._y - _root.game[t[i]]._y) < 10) { if (((p._x > _root.game[t[i]]._x) && (p._xscale < 0)) || ((p._x < _root.game[t[i]]._x) && (p._xscale > 0))) { _root.game[t[i]].f_hurt(); _root.game[t[i]].hp = _root.game[t[i]].hp - p.power; f_s(); } } } i++; } if (p.wall != -1) { if (Math.abs(p._x - _root.game[_root.walls[p.wall]]._x) < (_root.game[_root.walls[i]]._width / 2)) { _root.game[_root.walls[p.wall]].hp = _root.game[_root.walls[p.wall]].hp - p.power; f_s(); } }
Symbol 401 MovieClip Frame 40
_parent._parent.gotoAndStop("stand");
Symbol 402 MovieClip Frame 1
_parent.f_anim(); this.onEnterFrame = function () { _parent.f_anim(); };
Symbol 404 MovieClip Frame 1
_parent.f_anim(); this.onEnterFrame = function () { _parent.f_anim(); };
Symbol 405 MovieClip [person] Frame 1
function f_anim() { if (type == "archer") { p.gotoAndStop(2); } else if (type == "troop") { p.gotoAndStop(3); } else if (type == "priest") { p.gotoAndStop(4); } else if (type == "geisha") { p.gotoAndStop(5); } else { p.gotoAndStop(1); } } function f_hurt() { _root.f_particle("fx_blooddrop", _x, _y - random(20), 0, 0); } if (ini != true) { ini = true; power_default = 1.2; power = power_default; hp_full = 10; hp = hp_full; speed_x = 0; b.useHandCursor = false; this.cacheAsBitmap = true; _y = _root.ground_y; bar_xscale = bar._xscale; bar._visible = false; buff._visible = false; _root.units.push(_name); if (type == undefined) { type = "peasant"; } } this.onEnterFrame = function () { _root.f_person(_name, type); }; stop();
Symbol 405 MovieClip [person] Frame 4
_root.pop--; timer = 150 + random(10); if (_root.selected_unit == _name) { _root.selected_unit = ""; } _root.f_r_array_item(_name, _root.peasants); _root.f_r_array_item(_name, _root.troops); _root.f_r_array_item(_name, _root.archers); _root.f_r_array_item(_name, _root.units); _root.f_r_array_item(_name, _root.selected_units); this.onEnterFrame = function () { timer--; if (timer < 0) { _alpha = (_alpha - 5); } if (_alpha <= 0) { this.removeMovieClip(); } }; _root.stat_unitslost++;
Symbol 407 Button
on (press) { m = true; } on (release, releaseOutside) { m = false; }
Symbol 408 MovieClip Frame 1
speed_y = 0; ground_y = _root.ground_y - 11; b.useHandCursor = false; _name = ("rock" + _root.rocks); _root.rocks++; h = _height; w = _width; hp_full = 5; hp = hp_full; this.onEnterFrame = function () { _root.f_i_object(_name, 5, 40); }; stop();
Symbol 408 MovieClip Frame 2
s = new Sound(this); s.attachSound("rock_break"); s.start(); this.swapDepths(88888); this.removeMovieClip();
Symbol 410 Button
on (press) { m = true; } on (release, releaseOutside) { m = false; }
Symbol 411 MovieClip Frame 1
speed_y = 0; ground_y = _root.ground_y - 11; b.useHandCursor = false; _name = ("rock" + _root.rocks); _root.rocks++; h = _height; w = _width; hp_full = 5; hp = hp_full; this.onEnterFrame = function () { _root.f_i_object(_name, 5, 40); }; stop();
Symbol 411 MovieClip Frame 2
s = new Sound(this); s.attachSound("rock_break"); s.start(); this.swapDepths(88888); this.removeMovieClip();
Symbol 413 Button
on (press) { m = true; } on (release, releaseOutside) { m = false; }
Symbol 414 MovieClip Frame 1
speed_y = 0; ground_y = _root.ground_y - 11; b.useHandCursor = false; _name = ("rock" + _root.rocks); _root.rocks++; h = _height; w = _width; hp_full = 5; hp = hp_full; this.onEnterFrame = function () { _root.f_i_object(_name, 5, 40); }; stop();
Symbol 414 MovieClip Frame 2
s = new Sound(this); s.attachSound("rock_break"); s.start(); this.swapDepths(88888); this.removeMovieClip();
Symbol 416 Button
on (press) { m = true; } on (release, releaseOutside) { m = false; }
Symbol 417 MovieClip Frame 1
speed_y = 0; ground_y = _root.ground_y - 11; b.useHandCursor = false; _name = ("rock" + _root.rocks); _root.rocks++; h = _height; w = _width; hp_full = 5; hp = hp_full; this.onEnterFrame = function () { _root.f_i_object(_name, 5, 40); }; stop();
Symbol 417 MovieClip Frame 2
s = new Sound(this); s.attachSound("rock_break"); s.start(); this.swapDepths(88888); this.removeMovieClip();
Symbol 422 Button
on (press) { if ((_root.selected_unit == "") && (_root.selected_units.length < 1)) { gotoAndStop(_totalframes); } }
Symbol 423 Button
on (press) { if ((_root.selected_unit == "") && (_root.selected_units.length < 1)) { gotoAndStop(_totalframes); } }
Symbol 424 Button
on (press) { if ((_root.selected_unit == "") && (_root.selected_units.length < 1)) { gotoAndStop(_totalframes); } }
Symbol 425 MovieClip Frame 1
h = _height; _height = (h + random(50)); b.useHandCursor = false; type = random(3) + 1; this.cacheAsBitmap = true; onEnterFrame = function () { if (random(1800 - Math.abs(_root.wind * 200)) == 1) { _root.f_particle("fx_leaf1", (_x - 7) + random(14), (_y - 80) - random(120), type, 100 + random(50)); } }; gotoAndStop(type);
Symbol 425 MovieClip Frame 4
num = _root.trees + 1; _parent.attachMovie("tree" + type, "tree" + num, _root.trees); _parent["tree" + num]._x = _x; _parent["tree" + num]._y = _y; _parent["tree" + num]._yscale = _yscale; _parent["tree" + num].m = true; s = new Sound(s); s.attachSound("tree_pick" + (random(2) + 1)); s.start(); onEnterFrame = "";
Symbol 426 Button
on (press) { if ((_root.selected_unit == "") && (_root.selected_units.length < 1)) { gotoAndStop(_totalframes); } }
Symbol 427 MovieClip Frame 1
h = _height; _height = (h + random(50)); b.useHandCursor = false; type = 4; this.cacheAsBitmap = true; stop();
Symbol 427 MovieClip Frame 2
num = _root.trees + 1; _parent.attachMovie("tree" + type, "tree" + num, _root.trees); _parent["tree" + num]._x = _x; _parent["tree" + num]._y = _y; _parent["tree" + num]._yscale = _yscale; _parent["tree" + num].m = true; _parent["tree" + num].type = type; s = new Sound(s); s.attachSound("tree_pick" + (random(2) + 1)); s.start();
Symbol 432 MovieClip Frame 1
onEnterFrame = function () { gotoAndStop((_parent._parent.hp_full - _parent._parent.hp) + 1); };
Symbol 433 Button
on (press) { m = true; } on (release, releaseOutside) { m = false; }
Symbol 434 MovieClip [tree1] Frame 1
if (ini != true) { ini = true; this.cacheAsBitmap = true; ground_y = _root.ground_y - 11; hp_full = 5; hp = hp_full; speed_y = 0; b.useHandCursor = false; _root.trees++; _name = ("tree" + _root.trees); h = _height; w = _width / 2; type = 1; stop(); } this.onEnterFrame = function () { _root.f_i_object(_name, 2, _width / 9); };
Symbol 434 MovieClip [tree1] Frame 2
deadtree = true;
Symbol 434 MovieClip [tree1] Frame 3
i = 0; while (i < 12) { _root.f_particle("fx_woodchip", _x, _y - (i * 13), 0, 40); i++; } s = new Sound(this); s.attachSound("tree_break"); s.start(); this.removeMovieClip();
Symbol 435 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 25
stop();
Symbol 441 Button
on (press) { _root.level = 1; _root.gotoAndStop("game"); }
Symbol 442 Button
on (press) { _root.level = 2; _root.gotoAndStop("game"); }
Symbol 443 Button
on (press) { _root.level = 3; _root.gotoAndStop("game"); }
Symbol 444 Button
on (press) { _root.level = 4; _root.gotoAndStop("game"); }
Symbol 445 Button
on (press) { _root.level = 5; _root.gotoAndStop("game"); }
Symbol 446 Button
on (press) { _root.level = 6; _root.gotoAndStop("game"); }
Symbol 447 Button
on (press) { _root.level = 7; _root.gotoAndStop("game"); }
Symbol 465 MovieClip Frame 2291
_root.gotoAndStop("game");
Symbol 480 Button
on (press) { _root.gotoAndStop("game"); }
Symbol 481 Button
on (press) { _root.gotoAndStop("title"); }
Symbol 482 MovieClip Frame 1824
stop();
Symbol 485 MovieClip Frame 1
clouds = 0; this.filters = [new flash.filters.BlurFilter(6, 6, 1)]; bg.gotoAndStop(_root.level);
Symbol 521 MovieClip Frame 1
onEnterFrame = function () { gotoAndStop(6 - Math.ceil((_root.game.fort.hp / _root.game.fort.hp_full) * 5)); };
Symbol 522 MovieClip Frame 1
stop(); onEnterFrame = function () { if (Key.isDown(8)) { _parent.hp--; play(); } };
Symbol 522 MovieClip Frame 2
if (random(3) == 1) { _root.f_particle("fx_dust2", _parent._x - (_parent.w * 0.7), _root.ground_y); _root.f_particle("fx_rockchip2", (_parent._x - (_parent.w * 0.7)) + random((_parent.w * 0.7) * 2), _root.ground_y - random(_parent._height / 1.5), 0, 10); } _parent.s = new Sound(_parent); _parent.s.attachSound("damage" + (random(2) + 1)); _parent.s.start();
Symbol 526 Button
on (press) { if ((_root.selected_unit == "") && (_root.selected_units.length < 1)) { _root.selected_unit = _name; _root.selected_unit_type = "p_build"; _root.selected_unit_name = 10; } if (hp < hp_full) { i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type == "peasant") { _root.game[_root.selected_units[i]].repair_target = _name; _root.game[_root.selected_units[i]].repair = true; } i++; } if (_root.game[_root.selected_unit].type == "peasant") { _root.game[_root.selected_unit].repair_target = _name; _root.game[_root.selected_unit].repair = true; } _root.f_deselect(); } if (((_root.selected_unit == "") && (_root.selected_units.length == 0)) || ((_root.mouse_y - _root.game._y) < (_root.ground_y - 40))) { _root.selected_unit = "fort"; _root.selected_unit_type = "fort"; _root.selected_unit_name = 12; _root.toolbar.gotoAndStop(3); } } on (rollOver, dragOver) { if (hp < hp_full) { if (_root.game[_root.selected_unit].type == "peasant") { _root.repair = true; } i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type == "peasant") { _root.repair = true; } i++; } } _root.info = "Your Fort"; } on (rollOut, dragOut) { _root.repair = false; _root.info = ""; }
Symbol 531 MovieClip Frame 1
_xscale = random(100); _yscale = _xscale; gotoAndStop(random(_totalframes) + 1); this.onEnterFrame = function () { speed = (_xscale / 100) * 10; _xscale = (_xscale + 10); _yscale = _xscale; if (_xscale > 250) { swapDepths(1000); this.removeMovieClip(); } };
Symbol 533 MovieClip Frame 1
speed_x = (-5 + random(10)) / 10; speed_y = -random(3); speed_r = (-3 + random(6)) / 10; onEnterFrame = function () { if (_parent._y < _parent.dest_y) { _parent._x = _parent._x + speed_x; _parent._y = _parent._y + speed_y; _parent._rotation = _parent._rotation + speed_r; speed_y++; } };
Symbol 534 MovieClip Frame 1
dest_y = _y + 70;
Symbol 536 MovieClip Frame 1
dest_y = (_y + 73) + random(50);
Symbol 538 MovieClip Frame 1
dest_y = _y + 110;
Symbol 541 MovieClip Frame 1
dest_y = _y + 150;
Symbol 543 MovieClip Frame 1
dest_y = _y + 40;
Symbol 545 MovieClip Frame 1
dest_y = _y + 40;
Symbol 547 MovieClip Frame 1
dest_y = _y + 50;
Symbol 550 MovieClip Frame 1
dest_y = _y + 43;
Symbol 552 MovieClip Frame 1
dest_y = _y + 40;
Symbol 553 MovieClip Frame 1
hp_full = 100; hp = hp_full; bar_xscale = bar._xscale; archers = 0; b.useHandCursor = false; w = _width / 2; this.onEnterFrame = function () { _root.f_fort(); }; stop(); bar._visible = false;
Symbol 553 MovieClip Frame 2
timer = 200; p_num = 1; smoke.createEmptyMovieClip("p", 0); p = smoke.p; p.filters = [new flash.filters.BlurFilter(20, 20, 1)]; stopAllSounds(); s = new Sound(this); s.attachSound("boom"); s.start(); l = _root.units.length; i = 0; while (i < l) { ob = _root.game[_root.units[i]]; if ((ob._y < _root.ground_y) && (ob.post_name._name == _name)) { ob._visible = false; ob.gotoAndStop("die"); } i++; } _root.new_scr_x = _root.game_default_x; this.onEnterFrame = function () { _root.snd(_name); p.attachMovie("smoke_particle", "p" + p_num, p_num); p["p" + p_num]._x = -20 + random(40); p["p" + p_num]._y = 160; p["p" + p_num]._xscale = random(150); p["p" + p_num]._yscale = p["p" + p_num]._xscale; p_num++; if ((timer == 0) || (Key.isDown(13))) { _root.cinema_gameover.play(); } else { timer--; } };
Symbol 558 MovieClip Frame 1
this.onEnterFrame = function () { this.swapDepths((_root.game.getNextHighestDepth() + _root.people) + _root.trees); };
Symbol 566 Button
on (press) { if (((_root.selected_units.length < 1) && (_root.selected_unit == "")) && (hp > 0)) { s = new Sound(this); s.attachSound("dig" + (random(2) + 1)); s.start(); hp--; } }
Symbol 567 MovieClip Frame 1
hp_full = 50; hp = hp_full; onEnterFrame = function () { _root.snd(_name); hole.gotoAndStop(Math.floor((hp / hp_full) * 5)); if (hp == 0) { b.useHandCursor = false; hp = -1; num = _root.trees + 1; _parent.attachMovie("treasure", "t" + num, num); _parent["t" + num]._x = _x; _parent["t" + num]._y = _root.ground_y; _parent["t" + num].speed_y = -5; _root.trees++; } };
Symbol 574 MovieClip Frame 17
_parent.ini();
Symbol 575 MovieClip Frame 1
function ini() { _x = ((default_x - 200) + random(600)); _y = (-1000 - random(100)); gotoAndStop (1); } default_x = _x; speed_x = 5; speed_y = 7; ini(); this.onEnterFrame = function () { if (_y > _root.ground_y) { nextFrame(); } else { _x = (_x - speed_x); _y = (_y + speed_y); } };
Symbol 578 MovieClip Frame 1
_root.enemy_forces = 150; _root.enemy_numbers = 5; _root.limit_left = 475; _root.limit_right = -270; _root.wind = 1.2; _root.ratio_ram = -1; _root.ratio_heavy = -1; stop();
Symbol 578 MovieClip Frame 2
_root.enemy_forces = 200; _root.enemy_numbers = 10; _root.limit_left = 970; _root.limit_right = -550; _root.wind = -0.7; _root.ratio_ram = -1; _root.ratio_heavy = -1;
Symbol 578 MovieClip Frame 3
_root.enemy_forces = 250; _root.enemy_numbers = 13; _root.limit_left = 700; _root.limit_right = -1000; _root.wind = -0.7; _root.ratio_ram = 30; _root.ratio_heavy = 50;
Symbol 578 MovieClip Frame 4
_root.enemy_forces = 300; _root.enemy_numbers = 18; _root.limit_left = 1100; _root.limit_right = -500; _root.wind = -0.7; _root.ratio_ram = 20; _root.ratio_heavy = 15;
Symbol 578 MovieClip Frame 5
_root.enemy_forces = 300; _root.enemy_numbers = 25; _root.limit_left = 1100; _root.limit_right = -100; _root.wind = 1; _root.ratio_ram = 20; _root.ratio_heavy = 15;
Symbol 578 MovieClip Frame 6
_root.enemy_forces = 300; _root.enemy_numbers = 25; _root.limit_left = 1700; _root.limit_right = -700; _root.wind = 1; _root.ratio_ram = 10; _root.ratio_heavy = 15;
Symbol 578 MovieClip Frame 7
_root.enemy_forces = 350; _root.enemy_numbers = 30; _root.limit_left = 1100; _root.limit_right = -100; _root.wind = 5; _root.ratio_ram = 4; _root.ratio_heavy = 2;
Symbol 582 MovieClip Frame 1
stop();
Symbol 596 MovieClip Frame 1
Mouse.show(); stop();
Symbol 596 MovieClip Frame 2
Mouse.hide(); _y = (_root.ground_y + _root.game._y);
Symbol 596 MovieClip Frame 4
Mouse.hide();
Symbol 596 MovieClip Frame 5
Mouse.hide();
Symbol 596 MovieClip Frame 6
Mouse.hide();
Symbol 596 MovieClip Frame 7
Mouse.hide();
Symbol 600 Button
on (press) { gotoAndStop (3); }
Symbol 613 MovieClip Frame 1
stop();
Symbol 614 MovieClip Frame 1
function f_draw() { if (_visible == true) { if ((Math.abs(_root.scr_speed) < 0.1) && (img._visible == true)) { bmp.draw(_root.bg); bmp.draw(_root.game, myMatrix); } if ((!b.hitTest(_root._xmouse, _root._ymouse)) && (!img.hitTest(_root._xmouse, _root._ymouse))) { img._visible = false; b.gotoAndStop(1); } } if (_root.up_spies == true) { _visible = true; } } _visible = false; this.createEmptyMovieClip("img", 1); img._xscale = (img._yscale = 50); img.lineStyle(4, 0); img.lineTo(512, 0); img.lineTo(512, 384); img.lineTo(0, 384); img.lineTo(0, 0); img._visible = false; bmp = new flash.display.BitmapData(512, 384, true); img.attachBitmap(bmp, 1); var myMatrix = (new flash.geom.Matrix()); var translateMatrix = (new flash.geom.Matrix()); translateMatrix.translate((_root.game._x + (_root.limit_left * 2)) + 400, _root.game._y); myMatrix.concat(translateMatrix); setInterval(f_draw, 20); onMouseDown = function () { if (b.hitTest(_root._xmouse, _root._ymouse)) { img._visible = true; b.gotoAndStop(2); } };
Symbol 620 Button
on (press) { archer_post = 1; post_name = _root.game.fort; dest_x = _root.game.fort._x - (_root.game.fort.w / 1.7); dest_y = _root.game.fort._y + (_root.game.fort._height / 2.6); diff_x = Math.abs(_root.game[_root.selected_unit]._x - _root.game.fort._x); i = 0; while (i < _root.towers.length) { b_diff_x = Math.abs(_root.game[_root.selected_unit]._x - _root.game[_root.towers[i]]._x); if ((b_diff_x < diff_x) && (_root.game[_root.towers[i]].archers <= 6)) { archer_post = 2; post_name = _root.game[_root.towers[i]]; diff_x = b_diff_x; dest_x = post_name._x - (post_name._width / 2); dest_y = post_name._y - (post_name._height / 1.7); } i++; } if (archer_post == 1) { _root.game.fort.archers++; } if ((archer_post == 2) || (_root.game.fort.archers < 15)) { if ((((_root.game[_root.selected_unit].type != "archer") && (_root.game[_root.selected_unit].type != "priest")) && (_root.game[_root.selected_unit].type != "geisha")) && (_root.selected_unit != "")) { _root.game[_root.selected_unit].type = "archer"; _root.archers.push(_root.selected_unit); _root.game[_root.selected_unit].dest_x = dest_x + (_root.archers.length * 15); _root.game[_root.selected_unit].dest_y = dest_y; _root.game[_root.selected_unit].gotoAndStop("stand"); } } i = 0; while (i < _root.selected_units.length) { ob = _root.game[_root.selected_units[i]]; if (((ob.type != "archer") && (ob.type != "priest")) && (ob.type != "geisha")) { if (ob.type == "peasant") { n = 0; while (n < _root.peasants.length) { if (_root.peasants[n] == ob._name) { _root.peasants.splice(n, 1); } n++; } } else if (ob.type == "troop") { n = 0; while (n < _root.troops.length) { if (_root.troops[n] == ob._name) { _root.troops.splice(n, 1); } n++; } } archer_post = 1; post_name = _root.game.fort; dest_x = _root.game.fort._x - (_root.game.fort.w / 1.7); dest_y = _root.game.fort._y + (_root.game.fort._height / 2.6); diff_x = Math.abs(_root.game[_root.selected_units[i]]._x - _root.game.fort._x); n = 0; while (n < _root.towers.length) { b_diff_x = Math.abs(_root.game[_root.selected_units[i]]._x - _root.game[_root.towers[n]]._x); if ((b_diff_x < diff_x) && (_root.game[_root.towers[n]].archers <= 6)) { archer_post = 2; post_name = _root.game[_root.towers[n]]; post_name.archers++; diff_x = b_diff_x; dest_x = post_name._x - (post_name._width / 4); dest_y = post_name._y - (post_name._height / 1.6); } n++; } if (archer_post == 1) { _root.game.fort.archers++; } if ((archer_post == 2) || (_root.game.fort.archers < 15)) { ob.type = "archer"; ob.dest_x = dest_x + (_root.archers.length * 8); ob.dest_y = dest_y; ob.post_name = post_name; ob.gotoAndStop("stand"); _root.archers.push(_root.selected_units[i]); } } i++; } } on (rollOver, dragOver) { _root.info = "Train As Archer"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 623 Button
on (press) { if ((((_root.game[_root.selected_unit].type != "troop") && (_root.game[_root.selected_unit].type != "priest")) && (_root.game[_root.selected_unit].type != "geisha")) && (_root.selected_unit != "")) { _root.game[_root.selected_unit].type = "troop"; _root.troops.push(_root.selected_unit); _root.game[_root.selected_unit].gotoAndStop("stand"); } i = 0; while (i < _root.selected_units.length) { ob = _root.game[_root.selected_units[i]]; if (((ob.type != "troop") && (ob.type != "priest")) && (ob.type != "geisha")) { if (ob.type == "peasant") { n = 0; while (n < _root.peasants.length) { if (_root.peasants[n] == ob._name) { _root.peasants.splice(n, 1); } n++; } } else if (ob.type == "archer") { n = 0; while (n < _root.archers.length) { if (_root.archers[n] == ob._name) { _root.archers.splice(n, 1); } ob.post_name.archers--; n++; } } ob.type = "troop"; ob.gotoAndStop("stand"); _root.troops.push(_root.selected_units[i]); } i++; } } on (rollOver, dragOver) { _root.info = "Train As Samurai"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 626 Button
on (press) { if ((((_root.game[_root.selected_unit].type != "peasant") && (_root.game[_root.selected_unit].type != "priest")) && (_root.game[_root.selected_unit].type != "geisha")) && (_root.selected_unit != "")) { _root.game[_root.selected_unit].type = "peasant"; _root.peasants.push(_root.selected_unit); } i = 0; while (i < _root.selected_units.length) { ob = _root.game[_root.selected_units[i]]; if (((ob.type != "peasant") && (ob.type != "priest")) && (ob.type != "geisha")) { trace(ob.type); if (ob.type == "troop") { n = 0; while (n < _root.troops.length) { if (_root.troops[n] == ob._name) { _root.troops.splice(n, 1); } ob.post_name.archers--; n++; } } else if (ob.type == "archer") { n = 0; while (n < _root.archers.length) { if (_root.archers[n] == ob._name) { _root.archers.splice(n, 1); } n++; } } ob.type = "peasant"; _root.peasants.push(_root.selected_units[i]); } i++; } } on (rollOver, dragOver) { _root.info = "Train As Peasant"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 629 Button
on (press) { i = 0; while (i < _root.selected_units.length) { _root.game[_root.selected_units[i]].sel = false; i++; } _root.f_deselect(); } on (rollOver, dragOver) { _root.info = "Deselect"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 632 Button
on (press) { _parent.f_select_type("peasant"); } on (rollOver, dragOver) { cost = 10; _root.info = "Select Peasants Only"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 636 Button
on (press) { _parent.f_select_type("geisha"); } on (rollOver, dragOver) { cost = 70; _root.info = "Select only Geishas"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 640 Button
on (press) { _parent.f_select_type("priest"); } on (rollOver, dragOver) { cost = 100; _root.info = "Select only Priests"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 642 Button
on (press) { _parent.f_select_type("archer"); } on (rollOver, dragOver) { _root.info = "Select only Archers"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 644 Button
on (press) { _parent.f_select_type("troop"); } on (rollOver, dragOver) { _root.info = "Select only Samurai"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 646 MovieClip Frame 1
function f_select_type(t) { i = 0; while (i < _root.selected_units.length) { i = 0; while (i < _root.selected_units.length) { if (_root.game[_root.selected_units[i]].type != t) { _root.game[_root.selected_units[i]].sel = false; } i++; } i++; } var _local2 = _root[("selected_" + t) + "s"]; _root.selected_units = new Array(); var i = 0; i = 0; while (i < _local2.length) { _root.selected_units.push(_local2[i]); trace(_local2[i]); i++; } _root.selected_troops = new Array(); _root.selected_archers = new Array(); _root.selected_peasants = new Array(); _root.selected_geishas = new Array(); _root.selected_priests = new Array(); var i = 0; } function onEnterFrame() { if (_root.selected_troops.length > 0) { sel_troops._visible = true; } else { sel_troops._visible = false; } if (_root.selected_archers.length > 0) { sel_archers._visible = true; } else { sel_archers._visible = false; } if (_root.selected_peasants.length > 0) { sel_peasants._visible = true; } else { sel_peasants._visible = false; } if (_root.selected_geishas.length > 0) { sel_geishas._visible = true; } else { sel_geishas._visible = false; } if (_root.selected_priests.length > 0) { sel_priests._visible = true; } else { sel_priests._visible = false; } }
Symbol 648 Button
on (press) { if (_root.gold >= 100) { _root.gold = _root.gold - 100; _root.game.attachMovie("wall", "wall", _root.game.getNextHighestDepth()); _root.f_deselect(); } } on (rollOver, dragOver) { _root.info = "Wall (keeps out enemies) Price: 100"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 649 Button
on (press) { if ((_root.gold >= cost) && (_root.pop < _root.pop_limit)) { _root.pop++; _root.grp_new_spawn.push("person" + _root.people); _root.peasants.push("person" + _root.people); _root.f_spawn_person("person", _root.game.fort._x, _root.ground_y, (_root.game.fort._x - 130) + ((5 + random(3)) * _root.grp_new_spawn.length)); _root.gold = _root.gold - cost; } } on (rollOver, dragOver) { cost = 10; _root.info = "Peasant (Gathers resources. Can be trained as Samurai or archer) Price: " + cost; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 652 Button
on (press) { if (_root.gold >= 400) { _root.gold = _root.gold - 400; _root.game.attachMovie("tower", "tower", _root.game.getNextHighestDepth()); } } on (rollOver, dragOver) { _root.info = "Tower (Houses archers for defense) Price: 400"; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 653 Button
on (press) { if ((_root.gold >= cost) && (_root.pop < _root.pop_limit)) { _root.pop++; _root.f_spawn_person("geisha", _root.game.fort._x, _root.ground_y, (_root.game.fort._x - 100) + ((5 + random(3)) * _root.grp_new_spawn.length), "geisha"); _root.grp_new_spawn.push("person" + _root.people); _root.gold = _root.gold - cost; } } on (rollOver, dragOver) { cost = 70; _root.info = "Geisha (Raises morale... in the form of increased attack power) Price: " + cost; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 654 Button
on (press) { if ((_root.gold >= cost) && (_root.pop < _root.pop_limit)) { _root.pop++; _root.f_spawn_person("priest", _root.game.fort._x, _root.ground_y, (_root.game.fort._x - 100) + ((5 + random(3)) * _root.grp_new_spawn.length), "priest"); _root.grp_new_spawn.push("person" + _root.people); _root.gold = _root.gold - cost; } } on (rollOver, dragOver) { cost = 100; _root.info = "Priest (Heals units) Price: " + cost; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 656 Button
on (press) { nextFrame(); }
Symbol 658 Button
on (press) { _parent.gotoAndStop(1); }
Symbol 660 Button
on (press) { if (_root.level < 4) { _root.help.gotoAndStop(_root.level); } else { _root.help.gotoAndStop(1); } _root.help._visible = true; }
Symbol 662 Button
on (press) { _root.help.gotoAndStop(_root.help._totalframes); _root.help._visible = true; }
Symbol 664 Button
on (press) { getURL ("http://www.mortargames.com/riftwar.php", "_blank"); }
Symbol 667 Button
on (press) { if (_root.gold >= price) { _root.gold = _root.gold - price; _root.up_peasant = true; nextFrame(); } } on (rollOver, dragOver) { price = 400; _root.info = "Skilled Laborer (improves Peasant resource gathering speed, and walking speed) Price: " + price; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 669 MovieClip Frame 1
if (_root.up_peasant == true) { nextFrame(); } else { stop(); }
Symbol 672 Button
on (press) { if (_root.gold >= price) { _root.gold = _root.gold - price; _root.up_archer = true; nextFrame(); } } on (rollOver, dragOver) { price = 500; _root.info = "Elite Archer (greatly improves Archer accuracy and arrow damage) Price: " + price; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 674 MovieClip Frame 1
if (_root.up_archer == true) { nextFrame(); } else { stop(); }
Symbol 677 Button
on (press) { if (_root.gold >= price) { _root.gold = _root.gold - price; _root.up_troop = true; nextFrame(); } } on (rollOver, dragOver) { price = 600; _root.info = "Elite Samurai (greatly improves Samurai attack power and speed) Price: " + price; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 679 MovieClip Frame 1
if (_root.up_troop == true) { nextFrame(); } else { stop(); }
Symbol 682 Button
on (press) { if (_root.gold >= price) { _root.gold = _root.gold - price; _root.up_geisha = true; nextFrame(); } } on (rollOver, dragOver) { price = 700; _root.info = "Demi-goddess (Greatly improves Geisha speed and attack-boosting ability) Price: " + price; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 684 MovieClip Frame 1
if (_root.up_geisha == true) { nextFrame(); } else { stop(); }
Symbol 687 Button
on (press) { if (_root.gold >= price) { _root.gold = _root.gold - price; _root.up_priest = true; nextFrame(); } } on (rollOver, dragOver) { price = 800; _root.info = "Enlightenment (Greatly improves Priest speed and healing-ability) Price: " + price; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 689 MovieClip Frame 1
if (_root.up_priest == true) { nextFrame(); } else { stop(); }
Symbol 692 Button
on (press) { if (_root.gold >= price) { _root.gold = _root.gold - price; _root.up_wall = true; nextFrame(); } } on (rollOver, dragOver) { price = 1300; _root.info = "Fortified Walls (improves the integrity of walls) Price: " + price; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 694 MovieClip Frame 1
if (_root.up_wall == true) { nextFrame(); } else { stop(); }
Symbol 697 Button
on (press) { if (_root.gold >= price) { _root.gold = _root.gold - price; _root.up_tower = true; nextFrame(); } } on (rollOver, dragOver) { price = 1500; _root.info = "Guard Tower (Improves the integrity of towers) Price: " + price; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 699 MovieClip Frame 1
if (_root.up_tower == true) { nextFrame(); } else { stop(); }
Symbol 701 Button
on (press) { prevFrame(); }
Symbol 704 Button
on (press) { if (_root.gold >= price) { _root.gold = _root.gold - price; _root.up_armor = true; nextFrame(); } } on (rollOver, dragOver) { price = 1000; _root.info = "Steel Armor (all human units take less damage) Price: " + price; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 706 MovieClip Frame 1
if (_root.up_armor == true) { nextFrame(); } else { stop(); }
Symbol 709 Button
on (press) { if (_root.gold >= price) { _root.gold = _root.gold - price; _root.up_spies = true; nextFrame(); } } on (rollOver, dragOver) { price = 1000; _root.info = "Spies (Provides a spy-cam showing the enemy before they reach you) Price: " + price; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 711 MovieClip Frame 1
if (_root.up_spies == true) { gotoAndStop (2); } else { stop(); }
Symbol 713 Button
on (press) { if (_root.gold >= price) { _root.gold = _root.gold - price; _root.up_commerce = true; nextFrame(); } } on (rollOver, dragOver) { price = 2000; _root.info = "Commerce (Provides a slow but endless supply of Gold) Price: " + price; } on (rollOut, dragOut) { _root.info = ""; }
Symbol 716 MovieClip Frame 1
if (_root.up_commerce == true) { nextFrame(); } else { stop(); }
Symbol 717 MovieClip Frame 1
stop();
Symbol 718 MovieClip Frame 1
onEnterFrame = function () { if (_root.begin == true) { _visible = true; } else { _visible = false; } }; if (ini != true) { gotoAndStop (3); } ini = true;
Symbol 720 MovieClip Frame 1
b.useHandCursor = false; stop();
Symbol 725 Button
on (release) { _root.begin = true; _visible = false; _root.stopper.nextFrame(); }
Symbol 726 Button
on (press) { dragging = true; } on (release, releaseOutside) { dragging = false; }
Symbol 730 Button
on (press) { getURL ("http://www.diverge.ws/?page=viewarticle&id=4", "_blank"); }
Symbol 743 Button
on (press) { nextFrame(); }
Symbol 748 Button
on (press) { prevFrame(); }
Symbol 758 MovieClip Frame 1
stop(); onEnterFrame = function () { page = _currentframe; };
Symbol 773 MovieClip Frame 1
stop(); onEnterFrame = function () { page = _currentframe; };
Symbol 783 MovieClip Frame 1
stop(); onEnterFrame = function () { page = _currentframe; };
Symbol 786 Button
on (press) { getURL ("http://www.mortargames.com", "_blank"); }
Symbol 787 Button
on (press) { getURL ("http://www.diverge.ws", "_blank"); }
Symbol 788 Button
on (press) { getURL ("http://www.thisisacryforhelp.com", "_blank"); }
Symbol 789 Button
on (press) { getURL ("http://www.tomamoto.com", "_blank"); }
Symbol 790 MovieClip Frame 1
stop(); onEnterFrame = function () { page = _currentframe; };
Symbol 791 MovieClip Frame 1
onEnterFrame = function () { if (dragging == true) { _x = (_x + (_root._xmouse - prev_m_x)); _y = (_y + (_root._ymouse - prev_m_y)); } prev_m_x = _root._xmouse; prev_m_y = _root._ymouse; }; gotoAndStop(_root.level);
Symbol 791 MovieClip Frame 4
_root.begin = true; _visible = false; _root.stopper.nextFrame();
Symbol 791 MovieClip Frame 5
call(4);
Symbol 791 MovieClip Frame 6
call(4);
Symbol 791 MovieClip Frame 7
call(4);
Symbol 792 MovieClip Frame 1
stop();
Symbol 792 MovieClip Frame 2
_quality = "low";
Symbol 792 MovieClip Frame 90
_root.gotoAndStop("gameover");
Symbol 796 MovieClip Frame 1
stop();
Symbol 796 MovieClip Frame 2
stopAllSounds(); bmp = new flash.display.BitmapData(512, 384, true); img.attachBitmap(bmp, 1); var myMatrix = (new flash.geom.Matrix()); var translateMatrix = (new flash.geom.Matrix()); translateMatrix.translate(_root.game._x, _root.game._y); myMatrix.concat(translateMatrix); bmp.draw(_root.bg); bmp.draw(_root.game, myMatrix); _root.nextFrame(); trace(1);
Symbol 796 MovieClip Frame 120
onEnterFrame = function () { if (_xscale > 45) { _y = (_y - 0.5); _xscale = (_xscale - 1); _yscale = _xscale; } else { _root.stats.nextFrame(); } }; stop();
Symbol 804 MovieClip Frame 1
stop();
Symbol 804 MovieClip Frame 2
killed = 0; lost = 0; eco = 0; _root.stat_economy = Math.floor(_root.stat_economy); onEnterFrame = function () { txt = (((((("enemies killed: " + killed) + newline) + "Units lost: ") + lost) + newline) + "economy: ") + eco; if (_root.stat_killed > killed) { killed++; } else if (_root.stat_unitslost > lost) { lost++; } else { eco = _root.stat_economy; } }; onMouseDown = function () { if (eco < _root.stat_economy) { killed = _root.stat_killed; lost = _root.stat_unitslost; eco = _root.stat_economy; } else { onMouseDown = ""; _root.nextFrame(); } };
Symbol 806 MovieClip Frame 1
secs = 10; millisecs = 60; onMouseDown = function () { if (secs == 0) { _root.nextFrame(); } }; onEnterFrame = function () { if (secs > 0) { millisecs--; if (millisecs == 0) { millisecs = 60; secs--; } } if (secs == 0) { txt = "Click to resume game"; } else { txt = "Game will resume in " + secs; } };
Symbol 813 Button
on (press) { gotoAndStop ("game"); }
Symbol 814 Button
on (press) { gotoAndStop ("title"); }

Library Items

Symbol 1 Sound [tree_pick2]
Symbol 2 Sound [tree_pick1]
Symbol 3 Sound [tree_break]
Symbol 4 Sound [sword3]
Symbol 5 Sound [sword2]
Symbol 6 Sound [sword1]
Symbol 7 Sound [land2]
Symbol 8 Sound [hammer3]
Symbol 9 Sound [hammer2]
Symbol 10 Sound [hammer1]
Symbol 11 Sound [bow2]
Symbol 12 Sound [bow1]
Symbol 13 Sound [boom]
Symbol 14 Sound [birds]Used by:331
Symbol 15 Bitmap [16]
Symbol 16 Bitmap [15]
Symbol 17 Bitmap [14]
Symbol 18 Bitmap [13]
Symbol 19 Bitmap [12]
Symbol 20 Bitmap [11]
Symbol 21 Bitmap [10]
Symbol 22 Bitmap [9]
Symbol 23 Bitmap [8]
Symbol 24 Bitmap [7]
Symbol 25 Bitmap [6]
Symbol 26 Bitmap [5]
Symbol 27 Bitmap [4]
Symbol 28 Bitmap [3]
Symbol 29 Bitmap [2]
Symbol 30 Bitmap [1]
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:33
Symbol 33 MovieClip [bkg]Uses:32
Symbol 34 GraphicUsed by:35
Symbol 35 ButtonUses:34Used by:42
Symbol 36 GraphicUsed by:37 75 719
Symbol 37 MovieClipUses:36Used by:42 435
Symbol 38 GraphicUsed by:42
Symbol 39 GraphicUsed by:40 80
Symbol 40 MovieClipUses:39Used by:41
Symbol 41 MovieClipUses:40Used by:42
Symbol 42 MovieClip [wall]Uses:35 37 38 41Used by:435
Symbol 43 GraphicUsed by:48 49 64 426
Symbol 44 GraphicUsed by:48
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:43 44 45 46 47Used by:49
Symbol 49 ButtonUses:48 43Used by:50
Symbol 50 MovieClip [tree4]Uses:49Used by:435
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:56 57 424
Symbol 53 GraphicUsed by:56
Symbol 54 GraphicUsed by:56
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:52 53 54 55Used by:57
Symbol 57 ButtonUses:56 52Used by:58
Symbol 58 MovieClip [tree3]Uses:57Used by:435
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:64 65 423
Symbol 61 GraphicUsed by:64 314 318
Symbol 62 GraphicUsed by:64
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:60 43 61 62 63Used by:65
Symbol 65 ButtonUses:64 60Used by:66
Symbol 66 MovieClip [tree2]Uses:65Used by:435
Symbol 67 GraphicUsed by:70 71
Symbol 68 GraphicUsed by:70 71 587
Symbol 69 GraphicUsed by:70 587
Symbol 70 MovieClipUses:67 68 69Used by:71
Symbol 71 ButtonUses:70 67 68Used by:72
Symbol 72 MovieClip [treasure]Uses:71Used by:435
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:82
Symbol 75 MovieClipUses:36Used by:82 116 138 177 238 299 405 553
Symbol 76 GraphicUsed by:77
Symbol 77 ButtonUses:76Used by:82
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:82
Symbol 80 MovieClipUses:39Used by:81
Symbol 81 MovieClipUses:80Used by:82 177
Symbol 82 MovieClip [tower]Uses:74 75 77 79 81Used by:435
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClip [smoke_particle]Uses:83Used by:435
Symbol 85 GraphicUsed by:86 87
Symbol 86 MovieClipUses:85Used by:99
Symbol 87 MovieClipUses:85Used by:99 111 114 136
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:99 111 114
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:90Used by:99 111 114 134
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:92Used by:99 111 114
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:99 111 114
Symbol 96 GraphicUsed by:99 111
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:99 111 114
Symbol 99 MovieClipUses:86 87 89 91 93 95 96 98Used by:100
Symbol 100 MovieClipUses:99Used by:116
Symbol 101 GraphicUsed by:102 173 185 270 395
Symbol 102 ButtonUses:101Used by:116 138
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:116 138 405
Symbol 105 GraphicUsed by:106 400
Symbol 106 MovieClipUses:105Used by:111 114 259 272 283 295 393 398 403
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:111 134 247 271 272 273 278 289 294 392 398 401
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:111 247 271 272 273 278 294 392 398
Symbol 111 MovieClipUses:106 87 89 91 93 95 96 98 108 110Used by:112
Symbol 112 MovieClipUses:111Used by:116
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:113 87 89 106 91 93 95 98Used by:115
Symbol 115 MovieClipUses:114Used by:116
Symbol 116 MovieClip [priest]Uses:100 102 75 104 112 115Used by:435
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClip [person_outline]Uses:117Used by:435
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:132 134
Symbol 121 GraphicUsed by:122 123
Symbol 122 MovieClipUses:121Used by:132 134 136
Symbol 123 MovieClipUses:121Used by:132
Symbol 124 GraphicUsed by:125
Symbol 125 MovieClipUses:124Used by:132 134 136
Symbol 126 GraphicUsed by:127
Symbol 127 MovieClipUses:126Used by:132 134 136
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:132 134 136
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:132 134 136
Symbol 132 MovieClipUses:120 122 123 125 127 129 131Used by:133
Symbol 133 MovieClipUses:132Used by:138
Symbol 134 MovieClipUses:120 122 125 127 129 131 108 91Used by:135
Symbol 135 MovieClipUses:134Used by:138
Symbol 136 MovieClipUses:87 122 125 127 129 131Used by:137
Symbol 137 MovieClipUses:136Used by:138
Symbol 138 MovieClip [geisha]Uses:133 102 75 104 135 137Used by:435
Symbol 139 GraphicUsed by:142
Symbol 140 GraphicUsed by:142
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClip [fx_woodchip]Uses:139 140 141Used by:435
Symbol 143 GraphicUsed by:146
Symbol 144 GraphicUsed by:146
Symbol 145 GraphicUsed by:146
Symbol 146 MovieClip [fx_rockchip2]Uses:143 144 145Used by:435
Symbol 147 GraphicUsed by:150
Symbol 148 GraphicUsed by:150
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClip [fx_rockchip]Uses:147 148 149Used by:435
Symbol 151 GraphicUsed by:154
Symbol 152 GraphicUsed by:154
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:151 152 153Used by:155
Symbol 155 MovieClip [fx_leaf1]Uses:154Used by:435
Symbol 156 GraphicUsed by:157 159
Symbol 157 MovieClipUses:156Used by:158
Symbol 158 MovieClip [fx_dust3]Uses:157Used by:435
Symbol 159 MovieClipUses:156Used by:160
Symbol 160 MovieClip [fx_dust2]Uses:159Used by:435
Symbol 161 GraphicUsed by:167
Symbol 162 GraphicUsed by:167
Symbol 163 GraphicUsed by:167
Symbol 164 GraphicUsed by:167
Symbol 165 GraphicUsed by:167
Symbol 166 GraphicUsed by:167
Symbol 167 MovieClipUses:161 162 163 164 165 166Used by:168
Symbol 168 MovieClip [fx_dust1]Uses:167Used by:435
Symbol 169 GraphicUsed by:170 383
Symbol 170 MovieClip [fx_blooddrop]Uses:169Used by:435
Symbol 171 GraphicUsed by:174 177
Symbol 172 GraphicUsed by:174 177
Symbol 173 ButtonUses:101Used by:177
Symbol 174 MovieClipUses:171 172Used by:177
Symbol 175 GraphicUsed by:177
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClip [enemy_ram]Uses:171 172 173 75 174 175 176 81Used by:435
Symbol 178 GraphicUsed by:184 207
Symbol 179 GraphicUsed by:184 207 235 238
Symbol 180 GraphicUsed by:184 207 235 238
Symbol 181 GraphicUsed by:184 207 235 238
Symbol 182 GraphicUsed by:184 207
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:178 179 180 181 182 183Used by:238
Symbol 185 ButtonUses:101Used by:238
Symbol 186 GraphicUsed by:207
Symbol 187 GraphicUsed by:207
Symbol 188 GraphicUsed by:207
Symbol 189 GraphicUsed by:207
Symbol 190 GraphicUsed by:207
Symbol 191 GraphicUsed by:207
Symbol 192 GraphicUsed by:207
Symbol 193 GraphicUsed by:207
Symbol 194 GraphicUsed by:207
Symbol 195 GraphicUsed by:207
Symbol 196 GraphicUsed by:207
Symbol 197 GraphicUsed by:207
Symbol 198 GraphicUsed by:207
Symbol 199 GraphicUsed by:207
Symbol 200 GraphicUsed by:207
Symbol 201 GraphicUsed by:207
Symbol 202 GraphicUsed by:207
Symbol 203 GraphicUsed by:207
Symbol 204 GraphicUsed by:207
Symbol 205 GraphicUsed by:207
Symbol 206 GraphicUsed by:207
Symbol 207 MovieClipUses:178 179 180 181 182 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206Used by:238
Symbol 208 GraphicUsed by:235
Symbol 209 GraphicUsed by:235
Symbol 210 GraphicUsed by:235
Symbol 211 GraphicUsed by:235
Symbol 212 GraphicUsed by:235
Symbol 213 GraphicUsed by:235
Symbol 214 GraphicUsed by:235
Symbol 215 GraphicUsed by:235
Symbol 216 GraphicUsed by:235
Symbol 217 GraphicUsed by:235
Symbol 218 GraphicUsed by:235
Symbol 219 GraphicUsed by:235
Symbol 220 GraphicUsed by:235
Symbol 221 GraphicUsed by:235
Symbol 222 GraphicUsed by:235
Symbol 223 GraphicUsed by:235
Symbol 224 GraphicUsed by:235
Symbol 225 GraphicUsed by:235
Symbol 226 GraphicUsed by:235
Symbol 227 GraphicUsed by:235
Symbol 228 GraphicUsed by:235
Symbol 229 GraphicUsed by:235
Symbol 230 GraphicUsed by:235
Symbol 231 GraphicUsed by:235
Symbol 232 GraphicUsed by:235
Symbol 233 GraphicUsed by:235
Symbol 234 GraphicUsed by:235
Symbol 235 MovieClipUses:208 179 180 181 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234Used by:238
Symbol 236 GraphicUsed by:238
Symbol 237 GraphicUsed by:238
Symbol 238 MovieClip [enemy_heavy]Uses:184 185 75 207 235 236 179 180 181 237Used by:435
Symbol 239 GraphicUsed by:240
Symbol 240 MovieClipUses:239Used by:247 271 272 273 278 294 392 398
Symbol 241 GraphicUsed by:242
Symbol 242 MovieClipUses:241Used by:247 271 278 294 392
Symbol 243 GraphicUsed by:244
Symbol 244 MovieClipUses:243Used by:247 271 278 294 392
Symbol 245 GraphicUsed by:246
Symbol 246 MovieClipUses:245Used by:247 271 278 392
Symbol 247 MovieClipUses:240 242 244 246 108 110Used by:268
Symbol 248 GraphicUsed by:249
Symbol 249 MovieClipUses:248Used by:259 267 272 273 283 289 295 296 393 398 401 403
Symbol 250 GraphicUsed by:251
Symbol 251 MovieClipUses:250Used by:259 267 272 273 283 289 295 296 393 398 401 403
Symbol 252 GraphicUsed by:253 284
Symbol 253 MovieClipUses:252Used by:259 267 272 273 283 289 295 296 393 398 401 403
Symbol 254 GraphicUsed by:255
Symbol 255 MovieClipUses:254Used by:259 267 272 273 283 289 295 296 393 398 401 403
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClipUses:256Used by:259 272 283 295 393 398 401 403
Symbol 258 GraphicUsed by:259 272 283 295
Symbol 259 MovieClipUses:249 251 253 106 255 257 258Used by:268 394
Symbol 260 GraphicUsed by:261
Symbol 261 MovieClipUses:260Used by:267 401
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClipUses:262Used by:267 273 289 296
Symbol 264 GraphicUsed by:267 273 289 296 393 398 401 403
Symbol 265 GraphicUsed by:266
Symbol 266 MovieClipUses:265Used by:267 273 289 296
Symbol 267 MovieClipUses:249 251 261 255 263 253 264 266Used by:268
Symbol 268 MovieClipUses:247 259 267Used by:269
Symbol 269 MovieClipUses:268Used by:299
Symbol 270 ButtonUses:101Used by:299
Symbol 271 MovieClipUses:240 108 110 242 244 246Used by:274 399
Symbol 272 MovieClipUses:106 249 251 255 257 258 253 108 240 110Used by:274 399
Symbol 273 MovieClipUses:266 249 251 255 263 253 264 108 240 110Used by:274
Symbol 274 MovieClipUses:271 272 273Used by:275
Symbol 275 MovieClipUses:274Used by:299
Symbol 276 GraphicUsed by:278
Symbol 277 GraphicUsed by:278
Symbol 278 MovieClipUses:240 108 110 242 244 246 276 277Used by:290 402
Symbol 279 GraphicUsed by:283
Symbol 280 GraphicUsed by:283
Symbol 281 GraphicUsed by:283
Symbol 282 GraphicUsed by:283
Symbol 283 MovieClipUses:249 251 253 106 255 257 258 279 280 281 282Used by:290 402
Symbol 284 MovieClipUses:252Used by:289 401
Symbol 285 GraphicUsed by:289 401
Symbol 286 GraphicUsed by:289 401
Symbol 287 GraphicUsed by:289 401
Symbol 288 GraphicUsed by:289 401
Symbol 289 MovieClipUses:249 108 266 251 255 263 253 264 284 285 286 287 288Used by:290
Symbol 290 MovieClipUses:278 283 289Used by:291
Symbol 291 MovieClipUses:290Used by:299
Symbol 292 GraphicUsed by:294
Symbol 293 GraphicUsed by:294
Symbol 294 MovieClipUses:292 240 242 244 108 110 293Used by:297 404
Symbol 295 MovieClipUses:249 251 106 255 257 253 258Used by:297 404
Symbol 296 MovieClipUses:249 251 266 255 263 253 264Used by:297
Symbol 297 MovieClipUses:294 295 296Used by:298
Symbol 298 MovieClipUses:297Used by:299
Symbol 299 MovieClip [enemy]Uses:269 270 75 275 291 298Used by:435
Symbol 300 GraphicUsed by:302
Symbol 301 GraphicUsed by:302
Symbol 302 MovieClip [arrow]Uses:300 301Used by:435
Symbol 303 BitmapUsed by:304
Symbol 304 GraphicUses:303Used by:305 484
Symbol 305 MovieClipUses:304Used by:Timeline
Symbol 306 BitmapUsed by:307 486
Symbol 307 GraphicUses:306Used by:308
Symbol 308 MovieClipUses:307Used by:318
Symbol 309 GraphicUsed by:310
Symbol 310 MovieClipUses:309Used by:318
Symbol 311 GraphicUsed by:318
Symbol 312 FontUsed by:313 315 347 377 449 450 453 456 459 462 469 470 471 474
Symbol 313 TextUses:312Used by:318
Symbol 314 MovieClipUses:61Used by:318
Symbol 315 TextUses:312Used by:318
Symbol 316 GraphicUsed by:317 331 332 378 435 620 623 626 629 632 636 640 642 644 648 649 652 653 654 667 672 677 682 687 692 697 704 709 710 713 810
Symbol 317 ButtonUses:316Used by:318
Symbol 318 MovieClipUses:308 310 61 311 313 314 315 317Used by:Timeline
Symbol 815 MovieClip [__Packages.NewgroundsAPI]
Symbol 319 Sound [rock_break]Used by:331
Symbol 320 Sound [rock_hit]Used by:331
Symbol 321 Sound [can_break]Used by:331
Symbol 322 Sound [cash]Used by:331
Symbol 323 Sound [damage1]Used by:331
Symbol 324 Sound [damage2]Used by:331
Symbol 325 Sound [dig1]Used by:331
Symbol 326 Sound [dig2]Used by:331
Symbol 327 Sound [land1]Used by:331
Symbol 328 Sound [music_title]Used by:331
Symbol 329 Sound [music1]Used by:331
Symbol 330 Sound [music2]Used by:331
Symbol 331 MovieClipUses:316 319 320 14 321 322 323 324 325 326 327 328 329 330Used by:Timeline
Symbol 332 ButtonUses:316Used by:Timeline
Symbol 333 GraphicUsed by:346
Symbol 334 GraphicUsed by:338
Symbol 335 GraphicUsed by:338
Symbol 336 GraphicUsed by:338
Symbol 337 GraphicUsed by:338
Symbol 338 ButtonUses:334 335 336 337Used by:346
Symbol 339 GraphicUsed by:346
Symbol 340 GraphicUsed by:346
Symbol 341 GraphicUsed by:345 349 390 441 442 443 444 445 446 447 465 480 481 482 600 613 647 648 656 658 660 662 664 701 725 726 792 813 814  Timeline
Symbol 342 GraphicUsed by:344
Symbol 343 GraphicUsed by:344
Symbol 344 ButtonUses:342 343Used by:345
Symbol 345 MovieClipUses:341 344Used by:346
Symbol 346 MovieClipUses:333 338 339 340 345Used by:806  Timeline
Symbol 347 TextUses:312Used by:Timeline
Symbol 348 MovieClipUses:SS1Used by:Timeline
Symbol 349 ButtonUses:341Used by:Timeline
Symbol 350 GraphicUsed by:366
Symbol 351 FontUsed by:352
Symbol 352 TextUses:351Used by:366
Symbol 353 GraphicUsed by:354
Symbol 354 ButtonUses:353Used by:366
Symbol 355 GraphicUsed by:366
Symbol 356 GraphicUsed by:357
Symbol 357 MovieClipUses:356Used by:366
Symbol 358 GraphicUsed by:359
Symbol 359 MovieClipUses:358Used by:360
Symbol 360 MovieClipUses:359Used by:366
Symbol 361 GraphicUsed by:362
Symbol 362 MovieClipUses:361Used by:366
Symbol 363 GraphicUsed by:364
Symbol 364 MovieClipUses:363Used by:365
Symbol 365 MovieClipUses:364Used by:366
Symbol 366 MovieClipUses:350 352 354 355 357 360 362 365 SS2Used by:Timeline
Symbol 367 BitmapUsed by:368 483
Symbol 368 GraphicUses:367Used by:372
Symbol 369 GraphicUsed by:370
Symbol 370 MovieClipUses:369Used by:372
Symbol 371 GraphicUsed by:372
Symbol 372 MovieClipUses:368 370 371Used by:Timeline
Symbol 373 FontUsed by:374 479 612 803 805 812
Symbol 374 TextUses:373Used by:375
Symbol 375 MovieClipUses:374Used by:Timeline
Symbol 376 GraphicUsed by:378 383 800
Symbol 377 TextUses:312Used by:378 383
Symbol 378 MovieClipUses:316 376 377Used by:384
Symbol 379 GraphicUsed by:383
Symbol 380 FontUsed by:381
Symbol 381 TextUses:380Used by:382
Symbol 382 MovieClipUses:381Used by:383
Symbol 383 MovieClipUses:376 377 379 382 169Used by:384
Symbol 384 MovieClipUses:378 383Used by:Timeline
Symbol 385 GraphicUsed by:386
Symbol 386 ButtonUses:385Used by:387
Symbol 387 MovieClipUses:386Used by:435 578
Symbol 388 BitmapUsed by:389
Symbol 389 GraphicUses:388Used by:391
Symbol 390 ButtonUses:341Used by:391
Symbol 391 MovieClipUses:389 390Used by:435 578
Symbol 392 MovieClipUses:240 242 244 246 108 110Used by:394
Symbol 393 MovieClipUses:249 251 106 255 257 253 264Used by:394
Symbol 394 MovieClipUses:392 259 393Used by:405
Symbol 395 ButtonUses:101Used by:405
Symbol 396 GraphicUsed by:397
Symbol 397 MovieClipUses:396Used by:405
Symbol 398 MovieClipUses:106 249 251 255 257 253 264 108 240 110Used by:399
Symbol 399 MovieClipUses:271 272 398Used by:405
Symbol 400 MovieClipUses:105Used by:401
Symbol 401 MovieClipUses:249 108 400 251 255 257 253 264 284 261 285 286 287 288Used by:402
Symbol 402 MovieClipUses:278 283 401Used by:405
Symbol 403 MovieClipUses:249 251 106 255 257 253 264Used by:404
Symbol 404 MovieClipUses:294 295 403Used by:405
Symbol 405 MovieClip [person]Uses:394 395 75 104 397 399 402 404Used by:435 436
Symbol 406 GraphicUsed by:407
Symbol 407 ButtonUses:406Used by:408
Symbol 408 MovieClipUses:407Used by:435 578
Symbol 409 GraphicUsed by:410
Symbol 410 ButtonUses:409Used by:411
Symbol 411 MovieClipUses:410Used by:435 578
Symbol 412 GraphicUsed by:413
Symbol 413 ButtonUses:412Used by:414
Symbol 414 MovieClipUses:413Used by:435 578
Symbol 415 GraphicUsed by:416
Symbol 416 ButtonUses:415Used by:417
Symbol 417 MovieClipUses:416Used by:435 578
Symbol 418 GraphicUsed by:425 427
Symbol 419 GraphicUsed by:422 433
Symbol 420 BitmapUsed by:421
Symbol 421 GraphicUses:420Used by:422 432 433
Symbol 422 ButtonUses:419 421Used by:425
Symbol 423 ButtonUses:60Used by:425
Symbol 424 ButtonUses:52Used by:425
Symbol 425 MovieClipUses:418 422 423 424Used by:435 578
Symbol 426 ButtonUses:43Used by:427
Symbol 427 MovieClipUses:418 426Used by:435 578
Symbol 428 GraphicUsed by:432
Symbol 429 GraphicUsed by:432
Symbol 430 GraphicUsed by:432
Symbol 431 GraphicUsed by:432
Symbol 432 MovieClipUses:421 428 429 430 431Used by:433
Symbol 433 ButtonUses:419 432 421Used by:434
Symbol 434 MovieClip [tree1]Uses:433Used by:435 436
Symbol 435 MovieClipUses:316 302 387 299 238 177 170 168 160 158 155 150 146 142 138 391 405 118 116 408 411 414 417 84 37 82 72 425 427 434 66 58 50 42Used by:Timeline
Symbol 436 MovieClipUses:405 434Used by:Timeline
Symbol 437 FontUsed by:438
Symbol 438 EditableTextUses:437Used by:448
Symbol 439 FontUsed by:440 728 731 744 745 752 755 759 763 767 770 774 777 778 785
Symbol 440 EditableTextUses:439Used by:448
Symbol 441 ButtonUses:341Used by:448
Symbol 442 ButtonUses:341Used by:448
Symbol 443 ButtonUses:341Used by:448
Symbol 444 ButtonUses:341Used by:448
Symbol 445 ButtonUses:341Used by:448
Symbol 446 ButtonUses:341Used by:448
Symbol 447 ButtonUses:341Used by:448
Symbol 448 MovieClipUses:438 440 441 442 443 444 445 446 447Used by:Timeline
Symbol 449 TextUses:312Used by:465
Symbol 450 TextUses:312Used by:465
Symbol 451 BitmapUsed by:452
Symbol 452 GraphicUses:451Used by:465
Symbol 453 TextUses:312Used by:465
Symbol 454 GraphicUsed by:455
Symbol 455 MovieClipUses:454Used by:465
Symbol 456 TextUses:312Used by:465
Symbol 457 BitmapUsed by:458 461
Symbol 458 GraphicUses:457Used by:465
Symbol 459 TextUses:312Used by:465
Symbol 460 BitmapUsed by:461
Symbol 461 GraphicUses:460 457Used by:465
Symbol 462 TextUses:312Used by:465
Symbol 463 GraphicUsed by:464
Symbol 464 MovieClipUses:463Used by:465
Symbol 465 MovieClipUses:341 449 450 452 453 455 456 458 459 461 462 464 SS3Used by:Timeline
Symbol 466 BitmapUsed by:467
Symbol 467 GraphicUses:466Used by:468
Symbol 468 MovieClipUses:467Used by:482
Symbol 469 TextUses:312Used by:482
Symbol 470 TextUses:312Used by:482
Symbol 471 TextUses:312Used by:482
Symbol 472 BitmapUsed by:473
Symbol 473 GraphicUses:472Used by:482
Symbol 474 TextUses:312Used by:482
Symbol 475 BitmapUsed by:476
Symbol 476 GraphicUses:475Used by:482
Symbol 477 GraphicUsed by:478
Symbol 478 MovieClipUses:477Used by:482
Symbol 479 TextUses:373Used by:482
Symbol 480 ButtonUses:341Used by:482
Symbol 481 ButtonUses:341Used by:482
Symbol 482 MovieClipUses:468 469 470 471 341 473 474 476 478 479 480 481 SS4Used by:Timeline
Symbol 483 GraphicUses:367Used by:484
Symbol 484 MovieClipUses:304 483Used by:485
Symbol 485 MovieClipUses:484Used by:Timeline
Symbol 486 GraphicUses:306Used by:487
Symbol 487 MovieClipUses:486Used by:578
Symbol 488 BitmapUsed by:489
Symbol 489 GraphicUses:488Used by:521
Symbol 490 BitmapUsed by:491
Symbol 491 GraphicUses:490Used by:521
Symbol 492 BitmapUsed by:493
Symbol 493 GraphicUses:492Used by:521
Symbol 494 BitmapUsed by:495
Symbol 495 GraphicUses:494Used by:521
Symbol 496 GraphicUsed by:505
Symbol 497 GraphicUsed by:505
Symbol 498 GraphicUsed by:505
Symbol 499 GraphicUsed by:505
Symbol 500 GraphicUsed by:505
Symbol 501 GraphicUsed by:505
Symbol 502 GraphicUsed by:505
Symbol 503 GraphicUsed by:505
Symbol 504 GraphicUsed by:505
Symbol 505 MovieClipUses:496 497 498 499 500 501 502 503 504Used by:506
Symbol 506 MovieClipUses:505Used by:521
Symbol 507 GraphicUsed by:521
Symbol 508 GraphicUsed by:517
Symbol 509 GraphicUsed by:517
Symbol 510 GraphicUsed by:517
Symbol 511 GraphicUsed by:517
Symbol 512 GraphicUsed by:517
Symbol 513 GraphicUsed by:517
Symbol 514 GraphicUsed by:517
Symbol 515 GraphicUsed by:517
Symbol 516 GraphicUsed by:517
Symbol 517 MovieClipUses:508 509 510 511 512 513 514 515 516Used by:518
Symbol 518 MovieClipUses:517Used by:521
Symbol 519 BitmapUsed by:520
Symbol 520 GraphicUses:519Used by:521
Symbol 521 MovieClipUses:489 491 493 495 506 507 518 520Used by:522
Symbol 522 MovieClipUses:521Used by:553
Symbol 523 GraphicUsed by:553
Symbol 524 MovieClipUsed by:553
Symbol 525 GraphicUsed by:526
Symbol 526 ButtonUses:525Used by:553
Symbol 527 GraphicUsed by:553
Symbol 528 GraphicUsed by:531
Symbol 529 GraphicUsed by:531
Symbol 530 GraphicUsed by:531
Symbol 531 MovieClipUses:528 529 530Used by:553
Symbol 532 GraphicUsed by:534
Symbol 533 MovieClipUsed by:534 536 538 541 543 545 547 550 552
Symbol 534 MovieClipUses:532 533Used by:553
Symbol 535 GraphicUsed by:536
Symbol 536 MovieClipUses:535 533Used by:553
Symbol 537 GraphicUsed by:538
Symbol 538 MovieClipUses:537 533Used by:553
Symbol 539 MovieClipUsed by:553
Symbol 540 GraphicUsed by:541
Symbol 541 MovieClipUses:540 533Used by:553
Symbol 542 GraphicUsed by:543
Symbol 543 MovieClipUses:542 533Used by:553
Symbol 544 GraphicUsed by:545
Symbol 545 MovieClipUses:544 533Used by:553
Symbol 546 GraphicUsed by:547
Symbol 547 MovieClipUses:546 533Used by:553
Symbol 548 GraphicUsed by:553
Symbol 549 GraphicUsed by:550
Symbol 550 MovieClipUses:549 533Used by:553
Symbol 551 GraphicUsed by:552
Symbol 552 MovieClipUses:551 533Used by:553
Symbol 553 MovieClipUses:522 523 524 526 75 527 531 534 536 538 539 541 543 545 547 548 550 552Used by:578
Symbol 554 GraphicUsed by:555
Symbol 555 MovieClipUses:554Used by:578
Symbol 556 GraphicUsed by:558 578
Symbol 557 GraphicUsed by:578
Symbol 558 MovieClipUses:556Used by:578
Symbol 559 GraphicUsed by:564
Symbol 560 GraphicUsed by:564
Symbol 561 GraphicUsed by:564
Symbol 562 GraphicUsed by:564
Symbol 563 GraphicUsed by:564
Symbol 564 MovieClipUses:559 560 561 562 563Used by:567
Symbol 565 GraphicUsed by:566
Symbol 566 ButtonUses:565Used by:567
Symbol 567 MovieClipUses:564 566Used by:578
Symbol 568 GraphicUsed by:578
Symbol 569 ShapeTweeningUsed by:572
Symbol 570 ShapeTweeningUsed by:572
Symbol 571 GraphicUsed by:572
Symbol 572 MovieClipUses:569 570 571Used by:575
Symbol 573 GraphicUsed by:574
Symbol 574 MovieClipUses:573Used by:575
Symbol 575 MovieClipUses:572 574Used by:578
Symbol 576 GraphicUsed by:577
Symbol 577 MovieClipUses:576Used by:578
Symbol 578 MovieClipUses:487 391 425 553 408 411 414 387 555 556 557 558 567 427 417 568 575 577Used by:Timeline
Symbol 579 MovieClipUsed by:Timeline
Symbol 580 GraphicUsed by:582
Symbol 581 GraphicUsed by:582
Symbol 582 MovieClipUses:580 581Used by:596
Symbol 583 FontUsed by:584 586 591 594 722 784
Symbol 584 TextUses:583Used by:596
Symbol 585 GraphicUsed by:587
Symbol 586 TextUses:583Used by:587
Symbol 587 MovieClipUses:585 586 68 69Used by:596
Symbol 588 GraphicUsed by:596
Symbol 589 GraphicUsed by:596
Symbol 590 GraphicUsed by:592
Symbol 591 TextUses:583Used by:592
Symbol 592 MovieClipUses:590 591Used by:596
Symbol 593 GraphicUsed by:595
Symbol 594 TextUses:583Used by:595
Symbol 595 MovieClipUses:593 594Used by:596
Symbol 596 MovieClipUses:582 584 587 588 589 592 595Used by:Timeline
Symbol 597 GraphicUsed by:718
Symbol 598 FontUsed by:599 655 657 659 661 663 700 738 739 741
Symbol 599 TextUses:598Used by:600
Symbol 600 ButtonUses:599 341Used by:718
Symbol 601 FontUsed by:602 605
Symbol 602 EditableTextUses:601Used by:718
Symbol 603 FontUsed by:604
Symbol 604 EditableTextUses:603Used by:718
Symbol 605 EditableTextUses:601Used by:718
Symbol 606 FontUsed by:607
Symbol 607 EditableTextUses:606Used by:718
Symbol 608 GraphicUsed by:609
Symbol 609 MovieClipUses:608Used by:718
Symbol 610 FontUsed by:611
Symbol 611 TextUses:610Used by:613
Symbol 612 TextUses:373Used by:613
Symbol 613 MovieClipUses:341 611 612Used by:614
Symbol 614 MovieClipUses:613Used by:718
Symbol 615 GraphicUsed by:718
Symbol 616 GraphicUsed by:620 623 626 629 632 636 640 642 644 648 649 652 653 654 667 668 672 673 677 678 682 683 687 688 692 693 697 698 704 705 713
Symbol 617 GraphicUsed by:618 620 642
Symbol 618 MovieClipUses:617Used by:620 642
Symbol 619 GraphicUsed by:620 623 626 629 632 636 640 642 644 648 649 652 653 654 667 672 677 682 687 692 697 704 709 710 713
Symbol 620 ButtonUses:616 618 619 316 617Used by:646
Symbol 621 GraphicUsed by:622 623 644
Symbol 622 MovieClipUses:621Used by:623 644
Symbol 623 ButtonUses:616 622 619 316 621Used by:646
Symbol 624 GraphicUsed by:625 626
Symbol 625 MovieClipUses:624Used by:626
Symbol 626 ButtonUses:616 625 619 316 624Used by:646
Symbol 627 GraphicUsed by:628 629
Symbol 628 MovieClipUses:627Used by:629
Symbol 629 ButtonUses:616 628 619 316 627Used by:646
Symbol 630 GraphicUsed by:631 632 649
Symbol 631 MovieClipUses:630Used by:632 649
Symbol 632 ButtonUses:616 631 619 316 630Used by:633
Symbol 633 MovieClipUses:632Used by:646
Symbol 634 GraphicUsed by:635 636 653
Symbol 635 MovieClipUses:634Used by:636 653
Symbol 636 ButtonUses:616 635 619 316 634Used by:637
Symbol 637 MovieClipUses:636Used by:646
Symbol 638 GraphicUsed by:639 640 654
Symbol 639 MovieClipUses:638Used by:640 654
Symbol 640 ButtonUses:616 639 619 316 638Used by:641
Symbol 641 MovieClipUses:640Used by:646
Symbol 642 ButtonUses:616 618 619 316 617Used by:643
Symbol 643 MovieClipUses:642Used by:646
Symbol 644 ButtonUses:616 622 619 316 621Used by:645
Symbol 645 MovieClipUses:644Used by:646
Symbol 646 MovieClipUses:620 623 626 629 633 637 641 643 645Used by:718
Symbol 647 MovieClipUses:341Used by:648
Symbol 648 ButtonUses:616 647 619 316 341Used by:717
Symbol 649 ButtonUses:616 631 619 316 630Used by:717
Symbol 650 GraphicUsed by:651 652
Symbol 651 MovieClipUses:650Used by:652
Symbol 652 ButtonUses:616 651 619 316 650Used by:717
Symbol 653 ButtonUses:616 635 619 316 634Used by:717
Symbol 654 ButtonUses:616 639 619 316 638Used by:717
Symbol 655 TextUses:598Used by:656
Symbol 656 ButtonUses:655 341Used by:717
Symbol 657 TextUses:598Used by:658
Symbol 658 ButtonUses:657 341Used by:717
Symbol 659 TextUses:598Used by:660
Symbol 660 ButtonUses:659 341Used by:717
Symbol 661 TextUses:598Used by:662
Symbol 662 ButtonUses:661 341Used by:717
Symbol 663 TextUses:598Used by:664
Symbol 664 ButtonUses:663 341Used by:717
Symbol 665 GraphicUsed by:666 667
Symbol 666 MovieClipUses:665Used by:667 668
Symbol 667 ButtonUses:616 666 619 316 665Used by:669
Symbol 668 MovieClipUses:616 666Used by:669
Symbol 669 MovieClipUses:667 668Used by:717
Symbol 670 GraphicUsed by:671 672
Symbol 671 MovieClipUses:670Used by:672 673
Symbol 672 ButtonUses:616 671 619 316 670Used by:674
Symbol 673 MovieClipUses:616 671Used by:674
Symbol 674 MovieClipUses:672 673Used by:717
Symbol 675 GraphicUsed by:676 677
Symbol 676 MovieClipUses:675Used by:677 678
Symbol 677 ButtonUses:616 676 619 316 675Used by:679
Symbol 678 MovieClipUses:616 676Used by:679
Symbol 679 MovieClipUses:677 678Used by:717
Symbol 680 GraphicUsed by:681 682
Symbol 681 MovieClipUses:680Used by:682 683
Symbol 682 ButtonUses:616 681 619 316 680Used by:684
Symbol 683 MovieClipUses:616 681Used by:684
Symbol 684 MovieClipUses:682 683Used by:717
Symbol 685 GraphicUsed by:686 687
Symbol 686 MovieClipUses:685Used by:687 688
Symbol 687 ButtonUses:616 686 619 316 685Used by:689
Symbol 688 MovieClipUses:616 686Used by:689
Symbol 689 MovieClipUses:687 688Used by:717
Symbol 690 GraphicUsed by:691 692
Symbol 691 MovieClipUses:690Used by:692 693
Symbol 692 ButtonUses:616 691 619 316 690Used by:694
Symbol 693 MovieClipUses:616 691Used by:694
Symbol 694 MovieClipUses:692 693Used by:717
Symbol 695 GraphicUsed by:696 697
Symbol 696 MovieClipUses:695Used by:697 698
Symbol 697 ButtonUses:616 696 619 316 695Used by:699
Symbol 698 MovieClipUses:616 696Used by:699
Symbol 699 MovieClipUses:697 698Used by:717
Symbol 700 TextUses:598Used by:701
Symbol 701 ButtonUses:700 341Used by:717
Symbol 702 GraphicUsed by:703 704
Symbol 703 MovieClipUses:702Used by:704 705
Symbol 704 ButtonUses:616 703 619 316 702Used by:706
Symbol 705 MovieClipUses:616 703Used by:706
Symbol 706 MovieClipUses:704 705Used by:717
Symbol 707 GraphicUsed by:709 710
Symbol 708 GraphicUsed by:709 710
Symbol 709 ButtonUses:707 708 619 316Used by:711
Symbol 710 MovieClipUses:707 708 619 316Used by:711
Symbol 711 MovieClipUses:709 710Used by:717
Symbol 712 GraphicUsed by:713
Symbol 713 ButtonUses:616 712 619 316Used by:716
Symbol 714 GraphicUsed by:715
Symbol 715 MovieClipUses:714Used by:716
Symbol 716 MovieClipUses:713 715Used by:717
Symbol 717 MovieClipUses:648 649 652 653 654 656 658 660 662 664 669 674 679 684 689 694 699 701 706 711 716Used by:718
Symbol 718 MovieClipUses:597 600 602 604 605 607 609 614 615 646 717Used by:Timeline
Symbol 719 ButtonUses:36Used by:720
Symbol 720 MovieClipUses:719Used by:Timeline
Symbol 721 GraphicUsed by:791
Symbol 722 TextUses:583Used by:791
Symbol 723 FontUsed by:724
Symbol 724 TextUses:723Used by:791
Symbol 725 ButtonUses:341Used by:791
Symbol 726 ButtonUses:341Used by:791
Symbol 727 GraphicUsed by:730
Symbol 728 TextUses:439Used by:730
Symbol 729 GraphicUsed by:730 786 787 788 789
Symbol 730 ButtonUses:727 728 729Used by:791
Symbol 731 TextUses:439Used by:758
Symbol 732 GraphicUsed by:758
Symbol 733 FontUsed by:734 736
Symbol 734 TextUses:733Used by:758
Symbol 735 GraphicUsed by:758
Symbol 736 TextUses:733Used by:758
Symbol 737 GraphicUsed by:758
Symbol 738 TextUses:598Used by:758
Symbol 739 TextUses:598Used by:758
Symbol 740 GraphicUsed by:758
Symbol 741 TextUses:598Used by:758
Symbol 742 GraphicUsed by:743 748
Symbol 743 ButtonUses:742Used by:758 773 783 790
Symbol 744 EditableTextUses:439Used by:758
Symbol 745 TextUses:439Used by:758 790
Symbol 746 BitmapUsed by:747
Symbol 747 GraphicUses:746Used by:758 790
Symbol 748 ButtonUses:742Used by:758 773 783 790
Symbol 749 BitmapUsed by:751
Symbol 750 BitmapUsed by:751
Symbol 751 GraphicUses:749 750Used by:758 790
Symbol 752 TextUses:439Used by:758 790
Symbol 753 BitmapUsed by:754
Symbol 754 GraphicUses:753Used by:758 790
Symbol 755 TextUses:439Used by:758 790
Symbol 756 BitmapUsed by:757
Symbol 757 GraphicUses:756Used by:758 790
Symbol 758 MovieClipUses:731 732 734 735 736 737 738 739 740 741 743 744 745 747 748 751 752 754 755 757Used by:791
Symbol 759 TextUses:439Used by:773
Symbol 760 BitmapUsed by:762
Symbol 761 BitmapUsed by:762
Symbol 762 GraphicUses:760 761Used by:773
Symbol 763 EditableTextUses:439Used by:773
Symbol 764 BitmapUsed by:766
Symbol 765 BitmapUsed by:766
Symbol 766 GraphicUses:765 764Used by:773
Symbol 767 TextUses:439Used by:773
Symbol 768 BitmapUsed by:769
Symbol 769 GraphicUses:768Used by:773
Symbol 770 TextUses:439Used by:773
Symbol 771 BitmapUsed by:772
Symbol 772 GraphicUses:771Used by:773
Symbol 773 MovieClipUses:759 762 743 763 766 767 748 769 770 772Used by:791
Symbol 774 TextUses:439Used by:783
Symbol 775 BitmapUsed by:776
Symbol 776 GraphicUses:775Used by:783
Symbol 777 EditableTextUses:439Used by:783
Symbol 778 TextUses:439Used by:783
Symbol 779 BitmapUsed by:780
Symbol 780 GraphicUses:779Used by:783
Symbol 781 BitmapUsed by:782
Symbol 782 GraphicUses:781Used by:783
Symbol 783 MovieClipUses:774 743 776 777 778 780 748 782Used by:791
Symbol 784 TextUses:583Used by:791
Symbol 785 TextUses:439Used by:790
Symbol 786 ButtonUses:729Used by:790
Symbol 787 ButtonUses:729Used by:790
Symbol 788 ButtonUses:729Used by:790
Symbol 789 ButtonUses:729Used by:790
Symbol 790 MovieClipUses:785 786 787 788 789 745 747 743 748 751 752 754 755 757Used by:791
Symbol 791 MovieClipUses:721 722 724 725 726 730 758 773 783 784 790Used by:Timeline
Symbol 792 MovieClipUses:341Used by:Timeline
Symbol 793 MovieClipUsed by:796
Symbol 794 FontUsed by:795
Symbol 795 EditableTextUses:794Used by:796
Symbol 796 MovieClipUses:793 795Used by:Timeline
Symbol 797 FontUsed by:798
Symbol 798 EditableTextUses:797Used by:Timeline
Symbol 799 GraphicUsed by:Timeline
Symbol 800 MovieClipUses:376Used by:Timeline
Symbol 801 FontUsed by:802
Symbol 802 EditableTextUses:801Used by:804
Symbol 803 TextUses:373Used by:804
Symbol 804 MovieClipUses:802 803Used by:Timeline
Symbol 805 EditableTextUses:373Used by:806
Symbol 806 MovieClipUses:346 805Used by:Timeline
Symbol 807 FontUsed by:808 809
Symbol 808 TextUses:807Used by:811
Symbol 809 TextUses:807Used by:811
Symbol 810 MovieClipUses:316Used by:811
Symbol 811 MovieClipUses:808 809 810Used by:Timeline
Symbol 812 TextUses:373Used by:Timeline
Symbol 813 ButtonUses:341Used by:Timeline
Symbol 814 ButtonUses:341Used by:Timeline
Streaming Sound 1Used by:Symbol 348 MovieClip
Streaming Sound 2Used by:Symbol 366 MovieClip
Streaming Sound 3Used by:Symbol 465 MovieClip
Streaming Sound 4Used by:Symbol 482 MovieClip

Instance Names

"bg"Frame 10Symbol 485 MovieClip
"game"Frame 10Symbol 578 MovieClip
"sel_box"Frame 10Symbol 579 MovieClip
"cursor"Frame 10Symbol 596 MovieClip
"toolbar"Frame 10Symbol 718 MovieClip
"stopper"Frame 10Symbol 720 MovieClip
"help"Frame 10Symbol 791 MovieClip
"cinema_gameover"Frame 10Symbol 792 MovieClip
"cinema_win"Frame 10Symbol 796 MovieClip
"stats"Frame 11Symbol 804 MovieClip
"bar"Symbol 42 MovieClip [wall] Frame 1Symbol 37 MovieClip
"b"Symbol 50 MovieClip [tree4] Frame 1Symbol 49 Button
"b"Symbol 58 MovieClip [tree3] Frame 1Symbol 57 Button
"b"Symbol 66 MovieClip [tree2] Frame 1Symbol 65 Button
"b"Symbol 72 MovieClip [treasure] Frame 1Symbol 71 Button
"b"Symbol 82 MovieClip [tower] Frame 1Symbol 74 MovieClip
"bar"Symbol 82 MovieClip [tower] Frame 1Symbol 75 MovieClip
"b"Symbol 82 MovieClip [tower] Frame 1Symbol 77 Button
"p"Symbol 116 MovieClip [priest] Frame 1Symbol 100 MovieClip
"bar"Symbol 116 MovieClip [priest] Frame 1Symbol 75 MovieClip
"buff"Symbol 116 MovieClip [priest] Frame 1Symbol 104 MovieClip
"p"Symbol 116 MovieClip [priest] Frame 2Symbol 112 MovieClip
"p"Symbol 116 MovieClip [priest] Frame 3Symbol 115 MovieClip
"p"Symbol 138 MovieClip [geisha] Frame 1Symbol 133 MovieClip
"bar"Symbol 138 MovieClip [geisha] Frame 1Symbol 75 MovieClip
"buff"Symbol 138 MovieClip [geisha] Frame 1Symbol 104 MovieClip
"p"Symbol 138 MovieClip [geisha] Frame 2Symbol 135 MovieClip
"p"Symbol 138 MovieClip [geisha] Frame 3Symbol 137 MovieClip
"p"Symbol 155 MovieClip [fx_leaf1] Frame 1Symbol 154 MovieClip
"bar"Symbol 177 MovieClip [enemy_ram] Frame 1Symbol 75 MovieClip
"bar"Symbol 238 MovieClip [enemy_heavy] Frame 1Symbol 75 MovieClip
"b"Symbol 299 MovieClip [enemy] Frame 1Symbol 269 MovieClip
"bar"Symbol 299 MovieClip [enemy] Frame 1Symbol 75 MovieClip
"b"Symbol 299 MovieClip [enemy] Frame 2Symbol 275 MovieClip
"b"Symbol 299 MovieClip [enemy] Frame 3Symbol 291 MovieClip
"b"Symbol 299 MovieClip [enemy] Frame 4Symbol 298 MovieClip
"ng_ad"Symbol 346 MovieClip Frame 1Symbol 345 MovieClip
"b"Symbol 387 MovieClip Frame 1Symbol 386 Button
"b"Symbol 391 MovieClip Frame 1Symbol 390 Button
"p"Symbol 405 MovieClip [person] Frame 1Symbol 394 MovieClip
"bar"Symbol 405 MovieClip [person] Frame 1Symbol 75 MovieClip
"buff"Symbol 405 MovieClip [person] Frame 1Symbol 104 MovieClip
"heal"Symbol 405 MovieClip [person] Frame 1Symbol 397 MovieClip
"p"Symbol 405 MovieClip [person] Frame 2Symbol 399 MovieClip
"p"Symbol 405 MovieClip [person] Frame 3Symbol 402 MovieClip
"p"Symbol 405 MovieClip [person] Frame 4Symbol 404 MovieClip
"b"Symbol 408 MovieClip Frame 1Symbol 407 Button
"b"Symbol 411 MovieClip Frame 1Symbol 410 Button
"b"Symbol 414 MovieClip Frame 1Symbol 413 Button
"b"Symbol 417 MovieClip Frame 1Symbol 416 Button
"b"Symbol 425 MovieClip Frame 1Symbol 422 Button
"b"Symbol 425 MovieClip Frame 2Symbol 423 Button
"b"Symbol 425 MovieClip Frame 3Symbol 424 Button
"b"Symbol 427 MovieClip Frame 1Symbol 426 Button
"b"Symbol 434 MovieClip [tree1] Frame 1Symbol 433 Button
"bg"Symbol 485 MovieClip Frame 1Symbol 484 MovieClip
"fort"Symbol 553 MovieClip Frame 1Symbol 522 MovieClip
"ol"Symbol 553 MovieClip Frame 1Symbol 524 MovieClip
"b"Symbol 553 MovieClip Frame 1Symbol 526 Button
"bar"Symbol 553 MovieClip Frame 1Symbol 75 MovieClip
"smoke"Symbol 553 MovieClip Frame 2Symbol 539 MovieClip
"d2"Symbol 553 MovieClip Frame 2Symbol 550 MovieClip
"d1"Symbol 553 MovieClip Frame 2Symbol 552 MovieClip
"hole"Symbol 567 MovieClip Frame 1Symbol 564 MovieClip
"b"Symbol 567 MovieClip Frame 1Symbol 566 Button
"fort"Symbol 578 MovieClip Frame 1Symbol 553 MovieClip
"c"Symbol 596 MovieClip Frame 2Symbol 582 MovieClip
"b"Symbol 614 MovieClip Frame 1Symbol 613 MovieClip
"sel_peasants"Symbol 646 MovieClip Frame 1Symbol 633 MovieClip
"sel_geishas"Symbol 646 MovieClip Frame 1Symbol 637 MovieClip
"sel_priests"Symbol 646 MovieClip Frame 1Symbol 641 MovieClip
"sel_archers"Symbol 646 MovieClip Frame 1Symbol 643 MovieClip
"sel_troops"Symbol 646 MovieClip Frame 1Symbol 645 MovieClip
"b"Symbol 720 MovieClip Frame 1Symbol 719 Button
"img"Symbol 796 MovieClip Frame 2Symbol 793 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "tree_pick2"
ExportAssets (56)Timeline Frame 1Symbol 2 as "tree_pick1"
ExportAssets (56)Timeline Frame 1Symbol 3 as "tree_break"
ExportAssets (56)Timeline Frame 1Symbol 4 as "sword3"
ExportAssets (56)Timeline Frame 1Symbol 5 as "sword2"
ExportAssets (56)Timeline Frame 1Symbol 6 as "sword1"
ExportAssets (56)Timeline Frame 1Symbol 7 as "land2"
ExportAssets (56)Timeline Frame 1Symbol 8 as "hammer3"
ExportAssets (56)Timeline Frame 1Symbol 9 as "hammer2"
ExportAssets (56)Timeline Frame 1Symbol 10 as "hammer1"
ExportAssets (56)Timeline Frame 1Symbol 11 as "bow2"
ExportAssets (56)Timeline Frame 1Symbol 12 as "bow1"
ExportAssets (56)Timeline Frame 1Symbol 13 as "boom"
ExportAssets (56)Timeline Frame 1Symbol 14 as "birds"
ExportAssets (56)Timeline Frame 1Symbol 15 as "16"
ExportAssets (56)Timeline Frame 1Symbol 16 as "15"
ExportAssets (56)Timeline Frame 1Symbol 17 as "14"
ExportAssets (56)Timeline Frame 1Symbol 18 as "13"
ExportAssets (56)Timeline Frame 1Symbol 19 as "12"
ExportAssets (56)Timeline Frame 1Symbol 20 as "11"
ExportAssets (56)Timeline Frame 1Symbol 21 as "10"
ExportAssets (56)Timeline Frame 1Symbol 22 as "9"
ExportAssets (56)Timeline Frame 1Symbol 23 as "8"
ExportAssets (56)Timeline Frame 1Symbol 24 as "7"
ExportAssets (56)Timeline Frame 1Symbol 25 as "6"
ExportAssets (56)Timeline Frame 1Symbol 26 as "5"
ExportAssets (56)Timeline Frame 1Symbol 27 as "4"
ExportAssets (56)Timeline Frame 1Symbol 28 as "3"
ExportAssets (56)Timeline Frame 1Symbol 29 as "2"
ExportAssets (56)Timeline Frame 1Symbol 30 as "1"
ExportAssets (56)Timeline Frame 1Symbol 33 as "bkg"
ExportAssets (56)Timeline Frame 1Symbol 42 as "wall"
ExportAssets (56)Timeline Frame 1Symbol 50 as "tree4"
ExportAssets (56)Timeline Frame 1Symbol 58 as "tree3"
ExportAssets (56)Timeline Frame 1Symbol 66 as "tree2"
ExportAssets (56)Timeline Frame 1Symbol 72 as "treasure"
ExportAssets (56)Timeline Frame 1Symbol 82 as "tower"
ExportAssets (56)Timeline Frame 1Symbol 84 as "smoke_particle"
ExportAssets (56)Timeline Frame 1Symbol 116 as "priest"
ExportAssets (56)Timeline Frame 1Symbol 118 as "person_outline"
ExportAssets (56)Timeline Frame 1Symbol 138 as "geisha"
ExportAssets (56)Timeline Frame 1Symbol 142 as "fx_woodchip"
ExportAssets (56)Timeline Frame 1Symbol 146 as "fx_rockchip2"
ExportAssets (56)Timeline Frame 1Symbol 150 as "fx_rockchip"
ExportAssets (56)Timeline Frame 1Symbol 155 as "fx_leaf1"
ExportAssets (56)Timeline Frame 1Symbol 158 as "fx_dust3"
ExportAssets (56)Timeline Frame 1Symbol 160 as "fx_dust2"
ExportAssets (56)Timeline Frame 1Symbol 168 as "fx_dust1"
ExportAssets (56)Timeline Frame 1Symbol 170 as "fx_blooddrop"
ExportAssets (56)Timeline Frame 1Symbol 177 as "enemy_ram"
ExportAssets (56)Timeline Frame 1Symbol 238 as "enemy_heavy"
ExportAssets (56)Timeline Frame 1Symbol 299 as "enemy"
ExportAssets (56)Timeline Frame 1Symbol 302 as "arrow"
ExportAssets (56)Timeline Frame 1Symbol 815 as "__Packages.NewgroundsAPI"
ExportAssets (56)Timeline Frame 2Symbol 319 as "rock_break"
ExportAssets (56)Timeline Frame 2Symbol 320 as "rock_hit"
ExportAssets (56)Timeline Frame 2Symbol 321 as "can_break"
ExportAssets (56)Timeline Frame 2Symbol 322 as "cash"
ExportAssets (56)Timeline Frame 2Symbol 323 as "damage1"
ExportAssets (56)Timeline Frame 2Symbol 324 as "damage2"
ExportAssets (56)Timeline Frame 2Symbol 325 as "dig1"
ExportAssets (56)Timeline Frame 2Symbol 326 as "dig2"
ExportAssets (56)Timeline Frame 2Symbol 327 as "land1"
ExportAssets (56)Timeline Frame 2Symbol 328 as "music_title"
ExportAssets (56)Timeline Frame 2Symbol 329 as "music1"
ExportAssets (56)Timeline Frame 2Symbol 330 as "music2"
ExportAssets (56)Timeline Frame 6Symbol 405 as "person"
ExportAssets (56)Timeline Frame 6Symbol 434 as "tree1"

Labels

"loader"Frame 1
"title"Frame 6
"story"Frame 8
"win"Frame 9
"game"Frame 10
"gameover"Frame 14
"die"Symbol 42 MovieClip [wall] Frame 2
"die"Symbol 50 MovieClip [tree4] Frame 3
"die"Symbol 58 MovieClip [tree3] Frame 3
"die"Symbol 66 MovieClip [tree2] Frame 3
"die"Symbol 72 MovieClip [treasure] Frame 2
"die"Symbol 82 MovieClip [tower] Frame 2
"stand"Symbol 116 MovieClip [priest] Frame 1
"walk"Symbol 116 MovieClip [priest] Frame 2
"die"Symbol 116 MovieClip [priest] Frame 3
"stand"Symbol 138 MovieClip [geisha] Frame 1
"walk"Symbol 138 MovieClip [geisha] Frame 2
"die"Symbol 138 MovieClip [geisha] Frame 3
"stand"Symbol 177 MovieClip [enemy_ram] Frame 1
"walk"Symbol 177 MovieClip [enemy_ram] Frame 2
"attack"Symbol 177 MovieClip [enemy_ram] Frame 3
"die"Symbol 177 MovieClip [enemy_ram] Frame 4
"stand"Symbol 238 MovieClip [enemy_heavy] Frame 1
"walk"Symbol 238 MovieClip [enemy_heavy] Frame 2
"attack"Symbol 238 MovieClip [enemy_heavy] Frame 3
"die"Symbol 238 MovieClip [enemy_heavy] Frame 4
"stand"Symbol 299 MovieClip [enemy] Frame 1
"walk"Symbol 299 MovieClip [enemy] Frame 2
"attack"Symbol 299 MovieClip [enemy] Frame 3
"die"Symbol 299 MovieClip [enemy] Frame 4
"hit"Symbol 302 MovieClip [arrow] Frame 2
"die"Symbol 387 MovieClip Frame 2
"stand"Symbol 405 MovieClip [person] Frame 1
"walk"Symbol 405 MovieClip [person] Frame 2
"attack"Symbol 405 MovieClip [person] Frame 3
"die"Symbol 405 MovieClip [person] Frame 4
"die"Symbol 408 MovieClip Frame 2
"die"Symbol 411 MovieClip Frame 2
"die"Symbol 414 MovieClip Frame 2
"die"Symbol 417 MovieClip Frame 2
"die"Symbol 434 MovieClip [tree1] Frame 3
"fort"Symbol 718 MovieClip Frame 3

Dynamic Text Variables

_root.gold_displaySymbol 602 EditableText""
_root.pop_displaySymbol 604 EditableText""
_root.enemy_forces_displaySymbol 605 EditableText""
_root.infoSymbol 607 EditableText""
pageSymbol 744 EditableText"<p align="center"><font face="Arial" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>1</b></font></p>"
pageSymbol 763 EditableText"<p align="center"><font face="Arial" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>1</b></font></p>"
pageSymbol 777 EditableText"<p align="center"><font face="Arial" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>1</b></font></p>"
debug_txtSymbol 798 EditableText""
txtSymbol 802 EditableText"<p align="center"></p>"
txtSymbol 805 EditableText""




http://swfchan.com/10/47279/info.shtml
Created: 2/5 -2019 04:43:04 Last modified: 2/5 -2019 04:43:04 Server time: 21/05 -2024 03:13:53