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

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

W & B deadly strategies.swf

This is the info page for
Flash #46657

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


ActionScript [AS1/AS2]
Combined Code
movieClip 5 BoundingBox { } movieClip 7 BrdrShdw { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'shadowColor'); } } movieClip 9 BrdrFace { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'buttonColor'); } } movieClip 10 SimpleButtonDown { } movieClip 12 BrdrBlk { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'borderColor'); } } movieClip 14 BrdrHilght { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'highlightColor'); } } movieClip 15 SimpleButtonIn { } movieClip 16 SimpleButtonUp { } movieClip 17 Defaults { #initclip Object.registerClass('Defaults', mx.skins.halo.Defaults); #endinitclip } movieClip 18 UIObjectExtensions { #initclip Object.registerClass('UIObjectExtensions', mx.core.ext.UIObjectExtensions); #endinitclip } movieClip 19 UIObject { #initclip Object.registerClass('UIObject', mx.core.UIObject); #endinitclip frame 1 { stop(); } } button 22 { on (keyPress '<Tab>') { this.tabHandler(); } } movieClip 23 { #initclip Object.registerClass('FocusManager', mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--); } #endinitclip frame 1 { } } movieClip 24 FocusRect { #initclip Object.registerClass('FocusRect', mx.skins.halo.FocusRect); #endinitclip } movieClip 25 FocusManager { #initclip Object.registerClass('FocusManager', mx.managers.FocusManager); #endinitclip frame 1 { stop(); } } movieClip 26 UIComponentExtensions { #initclip Object.registerClass('UIComponentExtensions', mx.core.ext.UIComponentExtensions); #endinitclip } movieClip 27 UIComponent { #initclip Object.registerClass('UIComponent', mx.core.UIComponent); #endinitclip frame 1 { stop(); } } movieClip 28 SimpleButton { #initclip Object.registerClass('SimpleButton', mx.controls.SimpleButton); #endinitclip frame 1 { stop(); } } movieClip 31 Border { #initclip Object.registerClass('Border', mx.skins.Border); #endinitclip frame 1 { stop(); } } movieClip 32 RectBorder { #initclip mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder)); Object.registerClass('RectBorder', mx.skins.halo.RectBorder); #endinitclip frame 1 { stop(); } } movieClip 33 TextInput { #initclip Object.registerClass('TextInput', mx.controls.TextInput); #endinitclip frame 1 { stop(); } } movieClip 38 StepDownArrowDisabled { } movieClip 40 StepThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 41 StepDownArrowDown { } movieClip 42 StepDownArrowOver { } movieClip 43 StepDownArrowUp { } movieClip 45 StepUpArrowDisabled { } movieClip 46 StepUpArrowDown { } movieClip 47 StepUpArrowOver { } movieClip 48 StepUpArrowUp { } movieClip 50 StepTrack { } movieClip 51 NumericStepperAssets { } movieClip 52 NumericStepper { #initclip Object.registerClass('NumericStepper', mx.controls.NumericStepper); #endinitclip frame 1 { stop(); } instance of movieClip 28 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 33 TextInput { onClipEvent (initialize) { editable = true; password = false; text = ''; maxChars = null; restrict = 'null'; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 77 ComboBase { #initclip mx.controls.listclasses.DataSelector.Initialize((Object(mx.controls.ComboBase)).prototype); Object.registerClass('ComboBase', mx.controls.ComboBase); #endinitclip frame 1 { stop(); } instance of movieClip 28 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 33 TextInput { onClipEvent (initialize) { editable = true; password = false; text = ''; maxChars = null; restrict = 'null'; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 78 DataProvider { #initclip Object.registerClass('DataProvider', mx.controls.listclasses.DataProvider); #endinitclip frame 1 { stop(); } } movieClip 79 DataSelector { #initclip Object.registerClass('DataSelector', mx.controls.listclasses.DataSelector); #endinitclip frame 1 { stop(); } } movieClip 80 SelectableRow { #initclip Object.registerClass('SelectableRow', mx.controls.listclasses.SelectableRow); #endinitclip frame 1 { stop(); } } movieClip 81 ButtonSkin { #initclip Object.registerClass('ButtonSkin', mx.skins.halo.ButtonSkin); #endinitclip } movieClip 82 Button { #initclip Object.registerClass('Button', mx.controls.Button); #endinitclip frame 1 { stop(); } instance of movieClip 28 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 83 CustomBorder { #initclip Object.registerClass('CustomBorder', mx.skins.CustomBorder); mx.skins.SkinElement.registerElement('CustomBorder', mx.skins.CustomBorder); #endinitclip frame 1 { } } movieClip 85 ScrollTrack { } movieClip 91 ScrollDownArrowDisabled { } movieClip 93 ScrollThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 95 ScrollThemeColor2 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 96 ScrollDownArrowDown { } movieClip 97 ScrollDownArrowOver { } movieClip 98 ScrollDownArrowUp { } movieClip 104 ScrollThumbBottomDisabled { } movieClip 106 ThumbThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 108 ThumbThemeColor3 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 109 ScrollThumbBottomDown { } movieClip 110 ScrollThumbBottomOver { } movieClip 111 ScrollThumbBottomUp { } movieClip 113 ScrollThumbGripDisabled { } movieClip 115 ThumbThemeColor2 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 116 ScrollThumbGripDown { } movieClip 117 ScrollThumbGripOver { } movieClip 118 ScrollThumbGripUp { } movieClip 120 ScrollThumbMiddleDisabled { } movieClip 121 ScrollThumbMiddleDown { } movieClip 122 { } movieClip 124 { } movieClip 125 ScrollThumbMiddleOver { } movieClip 126 ScrollThumbMiddleUp { } movieClip 127 ScrollThumbTopDisabled { } movieClip 128 ScrollThumbTopDown { } movieClip 129 ScrollThumbTopOver { } movieClip 130 ScrollThumbTopUp { } movieClip 131 ScrollTrackDisabled { } movieClip 132 ScrollUpArrowDisabled { } movieClip 133 ScrollUpArrowDown { } movieClip 134 ScrollUpArrowOver { } movieClip 135 ScrollUpArrowUp { } movieClip 136 BtnDownArrow { #initclip Object.registerClass('BtnDownArrow', mx.controls.SimpleButton); #endinitclip } movieClip 137 BtnUpArrow { #initclip Object.registerClass('BtnUpArrow', mx.controls.SimpleButton); #endinitclip } movieClip 138 ScrollBarAssets { } movieClip 139 HScrollBar { #initclip Object.registerClass('HScrollBar', mx.controls.HScrollBar); #endinitclip frame 1 { stop(); } instance of movieClip 82 Button { onClipEvent (initialize) { icon = ''; label = 'Button'; labelPlacement = 'right'; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 28 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 140 VScrollBar { #initclip Object.registerClass('VScrollBar', mx.controls.VScrollBar); #endinitclip frame 1 { stop(); } instance of movieClip 82 Button { onClipEvent (initialize) { icon = ''; label = 'Button'; labelPlacement = 'right'; selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 28 SimpleButton { onClipEvent (initialize) { selected = false; toggle = false; enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 141 View { #initclip Object.registerClass('View', mx.core.View); #endinitclip frame 1 { stop(); } } movieClip 142 ScrollView { #initclip Object.registerClass('ScrollView', mx.core.ScrollView); #endinitclip frame 1 { stop(); } instance of movieClip 139 HScrollBar { onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; } } instance of movieClip 140 VScrollBar { onClipEvent (initialize) { enabled = true; visible = true; minHeight = 0; minWidth = 0; } } } movieClip 143 ScrollSelectList { #initclip Object.registerClass('ScrollSelectList', mx.controls.listclasses.ScrollSelectList); #endinitclip frame 1 { stop(); } } movieClip 144 List { #initclip Object.registerClass('List', mx.controls.List); #endinitclip frame 1 { stop(); } } movieClip 147 { } movieClip 149 ComboDownArrowUp { } movieClip 150 ComboDownArrowDisabled { #initclip Object.registerClass('ComboDownArrowDisabled', mx.controls.SimpleButton); #endinitclip } movieClip 152 ComboThemeColor1 { frame 1 { mx.skins.ColoredSkinElement.setColorStyle(this, 'themeColor'); } } movieClip 153 ComboDownArrowDown { } movieClip 154 ComboDownArrowOver { } movieClip 155 ComboAssets { #initclip mx.controls.ComboBox.prototype.downArrowUpName = 'ComboDownArrowUp'; mx.controls.ComboBox.prototype.downArrowDownName = 'ComboDownArrowDown'; mx.controls.ComboBox.prototype.downArrowOverName = 'ComboDownArrowOver'; mx.controls.ComboBox.prototype.downArrowDisabledName = 'ComboDownArrowDisabled'; mx.controls.ComboBox.prototype.wrapDownArrowButton = false; mx.controls.ComboBox.prototype.dropDownBorderStyle = 'solid'; mx.controls.ComboBox.prototype.adjustFocusRect = function () { var v2 = this.getStyle('themeColor'); if (v2 == undefined) { v2 = 8453965; } var v3 = this._parent.focus_mc; v3.setSize(this.width + 4, this.height + 4, {'bl': 0, 'tl': 0, 'tr': 5, 'br': 5}, 100, v2); v3.move(this.x - 2, this.y - 2); }; #endinitclip frame 1 { } } movieClip 156 ComboBox { #initclip Object.registerClass('ComboBox', mx.controls.ComboBox); #endinitclip frame 1 { stop(); } instance of movieClip 144 List { onClipEvent (initialize) { multipleSelection = false; rowHeight = 20; } } } frame 1 { Stage.showMenu = false; } movieClip 176 { } instance of movieClip 176 { onClipEvent (enterFrame) { _xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; } } // unknown tag 88 length 99 button 186 { on (release) { getURL('http://armorgames.com', '_blank'); } } movieClip 190 { frame 6 { stop(); } } // unknown tag 88 length 66 button 195 { on (release) { getURL('http://tamugaia.com', '_blank'); } } movieClip 220 { } movieClip 222 { } movieClip 224 { } movieClip 225 { } instance of movieClip 225 { onClipEvent (release) { getURL('http://aarqee.com', '_blank'); } } movieClip 1 __Packages.mx.core.UIObject { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.UIObject) { var v1 = function () { super(); this.constructObject(); }; mx.core.UIObject = v1; var v2 = new MovieClip(); mx.core.UIObject.prototype = v2; v2.__get__width = function () { return this._width; }; v2.__get__height = function () { return this._height; }; v2.__get__left = function () { return this._x; }; v2.__get__x = function () { return this._x; }; v2.__get__top = function () { return this._y; }; v2.__get__y = function () { return this._y; }; v2.__get__right = function () { return this._parent.width - (this._x + this.__get__width()); }; v2.__get__bottom = function () { return this._parent.height - (this._y + this.__get__height()); }; v2.getMinHeight = function (Void) { return this._minHeight; }; v2.setMinHeight = function (h) { this._minHeight = h; }; v2.__get__minHeight = function () { return this.getMinHeight(); }; v2.__set__minHeight = function (h) { this.setMinHeight(h); return this.__get__minHeight(); }; v2.getMinWidth = function (Void) { return this._minWidth; }; v2.setMinWidth = function (w) { this._minWidth = w; }; v2.__get__minWidth = function () { return this.getMinWidth(); }; v2.__set__minWidth = function (w) { this.setMinWidth(w); return this.__get__minWidth(); }; v2.setVisible = function (x, noEvent) { if (x != this._visible) { this._visible = x; if (noEvent != true) { this.dispatchEvent({'type': x ? 'reveal' : 'hide'}); } } }; v2.__get__visible = function () { return this._visible; }; v2.__set__visible = function (x) { this.setVisible(x, false); return this.__get__visible(); }; v2.__get__scaleX = function () { return this._xscale; }; v2.__set__scaleX = function (x) { this._xscale = x; return this.__get__scaleX(); }; v2.__get__scaleY = function () { return this._yscale; }; v2.__set__scaleY = function (y) { this._yscale = y; return this.__get__scaleY(); }; v2.doLater = function (obj, fn) { if (this.methodTable == undefined) { this.methodTable = new Array(); } this.methodTable.push({'obj': obj, 'fn': fn}); this.onEnterFrame = this.doLaterDispatcher; }; v2.doLaterDispatcher = function (Void) { delete this.onEnterFrame; if (this.invalidateFlag) { this.redraw(); } var v3 = this.methodTable; this.methodTable = new Array(); if (v3.length > 0) { var v2; v2 = v3.shift(); while (v2 != undefined) { v2.obj[v2.fn](); } } }; v2.cancelAllDoLaters = function (Void) { delete this.onEnterFrame; this.methodTable = new Array(); }; v2.invalidate = function (Void) { this.invalidateFlag = true; this.onEnterFrame = this.doLaterDispatcher; }; v2.invalidateStyle = function (Void) { this.invalidate(); }; v2.redraw = function (bAlways) { if (this.invalidateFlag || bAlways) { this.invalidateFlag = false; var v2; for (v2 in this.tfList) { this.tfList[v2].draw(); } this.draw(); this.dispatchEvent({'type': 'draw'}); } }; v2.draw = function (Void) {}; v2.move = function (x, y, noEvent) { var v3 = this._x; var v2 = this._y; this._x = x; this._y = y; if (noEvent != true) { this.dispatchEvent({'type': 'move', 'oldX': v3, 'oldY': v2}); } }; v2.setSize = function (w, h, noEvent) { var v2 = this.__width; var v3 = this.__height; this.__width = w; this.__height = h; this.size(); if (noEvent != true) { this.dispatchEvent({'type': 'resize', 'oldWidth': v2, 'oldHeight': v3}); } }; v2.size = function (Void) { this._width = this.__width; this._height = this.__height; }; v2.drawRect = function (x1, y1, x2, y2) { this.moveTo(x1, y1); this.lineTo(x2, y1); this.lineTo(x2, y2); this.lineTo(x1, y2); this.lineTo(x1, y1); }; v2.createLabel = function (name, depth, text) { this.createTextField(name, depth, 0, 0, 0, 0); var v2 = this[name]; v2._color = mx.core.UIObject.textColorList; v2._visible = false; v2.__text = text; if (this.tfList == undefined) { this.tfList = new Object(); } this.tfList[name] = v2; v2.invalidateStyle(); this.invalidate(); v2.styleName = this; return v2; }; v2.createObject = function (linkageName, id, depth, initobj) { return this.attachMovie(linkageName, id, depth, initobj); }; v2.createClassObject = function (className, id, depth, initobj) { var v3 = className.symbolName == undefined; if (v3) { Object.registerClass(className.symbolOwner.symbolName, className); } var v4 = this.createObject(className.symbolOwner.symbolName, id, depth, initobj); if (v3) { Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner); } return v4; }; v2.createEmptyObject = function (id, depth) { return this.createClassObject(mx.core.UIObject, id, depth); }; v2.destroyObject = function (id) { var v2 = this[id]; if (v2.getDepth() < 0) { var v4 = this.buildDepthTable(); var v5 = this.findNextAvailableDepth(0, v4, 'up'); var v3 = v5; v2.swapDepths(v3); } v2.removeMovieClip(); delete this[id]; }; v2.getSkinIDName = function (tag) { return this.idNames[tag]; }; v2.setSkin = function (tag, linkageName, initObj) { if (_global.skinRegistry[linkageName] == undefined) { mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement); } return this.createObject(linkageName, this.getSkinIDName(tag), tag, initObj); }; v2.createSkin = function (tag) { var v2 = this.getSkinIDName(tag); this.createEmptyObject(v2, tag); return this[v2]; }; v2.createChildren = function (Void) {}; v2._createChildren = function (Void) { this.createChildren(); this.childrenCreated = true; }; v2.constructObject = function (Void) { if (this._name == undefined) { return undefined; } this.init(); this._createChildren(); this.createAccessibilityImplementation(); this._endInit(); if (this.validateNow) { this.redraw(true); } else { this.invalidate(); } }; v2.initFromClipParameters = function (Void) { var v4 = false; var v2; for (v2 in this.clipParameters) { if (this.hasOwnProperty(v2)) { v4 = true; this['def_' + v2] = this[v2]; delete this[v2]; } } if (v4) { for (v2 in this.clipParameters) { var v3 = this['def_' + v2]; if (v3 != undefined) { this[v2] = v3; } } } }; v2.init = function (Void) { this.__width = this._width; this.__height = this._height; if (this.initProperties == undefined) { this.initFromClipParameters(); } else { this.initProperties(); } if (_global.cascadingStyles == true) { this.stylecache = new Object(); } }; v2.getClassStyleDeclaration = function (Void) { var v4 = this; var v3 = this.className; while (v3 != undefined) { if (this.ignoreClassStyleDeclaration[v3] == undefined) { if (_global.styles[v3] != undefined) { return _global.styles[v3]; } } v4 = v4.__proto__; v3 = v4.className; } }; v2.setColor = function (color) {}; v2.__getTextFormat = function (tf, bAll) { var v8 = this.stylecache.tf; if (v8 != undefined) { var v3; for (v3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) { if (tf[v3] == undefined) { tf[v3] = v8[v3]; } } } return false; } var v6 = false; for (v3 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v3]) { if (tf[v3] == undefined) { var v5 = this._tf[v3]; if (v5 != undefined) { tf[v3] = v5; } else { if (v3 == 'font' && this.fontFamily != undefined) { tf[v3] = this.fontFamily; } else { if (v3 == 'size' && this.fontSize != undefined) { tf[v3] = this.fontSize; } else { if (v3 == 'color' && this.color != undefined) { tf[v3] = this.color; } else { if (v3 == 'leftMargin' && this.marginLeft != undefined) { tf[v3] = this.marginLeft; } else { if (v3 == 'rightMargin' && this.marginRight != undefined) { tf[v3] = this.marginRight; } else { if (v3 == 'italic' && this.fontStyle != undefined) { tf[v3] = this.fontStyle == v3; } else { if (v3 == 'bold' && this.fontWeight != undefined) { tf[v3] = this.fontWeight == v3; } else { if (v3 == 'align' && this.textAlign != undefined) { tf[v3] = this.textAlign; } else { if (v3 == 'indent' && this.textIndent != undefined) { tf[v3] = this.textIndent; } else { if (v3 == 'underline' && this.textDecoration != undefined) { tf[v3] = this.textDecoration == v3; } else { if (v3 == 'embedFonts' && this.embedFonts != undefined) { tf[v3] = this.embedFonts; } else { v6 = true; } } } } } } } } } } } } } } } if (v6) { var v9 = this.styleName; if (v9 != undefined) { if (typeof v9 != 'string') { v6 = v9.__getTextFormat(tf, true, this); } else { if (_global.styles[v9] != undefined) { v6 = _global.styles[v9].__getTextFormat(tf, true, this); } } } } if (v6) { var v10 = this.getClassStyleDeclaration(); if (v10 != undefined) { v6 = v10.__getTextFormat(tf, true, this); } } if (v6) { if (_global.cascadingStyles) { if (this._parent != undefined) { v6 = this._parent.__getTextFormat(tf, false); } } } if (v6) { v6 = _global.style.__getTextFormat(tf, true, this); } return v6; }; v2._getTextFormat = function (Void) { var v2 = this.stylecache.tf; if (v2 != undefined) { return v2; } v2 = new TextFormat(); this.__getTextFormat(v2, true); this.stylecache.tf = v2; if (this.enabled == false) { var v3 = this.getStyle('disabledColor'); v2.color = v3; } return v2; }; v2.getStyleName = function (Void) { var v2 = this.styleName; if (v2 != undefined) { if (typeof v2 != 'string') { return v2.getStyleName(); } else { return v2; } } if (this._parent != undefined) { return this._parent.getStyleName(); } else { return undefined; } }; v2.getStyle = function (styleProp) { var v3; ++_global.getStyleCounter; if (this[styleProp] != undefined) { return this[styleProp]; } var v6 = this.styleName; if (v6 != undefined) { if (typeof v6 != 'string') { v3 = v6.getStyle(styleProp); } else { var v7 = _global.styles[v6]; v3 = v7.getStyle(styleProp); } } if (v3 != undefined) { return v3; } v7 = this.getClassStyleDeclaration(); if (v7 != undefined) { v3 = v7[styleProp]; } if (v3 != undefined) { return v3; } if (_global.cascadingStyles) { if (mx.styles.StyleManager.isInheritingStyle(styleProp) || mx.styles.StyleManager.isColorStyle(styleProp)) { var v5 = this.stylecache; if (v5 != undefined) { if (v5[styleProp] != undefined) { return v5[styleProp]; } } if (this._parent != undefined) { v3 = this._parent.getStyle(styleProp); } else { v3 = _global.style[styleProp]; } if (v5 != undefined) { v5[styleProp] = v3; } return v3; } } if (v3 == undefined) { v3 = _global.style[styleProp]; } return v3; }; v1.mergeClipParameters = function (o, p) { for (var v3 in p) { o[v3] = p[v3]; } return true; }; v1.symbolName = 'UIObject'; v1.symbolOwner = mx.core.UIObject; v1.version = '2.0.2.126'; v1.textColorList = {'color': 1, 'disabledColor': 1}; v2.invalidateFlag = false; v2.lineWidth = 1; v2.lineColor = 0; v2.tabEnabled = false; v2.clipParameters = {'visible': 1, 'minHeight': 1, 'minWidth': 1, 'maxHeight': 1, 'maxWidth': 1, 'preferredHeight': 1, 'preferredWidth': 1}; v2.addProperty('bottom', v2.__get__bottom, function () {}); v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('left', v2.__get__left, function () {}); v2.addProperty('minHeight', v2.__get__minHeight, v2.__set__minHeight); v2.addProperty('minWidth', v2.__get__minWidth, v2.__set__minWidth); v2.addProperty('right', v2.__get__right, function () {}); v2.addProperty('scaleX', v2.__get__scaleX, v2.__set__scaleX); v2.addProperty('scaleY', v2.__get__scaleY, v2.__set__scaleY); v2.addProperty('top', v2.__get__top, function () {}); v2.addProperty('visible', v2.__get__visible, v2.__set__visible); v2.addProperty('width', v2.__get__width, function () {}); v2.addProperty('x', v2.__get__x, function () {}); v2.addProperty('y', v2.__get__y, function () {}); ASSetPropFlags(mx.core.UIObject.prototype, null, 1); } #endinitclip } movieClip 2 __Packages.mx.core.UIComponent { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.UIComponent) { var v1 = function () { super(); }; mx.core.UIComponent = v1; var v2 = new mx.core.UIObject(); mx.core.UIComponent.prototype = v2; v2.__get__width = function () { return this.__width; }; v2.__get__height = function () { return this.__height; }; v2.setVisible = function (x, noEvent) { super.setVisible(x, noEvent); }; v2.enabledChanged = function (id, oldValue, newValue) { this.setEnabled(newValue); this.invalidate(); delete this.stylecache.tf; return newValue; }; v2.setEnabled = function (enabled) { this.invalidate(); }; v2.getFocus = function () { var selFocus = Selection.getFocus(); return (selFocus === null) ? null : eval(selFocus); }; v2.setFocus = function () { Selection.setFocus(this); }; v2.getFocusManager = function () { var v2 = this; while (v2 != undefined) { if (v2.focusManager != undefined) { return v2.focusManager; } v2 = v2._parent; } return undefined; }; v2.onKillFocus = function (newFocus) { this.removeEventListener('keyDown', this); this.removeEventListener('keyUp', this); this.dispatchEvent({'type': 'focusOut'}); this.drawFocus(false); }; v2.onSetFocus = function (oldFocus) { this.addEventListener('keyDown', this); this.addEventListener('keyUp', this); this.dispatchEvent({'type': 'focusIn'}); if ((this.getFocusManager()).bDrawFocus != false) { this.drawFocus(true); } }; v2.findFocusInChildren = function (o) { if (o.focusTextField != undefined) { return o.focusTextField; } if (o.tabEnabled == true) { return o; } return undefined; }; v2.findFocusFromObject = function (o) { if (o.tabEnabled != true) { if (o._parent == undefined) { return undefined; } if (o._parent.tabEnabled == true) { o = o._parent; return o; } if (o._parent.tabChildren) { o = this.findFocusInChildren(o._parent); return o; } o = this.findFocusFromObject(o._parent); } return o; }; v2.pressFocus = function () { var v3 = this.findFocusFromObject(this); var v2 = this.getFocus(); if (v3 != v2) { v2.drawFocus(false); if ((this.getFocusManager()).bDrawFocus != false) { v3.drawFocus(true); } } }; v2.releaseFocus = function () { var v2 = this.findFocusFromObject(this); if (v2 != this.getFocus()) { v2.setFocus(); } }; v2.isParent = function (o) { while (o != undefined) { if (o == this) { return true; } o = o._parent; } return false; }; v2.size = function () {}; v2.init = function () { super.init(); this._xscale = 100; this._yscale = 100; this._focusrect = _global.useFocusRect == false; this.watch('enabled', this.enabledChanged); if (this.enabled == false) { this.setEnabled(false); } }; v2.dispatchValueChangedEvent = function (value) { this.dispatchEvent({'type': 'valueChanged', 'value': value}); }; v1.symbolName = 'UIComponent'; v1.symbolOwner = mx.core.UIComponent; v1.version = '2.0.2.126'; v1.kStretch = 5000; v2.focusEnabled = true; v2.tabEnabled = true; v2.origBorderStyles = {'themeColor': 16711680}; v2.clipParameters = {}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters); v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('width', v2.__get__width, function () {}); ASSetPropFlags(mx.core.UIComponent.prototype, null, 1); } #endinitclip } movieClip 3 __Packages.mx.controls.NumericStepper { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.NumericStepper) { var v1 = function () { super(); }; mx.controls.NumericStepper = v1; var v2 = new mx.core.UIComponent(); mx.controls.NumericStepper.prototype = v2; v2.init = function () { super.init(); this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; this._visible = false; this.tabEnabled = false; this.tabChildren = true; }; v2.setVisible = function (x, noEvent) { super.setVisible(x, noEvent); if (this.initializing) { this.__visible = x; } }; v2.layoutControl = function () { this.nextButton_mc._x = this.__width - this.nextButton_mc.__width; this.nextButton_mc._y = 0; this.prevButton_mc._x = this.__width - this.prevButton_mc.__width; this.prevButton_mc._y = this.__height - this.prevButton_mc.__height; this.inputField.setSize(this.__width - this.nextButton_mc.__width, this.__height); this.StepTrack_mc._width = Math.max(this.nextButton_mc.__width, this.prevButton_mc.__width); this.StepTrack_mc._x = this.__width - this.StepTrack_mc._width; this.StepTrack_mc._height = this.__height - (this.nextButton_mc._height + this.prevButton_mc._height); this.StepTrack_mc._y = this.nextButton_mc.__height; }; v2.createChildren = function () { super.createChildren(); this.addAsset('nextButton_mc', this.skinIDUpArrow); this.addAsset('prevButton_mc', this.skinIDDownArrow); this.addAsset('inputField', this.skinIDInput); this.focusTextField = this.inputField.label; this.createObject('StepTrack', 'StepTrack_mc', 2); this.size(); }; v2.draw = function () { this.prevButton_mc.enabled = this.enabled; this.nextButton_mc.enabled = this.enabled; this.inputField.enabled = this.enabled; this.size(); this.initializing = false; this.__set__visible(this.__visible); }; v2.size = function () { var v2 = this.calcMinHeight(); var v3 = this.calcMinWidth(); if (this.__height < v2) { this.setSize(this.__width, v2); } if (this.__width < v3) { this.setSize(v3, this.__height); } this.layoutControl(); }; v2.calcMinHeight = function () { return 22; }; v2.calcMinWidth = function () { return 40; }; v2.addAsset = function (id, skinID) { var v2 = new Object(); v2.styleName = this; if (skinID == 10) { v2.falseUpSkin = this.upArrowUp; v2.falseOverSkin = this.upArrowOver; v2.falseDownSkin = this.upArrowDown; v2.falseDisabledSkin = this.upArrowDisabled; this.createClassObject(mx.controls.SimpleButton, id, skinID, v2); var v5 = this.nextButton_mc; v5.tabEnabled = false; v5.styleName = this; v5._x = this.__width - v5.__width; v5._y = 0; v5.owner = this; v5.autoRepeat = true; v5.clickHandler = function () { Selection.setSelection(0, 0); }; v5.buttonDownHandler = function () { this.owner.buttonPress(this); }; } else { if (skinID == 11) { v2.falseUpSkin = this.downArrowUp; v2.falseOverSkin = this.downArrowOver; v2.falseDownSkin = this.downArrowDown; v2.falseDisabledSkin = this.downArrowDisabled; this.createClassObject(mx.controls.SimpleButton, id, skinID, v2); var v3 = this.prevButton_mc; v3.tabEnabled = false; v3.styleName = this; v3._x = this.__width - v3.__width; v3._y = this.__height - v3.__height; v3.owner = this; v3.autoRepeat = true; v3.clickHandler = function () { Selection.setSelection(0, 0); }; v3.buttonDownHandler = function () { this.owner.buttonPress(this); }; } else { if (skinID == 9) { this.createClassObject(mx.controls.TextInput, id, skinID); var v4 = this.inputField; v4.styleName = this; v4.setSize(this.__width - this.nextButton_mc.__width, this.__height); v4.restrict = '0-9\\-\\.\\,'; v4.maxChars = this.__maxChars; v4.text = this.value; v4.onSetFocus = function () { this._parent.onSetFocus(); }; v4.onKillFocus = function () { this._parent.onKillFocus(); }; v4.drawFocus = function (b) { this._parent.drawFocus(b); }; v4.onKeyDown = function () { this._parent.onFieldKeyDown(); }; } } } }; v2.setFocus = function () { Selection.setFocus(this.inputField); }; v2.onKillFocus = function () { mx.managers.SystemManager.form.focusManager.defaultPushButtonEnabled = true; super.onKillFocus(); Key.removeListener(this.inputField); if (Number(this.inputField.text) != this.__get__value()) { var v3 = this.checkValidValue(Number(this.inputField.text)); this.inputField.text = v3; this.__set__value(v3); this.dispatchEvent({'type': 'change'}); } }; v2.onSetFocus = function () { super.onSetFocus(); Key.addListener(this.inputField); mx.managers.SystemManager.form.focusManager.defaultPushButtonEnabled = false; }; v2.onFieldKeyDown = function () { var v2 = this.__get__value(); switch (Key.getCode()) { case 40: var v3 = this.__get__value() - this.__get__stepSize(); this.__set__value(v3); if (v2 != this.__get__value()) { this.dispatchEvent({'type': 'change'}); } break; case 38: var v3 = this.__get__stepSize() + this.__get__value(); this.__set__value(v3); if (v2 != this.__get__value()) { this.dispatchEvent({'type': 'change'}); } break; case 36: this.inputField.text = this.minimum; this.__set__value(this.minimum); if (v2 != this.__get__value()) { this.dispatchEvent({'type': 'change'}); } break; case 35: this.inputField.text = this.maximum; this.__set__value(this.maximum); if (v2 != this.__get__value()) { this.dispatchEvent({'type': 'change'}); } break; case 13: this.__set__value(Number(this.inputField.text)); if (v2 == this.__get__value()) break; this.dispatchEvent({'type': 'change'}); } }; v2.__get__nextValue = function () { if (this.checkRange(this.__get__value() + this.__get__stepSize())) { this.__nextValue = this.__get__value() + this.__get__stepSize(); return this.__nextValue; } }; v2.__get__previousValue = function () { if (this.checkRange(this.__value - this.__get__stepSize())) { this.__previousValue = this.__get__value() - this.__get__stepSize(); return this.__previousValue; } }; v2.__set__maxChars = function (num) { this.__maxChars = num; this.inputField.maxChars = this.__maxChars; return this.__get__maxChars(); }; v2.__get__maxChars = function () { return this.__maxChars; }; v2.__get__value = function () { return this.__value; }; v2.__set__value = function (v) { var v2 = this.checkValidValue(v); if (v2 == this.__value) { return undefined; } this.__value = v2; this.inputField.text = this.__value; return this.__get__value(); }; v2.__get__minimum = function () { return this.__minimum; }; v2.__set__minimum = function (v) { this.__minimum = v; return this.__get__minimum(); }; v2.__get__maximum = function () { return this.__maximum; }; v2.__set__maximum = function (v) { this.__maximum = v; return this.__get__maximum(); }; v2.__get__stepSize = function () { return this.__stepSize; }; v2.__set__stepSize = function (v) { this.__stepSize = v; return this.__get__stepSize(); }; v2.onFocus = function () {}; v2.buttonPress = function (button) { var v2 = this.__get__value(); if (button._name == 'nextButton_mc') { this.value += this.stepSize; } else { this.value -= this.stepSize; } if (v2 != this.__get__value()) { this.dispatchEvent({'type': 'change'}); Selection.setSelection(0, 0); } }; v2.checkRange = function (v) { return v >= this.__get__minimum() and v <= this.__get__maximum(); }; v2.checkValidValue = function (val) { var v7 = val / this.__get__stepSize(); var v9 = Math.floor(v7); var v2 = this.__get__stepSize(); var v6 = this.__get__minimum(); var v5 = this.__get__maximum(); if (val > v6 and val < v5) { if (v7 - v9 == 0) { return val; } else { var v8 = Math.floor(val / v2); var v4 = v8 * v2; if (val - v4 >= v2 / 2 && v5 >= v4 + v2 && v6 <= v4 - v2 || val + v2 == v5 && v5 - v4 - v2 > 1.0e-014) { v4 += v2; } return v4; } } else { if (val >= v5) { return v5; } else { return v6; } } }; v2.onLabelChanged = function (o) { var v2 = this.checkValidValue(Number(o.__get__text())); o.__set__text(v2); this.__set__value(v2); }; v2.__get__tabIndex = function () { return this.inputField.tabIndex; }; v2.__set__tabIndex = function (w) { this.inputField.tabIndex = w; return this.__get__tabIndex(); }; v1.symbolName = 'NumericStepper'; v1.symbolOwner = mx.controls.NumericStepper; v1.version = '2.0.2.126'; v2.className = 'NumericStepper'; v2.upArrowUp = 'StepUpArrowUp'; v2.upArrowDown = 'StepUpArrowDown'; v2.upArrowOver = 'StepUpArrowOver'; v2.upArrowDisabled = 'StepUpArrowDisabled'; v2.downArrowUp = 'StepDownArrowUp'; v2.downArrowDown = 'StepDownArrowDown'; v2.downArrowOver = 'StepDownArrowOver'; v2.downArrowDisabled = 'StepDownArrowDisabled'; v2.skinIDUpArrow = 10; v2.skinIDDownArrow = 11; v2.skinIDInput = 9; v2.initializing = true; v2.__visible = true; v2.__minimum = 0; v2.__maximum = 10; v2.__stepSize = 1; v2.__value = 0; v2.__nextValue = 0; v2.__previousValue = 0; v2.clipParameters = {'minimum': 1, 'maximum': 1, 'stepSize': 1, 'value': 1, 'maxChars': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.NumericStepper.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters); v2.addProperty('maxChars', v2.__get__maxChars, v2.__set__maxChars); v2.addProperty('maximum', v2.__get__maximum, v2.__set__maximum); v2.addProperty('minimum', v2.__get__minimum, v2.__set__minimum); v2.addProperty('nextValue', v2.__get__nextValue, function () {}); v2.addProperty('previousValue', v2.__get__previousValue, function () {}); v2.addProperty('stepSize', v2.__get__stepSize, v2.__set__stepSize); v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex); v2.addProperty('value', v2.__get__value, v2.__set__value); ASSetPropFlags(mx.controls.NumericStepper.prototype, null, 1); } #endinitclip } movieClip 53 __Packages.mx.skins.SkinElement { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.SkinElement) { var v1 = function () { super(); }; mx.skins.SkinElement = v1; var v2 = new MovieClip(); mx.skins.SkinElement.prototype = v2; v1.registerElement = function (name, className) { Object.registerClass(name, (className == undefined) ? mx.skins.SkinElement : className); _global.skinRegistry[name] = true; }; v2.__set__visible = function (visible) { this._visible = visible; }; v2.move = function (x, y) { this._x = x; this._y = y; }; v2.setSize = function (w, h) { this._width = w; this._height = h; }; ASSetPropFlags(mx.skins.SkinElement.prototype, null, 1); } #endinitclip } movieClip 54 __Packages.mx.styles.CSSTextStyles { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.styles) { _global.mx.styles = new Object(); } if (!_global.mx.styles.CSSTextStyles) { var v1 = function () {}; mx.styles.CSSTextStyles = v1; var v2 = v1.prototype; v1.addTextStyles = function (o, bColor) { o.addProperty('textAlign', function () { return this._tf.align; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.align = x; }); o.addProperty('fontWeight', function () { return (this._tf.bold != undefined) ? (this._tf.bold ? 'bold' : 'none') : undefined; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.bold = x == 'bold'; }); if (bColor) { o.addProperty('color', function () { return this._tf.color; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.color = x; }); } o.addProperty('fontFamily', function () { return this._tf.font; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.font = x; }); o.addProperty('textIndent', function () { return this._tf.indent; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.indent = x; }); o.addProperty('fontStyle', function () { return (this._tf.italic != undefined) ? (this._tf.italic ? 'italic' : 'none') : undefined; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.italic = x == 'italic'; }); o.addProperty('marginLeft', function () { return this._tf.leftMargin; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.leftMargin = x; }); o.addProperty('marginRight', function () { return this._tf.rightMargin; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.rightMargin = x; }); o.addProperty('fontSize', function () { return this._tf.size; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.size = x; }); o.addProperty('textDecoration', function () { return (this._tf.underline != undefined) ? (this._tf.underline ? 'underline' : 'none') : undefined; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.underline = x == 'underline'; }); o.addProperty('embedFonts', function () { return this._tf.embedFonts; }, function (x) { if (this._tf == undefined) { this._tf = new TextFormat(); } this._tf.embedFonts = x; }); }; ASSetPropFlags(mx.styles.CSSTextStyles.prototype, null, 1); } #endinitclip } movieClip 55 __Packages.mx.styles.StyleManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.styles) { _global.mx.styles = new Object(); } if (!_global.mx.styles.StyleManager) { var v1 = function () {}; mx.styles.StyleManager = v1; var v2 = v1.prototype; v1.registerInheritingStyle = function (styleName) { mx.styles.StyleManager.inheritingStyles[styleName] = true; }; v1.isInheritingStyle = function (styleName) { return mx.styles.StyleManager.inheritingStyles[styleName] == true; }; v1.registerColorStyle = function (styleName) { mx.styles.StyleManager.colorStyles[styleName] = true; }; v1.isColorStyle = function (styleName) { return mx.styles.StyleManager.colorStyles[styleName] == true; }; v1.registerColorName = function (colorName, colorValue) { mx.styles.StyleManager.colorNames[colorName] = colorValue; }; v1.isColorName = function (colorName) { return mx.styles.StyleManager.colorNames[colorName] != undefined; }; v1.getColorName = function (colorName) { return mx.styles.StyleManager.colorNames[colorName]; }; v1.inheritingStyles = {'color': true, 'direction': true, 'fontFamily': true, 'fontSize': true, 'fontStyle': true, 'fontWeight': true, 'textAlign': true, 'textIndent': true}; v1.colorStyles = {'barColor': true, 'trackColor': true, 'borderColor': true, 'buttonColor': true, 'color': true, 'dateHeaderColor': true, 'dateRollOverColor': true, 'disabledColor': true, 'fillColor': true, 'highlightColor': true, 'scrollTrackColor': true, 'selectedDateColor': true, 'shadowColor': true, 'strokeColor': true, 'symbolBackgroundColor': true, 'symbolBackgroundDisabledColor': true, 'symbolBackgroundPressedColor': true, 'symbolColor': true, 'symbolDisabledColor': true, 'themeColor': true, 'todayIndicatorColor': true, 'shadowCapColor': true, 'borderCapColor': true, 'focusColor': true}; v1.colorNames = {'black': 0, 'white': 16777215, 'red': 16711680, 'green': 65280, 'blue': 255, 'magenta': 16711935, 'yellow': 16776960, 'cyan': 65535, 'haloGreen': 8453965, 'haloBlue': 2881013, 'haloOrange': 16761344}; v1.TextFormatStyleProps = {'font': true, 'size': true, 'color': true, 'leftMargin': false, 'rightMargin': false, 'italic': true, 'bold': true, 'align': true, 'indent': true, 'underline': false, 'embedFonts': false}; v1.TextStyleMap = {'textAlign': true, 'fontWeight': true, 'color': true, 'fontFamily': true, 'textIndent': true, 'fontStyle': true, 'lineHeight': true, 'marginLeft': true, 'marginRight': true, 'fontSize': true, 'textDecoration': true, 'embedFonts': true}; ASSetPropFlags(mx.styles.StyleManager.prototype, null, 1); } #endinitclip } movieClip 56 __Packages.mx.styles.CSSStyleDeclaration { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.styles) { _global.mx.styles = new Object(); } if (!_global.mx.styles.CSSStyleDeclaration) { var v1 = function () {}; mx.styles.CSSStyleDeclaration = v1; var v2 = v1.prototype; v2.__getTextFormat = function (tf, bAll) { var v5 = false; if (this._tf != undefined) { var v2; for (v2 in mx.styles.StyleManager.TextFormatStyleProps) { if (bAll || mx.styles.StyleManager.TextFormatStyleProps[v2]) { if (tf[v2] == undefined) { var v3 = this._tf[v2]; if (v3 != undefined) { tf[v2] = v3; } else { v5 = true; } } } } return v5; } v5 = true; return v5; }; v2.getStyle = function (styleProp) { var v2 = this[styleProp]; var v3 = mx.styles.StyleManager.getColorName(v2); return (v3 == undefined) ? v2 : v3; }; v1.classConstruct = function () { mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true); return true; }; v1.classConstructed = mx.styles.CSSStyleDeclaration.classConstruct(); v1.CSSTextStylesDependency = mx.styles.CSSTextStyles; ASSetPropFlags(mx.styles.CSSStyleDeclaration.prototype, null, 1); } #endinitclip } movieClip 57 __Packages.mx.controls.SimpleButton { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.SimpleButton) { var v1 = function () { super(); }; mx.controls.SimpleButton = v1; var v2 = new mx.core.UIComponent(); mx.controls.SimpleButton.prototype = v2; v2.init = function (Void) { super.init(); if (this.preset == undefined) { this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; } this.useHandCursor = false; }; v2.createChildren = function (Void) { if (this.preset != undefined) { var v2 = this[this.idNames[this.preset]]; this[this.refNames[this.preset]] = v2; this.skinName = v2; if (this.falseOverSkin.length == 0) { this.rolloverSkin = this.fus; } if (this.falseOverIcon.length == 0) { this.rolloverIcon = this.fui; } this.initializing = false; } else { if (this.__state == true) { this.setStateVar(true); } else { if (this.falseOverSkin.length == 0) { this.rolloverSkin = this.fus; } if (this.falseOverIcon.length == 0) { this.rolloverIcon = this.fui; } } } }; v2.setIcon = function (tag, linkageName) { return this.setSkin(tag + 8, linkageName); }; v2.changeIcon = function (tag, linkageName) { this.linkLength = linkageName.length; var v2 = this.stateNames[tag] + 'Icon'; this[v2] = linkageName; this[this.idNames[tag + 8]] = v2; this.setStateVar(this.getState()); }; v2.changeSkin = function (tag, linkageName) { var v2 = this.stateNames[tag] + 'Skin'; this[v2] = linkageName; this[this.idNames[tag]] = v2; this.setStateVar(this.getState()); }; v2.viewIcon = function (varName) { var v4 = varName + 'Icon'; var v3 = this[v4]; if (typeof v3 == 'string') { var v5 = v3; if (this.__emphasized) { if (this[v3 + 'Emphasized'].length > 0) { v3 += 'Emphasized'; } } if (this[v3].length == 0) { return undefined; } v3 = this.setIcon(this.tagMap[v5], this[v3]); if (v3 == undefined && _global.isLivePreview) { v3 = this.setIcon(0, 'ButtonIcon'); } this[v4] = v3; } this.iconName._visible = false; this.iconName = v3; this.iconName._visible = true; }; v2.removeIcons = function () { var v3 = 0; while (v3 < 2) { var v2 = 8; while (v2 < 16) { this.destroyObject(this.idNames[v2]); this[this.stateNames[v2 - 8] + 'Icon'] = ''; ++v2; } ++v3; } this.refresh(); }; v2.setSkin = function (tag, linkageName, initobj) { if (initobj == undefined) { var v3 = super.setSkin(tag, linkageName, {'styleName': this}); this.calcSize(tag, v3); return v3; } var v3 = super.setSkin(tag, linkageName, initobj); this.calcSize(tag, v3); return v3; }; v2.calcSize = function (Void) { this.__width = this._width; this.__height = this._height; }; v2.viewSkin = function (varName, initObj) { var v3 = varName + 'Skin'; var v2 = this[v3]; if (typeof v2 == 'string') { var v4 = v2; if (this.__emphasized) { if (this[v2 + 'Emphasized'].length > 0) { v2 += 'Emphasized'; } } if (this[v2].length == 0) { return undefined; } v2 = this.setSkin(this.tagMap[v4], this[v2], (initObj != undefined) ? initObj : {'styleName': this}); this[v3] = v2; } this.skinName._visible = false; this.skinName = v2; this.skinName._visible = true; }; v2.showEmphasized = function (e) { if (e && !this.__emphatic) { if (mx.controls.SimpleButton.emphasizedStyleDeclaration != undefined) { this.__emphaticStyleName = this.styleName; this.styleName = mx.controls.SimpleButton.emphasizedStyleDeclaration; } this.__emphatic = true; } else { if (this.__emphatic) { this.styleName = this.__emphaticStyleName; } this.__emphatic = false; } }; v2.refresh = function (Void) { var v2 = this.getState(); if (this.enabled == false) { this.viewIcon('disabled'); this.viewSkin('disabled'); } else { this.viewSkin(this.phase); this.viewIcon(this.phase); } this.setView(this.phase == 'down'); this.iconName.enabled = this.enabled; }; v2.setView = function (offset) { if (this.iconName == undefined) { return undefined; } var v2 = offset ? this.btnOffset : 0; this.iconName._x = (this.__width - this.iconName._width) / 2 + v2; this.iconName._y = (this.__height - this.iconName._height) / 2 + v2; }; v2.setStateVar = function (state) { if (state) { if (this.trueOverSkin.length == 0) { this.rolloverSkin = this.tus; } else { this.rolloverSkin = this.trs; } if (this.trueOverIcon.length == 0) { this.rolloverIcon = this.tui; } else { this.rolloverIcon = this.tri; } this.upSkin = this.tus; this.downSkin = this.tds; this.disabledSkin = this.dts; this.upIcon = this.tui; this.downIcon = this.tdi; this.disabledIcon = this.dti; } else { if (this.falseOverSkin.length == 0) { this.rolloverSkin = this.fus; } else { this.rolloverSkin = this.frs; } if (this.falseOverIcon.length == 0) { this.rolloverIcon = this.fui; } else { this.rolloverIcon = this.fri; } this.upSkin = this.fus; this.downSkin = this.fds; this.disabledSkin = this.dfs; this.upIcon = this.fui; this.downIcon = this.fdi; this.disabledIcon = this.dfi; } this.__state = state; }; v2.setState = function (state) { if (state != this.__state) { this.setStateVar(state); this.invalidate(); } }; v2.size = function (Void) { this.refresh(); }; v2.draw = function (Void) { if (this.initializing) { this.initializing = false; this.skinName.visible = true; this.iconName.visible = true; } this.size(); }; v2.getState = function (Void) { return this.__state; }; v2.setToggle = function (val) { this.__toggle = val; if (this.__toggle == false) { this.setState(false); } }; v2.getToggle = function (Void) { return this.__toggle; }; v2.__set__toggle = function (val) { this.setToggle(val); return this.__get__toggle(); }; v2.__get__toggle = function () { return this.getToggle(); }; v2.__set__value = function (val) { this.setSelected(val); return this.__get__value(); }; v2.__get__value = function () { return this.getSelected(); }; v2.__set__selected = function (val) { this.setSelected(val); return this.__get__selected(); }; v2.__get__selected = function () { return this.getSelected(); }; v2.setSelected = function (val) { if (this.__toggle) { this.setState(val); } else { this.setState(this.initializing ? val : this.__state); } }; v2.getSelected = function () { return this.__state; }; v2.setEnabled = function (val) { if (this.enabled != val) { super.setEnabled(val); this.invalidate(); } }; v2.onPress = function (Void) { this.pressFocus(); this.phase = 'down'; this.refresh(); this.dispatchEvent({'type': 'buttonDown'}); if (this.autoRepeat) { this.interval = setInterval(this, 'onPressDelay', this.getStyle('repeatDelay')); } }; v2.onPressDelay = function (Void) { this.dispatchEvent({'type': 'buttonDown'}); if (this.autoRepeat) { clearInterval(this.interval); this.interval = setInterval(this, 'onPressRepeat', this.getStyle('repeatInterval')); } }; v2.onPressRepeat = function (Void) { this.dispatchEvent({'type': 'buttonDown'}); updateAfterEvent(); }; v2.onRelease = function (Void) { this.releaseFocus(); this.phase = 'rollover'; if (this.interval != undefined) { clearInterval(this.interval); delete this.interval; } if (this.getToggle()) { this.setState(!this.getState()); } else { this.refresh(); } this.dispatchEvent({'type': 'click'}); }; v2.onDragOut = function (Void) { this.phase = 'up'; this.refresh(); this.dispatchEvent({'type': 'buttonDragOut'}); }; v2.onDragOver = function (Void) { if (this.phase != 'up') { this.onPress(); return undefined; } else { this.phase = 'down'; this.refresh(); } }; v2.onReleaseOutside = function (Void) { this.releaseFocus(); this.phase = 'up'; if (this.interval != undefined) { clearInterval(this.interval); delete this.interval; } }; v2.onRollOver = function (Void) { this.phase = 'rollover'; this.refresh(); }; v2.onRollOut = function (Void) { this.phase = 'up'; this.refresh(); }; v2.getLabel = function (Void) { return this.fui.text; }; v2.setLabel = function (val) { if (typeof this.fui == 'string') { this.createLabel('fui', 8, val); this.fui.styleName = this; } else { this.fui.text = val; } var v4 = this.fui._getTextFormat(); var v2 = v4.getTextExtent2(val); this.fui._width = v2.width + 5; this.fui._height = v2.height + 5; this.iconName = this.fui; this.setView(this.__state); }; v2.__get__emphasized = function () { return this.__emphasized; }; v2.__set__emphasized = function (val) { this.__emphasized = val; var v2 = 0; while (v2 < 8) { this[this.idNames[v2]] = this.stateNames[v2] + 'Skin'; if (typeof this[this.idNames[v2 + 8]] == 'movieclip') { this[this.idNames[v2 + 8]] = this.stateNames[v2] + 'Icon'; } ++v2; } this.showEmphasized(this.__emphasized); this.setStateVar(this.__state); this.invalidateStyle(); return this.__get__emphasized(); }; v2.keyDown = function (e) { if (e.code == 32) { this.onPress(); } }; v2.keyUp = function (e) { if (e.code == 32) { this.onRelease(); } }; v2.onKillFocus = function (newFocus) { super.onKillFocus(); if (this.phase != 'up') { this.phase = 'up'; this.refresh(); } }; v1.symbolName = 'SimpleButton'; v1.symbolOwner = mx.controls.SimpleButton; v1.version = '2.0.2.126'; v2.className = 'SimpleButton'; v2.style3dInset = 4; v2.btnOffset = 1; v2.__toggle = false; v2.__state = false; v2.__emphasized = false; v2.__emphatic = false; v1.falseUp = 0; v1.falseDown = 1; v1.falseOver = 2; v1.falseDisabled = 3; v1.trueUp = 4; v1.trueDown = 5; v1.trueOver = 6; v1.trueDisabled = 7; v2.falseUpSkin = 'SimpleButtonUp'; v2.falseDownSkin = 'SimpleButtonIn'; v2.falseOverSkin = ''; v2.falseDisabledSkin = 'SimpleButtonUp'; v2.trueUpSkin = 'SimpleButtonIn'; v2.trueDownSkin = ''; v2.trueOverSkin = ''; v2.trueDisabledSkin = 'SimpleButtonIn'; v2.falseUpIcon = ''; v2.falseDownIcon = ''; v2.falseOverIcon = ''; v2.falseDisabledIcon = ''; v2.trueUpIcon = ''; v2.trueDownIcon = ''; v2.trueOverIcon = ''; v2.trueDisabledIcon = ''; v2.phase = 'up'; v2.fui = 'falseUpIcon'; v2.fus = 'falseUpSkin'; v2.fdi = 'falseDownIcon'; v2.fds = 'falseDownSkin'; v2.frs = 'falseOverSkin'; v2.fri = 'falseOverIcon'; v2.dfi = 'falseDisabledIcon'; v2.dfs = 'falseDisabledSkin'; v2.tui = 'trueUpIcon'; v2.tus = 'trueUpSkin'; v2.tdi = 'trueDownIcon'; v2.tds = 'trueDownSkin'; v2.trs = 'trueOverSkin'; v2.tri = 'trueOverIcon'; v2.dts = 'trueDisabledSkin'; v2.dti = 'trueDisabledIcon'; v2.rolloverSkin = mx.controls.SimpleButton.prototype.frs; v2.rolloverIcon = mx.controls.SimpleButton.prototype.fri; v2.upSkin = mx.controls.SimpleButton.prototype.fus; v2.downSkin = mx.controls.SimpleButton.prototype.fds; v2.disabledSkin = mx.controls.SimpleButton.prototype.dfs; v2.upIcon = mx.controls.SimpleButton.prototype.fui; v2.downIcon = mx.controls.SimpleButton.prototype.fdi; v2.disabledIcon = mx.controls.SimpleButton.prototype.dfi; v2.initializing = true; v2.idNames = ['fus', 'fds', 'frs', 'dfs', 'tus', 'tds', 'trs', 'dts', 'fui', 'fdi', 'fri', 'dfi', 'tui', 'tdi', 'tri', 'dti']; v2.stateNames = ['falseUp', 'falseDown', 'falseOver', 'falseDisabled', 'trueUp', 'trueDown', 'trueOver', 'trueDisabled']; v2.refNames = ['upSkin', 'downSkin', 'rolloverSkin', 'disabledSkin']; v2.tagMap = {'falseUpSkin': 0, 'falseDownSkin': 1, 'falseOverSkin': 2, 'falseDisabledSkin': 3, 'trueUpSkin': 4, 'trueDownSkin': 5, 'trueOverSkin': 6, 'trueDisabledSkin': 7, 'falseUpIcon': 0, 'falseDownIcon': 1, 'falseOverIcon': 2, 'falseDisabledIcon': 3, 'trueUpIcon': 4, 'trueDownIcon': 5, 'trueOverIcon': 6, 'trueDisabledIcon': 7}; v2.addProperty('emphasized', v2.__get__emphasized, v2.__set__emphasized); v2.addProperty('selected', v2.__get__selected, v2.__set__selected); v2.addProperty('toggle', v2.__get__toggle, v2.__set__toggle); v2.addProperty('value', v2.__get__value, v2.__set__value); ASSetPropFlags(mx.controls.SimpleButton.prototype, null, 1); } #endinitclip } movieClip 58 __Packages.mx.skins.Border { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.Border) { var v1 = function () { super(); }; mx.skins.Border = v1; var v2 = new mx.core.UIObject(); mx.skins.Border.prototype = v2; v2.init = function (Void) { super.init(); }; v1.symbolName = 'Border'; v1.symbolOwner = mx.skins.Border; v2.className = 'Border'; v2.tagBorder = 0; v2.idNames = new Array('border_mc'); ASSetPropFlags(mx.skins.Border.prototype, null, 1); } #endinitclip } movieClip 59 __Packages.mx.skins.RectBorder { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.RectBorder) { var v1 = function () { super(); }; mx.skins.RectBorder = v1; var v2 = new mx.skins.Border(); mx.skins.RectBorder.prototype = v2; v2.__get__width = function () { return this.__width; }; v2.__get__height = function () { return this.__height; }; v2.init = function (Void) { super.init(); }; v2.draw = function (Void) { this.size(); }; v2.getBorderMetrics = function (Void) { var v2 = this.offset; if (this.__borderMetrics == undefined) { this.__borderMetrics = {'left': v2, 'top': v2, 'right': v2, 'bottom': v2}; return this.__borderMetrics; } this.__borderMetrics.left = v2; this.__borderMetrics.top = v2; this.__borderMetrics.right = v2; this.__borderMetrics.bottom = v2; return this.__borderMetrics; }; v2.__get__borderMetrics = function () { return this.getBorderMetrics(); }; v2.drawBorder = function (Void) {}; v2.size = function (Void) { this.drawBorder(); }; v2.setColor = function (Void) { this.drawBorder(); }; v1.symbolName = 'RectBorder'; v1.symbolOwner = mx.skins.RectBorder; v1.version = '2.0.2.126'; v2.className = 'RectBorder'; v2.borderStyleName = 'borderStyle'; v2.borderColorName = 'borderColor'; v2.shadowColorName = 'shadowColor'; v2.highlightColorName = 'highlightColor'; v2.buttonColorName = 'buttonColor'; v2.backgroundColorName = 'backgroundColor'; v2.addProperty('borderMetrics', v2.__get__borderMetrics, function () {}); v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('width', v2.__get__width, function () {}); ASSetPropFlags(mx.skins.RectBorder.prototype, null, 1); } #endinitclip } movieClip 60 __Packages.mx.controls.TextInput { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.TextInput) { var v1 = function () { super(); }; mx.controls.TextInput = v1; var v2 = new mx.core.UIComponent(); mx.controls.TextInput.prototype = v2; v2.addEventListener = function (event, handler) { if (event == 'enter') { this.addEnterEvents(); } super.addEventListener(event, handler); }; v2.enterOnKeyDown = function () { if (Key.getAscii() == 13) { this.owner.dispatchEvent({'type': 'enter'}); } }; v2.addEnterEvents = function () { if (this.enterListener == undefined) { this.enterListener = new Object(); this.enterListener.owner = this; this.enterListener.onKeyDown = this.enterOnKeyDown; } }; v2.init = function (Void) { super.init(); this.label.styleName = this; this.tabChildren = true; this.tabEnabled = false; this.focusTextField = this.label; this._color = mx.core.UIObject.textColorList; this.label.onSetFocus = function () { this._parent.onSetFocus(); }; this.label.onKillFocus = function (n) { this._parent.onKillFocus(n); }; this.label.drawFocus = function (b) { this._parent.drawFocus(b); }; this.label.onChanged = this.onLabelChanged; }; v2.setFocus = function () { Selection.setFocus(this.label); }; v2.onLabelChanged = function (Void) { this._parent.dispatchEvent({'type': 'change'}); this._parent.dispatchValueChangedEvent(this.__get__text()); }; v2.createChildren = function (Void) { super.createChildren(); if (this.border_mc == undefined) { this.createClassObject(_global.styles.rectBorderClass, 'border_mc', 0, {'styleName': this}); } this.border_mc.swapDepths(this.label); this.label.autoSize = 'none'; }; v2.__get__html = function () { return this.getHtml(); }; v2.__set__html = function (value) { this.setHtml(value); return this.__get__html(); }; v2.getHtml = function () { return this.label.html; }; v2.setHtml = function (value) { if (value != this.label.html) { this.label.html = value; } }; v2.__get__text = function () { return this.getText(); }; v2.__set__text = function (t) { this.setText(t); return this.__get__text(); }; v2.getText = function () { if (this.initializing) { return this.initText; } if (this.label.html == true) { return this.label.htmlText; } return this.label.text; }; v2.setText = function (t) { if (this.initializing) { this.initText = t; } else { var v2 = this.label; if (v2.html == true) { v2.htmlText = t; } else { v2.text = t; } } this.dispatchValueChangedEvent(t); }; v2.size = function (Void) { this.border_mc.setSize(this.__get__width(), this.__get__height()); var v2 = this.border_mc.__get__borderMetrics(); var v6 = v2.left + v2.right; var v3 = v2.top + v2.bottom; var v5 = v2.left; var v4 = v2.top; this.tfx = v5; this.tfy = v4; this.tfw = this.__get__width() - v6; this.tfh = this.__get__height() - v3; this.label.move(this.tfx, this.tfy); this.label.setSize(this.tfw, this.tfh + 1); }; v2.setEnabled = function (enable) { this.label.type = (this.__editable == true || enable == false) ? 'input' : 'dynamic'; this.label.selectable = enable; var v2 = this.getStyle(enable ? 'color' : 'disabledColor'); if (v2 == undefined) { v2 = enable ? 0 : 8947848; } this.setColor(v2); }; v2.setColor = function (col) { this.label.textColor = col; }; v2.onKillFocus = function (newFocus) { if (this.enterListener != undefined) { Key.removeListener(this.enterListener); } if (this.bind != undefined) { this.updateModel(this.__get__text()); } super.onKillFocus(newFocus); }; v2.onSetFocus = function (oldFocus) { var f = Selection.getFocus(); var o = eval(f); if (o != this.label) { Selection.setFocus(this.label); return undefined; } if (this.enterListener != undefined) { Key.addListener(this.enterListener); } super.onSetFocus(oldFocus); }; v2.draw = function (Void) { var v2 = this.label; var v4 = this.getText(); if (this.initializing) { this.initializing = false; delete this.initText; } var v3 = this._getTextFormat(); v2.embedFonts = v3.embedFonts == true; if (v3 != undefined) { v2.setTextFormat(v3); v2.setNewTextFormat(v3); } v2.multiline = false; v2.wordWrap = false; if (v2.html == true) { v2.setTextFormat(v3); v2.htmlText = v4; } else { v2.text = v4; } v2.type = (this.__editable == true || this.enabled == false) ? 'input' : 'dynamic'; this.size(); }; v2.setEditable = function (s) { this.__editable = s; this.label.type = s ? 'input' : 'dynamic'; }; v2.__get__maxChars = function () { return this.label.maxChars; }; v2.__set__maxChars = function (w) { this.label.maxChars = w; return this.__get__maxChars(); }; v2.__get__length = function () { return this.label.length; }; v2.__get__restrict = function () { return this.label.restrict; }; v2.__set__restrict = function (w) { this.label.restrict = (w == '') ? null : w; return this.__get__restrict(); }; v2.__get__hPosition = function () { return this.label.hscroll; }; v2.__set__hPosition = function (w) { this.label.hscroll = w; return this.__get__hPosition(); }; v2.__get__maxHPosition = function () { return this.label.maxhscroll; }; v2.__get__editable = function () { return this.__editable; }; v2.__set__editable = function (w) { this.setEditable(w); return this.__get__editable(); }; v2.__get__password = function () { return this.label.password; }; v2.__set__password = function (w) { this.label.password = w; return this.__get__password(); }; v2.__get__tabIndex = function () { return this.label.tabIndex; }; v2.__set__tabIndex = function (w) { this.label.tabIndex = w; return this.__get__tabIndex(); }; v2.__set___accProps = function (val) { this.label._accProps = val; return this.__get___accProps(); }; v2.__get___accProps = function () { return this.label._accProps; }; v1.symbolName = 'TextInput'; v1.symbolOwner = mx.controls.TextInput; v1.version = '2.0.2.126'; v2.className = 'TextInput'; v2.initializing = true; v2.clipParameters = {'text': 1, 'editable': 1, 'password': 1, 'maxChars': 1, 'restrict': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.TextInput.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters); v2._maxWidth = mx.core.UIComponent.kStretch; v2.__editable = true; v2.initText = ''; v2.addProperty('_accProps', v2.__get___accProps, v2.__set___accProps); v2.addProperty('editable', v2.__get__editable, v2.__set__editable); v2.addProperty('hPosition', v2.__get__hPosition, v2.__set__hPosition); v2.addProperty('html', v2.__get__html, v2.__set__html); v2.addProperty('length', v2.__get__length, function () {}); v2.addProperty('maxChars', v2.__get__maxChars, v2.__set__maxChars); v2.addProperty('maxHPosition', v2.__get__maxHPosition, function () {}); v2.addProperty('password', v2.__get__password, v2.__set__password); v2.addProperty('restrict', v2.__get__restrict, v2.__set__restrict); v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex); v2.addProperty('text', v2.__get__text, v2.__set__text); ASSetPropFlags(mx.controls.TextInput.prototype, null, 1); } #endinitclip } movieClip 61 __Packages.mx.events.EventDispatcher { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.events) { _global.mx.events = new Object(); } if (!_global.mx.events.EventDispatcher) { var v1 = function () {}; mx.events.EventDispatcher = v1; var v2 = v1.prototype; v1._removeEventListener = function (queue, event, handler) { if (queue != undefined) { var v4 = queue.length; var v1; v1 = 0; while (v1 < v4) { var v2 = queue[v1]; if (v2 == handler) { queue.splice(v1, 1); return undefined; } ++v1; } } }; v1.initialize = function (object) { if (mx.events.EventDispatcher._fEventDispatcher == undefined) { mx.events.EventDispatcher._fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = mx.events.EventDispatcher._fEventDispatcher.addEventListener; object.removeEventListener = mx.events.EventDispatcher._fEventDispatcher.removeEventListener; object.dispatchEvent = mx.events.EventDispatcher._fEventDispatcher.dispatchEvent; object.dispatchQueue = mx.events.EventDispatcher._fEventDispatcher.dispatchQueue; }; v2.dispatchQueue = function (queueObj, eventObj) { var v7 = '__q_' + eventObj.type; var v4 = queueObj[v7]; if (v4 != undefined) { var v5; for (v5 in v4) { var v1 = v4[v5]; var v3 = typeof v1; if (v3 == 'object' || v3 == 'movieclip') { if (v1.handleEvent != undefined) { v1.handleEvent(eventObj); } if (v1[eventObj.type] != undefined) { if (mx.events.EventDispatcher.exceptions[eventObj.type] == undefined) { v1[eventObj.type](eventObj); } } } else { v1.apply(queueObj, [eventObj]); } } } }; v2.dispatchEvent = function (eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + 'Handler'](eventObj); this.dispatchQueue(this, eventObj); }; v2.addEventListener = function (event, handler) { var v3 = '__q_' + event; if (this[v3] == undefined) { this[v3] = new Array(); } _global.ASSetPropFlags(this, v3, 1); mx.events.EventDispatcher._removeEventListener(this[v3], event, handler); this[v3].push(handler); }; v2.removeEventListener = function (event, handler) { var v2 = '__q_' + event; mx.events.EventDispatcher._removeEventListener(this[v2], event, handler); }; v1._fEventDispatcher = undefined; v1.exceptions = {'move': 1, 'draw': 1, 'load': 1}; ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1); } #endinitclip } movieClip 62 __Packages.mx.managers.SystemManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.managers) { _global.mx.managers = new Object(); } if (!_global.mx.managers.SystemManager) { var v1 = function () {}; mx.managers.SystemManager = v1; var v2 = v1.prototype; v1.init = function (Void) { if (mx.managers.SystemManager._initialized == false) { mx.managers.SystemManager._initialized = true; mx.events.EventDispatcher.initialize(mx.managers.SystemManager); Mouse.addListener(mx.managers.SystemManager); Stage.addListener(mx.managers.SystemManager); mx.managers.SystemManager._xAddEventListener = mx.managers.SystemManager.addEventListener; mx.managers.SystemManager.addEventListener = mx.managers.SystemManager.__addEventListener; mx.managers.SystemManager._xRemoveEventListener = mx.managers.SystemManager.removeEventListener; mx.managers.SystemManager.removeEventListener = mx.managers.SystemManager.__removeEventListener; } }; v1.addFocusManager = function (f) { mx.managers.SystemManager.form = f; f.focusManager.activate(); }; v1.removeFocusManager = function (f) {}; v1.onMouseDown = function (Void) { var v1 = mx.managers.SystemManager.form; v1.focusManager._onMouseDown(); }; v1.onResize = function (Void) { var v7 = Stage.width; var v6 = Stage.height; var v9 = _global.origWidth; var v8 = _global.origHeight; var v3 = Stage.align; var v5 = (v9 - v7) / 2; var v4 = (v8 - v6) / 2; if (v3 == 'T') { v4 = 0; } else { if (v3 == 'B') { v4 = v8 - v6; } else { if (v3 == 'L') { v5 = 0; } else { if (v3 == 'R') { v5 = v9 - v7; } else { if (v3 == 'LT') { v4 = 0; v5 = 0; } else { if (v3 == 'TR') { v4 = 0; v5 = v9 - v7; } else { if (v3 == 'LB') { v4 = v8 - v6; v5 = 0; } else { if (v3 == 'RB') { v4 = v8 - v6; v5 = v9 - v7; } } } } } } } } if (mx.managers.SystemManager.__screen == undefined) { mx.managers.SystemManager.__screen = new Object(); } mx.managers.SystemManager.__screen.x = v5; mx.managers.SystemManager.__screen.y = v4; mx.managers.SystemManager.__screen.width = v7; mx.managers.SystemManager.__screen.height = v6; _root.focusManager.relocate(); mx.managers.SystemManager.dispatchEvent({'type': 'resize'}); }; v1.__get__screen = function () { mx.managers.SystemManager.init(); if (mx.managers.SystemManager.__screen == undefined) { mx.managers.SystemManager.onResize(); } return mx.managers.SystemManager.__screen; }; v1._initialized = false; v1.idleFrames = 0; v1.isMouseDown = false; v1.forms = new Array(); v1.addProperty('screen', v1.__get__screen, function () {}); ASSetPropFlags(mx.managers.SystemManager.prototype, null, 1); } #endinitclip } movieClip 63 __Packages.mx.events.UIEventDispatcher { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.events) { _global.mx.events = new Object(); } if (!_global.mx.events.UIEventDispatcher) { var v1 = function () { super(); }; mx.events.UIEventDispatcher = v1; var v2 = new mx.events.EventDispatcher(); mx.events.UIEventDispatcher.prototype = v2; v1.addKeyEvents = function (obj) { if (obj.keyHandler == undefined) { obj.keyHandler = new Object(); var v1 = obj.keyHandler; v1.owner = obj; v1.onKeyDown = mx.events.UIEventDispatcher._fEventDispatcher.onKeyDown; v1.onKeyUp = mx.events.UIEventDispatcher._fEventDispatcher.onKeyUp; } Key.addListener(obj.keyHandler); }; v1.removeKeyEvents = function (obj) { Key.removeListener(obj.keyHandler); }; v1.addLoadEvents = function (obj) { if (obj.onLoad == undefined) { obj.onLoad = mx.events.UIEventDispatcher._fEventDispatcher.onLoad; obj.onUnload = mx.events.UIEventDispatcher._fEventDispatcher.onUnload; if (obj.getBytesTotal() == obj.getBytesLoaded()) { obj.doLater(obj, 'onLoad'); } } }; v1.removeLoadEvents = function (obj) { delete obj.onLoad; delete obj.onUnload; }; v1.initialize = function (obj) { if (mx.events.UIEventDispatcher._fEventDispatcher == undefined) { mx.events.UIEventDispatcher._fEventDispatcher = new mx.events.UIEventDispatcher(); } obj.addEventListener = mx.events.UIEventDispatcher._fEventDispatcher.__addEventListener; obj.__origAddEventListener = mx.events.UIEventDispatcher._fEventDispatcher.addEventListener; obj.removeEventListener = mx.events.UIEventDispatcher._fEventDispatcher.removeEventListener; obj.dispatchEvent = mx.events.UIEventDispatcher._fEventDispatcher.dispatchEvent; obj.dispatchQueue = mx.events.UIEventDispatcher._fEventDispatcher.dispatchQueue; }; v2.dispatchEvent = function (eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + 'Handler'](eventObj); this.dispatchQueue(mx.events.EventDispatcher, eventObj); this.dispatchQueue(this, eventObj); }; v2.onKeyDown = function (Void) { this.owner.dispatchEvent({'type': 'keyDown', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)}); }; v2.onKeyUp = function (Void) { this.owner.dispatchEvent({'type': 'keyUp', 'code': Key.getCode(), 'ascii': Key.getAscii(), 'shiftKey': Key.isDown(16), 'ctrlKey': Key.isDown(17)}); }; v2.onLoad = function (Void) { if (this.__sentLoadEvent != true) { this.dispatchEvent({'type': 'load'}); } this.__sentLoadEvent = true; }; v2.onUnload = function (Void) { this.dispatchEvent({'type': 'unload'}); }; v2.__addEventListener = function (event, handler) { this.__origAddEventListener(event, handler); var v3 = mx.events.UIEventDispatcher.lowLevelEvents; for (var v5 in v3) { if (mx.events.UIEventDispatcher[v5][event] != undefined) { var v2 = v3[v5][0]; mx.events.UIEventDispatcher[v2](this); } } }; v2.removeEventListener = function (event, handler) { var v6 = '__q_' + event; mx.events.EventDispatcher._removeEventListener(this[v6], event, handler); if (this[v6].length == 0) { var v2 = mx.events.UIEventDispatcher.lowLevelEvents; for (var v5 in v2) { if (mx.events.UIEventDispatcher[v5][event] != undefined) { var v3 = v2[v5][1]; mx.events.UIEventDispatcher[v2[v5][1]](this); } } } }; v1.keyEvents = {'keyDown': 1, 'keyUp': 1}; v1.loadEvents = {'load': 1, 'unload': 1}; v1.lowLevelEvents = {'keyEvents': ['addKeyEvents', 'removeKeyEvents'], 'loadEvents': ['addLoadEvents', 'removeLoadEvents']}; v1._fEventDispatcher = undefined; ASSetPropFlags(mx.events.UIEventDispatcher.prototype, null, 1); } #endinitclip } movieClip 64 __Packages.mx.skins.ColoredSkinElement { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.ColoredSkinElement) { var v1 = function () {}; mx.skins.ColoredSkinElement = v1; var v2 = v1.prototype; v2.setColor = function (c) { if (c != undefined) { var v2 = new Color(this); v2.setRGB(c); } }; v2.draw = function (Void) { this.setColor(this.getStyle(this._color)); this.onEnterFrame = undefined; }; v2.invalidateStyle = function (Void) { this.onEnterFrame = this.draw; }; v1.setColorStyle = function (p, colorStyle) { if (p._color == undefined) { p._color = colorStyle; } p.setColor = mx.skins.ColoredSkinElement.mixins.setColor; p.invalidateStyle = mx.skins.ColoredSkinElement.mixins.invalidateStyle; p.draw = mx.skins.ColoredSkinElement.mixins.draw; p.setColor(p.getStyle(colorStyle)); }; v1.mixins = new mx.skins.ColoredSkinElement(); ASSetPropFlags(mx.skins.ColoredSkinElement.prototype, null, 1); } #endinitclip } movieClip 65 __Packages.mx.core.ext.UIObjectExtensions { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.ext) { _global.mx.core.ext = new Object(); } if (!_global.mx.core.ext.UIObjectExtensions) { var v1 = function () {}; mx.core.ext.UIObjectExtensions = v1; var v2 = v1.prototype; v1.addGeometry = function (tf, ui) { tf.addProperty('width', ui.__get__width, null); tf.addProperty('height', ui.__get__height, null); tf.addProperty('left', ui.__get__left, null); tf.addProperty('x', ui.__get__x, null); tf.addProperty('top', ui.__get__top, null); tf.addProperty('y', ui.__get__y, null); tf.addProperty('right', ui.__get__right, null); tf.addProperty('bottom', ui.__get__bottom, null); tf.addProperty('visible', ui.__get__visible, ui.__set__visible); }; v1.Extensions = function () { if (mx.core.ext.UIObjectExtensions.bExtended == true) { return true; } mx.core.ext.UIObjectExtensions.bExtended = true; var v6 = mx.core.UIObject.prototype; var v9 = mx.skins.SkinElement.prototype; mx.core.ext.UIObjectExtensions.addGeometry(v9, v6); mx.events.UIEventDispatcher.initialize(v6); var v13 = mx.skins.ColoredSkinElement; mx.styles.CSSTextStyles.addTextStyles(v6); var v5 = MovieClip.prototype; v5.getTopLevel = v6.getTopLevel; v5.createLabel = v6.createLabel; v5.createObject = v6.createObject; v5.createClassObject = v6.createClassObject; v5.createEmptyObject = v6.createEmptyObject; v5.destroyObject = v6.destroyObject; _global.ASSetPropFlags(v5, 'getTopLevel', 1); _global.ASSetPropFlags(v5, 'createLabel', 1); _global.ASSetPropFlags(v5, 'createObject', 1); _global.ASSetPropFlags(v5, 'createClassObject', 1); _global.ASSetPropFlags(v5, 'createEmptyObject', 1); _global.ASSetPropFlags(v5, 'destroyObject', 1); v5.__getTextFormat = v6.__getTextFormat; v5._getTextFormat = v6._getTextFormat; v5.getStyleName = v6.getStyleName; v5.getStyle = v6.getStyle; _global.ASSetPropFlags(v5, '__getTextFormat', 1); _global.ASSetPropFlags(v5, '_getTextFormat', 1); _global.ASSetPropFlags(v5, 'getStyleName', 1); _global.ASSetPropFlags(v5, 'getStyle', 1); var v7 = TextField.prototype; mx.core.ext.UIObjectExtensions.addGeometry(v7, v6); v7.addProperty('enabled', function () { return this.__enabled; }, function (x) { this.__enabled = x; this.invalidateStyle(); }); v7.move = v9.move; v7.setSize = v9.setSize; v7.invalidateStyle = function () { this.invalidateFlag = true; }; v7.draw = function () { if (this.invalidateFlag) { this.invalidateFlag = false; var v2 = this._getTextFormat(); this.setTextFormat(v2); this.setNewTextFormat(v2); this.embedFonts = v2.embedFonts == true; if (this.__text != undefined) { if (this.text == '') { this.text = this.__text; } delete this.__text; } this._visible = true; } }; v7.setColor = function (color) { this.textColor = color; }; v7.getStyle = v5.getStyle; v7.__getTextFormat = v6.__getTextFormat; v7.setValue = function (v) { this.text = v; }; v7.getValue = function () { return this.text; }; v7.addProperty('value', function () { return this.getValue(); }, function (v) { this.setValue(v); }); v7._getTextFormat = function () { var v2 = this.stylecache.tf; if (v2 != undefined) { return v2; } v2 = new TextFormat(); this.__getTextFormat(v2); this.stylecache.tf = v2; if (this.__enabled == false) { if (this.enabledColor == undefined) { var v4 = this.getTextFormat(); this.enabledColor = v4.color; } var v3 = this.getStyle('disabledColor'); v2.color = v3; return v2; } if (this.enabledColor != undefined) { if (v2.color == undefined) { v2.color = this.enabledColor; } } return v2; }; v7.getPreferredWidth = function () { this.draw(); return this.textWidth + 4; }; v7.getPreferredHeight = function () { this.draw(); return this.textHeight + 4; }; TextFormat.prototype.getTextExtent2 = function (s) { var v3 = _root._getTextExtent; if (v3 == undefined) { _root.createTextField('_getTextExtent', -2, 0, 0, 1000, 100); v3 = _root._getTextExtent; v3._visible = false; } _root._getTextExtent.text = s; var v4 = this.align; this.align = 'left'; _root._getTextExtent.setTextFormat(this); this.align = v4; return {'width': v3.textWidth, 'height': v3.textHeight}; }; if (_global.style == undefined) { _global.style = new mx.styles.CSSStyleDeclaration(); _global.cascadingStyles = true; _global.styles = new Object(); _global.skinRegistry = new Object(); if (_global._origWidth == undefined) { _global.origWidth = Stage.width; _global.origHeight = Stage.height; } } var v4 = _root; while (v4._parent != undefined) { v4 = v4._parent; } v4.addProperty('width', function () { return Stage.width; }, null); v4.addProperty('height', function () { return Stage.height; }, null); _global.ASSetPropFlags(v4, 'width', 1); _global.ASSetPropFlags(v4, 'height', 1); return true; }; v1.bExtended = false; v1.UIObjectExtended = mx.core.ext.UIObjectExtensions.Extensions(); v1.UIObjectDependency = mx.core.UIObject; v1.SkinElementDependency = mx.skins.SkinElement; v1.CSSTextStylesDependency = mx.styles.CSSTextStyles; v1.UIEventDispatcherDependency = mx.events.UIEventDispatcher; ASSetPropFlags(mx.core.ext.UIObjectExtensions.prototype, null, 1); } #endinitclip } movieClip 66 __Packages.mx.skins.halo.Defaults { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.halo) { _global.mx.skins.halo = new Object(); } if (!_global.mx.skins.halo.Defaults) { var v1 = function () {}; mx.skins.halo.Defaults = v1; var v2 = v1.prototype; v1.setThemeDefaults = function () { var v2 = _global.style; v2.themeColor = 8453965; v2.disabledColor = 8684164; v2.modalTransparency = 0; v2.filled = true; v2.stroked = true; v2.strokeWidth = 1; v2.strokeColor = 0; v2.fillColor = 16777215; v2.repeatInterval = 35; v2.repeatDelay = 500; v2.fontFamily = '_sans'; v2.fontSize = 12; v2.selectionColor = 13500353; v2.rollOverColor = 14942166; v2.useRollOver = true; v2.backgroundDisabledColor = 14540253; v2.selectionDisabledColor = 14540253; v2.selectionDuration = 200; v2.openDuration = 250; v2.borderStyle = 'inset'; v2.color = 734012; v2.textSelectedColor = 24371; v2.textRollOverColor = 2831164; v2.textDisabledColor = 16777215; v2.vGridLines = true; v2.hGridLines = false; v2.vGridLineColor = 6710886; v2.hGridLineColor = 6710886; v2.headerColor = 15395562; v2.indentation = 17; v2.folderOpenIcon = 'TreeFolderOpen'; v2.folderClosedIcon = 'TreeFolderClosed'; v2.defaultLeafIcon = 'TreeNodeIcon'; v2.disclosureOpenIcon = 'TreeDisclosureOpen'; v2.disclosureClosedIcon = 'TreeDisclosureClosed'; v2.popupDuration = 150; v2.todayColor = 6710886; _global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration(); v2 = _global.styles.ScrollSelectList; v2.backgroundColor = 16777215; v2.borderColor = 13290186; v2.borderStyle = 'inset'; _global.styles.ComboBox = new mx.styles.CSSStyleDeclaration(); v2 = _global.styles.ComboBox; v2.borderStyle = 'inset'; _global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration(); v2 = _global.styles.NumericStepper; v2.textAlign = 'center'; _global.styles.RectBorder = new mx.styles.CSSStyleDeclaration(); v2 = _global.styles.RectBorder; v2.borderColor = 14015965; v2.buttonColor = 7305079; v2.shadowColor = 15658734; v2.highlightColor = 12897484; v2.shadowCapColor = 14015965; v2.borderCapColor = 9542041; var v4 = new Object(); v4.borderColor = 16711680; v4.buttonColor = 16711680; v4.shadowColor = 16711680; v4.highlightColor = 16711680; v4.shadowCapColor = 16711680; v4.borderCapColor = 16711680; mx.core.UIComponent.prototype.origBorderStyles = v4; var v3; _global.styles.TextInput = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.TextInput; v3.backgroundColor = 16777215; v3.borderStyle = 'inset'; _global.styles.TextArea = _global.styles.TextInput; _global.styles.Window = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.Window; v3.borderStyle = 'default'; _global.styles.windowStyles = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.windowStyles; v3.fontWeight = 'bold'; _global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.dataGridStyles; v3.fontWeight = 'bold'; _global.styles.Alert = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.Alert; v3.borderStyle = 'alert'; _global.styles.ScrollView = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.ScrollView; v3.borderStyle = 'inset'; _global.styles.View = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.View; v3.borderStyle = 'none'; _global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.ProgressBar; v3.color = 11187123; v3.fontWeight = 'bold'; _global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.AccordionHeader; v3.fontWeight = 'bold'; v3.fontSize = '11'; _global.styles.Accordion = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.Accordion; v3.borderStyle = 'solid'; v3.backgroundColor = 16777215; v3.borderColor = 9081738; v3.headerHeight = 22; v3.marginBottom = -1; v3.marginTop = -1; v3.marginRight = -1; v3.marginLeft = -1; v3.verticalGap = -1; _global.styles.DateChooser = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.DateChooser; v3.borderColor = 9542041; v3.headerColor = 16777215; _global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.CalendarLayout; v3.fontSize = 10; v3.textAlign = 'right'; v3.color = 2831164; _global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.WeekDayStyle; v3.fontWeight = 'bold'; v3.fontSize = 11; v3.textAlign = 'center'; v3.color = 2831164; _global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.TodayStyle; v3.color = 16777215; _global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration(); v3 = _global.styles.HeaderDateText; v3.fontSize = 12; v3.fontWeight = 'bold'; v3.textAlign = 'center'; }; v2.drawRoundRect = function (x, y, w, h, r, c, alpha, rot, gradient, ratios) { if (typeof r == 'object') { var v18 = r.br; var v16 = r.bl; var v15 = r.tl; var v10 = r.tr; } else { var v10 = r; var v15 = v10; var v16 = v15; var v18 = v16; } if (typeof c == 'object') { if (typeof alpha != 'object') { var v9 = [alpha, alpha]; } else { var v9 = alpha; } if (ratios == undefined) { ratios = [0, 255]; } var v14 = h * 0.7; if (typeof rot != 'object') { var v11 = {'matrixType': 'box', 'x': -v14, 'y': v14, 'w': w * 2, 'h': h * 4, 'r': rot * 0.0174532925199433}; } else { var v11 = rot; } if (gradient == 'radial') { this.beginGradientFill('radial', c, v9, ratios, v11); } else { this.beginGradientFill('linear', c, v9, ratios, v11); } } else { if (c != undefined) { this.beginFill(c, alpha); } } r = v18; var v13 = r - r * Math.SQRT1_2; var v12 = r - r * 0.414213562373095; this.moveTo(x + w, y + h - r); this.lineTo(x + w, y + h - r); this.curveTo(x + w, y + h - v12, x + w - v13, y + h - v13); this.curveTo(x + w - v12, y + h, x + w - r, y + h); r = v16; v13 = r - r * Math.SQRT1_2; v12 = r - r * 0.414213562373095; this.lineTo(x + r, y + h); this.curveTo(x + v12, y + h, x + v13, y + h - v13); this.curveTo(x, y + h - v12, x, y + h - r); r = v15; v13 = r - r * Math.SQRT1_2; v12 = r - r * 0.414213562373095; this.lineTo(x, y + r); this.curveTo(x, y + v12, x + v13, y + v13); this.curveTo(x + v12, y, x + r, y); r = v10; v13 = r - r * Math.SQRT1_2; v12 = r - r * 0.414213562373095; this.lineTo(x + w - r, y); this.curveTo(x + w - v12, y, x + w - v13, y + v13); this.curveTo(x + w, y + v12, x + w, y + r); this.lineTo(x + w, y + h - r); if (c != undefined) { this.endFill(); } }; v1.classConstruct = function () { mx.core.ext.UIObjectExtensions.Extensions(); mx.skins.halo.Defaults.setThemeDefaults(); mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect; return true; }; v1.classConstructed = mx.skins.halo.Defaults.classConstruct(); v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; v1.UIObjectDependency = mx.core.UIObject; ASSetPropFlags(mx.skins.halo.Defaults.prototype, null, 1); } #endinitclip } movieClip 67 __Packages.mx.managers.DepthManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.managers) { _global.mx.managers = new Object(); } if (!_global.mx.managers.DepthManager) { var v1 = function () { MovieClip.prototype.createClassChildAtDepth = this.createClassChildAtDepth; MovieClip.prototype.createChildAtDepth = this.createChildAtDepth; MovieClip.prototype.setDepthTo = this.setDepthTo; MovieClip.prototype.setDepthAbove = this.setDepthAbove; MovieClip.prototype.setDepthBelow = this.setDepthBelow; MovieClip.prototype.findNextAvailableDepth = this.findNextAvailableDepth; MovieClip.prototype.shuffleDepths = this.shuffleDepths; MovieClip.prototype.getDepthByFlag = this.getDepthByFlag; MovieClip.prototype.buildDepthTable = this.buildDepthTable; _global.ASSetPropFlags(MovieClip.prototype, 'createClassChildAtDepth', 1); _global.ASSetPropFlags(MovieClip.prototype, 'createChildAtDepth', 1); _global.ASSetPropFlags(MovieClip.prototype, 'setDepthTo', 1); _global.ASSetPropFlags(MovieClip.prototype, 'setDepthAbove', 1); _global.ASSetPropFlags(MovieClip.prototype, 'setDepthBelow', 1); _global.ASSetPropFlags(MovieClip.prototype, 'findNextAvailableDepth', 1); _global.ASSetPropFlags(MovieClip.prototype, 'shuffleDepths', 1); _global.ASSetPropFlags(MovieClip.prototype, 'getDepthByFlag', 1); _global.ASSetPropFlags(MovieClip.prototype, 'buildDepthTable', 1); }; mx.managers.DepthManager = v1; var v2 = v1.prototype; v1.sortFunction = function (a, b) { if (a.getDepth() > b.getDepth()) { return 1; } return -1; }; v1.test = function (depth) { if (depth == mx.managers.DepthManager.reservedDepth) { return false; } else { return true; } }; v1.createClassObjectAtDepth = function (className, depthSpace, initObj) { var v1; switch (depthSpace) { case mx.managers.DepthManager.kCursor: v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTopmost, initObj); return v1; case mx.managers.DepthManager.kTooltip: v1 = mx.managers.DepthManager.holder.createClassChildAtDepth(className, mx.managers.DepthManager.kTop, initObj); return v1; } return v1; }; v1.createObjectAtDepth = function (linkageName, depthSpace, initObj) { var v1; switch (depthSpace) { case mx.managers.DepthManager.kCursor: v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTopmost, initObj); return v1; case mx.managers.DepthManager.kTooltip: v1 = mx.managers.DepthManager.holder.createChildAtDepth(linkageName, mx.managers.DepthManager.kTop, initObj); return v1; } return v1; }; v2.createClassChildAtDepth = function (className, depthFlag, initObj) { if (this._childCounter == undefined) { this._childCounter = 0; } var v3 = this.buildDepthTable(); var v2 = this.getDepthByFlag(depthFlag, v3); var v6 = 'down'; if (depthFlag == mx.managers.DepthManager.kBottom) { v6 = 'up'; } var v5; if (v3[v2] != undefined) { v5 = v2; v2 = this.findNextAvailableDepth(v2, v3, v6); } var v4 = this.createClassObject(className, 'depthChild' + this._childCounter++, v2, initObj); if (v5 != undefined) { v3[v2] = v4; this.shuffleDepths(v4, v5, v3, v6); } if (depthFlag == mx.managers.DepthManager.kTopmost) { v4._topmost = true; } return v4; }; v2.createChildAtDepth = function (linkageName, depthFlag, initObj) { if (this._childCounter == undefined) { this._childCounter = 0; } var v3 = this.buildDepthTable(); var v2 = this.getDepthByFlag(depthFlag, v3); var v6 = 'down'; if (depthFlag == mx.managers.DepthManager.kBottom) { v6 = 'up'; } var v5; if (v3[v2] != undefined) { v5 = v2; v2 = this.findNextAvailableDepth(v2, v3, v6); } var v4 = this.createObject(linkageName, 'depthChild' + this._childCounter++, v2, initObj); if (v5 != undefined) { v3[v2] = v4; this.shuffleDepths(v4, v5, v3, v6); } if (depthFlag == mx.managers.DepthManager.kTopmost) { v4._topmost = true; } return v4; }; v2.setDepthTo = function (depthFlag) { var v2 = this._parent.buildDepthTable(); var v3 = this._parent.getDepthByFlag(depthFlag, v2); if (v2[v3] != undefined) { this.shuffleDepths(this, v3, v2, undefined); } else { this.swapDepths(v3); } if (depthFlag == mx.managers.DepthManager.kTopmost) { this._topmost = true; } else { delete this._topmost; } }; v2.setDepthAbove = function (targetInstance) { if (targetInstance._parent != this._parent) { return undefined; } var v2 = targetInstance.getDepth() + 1; var v3 = this._parent.buildDepthTable(); if (v3[v2] != undefined && this.getDepth() < v2) { v2 -= 1; } if (v2 > mx.managers.DepthManager.highestDepth) { v2 = mx.managers.DepthManager.highestDepth; } if (v2 == mx.managers.DepthManager.highestDepth) { this._parent.shuffleDepths(this, v2, v3, 'down'); } else { if (v3[v2] != undefined) { this._parent.shuffleDepths(this, v2, v3, undefined); } else { this.swapDepths(v2); } } }; v2.setDepthBelow = function (targetInstance) { if (targetInstance._parent != this._parent) { return undefined; } var v6 = targetInstance.getDepth() - 1; var v3 = this._parent.buildDepthTable(); if (v3[v6] != undefined && this.getDepth() > v6) { v6 += 1; } var v4 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers; var v5; for (v5 in v3) { var v2 = v3[v5]; if (v2._parent != undefined) { v4 = Math.min(v4, v2.getDepth()); } } if (v6 < v4) { v6 = v4; } if (v6 == v4) { this._parent.shuffleDepths(this, v6, v3, 'up'); } else { if (v3[v6] != undefined) { this._parent.shuffleDepths(this, v6, v3, undefined); } else { this.swapDepths(v6); } } }; v2.findNextAvailableDepth = function (targetDepth, depthTable, direction) { var v5 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers; if (targetDepth < v5) { targetDepth = v5; } if (depthTable[targetDepth] == undefined) { return targetDepth; } var v2 = targetDepth; var v1 = targetDepth; if (direction == 'down') { while (depthTable[v1] != undefined) { --v1; } return v1; } while (depthTable[v2] != undefined) { ++v2; } return v2; }; v2.shuffleDepths = function (subject, targetDepth, depthTable, direction) { var v9 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers; var v8 = v9; var v5; for (v5 in depthTable) { var v7 = depthTable[v5]; if (v7._parent != undefined) { v9 = Math.min(v9, v7.getDepth()); } } if (direction == undefined) { if (subject.getDepth() > targetDepth) { direction = 'up'; } else { direction = 'down'; } } var v1 = new Array(); for (v5 in depthTable) { v7 = depthTable[v5]; if (v7._parent != undefined) { v1.push(v7); } } v1.sort(mx.managers.DepthManager.sortFunction); if (direction == 'up') { var v3; var v11; while (v1.length > 0) { v3 = v1.pop(); if (v3 == subject) { break; } } while (v1.length > 0) { v11 = subject.getDepth(); v3 = v1.pop(); var v4 = v3.getDepth(); if (v11 > v4 + 1) { if (v4 >= 0) { subject.swapDepths(v4 + 1); } else { if (v11 > v8 && v4 < v8) { subject.swapDepths(v8); } } } subject.swapDepths(v3); if (v4 == targetDepth) { break; } } } else { if (direction == 'down') { var v3; while (v1.length > 0) { v3 = v1.shift(); if (v3 == subject) { break; } } while (v1.length > 0) { var v11 = v3.getDepth(); v3 = v1.shift(); var v4 = v3.getDepth(); if (v11 < v4 - 1 && v4 > 0) { subject.swapDepths(v4 - 1); } subject.swapDepths(v3); if (v4 == targetDepth) { break; } } } } }; v2.getDepthByFlag = function (depthFlag, depthTable) { var v2 = 0; if (depthFlag == mx.managers.DepthManager.kTop || depthFlag == mx.managers.DepthManager.kNotopmost) { var v5 = 0; var v7 = false; var v8; for (v8 in depthTable) { var v9 = depthTable[v8]; var v3 = typeof v9; if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) { if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) { if (!v9._topmost) { v2 = Math.max(v2, v9.getDepth()); } else { if (!v7) { v5 = v9.getDepth(); v7 = true; } else { v5 = Math.min(v5, v9.getDepth()); } } } } } v2 += 20; if (v7) { if (v2 >= v5) { v2 = v5 - 1; } } } else { if (depthFlag == mx.managers.DepthManager.kBottom) { for (var v8 in depthTable) { var v9 = depthTable[v8]; var v3 = typeof v9; if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) { if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) { v2 = Math.min(v2, v9.getDepth()); } } } v2 -= 20; } else { if (depthFlag == mx.managers.DepthManager.kTopmost) { for (var v8 in depthTable) { var v9 = depthTable[v8]; var v3 = typeof v9; if (v3 == 'movieclip' || v3 == 'object' && v9.__getTextFormat != undefined) { if (v9.getDepth() <= mx.managers.DepthManager.highestDepth) { v2 = Math.max(v2, v9.getDepth()); } } } v2 += 100; } } } if (v2 >= mx.managers.DepthManager.highestDepth) { v2 = mx.managers.DepthManager.highestDepth; } var v6 = mx.managers.DepthManager.lowestDepth + mx.managers.DepthManager.numberOfAuthortimeLayers; for (v9 in depthTable) { var v4 = depthTable[v9]; if (v4._parent != undefined) { v6 = Math.min(v6, v4.getDepth()); } } if (v2 <= v6) { v2 = v6; } return v2; }; v2.buildDepthTable = function (Void) { var v5 = new Array(); var v4; for (v4 in this) { var v2 = this[v4]; var v3 = typeof v2; if (v3 == 'movieclip' || v3 == 'object' && v2.__getTextFormat != undefined) { if (v2._parent == this) { v5[v2.getDepth()] = v2; } } } return v5; }; v1.reservedDepth = 1048575; v1.highestDepth = 1048574; v1.lowestDepth = -16383; v1.numberOfAuthortimeLayers = 383; v1.kCursor = 101; v1.kTooltip = 102; v1.kTop = 201; v1.kBottom = 202; v1.kTopmost = 203; v1.kNotopmost = 204; v1.holder = _root.createEmptyMovieClip('reserved', mx.managers.DepthManager.reservedDepth); v1.__depthManager = new mx.managers.DepthManager(); ASSetPropFlags(mx.managers.DepthManager.prototype, null, 1); } #endinitclip } movieClip 68 __Packages.mx.managers.FocusManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.managers) { _global.mx.managers = new Object(); } if (!_global.mx.managers.FocusManager) { var v1 = function () { super(); }; mx.managers.FocusManager = v1; var v2 = new mx.core.UIComponent(); mx.managers.FocusManager.prototype = v2; v2.__get__defaultPushButton = function () { return this.__defaultPushButton; }; v2.__set__defaultPushButton = function (x) { if (x != this.__defaultPushButton) { this.__defaultPushButton.__set__emphasized(false); this.__defaultPushButton = x; this.defPushButton = x; x.__set__emphasized(true); } return this.__get__defaultPushButton(); }; v2.getMaxTabIndex = function (o) { var v3 = 0; var v6; for (v6 in o) { var v2 = o[v6]; if (v2._parent == o) { if (v2.tabIndex != undefined) { if (v2.tabIndex > v3) { v3 = v2.tabIndex; } } if (v2.tabChildren == true) { var v4 = this.getMaxTabIndex(v2); if (v4 > v3) { v3 = v4; } } } } return v3; }; v2.getNextTabIndex = function (Void) { return this.getMaxTabIndex(this.form) + 1; }; v2.__get__nextTabIndex = function () { return this.getNextTabIndex(); }; v2.relocate = function (Void) { var v2 = mx.managers.SystemManager.__get__screen(); this.move(v2.x - 1, v2.y - 1); }; v2.init = function (Void) { super.init(); this.tabEnabled = false; this._height = 1; this._width = 1; this._y = -1; this._x = -1; this._alpha = 0; this._parent.focusManager = this; this._parent.tabChildren = true; this._parent.tabEnabled = false; this.form = this._parent; this._parent.addEventListener('hide', this); this._parent.addEventListener('reveal', this); mx.managers.SystemManager.init(); mx.managers.SystemManager.addFocusManager(this.form); this.tabCapture.tabIndex = 0; this.watch('enabled', this.enabledChanged); Selection.addListener(this); this.lastMouse = new Object(); _global.ASSetPropFlags(this._parent, 'focusManager', 1); _global.ASSetPropFlags(this._parent, 'tabChildren', 1); _global.ASSetPropFlags(this._parent, 'tabEnabled', 1); }; v2.enabledChanged = function (id, oldValue, newValue) { this._visible = newValue; return newValue; }; v2.activate = function (Void) { Key.addListener(this); this._visible = true; this.activated = this._visible; if (this.lastFocus != undefined) { this.bNeedFocus = true; if (!mx.managers.SystemManager.isMouseDown) { this.doLater(this, 'restoreFocus'); } } }; v2.deactivate = function (Void) { Key.removeListener(this); this._visible = false; this.activated = this._visible; var v2 = this.getSelectionFocus(); var v3 = this.getActualFocus(v2); if (this.isOurFocus(v3)) { this.lastSelFocus = v2; this.lastFocus = v3; } this.cancelAllDoLaters(); }; v2.isOurFocus = function (o) { if (o.focusManager == this) { return true; } while (o != undefined) { if (o.focusManager != undefined) { return false; } if (o._parent == this._parent) { return true; } o = o._parent; } return false; }; v2.onSetFocus = function (o, n) { if (n == null) { if (this.activated) { this.bNeedFocus = true; } } else { var v2 = this.getFocus(); if (this.isOurFocus(v2)) { this.bNeedFocus = false; this.lastFocus = v2; this.lastSelFocus = n; } } }; v2.restoreFocus = function (Void) { var v2 = this.lastSelFocus.hscroll; if (v2 != undefined) { var v5 = this.lastSelFocus.scroll; var v4 = this.lastSelFocus.background; } this.lastFocus.setFocus(); var v3 = Selection; Selection.setSelection(v3.lastBeginIndex, v3.lastEndIndex); if (v2 != undefined) { this.lastSelFocus.scroll = v5; this.lastSelFocus.hscroll = v2; this.lastSelFocus.background = v4; } }; v2.onUnload = function (Void) { mx.managers.SystemManager.removeFocusManager(this.form); }; v2.setFocus = function (o) { if (o == null) { Selection.setFocus(null); } else { if (o.setFocus == undefined) { Selection.setFocus(o); } else { o.setFocus(); } } }; v2.getActualFocus = function (o) { var v1 = o._parent; while (v1 != undefined) { if (v1.focusTextField != undefined) { while (v1.focusTextField != undefined) { o = v1; v1 = v1._parent; if (v1 == undefined) { return undefined; } if (v1.focusTextField == undefined) { return o; } } } if (v1.tabEnabled != true) { return o; } o = v1; v1 = o._parent; } return undefined; }; v2.getSelectionFocus = function () { var m = Selection.getFocus(); var o = eval(m); return o; }; v2.getFocus = function (Void) { var v2 = this.getSelectionFocus(); return this.getActualFocus(v2); }; v2.walkTree = function (p, index, groupName, dir, lookup, firstChild) { var v5 = true; var v11; for (v11 in p) { var v2 = p[v11]; if (v2._parent == p && v2.enabled != false && v2._visible != false && (v2.tabEnabled == true || v2.tabEnabled != false && (v2.onPress != undefined || v2.onRelease != undefined || v2.onReleaseOutside != undefined || v2.onDragOut != undefined || v2.onDragOver != undefined || v2.onRollOver != undefined || v2.onRollOut != undefined || v2 instanceof TextField))) { if (v2._searchKey == this._searchKey) { continue; } v2._searchKey = this._searchKey; if (v2 != this._lastTarget) { if ((v2.groupName != undefined || groupName != undefined) && v2.groupName == groupName) { continue; } if (v2 instanceof TextField && v2.selectable == false) { continue; } if (v5 || v2.groupName != undefined && v2.groupName == this._firstNode.groupName && v2.selected == true) { if (firstChild) { this._firstNode = v2; firstChild = false; } } if (this._nextIsNext == true) { if (v2.groupName != undefined && v2.groupName == this._nextNode.groupName && v2.selected == true || this._nextNode == undefined && (v2.groupName == undefined || v2.groupName != undefined && v2.groupName != groupName)) { this._nextNode = v2; } } if (v2.groupName == undefined || groupName != v2.groupName) { if (this._lastx.groupName != undefined && v2.groupName == this._lastx.groupName && this._lastx.selected == true) { } else { this._lastx = v2; } } } else { this._prevNode = this._lastx; this._needPrev = false; this._nextIsNext = true; } if (v2.tabIndex != undefined) { if (v2.tabIndex == index) { if (this._foundList[v2._name] == undefined) { if (this._needPrev) { this._prevObj = v2; this._needPrev = false; } this._nextObj = v2; } } if (dir && v2.tabIndex > index) { if (this._nextObj == undefined || this._nextObj.tabIndex > v2.tabIndex && (v2.groupName == undefined || this._nextObj.groupName == undefined || v2.groupName != this._nextObj.groupName) || this._nextObj.groupName != undefined && this._nextObj.groupName == v2.groupName && this._nextObj.selected != true && (v2.selected == true || this._nextObj.tabIndex > v2.tabIndex)) { this._nextObj = v2; } } else { if (!dir && v2.tabIndex < index) { if (this._prevObj == undefined || this._prevObj.tabIndex < v2.tabIndex && (v2.groupName == undefined || this._prevObj.groupName == undefined || v2.groupName != this._prevObj.groupName) || this._prevObj.groupName != undefined && this._prevObj.groupName == v2.groupName && this._prevObj.selected != true && (v2.selected == true || this._prevObj.tabIndex < v2.tabIndex)) { this._prevObj = v2; } } } if (this._firstObj == undefined || v2.tabIndex < this._firstObj.tabIndex && (v2.groupName == undefined || this._firstObj.groupName == undefined || v2.groupName != this._firstObj.groupName) || this._firstObj.groupName != undefined && this._firstObj.groupName == v2.groupName && this._firstObj.selected != true && (v2.selected == true || v2.tabIndex < this._firstObj.tabIndex)) { this._firstObj = v2; } if (this._lastObj == undefined || v2.tabIndex > this._lastObj.tabIndex && (v2.groupName == undefined || this._lastObj.groupName == undefined || v2.groupName != this._lastObj.groupName) || this._lastObj.groupName != undefined && this._lastObj.groupName == v2.groupName && this._lastObj.selected != true && (v2.selected == true || v2.tabIndex > this._lastObj.tabIndex)) { this._lastObj = v2; } } if (v2.tabChildren) { this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild); } v5 = false; } else { if (v2._parent == p && v2.tabChildren == true && v2._visible != false) { if (v2 == this._lastTarget) { if (v2._searchKey == this._searchKey) { continue; } v2._searchKey = this._searchKey; if (this._prevNode == undefined) { var v3 = this._lastx; var v7 = false; while (v3 != undefined) { if (v3 == v2) { v7 = true; break; } v3 = v3._parent; } if (v7 == false) { this._prevNode = this._lastx; } } this._needPrev = false; if (this._nextNode == undefined) { this._nextIsNext = true; } } else { if (!(v2.focusManager != undefined && v2.focusManager._parent == v2)) { if (v2._searchKey == this._searchKey) { continue; } v2._searchKey = this._searchKey; this.getTabCandidateFromChildren(v2, index, groupName, dir, v5 && firstChild); } } v5 = false; } } } this._lastNode = this._lastx; if (lookup) { if (p._parent != undefined) { if (p != this._parent) { if (this._prevNode == undefined && dir) { this._needPrev = true; } else { if (this._nextNode == undefined && !dir) { this._nextIsNext = false; } } this._lastTarget = this._lastTarget._parent; this.getTabCandidate(p._parent, index, groupName, dir, true); } } } }; v2.getTabCandidate = function (o, index, groupName, dir, firstChild) { var v2; var v3 = true; if (o == this._parent) { v2 = o; v3 = false; } else { v2 = o._parent; if (v2 == undefined) { v2 = o; v3 = false; } } this.walkTree(v2, index, groupName, dir, v3, firstChild); }; v2.getTabCandidateFromChildren = function (o, index, groupName, dir, firstChild) { this.walkTree(o, index, groupName, dir, false, firstChild); }; v2.getFocusManagerFromObject = function (o) { while (o != undefined) { if (o.focusManager != undefined) { return o.focusManager; } o = o._parent; } return undefined; }; v2.tabHandler = function (Void) { this.bDrawFocus = true; var v5 = this.getSelectionFocus(); var v4 = this.getActualFocus(v5); if (v4 != v5) { v5 = v4; } if (this.getFocusManagerFromObject(v5) != this) { v5 == undefined; } if (v5 == undefined) { v5 = this.form; } else { if (v5.tabIndex != undefined) { if (this._foundList != undefined || this._foundList.tabIndex != v5.tabIndex) { this._foundList = new Object(); this._foundList.tabIndex = v5.tabIndex; } this._foundList[v5._name] = v5; } } var v3 = Key.isDown(16) != true; this._searchKey = getTimer(); this._needPrev = true; this._nextIsNext = false; this._lastx = undefined; this._firstNode = undefined; this._lastNode = undefined; this._nextNode = undefined; this._prevNode = undefined; this._firstObj = undefined; this._lastObj = undefined; this._nextObj = undefined; this._prevObj = undefined; this._lastTarget = v5; var v6 = v5; this.getTabCandidate(v6, (v5.tabIndex == undefined) ? 0 : v5.tabIndex, v5.groupName, v3, true); var v2; if (v3) { if (this._nextObj != undefined) { v2 = this._nextObj; } else { v2 = this._firstObj; } } else { if (this._prevObj != undefined) { v2 = this._prevObj; } else { v2 = this._lastObj; } } if (v2.tabIndex != v5.tabIndex) { this._foundList = new Object(); this._foundList.tabIndex = v2.tabIndex; this._foundList[v2._name] = v2; } else { if (this._foundList == undefined) { this._foundList = new Object(); this._foundList.tabIndex = v2.tabIndex; } this._foundList[v2._name] = v2; } if (v2 == undefined) { if (v3 == false) { if (this._nextNode != undefined) { v2 = this._nextNode; } else { v2 = this._firstNode; } } else { if (this._prevNode == undefined || v5 == this.form) { v2 = this._lastNode; } else { v2 = this._prevNode; } } } if (v2 == undefined) { return undefined; } this.lastTabFocus = v2; this.setFocus(v2); if (v2.emphasized != undefined) { if (this.defPushButton != undefined) { v5 = this.defPushButton; this.defPushButton = v2; v5.emphasized = false; v2.emphasized = true; } } else { if (this.defPushButton != undefined && this.defPushButton != this.__defaultPushButton) { v5 = this.defPushButton; this.defPushButton = this.__defaultPushButton; v5.emphasized = false; this.__defaultPushButton.__set__emphasized(true); } } }; v2.onKeyDown = function (Void) { mx.managers.SystemManager.idleFrames = 0; if (this.defaultPushButtonEnabled) { if (Key.getCode() == 13) { if (this.__get__defaultPushButton() != undefined) { this.doLater(this, 'sendDefaultPushButtonEvent'); } } } }; v2.sendDefaultPushButtonEvent = function (Void) { this.defPushButton.dispatchEvent({'type': 'click'}); }; v2.getMousedComponentFromChildren = function (x, y, o) { for (var v7 in o) { var v2 = o[v7]; if (v2._visible && v2.enabled && v2._parent == o && v2._searchKey != this._searchKey) { v2._searchKey = this._searchKey; if (v2.hitTest(x, y, true)) { if (v2.onPress != undefined || v2.onRelease != undefined) { return v2; } var v3 = this.getMousedComponentFromChildren(x, y, v2); if (v3 != undefined) { return v3; } return v2; } } } return undefined; }; v2.mouseActivate = function (Void) { if (!this.bNeedFocus) { return undefined; } this._searchKey = getTimer(); var v2 = this.getMousedComponentFromChildren(this.lastMouse.x, this.lastMouse.y, this.form); if (v2 instanceof mx.core.UIComponent) { return undefined; } v2 = this.findFocusFromObject(v2); if (v2 == this.lastFocus) { return undefined; } if (v2 == undefined) { this.doLater(this, 'restoreFocus'); return undefined; } var v3 = v2.hscroll; if (v3 != undefined) { var v6 = v2.scroll; var v5 = v2.background; } this.setFocus(v2); var v4 = Selection; Selection.setSelection(v4.lastBeginIndex, v4.lastEndIndex); if (v3 != undefined) { v2.scroll = v6; v2.hscroll = v3; v2.background = v5; } }; v2._onMouseDown = function (Void) { this.bDrawFocus = false; if (this.lastFocus != undefined) { this.lastFocus.drawFocus(false); } mx.managers.SystemManager.idleFrames = 0; var v3 = Selection; v3.lastBeginIndex = Selection.getBeginIndex(); v3.lastEndIndex = Selection.getEndIndex(); this.lastMouse.x = _root._xmouse; this.lastMouse.y = _root._ymouse; _root.localToGlobal(this.lastMouse); }; v2.onMouseUp = function (Void) { if (this._visible) { this.doLater(this, 'mouseActivate'); } }; v2.handleEvent = function (e) { if (e.type == 'reveal') { mx.managers.SystemManager.activate(this.form); } else { mx.managers.SystemManager.deactivate(this.form); } }; v1.enableFocusManagement = function () { if (!mx.managers.FocusManager.initialized) { mx.managers.FocusManager.initialized = true; Object.registerClass('FocusManager', mx.managers.FocusManager); if (_root.focusManager == undefined) { _root.createClassObject(mx.managers.FocusManager, 'focusManager', mx.managers.DepthManager.highestDepth--); } } }; v1.symbolName = 'FocusManager'; v1.symbolOwner = mx.managers.FocusManager; v1.version = '2.0.2.126'; v2.className = 'FocusManager'; v2.bNeedFocus = false; v2.bDrawFocus = false; v2.defaultPushButtonEnabled = true; v2.activated = true; v1.initialized = false; v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; v2.addProperty('defaultPushButton', v2.__get__defaultPushButton, v2.__set__defaultPushButton); v2.addProperty('nextTabIndex', v2.__get__nextTabIndex, function () {}); ASSetPropFlags(mx.managers.FocusManager.prototype, null, 1); } #endinitclip } movieClip 69 __Packages.mx.skins.halo.FocusRect { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.halo) { _global.mx.skins.halo = new Object(); } if (!_global.mx.skins.halo.FocusRect) { var v1 = function () { super(); this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; }; mx.skins.halo.FocusRect = v1; var v2 = new mx.skins.SkinElement(); mx.skins.halo.FocusRect.prototype = v2; v2.draw = function (o) { o.adjustFocusRect(); }; v2.setSize = function (w, h, r, a, rectCol) { this._yscale = 100; this._xscale = 100; this.clear(); if (typeof r == 'object') { r.br = r.br > 2 ? r.br - 2 : 0; r.bl = r.bl > 2 ? r.bl - 2 : 0; r.tr = r.tr > 2 ? r.tr - 2 : 0; r.tl = r.tl > 2 ? r.tl - 2 : 0; this.beginFill(rectCol, a * 0.3); this.drawRoundRect(0, 0, w, h, r); this.drawRoundRect(2, 2, w - 4, h - 4, r); this.endFill(); r.br = r.br > 1 ? r.br + 1 : 0; r.bl = r.bl > 1 ? r.bl + 1 : 0; r.tr = r.tr > 1 ? r.tr + 1 : 0; r.tl = r.tl > 1 ? r.tl + 1 : 0; this.beginFill(rectCol, a * 0.3); this.drawRoundRect(1, 1, w - 2, h - 2, r); r.br = r.br > 1 ? r.br - 1 : 0; r.bl = r.bl > 1 ? r.bl - 1 : 0; r.tr = r.tr > 1 ? r.tr - 1 : 0; r.tl = r.tl > 1 ? r.tl - 1 : 0; this.drawRoundRect(2, 2, w - 4, h - 4, r); this.endFill(); } else { var v5; if (r != 0) { v5 = r - 2; } else { v5 = 0; } this.beginFill(rectCol, a * 0.3); this.drawRoundRect(0, 0, w, h, r); this.drawRoundRect(2, 2, w - 4, h - 4, v5); this.endFill(); this.beginFill(rectCol, a * 0.3); if (r != 0) { v5 = r - 2; r -= 1; } else { v5 = 0; r = 0; } this.drawRoundRect(1, 1, w - 2, h - 2, r); this.drawRoundRect(2, 2, w - 4, h - 4, v5); this.endFill(); } }; v2.handleEvent = function (e) { if (e.type == 'unload') { this._visible = true; } else { if (e.type == 'resize') { e.target.adjustFocusRect(); } else { if (e.type == 'move') { e.target.adjustFocusRect(); } } } }; v1.classConstruct = function () { mx.core.UIComponent.prototype.drawFocus = function (focused) { var v2 = this._parent.focus_mc; if (!focused) { v2._visible = false; this.removeEventListener('unload', v2); this.removeEventListener('move', v2); this.removeEventListener('resize', v2); } else { if (v2 == undefined) { v2 = this._parent.createChildAtDepth('FocusRect', mx.managers.DepthManager.kTop); v2.tabEnabled = false; this._parent.focus_mc = v2; } else { v2._visible = true; } v2.draw(this); if (v2.getDepth() < this.getDepth()) { v2.setDepthAbove(this); } this.addEventListener('unload', v2); this.addEventListener('move', v2); this.addEventListener('resize', v2); } }; mx.core.UIComponent.prototype.adjustFocusRect = function () { var v2 = this.getStyle('themeColor'); if (v2 == undefined) { v2 = 8453965; } var v3 = this._parent.focus_mc; v3.setSize(this.width + 4, this.height + 4, 0, 100, v2); v3.move(this.x - 2, this.y - 2); }; TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus; TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect; mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect; return true; }; v1.classConstructed = mx.skins.halo.FocusRect.classConstruct(); v1.DefaultsDependency = mx.skins.halo.Defaults; v1.UIComponentDependency = mx.core.UIComponent; ASSetPropFlags(mx.skins.halo.FocusRect.prototype, null, 1); } #endinitclip } movieClip 70 __Packages.mx.managers.OverlappedWindows { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.managers) { _global.mx.managers = new Object(); } if (!_global.mx.managers.OverlappedWindows) { var v1 = function () {}; mx.managers.OverlappedWindows = v1; var v2 = v1.prototype; v1.checkIdle = function (Void) { if (mx.managers.SystemManager.idleFrames > 10) { mx.managers.SystemManager.dispatchEvent({'type': 'idle'}); } else { ++mx.managers.SystemManager.idleFrames; } }; v1.__addEventListener = function (e, o, l) { if (e == 'idle') { if (mx.managers.SystemManager.interval == undefined) { mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100); } } mx.managers.SystemManager._xAddEventListener(e, o, l); }; v1.__removeEventListener = function (e, o, l) { if (e == 'idle') { if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) { clearInterval(mx.managers.SystemManager.interval); } } else { mx.managers.SystemManager._xRemoveEventListener(e, o, l); } }; v1.onMouseDown = function (Void) { mx.managers.SystemManager.idleFrames = 0; mx.managers.SystemManager.isMouseDown = true; var v5 = _root; var v3; var v8 = _root._xmouse; var v7 = _root._ymouse; if (mx.managers.SystemManager.form.modalWindow == undefined) { if (mx.managers.SystemManager.forms.length > 1) { var v6 = mx.managers.SystemManager.forms.length; var v4; v4 = 0; while (v4 < v6) { var v2 = mx.managers.SystemManager.forms[v4]; if (v2._visible) { if (v2.hitTest(v8, v7)) { if (v3 == undefined) { v3 = v2.getDepth(); v5 = v2; } else { if (v3 < v2.getDepth()) { v3 = v2.getDepth(); v5 = v2; } } } } ++v4; } if (v5 != mx.managers.SystemManager.form) { mx.managers.SystemManager.activate(v5); } } } var v9 = mx.managers.SystemManager.form; v9.focusManager._onMouseDown(); }; v1.onMouseMove = function (Void) { mx.managers.SystemManager.idleFrames = 0; }; v1.onMouseUp = function (Void) { mx.managers.SystemManager.isMouseDown = false; mx.managers.SystemManager.idleFrames = 0; }; v1.activate = function (f) { if (mx.managers.SystemManager.form != undefined) { if (mx.managers.SystemManager.form != f && mx.managers.SystemManager.forms.length > 1) { var v1 = mx.managers.SystemManager.form; v1.focusManager.deactivate(); } } mx.managers.SystemManager.form = f; f.focusManager.activate(); }; v1.deactivate = function (f) { if (mx.managers.SystemManager.form != undefined) { if (mx.managers.SystemManager.form == f && mx.managers.SystemManager.forms.length > 1) { var v5 = mx.managers.SystemManager.form; v5.focusManager.deactivate(); var v3 = mx.managers.SystemManager.forms.length; var v1; var v2; v1 = 0; while (v1 < v3) { if (mx.managers.SystemManager.forms[v1] == f) { v1 += 1; while (v1 < v3) { if (mx.managers.SystemManager.forms[v1]._visible == true) { v2 = mx.managers.SystemManager.forms[v1]; } ++v1; } mx.managers.SystemManager.form = v2; break; } else { if (mx.managers.SystemManager.forms[v1]._visible == true) { v2 = mx.managers.SystemManager.forms[v1]; } } ++v1; } v5 = mx.managers.SystemManager.form; v5.focusManager.activate(); } } }; v1.addFocusManager = function (f) { mx.managers.SystemManager.forms.push(f); mx.managers.SystemManager.activate(f); }; v1.removeFocusManager = function (f) { var v3 = mx.managers.SystemManager.forms.length; var v1; v1 = 0; while (v1 < v3) { if (mx.managers.SystemManager.forms[v1] == f) { if (mx.managers.SystemManager.form == f) { mx.managers.SystemManager.deactivate(f); } mx.managers.SystemManager.forms.splice(v1, 1); return undefined; } ++v1; } }; v1.enableOverlappedWindows = function () { if (!mx.managers.OverlappedWindows.initialized) { mx.managers.OverlappedWindows.initialized = true; mx.managers.SystemManager.checkIdle = mx.managers.OverlappedWindows.checkIdle; mx.managers.SystemManager.__addEventListener = mx.managers.OverlappedWindows.__addEventListener; mx.managers.SystemManager.__removeEventListener = mx.managers.OverlappedWindows.__removeEventListener; mx.managers.SystemManager.onMouseDown = mx.managers.OverlappedWindows.onMouseDown; mx.managers.SystemManager.onMouseMove = mx.managers.OverlappedWindows.onMouseMove; mx.managers.SystemManager.onMouseUp = mx.managers.OverlappedWindows.onMouseUp; mx.managers.SystemManager.activate = mx.managers.OverlappedWindows.activate; mx.managers.SystemManager.deactivate = mx.managers.OverlappedWindows.deactivate; mx.managers.SystemManager.addFocusManager = mx.managers.OverlappedWindows.addFocusManager; mx.managers.SystemManager.removeFocusManager = mx.managers.OverlappedWindows.removeFocusManager; } }; v1.initialized = false; v1.SystemManagerDependency = mx.managers.SystemManager; ASSetPropFlags(mx.managers.OverlappedWindows.prototype, null, 1); } #endinitclip } movieClip 71 __Packages.mx.styles.CSSSetStyle { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.styles) { _global.mx.styles = new Object(); } if (!_global.mx.styles.CSSSetStyle) { var v1 = function () {}; mx.styles.CSSSetStyle = v1; var v2 = v1.prototype; v2._setStyle = function (styleProp, newValue) { this[styleProp] = newValue; if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) { if (styleProp == 'color') { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return undefined; } } } _level0.changeTextStyleInChildren(styleProp); return undefined; } if (mx.styles.StyleManager.isColorStyle(styleProp)) { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return undefined; } } if (styleProp == 'themeColor') { var v7 = mx.styles.StyleManager.colorNames.haloBlue; var v6 = mx.styles.StyleManager.colorNames.haloGreen; var v8 = mx.styles.StyleManager.colorNames.haloOrange; var v4 = {}; v4[v7] = 12188666; v4[v6] = 13500353; v4[v8] = 16766319; var v5 = {}; v5[v7] = 13958653; v5[v6] = 14942166; v5[v8] = 16772787; var v9 = v4[newValue]; var v10 = v5[newValue]; if (v9 == undefined) { v9 = newValue; } if (v10 == undefined) { v10 = newValue; } this.setStyle('selectionColor', v9); this.setStyle('rollOverColor', v10); } _level0.changeColorStyleInChildren(this.styleName, styleProp, newValue); } else { if (styleProp == 'backgroundColor' && isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return undefined; } } _level0.notifyStyleChangeInChildren(this.styleName, styleProp, newValue); } }; v2.changeTextStyleInChildren = function (styleProp) { var v4 = getTimer(); var v5; for (v5 in this) { var v2 = this[v5]; if (v2._parent == this) { if (v2.searchKey != v4) { if (v2.stylecache != undefined) { delete v2.stylecache.tf; delete v2.stylecache[styleProp]; } v2.invalidateStyle(styleProp); v2.changeTextStyleInChildren(styleProp); v2.searchKey = v4; } } } }; v2.changeColorStyleInChildren = function (sheetName, colorStyle, newValue) { var v6 = getTimer(); var v7; for (v7 in this) { var v2 = this[v7]; if (v2._parent == this) { if (v2.searchKey != v6) { if (v2.getStyleName() == sheetName || sheetName == undefined || sheetName == '_global') { if (v2.stylecache != undefined) { delete v2.stylecache[colorStyle]; } if (typeof v2._color == 'string') { if (v2._color == colorStyle) { var v4 = v2.getStyle(colorStyle); if (colorStyle == 'color') { if (this.stylecache.tf.color != undefined) { this.stylecache.tf.color = v4; } } v2.setColor(v4); } } else { if (v2._color[colorStyle] != undefined) { if (typeof v2 != 'movieclip') { v2._parent.invalidateStyle(); } else { v2.invalidateStyle(colorStyle); } } } } v2.changeColorStyleInChildren(sheetName, colorStyle, newValue); v2.searchKey = v6; } } } }; v2.notifyStyleChangeInChildren = function (sheetName, styleProp, newValue) { var v5 = getTimer(); var v6; for (v6 in this) { var v2 = this[v6]; if (v2._parent == this) { if (v2.searchKey != v5) { if (v2.styleName == sheetName || v2.styleName != undefined && typeof v2.styleName == 'movieclip' || sheetName == undefined) { if (v2.stylecache != undefined) { delete v2.stylecache[styleProp]; delete v2.stylecache.tf; } delete v2.enabledColor; v2.invalidateStyle(styleProp); } v2.notifyStyleChangeInChildren(sheetName, styleProp, newValue); v2.searchKey = v5; } } } }; v2.setStyle = function (styleProp, newValue) { if (this.stylecache != undefined) { delete this.stylecache[styleProp]; delete this.stylecache.tf; } this[styleProp] = newValue; if (mx.styles.StyleManager.isColorStyle(styleProp)) { if (isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return undefined; } } if (styleProp == 'themeColor') { var v10 = mx.styles.StyleManager.colorNames.haloBlue; var v9 = mx.styles.StyleManager.colorNames.haloGreen; var v11 = mx.styles.StyleManager.colorNames.haloOrange; var v6 = {}; v6[v10] = 12188666; v6[v9] = 13500353; v6[v11] = 16766319; var v7 = {}; v7[v10] = 13958653; v7[v9] = 14942166; v7[v11] = 16772787; var v12 = v6[newValue]; var v13 = v7[newValue]; if (v12 == undefined) { v12 = newValue; } if (v13 == undefined) { v13 = newValue; } this.setStyle('selectionColor', v12); this.setStyle('rollOverColor', v13); } if (typeof this._color == 'string') { if (this._color == styleProp) { if (styleProp == 'color') { if (this.stylecache.tf.color != undefined) { this.stylecache.tf.color = newValue; } } this.setColor(newValue); } } else { if (this._color[styleProp] != undefined) { this.invalidateStyle(styleProp); } } this.changeColorStyleInChildren(undefined, styleProp, newValue); } else { if (styleProp == 'backgroundColor' && isNaN(newValue)) { newValue = mx.styles.StyleManager.getColorName(newValue); this[styleProp] = newValue; if (newValue == undefined) { return undefined; } } this.invalidateStyle(styleProp); } if (mx.styles.StyleManager.isInheritingStyle(styleProp) || styleProp == 'styleName') { var v8; var v5 = newValue; if (styleProp == 'styleName') { v8 = (typeof newValue == 'string') ? _global.styles[newValue] : v5; v5 = v8.themeColor; if (v5 != undefined) { v8.selectionColor = v5; v8.rollOverColor = v8.selectionColor; } } this.notifyStyleChangeInChildren(undefined, styleProp, newValue); } }; v1.enableRunTimeCSS = function () {}; v1.classConstruct = function () { var v2 = MovieClip.prototype; var v3 = mx.styles.CSSSetStyle.prototype; mx.styles.CSSStyleDeclaration.prototype.setStyle = v3._setStyle; v2.changeTextStyleInChildren = v3.changeTextStyleInChildren; v2.changeColorStyleInChildren = v3.changeColorStyleInChildren; v2.notifyStyleChangeInChildren = v3.notifyStyleChangeInChildren; v2.setStyle = v3.setStyle; _global.ASSetPropFlags(v2, 'changeTextStyleInChildren', 1); _global.ASSetPropFlags(v2, 'changeColorStyleInChildren', 1); _global.ASSetPropFlags(v2, 'notifyStyleChangeInChildren', 1); _global.ASSetPropFlags(v2, 'setStyle', 1); var v4 = TextField.prototype; v4.setStyle = v2.setStyle; v4.changeTextStyleInChildren = v3.changeTextStyleInChildren; return true; }; v1.classConstructed = mx.styles.CSSSetStyle.classConstruct(); v1.CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration; ASSetPropFlags(mx.styles.CSSSetStyle.prototype, null, 1); } #endinitclip } movieClip 72 __Packages.mx.core.ext.UIComponentExtensions { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.ext) { _global.mx.core.ext = new Object(); } if (!_global.mx.core.ext.UIComponentExtensions) { var v1 = function () {}; mx.core.ext.UIComponentExtensions = v1; var v2 = v1.prototype; v1.Extensions = function () { if (mx.core.ext.UIComponentExtensions.bExtended == true) { return true; } mx.core.ext.UIComponentExtensions.bExtended = true; TextField.prototype.setFocus = function () { Selection.setFocus(this); }; TextField.prototype.onSetFocus = function (oldFocus) { if (this.tabEnabled != false) { if ((this.getFocusManager()).bDrawFocus) { this.drawFocus(true); } } }; TextField.prototype.onKillFocus = function (oldFocus) { if (this.tabEnabled != false) { this.drawFocus(false); } }; TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus; TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager; mx.managers.OverlappedWindows.enableOverlappedWindows(); mx.styles.CSSSetStyle.enableRunTimeCSS(); mx.managers.FocusManager.enableFocusManagement(); }; v1.bExtended = false; v1.UIComponentExtended = mx.core.ext.UIComponentExtensions.Extensions(); v1.UIComponentDependency = mx.core.UIComponent; v1.FocusManagerDependency = mx.managers.FocusManager; v1.OverlappedWindowsDependency = mx.managers.OverlappedWindows; ASSetPropFlags(mx.core.ext.UIComponentExtensions.prototype, null, 1); } #endinitclip } movieClip 73 __Packages.mx.skins.halo.RectBorder { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.halo) { _global.mx.skins.halo = new Object(); } if (!_global.mx.skins.halo.RectBorder) { var v1 = function () { super(); }; mx.skins.halo.RectBorder = v1; var v2 = new mx.skins.RectBorder(); mx.skins.halo.RectBorder.prototype = v2; v2.init = function (Void) { this.borderWidths.default = 3; super.init(); }; v2.getBorderMetrics = function (Void) { if (this.offset == undefined) { var v3 = this.getStyle(this.borderStyleName); this.offset = this.borderWidths[v3]; } if (this.getStyle(this.borderStyleName) == 'default' || this.getStyle(this.borderStyleName) == 'alert') { this.__borderMetrics = {'left': 3, 'top': 1, 'right': 3, 'bottom': 3}; return this.__borderMetrics; } return super.getBorderMetrics(); }; v2.drawBorder = function (Void) { var v6 = _global.styles[this.className]; if (v6 == undefined) { v6 = _global.styles.RectBorder; } var v5 = this.getStyle(this.borderStyleName); var v7 = this.getStyle(this.borderColorName); if (v7 == undefined) { v7 = v6[this.borderColorName]; } var v8 = this.getStyle(this.backgroundColorName); if (v8 == undefined) { v8 = v6[this.backgroundColorName]; } var v16 = this.getStyle('backgroundImage'); if (v5 != 'none') { var v14 = this.getStyle(this.shadowColorName); if (v14 == undefined) { v14 = v6[this.shadowColorName]; } var v13 = this.getStyle(this.highlightColorName); if (v13 == undefined) { v13 = v6[this.highlightColorName]; } var v12 = this.getStyle(this.buttonColorName); if (v12 == undefined) { v12 = v6[this.buttonColorName]; } var v11 = this.getStyle(this.borderCapColorName); if (v11 == undefined) { v11 = v6[this.borderCapColorName]; } var v10 = this.getStyle(this.shadowCapColorName); if (v10 == undefined) { v10 = v6[this.shadowCapColorName]; } } this.offset = this.borderWidths[v5]; var v9 = this.offset; var v3 = this.__get__width(); var v4 = this.__get__height(); this.clear(); this._color = undefined; if (v5 == 'none') { } else { if (v5 == 'inset') { this._color = this.colorList; this.draw3dBorder(v11, v12, v7, v13, v14, v10); } else { if (v5 == 'outset') { this._color = this.colorList; this.draw3dBorder(v11, v7, v12, v14, v13, v10); } else { if (v5 == 'alert') { var v15 = this.getStyle('themeColor'); this.drawRoundRect(0, 5, v3, v4 - 5, 5, 6184542, 10); this.drawRoundRect(1, 4, v3 - 2, v4 - 5, 4, [6184542, 6184542], 10, 0, 'radial'); this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(2, 0, v3 - 4, v4 - 2, 3, v15, 50); this.drawRoundRect(3, 1, v3 - 6, v4 - 4, 2, 16777215, 100); } else { if (v5 == 'default') { this.drawRoundRect(0, 5, v3, v4 - 5, {'tl': 5, 'tr': 5, 'br': 0, 'bl': 0}, 6184542, 10); this.drawRoundRect(1, 4, v3 - 2, v4 - 5, {'tl': 4, 'tr': 4, 'br': 0, 'bl': 0}, [6184542, 6184542], 10, 0, 'radial'); this.drawRoundRect(2, 0, v3 - 4, v4 - 2, {'tl': 3, 'tr': 3, 'br': 0, 'bl': 0}, [12897484, 11844796], 100, 0, 'radial'); this.drawRoundRect(3, 1, v3 - 6, v4 - 4, {'tl': 2, 'tr': 2, 'br': 0, 'bl': 0}, 16777215, 100); } else { if (v5 == 'dropDown') { this.drawRoundRect(0, 0, v3 + 1, v4, {'tl': 4, 'tr': 0, 'br': 0, 'bl': 4}, [13290186, 7895160], 100, -10, 'linear'); this.drawRoundRect(1, 1, v3 - 1, v4 - 2, {'tl': 3, 'tr': 0, 'br': 0, 'bl': 3}, 16777215, 100); } else { if (v5 == 'menuBorder') { var v15 = this.getStyle('themeColor'); this.drawRoundRect(4, 4, v3 - 2, v4 - 3, 0, [6184542, 6184542], 10, 0, 'radial'); this.drawRoundRect(4, 4, v3 - 1, v4 - 2, 0, 6184542, 10); this.drawRoundRect(0, 0, v3 + 1, v4, 0, [0, 14342874], 100, 250, 'linear'); this.drawRoundRect(0, 0, v3 + 1, v4, 0, v15, 50); this.drawRoundRect(2, 2, v3 - 3, v4 - 4, 0, 16777215, 100); } else { if (v5 == 'comboNonEdit') { } else { this.beginFill(v7); this.drawRect(0, 0, v3, v4); this.drawRect(1, 1, v3 - 1, v4 - 1); this.endFill(); this._color = this.borderColorName; } } } } } } } } if (v8 != undefined) { this.beginFill(v8); this.drawRect(v9, v9, this.__get__width() - v9, this.__get__height() - v9); this.endFill(); } }; v2.draw3dBorder = function (c1, c2, c3, c4, c5, c6) { var v3 = this.__get__width(); var v2 = this.__get__height(); this.beginFill(c1); this.drawRect(0, 0, v3, v2); this.drawRect(1, 0, v3 - 1, v2); this.endFill(); this.beginFill(c2); this.drawRect(1, 0, v3 - 1, 1); this.endFill(); this.beginFill(c3); this.drawRect(1, v2 - 1, v3 - 1, v2); this.endFill(); this.beginFill(c4); this.drawRect(1, 1, v3 - 1, 2); this.endFill(); this.beginFill(c5); this.drawRect(1, v2 - 2, v3 - 1, v2 - 1); this.endFill(); this.beginFill(c6); this.drawRect(1, 2, v3 - 1, v2 - 2); this.drawRect(2, 2, v3 - 2, v2 - 2); this.endFill(); }; v1.classConstruct = function () { mx.core.ext.UIObjectExtensions.Extensions(); _global.styles.rectBorderClass = mx.skins.halo.RectBorder; _global.skinRegistry.RectBorder = true; return true; }; v1.symbolName = 'RectBorder'; v1.symbolOwner = mx.skins.halo.RectBorder; v1.version = '2.0.2.126'; v2.borderCapColorName = 'borderCapColor'; v2.shadowCapColorName = 'shadowCapColor'; v2.colorList = {'highlightColor': 0, 'borderColor': 0, 'buttonColor': 0, 'shadowColor': 0, 'borderCapColor': 0, 'shadowCapColor': 0}; v2.borderWidths = {'none': 0, 'solid': 1, 'inset': 2, 'outset': 2, 'alert': 3, 'dropDown': 2, 'menuBorder': 2, 'comboNonEdit': 2}; v1.classConstructed = mx.skins.halo.RectBorder.classConstruct(); v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; ASSetPropFlags(mx.skins.halo.RectBorder.prototype, null, 1); } #endinitclip } movieClip 74 __Packages.mx.controls.listclasses.DataSelector { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.listclasses) { _global.mx.controls.listclasses = new Object(); } if (!_global.mx.controls.listclasses.DataSelector) { var v1 = function () { super(); }; mx.controls.listclasses.DataSelector = v1; var v2 = new Object(); mx.controls.listclasses.DataSelector.prototype = v2; v1.Initialize = function (obj) { var v3 = mx.controls.listclasses.DataSelector.mixinProps; var v4 = v3.length; obj = obj.prototype; var v1 = 0; while (v1 < v4) { obj[v3[v1]] = mx.controls.listclasses.DataSelector.mixins[v3[v1]]; ++v1; } mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'dataProvider', true); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'length', false); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'value', false); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedIndex', true); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedIndices', true); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedItems', false); mx.controls.listclasses.DataSelector.mixins.createProp(obj, 'selectedItem', true); return true; }; v2.createProp = function (obj, propName, setter) { var p = (propName.charAt(0)).toUpperCase() + propName.substr(1); var v2 = null; var v4 = function (Void) { return this['get' + p](); }; if (setter) { v2 = function (val) { this['set' + p](val); }; } obj.addProperty(propName, v4, v2); }; v2.setDataProvider = function (dP) { if (this.__vPosition != 0) { this.setVPosition(0); } this.clearSelected(); this.__dataProvider.removeEventListener(this); this.__dataProvider = dP; dP.addEventListener('modelChanged', this); dP.addView(this); this.modelChanged({'eventName': 'updateAll'}); }; v2.getDataProvider = function (Void) { return this.__dataProvider; }; v2.addItemAt = function (index, label, data) { if (index < 0 || !this.enabled) { return undefined; } var v2 = this.__dataProvider; if (v2 == undefined) { this.__dataProvider = new Array(); v2 = this.__dataProvider; v2.addEventListener('modelChanged', this); index = 0; } if (typeof label == 'object' || typeof v2.getItemAt(0) == 'string') { v2.addItemAt(index, label); } else { v2.addItemAt(index, {'label': label, 'data': data}); } }; v2.addItem = function (label, data) { this.addItemAt(this.__dataProvider.length, label, data); }; v2.removeItemAt = function (index) { return this.__dataProvider.removeItemAt(index); }; v2.removeAll = function (Void) { this.__dataProvider.removeAll(); }; v2.replaceItemAt = function (index, newLabel, newData) { if (typeof newLabel == 'object') { this.__dataProvider.replaceItemAt(index, newLabel); } else { this.__dataProvider.replaceItemAt(index, {'label': newLabel, 'data': newData}); } }; v2.sortItemsBy = function (fieldName, order) { this.lastSelID = this.__dataProvider.getItemID(this.lastSelected); this.__dataProvider.sortItemsBy(fieldName, order); }; v2.sortItems = function (compareFunc, order) { this.lastSelID = this.__dataProvider.getItemID(this.lastSelected); this.__dataProvider.sortItems(compareFunc, order); }; v2.getLength = function (Void) { return this.__dataProvider.length; }; v2.getItemAt = function (index) { return this.__dataProvider.getItemAt(index); }; v2.modelChanged = function (eventObj) { var v3 = eventObj.firstItem; var v6 = eventObj.lastItem; var v7 = eventObj.eventName; if (v7 == undefined) { v7 = eventObj.event; v3 = eventObj.firstRow; v6 = eventObj.lastRow; if (v7 == 'addRows') { eventObj.eventName = 'addItems'; v7 = 'addItems'; } else { if (v7 == 'deleteRows') { eventObj.eventName = 'removeItems'; v7 = 'removeItems'; } else { if (v7 == 'updateRows') { eventObj.eventName = 'updateItems'; v7 = 'updateItems'; } } } } if (v7 == 'addItems') { for (var v2 in this.selected) { var v5 = this.selected[v2]; if (v5 != undefined && v5 >= v3) { this.selected[v2] += v6 - v3 + 1; } } } else { if (v7 == 'removeItems') { if (this.__dataProvider.length == 0) { delete this.selected; } else { var v9 = eventObj.removedIDs; var v10 = v9.length; var v2 = 0; while (v2 < v10) { var v4 = v9[v2]; if (this.selected[v4] != undefined) { delete this.selected[v4]; } ++v2; } for (v2 in this.selected) { if (this.selected[v2] >= v3) { this.selected[v2] -= v6 - v3 + 1; } } } } else { if (v7 == 'sort') { if (typeof this.__dataProvider.getItemAt(0) != 'object') { delete this.selected; } else { var v10 = this.__dataProvider.length; var v2 = 0; while (v2 < v10) { if (this.isSelected(v2)) { var v4 = this.__dataProvider.getItemID(v2); if (v4 == this.lastSelID) { this.lastSelected = v2; } this.selected[v4] = v2; } ++v2; } } } else { if (v7 == 'filterModel') { this.setVPosition(0); } } } } this.invUpdateControl = true; this.invalidate(); }; v2.getValue = function (Void) { var v2 = this.getSelectedItem(); if (typeof v2 != 'object') { return v2; } return (v2.data == undefined) ? v2.label : v2.data; }; v2.getSelectedIndex = function (Void) { for (var v3 in this.selected) { var v2 = this.selected[v3]; if (v2 != undefined) { return v2; } } }; v2.setSelectedIndex = function (index) { if (index >= 0 && index < this.__dataProvider.length && this.enabled) { delete this.selected; this.selectItem(index, true); this.lastSelected = index; this.invUpdateControl = true; this.invalidate(); } else { if (index == undefined) { this.clearSelected(); } } }; v2.getSelectedIndices = function (Void) { var v2 = new Array(); for (var v3 in this.selected) { v2.push(this.selected[v3]); } v2.reverse(); return v2.length > 0 ? v2 : undefined; }; v2.setSelectedIndices = function (indexArray) { if (this.multipleSelection != true) { return undefined; } delete this.selected; var v3 = 0; while (v3 < indexArray.length) { var v2 = indexArray[v3]; if (v2 >= 0 && v2 < this.__dataProvider.length) { this.selectItem(v2, true); } ++v3; } this.invUpdateControl = true; this.updateControl(); }; v2.getSelectedItems = function (Void) { var v3 = this.getSelectedIndices(); var v4 = new Array(); var v2 = 0; while (v2 < v3.length) { v4.push(this.getItemAt(v3[v2])); ++v2; } return v4.length > 0 ? v4 : undefined; }; v2.getSelectedItem = function (Void) { return this.__dataProvider.getItemAt(this.getSelectedIndex()); }; v2.selectItem = function (index, selectedFlag) { if (this.selected == undefined) { this.selected = new Object(); } var v2 = this.__dataProvider.getItemID(index); if (v2 == undefined) { return undefined; } if (selectedFlag && !this.isSelected(index)) { this.selected[v2] = index; } else { if (!selectedFlag) { delete this.selected[v2]; } } }; v2.isSelected = function (index) { var v2 = this.__dataProvider.getItemID(index); if (v2 == undefined) { return false; } return this.selected[v2] != undefined; }; v2.clearSelected = function (transition) { var v3 = 0; for (var v4 in this.selected) { var v2 = this.selected[v4]; if (v2 != undefined && this.__vPosition <= v2 && v2 < this.__vPosition + this.__rowCount) { this.rows[v2 - this.__vPosition].drawRow(this.rows[v2 - this.__vPosition].item, 'normal', transition && v3 % 3 == 0); } ++v3; } delete this.selected; }; v1.mixins = new mx.controls.listclasses.DataSelector(); v1.mixinProps = ['setDataProvider', 'getDataProvider', 'addItem', 'addItemAt', 'removeAll', 'removeItemAt', 'replaceItemAt', 'sortItemsBy', 'sortItems', 'getLength', 'getItemAt', 'modelChanged', 'calcPreferredWidthFromData', 'calcPreferredHeightFromData', 'getValue', 'getSelectedIndex', 'getSelectedItem', 'getSelectedIndices', 'getSelectedItems', 'selectItem', 'isSelected', 'clearSelected', 'setSelectedIndex', 'setSelectedIndices']; ASSetPropFlags(mx.controls.listclasses.DataSelector.prototype, null, 1); } #endinitclip } movieClip 75 __Packages.mx.controls.ComboBase { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.ComboBase) { var v1 = function () { super(); this.getValue = this._getValue; }; mx.controls.ComboBase = v1; var v2 = new mx.core.UIComponent(); mx.controls.ComboBase.prototype = v2; v2.init = function () { super.init(); this.tabEnabled = !this._editable; this.tabChildren = this._editable; this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; }; v2.createChildren = function () { var v3 = new Object(); v3.styleName = this; if (this.downArrow_mc == undefined) { v3.falseUpSkin = this.downArrowUpName; v3.falseOverSkin = this.downArrowOverName; v3.falseDownSkin = this.downArrowDownName; v3.falseDisabledSkin = this.downArrowDisabledName; v3.validateNow = true; v3.tabEnabled = false; this.createClassObject(mx.controls.SimpleButton, 'downArrow_mc', 19, v3); this.downArrow_mc.buttonDownHandler = this.onDownArrow; this.downArrow_mc.useHandCursor = false; this.downArrow_mc.onPressWas = this.downArrow_mc.onPress; this.downArrow_mc.onPress = function () { this.trackAsMenuWas = this.trackAsMenu; this.trackAsMenu = true; if (!this._editable) { this._parent.text_mc.trackAsMenu = this.trackAsMenu; } this.onPressWas(); }; this.downArrow_mc.onDragOutWas = this.downArrow_mc.onDragOut; this.downArrow_mc.onDragOut = function () { this.trackAsMenuWas = this.trackAsMenu; this.trackAsMenu = false; if (!this._editable) { this._parent.text_mc.trackAsMenu = this.trackAsMenu; } this.onDragOutWas(); }; this.downArrow_mc.onDragOverWas = this.downArrow_mc.onDragOver; this.downArrow_mc.onDragOver = function () { this.trackAsMenu = this.trackAsMenuWas; if (!this._editable) { this._parent.text_mc.trackAsMenu = this.trackAsMenu; } this.onDragOverWas(); }; } if (this.border_mc == undefined) { v3.tabEnabled = false; this.createClassObject(_global.styles.rectBorderClass, 'border_mc', 17, v3); this.border_mc.move(0, 0); this.__border = this.border_mc; } v3.borderStyle = 'none'; v3.readOnly = !this._editable; v3.tabEnabled = this._editable; if (this.text_mc == undefined) { this.createClassObject(mx.controls.TextInput, 'text_mc', 18, v3); this.text_mc.move(0, 0); this.text_mc.addEnterEvents(); this.text_mc.enterHandler = this._enterHandler; this.text_mc.changeHandler = this._changeHandler; this.text_mc.oldOnSetFocus = this.text_mc.onSetFocus; this.text_mc.onSetFocus = function () { this.oldOnSetFocus(); this._parent.onSetFocus(); }; this.text_mc.__set__restrict('^'); this.text_mc.oldOnKillFocus = this.text_mc.onKillFocus; this.text_mc.onKillFocus = function (n) { this.oldOnKillFocus(n); this._parent.onKillFocus(n); }; this.text_mc.drawFocus = function (b) { this._parent.drawFocus(b); }; delete this.text_mc.borderStyle; } this.focusTextField = this.text_mc; this.text_mc.owner = this; this.layoutChildren(this.__width, this.__height); }; v2.onKillFocus = function () { super.onKillFocus(); Key.removeListener(this.text_mc); (this.getFocusManager()).defaultPushButtonEnabled = true; }; v2.onSetFocus = function () { super.onSetFocus(); (this.getFocusManager()).defaultPushButtonEnabled = false; Key.addListener(this.text_mc); }; v2.setFocus = function () { if (this._editable) { Selection.setFocus(this.text_mc); } else { Selection.setFocus(this); } }; v2.setSize = function (w, h, noEvent) { super.setSize(w, (h == undefined) ? this.__get__height() : h, noEvent); }; v2.setEnabled = function (enabledFlag) { super.setEnabled(enabledFlag); this.downArrow_mc.enabled = enabledFlag; this.text_mc.enabled = enabledFlag; }; v2.setEditable = function (e) { this._editable = e; if (this.wrapDownArrowButton == false) { if (e) { this.border_mc.borderStyle = 'inset'; this.text_mc.borderStyle = 'inset'; mx.controls.ComboBase.symbolName = 'ComboBox'; this.invalidateStyle(); } else { this.border_mc.borderStyle = 'comboNonEdit'; this.text_mc.borderStyle = 'dropDown'; mx.controls.ComboBase.symbolName = 'DropDown'; this.invalidateStyle(); } } this.tabEnabled = !e; this.tabChildren = e; this.text_mc.tabEnabled = e; if (e) { delete this.text_mc.onPress; delete this.text_mc.onRelease; delete this.text_mc.onReleaseOutside; delete this.text_mc.onDragOut; delete this.text_mc.onDragOver; delete this.text_mc.onRollOver; delete this.text_mc.onRollOut; } else { this.text_mc.onPress = function () { this._parent.downArrow_mc.onPress(); }; this.text_mc.onRelease = function () { this._parent.downArrow_mc.onRelease(); }; this.text_mc.onReleaseOutside = function () { this._parent.downArrow_mc.onReleaseOutside(); }; this.text_mc.onDragOut = function () { this._parent.downArrow_mc.onDragOut(); }; this.text_mc.onDragOver = function () { this._parent.downArrow_mc.onDragOver(); }; this.text_mc.onRollOver = function () { this._parent.downArrow_mc.onRollOver(); }; this.text_mc.onRollOut = function () { this._parent.downArrow_mc.onRollOut(); }; this.text_mc.useHandCursor = false; } }; v2.__get__editable = function () { return this._editable; }; v2.__set__editable = function (e) { this.setEditable(e); return this.__get__editable(); }; v2._getValue = function () { return this._editable ? this.text_mc.getText() : this.DSgetValue(); }; v2.draw = function () { this.downArrow_mc.draw(); this.border_mc.draw(); }; v2.size = function () { this.layoutChildren(this.__width, this.__height); }; v2.setTheme = function (t) { this.downArrowUpName = t + 'downArrow' + 'Up_mc'; this.downArrowDownName = t + 'downArrow' + 'Down_mc'; this.downArrowDisabledName = t + 'downArrow' + 'Disabled_mc'; }; v2.__get__text = function () { return this.text_mc.getText(); }; v2.__set__text = function (t) { this.setText(t); return this.__get__text(); }; v2.setText = function (t) { this.text_mc.setText(t); }; v2.__get__textField = function () { return this.text_mc; }; v2.__get__restrict = function () { return this.text_mc.__get__restrict(); }; v2.__set__restrict = function (w) { this.text_mc.__set__restrict(w); return this.__get__restrict(); }; v2.invalidateStyle = function () { this.downArrow_mc.invalidateStyle(); this.text_mc.invalidateStyle(); this.border_mc.invalidateStyle(); }; v2.layoutChildren = function (w, h) { if (this.downArrow_mc == undefined) { return undefined; } if (this.wrapDownArrowButton) { var v2 = this.border_mc.__get__borderMetrics(); this.downArrow_mc._height = h - v2.top - v2.bottom; this.downArrow_mc._width = this.downArrow_mc._height; this.downArrow_mc.move(w - this.downArrow_mc._width - v2.right, v2.top); this.border_mc.setSize(w, h); this.text_mc.setSize(w - this.downArrow_mc._width, h); } else { this.downArrow_mc.move(w - this.downArrow_mc._width, 0); this.border_mc.setSize(w - this.downArrow_mc.width, h); this.text_mc.setSize(w - this.downArrow_mc._width, h); this.downArrow_mc._height = this.height; } }; v2._changeHandler = function (obj) {}; v2._enterHandler = function (obj) { var v2 = this._parent; obj.target = v2; v2.dispatchEvent(obj); }; v2.__get__tabIndex = function () { return this.text_mc.__get__tabIndex(); }; v2.__set__tabIndex = function (w) { this.text_mc.__set__tabIndex(w); return this.__get__tabIndex(); }; v1.mixIt1 = mx.controls.listclasses.DataSelector.Initialize(mx.controls.ComboBase); v1.symbolName = 'ComboBase'; v1.symbolOwner = mx.controls.ComboBase; v1.version = '2.0.2.126'; v2._editable = false; v2.downArrowUpName = 'ScrollDownArrowUp'; v2.downArrowDownName = 'ScrollDownArrowDown'; v2.downArrowOverName = 'ScrollDownArrowOver'; v2.downArrowDisabledName = 'ScrollDownArrowDisabled'; v2.wrapDownArrowButton = true; v2.DSgetValue = mx.controls.listclasses.DataSelector.prototype.getValue; v2.multipleSelection = false; v2.addProperty('editable', v2.__get__editable, v2.__set__editable); v2.addProperty('restrict', v2.__get__restrict, v2.__set__restrict); v2.addProperty('tabIndex', v2.__get__tabIndex, v2.__set__tabIndex); v2.addProperty('text', v2.__get__text, v2.__set__text); v2.addProperty('textField', v2.__get__textField, function () {}); ASSetPropFlags(mx.controls.ComboBase.prototype, null, 1); } #endinitclip } movieClip 76 __Packages.mx.controls.ComboBox { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.ComboBox) { var v1 = function () { super(); }; mx.controls.ComboBox = v1; var v2 = new mx.controls.ComboBase(); mx.controls.ComboBox.prototype = v2; v2.init = function () { super.init(); }; v2.createChildren = function () { super.createChildren(); this.__set__editable(this.editable); if (this.__labels.length > 0) { var v6 = new Array(); var v3 = 0; while (v3 < (this.__get__labels()).length) { v6.addItem({'label': (this.__get__labels())[v3], 'data': this.data[v3]}); ++v3; } this.setDataProvider(v6); } this.__set__dropdownWidth((typeof this.__dropdownWidth == 'number') ? this.__dropdownWidth : this.__width); if (!this._editable) { this.selectedIndex = 0; } this.initializing = false; }; v2.onKillFocus = function (n) { if (this._showingDropdown && n != null) { this.displayDropdown(false); } super.onKillFocus(); }; v2.getDropdown = function () { if (this.initializing) { return undefined; } if (!this.hasDropdown()) { var v3 = new Object(); v3.styleName = this; if (this.dropdownBorderStyle != undefined) { v3.borderStyle = this.dropdownBorderStyle; } v3._visible = false; this.__dropdown = mx.managers.PopUpManager.createPopUp(this, mx.controls.List, false, v3, true); this.__dropdown.scroller.mask.removeMovieClip(); if (this.dataProvider == undefined) { this.dataProvider = new Array(); } this.__dropdown.setDataProvider(this.dataProvider); this.__dropdown.selectMultiple = false; this.__dropdown.rowCount = this.__rowCount; this.__dropdown.selectedIndex = this.selectedIndex; this.__dropdown.vScrollPolicy = 'auto'; this.__dropdown.labelField = this.__labelField; this.__dropdown.labelFunction = this.__labelFunction; this.__dropdown.owner = this; this.__dropdown.changeHandler = this._changeHandler; this.__dropdown.scrollHandler = this._scrollHandler; this.__dropdown.itemRollOverHandler = this._itemRollOverHandler; this.__dropdown.itemRollOutHandler = this._itemRollOutHandler; this.__dropdown.resizeHandler = this._resizeHandler; this.__dropdown.mouseDownOutsideHandler = function (eventObj) { var v3 = this.owner; var v4 = new Object(); v4.x = v3._root._xmouse; v4.y = v3._root._ymouse; v3._root.localToGlobal(v4); if (v3.hitTest(v4.x, v4.y, false)) { } else { if (!this.wrapDownArrowButton && this.owner.downArrow_mc.hitTest(_root._xmouse, _root._ymouse, false)) { } else { v3.displayDropdown(false); } } }; this.__dropdown.onTweenUpdate = function (v) { this._y = v; }; this.__dropdown.setSize(this.__dropdownWidth, this.__dropdown.height); this.createObject('BoundingBox', 'mask', 20); this.mask._y = this.border_mc.height; this.mask._width = this.__dropdownWidth; this.mask._height = this.__dropdown.height; this.mask._visible = false; this.__dropdown.setMask(this.mask); } return this.__dropdown; }; v2.setSize = function (w, h, noEvent) { super.setSize(w, h, noEvent); this.__dropdownWidth = w; this.__dropdown.rowHeight = h; this.__dropdown.setSize(this.__dropdownWidth, this.__dropdown.height); }; v2.setEditable = function (e) { super.setEditable(e); if (e) { this.text_mc.setText(''); } else { this.text_mc.setText(this.__get__selectedLabel()); } }; v2.__get__labels = function () { return this.__labels; }; v2.__set__labels = function (lbls) { this.__labels = lbls; this.setDataProvider(lbls); return this.__get__labels(); }; v2.getLabelField = function () { return this.__labelField; }; v2.__get__labelField = function () { return this.getLabelField(); }; v2.setLabelField = function (s) { this.__labelField = s; this.__dropdown.labelField = this.__labelField; this.text_mc.setText(this.__get__selectedLabel()); }; v2.__set__labelField = function (s) { this.setLabelField(s); return this.__get__labelField(); }; v2.getLabelFunction = function () { return this.__labelFunction; }; v2.__get__labelFunction = function () { return this.getLabelFunction(); }; v2.__set__labelFunction = function (f) { this.__labelFunction = f; this.__dropdown.labelFunction = this.__labelFunction; this.text_mc.setText(this.__get__selectedLabel()); return this.__get__labelFunction(); }; v2.setSelectedItem = function (v) { super.setSelectedItem(v); this.__dropdown.selectedItem = v; this.text_mc.setText(this.__get__selectedLabel()); }; v2.setSelectedIndex = function (v) { super.setSelectedIndex(v); this.__dropdown.selectedIndex = v; if (v != undefined) { this.text_mc.setText(this.__get__selectedLabel()); } this.dispatchValueChangedEvent(this.getValue()); }; v2.setRowCount = function (count) { if (isNaN(count)) { return undefined; } this.__rowCount = count; this.__dropdown.setRowCount(count); }; v2.__get__rowCount = function () { return Math.max(1, Math.min(this.length, this.__rowCount)); }; v2.__set__rowCount = function (v) { this.setRowCount(v); return this.__get__rowCount(); }; v2.setDropdownWidth = function (w) { this.__dropdownWidth = w; this.__dropdown.setSize(w, this.__dropdown.height); }; v2.__get__dropdownWidth = function () { return this.__dropdownWidth; }; v2.__set__dropdownWidth = function (v) { this.setDropdownWidth(v); return this.__get__dropdownWidth(); }; v2.__get__dropdown = function () { return this.getDropdown(); }; v2.setDataProvider = function (dp) { super.setDataProvider(dp); this.__dropdown.setDataProvider(dp); if (!this._editable) { this.selectedIndex = 0; } }; v2.open = function () { this.displayDropdown(true); }; v2.close = function () { this.displayDropdown(false); }; v2.__get__selectedLabel = function () { var v2 = this.selectedItem; if (v2 == undefined) { return ''; } else { if (this.__get__labelFunction() != undefined) { return (this.__get__labelFunction())(v2); } else { if (typeof v2 != 'object') { return v2; } else { if (v2[this.__get__labelField()] != undefined) { return v2[this.__get__labelField()]; } else { if (v2.label != undefined) { return v2.label; } else { var v3 = ' '; for (var v4 in v2) { if (v4 != '__ID__') { v3 = v2[v4] + ', ' + v3; } } v3 = v3.substring(0, v3.length - 3); return v3; } } } } } }; v2.hasDropdown = function () { return this.__dropdown != undefined && this.__dropdown.valueOf() != undefined; }; v2.tweenEndShow = function (value) { this._y = value; this.isPressed = true; this.owner.dispatchEvent({'type': 'open', 'target': this.owner}); }; v2.tweenEndHide = function (value) { this._y = value; this.__set__visible(false); this.owner.dispatchEvent({'type': 'close', 'target': this.owner}); }; v2.displayDropdown = function (show) { if (show == this._showingDropdown) { return undefined; } var v3 = new Object(); v3.x = 0; v3.y = this.height; this.localToGlobal(v3); if (show) { this.__selectedIndexOnDropdown = this.selectedIndex; this.__initialSelectedIndexOnDropdown = this.selectedIndex; this.getDropdown(); var v2 = this.__dropdown; v2.isPressed = true; v2.rowCount = this.rowCount; v2.visible = show; v2._parent.globalToLocal(v3); v2.onTweenEnd = this.tweenEndShow; var v5; var v8; if (v3.y + v2.height > Stage.height) { v5 = v3.y - this.__get__height(); v8 = v5 - v2.height; this.mask._y = -v2.height; } else { v5 = v3.y - v2.height; v8 = v3.y; this.mask._y = this.border_mc.height; } var v6 = v2.selectedIndex; if (v6 == undefined) { v6 = 0; } var v4 = v2.vPosition; v4 = v6 - 1; v4 = Math.min(Math.max(v4, 0), v2.length - v2.rowCount); v2.vPosition = v4; v2.move(v3.x, v5); v2.tween = new mx.effects.Tween(this.__dropdown, v5, v8, this.getStyle('openDuration')); } else { this.__dropdown._parent.globalToLocal(v3); delete this.__dropdown.dragScrolling; this.__dropdown.onTweenEnd = this.tweenEndHide; this.__dropdown.tween = new mx.effects.Tween(this.__dropdown, this.__dropdown._y, v3.y - this.__dropdown.height, this.getStyle('openDuration')); if (this.__initialSelectedIndexOnDropdown != this.selectedIndex) { this.dispatchChangeEvent(undefined, this.__initialSelectedIndexOnDropdown, this.selectedIndex); } } var v9 = this.getStyle('openEasing'); if (v9 != undefined) { this.__dropdown.tween.easingEquation = v9; } this._showingDropdown = show; }; v2.onDownArrow = function () { this._parent.displayDropdown(!this._parent._showingDropdown); }; v2.keyDown = function (e) { if (e.ctrlKey && e.code == 40) { this.displayDropdown(true); } else { if (e.ctrlKey && e.code == 38) { this.displayDropdown(false); this.dispatchChangeEvent(undefined, this.__selectedIndexOnDropdown, this.selectedIndex); } else { if (e.code == 27) { this.displayDropdown(false); } else { if (e.code == 13) { if (this._showingDropdown) { this.selectedIndex = this.__dropdown.selectedIndex; this.displayDropdown(false); } } else { if (!this._editable || e.code == 38 || e.code == 40 || e.code == 33 || e.code == 34) { this.selectedIndex = +this.selectedIndex; this.bInKeyDown = true; var v3 = this.__get__dropdown(); v3.keyDown(e); this.bInKeyDown = false; this.selectedIndex = this.__dropdown.selectedIndex; } } } } } }; v2.invalidateStyle = function (styleProp) { this.__dropdown.invalidateStyle(styleProp); super.invalidateStyle(styleProp); }; v2.changeTextStyleInChildren = function (styleProp) { if ((this.__get__dropdown()).stylecache != undefined) { delete (this.__get__dropdown()).stylecache[styleProp]; delete (this.__get__dropdown()).stylecache.tf; } this.__dropdown.changeTextStyleInChildren(styleProp); super.changeTextStyleInChildren(styleProp); }; v2.changeColorStyleInChildren = function (sheetName, styleProp, newValue) { if ((this.__get__dropdown()).stylecache != undefined) { delete (this.__get__dropdown()).stylecache[styleProp]; delete (this.__get__dropdown()).stylecache.tf; } this.__dropdown.changeColorStyleInChildren(sheetName, styleProp, newValue); super.changeColorStyleInChildren(sheetName, styleProp, newValue); }; v2.notifyStyleChangeInChildren = function (sheetName, styleProp, newValue) { if ((this.__get__dropdown()).stylecache != undefined) { delete (this.__get__dropdown()).stylecache[styleProp]; delete (this.__get__dropdown()).stylecache.tf; } this.__dropdown.notifyStyleChangeInChildren(sheetName, styleProp, newValue); super.notifyStyleChangeInChildren(sheetName, styleProp, newValue); }; v2.onUnload = function () { this.__dropdown.removeMovieClip(); }; v2._resizeHandler = function () { var v2 = this.owner; v2.mask._width = this.width; v2.mask._height = this.height; }; v2._changeHandler = function (obj) { var v2 = this.owner; var v3 = v2.selectedIndex; obj.target = v2; if (this == this.owner.text_mc) { v2.selectedIndex = undefined; v2.dispatchChangeEvent(obj, -1, -2); } else { v2.selectedIndex = this.selectedIndex; if (!v2._showingDropdown) { v2.dispatchChangeEvent(obj, v3, v2.selectedIndex); } else { if (!v2.bInKeyDown) { v2.displayDropdown(false); } } } }; v2._scrollHandler = function (obj) { var v2 = this.owner; obj.target = v2; v2.dispatchEvent(obj); }; v2._itemRollOverHandler = function (obj) { var v2 = this.owner; obj.target = v2; v2.dispatchEvent(obj); }; v2._itemRollOutHandler = function (obj) { var v2 = this.owner; obj.target = v2; v2.dispatchEvent(obj); }; v2.modelChanged = function (eventObj) { super.modelChanged(eventObj); if (0 == this.__dataProvider.length) { this.text_mc.setText(''); delete this.selected; } else { if (this.__dataProvider.length == eventObj.lastItem - eventObj.firstItem + 1 && eventObj.eventName == 'addItems') { this.selectedIndex = 0; } } }; v2.dispatchChangeEvent = function (obj, prevValue, newValue) { var v2; if (prevValue != newValue) { if (obj != undefined && obj.type == 'change') { v2 = obj; } else { v2 = {'type': 'change'}; } this.dispatchEvent(v2); } }; v1.symbolName = 'ComboBox'; v1.symbolOwner = mx.controls.ComboBox; v1.version = '2.0.2.126'; v2.clipParameters = {'labels': 1, 'data': 1, 'editable': 1, 'rowCount': 1, 'dropdownWidth': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.ComboBox.prototype.clipParameters, mx.controls.ComboBase.prototype.clipParameters); v2.className = 'ComboBox'; v2._showingDropdown = false; v2.__rowCount = 5; v2.dropdownBorderStyle = undefined; v2.initializing = true; v2.__labelField = 'label'; v2.bInKeyDown = false; v2.addProperty('dropdown', v2.__get__dropdown, function () {}); v2.addProperty('dropdownWidth', v2.__get__dropdownWidth, v2.__set__dropdownWidth); v2.addProperty('labelField', v2.__get__labelField, v2.__set__labelField); v2.addProperty('labelFunction', v2.__get__labelFunction, v2.__set__labelFunction); v2.addProperty('labels', v2.__get__labels, v2.__set__labels); v2.addProperty('rowCount', v2.__get__rowCount, v2.__set__rowCount); v2.addProperty('selectedLabel', v2.__get__selectedLabel, function () {}); ASSetPropFlags(mx.controls.ComboBox.prototype, null, 1); } #endinitclip } movieClip 157 __Packages.mx.managers.PopUpManager { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.managers) { _global.mx.managers = new Object(); } if (!_global.mx.managers.PopUpManager) { var v1 = function () {}; mx.managers.PopUpManager = v1; var v2 = v1.prototype; v1.createModalWindow = function (parent, o, broadcastOutsideEvents) { var v2 = parent.createChildAtDepth('Modal', mx.managers.DepthManager.kTopmost); v2.setDepthBelow(o); o.modalID = v2._name; v2._alpha = _global.style.modalTransparency; v2.tabEnabled = false; if (broadcastOutsideEvents) { v2.onPress = mx.managers.PopUpManager.mixins.onPress; } else { v2.onPress = mx.managers.PopUpManager.mixins.nullFunction; } v2.onRelease = mx.managers.PopUpManager.mixins.nullFunction; v2.resize = mx.managers.PopUpManager.mixins.resize; mx.managers.SystemManager.init(); mx.managers.SystemManager.addEventListener('resize', v2); v2.resize(); v2.useHandCursor = false; v2.popUp = o; o.modalWindow = v2; o.deletePopUp = mx.managers.PopUpManager.mixins.deletePopUp; o.setVisible = mx.managers.PopUpManager.mixins.setVisible; o.getVisible = mx.managers.PopUpManager.mixins.getVisible; o.addProperty('visible', o.getVisible, o.setVisible); }; v1.createPopUp = function (parent, className, modal, initobj, broadcastOutsideEvents) { if (mx.managers.PopUpManager.mixins == undefined) { mx.managers.PopUpManager.mixins = new mx.managers.PopUpManager(); } if (broadcastOutsideEvents == undefined) { broadcastOutsideEvents = false; } var v5 = parent._root; if (v5 == undefined) { v5 = _root; } while (parent != v5) { parent = parent._parent; } initobj.popUp = true; var v4 = parent.createClassChildAtDepth(className, (broadcastOutsideEvents || modal) ? mx.managers.DepthManager.kTopmost : mx.managers.DepthManager.kTop, initobj); var v2 = _root; var v6 = v2.focusManager != undefined; while (v2._parent != undefined) { v2 = v2._parent._root; if (v2.focusManager != undefined) { v6 = true; break; } } if (v6) { v4.createObject('FocusManager', 'focusManager', -1); if (v4._visible == false) { mx.managers.SystemManager.deactivate(v4); } } if (modal) { mx.managers.PopUpManager.createModalWindow(parent, v4, broadcastOutsideEvents); return v4; } if (broadcastOutsideEvents) { v4.mouseListener = new Object(); v4.mouseListener.owner = v4; v4.mouseListener.onMouseDown = mx.managers.PopUpManager.mixins.onMouseDown; Mouse.addListener(v4.mouseListener); } v4.deletePopUp = mx.managers.PopUpManager.mixins.deletePopUp; return v4; }; v2.onPress = function (Void) { var v3 = this.popUp._root; if (v3 == undefined) { v3 = _root; } if (this.popUp.hitTest(v3._xmouse, v3._ymouse, false)) { return undefined; } this.popUp.dispatchEvent({'type': 'mouseDownOutside'}); }; v2.nullFunction = function (Void) {}; v2.resize = function (Void) { var v2 = mx.managers.SystemManager.__get__screen(); this.setSize(v2.width, v2.height); this.move(v2.x, v2.y); }; v2.deletePopUp = function (Void) { if (this.modalWindow != undefined) { this._parent.destroyObject(this.modalWindow._name); } this._parent.destroyObject(this._name); }; v2.setVisible = function (v, noEvent) { super.setVisible(v, noEvent); this.modalWindow._visible = v; }; v2.getVisible = function (Void) { return this._visible; }; v2.onMouseDown = function (Void) { var v3 = this.owner._root; if (v3 == undefined) { v3 = _root; } var v4 = new Object(); v4.x = v3._xmouse; v4.y = v3._ymouse; v3.localToGlobal(v4); if (this.owner.hitTest(v4.x, v4.y, false)) { } else { this.owner.mouseDownOutsideHandler(this.owner); } }; v1.version = '2.0.2.126'; v1.mixins = undefined; ASSetPropFlags(mx.managers.PopUpManager.prototype, null, 1); } #endinitclip } movieClip 158 __Packages.mx.core.View { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.View) { var v1 = function () { super(); }; mx.core.View = v1; var v2 = new mx.core.UIComponent(); mx.core.View.prototype = v2; v2.init = function () { super.init(); this.tabChildren = true; this.tabEnabled = false; this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; }; v2.size = function () { this.border_mc.move(0, 0); this.border_mc.setSize(this.__get__width(), this.__get__height()); this.doLayout(); }; v2.draw = function () { this.size(); }; v2.__get__numChildren = function () { var v3 = mx.core.View.childNameBase; var v2 = 0; while (!false) { if (this[v3 + v2] == undefined) { return v2; } ++v2; } return -1; }; v2.__get__tabIndex = function () { return this.tabEnabled ? this.__tabIndex : undefined; }; v2.addLayoutObject = function (object) {}; v2.createChild = function (className, instanceName, initProps) { if (this.depth == undefined) { this.depth = 1; } var v2; if (typeof className == 'string') { v2 = this.createObject(className, instanceName, this.depth++, initProps); } else { v2 = this.createClassObject(className, instanceName, this.depth++, initProps); } if (v2 == undefined) { v2 = this.loadExternal(className, this._loadExternalClass, instanceName, this.depth++, initProps); this.addLayoutObject(v2); return v2; } this[mx.core.View.childNameBase + this.__get__numChildren()] = v2; v2._complete = true; this.childLoaded(v2); this.addLayoutObject(v2); return v2; }; v2.getChildAt = function (childIndex) { return this[mx.core.View.childNameBase + childIndex]; }; v2.destroyChildAt = function (childIndex) { if (!(childIndex >= 0 && childIndex < this.__get__numChildren())) { return undefined; } var v4 = mx.core.View.childNameBase + childIndex; var v6 = this.__get__numChildren(); var v3; for (v3 in this) { if (v3 == v4) { v4 = ''; this.destroyObject(v3); break; } } var v2 = Number(childIndex); while (v2 < v6 - 1) { this[mx.core.View.childNameBase + v2] = this[mx.core.View.childNameBase + (v2 + 1)]; ++v2; } delete this[mx.core.View.childNameBase + (v6 - 1)]; --this.depth; }; v2.initLayout = function () { if (!this.hasBeenLayedOut) { this.doLayout(); } }; v2.doLayout = function () { this.hasBeenLayedOut = true; }; v2.createChildren = function () { if (this.border_mc == undefined) { this.border_mc = this.createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {'styleName': this}); } this.doLater(this, 'initLayout'); }; v2.convertToUIObject = function (obj) {}; v2.childLoaded = function (obj) { this.convertToUIObject(obj); }; v1.extension = function () { mx.core.ExternalContent.enableExternalContent(); }; v1.symbolName = 'View'; v1.symbolOwner = mx.core.View; v1.version = '2.0.2.126'; v2.className = 'View'; v1.childNameBase = '_child'; v2.hasBeenLayedOut = false; v2._loadExternalClass = 'UIComponent'; v2.addProperty('numChildren', v2.__get__numChildren, function () {}); v2.addProperty('tabIndex', v2.__get__tabIndex, function () {}); ASSetPropFlags(mx.core.View.prototype, null, 1); } #endinitclip } movieClip 159 __Packages.mx.core.ExternalContent { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.ExternalContent) { var v1 = function () {}; mx.core.ExternalContent = v1; var v2 = v1.prototype; v2.loadExternal = function (url, placeholderClassName, instanceName, depth, initProps) { var v2; v2 = this.createObject(placeholderClassName, instanceName, depth, initProps); this[mx.core.View.childNameBase + this.numChildren] = v2; if (this.prepList == undefined) { this.prepList = new Object(); } this.prepList[instanceName] = {'obj': v2, 'url': url, 'complete': false, 'initProps': initProps}; this.prepareToLoadMovie(v2); return v2; }; v2.prepareToLoadMovie = function (obj) { obj.unloadMovie(); this.doLater(this, 'waitForUnload'); }; v2.waitForUnload = function () { var v3; for (v3 in this.prepList) { var v2 = this.prepList[v3]; if (v2.obj.getBytesTotal() == 0) { if (this.loadList == undefined) { this.loadList = new Object(); } this.loadList[v3] = v2; v2.obj.loadMovie(v2.url); delete this.prepList[v3]; this.doLater(this, 'checkLoadProgress'); } else { this.doLater(this, 'waitForUnload'); } } }; v2.checkLoadProgress = function () { var v8 = false; var v3; for (v3 in this.loadList) { var v2 = this.loadList[v3]; v2.loaded = v2.obj.getBytesLoaded(); v2.total = v2.obj.getBytesTotal(); if (v2.total > 0) { v2.obj._visible = false; this.dispatchEvent({'type': 'progress', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total}); if (v2.loaded == v2.total) { if (this.loadedList == undefined) { this.loadedList = new Object(); } this.loadedList[v3] = v2; delete this.loadList[v3]; this.doLater(this, 'contentLoaded'); } } else { if (v2.total == -1) { if (v2.failedOnce != undefined) { ++v2.failedOnce; if (v2.failedOnce > 3) { this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total}); delete this.loadList[v3]; false; } } else { v2.failedOnce = 0; } } } v8 = true; } if (v8) { this.doLater(this, 'checkLoadProgress'); } }; v2.contentLoaded = function () { var v4; for (v4 in this.loadedList) { var v2 = this.loadedList[v4]; v2.obj._visible = true; v2.obj._complete = true; var v3; for (v3 in v2.initProps) { v2.obj[v3] = v2.initProps[v3]; } this.childLoaded(v2.obj); this.dispatchEvent({'type': 'complete', 'target': v2.obj, 'current': v2.loaded, 'total': v2.total}); delete this.loadedList[v4]; false; } }; v2.convertToUIObject = function (obj) { if (obj.setSize == undefined) { var v2 = mx.core.UIObject.prototype; obj.addProperty('width', v2.__get__width, null); obj.addProperty('height', v2.__get__height, null); obj.addProperty('left', v2.__get__left, null); obj.addProperty('x', v2.__get__x, null); obj.addProperty('top', v2.__get__top, null); obj.addProperty('y', v2.__get__y, null); obj.addProperty('right', v2.__get__right, null); obj.addProperty('bottom', v2.__get__bottom, null); obj.addProperty('visible', v2.__get__visible, v2.__set__visible); obj.move = mx.core.UIObject.prototype.move; obj.setSize = mx.core.UIObject.prototype.setSize; obj.size = mx.core.UIObject.prototype.size; mx.events.UIEventDispatcher.initialize(obj); } }; v1.enableExternalContent = function () {}; v1.classConstruct = function () { var v1 = mx.core.View.prototype; var v2 = mx.core.ExternalContent.prototype; v1.loadExternal = v2.loadExternal; v1.prepareToLoadMovie = v2.prepareToLoadMovie; v1.waitForUnload = v2.waitForUnload; v1.checkLoadProgress = v2.checkLoadProgress; v1.contentLoaded = v2.contentLoaded; v1.convertToUIObject = v2.convertToUIObject; return true; }; v1.classConstructed = mx.core.ExternalContent.classConstruct(); v1.ViewDependency = mx.core.View; ASSetPropFlags(mx.core.ExternalContent.prototype, null, 1); } #endinitclip } movieClip 160 __Packages.mx.skins.CustomBorder { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.CustomBorder) { var v1 = function () { super(); }; mx.skins.CustomBorder = v1; var v2 = new mx.skins.Border(); mx.skins.CustomBorder.prototype = v2; v2.__get__width = function () { return this.__width; }; v2.__get__height = function () { return this.__height; }; v2.init = function (Void) { super.init(); }; v2.createChildren = function (Void) {}; v2.draw = function (Void) { if (this.l_mc == undefined) { var v2 = this.setSkin(mx.skins.CustomBorder.tagL, this.leftSkin); if (this.horizontal) { this.minHeight = this.l_mc._height; this.minWidth = this.l_mc._width; } else { this.minHeight = this.l_mc._height; this.minWidth = this.l_mc._width; } } if (this.m_mc == undefined) { this.setSkin(mx.skins.CustomBorder.tagM, this.middleSkin); if (this.horizontal) { this.minHeight = this.m_mc._height; this.minWidth += this.m_mc._width; } else { this.minHeight += this.m_mc._height; this.minWidth = this.m_mc._width; } } if (this.r_mc == undefined) { this.setSkin(mx.skins.CustomBorder.tagR, this.rightSkin); if (this.horizontal) { this.minHeight = this.r_mc._height; this.minWidth += this.r_mc._width; } else { this.minHeight += this.r_mc._height; this.minWidth = this.r_mc._width; } } this.size(); }; v2.size = function (Void) { this.l_mc.move(0, 0); if (this.horizontal) { this.r_mc.move(this.__get__width() - this.r_mc.width, 0); this.m_mc.move(this.l_mc.width, 0); this.m_mc.setSize(this.r_mc.x - this.m_mc.x, this.m_mc.height); } else { this.r_mc.move(0, this.__get__height() - this.r_mc.height, 0); this.m_mc.move(0, this.l_mc.height); this.m_mc.setSize(this.m_mc.width, this.r_mc.y - this.m_mc.y); } }; v1.symbolName = 'CustomBorder'; v1.symbolOwner = mx.skins.CustomBorder; v1.version = '2.0.2.126'; v2.className = 'CustomBorder'; v1.tagL = 0; v1.tagM = 1; v1.tagR = 2; v2.idNames = new Array('l_mc', 'm_mc', 'r_mc'); v2.leftSkin = 'F3PieceLeft'; v2.middleSkin = 'F3PieceMiddle'; v2.rightSkin = 'F3PieceRight'; v2.horizontal = true; v2.addProperty('height', v2.__get__height, function () {}); v2.addProperty('width', v2.__get__width, function () {}); ASSetPropFlags(mx.skins.CustomBorder.prototype, null, 1); } #endinitclip } movieClip 161 __Packages.mx.controls.scrollClasses.ScrollThumb { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.scrollClasses) { _global.mx.controls.scrollClasses = new Object(); } if (!_global.mx.controls.scrollClasses.ScrollThumb) { var v1 = function () { super(); }; mx.controls.scrollClasses.ScrollThumb = v1; var v2 = new mx.skins.CustomBorder(); mx.controls.scrollClasses.ScrollThumb.prototype = v2; v2.createChildren = function (Void) { super.createChildren(); this.useHandCursor = false; }; v2.setRange = function (_ymin, _ymax, _datamin, _datamax) { this.ymin = _ymin; this.ymax = _ymax; this.datamin = _datamin; this.datamax = _datamax; }; v2.dragThumb = function (Void) { this.scrollMove = this._ymouse - this.lastY; this.scrollMove += this._y; if (this.scrollMove < this.ymin) { this.scrollMove = this.ymin; } else { if (this.scrollMove > this.ymax) { this.scrollMove = this.ymax; } } this._parent.isScrolling = true; this._y = this.scrollMove; var v2 = Math.round((this.datamax - this.datamin) * (this._y - this.ymin) / (this.ymax - this.ymin)) + this.datamin; this._parent.scrollPosition = v2; this._parent.dispatchScrollEvent('ThumbTrack'); updateAfterEvent(); }; v2.stopDragThumb = function (Void) { this._parent.isScrolling = false; this._parent.dispatchScrollEvent('ThumbPosition'); this._parent.dispatchScrollChangedEvent(); delete this.onMouseMove; }; v2.onPress = function (Void) { this._parent.pressFocus(); this.lastY = this._ymouse; this.onMouseMove = this.dragThumb; super.onPress(); }; v2.onRelease = function (Void) { this._parent.releaseFocus(); this.stopDragThumb(); super.onRelease(); }; v2.onReleaseOutside = function (Void) { this._parent.releaseFocus(); this.stopDragThumb(); super.onReleaseOutside(); }; v2.draw = function () { super.draw(); if (this.grip_mc == undefined) { this.setSkin(3, this.gripSkin); } }; v2.size = function () { super.size(); this.grip_mc.move((this.__get__width() - this.grip_mc.width) / 2, (this.__get__height() - this.grip_mc.height) / 2); }; v1.symbolOwner = mx.skins.CustomBorder.symbolOwner; v2.className = 'ScrollThumb'; v2.btnOffset = 0; v2.horizontal = false; v2.idNames = new Array('l_mc', 'm_mc', 'r_mc', 'grip_mc'); ASSetPropFlags(mx.controls.scrollClasses.ScrollThumb.prototype, null, 1); } #endinitclip } movieClip 162 __Packages.mx.controls.scrollClasses.ScrollBar { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.scrollClasses) { _global.mx.controls.scrollClasses = new Object(); } if (!_global.mx.controls.scrollClasses.ScrollBar) { var v1 = function () { super(); }; mx.controls.scrollClasses.ScrollBar = v1; var v2 = new mx.core.UIComponent(); mx.controls.scrollClasses.ScrollBar.prototype = v2; v2.__get__scrollPosition = function () { return this._scrollPosition; }; v2.__set__scrollPosition = function (pos) { this._scrollPosition = pos; if (this.isScrolling != true) { pos = Math.min(pos, this.maxPos); pos = Math.max(pos, this.minPos); var v3 = (pos - this.minPos) * (this.scrollTrack_mc.height - this.scrollThumb_mc._height) / (this.maxPos - this.minPos) + this.scrollTrack_mc.top; this.scrollThumb_mc.move(0, v3); } return this.__get__scrollPosition(); }; v2.__get__pageScrollSize = function () { return this.largeScroll; }; v2.__set__pageScrollSize = function (lScroll) { this.largeScroll = lScroll; return this.__get__pageScrollSize(); }; v2.__set__lineScrollSize = function (sScroll) { this.smallScroll = sScroll; return this.__get__lineScrollSize(); }; v2.__get__lineScrollSize = function () { return this.smallScroll; }; v2.__get__virtualHeight = function () { return this.__height; }; v2.init = function (Void) { super.init(); this._scrollPosition = 0; this.tabEnabled = false; this.focusEnabled = false; this.boundingBox_mc._visible = false; this.boundingBox_mc._height = 0; this.boundingBox_mc._width = 0; }; v2.createChildren = function (Void) { if (this.scrollTrack_mc == undefined) { this.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrack, this.scrollTrackName); } this.scrollTrack_mc.visible = false; var v3 = new Object(); v3.enabled = false; v3.preset = mx.controls.SimpleButton.falseDisabled; v3.initProperties = 0; v3.autoRepeat = true; v3.tabEnabled = false; var v2; if (this.upArrow_mc == undefined) { v2 = this.createButton(this.upArrowName, 'upArrow_mc', mx.controls.scrollClasses.ScrollBar.skinIDUpArrow, v3); } v2.buttonDownHandler = this.onUpArrow; v2.clickHandler = this.onScrollChanged; this._minHeight = v2.height; this._minWidth = v2.width; if (this.downArrow_mc == undefined) { v2 = this.createButton(this.downArrowName, 'downArrow_mc', mx.controls.scrollClasses.ScrollBar.skinIDDownArrow, v3); } v2.buttonDownHandler = this.onDownArrow; v2.clickHandler = this.onScrollChanged; this._minHeight += v2.height; }; v2.createButton = function (linkageName, id, skinID, o) { if (skinID == mx.controls.scrollClasses.ScrollBar.skinIDUpArrow) { o.falseUpSkin = this.upArrowUpName; o.falseDownSkin = this.upArrowDownName; o.falseOverSkin = this.upArrowOverName; var v3 = this.createObject(linkageName, id, skinID, o); this[id].visible = false; this[id].useHandCursor = false; return v3; } o.falseUpSkin = this.downArrowUpName; o.falseDownSkin = this.downArrowDownName; o.falseOverSkin = this.downArrowOverName; var v3 = this.createObject(linkageName, id, skinID, o); this[id].visible = false; this[id].useHandCursor = false; return v3; }; v2.createThumb = function (Void) { var v2 = new Object(); v2.validateNow = true; v2.tabEnabled = false; v2.leftSkin = this.thumbTopName; v2.middleSkin = this.thumbMiddleName; v2.rightSkin = this.thumbBottomName; v2.gripSkin = this.thumbGripName; this.createClassObject(mx.controls.scrollClasses.ScrollThumb, 'scrollThumb_mc', mx.controls.scrollClasses.ScrollBar.skinIDThumb, v2); }; v2.setScrollProperties = function (pSize, mnPos, mxPos, ls) { var v4; var v2 = this.scrollTrack_mc; this.pageSize = pSize; this.largeScroll = (ls != undefined && ls > 0) ? ls : pSize; this.minPos = Math.max(mnPos, 0); this.maxPos = Math.max(mxPos, 0); this._scrollPosition = Math.max(this.minPos, this._scrollPosition); this._scrollPosition = Math.min(this.maxPos, this._scrollPosition); if (this.maxPos - this.minPos > 0 && this.enabled) { var v5 = this._scrollPosition; if (!this.initializing) { this.upArrow_mc.enabled = true; this.downArrow_mc.enabled = true; } v2.onDragOver = this.startTrackScroller; v2.onPress = v2.onDragOver; v2.onRelease = this.releaseScrolling; v2.stopScrolling = this.stopScrolling; v2.onDragOut = v2.stopScrolling; v2.onReleaseOutside = this.releaseScrolling; v2.useHandCursor = false; if (this.scrollThumb_mc == undefined) { this.createThumb(); } var v3 = this.scrollThumb_mc; if (this.scrollTrackOverName.length > 0) { v2.onRollOver = this.trackOver; v2.onRollOut = this.trackOut; } v4 = (this.pageSize / (this.maxPos - this.minPos + this.pageSize)) * v2.height; if (v4 < v3.minHeight) { if (v2.height < v3.minHeight) { v3.__set__visible(false); } else { v4 = v3.minHeight; v3.__set__visible(true); v3.setSize(this._minWidth, v3.minHeight + 0); } } else { v3.__set__visible(true); v3.setSize(this._minWidth, v4); } v3.setRange(this.upArrow_mc.__get__height() + 0, this.__get__virtualHeight() - this.downArrow_mc.__get__height() - v3.__get__height(), this.minPos, this.maxPos); v5 = Math.min(v5, this.maxPos); this.__set__scrollPosition(Math.max(v5, this.minPos)); } else { this.scrollThumb_mc.__set__visible(false); if (!this.initializing) { this.upArrow_mc.enabled = false; this.downArrow_mc.enabled = false; } delete v2.onPress; delete v2.onDragOver; delete v2.onRelease; delete v2.onDragOut; delete v2.onRollOver; delete v2.onRollOut; delete v2.onReleaseOutside; } if (this.initializing) { this.scrollThumb_mc.__set__visible(false); } }; v2.setEnabled = function (enabledFlag) { super.setEnabled(enabledFlag); this.setScrollProperties(this.pageSize, this.minPos, this.maxPos, this.largeScroll); }; v2.draw = function (Void) { if (this.initializing) { this.initializing = false; this.scrollTrack_mc.visible = true; this.upArrow_mc.__set__visible(true); this.downArrow_mc.__set__visible(true); } this.size(); }; v2.size = function (Void) { if (this._height == 1) { return undefined; } if (this.upArrow_mc == undefined) { return undefined; } var v3 = this.upArrow_mc.__get__height(); var v2 = this.downArrow_mc.__get__height(); this.upArrow_mc.move(0, 0); var v4 = this.scrollTrack_mc; v4._y = v3; v4._height = this.__get__virtualHeight() - v3 - v2; this.downArrow_mc.move(0, this.__get__virtualHeight() - v2); this.setScrollProperties(this.pageSize, this.minPos, this.maxPos, this.largeScroll); }; v2.dispatchScrollEvent = function (detail) { this.dispatchEvent({'type': 'scroll', 'detail': detail}); }; v2.isScrollBarKey = function (k) { if (k == 36) { if (this.__get__scrollPosition() != 0) { this.__set__scrollPosition(0); this.dispatchScrollEvent(this.minMode); } return true; return false; } if (k == 35) { if (this.__get__scrollPosition() < this.maxPos) { this.__set__scrollPosition(this.maxPos); this.dispatchScrollEvent(this.maxMode); } return true; } return false; }; v2.scrollIt = function (inc, mode) { var v3 = this.smallScroll; if (inc != 'Line') { v3 = (this.largeScroll == 0) ? this.pageSize : this.largeScroll; } var v2 = this._scrollPosition + mode * v3; if (v2 > this.maxPos) { v2 = this.maxPos; } else { if (v2 < this.minPos) { v2 = this.minPos; } } if (this.__get__scrollPosition() != v2) { this.__set__scrollPosition(v2); var v4 = mode < 0 ? this.minusMode : this.plusMode; this.dispatchScrollEvent(inc + v4); } }; v2.startTrackScroller = function (Void) { this._parent.pressFocus(); if (this._parent.scrollTrackDownName.length > 0) { if (this._parent.scrollTrackDown_mc == undefined) { this._parent.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrackDown, this.scrollTrackDownName); } else { this._parent.scrollTrackDown_mc.visible = true; } } this._parent.trackScroller(); this._parent.scrolling = setInterval(this._parent, 'scrollInterval', this.getStyle('repeatDelay'), 'Page', -1); }; v2.scrollInterval = function (inc, mode) { clearInterval(this.scrolling); if (inc == 'Page') { this.trackScroller(); } else { this.scrollIt(inc, mode); } this.scrolling = setInterval(this, 'scrollInterval', this.getStyle('repeatInterval'), inc, mode); }; v2.trackScroller = function (Void) { if (this.scrollThumb_mc._y + this.scrollThumb_mc.__get__height() < this._ymouse) { this.scrollIt('Page', 1); } else { if (this.scrollThumb_mc._y > this._ymouse) { this.scrollIt('Page', -1); } } }; v2.dispatchScrollChangedEvent = function (Void) { this.dispatchEvent({'type': 'scrollChanged'}); }; v2.stopScrolling = function (Void) { clearInterval(this._parent.scrolling); this._parent.scrollTrackDown_mc.visible = false; }; v2.releaseScrolling = function (Void) { this._parent.releaseFocus(); this.stopScrolling(); this._parent.dispatchScrollChangedEvent(); }; v2.trackOver = function (Void) { if (this._parent.scrollTrackOverName.length > 0) { if (this._parent.scrollTrackOver_mc == undefined) { this._parent.setSkin(mx.controls.scrollClasses.ScrollBar.skinIDTrackOver, this.scrollTrackOverName); } else { this._parent.scrollTrackOver_mc.visible = true; } } }; v2.trackOut = function (Void) { this._parent.scrollTrackOver_mc.visible = false; }; v2.onUpArrow = function (Void) { this._parent.scrollIt('Line', -1); }; v2.onDownArrow = function (Void) { this._parent.scrollIt('Line', 1); }; v2.onScrollChanged = function (Void) { this._parent.dispatchScrollChangedEvent(); }; v1.symbolOwner = mx.core.UIComponent; v2.className = 'ScrollBar'; v2.minPos = 0; v2.maxPos = 0; v2.pageSize = 0; v2.largeScroll = 0; v2.smallScroll = 1; v2._scrollPosition = 0; v2.scrollTrackName = 'ScrollTrack'; v2.scrollTrackOverName = ''; v2.scrollTrackDownName = ''; v2.upArrowName = 'BtnUpArrow'; v2.upArrowUpName = 'ScrollUpArrowUp'; v2.upArrowOverName = 'ScrollUpArrowOver'; v2.upArrowDownName = 'ScrollUpArrowDown'; v2.downArrowName = 'BtnDownArrow'; v2.downArrowUpName = 'ScrollDownArrowUp'; v2.downArrowOverName = 'ScrollDownArrowOver'; v2.downArrowDownName = 'ScrollDownArrowDown'; v2.thumbTopName = 'ScrollThumbTopUp'; v2.thumbMiddleName = 'ScrollThumbMiddleUp'; v2.thumbBottomName = 'ScrollThumbBottomUp'; v2.thumbGripName = 'ScrollThumbGripUp'; v1.skinIDTrack = 0; v1.skinIDTrackOver = 1; v1.skinIDTrackDown = 2; v1.skinIDUpArrow = 3; v1.skinIDDownArrow = 4; v1.skinIDThumb = 5; v2.idNames = new Array('scrollTrack_mc', 'scrollTrackOver_mc', 'scrollTrackDown_mc', 'upArrow_mc', 'downArrow_mc'); v2.clipParameters = {'minPos': 1, 'maxPos': 1, 'pageSize': 1, 'scrollPosition': 1, 'lineScrollSize': 1, 'pageScrollSize': 1, 'visible': 1, 'enabled': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.scrollClasses.ScrollBar.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters); v2.initializing = true; v2.addProperty('lineScrollSize', v2.__get__lineScrollSize, v2.__set__lineScrollSize); v2.addProperty('pageScrollSize', v2.__get__pageScrollSize, v2.__set__pageScrollSize); v2.addProperty('scrollPosition', v2.__get__scrollPosition, v2.__set__scrollPosition); v2.addProperty('virtualHeight', v2.__get__virtualHeight, function () {}); ASSetPropFlags(mx.controls.scrollClasses.ScrollBar.prototype, null, 1); } #endinitclip } movieClip 163 __Packages.mx.core.ScrollView { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.core) { _global.mx.core = new Object(); } if (!_global.mx.core.ScrollView) { var v1 = function () { super(); }; mx.core.ScrollView = v1; var v2 = new mx.core.View(); mx.core.ScrollView.prototype = v2; v2.getHScrollPolicy = function (Void) { return this.__hScrollPolicy; }; v2.setHScrollPolicy = function (policy) { this.__hScrollPolicy = policy.toLowerCase(); if (this.__width == undefined) { return undefined; } this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding); }; v2.__get__hScrollPolicy = function () { return this.getHScrollPolicy(); }; v2.__set__hScrollPolicy = function (policy) { this.setHScrollPolicy(policy); return this.__get__hScrollPolicy(); }; v2.getVScrollPolicy = function (Void) { return this.__vScrollPolicy; }; v2.setVScrollPolicy = function (policy) { this.__vScrollPolicy = policy.toLowerCase(); if (this.__width == undefined) { return undefined; } this.setScrollProperties(this.numberOfCols, this.columnWidth, this.rowC, this.rowH, this.heightPadding, this.widthPadding); }; v2.__get__vScrollPolicy = function () { return this.getVScrollPolicy(); }; v2.__set__vScrollPolicy = function (policy) { this.setVScrollPolicy(policy); return this.__get__vScrollPolicy(); }; v2.__get__hPosition = function () { return this.getHPosition(); }; v2.__set__hPosition = function (pos) { this.setHPosition(pos); return this.__get__hPosition(); }; v2.getHPosition = function (Void) { return this.__hPosition; }; v2.setHPosition = function (pos) { this.hScroller.__set__scrollPosition(pos); this.__hPosition = pos; }; v2.__get__vPosition = function () { return this.getVPosition(); }; v2.__set__vPosition = function (pos) { this.setVPosition(pos); return this.__get__vPosition(); }; v2.getVPosition = function (Void) { return this.__vPosition; }; v2.setVPosition = function (pos) { this.vScroller.__set__scrollPosition(pos); this.__vPosition = pos; }; v2.__get__maxVPosition = function () { var v2 = this.vScroller.maxPos; return (v2 == undefined) ? 0 : v2; }; v2.__get__maxHPosition = function () { return this.getMaxHPosition(); }; v2.__set__maxHPosition = function (pos) { this.setMaxHPosition(pos); return this.__get__maxHPosition(); }; v2.getMaxHPosition = function (Void) { if (this.__maxHPosition != undefined) { return this.__maxHPosition; } var v2 = this.hScroller.maxPos; return (v2 == undefined) ? 0 : v2; }; v2.setMaxHPosition = function (pos) { this.__maxHPosition = pos; }; v2.setScrollProperties = function (colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) { var v3 = this.getViewMetrics(); if (hPadding == undefined) { hPadding = 0; } if (wPadding == undefined) { wPadding = 0; } this.propsInited = true; delete this.scrollAreaChanged; this.heightPadding = hPadding; this.widthPadding = wPadding; if (colWidth == 0) { colWidth = 1; } if (rwHeight == 0) { rwHeight = 1; } var v5 = Math.ceil((this.__width - v3.left - v3.right - this.widthPadding) / colWidth); if (this.__hScrollPolicy == 'on' || v5 < colCount && this.__hScrollPolicy == 'auto') { if (this.hScroller == undefined || this.specialHScrollCase) { delete this.specialHScrollCase; this.hScroller = this.createObject('HScrollBar', 'hSB', 1001); this.hScroller.__set__lineScrollSize(20); this.hScroller.scrollHandler = this.scrollProxy; this.hScroller.__set__scrollPosition(this.__hPosition); this.scrollAreaChanged = true; } if (this.numberOfCols != colCount || this.columnWidth != colWidth || this.viewableColumns != v5 || this.scrollAreaChanged) { this.hScroller.setScrollProperties(v5, 0, colCount - v5); this.viewableColumns = v5; this.numberOfCols = colCount; this.columnWidth = colWidth; } } else { if ((this.__hScrollPolicy == 'auto' || this.__hScrollPolicy == 'off') && this.hScroller != undefined) { this.hScroller.removeMovieClip(); delete this.hScroller; this.scrollAreaChanged = true; } } if (this.heightPadding == undefined) { this.heightPadding = 0; } var v4 = Math.ceil((this.__height - v3.top - v3.bottom - this.heightPadding) / rwHeight); var v8 = (this.__height - v3.top - v3.bottom) % rwHeight != 0; if (this.__vScrollPolicy == 'on' || v4 < rwCount + v8 && this.__vScrollPolicy == 'auto') { if (this.vScroller == undefined) { this.vScroller = this.createObject('VScrollBar', 'vSB', 1002); this.vScroller.scrollHandler = this.scrollProxy; this.vScroller.__set__scrollPosition(this.__vPosition); this.scrollAreaChanged = true; this.rowH = 0; } if (this.rowC != rwCount || this.rowH != rwHeight || this.viewableRows + v8 != v4 + this.oldRndUp || this.scrollAreaChanged) { this.vScroller.setScrollProperties(v4, 0, rwCount - v4 + v8); this.viewableRows = v4; this.rowC = rwCount; this.rowH = rwHeight; this.oldRndUp = v8; } } else { if ((this.__vScrollPolicy == 'auto' || this.__vScrollPolicy == 'off') && this.vScroller != undefined) { this.vScroller.removeMovieClip(); delete this.vScroller; this.scrollAreaChanged = true; } } this.numberOfCols = colCount; this.columnWidth = colWidth; if (this.scrollAreaChanged) { this.doLayout(); var v2 = this.__viewMetrics; var v12 = (this.owner != undefined) ? this.owner : this; v12.layoutContent(v2.left, v2.top, this.columnWidth * this.numberOfCols - v2.left - v2.right, this.rowC * this.rowH, this.__width - v2.left - v2.right, this.__height - v2.top - v2.bottom); } if (!this.enabled) { this.setEnabled(false); } }; v2.getViewMetrics = function (Void) { var v2 = this.__viewMetrics; var v3 = this.border_mc.__get__borderMetrics(); v2.left = v3.left; v2.right = v3.right; if (this.vScroller != undefined) { v2.right += this.vScroller.minWidth; } v2.top = v3.top; if (this.hScroller == undefined && (this.__hScrollPolicy == 'on' || this.__hScrollPolicy == true)) { this.hScroller = this.createObject('FHScrollBar', 'hSB', 1001); this.specialHScrollCase = true; } v2.bottom = v3.bottom; if (this.hScroller != undefined) { v2.bottom += this.hScroller.minHeight; } return v2; }; v2.doLayout = function (Void) { var v10 = this.__get__width(); var v8 = this.__get__height(); delete this.invLayout; this.__viewMetrics = this.getViewMetrics(); var v3 = this.__viewMetrics; var v2 = v3.left; var v9 = v3.right; var v5 = v3.top; var v11 = v3.bottom; var v7 = this.hScroller; var v6 = this.vScroller; v7.setSize(v10 - v2 - v9, v7.minHeight + 0); v7.move(v2, v8 - v11); v6.setSize(v6.minWidth + 0, v8 - v5 - v11); v6.move(v10 - v9, v5); var v4 = this.mask_mc; v4._width = v10 - v2 - v9; v4._height = v8 - v5 - v11; v4._x = v2; v4._y = v5; }; v2.createChild = function (id, name, props) { var v2 = super.createChild(id, name, props); return v2; }; v2.init = function (Void) { super.init(); this.__viewMetrics = new Object(); if (_global.__SVMouseWheelManager == undefined) { _global.__SVMouseWheelManager = new Object(); var v4 = _global.__SVMouseWheelManager; v4.onMouseWheel = this.__onMouseWheel; Mouse.addListener(v4); } }; v2.__onMouseWheel = function (delta, scrollTarget) { var v4 = scrollTarget; var v1; while (v4 != undefined) { if (v4 instanceof mx.core.ScrollView) { v1 = v4; false; } v4 = v4._parent; } if (v1 != undefined) { v4 = delta <= 0 ? 1 : -1; var v2 = v1.vScroller.lineScrollSize; if (v2 == undefined) { v2 = 0; } v2 = Math.max(Math.abs(delta), v2); var v3 = v1.vPosition + v2 * v4; v1.vPosition = Math.max(0, Math.min(v3, v1.maxVPosition)); v1.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': v1.vPosition}); } }; v2.createChildren = function (Void) { super.createChildren(); if (this.mask_mc == undefined) { this.mask_mc = this.createObject('BoundingBox', 'mask_mc', this.MASK_DEPTH); } this.mask_mc._visible = false; }; v2.invalidate = function (Void) { super.invalidate(); }; v2.draw = function (Void) { this.size(); }; v2.size = function (Void) { super.size(); }; v2.scrollProxy = function (docObj) { this._parent.onScroll(docObj); }; v2.onScroll = function (docObj) { var v3 = docObj.target; var v2 = v3.scrollPosition; if (v3 == this.vScroller) { var v4 = 'vertical'; var v5 = '__vPosition'; } else { var v4 = 'horizontal'; var v5 = '__hPosition'; } this[v5] = v2; this.dispatchEvent({'type': 'scroll', 'direction': v4, 'position': v2}); }; v2.setEnabled = function (v) { this.hScroller.enabled = v; this.vScroller.enabled = this.hScroller.enabled; }; v2.childLoaded = function (obj) { super.childLoaded(obj); obj.setMask(this.mask_mc); }; v1.symbolName = 'ScrollView'; v1.symbolOwner = mx.core.ScrollView; v1.version = '2.0.2.126'; v2.className = 'ScrollView'; v2.__vScrollPolicy = 'auto'; v2.__hScrollPolicy = 'off'; v2.__vPosition = 0; v2.__hPosition = 0; v2.numberOfCols = 0; v2.rowC = 0; v2.columnWidth = 1; v2.rowH = 0; v2.heightPadding = 0; v2.widthPadding = 0; v2.MASK_DEPTH = 10000; v2.addProperty('hPosition', v2.__get__hPosition, v2.__set__hPosition); v2.addProperty('hScrollPolicy', v2.__get__hScrollPolicy, v2.__set__hScrollPolicy); v2.addProperty('maxHPosition', v2.__get__maxHPosition, v2.__set__maxHPosition); v2.addProperty('maxVPosition', v2.__get__maxVPosition, function () {}); v2.addProperty('vPosition', v2.__get__vPosition, v2.__set__vPosition); v2.addProperty('vScrollPolicy', v2.__get__vScrollPolicy, v2.__set__vScrollPolicy); ASSetPropFlags(mx.core.ScrollView.prototype, null, 1); } #endinitclip } movieClip 164 __Packages.mx.controls.listclasses.DataProvider { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.listclasses) { _global.mx.controls.listclasses = new Object(); } if (!_global.mx.controls.listclasses.DataProvider) { var v1 = function (obj) { super(); }; mx.controls.listclasses.DataProvider = v1; var v2 = new Object(); mx.controls.listclasses.DataProvider.prototype = v2; v1.Initialize = function (obj) { var v4 = mx.controls.listclasses.DataProvider.mixinProps; var v6 = v4.length; obj = obj.prototype; var v3 = 0; while (v3 < v6) { obj[v4[v3]] = mx.controls.listclasses.DataProvider.mixins[v4[v3]]; _global.ASSetPropFlags(obj, v4[v3], 1); ++v3; } mx.events.EventDispatcher.initialize(obj); _global.ASSetPropFlags(obj, 'addEventListener', 1); _global.ASSetPropFlags(obj, 'removeEventListener', 1); _global.ASSetPropFlags(obj, 'dispatchEvent', 1); _global.ASSetPropFlags(obj, 'dispatchQueue', 1); Object.prototype.LargestID = 0; Object.prototype.getID = function () { if (this.__ID__ == undefined) { this.__ID__ = Object.prototype.LargestID++; _global.ASSetPropFlags(this, '__ID__', 1); } return this.__ID__; }; _global.ASSetPropFlags(Object.prototype, 'LargestID', 1); _global.ASSetPropFlags(Object.prototype, 'getID', 1); return true; }; v2.addItemAt = function (index, value) { if (index < this.length) { this.splice(index, 0, value); } else { if (index > this.length) { trace('Cannot add an item past the end of the DataProvider'); return undefined; } } this[index] = value; this.updateViews('addItems', index, index); }; v2.addItem = function (value) { this.addItemAt(this.length, value); }; v2.addItemsAt = function (index, newItems) { index = Math.min(this.length, index); newItems.unshift(index, 0); this.splice.apply(this, newItems); newItems.splice(0, 2); this.updateViews('addItems', index, index + newItems.length - 1); }; v2.removeItemsAt = function (index, len) { var v3 = new Array(); var v2 = 0; while (v2 < len) { v3.push(this.getItemID(index + v2)); ++v2; } var v6 = this.splice(index, len); this.dispatchEvent({'type': 'modelChanged', 'eventName': 'removeItems', 'firstItem': index, 'lastItem': index + len - 1, 'removedItems': v6, 'removedIDs': v3}); }; v2.removeItemAt = function (index) { var v2 = this[index]; this.removeItemsAt(index, 1); return v2; }; v2.removeAll = function (Void) { this.splice(0); this.updateViews('removeItems', 0, this.length - 1); }; v2.replaceItemAt = function (index, itemObj) { if (index < 0 || index >= this.length) { return undefined; } var v3 = this.getItemID(index); this[index] = itemObj; this[index].__ID__ = v3; this.updateViews('updateItems', index, index); }; v2.getItemAt = function (index) { return this[index]; }; v2.getItemID = function (index) { var v2 = this[index]; if (typeof v2 != 'object' && v2 != undefined) { return index; } else { return v2.getID(); } }; v2.sortItemsBy = function (fieldName, order) { if (typeof order == 'string') { this.sortOn(fieldName); if (order.toUpperCase() == 'DESC') { this.reverse(); } } else { this.sortOn(fieldName, order); } this.updateViews('sort'); }; v2.sortItems = function (compareFunc, optionFlags) { this.sort(compareFunc, optionFlags); this.updateViews('sort'); }; v2.editField = function (index, fieldName, newData) { this[index][fieldName] = newData; this.dispatchEvent({'type': 'modelChanged', 'eventName': 'updateField', 'firstItem': index, 'lastItem': index, 'fieldName': fieldName}); }; v2.getEditingData = function (index, fieldName) { return this[index][fieldName]; }; v2.updateViews = function (event, first, last) { this.dispatchEvent({'type': 'modelChanged', 'eventName': event, 'firstItem': first, 'lastItem': last}); }; v1.mixinProps = ['addView', 'addItem', 'addItemAt', 'removeAll', 'removeItemAt', 'replaceItemAt', 'getItemAt', 'getItemID', 'sortItemsBy', 'sortItems', 'updateViews', 'addItemsAt', 'removeItemsAt', 'getEditingData', 'editField']; v1.evtDipatcher = mx.events.EventDispatcher; v1.mixins = new mx.controls.listclasses.DataProvider(); ASSetPropFlags(mx.controls.listclasses.DataProvider.prototype, null, 1); } #endinitclip } movieClip 165 __Packages.mx.controls.listclasses.ScrollSelectList { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.listclasses) { _global.mx.controls.listclasses = new Object(); } if (!_global.mx.controls.listclasses.ScrollSelectList) { var v1 = function () { super(); }; mx.controls.listclasses.ScrollSelectList = v1; var v2 = new mx.core.ScrollView(); mx.controls.listclasses.ScrollSelectList.prototype = v2; v2.layoutContent = function (x, y, w, h) { delete this.invLayoutContent; var v4 = Math.ceil(h / this.__rowHeight); this.roundUp = h % this.__rowHeight != 0; var v12 = v4 - this.__rowCount; if (v12 < 0) { var v3 = v4; while (v3 < this.__rowCount) { this.rows[v3].removeMovieClip(); delete this.rows[v3]; ++v3; } this.topRowZ += v12; } else { if (v12 > 0) { if (this.rows == undefined) { this.rows = new Array(); } var v3 = this.__rowCount; while (v3 < v4) { this.rows[v3] = this.listContent.createObject(this.__rowRenderer, 'listRow' + this.topRowZ++, this.topRowZ, {'owner': this, 'styleName': this, 'rowIndex': v3}); var v2 = this.rows[v3]; v2._x = x; v2._y = Math.round(v3 * this.__rowHeight + y); v2.setSize(w, this.__rowHeight); v2.drawRow(this.__dataProvider.getItemAt(this.__vPosition + v3), this.getStateAt(this.__vPosition + v3)); v2.lastY = v2._y; ++v3; } } } if (w != this.tW) { var v11 = v12 > 0 ? this.__rowCount : v4; v3 = 0; while (v3 < v11) { this.rows[v3].setSize(w, this.__rowHeight); ++v3; } } if (this.layoutX != x || this.layoutY != y) { v3 = 0; while (v3 < v4) { this.rows[v3]._x = x; this.rows[v3]._y = Math.round(v3 * this.__rowHeight + y); ++v3; } } this.__rowCount = v4; this.layoutX = x; this.layoutY = y; this.tW = w; this.tH = h; }; v2.getRowHeight = function (Void) { return this.__rowHeight; }; v2.setRowHeight = function (v) { this.__rowHeight = v; this.invRowHeight = true; this.invalidate(); }; v2.__get__rowHeight = function () { return this.getRowHeight(); }; v2.__set__rowHeight = function (w) { this.setRowHeight(w); return this.__get__rowHeight(); }; v2.setRowCount = function (v) { this.__rowCount = v; }; v2.getRowCount = function (Void) { if (this.__rowCount != 0) { var v2 = this.__rowCount; return v2; } var v2 = Math.ceil(this.__height / this.__rowHeight); return v2; }; v2.__get__rowCount = function () { return this.getRowCount(); }; v2.__set__rowCount = function (w) { this.setRowCount(w); return this.__get__rowCount(); }; v2.setEnabled = function (v) { super.setEnabled(v); this.invUpdateControl = true; this.invalidate(); }; v2.setCellRenderer = function (cR) { this.__cellRenderer = cR; var v2 = 0; while (v2 < this.rows.length) { this.rows[v2].setCellRenderer(true); ++v2; } this.invUpdateControl = true; this.invalidate(); }; v2.__set__cellRenderer = function (cR) { this.setCellRenderer(cR); return this.__get__cellRenderer(); }; v2.__get__cellRenderer = function () { return this.__cellRenderer; }; v2.__set__labelField = function (field) { this.setLabelField(field); return this.__get__labelField(); }; v2.setLabelField = function (field) { this.__labelField = field; this.invUpdateControl = true; this.invalidate(); }; v2.__get__labelField = function () { return this.__labelField; }; v2.__set__labelFunction = function (func) { this.setLabelFunction(func); return this.__get__labelFunction(); }; v2.setLabelFunction = function (func) { this.__labelFunction = func; this.invUpdateControl = true; this.invalidate(); }; v2.__get__labelFunction = function () { return this.__labelFunction; }; v2.__set__iconField = function (field) { this.setIconField(field); return this.__get__iconField(); }; v2.setIconField = function (field) { this.__iconField = field; this.invUpdateControl = true; this.invalidate(); }; v2.__get__iconField = function () { return this.__iconField; }; v2.__set__iconFunction = function (func) { this.setIconFunction(func); return this.__get__iconFunction(); }; v2.setIconFunction = function (func) { this.__iconFunction = func; this.invUpdateControl = true; this.invalidate(); }; v2.__get__iconFunction = function () { return this.__iconFunction; }; v2.setVPosition = function (pos) { if (pos < 0) { return undefined; } if (pos > 0 && pos > this.getLength() - this.__rowCount + this.roundUp) { return undefined; } var v8 = pos - this.__vPosition; if (v8 == 0) { return undefined; } this.__vPosition = pos; var v10 = v8 > 0; v8 = Math.abs(v8); if (v8 >= this.__rowCount) { this.updateControl(); } else { var v4 = new Array(); var v9 = this.__rowCount - v8; var v12 = v8 * this.__rowHeight; var v11 = v9 * this.__rowHeight; var v6 = v10 ? 1 : -1; var v3 = 0; while (v3 < this.__rowCount) { if (v3 < v8 && v10 || v3 >= v9 && !v10) { this.rows[v3]._y += Math.round(v6 * v11); var v5 = v3 + v6 * v9; var v7 = this.__vPosition + v5; v4[v5] = this.rows[v3]; v4[v5].rowIndex = v5; v4[v5].drawRow(this.__dataProvider.getItemAt(v7), this.getStateAt(v7), false); } else { this.rows[v3]._y -= Math.round(v6 * v12); var v5 = v3 - v6 * v8; v4[v5] = this.rows[v3]; v4[v5].rowIndex = v5; } ++v3; } this.rows = v4; v3 = 0; while (v3 < this.__rowCount) { this.rows[v3].swapDepths(this.baseRowZ + v3); ++v3; } } this.lastPosition = pos; super.setVPosition(pos); }; v2.setPropertiesAt = function (index, obj) { var v2 = this.__dataProvider.getItemID(index); if (v2 == undefined) { return undefined; } if (this.propertyTable == undefined) { this.propertyTable = new Object(); } this.propertyTable[v2] = obj; this.rows[index - this.__vPosition].drawRow(this.__dataProvider.getItemAt(index), this.getStateAt(index)); }; v2.getPropertiesAt = function (index) { var v2 = this.__dataProvider.getItemID(index); if (v2 == undefined) { return undefined; } return this.propertyTable[v2]; }; v2.getPropertiesOf = function (obj) { var v2 = obj.getID(); if (v2 == undefined) { return undefined; } return this.propertyTable[v2]; }; v2.getStyle = function (styleProp) { var v2 = super.getStyle(styleProp); var v3 = mx.styles.StyleManager.colorNames[v2]; if (v3 != undefined) { v2 = v3; } return v2; }; v2.updateControl = function (Void) { var v2 = 0; while (v2 < this.__rowCount) { this.rows[v2].drawRow(this.__dataProvider.getItemAt(v2 + this.__vPosition), this.getStateAt(v2 + this.__vPosition)); ++v2; } delete this.invUpdateControl; }; v2.getStateAt = function (index) { return this.isSelected(index) ? 'selected' : 'normal'; }; v2.selectRow = function (rowIndex, transition, allowChangeEvent) { if (!this.selectable) { return undefined; } var v3 = this.__vPosition + rowIndex; var v8 = this.__dataProvider.getItemAt(v3); var v5 = this.rows[rowIndex]; if (v8 == undefined) { return undefined; } if (transition == undefined) { transition = true; } if (allowChangeEvent == undefined) { allowChangeEvent = this.wasKeySelected; } this.changeFlag = true; if (!this.multipleSelection && !Key.isDown(17) || !Key.isDown(16) && !Key.isDown(17)) { this.clearSelected(transition); this.selectItem(v3, true); this.lastSelected = v3; v5.drawRow(v5.item, this.getStateAt(v3), transition); } else { if (Key.isDown(16) && this.multipleSelection) { if (this.lastSelected == undefined) { this.lastSelected = v3; } var v4 = this.lastSelected < v3 ? 1 : -1; this.clearSelected(false); var v2 = this.lastSelected; while (v2 != v3) { this.selectItem(v2, true); if (v2 >= this.__vPosition && v2 < this.__vPosition + this.__rowCount) { this.rows[v2 - this.__vPosition].drawRow(this.rows[v2 - this.__vPosition].item, 'selected', false); } v2 += v4; } this.selectItem(v3, true); v5.drawRow(v5.item, 'selected', transition); } else { if (Key.isDown(17)) { var v7 = this.isSelected(v3); if (!this.multipleSelection || this.wasKeySelected) { this.clearSelected(transition); } if (!(!this.multipleSelection && v7)) { this.selectItem(v3, !v7); var v9 = !v7 ? 'selected' : 'normal'; v5.drawRow(v5.item, v9, transition); } this.lastSelected = v3; } } } if (allowChangeEvent) { this.dispatchEvent({'type': 'change'}); } delete this.wasKeySelected; }; v2.dragScroll = function (Void) { clearInterval(this.dragScrolling); if (this._ymouse < 0) { this.setVPosition(this.__vPosition - 1); this.selectRow(0, false); var v2 = Math.min(-this._ymouse - 30, 0); this.scrollInterval = 0.593 * v2 * v2 + 1 + this.minScrollInterval; this.dragScrolling = setInterval(this, 'dragScroll', this.scrollInterval); this.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': this.__vPosition}); } else { if (this._ymouse > this.__height) { var v3 = this.__vPosition; this.setVPosition(this.__vPosition + 1); if (v3 != this.__vPosition) { this.selectRow(this.__rowCount - 1 - this.roundUp, false); } var v2 = Math.min(this._ymouse - this.__height - 30, 0); this.scrollInterval = 0.593 * v2 * v2 + 1 + this.minScrollInterval; this.dragScrolling = setInterval(this, 'dragScroll', this.scrollInterval); this.dispatchEvent({'type': 'scroll', 'direction': 'vertical', 'position': this.__vPosition}); } else { this.dragScrolling = setInterval(this, 'dragScroll', 15); } } updateAfterEvent(); }; v2.__onMouseUp = function (Void) { clearInterval(this.dragScrolling); delete this.dragScrolling; delete this.dragScrolling; delete this.isPressed; delete this.onMouseUp; if (!this.selectable) { return undefined; } if (this.changeFlag) { this.dispatchEvent({'type': 'change'}); } delete this.changeFlag; }; v2.moveSelBy = function (incr) { if (!this.selectable) { this.setVPosition(this.__vPosition + incr); return undefined; } var v3 = this.getSelectedIndex(); if (v3 == undefined) { v3 = -1; } var v2 = v3 + incr; v2 = Math.max(0, v2); v2 = Math.min(this.getLength() - 1, v2); if (v2 == v3) { return undefined; } if (v3 < this.__vPosition || v3 >= this.__vPosition + this.__rowCount) { this.setVPosition(v3); } if (v2 >= this.__vPosition + this.__rowCount - this.roundUp || v2 < this.__vPosition) { this.setVPosition(this.__vPosition + incr); } this.wasKeySelected = true; this.selectRow(v2 - this.__vPosition, false); }; v2.keyDown = function (e) { if (this.selectable) { if (this.findInputText()) { return undefined; } } if (e.code == 40) { this.moveSelBy(1); } else { if (e.code == 38) { this.moveSelBy(-1); } else { if (e.code == 34) { if (this.selectable) { var v3 = this.getSelectedIndex(); if (v3 == undefined) { v3 = 0; } this.setVPosition(v3); } this.moveSelBy(this.__rowCount - 1 - this.roundUp); } else { if (e.code == 33) { if (this.selectable) { var v3 = this.getSelectedIndex(); if (v3 == undefined) { v3 = 0; } this.setVPosition(v3); } this.moveSelBy(1 - this.__rowCount + this.roundUp); } else { if (e.code == 36) { this.moveSelBy(-this.__dataProvider.length); } else { if (e.code == 35) { this.moveSelBy(this.__dataProvider.length); } } } } } } }; v2.findInputText = function (Void) { var v2 = Key.getAscii(); if (v2 >= 33 && v2 <= 126) { this.findString(String.fromCharCode(v2)); return true; } }; v2.findString = function (str) { if (this.__dataProvider.length == 0) { return undefined; } var v4 = this.getSelectedIndex(); if (v4 == undefined) { v4 = 0; } var v6 = 0; var v3 = v4 + 1; while (v3 != v4) { var v2 = this.__dataProvider.getItemAt(v3); if (v2 instanceof XMLNode) { v2 = v2.attributes[this.__labelField]; } else { if (typeof v2 != 'string') { v2 = String(v2[this.__labelField]); } } v2 = v2.substring(0, str.length); if (str == v2 || str.toUpperCase() == v2.toUpperCase()) { v6 = v3 - v4; break; } if (v3 >= this.getLength() - 1) { v3 = -1; } ++v3; } if (v6 != 0) { this.moveSelBy(v6); } }; v2.onRowPress = function (rowIndex) { if (!this.enabled) { return undefined; } this.isPressed = true; this.dragScrolling = setInterval(this, 'dragScroll', 15); this.onMouseUp = this.__onMouseUp; if (!this.selectable) { return undefined; } this.selectRow(rowIndex); }; v2.onRowRelease = function (rowIndex) {}; v2.onRowRollOver = function (rowIndex) { if (!this.enabled) { return undefined; } var v2 = this.rows[rowIndex].item; if (this.getStyle('useRollOver') && v2 != undefined) { this.rows[rowIndex].drawRow(v2, 'highlighted', false); } this.dispatchEvent({'type': 'itemRollOver', 'index': rowIndex + this.__vPosition}); }; v2.onRowRollOut = function (rowIndex) { if (!this.enabled) { return undefined; } if (this.getStyle('useRollOver')) { this.rows[rowIndex].drawRow(this.rows[rowIndex].item, this.getStateAt(rowIndex + this.__vPosition), false); } this.dispatchEvent({'type': 'itemRollOut', 'index': rowIndex + this.__vPosition}); }; v2.onRowDragOver = function (rowIndex) { if (!this.enabled || this.isPressed != true || !this.selectable) { return undefined; } if (this.dropEnabled) { } else { if (this.dragScrolling) { this.selectRow(rowIndex, false); } else { this.onMouseUp = this.__onMouseUp; this.onRowPress(rowIndex); } } }; v2.onRowDragOut = function (rowIndex) { if (!this.enabled) { return undefined; } if (this.dragEnabled) { } else { this.onRowRollOut(rowIndex); } }; v2.init = function (Void) { super.init(); this.tabEnabled = true; this.tabChildren = false; if (this.__dataProvider == undefined) { this.__dataProvider = new Array(); this.__dataProvider.addEventListener('modelChanged', this); } this.topRowZ = 10; this.baseRowZ = 10; }; v2.createChildren = function (Void) { super.createChildren(); this.listContent = this.createEmptyMovieClip('content_mc', this.CONTENTDEPTH); this.invLayoutContent = true; this.invalidate(); }; v2.draw = function (Void) { if (this.invRowHeight) { delete this.invRowHeight; this.__rowCount = 0; this.listContent.removeMovieClip(); this.listContent = this.createEmptyMovieClip('content_mc', this.CONTENTDEPTH); } if (this.invUpdateControl) { this.updateControl(); } this.border_mc.draw(); }; v2.invalidateStyle = function (propName) { if (this.isRowStyle[propName]) { this.invUpdateControl = true; this.invalidate(); } else { var v3 = 0; while (v3 < this.__rowCount) { this.rows[v3].invalidateStyle(propName); ++v3; } } super.invalidateStyle(propName); }; v1.mixIt1 = mx.controls.listclasses.DataSelector.Initialize(mx.controls.listclasses.ScrollSelectList); v1.mixIt2 = mx.controls.listclasses.DataProvider.Initialize(Array); v2.CONTENTDEPTH = 100; v2.__hPosition = 0; v2.__rowRenderer = 'SelectableRow'; v2.__rowHeight = 22; v2.__rowCount = 0; v2.__labelField = 'label'; v2.minScrollInterval = 30; v2.dropEnabled = false; v2.dragEnabled = false; v2.className = 'ScrollSelectList'; v2.isRowStyle = {'styleName': true, 'backgroundColor': true, 'selectionColor': true, 'rollOverColor': true, 'selectionDisabledColor': true, 'backgroundDisabledColor': true, 'textColor': true, 'textSelectedColor': true, 'textRollOverColor': true, 'textDisabledColor': true, 'alternatingRowColors': true, 'defaultIcon': true}; v2.roundUp = 0; v2.selectable = true; v2.multipleSelection = false; v2.addProperty('cellRenderer', v2.__get__cellRenderer, v2.__set__cellRenderer); v2.addProperty('iconField', v2.__get__iconField, v2.__set__iconField); v2.addProperty('iconFunction', v2.__get__iconFunction, v2.__set__iconFunction); v2.addProperty('labelField', v2.__get__labelField, v2.__set__labelField); v2.addProperty('labelFunction', v2.__get__labelFunction, v2.__set__labelFunction); v2.addProperty('rowCount', v2.__get__rowCount, v2.__set__rowCount); v2.addProperty('rowHeight', v2.__get__rowHeight, v2.__set__rowHeight); ASSetPropFlags(mx.controls.listclasses.ScrollSelectList.prototype, null, 1); } #endinitclip } movieClip 166 __Packages.mx.controls.List { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.List) { var v1 = function () { super(); }; mx.controls.List = v1; var v2 = new mx.controls.listclasses.ScrollSelectList(); mx.controls.List.prototype = v2; v2.setEnabled = function (v) { super.setEnabled(v); this.border_mc.backgroundColorName = v ? 'backgroundColor' : 'backgroundDisabledColor'; this.border_mc.invalidate(); }; v2.__get__labels = function () { return this.__labels; }; v2.__set__labels = function (lbls) { this.__labels = lbls; this.setDataProvider(lbls); return this.__get__labels(); }; v2.setVPosition = function (pos) { pos = Math.min(this.__dataProvider.length - this.__get__rowCount() + this.roundUp, pos); pos = Math.max(0, pos); super.setVPosition(pos); }; v2.setHPosition = function (pos) { pos = Math.max(Math.min(this.__maxHPosition, pos), 0); super.setHPosition(pos); this.hScroll(pos); }; v2.setMaxHPosition = function (pos) { this.__maxHPosition = pos; this.invScrollProps = true; this.invalidate(); }; v2.setHScrollPolicy = function (policy) { if (policy.toLowerCase() == 'auto' && !this.autoHScrollAble) { return undefined; } super.setHScrollPolicy(policy); if (policy == 'off') { this.setHPosition(0); this.setVPosition(Math.min(this.__dataProvider.length - this.__get__rowCount() + this.roundUp, this.__vPosition)); } }; v2.setRowCount = function (rC) { if (isNaN(rC)) { return undefined; } var v2 = this.getViewMetrics(); this.setSize(this.__width, this.__rowHeight * rC + v2.top + v2.bottom); }; v2.layoutContent = function (x, y, tW, tH, dW, dH) { this.totalWidth = tW; this.totalHeight = tH; this.displayWidth = dW; var v4 = (this.__hScrollPolicy == 'on' || this.__hScrollPolicy == 'auto') ? Math.max(tW, dW) : dW; super.layoutContent(x, y, v4, dH); }; v2.modelChanged = function (eventObj) { super.modelChanged(eventObj); var v3 = eventObj.eventName; if (v3 == 'addItems' || v3 == 'removeItems' || v3 == 'updateAll' || v3 == 'filterModel') { this.invScrollProps = true; this.invalidate('invScrollProps'); } }; v2.onScroll = function (eventObj) { var v3 = eventObj.target; if (v3 == this.vScroller) { this.setVPosition(v3.scrollPosition); } else { this.hScroll(v3.scrollPosition); } super.onScroll(eventObj); }; v2.hScroll = function (pos) { this.__hPosition = pos; this.listContent._x = -pos; }; v2.init = function (Void) { super.init(); if ((this.__get__labels()).length > 0) { var v6 = new Array(); var v3 = 0; while (v3 < (this.__get__labels()).length) { v6.addItem({'label': (this.__get__labels())[v3], 'data': this.data[v3]}); ++v3; } this.setDataProvider(v6); } this.__maxHPosition = 0; }; v2.createChildren = function (Void) { super.createChildren(); this.listContent.setMask(this.mask_mc); this.border_mc.move(0, 0); this.border_mc.setSize(this.__width, this.__height); }; v2.getRowCount = function (Void) { var v2 = this.getViewMetrics(); return (this.__rowCount == 0) ? Math.ceil((this.__height - v2.top - v2.bottom) / this.__rowHeight) : this.__rowCount; }; v2.size = function (Void) { super.size(); this.configureScrolling(); var v3 = this.getViewMetrics(); this.layoutContent(v3.left, v3.top, this.__width + this.__maxHPosition, this.totalHeight, this.__width - v3.left - v3.right, this.__height - v3.top - v3.bottom); }; v2.draw = function (Void) { if (this.invRowHeight) { this.invScrollProps = true; super.draw(); this.listContent.setMask(this.mask_mc); this.invLayoutContent = true; } if (this.invScrollProps) { this.configureScrolling(); delete this.invScrollProps; } if (this.invLayoutContent) { var v3 = this.getViewMetrics(); this.layoutContent(v3.left, v3.top, this.__width + this.__maxHPosition, this.totalHeight, this.__width - v3.left - v3.right, this.__height - v3.top - v3.bottom); } super.draw(); }; v2.configureScrolling = function (Void) { var v2 = this.__dataProvider.length; if (this.__vPosition > Math.max(0, v2 - this.getRowCount() + this.roundUp)) { this.setVPosition(Math.max(0, Math.min(v2 - this.getRowCount() + this.roundUp, this.__vPosition))); } var v3 = this.getViewMetrics(); var v4 = (this.__hScrollPolicy != 'off') ? this.__maxHPosition + this.__width - v3.left - v3.right : this.__width - v3.left - v3.right; if (v2 == undefined) { v2 = 0; } this.setScrollProperties(v4, 1, v2, this.__rowHeight); if (this.oldVWidth != v4) { this.invLayoutContent = true; } this.oldVWidth = v4; }; v1.symbolOwner = mx.controls.List; v1.symbolName = 'List'; v2.className = 'List'; v1.version = '2.0.2.126'; v2.clipParameters = {'rowHeight': 1, 'enabled': 1, 'visible': 1, 'labels': 1}; v2.scrollDepth = 1; v2.__vScrollPolicy = 'on'; v2.autoHScrollAble = false; v2.addProperty('labels', v2.__get__labels, v2.__set__labels); ASSetPropFlags(mx.controls.List.prototype, null, 1); } #endinitclip } movieClip 167 __Packages.mx.effects.Tween { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.effects) { _global.mx.effects = new Object(); } if (!_global.mx.effects.Tween) { var v1 = function (listenerObj, init, end, dur) { super(); if (listenerObj == undefined) { return undefined; } if (typeof init != 'number') { this.arrayMode = true; } this.listener = listenerObj; this.initVal = init; this.endVal = end; if (dur != undefined) { this.duration = dur; } this.startTime = getTimer(); if (this.duration == 0) { this.endTween(); } else { mx.effects.Tween.AddTween(this); } }; mx.effects.Tween = v1; var v2 = new Object(); mx.effects.Tween.prototype = v2; v1.AddTween = function (tween) { tween.ID = mx.effects.Tween.ActiveTweens.length; mx.effects.Tween.ActiveTweens.push(tween); if (mx.effects.Tween.IntervalToken == undefined) { mx.effects.Tween.Dispatcher.DispatchTweens = mx.effects.Tween.DispatchTweens; mx.effects.Tween.IntervalToken = setInterval(mx.effects.Tween.Dispatcher, 'DispatchTweens', mx.effects.Tween.Interval); } }; v1.RemoveTweenAt = function (index) { var v2 = mx.effects.Tween.ActiveTweens; if (index >= v2.length || index < 0 || index == undefined) { return undefined; } v2.splice(index, 1); var v4 = v2.length; var v1 = index; while (v1 < v4) { --v2[v1].ID; ++v1; } if (v4 == 0) { clearInterval(mx.effects.Tween.IntervalToken); delete mx.effects.Tween.IntervalToken; } }; v1.DispatchTweens = function (Void) { var v2 = mx.effects.Tween.ActiveTweens; var v3 = v2.length; var v1 = 0; while (v1 < v3) { v2[v1].doInterval(); ++v1; } updateAfterEvent(); }; v2.doInterval = function () { var v2 = getTimer() - this.startTime; var v3 = this.getCurVal(v2); if (v2 >= this.duration) { this.endTween(); } else { if (this.updateFunc != undefined) { this.listener[this.updateFunc](v3); } else { this.listener.onTweenUpdate(v3); } } }; v2.getCurVal = function (curTime) { if (this.arrayMode) { var v3 = new Array(); var v2 = 0; while (v2 < this.initVal.length) { v3[v2] = this.easingEquation(curTime, this.initVal[v2], this.endVal[v2] - this.initVal[v2], this.duration); ++v2; } return v3; } else { return this.easingEquation(curTime, this.initVal, this.endVal - this.initVal, this.duration); } }; v2.endTween = function () { if (this.endFunc != undefined) { this.listener[this.endFunc](this.endVal); } else { this.listener.onTweenEnd(this.endVal); } mx.effects.Tween.RemoveTweenAt(this.ID); }; v2.setTweenHandlers = function (update, end) { this.updateFunc = update; this.endFunc = end; }; v2.easingEquation = function (t, b, c, d) { return (c / 2) * (Math.sin(Math.PI * (t / d - 0.5)) + 1) + b; }; v1.ActiveTweens = new Array(); v1.Interval = 10; v1.Dispatcher = new Object(); v2.duration = 3000; ASSetPropFlags(mx.effects.Tween.prototype, null, 1); } #endinitclip } movieClip 168 __Packages.mx.controls.listclasses.SelectableRow { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.listclasses) { _global.mx.controls.listclasses = new Object(); } if (!_global.mx.controls.listclasses.SelectableRow) { var v1 = function () { super(); }; mx.controls.listclasses.SelectableRow = v1; var v2 = new mx.core.UIComponent(); mx.controls.listclasses.SelectableRow.prototype = v2; v2.setValue = function (itmObj, state) { var v7 = this.__height; var v2 = this.cell; var v5 = this.owner; var v8 = this.itemToString(itmObj); if (v2.getValue() != v8) { v2.setValue(v8, itmObj, state); } var v4 = (v5.getPropertiesAt(this.rowIndex + v5.__vPosition)).icon; if (v4 == undefined) { v4 = v5.__iconFunction(itmObj); if (v4 == undefined) { v4 = itmObj[v5.__iconField]; if (v4 == undefined) { v4 = v5.getStyle('defaultIcon'); } } } var v3 = this.icon_mc; if (v4 != undefined && itmObj != undefined) { v3 = this.createObject(v4, 'icon_mc', 20); v3._x = 2; v3._y = (v7 - v3._height) / 2; v2._x = 4 + v3._width; } else { v3.removeMovieClip(); v2._x = 2; } var v9 = (v3 == undefined) ? 0 : v3._width; v2.setSize(this.__width - v9, Math.min(v7, v2.getPreferredHeight())); v2._y = (v7 - v2._height) / 2; }; v2.size = function (Void) { var v3 = this.backGround; var v2 = this.cell; var v4 = this.__height; var v5 = this.__width; var v6 = (this.icon_mc == undefined) ? 0 : this.icon_mc._width; v2.setSize(v5 - v6, Math.min(v4, v2.getPreferredHeight())); v2._y = (v4 - v2._height) / 2; this.icon_mc._y = (v4 - this.icon_mc._height) / 2; v3._x = 0; v3._width = v5; v3._height = v4; this.drawRowFill(v3, this.normalColor); this.drawRowFill(this.highlight, this.highlightColor); }; v2.setCellRenderer = function (forceSizing) { var v3 = this.owner.__cellRenderer; var v4; if (this.cell != undefined) { v4 = this.cell._x; this.cell.removeMovieClip(); this.cell.removeTextField(); } var v2; if (v3 == undefined) { this.cell = this.createLabel('cll', 0, {'styleName': this}); v2 = this.cell; v2.styleName = this.owner; v2.selectable = false; v2.tabEnabled = false; v2.background = false; v2.border = false; } else { if (typeof v3 == 'string') { this.cell = this.createObject(v3, 'cll', 0, {'styleName': this}); v2 = this.cell; } else { this.cell = this.createClassObject(v3, 'cll', 0, {'styleName': this}); v2 = this.cell; } } v2.owner = this; v2.listOwner = this.owner; v2.getCellIndex = this.getCellIndex; v2.getDataLabel = this.getDataLabel; if (v4 != undefined) { v2._x = v4; } if (forceSizing) { this.size(); } }; v2.getCellIndex = function (Void) { return {'columnIndex': 0, 'itemIndex': this.owner.rowIndex + this.listOwner.__vPosition}; }; v2.getDataLabel = function () { return this.listOwner.labelField; }; v2.init = function (Void) { super.init(); this.tabEnabled = false; }; v2.createChildren = function (Void) { this.setCellRenderer(false); this.setupBG(); this.setState(this.state, false); }; v2.drawRow = function (itmObj, state, transition) { this.item = itmObj; this.setState(state, transition); this.setValue(itmObj, state, transition); }; v2.itemToString = function (itmObj) { if (itmObj == undefined) { return ' '; } var v2 = this.owner.__labelFunction(itmObj); if (v2 == undefined) { v2 = itmObj instanceof XMLNode ? itmObj.attributes[this.owner.__labelField] : itmObj[this.owner.__labelField]; if (v2 == undefined) { v2 = ' '; if (typeof itmObj == 'object') { for (var v4 in itmObj) { if (v4 != '__ID__') { v2 = itmObj[v4] + ', ' + v2; } } v2 = v2.substring(0, v2.length - 2); return v2; } v2 = itmObj; } } return v2; }; v2.setupBG = function (Void) { this.backGround = this.createEmptyMovieClip('bG_mc', mx.controls.listclasses.SelectableRow.LOWEST_DEPTH); var v2 = this.backGround; this.drawRowFill(v2, this.normalColor); this.highlight = this.createEmptyMovieClip('tran_mc', mx.controls.listclasses.SelectableRow.LOWEST_DEPTH + 10); v2.owner = this; v2.grandOwner = this.owner; v2.onPress = this.bGOnPress; v2.onRelease = this.bGOnRelease; v2.onRollOver = this.bGOnRollOver; v2.onRollOut = this.bGOnRollOut; v2.onDragOver = this.bGOnDragOver; v2.onDragOut = this.bGOnDragOut; v2.useHandCursor = false; v2.trackAsMenu = true; v2.drawRect = this.drawRect; this.highlight.drawRect = this.drawRect; }; v2.drawRowFill = function (mc, newClr) { mc.clear(); mc.beginFill(newClr); mc.drawRect(1, 0, this.__width, this.__height); mc.endFill(); mc._width = this.__width; mc._height = this.__height; }; v2.setState = function (newState, transition) { var v2 = this.highlight; var v8 = this.backGround; var v4 = this.__height; var v3 = this.owner; if (!v3.enabled) { if (newState == 'selected' || this.state == 'selected') { this.highlightColor = v3.getStyle('selectionDisabledColor'); this.drawRowFill(v2, this.highlightColor); v2._visible = true; v2._y = 0; v2._height = v4; } else { v2._visible = false; this.normalColor = v3.getStyle('backgroundDisabledColor'); this.drawRowFill(v8, this.normalColor); } this.cell.__enabled = false; this.cell.setColor(v3.getStyle('disabledColor')); } else { this.cell.__enabled = true; if (transition && (newState == this.state || newState == 'highlighted' && this.state == 'selected')) { this.isChangedToSelected = true; return undefined; } var v6 = v3.getStyle('selectionDuration'); var v7 = 0; if (this.isChangedToSelected && newState == 'selected') { transition = false; } var v10 = transition && v6 != 0; if (newState == 'normal') { v7 = v3.getStyle('color'); this.normalColor = this.getNormalColor(); this.drawRowFill(v8, this.normalColor); if (v10) { v6 /= 2; v2._height = v4; v2._width = this.__width; v2._y = 0; this.bGTween = new mx.effects.Tween(this, v4 + 2, v4 * 0.2, v6, 5); } else { v2._visible = false; } delete this.isChangedToSelected; } else { this.highlightColor = v3.getStyle((newState == 'highlighted') ? 'rollOverColor' : 'selectionColor'); this.drawRowFill(v2, this.highlightColor); v2._visible = true; v7 = v3.getStyle((newState == 'highlighted') ? 'textRollOverColor' : 'textSelectedColor'); if (v10) { v2._height = v4 * 0.5; v2._y = (v4 - v2._height) / 2; this.bGTween = new mx.effects.Tween(this, v2._height, v4 + 2, v6, 5); var v9 = v3.getStyle('selectionEasing'); if (v9 != undefined) { this.bGTween.easingEquation = v9; } } else { v2._y = 0; v2._height = v4; } } this.cell.setColor(v7); } this.state = newState; }; v2.onTweenUpdate = function (val) { this.highlight._height = val; this.highlight._y = (this.__height - val) / 2; }; v2.onTweenEnd = function (val) { this.onTweenUpdate(val); this.highlight._visible = this.state != 'normal'; }; v2.getNormalColor = function (Void) { var v3; var v2 = this.owner; if (!this.owner.enabled) { v3 = v2.getStyle('backgroundDisabledColor'); return v3; } var v5 = this.rowIndex + v2.__vPosition; if (this.rowIndex == undefined) { v3 = (v2.getPropertiesOf(this.item)).backgroundColor; } else { v3 = (v2.getPropertiesAt(v5)).backgroundColor; } if (v3 == undefined) { var v4 = v2.getStyle('alternatingRowColors'); if (v4 == undefined) { v3 = v2.getStyle('backgroundColor'); return v3; } v3 = v4[v5 % v4.length]; } return v3; }; v2.invalidateStyle = function (propName) { this.cell.invalidateStyle(propName); super.invalidateStyle(propName); }; v2.bGOnPress = function (Void) { this.grandOwner.pressFocus(); this.grandOwner.onRowPress(this.owner.rowIndex); }; v2.bGOnRelease = function (Void) { this.grandOwner.releaseFocus(); this.grandOwner.onRowRelease(this.owner.rowIndex); }; v2.bGOnRollOver = function (Void) { this.grandOwner.onRowRollOver(this.owner.rowIndex); }; v2.bGOnRollOut = function (Void) { this.grandOwner.onRowRollOut(this.owner.rowIndex); }; v2.bGOnDragOver = function (Void) { this.grandOwner.onRowDragOver(this.owner.rowIndex); }; v2.bGOnDragOut = function (Void) { this.grandOwner.onRowDragOut(this.owner.rowIndex); }; v1.LOWEST_DEPTH = -16384; v2.state = 'normal'; v2.disabledColor = 15263976; v2.normalColor = 16777215; ASSetPropFlags(mx.controls.listclasses.SelectableRow.prototype, null, 1); } #endinitclip } movieClip 169 __Packages.mx.controls.HScrollBar { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.HScrollBar) { var v1 = function () { super(); }; mx.controls.HScrollBar = v1; var v2 = new mx.controls.scrollClasses.ScrollBar(); mx.controls.HScrollBar.prototype = v2; v2.getMinWidth = function (Void) { return this._minHeight; }; v2.getMinHeight = function (Void) { return this._minWidth; }; v2.init = function (Void) { super.init(); this._xscale = -100; this._rotation = -90; }; v2.__get__virtualHeight = function () { return this.__width; }; v2.isScrollBarKey = function (k) { if (k == 37) { this.scrollIt('Line', -1); return true; return super.isScrollBarKey(k); } if (k == 39) { this.scrollIt('Line', 1); return true; } return super.isScrollBarKey(k); }; v1.symbolName = 'HScrollBar'; v1.symbolOwner = mx.core.UIComponent; v1.version = '2.0.2.126'; v2.className = 'HScrollBar'; v2.minusMode = 'Left'; v2.plusMode = 'Right'; v2.minMode = 'AtLeft'; v2.maxMode = 'AtRight'; v2.addProperty('virtualHeight', v2.__get__virtualHeight, function () {}); ASSetPropFlags(mx.controls.HScrollBar.prototype, null, 1); } #endinitclip } movieClip 170 __Packages.mx.controls.Button { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.Button) { var v1 = function () { super(); }; mx.controls.Button = v1; var v2 = new mx.controls.SimpleButton(); mx.controls.Button.prototype = v2; v2.init = function (Void) { super.init(); }; v2.draw = function () { if (this.initializing) { this.labelPath.visible = true; } super.draw(); if (this.initIcon != undefined) { this._setIcon(this.initIcon); } delete this.initIcon; }; v2.onRelease = function (Void) { super.onRelease(); }; v2.createChildren = function (Void) { super.createChildren(); }; v2.setSkin = function (tag, linkageName, initobj) { return super.setSkin(tag, linkageName, initobj); }; v2.viewSkin = function (varName) { var v3 = this.getState() ? 'true' : 'false'; v3 += this.enabled ? this.phase : 'disabled'; super.viewSkin(varName, {'styleName': this, 'borderStyle': v3}); }; v2.invalidateStyle = function (c) { this.labelPath.invalidateStyle(c); super.invalidateStyle(c); }; v2.setColor = function (c) { var v2 = 0; while (v2 < 8) { this[this.idNames[v2]].redraw(true); ++v2; } }; v2.setEnabled = function (enable) { this.labelPath.enabled = enable; super.setEnabled(enable); }; v2.calcSize = function (tag, ref) { if (this.__width == undefined || this.__height == undefined) { return undefined; } if (tag < 7) { ref.setSize(this.__width, this.__height, true); } }; v2.size = function (Void) { this.setState(this.getState()); this.setHitArea(this.__width, this.__height); var v3 = 0; while (v3 < 8) { var v4 = this.idNames[v3]; if (typeof this[v4] == 'movieclip') { this[v4].setSize(this.__width, this.__height, true); } ++v3; } super.size(); }; v2.__set__labelPlacement = function (val) { this.__labelPlacement = val; this.invalidate(); return this.__get__labelPlacement(); }; v2.__get__labelPlacement = function () { return this.__labelPlacement; }; v2.getLabelPlacement = function (Void) { return this.__labelPlacement; }; v2.setLabelPlacement = function (val) { this.__labelPlacement = val; this.invalidate(); }; v2.getBtnOffset = function (Void) { if (this.getState()) { var v2 = this.btnOffset; return v2; } if (this.phase == 'down') { v2 = this.btnOffset; return v2; } v2 = 0; return v2; }; v2.setView = function (offset) { var v16 = offset ? this.btnOffset : 0; var v12 = this.getLabelPlacement(); var v7 = 0; var v6 = 0; var v9 = 0; var v8 = 0; var v5 = 0; var v4 = 0; var v3 = this.labelPath; var v2 = this.iconName; var v15 = v3.textWidth; var v14 = v3.textHeight; var v10 = this.__width - this.borderW - this.borderW; var v11 = this.__height - this.borderW - this.borderW; if (v2 != undefined) { v7 = v2._width; v6 = v2._height; } if (v12 == 'left' || v12 == 'right') { if (v3 != undefined) { v9 = Math.min(v10 - v7, v15 + 5); v3._width = v9; v8 = Math.min(v11, v14 + 5); v3._height = v8; } if (v12 == 'right') { v5 = v7; if (this.centerContent) { v5 += (v10 - v9 - v7) / 2; } v2._x = v5 - v7; } else { v5 = v10 - v9 - v7; if (this.centerContent) { v5 /= 2; } v2._x = v5 + v9; } v4 = 0; v2._y = v4; if (this.centerContent) { v2._y = (v11 - v6) / 2; v4 = (v11 - v8) / 2; } if (!this.centerContent) { v2._y += Math.max(0, (v8 - v6) / 2); } } else { if (v3 != undefined) { v9 = Math.min(v10, v15 + 5); v3._width = v9; v8 = Math.min(v11 - v6, v14 + 5); v3._height = v8; } v5 = (v10 - v9) / 2; v2._x = (v10 - v7) / 2; if (v12 == 'top') { v4 = v11 - v8 - v6; if (this.centerContent) { v4 /= 2; } v2._y = v4 + v8; } else { v4 = v6; if (this.centerContent) { v4 += (v11 - v8 - v6) / 2; } v2._y = v4 - v6; } } var v13 = this.borderW + v16; v3._x = v5 + v13; v3._y = v4 + v13; v2._x += v13; v2._y += v13; }; v2.__set__label = function (lbl) { this.setLabel(lbl); return this.__get__label(); }; v2.setLabel = function (label) { if (label == '') { this.labelPath.removeTextField(); this.refresh(); return undefined; } if (this.labelPath == undefined) { var v2 = this.createLabel('labelPath', 200, label); v2._width = v2.textWidth + 5; v2._height = v2.textHeight + 5; if (this.initializing) { v2.visible = false; } } else { delete this.labelPath.__text; this.labelPath.text = label; this.refresh(); } }; v2.getLabel = function (Void) { return (this.labelPath.__text != undefined) ? this.labelPath.__text : this.labelPath.text; }; v2.__get__label = function () { return this.getLabel(); }; v2._getIcon = function (Void) { return this._iconLinkageName; }; v2.__get__icon = function () { if (this.initializing) { return this.initIcon; } return this._iconLinkageName; }; v2._setIcon = function (linkage) { if (this.initializing) { if (linkage == '') { return undefined; } this.initIcon = linkage; } else { if (linkage == '') { this.removeIcons(); return undefined; } super.changeIcon(0, linkage); super.changeIcon(1, linkage); super.changeIcon(3, linkage); super.changeIcon(4, linkage); super.changeIcon(5, linkage); this._iconLinkageName = linkage; this.refresh(); } }; v2.__set__icon = function (linkage) { this._setIcon(linkage); return this.__get__icon(); }; v2.setHitArea = function (w, h) { if (this.hitArea_mc == undefined) { this.createEmptyObject('hitArea_mc', 100); } var v2 = this.hitArea_mc; v2.clear(); v2.beginFill(16711680); v2.drawRect(0, 0, w, h); v2.endFill(); v2.setVisible(false); }; v1.symbolName = 'Button'; v1.symbolOwner = mx.controls.Button; v2.className = 'Button'; v1.version = '2.0.2.126'; v2.btnOffset = 0; v2._color = 'buttonColor'; v2.__label = 'default value'; v2.__labelPlacement = 'right'; v2.falseUpSkin = 'ButtonSkin'; v2.falseDownSkin = 'ButtonSkin'; v2.falseOverSkin = 'ButtonSkin'; v2.falseDisabledSkin = 'ButtonSkin'; v2.trueUpSkin = 'ButtonSkin'; v2.trueDownSkin = 'ButtonSkin'; v2.trueOverSkin = 'ButtonSkin'; v2.trueDisabledSkin = 'ButtonSkin'; v2.falseUpIcon = ''; v2.falseDownIcon = ''; v2.falseOverIcon = ''; v2.falseDisabledIcon = ''; v2.trueUpIcon = ''; v2.trueDownIcon = ''; v2.trueOverIcon = ''; v2.trueDisabledIcon = ''; v2.clipParameters = {'labelPlacement': 1, 'icon': 1, 'toggle': 1, 'selected': 1, 'label': 1}; v1.mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters); v2.centerContent = true; v2.borderW = 1; v2.addProperty('icon', v2.__get__icon, v2.__set__icon); v2.addProperty('label', v2.__get__label, v2.__set__label); v2.addProperty('labelPlacement', v2.__get__labelPlacement, v2.__set__labelPlacement); ASSetPropFlags(mx.controls.Button.prototype, null, 1); } #endinitclip } movieClip 171 __Packages.mx.skins.halo.ButtonSkin { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.skins) { _global.mx.skins = new Object(); } if (!_global.mx.skins.halo) { _global.mx.skins.halo = new Object(); } if (!_global.mx.skins.halo.ButtonSkin) { var v1 = function () { super(); }; mx.skins.halo.ButtonSkin = v1; var v2 = new mx.skins.RectBorder(); mx.skins.halo.ButtonSkin.prototype = v2; v2.init = function () { super.init(); }; v2.size = function () { this.drawHaloRect(this.__get__width(), this.__get__height()); }; v2.drawHaloRect = function (w, h) { var v6 = this.getStyle('borderStyle'); var v4 = this.getStyle('themeColor'); var v5 = this._parent.emphasized; this.clear(); switch (v6) { case 'falseup': if (v5) { this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 75); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 85, 0, 'radial'); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 75); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100); } else { this.drawRoundRect(0, 0, w, h, 5, 9542041, 100); this.drawRoundRect(1, 1, w - 2, h - 2, 4, [13291985, 16250871], 100, 0, 'radial'); this.drawRoundRect(2, 2, w - 4, h - 4, 3, [9542041, 13818586], 100, 0, 'radial'); this.drawRoundRect(3, 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(3, 4, w - 6, h - 7, 2, 16316664, 100); } break; case 'falsedown': this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, v4, 20); break; case 'falserollover': this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 50); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 50); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100); break; case 'falsedisabled': this.drawRoundRect(0, 0, w, h, 5, 13159628, 100); this.drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100); this.drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100); this.drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100); break; case 'trueup': this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 10066329, 100); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16250871, 100); break; case 'truedown': this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 10066329, 100); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 50); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 40); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, v4, 20); break; case 'truerollover': this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, 9542041, 100); this.drawRoundRect(this.__get__x(), this.__get__y(), w, h, 5, v4, 50); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 1, this.__get__y() + 1, w - 2, h - 2, 4, v4, 40); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, 'radial'); this.drawRoundRect(this.__get__x() + 2, this.__get__y() + 2, w - 4, h - 4, 3, v4, 40); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 3, w - 6, h - 6, 2, 16777215, 100); this.drawRoundRect(this.__get__x() + 3, this.__get__y() + 4, w - 6, h - 7, 2, 16316664, 100); break; case 'truedisabled': this.drawRoundRect(0, 0, w, h, 5, 13159628, 100); this.drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100); this.drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100); this.drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100); } }; v1.classConstruct = function () { mx.core.ext.UIObjectExtensions.Extensions(); _global.skinRegistry.ButtonSkin = true; return true; }; v1.symbolName = 'ButtonSkin'; v1.symbolOwner = mx.skins.halo.ButtonSkin; v2.className = 'ButtonSkin'; v2.backgroundColorName = 'buttonColor'; v1.classConstructed = mx.skins.halo.ButtonSkin.classConstruct(); v1.UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions; ASSetPropFlags(mx.skins.halo.ButtonSkin.prototype, null, 1); } #endinitclip } movieClip 172 __Packages.mx.controls.VScrollBar { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.controls) { _global.mx.controls = new Object(); } if (!_global.mx.controls.VScrollBar) { var v1 = function () { super(); }; mx.controls.VScrollBar = v1; var v2 = new mx.controls.scrollClasses.ScrollBar(); mx.controls.VScrollBar.prototype = v2; v2.init = function (Void) { super.init(); }; v2.isScrollBarKey = function (k) { if (k == 38) { this.scrollIt('Line', -1); return true; return super.isScrollBarKey(k); } if (k == 40) { this.scrollIt('Line', 1); return true; return super.isScrollBarKey(k); } if (k == 33) { this.scrollIt('Page', -1); return true; return super.isScrollBarKey(k); } if (k == 34) { this.scrollIt('Page', 1); return true; } return super.isScrollBarKey(k); }; v1.symbolName = 'VScrollBar'; v1.symbolOwner = mx.core.UIComponent; v1.version = '2.0.2.126'; v2.className = 'VScrollBar'; v2.minusMode = 'Up'; v2.plusMode = 'Down'; v2.minMode = 'AtTop'; v2.maxMode = 'AtBottom'; ASSetPropFlags(mx.controls.VScrollBar.prototype, null, 1); } #endinitclip } frame 2 { if (_framesloaded <= 4) { gotoAndPlay(1); } else { play(); } percento = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + '%'; } frame 3 { supertien._alpha = 20; stop(); } movieClip 235 { } // unknown tag 88 length 62 button 240 { on (release) { _root.play(); } on (rollOver) { supertien._alpha = 40; } on (rollOut) { supertien._alpha = 20; } } frame 4 { stop(); } movieClip 246 { } movieClip 249 { } movieClip 253 { } movieClip 255 { frame 1 { function camControl() { parentColor.setTransform(camColor.getTransform()); var v4 = sX / this._width; var v3 = sY / this._height; _parent._x = cX - this._x * v4; _parent._y = cY - this._y * v3; _parent._xscale = 100 * v4; _parent._yscale = 100 * v3; } function resetStage() { var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0}; parentColor.setTransform(v2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } _parent.setMask(this); this._visible = false; var oldMode = Stage.scaleMode; var cX = 275; var cY = 154.5; var sX = 550; var sY = 309; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage; } } movieClip 259 { } movieClip 284 { } movieClip 286 { } movieClip 288 { } movieClip 289 { } movieClip 290 { } movieClip 335 { } movieClip 341 { } movieClip 360 { } movieClip 394 { } movieClip 395 { } movieClip 398 { } movieClip 399 { } movieClip 404 { } movieClip 411 { } movieClip 414 { } movieClip 417 { } movieClip 418 { } movieClip 459 { } movieClip 463 { } movieClip 465 { } movieClip 479 { } movieClip 483 { } movieClip 503 { } movieClip 525 { } movieClip 532 { } movieClip 535 { } movieClip 575 { } movieClip 577 { } movieClip 586 { } movieClip 589 { } movieClip 591 { } movieClip 611 { } movieClip 613 { } movieClip 615 { } movieClip 627 { } movieClip 670 { } movieClip 681 { } movieClip 687 { } movieClip 712 { } movieClip 717 { } movieClip 766 { } movieClip 819 { } movieClip 889 { } movieClip 911 { } movieClip 920 { } movieClip 924 { } movieClip 925 { } movieClip 926 { } movieClip 978 { } movieClip 979 { } movieClip 980 { } movieClip 987 { } movieClip 989 { } movieClip 993 { } movieClip 997 { } movieClip 999 { } movieClip 1002 { } movieClip 1004 { } movieClip 1006 { } movieClip 1031 { } movieClip 1032 { } movieClip 1049 { } movieClip 1051 { } movieClip 1055 { } movieClip 1067 { } movieClip 1076 { } movieClip 1104 { } movieClip 1112 { } movieClip 1117 { } movieClip 1119 { } movieClip 1121 { } movieClip 1123 { } movieClip 1125 { } movieClip 1136 { } movieClip 1144 { } movieClip 1147 { } movieClip 1148 { } movieClip 1153 { } movieClip 1155 { } movieClip 1159 { } movieClip 1164 { } movieClip 1166 { } movieClip 1225 { } movieClip 1234 { } movieClip 1277 { } movieClip 1281 { } movieClip 1321 { } movieClip 1322 { } movieClip 1325 { } movieClip 1367 { } movieClip 1369 { } movieClip 1370 { } movieClip 1373 { } movieClip 1377 { } movieClip 1379 { } movieClip 1380 { } movieClip 1383 { } movieClip 1389 { } movieClip 1390 { } movieClip 1391 { } movieClip 1393 { } movieClip 1397 { } movieClip 1398 { } movieClip 1417 { } movieClip 1427 { } movieClip 1443 { } movieClip 1445 { } movieClip 1487 { } movieClip 1489 { } movieClip 1491 { } movieClip 1494 { } movieClip 1497 { } movieClip 1506 { } movieClip 1508 { } movieClip 1513 { } movieClip 1553 { } movieClip 1556 { } movieClip 1570 { } movieClip 1590 { } movieClip 1592 { } movieClip 1601 { } movieClip 1616 { } movieClip 1704 { } movieClip 1711 { } movieClip 1714 { } movieClip 1715 { } movieClip 1717 { } movieClip 1718 { } movieClip 1799 { } movieClip 1803 { } movieClip 1805 wi-movie { instance of movieClip 255 { onClipEvent (construct) { varName = 'defaultValue'; } } frame 4029 { stop(); } } movieClip 1810 { frame 5 { stop(); } } button 1813 { on (release) { _root.play(); } } button 1814 { on (release) { _root._quality = 'LOW'; } } button 1815 { on (release) { _root._quality = 'HIGH'; } } instance of movieClip 225 { onClipEvent (release) { getURL('http://aarqee.com', '_blank'); } } frame 6 { if (_root.getBytesLoaded() != _root.getBytesTotal()) { _root.gotoAndPlay('loading__game'); } else { play(); } percento = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + '%'; } frame 7 { supertien._alpha = 20; firsttimeplay = 1; stop(); } button 1821 { on (release) { _root.play(); } on (rollOver) { supertien._alpha = 40; } on (rollOut) { supertien._alpha = 20; } } frame 8 { _quality = 'HIGH'; pauser = 0; scrollspeed = 15; ailevel_s = 4; techlevel_s = 5; skirmish_researchready = 0; startingcolor0 = 'v'; startingcolor1 = 'p'; ai_houses = ['bng', 'mf', 'jac', 'smc']; startinghouse0 = 'bng'; startinghouse1 = 'bng'; wbaic_input0 = ''; wbaic_input1 = ''; commandername0 = 'Commander'; commandername1 = 'Warchief'; screenbg = 2; screenbgtotal = 11; gamemusiconoff = 'on'; menumusic = 'on'; gameversion = 'War and Beyond v1-0000'; conq__players = 4; conq__maxai = 7; nobuild = 0; notrain = 1; wbaic_ig = new Array(); wbaic_ig.push('0165641295035092020505659001328593769000501570303012650501831145067596161000328825080050335782650012618951316003333695439130926505063000301317882001118100825000100100500300013726693150817153645187663551755465578590000004157356521~c~Manzora'); wbaic_ig.push('0003550462416095461223514003939572929095091692616002944653359003550594228052972500907033169655759033335613550000000656967295050505050010101619395009903260300000903999999000061991699555155555155578856887785555555516846003055455511~c~Sara_Y'); wbaic_ig.push('1019789050709118995111113058456111111096180111111056946090001137267141613137670141111136772161313015050010101015050050505015050000001005050010109505050505050505050505050505050505050555555555555555555555555555555534435431558534621~c~Viceroy_Rokunaka'); wbaic_ig.push('1000035560000000000501800000000870954000007675033005024160000000000983556010020500000010000630000160922500518000000590000000000205050000031501816000000990000001618592014000000379950000000000111133311111877511165111009092580386101~c~Samurai_Captain'); wbaic_ig.push('1070000702020001650330000001422501301000000500916011428160000012624000000033716221300000326241301004450000000004626052013000000184842000037130000005000140000000000509922000050990335216615578618878526155755888858893200022261415821~c~Great_Kage'); wbaic_ig.push('2001316630303002431591109000000503124000000241835003333332007000000503350002050290000000720501414004435650918005050505050001128743314000000287676005014200300000007549526001118800922221688578112275886622758218878880003001656445501~c~Bill_Kellos'); wbaic_ig.push('2004124030718000000761413000000972674000000502450005028161101000000506167002028502214000714653305005050130000003509310029000720460014000000079995505050505050505050505050505050505050211125545125355521123445213335210905063550396021~c~Art_Calderon'); wbaic_ig.push('3002831260007000714500928005003160000000031540000001329500000050914500016000507502029000003692950000016391318003950500000000716442842000000241350008500800005001420579841003509592926555177848555547751655478815533288881113053465301~c~Fenton'); wbaic_ig.push('2002937502007001326632818000713501400002822501350000013502411003511243961001450502411000000632609002635290000002609505029001350500909005000261122000313761850005013090000005050505050217785645555555555555466575555590003003856435621~c~JAC_Commander'); wbaic_ig.push('0002637410111000000502050002050310000001816502416002050931409010011502629000000502033000000675069000000760513003728330000000020505000000000206956005918000000000000166728505050505050555555555555555555555555565575110000991575396001~c~Ray_Walton'); wbaic_ig.push('0007429090100002033500000002828310000002816520000002850930000010000502650000000502063000000673169000000762469000000563350000000502852000000484257005918000000000000166728505050505050111135553555555555555555555555580000001766435601~c~Reese_Gator'); wbaic_ig.push('1003124140700000007505050001413501114000011982250001613522220000124933350004124540000000018501811001329652989003157501411000000165961002426500505005028220000003314630100505050505050211123342666755771123443267757717700771062445501~c~The_Mayzor'); wbaic_ig.push('3002831260007000714500928005003160000000031540000001329500000050914500016000507502029000003692950000016391318003950500000000716442842000000241350008500800005001420579841003509592926555177848555547751655478815533288881113053465301~c~Fenton'); wbaic_ig.push('3000709500711002014501433001118500707001120501103000916501305000713502005001118501100000516502007002926501400000309505050000011542222002650331400000000359897000000990000009900200000888877767888866551123443213333272200002554475211~c~Dario_Lam'); allpws = new Array(); allpws.push('destiny'); allpws.push('staydown'); allpws.push('rocks'); allpws.push('assassin'); allpws.push('central'); allpws.push('overthrow'); allpws.push('future'); allpws.push('ending1'); allpws.push('first'); allpws.push('inward'); allpws.push('pressure'); allpws.push('ground'); allpws.push('blocked'); allpws.push('west'); allpws.push('gone'); allpws.push('wild'); allpws.push('ending2'); allpws.push('line'); allpws.push('descent'); allpws.push('dumb'); allpws.push('north'); allpws.push('double'); allpws.push('broken'); allpws.push('goodbye'); allpws.push('final'); allpws.push('ending3'); allpws.push('breach'); allpws.push('drive'); allpws.push('scout'); allpws.push('samurai'); allpws.push('hawk'); allpws.push('mega'); allpws.push('ending4'); currentlevel = 1; _global.style.setStyle('color', 14540253); _global.style.setStyle('fontSize', 10); _global.style.setStyle('fontFamily', 'Verdana'); _global.style.setStyle(); } frame 9 { var table_buildings = new Array(); table_buildings.push({'bname': 'Headquarters', 'linkage': 'hq', 'array': 'builders', 'house': 'BNG', 'dimw': 74, 'dimh': 74, 'tech': 0, 'hp': 310, 'price': 0, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Trade Tower', 'linkage': 'tradetower', 'array': 'outposts', 'house': 'BNG', 'dimw': 67, 'dimh': 34, 'tech': 0, 'hp': 150, 'price': 750, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Research Lab', 'linkage': 'researchlab', 'array': 'outposts', 'house': 'BNG', 'dimw': 67, 'dimh': 34, 'tech': 1, 'hp': 140, 'price': 450, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Army Camp', 'linkage': 'armycamp', 'array': 'builders', 'house': 'BNG', 'dimw': 67, 'dimh': 34, 'tech': 0, 'hp': 100, 'price': 500, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': ['infantry', 'rocketman', 'flamer', 'commando']}); table_buildings.push({'bname': 'Machine Bay', 'linkage': 'machinebay', 'array': 'builders', 'house': 'BNG', 'dimw': 67, 'dimh': 34, 'tech': 0, 'hp': 158, 'price': 650, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': ['jeep', 'lighttank', 'rockettank', 'bngtank', 'bngbluetrigger']}); table_buildings.push({'bname': 'Hangar', 'linkage': 'hangar', 'array': 'builders', 'house': 'BNG', 'dimw': 106, 'dimh': 42, 'tech': 4, 'hp': 200, 'price': 850, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': ['assaultheli', 'bngfighter', 'bwingbomber']}); table_buildings.push({'bname': 'Gun Turret', 'linkage': 'gunturret', 'array': 'shooters', 'house': 'BNG', 'dimw': 20, 'dimh': 20, 'tech': 0, 'hp': 30, 'price': 160, 'medium': 'l', 'targetm': 'l', 'range': 90, 'weapon': 0, 'cantrain': [], 'wspeed': 100, 'recharge': 80, 'weight': 2, 'wlinkage': 'w_rifle'}); table_buildings.push({'bname': 'Cannon Tower', 'linkage': 'cannontower', 'array': 'shooters', 'house': 'BNG', 'dimw': 24, 'dimh': 32, 'tech': 1, 'hp': 80, 'price': 325, 'medium': 'l', 'targetm': 'l', 'range': 125, 'weapon': 1, 'cantrain': [], 'wspeed': 25, 'recharge': 200, 'weight': 5, 'wlinkage': 'w_cannon'}); table_buildings.push({'bname': 'Rocket Tower', 'linkage': 'rockettower', 'array': 'shooters', 'house': 'BNG', 'dimw': 24, 'dimh': 32, 'tech': 3, 'hp': 80, 'price': 450, 'medium': 'l', 'targetm': 'ls', 'range': 160, 'weapon': 2, 'cantrain': [], 'wspeed': 15, 'recharge': 360, 'weight': 8, 'wlinkage': 'w_rocket'}); table_buildings.push({'bname': 'Autocannon Tower', 'linkage': 'autocannontower', 'array': 'shooters', 'house': 'BNG', 'dimw': 60, 'dimh': 60, 'tech': 5, 'hp': 180, 'price': 955, 'medium': 'l', 'targetm': 'ls', 'range': 155, 'weapon': 5, 'cantrain': [], 'wspeed': 100, 'recharge': 20, 'weight': 16, 'wlinkage': 'w_rifle'}); table_buildings.push({'bname': 'Spy Base', 'linkage': 'spybase', 'array': 'builders', 'house': 'MF', 'dimw': 74, 'dimh': 74, 'tech': 0, 'hp': 270, 'price': 0, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Trading Bay', 'linkage': 'tradingbay', 'array': 'outposts', 'house': 'MF', 'dimw': 67, 'dimh': 34, 'tech': 0, 'hp': 130, 'price': 700, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Tech House', 'linkage': 'techhouse', 'array': 'outposts', 'house': 'MF', 'dimw': 67, 'dimh': 34, 'tech': 1, 'hp': 90, 'price': 400, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Barracks', 'linkage': 'barracks', 'array': 'builders', 'house': 'MF', 'dimw': 67, 'dimh': 34, 'tech': 0, 'hp': 150, 'price': 520, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': ['ninja', 'bomberunit', 'gunner', 'samurai', 'jetgunner']}); table_buildings.push({'bname': 'Assemblicon', 'linkage': 'assemblicon', 'array': 'builders', 'house': 'MF', 'dimw': 67, 'dimh': 34, 'tech': 2, 'hp': 180, 'price': 620, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': ['biker', 'rocketjeep', 'autocannonbear', 'earthwalker', 'mab']}); table_buildings.push({'bname': 'Skypad', 'linkage': 'skypad', 'array': 'builders', 'house': 'MF', 'dimw': 106, 'dimh': 42, 'tech': 5, 'hp': 230, 'price': 870, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': ['dragonrider', 'battlepod']}); table_buildings.push({'bname': 'Bomb Pad', 'linkage': 'bombpod', 'array': 'shooters', 'house': 'MF', 'dimw': 30, 'dimh': 30, 'tech': 0, 'hp': 40, 'price': 190, 'medium': 'l', 'targetm': 'l', 'range': 100, 'weapon': 9, 'cantrain': [], 'wspeed': 7, 'recharge': 180, 'weight': 3, 'wlinkage': 'w_grenade'}); table_buildings.push({'bname': 'Molotov Pad', 'linkage': 'molotovpod', 'array': 'shooters', 'house': 'MF', 'dimw': 24, 'dimh': 32, 'tech': 1, 'hp': 60, 'price': 300, 'medium': 'l', 'targetm': 'l', 'range': 160, 'weapon': 3, 'cantrain': [], 'wspeed': 7, 'recharge': 90, 'weight': 6, 'wlinkage': 'w_flamer'}); table_buildings.push({'bname': 'Lightning Tower', 'linkage': 'lightningtower', 'array': 'shooters', 'house': 'MF', 'dimw': 24, 'dimh': 32, 'tech': 4, 'hp': 50, 'price': 270, 'medium': 'l', 'targetm': 'ls', 'range': 130, 'weapon': 10, 'cantrain': [], 'wspeed': 100, 'recharge': 80, 'weight': 6, 'wlinkage': 'w_rifle'}); table_buildings.push({'bname': 'Power Core', 'linkage': 'powercore', 'array': 'builders', 'house': 'JAC', 'dimw': 74, 'dimh': 74, 'tech': 0, 'hp': 360, 'price': 0, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Trade Station', 'linkage': 'tradestation', 'array': 'outposts', 'house': 'JAC', 'dimw': 67, 'dimh': 34, 'tech': 0, 'hp': 120, 'price': 600, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Traders Union', 'linkage': 'tradersunion', 'array': 'outposts', 'house': 'JAC', 'dimw': 67, 'dimh': 34, 'tech': 3, 'hp': 200, 'price': 980, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Cosmoratory', 'linkage': 'cosmoratory', 'array': 'outposts', 'house': 'JAC', 'dimw': 67, 'dimh': 34, 'tech': 1, 'hp': 160, 'price': 500, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Raiders Guild', 'linkage': 'raidersguild', 'array': 'builders', 'house': 'JAC', 'dimw': 67, 'dimh': 34, 'tech': 0, 'hp': 120, 'price': 522, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': ['trooper', 'raider', 'kuburai', 'siegeraider']}); table_buildings.push({'bname': 'Buildstation', 'linkage': 'buildstation', 'array': 'builders', 'house': 'JAC', 'dimw': 106, 'dimh': 42, 'tech': 0, 'hp': 225, 'price': 880, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': ['moonstruck', 'siegeconvoy', 'triblaster', 'fuzaron', 'laserfox', 'triloblast', 'jaccruiser', 'xdarios']}); table_buildings.push({'bname': 'Raider Turret', 'linkage': 'raiderturret', 'array': 'shooters', 'house': 'JAC', 'dimw': 20, 'dimh': 20, 'tech': 0, 'hp': 30, 'price': 160, 'medium': 'l', 'targetm': 'l', 'range': 90, 'weapon': 13, 'cantrain': [], 'wspeed': 30, 'recharge': 100, 'weight': 2, 'wlinkage': 'w_redlaser'}); table_buildings.push({'bname': 'Missile Rack', 'linkage': 'missilerack', 'array': 'shooters', 'house': 'JAC', 'dimw': 24, 'dimh': 32, 'tech': 1, 'hp': 90, 'price': 425, 'medium': 'l', 'targetm': 'ls', 'range': 125, 'weapon': 2, 'cantrain': [], 'wspeed': 15, 'recharge': 300, 'weight': 7, 'wlinkage': 'w_missile'}); table_buildings.push({'bname': 'JAC Rocketon', 'linkage': 'jacrocketon', 'array': 'shooters', 'house': 'JAC', 'dimw': 24, 'dimh': 32, 'tech': 2, 'hp': 90, 'price': 460, 'medium': 'l', 'targetm': 'ls', 'range': 165, 'weapon': 2, 'cantrain': [], 'wspeed': 15, 'recharge': 350, 'weight': 8, 'wlinkage': 'w_rocket'}); table_buildings.push({'bname': 'JAC Shocker', 'linkage': 'jacshocker', 'array': 'shooters', 'house': 'JAC', 'dimw': 60, 'dimh': 60, 'tech': 5, 'hp': 190, 'price': 1055, 'medium': 'l', 'targetm': 'l', 'range': 175, 'weapon': 15, 'cantrain': [], 'wspeed': 100, 'recharge': 450, 'weight': 16, 'wlinkage': 'w_rifle'}); table_buildings.push({'bname': 'Ops Center', 'linkage': 'opscenter', 'array': 'builders', 'house': 'SMC', 'dimw': 74, 'dimh': 74, 'tech': 0, 'hp': 300, 'price': 1, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': ['battleunit', 'flashsamurai', 'particca']}); table_buildings.push({'bname': 'Merchant House', 'linkage': 'merchanthouse', 'array': 'outposts', 'house': 'SMC', 'dimw': 67, 'dimh': 34, 'tech': 0, 'hp': 140, 'price': 660, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Stellar Market', 'linkage': 'stellarmarket', 'array': 'outposts', 'house': 'SMC', 'dimw': 67, 'dimh': 34, 'tech': 0, 'hp': 80, 'price': 420, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Science Lab', 'linkage': 'sciencelab', 'array': 'outposts', 'house': 'SMC', 'dimw': 67, 'dimh': 34, 'tech': 1, 'hp': 165, 'price': 520, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': []}); table_buildings.push({'bname': 'Star Port', 'linkage': 'starport', 'array': 'builders', 'house': 'SMC', 'dimw': 67, 'dimh': 34, 'tech': 0, 'hp': 130, 'price': 505, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': ['missilebike', 'qwalker', 'askeara', 'invistotank']}); table_buildings.push({'bname': 'Galaxy Port', 'linkage': 'galaxyport', 'array': 'builders', 'house': 'SMC', 'dimw': 106, 'dimh': 42, 'tech': 1, 'hp': 205, 'price': 877, 'medium': 'l', 'targetm': 'l', 'range': 0, 'weapon': 0, 'cantrain': ['smcfire', 'geneson', 'tiusanin', 'smcsatellite', 'sbm']}); table_buildings.push({'bname': 'Pyramid Defense', 'linkage': 'pyramiddefense', 'array': 'shooters', 'house': 'SMC', 'dimw': 20, 'dimh': 20, 'tech': 0, 'hp': 40, 'price': 170, 'medium': 'l', 'targetm': 'l', 'range': 90, 'weapon': 17, 'cantrain': [], 'wspeed': 40, 'recharge': 65, 'weight': 2, 'wlinkage': 'w_greenlaser'}); table_buildings.push({'bname': 'Podas Defense', 'linkage': 'podasdefense', 'array': 'shooters', 'house': 'SMC', 'dimw': 24, 'dimh': 32, 'tech': 1, 'hp': 50, 'price': 185, 'medium': 'l', 'targetm': 'ls', 'range': 160, 'weapon': 0, 'cantrain': [], 'wspeed': 100, 'recharge': 30, 'weight': 4, 'wlinkage': 'w_rifle'}); table_buildings.push({'bname': 'Exploreod', 'linkage': 'exploreod', 'array': 'shooters', 'house': 'SMC', 'dimw': 24, 'dimh': 32, 'tech': 3, 'hp': 80, 'price': 512, 'medium': 'l', 'targetm': 'l', 'range': 160, 'weapon': 6, 'cantrain': [], 'wspeed': 25, 'recharge': 400, 'weight': 10, 'wlinkage': 'w_heavycannon'}); table_buildings.push({'bname': 'Tazer Tower', 'linkage': 'tazertower', 'array': 'shooters', 'house': 'SMC', 'dimw': 24, 'dimh': 32, 'tech': 4, 'hp': 100, 'price': 500, 'medium': 'l', 'targetm': 'ls', 'range': 175, 'weapon': 16, 'cantrain': [], 'wspeed': 12, 'recharge': 100, 'weight': 16, 'wlinkage': 'w_ppc'}); var table_units = new Array(); table_units.push({'bname': 'Infantry', 'linkage': 'infantry', 'house': 'BNG', 'weight': 1, 'tech': 0, 'price': 50, 'hp': 10, 'buildfrom': 'armycamp', 'research': '', 'traintime': 240, 'medium': 'l', 'targetm': 'l', 'range': 80, 'speed': 0.6, 'weapon': 0, 'wspeed': 100, 'recharge': 90, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Rocketman', 'linkage': 'rocketman', 'house': 'BNG', 'weight': 2, 'tech': 1, 'price': 80, 'hp': 10, 'buildfrom': 'armycamp', 'research': 'rs', 'traintime': 450, 'medium': 'l', 'targetm': 'ls', 'range': 150, 'speed': 0.4, 'weapon': 2, 'wspeed': 15, 'recharge': 360, 'wlinkage': 'w_rocket'}); table_units.push({'bname': 'Flamer', 'linkage': 'flamer', 'house': 'BNG', 'weight': 2, 'tech': 2, 'price': 80, 'hp': 15, 'buildfrom': 'armycamp', 'research': 'cb', 'traintime': 360, 'medium': 'l', 'targetm': 'l', 'range': 55, 'speed': 0.4, 'weapon': 3, 'wspeed': 3, 'recharge': 15, 'wlinkage': 'w_flamer'}); table_units.push({'bname': 'Commando', 'linkage': 'commando', 'house': 'BNG', 'weight': 2, 'tech': 3, 'price': 110, 'hp': 24, 'buildfrom': 'armycamp', 'research': 'rb', 'traintime': 450, 'medium': 'l', 'targetm': 'l', 'range': 150, 'speed': 0.8, 'weapon': 4, 'wspeed': 100, 'recharge': 170, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Jeep', 'linkage': 'jeep', 'house': 'BNG', 'weight': 2, 'tech': 0, 'price': 150, 'hp': 45, 'buildfrom': 'machinebay', 'research': '', 'traintime': 400, 'medium': 'l', 'targetm': 'l', 'range': 100, 'speed': 1, 'weapon': 0, 'wspeed': 100, 'recharge': 60, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Light Tank', 'linkage': 'lighttank', 'house': 'BNG', 'weight': 3, 'tech': 1, 'price': 235, 'hp': 85, 'buildfrom': 'machinebay', 'research': '', 'traintime': 900, 'medium': 'l', 'targetm': 'l', 'range': 125, 'speed': 0.8, 'weapon': 1, 'wspeed': 25, 'recharge': 200, 'wlinkage': 'w_cannon'}); table_units.push({'bname': 'BNG Tank', 'linkage': 'bngtank', 'house': 'BNG', 'weight': 5, 'tech': 2, 'price': 505, 'hp': 115, 'buildfrom': 'machinebay', 'research': 'hm', 'traintime': 1200, 'medium': 'l', 'targetm': 'l', 'range': 160, 'speed': 0.5, 'weapon': 6, 'wspeed': 25, 'recharge': 400, 'wlinkage': 'w_heavycannon'}); table_units.push({'bname': 'Rocket Tank', 'linkage': 'rockettank', 'house': 'BNG', 'weight': 4, 'tech': 3, 'price': 380, 'hp': 85, 'buildfrom': 'machinebay', 'research': 'rs', 'traintime': 1100, 'medium': 'l', 'targetm': 'ls', 'range': 160, 'speed': 0.5, 'weapon': 2, 'wspeed': 15, 'recharge': 360, 'wlinkage': 'w_rocket'}); table_units.push({'bname': 'BNG Blue Trigger', 'linkage': 'bngbluetrigger', 'house': 'BNG', 'weight': 5, 'tech': 5, 'price': 650, 'hp': 140, 'buildfrom': 'machinebay', 'research': 'rb', 'traintime': 1850, 'medium': 'l', 'targetm': 'ls', 'range': 90, 'speed': 1, 'weapon': 7, 'wspeed': 35, 'recharge': 40, 'wlinkage': 'w_laser'}); table_units.push({'bname': 'Assault Heli', 'linkage': 'assaultheli', 'house': 'BNG', 'weight': 3, 'tech': 4, 'price': 320, 'hp': 30, 'buildfrom': 'hangar', 'research': '', 'traintime': 800, 'medium': 's', 'targetm': 'ls', 'range': 150, 'speed': 1.5, 'weapon': 2, 'wspeed': 20, 'recharge': 270, 'wlinkage': 'w_missile'}); table_units.push({'bname': 'BNG Fighter', 'linkage': 'bngfighter', 'house': 'BNG', 'weight': 3, 'tech': 4, 'price': 400, 'hp': 50, 'buildfrom': 'hangar', 'research': 'cb', 'traintime': 1000, 'medium': 's', 'targetm': 'ls', 'range': 80, 'speed': 5, 'weapon': 0, 'wspeed': 100, 'recharge': 10, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'BWing Bomber', 'linkage': 'bwingbomber', 'house': 'BNG', 'weight': 4, 'tech': 5, 'price': 400, 'hp': 40, 'buildfrom': 'hangar', 'research': 'hm', 'traintime': 1550, 'medium': 's', 'targetm': 'l', 'range': 20, 'speed': 2, 'weapon': 8, 'wspeed': 100, 'recharge': 450, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Tin Te'}); table_units.push({'bname': 'Ninja', 'linkage': 'ninja', 'house': 'MF', 'weight': 1, 'tech': 0, 'price': 45, 'hp': 8, 'buildfrom': 'barracks', 'research': '', 'traintime': 210, 'medium': 'l', 'targetm': 'l', 'range': 70, 'speed': 1.1, 'weapon': 11, 'wspeed': 12, 'recharge': 25, 'wlinkage': 'w_shuriken'}); table_units.push({'bname': 'Bomber Unit', 'linkage': 'bomberunit', 'house': 'MF', 'weight': 2, 'tech': 0, 'price': 70, 'hp': 8, 'buildfrom': 'barracks', 'research': '', 'traintime': 400, 'medium': 'l', 'targetm': 'l', 'range': 100, 'speed': 0.6, 'weapon': 9, 'wspeed': 7, 'recharge': 240, 'wlinkage': 'w_grenade'}); table_units.push({'bname': 'Gunner', 'linkage': 'gunner', 'house': 'MF', 'weight': 2, 'tech': 1, 'price': 90, 'hp': 10, 'buildfrom': 'barracks', 'research': '', 'traintime': 420, 'medium': 'l', 'targetm': 'ls', 'range': 140, 'speed': 0.8, 'weapon': 0, 'wspeed': 100, 'recharge': 30, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Samurai', 'linkage': 'samurai', 'house': 'MF', 'weight': 3, 'tech': 1, 'price': 140, 'hp': 42, 'buildfrom': 'barracks', 'research': 'ds', 'traintime': 850, 'medium': 'l', 'targetm': 'l', 'range': 20, 'speed': 1.2, 'weapon': 12, 'wspeed': 100, 'recharge': 12, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Jetgunner', 'linkage': 'jetgunner', 'house': 'MF', 'weight': 2, 'tech': 3, 'price': 100, 'hp': 15, 'buildfrom': 'barracks', 'research': 'av', 'traintime': 480, 'medium': 's', 'targetm': 'ls', 'range': 80, 'speed': 3, 'weapon': 4, 'wspeed': 100, 'recharge': 90, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Rocket Jeep', 'linkage': 'rocketjeep', 'house': 'MF', 'weight': 3, 'tech': 2, 'price': 190, 'hp': 45, 'buildfrom': 'assemblicon', 'research': '', 'traintime': 536, 'medium': 'l', 'targetm': 'ls', 'range': 120, 'speed': 1, 'weapon': 2, 'wspeed': 15, 'recharge': 370, 'wlinkage': 'w_rocket'}); table_units.push({'bname': 'Biker', 'linkage': 'biker', 'house': 'MF', 'weight': 2, 'tech': 2, 'price': 100, 'hp': 30, 'buildfrom': 'assemblicon', 'research': 'rd', 'traintime': 250, 'medium': 'l', 'targetm': 'l', 'range': 80, 'speed': 1.3, 'weapon': 5, 'wspeed': 100, 'recharge': 90, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'MAB', 'linkage': 'mab', 'house': 'MF', 'weight': 3, 'tech': 4, 'price': 202, 'hp': 75, 'buildfrom': 'assemblicon', 'research': 'mc', 'traintime': 820, 'medium': 'l', 'targetm': 'ls', 'range': 130, 'speed': 1.5, 'weapon': 5, 'wspeed': 100, 'recharge': 20, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Autocannon Bear', 'linkage': 'autocannonbear', 'house': 'MF', 'weight': 4, 'tech': 3, 'price': 344, 'hp': 100, 'buildfrom': 'assemblicon', 'research': 'ds', 'traintime': 1300, 'medium': 'l', 'targetm': 'l', 'range': 140, 'speed': 0.5, 'weapon': 5, 'wspeed': 100, 'recharge': 20, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Earthwalker', 'linkage': 'earthwalker', 'house': 'MF', 'weight': 5, 'tech': 4, 'price': 728, 'hp': 175, 'buildfrom': 'assemblicon', 'research': 'mc', 'traintime': 1800, 'medium': 'l', 'targetm': 'l', 'range': 80, 'speed': 0.8, 'weapon': 13, 'wspeed': 30, 'recharge': 12, 'wlinkage': 'w_redlaser'}); table_units.push({'bname': 'Dragon Rider', 'linkage': 'dragonrider', 'house': 'MF', 'weight': 6, 'tech': 5, 'price': 708, 'hp': 125, 'buildfrom': 'skypad', 'research': 'rd', 'traintime': 1600, 'medium': 's', 'targetm': 'ls', 'range': 120, 'speed': 2, 'weapon': 14, 'wspeed': 20, 'recharge': 140, 'wlinkage': 'w_fireball'}); table_units.push({'bname': 'Battle Pod', 'linkage': 'battlepod', 'house': 'MF', 'weight': 3, 'tech': 5, 'price': 288, 'hp': 50, 'buildfrom': 'skypad', 'research': 'av', 'traintime': 630, 'medium': 's', 'targetm': 'ls', 'range': 120, 'speed': 3, 'weapon': 10, 'wspeed': 100, 'recharge': 80, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Trooper', 'linkage': 'trooper', 'house': 'JAC', 'weight': 1, 'tech': 0, 'price': 48, 'hp': 11, 'buildfrom': 'raidersguild', 'research': '', 'traintime': 250, 'medium': 'l', 'targetm': 'l', 'range': 80, 'speed': 0.5, 'weapon': 17, 'wspeed': 35, 'recharge': 90, 'wlinkage': 'w_greenlaser'}); table_units.push({'bname': 'Raider', 'linkage': 'raider', 'house': 'JAC', 'weight': 2, 'tech': 1, 'price': 78, 'hp': 14, 'buildfrom': 'raidersguild', 'research': '', 'traintime': 390, 'medium': 'l', 'targetm': 'ls', 'range': 130, 'speed': 0.4, 'weapon': 17, 'wspeed': 45, 'recharge': 40, 'wlinkage': 'w_greenlaser'}); table_units.push({'bname': 'Kuburai', 'linkage': 'kuburai', 'house': 'JAC', 'weight': 2, 'tech': 1, 'price': 145, 'hp': 45, 'buildfrom': 'raidersguild', 'research': 'la', 'traintime': 760, 'medium': 'l', 'targetm': 'ls', 'range': 120, 'speed': 1, 'weapon': 2, 'wspeed': 35, 'recharge': 210, 'wlinkage': 'w_slicebomb'}); table_units.push({'bname': 'Siege Raider', 'linkage': 'siegeraider', 'house': 'JAC', 'weight': 3, 'tech': 2, 'price': 118, 'hp': 14, 'buildfrom': 'raidersguild', 'research': 'sw', 'traintime': 500, 'medium': 'l', 'targetm': 'l', 'range': 165, 'speed': 0.4, 'weapon': 15, 'wspeed': 100, 'recharge': 450, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Moonstruck', 'linkage': 'moonstruck', 'house': 'JAC', 'weight': 3, 'tech': 0, 'price': 175, 'hp': 45, 'buildfrom': 'buildstation', 'research': '', 'traintime': 555, 'medium': 'l', 'targetm': 'l', 'range': 110, 'speed': 1.5, 'weapon': 18, 'wspeed': 8, 'recharge': 100, 'wlinkage': 'w_elepod'}); table_units.push({'bname': 'Siege Convoy', 'linkage': 'siegeconvoy', 'house': 'JAC', 'weight': 5, 'tech': 3, 'price': 575, 'hp': 85, 'buildfrom': 'buildstation', 'research': 'sw', 'traintime': 1105, 'medium': 'l', 'targetm': 'l', 'range': 165, 'speed': 0.5, 'weapon': 15, 'wspeed': 100, 'recharge': 450, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Triblaster', 'linkage': 'triblaster', 'house': 'JAC', 'weight': 5, 'tech': 4, 'price': 600, 'hp': 100, 'buildfrom': 'buildstation', 'research': 'as', 'traintime': 1350, 'medium': 'l', 'targetm': 'ls', 'range': 150, 'speed': 1.1, 'weapon': 16, 'wspeed': 12, 'recharge': 100, 'wlinkage': 'w_ppc'}); table_units.push({'bname': 'Fuzaron', 'linkage': 'fuzaron', 'house': 'JAC', 'weight': 6, 'tech': 5, 'price': 1028, 'hp': 215, 'buildfrom': 'buildstation', 'research': 'if', 'traintime': 655, 'medium': 'l', 'targetm': 'ls', 'range': 140, 'speed': 0.6, 'weapon': 2, 'wspeed': 18, 'recharge': 180, 'wlinkage': 'w_fusionmissile'}); table_units.push({'bname': 'Laser Fox', 'linkage': 'laserfox', 'house': 'JAC', 'weight': 3, 'tech': 1, 'price': 350, 'hp': 30, 'buildfrom': 'buildstation', 'research': '', 'traintime': 910, 'medium': 's', 'targetm': 'ls', 'range': 90, 'speed': 1.8, 'weapon': 17, 'wspeed': 35, 'recharge': 45, 'wlinkage': 'w_greenlaser'}); table_units.push({'bname': 'Triloblast', 'linkage': 'triloblast', 'house': 'JAC', 'weight': 4, 'tech': 2, 'price': 500, 'hp': 60, 'buildfrom': 'buildstation', 'research': 'la', 'traintime': 1010, 'medium': 's', 'targetm': 'ls', 'range': 150, 'speed': 5, 'weapon': 13, 'wspeed': 35, 'recharge': 25, 'wlinkage': 'w_redlaser'}); table_units.push({'bname': 'JAC Cruiser', 'linkage': 'jaccruiser', 'house': 'JAC', 'weight': 6, 'tech': 4, 'price': 628, 'hp': 105, 'buildfrom': 'buildstation', 'research': 'if', 'traintime': 1300, 'medium': 's', 'targetm': 'ls', 'range': 140, 'speed': 0.4, 'weapon': 2, 'wspeed': 18, 'recharge': 360, 'wlinkage': 'w_fusionmissile'}); table_units.push({'bname': 'XDarios', 'linkage': 'xdarios', 'house': 'JAC', 'weight': 7, 'tech': 5, 'price': 1330, 'hp': 65, 'buildfrom': 'buildstation', 'research': 'as', 'traintime': 1450, 'medium': 's', 'targetm': 'l', 'range': 300, 'speed': 0.4, 'weapon': 20, 'wspeed': 12, 'recharge': 1000, 'wlinkage': 'w_fusionmissile'}); table_units.push({'bname': 'Battle Unit', 'linkage': 'battleunit', 'house': 'SMC', 'weight': 1, 'tech': 0, 'price': 40, 'hp': 8, 'buildfrom': 'opscenter', 'research': '', 'traintime': 200, 'medium': 'l', 'targetm': 'ls', 'range': 80, 'speed': 0.6, 'weapon': 17, 'wspeed': 30, 'recharge': 80, 'wlinkage': 'w_yellowlaser'}); table_units.push({'bname': 'Flash Samurai', 'linkage': 'flashsamurai', 'house': 'SMC', 'weight': 3, 'tech': 1, 'price': 280, 'hp': 42, 'buildfrom': 'opscenter', 'research': 'sl', 'traintime': 600, 'medium': 'l', 'targetm': 'l', 'range': 25, 'speed': 1.2, 'weapon': 19, 'wspeed': 100, 'recharge': 12, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'Particca', 'linkage': 'particca', 'house': 'SMC', 'weight': 4, 'tech': 4, 'price': 380, 'hp': 32, 'buildfrom': 'opscenter', 'research': 'jv', 'traintime': 550, 'medium': 's', 'targetm': 'ls', 'range': 150, 'speed': 1.2, 'weapon': 16, 'wspeed': 12, 'recharge': 100, 'wlinkage': 'w_ppc'}); table_units.push({'bname': 'Missile Bike', 'linkage': 'missilebike', 'house': 'SMC', 'weight': 3, 'tech': 0, 'price': 235, 'hp': 35, 'buildfrom': 'starport', 'research': '', 'traintime': 500, 'medium': 'l', 'targetm': 'ls', 'range': 120, 'speed': 1.1, 'weapon': 2, 'wspeed': 15, 'recharge': 300, 'wlinkage': 'w_missile'}); table_units.push({'bname': 'QWalker', 'linkage': 'qwalker', 'house': 'SMC', 'weight': 2, 'tech': 1, 'price': 110, 'hp': 22, 'buildfrom': 'starport', 'research': 'ac', 'traintime': 410, 'medium': 'l', 'targetm': 'ls', 'range': 100, 'speed': 0.7, 'weapon': 17, 'wspeed': 15, 'recharge': 10, 'wlinkage': 'w_greenlaser'}); table_units.push({'bname': 'Invistotank', 'linkage': 'invistotank', 'house': 'SMC', 'weight': 3, 'tech': 2, 'price': 235, 'hp': 95, 'buildfrom': 'starport', 'research': '', 'traintime': 1400, 'medium': 'l', 'targetm': 'l', 'range': 90, 'speed': 1, 'weapon': 17, 'wspeed': 15, 'recharge': 10, 'wlinkage': 'w_greenlaser'}); table_units.push({'bname': 'Askeara', 'linkage': 'askeara', 'house': 'SMC', 'weight': 3, 'tech': 3, 'price': 180, 'hp': 40, 'buildfrom': 'starport', 'research': 'dc', 'traintime': 510, 'medium': 'l', 'targetm': 'l', 'range': 120, 'speed': 1.3, 'weapon': 9, 'wspeed': 15, 'recharge': 60, 'wlinkage': 'w_grenade'}); table_units.push({'bname': 'SMC Fire', 'linkage': 'smcfire', 'house': 'SMC', 'weight': 3, 'tech': 1, 'price': 190, 'hp': 45, 'buildfrom': 'galaxyport', 'research': '', 'traintime': 400, 'medium': 'l', 'targetm': 'l', 'range': 70, 'speed': 0.9, 'weapon': 3, 'wspeed': 3, 'recharge': 15, 'wlinkage': 'w_flamer'}); table_units.push({'bname': 'Geneson', 'linkage': 'geneson', 'house': 'SMC', 'weight': 4, 'tech': 2, 'price': 250, 'hp': 55, 'buildfrom': 'galaxyport', 'research': 'ac', 'traintime': 430, 'medium': 'l', 'targetm': 'ls', 'range': 120, 'speed': 0.8, 'weapon': 7, 'wspeed': 20, 'recharge': 70, 'wlinkage': 'w_photonlaser'}); table_units.push({'bname': 'Tiusanin', 'linkage': 'tiusanin', 'house': 'SMC', 'weight': 4, 'tech': 3, 'price': 270, 'hp': 55, 'buildfrom': 'galaxyport', 'research': 'dc', 'traintime': 430, 'medium': 'l', 'targetm': 'ls', 'range': 140, 'speed': 1.2, 'weapon': 2, 'wspeed': 18, 'recharge': 360, 'wlinkage': 'w_fusionmissile'}); table_units.push({'bname': 'SBM', 'linkage': 'sbm', 'house': 'SMC', 'weight': 6, 'tech': 3, 'price': 680, 'hp': 95, 'buildfrom': 'galaxyport', 'research': 'sl', 'traintime': 1100, 'medium': 's', 'targetm': 'ls', 'range': 45, 'speed': 1.5, 'weapon': 19, 'wspeed': 100, 'recharge': 25, 'wlinkage': 'w_rifle'}); table_units.push({'bname': 'SMC Satellite', 'linkage': 'smcsatellite', 'house': 'SMC', 'weight': 7, 'tech': 5, 'price': 1066, 'hp': 105, 'buildfrom': 'galaxyport', 'research': 'jv', 'traintime': 1230, 'medium': 's', 'targetm': 'l', 'range': 160, 'speed': 0.3, 'weapon': 6, 'wspeed': 25, 'recharge': 320, 'wlinkage': 'w_laserbomb'}); var table_weapons = new Array(); table_weapons.push({'id': 0, 'linkage': 'bullet', 'damage': 2, 'hittest': 'pixel'}); table_weapons.push({'id': 1, 'linkage': 'impact', 'damage': 8, 'hittest': 'pixel'}); table_weapons.push({'id': 2, 'linkage': 'smallexplo', 'damage': 19, 'hittest': 'area'}); table_weapons.push({'id': 3, 'linkage': 'flame', 'damage': 5, 'hittest': 'area'}); table_weapons.push({'id': 4, 'linkage': 'snipeshot', 'damage': 7, 'hittest': 'pixel'}); table_weapons.push({'id': 5, 'linkage': 'autoshell', 'damage': 3, 'hittest': 'pixel'}); table_weapons.push({'id': 6, 'linkage': 'bigexplo', 'damage': 25, 'hittest': 'area'}); table_weapons.push({'id': 7, 'linkage': 'laserburn', 'damage': 5, 'hittest': 'area'}); table_weapons.push({'id': 8, 'linkage': 'mbomb', 'damage': 50, 'hittest': 'area'}); table_weapons.push({'id': 9, 'linkage': 'grenade', 'damage': 13, 'hittest': 'area'}); table_weapons.push({'id': 10, 'linkage': 'lightning', 'damage': 12, 'hittest': 'pixel'}); table_weapons.push({'id': 11, 'linkage': 'shuriken', 'damage': 1, 'hittest': 'pixel'}); table_weapons.push({'id': 12, 'linkage': 'slash', 'damage': 3, 'hittest': 'area'}); table_weapons.push({'id': 13, 'linkage': 'redlaser', 'damage': 3, 'hittest': 'area'}); table_weapons.push({'id': 14, 'linkage': 'bigflame', 'damage': 18, 'hittest': 'area'}); table_weapons.push({'id': 15, 'linkage': 'shockwave', 'damage': 22, 'hittest': 'area'}); table_weapons.push({'id': 16, 'linkage': 'ppc', 'damage': 11, 'hittest': 'area'}); table_weapons.push({'id': 17, 'linkage': 'greenlaser', 'damage': 2, 'hittest': 'pixel'}); table_weapons.push({'id': 18, 'linkage': 'sotter', 'damage': 4, 'hittest': 'pixel'}); table_weapons.push({'id': 19, 'linkage': 'lightslash', 'damage': 6, 'hittest': 'area'}); table_weapons.push({'id': 20, 'linkage': 'mbomb2', 'damage': 50, 'hittest': 'area'}); var table_research = new Array(); table_research.push({'id': 0, 'bname': 'Rocket Science', 'linkage': 'rs', 'tech': 1, 'price': 220}); table_research.push({'id': 1, 'bname': 'Heavy Machines', 'linkage': 'hm', 'tech': 2, 'price': 350}); table_research.push({'id': 2, 'bname': 'Robotics', 'linkage': 'rb', 'tech': 3, 'price': 400}); table_research.push({'id': 3, 'bname': 'Combustion', 'linkage': 'cb', 'tech': 2, 'price': 350}); table_research.push({'id': 0, 'bname': 'Discipline', 'linkage': 'ds', 'tech': 1, 'price': 220}); table_research.push({'id': 1, 'bname': 'Riders', 'linkage': 'rd', 'tech': 2, 'price': 350}); table_research.push({'id': 2, 'bname': 'Aviation', 'linkage': 'av', 'tech': 3, 'price': 400}); table_research.push({'id': 3, 'bname': 'Mechanics', 'linkage': 'mc', 'tech': 4, 'price': 350}); table_research.push({'id': 0, 'bname': 'Light Armor', 'linkage': 'la', 'tech': 1, 'price': 180}); table_research.push({'id': 1, 'bname': 'Shockwave', 'linkage': 'sw', 'tech': 2, 'price': 300}); table_research.push({'id': 2, 'bname': 'Alien Systems', 'linkage': 'as', 'tech': 4, 'price': 350}); table_research.push({'id': 3, 'bname': 'Infinergies', 'linkage': 'if', 'tech': 4, 'price': 350}); table_research.push({'id': 0, 'bname': 'Solid Light', 'linkage': 'sl', 'tech': 1, 'price': 350}); table_research.push({'id': 1, 'bname': 'Arkkujo Contact', 'linkage': 'ac', 'tech': 1, 'price': 180}); table_research.push({'id': 2, 'bname': 'Drotgix Contact', 'linkage': 'dc', 'tech': 3, 'price': 220}); table_research.push({'id': 3, 'bname': 'Alien JV', 'linkage': 'jv', 'tech': 4, 'price': 350}); } frame 10 { bbda_bng = new Array(); bbda_bng.push(['buildings', 'tradetower']); bbda_bng.push(['buildings', 'researchlab']); bbda_bng.push(['research', 'rs']); bbda_bng.push(['buildings', 'armycamp']); bbda_bng.push(['buildings', 'tradetower']); bbda_bng.push(['buildings', 'gunturret', 'cannontower', 'rockettower', 'autocannontower']); bbda_bng.push(['buildings', 'tradetower']); bbda_bng.push(['buildings', 'hangar', 'machinebay', 'machinebay']); bbda_bng.push(['buildings', 'gunturret', 'cannontower', 'rockettower', 'autocannontower']); bbda_bng.push(['research', 'hm', 'cb', 'rb']); bbda_bng.push(['buildings', 'gunturret', 'cannontower', 'rockettower', 'autocannontower', 'hangar', 'machinebay', 'armycamp', 'tradetower']); bbda_bng.push(['research', 'hm', 'cb', 'rb']); bbda_bng.push(['buildings', 'gunturret', 'cannontower', 'rockettower', 'autocannontower']); bbda_mf = new Array(); bbda_mf.push(['buildings', 'tradingbay']); bbda_mf.push(['buildings', 'tradingbay']); bbda_mf.push(['buildings', 'barracks']); bbda_mf.push(['buildings', 'bombpod', 'molotovpod']); bbda_mf.push(['buildings', 'assemblicon', 'skypad']); bbda_mf.push(['buildings', 'techhouse']); bbda_mf.push(['research', 'ds']); bbda_mf.push(['buildings', 'tradingbay']); bbda_mf.push(['buildings', 'assemblicon', 'skypad']); bbda_mf.push(['buildings', 'molotovpod', 'bombpod', 'lightningtower']); bbda_mf.push(['buildings', 'molotovpod', 'bombpod', 'lightningtower', 'tradingbay', 'barracks', 'assemblicon', 'skypad']); bbda_mf.push(['research', 'hm', 'cb', 'rb']); bbda_mf.push(['buildings', 'molotovpod', 'bombpod', 'lightningtower']); bbda_jac = new Array(); bbda_jac.push(['buildings', 'tradestation']); bbda_jac.push(['buildings', 'cosmoratory']); bbda_jac.push(['research', 'la']); bbda_jac.push(['buildings', 'raidersguild']); bbda_jac.push(['buildings', 'raiderturret', 'jacrocketon']); bbda_jac.push(['buildings', 'tradersunion', 'tradersunion', 'tradestation']); bbda_jac.push(['buildings', 'buildstation']); bbda_jac.push(['buildings', 'raiderturret', 'jacrocketon', 'missilerack', 'jacrocketon', 'missilerack', 'jacshocker']); bbda_jac.push(['buildings', 'raiderturret', 'jacrocketon', 'missilerack', 'jacrocketon', 'missilerack', 'jacshocker']); bbda_jac.push(['research', 'sw', 'as', 'if']); bbda_jac.push(['buildings', 'raiderturret', 'jacrocketon', 'missilerack', 'jacshocker']); bbda_jac.push(['research', 'la', 'sw', 'as', 'if']); bbda_jac.push(['buildings', 'raiderturret', 'jacrocketon', 'missilerack', 'jacshocker', 'tradersunion', 'tradestation', 'raidersguild', 'buildstation']); bbda_smc = new Array(); bbda_smc.push(['buildings', 'merchanthouse']); bbda_smc.push(['buildings', 'stellarmarket']); bbda_smc.push(['buildings', 'sciencelab']); bbda_smc.push(['research', 'ac']); bbda_smc.push(['buildings', 'starport']); bbda_smc.push(['buildings', 'pyramiddefense', 'podasdefense']); bbda_smc.push(['buildings', 'pyramiddefense', 'podasdefense']); bbda_smc.push(['buildings', 'merchanthouse']); bbda_smc.push(['buildings', 'galaxyport']); bbda_smc.push(['research', 'sl', 'dc', 'jv']); bbda_smc.push(['buildings', 'pyramiddefense', 'podasdefense', 'tazertower', 'exploreod']); bbda_smc.push(['research', 'sl', 'dc', 'jv', 'ac']); bbda_smc.push(['buildings', 'galaxyport', 'starport', 'stellarmarket', 'stellarmarket', 'pyramiddefense', 'podasdefense', 'tazertower', 'exploreod']); bfa_bng = new Array(); bfa_bng[0] = new Array(); bfa_bng[0].push(['buildings', 'tradetower']); bfa_bng[0].push(['buildings', 'gunturret', 'rockettower']); bfa_bng[0].push(['buildings', 'tradetower']); bfa_bng[0].push(['buildings', 'cannontower', 'rockettower', 'cannontower', 'rockettower', 'gunturret']); bfa_bng[0].push(['buildings', 'machinebay', 'hangar', 'armycamp']); bfa_bng[0].push(['buildings', 'tradetower']); bfa_bng[1] = new Array(); bfa_bng[1].push(['buildings', 'cannontower', 'rockettower', 'cannontower', 'rockettower', 'gunturret']); bfa_bng[1].push(['buildings', 'tradetower']); bfa_bng[1].push(['buildings', 'gunturret', 'rockettower']); bfa_bng[1].push(['buildings', 'gunturret', 'autocannontower']); bfa_bng[1].push(['buildings', 'gunturret', 'rockettower', 'autocannontower', 'rockettower', 'autocannontower']); bfa_bng[1].push(['buildings', 'gunturret', 'cannontower', 'rockettower', 'autocannontower']); bfa_bng[1].push(['buildings', 'gunturret', 'cannontower', 'rockettower', 'autocannontower']); bfa_bng[2] = new Array(); bfa_bng[2].push(['buildings', 'gunturret', 'cannontower', 'rockettower', 'autocannontower']); bfa_bng[2].push(['buildings', 'tradetower']); bfa_bng[2].push(['buildings', 'armycamp', 'machinebay', 'hangar']); bfa_bng[2].push(['buildings', 'tradetower']); bfa_bng[2].push(['buildings', 'armycamp', 'machinebay', 'hangar']); bfa_bng[2].push(['buildings', 'gunturret', 'cannontower', 'rockettower', 'autocannontower']); bfa_mf = new Array(); bfa_mf[0] = new Array(); bfa_mf[0].push(['buildings', 'tradingbay']); bfa_mf[0].push(['buildings', 'molotovpod', 'bombpod']); bfa_mf[0].push(['buildings', 'tradingbay']); bfa_mf[0].push(['buildings', 'bombpod', 'lightningtower']); bfa_mf[0].push(['buildings', 'bombpod', 'lightningtower']); bfa_mf[1] = new Array(); bfa_mf[1].push(['buildings', 'molotovpod', 'bombpod']); bfa_mf[1].push(['buildings', 'tradingbay']); bfa_mf[1].push(['buildings', 'molotovpod', 'bombpod', 'molotovpod', 'molotovpod', 'lightningtower']); bfa_mf[1].push(['buildings', 'bombpod', 'molotovpod', 'molotovpod', 'lightningtower']); bfa_mf[1].push(['buildings', 'bombpod', 'lightningtower']); bfa_mf[1].push(['buildings', 'bombpod', 'molotovpod', 'molotovpod', 'lightningtower']); bfa_mf[1].push(['buildings', 'bombpod', 'molotovpod', 'molotovpod', 'lightningtower']); bfa_mf[2] = new Array(); bfa_mf[2].push(['buildings', 'barracks']); bfa_mf[2].push(['buildings', 'tradingbay']); bfa_mf[2].push(['buildings', 'skypad']); bfa_mf[2].push(['buildings', 'bombpod', 'molotovpod']); bfa_mf[2].push(['buildings', 'tradingbay']); bfa_jac = new Array(); bfa_jac[0] = new Array(); bfa_jac[0].push(['buildings', 'tradersunion', 'tradersunion', 'tradestation']); bfa_jac[0].push(['buildings', 'tradersunion', 'tradersunion', 'tradestation']); bfa_jac[0].push(['buildings', 'raiderturret', 'jacrocketon', 'missilerack', 'jacshocker']); bfa_jac[0].push(['buildings', 'tradersunion', 'tradersunion', 'tradestation']); bfa_jac[0].push(['buildings', 'raiderturret', 'jacrocketon', 'missilerack', 'jacshocker']); bfa_jac[1] = new Array(); bfa_jac[1].push(['buildings', 'tradersunion', 'tradersunion', 'tradestation']); bfa_jac[1].push(['buildings', 'jacrocketon', 'missilerack']); bfa_jac[1].push(['buildings', 'raiderturret', 'raiderturret', 'raiderturret', 'jacrocketon', 'missilerack', 'jacshocker']); bfa_jac[1].push(['buildings', 'raiderturret', 'jacshocker', 'jacshocker', 'jacshocker']); bfa_jac[1].push(['buildings', 'tradersunion', 'tradersunion', 'tradestation']); bfa_jac[2] = new Array(); bfa_jac[2].push(['buildings', 'tradersunion', 'tradestation']); bfa_jac[2].push(['buildings', 'raidersguild', 'buildstation']); bfa_jac[2].push(['buildings', 'tradersunion', 'tradestation']); bfa_jac[2].push(['buildings', 'raidersguild', 'buildstation']); bfa_jac[2].push(['buildings', 'jacrocketon', 'missilerack', 'jacrocketon', 'missilerack', 'raiderturret']); bfa_jac[2].push(['buildings', 'raiderturret', 'raiderturret', 'raiderturret', 'jacrocketon', 'missilerack', 'jacshocker']); bfa_jac[2].push(['buildings', 'raidersguild', 'buildstation']); bfa_smc = new Array(); bfa_smc[0] = new Array(); bfa_smc[0].push(['buildings', 'merchanthouse', 'stellarmarket', 'stellarmarket']); bfa_smc[0].push(['buildings', 'merchanthouse', 'stellarmarket', 'stellarmarket']); bfa_smc[0].push(['buildings', 'exploreod', 'podasdefense']); bfa_smc[0].push(['buildings', 'stellarmarket']); bfa_smc[0].push(['buildings', 'exploreod', 'podasdefense', 'podasdefense', 'podasdefense', 'tazertower', 'pyramiddefense']); bfa_smc[1] = new Array(); bfa_smc[1].push(['buildings', 'tazertower', 'tazertower', 'exploreod', 'exploreod', 'podasdefense']); bfa_smc[1].push(['buildings', 'stellarmarket']); bfa_smc[1].push(['buildings', 'pyramiddefense', 'podasdefense']); bfa_smc[1].push(['buildings', 'pyramiddefense', 'podasdefense']); bfa_smc[1].push(['buildings', 'stellarmarket']); bfa_smc[1].push(['buildings', 'tazertower', 'exploreod', 'podasdefense']); bfa_smc[1].push(['buildings', 'pyramiddefense', 'podasdefense']); bfa_smc[1].push(['buildings', 'pyramiddefense', 'podasdefense']); bfa_smc[2] = new Array(); bfa_smc[2].push(['buildings', 'merchanthouse']); bfa_smc[2].push(['buildings', 'starport']); bfa_smc[2].push(['buildings', 'merchanthouse', 'stellarmarket']); bfa_smc[2].push(['buildings', 'galaxyport']); bfa_smc[2].push(['buildings', 'merchanthouse', 'stellarmarket']); } frame 11 { function getcolors(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(0.5, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(0.8, 0, 0, 0, 0, 0, 0.8, 0, 0, 0, 0, 0, 0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(0.9, 0, 0, 0, 0, 0, 0.6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(1, 0, 0, 0, 0, 0, 0.8, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(0.9, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(0.6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(0.6, 0, 0, 0, 0, 0, 1.5, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(0.6, 0, 0, 0, 0, 0, 1.5, 0, 0, 0, 0, 0, 1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(0.6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(0.6, 0, 0, 0, 0, 0, 0.6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(0.5, 0, 0, 0, 0, 0, 0.8, 0, 0, 0, 0, 0, 1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(0.2, 0, 0, 0, 0, 0, 1.2, 0, 0, 0, 0, 0, 1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(1, 0, 0, 0, 0, 0, 1.8, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(1.5, 0, 0, 0, 0, 0, 0.8, 0, 0, 0, 0, 0, 1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(1, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(1, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(1.3, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(2, 0, 0, 0, 0, 0, 1.3, 0, 0, 0, 0, 0, 1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(1.65, 0, 0, 0, 0, 0, 1.65, 0, 0, 0, 0, 0, 0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(1.5, 0, 0, 0, 0, 0, 1.5, 0, 0, 0, 0, 0, 1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } function getcolors2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.8, -0.9, 0.8, 0, 0, 0.3, 0.3, -0.4, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } } frame 12 { function lookat2d(targetx, targety, myx, myy) { return Math.round(Math.atan2(targety - myy, targetx - myx) * 180 / Math.PI) + 90; } function anglemove2d(speed, obj, targetrot) { obj._x += speed * Math.sin(0.0174532925199433 * targetrot); obj._y -= speed * Math.cos(0.0174532925199433 * targetrot); } function checkdistance(x1, y1, x2, y2) { return Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1)); } } frame 14 { gotoAndPlay('afterbs'); } movieClip 1830 { } movieClip 1834 { } movieClip 1838 { } movieClip 1840 { frame 1 { _alpha = 0; } } movieClip 1843 { } movieClip 1863 { } movieClip 1867 { } movieClip 1885 { frame 7 { if (!random(4)) { } else { gotoAndPlay(1); } null; } } movieClip 1886 { frame 1 { stop(); } frame 47 { _root._y = -10; } frame 48 { _root._y = 10; } frame 49 { _root._y = -5; } frame 50 { _root._y = 5; } frame 51 { _root._x = 0; _root._y = 0; } frame 52 { _parent.turretpic._alpha = 0; _parent.pic._alpha = 0; } frame 440 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 1889 { } movieClip 1890 { frame 1 { _visible = false; } } movieClip 1891 { frame 1 { _visible = false; _root.buildthud.start(); recordnumber = 0; for (i in _root.table_buildings) { if (_root.table_buildings[i].linkage == _parent.linkage) { recordnumber = i; break; } } _parent.hp = 1; if (_parent.built == undefined) { _parent.built = _root.nobuild; _parent.hp = 1 + _root.table_buildings[recordnumber].hp * _root.nobuild; } else { _parent.hp = _root.table_buildings[recordnumber].hp; } _parent.training = 0; _parent.bname = _root.table_buildings[recordnumber].bname; _parent.fullhp = _root.table_buildings[recordnumber].hp; _parent.medium = _root.table_buildings[recordnumber].medium; _parent.targetm = _root.table_buildings[recordnumber].targetm; _parent.range = _root.table_buildings[recordnumber].range; _parent.weapon = _root.table_buildings[recordnumber].weapon; _parent.cantrain = _root.table_buildings[recordnumber].cantrain; _parent.price = _root.table_buildings[recordnumber].price; _parent.wspeed = _root.table_buildings[recordnumber].wspeed; _parent.wlinkage = _root.table_buildings[recordnumber].wlinkage; _parent.recharge = _root.table_buildings[recordnumber].recharge; _parent.weight = _root.table_buildings[recordnumber].weight; if (_parent.range > 0) { _parent.damagerlinkage = ''; for (i in _root.table_weapons) { if (_root.table_weapons[i].id == _parent.weapon) { _parent.damagerlinkage = _root.table_weapons[i].linkage; break; } } timer = 0; timerrandom = random(10); _parent.trot = _parent.rot; _parent.shootcoords = [_parent._x + random(50) - 25, _parent._y + random(50) - 25]; _parent.recharging = 0; } _parent.indi._yscale = ((_parent._height - _parent.indi._height) / _parent.indi._height) * 100 + 100; _parent.indi._xscale = _parent.indi._yscale; _parent.indi._y = 0; _parent.indi._x = 0; _parent.turretpic._visible = false; _parent.pic.gotoAndStop(1 + int((_parent.hp / _root.table_buildings[recordnumber].hp) * 4) + 5 * _parent.built); _parent.pic.coloring.filters = new Array(new flash.filters.ColorMatrixFilter(_root.getcolors(_root.coloros[_parent.faction], 1))); ++_root.buildingsbuilt[_parent.faction]; _root.gamelog += int(int(_root.gametimer / 30) / 60) + ':' + int(_root.gametimer / 30) % 60 + ' - ' + _root['commandername' + _parent.faction] + ' setup a ' + _parent.bname + '\n'; _parent.destroy = function () { if (_root.indi.selectedthing == _parent) { _root.indi.gotoAndStop('ok'); _root.indi.selectedthing = null; } _parent.hp = 0; _parent.destroyed = 1; _parent.explosion.play(); ++_root.buildingsdestroyed[_parent.faction]; _root.gamelog += int(int(_root.gametimer / 30) / 60) + ':' + int(_root.gametimer / 30) % 60 + ' - ' + _root['commandername' + _parent.faction] + '\'s ' + _parent.bname + ' is destroyed.\n'; _root[_parent.myarray][_parent.faction].splice(_parent.id, 1); _root.re_id(_root[_parent.myarray][_parent.faction]); }; _parent.det.onPress = function () { if (!_root.pauser) { if (_parent.faction == 0 && !_parent.destroyed) { if (_parent.built) { _root.indi.gotoAndStop(_parent.linkage); _root.indi.selectedthing = _parent; } } } }; this.onEnterFrame = function () { if (!_root.pauser) { (_parent.hp <= 0 && !_parent.destroyed) ? _parent.destroy() : null; if (!_parent.built) { _parent.turretpic._visible = false; if (_parent.hp < _root.table_buildings[recordnumber].hp) { _parent.hp += 0.25 / (1 + 3 * (_parent.range != 0)); } else { _parent.hp = _root.table_buildings[recordnumber].hp; _parent.built = 1; if (_root.controllers[_parent.faction] == 1) { _root.newbuilding.start(); } } } else { _parent.turretpic._visible = true; } if (_parent.training) { --_parent.training; } if (_parent.training == 1) { _root.unitready(_parent.faction, _parent.unitintraining, _parent._x, _parent._y + 1, 'units', _parent.unitmedium); } _parent.indi.lifebar._xscale = (_parent.hp / _root.table_buildings[recordnumber].hp) * 100; _parent.indi.lifebar.filters = new Array(new flash.filters.ColorMatrixFilter(new Array(1.5 * (1 - _parent.hp / _root.table_buildings[recordnumber].hp), 0, 0, 0, 0, 0, (_parent.hp / _root.table_buildings[recordnumber].hp) * 1.5, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 1, 0))); if (_parent.det.hitTest(_root._xmouse, _root._ymouse, true) || Key.isDown(17) || _root.indi.selectedthing == _parent) { _parent.indi._visible = true; } else { _parent.indi._visible = false; } if (_parent.range > 0) { ++timer; if (timer % (25 + timerrandom) == 0) { _parent.decision = random(6); if (_parent.decision == 3 || _parent.decision == 1 || _parent.decision == 2) { targets = new Array(); for (i in _root.units[1 - _parent.faction]) { if (_root.units[1 - _parent.faction][i].hp > 0 && _root.checkdistance(_root.units[1 - _parent.faction][i]._x - _parent._x, _root.units[1 - _parent.faction][i]._y - _parent._y, 0, 0) <= _parent.range && (_parent.targetm == _root.units[1 - _parent.faction][i].medium || _parent.targetm == 'ls')) { targets.push(_root.units[1 - _parent.faction][i]); } } if (targets.length > 0) { furthesttarget = targets[0]; for (i in targets) { if (_root.checkdistance(targets[i]._x - _parent._x, targets[i]._y - _parent._y, 0, 0) < _root.checkdistance(furthesttarget._x - _parent._x, furthesttarget._y - _parent._y, 0, 0)) { furthesttarget = targets[i]; } } _parent.shootcoords = [furthesttarget._x, furthesttarget._y]; } else { furthesttarget = undefined; } } else { if (_parent.decision == 4 || _parent.decision == 5) { if (_root.shooters[1 - _parent.faction].length > 0) { buildingtoattack = _root.shooters[1 - _parent.faction]; } else { randomtaik = random(2); if (randomtaik == 0) { buildingtoattack = _root.outposts[1 - _parent.faction]; } else { if (randomtaik == 1) { buildingtoattack = _root.builders[1 - _parent.faction]; } } if (buildingtoattack.length == 0) { buildingtoattack = _root.builders[1 - _parent.faction]; } } thatbuilding = buildingtoattack[0]; for (i in buildingtoattack) { if (_root.checkdistance(buildingtoattack[i]._x - _parent._x, buildingtoattack[i]._y - _parent._y, 0, 0) < _root.checkdistance(thatbuilding._x - _parent._x, thatbuilding._y - _parent._y, 0, 0)) { thatbuilding = buildingtoattack[i]; } } if (thatbuilding.hp > 0 && _root.checkdistance(thatbuilding._x - _parent._x, thatbuilding._y - _parent._y, 0, 0) < _parent.range) { furthesttarget = thatbuilding; _parent.shootcoords = [furthesttarget._x, furthesttarget._y]; } else { targets = new Array(); for (i in _root.units[1 - _parent.faction]) { if (_root.units[1 - _parent.faction][i].hp > 0 && _root.checkdistance(_root.units[1 - _parent.faction][i]._x - _parent._x, _root.units[1 - _parent.faction][i]._y - _parent._y, 0, 0) <= _parent.range && (_parent.targetm == _root.units[1 - _parent.faction][i].medium || _parent.targetm == 'ls')) { targets.push(_root.units[1 - _parent.faction][i]); } } if (targets.length > 0) { furthesttarget = targets[0]; for (i in targets) { if (_root.checkdistance(targets[i]._x - _parent._x, targets[i]._y - _parent._y, 0, 0) < _root.checkdistance(furthesttarget._x - _parent._x, furthesttarget._y - _parent._y, 0, 0)) { furthesttarget = targets[i]; } } _parent.shootcoords = [furthesttarget._x, furthesttarget._y]; } else { furthesttarget = undefined; } } } } } _parent.trot = _root.lookat2d(_parent.shootcoords[0] - _parent._x, _parent.shootcoords[1] - _parent._y, _x, _y); _parent.turretrot._rotation = _parent.trot; _parent.turretpic.gotoAndStop(Math.max(1, Math.round(((_parent.trot + 90) / 360) * 16))); if (furthesttarget != undefined && _parent.recharging == 0 && _parent.built) { _parent.turretpic.anim.play(); _parent.shootcoords = [furthesttarget._x, furthesttarget._y]; mediums = {'l': 'screen', 's': 'sky'}; abullet = _root[mediums[furthesttarget.medium]].attachMovie(_parent.wlinkage, 'projectile_' + random(9999999), _parent._x + (_parent._y - 1) * _root[mediums[furthesttarget.medium]]._width); abullet.medium = mediums[furthesttarget.medium]; abullet.mediuma = furthesttarget.medium; abullet._x = _parent._x; abullet._y = _parent._y - int(_parent._height / 2); abullet.wspeed = _parent.wspeed; abullet.wlinkage = _parent.damagerlinkage; abullet.targetx = furthesttarget._x; abullet.targety = furthesttarget._y; abullet.faction = _parent.faction; abullet.weapon_id = _parent.weapon; _parent.recharging = _parent.recharge; } _parent.recharging > 0 ? _parent.recharging-- : null; } _parent.pic.gotoAndStop(1 + int((_parent.hp / _root.table_buildings[recordnumber].hp) * 4) + 5 * _parent.built); _parent.pic.coloring.filters = new Array(new flash.filters.ColorMatrixFilter(_root.getcolors(_root.coloros[_parent.faction], 1))); _parent.swapDepths(_parent._x + _parent._y * _parent._parent._width); } }; } } movieClip 1892 building_hq { frame 1 { } } movieClip 1901 { } movieClip 1903 { frame 2 { gotoAndPlay(random(3) + 1); } } movieClip 1906 { } movieClip 1907 building_armycamp { frame 1 { hp = [100, 100]; } } movieClip 1916 { } movieClip 1921 { } movieClip 1925 { } movieClip 1927 { frame 1 { stop(); } } movieClip 1930 { frame 1 { stop(); } } movieClip 1933 { frame 1 { stop(); } } movieClip 1936 { frame 1 { stop(); } } movieClip 1939 { frame 1 { stop(); } } movieClip 1940 { } movieClip 1944 { frame 12 { stop(); } } movieClip 1945 { frame 32 { stop(); } } movieClip 1946 { } movieClip 1947 { frame 1 { stop(); } frame 9 { _parent.turretpic._alpha = 0; _parent.pic._alpha = 0; } frame 78 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 1948 building_cannontower { } movieClip 1957 { } movieClip 1962 { } movieClip 1963 building_tradetower { frame 2 { timer = 0; this.onEnterFrame = function () { if (!_root.pauser) { ++timer; if (timer % 300 == 0 && built) { _root.moneys[faction] += 40; _root.cashearned[faction] += 40; } } }; stop(); } } movieClip 1968 { } movieClip 1972 { frame 1 { stop(); } } movieClip 1975 { frame 1 { stop(); } } movieClip 1978 { frame 1 { stop(); } } movieClip 1981 { frame 1 { stop(); } } movieClip 1984 { frame 1 { stop(); } } movieClip 1985 { } movieClip 1986 building_rockettower { } movieClip 1995 { } movieClip 2000 { } movieClip 2001 building_machinebay { frame 1 { hp = [100, 100]; } } movieClip 2010 { } movieClip 2015 { } movieClip 2016 building_researchlab { frame 1 { timer = 0; researching = 0; researchwhat = -1; this.onEnterFrame = function () { if (!_root.pauser) { if (researching && researchwhat != -1) { ++timer; if (timer > 2700) { timer = 0; researching = 0; _root.researches[faction][researchwhat] = 1; researchwhat = -1; trace('[][][][][][][][]Research Complete ' + _root.researches[faction]); } } } }; stop(); } } movieClip 2025 { } movieClip 2030 { } movieClip 2031 building_hangar { frame 1 { hp = [100, 100]; } } // unknown tag 88 length 84 movieClip 2052 { } movieClip 2057 { } movieClip 2061 { frame 1 { stop(); } } movieClip 2064 { frame 1 { stop(); } } movieClip 2067 { frame 1 { stop(); } } movieClip 2070 { frame 1 { stop(); } } movieClip 2073 { frame 1 { stop(); } } movieClip 2074 { } movieClip 2076 { frame 1 { _alpha = 0; } } movieClip 2077 building_gunturret { } movieClip 2086 { } movieClip 2091 { } movieClip 2103 { frame 1 { stop(); } } movieClip 2114 { frame 1 { stop(); } } movieClip 2117 { frame 1 { stop(); } } movieClip 2128 { frame 1 { stop(); } } movieClip 2139 { frame 1 { stop(); } } movieClip 2140 { } movieClip 2141 building_autocannontower { } movieClip 2150 { } movieClip 2152 { } movieClip 2154 { } movieClip 2156 { } movieClip 2157 { frame 1 { stop(); } } movieClip 2158 { frame 1 { stop(); } } movieClip 2159 { frame 1 { stop(); } } movieClip 2160 { frame 1 { stop(); } } movieClip 2161 { } movieClip 2163 { } movieClip 2165 { } movieClip 2167 { } movieClip 2172 { frame 1 { stop(); } } movieClip 2175 { frame 1 { stop(); } } movieClip 2177 { frame 1 { stop(); } } movieClip 2180 { frame 1 { stop(); } } movieClip 2182 { frame 1 { stop(); } } movieClip 2183 { } movieClip 2185 { frame 1 { function sindiall() { put = 0; while (put < _root.units[0].length) { _root.units[0][put].sindi._alpha = 0; ++put; } put = 0; while (put < _root.units[0].length) { if (_root.units[0][put].controller.recordnumber != recordnumber) { } else { _root.units[0][put].sindi._alpha = 100; } null; ++put; } } _visible = false; timerrandom = random(10); recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == _parent.linkage) { recordnumber = i; break; } } _parent.bname = _root.table_units[recordnumber].bname; _parent.fullhp = _root.table_units[recordnumber].hp; _parent.hp = _root.table_units[recordnumber].hp; _parent.medium = _root.table_units[recordnumber].medium; _parent.targetm = _root.table_units[recordnumber].targetm; _parent.range = _root.table_units[recordnumber].range; _parent.speed = _root.table_units[recordnumber].speed; _parent.weight = _root.table_units[recordnumber].weight; _parent.weapon = _root.table_units[recordnumber].weapon; _parent.wspeed = _root.table_units[recordnumber].wspeed; _parent.wlinkage = _root.table_units[recordnumber].wlinkage; _parent.recharge = _root.table_units[recordnumber].recharge; _parent.damagerlinkage = ''; for (i in _root.table_weapons) { if (_root.table_weapons[i].id == _parent.weapon) { _parent.damagerlinkage = _root.table_weapons[i].linkage; break; } } timer = 0; _parent.rot = 180; _parent.trot = _parent.rot; _parent.prevcoords = [_parent._x, _parent._y]; _parent.movecoords = [_parent._x + random(200) - 100, _parent._y + 20 + random(30)]; _parent.shootcoords = [_parent.movecoords[0], _parent.movecoords[1]]; _parent.decision = 0; _parent.movetospot = 1; _parent.recharging = 0; _parent.regen = 0; _parent.indi._yscale = ((_parent._width - _parent.indi._width) / _parent.indi._width) * 100 + 100; _parent.indi._xscale = _parent.indi._yscale; _parent.sindi._yscale = _parent.indi._yscale; _parent.sindi._xscale = _parent.indi._yscale; _parent.sindi._y = 0; _parent.sindi._x = 0; _parent.indi._y = 0; _parent.indi._x = 0; _parent.rot = _root.lookat2d(_parent.movecoords[0] - _parent._x, _parent.movecoords[1] - _parent._y, _x, _y); _parent.det._rotation = _parent.rot; _parent.sprite.gotoAndStop(Math.max(1, Math.round(((_parent.rot + 90) / 360) * 16))); _parent.trot = _root.lookat2d(_parent.shootcoords[0] - _parent._x, _parent.shootcoords[1] - _parent._y, _x, _y); _parent.turretrot._rotation = _parent.trot; _parent.pic.gotoAndStop(Math.max(1, Math.round(((_parent.trot + 90) / 360) * 16))); ++_root.unitsreleased[_parent.faction]; _root.gamelog += int(int(_root.gametimer / 30) / 60) + ':' + int(_root.gametimer / 30) % 60 + ' - ' + _root['commandername' + _parent.faction] + ' releases a new ' + _parent.bname + ' unit.\n'; _parent.destroy = function () { if (_root.indi.selectedthing == _parent) { _root.indi.gotoAndStop('ok'); _root.indi.selectedthing = null; } _parent.hp = 0; _parent.destroyed = 1; ++_root.unitsdestroyed[_parent.faction]; _root.gamelog += int(int(_root.gametimer / 30) / 60) + ':' + int(_root.gametimer / 30) % 60 + ' - ' + _root['commandername' + _parent.faction] + '\'s ' + _parent.bname + ' is killed.\n'; _root[_parent.myarray][_parent.faction].splice(_parent.id, 1); _root.re_id(_root[_parent.myarray][_parent.faction]); (_root.controllers[_parent.faction] == 1) ? _root.deadunit.start() : null; _parent.gotoAndStop('die'); }; _parent.det.onPress = function () { if (!_root.pauser) { if (!_parent.destroyed) { _root.indi.selectedthing = _parent; if (_root.controllers[_parent.faction]) { sindiall(); _root.indi.gotoAndStop('unitinfo'); } else { _root.indi.gotoAndStop('unitinfoai'); } } } }; (_root.controllers[_parent.faction] == 1 && !_parent.inserted) ? _root.newunit.start() : null; this.onEnterFrame = function () { if (!_root.pauser && !_parent.destroyed) { ++timer; _parent.prevcoords = [_parent._x, _parent._y]; _parent.hp <= 0 ? _parent.destroy() : null; if (timer % 60 == 0) { _parent.hp += _parent.regen; if (_parent.hp < _parent.fullhp) { } else { _parent.hp = _parent.fullhp; } null; } if (_root.checkdistance(_parent.movecoords[0] - _parent._x, _parent.movecoords[1] - _parent._y, 0, 0) > Math.max(18, _parent.det._width / 2 + 3)) { _parent.rot = _root.lookat2d(_parent.movecoords[0] - _parent._x, _parent.movecoords[1] - _parent._y, _x, _y); _parent.det._rotation = _parent.rot; if (_parent.movetospot || _root.checkdistance(_parent.movecoords[0] - _parent._x, _parent.movecoords[1] - _parent._y, 0, 0) > _parent.range) { _root.anglemove2d(_parent.speed, _parent, _parent.rot); _parent.sprite.anim.play(); } else { _parent.sprite.anim.stop(); } } if (timer % (171 + timerrandom) == 0) { for (i in _root.unitai[_parent.faction]) { if (_root.unitai[_parent.faction][i].linkage == _parent.linkage) { recordarray = _root.unitai[_parent.faction][i]; } } dchoice = random(recordarray.ai[0] + recordarray.ai[1] + recordarray.ai[2] + recordarray.ai[3] + recordarray.ai[4] + recordarray.ai[5]) + 1; if (recordarray != undefined) { if (dchoice <= recordarray.ai[0]) { _parent.decision = 0; _parent.movetospot = 1; _parent.movecoords = [_parent._x + random(150) - 75, _parent._y + random(150) - 75]; } else { if (dchoice <= recordarray.ai[1] + recordarray.ai[0]) { _parent.decision = 1; _parent.movetospot = 1; _parent.movecoords = [_root.hqs[_parent.faction]._x + random(150) - 75, _root.hqs[_parent.faction]._y + random(150) - 75]; } else { if (dchoice <= recordarray.ai[2] + recordarray.ai[1] + recordarray.ai[0]) { _parent.decision = 2; _parent.movetospot = 1; randomtaik = random(3); buildingtodefend = _root.builders[_parent.faction]; if (randomtaik == 0) { buildingtodefend = _root.outposts[_parent.faction]; } else { if (randomtaik == 1) { buildingtodefend = _root.shooters[_parent.faction]; } } if (buildingtodefend.length == 0) { buildingtodefend = _root.builders[_parent.faction]; } thatbuilding = buildingtodefend[random(buildingtodefend.length)]; _parent.movecoords = [thatbuilding._x + random(150) - 75, thatbuilding._y + random(150) - 75]; } else { if (dchoice <= recordarray.ai[3] + recordarray.ai[2] + recordarray.ai[1] + recordarray.ai[0]) { _parent.decision = 3; _parent.movetospot = 0; closestenemy = _root.units[1 - _parent.faction][0]; for (i in _root.units[1 - _parent.faction]) { if (closestenemy._x == undefined || _root.checkdistance(_root.units[1 - _parent.faction][i]._x - _parent._x, _root.units[1 - _parent.faction][i]._y - _parent._y, 0, 0) < _root.checkdistance(closestenemy._x - _parent._x, closestenemy._y - _parent._y, 0, 0)) { closestenemy = _root.units[1 - _parent.faction][i]; } } _parent.movecoords = [closestenemy._x, closestenemy._y]; } else { if (dchoice <= recordarray.ai[4] + recordarray.ai[3] + recordarray.ai[2] + recordarray.ai[1] + recordarray.ai[0]) { _parent.decision = 4; _parent.movetospot = 0; thatbuilding = _root.hqs[1 - _parent.faction]; _parent.movecoords = [_root.hqs[1 - _parent.faction]._x, _root.hqs[1 - _parent.faction]._y]; } else { _parent.decision = 5; _parent.movetospot = 0; if (_root.shooters[1 - _parent.faction].length > 0) { buildingtoattack = _root.shooters[1 - _parent.faction]; } else { randomtaik = random(2); if (randomtaik == 0) { buildingtoattack = _root.outposts[1 - _parent.faction]; } else { if (randomtaik == 1) { buildingtoattack = _root.builders[1 - _parent.faction]; } } if (buildingtoattack.length == 0) { buildingtoattack = _root.builders[1 - _parent.faction]; } } thatbuilding = buildingtoattack[0]; for (i in buildingtoattack) { if (buildingtoattack[i].hp > 0 && _root.checkdistance(buildingtoattack[i]._x - _parent._x, buildingtoattack[i]._y - _parent._y, 0, 0) < _root.checkdistance(thatbuilding._x - _parent._x, thatbuilding._y - _parent._y, 0, 0)) { thatbuilding = buildingtoattack[i]; } } _parent.movecoords = [thatbuilding._x, thatbuilding._y]; } } } } } } _parent.rot = _root.lookat2d(_parent.movecoords[0] - _parent._x, _parent.movecoords[1] - _parent._y, _x, _y); _parent.det._rotation = _parent.rot; _parent.sprite.gotoAndStop(Math.max(1, Math.round(((_parent.rot + 90) / 360) * 16))); } if (timer % (25 + timerrandom) == 0) { _parent.shootcoords = [_parent.movecoords[0], _parent.movecoords[1]]; if (_parent.decision == 3 || _parent.decision == 1 || _parent.decision == 2) { targets = new Array(); for (i in _root.units[1 - _parent.faction]) { if (_root.units[1 - _parent.faction][i].hp > 0 && _root.checkdistance(_root.units[1 - _parent.faction][i]._x - _parent._x, _root.units[1 - _parent.faction][i]._y - _parent._y, 0, 0) <= _parent.range && (_parent.targetm == _root.units[1 - _parent.faction][i].medium || _parent.targetm == 'ls')) { targets.push(_root.units[1 - _parent.faction][i]); } } if (targets.length > 0) { furthesttarget = targets[0]; for (i in targets) { if (_root.checkdistance(targets[i]._x - _parent._x, targets[i]._y - _parent._y, 0, 0) < _root.checkdistance(furthesttarget._x - _parent._x, furthesttarget._y - _parent._y, 0, 0)) { furthesttarget = targets[i]; } } _parent.shootcoords = [furthesttarget._x, furthesttarget._y]; } else { furthesttarget = undefined; } } else { if (_parent.decision == 4 || _parent.decision == 5) { if (thatbuilding.hp > 0 && _root.checkdistance(thatbuilding._x - _parent._x, thatbuilding._y - _parent._y, 0, 0) < _parent.range) { furthesttarget = thatbuilding; _parent.shootcoords = [furthesttarget._x, furthesttarget._y]; } else { targets = new Array(); for (i in _root.units[1 - _parent.faction]) { if (_root.units[1 - _parent.faction][i].hp > 0 && _root.checkdistance(_root.units[1 - _parent.faction][i]._x - _parent._x, _root.units[1 - _parent.faction][i]._y - _parent._y, 0, 0) <= _parent.range && (_parent.targetm == _root.units[1 - _parent.faction][i].medium || _parent.targetm == 'ls')) { targets.push(_root.units[1 - _parent.faction][i]); } } if (targets.length > 0) { furthesttarget = targets[0]; for (i in targets) { if (_root.checkdistance(targets[i]._x - _parent._x, targets[i]._y - _parent._y, 0, 0) < _root.checkdistance(furthesttarget._x - _parent._x, furthesttarget._y - _parent._y, 0, 0)) { furthesttarget = targets[i]; } } _parent.shootcoords = [furthesttarget._x, furthesttarget._y]; } else { furthesttarget = undefined; } } } } _parent.trot = _root.lookat2d(_parent.shootcoords[0] - _parent._x, _parent.shootcoords[1] - _parent._y, _x, _y); _parent.turretrot._rotation = _parent.trot; _parent.pic.gotoAndStop(Math.max(1, Math.round(((_parent.trot + 90) / 360) * 16))); } if (furthesttarget != undefined && _parent.recharging == 0) { _parent.pic.anim.play(); _parent.shootcoords = [furthesttarget._x, furthesttarget._y]; mediums = {'l': 'screen', 's': 'sky'}; abullet = _root[mediums[furthesttarget.medium]].attachMovie(_parent.wlinkage, 'projectile_' + random(9999999), _parent._x + (_parent._y - 1) * _root[mediums[furthesttarget.medium]]._width); abullet.medium = mediums[furthesttarget.medium]; abullet.mediuma = furthesttarget.medium; abullet._x = _parent._x; abullet._y = _parent._y + _parent.turretrot._y; abullet.wspeed = _parent.wspeed; abullet.wlinkage = _parent.damagerlinkage; abullet.targetx = furthesttarget._x; abullet.targety = furthesttarget._y; abullet.faction = _parent.faction; abullet.weapon_id = _parent.weapon; _parent.recharging = _parent.recharge; } _parent.recharging > 0 ? _parent.recharging-- : null; if (timer % 60 == 0 && timer != 0 && _root.checkdistance(_parent.movecoords[0] - _parent._x, _parent.movecoords[1] - _parent._y, 0, 0) > 18) { if (_root.checkdistance(_parent.prevcoords[0], _parent.prevcoords[1], _parent._x, _parent._y) < 10) { while (!lookdir) { lookdir = random(3) - 1; } _parent.rot += 90 * lookdir; } else { _parent.rot = lookat2d(_parent.movecoords[0], _parent.movecoords[1], _x, _y); } } _parent.indi.lifebar._xscale = (_parent.hp / _parent.fullhp) * 100; _parent.indi.lifebar.filters = new Array(new flash.filters.ColorMatrixFilter(new Array(1.5 * (1 - _parent.hp / _root.table_units[recordnumber].hp), 0, 0, 0, 0, 0, (_parent.hp / _root.table_units[recordnumber].hp) * 1.5, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 1, 0))); if (_parent.det.hitTest(_root._xmouse, _root._ymouse, false) || Key.isDown(17) || _root.indi.selectedthing == _parent) { _parent.indi._visible = true; } else { _parent.indi._visible = false; } _parent.sindi._alpha > 0 ? _parent.sindi._alpha-- : null; _parent.swapDepths(_parent._x + _parent._y * _parent._parent._width); !_parent.recharging ? _parent.pic.gotoAndStop(1 + int((_parent.hp / _root.table_units[recordnumber].hp) * 4) + 5 * _parent.built) : null; _parent.sprite.filters = new Array(new flash.filters.ColorMatrixFilter(_root.getcolors2(_root.coloros[_parent.faction], 1))); } }; } } movieClip 2187 { frame 1 { _alpha = 0; } } movieClip 2189 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 2190 unit_infantry { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2198 { frame 1 { stop(); } } movieClip 2200 { frame 1 { stop(); } } movieClip 2202 { frame 1 { stop(); } } movieClip 2204 { frame 1 { stop(); } } movieClip 2205 { frame 1 { stop(); } } movieClip 2206 { } movieClip 2207 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 2208 unit_rocketman { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2211 { } movieClip 2215 { } movieClip 2217 { frame 1 { stop(); } } movieClip 2220 { frame 1 { stop(); } } movieClip 2223 { frame 1 { stop(); } } movieClip 2226 { frame 1 { stop(); } } movieClip 2228 { frame 1 { stop(); } } movieClip 2229 { } movieClip 2230 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 2231 unit_flamer { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2233 { } movieClip 2235 { } movieClip 2237 { } movieClip 2240 { frame 1 { stop(); } } movieClip 2242 { frame 1 { stop(); } } movieClip 2243 { frame 1 { stop(); } } movieClip 2245 { frame 1 { stop(); } } movieClip 2246 { frame 1 { stop(); } } movieClip 2247 { } movieClip 2248 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 2249 unit_commando { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2256 { frame 1 { stop(); } } movieClip 2263 { frame 1 { stop(); } } movieClip 2267 { frame 1 { stop(); } } movieClip 2274 { frame 1 { stop(); } } movieClip 2277 { frame 1 { stop(); } } movieClip 2279 { } movieClip 2280 { } movieClip 2284 { frame 300 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 2285 unit_jeep { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2296 { } movieClip 2300 { frame 1 { stop(); } } movieClip 2303 { frame 1 { stop(); } } movieClip 2306 { frame 1 { stop(); } } movieClip 2309 { frame 1 { stop(); } } movieClip 2312 { frame 1 { stop(); } } movieClip 2313 { } movieClip 2314 unit_lighttank { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2328 { } movieClip 2332 { frame 1 { stop(); } } movieClip 2335 { frame 1 { stop(); } } movieClip 2338 { frame 1 { stop(); } } movieClip 2341 { frame 1 { stop(); } } movieClip 2345 { frame 1 { stop(); } } movieClip 2346 { } movieClip 2349 { frame 300 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 2350 unit_bngtank { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2364 { } movieClip 2368 effect_smokeparticle { frame 1 { timer = 0; this.onEnterFrame = function () { if (!_root.pauser) { ++timer; _xscale = _xscale + 1; _yscale = _yscale + 1; _alpha = _alpha - 1; if (!(_alpha <= 0 || timer > 100)) { } else { this.unloadMovie(); removeMovieClip(this); } null; } }; } } movieClip 2369 { frame 1 { stop(); } } movieClip 2373 { frame 1 { stop(); } } movieClip 2377 { frame 1 { stop(); } } movieClip 2381 { frame 1 { stop(); } } movieClip 2385 { frame 1 { stop(); } } movieClip 2386 { } movieClip 2387 unit_rockettank { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2428 { frame 1 { stop(); } } movieClip 2469 { frame 1 { stop(); } } movieClip 2510 { frame 1 { stop(); } } movieClip 2551 { frame 1 { stop(); } } movieClip 2592 { frame 1 { stop(); } } movieClip 2593 { } movieClip 2597 { frame 1 { stop(); } } movieClip 2600 { frame 1 { stop(); } } movieClip 2603 { frame 1 { stop(); } } movieClip 2606 { frame 1 { stop(); } } movieClip 2609 { frame 1 { stop(); } } movieClip 2610 { } movieClip 2611 unit_bngbluetrigger { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2615 { frame 1 { stop(); } } movieClip 2618 { frame 1 { stop(); } } movieClip 2621 { frame 1 { stop(); } } movieClip 2624 { frame 1 { stop(); } } movieClip 2627 { frame 1 { stop(); } } movieClip 2628 { } movieClip 2632 { } movieClip 2634 { } movieClip 2636 { frame 166 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 2637 unit_assaultheli { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2639 { frame 2 { stop(); } } movieClip 2640 { } movieClip 2645 { } movieClip 2657 { } movieClip 2658 unit_bngfighter { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2659 { } movieClip 2673 { } movieClip 2674 unit_bwingbomber { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2678 { frame 1 { _visible = false; timer = 0; _parent._rotation = _root.lookat2d(_parent.targetx - _parent._x, _parent.targety - _parent._y, _x, _y); this.onEnterFrame = function () { if (!_root.pauser) { if (_root.checkdistance(_parent.targetx, _parent.targety, _parent._x, _parent._y) > _parent.wspeed) { _root.anglemove2d(_parent.wspeed, _parent, _parent._rotation); } else { boom = _root[_parent.medium].attachMovie('damager_' + _parent.wlinkage, 'bullet_' + random(9999999), _parent._x + (_parent._y + 1) * _root[_parent.medium]._width); boom._x = _parent.targetx + random(5) - 2; boom._y = _parent.targety + 1 + random(3); boom.mediuma = _parent.mediuma; boom.faction = _parent.faction; boom.weapon_id = _parent.weapon_id; _parent.unloadMovie(); } _parent.swapDepths(_parent._x + _parent._y * _parent._parent._width); ++timer; if (timer <= 120) { } else { this.unloadMovie(); removeMovieClip(this); } null; } }; } } movieClip 2679 w_rifle { frame 1 { _visible = false; } } movieClip 2683 { frame 1 { _visible = false; _parent.swapDepths(_parent._x + _parent._y * _parent._parent._width); recordnumber = 0; for (i in _root.table_weapons) { if (_root.table_weapons[i].id == _parent.weapon_id) { recordnumber = i; break; } } myrecord = _root.table_weapons[i]; _parent.linkage = myrecord.linkage; _parent.damage = myrecord.damage; _parent.hittest = myrecord.hittest; hitsomething = 0; for (i in _root.units[1 - _parent.faction]) { if (_root.units[1 - _parent.faction][i].det.hitTest(this) && _root.units[1 - _parent.faction][i].medium == _parent.mediuma) { hitsomething = 1; _root.units[1 - _parent.faction][i].hp -= _parent.damage; if (_parent.hittest == 'pixel') { break; } } } for (i in _root.units[_parent.faction]) { if (_root.units[_parent.faction][i].det.hitTest(this) && _root.units[_parent.faction][i].medium == _parent.mediuma) { if (_parent.hittest == 'area') { hitsomething = 1; _root.units[_parent.faction][i].hp -= _parent.damage; } else { if (!hitsomething) { hitsomething = 1; _root.units[_parent.faction][i].hp -= _parent.damage; break; } } } } if (_parent.mediuma == 'l') { for (i in _root.builders[_parent.faction]) { if (_root.builders[_parent.faction][i].det.hitTest(this)) { if (_parent.hittest == 'area') { hitsomething = 1; _root.builders[_parent.faction][i].hp -= _parent.damage; } else { if (!hitsomething) { hitsomething = 1; _root.builders[_parent.faction][i].hp -= _parent.damage; break; } } } } for (i in _root.shooters[_parent.faction]) { if (_root.shooters[_parent.faction][i].det.hitTest(this)) { if (_parent.hittest == 'area') { hitsomething = 1; _root.shooters[_parent.faction][i].hp -= _parent.damage; } else { if (!hitsomething) { hitsomething = 1; _root.shooters[_parent.faction][i].hp -= _parent.damage; break; } } } } for (i in _root.outposts[_parent.faction]) { if (_root.outposts[_parent.faction][i].det.hitTest(this)) { if (_parent.hittest == 'area') { hitsomething = 1; _root.outposts[_parent.faction][i].hp -= _parent.damage; } else { if (!hitsomething) { hitsomething = 1; _root.outposts[_parent.faction][i].hp -= _parent.damage; break; } } } } for (i in _root.builders[1 - _parent.faction]) { if (_root.builders[1 - _parent.faction][i].det.hitTest(this)) { if (_parent.hittest == 'area') { hitsomething = 1; _root.builders[1 - _parent.faction][i].hp -= _parent.damage; } else { if (!hitsomething) { hitsomething = 1; _root.builders[1 - _parent.faction][i].hp -= _parent.damage; break; } } } } for (i in _root.shooters[1 - _parent.faction]) { if (_root.shooters[1 - _parent.faction][i].det.hitTest(this)) { if (_parent.hittest == 'area') { hitsomething = 1; _root.shooters[1 - _parent.faction][i].hp -= _parent.damage; } else { if (!hitsomething) { hitsomething = 1; _root.shooters[1 - _parent.faction][i].hp -= _parent.damage; break; } } } } for (i in _root.outposts[1 - _parent.faction]) { if (_root.outposts[1 - _parent.faction][i].det.hitTest(this)) { if (_parent.hittest == 'area') { hitsomething = 1; _root.outposts[1 - _parent.faction][i].hp -= _parent.damage; } else { if (!hitsomething) { hitsomething = 1; _root.outposts[1 - _parent.faction][i].hp -= _parent.damage; break; } } } } } _parent._x += random(22) - 11; _parent._y -= random(8); } } movieClip 2690 damager_bullet { frame 37 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2725 damager_smallexplo { frame 90 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2727 w_rocket { frame 1 { this.onEnterFrame = function () { if (!_root.pauser) { eff = _root[medium].attachMovie('effect_smokeparticle', 'eff_' + random(9999999), _x + (_y - 1) * _root[medium]._width); eff._x = _x; eff._y = _y - 1; } }; } } movieClip 2730 damager_snipeshot { frame 100 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2735 damager_flame { frame 14 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2736 w_flamer { frame 1 { this.onEnterFrame = function () { if (!_root.pauser) { eff = _root[medium].attachMovie('effect_fireparticle', 'eff_' + random(9999999), _x + (_y - 1) * _root[medium]._width); eff._x = _x; eff._y = _y - 1; } }; } } movieClip 2738 w_cannon { } movieClip 2739 damager_impact { frame 100 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2742 w_heavycannon { } movieClip 2744 damager_bigexplo { frame 4 { _root._x = 2; _root._y = -1; } frame 5 { _root._x = -1; _root._y = 2; } frame 6 { _root._x = -2; _root._y = 1; } frame 7 { _root._x = 1; _root._y = -2; } frame 8 { _root._x = 0; _root._y = 0; } frame 90 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2746 w_laser { } movieClip 2750 { } movieClip 2753 damager_laserburn { frame 39 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2755 effect_smokeparticle_white { frame 1 { timer = 0; this.onEnterFrame = function () { if (!_root.pauser) { ++timer; _xscale = _xscale + 1; _yscale = _yscale + 1; _alpha = _alpha - 1; if (!(_alpha <= 0 || timer > 100)) { } else { this.unloadMovie(); removeMovieClip(this); } null; } }; } } movieClip 2757 w_missile { frame 1 { this.onEnterFrame = function () { if (!_root.pauser) { eff = _root[medium].attachMovie('effect_smokeparticle_white', 'eff_' + random(9999999), _x + (_y - 1) * _root[medium]._width); eff._x = _x; eff._y = _y - 1; } }; } } movieClip 2771 { } movieClip 2772 damager_mbomb { frame 92 { _root._x = 2; _root._y = -1; } frame 93 { _root._x = -1; _root._y = 2; } frame 94 { _root._x = -2; _root._y = 1; } frame 95 { _root._x = 1; _root._y = -2; } frame 96 { _root._x = 0; _root._y = 0; } frame 106 { _root._x = 2; _root._y = -1; } frame 107 { _root._x = -1; _root._y = 2; } frame 108 { _root._x = -2; _root._y = 1; } frame 109 { _root._x = 1; _root._y = -2; } frame 110 { _root._x = 0; _root._y = 0; } frame 705 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2778 damager_autoshell { frame 39 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2781 { frame 1 { } } movieClip 2800 { } movieClip 2805 { } movieClip 2806 building_spybase { frame 1 { } } movieClip 2815 { } movieClip 2820 { } movieClip 2821 building_techhouse { frame 1 { timer = 0; researching = 0; researchwhat = -1; this.onEnterFrame = function () { if (!_root.pauser) { if (researching && researchwhat != -1) { ++timer; if (timer > 2700) { timer = 0; researching = 0; _root.researches[faction][researchwhat] = 1; researchwhat = -1; trace('[][][][][][][][]Research Complete ' + _root.researches[faction]); } } } }; stop(); } } movieClip 2830 { } movieClip 2835 { } movieClip 2836 building_tradingbay { frame 2 { timer = 0; this.onEnterFrame = function () { if (!_root.pauser) { ++timer; if (timer % 150 == 0 && built) { _root.moneys[faction] += 20; _root.cashearned[faction] += 20; } } }; stop(); } } movieClip 2845 { } movieClip 2850 { } movieClip 2851 building_barracks { frame 1 { hp = [100, 100]; } } movieClip 2860 { } movieClip 2865 { } movieClip 2866 building_assemblicon { frame 1 { hp = [100, 100]; } } movieClip 2875 { } movieClip 2880 { } movieClip 2881 building_skypad { frame 1 { hp = [100, 100]; } } movieClip 2884 { frame 1 { stop(); } } movieClip 2885 { frame 1 { stop(); } } movieClip 2886 { frame 1 { stop(); } } movieClip 2887 { frame 1 { stop(); } } movieClip 2888 { } movieClip 2890 { } movieClip 2892 { } movieClip 2894 { } movieClip 2897 { frame 1 { stop(); } } movieClip 2899 { frame 1 { stop(); } } movieClip 2901 { frame 1 { stop(); } } movieClip 2903 { frame 1 { stop(); } } movieClip 2904 { frame 1 { stop(); } } movieClip 2905 { } movieClip 2906 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 2907 unit_ninja { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2910 { } movieClip 2912 { } movieClip 2914 { } movieClip 2918 { frame 1 { stop(); } } movieClip 2920 { frame 1 { stop(); } } movieClip 2922 { frame 1 { stop(); } } movieClip 2924 { frame 1 { stop(); } } movieClip 2926 { frame 1 { stop(); } } movieClip 2927 { } movieClip 2928 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 2929 unit_bomberunit { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2930 { } movieClip 2931 w_shuriken { } movieClip 2933 w_grenade { frame 1 { stop(); } } movieClip 2935 damager_grenade { frame 90 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2939 damager_shuriken { frame 5 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2948 { } movieClip 2953 { } movieClip 2954 building_bombpod { } movieClip 2963 { } movieClip 2968 { } movieClip 2969 building_molotovpod { } movieClip 2978 { } movieClip 2979 { } movieClip 2983 { frame 1 { stop(); } } movieClip 2984 { } movieClip 2985 building_lightningtower { } movieClip 2993 damager_lightning { frame 14 { this.unloadMovie(); removeMovieClip(this); } } movieClip 2995 { frame 1 { stop(); } } movieClip 2997 { frame 1 { stop(); } } movieClip 2999 { frame 1 { stop(); } } movieClip 3004 { frame 1 { stop(); } } movieClip 3008 { } movieClip 3016 { frame 1 { stop(); } } movieClip 3020 { frame 1 { stop(); } } movieClip 3023 { frame 1 { stop(); } } movieClip 3027 { frame 1 { stop(); } } movieClip 3030 { frame 1 { stop(); } } movieClip 3031 { } movieClip 3032 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 3033 unit_gunner { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3037 { } movieClip 3038 { frame 1 { stop(); } } movieClip 3039 { frame 1 { stop(); } } movieClip 3040 { frame 1 { stop(); } } movieClip 3041 { frame 1 { stop(); } } movieClip 3042 { } movieClip 3044 { } movieClip 3050 { frame 1 { gotoAndStop(random(4) + 2); } } movieClip 3052 { } movieClip 3059 { } movieClip 3060 { frame 1 { stop(); } } movieClip 3063 { frame 1 { stop(); } } movieClip 3065 { frame 1 { stop(); } } movieClip 3068 { frame 1 { stop(); } } movieClip 3069 { frame 1 { stop(); } } movieClip 3070 { } movieClip 3071 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 3072 unit_samurai { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3075 damager_slash { frame 1 { _rotation = random(360); } frame 9 { this.unloadMovie(); removeMovieClip(this); } } movieClip 3078 { } movieClip 3079 { frame 1 { stop(); } } movieClip 3080 { frame 1 { stop(); } } movieClip 3081 { frame 1 { stop(); } } movieClip 3082 { frame 1 { stop(); } } movieClip 3083 { frame 1 { stop(); } } movieClip 3084 { } movieClip 3089 { frame 1 { stop(); } } movieClip 3092 { frame 1 { stop(); } } movieClip 3095 { frame 1 { stop(); } } movieClip 3097 { frame 1 { stop(); } } movieClip 3099 { frame 1 { stop(); } } movieClip 3100 { } movieClip 3101 { frame 101 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 3102 unit_jetgunner { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3105 { } movieClip 3106 { frame 1 { stop(); } } movieClip 3107 { frame 1 { stop(); } } movieClip 3108 { frame 1 { stop(); } } movieClip 3109 { frame 1 { stop(); } } movieClip 3110 { } movieClip 3112 { } movieClip 3114 { } movieClip 3118 { frame 1 { stop(); } } movieClip 3120 { frame 1 { stop(); } } movieClip 3122 { frame 1 { stop(); } } movieClip 3124 { frame 1 { stop(); } } movieClip 3126 { frame 1 { stop(); } } movieClip 3127 { } movieClip 3128 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 3129 unit_mab { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3140 { frame 1 { stop(); } } movieClip 3143 { frame 1 { stop(); } } movieClip 3146 { frame 1 { stop(); } } movieClip 3149 { frame 1 { stop(); } } movieClip 3152 { frame 1 { stop(); } } movieClip 3153 { } movieClip 3156 { frame 1 { stop(); } } movieClip 3159 { frame 1 { stop(); } } movieClip 3162 { frame 1 { stop(); } } movieClip 3165 { frame 1 { stop(); } } movieClip 3168 { frame 1 { stop(); } } movieClip 3169 { } movieClip 3170 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 3171 unit_autocannonbear { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3173 { } movieClip 3177 { } movieClip 3185 { } movieClip 3188 { frame 1 { stop(); } } movieClip 3191 { frame 1 { stop(); } } movieClip 3193 { } movieClip 3194 { frame 1 { stop(); } } movieClip 3197 { frame 1 { stop(); } } movieClip 3199 { frame 1 { stop(); } } movieClip 3200 { } movieClip 3202 { frame 169 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 3203 unit_dragonrider { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3217 { } movieClip 3218 unit_rocketjeep { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3232 { } movieClip 3233 unit_biker { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3247 { } movieClip 3252 { frame 1 { stop(); } } movieClip 3253 { } movieClip 3254 unit_battlepod { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3295 { frame 1 { stop(); } } movieClip 3336 { frame 1 { stop(); } } movieClip 3377 { frame 1 { stop(); } } movieClip 3418 { frame 1 { stop(); } } movieClip 3459 { frame 1 { stop(); } } movieClip 3460 { } movieClip 3463 { frame 1 { stop(); } } movieClip 3466 { frame 1 { stop(); } } movieClip 3469 { frame 1 { stop(); } } movieClip 3472 { frame 1 { stop(); } } movieClip 3475 { frame 1 { stop(); } } movieClip 3476 { } movieClip 3477 unit_earthwalker { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3479 w_redlaser { } movieClip 3481 w_fireball { } movieClip 3483 damager_redlaser { frame 24 { this.unloadMovie(); removeMovieClip(this); } } movieClip 3486 { } movieClip 3487 damager_bigflame { frame 35 { this.unloadMovie(); removeMovieClip(this); } } movieClip 3503 { } movieClip 3508 { } movieClip 3509 building_powercore { frame 1 { } } movieClip 3518 { } movieClip 3523 { } movieClip 3524 building_cosmoratory { frame 1 { timer = 0; researching = 0; researchwhat = -1; this.onEnterFrame = function () { if (!_root.pauser) { if (researching && researchwhat != -1) { ++timer; if (timer > 2700) { timer = 0; researching = 0; _root.researches[faction][researchwhat] = 1; researchwhat = -1; trace('[][][][][][][][]Research Complete ' + _root.researches[faction]); } } } }; stop(); } } movieClip 3533 { } movieClip 3538 { } movieClip 3539 building_tradestation { frame 2 { timer = 0; this.onEnterFrame = function () { if (!_root.pauser) { ++timer; if (timer % 150 == 0 && built) { _root.moneys[faction] += 17; _root.cashearned[faction] += 17; } } }; stop(); } } movieClip 3548 { } movieClip 3553 { } movieClip 3554 building_tradersunion { frame 2 { timer = 0; this.onEnterFrame = function () { if (!_root.pauser) { ++timer; if (timer % 150 == 0 && built) { _root.moneys[faction] += 30; _root.cashearned[faction] += 30; } } }; stop(); } } movieClip 3563 { } movieClip 3568 { } movieClip 3569 building_raidersguild { frame 1 { hp = [100, 100]; } } movieClip 3578 { } movieClip 3583 { } movieClip 3584 building_buildstation { frame 1 { hp = [100, 100]; } } movieClip 3597 { } movieClip 3602 { } movieClip 3606 { } movieClip 3607 { frame 1 { stop(); } } movieClip 3610 { frame 1 { stop(); } } movieClip 3613 { frame 1 { stop(); } } movieClip 3616 { frame 1 { stop(); } } movieClip 3619 { frame 1 { stop(); } } movieClip 3620 { } movieClip 3621 building_raiderturret { } movieClip 3630 { } movieClip 3635 { } movieClip 3638 { frame 1 { stop(); } } movieClip 3641 { frame 1 { stop(); } } movieClip 3644 { frame 1 { stop(); } } movieClip 3647 { frame 1 { stop(); } } movieClip 3650 { frame 1 { stop(); } } movieClip 3651 { } movieClip 3652 building_missilerack { } movieClip 3660 { } movieClip 3665 { } movieClip 3668 { frame 1 { stop(); } } movieClip 3671 { frame 1 { stop(); } } movieClip 3674 { frame 1 { stop(); } } movieClip 3677 { frame 1 { stop(); } } movieClip 3680 { frame 1 { stop(); } } movieClip 3681 { } movieClip 3682 building_jacrocketon { } movieClip 3691 { } movieClip 3696 { } movieClip 3703 { frame 1 { stop(); } } movieClip 3708 { frame 1 { stop(); } } movieClip 3711 { frame 1 { stop(); } } movieClip 3716 { frame 1 { stop(); } } movieClip 3719 { frame 1 { stop(); } } movieClip 3720 { } movieClip 3721 building_jacshocker { } movieClip 3724 damager_shockwave { frame 35 { this.unloadMovie(); removeMovieClip(this); } } movieClip 3730 { frame 1 { stop(); } } movieClip 3731 { frame 1 { stop(); } } movieClip 3732 { frame 1 { stop(); } } movieClip 3733 { frame 1 { stop(); } } movieClip 3734 { } movieClip 3736 { } movieClip 3738 { } movieClip 3740 { } movieClip 3744 { frame 1 { stop(); } } movieClip 3747 { frame 1 { stop(); } } movieClip 3750 { frame 1 { stop(); } } movieClip 3753 { frame 1 { stop(); } } movieClip 3755 { frame 1 { stop(); } } movieClip 3756 { } movieClip 3758 { } movieClip 3760 { } movieClip 3764 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 3765 unit_trooper { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3766 { frame 1 { stop(); } } movieClip 3767 { frame 1 { stop(); } } movieClip 3768 { frame 1 { stop(); } } movieClip 3769 { frame 1 { stop(); } } movieClip 3770 { } movieClip 3771 { frame 1 { stop(); } } movieClip 3774 { frame 1 { stop(); } } movieClip 3777 { frame 1 { stop(); } } movieClip 3780 { frame 1 { stop(); } } movieClip 3782 { frame 1 { stop(); } } movieClip 3783 { } movieClip 3784 unit_raider { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3788 { frame 1 { stop(); } } movieClip 3791 { frame 1 { stop(); } } movieClip 3794 { frame 1 { stop(); } } movieClip 3797 { frame 1 { stop(); } } movieClip 3799 { frame 1 { stop(); } } movieClip 3800 { } movieClip 3801 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 3802 unit_siegeraider { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3803 { frame 1 { stop(); } } movieClip 3804 { frame 1 { stop(); } } movieClip 3805 { frame 1 { stop(); } } movieClip 3806 { frame 1 { stop(); } } movieClip 3807 { } movieClip 3809 { } movieClip 3810 { } movieClip 3812 { } movieClip 3818 { frame 1 { stop(); } } movieClip 3821 { frame 1 { stop(); } } movieClip 3822 { frame 1 { stop(); } } movieClip 3824 { frame 1 { stop(); } } movieClip 3826 { frame 1 { stop(); } } movieClip 3827 { } movieClip 3828 unit_kuburai { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3833 damager_greenlaser { frame 24 { this.unloadMovie(); removeMovieClip(this); } } movieClip 3835 w_greenlaser { } movieClip 3837 w_slicebomb { } movieClip 3855 { } movieClip 3859 { frame 1 { stop(); } } movieClip 3860 { } movieClip 3861 unit_moonstruck { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3875 { } movieClip 3880 { frame 1 { stop(); } } movieClip 3885 { frame 1 { stop(); } } movieClip 3888 { frame 1 { stop(); } } movieClip 3893 { frame 1 { stop(); } } movieClip 3896 { frame 1 { stop(); } } movieClip 3897 { } movieClip 3898 unit_siegeconvoy { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3939 { frame 1 { stop(); } } movieClip 3980 { frame 1 { stop(); } } movieClip 4021 { frame 1 { stop(); } } movieClip 4062 { frame 1 { stop(); } } movieClip 4103 { frame 1 { stop(); } } movieClip 4104 { } movieClip 4108 { frame 1 { stop(); } } movieClip 4111 { frame 1 { stop(); } } movieClip 4114 { frame 1 { stop(); } } movieClip 4117 { frame 1 { stop(); } } movieClip 4120 { frame 1 { stop(); } } movieClip 4121 { } movieClip 4122 unit_triblaster { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4177 { frame 1 { stop(); } frame 15 { stop(); } frame 29 { stop(); } frame 43 { stop(); } } movieClip 4232 { frame 1 { stop(); } frame 15 { stop(); } frame 29 { stop(); } frame 43 { stop(); } } movieClip 4287 { frame 1 { stop(); } frame 15 { stop(); } frame 29 { stop(); } frame 43 { stop(); } } movieClip 4342 { frame 1 { stop(); } frame 15 { stop(); } frame 29 { stop(); } frame 43 { stop(); } } movieClip 4397 { frame 1 { stop(); } frame 15 { stop(); } frame 29 { stop(); } frame 43 { stop(); } } movieClip 4398 { } movieClip 4402 { frame 1 { stop(); } } movieClip 4405 { frame 1 { stop(); } } movieClip 4408 { frame 1 { stop(); } } movieClip 4411 { frame 1 { stop(); } } movieClip 4414 { frame 1 { stop(); } } movieClip 4415 { } movieClip 4416 unit_fuzaron { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4419 { frame 1 { stop(); } } movieClip 4422 { frame 1 { stop(); } } movieClip 4425 { frame 1 { stop(); } } movieClip 4428 { frame 1 { stop(); } } movieClip 4431 { frame 1 { stop(); } } movieClip 4432 { } movieClip 4433 unit_laserfox { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4439 { frame 2 { stop(); } } movieClip 4440 { } movieClip 4454 { } movieClip 4455 unit_triloblast { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4456 { frame 2 { stop(); } } movieClip 4457 { } movieClip 4471 { } movieClip 4476 { frame 390 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 4477 unit_jaccruiser { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4481 { frame 1 { stop(); } } movieClip 4484 { frame 1 { stop(); } } movieClip 4487 { frame 1 { stop(); } } movieClip 4490 { frame 1 { stop(); } } movieClip 4493 { frame 1 { stop(); } } movieClip 4494 { } movieClip 4497 { frame 390 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 4498 unit_xdarios { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4501 effect_fusionring { frame 1 { timer = 0; _alpha = 60; this.onEnterFrame = function () { if (!_root.pauser) { ++timer; _xscale = _xscale + 1; _yscale = _yscale + 1; _alpha = _alpha - 1; if (!(_alpha <= 0 || timer > 100)) { } else { this.unloadMovie(); removeMovieClip(this); } null; } }; } } movieClip 4503 w_fusionmissile { frame 1 { this.onEnterFrame = function () { if (!_root.pauser) { eff = _root[medium].attachMovie('effect_fusionring', 'eff_' + random(9999999), _x + (_y - 1) * _root[medium]._width); eff._x = _x; eff._y = _y - 1; } }; } } movieClip 4505 w_elepod { frame 1 { this.onEnterFrame = function () { if (!_root.pauser) { eff = _root[medium].attachMovie('effect_elepodtrail', 'eff_' + random(9999999), _x + (_y - 1) * _root[medium]._width); eff._x = _x; eff._y = _y - 1; } }; stop(); } } movieClip 4507 effect_elepodtrail { frame 1 { timer = 0; _rotation = random(360); this.onEnterFrame = function () { if (!_root.pauser) { ++timer; _xscale = _xscale - 1; _yscale = _yscale - 1; _alpha = _alpha - 10; if (!(_alpha <= 0 || timer > 100)) { } else { this.unloadMovie(); removeMovieClip(this); } null; } }; } } movieClip 4514 { } movieClip 4515 w_ppc { frame 1 { this.onEnterFrame = function () { if (!_root.pauser) { eff = _root[medium].attachMovie('effect_ppctrail', 'eff_' + random(9999999), _x + (_y - 1) * _root[medium]._width); eff._x = _x; eff._y = _y - 1; } }; stop(); } } movieClip 4517 effect_ppctrail { frame 1 { timer = 0; _rotation = random(360); this.onEnterFrame = function () { if (!_root.pauser) { ++timer; _xscale = _xscale - 1; _yscale = _yscale - 1; _alpha = _alpha - 1; if (!(_alpha <= 0 || timer > 100)) { } else { this.unloadMovie(); removeMovieClip(this); } null; } }; } } movieClip 4527 damager_ppc { frame 15 { this.unloadMovie(); removeMovieClip(this); } } movieClip 4536 damager_sotter { frame 17 { this.unloadMovie(); removeMovieClip(this); } } movieClip 4538 damager_mbomb2 { frame 10 { _root._x = 2; _root._y = -1; } frame 11 { _root._x = -1; _root._y = 2; } frame 12 { _root._x = -2; _root._y = 1; } frame 13 { _root._x = 1; _root._y = -2; } frame 14 { _root._x = 0; _root._y = 0; } frame 24 { _root._x = 2; _root._y = -1; } frame 25 { _root._x = -1; _root._y = 2; } frame 26 { _root._x = -2; _root._y = 1; } frame 27 { _root._x = 1; _root._y = -2; } frame 28 { _root._x = 0; _root._y = 0; } frame 623 { this.unloadMovie(); removeMovieClip(this); } } movieClip 4541 effect_fireparticle { frame 1 { timer = 0; this.onEnterFrame = function () { if (!_root.pauser) { ++timer; _alpha = _alpha - 10; if (!(_alpha <= 0 || timer > 100)) { } else { this.unloadMovie(); removeMovieClip(this); } null; } }; } } movieClip 4557 { } movieClip 4562 { } movieClip 4563 building_opscenter { frame 1 { } } movieClip 4572 { } movieClip 4577 { } movieClip 4578 building_sciencelab { frame 1 { timer = 0; researching = 0; researchwhat = -1; this.onEnterFrame = function () { if (!_root.pauser) { if (researching && researchwhat != -1) { ++timer; if (timer > 2700) { timer = 0; researching = 0; _root.researches[faction][researchwhat] = 1; researchwhat = -1; trace('[][][][][][][][]Research Complete ' + _root.researches[faction]); } } } }; stop(); } } movieClip 4587 { } movieClip 4592 { } movieClip 4593 building_merchanthouse { frame 2 { timer = 0; this.onEnterFrame = function () { if (!_root.pauser) { ++timer; if (timer % 300 == 0 && built) { _root.moneys[faction] += 35; _root.cashearned[faction] += 35; } } }; stop(); } } movieClip 4602 { } movieClip 4607 { } movieClip 4608 building_stellarmarket { frame 2 { timer = 0; this.onEnterFrame = function () { if (!_root.pauser) { ++timer; if (timer % 100 == 0 && built) { _root.moneys[faction] += 12; _root.cashearned[faction] += 12; } } }; stop(); } } movieClip 4617 { } movieClip 4622 { } movieClip 4623 building_galaxyport { frame 1 { hp = [100, 100]; } } movieClip 4632 { } movieClip 4637 { } movieClip 4638 building_starport { frame 1 { hp = [100, 100]; } } movieClip 4647 { } movieClip 4652 { } movieClip 4654 { frame 1 { stop(); } } movieClip 4657 { frame 1 { stop(); } } movieClip 4658 { frame 1 { stop(); } } movieClip 4659 { frame 1 { stop(); } } movieClip 4660 { frame 1 { stop(); } } movieClip 4661 { } movieClip 4662 building_podasdefense { } movieClip 4671 { } movieClip 4676 { } movieClip 4678 { frame 1 { stop(); } } movieClip 4681 { frame 1 { stop(); } } movieClip 4682 { frame 1 { stop(); } } movieClip 4683 { frame 1 { stop(); } } movieClip 4684 { frame 1 { stop(); } } movieClip 4685 { } movieClip 4686 building_pyramiddefense { } movieClip 4695 { } movieClip 4700 { } movieClip 4707 { frame 1 { stop(); } } movieClip 4714 { frame 1 { stop(); } } movieClip 4717 { frame 1 { stop(); } } movieClip 4724 { frame 1 { stop(); } } movieClip 4727 { frame 1 { stop(); } } movieClip 4728 { } movieClip 4729 building_tazertower { } movieClip 4740 { } movieClip 4745 { } movieClip 4748 { frame 1 { stop(); } } movieClip 4751 { frame 1 { stop(); } } movieClip 4754 { frame 1 { stop(); } } movieClip 4757 { frame 1 { stop(); } } movieClip 4760 { frame 1 { stop(); } } movieClip 4761 { } movieClip 4762 building_exploreod { } movieClip 4770 { frame 1 { stop(); } } movieClip 4772 { frame 1 { stop(); } } movieClip 4774 { frame 1 { stop(); } } movieClip 4776 { frame 1 { stop(); } } movieClip 4778 { frame 1 { stop(); } } movieClip 4779 { } movieClip 4780 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 4781 unit_battleunit { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4788 { frame 2 { stop(); } } movieClip 4789 { frame 1 { stop(); } } movieClip 4791 { frame 1 { stop(); } } movieClip 4792 { frame 1 { stop(); } } movieClip 4794 { frame 1 { stop(); } } movieClip 4796 { frame 1 { stop(); } } movieClip 4797 { } movieClip 4799 { } movieClip 4800 { frame 328 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 4801 unit_flashsamurai { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4803 { } movieClip 4805 { } movieClip 4806 { frame 1 { stop(); } } movieClip 4807 { frame 1 { stop(); } } movieClip 4808 { frame 1 { stop(); } } movieClip 4809 { frame 1 { stop(); } } movieClip 4810 { frame 1 { stop(); } } movieClip 4811 { } movieClip 4813 { } movieClip 4815 { } movieClip 4817 { } movieClip 4822 { frame 1 { stop(); } } movieClip 4826 { frame 1 { stop(); } } movieClip 4829 { frame 1 { stop(); } } movieClip 4832 { frame 1 { stop(); } } movieClip 4835 { frame 1 { stop(); } } movieClip 4836 { } movieClip 4837 { frame 101 { _parent.unloadMovie(); removeMovieClip(_parent); } } movieClip 4838 unit_particca { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4862 { } movieClip 4865 { frame 1 { stop(); } } movieClip 4868 { frame 1 { stop(); } } movieClip 4871 { frame 1 { stop(); } } movieClip 4874 { frame 1 { stop(); } } movieClip 4877 { frame 1 { stop(); } } movieClip 4878 { } movieClip 4879 unit_missilebike { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4893 { } movieClip 4896 { frame 1 { stop(); } } movieClip 4899 { frame 1 { stop(); } } movieClip 4902 { frame 1 { stop(); } } movieClip 4905 { frame 1 { stop(); } } movieClip 4908 { frame 1 { stop(); } } movieClip 4909 { } movieClip 4910 unit_smcfire { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4924 { } movieClip 4928 { frame 1 { stop(); } } movieClip 4931 { frame 1 { stop(); } } movieClip 4934 { frame 1 { stop(); } } movieClip 4937 { frame 1 { stop(); } } movieClip 4940 { frame 1 { stop(); } } movieClip 4941 { } movieClip 4942 unit_invistotank { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4945 { } movieClip 4950 { frame 1 { stop(); } } movieClip 4954 { frame 1 { stop(); } } movieClip 4957 { frame 1 { stop(); } } movieClip 4961 { frame 1 { stop(); } } movieClip 4964 { frame 1 { stop(); } } movieClip 4965 { } movieClip 4966 unit_askeara { frame 1 { stop(); } frame 2 { stop(); } } movieClip 4981 { } movieClip 5001 { frame 1 { stop(); } } movieClip 5020 { frame 1 { stop(); } } movieClip 5039 { frame 1 { stop(); } } movieClip 5058 { frame 1 { stop(); } } movieClip 5077 { frame 1 { stop(); } } movieClip 5078 { } movieClip 5079 unit_smcsatellite { frame 1 { stop(); } frame 2 { stop(); } } movieClip 5082 { } movieClip 5085 { frame 1 { stop(); } } movieClip 5088 { frame 1 { stop(); } } movieClip 5091 { frame 1 { stop(); } } movieClip 5094 { frame 1 { stop(); } } movieClip 5097 { frame 1 { stop(); } } movieClip 5098 { } movieClip 5099 unit_tiusanin { frame 1 { stop(); } frame 2 { stop(); } } movieClip 5144 { frame 1 { stop(); } frame 10 { stop(); } frame 20 { stop(); } frame 31 { stop(); } frame 40 { stop(); } } movieClip 5189 { frame 1 { stop(); } frame 11 { stop(); } frame 21 { stop(); } frame 30 { stop(); } frame 38 { stop(); } } movieClip 5234 { frame 1 { stop(); } frame 12 { stop(); } frame 22 { stop(); } frame 31 { stop(); } frame 39 { stop(); } } movieClip 5279 { frame 1 { stop(); } frame 10 { stop(); } frame 19 { stop(); } frame 28 { stop(); } frame 37 { stop(); } } movieClip 5324 { frame 1 { stop(); } frame 10 { stop(); } frame 20 { stop(); } frame 29 { stop(); } frame 37 { stop(); } } movieClip 5325 { } movieClip 5329 { frame 1 { stop(); } } movieClip 5333 { frame 1 { stop(); } } movieClip 5337 { frame 1 { stop(); } } movieClip 5341 { frame 1 { stop(); } } movieClip 5345 { frame 1 { stop(); } } movieClip 5346 { } movieClip 5347 unit_qwalker { frame 1 { stop(); } frame 2 { stop(); } } movieClip 5386 { frame 1 { stop(); } frame 10 { stop(); } frame 20 { stop(); } frame 31 { stop(); } frame 40 { stop(); } } movieClip 5425 { frame 1 { stop(); } frame 11 { stop(); } frame 21 { stop(); } frame 30 { stop(); } frame 38 { stop(); } } movieClip 5464 { frame 1 { stop(); } frame 12 { stop(); } frame 22 { stop(); } frame 31 { stop(); } frame 39 { stop(); } } movieClip 5503 { frame 1 { stop(); } frame 10 { stop(); } frame 19 { stop(); } frame 28 { stop(); } frame 37 { stop(); } } movieClip 5542 { frame 1 { stop(); } frame 10 { stop(); } frame 20 { stop(); } frame 29 { stop(); } frame 37 { stop(); } } movieClip 5543 { } movieClip 5546 { frame 1 { stop(); } } movieClip 5549 { frame 1 { stop(); } } movieClip 5552 { frame 1 { stop(); } } movieClip 5555 { frame 1 { stop(); } } movieClip 5558 { frame 1 { stop(); } } movieClip 5559 { } movieClip 5560 unit_geneson { frame 1 { stop(); } frame 2 { stop(); } } movieClip 5574 { } movieClip 5586 { } movieClip 5616 { frame 1 { stop(); } } movieClip 5658 { frame 1 { stop(); } } movieClip 5714 { frame 1 { stop(); } } movieClip 5779 { frame 1 { stop(); } } movieClip 5840 { frame 1 { stop(); } } movieClip 5841 { } movieClip 5842 unit_sbm { frame 1 { stop(); } frame 2 { stop(); } } movieClip 5844 w_yellowlaser { } movieClip 5846 w_photonlaser { } movieClip 5848 w_laserbomb { } movieClip 5854 damager_lightslash { frame 1 { _rotation = random(360); } frame 9 { this.unloadMovie(); removeMovieClip(this); } } button 5862 { on (release) { this.unloadMovie(); } } movieClip 5865 { } movieClip 5867 { frame 1 { _yscale = _xscale; } frame 2 { stop(); } instance sliding of movieClip 5865 { onClipEvent (load) { clickod = 0; movepointer = 0; _x = int((_parent._parent._currentframe / _parent._parent._totalframes) * 300); } onClipEvent (enterFrame) { if (movepointer) { _x = _parent._xmouse - 8; _parent._parent.gotoAndStop(int((_x / 300) * _parent._parent._totalframes)); } else { _x = int((_parent._parent._currentframe / _parent._parent._totalframes) * 300); } if (_x >= 0) { } else { _x = 0; } null; if (_x <= 300) { } else { _x = 300; } null; } onClipEvent (press) { clickod = 1; _parent._parent.stop(); movepointer = 1; } onClipEvent (mouseUp) { if (clickod) { _parent._parent.play(); movepointer = 0; } clickod = 0; } } } movieClip 5872 { } button 5896 { on (release) { gotoAndPlay(1); } } movieClip 5897 tutmovie_basics { frame 1 { this.onUnload = function () { stopAllSounds(); }; } instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 1450 { stop(); } } movieClip 5912 { } movieClip 5917 { } movieClip 5921 { } button 5932 { on (release) { gotoAndPlay(1); } } movieClip 5933 tutmovie_buildings { frame 1 { this.onUnload = function () { stopAllSounds(); }; } instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 2269 { stop(); } } movieClip 5939 { } movieClip 5948 { } movieClip 5952 { } movieClip 5959 { } movieClip 5965 { } movieClip 5971 { } movieClip 5977 { } button 5983 { on (release) { gotoAndPlay(1); } } movieClip 5984 tutmovie_units { frame 1 { this.onUnload = function () { stopAllSounds(); }; } instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 4949 { stop(); } } movieClip 5996 keymapping { } movieClip 6002 { } movieClip 6004 { } button 6005 { on (release) { gotoAndPlay(1); } } movieClip 6006 creditsmovie { frame 1 { this.onUnload = function () { stopAllSounds(); }; } instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 121 { } frame 1656 { stop(); } } frame 58 { var buildthud = new Sound(); buildthud.attachSound('buildthud'); } movieClip 6036 { frame 1 { this.swapDepths(99650); this.onEnterFrame = function () { Mouse.hide(); _x = _root._xmouse; _y = _root._ymouse; }; } } movieClip 6038 { frame 1 { this.swapDepths(99649); } } frame 60 { stop(); } // unknown tag 88 length 99 movieClip 6086 { frame 90 { gotoAndPlay(6); } } movieClip 6089 { } movieClip 6091 { } movieClip 6109 { frame 1 { if (ena) { this.onEnterFrame = function () { if (this.lousytop.hitTest(_root._xmouse, _root._ymouse, false)) { _parent.tooltip = tooltipper; play(); } }; this.onRollOver = function () { _parent.tooltipblinker.gotoAndPlay(1); }; this.onRelease = function () { _parent.labeller = labeller; _parent.play(); }; } stop(); } } movieClip 6110 { frame 36 { stop(); } } // unknown tag 88 length 99 // unknown tag 88 length 78 movieClip 6126 { frame 1 { labeller = ''; } frame 34 { tooltip = 'War & Beyond : \nDeadly Strategies\n - The battle for total control begins...'; } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'tutorialmenu'; tooltipper = 'Learn how to play War & Beyond : Deadly Strategies. Important for first-timers.'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'storymenu'; tooltipper = 'Brace yourself as you enter the warfields of War & Beyond...'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'replayintromenu'; tooltipper = 'Watch the War & Beyond : Deadly Strategies intro movie again.'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'wbaicmenu'; tooltipper = 'War & Beyond AI Code [WBAIC] Edit - Create and edit your own WBAIC and use it to AI Battle against other commanders.'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'skirmishmenu'; tooltipper = 'Setup a 1-on-1 quick battlefield.'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'creditsmenu'; tooltipper = 'Behold the military personnel and civillians involved in the creation of War & Beyond : Deadly Strategies.'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'conquerormenu'; tooltipper = 'Win battle by battle until you conquer the entire nation.'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'aibattlemenu'; tooltipper = 'With a WBAIC, you can setup automatic AI Battles! You can use your WBAIC to battle against another human commander\'s WBAIC.'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'websitemenu'; tooltipper = 'Official website to get latest updates, interact with other Commanders, share your WBAIC, get in-depth help and info, and download the game to play offline.'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'armorgamesmenu'; tooltipper = 'More games at Armor Games.'; } } frame 98 { stop(); } frame 148 { _root.gotoAndStop(labeller); } } movieClip 6132 { frame 1 { if (!_root.firsttimeplay) { _visible = false; } } frame 2 { _root.firsttimeplay = 0; } frame 185 { stop(); } } movieClip 6136 { } movieClip 6137 { frame 186 { gotoAndPlay(96); } } movieClip 6141 { } movieClip 6143 { frame 1 { stopAllSounds(); if (_root.menumusic == 'off') { this.gotoAndPlay('off'); } this.onRelease = function () { if (_root.menumusic == 'off') { _root.menumusic = 'on'; } else { _root.menumusic = 'off'; } this.gotoAndStop(_root.menumusic); }; this.onUnload = function () { stopAllSounds(); }; } frame 2 { stop(); } instance of movieClip 6141 { onClipEvent (enterFrame) { _xscale = _xscale + random(50) - 25; if (_xscale <= 100) { } else { _xscale = 100; } null; if (_xscale >= 50) { } else { _xscale = 50; } null; } } frame 3 { stopAllSounds(); stop(); } } frame 61 { stop(); } frame 62 { stop(); } frame 63 { stop(); } button 6162 { on (release) { ++_root[thevar]; } } button 6163 { on (release) { --_root[thevar]; } } movieClip 6165 { frame 1 { this.onEnterFrame = function () { if (_root[thevar] > max) { _root[thevar] = max; } if (_root[thevar] < min) { _root[thevar] = min; } varra = _root[thevar]; }; } frame 2 { stop(); } } movieClip 6171 { frame 1 { labeller = ''; _root.wbaic_input1 = ''; _root.commandername0 = 'Commander'; } frame 34 { tooltip = 'War & Beyond : \nDeadly Strategies\n - The battle for total control begins...'; tooltip2 = ''; } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'startskirmish'; tooltipper = 'Start Game'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'startskirmish'; tooltipper = 'Start Game'; } } frame 98 { stop(); } instance playercombobox of movieClip 156 ComboBox { onClipEvent (construct) { editable = false; rowCount = 5; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { this.backgroundColor = 0; this.headerColor = 0; this.color = 15658734; addItem({'data': 'bng', 'label': 'BNG'}); addItem({'data': 'mf', 'label': 'Mayazorian Force'}); addItem({'data': 'jac', 'label': 'JAC Raiders'}); addItem({'data': 'smc', 'label': 'Southern Marz'}); } } instance enemycolorbox of movieClip 156 ComboBox { onClipEvent (construct) { editable = false; rowCount = 5; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { this.backgroundColor = 0; this.headerColor = 0; this.color = 15658734; addItem({'data': 'p', 'label': 'Red'}); addItem({'data': 'f', 'label': 'Green'}); addItem({'data': 'l', 'label': 'Blue'}); addItem({'data': 't', 'label': 'Yellow'}); addItem({'data': 'n', 'label': 'Pink'}); addItem({'data': 'a', 'label': 'Black'}); addItem({'data': 'v', 'label': 'White'}); } } instance playercolorbox of movieClip 156 ComboBox { onClipEvent (construct) { editable = false; rowCount = 5; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { this.backgroundColor = 0; this.headerColor = 0; this.color = 15658734; addItem({'data': 'v', 'label': 'White'}); addItem({'data': 'p', 'label': 'Red'}); addItem({'data': 'f', 'label': 'Green'}); addItem({'data': 'l', 'label': 'Blue'}); addItem({'data': 't', 'label': 'Yellow'}); addItem({'data': 'n', 'label': 'Pink'}); addItem({'data': 'a', 'label': 'Black'}); } } instance of movieClip 6165 { onClipEvent (load) { max = 9; min = 1; thevar = 'ailevel_s'; } } instance of movieClip 6165 { onClipEvent (load) { max = 5; min = 0; thevar = 'techlevel_s'; } } instance of movieClip 6165 { onClipEvent (load) { max = 1; min = 0; thevar = 'skirmish_researchready'; } } frame 99 { if (labeller == 'startskirmish') { hhhh = _root.wbaic_input1; if (_root.wbaic_input1 != '') { while (hhhh.indexOf('\r') != -1) { hhhh2 = hhhh.slice(0, hhhh.indexOf('\r')); hhhh3 = hhhh.slice(hhhh.indexOf('\r') + 1, hhhh.length); hhhh = hhhh2.concat('', hhhh3); } } _root.wbaic_input1 = hhhh; thes = _root.wbaic_input1.substr(0, _root.wbaic_input1.indexOf('~c~')); if (thes.length == 229 || _root.wbaic_input1 == '') { } else { tooltipblinker.gotoAndPlay(1); tooltip2 = 'Invalid WBAIC. Check to make sure you got the correct code. Delete and leave the WBAIC blank to fight random AI.'; tooltip.gotoAndPlay(1); gotoAndStop(_currentframe - 1); } _root.startinghouse0 = playercombobox.selectedItem.data; _root.startingcolor0 = playercolorbox.selectedItem.data; _root.startingcolor1 = enemycolorbox.selectedItem.data; } } instance of movieClip 6109 { onClipEvent (load) { ena = 0; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 0; labeller = 'startskirmish'; tooltipper = 'Start Game'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'startskirmish'; tooltipper = 'Start Game'; } } frame 149 { _root.gotoAndStop(labeller); } } movieClip 6175 { } movieClip 6176 { frame 7 { stop(); } } frame 64 { stop(); } movieClip 6189 { frame 1 { labeller = ''; _root.wbaic_input1 = ''; _root.wbaic_input0 = ''; _root.aibattlegametype = 0; } frame 34 { tooltip = 'War & Beyond : \nDeadly Strategies\n - The battle for total control begins...'; tooltip2 = ''; } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'startskirmish'; tooltipper = 'Start Game'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'startaibattle'; tooltipper = 'Start Game'; } } frame 98 { stop(); } instance enemycolorbox of movieClip 156 ComboBox { onClipEvent (construct) { editable = false; rowCount = 5; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { this.backgroundColor = 0; this.headerColor = 0; this.color = 15658734; addItem({'data': 'p', 'label': 'Red'}); addItem({'data': 'f', 'label': 'Green'}); addItem({'data': 'l', 'label': 'Blue'}); addItem({'data': 't', 'label': 'Yellow'}); addItem({'data': 'n', 'label': 'Pink'}); addItem({'data': 'a', 'label': 'Black'}); addItem({'data': 'v', 'label': 'White'}); } } instance playercolorbox of movieClip 156 ComboBox { onClipEvent (construct) { editable = false; rowCount = 5; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { this.backgroundColor = 0; this.headerColor = 0; this.color = 15658734; addItem({'data': 'v', 'label': 'White'}); addItem({'data': 'p', 'label': 'Red'}); addItem({'data': 'f', 'label': 'Green'}); addItem({'data': 'l', 'label': 'Blue'}); addItem({'data': 't', 'label': 'Yellow'}); addItem({'data': 'n', 'label': 'Pink'}); addItem({'data': 'a', 'label': 'Black'}); } } instance of movieClip 6165 { onClipEvent (load) { max = 9; min = 1; thevar = 'ailevel_s'; } } instance of movieClip 6165 { onClipEvent (load) { max = 5; min = 0; thevar = 'techlevel_s'; } } instance of movieClip 6165 { onClipEvent (load) { max = 1; min = 0; thevar = 'skirmish_researchready'; } } instance gametypebox of movieClip 156 ComboBox { onClipEvent (construct) { editable = false; rowCount = 5; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { this.backgroundColor = 0; this.headerColor = 0; this.color = 15658734; addItem({'data': 0, 'label': '6 on 6'}); addItem({'data': 1, 'label': '12 on 12'}); addItem({'data': 2, 'label': '24 on 24'}); addItem({'data': 3, 'label': 'HQ Destruction (Long Full Game)'}); addItem({'data': 4, 'label': 'Wipeout Game (Long Game)'}); } } frame 99 { if (labeller == 'startaibattle') { hhhh = _root.wbaic_input0; if (_root.wbaic_input0 != '') { while (hhhh.indexOf('\r') != -1) { hhhh2 = hhhh.slice(0, hhhh.indexOf('\r')); hhhh3 = hhhh.slice(hhhh.indexOf('\r') + 1, hhhh.length); hhhh = hhhh2.concat('', hhhh3); } } _root.wbaic_input0 = hhhh; hhhh = _root.wbaic_input1; if (_root.wbaic_input1 != '') { while (hhhh.indexOf('\r') != -1) { hhhh2 = hhhh.slice(0, hhhh.indexOf('\r')); hhhh3 = hhhh.slice(hhhh.indexOf('\r') + 1, hhhh.length); hhhh = hhhh2.concat('', hhhh3); } } _root.wbaic_input1 = hhhh; firstisok = 0; thes = _root.wbaic_input0.substr(0, _root.wbaic_input0.indexOf('~c~')); if (thes.length == 229) { firstisok = 1; } else { tooltipblinker.gotoAndPlay(1); tooltip2 = 'Invalid WBAIC for left player. Check to make sure you copied and pasted the correct code in the left player WBAIC.'; tooltip.gotoAndPlay(1); gotoAndStop(_currentframe - 1); } if (firstisok) { thes = _root.wbaic_input1.substr(0, _root.wbaic_input1.indexOf('~c~')); if (thes.length == 229) { } else { tooltipblinker.gotoAndPlay(1); tooltip2 = 'Invalid WBAIC for right player. Check to make sure you copied and pasted the correct code in the right player WBAIC.'; tooltip.gotoAndPlay(1); gotoAndStop(_currentframe - 1); } } _root.startingcolor0 = playercolorbox.selectedItem.data; _root.startingcolor1 = enemycolorbox.selectedItem.data; _root.aibattlegametype = gametypebox.selectedItem.data; } } instance of movieClip 6109 { onClipEvent (load) { ena = 0; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 0; labeller = 'startskirmish'; tooltipper = 'Start Game'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'startskirmish'; tooltipper = 'Start Game'; } } frame 149 { _root.gotoAndStop(labeller); } } frame 65 { stop(); } button 6194 { on (release) { gotoAndStop('choosehouse'); } } button 6195 { on (release) { gotoAndStop('edit'); } } button 6196 { on (release) { gotoAndStop('load'); } } button 6198 { on (release) { _root.gotoAndStop('mainmenu'); } } button 6201 { on (release) { gotoAndPlay('start'); } } button 6203 { on (release) { hhhh = wbaic_input; if (wbaic_input != '') { while (hhhh.indexOf('\r') != -1) { hhhh2 = hhhh.slice(0, hhhh.indexOf('\r')); hhhh3 = hhhh.slice(hhhh.indexOf('\r') + 1, hhhh.length); hhhh = hhhh2.concat('', hhhh3); } } wbaic_input = hhhh; thes = wbaic_input.substr(0, wbaic_input.indexOf('~c~')); if (thes.length == 229) { gotoAndPlay('processing'); } else { codeerror.gotoAndPlay(2); } } } movieClip 6213 { frame 1 { stop(); } } movieClip 6220 { frame 1 { savefile = SharedObject.getLocal(slotnum); if (savefile.data.wbaic == undefined) { disp = 'Empty Slot'; if (funk == 'save') { this.onRelease = function () { savefile.data.wbaic = _parent.wbaic; savefile.flush(65000); disp = savefile.data.wbaic.substr(232, savefile.data.wbaic.length); play(); }; } } else { disp = savefile.data.wbaic.substr(232, savefile.data.wbaic.length); if (funk == 'load') { this.onRelease = function () { _parent.wbaic_input = savefile.data.wbaic; _parent.gotoAndStop('processing'); }; } else { this.onRelease = function () { savefile.data.wbaic = _parent.wbaic; savefile.flush(65000); disp = savefile.data.wbaic.substr(232, savefile.data.wbaic.length); play(); }; } } stop(); } } button 6222 { on (press) { getURL('http://warandbeyond.tamugaia.com/?what=wbds-guidewbaic', '_blank'); } } movieClip 6239 { frame 1 { stop(); } frame 6 { stop(); } } button 6247 { on (release) { ai_house = 3; _root.startinghouse0 = 'smc'; gotoAndStop('aisettingssmc'); } on (rollOver) { holder4.gotoAndPlay(2); } on (rollOut) { holder4.gotoAndPlay(7); } } button 6248 { on (release) { ai_house = 2; _root.startinghouse0 = 'jac'; gotoAndStop('aisettingsjac'); } on (rollOver) { holder3.gotoAndPlay(2); } on (rollOut) { holder3.gotoAndPlay(7); } } button 6249 { on (release) { ai_house = 1; _root.startinghouse0 = 'mf'; gotoAndStop('aisettingsmf'); } on (rollOver) { holder2.gotoAndPlay(2); } on (rollOut) { holder2.gotoAndPlay(7); } } button 6250 { on (release) { ai_house = 0; _root.startinghouse0 = 'bng'; gotoAndStop('aisettingsbng'); } on (rollOver) { holder1.gotoAndPlay(2); } on (rollOut) { holder1.gotoAndPlay(7); } } movieClip 6253 { } movieClip 6256 { } movieClip 6259 { } movieClip 6262 { } button 6267 { on (release) { prevFrame(); } } button 6268 { on (release) { nextFrame(); } } movieClip 6279 { frame 1 { gotoAndStop(_root.startinghouse0); } } movieClip 6283 { } movieClip 6296 { } movieClip 6298 { } movieClip 6300 { frame 1 { this.onEnterFrame = function () { prob = _parent.ai_units[unitnumber][ainumber]; bar._xscale = _parent.ai_units[unitnumber][ainumber]; }; this.onMouseDown = function () { if (bg.hitTest(_root._xmouse, _root._ymouse, true)) { _parent.ai_units[unitnumber][ainumber] = int((_xmouse / _width) * 110); if (_parent.ai_units[unitnumber][ainumber] < 0) { _parent.ai_units[unitnumber][ainumber] = 0; } else { if (_parent.ai_units[unitnumber][ainumber] > 99) { _parent.ai_units[unitnumber][ainumber] = 99; } } } }; } } movieClip 6305 { } movieClip 6316 { } movieClip 6322 { } button 6400 { on (release) { whattodo = 0; } } button 6401 { on (release) { whattodo = 1; } } button 6402 { on (release) { whattodo = 2; } } button 6403 { on (release) { whattodo = 3; } } button 6404 { on (release) { whattodo = 4; } } button 6405 { on (release) { whattodo = 5; } } button 6406 { on (release) { whattodo = 6; } } button 6407 { on (release) { whattodo = 7; } } button 6408 { on (release) { whattodo = 8; } } movieClip 6414 { frame 1 { whattodo = _parent.ai_situations[evalu][situation]; this.onEnterFrame = function () { _parent.ai_situations[evalu][situation] = whattodo; this.gotoAndStop(whattodo + 2); }; } } button 6449 { on (release) { ++_parent[thevar][thenum]; } } button 6450 { on (release) { --_parent[thevar][thenum]; } } movieClip 6453 { frame 1 { this.onEnterFrame = function () { if (_parent[thevar][thenum] > max) { _parent[thevar][thenum] = max; } if (_parent[thevar][thenum] < min) { _parent[thevar][thenum] = min; } varra = _parent[thevar][thenum]; this.gotoAndStop(varra + 2); }; } frame 2 { stop(); } } button 6458 { on (release) { ++_parent[thevar]; } } button 6459 { on (release) { --_parent[thevar]; } } movieClip 6461 { frame 1 { this.onEnterFrame = function () { if (_parent[thevar] > max) { _parent[thevar] = max; } if (_parent[thevar] < min) { _parent[thevar] = min; } varra = _parent[thevar]; }; } frame 2 { stop(); } } button 6472 { on (release) { if (ai_allocation_b > 0) { --ai_allocation_b; ++ai_allocation_u; } } } button 6473 { on (release) { if (ai_allocation_u > 0) { --ai_allocation_u; ++ai_allocation_b; } } } button 6478 { on (release) { while (input_commander.text.indexOf(' ') != -1) { input_commander.replaceText(input_commander.text.indexOf(' '), input_commander.text.indexOf(' ') + 1, '_'); commandername = input_commander.text; } prevFrame(); } } button 6479 { on (release) { while (input_commander.text.indexOf(' ') != -1) { input_commander.replaceText(input_commander.text.indexOf(' '), input_commander.text.indexOf(' ') + 1, '_'); commandername = input_commander.text; } nextFrame(); } } movieClip 6500 { } movieClip 6504 { } movieClip 6511 { } movieClip 6515 { } movieClip 6522 { } movieClip 6533 { } movieClip 6536 { } movieClip 6542 { } movieClip 6552 { } movieClip 6557 { } movieClip 6599 { } movieClip 6603 { } movieClip 6609 { } movieClip 6613 { } movieClip 6694 { } movieClip 6698 { } movieClip 6700 { } movieClip 6707 { } movieClip 6748 { } movieClip 6749 { } movieClip 6788 { frame 1 { wbaic_input = ''; custom1name = 'C1'; custom2name = 'C2'; custom3name = 'C3'; ai_house = 0; ai_units = new Array(); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_units.push([50, 50, 50, 50, 50, 50]); ai_situations = new Array(); ai_situations.push([2, 1, 1, 1, 2, 3, 3, 4, 2]); ai_situations.push([1, 2, 3, 3]); ai_situations.push([4, 3, 3, 1]); ai_situations.push([1, 1, 2, 3]); ai_situations.push([4, 4, 3, 2]); ai_situations.push([1, 3, 3]); ai_situations.push([3, 3, 2]); ai_evalfavoring = [1, 0, 0, 0, 0, 0, 0]; ai_frequency = 20; ai_aggression = 50; ai_allocation_b = 49; ai_allocation_u = 50; ai_bfa = 0; commandername = 'Commander'; play(); } frame 7 { stop(); } instance of movieClip 6220 { onClipEvent (load) { funk = 'load'; slotnum = 'slot1'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'load'; slotnum = 'slot2'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'load'; slotnum = 'slot3'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'load'; slotnum = 'slot4'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'load'; slotnum = 'slot5'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'load'; slotnum = 'slot6'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'load'; slotnum = 'slot7'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'load'; slotnum = 'slot8'; } } frame 10 { ai_house = int(wbaic_input.substr(0, 1)); _root.startinghouse0 = _root.ai_houses[ai_house]; ai_units = new Array(); ai_units.push([int(wbaic_input.substr(1, 2)), int(wbaic_input.substr(3, 2)), int(wbaic_input.substr(5, 2)), int(wbaic_input.substr(7, 2)), int(wbaic_input.substr(9, 2)), int(wbaic_input.substr(11, 2))]); ai_units.push([int(wbaic_input.substr(13, 2)), int(wbaic_input.substr(15, 2)), int(wbaic_input.substr(17, 2)), int(wbaic_input.substr(19, 2)), int(wbaic_input.substr(21, 2)), int(wbaic_input.substr(23, 2))]); ai_units.push([int(wbaic_input.substr(25, 2)), int(wbaic_input.substr(27, 2)), int(wbaic_input.substr(29, 2)), int(wbaic_input.substr(31, 2)), int(wbaic_input.substr(33, 2)), int(wbaic_input.substr(35, 2))]); ai_units.push([int(wbaic_input.substr(37, 2)), int(wbaic_input.substr(39, 2)), int(wbaic_input.substr(41, 2)), int(wbaic_input.substr(43, 2)), int(wbaic_input.substr(45, 2)), int(wbaic_input.substr(47, 2))]); ai_units.push([int(wbaic_input.substr(49, 2)), int(wbaic_input.substr(51, 2)), int(wbaic_input.substr(53, 2)), int(wbaic_input.substr(55, 2)), int(wbaic_input.substr(57, 2)), int(wbaic_input.substr(59, 2))]); ai_units.push([int(wbaic_input.substr(61, 2)), int(wbaic_input.substr(63, 2)), int(wbaic_input.substr(65, 2)), int(wbaic_input.substr(67, 2)), int(wbaic_input.substr(69, 2)), int(wbaic_input.substr(71, 2))]); ai_units.push([int(wbaic_input.substr(73, 2)), int(wbaic_input.substr(75, 2)), int(wbaic_input.substr(77, 2)), int(wbaic_input.substr(79, 2)), int(wbaic_input.substr(81, 2)), int(wbaic_input.substr(83, 2))]); ai_units.push([int(wbaic_input.substr(85, 2)), int(wbaic_input.substr(87, 2)), int(wbaic_input.substr(89, 2)), int(wbaic_input.substr(91, 2)), int(wbaic_input.substr(93, 2)), int(wbaic_input.substr(95, 2))]); ai_units.push([int(wbaic_input.substr(97, 2)), int(wbaic_input.substr(99, 2)), int(wbaic_input.substr(101, 2)), int(wbaic_input.substr(103, 2)), int(wbaic_input.substr(105, 2)), int(wbaic_input.substr(107, 2))]); ai_units.push([int(wbaic_input.substr(109, 2)), int(wbaic_input.substr(111, 2)), int(wbaic_input.substr(113, 2)), int(wbaic_input.substr(115, 2)), int(wbaic_input.substr(117, 2)), int(wbaic_input.substr(119, 2))]); ai_units.push([int(wbaic_input.substr(121, 2)), int(wbaic_input.substr(123, 2)), int(wbaic_input.substr(125, 2)), int(wbaic_input.substr(127, 2)), int(wbaic_input.substr(129, 2)), int(wbaic_input.substr(131, 2))]); ai_units.push([int(wbaic_input.substr(133, 2)), int(wbaic_input.substr(135, 2)), int(wbaic_input.substr(137, 2)), int(wbaic_input.substr(139, 2)), int(wbaic_input.substr(141, 2)), int(wbaic_input.substr(143, 2))]); ai_units.push([int(wbaic_input.substr(145, 2)), int(wbaic_input.substr(147, 2)), int(wbaic_input.substr(149, 2)), int(wbaic_input.substr(151, 2)), int(wbaic_input.substr(153, 2)), int(wbaic_input.substr(155, 2))]); ai_units.push([int(wbaic_input.substr(157, 2)), int(wbaic_input.substr(159, 2)), int(wbaic_input.substr(161, 2)), int(wbaic_input.substr(163, 2)), int(wbaic_input.substr(165, 2)), int(wbaic_input.substr(167, 2))]); ai_units.push([int(wbaic_input.substr(169, 2)), int(wbaic_input.substr(171, 2)), int(wbaic_input.substr(173, 2)), int(wbaic_input.substr(175, 2)), int(wbaic_input.substr(177, 2)), int(wbaic_input.substr(179, 2))]); ai_situations = new Array(); ai_situations.push([int(wbaic_input.substr(181, 1)), int(wbaic_input.substr(182, 1)), int(wbaic_input.substr(183, 1)), int(wbaic_input.substr(184, 1)), int(wbaic_input.substr(185, 1)), int(wbaic_input.substr(186, 1)), int(wbaic_input.substr(187, 1)), int(wbaic_input.substr(188, 1)), int(wbaic_input.substr(189, 1))]); ai_situations.push([int(wbaic_input.substr(190, 1)), int(wbaic_input.substr(191, 1)), int(wbaic_input.substr(192, 1)), int(wbaic_input.substr(193, 1))]); ai_situations.push([int(wbaic_input.substr(194, 1)), int(wbaic_input.substr(195, 1)), int(wbaic_input.substr(196, 1)), int(wbaic_input.substr(197, 1))]); ai_situations.push([int(wbaic_input.substr(198, 1)), int(wbaic_input.substr(199, 1)), int(wbaic_input.substr(200, 1)), int(wbaic_input.substr(201, 1))]); ai_situations.push([int(wbaic_input.substr(202, 1)), int(wbaic_input.substr(203, 1)), int(wbaic_input.substr(204, 1)), int(wbaic_input.substr(205, 1))]); ai_situations.push([int(wbaic_input.substr(206, 1)), int(wbaic_input.substr(207, 1)), int(wbaic_input.substr(208, 1))]); ai_situations.push([int(wbaic_input.substr(209, 1)), int(wbaic_input.substr(210, 1)), int(wbaic_input.substr(211, 1))]); ai_evalfavoring = [int(wbaic_input.substr(212, 1)), int(wbaic_input.substr(213, 1)), int(wbaic_input.substr(214, 1)), int(wbaic_input.substr(215, 1)), int(wbaic_input.substr(216, 1)), int(wbaic_input.substr(217, 1)), int(wbaic_input.substr(218, 1))]; ai_frequency = int(wbaic_input.substr(219, 2)); ai_aggression = int(wbaic_input.substr(221, 2)); ai_allocation_b = int(wbaic_input.substr(223, 2)); ai_allocation_u = int(wbaic_input.substr(225, 2)); ai_bfa = int(wbaic_input.substr(227, 1)); ai_usecode = int(wbaic_input.substr(228, 1)); commandername = wbaic_input.substr(232, wbaic_input.length); ai_houses = ['bng', 'mf', 'jac', 'smc']; gotoAndStop('aisettings' + ai_houses[ai_house]); } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 5; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 4; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 5; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 6; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 7; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 8; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 2; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 0; min = 1; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 1; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 2; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 3; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 4; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 5; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 6; min = 0; max = 9; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_frequency'; min = 10; max = 60; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_aggression'; min = 0; max = 99; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_bfa'; min = 0; max = 2; } } frame 44 { wbaic = ''; wbaic += ai_house; f = 0; while (f <= 14) { g = 0; while (g <= 5) { if (ai_units[f][g] < 10) { wbaic += '0'; wbaic += ai_units[f][g]; } else { wbaic += ai_units[f][g]; } ++g; } ++f; } wbaic += ai_situations[0][0]; wbaic += ai_situations[0][1]; wbaic += ai_situations[0][2]; wbaic += ai_situations[0][3]; wbaic += ai_situations[0][4]; wbaic += ai_situations[0][5]; wbaic += ai_situations[0][6]; wbaic += ai_situations[0][7]; wbaic += ai_situations[0][8]; wbaic += ai_situations[1][0]; wbaic += ai_situations[1][1]; wbaic += ai_situations[1][2]; wbaic += ai_situations[1][3]; wbaic += ai_situations[2][0]; wbaic += ai_situations[2][1]; wbaic += ai_situations[2][2]; wbaic += ai_situations[2][3]; wbaic += ai_situations[3][0]; wbaic += ai_situations[3][1]; wbaic += ai_situations[3][2]; wbaic += ai_situations[3][3]; wbaic += ai_situations[4][0]; wbaic += ai_situations[4][1]; wbaic += ai_situations[4][2]; wbaic += ai_situations[4][3]; wbaic += ai_situations[5][0]; wbaic += ai_situations[5][1]; wbaic += ai_situations[5][2]; wbaic += ai_situations[6][0]; wbaic += ai_situations[6][1]; wbaic += ai_situations[6][2]; wbaic += ai_evalfavoring[0]; wbaic += ai_evalfavoring[1]; wbaic += ai_evalfavoring[2]; wbaic += ai_evalfavoring[3]; wbaic += ai_evalfavoring[4]; wbaic += ai_evalfavoring[5]; wbaic += ai_evalfavoring[6]; if (ai_frequency < 10) { ai_frequency += '0'; } wbaic += ai_frequency; if (ai_aggression < 10) { ai_aggression += '0'; } wbaic += ai_aggression; if (ai_allocation_b < 10) { ai_allocation_b += '0'; } wbaic += ai_allocation_b; if (ai_allocation_u < 10) { ai_allocation_u += '0'; } wbaic += ai_allocation_u; wbaic += ai_bfa; wbaic += 1; wbaic += '~c~' + commandername; } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot1'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot2'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot3'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot4'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot5'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot6'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot7'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot8'; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 5; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 4; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 5; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 6; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 7; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 8; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 2; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 0; min = 1; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 1; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 2; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 3; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 4; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 5; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 6; min = 0; max = 9; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_frequency'; min = 10; max = 60; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_aggression'; min = 0; max = 99; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_bfa'; min = 0; max = 2; } } frame 77 { wbaic = ''; wbaic += ai_house; f = 0; while (f <= 14) { g = 0; while (g <= 5) { if (ai_units[f][g] < 10) { wbaic += '0'; wbaic += ai_units[f][g]; } else { wbaic += ai_units[f][g]; } ++g; } ++f; } wbaic += ai_situations[0][0]; wbaic += ai_situations[0][1]; wbaic += ai_situations[0][2]; wbaic += ai_situations[0][3]; wbaic += ai_situations[0][4]; wbaic += ai_situations[0][5]; wbaic += ai_situations[0][6]; wbaic += ai_situations[0][7]; wbaic += ai_situations[0][8]; wbaic += ai_situations[1][0]; wbaic += ai_situations[1][1]; wbaic += ai_situations[1][2]; wbaic += ai_situations[1][3]; wbaic += ai_situations[2][0]; wbaic += ai_situations[2][1]; wbaic += ai_situations[2][2]; wbaic += ai_situations[2][3]; wbaic += ai_situations[3][0]; wbaic += ai_situations[3][1]; wbaic += ai_situations[3][2]; wbaic += ai_situations[3][3]; wbaic += ai_situations[4][0]; wbaic += ai_situations[4][1]; wbaic += ai_situations[4][2]; wbaic += ai_situations[4][3]; wbaic += ai_situations[5][0]; wbaic += ai_situations[5][1]; wbaic += ai_situations[5][2]; wbaic += ai_situations[6][0]; wbaic += ai_situations[6][1]; wbaic += ai_situations[6][2]; wbaic += ai_evalfavoring[0]; wbaic += ai_evalfavoring[1]; wbaic += ai_evalfavoring[2]; wbaic += ai_evalfavoring[3]; wbaic += ai_evalfavoring[4]; wbaic += ai_evalfavoring[5]; wbaic += ai_evalfavoring[6]; if (ai_frequency < 10) { ai_frequency += '0'; } wbaic += ai_frequency; if (ai_aggression < 10) { ai_aggression += '0'; } wbaic += ai_aggression; if (ai_allocation_b < 10) { ai_allocation_b += '0'; } wbaic += ai_allocation_b; if (ai_allocation_u < 10) { ai_allocation_u += '0'; } wbaic += ai_allocation_u; wbaic += ai_bfa; wbaic += 1; wbaic += '~c~' + commandername; } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot1'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot2'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot3'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot4'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot5'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot6'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot7'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot8'; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 5; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 4; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 5; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 6; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 7; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 8; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 2; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 0; min = 1; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 1; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 2; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 3; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 4; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 5; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 6; min = 0; max = 9; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_frequency'; min = 10; max = 60; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_aggression'; min = 0; max = 99; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_bfa'; min = 0; max = 2; } } frame 110 { wbaic = ''; wbaic += ai_house; f = 0; while (f <= 14) { g = 0; while (g <= 5) { if (ai_units[f][g] < 10) { wbaic += '0'; wbaic += ai_units[f][g]; } else { wbaic += ai_units[f][g]; } ++g; } ++f; } wbaic += ai_situations[0][0]; wbaic += ai_situations[0][1]; wbaic += ai_situations[0][2]; wbaic += ai_situations[0][3]; wbaic += ai_situations[0][4]; wbaic += ai_situations[0][5]; wbaic += ai_situations[0][6]; wbaic += ai_situations[0][7]; wbaic += ai_situations[0][8]; wbaic += ai_situations[1][0]; wbaic += ai_situations[1][1]; wbaic += ai_situations[1][2]; wbaic += ai_situations[1][3]; wbaic += ai_situations[2][0]; wbaic += ai_situations[2][1]; wbaic += ai_situations[2][2]; wbaic += ai_situations[2][3]; wbaic += ai_situations[3][0]; wbaic += ai_situations[3][1]; wbaic += ai_situations[3][2]; wbaic += ai_situations[3][3]; wbaic += ai_situations[4][0]; wbaic += ai_situations[4][1]; wbaic += ai_situations[4][2]; wbaic += ai_situations[4][3]; wbaic += ai_situations[5][0]; wbaic += ai_situations[5][1]; wbaic += ai_situations[5][2]; wbaic += ai_situations[6][0]; wbaic += ai_situations[6][1]; wbaic += ai_situations[6][2]; wbaic += ai_evalfavoring[0]; wbaic += ai_evalfavoring[1]; wbaic += ai_evalfavoring[2]; wbaic += ai_evalfavoring[3]; wbaic += ai_evalfavoring[4]; wbaic += ai_evalfavoring[5]; wbaic += ai_evalfavoring[6]; if (ai_frequency < 10) { ai_frequency += '0'; } wbaic += ai_frequency; if (ai_aggression < 10) { ai_aggression += '0'; } wbaic += ai_aggression; if (ai_allocation_b < 10) { ai_allocation_b += '0'; } wbaic += ai_allocation_b; if (ai_allocation_u < 10) { ai_allocation_u += '0'; } wbaic += ai_allocation_u; wbaic += ai_bfa; wbaic += 1; wbaic += '~c~' + commandername; } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot1'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot2'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot3'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot4'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot5'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot6'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot7'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot8'; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 0; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 1; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 2; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 3; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 4; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 5; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 6; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 7; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 8; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 9; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 10; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 11; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 12; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 13; ainumber = 5; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 0; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 1; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 2; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 3; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 4; } } instance of movieClip 6300 { onClipEvent (load) { unitnumber = 14; ainumber = 5; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 4; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 5; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 6; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 7; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 0; situation = 8; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 1; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 2; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 3; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 4; situation = 3; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 5; situation = 2; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 0; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 1; } } instance of movieClip 6414 { onClipEvent (load) { evalu = 6; situation = 2; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 0; min = 1; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 1; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 2; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 3; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 4; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 5; min = 0; max = 9; } } instance of movieClip 6453 { onClipEvent (load) { thevar = 'ai_evalfavoring'; thenum = 6; min = 0; max = 9; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_frequency'; min = 10; max = 60; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_aggression'; min = 0; max = 99; } } instance of movieClip 6461 { onClipEvent (load) { thevar = 'ai_bfa'; min = 0; max = 2; } } frame 143 { wbaic = ''; wbaic += ai_house; f = 0; while (f <= 14) { g = 0; while (g <= 5) { if (ai_units[f][g] < 10) { wbaic += '0'; wbaic += ai_units[f][g]; } else { wbaic += ai_units[f][g]; } ++g; } ++f; } wbaic += ai_situations[0][0]; wbaic += ai_situations[0][1]; wbaic += ai_situations[0][2]; wbaic += ai_situations[0][3]; wbaic += ai_situations[0][4]; wbaic += ai_situations[0][5]; wbaic += ai_situations[0][6]; wbaic += ai_situations[0][7]; wbaic += ai_situations[0][8]; wbaic += ai_situations[1][0]; wbaic += ai_situations[1][1]; wbaic += ai_situations[1][2]; wbaic += ai_situations[1][3]; wbaic += ai_situations[2][0]; wbaic += ai_situations[2][1]; wbaic += ai_situations[2][2]; wbaic += ai_situations[2][3]; wbaic += ai_situations[3][0]; wbaic += ai_situations[3][1]; wbaic += ai_situations[3][2]; wbaic += ai_situations[3][3]; wbaic += ai_situations[4][0]; wbaic += ai_situations[4][1]; wbaic += ai_situations[4][2]; wbaic += ai_situations[4][3]; wbaic += ai_situations[5][0]; wbaic += ai_situations[5][1]; wbaic += ai_situations[5][2]; wbaic += ai_situations[6][0]; wbaic += ai_situations[6][1]; wbaic += ai_situations[6][2]; wbaic += ai_evalfavoring[0]; wbaic += ai_evalfavoring[1]; wbaic += ai_evalfavoring[2]; wbaic += ai_evalfavoring[3]; wbaic += ai_evalfavoring[4]; wbaic += ai_evalfavoring[5]; wbaic += ai_evalfavoring[6]; if (ai_frequency < 10) { ai_frequency += '0'; } wbaic += ai_frequency; if (ai_aggression < 10) { ai_aggression += '0'; } wbaic += ai_aggression; if (ai_allocation_b < 10) { ai_allocation_b += '0'; } wbaic += ai_allocation_b; if (ai_allocation_u < 10) { ai_allocation_u += '0'; } wbaic += ai_allocation_u; wbaic += ai_bfa; wbaic += 1; wbaic += '~c~' + commandername; } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot1'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot2'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot3'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot4'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot5'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot6'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot7'; } } instance of movieClip 6220 { onClipEvent (load) { funk = 'save'; slotnum = 'slot8'; } } } frame 66 { stop(); } movieClip 6805 { } movieClip 6807 { } // unknown tag 88 length 102 movieClip 6813 { frame 7 { stop(); } } movieClip 6814 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 6817 { } movieClip 6819 { } movieClip 6821 { } movieClip 6824 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 6825 { frame 1 { mipas = ''; labeller = _root.allpws[_root.currentlevel - 1]; _root.commandername0 = 'Player'; } frame 34 { tooltip = 'War & Beyond : \nDeadly Strategies\n - The battle for total control begins...'; tooltip2 = ''; } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'startskirmish'; tooltipper = 'Start Game'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; tooltipper = 'Start Game'; } } frame 98 { stop(); } instance of movieClip 6814 { onClipEvent (rollOver) { this.gotoAndStop(2); _parent.tooltip = 'Campaign Story 1 : The Mayazorian Wars.'; _parent.tooltipblinker.gotoAndPlay(1); } onClipEvent (rollOut) { this.gotoAndStop(1); _parent.tooltip = ''; } onClipEvent (release) { _root.currentlevel = 1; _parent.labeller = _root.allpws[_root.currentlevel - 1]; _parent.gotoAndPlay('proceedo'); } } instance of movieClip 6824 { onClipEvent (rollOver) { this.gotoAndStop(2); _parent.tooltip = 'Campaign Story 2 : JAC-SMC Wars, continuation of Mayazorian Wars.'; _parent.tooltipblinker.gotoAndPlay(1); } onClipEvent (rollOut) { this.gotoAndStop(1); _parent.tooltip = ''; } onClipEvent (release) { _root.currentlevel = 18; _parent.labeller = _root.allpws[_root.currentlevel - 1]; _parent.gotoAndPlay('proceedo'); } } frame 99 { if (labeller != 'mainmenu') { whatlevella = 0; wa = 0; while (wa < _root.allpws.length) { if (mipas == _root.allpws[wa]) { whatlevella = wa + 1; } ++wa; } if (whatlevella == 0) { tooltipblinker.gotoAndPlay(1); tooltip2 = 'Invalid Mission Password. If this is your first time playing, choose a Story...'; tooltip.gotoAndPlay(1); gotoAndStop(_currentframe - 1); } else { _root.currentlevel = whatlevella; labeller = _root.allpws[_root.currentlevel - 1]; this.play(); } } } instance of movieClip 6109 { onClipEvent (load) { ena = 0; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 0; tooltipper = 'Start Game'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'startskirmish'; tooltipper = 'Start Game'; } } frame 150 { _root.gotoAndStop(labeller); } } frame 67 { stop(); } movieClip 6839 { frame 1 { mipas = ''; labeller = 'conqnewgame'; _root.commandername0 = 'Player'; } frame 34 { tooltip = 'War & Beyond : \nDeadly Strategies\n - The battle for total control begins...'; tooltip2 = ''; } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'conqcontinuegame'; tooltipper = 'Start Game'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'conqnewgame'; tooltipper = 'Start New Conqueror Game'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'conqnewgame'; tooltipper = 'Start New Conqueror Game'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'conqcontinuegame'; tooltipper = 'Continue a saved Conqueror Game.'; } } frame 94 { loadconq = SharedObject.getLocal('wbdsconq'); if (loadconq.data.conqname == undefined) { loaderer = 'Saved game not found...'; } else { loaderer = ''; } } frame 98 { stop(); } instance playercombobox of movieClip 156 ComboBox { onClipEvent (construct) { editable = false; rowCount = 5; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { this.backgroundColor = 0; this.headerColor = 0; this.color = 15658734; addItem({'data': 'bng', 'label': 'BNG'}); addItem({'data': 'mf', 'label': 'Mayazorian Force'}); addItem({'data': 'jac', 'label': 'JAC Raiders'}); addItem({'data': 'smc', 'label': 'Southern Marz'}); } } instance playercolorbox of movieClip 156 ComboBox { onClipEvent (construct) { editable = false; rowCount = 5; restrict = ''; enabled = true; visible = true; minHeight = 0; minWidth = 0; } onClipEvent (load) { this.backgroundColor = 0; this.headerColor = 0; this.color = 15658734; addItem({'data': 'l', 'label': 'Blue'}); addItem({'data': 'v', 'label': 'White'}); addItem({'data': 'p', 'label': 'Red'}); addItem({'data': 'f', 'label': 'Green'}); addItem({'data': 't', 'label': 'Yellow'}); addItem({'data': 'n', 'label': 'Pink'}); addItem({'data': 'a', 'label': 'Black'}); } } instance of movieClip 6165 { onClipEvent (load) { max = 9; min = 1; thevar = 'conq__maxai'; } } instance of movieClip 6165 { onClipEvent (load) { max = 7; min = 2; thevar = 'conq__players'; } } frame 99 { _root.startinghouse0 = playercombobox.selectedItem.data; _root.startingcolor0 = playercolorbox.selectedItem.data; } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'conqcontinuegame'; tooltipper = 'Start Game'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'conqnewgame'; tooltipper = 'Start New Conqueror Game'; } } frame 150 { _root.gotoAndStop(labeller); } } frame 68 { getURL('http://armorgames.com', '_blank'); _root.gotoAndStop('mainmenu'); } frame 69 { getURL('http://warandbeyond.tamugaia.com', '_blank'); _root.gotoAndStop('mainmenu'); } frame 70 { stop(); } button 6844 { on (release) { mova = attachMovie('creditsmovie', 'tutmovie', 555); mova._x = 0; mova._y = -54; } } movieClip 6845 { frame 1 { labeller = ''; } frame 34 { tooltip = 'War & Beyond : \nDeadly Strategies\n - The battle for total control begins...'; tooltip2 = ''; } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } frame 98 { stop(); } frame 99 { mova.unloadMovie(); } instance of movieClip 6109 { onClipEvent (load) { ena = 0; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } frame 149 { _root.gotoAndStop(labeller); } } frame 79 { stop(); } button 6852 { on (release) { mova = attachMovie('tutmovie_basics', 'tutmovie', 555); mova._x = 0; mova._y = -54; } } button 6853 { on (release) { mova = attachMovie('tutmovie_buildings', 'tutmovie', 555); mova._x = 0; mova._y = -54; } } button 6854 { on (release) { mova = attachMovie('tutmovie_units', 'tutmovie', 555); mova._x = 0; mova._y = -54; } } button 6855 { on (press) { getURL('http://warandbeyond.tamugaia.com', '_blank'); } } movieClip 6856 { frame 1 { labeller = ''; } frame 34 { tooltip = 'War & Beyond : \nDeadly Strategies\n - The battle for total control begins...'; tooltip2 = ''; } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } frame 98 { stop(); } frame 99 { mova.unloadMovie(); } instance of movieClip 6109 { onClipEvent (load) { ena = 0; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } frame 149 { _root.gotoAndStop(labeller); } } frame 80 { stop(); } button 6858 { on (release) { getURL('http://aarqee.com', '_blank'); } } movieClip 6860 { frame 1 { labeller = ''; } frame 34 { tooltip = 'War & Beyond : \nDeadly Strategies\n - The battle for total control begins...'; tooltip2 = ''; } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } frame 98 { stop(); } frame 99 { mova.unloadMovie(); } instance of movieClip 6109 { onClipEvent (load) { ena = 0; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } instance of movieClip 6109 { onClipEvent (load) { ena = 1; labeller = 'mainmenu'; tooltipper = 'Back to Main Menu'; } } frame 149 { _root.gotoAndStop(labeller); } } frame 81 { play(); } movieClip 6866 { frame 1 { _root.pauser = 1; this.onRelease = function () { null; }; } frame 119 { _root.pauser = 0; this.unloadMovie(); removeMovieClip(this); } } movieClip 6868 { frame 1 { housemusicl = {'bng': 5400, 'mf': 3650, 'jac': 3000, 'smc': 2700}; musicl = [3000, 4500, 5700, 2100, 2400, 1800, 3300]; mtimer = 0; mlength = 3000; _root.gamemusic = new Sound(); this.onEnterFrame = function () { if (mtimer == 0) { if (random(2)) { _root.gamemusic = new Sound(); _root.gamemusic.attachSound('gmusic_' + _root.startinghouse0); (_root.gamemusiconoff == 'on') ? _root.gamemusic.start() : null; mlength = housemusicl[_root.startinghouse0] + random(90); } else { randmusic = random(musicl.length); _root.gamemusic = new Sound(); _root.gamemusic.attachSound('gmusic_' + randmusic); (_root.gamemusiconoff == 'on') ? _root.gamemusic.start() : null; mlength = musicl[randmusic] + random(90); } ++mtimer; } !_root.pauser ? mtimer++ : null; if (mtimer >= mlength) { mtimer = 0; } }; } } frame 82 { function addbuilding(faction, linkage, xx, yy, array) { thebuilding = screen.attachMovie(linkage, array + faction + '_' + random(9999999), xx + yy * screen._width); thebuilding.faction = faction; thebuilding.id = _root[array][faction].length; thebuilding.linkage = linkage.substr(linkage.indexOf('_') + 1, linkage.length - linkage.indexOf('_') - 1); thebuilding._x = xx; thebuilding._y = yy; thebuilding.myarray = array; thebuilding._root[array][faction].push(thebuilding); } function unitready(faction, linkage, xx, yy, array, medium) { mediums = {'l': 'screen', 's': 'sky'}; theunit = _root[mediums[medium]].attachMovie(linkage, array + faction + '_' + random(9999999), xx + yy * _root[mediums[medium]]._width); theunit.faction = faction; theunit.id = _root[array][faction].length; theunit.linkage = linkage.substr(linkage.indexOf('_') + 1, linkage.length - linkage.indexOf('_') - 1); theunit._x = xx; theunit._y = yy; theunit.myarray = array; theunit._root[array][faction].push(theunit); } function re_id(whatarray) { for (i in whatarray) { if (whatarray[i].myarray == undefined) { whatarray.splice(i, 1); } } for (i in whatarray) { whatarray[i].id = i; } } pauser = 1; gamemode = 'skirmish'; gametimer = 0; builders = [new Array(), new Array()]; shooters = [new Array(), new Array()]; units = [new Array(), new Array()]; outposts = [new Array(), new Array()]; effects = []; damagers = []; hqs = new Array(); moneys = [3000, 3000]; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; researches = [[skirmish_researchready, skirmish_researchready, skirmish_researchready, skirmish_researchready], [skirmish_researchready, skirmish_researchready, skirmish_researchready, skirmish_researchready]]; techs = [techlevel_s, techlevel_s]; coloros = [startingcolor0, startingcolor1]; if (wbaic_input0 == '') { wbaic_input0 = wbaic_ig[random(wbaic_ig.length)]; } if (wbaic_input1 == '') { wbaic_input1 = wbaic_ig[random(wbaic_ig.length)]; } controllers = [1, 0]; ailevel = ailevel_s; moneys[1] += int(moneys[1] / (10 - ailevel)); allocations = [[50, 50], [50, 50]]; aggression = [0, 100]; bbda = [bbda_bng, bbda_bng]; bbdacounterstart = [0, 0]; bfa = [bfa_bng[0], bfa_bng[0]]; bfacounterstart = [0, 0]; aggression[0] = int(wbaic_input0.substr(221, 2)); allocations[0] = [int(wbaic_input0.substr(223, 2)), int(wbaic_input0.substr(225, 2))]; bbda[0] = _root['bbda_' + startinghouse0]; bfa[0] = _root['bfa_' + startinghouse0][int(wbaic_input0.substr(227, 1))]; startinghouse1 = ai_houses[int(wbaic_input1.substr(0, 1))]; aggression[1] = int(wbaic_input1.substr(221, 2)); allocations[1] = [int(wbaic_input1.substr(223, 2)), int(wbaic_input1.substr(225, 2))]; bbda[1] = _root['bbda_' + startinghouse1]; bfa[1] = _root['bfa_' + startinghouse1][int(wbaic_input1.substr(227, 1))]; commandername1 = wbaic_input1.substr(232, wbaic_input1.length); trace(startinghouse1 + '.............' + int(wbaic_input1.substr(227, 1)) + '\n'); trace(bbda[1] + '\n'); trace(bfa[1]); usecode = [1, 1]; usecode[0] = int(wbaic_input0.substr(228, 1)); usecode[1] = int(wbaic_input1.substr(228, 1)); houseadders = {'bng': 0, 'mf': 13, 'jac': 25, 'smc': 37}; unitai = [new Array(), new Array()]; unitai[0].push({'linkage': 'infantry', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[0].push({'linkage': 'rocketman', 'ai': [20, 60, 80, 30, 20, 10]}); unitai[0].push({'linkage': 'flamer', 'ai': [50, 60, 90, 75, 10, 0]}); unitai[0].push({'linkage': 'commando', 'ai': [30, 10, 80, 85, 0, 0]}); unitai[0].push({'linkage': 'jeep', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[0].push({'linkage': 'lighttank', 'ai': [0, 0, 0, 90, 50, 50]}); unitai[0].push({'linkage': 'bngtank', 'ai': [10, 10, 20, 80, 70, 35]}); unitai[0].push({'linkage': 'rockettank', 'ai': [10, 60, 80, 30, 20, 10]}); unitai[0].push({'linkage': 'bngbluetrigger', 'ai': [10, 10, 20, 20, 20, 20]}); unitai[0].push({'linkage': 'assaultheli', 'ai': [10, 3, 5, 60, 10, 10]}); unitai[0].push({'linkage': 'bngfighter', 'ai': [10, 40, 30, 60, 35, 25]}); unitai[0].push({'linkage': 'bwingbomber', 'ai': [10, 0, 0, 20, 95, 80]}); unitai[0].push({'linkage': 'all', 'ai': [50, 50, 50, 50, 50, 50]}); unitai[0].push({'linkage': 'ninja', 'ai': [10, 50, 50, 10, 0, 0]}); unitai[0].push({'linkage': 'bomberunit', 'ai': [0, 20, 30, 50, 0, 3]}); unitai[0].push({'linkage': 'gunner', 'ai': [10, 10, 20, 10, 0, 0]}); unitai[0].push({'linkage': 'samurai', 'ai': [10, 10, 60, 5, 5, 0]}); unitai[0].push({'linkage': 'jetgunner', 'ai': [5, 15, 30, 0, 0, 0]}); unitai[0].push({'linkage': 'rocketjeep', 'ai': [3, 10, 10, 60, 0, 5]}); unitai[0].push({'linkage': 'biker', 'ai': [30, 40, 35, 50, 10, 0]}); unitai[0].push({'linkage': 'mab', 'ai': [5, 30, 65, 15, 5, 5]}); unitai[0].push({'linkage': 'autocannonbear', 'ai': [5, 20, 50, 50, 50, 50]}); unitai[0].push({'linkage': 'earthwalker', 'ai': [3, 55, 70, 60, 0, 0]}); unitai[0].push({'linkage': 'dragonrider', 'ai': [10, 10, 20, 90, 50, 30]}); unitai[0].push({'linkage': 'battlepod', 'ai': [5, 10, 20, 30, 30, 5]}); unitai[0].push({'linkage': 'trooper', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[0].push({'linkage': 'raider', 'ai': [0, 40, 40, 30, 0, 0]}); unitai[0].push({'linkage': 'kuburai', 'ai': [10, 60, 20, 10, 0, 0]}); unitai[0].push({'linkage': 'siegeraider', 'ai': [5, 50, 60, 50, 20, 10]}); unitai[0].push({'linkage': 'moonstruck', 'ai': [15, 30, 60, 60, 0, 5]}); unitai[0].push({'linkage': 'siegeconvoy', 'ai': [30, 40, 50, 70, 25, 15]}); unitai[0].push({'linkage': 'triblaster', 'ai': [0, 40, 40, 40, 0, 0]}); unitai[0].push({'linkage': 'fuzaron', 'ai': [15, 60, 20, 10, 0, 10]}); unitai[0].push({'linkage': 'laserfox', 'ai': [5, 70, 70, 20, 0, 0]}); unitai[0].push({'linkage': 'triloblast', 'ai': [5, 50, 60, 50, 10, 30]}); unitai[0].push({'linkage': 'jaccruiser', 'ai': [0, 80, 60, 40, 0, 0]}); unitai[0].push({'linkage': 'xdarios', 'ai': [0, 0, 90, 80, 0, 30]}); unitai[0].push({'linkage': 'battleunit', 'ai': [10, 20, 40, 50, 0, 2]}); unitai[0].push({'linkage': 'flashsamurai', 'ai': [10, 80, 60, 30, 10, 10]}); unitai[0].push({'linkage': 'particca', 'ai': [10, 50, 50, 20, 0, 0]}); unitai[0].push({'linkage': 'missilebike', 'ai': [0, 20, 80, 45, 0, 5]}); unitai[0].push({'linkage': 'qwalker', 'ai': [0, 30, 70, 60, 10, 5]}); unitai[0].push({'linkage': 'invistotank', 'ai': [30, 50, 50, 10, 0, 5]}); unitai[0].push({'linkage': 'askeara', 'ai': [5, 50, 80, 30, 20, 20]}); unitai[0].push({'linkage': 'smcfire', 'ai': [0, 35, 40, 80, 0, 20]}); unitai[0].push({'linkage': 'geneson', 'ai': [20, 90, 90, 80, 3, 21]}); unitai[0].push({'linkage': 'tiusanin', 'ai': [0, 30, 20, 10, 0, 0]}); unitai[0].push({'linkage': 'sbm', 'ai': [0, 30, 20, 5, 0, 0]}); unitai[0].push({'linkage': 'smcsatellite', 'ai': [0, 20, 30, 50, 10, 30]}); unitai[1].push({'linkage': 'infantry', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[1].push({'linkage': 'rocketman', 'ai': [20, 60, 80, 30, 20, 10]}); unitai[1].push({'linkage': 'flamer', 'ai': [50, 60, 90, 75, 10, 0]}); unitai[1].push({'linkage': 'commando', 'ai': [30, 10, 80, 85, 0, 0]}); unitai[1].push({'linkage': 'jeep', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[1].push({'linkage': 'lighttank', 'ai': [0, 0, 0, 90, 50, 50]}); unitai[1].push({'linkage': 'bngtank', 'ai': [10, 10, 20, 80, 70, 35]}); unitai[1].push({'linkage': 'rockettank', 'ai': [10, 60, 80, 30, 20, 10]}); unitai[1].push({'linkage': 'bngbluetrigger', 'ai': [10, 10, 20, 20, 20, 20]}); unitai[1].push({'linkage': 'assaultheli', 'ai': [10, 3, 5, 60, 90, 80]}); unitai[1].push({'linkage': 'bngfighter', 'ai': [10, 40, 30, 60, 35, 25]}); unitai[1].push({'linkage': 'bwingbomber', 'ai': [10, 0, 0, 20, 95, 80]}); unitai[1].push({'linkage': 'all', 'ai': [50, 50, 50, 50, 50, 50]}); unitai[1].push({'linkage': 'ninja', 'ai': [10, 50, 50, 10, 0, 0]}); unitai[1].push({'linkage': 'bomberunit', 'ai': [0, 20, 30, 50, 0, 3]}); unitai[1].push({'linkage': 'gunner', 'ai': [10, 10, 20, 10, 0, 0]}); unitai[1].push({'linkage': 'samurai', 'ai': [10, 10, 60, 5, 5, 0]}); unitai[1].push({'linkage': 'jetgunner', 'ai': [5, 15, 30, 0, 0, 0]}); unitai[1].push({'linkage': 'rocketjeep', 'ai': [3, 10, 10, 60, 0, 5]}); unitai[1].push({'linkage': 'biker', 'ai': [30, 40, 35, 50, 10, 0]}); unitai[1].push({'linkage': 'mab', 'ai': [5, 30, 65, 15, 5, 5]}); unitai[1].push({'linkage': 'autocannonbear', 'ai': [5, 20, 50, 50, 50, 50]}); unitai[1].push({'linkage': 'earthwalker', 'ai': [3, 55, 70, 60, 0, 0]}); unitai[1].push({'linkage': 'dragonrider', 'ai': [10, 10, 20, 90, 50, 30]}); unitai[1].push({'linkage': 'battlepod', 'ai': [5, 10, 20, 30, 30, 5]}); unitai[1].push({'linkage': 'trooper', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[1].push({'linkage': 'raider', 'ai': [0, 40, 40, 30, 0, 0]}); unitai[1].push({'linkage': 'kuburai', 'ai': [10, 60, 20, 10, 0, 0]}); unitai[1].push({'linkage': 'siegeraider', 'ai': [5, 50, 60, 50, 20, 10]}); unitai[1].push({'linkage': 'moonstruck', 'ai': [15, 30, 60, 60, 0, 5]}); unitai[1].push({'linkage': 'siegeconvoy', 'ai': [30, 40, 50, 70, 25, 15]}); unitai[1].push({'linkage': 'triblaster', 'ai': [0, 40, 40, 40, 0, 0]}); unitai[1].push({'linkage': 'fuzaron', 'ai': [15, 60, 20, 10, 0, 10]}); unitai[1].push({'linkage': 'laserfox', 'ai': [5, 70, 70, 20, 0, 0]}); unitai[1].push({'linkage': 'triloblast', 'ai': [5, 50, 60, 50, 10, 30]}); unitai[1].push({'linkage': 'jaccruiser', 'ai': [0, 80, 60, 40, 0, 0]}); unitai[1].push({'linkage': 'xdarios', 'ai': [0, 0, 90, 80, 0, 30]}); unitai[1].push({'linkage': 'battleunit', 'ai': [10, 20, 40, 50, 0, 2]}); unitai[1].push({'linkage': 'flashsamurai', 'ai': [10, 80, 60, 30, 10, 10]}); unitai[1].push({'linkage': 'particca', 'ai': [10, 50, 50, 20, 0, 0]}); unitai[1].push({'linkage': 'missilebike', 'ai': [0, 20, 80, 45, 0, 5]}); unitai[1].push({'linkage': 'qwalker', 'ai': [0, 30, 70, 60, 10, 5]}); unitai[1].push({'linkage': 'invistotank', 'ai': [30, 50, 50, 10, 0, 5]}); unitai[1].push({'linkage': 'askeara', 'ai': [5, 50, 80, 30, 20, 20]}); unitai[1].push({'linkage': 'smcfire', 'ai': [0, 35, 40, 80, 0, 20]}); unitai[1].push({'linkage': 'geneson', 'ai': [20, 90, 90, 80, 3, 21]}); unitai[1].push({'linkage': 'tiusanin', 'ai': [0, 30, 20, 10, 0, 0]}); unitai[1].push({'linkage': 'sbm', 'ai': [0, 30, 20, 5, 0, 0]}); unitai[1].push({'linkage': 'smcsatellite', 'ai': [0, 20, 30, 50, 10, 30]}); ai_units0 = new Array(); ai_units0.push([int(wbaic_input0.substr(1, 2)), int(wbaic_input0.substr(3, 2)), int(wbaic_input0.substr(5, 2)), int(wbaic_input0.substr(7, 2)), int(wbaic_input0.substr(9, 2)), int(wbaic_input0.substr(11, 2))]); ai_units0.push([int(wbaic_input0.substr(13, 2)), int(wbaic_input0.substr(15, 2)), int(wbaic_input0.substr(17, 2)), int(wbaic_input0.substr(19, 2)), int(wbaic_input0.substr(21, 2)), int(wbaic_input0.substr(23, 2))]); ai_units0.push([int(wbaic_input0.substr(25, 2)), int(wbaic_input0.substr(27, 2)), int(wbaic_input0.substr(29, 2)), int(wbaic_input0.substr(31, 2)), int(wbaic_input0.substr(33, 2)), int(wbaic_input0.substr(35, 2))]); ai_units0.push([int(wbaic_input0.substr(37, 2)), int(wbaic_input0.substr(39, 2)), int(wbaic_input0.substr(41, 2)), int(wbaic_input0.substr(43, 2)), int(wbaic_input0.substr(45, 2)), int(wbaic_input0.substr(47, 2))]); ai_units0.push([int(wbaic_input0.substr(49, 2)), int(wbaic_input0.substr(51, 2)), int(wbaic_input0.substr(53, 2)), int(wbaic_input0.substr(55, 2)), int(wbaic_input0.substr(57, 2)), int(wbaic_input0.substr(59, 2))]); ai_units0.push([int(wbaic_input0.substr(61, 2)), int(wbaic_input0.substr(63, 2)), int(wbaic_input0.substr(65, 2)), int(wbaic_input0.substr(67, 2)), int(wbaic_input0.substr(69, 2)), int(wbaic_input0.substr(71, 2))]); ai_units0.push([int(wbaic_input0.substr(73, 2)), int(wbaic_input0.substr(75, 2)), int(wbaic_input0.substr(77, 2)), int(wbaic_input0.substr(79, 2)), int(wbaic_input0.substr(81, 2)), int(wbaic_input0.substr(83, 2))]); ai_units0.push([int(wbaic_input0.substr(85, 2)), int(wbaic_input0.substr(87, 2)), int(wbaic_input0.substr(89, 2)), int(wbaic_input0.substr(91, 2)), int(wbaic_input0.substr(93, 2)), int(wbaic_input0.substr(95, 2))]); ai_units0.push([int(wbaic_input0.substr(97, 2)), int(wbaic_input0.substr(99, 2)), int(wbaic_input0.substr(101, 2)), int(wbaic_input0.substr(103, 2)), int(wbaic_input0.substr(105, 2)), int(wbaic_input0.substr(107, 2))]); ai_units0.push([int(wbaic_input0.substr(109, 2)), int(wbaic_input0.substr(111, 2)), int(wbaic_input0.substr(113, 2)), int(wbaic_input0.substr(115, 2)), int(wbaic_input0.substr(117, 2)), int(wbaic_input0.substr(119, 2))]); ai_units0.push([int(wbaic_input0.substr(121, 2)), int(wbaic_input0.substr(123, 2)), int(wbaic_input0.substr(125, 2)), int(wbaic_input0.substr(127, 2)), int(wbaic_input0.substr(129, 2)), int(wbaic_input0.substr(131, 2))]); ai_units0.push([int(wbaic_input0.substr(133, 2)), int(wbaic_input0.substr(135, 2)), int(wbaic_input0.substr(137, 2)), int(wbaic_input0.substr(139, 2)), int(wbaic_input0.substr(141, 2)), int(wbaic_input0.substr(143, 2))]); ai_units0.push([int(wbaic_input0.substr(145, 2)), int(wbaic_input0.substr(147, 2)), int(wbaic_input0.substr(149, 2)), int(wbaic_input0.substr(151, 2)), int(wbaic_input0.substr(153, 2)), int(wbaic_input0.substr(155, 2))]); ai_units0.push([int(wbaic_input0.substr(157, 2)), int(wbaic_input0.substr(159, 2)), int(wbaic_input0.substr(161, 2)), int(wbaic_input0.substr(163, 2)), int(wbaic_input0.substr(165, 2)), int(wbaic_input0.substr(167, 2))]); ai_units0.push([int(wbaic_input0.substr(169, 2)), int(wbaic_input0.substr(171, 2)), int(wbaic_input0.substr(173, 2)), int(wbaic_input0.substr(175, 2)), int(wbaic_input0.substr(177, 2)), int(wbaic_input0.substr(179, 2))]); ai_units1 = new Array(); ai_units1.push([int(wbaic_input1.substr(1, 2)), int(wbaic_input1.substr(3, 2)), int(wbaic_input1.substr(5, 2)), int(wbaic_input1.substr(7, 2)), int(wbaic_input1.substr(9, 2)), int(wbaic_input1.substr(11, 2))]); ai_units1.push([int(wbaic_input1.substr(13, 2)), int(wbaic_input1.substr(15, 2)), int(wbaic_input1.substr(17, 2)), int(wbaic_input1.substr(19, 2)), int(wbaic_input1.substr(21, 2)), int(wbaic_input1.substr(23, 2))]); ai_units1.push([int(wbaic_input1.substr(25, 2)), int(wbaic_input1.substr(27, 2)), int(wbaic_input1.substr(29, 2)), int(wbaic_input1.substr(31, 2)), int(wbaic_input1.substr(33, 2)), int(wbaic_input1.substr(35, 2))]); ai_units1.push([int(wbaic_input1.substr(37, 2)), int(wbaic_input1.substr(39, 2)), int(wbaic_input1.substr(41, 2)), int(wbaic_input1.substr(43, 2)), int(wbaic_input1.substr(45, 2)), int(wbaic_input1.substr(47, 2))]); ai_units1.push([int(wbaic_input1.substr(49, 2)), int(wbaic_input1.substr(51, 2)), int(wbaic_input1.substr(53, 2)), int(wbaic_input1.substr(55, 2)), int(wbaic_input1.substr(57, 2)), int(wbaic_input1.substr(59, 2))]); ai_units1.push([int(wbaic_input1.substr(61, 2)), int(wbaic_input1.substr(63, 2)), int(wbaic_input1.substr(65, 2)), int(wbaic_input1.substr(67, 2)), int(wbaic_input1.substr(69, 2)), int(wbaic_input1.substr(71, 2))]); ai_units1.push([int(wbaic_input1.substr(73, 2)), int(wbaic_input1.substr(75, 2)), int(wbaic_input1.substr(77, 2)), int(wbaic_input1.substr(79, 2)), int(wbaic_input1.substr(81, 2)), int(wbaic_input1.substr(83, 2))]); ai_units1.push([int(wbaic_input1.substr(85, 2)), int(wbaic_input1.substr(87, 2)), int(wbaic_input1.substr(89, 2)), int(wbaic_input1.substr(91, 2)), int(wbaic_input1.substr(93, 2)), int(wbaic_input1.substr(95, 2))]); ai_units1.push([int(wbaic_input1.substr(97, 2)), int(wbaic_input1.substr(99, 2)), int(wbaic_input1.substr(101, 2)), int(wbaic_input1.substr(103, 2)), int(wbaic_input1.substr(105, 2)), int(wbaic_input1.substr(107, 2))]); ai_units1.push([int(wbaic_input1.substr(109, 2)), int(wbaic_input1.substr(111, 2)), int(wbaic_input1.substr(113, 2)), int(wbaic_input1.substr(115, 2)), int(wbaic_input1.substr(117, 2)), int(wbaic_input1.substr(119, 2))]); ai_units1.push([int(wbaic_input1.substr(121, 2)), int(wbaic_input1.substr(123, 2)), int(wbaic_input1.substr(125, 2)), int(wbaic_input1.substr(127, 2)), int(wbaic_input1.substr(129, 2)), int(wbaic_input1.substr(131, 2))]); ai_units1.push([int(wbaic_input1.substr(133, 2)), int(wbaic_input1.substr(135, 2)), int(wbaic_input1.substr(137, 2)), int(wbaic_input1.substr(139, 2)), int(wbaic_input1.substr(141, 2)), int(wbaic_input1.substr(143, 2))]); ai_units1.push([int(wbaic_input1.substr(145, 2)), int(wbaic_input1.substr(147, 2)), int(wbaic_input1.substr(149, 2)), int(wbaic_input1.substr(151, 2)), int(wbaic_input1.substr(153, 2)), int(wbaic_input1.substr(155, 2))]); ai_units1.push([int(wbaic_input1.substr(157, 2)), int(wbaic_input1.substr(159, 2)), int(wbaic_input1.substr(161, 2)), int(wbaic_input1.substr(163, 2)), int(wbaic_input1.substr(165, 2)), int(wbaic_input1.substr(167, 2))]); ai_units1.push([int(wbaic_input1.substr(169, 2)), int(wbaic_input1.substr(171, 2)), int(wbaic_input1.substr(173, 2)), int(wbaic_input1.substr(175, 2)), int(wbaic_input1.substr(177, 2)), int(wbaic_input1.substr(179, 2))]); ai_situations0 = new Array(); ai_situations0.push([int(wbaic_input0.substr(181, 1)), int(wbaic_input0.substr(182, 1)), int(wbaic_input0.substr(183, 1)), int(wbaic_input0.substr(184, 1)), int(wbaic_input0.substr(185, 1)), int(wbaic_input0.substr(186, 1)), int(wbaic_input0.substr(187, 1)), int(wbaic_input0.substr(188, 1)), int(wbaic_input0.substr(189, 1))]); ai_situations0.push([int(wbaic_input0.substr(190, 1)), int(wbaic_input0.substr(191, 1)), int(wbaic_input0.substr(192, 1)), int(wbaic_input0.substr(193, 1))]); ai_situations0.push([int(wbaic_input0.substr(194, 1)), int(wbaic_input0.substr(195, 1)), int(wbaic_input0.substr(196, 1)), int(wbaic_input0.substr(197, 1))]); ai_situations0.push([int(wbaic_input0.substr(198, 1)), int(wbaic_input0.substr(199, 1)), int(wbaic_input0.substr(200, 1)), int(wbaic_input0.substr(201, 1))]); ai_situations0.push([int(wbaic_input0.substr(202, 1)), int(wbaic_input0.substr(203, 1)), int(wbaic_input0.substr(204, 1)), int(wbaic_input0.substr(205, 1))]); ai_situations0.push([int(wbaic_input0.substr(206, 1)), int(wbaic_input0.substr(207, 1)), int(wbaic_input0.substr(208, 1))]); ai_situations0.push([int(wbaic_input0.substr(209, 1)), int(wbaic_input0.substr(210, 1)), int(wbaic_input0.substr(211, 1))]); ai_situations1 = new Array(); ai_situations1.push([int(wbaic_input1.substr(181, 1)), int(wbaic_input1.substr(182, 1)), int(wbaic_input1.substr(183, 1)), int(wbaic_input1.substr(184, 1)), int(wbaic_input1.substr(185, 1)), int(wbaic_input1.substr(186, 1)), int(wbaic_input1.substr(187, 1)), int(wbaic_input1.substr(188, 1)), int(wbaic_input1.substr(189, 1))]); ai_situations1.push([int(wbaic_input1.substr(190, 1)), int(wbaic_input1.substr(191, 1)), int(wbaic_input1.substr(192, 1)), int(wbaic_input1.substr(193, 1))]); ai_situations1.push([int(wbaic_input1.substr(194, 1)), int(wbaic_input1.substr(195, 1)), int(wbaic_input1.substr(196, 1)), int(wbaic_input1.substr(197, 1))]); ai_situations1.push([int(wbaic_input1.substr(198, 1)), int(wbaic_input1.substr(199, 1)), int(wbaic_input1.substr(200, 1)), int(wbaic_input1.substr(201, 1))]); ai_situations1.push([int(wbaic_input1.substr(202, 1)), int(wbaic_input1.substr(203, 1)), int(wbaic_input1.substr(204, 1)), int(wbaic_input1.substr(205, 1))]); ai_situations1.push([int(wbaic_input1.substr(206, 1)), int(wbaic_input1.substr(207, 1)), int(wbaic_input1.substr(208, 1))]); ai_situations1.push([int(wbaic_input1.substr(209, 1)), int(wbaic_input1.substr(210, 1)), int(wbaic_input1.substr(211, 1))]); ai_evalfavoring0 = [int(wbaic_input0.substr(212, 1)), int(wbaic_input0.substr(213, 1)), int(wbaic_input0.substr(214, 1)), int(wbaic_input0.substr(215, 1)), int(wbaic_input0.substr(216, 1)), int(wbaic_input0.substr(217, 1)), int(wbaic_input0.substr(218, 1))]; ai_frequency0 = int(wbaic_input0.substr(219, 2)); ai_evalfavoring1 = [int(wbaic_input1.substr(212, 1)), int(wbaic_input1.substr(213, 1)), int(wbaic_input1.substr(214, 1)), int(wbaic_input1.substr(215, 1)), int(wbaic_input1.substr(216, 1)), int(wbaic_input1.substr(217, 1)), int(wbaic_input1.substr(218, 1))]; ai_frequency1 = int(wbaic_input1.substr(219, 2)); i = 0; while (i <= 11) { j = 0; while (j <= 5) { unitai[1][i + houseadders[startinghouse1]].ai[j] = ai_units1[i][j]; ++j; } ++i; } tempmoney = 0; tempbuilding = ''; if (startinghouse0 == 'bng') { addbuilding(0, 'building_hq', 97, 200, 'builders'); } else { if (startinghouse0 == 'mf') { addbuilding(0, 'building_spybase', 97, 200, 'builders'); } else { if (startinghouse0 == 'jac') { addbuilding(0, 'building_powercore', 97, 200, 'builders'); } else { if (startinghouse0 == 'smc') { addbuilding(0, 'building_opscenter', 97, 200, 'builders'); } } } } if (startinghouse1 == 'bng') { addbuilding(1, 'building_hq', 887, 200, 'builders'); } else { if (startinghouse1 == 'mf') { addbuilding(1, 'building_spybase', 887, 200, 'builders'); } else { if (startinghouse1 == 'jac') { addbuilding(1, 'building_powercore', 887, 200, 'builders'); } else { if (startinghouse1 == 'smc') { addbuilding(1, 'building_opscenter', 887, 200, 'builders'); } } } } hqs[0] = builders[0][0]; hqs[1] = builders[1][0]; hqs[0].built = 1; hqs[1].built = 1; unitsreleased = [0, 0]; unitsdestroyed = [0, 0]; buildingsbuilt = [0, 0]; buildingsdestroyed = [0, 0]; cashearned = [0, 0]; var newunit = new Sound(); newunit.attachSound('unitready_' + startinghouse0); var deadunit = new Sound(); deadunit.attachSound('unitlost_' + startinghouse0); var newbuilding = new Sound(); newbuilding.attachSound('buildingcomplete_' + startinghouse0); screenbg = random(screenbgtotal) + 2; gamelog = gameversion + '\n\n' + _root.commandername0 + ' vs ' + _root.commandername1 + '\n'; winner = null; winmode = [1, 1]; winvars = [hqs[0], hqs[1]]; } movieClip 6892 { frame 1 { gotoAndStop(_root.screenbg); } } movieClip 6894 { frame 1 { _alpha = 0; } } movieClip 6895 { frame 1 { this.onEnterFrame = function () { if (!_root.pauser) { if (Key.isDown(37) || _root._xmouse < 10 || Key.isDown(88)) { _x = _x + _root.scrollspeed; _parent.sky._x += _root.scrollspeed; } else { if (Key.isDown(39) || _root._xmouse > 540 || Key.isDown(67)) { _x = _x - _root.scrollspeed; _parent.sky._x -= _root.scrollspeed; } } if (_x > 0) { _x = 0; _parent.sky._x = 0; } if (_x < -440) { _x = -440; _parent.sky._x = -440; } } }; stop(); } } movieClip 6897 { } movieClip 6903 { } movieClip 6909 { } movieClip 6910 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 6911 { frame 1 { this.onEnterFrame = function () { if (_visible && !_root.pauser) { furthest = 0; for (i in _root.builders[0]) { if (_root.builders[0][i]._x > furthest) { furthest = _root.builders[0][i]._x; } } if (_root.outposts[0].length > 0) { for (i in _root.outposts[0]) { if (_root.outposts[0][i]._x > furthest) { furthest = _root.outposts[0][i]._x; } } } hittestinganything = 0; for (i in _root.builders[0]) { if (_root.builders[0][i].det.hitTest(this)) { hittestinganything = 1; break; } } if (!hittestinganything) { for (i in _root.shooters[0]) { if (_root.shooters[0][i].det.hitTest(this)) { hittestinganything = 1; break; } } } if (!hittestinganything) { for (i in _root.outposts[0]) { if (_root.outposts[0][i].det.hitTest(this)) { hittestinganything = 1; break; } } } if (!hittestinganything) { for (i in _root.builders[1]) { if (_root.builders[1][i].det.hitTest(this)) { hittestinganything = 1; break; } } } if (!hittestinganything) { for (i in _root.shooters[1]) { if (_root.shooters[1][i].det.hitTest(this)) { hittestinganything = 1; break; } } } if (!hittestinganything) { for (i in _root.outposts[1]) { if (_root.outposts[1][i].det.hitTest(this)) { hittestinganything = 1; break; } } } if (!this.hitTest(_root.screen.detl) && !this.hitTest(_root.screen.detr) && !this.hitTest(_root.screen.detu) && !this.hitTest(_root.screen.detd) && _x < furthest + 60 + _root.screen._x + _width / 2 && !hittestinganything) { inside.gotoAndStop(1); } else { inside.gotoAndStop(2); } } }; this.onRelease = function () { if (_visible && !_root.pauser) { if (!this.hitTest(_root.screen.detl) && !this.hitTest(_root.screen.detr) && !this.hitTest(_root.screen.detu) && !this.hitTest(_root.screen.detd) && _x < furthest + 60 + _root.screen._x + _width / 2 && !hittestinganything) { _root.addbuilding(0, linkage, _x - _root.screen._x, _y - _root.screen._y, array); _root.indi.gotoAndStop('ok'); _root.tempbuilding = ''; _root.tempmoney = 0; _visible = false; stopDrag(); } } }; } frame 2 { furthest = 0; for (i in _root.builders[0]) { if (_root.builders[0][i]._x > furthest) { furthest = _root.builders[0][i]._x; } } if (_root.outposts[0].length > 0) { for (i in _root.outposts[0]) { if (_root.outposts[0][i]._x > furthest) { furthest = _root.outposts[0][i]._x; } } } } frame 3 { stop(); } } movieClip 6922 { frame 1 { gotoAndStop(_root.startinghouse0); } } movieClip 6928 { frame 2 { stop(); } } button 6929 { on (release) { selectedthing = null; this.gotoAndStop(_root.startinghouse0 + 'buildings'); } } button 6931 { on (release) { selectedthing = null; this.gotoAndStop(_root.startinghouse0 + 'defense'); } } button 6933 { on (release) { selectedthing = null; this.gotoAndStop(_root.startinghouse0 + 'offense'); } } button 6935 { on (release) { selectedthing = null; this.gotoAndStop(_root.startinghouse0 + 'ai'); } } movieClip 6938 { } button 6940 { on (release) { _root.pauser = 1 - _root.pauser; _root.muzak.mtimer = 1; _root.gamemusic.stop(); this.gotoAndStop(_root.pauser + 1); } } button 6945 { on (release) { _root.pauser = 1 - _root.pauser; _root.muzak.mtimer = 1; (_root.gamemusiconoff == 'on') ? _root.gamemusic.start() : null; this.gotoAndStop(_root.pauser + 1); } } button 6946 { on (release) { if (_root._quality != 'MEDIUM') { _root._quality = 'MEDIUM'; } else { _root._quality = 'LOW'; } 'MEDIUM'; } } button 6947 { on (release) { trace('Builders0'); trace(_root.builders[0]); trace('Builders1'); trace(_root.builders[1]); trace('Shooters0'); trace(_root.shooters[0]); trace('Shooters1'); trace(_root.shooters[1]); trace('Outposts0'); trace(_root.outposts[0]); trace('Outposts1'); trace(_root.outposts[1]); trace('Units0'); trace(_root.units[0]); trace('Units1'); trace(_root.units[1]); } } button 6948 { on (release) { trace('Units0'); trace(_root.units[0][0] + ' ' + _root.units[0][0].hp + ' ' + _root.units[0][0].myarray + ' ' + _root.units[0][0].faction + ' ' + _root.units[0][0].id); } } button 6949 { on (release) { _root.pauser = 1 - _root.pauser; (_root.gamemusiconoff == 'on') ? _root.gamemusic.start() : null; _root.muzak.mtimer = 1; this.gotoAndStop(_root.pauser + 1); } } button 6950 { on (release) { mova = attachMovie('tutmovie_basics', 'tutmovie', 555); mova._x = -180; mova._y = 160; } } button 6951 { on (release) { mova = attachMovie('tutmovie_buildings', 'tutmovie', 555); mova._x = -180; mova._y = 160; } } button 6952 { on (release) { mova = attachMovie('tutmovie_units', 'tutmovie', 555); mova._x = -180; mova._y = 160; } } button 6953 { on (release) { mova = attachMovie('keymapping', 'tutmovie', 555); mova._x = -180; mova._y = 160; } } movieClip 6957 { frame 1 { this.gotoAndStop(_root.gamemusiconoff); } frame 2 { _root.gamemusiconoff = 'on'; } frame 3 { _root.gamemusiconoff = 'off'; } frame 4 { gotoAndStop(2); } } button 6958 { on (press) { getURL('http://armorgames.com', '_blank'); } } movieClip 6966 { frame 1 { stop(); } frame 2 { stop(); } } button 6973 { on (release) { aii.gotoAndStop(13); } } movieClip 6983 { frame 1 { this.onEnterFrame = function () { prob = _root.unitai[0][_parent.unitnumber].ai[ainumber]; bar._xscale = _root.unitai[0][_parent.unitnumber].ai[ainumber]; }; this.onMouseDown = function () { if (bg.hitTest(_root._xmouse, _root._ymouse, true)) { _root.unitai[0][_parent.unitnumber].ai[ainumber] = int((_xmouse / _width) * 110); if (_root.unitai[0][_parent.unitnumber].ai[ainumber] < 0) { _root.unitai[0][_parent.unitnumber].ai[ainumber] = 0; } else { if (_root.unitai[0][_parent.unitnumber].ai[ainumber] > 99) { _root.unitai[0][_parent.unitnumber].ai[ainumber] = 99; } } } }; } } button 6985 { on (release) { _root.unitai[0][unitnumber].ai[0] = 1; _root.unitai[0][unitnumber].ai[1] = 0; _root.unitai[0][unitnumber].ai[2] = 0; _root.unitai[0][unitnumber].ai[3] = 0; _root.unitai[0][unitnumber].ai[4] = 0; _root.unitai[0][unitnumber].ai[5] = 0; } } button 6986 { on (release) { _root.unitai[0][unitnumber].ai[0] = 50; _root.unitai[0][unitnumber].ai[1] = 50; _root.unitai[0][unitnumber].ai[2] = 50; _root.unitai[0][unitnumber].ai[3] = 50; _root.unitai[0][unitnumber].ai[4] = 50; _root.unitai[0][unitnumber].ai[5] = 50; } } button 6987 { on (release) { _root.unitai[0][unitnumber].ai[0] = 90; _root.unitai[0][unitnumber].ai[1] = 0; _root.unitai[0][unitnumber].ai[2] = 0; _root.unitai[0][unitnumber].ai[3] = 0; _root.unitai[0][unitnumber].ai[4] = 0; _root.unitai[0][unitnumber].ai[5] = 0; } } button 6988 { on (release) { _root.unitai[0][unitnumber].ai[0] = 0; _root.unitai[0][unitnumber].ai[1] = 80; _root.unitai[0][unitnumber].ai[2] = 70; _root.unitai[0][unitnumber].ai[3] = 50; _root.unitai[0][unitnumber].ai[4] = 0; _root.unitai[0][unitnumber].ai[5] = 0; } } button 6989 { on (release) { _root.unitai[0][unitnumber].ai[0] = 0; _root.unitai[0][unitnumber].ai[1] = 0; _root.unitai[0][unitnumber].ai[2] = 0; _root.unitai[0][unitnumber].ai[3] = 90; _root.unitai[0][unitnumber].ai[4] = 0; _root.unitai[0][unitnumber].ai[5] = 30; } } button 6990 { on (release) { _root.unitai[0][unitnumber].ai[0] = 0; _root.unitai[0][unitnumber].ai[1] = 0; _root.unitai[0][unitnumber].ai[2] = 0; _root.unitai[0][unitnumber].ai[3] = 5; _root.unitai[0][unitnumber].ai[4] = 30; _root.unitai[0][unitnumber].ai[5] = 90; } } button 7006 { on (release) { ai0 = _root.unitai[0][unitnumber].ai[0]; ai1 = _root.unitai[0][unitnumber].ai[1]; ai2 = _root.unitai[0][unitnumber].ai[2]; ai3 = _root.unitai[0][unitnumber].ai[3]; ai4 = _root.unitai[0][unitnumber].ai[4]; ai5 = _root.unitai[0][unitnumber].ai[5]; for (i in _root.unitai[0]) { _root.unitai[0][i].ai[0] = ai0; _root.unitai[0][i].ai[1] = ai1; _root.unitai[0][i].ai[2] = ai2; _root.unitai[0][i].ai[3] = ai3; _root.unitai[0][i].ai[4] = ai4; _root.unitai[0][i].ai[5] = ai5; } aichanged.play(); } } movieClip 7011 { frame 1 { looper = 30; stop(); } frame 11 { if (looper > 0) { --looper; gotoAndPlay(2); } } } movieClip 7059 { frame 1 { this.onEnterFrame = function () { unitcount = 0; for (i in _root.units[0]) { if (_root.units[0][i].controller.recordnumber == unitnumber) { ++unitcount; } } }; } frame 1 { unitnumber = 0; } instance of movieClip 6983 { onClipEvent (load) { ainumber = 0; } } instance of movieClip 6983 { onClipEvent (load) { ainumber = 1; } } instance of movieClip 6983 { onClipEvent (load) { ainumber = 2; } } instance of movieClip 6983 { onClipEvent (load) { ainumber = 3; } } instance of movieClip 6983 { onClipEvent (load) { ainumber = 4; } } instance of movieClip 6983 { onClipEvent (load) { ainumber = 5; } } frame 2 { unitnumber = 1; } frame 3 { unitnumber = 2; } frame 4 { unitnumber = 3; } frame 5 { unitnumber = 4; } frame 6 { unitnumber = 5; } frame 7 { unitnumber = 6; } frame 8 { unitnumber = 7; } frame 9 { unitnumber = 8; } frame 10 { unitnumber = 9; } frame 11 { unitnumber = 10; } frame 12 { unitnumber = 11; } frame 13 { unitnumber = 12; } frame 14 { unitnumber = 13; } frame 15 { unitnumber = 14; } frame 16 { unitnumber = 15; } frame 17 { unitnumber = 16; } frame 18 { unitnumber = 17; } frame 19 { unitnumber = 18; } frame 20 { unitnumber = 19; } frame 21 { unitnumber = 20; } frame 22 { unitnumber = 21; } frame 23 { unitnumber = 22; } frame 24 { unitnumber = 23; } frame 25 { unitnumber = 24; } frame 26 { unitnumber = 25; } frame 27 { unitnumber = 26; } frame 28 { unitnumber = 27; } frame 29 { unitnumber = 28; } frame 30 { unitnumber = 29; } frame 31 { unitnumber = 30; } frame 32 { unitnumber = 31; } frame 33 { unitnumber = 32; } frame 34 { unitnumber = 33; } frame 35 { unitnumber = 34; } frame 36 { unitnumber = 35; } frame 37 { unitnumber = 36; } frame 38 { unitnumber = 37; } frame 39 { unitnumber = 38; } frame 40 { unitnumber = 39; } frame 41 { unitnumber = 40; } frame 42 { unitnumber = 41; } frame 43 { unitnumber = 42; } frame 44 { unitnumber = 43; } frame 45 { unitnumber = 44; } frame 46 { unitnumber = 45; } frame 47 { unitnumber = 46; } frame 48 { unitnumber = 47; } frame 49 { unitnumber = 48; } } button 7060 { on (release) { aii.gotoAndStop(1); } } button 7061 { on (release) { aii.gotoAndStop(2); } } button 7062 { on (release) { aii.gotoAndStop(3); } } button 7063 { on (release) { aii.gotoAndStop(4); } } button 7064 { on (release) { aii.gotoAndStop(5); } } button 7065 { on (release) { aii.gotoAndStop(6); } } button 7067 { on (release) { aii.gotoAndStop(8); } } button 7068 { on (release) { aii.gotoAndStop(7); } } button 7069 { on (release) { aii.gotoAndStop(9); } } button 7070 { on (release) { aii.gotoAndStop(10); } } button 7071 { on (release) { aii.gotoAndStop(11); } } button 7072 { on (release) { aii.gotoAndStop(12); } } movieClip 7084 { frame 1 { if (!disabled) { if (!nocash) { this.onRollOver = function () { gotoAndPlay(2); }; this.onRollOut = function () { gotoAndStop(1); }; this.onPress = function () { gotoAndStop('click'); }; } else { gotoAndStop('nocash'); } } else { gotoAndStop('disa'); } stop(); } frame 6 { stop(); } frame 8 { gotoAndStop(1); } } button 7108 { on (release) { aii.gotoAndStop(14); } } button 7109 { on (release) { aii.gotoAndStop(15); } } button 7110 { on (release) { aii.gotoAndStop(16); } } button 7111 { on (release) { aii.gotoAndStop(17); } } button 7112 { on (release) { aii.gotoAndStop(18); } } button 7113 { on (release) { aii.gotoAndStop(19); } } button 7115 { on (release) { aii.gotoAndStop(20); } } button 7116 { on (release) { aii.gotoAndStop(21); } } button 7117 { on (release) { aii.gotoAndStop(22); } } button 7118 { on (release) { aii.gotoAndStop(23); } } button 7119 { on (release) { aii.gotoAndStop(24); } } button 7120 { on (release) { aii.gotoAndStop(25); } } button 7146 { on (release) { aii.gotoAndStop(26); } } button 7147 { on (release) { aii.gotoAndStop(27); } } button 7148 { on (release) { aii.gotoAndStop(28); } } button 7149 { on (release) { aii.gotoAndStop(29); } } button 7150 { on (release) { aii.gotoAndStop(30); } } button 7151 { on (release) { aii.gotoAndStop(31); } } button 7153 { on (release) { aii.gotoAndStop(32); } } button 7154 { on (release) { aii.gotoAndStop(33); } } button 7155 { on (release) { aii.gotoAndStop(34); } } button 7156 { on (release) { aii.gotoAndStop(35); } } button 7157 { on (release) { aii.gotoAndStop(36); } } button 7158 { on (release) { aii.gotoAndStop(37); } } button 7187 { on (release) { aii.gotoAndStop(38); } } button 7188 { on (release) { aii.gotoAndStop(39); } } button 7189 { on (release) { aii.gotoAndStop(40); } } button 7190 { on (release) { aii.gotoAndStop(41); } } button 7191 { on (release) { aii.gotoAndStop(42); } } button 7192 { on (release) { aii.gotoAndStop(43); } } button 7194 { on (release) { aii.gotoAndStop(44); } } button 7195 { on (release) { aii.gotoAndStop(45); } } button 7196 { on (release) { aii.gotoAndStop(46); } } button 7197 { on (release) { aii.gotoAndStop(47); } } button 7198 { on (release) { aii.gotoAndStop(48); } } button 7199 { on (release) { aii.gotoAndStop(49); } } button 7228 { on (release) { _root.moneys[0] += _root.tempmoney; _root.tempbuilding = ''; _root.tempmoney = 0; _root.pmg._visible = false; _root.pmg.stopDrag(); this.gotoAndStop('ok'); } } movieClip 7231 { } movieClip 7238 { frame 1 { hpdisplay = ''; this.onEnterFrame = function () { hpdisplay = mything.hp + '/' + mything.fullhp; }; } } button 7239 { on (release) { selectedthing = null; this.gotoAndStop('ok'); } } movieClip 7242 { } movieClip 7259 { frame 1 { if (!disabled) { if (!nocash) { this.onRollOver = function () { gotoAndPlay(2); }; this.onRollOut = function () { gotoAndStop(1); }; this.onPress = function () { gotoAndStop('click'); }; } else { gotoAndStop('nocash'); } } else { gotoAndStop('disa'); } stop(); } frame 6 { stop(); } frame 8 { gotoAndStop(1); } } button 7264 { on (release) { selectedthing.destroy(); } } movieClip 7267 { } button 7274 { on (rollOver) { indi_research_info.infostuff = 'Research Rocket Science to get Rocketman [Tech 1] and Rocket Tank [Tech 3]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 220) { nomoney.play(); } if (_root.moneys[0] >= 220 && !_root.researches[selectedthing.faction][0] && _root.techs[0] > 0) { selectedthing.tempmoney = 220; _root.moneys[0] -= 220; selectedthing.researchname = 'Rocket Science'; selectedthing.researching = 1; selectedthing.researchwhat = 0; selectedthing.faction = 0; this.gotoAndStop('researchlabr'); } } } button 7275 { on (rollOver) { indi_research_info.infostuff = 'Research Heavy Machines to get BNG Tank [Tech 2] and BWing Bomber [Tech 5]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 350) { nomoney.play(); } if (_root.moneys[0] >= 350 && !_root.researches[selectedthing.faction][1] && _root.techs[0] > 1) { selectedthing.tempmoney = 350; _root.moneys[0] -= 350; selectedthing.researchname = 'Heavy Machines'; selectedthing.researching = 1; selectedthing.researchwhat = 1; selectedthing.faction = 0; this.gotoAndStop('researchlabr'); } } } button 7276 { on (rollOver) { indi_research_info.infostuff = 'Research Robotics to get Commando [Tech 3] and BNG Blue Trigger [Tech 5]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 400) { nomoney.play(); } if (_root.moneys[0] >= 400 && !_root.researches[selectedthing.faction][2] && _root.techs[0] > 2) { selectedthing.tempmoney = 400; _root.moneys[0] -= 400; selectedthing.researchname = 'Robotics'; selectedthing.researching = 1; selectedthing.researchwhat = 2; selectedthing.faction = 0; this.gotoAndStop('researchlabr'); } } } button 7277 { on (rollOver) { indi_research_info.infostuff = 'Research Combustion to get Flamer [Tech 2] and BNG Fighter [Tech 4]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 350) { nomoney.play(); } if (_root.moneys[0] >= 350 && !_root.researches[selectedthing.faction][3] && _root.techs[0] > 1) { selectedthing.tempmoney = 350; _root.moneys[0] -= 350; selectedthing.researchname = 'Combustion'; selectedthing.researching = 1; selectedthing.researchwhat = 3; selectedthing.faction = 0; this.gotoAndStop('researchlabr'); } } } movieClip 7281 { } movieClip 7284 { frame 2 { infostuff = ''; stop(); } frame 3 { stop(); } } button 7286 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.timer = 0; selectedthing.researching = 0; selectedthing.researchwhat = -1; this.gotoAndStop('ok'); } } movieClip 7289 { } button 7292 { on (rollOver) { indi_research_info.infostuff = 'Research Discipline to get Samurai [Tech 1] and Autocannon Bear [Tech 3]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 220) { nomoney.play(); } if (_root.moneys[0] >= 220 && !_root.researches[selectedthing.faction][0] && _root.techs[0] > 0) { selectedthing.tempmoney = 220; _root.moneys[0] -= 220; selectedthing.researchname = 'Discipline'; selectedthing.researching = 1; selectedthing.researchwhat = 0; selectedthing.faction = 0; this.gotoAndStop('techhouser'); } } } button 7293 { on (rollOver) { indi_research_info.infostuff = 'Research Riders to get Biker [Tech 2] and Dragon Rider [Tech 5]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 350) { nomoney.play(); } if (_root.moneys[0] >= 350 && !_root.researches[selectedthing.faction][1] && _root.techs[0] > 1) { selectedthing.tempmoney = 350; _root.moneys[0] -= 350; selectedthing.researchname = 'Riders'; selectedthing.researching = 1; selectedthing.researchwhat = 1; selectedthing.faction = 0; this.gotoAndStop('techhouser'); } } } button 7294 { on (rollOver) { indi_research_info.infostuff = 'Research Aviation to get Jetgunner [Tech 3] and Battle Pod [Tech 5]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 400) { nomoney.play(); } if (_root.moneys[0] >= 400 && !_root.researches[selectedthing.faction][2] && _root.techs[0] > 2) { selectedthing.tempmoney = 400; _root.moneys[0] -= 400; selectedthing.researchname = 'Aviation'; selectedthing.researching = 1; selectedthing.researchwhat = 2; selectedthing.faction = 0; this.gotoAndStop('techhouser'); } } } button 7295 { on (rollOver) { indi_research_info.infostuff = 'Research Mechanics to get M.A.B. [Tech 4] and Earthwalker [Tech 4]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 350) { nomoney.play(); } if (_root.moneys[0] >= 350 && !_root.researches[selectedthing.faction][3] && _root.techs[0] > 3) { selectedthing.tempmoney = 350; _root.moneys[0] -= 350; selectedthing.researchname = 'Mechanics'; selectedthing.researching = 1; selectedthing.researchwhat = 3; selectedthing.faction = 0; this.gotoAndStop('techhouser'); } } } button 7300 { on (rollOver) { indi_research_info.infostuff = 'Research Light Armor to get Kuburai [Tech 1] and Triloblast [Tech 2]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 180) { nomoney.play(); } if (_root.moneys[0] >= 180 && !_root.researches[selectedthing.faction][0] && _root.techs[0] > 0) { selectedthing.tempmoney = 180; _root.moneys[0] -= 180; selectedthing.researchname = 'Light Armor'; selectedthing.researching = 1; selectedthing.researchwhat = 0; selectedthing.faction = 0; this.gotoAndStop('cosmoratoryr'); } } } button 7301 { on (rollOver) { indi_research_info.infostuff = 'Research Shockwave to get Seige Raider [Tech 2] and Seige Convoy [Tech 3]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 300) { nomoney.play(); } if (_root.moneys[0] >= 300 && !_root.researches[selectedthing.faction][1] && _root.techs[0] > 1) { selectedthing.tempmoney = 300; _root.moneys[0] -= 300; selectedthing.researchname = 'Shockwave'; selectedthing.researching = 1; selectedthing.researchwhat = 1; selectedthing.faction = 0; this.gotoAndStop('cosmoratoryr'); } } } button 7302 { on (rollOver) { indi_research_info.infostuff = 'Research Alien Systems to get Triblaster [Tech 4] and XDarios [Tech 5]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 350) { nomoney.play(); } if (_root.moneys[0] >= 350 && !_root.researches[selectedthing.faction][2] && _root.techs[0] > 3) { selectedthing.tempmoney = 350; _root.moneys[0] -= 350; selectedthing.researchname = 'Alien Systems'; selectedthing.researching = 1; selectedthing.researchwhat = 2; selectedthing.faction = 0; this.gotoAndStop('cosmoratoryr'); } } } button 7303 { on (rollOver) { indi_research_info.infostuff = 'Research Infinergies to get JAC Cruiser [Tech 4] and Fuzaron [Tech 5]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 350) { nomoney.play(); } if (_root.moneys[0] >= 350 && !_root.researches[selectedthing.faction][3] && _root.techs[0] > 3) { selectedthing.tempmoney = 350; _root.moneys[0] -= 350; selectedthing.researchname = 'Infinergies'; selectedthing.researching = 1; selectedthing.researchwhat = 3; selectedthing.faction = 0; this.gotoAndStop('cosmoratoryr'); } } } button 7308 { on (rollOver) { indi_research_info.infostuff = 'Research Solid Light to get Flash Samurai [Tech 1] and SBM Sky Battle Machine [Tech 4]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 350) { nomoney.play(); } if (_root.moneys[0] >= 350 && !_root.researches[selectedthing.faction][0] && _root.techs[0] > 0) { selectedthing.tempmoney = 350; _root.moneys[0] -= 350; selectedthing.researchname = 'Solid Light'; selectedthing.researching = 1; selectedthing.researchwhat = 0; selectedthing.faction = 0; this.gotoAndStop('sciencelabr'); } } } button 7309 { on (rollOver) { indi_research_info.infostuff = 'Research Arkkujo Contact to get QWalker [Tech 1] and Geneson [Tech 2]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 180) { nomoney.play(); } if (_root.moneys[0] >= 180 && !_root.researches[selectedthing.faction][1] && _root.techs[0] > 0) { selectedthing.tempmoney = 180; _root.moneys[0] -= 180; selectedthing.researchname = 'Arkkujo Contact'; selectedthing.researching = 1; selectedthing.researchwhat = 1; selectedthing.faction = 0; this.gotoAndStop('sciencelabr'); } } } button 7310 { on (rollOver) { indi_research_info.infostuff = 'Research Drotgix Contact to get Tiusanin [Tech 3] and Askeara [Tech 3]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 220) { nomoney.play(); } if (_root.moneys[0] >= 220 && !_root.researches[selectedthing.faction][2] && _root.techs[0] > 2) { selectedthing.tempmoney = 220; _root.moneys[0] -= 220; selectedthing.researchname = 'Drotgix Contact'; selectedthing.researching = 1; selectedthing.researchwhat = 2; selectedthing.faction = 0; this.gotoAndStop('sciencelabr'); } } } button 7311 { on (rollOver) { indi_research_info.infostuff = 'Research Alien Joint Venture to get Particca [Tech 4] and SMC Satellite [Tech 5]'; indi_research_info.gotoAndStop(3); } on (rollOut) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); } on (release) { indi_research_info.infostuff = ''; indi_research_info.gotoAndStop(2); if (_root.moneys[0] < 350) { nomoney.play(); } if (_root.moneys[0] >= 350 && !_root.researches[selectedthing.faction][3] && _root.techs[0] > 3) { selectedthing.tempmoney = 350; _root.moneys[0] -= 350; selectedthing.researchname = 'Alien JV'; selectedthing.researching = 1; selectedthing.researchwhat = 3; selectedthing.faction = 0; this.gotoAndStop('sciencelabr'); } } } button 7321 { on (release) { linkage = 'flamer'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.moneys[0] >= _root.table_units[recordnumber].price) { selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; selectedthing.unitmedium = _root.table_units[recordnumber].medium; selectedthing.training = _root.table_units[recordnumber].traintime; selectedthing.fulltraining = _root.table_units[recordnumber].traintime; this.gotoAndStop('armycampt'); } } } button 7323 { on (release) { linkage = 'commando'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.moneys[0] >= _root.table_units[recordnumber].price) { selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; selectedthing.unitmedium = _root.table_units[recordnumber].medium; selectedthing.training = _root.table_units[recordnumber].traintime; selectedthing.fulltraining = _root.table_units[recordnumber].traintime; this.gotoAndStop('armycampt'); } } } button 7336 { on (release) { linkage = 'jeep'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.moneys[0] >= _root.table_units[recordnumber].price) { selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; selectedthing.unitmedium = _root.table_units[recordnumber].medium; selectedthing.training = _root.table_units[recordnumber].traintime; selectedthing.fulltraining = _root.table_units[recordnumber].traintime; this.gotoAndStop('machinebayt'); } } } button 7338 { on (release) { linkage = 'lighttank'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.moneys[0] >= _root.table_units[recordnumber].price) { selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; selectedthing.unitmedium = _root.table_units[recordnumber].medium; selectedthing.training = _root.table_units[recordnumber].traintime; selectedthing.fulltraining = _root.table_units[recordnumber].traintime; this.gotoAndStop('machinebayt'); } } } button 7340 { on (release) { linkage = 'rockettank'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.moneys[0] >= _root.table_units[recordnumber].price) { selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; selectedthing.unitmedium = _root.table_units[recordnumber].medium; selectedthing.training = _root.table_units[recordnumber].traintime; selectedthing.fulltraining = _root.table_units[recordnumber].traintime; this.gotoAndStop('machinebayt'); } } } button 7342 { on (release) { linkage = 'bngtank'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.moneys[0] >= _root.table_units[recordnumber].price) { selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; selectedthing.unitmedium = _root.table_units[recordnumber].medium; selectedthing.training = _root.table_units[recordnumber].traintime; selectedthing.fulltraining = _root.table_units[recordnumber].traintime; this.gotoAndStop('machinebayt'); } } } button 7344 { on (release) { linkage = 'bngbluetrigger'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.moneys[0] >= _root.table_units[recordnumber].price) { selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; selectedthing.unitmedium = _root.table_units[recordnumber].medium; selectedthing.training = _root.table_units[recordnumber].traintime; selectedthing.fulltraining = _root.table_units[recordnumber].traintime; this.gotoAndStop('machinebayt'); } } } button 7358 { on (release) { gotoAndPlay('buildstation2'); } } button 7365 { on (release) { gotoAndPlay('buildstation'); } } button 7373 { on (release) { linkage = 'assaultheli'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.moneys[0] >= _root.table_units[recordnumber].price) { selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; selectedthing.unitmedium = _root.table_units[recordnumber].medium; selectedthing.training = _root.table_units[recordnumber].traintime; selectedthing.fulltraining = _root.table_units[recordnumber].traintime; this.gotoAndStop('hangart'); } } } button 7375 { on (release) { linkage = 'bngfighter'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.moneys[0] >= _root.table_units[recordnumber].price) { selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; selectedthing.unitmedium = _root.table_units[recordnumber].medium; selectedthing.training = _root.table_units[recordnumber].traintime; selectedthing.fulltraining = _root.table_units[recordnumber].traintime; this.gotoAndStop('hangart'); } } } button 7377 { on (release) { linkage = 'bwingbomber'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.moneys[0] >= _root.table_units[recordnumber].price) { selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; selectedthing.unitmedium = _root.table_units[recordnumber].medium; selectedthing.training = _root.table_units[recordnumber].traintime; selectedthing.fulltraining = _root.table_units[recordnumber].traintime; this.gotoAndStop('hangart'); } } } movieClip 7401 { } movieClip 7402 { } button 7432 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.unitintraining = ''; selectedthing.unitnameintraining = ''; selectedthing.unitmedium = ''; selectedthing.training = 0; selectedthing.fulltraining = 0; this.gotoAndStop('armycamp'); } } button 7436 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.unitintraining = ''; selectedthing.unitnameintraining = ''; selectedthing.unitmedium = ''; selectedthing.training = 0; selectedthing.fulltraining = 0; this.gotoAndStop('barracks'); } } button 7440 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.unitintraining = ''; selectedthing.unitnameintraining = ''; selectedthing.unitmedium = ''; selectedthing.training = 0; selectedthing.fulltraining = 0; this.gotoAndStop('raidersguild'); } } button 7444 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.unitintraining = ''; selectedthing.unitnameintraining = ''; selectedthing.unitmedium = ''; selectedthing.training = 0; selectedthing.fulltraining = 0; this.gotoAndStop('opscenter'); } } button 7448 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.unitintraining = ''; selectedthing.unitnameintraining = ''; selectedthing.unitmedium = ''; selectedthing.training = 0; selectedthing.fulltraining = 0; this.gotoAndStop('machinebay'); } } button 7452 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.unitintraining = ''; selectedthing.unitnameintraining = ''; selectedthing.unitmedium = ''; selectedthing.training = 0; selectedthing.fulltraining = 0; this.gotoAndStop('assemblicon'); } } button 7456 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.unitintraining = ''; selectedthing.unitnameintraining = ''; selectedthing.unitmedium = ''; selectedthing.training = 0; selectedthing.fulltraining = 0; this.gotoAndStop('buildstation'); } } button 7461 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.unitintraining = ''; selectedthing.unitnameintraining = ''; selectedthing.unitmedium = ''; selectedthing.training = 0; selectedthing.fulltraining = 0; this.gotoAndStop('hangar'); } } button 7465 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.unitintraining = ''; selectedthing.unitnameintraining = ''; selectedthing.unitmedium = ''; selectedthing.training = 0; selectedthing.fulltraining = 0; this.gotoAndStop('skypad'); } } button 7469 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.unitintraining = ''; selectedthing.unitnameintraining = ''; selectedthing.unitmedium = ''; selectedthing.training = 0; selectedthing.fulltraining = 0; this.gotoAndStop('starport'); } } button 7473 { on (release) { _root.moneys[0] += selectedthing.tempmoney; selectedthing.tempmoney = 0; selectedthing.unitintraining = ''; selectedthing.unitnameintraining = ''; selectedthing.unitmedium = ''; selectedthing.training = 0; selectedthing.fulltraining = 0; this.gotoAndStop('galaxyport'); } } movieClip 7476 { } movieClip 7479 { } button 7481 { on (release) { _root.unitai[0][aistartnum - 1].ai[0] = 1; _root.unitai[0][aistartnum - 1].ai[1] = 0; _root.unitai[0][aistartnum - 1].ai[2] = 0; _root.unitai[0][aistartnum - 1].ai[3] = 0; _root.unitai[0][aistartnum - 1].ai[4] = 0; _root.unitai[0][aistartnum - 1].ai[5] = 0; this.gotoAndStop(_root.startinghouse0 + 'ai'); } } button 7482 { on (release) { _root.unitai[0][aistartnum - 1].ai[0] = 50; _root.unitai[0][aistartnum - 1].ai[1] = 50; _root.unitai[0][aistartnum - 1].ai[2] = 50; _root.unitai[0][aistartnum - 1].ai[3] = 50; _root.unitai[0][aistartnum - 1].ai[4] = 50; _root.unitai[0][aistartnum - 1].ai[5] = 50; this.gotoAndStop(_root.startinghouse0 + 'ai'); } } button 7483 { on (release) { _root.unitai[0][aistartnum - 1].ai[0] = 90; _root.unitai[0][aistartnum - 1].ai[1] = 0; _root.unitai[0][aistartnum - 1].ai[2] = 0; _root.unitai[0][aistartnum - 1].ai[3] = 0; _root.unitai[0][aistartnum - 1].ai[4] = 0; _root.unitai[0][aistartnum - 1].ai[5] = 0; this.gotoAndStop(_root.startinghouse0 + 'ai'); } } button 7484 { on (release) { _root.unitai[0][aistartnum - 1].ai[0] = 0; _root.unitai[0][aistartnum - 1].ai[1] = 80; _root.unitai[0][aistartnum - 1].ai[2] = 70; _root.unitai[0][aistartnum - 1].ai[3] = 50; _root.unitai[0][aistartnum - 1].ai[4] = 0; _root.unitai[0][aistartnum - 1].ai[5] = 0; this.gotoAndStop(_root.startinghouse0 + 'ai'); } } button 7485 { on (release) { _root.unitai[0][aistartnum - 1].ai[0] = 0; _root.unitai[0][aistartnum - 1].ai[1] = 0; _root.unitai[0][aistartnum - 1].ai[2] = 0; _root.unitai[0][aistartnum - 1].ai[3] = 90; _root.unitai[0][aistartnum - 1].ai[4] = 0; _root.unitai[0][aistartnum - 1].ai[5] = 30; this.gotoAndStop(_root.startinghouse0 + 'ai'); } } button 7486 { on (release) { _root.unitai[0][aistartnum - 1].ai[0] = 0; _root.unitai[0][aistartnum - 1].ai[1] = 0; _root.unitai[0][aistartnum - 1].ai[2] = 0; _root.unitai[0][aistartnum - 1].ai[3] = 5; _root.unitai[0][aistartnum - 1].ai[4] = 30; _root.unitai[0][aistartnum - 1].ai[5] = 90; this.gotoAndStop(_root.startinghouse0 + 'ai'); } } button 7492 { on (release) { this.gotoAndStop(_root.startinghouse0 + 'ai'); } } movieClip 7497 { frame 1 { aistartnum = 13; this.onEnterFrame = function () { money = _root.moneys[0]; r1 = _root.researches[0][0] + _root.researches[0][1] + _root.researches[0][2] + _root.researches[0][3]; r2 = _root.researches[1][0] + _root.researches[1][1] + _root.researches[1][2] + _root.researches[1][3]; }; } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 65) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'ai'); } else { if (Key.getCode() == 83) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'buildings'); } else { if (Key.getCode() == 68) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'defense'); } else { if (Key.getCode() == 70) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'offense'); } } } } } } frame 2 { commandernames = _root.commandername0 + ' vs ' + _root.commandername1; while (cn.text.indexOf('_') != -1) { cn.replaceText(cn.text.indexOf('_'), cn.text.indexOf('_') + 1, ' '); } } frame 3 { stop(); } frame 10 { selectedthing = null; aii.gotoAndStop(aistartnum); } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 192) { _parent.aii.gotoAndStop(13); } else { if (Key.getCode() == 49) { _parent.aii.gotoAndStop(1); } else { if (Key.getCode() == 50) { _parent.aii.gotoAndStop(2); } else { if (Key.getCode() == 51) { _parent.aii.gotoAndStop(3); } else { if (Key.getCode() == 52) { _parent.aii.gotoAndStop(4); } else { if (Key.getCode() == 53) { _parent.aii.gotoAndStop(5); } else { if (Key.getCode() == 54) { _parent.aii.gotoAndStop(6); } else { if (Key.getCode() == 55) { _parent.aii.gotoAndStop(8); } else { if (Key.getCode() == 56) { _parent.aii.gotoAndStop(7); } else { if (Key.getCode() == 57) { _parent.aii.gotoAndStop(9); } else { if (Key.getCode() == 48) { _parent.aii.gotoAndStop(10); } else { if (Key.getCode() == 189) { _parent.aii.gotoAndStop(11); } else { if (Key.getCode() == 187) { _parent.aii.gotoAndStop(12); } } } } } } } } } } } } } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] >= 750) { _root.tempmoney = 750; _root.moneys[0] -= 750; _root.tempbuilding = 'tradetower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_tradetower'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } else { _parent.nomoney.play(); } } } instance of movieClip 7084 { onClipEvent (load) { labs = 0; for (i in _root.outposts[0]) { if (_root.outposts[0][i].linkage == 'researchlab') { labs = 1; disabled = 1; break; } } if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 450) { _parent.nomoney.play(); } if (_root.moneys[0] >= 450 && labs == 0 && _root.techs[0] > 0) { _root.tempmoney = 450; _root.moneys[0] -= 450; _root.tempbuilding = 'researchlab'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_researchlab'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 160) { _parent.nomoney.play(); } if (_root.moneys[0] >= 160) { _root.tempmoney = 160; _root.moneys[0] -= 160; _root.tempbuilding = 'gunturret'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 20; _root.pmg._height = 20; _root.pmg.linkage = 'building_gunturret'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 325) { _parent.nomoney.play(); } if (_root.moneys[0] >= 325 && _root.techs[0] > 0) { _root.tempmoney = 325; _root.moneys[0] -= 325; _root.tempbuilding = 'cannontower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_cannontower'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 2) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 450) { _parent.nomoney.play(); } if (_root.moneys[0] >= 450 && _root.techs[0] > 2) { _root.tempmoney = 450; _root.moneys[0] -= 450; _root.tempbuilding = 'rockettower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_rockettower'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 4) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 955) { _parent.nomoney.play(); } if (_root.moneys[0] >= 955 && _root.techs[0] > 4) { _root.tempmoney = 955; _root.moneys[0] -= 955; _root.tempbuilding = 'autocannontower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 60; _root.pmg._height = 60; _root.pmg.linkage = 'building_autocannontower'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 500) { _parent.nomoney.play(); } if (_root.moneys[0] >= 500) { _root.tempmoney = 500; _root.moneys[0] -= 500; _root.tempbuilding = 'armycamp'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_armycamp'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 650) { _parent.nomoney.play(); } if (_root.moneys[0] >= 650) { _root.tempmoney = 650; _root.moneys[0] -= 650; _root.tempbuilding = 'machinebay'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_machinebay'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 3) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 850) { _parent.nomoney.play(); } if (_root.moneys[0] >= 850 && _root.techs[0] > 3) { _root.tempmoney = 850; _root.moneys[0] -= 850; _root.tempbuilding = 'hangar'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 106; _root.pmg._height = 42; _root.pmg.linkage = 'building_hangar'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } frame 20 { selectedthing = null; aii.gotoAndStop(aistartnum); } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 192) { _parent.aii.gotoAndStop(13); } else { if (Key.getCode() == 49) { _parent.aii.gotoAndStop(14); } else { if (Key.getCode() == 50) { _parent.aii.gotoAndStop(15); } else { if (Key.getCode() == 51) { _parent.aii.gotoAndStop(16); } else { if (Key.getCode() == 52) { _parent.aii.gotoAndStop(17); } else { if (Key.getCode() == 53) { _parent.aii.gotoAndStop(18); } else { if (Key.getCode() == 54) { _parent.aii.gotoAndStop(19); } else { if (Key.getCode() == 55) { _parent.aii.gotoAndStop(20); } else { if (Key.getCode() == 56) { _parent.aii.gotoAndStop(21); } else { if (Key.getCode() == 57) { _parent.aii.gotoAndStop(22); } else { if (Key.getCode() == 48) { _parent.aii.gotoAndStop(23); } else { if (Key.getCode() == 189) { _parent.aii.gotoAndStop(24); } else { if (Key.getCode() == 187) { _parent.aii.gotoAndStop(25); } } } } } } } } } } } } } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] >= 700) { _root.tempmoney = 700; _root.moneys[0] -= 700; _root.tempbuilding = 'tradingbay'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_tradingbay'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } else { _parent.nomoney.play(); } } } instance of movieClip 7084 { onClipEvent (load) { labs = 0; for (i in _root.outposts[0]) { if (_root.outposts[0][i].linkage == 'techhouse') { labs = 1; disabled = 1; break; } } if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 400) { _parent.nomoney.play(); } if (_root.moneys[0] >= 400 && labs == 0 && _root.techs[0] > 0) { _root.tempmoney = 400; _root.moneys[0] -= 400; _root.tempbuilding = 'techhouse'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_techhouse'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 190) { _parent.nomoney.play(); } if (_root.moneys[0] >= 190) { _root.tempmoney = 190; _root.moneys[0] -= 190; _root.tempbuilding = 'bombpod'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 20; _root.pmg._height = 20; _root.pmg.linkage = 'building_bombpod'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 300) { _parent.nomoney.play(); } if (_root.moneys[0] >= 300 && _root.techs[0] > 0) { _root.tempmoney = 300; _root.moneys[0] -= 300; _root.tempbuilding = 'molotovpod'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_molotovpod'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 3) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 270) { _parent.nomoney.play(); } if (_root.moneys[0] >= 270 && _root.techs[0] > 3) { _root.tempmoney = 270; _root.moneys[0] -= 270; _root.tempbuilding = 'lightningtower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_lightningtower'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 520) { _parent.nomoney.play(); } if (_root.moneys[0] >= 520) { _root.tempmoney = 520; _root.moneys[0] -= 520; _root.tempbuilding = 'barracks'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_barracks'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 1) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 620) { _parent.nomoney.play(); } if (_root.moneys[0] >= 620 && _root.techs[0] > 1) { _root.tempmoney = 620; _root.moneys[0] -= 620; _root.tempbuilding = 'assemblicon'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_assemblicon'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 4) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 870) { _parent.nomoney.play(); } if (_root.moneys[0] >= 870 && _root.techs[0] > 4) { _root.tempmoney = 870; _root.moneys[0] -= 870; _root.tempbuilding = 'skypad'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 106; _root.pmg._height = 42; _root.pmg.linkage = 'building_skypad'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } frame 28 { selectedthing = null; aii.gotoAndStop(aistartnum); } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 192) { _parent.aii.gotoAndStop(13); } else { if (Key.getCode() == 49) { _parent.aii.gotoAndStop(26); } else { if (Key.getCode() == 50) { _parent.aii.gotoAndStop(27); } else { if (Key.getCode() == 51) { _parent.aii.gotoAndStop(28); } else { if (Key.getCode() == 52) { _parent.aii.gotoAndStop(29); } else { if (Key.getCode() == 53) { _parent.aii.gotoAndStop(30); } else { if (Key.getCode() == 54) { _parent.aii.gotoAndStop(31); } else { if (Key.getCode() == 55) { _parent.aii.gotoAndStop(32); } else { if (Key.getCode() == 56) { _parent.aii.gotoAndStop(33); } else { if (Key.getCode() == 57) { _parent.aii.gotoAndStop(34); } else { if (Key.getCode() == 48) { _parent.aii.gotoAndStop(35); } else { if (Key.getCode() == 189) { _parent.aii.gotoAndStop(36); } else { if (Key.getCode() == 187) { _parent.aii.gotoAndStop(37); } } } } } } } } } } } } } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] >= 600) { _root.tempmoney = 600; _root.moneys[0] -= 600; _root.tempbuilding = 'tradestation'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_tradestation'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } else { _parent.nomoney.play(); } } } instance of movieClip 7084 { onClipEvent (load) { labs = 0; for (i in _root.outposts[0]) { if (_root.outposts[0][i].linkage == 'cosmoratory') { labs = 1; disabled = 1; break; } } if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 500) { _parent.nomoney.play(); } if (_root.moneys[0] >= 500 && labs == 0 && _root.techs[0] > 0) { _root.tempmoney = 500; _root.moneys[0] -= 500; _root.tempbuilding = 'cosmoratory'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_cosmoratory'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 2) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 980) { _parent.nomoney.play(); } if (_root.moneys[0] >= 980 && _root.techs[0] > 2) { _root.tempmoney = 980; _root.moneys[0] -= 980; _root.tempbuilding = 'tradersunion'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_tradersunion'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 160) { _parent.nomoney.play(); } if (_root.moneys[0] >= 160) { _root.tempmoney = 160; _root.moneys[0] -= 160; _root.tempbuilding = 'raiderturret'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 20; _root.pmg._height = 20; _root.pmg.linkage = 'building_raiderturret'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 425) { _parent.nomoney.play(); } if (_root.moneys[0] >= 425 && _root.techs[0] > 0) { _root.tempmoney = 425; _root.moneys[0] -= 425; _root.tempbuilding = 'missilerack'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_missilerack'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 1) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 460) { _parent.nomoney.play(); } if (_root.moneys[0] >= 460 && _root.techs[0] > 1) { _root.tempmoney = 460; _root.moneys[0] -= 460; _root.tempbuilding = 'jacrocketon'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_jacrocketon'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 4) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 1055) { _parent.nomoney.play(); } if (_root.moneys[0] >= 1055 && _root.techs[0] > 4) { _root.tempmoney = 1055; _root.moneys[0] -= 1055; _root.tempbuilding = 'jacshocker'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 60; _root.pmg._height = 60; _root.pmg.linkage = 'building_jacshocker'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 552) { _parent.nomoney.play(); } if (_root.moneys[0] >= 552) { _root.tempmoney = 552; _root.moneys[0] -= 552; _root.tempbuilding = 'raidersguild'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_raidersguild'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 880) { _parent.nomoney.play(); } if (_root.moneys[0] >= 880) { _root.tempmoney = 880; _root.moneys[0] -= 880; _root.tempbuilding = 'buildstation'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 106; _root.pmg._height = 42; _root.pmg.linkage = 'building_buildstation'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } frame 36 { selectedthing = null; aii.gotoAndStop(aistartnum); } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 192) { _parent.aii.gotoAndStop(13); } else { if (Key.getCode() == 49) { _parent.aii.gotoAndStop(38); } else { if (Key.getCode() == 50) { _parent.aii.gotoAndStop(39); } else { if (Key.getCode() == 51) { _parent.aii.gotoAndStop(40); } else { if (Key.getCode() == 52) { _parent.aii.gotoAndStop(41); } else { if (Key.getCode() == 53) { _parent.aii.gotoAndStop(42); } else { if (Key.getCode() == 54) { _parent.aii.gotoAndStop(43); } else { if (Key.getCode() == 55) { _parent.aii.gotoAndStop(44); } else { if (Key.getCode() == 56) { _parent.aii.gotoAndStop(45); } else { if (Key.getCode() == 57) { _parent.aii.gotoAndStop(46); } else { if (Key.getCode() == 48) { _parent.aii.gotoAndStop(47); } else { if (Key.getCode() == 189) { _parent.aii.gotoAndStop(48); } else { if (Key.getCode() == 187) { _parent.aii.gotoAndStop(49); } } } } } } } } } } } } } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] >= 660) { _root.tempmoney = 660; _root.moneys[0] -= 660; _root.tempbuilding = 'merchanthouse'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_merchanthouse'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } else { _parent.nomoney.play(); } } } instance of movieClip 7084 { onClipEvent (load) { labs = 0; for (i in _root.outposts[0]) { if (_root.outposts[0][i].linkage == 'sciencelab') { labs = 1; disabled = 1; break; } } if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 520) { _parent.nomoney.play(); } if (_root.moneys[0] >= 520 && labs == 0 && _root.techs[0] > 0) { _root.tempmoney = 520; _root.moneys[0] -= 520; _root.tempbuilding = 'sciencelab'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_sciencelab'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] >= 420) { _root.tempmoney = 420; _root.moneys[0] -= 420; _root.tempbuilding = 'stellarmarket'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_stellarmarket'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } else { _parent.nomoney.play(); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 170) { _parent.nomoney.play(); } if (_root.moneys[0] >= 170) { _root.tempmoney = 170; _root.moneys[0] -= 170; _root.tempbuilding = 'pyramiddefense'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 20; _root.pmg._height = 20; _root.pmg.linkage = 'building_pyramiddefense'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 185) { _parent.nomoney.play(); } if (_root.moneys[0] >= 185 && _root.techs[0] > 0) { _root.tempmoney = 185; _root.moneys[0] -= 185; _root.tempbuilding = 'podasdefense'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_podasdefense'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 2) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 512) { _parent.nomoney.play(); } if (_root.moneys[0] >= 512 && _root.techs[0] > 2) { _root.tempmoney = 512; _root.moneys[0] -= 512; _root.tempbuilding = 'exploreod'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_exploreod'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 3) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 500) { _parent.nomoney.play(); } if (_root.moneys[0] >= 500 && _root.techs[0] > 3) { _root.tempmoney = 500; _root.moneys[0] -= 500; _root.tempbuilding = 'tazertower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 60; _root.pmg._height = 60; _root.pmg.linkage = 'building_tazertower'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 505) { _parent.nomoney.play(); } if (_root.moneys[0] >= 505) { _root.tempmoney = 505; _root.moneys[0] -= 505; _root.tempbuilding = 'starport'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 106; _root.pmg._height = 42; _root.pmg.linkage = 'building_starport'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 877) { _parent.nomoney.play(); } if (_root.moneys[0] >= 877 && _root.techs[0] > 0) { _root.tempmoney = 877; _root.moneys[0] -= 877; _root.tempbuilding = 'galaxyport'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 106; _root.pmg._height = 42; _root.pmg.linkage = 'building_galaxyport'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 65) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'ai'); } else { if (Key.getCode() == 83) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'buildings'); } else { if (Key.getCode() == 68) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'defense'); } else { if (Key.getCode() == 70) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'offense'); } } } } } } frame 67 { play(); } frame 68 { if (selectedthing.training) { this.gotoAndStop('opscentert'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'battleunit'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('opscentert'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'flashsamurai'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('opscentert'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'particca'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('opscentert'); } } } frame 95 { if (selectedthing.researching == 1) { this.gotoAndStop('researchlabr'); } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 0) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][0] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 1) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][1] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 2) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][2] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 1) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][3] + 1); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = (_parent.selectedthing.timer / 2700) * 100; } onClipEvent (enterFrame) { _xscale = (_parent.selectedthing.timer / 2700) * 100; if (_parent.selectedthing.timer >= 2700) { _parent.gotoAndStop('researchlab'); } } } frame 99 { if (selectedthing.researching == 1) { this.gotoAndStop('techhouser'); } } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 0) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][0] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 1) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][1] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 2) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][2] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 3) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][3] + 1); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = (_parent.selectedthing.timer / 2700) * 100; } onClipEvent (enterFrame) { _xscale = (_parent.selectedthing.timer / 2700) * 100; if (_parent.selectedthing.timer >= 2700) { _parent.gotoAndStop('techhouse'); } } } frame 103 { if (selectedthing.researching == 1) { this.gotoAndStop('cosmoratoryr'); } } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 0) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][0] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 1) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][1] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 3) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][2] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 3) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][3] + 1); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = (_parent.selectedthing.timer / 2700) * 100; } onClipEvent (enterFrame) { _xscale = (_parent.selectedthing.timer / 2700) * 100; if (_parent.selectedthing.timer >= 2700) { _parent.gotoAndStop('cosmoratory'); } } } frame 107 { if (selectedthing.researching == 1) { this.gotoAndStop('cosmoratoryr'); } } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 0) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][0] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 0) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][1] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 2) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][2] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 3) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][3] + 1); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = (_parent.selectedthing.timer / 2700) * 100; } onClipEvent (enterFrame) { _xscale = (_parent.selectedthing.timer / 2700) * 100; if (_parent.selectedthing.timer >= 2700) { _parent.gotoAndStop('sciencelab'); } } } frame 111 { play(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } frame 112 { if (selectedthing.training) { this.gotoAndStop('armycampt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'infantry'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('armycampt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'rocketman'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('armycampt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'flamer'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('armycampt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'commando'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('armycampt'); } } } frame 115 { play(); } frame 116 { if (selectedthing.training) { this.gotoAndStop('barrackst'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'ninja'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('barrackst'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'bomberunit'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('barrackst'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'gunner'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('barrackst'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'samurai'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('barrackst'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'jetgunner'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('barrackst'); } } } frame 119 { play(); } frame 120 { if (selectedthing.training) { this.gotoAndStop('raidersguildt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'trooper'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('raidersguildt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'raider'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('raidersguildt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'kuburai'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('raidersguildt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'siegeraider'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('raidersguildt'); } } } frame 123 { play(); } frame 124 { if (selectedthing.training) { this.gotoAndStop('machinebayt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'jeep'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('machinebayt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'lighttank'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('machinebayt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'rockettank'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('machinebayt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'bngtank'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('machinebayt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'bngbluetrigger'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('machinebayt'); } } } frame 127 { play(); } frame 128 { if (selectedthing.training) { this.gotoAndStop('assemblicont'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'rocketjeep'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('assemblicont'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'biker'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('assemblicont'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'mab'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('assemblicont'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'autocannonbear'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('assemblicont'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'earthwalker'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('assemblicont'); } } } frame 131 { play(); } frame 132 { if (selectedthing.training) { this.gotoAndStop('buildstationt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'moonstruck'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'siegeconvoy'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'triblaster'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'fuzaron'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } frame 135 { play(); } frame 136 { if (selectedthing.training) { this.gotoAndStop('buildstationt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'laserfox'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'triloblast'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'jaccruiser'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'xdarios'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } frame 139 { play(); } frame 140 { if (selectedthing.training) { this.gotoAndStop('hangart'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'assaultheli'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('hangart'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'bngfighter'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('hangart'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'bwingbomber'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('hangart'); } } } frame 143 { play(); } frame 144 { if (selectedthing.training) { this.gotoAndStop('skypadt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'dragonrider'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('skypadt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'battlepod'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('skypadt'); } } } frame 147 { play(); } frame 148 { if (selectedthing.training) { this.gotoAndStop('starportt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'missilebike'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('starportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'qwalker'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('starportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'invistotank'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('starportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'askeara'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('starportt'); } } } frame 151 { play(); } frame 152 { if (selectedthing.training) { this.gotoAndStop('galaxyportt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'smcfire'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('galaxyportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'geneson'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('galaxyportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'tiusanin'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('galaxyportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'sbm'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('galaxyportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'smcsatellite'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('galaxyportt'); } } } frame 155 { play(); } frame 156 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 159 { play(); } frame 160 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 163 { play(); } frame 164 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 167 { play(); } frame 168 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 171 { play(); } frame 172 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 175 { play(); } frame 176 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 179 { play(); } frame 180 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 183 { play(); } frame 184 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 187 { play(); } frame 188 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 191 { play(); } frame 192 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 195 { play(); } frame 196 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 199 { play(); } frame 200 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 203 { play(); } frame 204 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 207 { play(); } frame 208 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 211 { play(); } frame 212 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('armycamp'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('barracks'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('raidersguild'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('opscenter'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('machinebay'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('assemblicon'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('buildstation'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('hangar'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('skypad'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('starport'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('galaxyport'); } } } frame 279 { play(); } instance of movieClip 7476 { onClipEvent (enterFrame) { gotoAndStop(_parent.selectedthing.linkage); } } frame 280 { aistartnum = int(selectedthing.controller.recordnumber) + 1; stop(); } instance of movieClip 7238 { onClipEvent (load) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 65) { _parent.gotoAndStop(_root.startinghouse0 + 'ai'); } } } frame 281 { play(); } frame 282 { stop(); } instance of movieClip 7238 { onClipEvent (load) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } } button 7498 { on (release) { _root.cfs_indi.gotoAndPlay(3); } } button 7499 { on (release) { side = 1; mytroops = 3; for (i in _root.units[side]) { mytroops += int(_root.units[side][i].weight); } for (i in _root.shooters[side]) { mytroops += int(_root.shooters[side][i].weight); } enemytroops = 1; for (i in _root.units[1 - side]) { enemytroops += int(_root.units[1 - side][i].weight); } trace('My Troops: ' + mytroops); trace('Enemy Troops: ' + enemytroops); trace('Current situation:' + int(((mytroops - enemytroops) / enemytroops) * 100)); mylimit = -16 * _root.ailevel; if (((mytroops - enemytroops) / enemytroops) * 100 <= mylimit) { _root.gamelog += _root.commandername1 + ' surrenders.\n'; _root.gotoAndStop(_root.gamemode + 'win0'); } else { if (((mytroops - enemytroops) / enemytroops) * 100 > mylimit + 600) { _root.noway.surrendering = 'Haha, YOU should be surrendering to me...'; } else { if (((mytroops - enemytroops) / enemytroops) * 100 > mylimit + 500) { _root.noway.surrendering = 'No way, you are going down.'; } else { if (((mytroops - enemytroops) / enemytroops) * 100 > mylimit + 300) { _root.noway.surrendering = 'You can kiss my...'; } else { if (((mytroops - enemytroops) / enemytroops) * 100 > mylimit + 100) { _root.noway.surrendering = 'No. I came here to fight! And I will give you one.'; } else { if (((mytroops - enemytroops) / enemytroops) * 100 > mylimit + 10) { _root.noway.surrendering = 'NO WAY! I will not give up!'; } } } } } _root.noway.gotoAndPlay(2); } } } movieClip 7502 { frame 1 { _alpha = 0; stop(); } frame 2 { _alpha = 100; } frame 4 { _alpha = 0; } frame 6 { _alpha = 100; } frame 8 { _alpha = 0; } frame 10 { _alpha = 100; } frame 12 { _alpha = 0; } frame 14 { _alpha = 100; } frame 125 { _alpha = 100; } frame 127 { _alpha = 0; } frame 129 { _alpha = 100; } frame 131 { _alpha = 0; } frame 133 { _alpha = 100; } frame 135 { _alpha = 0; } frame 137 { _alpha = 100; } frame 139 { _alpha = 0; } } button 7507 { on (release) { _root.gamelog += _root.commandername0 + ' surrenders.\n'; _root.gotoAndStop(_root.gamemode + 'win1'); } } button 7508 { on (release) { play(); } } movieClip 7512 { frame 2 { stop(); } frame 7 { stop(); } frame 11 { stop(); } } movieClip 7514 { frame 1 { if (_name != 'bc1') { side = 1; } else { side = 0; } 1; timer = 0; bbdacounter = _root.bbdacounterstart[side]; bfacounter = _root.bfacounterstart[side]; aifunks = new Array(); aifunks[0] = function () { i = 0; while (i <= 11) { _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[0] = 90; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[1] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[2] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[3] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[4] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[5] = 0; ++i; } trace('All Stop'); }; aifunks[1] = function () { i = 0; while (i <= 11) { _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[0] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[1] = 80; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[2] = 70; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[3] = 50; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[4] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[5] = 0; ++i; } trace('All Defend'); }; aifunks[2] = function () { i = 0; while (i <= 11) { _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[0] = 50; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[1] = 50; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[2] = 50; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[3] = 50; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[4] = 50; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[5] = 50; ++i; } trace('All Neutral'); }; aifunks[3] = function () { i = 0; while (i <= 11) { _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[0] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[1] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[2] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[3] = 90; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[4] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[5] = 30; ++i; } trace('All Attack'); }; aifunks[4] = function () { i = 0; while (i <= 11) { _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[0] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[1] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[2] = 0; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[3] = 5; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[4] = 30; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[5] = 90; ++i; } trace('All Plunder'); }; aifunks[5] = function () { i = 0; while (i <= 11) { j = 0; while (j <= 5) { _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[j] = _root['ai_units' + side][i][j]; ++j; } ++i; } trace('Get default AI'); }; aifunks[6] = function () { i = 0; while (i <= 11) { _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[0] = _root['ai_units' + side][12][0]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[1] = _root['ai_units' + side][12][1]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[2] = _root['ai_units' + side][12][2]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[3] = _root['ai_units' + side][12][3]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[4] = _root['ai_units' + side][12][4]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[5] = _root['ai_units' + side][12][5]; ++i; } trace('Get C1'); }; aifunks[7] = function () { i = 0; while (i <= 11) { _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[0] = _root['ai_units' + side][13][0]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[1] = _root['ai_units' + side][13][1]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[2] = _root['ai_units' + side][13][2]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[3] = _root['ai_units' + side][13][3]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[4] = _root['ai_units' + side][13][4]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[5] = _root['ai_units' + side][13][5]; ++i; } trace('Get C2'); }; aifunks[8] = function () { i = 0; while (i <= 11) { _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[0] = _root['ai_units' + side][14][0]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[1] = _root['ai_units' + side][14][1]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[2] = _root['ai_units' + side][14][2]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[3] = _root['ai_units' + side][14][3]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[4] = _root['ai_units' + side][14][4]; _root.unitai[side][i + _root.houseadders[_root['startinghouse' + side]]].ai[5] = _root['ai_units' + side][14][5]; ++i; } trace('Get C3'); }; this.onEnterFrame = function () { if (!_root.pauser && !_root.controllers[side]) { ++timer; if (timer % ((10 - _root.ailevel) * 35 + 200 * int(_root.moneys[side] < 1000)) == 0 && !(bbdacounter > 9 && _root.shooters[side].length > 4 && _root.researches[side][0] == 1 && _root.researches[side][1] == 1 && _root.researches[side][2] == 1 && _root.researches[side][3] == 1)) { if (_root.bbda[side][bbdacounter][0] == 'buildings') { buildornot = 0; buildloop = 0; while (buildloop < 8) { buildwhat = _root.bbda[side][bbdacounter][random(_root.bbda[side][bbdacounter].length - 1) + 1]; trace('-side ' + side + 'BBDA----------\nBuild ' + buildwhat); trace('My money: ' + _root.moneys[side]); recordnumber = 0; for (i in _root.table_buildings) { if (_root.table_buildings[i].linkage == buildwhat) { recordnumber = i; break; } } trace('allocated money: ' + int((_root.allocations[side][0] / 100) * _root.moneys[side]) + ' Needed: ' + _root.table_buildings[recordnumber].price); if ((_root.builders[side].length < 3 || int((_root.allocations[side][0] / 100) * _root.moneys[side]) >= _root.table_buildings[recordnumber].price) && _root.moneys[side] >= _root.table_buildings[recordnumber].price) { enoughcash = 1; trace('Enough Cash'); } else { enoughcash = 0; trace('Not Enough Cash. *Will not build*'); } trace('Tech Level: ' + _root.techs[side] + ' Needed: ' + _root.table_buildings[recordnumber].tech); if (_root.techs[side] >= _root.table_buildings[recordnumber].tech) { enoughtech = 1; trace('Enough Tech'); } else { enoughtech = 0; trace('Not Enough Tech. *Will not build*'); if (_root.techs[side] == 0) { ++bbdacounter; if (bbdacounter > 9) { bbdacounter = random(3) + 10; } } } if (enoughcash && enoughtech) { buildornot = 1; break; } if (buildloop == 8) { trace('Looped 8 times, will not build'); } ++buildloop; } _root.screen['aipmg' + side]._width = _root.table_buildings[recordnumber].dimw; _root.screen['aipmg' + side]._height = _root.table_buildings[recordnumber].dimh; if (buildornot) { if (side == 0) { furthest = 0; for (i in _root.builders[side]) { if (_root.builders[side][i]._x > furthest) { furthest = _root.builders[side][i]._x; } } if (_root.outposts[side].length > 0) { for (i in _root.outposts[side]) { if (_root.outposts[side][i]._x > furthest) { furthest = _root.outposts[side][i]._x; } } } } else { furthest = 1000; for (i in _root.builders[side]) { if (_root.builders[side][i]._x < furthest) { furthest = _root.builders[side][i]._x; } } if (_root.outposts[side].length > 0) { for (i in _root.outposts[side]) { if (_root.outposts[side][i]._x < furthest) { furthest = _root.outposts[side][i]._x; } } } } loopcounter = 50; xadjuster = 0; do { hittestinganything = 0; if (side == 0) { if (_root.table_buildings[recordnumber].range) { _root.screen['aipmg' + side]._x = furthest + 60 - xadjuster; } else { _root.screen['aipmg' + side]._x = +xadjuster; } _root.screen['aipmg' + side]._y = random(240 - _root.screen['aipmg' + side]._height) + 56; } else { if (_root.table_buildings[recordnumber].range) { _root.screen['aipmg' + side]._x = furthest - 60 + xadjuster; } else { _root.screen['aipmg' + side]._x = 991 - _root.screen['aipmg' + side]._width - xadjuster; } _root.screen['aipmg' + side]._y = random(240 - _root.screen['aipmg' + side]._height) + 56; } for (i in _root.builders[side]) { if (_root.builders[side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } if (!hittestinganything) { for (i in _root.shooters[side]) { if (_root.shooters[side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } } if (!hittestinganything) { for (i in _root.outposts[side]) { if (_root.outposts[side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } } if (!hittestinganything) { for (i in _root.builders[1 - side]) { if (_root.builders[1 - side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } } if (!hittestinganything) { for (i in _root.shooters[1 - side]) { if (_root.shooters[1 - side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } } if (!hittestinganything) { for (i in _root.outposts[1 - side]) { if (_root.outposts[1 - side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } } xadjuster += 20 + random(30); --loopcounter; trace('Hittesting Anything: ' + hittestinganything); } while (hittestinganything && loopcounter > 0); if (!hittestinganything) { if (_root.table_buildings[recordnumber].array == 'shooters' && _root.shooters[side].length > 6) { } else { if (_root.table_buildings[recordnumber].array == 'builders' && _root.builders[side].length > 4) { } else { _root.addbuilding(side, 'building_' + buildwhat, _root.screen['aipmg' + side]._x + _root.screen['aipmg' + side]._width / 2, _root.screen['aipmg' + side]._y + _root.screen['aipmg' + side]._height, _root.table_buildings[recordnumber].array); trace('Built : ' + _root.table_buildings[recordnumber].bname + ' ' + buildwhat); _root.moneys[side] -= _root.table_buildings[recordnumber].price; } } ++bbdacounter; if (bbdacounter > 9) { bbdacounter = random(3) + 10; } } } } else { if (_root.bbda[side][bbdacounter][0] == 'research') { if (_root.researches[side][0] == 1 && _root.researches[side][1] == 1 && _root.researches[side][2] == 1 && _root.researches[side][3] == 1) { ++bbdacounter; if (bbdacounter > 9) { bbdacounter = random(3) + 10; } trace('-----------\nAll researches are done'); } else { resornot = 0; resloop = 0; while (resloop < 8) { reswhat = _root.bbda[side][bbdacounter][random(_root.bbda[side][bbdacounter].length - 1) + 1]; trace('-side ' + side + 'BBDA----------\nResearch ' + reswhat); trace('My money: ' + _root.moneys[side]); recordnumber = 0; for (i in _root.table_research) { if (_root.table_research[i].linkage == reswhat) { recordnumber = i; break; } } trace('allocated money: ' + int((_root.allocations[side][0] / 100) * _root.moneys[side]) + ' Needed: ' + _root.table_research[recordnumber].price); if ((_root.builders[side].length < 3 || int((_root.allocations[side][0] / 100) * _root.moneys[side]) >= _root.table_research[recordnumber].price) && _root.moneys[side] >= _root.table_research[recordnumber].price) { enoughcash = 1; trace('Enough Cash'); } else { enoughcash = 0; trace('Not Enough Cash. *Will not research*'); } trace('Tech Level: ' + _root.techs[side] + ' Needed: ' + _root.table_research[recordnumber].tech); if (_root.techs[side] >= _root.table_research[recordnumber].tech) { enoughtech = 1; trace('Enough Tech'); } else { enoughtech = 0; trace('Not Enough Tech. *Will not research*'); if (_root.techs[side] == 0) { ++bbdacounter; if (bbdacounter > 9) { bbdacounter = random(3) + 10; } } } trace(_root.table_research[recordnumber].linkage + ' Already researched?'); trace(_root.researches[side] + ':' + _root.researches[side][_root.table_research[recordnumber].id]); if (!_root.researches[side][_root.table_research[recordnumber].id]) { notyet = 1; trace('No, will research!'); } else { notyet = 0; trace('Already. *Will not research*'); } if (enoughcash && notyet && enoughtech) { resornot = 1; break; } if (resloop == 8) { trace('Looped 8 times, will not research'); } ++resloop; } if (resornot) { reslab = null; for (i in _root.outposts[side]) { if (_root.outposts[side][i].linkage == 'researchlab' || _root.outposts[side][i].linkage == 'techhouse' || _root.outposts[side][i].linkage == 'cosmoratory' || _root.outposts[side][i].linkage == 'sciencelab') { reslab = _root.outposts[side][i]; } } if (reslab != null && reslab.timer == 0) { trace('There is a research lab. Cash now is ' + _root.moneys[side]); reslab.researchname = _root.table_research[recordnumber].bname; reslab.researching = 1; reslab.researchwhat = _root.table_research[recordnumber].id; reslab.faction = side; _root.moneys[side] -= _root.table_research[recordnumber].price; ++bbdacounter; if (bbdacounter > 9) { bbdacounter = random(3) + 10; } trace('Research done. Cash now is ' + _root.moneys[side]); } else { trace('no lab or lab occupied. will not research'); } } } } } } if (timer % ((10 - _root.ailevel) * 45 + 10 + 200 * int(_root.moneys[side] < 1000)) == 0 && _root.bfa[side] != null && bfacounter < _root.bfa[side].length) { trace(bfacounter); buildornot = 0; buildloop = 0; while (buildloop < 8) { buildwhat = _root.bfa[side][bfacounter][random(_root.bfa[side][bfacounter].length - 1) + 1]; trace('-side ' + side + 'BFA----------\nBuild ' + buildwhat); trace('My money: ' + _root.moneys[side]); recordnumber = 0; for (i in _root.table_buildings) { if (_root.table_buildings[i].linkage == buildwhat) { recordnumber = i; break; } } trace('allocated money: ' + _root.moneys[side] + ' Needed: ' + _root.table_buildings[recordnumber].price); if (_root.moneys[side] >= _root.table_buildings[recordnumber].price) { enoughcash = 1; trace('Enough Cash'); } else { enoughcash = 0; trace('Not Enough Cash. *Will not build*'); } trace('Tech Level: ' + _root.techs[side] + ' Needed: ' + _root.table_buildings[recordnumber].tech); if (_root.techs[side] >= _root.table_buildings[recordnumber].tech) { enoughtech = 1; trace('Enough Tech'); } else { enoughtech = 0; trace('Not Enough Tech. *Will not build*'); } if (enoughcash && enoughtech) { buildornot = 1; break; } if (buildloop == 8) { trace('Looped 8 times, will not build'); } ++buildloop; } _root.screen['aipmg' + side]._width = _root.table_buildings[recordnumber].dimw; _root.screen['aipmg' + side]._height = _root.table_buildings[recordnumber].dimh; if (buildornot) { if (side == 0) { furthest = 0; for (i in _root.builders[side]) { if (_root.builders[side][i]._x > furthest) { furthest = _root.builders[side][i]._x; } } if (_root.outposts[side].length > 0) { for (i in _root.outposts[side]) { if (_root.outposts[side][i]._x > furthest) { furthest = _root.outposts[side][i]._x; } } } } else { furthest = 1000; for (i in _root.builders[side]) { if (_root.builders[side][i]._x < furthest) { furthest = _root.builders[side][i]._x; } } if (_root.outposts[side].length > 0) { for (i in _root.outposts[side]) { if (_root.outposts[side][i]._x < furthest) { furthest = _root.outposts[side][i]._x; } } } } loopcounter = 50; xadjuster = 0; do { hittestinganything = 0; if (side == 0) { if (_root.table_buildings[recordnumber].range) { _root.screen['aipmg' + side]._x = furthest + 60 - xadjuster; } else { _root.screen['aipmg' + side]._x = +xadjuster; } _root.screen['aipmg' + side]._y = random(240 - _root.screen['aipmg' + side]._height) + 56; } else { if (_root.table_buildings[recordnumber].range) { _root.screen['aipmg' + side]._x = furthest - 60 + xadjuster; } else { _root.screen['aipmg' + side]._x = 991 - _root.screen['aipmg' + side]._width - xadjuster; } _root.screen['aipmg' + side]._y = random(240 - _root.screen['aipmg' + side]._height) + 56; } for (i in _root.builders[side]) { if (_root.builders[side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } if (!hittestinganything) { for (i in _root.shooters[side]) { if (_root.shooters[side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } } if (!hittestinganything) { for (i in _root.outposts[side]) { if (_root.outposts[side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } } if (!hittestinganything) { for (i in _root.builders[1 - side]) { if (_root.builders[1 - side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } } if (!hittestinganything) { for (i in _root.shooters[1 - side]) { if (_root.shooters[1 - side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } } if (!hittestinganything) { for (i in _root.outposts[1 - side]) { if (_root.outposts[1 - side][i].det.hitTest(_root.screen['aipmg' + side])) { hittestinganything = 1; } } } xadjuster += 20 + random(30); --loopcounter; trace('Hittesting Anything: ' + hittestinganything); } while (hittestinganything && loopcounter > 0); if (!hittestinganything) { _root.addbuilding(side, 'building_' + buildwhat, _root.screen['aipmg' + side]._x + _root.screen['aipmg' + side]._width / 2, _root.screen['aipmg' + side]._y + _root.screen['aipmg' + side]._height, _root.table_buildings[recordnumber].array); trace('Built : ' + _root.table_buildings[recordnumber].bname + ' ' + buildwhat); _root.moneys[side] -= _root.table_buildings[recordnumber].price; ++bfacounter; } } } if (timer % ((10 - _root.ailevel) * 8 + 120 + 200 * int(_root.moneys[side] < 1000)) == 0 && _root.units[side].length < 20) { trace('[side ' + side + '[[[ Troop Training ]]]] - - - - - - - - - - -'); mytroops = 0; for (i in _root.units[side]) { mytroops += int(_root.units[side][i].weight); } enemytroops = _root.ailevel; for (i in _root.units[1 - side]) { enemytroops += int(_root.units[1 - side][i].weight); } for (i in _root.shooters[1 - side]) { enemytroops += int(_root.shooters[1 - side][i].weight); } trace('My Troops: ' + mytroops); trace('Enemy Troops: ' + enemytroops); trace('Aggression:' + _root.aggression[side] + ' Current situation:' + int(((mytroops - enemytroops) / enemytroops) * 100)); if (((mytroops - enemytroops) / enemytroops) * 100 <= _root.aggression[side]) { trace('[Will train troop]'); allbuilders = new Array(); for (i in _root.builders[side]) { if (_root.builders[side][i].myarray == 'builders' && _root.builders[side][i].price != 0 && _root.builders[side][i].training == 0 && _root.builders[side][i].built) { allbuilders.push(_root.builders[side][i]); } } if (allbuilders.length > 0) { thebuilder = allbuilders[random(allbuilders.length)]; trace('Build using ' + thebuilder.bname); trainornot = 0; unitloop = 0; while (unitloop < 8) { unitlinkage = thebuilder.cantrain[random(thebuilder.cantrain.length)]; trace('>>\tTry to train ' + unitlinkage); recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == unitlinkage) { recordnumber = i; break; } } trace('allocated money: ' + int((_root.allocations[side][1] / 100) * _root.moneys[side]) + ' Needed: ' + _root.table_units[recordnumber].price); if ((_root.researches[side][0] + _root.researches[side][3] + _root.researches[side][2] + _root.researches[side][1] > 2 || int((_root.allocations[side][1] / 100) * _root.moneys[side]) >= _root.table_units[recordnumber].price) && _root.moneys[side] >= _root.table_units[recordnumber].price) { enoughcash = 1; trace('Enough Cash'); } else { enoughcash = 0; trace('Not Enough Cash. *Will not train*'); } trace('Tech Level: ' + _root.techs[side] + ' Needed: ' + _root.table_units[recordnumber].tech); if (_root.techs[side] >= _root.table_units[recordnumber].tech) { enoughunittech = 1; trace('Tech level enough'); } else { enoughunittech = 0; trace('Tech level not enough. *Will not train*'); } trace('Needed research: ' + _root.table_units[recordnumber].research); resrecordnumber = 0; for (i in _root.table_research) { if (_root.table_research[i].linkage == _root.table_units[recordnumber].research) { resrecordnumber = i; break; } } trace(_root.researches[side] + ':' + _root.researches[side][_root.table_research[resrecordnumber].id]); if (_root.table_units[recordnumber].research == '' || _root.researches[side][_root.table_research[resrecordnumber].id]) { researched = 1; trace('Required research ' + _root.table_units[recordnumber].research + ' done.'); } else { researched = 0; trace('Required research ' + _root.table_units[recordnumber].research + ' undone. *will not train*'); } if (researched && enoughunittech && enoughcash) { trainornot = 1; break; } if (unitloop == 7) { trace('looped 8 times.'); } ++unitloop; } if (trainornot) { trace('Training ' + unitlinkage); _root.moneys[side] -= _root.table_units[recordnumber].price; thebuilder.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; thebuilder.unitnameintraining = _root.table_units[recordnumber].bname; thebuilder.unitmedium = _root.table_units[recordnumber].medium; thebuilder.training = _root.table_units[recordnumber].traintime; thebuilder.fulltraining = _root.table_units[recordnumber].traintime; } } } } if (timer % (_root['ai_frequency' + side] * 30 + random(10)) == 0 && _root.usecode[side]) { trace('JJJJJJ JJJJJJJJJJJJJJJJJJ JUST CHANGE ' + side); mytroopso = 0; for (i in _root.units[side]) { mytroopso += int(_root.units[side][i].weight); } enemytroopso = 1; for (i in _root.units[1 - side]) { enemytroopso += int(_root.units[1 - side][i].weight); } if (_root.shooters[1 - side].length <= 0 && ((mytroopso - enemytroopso) / enemytroopso) * 100 > 80) { aifunks[4].call(null); trace('destroy hq!'); } else { evalchoice = random(_root['ai_evalfavoring' + side][0] + _root['ai_evalfavoring' + side][1] + _root['ai_evalfavoring' + side][2] + _root['ai_evalfavoring' + side][3] + _root['ai_evalfavoring' + side][4] + _root['ai_evalfavoring' + side][5] + _root['ai_evalfavoring' + side][6]); trace('Favoring:' + _root['ai_evalfavoring' + side][0] + ' ' + _root['ai_evalfavoring' + side][1] + ' ' + _root['ai_evalfavoring' + side][2] + ' ' + _root['ai_evalfavoring' + side][3] + ' ' + _root['ai_evalfavoring' + side][4] + ' ' + _root['ai_evalfavoring' + side][5] + ' ' + _root['ai_evalfavoring' + side][6]); trace('Chosen:' + evalchoice); if (evalchoice <= _root['ai_evalfavoring' + side][0]) { trace('troops'); mytroops = 0; for (i in _root.units[side]) { mytroops += int(_root.units[side][i].weight); } enemytroops = 1; for (i in _root.units[1 - side]) { enemytroops += int(_root.units[1 - side][i].weight); } if (((mytroops - enemytroops) / enemytroops) * 100 <= -75) { aifunks[_root['ai_situations' + side][0][0]].call(null); } else { if (((mytroops - enemytroops) / enemytroops) * 100 <= -50) { aifunks[_root['ai_situations' + side][0][1]].call(null); } else { if (((mytroops - enemytroops) / enemytroops) * 100 <= -25) { aifunks[_root['ai_situations' + side][0][2]].call(null); } else { if (((mytroops - enemytroops) / enemytroops) * 100 < 0) { aifunks[_root['ai_situations' + side][0][3]].call(null); } else { if (((mytroops - enemytroops) / enemytroops) * 100 == 0) { aifunks[_root['ai_situations' + side][0][4]].call(null); } else { if (((mytroops - enemytroops) / enemytroops) * 100 <= 25) { aifunks[_root['ai_situations' + side][0][5]].call(null); } else { if (((mytroops - enemytroops) / enemytroops) * 100 <= 50) { aifunks[_root['ai_situations' + side][0][6]].call(null); } else { if (((mytroops - enemytroops) / enemytroops) * 100 <= 75) { aifunks[_root['ai_situations' + side][0][7]].call(null); } else { aifunks[_root['ai_situations' + side][0][8]].call(null); } } } } } } } } } else { if (evalchoice <= _root['ai_evalfavoring' + side][0] + _root['ai_evalfavoring' + side][1]) { trace('buildings hp'); totalbhp = 0; bhp = 0; for (i in _root.builders[side]) { if (!_root.builders[side][i].fullhp) { } else { totalbhp += _root.builders[side][i].fullhp; } null; if (!_root.builders[side][i].hp) { } else { bhp += _root.builders[side][i].hp; } null; } for (i in _root.outposts[side]) { if (!_root.outposts[side][i].fullhp) { } else { totalbhp += _root.outposts[side][i].fullhp; } null; if (!_root.outposts[side][i].hp) { } else { bhp += _root.outposts[side][i].hp; } null; } for (i in _root.shooters[side]) { if (!_root.shooters[side][i].fullhp) { } else { totalbhp += _root.shooters[side][i].fullhp; } null; if (!_root.shooters[side][i].hp) { } else { bhp += _root.shooters[side][i].hp; } null; } if (bhp / totalhp < 0.25) { aifunks[_root['ai_situations' + side][1][0]].call(null); } else { if (bhp / totalhp < 0.55) { aifunks[_root['ai_situations' + side][1][1]].call(null); } else { if (bhp / totalhp < 0.75) { aifunks[_root['ai_situations' + side][1][2]].call(null); } else { aifunks[_root['ai_situations' + side][1][3]].call(null); } } } } else { if (evalchoice <= _root['ai_evalfavoring' + side][0] + _root['ai_evalfavoring' + side][1] + _root['ai_evalfavoring' + side][2]) { trace('Enemy buildings hp'); totalbhp = 0; bhp = 0; for (i in _root.builders[1 - side]) { if (!_root.builders[1 - side][i].fullhp) { } else { totalbhp += _root.builders[1 - side][i].fullhp; } null; if (!_root.builders[1 - side][i].hp) { } else { bhp += _root.builders[1 - side][i].hp; } null; } for (i in _root.outposts[1 - side]) { if (!_root.outposts[1 - side][i].fullhp) { } else { totalbhp += _root.outposts[1 - side][i].fullhp; } null; if (!_root.outposts[1 - side][i].hp) { } else { bhp += _root.outposts[1 - side][i].hp; } null; } for (i in _root.shooters[1 - side]) { if (!_root.shooters[1 - side][i].fullhp) { } else { totalbhp += _root.shooters[1 - side][i].fullhp; } null; if (!_root.shooters[1 - side][i].hp) { } else { bhp += _root.shooters[1 - side][i].hp; } null; } if (bhp / totalhp < 0.25) { aifunks[_root['ai_situations' + side][2][0]].call(null); } else { if (bhp / totalhp < 0.5) { aifunks[_root['ai_situations' + side][2][1]].call(null); } else { if (bhp / totalhp < 0.75) { aifunks[_root['ai_situations' + side][2][2]].call(null); } else { aifunks[_root['ai_situations' + side][2][3]].call(null); } } } } else { if (evalchoice <= _root['ai_evalfavoring' + side][0] + _root['ai_evalfavoring' + side][1] + _root['ai_evalfavoring' + side][2] + _root['ai_evalfavoring' + side][3]) { trace('hq hp'); totalbhp = _root.hqs[side].fullhp; bhp = _root.hqs[side].hp; if (bhp / totalhp < 0.25) { aifunks[_root['ai_situations' + side][3][0]].call(null); } else { if (bhp / totalhp < 0.5) { aifunks[_root['ai_situations' + side][3][1]].call(null); } else { if (bhp / totalhp < 0.75) { aifunks[_root['ai_situations' + side][3][2]].call(null); } else { aifunks[_root['ai_situations' + side][3][3]].call(null); } } } } else { if (evalchoice <= _root['ai_evalfavoring' + side][0] + _root['ai_evalfavoring' + side][1] + _root['ai_evalfavoring' + side][2] + _root['ai_evalfavoring' + side][3] + _root['ai_evalfavoring' + side][4]) { trace('enemy hq hp'); totalbhp = _root.hqs[1 - side].fullhp; bhp = _root.hqs[1 - side].hp; if (bhp / totalhp < 0.25) { aifunks[_root['ai_situations' + side][4][0]].call(null); } else { if (bhp / totalhp < 0.5) { aifunks[_root['ai_situations' + side][4][1]].call(null); } else { if (bhp / totalhp < 0.75) { aifunks[_root['ai_situations' + side][4][2]].call(null); } else { aifunks[_root['ai_situations' + side][4][3]].call(null); } } } } else { if (evalchoice <= _root['ai_evalfavoring' + side][0] + _root['ai_evalfavoring' + side][1] + _root['ai_evalfavoring' + side][2] + _root['ai_evalfavoring' + side][3] + _root['ai_evalfavoring' + side][4] + _root['ai_evalfavoring' + side][5]) { trace('towers count'); towers = _root.shooters[side].length; if (towers > 3) { aifunks[_root['ai_situations' + side][5][2]].call(null); } else { if (towers > 0) { aifunks[_root['ai_situations' + side][5][1]].call(null); } else { aifunks[_root['ai_situations' + side][5][0]].call(null); } } } else { trace('enemy towers count'); towers = _root.shooters[1 - side].length; if (towers > 3) { aifunks[_root['ai_situations' + side][6][2]].call(null); } else { if (towers > 0) { aifunks[_root['ai_situations' + side][6][1]].call(null); } else { aifunks[_root['ai_situations' + side][6][0]].call(null); } } } } } } } } } } } }; } } movieClip 7516 { frame 1 { _alpha = 0; this.onEnterFrame = function () { if (!_root.pauser) { ++_root.gametimer; i = 0; while (i <= 1) { if (_root.winmode[i] == 0) { if (_root.winvars[i].hp <= 0) { _root.gotoAndStop(_root.gamemode + 'win' + (1 - i)); } } else { if (_root.winmode[i] == 1) { if (_root.winvars[i].destroyed) { _root.gotoAndStop(_root.gamemode + 'win' + (1 - i)); } } else { if (_root.winmode[i] == 2) { if (_root.units[i].length <= 0) { _root.gotoAndStop(_root.gamemode + 'win' + (1 - i)); } } else { if (_root.winmode[i] == 3) { if (_root.builders[i].length + _root.shooters[i].length + _root.outposts[i].length <= 0) { _root.gotoAndStop(_root.gamemode + 'win' + (1 - i)); } } } } } ++i; } if (_root.gametimer % 150 == 0) { if (int(_root.iFPS.fps) >= 21) { _root._quality = 'MEDIUM'; } else { _root._quality = 'LOW'; } 'MEDIUM'; } } }; } } movieClip 7518 { } movieClip 7520 { frame 1 { var time; var frameTime; var prevFrameTime = getTimer(); var secondTime; var prevSecondTime = getTimer(); var frames = 0; var fps = '...'; } frame 2 { time = getTimer(); frameTime = time - prevFrameTime; secondTime = time - prevSecondTime; if (secondTime >= 1000) { fps = frames.toString(); if (VERBOSE) { trace('FPS: ' + fps); } frames = 0; prevSecondTime = time; } else { ++frames; } prevFrameTime = time; tf.text = fps + ' FPS / ' + frameTime + ' MS'; iBar._xscale -= (iBar._xscale - frameTime * 5) / 5; } frame 3 { gotoAndPlay(2); } } instance iFPS of movieClip 7520 { onClipEvent (load) { } } frame 83 { } frame 84 { _root.gotoAndStop('ski'); } frame 85 { stop(); } frame 86 { _root.gotoAndStop('ski'); } frame 87 { _quality = 'HIGH'; winner = 0; _root.gamelog += _root['commandername' + winner] + ' is victorious.\n'; pauser = 1; battledetails = '::: ' + _root['commandername' + winner] + ' Wins :::\n\n'; battledetails += '[' + _root.commandername0 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[0] + '\n'; battledetails += 'Units Released: ' + unitsreleased[0] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[0] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[0] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[0] + '\n\n'; battledetails += '[' + _root.commandername1 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[1] + '\n'; battledetails += 'Units Released: ' + unitsreleased[1] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[1] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[1] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[1] + '\n\n'; stop(); } movieClip 7525 { frame 208 { _root.gotoAndStop(_root.gamemode + 'wininfo' + _root.winner); stop(); } } movieClip 7534 { frame 64 { stop(); } } frame 88 { _quality = 'HIGH'; winner = 1; _root.gamelog += _root['commandername' + winner] + ' is victorious.\n'; pauser = 1; battledetails = '::: ' + _root['commandername' + winner] + ' Wins :::\n\n'; battledetails += '[' + _root.commandername0 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[0] + '\n'; battledetails += 'Units Released: ' + unitsreleased[0] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[0] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[0] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[0] + '\n\n'; battledetails += '[' + _root.commandername1 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[1] + '\n'; battledetails += 'Units Released: ' + unitsreleased[1] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[1] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[1] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[1] + '\n\n'; stop(); } frame 89 { whovswho = _root.commandername0 + ' vs ' + _root.commandername1; while (wvwtext.text.indexOf('_') != -1) { wvwtext.replaceText(wvwtext.text.indexOf('_'), wvwtext.text.indexOf('_') + 1, ' '); } battledetails2 = ''; stop(); } movieClip 7539 { frame 1 { timer = 0; textlength = 1; newtext = ''; this.onEnterFrame = function () { if (textlength <= thetext.length) { ++timer; if (timer % tick == 0) { newtext = thetext.slice(0, textlength); if (textlength + multiple > thetext.length) { textlength += thetext.length - textlength; } else { textlength += multiple; } _parent[textvar] = newtext; } } }; } } instance of movieClip 7539 { onClipEvent (load) { textvar = 'battledetails2'; thetext = _parent.battledetails; tick = 1; multiple = 1; } } button 7545 { on (release) { stopAllSounds(); _root.gotoAndStop('mainmenu'); } } frame 90 { whovswho = _root.commandername0 + ' vs ' + _root.commandername1; while (wvwtext.text.indexOf('_') != -1) { wvwtext.replaceText(wvwtext.text.indexOf('_'), wvwtext.text.indexOf('_') + 1, ' '); } battledetails2 = ''; stop(); } frame 91 { play(); } frame 92 { function addbuilding(faction, linkage, xx, yy, array) { thebuilding = screen.attachMovie(linkage, array + faction + '_' + random(9999999), xx + yy * screen._width); thebuilding.faction = faction; thebuilding.id = _root[array][faction].length; thebuilding.linkage = linkage.substr(linkage.indexOf('_') + 1, linkage.length - linkage.indexOf('_') - 1); thebuilding._x = xx; thebuilding._y = yy; thebuilding.myarray = array; thebuilding._root[array][faction].push(thebuilding); } function unitready(faction, linkage, xx, yy, array, medium) { mediums = {'l': 'screen', 's': 'sky'}; theunit = _root[mediums[medium]].attachMovie(linkage, array + faction + '_' + random(9999999), xx + yy * _root[mediums[medium]]._width); theunit.faction = faction; theunit.id = _root[array][faction].length; theunit.linkage = linkage.substr(linkage.indexOf('_') + 1, linkage.length - linkage.indexOf('_') - 1); theunit._x = xx; theunit._y = yy; theunit.myarray = array; theunit._root[array][faction].push(theunit); } function re_id(whatarray) { for (i in whatarray) { if (whatarray[i].myarray == undefined) { whatarray.splice(i, 1); } } for (i in whatarray) { whatarray[i].id = i; } } pauser = 1; gamemode = 'conqueror'; gametimer = 0; builders = [new Array(), new Array()]; shooters = [new Array(), new Array()]; units = [new Array(), new Array()]; outposts = [new Array(), new Array()]; effects = []; damagers = []; hqs = new Array(); if (conq_players[theturn].pname == conqname) { moneys = [cashforattack, cashfordefense]; coloros = [startingcolor0, conq_players[defendernumber].pcolor]; wbaic_input0 = conq_players[theturn].pwbaic; wbaic_input1 = conq_players[defendernumber].pwbaic; startinghouse1 = conq_players[defendernumber].phouse; } else { moneys = [cashfordefense, cashforattack]; coloros = [startingcolor0, conq_players[theturn].pcolor]; wbaic_input1 = conq_players[theturn].pwbaic; wbaic_input0 = conq_players[theturn].pwbaic; startinghouse1 = conq_players[theturn].phouse; } researches = [[conq_divs[attackwhichnumber].researchlevels, conq_divs[attackwhichnumber].researchlevels, conq_divs[attackwhichnumber].researchlevels, conq_divs[attackwhichnumber].researchlevels], [conq_divs[attackwhichnumber].researchlevels, conq_divs[attackwhichnumber].researchlevels, conq_divs[attackwhichnumber].researchlevels, conq_divs[attackwhichnumber].researchlevels]]; techs = [conq_divs[attackwhichnumber].techlevel, conq_divs[attackwhichnumber].techlevel]; _root.techlevel_s = conq_divs[attackwhichnumber].techlevel; controllers = [1, 0]; ailevel = ailevel_s; moneys[1] += int(moneys[1] / (10 - ailevel)); allocations = [[50, 50], [50, 50]]; aggression = [0, 100]; bbda = [bbda_bng, bbda_bng]; bbdacounterstart = [0, 0]; bfa = [bfa_bng[0], bfa_bng[0]]; bfacounterstart = [0, 0]; startinghouse0 = conqhouse; aggression[0] = int(wbaic_input0.substr(221, 2)); allocations[0] = [int(wbaic_input0.substr(223, 2)), int(wbaic_input0.substr(225, 2))]; bbda[0] = _root['bbda_' + startinghouse0]; bfa[0] = _root['bfa_' + startinghouse0][int(wbaic_input0.substr(227, 1))]; commandername0 = conqname; aggression[1] = int(wbaic_input1.substr(221, 2)); allocations[1] = [int(wbaic_input1.substr(223, 2)), int(wbaic_input1.substr(225, 2))]; bbda[1] = _root['bbda_' + startinghouse1]; bfa[1] = _root['bfa_' + startinghouse1][int(wbaic_input1.substr(227, 1))]; commandername1 = wbaic_input1.substr(232, wbaic_input1.length); trace(startinghouse1 + '.............' + int(wbaic_input1.substr(227, 1)) + '\n'); trace(bbda[1] + '\n'); trace(bfa[1]); usecode = [1, 1]; usecode[0] = int(wbaic_input0.substr(228, 1)); usecode[1] = int(wbaic_input1.substr(228, 1)); houseadders = {'bng': 0, 'mf': 13, 'jac': 25, 'smc': 37}; unitai = [new Array(), new Array()]; unitai[0].push({'linkage': 'infantry', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[0].push({'linkage': 'rocketman', 'ai': [20, 60, 80, 30, 20, 10]}); unitai[0].push({'linkage': 'flamer', 'ai': [50, 60, 90, 75, 10, 0]}); unitai[0].push({'linkage': 'commando', 'ai': [30, 10, 80, 85, 0, 0]}); unitai[0].push({'linkage': 'jeep', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[0].push({'linkage': 'lighttank', 'ai': [0, 0, 0, 90, 50, 50]}); unitai[0].push({'linkage': 'bngtank', 'ai': [10, 10, 20, 80, 70, 35]}); unitai[0].push({'linkage': 'rockettank', 'ai': [10, 60, 80, 30, 20, 10]}); unitai[0].push({'linkage': 'bngbluetrigger', 'ai': [10, 10, 20, 20, 20, 20]}); unitai[0].push({'linkage': 'assaultheli', 'ai': [10, 3, 5, 60, 10, 10]}); unitai[0].push({'linkage': 'bngfighter', 'ai': [10, 40, 30, 60, 35, 25]}); unitai[0].push({'linkage': 'bwingbomber', 'ai': [10, 0, 0, 20, 95, 80]}); unitai[0].push({'linkage': 'all', 'ai': [50, 50, 50, 50, 50, 50]}); unitai[0].push({'linkage': 'ninja', 'ai': [10, 50, 50, 10, 0, 0]}); unitai[0].push({'linkage': 'bomberunit', 'ai': [0, 20, 30, 50, 0, 3]}); unitai[0].push({'linkage': 'gunner', 'ai': [10, 10, 20, 10, 0, 0]}); unitai[0].push({'linkage': 'samurai', 'ai': [10, 10, 60, 5, 5, 0]}); unitai[0].push({'linkage': 'jetgunner', 'ai': [5, 15, 30, 0, 0, 0]}); unitai[0].push({'linkage': 'rocketjeep', 'ai': [3, 10, 10, 60, 0, 5]}); unitai[0].push({'linkage': 'biker', 'ai': [30, 40, 35, 50, 10, 0]}); unitai[0].push({'linkage': 'mab', 'ai': [5, 30, 65, 15, 5, 5]}); unitai[0].push({'linkage': 'autocannonbear', 'ai': [5, 20, 50, 50, 50, 50]}); unitai[0].push({'linkage': 'earthwalker', 'ai': [3, 55, 70, 60, 0, 0]}); unitai[0].push({'linkage': 'dragonrider', 'ai': [10, 10, 20, 90, 50, 30]}); unitai[0].push({'linkage': 'battlepod', 'ai': [5, 10, 20, 30, 30, 5]}); unitai[0].push({'linkage': 'trooper', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[0].push({'linkage': 'raider', 'ai': [0, 40, 40, 30, 0, 0]}); unitai[0].push({'linkage': 'kuburai', 'ai': [10, 60, 20, 10, 0, 0]}); unitai[0].push({'linkage': 'siegeraider', 'ai': [5, 50, 60, 50, 20, 10]}); unitai[0].push({'linkage': 'moonstruck', 'ai': [15, 30, 60, 60, 0, 5]}); unitai[0].push({'linkage': 'siegeconvoy', 'ai': [30, 40, 50, 70, 25, 15]}); unitai[0].push({'linkage': 'triblaster', 'ai': [0, 40, 40, 40, 0, 0]}); unitai[0].push({'linkage': 'fuzaron', 'ai': [15, 60, 20, 10, 0, 10]}); unitai[0].push({'linkage': 'laserfox', 'ai': [5, 70, 70, 20, 0, 0]}); unitai[0].push({'linkage': 'triloblast', 'ai': [5, 50, 60, 50, 10, 30]}); unitai[0].push({'linkage': 'jaccruiser', 'ai': [0, 80, 60, 40, 0, 0]}); unitai[0].push({'linkage': 'xdarios', 'ai': [0, 0, 90, 80, 0, 30]}); unitai[0].push({'linkage': 'battleunit', 'ai': [10, 20, 40, 50, 0, 2]}); unitai[0].push({'linkage': 'flashsamurai', 'ai': [10, 80, 60, 30, 10, 10]}); unitai[0].push({'linkage': 'particca', 'ai': [10, 50, 50, 20, 0, 0]}); unitai[0].push({'linkage': 'missilebike', 'ai': [0, 20, 80, 45, 0, 5]}); unitai[0].push({'linkage': 'qwalker', 'ai': [0, 30, 70, 60, 10, 5]}); unitai[0].push({'linkage': 'invistotank', 'ai': [30, 50, 50, 10, 0, 5]}); unitai[0].push({'linkage': 'askeara', 'ai': [5, 50, 80, 30, 20, 20]}); unitai[0].push({'linkage': 'smcfire', 'ai': [0, 35, 40, 80, 0, 20]}); unitai[0].push({'linkage': 'geneson', 'ai': [20, 90, 90, 80, 3, 21]}); unitai[0].push({'linkage': 'tiusanin', 'ai': [0, 30, 20, 10, 0, 0]}); unitai[0].push({'linkage': 'sbm', 'ai': [0, 30, 20, 5, 0, 0]}); unitai[0].push({'linkage': 'smcsatellite', 'ai': [0, 20, 30, 50, 10, 30]}); unitai[1].push({'linkage': 'infantry', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[1].push({'linkage': 'rocketman', 'ai': [20, 60, 80, 30, 20, 10]}); unitai[1].push({'linkage': 'flamer', 'ai': [50, 60, 90, 75, 10, 0]}); unitai[1].push({'linkage': 'commando', 'ai': [30, 10, 80, 85, 0, 0]}); unitai[1].push({'linkage': 'jeep', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[1].push({'linkage': 'lighttank', 'ai': [0, 0, 0, 90, 50, 50]}); unitai[1].push({'linkage': 'bngtank', 'ai': [10, 10, 20, 80, 70, 35]}); unitai[1].push({'linkage': 'rockettank', 'ai': [10, 60, 80, 30, 20, 10]}); unitai[1].push({'linkage': 'bngbluetrigger', 'ai': [10, 10, 20, 20, 20, 20]}); unitai[1].push({'linkage': 'assaultheli', 'ai': [10, 3, 5, 60, 90, 80]}); unitai[1].push({'linkage': 'bngfighter', 'ai': [10, 40, 30, 60, 35, 25]}); unitai[1].push({'linkage': 'bwingbomber', 'ai': [10, 0, 0, 20, 95, 80]}); unitai[1].push({'linkage': 'all', 'ai': [50, 50, 50, 50, 50, 50]}); unitai[1].push({'linkage': 'ninja', 'ai': [10, 50, 50, 10, 0, 0]}); unitai[1].push({'linkage': 'bomberunit', 'ai': [0, 20, 30, 50, 0, 3]}); unitai[1].push({'linkage': 'gunner', 'ai': [10, 10, 20, 10, 0, 0]}); unitai[1].push({'linkage': 'samurai', 'ai': [10, 10, 60, 5, 5, 0]}); unitai[1].push({'linkage': 'jetgunner', 'ai': [5, 15, 30, 0, 0, 0]}); unitai[1].push({'linkage': 'rocketjeep', 'ai': [3, 10, 10, 60, 0, 5]}); unitai[1].push({'linkage': 'biker', 'ai': [30, 40, 35, 50, 10, 0]}); unitai[1].push({'linkage': 'mab', 'ai': [5, 30, 65, 15, 5, 5]}); unitai[1].push({'linkage': 'autocannonbear', 'ai': [5, 20, 50, 50, 50, 50]}); unitai[1].push({'linkage': 'earthwalker', 'ai': [3, 55, 70, 60, 0, 0]}); unitai[1].push({'linkage': 'dragonrider', 'ai': [10, 10, 20, 90, 50, 30]}); unitai[1].push({'linkage': 'battlepod', 'ai': [5, 10, 20, 30, 30, 5]}); unitai[1].push({'linkage': 'trooper', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[1].push({'linkage': 'raider', 'ai': [0, 40, 40, 30, 0, 0]}); unitai[1].push({'linkage': 'kuburai', 'ai': [10, 60, 20, 10, 0, 0]}); unitai[1].push({'linkage': 'siegeraider', 'ai': [5, 50, 60, 50, 20, 10]}); unitai[1].push({'linkage': 'moonstruck', 'ai': [15, 30, 60, 60, 0, 5]}); unitai[1].push({'linkage': 'siegeconvoy', 'ai': [30, 40, 50, 70, 25, 15]}); unitai[1].push({'linkage': 'triblaster', 'ai': [0, 40, 40, 40, 0, 0]}); unitai[1].push({'linkage': 'fuzaron', 'ai': [15, 60, 20, 10, 0, 10]}); unitai[1].push({'linkage': 'laserfox', 'ai': [5, 70, 70, 20, 0, 0]}); unitai[1].push({'linkage': 'triloblast', 'ai': [5, 50, 60, 50, 10, 30]}); unitai[1].push({'linkage': 'jaccruiser', 'ai': [0, 80, 60, 40, 0, 0]}); unitai[1].push({'linkage': 'xdarios', 'ai': [0, 0, 90, 80, 0, 30]}); unitai[1].push({'linkage': 'battleunit', 'ai': [10, 20, 40, 50, 0, 2]}); unitai[1].push({'linkage': 'flashsamurai', 'ai': [10, 80, 60, 30, 10, 10]}); unitai[1].push({'linkage': 'particca', 'ai': [10, 50, 50, 20, 0, 0]}); unitai[1].push({'linkage': 'missilebike', 'ai': [0, 20, 80, 45, 0, 5]}); unitai[1].push({'linkage': 'qwalker', 'ai': [0, 30, 70, 60, 10, 5]}); unitai[1].push({'linkage': 'invistotank', 'ai': [30, 50, 50, 10, 0, 5]}); unitai[1].push({'linkage': 'askeara', 'ai': [5, 50, 80, 30, 20, 20]}); unitai[1].push({'linkage': 'smcfire', 'ai': [0, 35, 40, 80, 0, 20]}); unitai[1].push({'linkage': 'geneson', 'ai': [20, 90, 90, 80, 3, 21]}); unitai[1].push({'linkage': 'tiusanin', 'ai': [0, 30, 20, 10, 0, 0]}); unitai[1].push({'linkage': 'sbm', 'ai': [0, 30, 20, 5, 0, 0]}); unitai[1].push({'linkage': 'smcsatellite', 'ai': [0, 20, 30, 50, 10, 30]}); ai_units0 = new Array(); ai_units0.push([int(wbaic_input0.substr(1, 2)), int(wbaic_input0.substr(3, 2)), int(wbaic_input0.substr(5, 2)), int(wbaic_input0.substr(7, 2)), int(wbaic_input0.substr(9, 2)), int(wbaic_input0.substr(11, 2))]); ai_units0.push([int(wbaic_input0.substr(13, 2)), int(wbaic_input0.substr(15, 2)), int(wbaic_input0.substr(17, 2)), int(wbaic_input0.substr(19, 2)), int(wbaic_input0.substr(21, 2)), int(wbaic_input0.substr(23, 2))]); ai_units0.push([int(wbaic_input0.substr(25, 2)), int(wbaic_input0.substr(27, 2)), int(wbaic_input0.substr(29, 2)), int(wbaic_input0.substr(31, 2)), int(wbaic_input0.substr(33, 2)), int(wbaic_input0.substr(35, 2))]); ai_units0.push([int(wbaic_input0.substr(37, 2)), int(wbaic_input0.substr(39, 2)), int(wbaic_input0.substr(41, 2)), int(wbaic_input0.substr(43, 2)), int(wbaic_input0.substr(45, 2)), int(wbaic_input0.substr(47, 2))]); ai_units0.push([int(wbaic_input0.substr(49, 2)), int(wbaic_input0.substr(51, 2)), int(wbaic_input0.substr(53, 2)), int(wbaic_input0.substr(55, 2)), int(wbaic_input0.substr(57, 2)), int(wbaic_input0.substr(59, 2))]); ai_units0.push([int(wbaic_input0.substr(61, 2)), int(wbaic_input0.substr(63, 2)), int(wbaic_input0.substr(65, 2)), int(wbaic_input0.substr(67, 2)), int(wbaic_input0.substr(69, 2)), int(wbaic_input0.substr(71, 2))]); ai_units0.push([int(wbaic_input0.substr(73, 2)), int(wbaic_input0.substr(75, 2)), int(wbaic_input0.substr(77, 2)), int(wbaic_input0.substr(79, 2)), int(wbaic_input0.substr(81, 2)), int(wbaic_input0.substr(83, 2))]); ai_units0.push([int(wbaic_input0.substr(85, 2)), int(wbaic_input0.substr(87, 2)), int(wbaic_input0.substr(89, 2)), int(wbaic_input0.substr(91, 2)), int(wbaic_input0.substr(93, 2)), int(wbaic_input0.substr(95, 2))]); ai_units0.push([int(wbaic_input0.substr(97, 2)), int(wbaic_input0.substr(99, 2)), int(wbaic_input0.substr(101, 2)), int(wbaic_input0.substr(103, 2)), int(wbaic_input0.substr(105, 2)), int(wbaic_input0.substr(107, 2))]); ai_units0.push([int(wbaic_input0.substr(109, 2)), int(wbaic_input0.substr(111, 2)), int(wbaic_input0.substr(113, 2)), int(wbaic_input0.substr(115, 2)), int(wbaic_input0.substr(117, 2)), int(wbaic_input0.substr(119, 2))]); ai_units0.push([int(wbaic_input0.substr(121, 2)), int(wbaic_input0.substr(123, 2)), int(wbaic_input0.substr(125, 2)), int(wbaic_input0.substr(127, 2)), int(wbaic_input0.substr(129, 2)), int(wbaic_input0.substr(131, 2))]); ai_units0.push([int(wbaic_input0.substr(133, 2)), int(wbaic_input0.substr(135, 2)), int(wbaic_input0.substr(137, 2)), int(wbaic_input0.substr(139, 2)), int(wbaic_input0.substr(141, 2)), int(wbaic_input0.substr(143, 2))]); ai_units0.push([int(wbaic_input0.substr(145, 2)), int(wbaic_input0.substr(147, 2)), int(wbaic_input0.substr(149, 2)), int(wbaic_input0.substr(151, 2)), int(wbaic_input0.substr(153, 2)), int(wbaic_input0.substr(155, 2))]); ai_units0.push([int(wbaic_input0.substr(157, 2)), int(wbaic_input0.substr(159, 2)), int(wbaic_input0.substr(161, 2)), int(wbaic_input0.substr(163, 2)), int(wbaic_input0.substr(165, 2)), int(wbaic_input0.substr(167, 2))]); ai_units0.push([int(wbaic_input0.substr(169, 2)), int(wbaic_input0.substr(171, 2)), int(wbaic_input0.substr(173, 2)), int(wbaic_input0.substr(175, 2)), int(wbaic_input0.substr(177, 2)), int(wbaic_input0.substr(179, 2))]); ai_units1 = new Array(); ai_units1.push([int(wbaic_input1.substr(1, 2)), int(wbaic_input1.substr(3, 2)), int(wbaic_input1.substr(5, 2)), int(wbaic_input1.substr(7, 2)), int(wbaic_input1.substr(9, 2)), int(wbaic_input1.substr(11, 2))]); ai_units1.push([int(wbaic_input1.substr(13, 2)), int(wbaic_input1.substr(15, 2)), int(wbaic_input1.substr(17, 2)), int(wbaic_input1.substr(19, 2)), int(wbaic_input1.substr(21, 2)), int(wbaic_input1.substr(23, 2))]); ai_units1.push([int(wbaic_input1.substr(25, 2)), int(wbaic_input1.substr(27, 2)), int(wbaic_input1.substr(29, 2)), int(wbaic_input1.substr(31, 2)), int(wbaic_input1.substr(33, 2)), int(wbaic_input1.substr(35, 2))]); ai_units1.push([int(wbaic_input1.substr(37, 2)), int(wbaic_input1.substr(39, 2)), int(wbaic_input1.substr(41, 2)), int(wbaic_input1.substr(43, 2)), int(wbaic_input1.substr(45, 2)), int(wbaic_input1.substr(47, 2))]); ai_units1.push([int(wbaic_input1.substr(49, 2)), int(wbaic_input1.substr(51, 2)), int(wbaic_input1.substr(53, 2)), int(wbaic_input1.substr(55, 2)), int(wbaic_input1.substr(57, 2)), int(wbaic_input1.substr(59, 2))]); ai_units1.push([int(wbaic_input1.substr(61, 2)), int(wbaic_input1.substr(63, 2)), int(wbaic_input1.substr(65, 2)), int(wbaic_input1.substr(67, 2)), int(wbaic_input1.substr(69, 2)), int(wbaic_input1.substr(71, 2))]); ai_units1.push([int(wbaic_input1.substr(73, 2)), int(wbaic_input1.substr(75, 2)), int(wbaic_input1.substr(77, 2)), int(wbaic_input1.substr(79, 2)), int(wbaic_input1.substr(81, 2)), int(wbaic_input1.substr(83, 2))]); ai_units1.push([int(wbaic_input1.substr(85, 2)), int(wbaic_input1.substr(87, 2)), int(wbaic_input1.substr(89, 2)), int(wbaic_input1.substr(91, 2)), int(wbaic_input1.substr(93, 2)), int(wbaic_input1.substr(95, 2))]); ai_units1.push([int(wbaic_input1.substr(97, 2)), int(wbaic_input1.substr(99, 2)), int(wbaic_input1.substr(101, 2)), int(wbaic_input1.substr(103, 2)), int(wbaic_input1.substr(105, 2)), int(wbaic_input1.substr(107, 2))]); ai_units1.push([int(wbaic_input1.substr(109, 2)), int(wbaic_input1.substr(111, 2)), int(wbaic_input1.substr(113, 2)), int(wbaic_input1.substr(115, 2)), int(wbaic_input1.substr(117, 2)), int(wbaic_input1.substr(119, 2))]); ai_units1.push([int(wbaic_input1.substr(121, 2)), int(wbaic_input1.substr(123, 2)), int(wbaic_input1.substr(125, 2)), int(wbaic_input1.substr(127, 2)), int(wbaic_input1.substr(129, 2)), int(wbaic_input1.substr(131, 2))]); ai_units1.push([int(wbaic_input1.substr(133, 2)), int(wbaic_input1.substr(135, 2)), int(wbaic_input1.substr(137, 2)), int(wbaic_input1.substr(139, 2)), int(wbaic_input1.substr(141, 2)), int(wbaic_input1.substr(143, 2))]); ai_units1.push([int(wbaic_input1.substr(145, 2)), int(wbaic_input1.substr(147, 2)), int(wbaic_input1.substr(149, 2)), int(wbaic_input1.substr(151, 2)), int(wbaic_input1.substr(153, 2)), int(wbaic_input1.substr(155, 2))]); ai_units1.push([int(wbaic_input1.substr(157, 2)), int(wbaic_input1.substr(159, 2)), int(wbaic_input1.substr(161, 2)), int(wbaic_input1.substr(163, 2)), int(wbaic_input1.substr(165, 2)), int(wbaic_input1.substr(167, 2))]); ai_units1.push([int(wbaic_input1.substr(169, 2)), int(wbaic_input1.substr(171, 2)), int(wbaic_input1.substr(173, 2)), int(wbaic_input1.substr(175, 2)), int(wbaic_input1.substr(177, 2)), int(wbaic_input1.substr(179, 2))]); ai_situations0 = new Array(); ai_situations0.push([int(wbaic_input0.substr(181, 1)), int(wbaic_input0.substr(182, 1)), int(wbaic_input0.substr(183, 1)), int(wbaic_input0.substr(184, 1)), int(wbaic_input0.substr(185, 1)), int(wbaic_input0.substr(186, 1)), int(wbaic_input0.substr(187, 1)), int(wbaic_input0.substr(188, 1)), int(wbaic_input0.substr(189, 1))]); ai_situations0.push([int(wbaic_input0.substr(190, 1)), int(wbaic_input0.substr(191, 1)), int(wbaic_input0.substr(192, 1)), int(wbaic_input0.substr(193, 1))]); ai_situations0.push([int(wbaic_input0.substr(194, 1)), int(wbaic_input0.substr(195, 1)), int(wbaic_input0.substr(196, 1)), int(wbaic_input0.substr(197, 1))]); ai_situations0.push([int(wbaic_input0.substr(198, 1)), int(wbaic_input0.substr(199, 1)), int(wbaic_input0.substr(200, 1)), int(wbaic_input0.substr(201, 1))]); ai_situations0.push([int(wbaic_input0.substr(202, 1)), int(wbaic_input0.substr(203, 1)), int(wbaic_input0.substr(204, 1)), int(wbaic_input0.substr(205, 1))]); ai_situations0.push([int(wbaic_input0.substr(206, 1)), int(wbaic_input0.substr(207, 1)), int(wbaic_input0.substr(208, 1))]); ai_situations0.push([int(wbaic_input0.substr(209, 1)), int(wbaic_input0.substr(210, 1)), int(wbaic_input0.substr(211, 1))]); ai_situations1 = new Array(); ai_situations1.push([int(wbaic_input1.substr(181, 1)), int(wbaic_input1.substr(182, 1)), int(wbaic_input1.substr(183, 1)), int(wbaic_input1.substr(184, 1)), int(wbaic_input1.substr(185, 1)), int(wbaic_input1.substr(186, 1)), int(wbaic_input1.substr(187, 1)), int(wbaic_input1.substr(188, 1)), int(wbaic_input1.substr(189, 1))]); ai_situations1.push([int(wbaic_input1.substr(190, 1)), int(wbaic_input1.substr(191, 1)), int(wbaic_input1.substr(192, 1)), int(wbaic_input1.substr(193, 1))]); ai_situations1.push([int(wbaic_input1.substr(194, 1)), int(wbaic_input1.substr(195, 1)), int(wbaic_input1.substr(196, 1)), int(wbaic_input1.substr(197, 1))]); ai_situations1.push([int(wbaic_input1.substr(198, 1)), int(wbaic_input1.substr(199, 1)), int(wbaic_input1.substr(200, 1)), int(wbaic_input1.substr(201, 1))]); ai_situations1.push([int(wbaic_input1.substr(202, 1)), int(wbaic_input1.substr(203, 1)), int(wbaic_input1.substr(204, 1)), int(wbaic_input1.substr(205, 1))]); ai_situations1.push([int(wbaic_input1.substr(206, 1)), int(wbaic_input1.substr(207, 1)), int(wbaic_input1.substr(208, 1))]); ai_situations1.push([int(wbaic_input1.substr(209, 1)), int(wbaic_input1.substr(210, 1)), int(wbaic_input1.substr(211, 1))]); ai_evalfavoring0 = [int(wbaic_input0.substr(212, 1)), int(wbaic_input0.substr(213, 1)), int(wbaic_input0.substr(214, 1)), int(wbaic_input0.substr(215, 1)), int(wbaic_input0.substr(216, 1)), int(wbaic_input0.substr(217, 1)), int(wbaic_input0.substr(218, 1))]; ai_frequency0 = int(wbaic_input0.substr(219, 2)); ai_evalfavoring1 = [int(wbaic_input1.substr(212, 1)), int(wbaic_input1.substr(213, 1)), int(wbaic_input1.substr(214, 1)), int(wbaic_input1.substr(215, 1)), int(wbaic_input1.substr(216, 1)), int(wbaic_input1.substr(217, 1)), int(wbaic_input1.substr(218, 1))]; ai_frequency1 = int(wbaic_input1.substr(219, 2)); i = 0; while (i <= 11) { j = 0; while (j <= 5) { unitai[1][i + houseadders[startinghouse1]].ai[j] = ai_units1[i][j]; ++j; } ++i; } tempmoney = 0; tempbuilding = ''; if (startinghouse0 == 'bng') { addbuilding(0, 'building_hq', 97, 200, 'builders'); } else { if (startinghouse0 == 'mf') { addbuilding(0, 'building_spybase', 97, 200, 'builders'); } else { if (startinghouse0 == 'jac') { addbuilding(0, 'building_powercore', 97, 200, 'builders'); } else { if (startinghouse0 == 'smc') { addbuilding(0, 'building_opscenter', 97, 200, 'builders'); } } } } if (startinghouse1 == 'bng') { addbuilding(1, 'building_hq', 887, 200, 'builders'); } else { if (startinghouse1 == 'mf') { addbuilding(1, 'building_spybase', 887, 200, 'builders'); } else { if (startinghouse1 == 'jac') { addbuilding(1, 'building_powercore', 887, 200, 'builders'); } else { if (startinghouse1 == 'smc') { addbuilding(1, 'building_opscenter', 887, 200, 'builders'); } } } } hqs[0] = builders[0][0]; hqs[1] = builders[1][0]; hqs[0].built = 1; hqs[1].built = 1; unitsreleased = [0, 0]; unitsdestroyed = [0, 0]; buildingsbuilt = [0, 0]; buildingsdestroyed = [0, 0]; cashearned = [0, 0]; var newunit = new Sound(); newunit.attachSound('unitready_' + startinghouse0); var deadunit = new Sound(); deadunit.attachSound('unitlost_' + startinghouse0); var newbuilding = new Sound(); newbuilding.attachSound('buildingcomplete_' + startinghouse0); screenbg = random(screenbgtotal) + 2; gamelog = gameversion + '\n\n' + _root.commandername0 + ' vs ' + _root.commandername1 + '\n'; winner = null; winmode = [1, 1]; winvars = [hqs[0], hqs[1]]; } button 7547 { on (release) { side = 1; mytroops = 3; for (i in _root.units[side]) { mytroops += int(_root.units[side][i].weight); } for (i in _root.shooters[side]) { mytroops += int(_root.shooters[side][i].weight); } enemytroops = 1; for (i in _root.units[1 - side]) { enemytroops += int(_root.units[1 - side][i].weight); } trace('My Troops: ' + mytroops); trace('Enemy Troops: ' + enemytroops); trace('Current situation:' + int(((mytroops - enemytroops) / enemytroops) * 100)); mylimit = -16 * _root.ailevel; if (((mytroops - enemytroops) / enemytroops) * 100 <= mylimit || Key.isDown(87)) { _root.gamelog += _root.commandername1 + ' surrenders.\n'; _root.gotoAndStop(_root.gamemode + 'win0'); } else { if (((mytroops - enemytroops) / enemytroops) * 100 > mylimit + 600) { _root.noway.surrendering = 'Haha, YOU should be surrendering to me...'; } else { if (((mytroops - enemytroops) / enemytroops) * 100 > mylimit + 500) { _root.noway.surrendering = 'No way, you are going down.'; } else { if (((mytroops - enemytroops) / enemytroops) * 100 > mylimit + 300) { _root.noway.surrendering = 'You can kiss my...'; } else { if (((mytroops - enemytroops) / enemytroops) * 100 > mylimit + 100) { _root.noway.surrendering = 'No. I came here to fight! And I will give you one.'; } else { if (((mytroops - enemytroops) / enemytroops) * 100 > mylimit + 10) { _root.noway.surrendering = 'NO WAY! I will not give up!'; } } } } } _root.noway.gotoAndPlay(2); } } } instance iFPS of movieClip 7520 { onClipEvent (load) { } } frame 93 { } frame 94 { _root.gotoAndStop('con'); } frame 95 { stop(); } frame 96 { _root.gotoAndStop('con'); } frame 97 { _quality = 'HIGH'; winner = 0; conqwin = 1; _root.gamelog += _root['commandername' + winner] + ' is victorious.\n'; pauser = 1; battledetails = '::: ' + _root['commandername' + winner] + ' Wins :::\n\n'; battledetails += '[' + _root.commandername0 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[0] + '\n'; battledetails += 'Units Released: ' + unitsreleased[0] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[0] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[0] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[0] + '\n\n'; battledetails += '[' + _root.commandername1 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[1] + '\n'; battledetails += 'Units Released: ' + unitsreleased[1] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[1] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[1] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[1] + '\n\n'; stop(); } frame 98 { _quality = 'HIGH'; winner = 1; conqwin = 0; _root.gamelog += _root['commandername' + winner] + ' is victorious.\n'; pauser = 1; battledetails = '::: ' + _root['commandername' + winner] + ' Wins :::\n\n'; battledetails += '[' + _root.commandername0 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[0] + '\n'; battledetails += 'Units Released: ' + unitsreleased[0] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[0] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[0] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[0] + '\n\n'; battledetails += '[' + _root.commandername1 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[1] + '\n'; battledetails += 'Units Released: ' + unitsreleased[1] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[1] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[1] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[1] + '\n\n'; stop(); } frame 99 { whovswho = _root.commandername0 + ' vs ' + _root.commandername1; while (wvwtext.text.indexOf('_') != -1) { wvwtext.replaceText(wvwtext.text.indexOf('_'), wvwtext.text.indexOf('_') + 1, ' '); } battledetails2 = ''; stop(); } instance of movieClip 7539 { onClipEvent (load) { textvar = 'battledetails2'; thetext = _parent.battledetails; tick = 1; multiple = 1; } } button 7552 { on (release) { stopAllSounds(); if (conq_players[theturn].pname == conqname) { conq_players[theturn].pmoney -= cashforattack - moneys[0]; conq_players[defendernumber].pmoney -= cashfordefense - moneys[1]; _root.gotoAndStop('conqplayerbattlear'); } else { conq_players[theturn].pmoney -= cashfordefense - moneys[0]; conq_players[defendernumber].pmoney -= cashforattack - moneys[1]; _root.gotoAndStop('conqplayerbattledr'); } } } frame 100 { whovswho = _root.commandername0 + ' vs ' + _root.commandername1; while (wvwtext.text.indexOf('_') != -1) { wvwtext.replaceText(wvwtext.text.indexOf('_'), wvwtext.text.indexOf('_') + 1, ' '); } battledetails2 = ''; stop(); } frame 112 { stop(); } button 7557 { on (release) { stopAllSounds(); _root.nextFrame(); } } movieClip 7561 { } movieClip 7572 { } movieClip 7577 { } movieClip 7580 { } movieClip 7582 { } movieClip 7586 { } movieClip 7588 { } movieClip 7589 { } button 7591 { on (release) { gotoAndPlay(1); } } movieClip 7593 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 3559 { stop(); } } // unknown tag 88 length 99 frame 113 { play(); } movieClip 7602 { } movieClip 7605 { } // unknown tag 88 length 78 movieClip 7642 { } movieClip 7644 { } movieClip 7646 { } movieClip 7648 { } movieClip 7650 { } movieClip 7652 { } movieClip 7654 { } movieClip 7657 { } movieClip 7659 { } movieClip 7661 { } movieClip 7663 { } movieClip 7665 { } movieClip 7667 { } movieClip 7669 { } movieClip 7692 { } movieClip 7695 { frame 15 { stop(); } } movieClip 7700 { } movieClip 7708 { } movieClip 7711 { } button 7716 { on (release) { _root.gotoAndPlay('startstory'); } } button 7718 { on (release) { gotoAndPlay(1); } } movieClip 7719 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } } frame 114 { function storyset() { winmode = [3, 3]; screenbg = 10; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 0; techs = [0, 0]; ailevel = 1; moneys = [2000, 1000]; coloros = ['l', 't']; addbuilding(0, 'building_gunturret', 135, 110, 'shooters'); addbuilding(0, 'building_armycamp', 130, 270, 'builders'); unitready(0, 'unit_infantry', 160, 275, 'units', 'l'); unitready(0, 'unit_infantry', 160, 55, 'units', 'l'); unitready(0, 'unit_infantry', 160, 165, 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradestation', 827, 110, 'outposts'); addbuilding(1, 'building_raidersguild', 727, 260, 'builders'); addbuilding(1, 'building_raiderturret', 690, 220, 'shooters'); addbuilding(1, 'building_raiderturret', 690, 120, 'shooters'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '2002937502007001326632818000713501400002822501350000013502411003511243961001450502411000000632609002635290000002609505029001350500909005000261122000313761850005013090000005050505050217785645555555555555466575555590003003856435621~c~JAC_Commander'; startinghouse0 = 'bng'; stop(); } frame 115 { function storyset() { winmode = [1, 1]; winvars = [hqs[0], hqs[1]]; screenbg = 10; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 1; techs = [1, 1]; ailevel = 2; moneys = [2300, 2000]; coloros = ['l', 't']; addbuilding(0, 'building_gunturret', 135, 110, 'shooters'); addbuilding(0, 'building_researchlab', 130, 270, 'outposts'); unitready(0, 'unit_infantry', 160, 275, 'units', 'l'); unitready(0, 'unit_infantry', 160, 55, 'units', 'l'); unitready(0, 'unit_rocketman', 140, 165, 'units', 'l'); unitready(0, 'unit_rocketman', 150, 188, 'units', 'l'); unitready(0, 'unit_lighttank', 110, 298, 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradestation', 827, 110, 'outposts'); addbuilding(1, 'building_buildstation', 727, 260, 'builders'); addbuilding(1, 'building_raiderturret', 730, 220, 'shooters'); addbuilding(1, 'building_raiderturret', 690, 120, 'shooters'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '2002937502007001326632818000713501400002822501350000013502411003511243961001450502411000000632609002635290000002609505029001350500909005000261122000313761850005013090000005050505050217785645555555555555466575555590003003856435621~c~JAC_Commander'; startinghouse0 = 'bng'; stop(); } movieClip 7739 { frame 13 { stop(); } } button 7749 { on (release) { gotoAndPlay(1); } } movieClip 7750 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } } frame 116 { function storyset() { winmode = [1, 2]; winvars = [hqs[0], null]; screenbg = 6; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 1; techs = [1, 1]; ailevel = 3; moneys = [0, 0]; coloros = ['l', 't']; unitready(0, 'unit_infantry', 160, 275, 'units', 'l'); unitready(0, 'unit_infantry', 160, 55, 'units', 'l'); unitready(0, 'unit_infantry', 175, 275, 'units', 'l'); unitready(0, 'unit_infantry', 175, 55, 'units', 'l'); unitready(0, 'unit_rocketman', 140, 165, 'units', 'l'); unitready(0, 'unit_rocketman', 150, 188, 'units', 'l'); unitready(0, 'unit_rocketman', 160, 165, 'units', 'l'); unitready(0, 'unit_rocketman', 160, 188, 'units', 'l'); unitready(0, 'unit_lighttank', 110, 298, 'units', 'l'); unitready(0, 'unit_lighttank', 110, 78, 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_laserfox', 827, 100, 'units', 's'); unitready(1, 'unit_raider', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_kuburai', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '2002937502007001326632818000713501400002822501350000013502411003511243961001450502411000000632609002635290000002609505029001350500909005000261122000313761850005013090000005050505050217785645555555555555466575555590003003856435621~c~JAC_Commander'; startinghouse0 = 'bng'; stop(); } movieClip 7762 { } button 7772 { on (release) { gotoAndPlay(1); } } movieClip 7773 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } } frame 117 { function storyset() { screenbg = 2; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 2; techs = [2, 2]; ailevel = 4; moneys = [0, 0]; coloros = ['l', 't']; unitready(0, 'unit_infantry', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_rocketman', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_rocketman', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_rocketman', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_flamer', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_flamer', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_flamer', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_lighttank', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_bngtank', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_raider', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_laserfox', 600 + random(200), 55 + random(260), 'units', 's'); unitready(1, 'unit_laserfox', 600 + random(200), 55 + random(260), 'units', 's'); unitready(1, 'unit_kuburai', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_siegeraider', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_siegeraider', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } winmode = [2, 0]; winvars = [null, units[1][0]]; } function addwarriors() { units[1][0].bname = 'JAC Commander'; units[1][0].fullhp = 100; units[1][0].hp = 100; units[1][0].regen = 2; } wbaic_input1 = '2002937502007001326632818000713501400002822501350000013502411003511243961001450502411000000632609002635290000002609505029001350500909005000261122000313761850005013090000005050505050217785645555555555555466575555590003003856435621~c~JAC_Commander'; startinghouse0 = 'bng'; stop(); } button 7791 { on (release) { gotoAndPlay(1); } } movieClip 7792 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } } frame 118 { function storyset() { winmode = [1, 1]; winvars = [hqs[0], hqs[1]]; screenbg = 4; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 3; techs = [3, 3]; ailevel = 5; moneys = [3300, 3300]; coloros = ['l', 't']; rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '2002937502007001326632818000713501400002822501350000013502411003511243961001450502411000000632609002635290000002609505029001350500909005000261122000313761850005013090000005050505050217785645555555555555466575555590003003856435621~c~JAC_Commander'; startinghouse0 = 'bng'; stop(); } movieClip 7804 { } button 7818 { on (release) { gotoAndPlay(1); } } movieClip 7819 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } frame 210 { blinker.gotoAndPlay(1); stop(); } } frame 119 { function storyset() { winmode = [1, 1]; winvars = [hqs[0], hqs[1]]; screenbg = 11; researches = [[0, 0, 0, 0], [0, 1, 0, 0]]; techlevel_s = 4; techs = [4, 4]; ailevel = 6; moneys = [3300, 3300]; coloros = ['l', 't']; rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradestation', 827, 110, 'outposts'); addbuilding(1, 'building_jacrocketon', 730, 220, 'shooters'); addbuilding(1, 'building_missilerack', 690, 120, 'shooters'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '2002937502007001326632818000713501400002822501350000013502411003511243961001450502411000000632609002635290000002609505029001350500909005000261122000313761850005013090000005050505050217785645555555555555466575555590003003856435621~c~JAC_Commander'; startinghouse0 = 'bng'; stop(); } button 7842 { on (release) { gotoAndPlay(1); } } movieClip 7843 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } } frame 120 { function storyset() { winmode = [1, 3]; winvars = [hqs[0], null]; screenbg = 8; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 5; techs = [5, 5]; ailevel = 7; moneys = [4300, 3000]; coloros = ['l', 't']; unitready(0, 'unit_infantry', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_rocketman', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_flamer', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_commando', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_lighttank', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_assaultheli', 120 + random(200), 55 + random(260), 'units', 's'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradestation', 827, 110, 'outposts'); addbuilding(1, 'building_cosmoratory', 727, 260, 'outposts'); addbuilding(1, 'building_jacrocketon', 730, 220, 'shooters'); addbuilding(1, 'building_missilerack', 690, 120, 'shooters'); unitready(1, 'unit_raider', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_siegeraider', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_siegeraider', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '2002937502007001326632818000713501400002822501350000013502411003511243961001450502411000000632609002635290000002609505029001350500909005000261122000313761850005013090000005050505050217785645555555555555466575555590003003856435621~c~JAC_Commander'; startinghouse0 = 'bng'; stop(); } button 7867 { on (release) { gotoAndPlay(1); } } movieClip 7868 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } } frame 121 { stop(); } movieClip 7872 { } movieClip 7874 { } // unknown tag 88 length 140 movieClip 7878 { } button 7880 { on (release) { gotoAndPlay(1); } } movieClip 7881 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 2680 { stop(); } } frame 122 { stop(); } button 7882 { on (release) { _root.nextFrame(); } } frame 123 { ++_root.currentlevel; _root.gotoAndStop(_root.allpws[_root.currentlevel - 1]); } frame 133 { stop(); } movieClip 7886 { } movieClip 7888 { } movieClip 7892 { } movieClip 7893 { } movieClip 7896 { } movieClip 7898 { } movieClip 7901 { } button 7903 { on (release) { gotoAndPlay(1); } } movieClip 7904 { frame 1 { this.onUnload = function () { stopAllSounds(); }; } instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 3607 { stop(); } } frame 134 { play(); } movieClip 7918 { } movieClip 7920 { } button 7931 { on (release) { gotoAndPlay(1); } } movieClip 7932 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } frame 210 { blinker.gotoAndPlay(1); stop(); } } frame 135 { function storyset() { winmode = [3, 3]; screenbg = 5; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 0; techs = [0, 0]; ailevel = 1; moneys = [2000, 3000]; coloros = ['p', 'l']; addbuilding(0, 'building_barracks', 200, 200, 'builders'); unitready(0, 'unit_ninja', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_ninja', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_ninja', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_ninja', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradecenter', 827, 110, 'outposts'); addbuilding(1, 'building_gunturret', 690, 220, 'shooters'); addbuilding(1, 'building_gunturret', 690, 120, 'shooters'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '0002637410111000000502050002050310000001816502416002050931409010011502629000000502033000000675069000000760513003728330000000020505000000000206956005918000000000000166728505050505050555555555555555555555555565575110000991575396001~c~Ray_Walton'; startinghouse0 = 'mf'; stop(); } frame 136 { function storyset() { winmode = [3, 3]; screenbg = 2; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 1; techs = [1, 1]; ailevel = 2; moneys = [2200, 3000]; coloros = ['p', 'l']; addbuilding(0, 'building_barracks', 200, 80, 'builders'); unitready(0, 'unit_ninja', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_gunner', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_ninja', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradecenter', 827, 110, 'outposts'); addbuilding(1, 'building_gunturret', 690, 180, 'shooters'); addbuilding(1, 'building_gunturret', 690, 120, 'shooters'); unitready(1, 'unit_lighttank', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rocketman', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_infantry', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '0002637410111000000502050002050310000001816502416002050931409010011502629000000502033000000675069000000760513003728330000000020505000000000206956005918000000000000166728505050505050555555555555555555555555565575110000991575396001~c~Ray_Walton'; startinghouse0 = 'mf'; stop(); } button 7958 { on (release) { gotoAndPlay(1); } } movieClip 7959 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } } frame 137 { function storyset() { winmode = [1, 2]; winvars = [hqs[0], null]; screenbg = 5; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 2; techs = [2, 2]; ailevel = 3; moneys = [4000, 0]; coloros = ['p', 'l']; unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_rocketjeep', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_biker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_biker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_biker', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_lighttank', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_lighttank', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_lighttank', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rocketman', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rocketman', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rocketman', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_infantry', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_infantry', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_infantry', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_flamer', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_flamer', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_flamer', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bngtank', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bngtank', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bngtank', 1500 + random(800), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '0165641295035092020505659001328593769000501570303012650501831145067596161000328825080050335782650012618951316003333695439130926505063000301317882001118100825000100100500300013726693150817153645187663551755465578590000004157356521~c~Manzora'; startinghouse0 = 'mf'; stop(); } movieClip 7971 { } button 7984 { on (release) { gotoAndPlay(1); } } movieClip 7985 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } } frame 138 { function storyset() { winmode = [1, 2]; winvars = [hqs[0], null]; screenbg = 10; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 3; techs = [3, 3]; ailevel = 4; moneys = [4200, 0]; coloros = ['p', 'l']; unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_rocketjeep', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_biker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_biker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_biker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_autocannonbear', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_jetgunner', 120 + random(200), 55 + random(260), 'units', 's'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_lighttank', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_lighttank', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rockettank', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rockettank', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rocketman', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rocketman', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rocketman', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_commando', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_commando', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_commando', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_flamer', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_flamer', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_flamer', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bngtank', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bngtank', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bngtank', 1500 + random(800), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '0165641295035092020505659001328593769000501570303012650501831145067596161000328825080050335782650012618951316003333695439130926505063000301317882001118100825000100100500300013726693150817153645187663551755465578590000004157356521~c~Manzora'; startinghouse0 = 'mf'; stop(); } button 8006 { on (release) { gotoAndPlay(1); } } movieClip 8007 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } } frame 139 { function storyset() { winmode = [1, 1]; winvars = [hqs[0], hqs[1]]; screenbg = 11; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 3; techs = [3, 3]; ailevel = 5; moneys = [3000, 3000]; coloros = ['p', 'l']; unitready(0, 'unit_autocannonbear', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_earthwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_ninja', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_commando', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rockettank', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_lighttank', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bngtank', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '0002637410111000000502050002050310000001816502416002050931409010011502629000000502033000000675069000000760513003728330000000020505000000000206956005918000000000000166728505050505050555555555555555555555555565575110000991575396001~c~Ray_Walton'; startinghouse0 = 'mf'; stop(); } movieClip 8021 { } button 8026 { on (release) { gotoAndPlay(1); } } movieClip 8027 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } } frame 140 { function storyset() { winmode = [3, 3]; screenbg = 9; researches = [[0, 0, 0, 0], [0, 0, 1, 0]]; techlevel_s = 4; techs = [4, 4]; ailevel = 6; moneys = [4000, 2500]; coloros = ['p', 'l']; unitready(0, 'unit_autocannonbear', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_autocannonbear', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_earthwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_earthwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_ninja', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradecenter', 827, 110, 'outposts'); addbuilding(1, 'building_hangar', 690, 270, 'builders'); addbuilding(1, 'building_gunturret', 680, 120, 'shooters'); unitready(1, 'unit_commando', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_assaultheli', 600 + random(200), 55 + random(260), 'units', 's'); unitready(1, 'unit_rockettank', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_lighttank', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bngtank', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '0003550462416095461223514003939572929095091692616002944653359003550594228052972500907033169655759033335613550000000656967295050505050010101619395009903260300000903999999000061991699555155555155578856887785555555516846003055455511~c~Sara_Y'; startinghouse0 = 'mf'; stop(); } movieClip 8043 { } button 8055 { on (release) { gotoAndPlay(1); } } movieClip 8056 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } frame 210 { blinker.gotoAndPlay(1); stop(); } frame 211 { blinker.gotoAndPlay(1); stop(); } frame 212 { blinker.gotoAndPlay(1); stop(); } } frame 141 { function storyset() { winmode = [1, 1]; winvars = [hqs[0], hqs[1]]; screenbg = 12; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 5; techs = [5, 5]; ailevel = 7; moneys = [4000, 4000]; coloros = ['p', 'l']; unitready(0, 'unit_autocannonbear', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_autocannonbear', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradecenter', 827, 110, 'outposts'); addbuilding(1, 'building_hangar', 690, 270, 'builders'); addbuilding(1, 'building_autocannontower', 680, 120, 'shooters'); addbuilding(1, 'building_rockettower', 670, 240, 'shooters'); unitready(1, 'unit_commando', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_commando', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '0003550462416095461223514003939572929095091692616002944653359003550594228052972500907033169655759033335613550000000656967295050505050010101619395009903260300000903999999000061991699555155555155578856887785555555516846003055455511~c~Sara_Y'; startinghouse0 = 'mf'; stop(); } movieClip 8072 { } button 8084 { on (release) { gotoAndPlay(1); } } movieClip 8085 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } frame 210 { blinker.gotoAndPlay(1); stop(); } frame 211 { blinker.gotoAndPlay(1); stop(); } frame 212 { blinker.gotoAndPlay(1); stop(); } } frame 142 { function storyset() { screenbg = 4; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 5; techs = [5, 5]; ailevel = 8; moneys = [0, 0]; coloros = ['p', 'l']; unitready(0, 'unit_ninja', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_gunner', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_ninja', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_samurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_battlepod', 120 + random(200), 55 + random(260), 'units', 's'); unitready(0, 'unit_battlepod', 120 + random(200), 55 + random(260), 'units', 's'); unitready(0, 'unit_dragonrider', 120 + random(200), 55 + random(260), 'units', 's'); unitready(0, 'unit_earthwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_autocannonbear', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_biker', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_bngbluetrigger', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_commando', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_commando', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_commando', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_commando', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_commando', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_commando', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bngtank', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rockettank', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_assaultheli', 600 + random(200), 55 + random(260), 'units', 's'); unitready(1, 'unit_assaultheli', 600 + random(200), 55 + random(260), 'units', 's'); unitready(1, 'unit_bngfighter', 600 + random(200), 55 + random(260), 'units', 's'); unitready(1, 'unit_assaultheli', 600 + random(200), 55 + random(260), 'units', 's'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } winmode = [2, 0]; winvars = [null, units[1][0]]; } function addwarriors() { units[1][0].bname = 'Reese Gator'; units[0][0].fullhp = 1000; units[1][0].hp = 1000; units[1][0].regen = 3; } wbaic_input1 = '0007429090100002033500000002828310000002816520000002850930000010000502650000000502063000000673169000000762469000000563350000000502852000000484257005918000000000000166728505050505050111135553555555555555555555555580000001766435601~c~Reese_Gator'; startinghouse0 = 'mf'; stop(); } button 8103 { on (release) { gotoAndPlay(1); } } movieClip 8104 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } } frame 143 { stop(); } movieClip 8107 { } movieClip 8110 { } movieClip 8111 { } button 8113 { on (release) { gotoAndPlay(1); } } movieClip 8116 { frame 1 { this.onUnload = function () { stopAllSounds(); }; } instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 2163 { stop(); } } frame 144 { ++_root.currentlevel; _root.gotoAndStop(_root.allpws[_root.currentlevel - 1]); } frame 159 { stop(); } movieClip 8120 { } movieClip 8122 { } movieClip 8124 { } movieClip 8125 { } movieClip 8126 { } movieClip 8127 { } movieClip 8128 { } movieClip 8129 { } movieClip 8130 { } movieClip 8131 { } movieClip 8132 { } movieClip 8133 { } movieClip 8134 { } movieClip 8135 { } movieClip 8136 { } movieClip 8137 { } movieClip 8138 { } movieClip 8139 { } button 8141 { on (release) { gotoAndPlay(1); } } movieClip 8142 { frame 1 { this.onUnload = function () { stopAllSounds(); }; } instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 2825 { stop(); } } frame 160 { play(); } movieClip 8156 { } movieClip 8159 { } button 8167 { on (release) { gotoAndPlay(1); } } movieClip 8168 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } } frame 161 { function storyset() { screenbg = 2; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 0; techs = [0, 0]; ailevel = 1; moneys = [0, 0]; coloros = ['t', 'n']; unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_bngbluetrigger', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bngtank', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bngtank', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } winmode = [2, 0]; winvars = [null, units[1][0]]; } function addwarriors() { units[1][0].bname = 'Reese Gator'; units[1][0].regen = 2; } wbaic_input1 = '0007429090100002033500000002828310000002816520000002850930000010000502650000000502063000000673169000000762469000000563350000000502852000000484257005918000000000000166728505050505050111135553555555555555555555555580000001766435601~c~Reese_Gator'; startinghouse0 = 'jac'; stop(); } frame 162 { function storyset() { winmode = [3, 3]; screenbg = 3; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 1; techs = [1, 1]; ailevel = 2; moneys = [2200, 3000]; coloros = ['t', 'l']; addbuilding(0, 'building_raiderturret', 235, 110, 'shooters'); addbuilding(0, 'building_raiderturret', 255, 210, 'shooters'); addbuilding(0, 'building_raidersguild', 235, 290, 'builders'); unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradecenter', 827, 110, 'outposts'); addbuilding(1, 'building_machinebay', 727, 260, 'builders'); addbuilding(1, 'building_gunturret', 690, 180, 'shooters'); addbuilding(1, 'building_gunturret', 690, 120, 'shooters'); unitready(1, 'unit_rocketman', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_lighttank', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '0005024160100005000030004015000000001035003010000035000000000015000010100005000000000005012000000005016010000005024010101005024000000005024000000002725010000003020010100003527010000656756787887566678788556787556733429112343603911~c~BNG_Comm_D'; startinghouse0 = 'jac'; stop(); } button 8194 { on (release) { gotoAndPlay(1); } } movieClip 8195 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } } frame 163 { function storyset() { winmode = [1, 2]; winvars = [hqs[0], null]; screenbg = 7; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 2; techs = [2, 2]; ailevel = 3; moneys = [4200, 0]; coloros = ['t', 'p']; unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_kuburai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_siegeraider', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_laserfox', 120 + random(200), 55 + random(260), 'units', 's'); unitready(0, 'unit_laserfox', 120 + random(200), 55 + random(260), 'units', 's'); unitready(0, 'unit_triloblast', 120 + random(200), 55 + random(260), 'units', 's'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_gunner', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_biker', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_ninja', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rocketjeep', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_rocketjeep', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_biker', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_ninja', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_ninja', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bomberunit', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bomberunit', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_samurai', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_flamer', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_gunner', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_gunner', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_samurai', 1800 + random(800), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '1070000702020001650330000001422501301000000500916011428160000012624000000033716221300000326241301004450000000004626052013000000184842000037130000005000140000000000509922000050990335216615578618878526155755888858893200022261415821~c~Great_Kage'; startinghouse0 = 'jac'; stop(); } movieClip 8209 { } button 8222 { on (release) { gotoAndPlay(1); } } movieClip 8223 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } frame 210 { blinker.gotoAndPlay(1); stop(); } frame 211 { blinker.gotoAndPlay(1); stop(); } } frame 164 { function storyset() { winmode = [1, 1]; winvars = [hqs[0], hqs[1]]; screenbg = 12; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 3; techs = [3, 3]; ailevel = 4; moneys = [3200, 3000]; coloros = ['t', 'p']; addbuilding(0, 'building_raiderturret', 235, 110, 'shooters'); addbuilding(0, 'building_missilerack', 255, 210, 'shooters'); addbuilding(0, 'building_raidersguild', 235, 290, 'builders'); unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_siegeconvoy', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_techhouse', 827, 110, 'outposts'); addbuilding(1, 'building_assemblicon', 727, 260, 'builders'); addbuilding(1, 'building_bombpod', 690, 180, 'shooters'); addbuilding(1, 'building_bombpod', 690, 120, 'shooters'); unitready(1, 'unit_samurai', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_gunner', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '1000035560000000000501800000000870954000007675033005024160000000000983556010020500000010000630000160922500518000000590000000000205050000031501816000000990000001618592014000000379950000000000111133311111877511165111009092580386101~c~Samurai_Captain'; startinghouse0 = 'jac'; stop(); } button 8248 { on (release) { gotoAndPlay(1); } } movieClip 8249 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } frame 210 { blinker.gotoAndPlay(1); stop(); } frame 211 { blinker.gotoAndPlay(1); stop(); } } frame 165 { function storyset() { winmode = [3, 3]; screenbg = 8; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 4; techs = [4, 4]; ailevel = 5; moneys = [3200, 3000]; coloros = ['t', 'p']; unitready(0, 'unit_jaccruiser', 120 + random(200), 55 + random(260), 'units', 's'); unitready(0, 'unit_siegeconvoy', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_triblaster', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_techhouse', 827, 110, 'outposts'); addbuilding(1, 'building_assemblicon', 727, 260, 'builders'); addbuilding(1, 'building_lightningtower', 690, 180, 'shooters'); addbuilding(1, 'building_lightningtower', 690, 120, 'shooters'); addbuilding(1, 'building_molotovpod', 590, 120, 'shooters'); unitready(1, 'unit_samurai', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_samurai', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '1019789050709118995111113058456111111096180111111056946090001137267141613137670141111136772161313015050010101015050050505015050000001005050010109505050505050505050505050505050505050555555555555555555555555555555534435431558534621~c~Viceroy_Rokunaka'; startinghouse0 = 'jac'; stop(); } button 8272 { on (release) { gotoAndPlay(1); } } movieClip 8273 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } } frame 166 { function storyset() { winmode = [1, 1]; winvars = [hqs[0], hqs[1]]; screenbg = 9; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 4; techs = [4, 4]; ailevel = 6; moneys = [3200, 3000]; coloros = ['t', 'f']; addbuilding(0, 'building_raiderturret', 235, 110, 'shooters'); addbuilding(0, 'building_raiderturret', 255, 210, 'shooters'); addbuilding(0, 'building_raidersguild', 235, 290, 'builders'); unitready(0, 'unit_trooper', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_siegeconvoy', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_sciencelab', 827, 110, 'outposts'); addbuilding(1, 'building_galaxyport', 727, 260, 'builders'); addbuilding(1, 'building_exploreod', 690, 180, 'shooters'); addbuilding(1, 'building_podasdefense', 690, 120, 'shooters'); unitready(1, 'unit_flashsamurai', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_qwalker', 600 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '3000709500711002014501433001118500707001120501103000916501305000713502005001118501100000516502007002926501400000309505050000011542222002650331400000000359897000000990000009900200000888877767888866551123443213333272200002554475211~c~Dario_Lam'; startinghouse0 = 'jac'; stop(); } button 8292 { on (release) { gotoAndPlay(1); } } movieClip 8293 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } } frame 167 { function storyset() { winmode = [3, 3]; screenbg = 10; researches = [[0, 0, 0, 0], [0, 0, 1, 0]]; techlevel_s = 5; techs = [5, 5]; ailevel = 7; moneys = [3700, 3000]; coloros = ['t', 'p']; unitready(0, 'unit_fuzaron', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_techhouse', 827, 110, 'outposts'); addbuilding(1, 'building_skypad', 727, 260, 'builders'); addbuilding(1, 'building_molotovpod', 690, 180, 'shooters'); addbuilding(1, 'building_molotovpod', 690, 120, 'shooters'); addbuilding(1, 'building_molotovpod', 590, 120, 'shooters'); unitready(1, 'unit_samurai', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_samurai', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_battlepod', 600 + random(200), 55 + random(260), 'units', 's'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '1003124140700000007505050001413501114000011982250001613522220000124933350004124540000000018501811001329652989003157501411000000165961002426500505005028220000003314630100505050505050211123342666755771123443267757717700771062445501~c~The_Mayzor'; startinghouse0 = 'jac'; stop(); } button 8320 { on (release) { gotoAndPlay(1); } } movieClip 8321 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } frame 210 { blinker.gotoAndPlay(1); stop(); } frame 211 { blinker.gotoAndPlay(1); stop(); } } frame 168 { function storyset() { winmode = [2, 2]; screenbg = 4; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 5; techs = [5, 5]; ailevel = 8; moneys = [0, 0]; coloros = ['t', 'p']; unitready(0, 'unit_fuzaron', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_triloblast', 120 + random(200), 55 + random(260), 'units', 's'); unitready(0, 'unit_triloblast', 120 + random(200), 55 + random(260), 'units', 's'); unitready(0, 'unit_laserfox', 120 + random(200), 55 + random(260), 'units', 's'); unitready(0, 'unit_laserfox', 120 + random(200), 55 + random(260), 'units', 's'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_raider', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_triblaster', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_moonstruck', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_dragonrider', 600 + random(200), 55 + random(260), 'units', 's'); unitready(1, 'unit_ninja', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_samurai', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_samurai', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_samurai', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_ninja', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_mab', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_mab', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bomberunit', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_bomberunit', 600 + random(200), 55 + random(260), 'units', 'l'); unitready(1, 'unit_gunner', 600 + random(200), 55 + random(260), 'units', 's'); unitready(1, 'unit_battlepod', 600 + random(200), 55 + random(260), 'units', 's'); unitready(1, 'unit_battlepod', 600 + random(200), 55 + random(260), 'units', 's'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() { units[1][0].bname = 'The Mayzor'; units[1][0].regen = 5; } wbaic_input1 = '1003124140700000007505050001413501114000011982250001613522220000124933350004124540000000018501811001329652989003157501411000000165961002426500505005028220000003314630100505050505050211123342666755771123443267757717700771062445501~c~The_Mayzor'; startinghouse0 = 'jac'; stop(); } button 8339 { on (release) { gotoAndPlay(1); } } movieClip 8340 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } } frame 169 { stop(); } movieClip 8343 { } movieClip 8345 { } movieClip 8348 { } movieClip 8350 { } button 8352 { on (release) { gotoAndPlay(1); } } movieClip 8353 { frame 1 { this.onUnload = function () { stopAllSounds(); }; } instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 2672 { stop(); } } frame 170 { ++_root.currentlevel; _root.gotoAndStop(_root.allpws[_root.currentlevel - 1]); } frame 185 { stop(); } movieClip 8357 { } movieClip 8360 { } movieClip 8363 { } movieClip 8366 { } movieClip 8370 { } movieClip 8374 { } button 8376 { on (release) { gotoAndPlay(1); } } movieClip 8377 { frame 1 { this.onUnload = function () { stopAllSounds(); }; } instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 2672 { stop(); } } frame 186 { play(); } movieClip 8398 { } movieClip 8400 { } movieClip 8403 { } movieClip 8412 { } button 8419 { on (release) { gotoAndPlay(1); } } movieClip 8420 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } } frame 187 { function storyset() { winmode = [1, 2]; winvars = [hqs[0], null]; screenbg = 4; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 0; techs = [0, 0]; ailevel = 1; moneys = [2200, 0]; coloros = ['f', 'a']; unitready(0, 'unit_battleunit', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_battleunit', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_battleunit', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_battleunit', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_flashsamurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_flashsamurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_smcfire', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_smcfire', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_raider', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_trooper', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_trooper', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_trooper', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_trooper', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_siegeconvoy', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_siegeraider', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 1800 + random(800), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '2004124030718000000761413000000972674000000502450005028161101000000506167002028502214000714653305005050130000003509310029000720460014000000079995505050505050505050505050505050505050211125545125355521123445213335210905063550396021~c~Art_Calderon'; startinghouse0 = 'smc'; stop(); } frame 188 { function storyset() { winmode = [1, 2]; winvars = [hqs[0], null]; screenbg = 3; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 1; techs = [1, 1]; ailevel = 2; moneys = [0, 0]; coloros = ['f', 't']; unitready(0, 'unit_battleunit', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_battleunit', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_battleunit', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_battleunit', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_flashsamurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_flashsamurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_missilebike', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_missilebike', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_jaccruiser', 1500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_laserfox', 2500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_laserfox', 2500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_triloblast', 2500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_triloblast', 2500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_laserfox', 1500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_laserfox', 1500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_triloblast', 1500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_moonstruck', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_trooper', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_trooper', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_trooper', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_trooper', 1100 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_siegeconvoy', 1500 + random(800), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '2002937502007001326632818000713501400002822501350000013502411003511243961001450502411000000632609002635290000002609505029001350500909005000261122000313761850005013090000005050505050217785645555555555555466575555590003003856435621~c~JAC_Commander'; startinghouse0 = 'smc'; stop(); } movieClip 8433 { } button 8445 { on (release) { gotoAndPlay(1); } } movieClip 8446 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } } frame 189 { function storyset() { winmode = [1, 1]; winvars = [hqs[0], hqs[1]]; screenbg = 11; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 2; techs = [2, 3]; ailevel = 3; moneys = [3500, 3000]; coloros = ['f', 'a']; addbuilding(0, 'building_podasdefense', 245, 70, 'shooters'); addbuilding(0, 'building_podasdefense', 255, 310, 'shooters'); addbuilding(0, 'building_merchanthouse', 235, 290, 'builders'); unitready(0, 'unit_flashsamurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_invistotank', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradersunion', 827, 110, 'outposts'); addbuilding(1, 'building_buildstation', 727, 260, 'builders'); addbuilding(1, 'building_jacrocketon', 690, 180, 'shooters'); addbuilding(1, 'building_raidersturret', 690, 120, 'shooters'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } } function addwarriors() {} wbaic_input1 = '2001316630303002431591109000000503124000000241835003333332007000000503350002050290000000720501414004435650918005050505050001128743314000000287676005014200300000007549526001118800922221688578112275886622758218878880003001656445501~c~Bill_Kellos'; startinghouse0 = 'smc'; stop(); } movieClip 8458 { } button 8467 { on (release) { gotoAndPlay(1); } } movieClip 8468 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } } frame 190 { function storyset() { screenbg = 10; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techlevel_s = 3; techs = [3, 3]; ailevel = 4; moneys = [0, 0]; coloros = ['f', 't']; unitready(0, 'unit_flashsamurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_battleunit', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_askeara', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_tiusanin', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_tiusanin', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_askeara', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_geneson', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_geneson', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_invistotank', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_missilebike', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_missilebike', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_smcfire', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } unitready(1, 'unit_laserfox', 2000 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_siegeraider', 2000 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_triloblast', 2500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_triloblast', 2500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_kuburai', 1500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_laserfox', 1500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_triloblast', 1500 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_moonstruck', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_siegeraider', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_raider', 1200 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_moonstruck', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_siegeconvoy', 1500 + random(800), 55 + random(260), 'units', 'l'); unitready(1, 'unit_siegeconvoy', 1500 + random(800), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } winmode = [0, 2]; winvars = [units[0][0], null]; } function addwarriors() { units[0][0].bname = 'Ericks'; units[0][0].fullhp = 150; units[0][0].hp = 150; units[0][0].regen = 3; } wbaic_input1 = '2002937502007001326632818000713501400002822501350000013502411003511243961001450502411000000632609002635290000002609505029001350500909005000261122000313761850005013090000005050505050217785645555555555555466575555590003003856435621~c~JAC_Commander'; startinghouse0 = 'smc'; stop(); } movieClip 8480 { } button 8494 { on (release) { gotoAndPlay(1); } } movieClip 8495 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } } frame 191 { function storyset() { screenbg = 9; researches = [[1, 0, 1, 0], [0, 0, 0, 0]]; techlevel_s = 4; techs = [4, 4]; ailevel = 7; moneys = [3800, 3000]; coloros = ['f', 't']; addbuilding(0, 'building_exploreod', 245, 70, 'shooters'); addbuilding(0, 'building_podasdefense', 255, 310, 'shooters'); addbuilding(0, 'building_merchanthouse', 235, 290, 'builders'); unitready(0, 'unit_flashsamurai', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_qwalker', 120 + random(200), 55 + random(260), 'units', 'l'); unitready(0, 'unit_invistotank', 120 + random(200), 55 + random(260), 'units', 'l'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradersunion', 827, 110, 'outposts'); addbuilding(1, 'building_buildstation', 727, 260, 'builders'); addbuilding(1, 'building_jacrocketon', 690, 180, 'shooters'); addbuilding(1, 'building_jacrocketon', 690, 120, 'shooters'); unitready(1, 'unit_xdarios', 1000 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_triloblast', 1000 + random(800), 55 + random(260), 'units', 's'); unitready(1, 'unit_triloblast', 1000 + random(800), 55 + random(260), 'units', 's'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } winmode = [1, 0]; winvars = [hqs[0], units[1][0]]; } function addwarriors() {} wbaic_input1 = '2004124030718000000761413000000972674000000502450005028161101000000506167002028502214000714653305005050130000003509310029000720460014000000079995505050505050505050505050505050505050211125545125355521123445213335210905063550396021~c~Art_Calderon'; startinghouse0 = 'smc'; stop(); } movieClip 8507 { } movieClip 8510 { } button 8528 { on (release) { gotoAndPlay(1); } } movieClip 8529 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } frame 210 { blinker.gotoAndPlay(1); stop(); } frame 211 { blinker.gotoAndPlay(1); stop(); } frame 212 { blinker.gotoAndPlay(1); stop(); } frame 213 { blinker.gotoAndPlay(1); stop(); } frame 214 { blinker.gotoAndPlay(1); stop(); } frame 215 { blinker.gotoAndPlay(1); stop(); } } frame 192 { function storyset() { screenbg = 11; researches = [[1, 1, 1, 0], [1, 1, 1, 0]]; techlevel_s = 5; techs = [5, 5]; ailevel = 8; moneys = [3400, 3000]; coloros = ['f', 't']; addbuilding(0, 'building_exploreod', 245, 70, 'shooters'); addbuilding(0, 'building_exploreod', 255, 310, 'shooters'); addbuilding(0, 'building_merchanthouse', 235, 290, 'builders'); rep = 0; while (rep < 2) { for (tt in units[rep]) { units[rep][tt].inserted = 1; } ++rep; } addbuilding(1, 'building_tradersunion', 827, 110, 'outposts'); addbuilding(1, 'building_buildstation', 727, 260, 'builders'); addbuilding(1, 'building_jacrocketon', 690, 180, 'shooters'); addbuilding(1, 'building_jacrocketon', 690, 120, 'shooters'); rep = 0; while (rep < 2) { for (t in outposts[rep]) { outposts[rep][t].built = 1; } for (tk in builders[rep]) { builders[rep][tk].built = 1; } for (tko in shooters[rep]) { shooters[rep][tko].built = 1; } ++rep; } winmode = [3, 3]; } function addwarriors() {} wbaic_input1 = '2001316630303002431591109000000503124000000241835003333332007000000503350002050290000000720501414004435650918005050505050001128743314000000287676005014200300000007549526001118800922221688578112275886622758218878880003001656445501~c~Bill_Kellos'; startinghouse0 = 'smc'; stop(); } button 8550 { on (release) { gotoAndPlay(1); } } movieClip 8551 { instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 200 { blinker.gotoAndPlay(1); stop(); } frame 201 { blinker.gotoAndPlay(1); stop(); } frame 202 { blinker.gotoAndPlay(1); stop(); } frame 203 { blinker.gotoAndPlay(1); stop(); } frame 204 { blinker.gotoAndPlay(1); stop(); } frame 205 { blinker.gotoAndPlay(1); stop(); } frame 206 { blinker.gotoAndPlay(1); stop(); } frame 207 { blinker.gotoAndPlay(1); stop(); } frame 208 { blinker.gotoAndPlay(1); stop(); } frame 209 { blinker.gotoAndPlay(1); stop(); } } frame 193 { stop(); } movieClip 8555 { } movieClip 8558 { } movieClip 8560 { } movieClip 8563 { } movieClip 8564 { } movieClip 8566 { } button 8568 { on (release) { gotoAndPlay(1); } } movieClip 8569 { frame 1 { this.onUnload = function () { stopAllSounds(); }; } instance of movieClip 5867 { onClipEvent (load) { mymovie = _root; } } frame 2672 { stop(); } } frame 194 { _root.gotoAndStop('mainmenu'); } frame 200 { stopAllSounds(); play(); } frame 201 { function addbuilding(faction, linkage, xx, yy, array) { thebuilding = screen.attachMovie(linkage, array + faction + '_' + random(9999999), xx + yy * screen._width); thebuilding.faction = faction; thebuilding.id = _root[array][faction].length; thebuilding.linkage = linkage.substr(linkage.indexOf('_') + 1, linkage.length - linkage.indexOf('_') - 1); thebuilding._x = xx; thebuilding._y = yy; thebuilding.myarray = array; thebuilding._root[array][faction].push(thebuilding); } function unitready(faction, linkage, xx, yy, array, medium) { mediums = {'l': 'screen', 's': 'sky'}; theunit = _root[mediums[medium]].attachMovie(linkage, array + faction + '_' + random(9999999), xx + yy * _root[mediums[medium]]._width); theunit.faction = faction; theunit.id = _root[array][faction].length; theunit.linkage = linkage.substr(linkage.indexOf('_') + 1, linkage.length - linkage.indexOf('_') - 1); theunit._x = xx; theunit._y = yy; theunit.myarray = array; theunit._root[array][faction].push(theunit); } function re_id(whatarray) { for (i in whatarray) { if (whatarray[i].myarray == undefined) { whatarray.splice(i, 1); } } for (i in whatarray) { whatarray[i].id = i; } } pauser = 1; gamemode = 'story'; gametimer = 0; builders = [new Array(), new Array()]; shooters = [new Array(), new Array()]; units = [new Array(), new Array()]; outposts = [new Array(), new Array()]; effects = []; damagers = []; hqs = new Array(); moneys = [3000, 3000]; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techs = [techlevel_s, techlevel_s]; coloros = [startingcolor0, startingcolor1]; if (wbaic_input0 == '') { wbaic_input0 = wbaic_ig[random(wbaic_ig.length)]; } if (wbaic_input1 == '') { wbaic_input1 = wbaic_ig[random(wbaic_ig.length)]; } controllers = [1, 0]; ailevel = ailevel_s; allocations = [[50, 50], [50, 50]]; aggression = [0, 100]; bbda = [bbda_bng, bbda_bng]; bbdacounterstart = [0, 0]; bfa = [bfa_bng[0], bfa_bng[0]]; bfacounterstart = [0, 0]; aggression[0] = int(wbaic_input0.substr(221, 2)); allocations[0] = [int(wbaic_input0.substr(223, 2)), int(wbaic_input0.substr(225, 2))]; bbda[0] = _root['bbda_' + startinghouse0]; bfa[0] = _root['bfa_' + startinghouse0][int(wbaic_input0.substr(227, 1))]; startinghouse1 = ai_houses[int(wbaic_input1.substr(0, 1))]; aggression[1] = int(wbaic_input1.substr(221, 2)); allocations[1] = [int(wbaic_input1.substr(223, 2)), int(wbaic_input1.substr(225, 2))]; bbda[1] = _root['bbda_' + startinghouse1]; bfa[1] = _root['bfa_' + startinghouse1][int(wbaic_input1.substr(227, 1))]; commandername1 = wbaic_input1.substr(232, wbaic_input1.length); trace(startinghouse1 + '.............' + int(wbaic_input1.substr(227, 1)) + '\n'); trace(bbda[1] + '\n'); trace(bfa[1]); usecode = [1, 1]; usecode[0] = int(wbaic_input0.substr(228, 1)); usecode[1] = int(wbaic_input1.substr(228, 1)); houseadders = {'bng': 0, 'mf': 13, 'jac': 25, 'smc': 37}; unitai = [new Array(), new Array()]; unitai[0].push({'linkage': 'infantry', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[0].push({'linkage': 'rocketman', 'ai': [20, 60, 80, 30, 20, 10]}); unitai[0].push({'linkage': 'flamer', 'ai': [50, 60, 90, 75, 10, 0]}); unitai[0].push({'linkage': 'commando', 'ai': [30, 10, 80, 85, 0, 0]}); unitai[0].push({'linkage': 'jeep', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[0].push({'linkage': 'lighttank', 'ai': [0, 0, 0, 90, 50, 50]}); unitai[0].push({'linkage': 'bngtank', 'ai': [10, 10, 20, 80, 70, 35]}); unitai[0].push({'linkage': 'rockettank', 'ai': [10, 60, 80, 30, 20, 10]}); unitai[0].push({'linkage': 'bngbluetrigger', 'ai': [10, 10, 20, 20, 20, 20]}); unitai[0].push({'linkage': 'assaultheli', 'ai': [10, 3, 5, 60, 10, 10]}); unitai[0].push({'linkage': 'bngfighter', 'ai': [10, 40, 30, 60, 35, 25]}); unitai[0].push({'linkage': 'bwingbomber', 'ai': [10, 0, 0, 20, 95, 80]}); unitai[0].push({'linkage': 'all', 'ai': [50, 50, 50, 50, 50, 50]}); unitai[0].push({'linkage': 'ninja', 'ai': [10, 50, 50, 10, 0, 0]}); unitai[0].push({'linkage': 'bomberunit', 'ai': [0, 20, 30, 50, 0, 3]}); unitai[0].push({'linkage': 'gunner', 'ai': [10, 10, 20, 10, 0, 0]}); unitai[0].push({'linkage': 'samurai', 'ai': [10, 10, 60, 5, 5, 0]}); unitai[0].push({'linkage': 'jetgunner', 'ai': [5, 15, 30, 0, 0, 0]}); unitai[0].push({'linkage': 'rocketjeep', 'ai': [3, 10, 10, 60, 0, 5]}); unitai[0].push({'linkage': 'biker', 'ai': [30, 40, 35, 50, 10, 0]}); unitai[0].push({'linkage': 'mab', 'ai': [5, 30, 65, 15, 5, 5]}); unitai[0].push({'linkage': 'autocannonbear', 'ai': [5, 20, 50, 50, 50, 50]}); unitai[0].push({'linkage': 'earthwalker', 'ai': [3, 55, 70, 60, 0, 0]}); unitai[0].push({'linkage': 'dragonrider', 'ai': [10, 10, 20, 90, 50, 30]}); unitai[0].push({'linkage': 'battlepod', 'ai': [5, 10, 20, 30, 30, 5]}); unitai[0].push({'linkage': 'trooper', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[0].push({'linkage': 'raider', 'ai': [0, 40, 40, 30, 0, 0]}); unitai[0].push({'linkage': 'kuburai', 'ai': [10, 60, 20, 10, 0, 0]}); unitai[0].push({'linkage': 'siegeraider', 'ai': [5, 50, 60, 50, 20, 10]}); unitai[0].push({'linkage': 'moonstruck', 'ai': [15, 30, 60, 60, 0, 5]}); unitai[0].push({'linkage': 'siegeconvoy', 'ai': [30, 40, 50, 70, 25, 15]}); unitai[0].push({'linkage': 'triblaster', 'ai': [0, 40, 40, 40, 0, 0]}); unitai[0].push({'linkage': 'fuzaron', 'ai': [15, 60, 20, 10, 0, 10]}); unitai[0].push({'linkage': 'laserfox', 'ai': [5, 70, 70, 20, 0, 0]}); unitai[0].push({'linkage': 'triloblast', 'ai': [5, 50, 60, 50, 10, 30]}); unitai[0].push({'linkage': 'jaccruiser', 'ai': [0, 80, 60, 40, 0, 0]}); unitai[0].push({'linkage': 'xdarios', 'ai': [0, 0, 90, 80, 0, 30]}); unitai[0].push({'linkage': 'battleunit', 'ai': [10, 20, 40, 50, 0, 2]}); unitai[0].push({'linkage': 'flashsamurai', 'ai': [10, 80, 60, 30, 10, 10]}); unitai[0].push({'linkage': 'particca', 'ai': [10, 50, 50, 20, 0, 0]}); unitai[0].push({'linkage': 'missilebike', 'ai': [0, 20, 80, 45, 0, 5]}); unitai[0].push({'linkage': 'qwalker', 'ai': [0, 30, 70, 60, 10, 5]}); unitai[0].push({'linkage': 'invistotank', 'ai': [30, 50, 50, 10, 0, 5]}); unitai[0].push({'linkage': 'askeara', 'ai': [5, 50, 80, 30, 20, 20]}); unitai[0].push({'linkage': 'smcfire', 'ai': [0, 35, 40, 80, 0, 20]}); unitai[0].push({'linkage': 'geneson', 'ai': [20, 90, 90, 80, 3, 21]}); unitai[0].push({'linkage': 'tiusanin', 'ai': [0, 30, 20, 10, 0, 0]}); unitai[0].push({'linkage': 'sbm', 'ai': [0, 30, 20, 5, 0, 0]}); unitai[0].push({'linkage': 'smcsatellite', 'ai': [0, 20, 30, 50, 10, 30]}); unitai[1].push({'linkage': 'infantry', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[1].push({'linkage': 'rocketman', 'ai': [20, 60, 80, 30, 20, 10]}); unitai[1].push({'linkage': 'flamer', 'ai': [50, 60, 90, 75, 10, 0]}); unitai[1].push({'linkage': 'commando', 'ai': [30, 10, 80, 85, 0, 0]}); unitai[1].push({'linkage': 'jeep', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[1].push({'linkage': 'lighttank', 'ai': [0, 0, 0, 90, 50, 50]}); unitai[1].push({'linkage': 'bngtank', 'ai': [10, 10, 20, 80, 70, 35]}); unitai[1].push({'linkage': 'rockettank', 'ai': [10, 60, 80, 30, 20, 10]}); unitai[1].push({'linkage': 'bngbluetrigger', 'ai': [10, 10, 20, 20, 20, 20]}); unitai[1].push({'linkage': 'assaultheli', 'ai': [10, 3, 5, 60, 90, 80]}); unitai[1].push({'linkage': 'bngfighter', 'ai': [10, 40, 30, 60, 35, 25]}); unitai[1].push({'linkage': 'bwingbomber', 'ai': [10, 0, 0, 20, 95, 80]}); unitai[1].push({'linkage': 'all', 'ai': [50, 50, 50, 50, 50, 50]}); unitai[1].push({'linkage': 'ninja', 'ai': [10, 50, 50, 10, 0, 0]}); unitai[1].push({'linkage': 'bomberunit', 'ai': [0, 20, 30, 50, 0, 3]}); unitai[1].push({'linkage': 'gunner', 'ai': [10, 10, 20, 10, 0, 0]}); unitai[1].push({'linkage': 'samurai', 'ai': [10, 10, 60, 5, 5, 0]}); unitai[1].push({'linkage': 'jetgunner', 'ai': [5, 15, 30, 0, 0, 0]}); unitai[1].push({'linkage': 'rocketjeep', 'ai': [3, 10, 10, 60, 0, 5]}); unitai[1].push({'linkage': 'biker', 'ai': [30, 40, 35, 50, 10, 0]}); unitai[1].push({'linkage': 'mab', 'ai': [5, 30, 65, 15, 5, 5]}); unitai[1].push({'linkage': 'autocannonbear', 'ai': [5, 20, 50, 50, 50, 50]}); unitai[1].push({'linkage': 'earthwalker', 'ai': [3, 55, 70, 60, 0, 0]}); unitai[1].push({'linkage': 'dragonrider', 'ai': [10, 10, 20, 90, 50, 30]}); unitai[1].push({'linkage': 'battlepod', 'ai': [5, 10, 20, 30, 30, 5]}); unitai[1].push({'linkage': 'trooper', 'ai': [10, 50, 50, 50, 0, 0]}); unitai[1].push({'linkage': 'raider', 'ai': [0, 40, 40, 30, 0, 0]}); unitai[1].push({'linkage': 'kuburai', 'ai': [10, 60, 20, 10, 0, 0]}); unitai[1].push({'linkage': 'siegeraider', 'ai': [5, 50, 60, 50, 20, 10]}); unitai[1].push({'linkage': 'moonstruck', 'ai': [15, 30, 60, 60, 0, 5]}); unitai[1].push({'linkage': 'siegeconvoy', 'ai': [30, 40, 50, 70, 25, 15]}); unitai[1].push({'linkage': 'triblaster', 'ai': [0, 40, 40, 40, 0, 0]}); unitai[1].push({'linkage': 'fuzaron', 'ai': [15, 60, 20, 10, 0, 10]}); unitai[1].push({'linkage': 'laserfox', 'ai': [5, 70, 70, 20, 0, 0]}); unitai[1].push({'linkage': 'triloblast', 'ai': [5, 50, 60, 50, 10, 30]}); unitai[1].push({'linkage': 'jaccruiser', 'ai': [0, 80, 60, 40, 0, 0]}); unitai[1].push({'linkage': 'xdarios', 'ai': [0, 0, 90, 80, 0, 30]}); unitai[1].push({'linkage': 'battleunit', 'ai': [10, 20, 40, 50, 0, 2]}); unitai[1].push({'linkage': 'flashsamurai', 'ai': [10, 80, 60, 30, 10, 10]}); unitai[1].push({'linkage': 'particca', 'ai': [10, 50, 50, 20, 0, 0]}); unitai[1].push({'linkage': 'missilebike', 'ai': [0, 20, 80, 45, 0, 5]}); unitai[1].push({'linkage': 'qwalker', 'ai': [0, 30, 70, 60, 10, 5]}); unitai[1].push({'linkage': 'invistotank', 'ai': [30, 50, 50, 10, 0, 5]}); unitai[1].push({'linkage': 'askeara', 'ai': [5, 50, 80, 30, 20, 20]}); unitai[1].push({'linkage': 'smcfire', 'ai': [0, 35, 40, 80, 0, 20]}); unitai[1].push({'linkage': 'geneson', 'ai': [20, 90, 90, 80, 3, 21]}); unitai[1].push({'linkage': 'tiusanin', 'ai': [0, 30, 20, 10, 0, 0]}); unitai[1].push({'linkage': 'sbm', 'ai': [0, 30, 20, 5, 0, 0]}); unitai[1].push({'linkage': 'smcsatellite', 'ai': [0, 20, 30, 50, 10, 30]}); ai_units0 = new Array(); ai_units0.push([int(wbaic_input0.substr(1, 2)), int(wbaic_input0.substr(3, 2)), int(wbaic_input0.substr(5, 2)), int(wbaic_input0.substr(7, 2)), int(wbaic_input0.substr(9, 2)), int(wbaic_input0.substr(11, 2))]); ai_units0.push([int(wbaic_input0.substr(13, 2)), int(wbaic_input0.substr(15, 2)), int(wbaic_input0.substr(17, 2)), int(wbaic_input0.substr(19, 2)), int(wbaic_input0.substr(21, 2)), int(wbaic_input0.substr(23, 2))]); ai_units0.push([int(wbaic_input0.substr(25, 2)), int(wbaic_input0.substr(27, 2)), int(wbaic_input0.substr(29, 2)), int(wbaic_input0.substr(31, 2)), int(wbaic_input0.substr(33, 2)), int(wbaic_input0.substr(35, 2))]); ai_units0.push([int(wbaic_input0.substr(37, 2)), int(wbaic_input0.substr(39, 2)), int(wbaic_input0.substr(41, 2)), int(wbaic_input0.substr(43, 2)), int(wbaic_input0.substr(45, 2)), int(wbaic_input0.substr(47, 2))]); ai_units0.push([int(wbaic_input0.substr(49, 2)), int(wbaic_input0.substr(51, 2)), int(wbaic_input0.substr(53, 2)), int(wbaic_input0.substr(55, 2)), int(wbaic_input0.substr(57, 2)), int(wbaic_input0.substr(59, 2))]); ai_units0.push([int(wbaic_input0.substr(61, 2)), int(wbaic_input0.substr(63, 2)), int(wbaic_input0.substr(65, 2)), int(wbaic_input0.substr(67, 2)), int(wbaic_input0.substr(69, 2)), int(wbaic_input0.substr(71, 2))]); ai_units0.push([int(wbaic_input0.substr(73, 2)), int(wbaic_input0.substr(75, 2)), int(wbaic_input0.substr(77, 2)), int(wbaic_input0.substr(79, 2)), int(wbaic_input0.substr(81, 2)), int(wbaic_input0.substr(83, 2))]); ai_units0.push([int(wbaic_input0.substr(85, 2)), int(wbaic_input0.substr(87, 2)), int(wbaic_input0.substr(89, 2)), int(wbaic_input0.substr(91, 2)), int(wbaic_input0.substr(93, 2)), int(wbaic_input0.substr(95, 2))]); ai_units0.push([int(wbaic_input0.substr(97, 2)), int(wbaic_input0.substr(99, 2)), int(wbaic_input0.substr(101, 2)), int(wbaic_input0.substr(103, 2)), int(wbaic_input0.substr(105, 2)), int(wbaic_input0.substr(107, 2))]); ai_units0.push([int(wbaic_input0.substr(109, 2)), int(wbaic_input0.substr(111, 2)), int(wbaic_input0.substr(113, 2)), int(wbaic_input0.substr(115, 2)), int(wbaic_input0.substr(117, 2)), int(wbaic_input0.substr(119, 2))]); ai_units0.push([int(wbaic_input0.substr(121, 2)), int(wbaic_input0.substr(123, 2)), int(wbaic_input0.substr(125, 2)), int(wbaic_input0.substr(127, 2)), int(wbaic_input0.substr(129, 2)), int(wbaic_input0.substr(131, 2))]); ai_units0.push([int(wbaic_input0.substr(133, 2)), int(wbaic_input0.substr(135, 2)), int(wbaic_input0.substr(137, 2)), int(wbaic_input0.substr(139, 2)), int(wbaic_input0.substr(141, 2)), int(wbaic_input0.substr(143, 2))]); ai_units0.push([int(wbaic_input0.substr(145, 2)), int(wbaic_input0.substr(147, 2)), int(wbaic_input0.substr(149, 2)), int(wbaic_input0.substr(151, 2)), int(wbaic_input0.substr(153, 2)), int(wbaic_input0.substr(155, 2))]); ai_units0.push([int(wbaic_input0.substr(157, 2)), int(wbaic_input0.substr(159, 2)), int(wbaic_input0.substr(161, 2)), int(wbaic_input0.substr(163, 2)), int(wbaic_input0.substr(165, 2)), int(wbaic_input0.substr(167, 2))]); ai_units0.push([int(wbaic_input0.substr(169, 2)), int(wbaic_input0.substr(171, 2)), int(wbaic_input0.substr(173, 2)), int(wbaic_input0.substr(175, 2)), int(wbaic_input0.substr(177, 2)), int(wbaic_input0.substr(179, 2))]); ai_units1 = new Array(); ai_units1.push([int(wbaic_input1.substr(1, 2)), int(wbaic_input1.substr(3, 2)), int(wbaic_input1.substr(5, 2)), int(wbaic_input1.substr(7, 2)), int(wbaic_input1.substr(9, 2)), int(wbaic_input1.substr(11, 2))]); ai_units1.push([int(wbaic_input1.substr(13, 2)), int(wbaic_input1.substr(15, 2)), int(wbaic_input1.substr(17, 2)), int(wbaic_input1.substr(19, 2)), int(wbaic_input1.substr(21, 2)), int(wbaic_input1.substr(23, 2))]); ai_units1.push([int(wbaic_input1.substr(25, 2)), int(wbaic_input1.substr(27, 2)), int(wbaic_input1.substr(29, 2)), int(wbaic_input1.substr(31, 2)), int(wbaic_input1.substr(33, 2)), int(wbaic_input1.substr(35, 2))]); ai_units1.push([int(wbaic_input1.substr(37, 2)), int(wbaic_input1.substr(39, 2)), int(wbaic_input1.substr(41, 2)), int(wbaic_input1.substr(43, 2)), int(wbaic_input1.substr(45, 2)), int(wbaic_input1.substr(47, 2))]); ai_units1.push([int(wbaic_input1.substr(49, 2)), int(wbaic_input1.substr(51, 2)), int(wbaic_input1.substr(53, 2)), int(wbaic_input1.substr(55, 2)), int(wbaic_input1.substr(57, 2)), int(wbaic_input1.substr(59, 2))]); ai_units1.push([int(wbaic_input1.substr(61, 2)), int(wbaic_input1.substr(63, 2)), int(wbaic_input1.substr(65, 2)), int(wbaic_input1.substr(67, 2)), int(wbaic_input1.substr(69, 2)), int(wbaic_input1.substr(71, 2))]); ai_units1.push([int(wbaic_input1.substr(73, 2)), int(wbaic_input1.substr(75, 2)), int(wbaic_input1.substr(77, 2)), int(wbaic_input1.substr(79, 2)), int(wbaic_input1.substr(81, 2)), int(wbaic_input1.substr(83, 2))]); ai_units1.push([int(wbaic_input1.substr(85, 2)), int(wbaic_input1.substr(87, 2)), int(wbaic_input1.substr(89, 2)), int(wbaic_input1.substr(91, 2)), int(wbaic_input1.substr(93, 2)), int(wbaic_input1.substr(95, 2))]); ai_units1.push([int(wbaic_input1.substr(97, 2)), int(wbaic_input1.substr(99, 2)), int(wbaic_input1.substr(101, 2)), int(wbaic_input1.substr(103, 2)), int(wbaic_input1.substr(105, 2)), int(wbaic_input1.substr(107, 2))]); ai_units1.push([int(wbaic_input1.substr(109, 2)), int(wbaic_input1.substr(111, 2)), int(wbaic_input1.substr(113, 2)), int(wbaic_input1.substr(115, 2)), int(wbaic_input1.substr(117, 2)), int(wbaic_input1.substr(119, 2))]); ai_units1.push([int(wbaic_input1.substr(121, 2)), int(wbaic_input1.substr(123, 2)), int(wbaic_input1.substr(125, 2)), int(wbaic_input1.substr(127, 2)), int(wbaic_input1.substr(129, 2)), int(wbaic_input1.substr(131, 2))]); ai_units1.push([int(wbaic_input1.substr(133, 2)), int(wbaic_input1.substr(135, 2)), int(wbaic_input1.substr(137, 2)), int(wbaic_input1.substr(139, 2)), int(wbaic_input1.substr(141, 2)), int(wbaic_input1.substr(143, 2))]); ai_units1.push([int(wbaic_input1.substr(145, 2)), int(wbaic_input1.substr(147, 2)), int(wbaic_input1.substr(149, 2)), int(wbaic_input1.substr(151, 2)), int(wbaic_input1.substr(153, 2)), int(wbaic_input1.substr(155, 2))]); ai_units1.push([int(wbaic_input1.substr(157, 2)), int(wbaic_input1.substr(159, 2)), int(wbaic_input1.substr(161, 2)), int(wbaic_input1.substr(163, 2)), int(wbaic_input1.substr(165, 2)), int(wbaic_input1.substr(167, 2))]); ai_units1.push([int(wbaic_input1.substr(169, 2)), int(wbaic_input1.substr(171, 2)), int(wbaic_input1.substr(173, 2)), int(wbaic_input1.substr(175, 2)), int(wbaic_input1.substr(177, 2)), int(wbaic_input1.substr(179, 2))]); ai_situations0 = new Array(); ai_situations0.push([int(wbaic_input0.substr(181, 1)), int(wbaic_input0.substr(182, 1)), int(wbaic_input0.substr(183, 1)), int(wbaic_input0.substr(184, 1)), int(wbaic_input0.substr(185, 1)), int(wbaic_input0.substr(186, 1)), int(wbaic_input0.substr(187, 1)), int(wbaic_input0.substr(188, 1)), int(wbaic_input0.substr(189, 1))]); ai_situations0.push([int(wbaic_input0.substr(190, 1)), int(wbaic_input0.substr(191, 1)), int(wbaic_input0.substr(192, 1)), int(wbaic_input0.substr(193, 1))]); ai_situations0.push([int(wbaic_input0.substr(194, 1)), int(wbaic_input0.substr(195, 1)), int(wbaic_input0.substr(196, 1)), int(wbaic_input0.substr(197, 1))]); ai_situations0.push([int(wbaic_input0.substr(198, 1)), int(wbaic_input0.substr(199, 1)), int(wbaic_input0.substr(200, 1)), int(wbaic_input0.substr(201, 1))]); ai_situations0.push([int(wbaic_input0.substr(202, 1)), int(wbaic_input0.substr(203, 1)), int(wbaic_input0.substr(204, 1)), int(wbaic_input0.substr(205, 1))]); ai_situations0.push([int(wbaic_input0.substr(206, 1)), int(wbaic_input0.substr(207, 1)), int(wbaic_input0.substr(208, 1))]); ai_situations0.push([int(wbaic_input0.substr(209, 1)), int(wbaic_input0.substr(210, 1)), int(wbaic_input0.substr(211, 1))]); ai_situations1 = new Array(); ai_situations1.push([int(wbaic_input1.substr(181, 1)), int(wbaic_input1.substr(182, 1)), int(wbaic_input1.substr(183, 1)), int(wbaic_input1.substr(184, 1)), int(wbaic_input1.substr(185, 1)), int(wbaic_input1.substr(186, 1)), int(wbaic_input1.substr(187, 1)), int(wbaic_input1.substr(188, 1)), int(wbaic_input1.substr(189, 1))]); ai_situations1.push([int(wbaic_input1.substr(190, 1)), int(wbaic_input1.substr(191, 1)), int(wbaic_input1.substr(192, 1)), int(wbaic_input1.substr(193, 1))]); ai_situations1.push([int(wbaic_input1.substr(194, 1)), int(wbaic_input1.substr(195, 1)), int(wbaic_input1.substr(196, 1)), int(wbaic_input1.substr(197, 1))]); ai_situations1.push([int(wbaic_input1.substr(198, 1)), int(wbaic_input1.substr(199, 1)), int(wbaic_input1.substr(200, 1)), int(wbaic_input1.substr(201, 1))]); ai_situations1.push([int(wbaic_input1.substr(202, 1)), int(wbaic_input1.substr(203, 1)), int(wbaic_input1.substr(204, 1)), int(wbaic_input1.substr(205, 1))]); ai_situations1.push([int(wbaic_input1.substr(206, 1)), int(wbaic_input1.substr(207, 1)), int(wbaic_input1.substr(208, 1))]); ai_situations1.push([int(wbaic_input1.substr(209, 1)), int(wbaic_input1.substr(210, 1)), int(wbaic_input1.substr(211, 1))]); ai_evalfavoring0 = [int(wbaic_input0.substr(212, 1)), int(wbaic_input0.substr(213, 1)), int(wbaic_input0.substr(214, 1)), int(wbaic_input0.substr(215, 1)), int(wbaic_input0.substr(216, 1)), int(wbaic_input0.substr(217, 1)), int(wbaic_input0.substr(218, 1))]; ai_frequency0 = int(wbaic_input0.substr(219, 2)); ai_evalfavoring1 = [int(wbaic_input1.substr(212, 1)), int(wbaic_input1.substr(213, 1)), int(wbaic_input1.substr(214, 1)), int(wbaic_input1.substr(215, 1)), int(wbaic_input1.substr(216, 1)), int(wbaic_input1.substr(217, 1)), int(wbaic_input1.substr(218, 1))]; ai_frequency1 = int(wbaic_input1.substr(219, 2)); i = 0; while (i <= 11) { j = 0; while (j <= 5) { unitai[1][i + houseadders[startinghouse1]].ai[j] = ai_units1[i][j]; ++j; } ++i; } tempmoney = 0; tempbuilding = ''; if (startinghouse0 == 'bng') { addbuilding(0, 'building_hq', 97, 200, 'builders'); } else { if (startinghouse0 == 'mf') { addbuilding(0, 'building_spybase', 97, 200, 'builders'); } else { if (startinghouse0 == 'jac') { addbuilding(0, 'building_powercore', 97, 200, 'builders'); } else { if (startinghouse0 == 'smc') { addbuilding(0, 'building_opscenter', 97, 200, 'builders'); } } } } if (startinghouse1 == 'bng') { addbuilding(1, 'building_hq', 887, 200, 'builders'); } else { if (startinghouse1 == 'mf') { addbuilding(1, 'building_spybase', 887, 200, 'builders'); } else { if (startinghouse1 == 'jac') { addbuilding(1, 'building_powercore', 887, 200, 'builders'); } else { if (startinghouse1 == 'smc') { addbuilding(1, 'building_opscenter', 887, 200, 'builders'); } } } } hqs[0] = builders[0][0]; hqs[1] = builders[1][0]; hqs[0].built = 1; hqs[1].built = 1; unitsreleased = [0, 0]; unitsdestroyed = [0, 0]; buildingsbuilt = [0, 0]; buildingsdestroyed = [0, 0]; cashearned = [0, 0]; gamelog = gameversion + '\n\n' + _root.commandername0 + ' vs ' + _root.commandername1 + '\n'; winner = null; storyset(); var newunit = new Sound(); newunit.attachSound('unitready_' + startinghouse0); var deadunit = new Sound(); deadunit.attachSound('unitlost_' + startinghouse0); var newbuilding = new Sound(); newbuilding.attachSound('buildingcomplete_' + startinghouse0); } button 8582 { on (release) { gotoAndPlay('buildstation2'); } } button 8584 { on (release) { gotoAndPlay('buildstation'); } } movieClip 8629 { frame 1 { aistartnum = 13; this.onEnterFrame = function () { money = _root.moneys[0]; r1 = _root.researches[0][0] + _root.researches[0][1] + _root.researches[0][2] + _root.researches[0][3]; r2 = _root.researches[1][0] + _root.researches[1][1] + _root.researches[1][2] + _root.researches[1][3]; }; } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 65) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'ai'); } else { if (Key.getCode() == 83) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'buildings'); } else { if (Key.getCode() == 68) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'defense'); } else { if (Key.getCode() == 70) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'offense'); } } } } } } frame 2 { commandernames = ' Opponent: ' + _root.commandername1; while (cn.text.indexOf('_') != -1) { cn.replaceText(cn.text.indexOf('_'), cn.text.indexOf('_') + 1, ' '); } } frame 3 { stop(); } frame 10 { selectedthing = null; aii.gotoAndStop(aistartnum); } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 192) { _parent.aii.gotoAndStop(13); } else { if (Key.getCode() == 49) { _parent.aii.gotoAndStop(1); } else { if (Key.getCode() == 50) { _parent.aii.gotoAndStop(2); } else { if (Key.getCode() == 51) { _parent.aii.gotoAndStop(3); } else { if (Key.getCode() == 52) { _parent.aii.gotoAndStop(4); } else { if (Key.getCode() == 53) { _parent.aii.gotoAndStop(5); } else { if (Key.getCode() == 54) { _parent.aii.gotoAndStop(6); } else { if (Key.getCode() == 55) { _parent.aii.gotoAndStop(8); } else { if (Key.getCode() == 56) { _parent.aii.gotoAndStop(7); } else { if (Key.getCode() == 57) { _parent.aii.gotoAndStop(9); } else { if (Key.getCode() == 48) { _parent.aii.gotoAndStop(10); } else { if (Key.getCode() == 189) { _parent.aii.gotoAndStop(11); } else { if (Key.getCode() == 187) { _parent.aii.gotoAndStop(12); } } } } } } } } } } } } } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] >= 750) { _root.tempmoney = 750; _root.moneys[0] -= 750; _root.tempbuilding = 'tradetower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_tradetower'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } else { _parent.nomoney.play(); } } } instance of movieClip 7084 { onClipEvent (load) { labs = 0; for (i in _root.outposts[0]) { if (_root.outposts[0][i].linkage == 'researchlab') { labs = 1; disabled = 1; break; } } if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 450) { _parent.nomoney.play(); } if (_root.moneys[0] >= 450 && labs == 0 && _root.techs[0] > 0) { _root.tempmoney = 450; _root.moneys[0] -= 450; _root.tempbuilding = 'researchlab'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_researchlab'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 160) { _parent.nomoney.play(); } if (_root.moneys[0] >= 160) { _root.tempmoney = 160; _root.moneys[0] -= 160; _root.tempbuilding = 'gunturret'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 20; _root.pmg._height = 20; _root.pmg.linkage = 'building_gunturret'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 325) { _parent.nomoney.play(); } if (_root.moneys[0] >= 325 && _root.techs[0] > 0) { _root.tempmoney = 325; _root.moneys[0] -= 325; _root.tempbuilding = 'cannontower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_cannontower'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 2) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 450) { _parent.nomoney.play(); } if (_root.moneys[0] >= 450 && _root.techs[0] > 2) { _root.tempmoney = 450; _root.moneys[0] -= 450; _root.tempbuilding = 'rockettower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_rockettower'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 4) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 955) { _parent.nomoney.play(); } if (_root.moneys[0] >= 955 && _root.techs[0] > 4) { _root.tempmoney = 955; _root.moneys[0] -= 955; _root.tempbuilding = 'autocannontower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 60; _root.pmg._height = 60; _root.pmg.linkage = 'building_autocannontower'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 500) { _parent.nomoney.play(); } if (_root.moneys[0] >= 500) { _root.tempmoney = 500; _root.moneys[0] -= 500; _root.tempbuilding = 'armycamp'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_armycamp'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 650) { _parent.nomoney.play(); } if (_root.moneys[0] >= 650) { _root.tempmoney = 650; _root.moneys[0] -= 650; _root.tempbuilding = 'machinebay'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_machinebay'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 3) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 850) { _parent.nomoney.play(); } if (_root.moneys[0] >= 850 && _root.techs[0] > 3) { _root.tempmoney = 850; _root.moneys[0] -= 850; _root.tempbuilding = 'hangar'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 106; _root.pmg._height = 42; _root.pmg.linkage = 'building_hangar'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } frame 20 { selectedthing = null; aii.gotoAndStop(aistartnum); } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 192) { _parent.aii.gotoAndStop(13); } else { if (Key.getCode() == 49) { _parent.aii.gotoAndStop(14); } else { if (Key.getCode() == 50) { _parent.aii.gotoAndStop(15); } else { if (Key.getCode() == 51) { _parent.aii.gotoAndStop(16); } else { if (Key.getCode() == 52) { _parent.aii.gotoAndStop(17); } else { if (Key.getCode() == 53) { _parent.aii.gotoAndStop(18); } else { if (Key.getCode() == 54) { _parent.aii.gotoAndStop(19); } else { if (Key.getCode() == 55) { _parent.aii.gotoAndStop(20); } else { if (Key.getCode() == 56) { _parent.aii.gotoAndStop(21); } else { if (Key.getCode() == 57) { _parent.aii.gotoAndStop(22); } else { if (Key.getCode() == 48) { _parent.aii.gotoAndStop(23); } else { if (Key.getCode() == 189) { _parent.aii.gotoAndStop(24); } else { if (Key.getCode() == 187) { _parent.aii.gotoAndStop(25); } } } } } } } } } } } } } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] >= 700) { _root.tempmoney = 700; _root.moneys[0] -= 700; _root.tempbuilding = 'tradingbay'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_tradingbay'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } else { _parent.nomoney.play(); } } } instance of movieClip 7084 { onClipEvent (load) { labs = 0; for (i in _root.outposts[0]) { if (_root.outposts[0][i].linkage == 'techhouse') { labs = 1; disabled = 1; break; } } if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 400) { _parent.nomoney.play(); } if (_root.moneys[0] >= 400 && labs == 0 && _root.techs[0] > 0) { _root.tempmoney = 400; _root.moneys[0] -= 400; _root.tempbuilding = 'techhouse'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_techhouse'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 190) { _parent.nomoney.play(); } if (_root.moneys[0] >= 190) { _root.tempmoney = 190; _root.moneys[0] -= 190; _root.tempbuilding = 'bombpod'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 20; _root.pmg._height = 20; _root.pmg.linkage = 'building_bombpod'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 300) { _parent.nomoney.play(); } if (_root.moneys[0] >= 300 && _root.techs[0] > 0) { _root.tempmoney = 300; _root.moneys[0] -= 300; _root.tempbuilding = 'molotovpod'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_molotovpod'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 3) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 270) { _parent.nomoney.play(); } if (_root.moneys[0] >= 270 && _root.techs[0] > 3) { _root.tempmoney = 270; _root.moneys[0] -= 270; _root.tempbuilding = 'lightningtower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_lightningtower'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 520) { _parent.nomoney.play(); } if (_root.moneys[0] >= 520) { _root.tempmoney = 520; _root.moneys[0] -= 520; _root.tempbuilding = 'barracks'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_barracks'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 1) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 620) { _parent.nomoney.play(); } if (_root.moneys[0] >= 620 && _root.techs[0] > 1) { _root.tempmoney = 620; _root.moneys[0] -= 620; _root.tempbuilding = 'assemblicon'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_assemblicon'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 4) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 870) { _parent.nomoney.play(); } if (_root.moneys[0] >= 870 && _root.techs[0] > 4) { _root.tempmoney = 870; _root.moneys[0] -= 870; _root.tempbuilding = 'skypad'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 106; _root.pmg._height = 42; _root.pmg.linkage = 'building_skypad'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } frame 28 { selectedthing = null; aii.gotoAndStop(aistartnum); } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 192) { _parent.aii.gotoAndStop(13); } else { if (Key.getCode() == 49) { _parent.aii.gotoAndStop(26); } else { if (Key.getCode() == 50) { _parent.aii.gotoAndStop(27); } else { if (Key.getCode() == 51) { _parent.aii.gotoAndStop(28); } else { if (Key.getCode() == 52) { _parent.aii.gotoAndStop(29); } else { if (Key.getCode() == 53) { _parent.aii.gotoAndStop(30); } else { if (Key.getCode() == 54) { _parent.aii.gotoAndStop(31); } else { if (Key.getCode() == 55) { _parent.aii.gotoAndStop(32); } else { if (Key.getCode() == 56) { _parent.aii.gotoAndStop(33); } else { if (Key.getCode() == 57) { _parent.aii.gotoAndStop(34); } else { if (Key.getCode() == 48) { _parent.aii.gotoAndStop(35); } else { if (Key.getCode() == 189) { _parent.aii.gotoAndStop(36); } else { if (Key.getCode() == 187) { _parent.aii.gotoAndStop(37); } } } } } } } } } } } } } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] >= 600) { _root.tempmoney = 600; _root.moneys[0] -= 600; _root.tempbuilding = 'tradestation'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_tradestation'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } else { _parent.nomoney.play(); } } } instance of movieClip 7084 { onClipEvent (load) { labs = 0; for (i in _root.outposts[0]) { if (_root.outposts[0][i].linkage == 'cosmoratory') { labs = 1; disabled = 1; break; } } if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 500) { _parent.nomoney.play(); } if (_root.moneys[0] >= 500 && labs == 0 && _root.techs[0] > 0) { _root.tempmoney = 500; _root.moneys[0] -= 500; _root.tempbuilding = 'cosmoratory'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_cosmoratory'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 2) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 980) { _parent.nomoney.play(); } if (_root.moneys[0] >= 980 && _root.techs[0] > 2) { _root.tempmoney = 980; _root.moneys[0] -= 980; _root.tempbuilding = 'tradersunion'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_tradersunion'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 160) { _parent.nomoney.play(); } if (_root.moneys[0] >= 160) { _root.tempmoney = 160; _root.moneys[0] -= 160; _root.tempbuilding = 'raiderturret'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 20; _root.pmg._height = 20; _root.pmg.linkage = 'building_raiderturret'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 425) { _parent.nomoney.play(); } if (_root.moneys[0] >= 425 && _root.techs[0] > 0) { _root.tempmoney = 425; _root.moneys[0] -= 425; _root.tempbuilding = 'missilerack'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_missilerack'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 1) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 460) { _parent.nomoney.play(); } if (_root.moneys[0] >= 460 && _root.techs[0] > 1) { _root.tempmoney = 460; _root.moneys[0] -= 460; _root.tempbuilding = 'jacrocketon'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_jacrocketon'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 4) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 1055) { _parent.nomoney.play(); } if (_root.moneys[0] >= 1055 && _root.techs[0] > 4) { _root.tempmoney = 1055; _root.moneys[0] -= 1055; _root.tempbuilding = 'jacshocker'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 60; _root.pmg._height = 60; _root.pmg.linkage = 'building_jacshocker'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 552) { _parent.nomoney.play(); } if (_root.moneys[0] >= 552) { _root.tempmoney = 552; _root.moneys[0] -= 552; _root.tempbuilding = 'raidersguild'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_raidersguild'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 880) { _parent.nomoney.play(); } if (_root.moneys[0] >= 880) { _root.tempmoney = 880; _root.moneys[0] -= 880; _root.tempbuilding = 'buildstation'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 106; _root.pmg._height = 42; _root.pmg.linkage = 'building_buildstation'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } frame 36 { selectedthing = null; aii.gotoAndStop(aistartnum); } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 192) { _parent.aii.gotoAndStop(13); } else { if (Key.getCode() == 49) { _parent.aii.gotoAndStop(38); } else { if (Key.getCode() == 50) { _parent.aii.gotoAndStop(39); } else { if (Key.getCode() == 51) { _parent.aii.gotoAndStop(40); } else { if (Key.getCode() == 52) { _parent.aii.gotoAndStop(41); } else { if (Key.getCode() == 53) { _parent.aii.gotoAndStop(42); } else { if (Key.getCode() == 54) { _parent.aii.gotoAndStop(43); } else { if (Key.getCode() == 55) { _parent.aii.gotoAndStop(44); } else { if (Key.getCode() == 56) { _parent.aii.gotoAndStop(45); } else { if (Key.getCode() == 57) { _parent.aii.gotoAndStop(46); } else { if (Key.getCode() == 48) { _parent.aii.gotoAndStop(47); } else { if (Key.getCode() == 189) { _parent.aii.gotoAndStop(48); } else { if (Key.getCode() == 187) { _parent.aii.gotoAndStop(49); } } } } } } } } } } } } } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] >= 660) { _root.tempmoney = 660; _root.moneys[0] -= 660; _root.tempbuilding = 'merchanthouse'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_merchanthouse'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } else { _parent.nomoney.play(); } } } instance of movieClip 7084 { onClipEvent (load) { labs = 0; for (i in _root.outposts[0]) { if (_root.outposts[0][i].linkage == 'sciencelab') { labs = 1; disabled = 1; break; } } if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 520) { _parent.nomoney.play(); } if (_root.moneys[0] >= 520 && labs == 0 && _root.techs[0] > 0) { _root.tempmoney = 520; _root.moneys[0] -= 520; _root.tempbuilding = 'sciencelab'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_sciencelab'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] >= 420) { _root.tempmoney = 420; _root.moneys[0] -= 420; _root.tempbuilding = 'stellarmarket'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 67; _root.pmg._height = 34; _root.pmg.linkage = 'building_stellarmarket'; _root.pmg.array = 'outposts'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } else { _parent.nomoney.play(); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 170) { _parent.nomoney.play(); } if (_root.moneys[0] >= 170) { _root.tempmoney = 170; _root.moneys[0] -= 170; _root.tempbuilding = 'pyramiddefense'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 20; _root.pmg._height = 20; _root.pmg.linkage = 'building_pyramiddefense'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 185) { _parent.nomoney.play(); } if (_root.moneys[0] >= 185 && _root.techs[0] > 0) { _root.tempmoney = 185; _root.moneys[0] -= 185; _root.tempbuilding = 'podasdefense'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_podasdefense'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 2) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 512) { _parent.nomoney.play(); } if (_root.moneys[0] >= 512 && _root.techs[0] > 2) { _root.tempmoney = 512; _root.moneys[0] -= 512; _root.tempbuilding = 'exploreod'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 24; _root.pmg._height = 32; _root.pmg.linkage = 'building_exploreod'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 3) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 500) { _parent.nomoney.play(); } if (_root.moneys[0] >= 500 && _root.techs[0] > 3) { _root.tempmoney = 500; _root.moneys[0] -= 500; _root.tempbuilding = 'tazertower'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 60; _root.pmg._height = 60; _root.pmg.linkage = 'building_tazertower'; _root.pmg.array = 'shooters'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (release) { if (_root.moneys[0] < 505) { _parent.nomoney.play(); } if (_root.moneys[0] >= 505) { _root.tempmoney = 505; _root.moneys[0] -= 505; _root.tempbuilding = 'starport'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 106; _root.pmg._height = 42; _root.pmg.linkage = 'building_starport'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7084 { onClipEvent (load) { if (_root.techs[0] <= 0) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < 877) { _parent.nomoney.play(); } if (_root.moneys[0] >= 877 && _root.techs[0] > 0) { _root.tempmoney = 877; _root.moneys[0] -= 877; _root.tempbuilding = 'galaxyport'; _root.pmg._visible = true; startDrag(_root.pmg, true); _root.pmg._width = 106; _root.pmg._height = 42; _root.pmg.linkage = 'building_galaxyport'; _root.pmg.array = 'builders'; _root.pmg.gotoAndPlay(2); _parent.gotoAndStop('cancel'); } } } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 65) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'ai'); } else { if (Key.getCode() == 83) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'buildings'); } else { if (Key.getCode() == 68) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'defense'); } else { if (Key.getCode() == 70) { _parent.selectedthing = null; _parent.gotoAndStop(_root.startinghouse0 + 'offense'); } } } } } } frame 67 { play(); } frame 68 { if (selectedthing.training) { this.gotoAndStop('opscentert'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'battleunit'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('opscentert'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'flashsamurai'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('opscentert'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'particca'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('opscentert'); } } } frame 95 { if (selectedthing.researching == 1) { this.gotoAndStop('researchlabr'); } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 0) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][0] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 1) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][1] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 2) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][2] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 1) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][3] + 1); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = (_parent.selectedthing.timer / 2700) * 100; } onClipEvent (enterFrame) { _xscale = (_parent.selectedthing.timer / 2700) * 100; if (_parent.selectedthing.timer >= 2700) { _parent.gotoAndStop('researchlab'); } } } frame 99 { if (selectedthing.researching == 1) { this.gotoAndStop('techhouser'); } } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 0) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][0] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 1) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][1] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 2) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][2] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 3) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][3] + 1); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = (_parent.selectedthing.timer / 2700) * 100; } onClipEvent (enterFrame) { _xscale = (_parent.selectedthing.timer / 2700) * 100; if (_parent.selectedthing.timer >= 2700) { _parent.gotoAndStop('techhouse'); } } } frame 103 { if (selectedthing.researching == 1) { this.gotoAndStop('cosmoratoryr'); } } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 0) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][0] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 1) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][1] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 3) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][2] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 3) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][3] + 1); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = (_parent.selectedthing.timer / 2700) * 100; } onClipEvent (enterFrame) { _xscale = (_parent.selectedthing.timer / 2700) * 100; if (_parent.selectedthing.timer >= 2700) { _parent.gotoAndStop('cosmoratory'); } } } frame 107 { if (selectedthing.researching == 1) { this.gotoAndStop('cosmoratoryr'); } } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 0) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][0] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 0) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][1] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 2) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][2] + 1); } } } instance of movieClip 7281 { onClipEvent (load) { if (_root.techs[0] <= 3) { gotoAndStop(3); } else { gotoAndStop(1 - _root.researches[_parent.selectedthing.faction][3] + 1); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = (_parent.selectedthing.timer / 2700) * 100; } onClipEvent (enterFrame) { _xscale = (_parent.selectedthing.timer / 2700) * 100; if (_parent.selectedthing.timer >= 2700) { _parent.gotoAndStop('sciencelab'); } } } frame 111 { play(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } frame 112 { if (selectedthing.training) { this.gotoAndStop('armycampt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'infantry'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('armycampt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'rocketman'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('armycampt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'flamer'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('armycampt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'commando'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('armycampt'); } } } frame 115 { play(); } frame 116 { if (selectedthing.training) { this.gotoAndStop('barrackst'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'ninja'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('barrackst'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'bomberunit'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('barrackst'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'gunner'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('barrackst'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'samurai'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('barrackst'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'jetgunner'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('barrackst'); } } } frame 119 { play(); } frame 120 { if (selectedthing.training) { this.gotoAndStop('raidersguildt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'trooper'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('raidersguildt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'raider'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('raidersguildt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'kuburai'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('raidersguildt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'siegeraider'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('raidersguildt'); } } } frame 123 { play(); } frame 124 { if (selectedthing.training) { this.gotoAndStop('machinebayt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'jeep'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('machinebayt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'lighttank'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('machinebayt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'rockettank'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('machinebayt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'bngtank'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('machinebayt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'bngbluetrigger'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('machinebayt'); } } } frame 127 { play(); } frame 128 { if (selectedthing.training) { this.gotoAndStop('assemblicont'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'rocketjeep'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('assemblicont'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'biker'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('assemblicont'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'mab'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('assemblicont'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'autocannonbear'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('assemblicont'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'earthwalker'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('assemblicont'); } } } frame 131 { play(); } frame 132 { if (selectedthing.training) { this.gotoAndStop('buildstationt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'moonstruck'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'siegeconvoy'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'triblaster'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'fuzaron'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } frame 135 { play(); } frame 136 { if (selectedthing.training) { this.gotoAndStop('buildstationt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'laserfox'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'triloblast'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'jaccruiser'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'xdarios'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('buildstationt'); } } } frame 139 { play(); } frame 140 { if (selectedthing.training) { this.gotoAndStop('hangart'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'assaultheli'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('hangart'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'bngfighter'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('hangart'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'bwingbomber'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('hangart'); } } } frame 143 { play(); } frame 144 { if (selectedthing.training) { this.gotoAndStop('skypadt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'dragonrider'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('skypadt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'battlepod'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('skypadt'); } } } frame 147 { play(); } frame 148 { if (selectedthing.training) { this.gotoAndStop('starportt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'missilebike'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('starportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'qwalker'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('starportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'invistotank'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('starportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'askeara'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('starportt'); } } } frame 151 { play(); } frame 152 { if (selectedthing.training) { this.gotoAndStop('galaxyportt'); } stop(); } instance of movieClip 7259 { onClipEvent (load) { linkage = 'smcfire'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('galaxyportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'geneson'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][1]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('galaxyportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'tiusanin'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][2]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('galaxyportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'sbm'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][0]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('galaxyportt'); } } } instance of movieClip 7259 { onClipEvent (load) { linkage = 'smcsatellite'; recordnumber = 0; for (i in _root.table_units) { if (_root.table_units[i].linkage == linkage) { recordnumber = i; break; } } if (_root.techs[0] < _root.table_units[recordnumber].tech || !_root.researches[0][3]) { disabled = 1; } } onClipEvent (release) { if (_root.moneys[0] < _root.table_units[recordnumber].price) { _parent.nomoney.play(); } if (_root.moneys[0] >= _root.table_units[recordnumber].price && !disabled) { _parent.selectedthing.tempmoney = _root.table_units[recordnumber].price; _root.moneys[0] -= _root.table_units[recordnumber].price; _parent.selectedthing.unitintraining = 'unit_' + _root.table_units[recordnumber].linkage; _parent.selectedthing.unitnameintraining = _root.table_units[recordnumber].bname; _parent.selectedthing.unitmedium = _root.table_units[recordnumber].medium; _parent.selectedthing.training = _root.table_units[recordnumber].traintime; _parent.selectedthing.fulltraining = _root.table_units[recordnumber].traintime; _parent.gotoAndStop('galaxyportt'); } } } frame 155 { play(); } frame 156 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 159 { play(); } frame 160 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 163 { play(); } frame 164 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 167 { play(); } frame 168 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 171 { play(); } frame 172 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 175 { play(); } frame 176 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 179 { play(); } frame 180 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 183 { play(); } frame 184 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 187 { play(); } frame 188 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 191 { play(); } frame 192 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 195 { play(); } frame 196 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 199 { play(); } frame 200 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 203 { play(); } frame 204 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 207 { play(); } frame 208 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } frame 211 { play(); } frame 212 { stop(); } instance of movieClip 7238 { onClipEvent (enterFrame) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('armycamp'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('barracks'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('raidersguild'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('opscenter'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('machinebay'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('assemblicon'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('buildstation'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('hangar'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('skypad'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('starport'); } } } instance of movieClip 7289 { onClipEvent (load) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; } onClipEvent (enterFrame) { _xscale = ((_parent.selectedthing.fulltraining - _parent.selectedthing.training) / _parent.selectedthing.fulltraining) * 100; if (_parent.selectedthing.training <= 0) { _parent.gotoAndStop('galaxyport'); } } } frame 279 { play(); } instance of movieClip 7476 { onClipEvent (enterFrame) { gotoAndStop(_parent.selectedthing.linkage); } } frame 280 { aistartnum = int(selectedthing.controller.recordnumber) + 1; stop(); } instance of movieClip 7238 { onClipEvent (load) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } instance of movieClip 6938 { onClipEvent (keyUp) { if (Key.getCode() == 65) { _parent.gotoAndStop(_root.startinghouse0 + 'ai'); } } } frame 281 { play(); } frame 282 { stop(); } instance of movieClip 7238 { onClipEvent (load) { mything = _parent.selectedthing; } } instance of movieClip 7402 { onClipEvent (enterFrame) { _xscale = 100 - (_parent.selectedthing.recharging / _parent.selectedthing.recharge) * 100; } } } instance iFPS of movieClip 7520 { onClipEvent (load) { } } frame 202 { addwarriors(); } frame 203 { _root.gotoAndStop('sto'); } frame 204 { stop(); } frame 205 { _root.gotoAndStop('sto'); } frame 206 { _quality = 'HIGH'; winner = 0; _root.gamelog += _root['commandername' + winner] + ' is victorious.\n'; pauser = 1; battledetails = '::: ' + _root['commandername' + winner] + ' Wins :::\n\n'; battledetails += '[' + _root.commandername0 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[0] + '\n'; battledetails += 'Units Released: ' + unitsreleased[0] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[0] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[0] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[0] + '\n\n'; battledetails += '[' + _root.commandername1 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[1] + '\n'; battledetails += 'Units Released: ' + unitsreleased[1] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[1] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[1] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[1] + '\n\n'; stop(); } frame 207 { _quality = 'HIGH'; winner = 1; _root.gamelog += _root['commandername' + winner] + ' is victorious.\n'; pauser = 1; battledetails = '::: ' + _root['commandername' + winner] + ' Wins :::\n\n'; battledetails += '[' + _root.commandername0 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[0] + '\n'; battledetails += 'Units Released: ' + unitsreleased[0] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[0] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[0] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[0] + '\n\n'; battledetails += '[' + _root.commandername1 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[1] + '\n'; battledetails += 'Units Released: ' + unitsreleased[1] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[1] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[1] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[1] + '\n\n'; stop(); } frame 208 { whovswho = _root.commandername0 + ' vs ' + _root.commandername1; while (wvwtext.text.indexOf('_') != -1) { wvwtext.replaceText(wvwtext.text.indexOf('_'), wvwtext.text.indexOf('_') + 1, ' '); } battledetails2 = ''; stop(); } instance of movieClip 7539 { onClipEvent (load) { textvar = 'battledetails2'; thetext = _parent.battledetails; tick = 1; multiple = 1; } } button 8634 { on (release) { stopAllSounds(); ++_root.currentlevel; _root.gotoAndStop(_root.allpws[_root.currentlevel - 1]); } } frame 209 { whovswho = _root.commandername0 + ' vs ' + _root.commandername1; while (wvwtext.text.indexOf('_') != -1) { wvwtext.replaceText(wvwtext.text.indexOf('_'), wvwtext.text.indexOf('_') + 1, ' '); } battledetails2 = ''; stop(); } button 8635 { on (release) { stopAllSounds(); _root.gotoAndStop('storydefeat'); } } button 8640 { on (release) { stopAllSounds(); _root.gotoAndStop(_root.allpws[_root.currentlevel - 1]); } } button 8643 { on (press) { getURL('http://warandbeyond.tamugaia.com/?what=wbds-guidestrategies', '_blank'); } } movieClip 8646 { frame 121 { stop(); } } frame 215 { play(); } frame 216 { function addbuilding(faction, linkage, xx, yy, array) { thebuilding = screen.attachMovie(linkage, array + faction + '_' + random(9999999), xx + yy * screen._width); thebuilding.faction = faction; thebuilding.id = _root[array][faction].length; thebuilding.linkage = linkage.substr(linkage.indexOf('_') + 1, linkage.length - linkage.indexOf('_') - 1); thebuilding._x = xx; thebuilding._y = yy; thebuilding.myarray = array; thebuilding._root[array][faction].push(thebuilding); } function unitready(faction, linkage, xx, yy, array, medium) { mediums = {'l': 'screen', 's': 'sky'}; theunit = _root[mediums[medium]].attachMovie(linkage, array + faction + '_' + random(9999999), xx + yy * _root[mediums[medium]]._width); theunit.faction = faction; theunit.id = _root[array][faction].length; theunit.linkage = linkage.substr(linkage.indexOf('_') + 1, linkage.length - linkage.indexOf('_') - 1); theunit._x = xx; theunit._y = yy; theunit.myarray = array; theunit._root[array][faction].push(theunit); } function re_id(whatarray) { for (i in whatarray) { if (whatarray[i].myarray == undefined) { whatarray.splice(i, 1); } } for (i in whatarray) { whatarray[i].id = i; } } pauser = 1; gamemode = 'aibattle'; gametimer = 0; builders = [new Array(), new Array()]; shooters = [new Array(), new Array()]; units = [new Array(), new Array()]; outposts = [new Array(), new Array()]; effects = []; damagers = []; hqs = new Array(); moneys = [3000, 3000]; researches = [[0, 0, 0, 0], [0, 0, 0, 0]]; techs = [techlevel_s, techlevel_s]; coloros = [startingcolor0, startingcolor1]; if (aibattlegametype < 3) { moneys = [0, 0]; } if (wbaic_input0 == '') { wbaic_input0 = wbaic_ig[random(wbaic_ig.length)]; } if (wbaic_input1 == '') { wbaic_input1 = wbaic_ig[random(wbaic_ig.length)]; } controllers = [0, 0]; ailevel = ailevel_s; allocations = [[50, 50], [50, 50]]; aggression = [0, 100]; bbda = [bbda_bng, bbda_bng]; bbdacounterstart = [0, 0]; bfa = [bfa_bng[0], bfa_bng[0]]; bfacounterstart = [0, 0]; startinghouse0 = ai_houses[int(wbaic_input0.substr(0, 1))]; aggression[0] = int(wbaic_input0.substr(221, 2)); allocations[0] = [int(wbaic_input0.substr(223, 2)), int(wbaic_input0.substr(225, 2))]; bbda[0] = _root['bbda_' + startinghouse0]; bfa[0] = _root['bfa_' + startinghouse0][int(wbaic_input0.substr(227, 1))]; commandername0 = wbaic_input0.substr(232, wbaic_input0.length); startinghouse1 = ai_houses[int(wbaic_input1.substr(0, 1))]; aggression[1] = int(wbaic_input1.substr(221, 2)); allocations[1] = [int(wbaic_input1.substr(223, 2)), int(wbaic_input1.substr(225, 2))]; bbda[1] = _root['bbda_' + startinghouse1]; bfa[1] = _root['bfa_' + startinghouse1][int(wbaic_input1.substr(227, 1))]; commandername1 = wbaic_input1.substr(232, wbaic_input1.length); trace(startinghouse1 + '.............' + int(wbaic_input1.substr(227, 1)) + '\n'); trace(bbda[1] + '\n'); trace(bfa[1]); usecode = [1, 1]; usecode[0] = int(wbaic_input0.substr(228, 1)); usecode[1] = int(wbaic_input1.substr(228, 1)); houseadders = {'bng': 0, 'mf': 13, 'jac': 25, 'smc': 37}; unitai = [new Array(), new Array()]; unitai[0].push({'linkage': 'infantry', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'rocketman', 'ai': [20, 60, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'flamer', 'ai': [0, 60, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'commando', 'ai': [30, 80, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'jeep', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'lighttank', 'ai': [0, 50, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'bngtank', 'ai': [10, 30, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'rockettank', 'ai': [10, 60, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'bngbluetrigger', 'ai': [10, 10, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'assaultheli', 'ai': [10, 30, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'bngfighter', 'ai': [10, 40, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'bwingbomber', 'ai': [10, 30, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'all', 'ai': [50, 50, 50, 50, 50, 50]}); unitai[0].push({'linkage': 'ninja', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'bomberunit', 'ai': [0, 20, 30, 0, 0, 0]}); unitai[0].push({'linkage': 'gunner', 'ai': [10, 10, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'samurai', 'ai': [10, 10, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'jetgunner', 'ai': [5, 15, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'rocketjeep', 'ai': [3, 10, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'biker', 'ai': [30, 40, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'mab', 'ai': [5, 30, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'autocannonbear', 'ai': [5, 20, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'earthwalker', 'ai': [3, 55, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'dragonrider', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'battlepod', 'ai': [5, 60, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'trooper', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'raider', 'ai': [0, 40, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'kuburai', 'ai': [10, 60, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'siegeraider', 'ai': [5, 50, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'moonstruck', 'ai': [15, 30, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'siegeconvoy', 'ai': [30, 40, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'triblaster', 'ai': [0, 40, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'fuzaron', 'ai': [15, 60, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'laserfox', 'ai': [5, 70, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'triloblast', 'ai': [5, 50, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'jaccruiser', 'ai': [0, 80, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'xdarios', 'ai': [0, 30, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'battleunit', 'ai': [10, 20, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'flashsamurai', 'ai': [10, 80, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'particca', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'missilebike', 'ai': [0, 20, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'qwalker', 'ai': [0, 30, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'invistotank', 'ai': [30, 50, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'askeara', 'ai': [5, 50, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'smcfire', 'ai': [0, 35, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'geneson', 'ai': [20, 90, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'tiusanin', 'ai': [0, 30, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'sbm', 'ai': [0, 30, 0, 0, 0, 0]}); unitai[0].push({'linkage': 'smcsatellite', 'ai': [0, 20, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'infantry', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'rocketman', 'ai': [20, 60, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'flamer', 'ai': [0, 60, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'commando', 'ai': [30, 80, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'jeep', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'lighttank', 'ai': [0, 50, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'bngtank', 'ai': [10, 30, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'rockettank', 'ai': [10, 60, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'bngbluetrigger', 'ai': [10, 10, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'assaultheli', 'ai': [10, 30, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'bngfighter', 'ai': [10, 40, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'bwingbomber', 'ai': [10, 30, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'all', 'ai': [50, 50, 50, 50, 50, 50]}); unitai[1].push({'linkage': 'ninja', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'bomberunit', 'ai': [0, 20, 30, 0, 0, 0]}); unitai[1].push({'linkage': 'gunner', 'ai': [10, 10, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'samurai', 'ai': [10, 10, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'jetgunner', 'ai': [5, 15, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'rocketjeep', 'ai': [3, 10, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'biker', 'ai': [30, 40, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'mab', 'ai': [5, 30, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'autocannonbear', 'ai': [5, 20, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'earthwalker', 'ai': [3, 55, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'dragonrider', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'battlepod', 'ai': [5, 60, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'trooper', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'raider', 'ai': [0, 40, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'kuburai', 'ai': [10, 60, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'siegeraider', 'ai': [5, 50, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'moonstruck', 'ai': [15, 30, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'siegeconvoy', 'ai': [30, 40, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'triblaster', 'ai': [0, 40, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'fuzaron', 'ai': [15, 60, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'laserfox', 'ai': [5, 70, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'triloblast', 'ai': [5, 50, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'jaccruiser', 'ai': [0, 80, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'xdarios', 'ai': [0, 30, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'battleunit', 'ai': [10, 20, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'flashsamurai', 'ai': [10, 80, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'particca', 'ai': [10, 50, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'missilebike', 'ai': [0, 20, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'qwalker', 'ai': [0, 30, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'invistotank', 'ai': [30, 50, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'askeara', 'ai': [5, 50, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'smcfire', 'ai': [0, 35, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'geneson', 'ai': [20, 90, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'tiusanin', 'ai': [0, 30, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'sbm', 'ai': [0, 30, 0, 0, 0, 0]}); unitai[1].push({'linkage': 'smcsatellite', 'ai': [0, 20, 0, 0, 0, 0]}); ai_units0 = new Array(); ai_units0.push([int(wbaic_input0.substr(1, 2)), int(wbaic_input0.substr(3, 2)), int(wbaic_input0.substr(5, 2)), int(wbaic_input0.substr(7, 2)), int(wbaic_input0.substr(9, 2)), int(wbaic_input0.substr(11, 2))]); ai_units0.push([int(wbaic_input0.substr(13, 2)), int(wbaic_input0.substr(15, 2)), int(wbaic_input0.substr(17, 2)), int(wbaic_input0.substr(19, 2)), int(wbaic_input0.substr(21, 2)), int(wbaic_input0.substr(23, 2))]); ai_units0.push([int(wbaic_input0.substr(25, 2)), int(wbaic_input0.substr(27, 2)), int(wbaic_input0.substr(29, 2)), int(wbaic_input0.substr(31, 2)), int(wbaic_input0.substr(33, 2)), int(wbaic_input0.substr(35, 2))]); ai_units0.push([int(wbaic_input0.substr(37, 2)), int(wbaic_input0.substr(39, 2)), int(wbaic_input0.substr(41, 2)), int(wbaic_input0.substr(43, 2)), int(wbaic_input0.substr(45, 2)), int(wbaic_input0.substr(47, 2))]); ai_units0.push([int(wbaic_input0.substr(49, 2)), int(wbaic_input0.substr(51, 2)), int(wbaic_input0.substr(53, 2)), int(wbaic_input0.substr(55, 2)), int(wbaic_input0.substr(57, 2)), int(wbaic_input0.substr(59, 2))]); ai_units0.push([int(wbaic_input0.substr(61, 2)), int(wbaic_input0.substr(63, 2)), int(wbaic_input0.substr(65, 2)), int(wbaic_input0.substr(67, 2)), int(wbaic_input0.substr(69, 2)), int(wbaic_input0.substr(71, 2))]); ai_units0.push([int(wbaic_input0.substr(73, 2)), int(wbaic_input0.substr(75, 2)), int(wbaic_input0.substr(77, 2)), int(wbaic_input0.substr(79, 2)), int(wbaic_input0.substr(81, 2)), int(wbaic_input0.substr(83, 2))]); ai_units0.push([int(wbaic_input0.substr(85, 2)), int(wbaic_input0.substr(87, 2)), int(wbaic_input0.substr(89, 2)), int(wbaic_input0.substr(91, 2)), int(wbaic_input0.substr(93, 2)), int(wbaic_input0.substr(95, 2))]); ai_units0.push([int(wbaic_input0.substr(97, 2)), int(wbaic_input0.substr(99, 2)), int(wbaic_input0.substr(101, 2)), int(wbaic_input0.substr(103, 2)), int(wbaic_input0.substr(105, 2)), int(wbaic_input0.substr(107, 2))]); ai_units0.push([int(wbaic_input0.substr(109, 2)), int(wbaic_input0.substr(111, 2)), int(wbaic_input0.substr(113, 2)), int(wbaic_input0.substr(115, 2)), int(wbaic_input0.substr(117, 2)), int(wbaic_input0.substr(119, 2))]); ai_units0.push([int(wbaic_input0.substr(121, 2)), int(wbaic_input0.substr(123, 2)), int(wbaic_input0.substr(125, 2)), int(wbaic_input0.substr(127, 2)), int(wbaic_input0.substr(129, 2)), int(wbaic_input0.substr(131, 2))]); ai_units0.push([int(wbaic_input0.substr(133, 2)), int(wbaic_input0.substr(135, 2)), int(wbaic_input0.substr(137, 2)), int(wbaic_input0.substr(139, 2)), int(wbaic_input0.substr(141, 2)), int(wbaic_input0.substr(143, 2))]); ai_units0.push([int(wbaic_input0.substr(145, 2)), int(wbaic_input0.substr(147, 2)), int(wbaic_input0.substr(149, 2)), int(wbaic_input0.substr(151, 2)), int(wbaic_input0.substr(153, 2)), int(wbaic_input0.substr(155, 2))]); ai_units0.push([int(wbaic_input0.substr(157, 2)), int(wbaic_input0.substr(159, 2)), int(wbaic_input0.substr(161, 2)), int(wbaic_input0.substr(163, 2)), int(wbaic_input0.substr(165, 2)), int(wbaic_input0.substr(167, 2))]); ai_units0.push([int(wbaic_input0.substr(169, 2)), int(wbaic_input0.substr(171, 2)), int(wbaic_input0.substr(173, 2)), int(wbaic_input0.substr(175, 2)), int(wbaic_input0.substr(177, 2)), int(wbaic_input0.substr(179, 2))]); ai_units1 = new Array(); ai_units1.push([int(wbaic_input1.substr(1, 2)), int(wbaic_input1.substr(3, 2)), int(wbaic_input1.substr(5, 2)), int(wbaic_input1.substr(7, 2)), int(wbaic_input1.substr(9, 2)), int(wbaic_input1.substr(11, 2))]); ai_units1.push([int(wbaic_input1.substr(13, 2)), int(wbaic_input1.substr(15, 2)), int(wbaic_input1.substr(17, 2)), int(wbaic_input1.substr(19, 2)), int(wbaic_input1.substr(21, 2)), int(wbaic_input1.substr(23, 2))]); ai_units1.push([int(wbaic_input1.substr(25, 2)), int(wbaic_input1.substr(27, 2)), int(wbaic_input1.substr(29, 2)), int(wbaic_input1.substr(31, 2)), int(wbaic_input1.substr(33, 2)), int(wbaic_input1.substr(35, 2))]); ai_units1.push([int(wbaic_input1.substr(37, 2)), int(wbaic_input1.substr(39, 2)), int(wbaic_input1.substr(41, 2)), int(wbaic_input1.substr(43, 2)), int(wbaic_input1.substr(45, 2)), int(wbaic_input1.substr(47, 2))]); ai_units1.push([int(wbaic_input1.substr(49, 2)), int(wbaic_input1.substr(51, 2)), int(wbaic_input1.substr(53, 2)), int(wbaic_input1.substr(55, 2)), int(wbaic_input1.substr(57, 2)), int(wbaic_input1.substr(59, 2))]); ai_units1.push([int(wbaic_input1.substr(61, 2)), int(wbaic_input1.substr(63, 2)), int(wbaic_input1.substr(65, 2)), int(wbaic_input1.substr(67, 2)), int(wbaic_input1.substr(69, 2)), int(wbaic_input1.substr(71, 2))]); ai_units1.push([int(wbaic_input1.substr(73, 2)), int(wbaic_input1.substr(75, 2)), int(wbaic_input1.substr(77, 2)), int(wbaic_input1.substr(79, 2)), int(wbaic_input1.substr(81, 2)), int(wbaic_input1.substr(83, 2))]); ai_units1.push([int(wbaic_input1.substr(85, 2)), int(wbaic_input1.substr(87, 2)), int(wbaic_input1.substr(89, 2)), int(wbaic_input1.substr(91, 2)), int(wbaic_input1.substr(93, 2)), int(wbaic_input1.substr(95, 2))]); ai_units1.push([int(wbaic_input1.substr(97, 2)), int(wbaic_input1.substr(99, 2)), int(wbaic_input1.substr(101, 2)), int(wbaic_input1.substr(103, 2)), int(wbaic_input1.substr(105, 2)), int(wbaic_input1.substr(107, 2))]); ai_units1.push([int(wbaic_input1.substr(109, 2)), int(wbaic_input1.substr(111, 2)), int(wbaic_input1.substr(113, 2)), int(wbaic_input1.substr(115, 2)), int(wbaic_input1.substr(117, 2)), int(wbaic_input1.substr(119, 2))]); ai_units1.push([int(wbaic_input1.substr(121, 2)), int(wbaic_input1.substr(123, 2)), int(wbaic_input1.substr(125, 2)), int(wbaic_input1.substr(127, 2)), int(wbaic_input1.substr(129, 2)), int(wbaic_input1.substr(131, 2))]); ai_units1.push([int(wbaic_input1.substr(133, 2)), int(wbaic_input1.substr(135, 2)), int(wbaic_input1.substr(137, 2)), int(wbaic_input1.substr(139, 2)), int(wbaic_input1.substr(141, 2)), int(wbaic_input1.substr(143, 2))]); ai_units1.push([int(wbaic_input1.substr(145, 2)), int(wbaic_input1.substr(147, 2)), int(wbaic_input1.substr(149, 2)), int(wbaic_input1.substr(151, 2)), int(wbaic_input1.substr(153, 2)), int(wbaic_input1.substr(155, 2))]); ai_units1.push([int(wbaic_input1.substr(157, 2)), int(wbaic_input1.substr(159, 2)), int(wbaic_input1.substr(161, 2)), int(wbaic_input1.substr(163, 2)), int(wbaic_input1.substr(165, 2)), int(wbaic_input1.substr(167, 2))]); ai_units1.push([int(wbaic_input1.substr(169, 2)), int(wbaic_input1.substr(171, 2)), int(wbaic_input1.substr(173, 2)), int(wbaic_input1.substr(175, 2)), int(wbaic_input1.substr(177, 2)), int(wbaic_input1.substr(179, 2))]); ai_situations0 = new Array(); ai_situations0.push([int(wbaic_input0.substr(181, 1)), int(wbaic_input0.substr(182, 1)), int(wbaic_input0.substr(183, 1)), int(wbaic_input0.substr(184, 1)), int(wbaic_input0.substr(185, 1)), int(wbaic_input0.substr(186, 1)), int(wbaic_input0.substr(187, 1)), int(wbaic_input0.substr(188, 1)), int(wbaic_input0.substr(189, 1))]); ai_situations0.push([int(wbaic_input0.substr(190, 1)), int(wbaic_input0.substr(191, 1)), int(wbaic_input0.substr(192, 1)), int(wbaic_input0.substr(193, 1))]); ai_situations0.push([int(wbaic_input0.substr(194, 1)), int(wbaic_input0.substr(195, 1)), int(wbaic_input0.substr(196, 1)), int(wbaic_input0.substr(197, 1))]); ai_situations0.push([int(wbaic_input0.substr(198, 1)), int(wbaic_input0.substr(199, 1)), int(wbaic_input0.substr(200, 1)), int(wbaic_input0.substr(201, 1))]); ai_situations0.push([int(wbaic_input0.substr(202, 1)), int(wbaic_input0.substr(203, 1)), int(wbaic_input0.substr(204, 1)), int(wbaic_input0.substr(205, 1))]); ai_situations0.push([int(wbaic_input0.substr(206, 1)), int(wbaic_input0.substr(207, 1)), int(wbaic_input0.substr(208, 1))]); ai_situations0.push([int(wbaic_input0.substr(209, 1)), int(wbaic_input0.substr(210, 1)), int(wbaic_input0.substr(211, 1))]); ai_situations1 = new Array(); ai_situations1.push([int(wbaic_input1.substr(181, 1)), int(wbaic_input1.substr(182, 1)), int(wbaic_input1.substr(183, 1)), int(wbaic_input1.substr(184, 1)), int(wbaic_input1.substr(185, 1)), int(wbaic_input1.substr(186, 1)), int(wbaic_input1.substr(187, 1)), int(wbaic_input1.substr(188, 1)), int(wbaic_input1.substr(189, 1))]); ai_situations1.push([int(wbaic_input1.substr(190, 1)), int(wbaic_input1.substr(191, 1)), int(wbaic_input1.substr(192, 1)), int(wbaic_input1.substr(193, 1))]); ai_situations1.push([int(wbaic_input1.substr(194, 1)), int(wbaic_input1.substr(195, 1)), int(wbaic_input1.substr(196, 1)), int(wbaic_input1.substr(197, 1))]); ai_situations1.push([int(wbaic_input1.substr(198, 1)), int(wbaic_input1.substr(199, 1)), int(wbaic_input1.substr(200, 1)), int(wbaic_input1.substr(201, 1))]); ai_situations1.push([int(wbaic_input1.substr(202, 1)), int(wbaic_input1.substr(203, 1)), int(wbaic_input1.substr(204, 1)), int(wbaic_input1.substr(205, 1))]); ai_situations1.push([int(wbaic_input1.substr(206, 1)), int(wbaic_input1.substr(207, 1)), int(wbaic_input1.substr(208, 1))]); ai_situations1.push([int(wbaic_input1.substr(209, 1)), int(wbaic_input1.substr(210, 1)), int(wbaic_input1.substr(211, 1))]); ai_evalfavoring0 = [int(wbaic_input0.substr(212, 1)), int(wbaic_input0.substr(213, 1)), int(wbaic_input0.substr(214, 1)), int(wbaic_input0.substr(215, 1)), int(wbaic_input0.substr(216, 1)), int(wbaic_input0.substr(217, 1)), int(wbaic_input0.substr(218, 1))]; ai_frequency0 = int(wbaic_input0.substr(219, 2)); ai_evalfavoring1 = [int(wbaic_input1.substr(212, 1)), int(wbaic_input1.substr(213, 1)), int(wbaic_input1.substr(214, 1)), int(wbaic_input1.substr(215, 1)), int(wbaic_input1.substr(216, 1)), int(wbaic_input1.substr(217, 1)), int(wbaic_input1.substr(218, 1))]; ai_frequency1 = int(wbaic_input1.substr(219, 2)); i = 0; while (i <= 11) { j = 0; while (j <= 5) { unitai[0][i + houseadders[startinghouse0]].ai[j] = ai_units0[i][j]; ++j; } ++i; } i = 0; while (i <= 11) { j = 0; while (j <= 5) { unitai[1][i + houseadders[startinghouse1]].ai[j] = ai_units1[i][j]; ++j; } ++i; } tempmoney = 0; tempbuilding = ''; if (startinghouse0 == 'bng') { addbuilding(0, 'building_hq', 97, 200, 'builders'); } else { if (startinghouse0 == 'mf') { addbuilding(0, 'building_spybase', 97, 200, 'builders'); } else { if (startinghouse0 == 'jac') { addbuilding(0, 'building_powercore', 97, 200, 'builders'); } else { if (startinghouse0 == 'smc') { addbuilding(0, 'building_opscenter', 97, 200, 'builders'); } } } } if (startinghouse1 == 'bng') { addbuilding(1, 'building_hq', 887, 200, 'builders'); } else { if (startinghouse1 == 'mf') { addbuilding(1, 'building_spybase', 887, 200, 'builders'); } else { if (startinghouse1 == 'jac') { addbuilding(1, 'building_powercore', 887, 200, 'builders'); } else { if (startinghouse1 == 'smc') { addbuilding(1, 'building_opscenter', 887, 200, 'builders'); } } } } hqs[0] = builders[0][0]; hqs[1] = builders[1][0]; hqs[0].built = 1; hqs[1].built = 1; if (aibattlegametype == 0) { if (startinghouse0 == 'bng') { unitready(0, 'unit_lighttank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bngtank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bngbluetrigger', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_rockettank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_rocketman', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_commando', random(300), 50 + random(200), 'units', 'l'); } else { if (startinghouse0 == 'mf') { unitready(0, 'unit_rocketjeep', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_autocannonbear', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_earthwalker', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_mab', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_samurai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_gunner', random(300), 50 + random(200), 'units', 'l'); } else { if (startinghouse0 == 'jac') { unitready(0, 'unit_raider', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_kuburai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_siegeraider', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_siegeconvoy', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_triblaster', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_fuzaron', random(300), 50 + random(200), 'units', 'l'); } else { if (startinghouse0 == 'smc') { unitready(0, 'unit_flashsamurai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_qwalker', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_invistotank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_askeara', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_geneson', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_tiusanin', random(300), 50 + random(200), 'units', 'l'); } } } } if (startinghouse1 == 'bng') { unitready(1, 'unit_lighttank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bngtank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bngbluetrigger', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_rockettank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_rocketman', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_commando', 700 + random(300), 50 + random(200), 'units', 'l'); } else { if (startinghouse1 == 'mf') { unitready(1, 'unit_rocketjeep', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_autocannonbear', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_earthwalker', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_mab', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_samurai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_gunner', 700 + random(300), 50 + random(200), 'units', 'l'); } else { if (startinghouse1 == 'jac') { unitready(1, 'unit_raider', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_kuburai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_siegeraider', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_siegeconvoy', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_triblaster', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_fuzaron', 700 + random(300), 50 + random(200), 'units', 'l'); } else { if (startinghouse1 == 'smc') { unitready(1, 'unit_flashsamurai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_qwalker', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_invistotank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_askeara', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_geneson', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_tiusanin', 700 + random(300), 50 + random(200), 'units', 'l'); } } } } } else { if (aibattlegametype == 1) { if (startinghouse0 == 'bng') { unitready(0, 'unit_lighttank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bngtank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bngbluetrigger', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_flamer', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_rocketman', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_commando', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_infantry', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_jeep', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bngfighter', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_bwingbomber', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_assaultheli', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_rockettank', random(300), 50 + random(200), 'units', 'l'); } else { if (startinghouse0 == 'mf') { unitready(0, 'unit_rocketjeep', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_autocannonbear', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_earthwalker', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_mab', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_samurai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_gunner', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_ninja', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bomberunit', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_jetgunner', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_biker', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_dragonrider', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_battlepod', random(300), 50 + random(200), 'units', 's'); } else { if (startinghouse0 == 'jac') { unitready(0, 'unit_trooper', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_raider', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_kuburai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_siegeraider', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_moonstruck', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_siegeconvoy', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_triblaster', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_fuzaron', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_laserfox', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_triloblast', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_jaccruiser', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_trooper', random(300), 50 + random(200), 'units', 's'); } else { if (startinghouse0 == 'smc') { unitready(0, 'unit_battleunit', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_flashsamurai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_particca', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_missilebike', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_qwalker', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_invistotank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_askeara', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_smcfire', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_geneson', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_tiusanin', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_sbm', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_smcsatellite', random(300), 50 + random(200), 'units', 's'); } } } } if (startinghouse1 == 'bng') { unitready(1, 'unit_lighttank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bngtank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bngbluetrigger', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_flamer', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_rocketman', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_commando', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_infantry', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_jeep', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bngfighter', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_bwingbomber', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_assaultheli', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_rockettank', 700 + random(300), 50 + random(200), 'units', 'l'); } else { if (startinghouse1 == 'mf') { unitready(1, 'unit_rocketjeep', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_autocannonbear', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_earthwalker', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_mab', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_samurai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_gunner', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_ninja', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bomberunit', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_jetgunner', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_biker', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_dragonrider', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_battlepod', 700 + random(300), 50 + random(200), 'units', 's'); } else { if (startinghouse1 == 'jac') { unitready(1, 'unit_trooper', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_raider', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_kuburai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_siegeraider', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_moonstruck', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_siegeconvoy', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_triblaster', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_fuzaron', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_laserfox', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_triloblast', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_jaccruiser', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_trooper', 700 + random(300), 50 + random(200), 'units', 's'); } else { if (startinghouse1 == 'smc') { unitready(1, 'unit_battleunit', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_flashsamurai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_particca', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_missilebike', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_qwalker', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_invistotank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_askeara', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_smcfire', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_geneson', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_tiusanin', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_sbm', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_smcsatellite', 700 + random(300), 50 + random(200), 'units', 's'); } } } } } else { if (aibattlegametype == 2) { if (startinghouse0 == 'bng') { unitready(0, 'unit_lighttank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_lighttank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bngtank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bngbluetrigger', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bngfighter', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_flamer', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_flamer', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_rocketman', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_rocketman', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_commando', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_commando', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_infantry', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_infantry', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_lighttank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_lighttank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_jeep', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_jeep', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_jeep', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bngfighter', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_bwingbomber', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_assaultheli', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_assaultheli', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_rockettank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_rockettank', random(300), 50 + random(200), 'units', 'l'); } else { if (startinghouse0 == 'mf') { unitready(0, 'unit_rocketjeep', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_rocketjeep', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_autocannonbear', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_earthwalker', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_mab', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_mab', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_samurai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_gunner', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_gunner', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_gunner', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_samurai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_ninja', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_ninja', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_samurai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bomberunit', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_bomberunit', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_jetgunner', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_jetgunner', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_autocannonbear', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_biker', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_biker', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_dragonrider', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_battlepod', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_battlepod', random(300), 50 + random(200), 'units', 's'); } else { if (startinghouse0 == 'jac') { unitready(0, 'unit_trooper', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_kuburai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_trooper', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_raider', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_raider', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_raider', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_kuburai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_kuburai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_siegeraider', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_siegeraider', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_moonstruck', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_siegeconvoy', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_moonstruck', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_siegeconvoy', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_triblaster', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_triblaster', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_fuzaron', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_laserfox', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_triloblast', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_laserfox', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_triloblast', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_triloblast', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_jaccruiser', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_trooper', random(300), 50 + random(200), 'units', 's'); } else { if (startinghouse0 == 'smc') { unitready(0, 'unit_sbm', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_battleunit', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_flashsamurai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_flashsamurai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_particca', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_particca', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_missilebike', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_missilebike', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_qwalker', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_battleunit', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_qwalker', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_invistotank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_invistotank', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_askeara', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_askeara', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_flashsamurai', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_smcfire', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_smcfire', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_geneson', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_geneson', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_tiusanin', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_tiusanin', random(300), 50 + random(200), 'units', 'l'); unitready(0, 'unit_battleunit', random(300), 50 + random(200), 'units', 's'); unitready(0, 'unit_smcsatellite', random(300), 50 + random(200), 'units', 's'); } } } } if (startinghouse1 == 'bng') { unitready(1, 'unit_lighttank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_lighttank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bngtank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bngbluetrigger', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bngfighter', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_flamer', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_flamer', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_rocketman', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_rocketman', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_commando', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_commando', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_infantry', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_infantry', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_lighttank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_lighttank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_jeep', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_jeep', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_jeep', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bngfighter', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_bwingbomber', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_assaultheli', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_assaultheli', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_rockettank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_rockettank', 700 + random(300), 50 + random(200), 'units', 'l'); } else { if (startinghouse1 == 'mf') { unitready(1, 'unit_rocketjeep', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_rocketjeep', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_autocannonbear', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_earthwalker', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_mab', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_mab', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_samurai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_gunner', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_gunner', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_gunner', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_samurai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_ninja', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_ninja', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_samurai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bomberunit', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_bomberunit', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_jetgunner', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_jetgunner', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_autocannonbear', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_biker', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_biker', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_dragonrider', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_battlepod', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_battlepod', 700 + random(300), 50 + random(200), 'units', 's'); } else { if (startinghouse1 == 'jac') { unitready(1, 'unit_trooper', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_kuburai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_trooper', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_raider', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_raider', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_raider', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_kuburai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_kuburai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_siegeraider', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_siegeraider', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_moonstruck', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_siegeconvoy', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_moonstruck', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_siegeconvoy', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_triblaster', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_triblaster', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_fuzaron', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_laserfox', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_triloblast', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_laserfox', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_triloblast', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_triloblast', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_jaccruiser', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_trooper', 700 + random(300), 50 + random(200), 'units', 's'); } else { if (startinghouse1 == 'smc') { unitready(1, 'unit_sbm', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_battleunit', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_flashsamurai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_flashsamurai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_particca', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_particca', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_missilebike', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_missilebike', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_battleunit', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_qwalker', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_qwalker', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_invistotank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_flashsamurai', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_invistotank', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_askeara', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_askeara', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_smcfire', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_smcfire', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_geneson', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_geneson', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_tiusanin', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_tiusanin', 700 + random(300), 50 + random(200), 'units', 'l'); unitready(1, 'unit_battleunit', 700 + random(300), 50 + random(200), 'units', 's'); unitready(1, 'unit_smcsatellite', 700 + random(300), 50 + random(200), 'units', 's'); } } } } } } } unitsreleased = [0, 0]; unitsdestroyed = [0, 0]; buildingsbuilt = [0, 0]; buildingsdestroyed = [0, 0]; cashearned = [0, 0]; screenbg = random(screenbgtotal) + 2; gamelog = gameversion + '\n\n' + _root.commandername0 + ' vs ' + _root.commandername1 + '\n'; winner = null; if (aibattlegametype < 3) { winmode = [2, 2]; } else { if (aibattlegametype == 3) { winmode = [1, 1]; winvars = [hqs[0], hqs[1]]; } else { if (aibattlegametype == 4) { winmode = [3, 3]; } } } } movieClip 8650 { frame 2 { commandernames = _root.commandername0 + ' vs ' + _root.commandername1; while (cn.text.indexOf('_') != -1) { cn.replaceText(cn.text.indexOf('_'), cn.text.indexOf('_') + 1, ' '); } } frame 3 { stop(); } } button 8651 { on (release) { side = 0; troops0 = _root.units[side].length; mytroops0 = 0; for (i in _root.units[side]) { mytroops0 += int(_root.units[side][i].weight); } mybuildings0 = _root.shooters[side].length + _root.builders[side].length + _root.outposts[side].length; side = 1; troops1 = _root.units[side].length; mytroops1 = 0; for (i in _root.units[side]) { mytroops1 += int(_root.units[side][i].weight); } mybuildings1 = _root.shooters[side].length + _root.builders[side].length + _root.outposts[side].length; _root.gamelog += 'Game Ends.\n'; trace('Units:' + troops0 + ' vs ' + troops1); trace('Units Weight:' + mytroops0 + ' vs ' + mytroops1); trace('Building:' + mybuildings0 + ' vs ' + mybuildings1); trace('HQ:' + _root.hqs[0].hp + ' vs ' + _root.hqs[1].hp); if (aibattlegametype < 3) { if (_root.gametimer < 1800) { _root.tooearly.surrendering = 'Too Early to end game...'; _root.tooearly.play(); } else { if (mytroops0 > mytroops1) { _root.gotoAndStop(_root.gamemode + 'win0'); trace('Winner=0'); } else { _root.gotoAndStop(_root.gamemode + 'win1'); trace('Winner=1'); } } } else { if (aibattlegametype == 3) { if (_root.gametimer < 9000) { _root.tooearly.surrendering = 'Too Early to end game...'; _root.tooearly.play(); } else { if (_root.hqs[0].hp / _root.hqs[0].fullhp > _root.hqs[1].hp / _root.hqs[1].fullhp) { _root.gotoAndStop(_root.gamemode + 'win0'); trace('Winner=0'); } else { if (_root.hqs[0].hp / _root.hqs[0].fullhp < _root.hqs[1].hp / _root.hqs[1].fullhp) { _root.gotoAndStop(_root.gamemode + 'win1'); trace('Winner=1'); } else { if (mytroops0 > mytroops1) { _root.gotoAndStop(_root.gamemode + 'win0'); trace('Winner=0'); } else { _root.gotoAndStop(_root.gamemode + 'win1'); trace('Winner=1'); } } } } } else { if (aibattlegametype == 4) { if (_root.gametimer < 9000) { _root.tooearly.surrendering = 'Too Early to end game...'; _root.tooearly.play(); } else { if (mybuildings0 > mybuildings1) { _root.gotoAndStop(_root.gamemode + 'win0'); trace('Winner=0'); } else { if (mybuildings0 < mybuildings1) { _root.gotoAndStop(_root.gamemode + 'win1'); trace('Winner=1'); } else { if (mytroops0 > mytroops1) { _root.gotoAndStop(_root.gamemode + 'win0'); trace('Winner=0'); } else { _root.gotoAndStop(_root.gamemode + 'win1'); trace('Winner=1'); } } } } } } } } } movieClip 8654 { frame 1 { _alpha = 0; stop(); } frame 2 { _alpha = 100; } frame 4 { _alpha = 0; } frame 6 { _alpha = 100; } frame 8 { _alpha = 0; } frame 10 { _alpha = 100; } frame 12 { _alpha = 0; } frame 14 { _alpha = 100; } frame 125 { _alpha = 100; } frame 127 { _alpha = 0; } frame 129 { _alpha = 100; } frame 131 { _alpha = 0; } frame 133 { _alpha = 100; } frame 135 { _alpha = 0; } frame 137 { _alpha = 100; } frame 139 { _alpha = 0; } } instance iFPS of movieClip 7520 { onClipEvent (load) { } } frame 217 { stop(); } frame 218 { _root.gotoAndStop('aib'); } frame 219 { stop(); } frame 220 { _root.gotoAndStop('aib'); } frame 221 { _quality = 'HIGH'; winner = 0; _root.gamelog += _root['commandername' + winner] + ' is victorious.\n'; pauser = 1; battledetails = '::: ' + _root['commandername' + winner] + ' Wins :::\n\n'; battledetails += '[' + _root.commandername0 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[0] + '\n'; battledetails += 'Units Released: ' + unitsreleased[0] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[0] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[0] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[0] + '\n\n'; battledetails += '[' + _root.commandername1 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[1] + '\n'; battledetails += 'Units Released: ' + unitsreleased[1] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[1] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[1] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[1] + '\n\n'; stop(); } frame 222 { _quality = 'HIGH'; winner = 1; _root.gamelog += _root['commandername' + winner] + ' is victorious.\n'; pauser = 1; battledetails = '::: ' + _root['commandername' + winner] + ' Wins :::\n\n'; battledetails += '[' + _root.commandername0 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[0] + '\n'; battledetails += 'Units Released: ' + unitsreleased[0] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[0] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[0] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[0] + '\n\n'; battledetails += '[' + _root.commandername1 + ' Battle Stats]\n'; battledetails += 'Cash Earned: $' + cashearned[1] + '\n'; battledetails += 'Units Released: ' + unitsreleased[1] + '\n'; battledetails += 'Units Lost: ' + unitsdestroyed[1] + '\n'; battledetails += 'Buildings Built: ' + buildingsbuilt[1] + '\n'; battledetails += 'Buildings Lost: ' + buildingsdestroyed[1] + '\n\n'; stop(); } frame 223 { whovswho = _root.commandername0 + ' vs ' + _root.commandername1; while (wvwtext.text.indexOf('_') != -1) { wvwtext.replaceText(wvwtext.text.indexOf('_'), wvwtext.text.indexOf('_') + 1, ' '); } battledetails2 = ''; stop(); } instance of movieClip 7539 { onClipEvent (load) { textvar = 'battledetails2'; thetext = _parent.battledetails; tick = 1; multiple = 1; } } frame 224 { whovswho = _root.commandername0 + ' vs ' + _root.commandername1; while (wvwtext.text.indexOf('_') != -1) { wvwtext.replaceText(wvwtext.text.indexOf('_'), wvwtext.text.indexOf('_') + 1, ' '); } battledetails2 = ''; stop(); } frame 225 { conqcontinuegame = 1; _root.gotoAndPlay('conq_init'); } frame 226 { conqcontinuegame = 0; play(); } frame 227 { names = new Array(); names.push('Aiichirou'); names.push('Hayato'); names.push('Kinzaburou'); names.push('Shingo'); names.push('Aijirou'); names.push('Heigorou'); names.push('Kisaburou'); names.push('Shinichi'); names.push('Aisaburou'); names.push('Heihachiro'); names.push('Kitahiko'); names.push('Shinji'); names.push('Aitarou'); names.push('Heiichirou'); names.push('Kitarou'); names.push('Shinjirou'); names.push('Akira'); names.push('Hideki'); names.push('Koichi'); names.push('Shinsuke'); names.push('Aran'); names.push('Hideto'); names.push('Koichiro'); names.push('Shinta'); names.push('Asagorou'); names.push('Hiro'); names.push('Koji'); names.push('Shintarou'); names.push('Atsushi'); names.push('Hiroki'); names.push('Kojiro'); names.push('Shinya'); names.push('Ayao'); names.push('Hiromi'); names.push('Kousuke'); names.push('Shohei'); names.push('Chojiro'); names.push('Hiroshi'); names.push('Kouta'); names.push('Shouichi'); names.push('Chouji'); names.push('Hiroto'); names.push('Koutarou'); names.push('Shouichirou'); names.push('Choujirou'); names.push('Hisashi'); names.push('Kyuichi'); names.push('Shouji'); names.push('Choujuurou'); names.push('Hitoshi'); names.push('Kyuujirou'); names.push('Shouta'); names.push('Chuichi'); names.push('Hotarou'); names.push('Mamoru'); names.push('Shoutarou'); names.push('Chuuichirou'); names.push('Houichirou'); names.push('Manabu'); names.push('Shouzaburou'); names.push('Chuuji'); names.push('Houjirou'); names.push('Masaru'); names.push('Shuhei'); names.push('Chuujirou'); names.push('Ichijirou'); names.push('Masato'); names.push('Shuichi'); names.push('Dai'); names.push('Ichirou'); names.push('Mineo'); names.push('Shuji'); names.push('Daichi'); names.push('Ikuo'); names.push('Minoru'); names.push('Shunichi'); names.push('Daigorou'); names.push('Isamu'); names.push('Mitsuru'); names.push('Shunichirou'); names.push('Daiichirou'); names.push('Isao'); names.push('Muneo '); names.push('Shunsuke'); names.push('Daiki'); names.push('Itsuo'); names.push('Mutsumi'); names.push('Shuntarou'); names.push('Daisuke'); names.push('Jinichi'); names.push('Naoki'); names.push('Soichi'); names.push('Daitarou'); names.push('Jin'); names.push('Naoto'); names.push('Soichirou'); names.push('Denjiro'); names.push('Jinzaburo'); names.push('Naoya'); names.push('Tadashi'); names.push('Eiichi'); names.push('Jiro'); names.push('Osamu'); names.push('Tai'); names.push('Eiichirou'); names.push('Joji'); names.push('Reiji'); names.push('Taiichi '); names.push('Eiji'); names.push('Jotaro'); names.push('Reijiro'); names.push('Taiki'); names.push('Eisaku'); names.push('Jun'); names.push('Reitarou'); names.push('Taisuke'); names.push('Eitarou'); names.push('Junichi'); names.push('Renzo'); names.push('Takashi'); names.push('Enichi'); names.push('Junji'); names.push('Rintarou'); names.push('Takeru'); names.push('Enichirou'); names.push('Junya'); names.push('Rinzaburou'); names.push('Takeshi'); names.push('Engorou'); names.push('Kamehiko'); names.push('Ryoichi'); names.push('Takuji'); names.push('Entarou'); names.push('Kameichirou'); names.push('Ryota'); names.push('Takumi'); names.push('Etsujirou'); names.push('Kaname'); names.push('Ryouhei'); names.push('Takuya'); names.push('Etsukazu'); names.push('Kantaro'); names.push('Ryouji'); names.push('Tamio'); names.push('Gaku'); names.push('Katsumi'); names.push('Ryuji'); names.push('Tamotsu'); names.push('Gantarou'); names.push('Kazuya'); names.push('Ryuuichi'); names.push('Tomio'); names.push('Gen-Ichi'); names.push('Keigo'); names.push('Ryuuji'); names.push('Tsutomu'); names.push('Gengoro'); names.push('Keiichi'); names.push('Saburo'); names.push('Tsuyoshi'); names.push('Genjirou'); names.push('Keiji'); names.push('Sachio'); names.push('Yasushi'); names.push('Genshirou'); names.push('Keijirou'); names.push('Saiji'); names.push('Yoshiki'); names.push('Gentarou'); names.push('Keisuke'); names.push('Saijirou'); names.push('Yoshimi'); names.push('Genzaburou'); names.push('Keita'); names.push('Saijuurou'); names.push('Yuichi'); names.push('Gojirou'); names.push('Keizo'); names.push('Seigo'); names.push('Yuichirou'); names.push('Gorou'); names.push('Ken'); names.push('Seigorou'); names.push('Yuji'); names.push('Gotarou'); names.push('Kenichi'); names.push('Seihachirou'); names.push('Yujiro'); names.push('Gourou'); names.push('Kenjirou'); names.push('Seiichi'); names.push('Yuuhei'); names.push('Gunjirou'); names.push('Kentaro'); names.push('Seiichirou'); names.push('Yuuichi'); names.push('Gunzaburou'); names.push('Kenzaburo'); names.push('Seiji'); names.push('Yuuji'); names.push('Hachirou'); names.push('Kiichi'); names.push('Seijirou'); names.push('Yuujirou'); names.push('Hachitarou'); names.push('Kingo'); names.push('Seitarou'); names.push('Yuuta '); names.push('Hajime'); names.push('Kinji'); names.push('Shichirou'); names.push('Yuutarou'); names.push('Hanshiro'); names.push('Kintaichi'); names.push('Shigeru'); names.push('Haruki'); names.push('Kintarou'); names.push('Shimpei'); names.push('James'); names.push('John'); names.push('Robert'); names.push('Michael'); names.push('William'); names.push('David'); names.push('Richard'); names.push('Charles'); names.push('Joseph'); names.push('Thomas'); names.push('Christopher'); names.push('Daniel'); names.push('Paul'); names.push('Mark'); names.push('Donald'); names.push('George'); names.push('Kenneth'); names.push('Steven'); names.push('Edward'); names.push('Brian'); names.push('Ronald'); names.push('Anthony'); names.push('Kevin'); names.push('Jason'); names.push('Matthew'); names.push('Gary'); names.push('Timothy'); names.push('Jose'); names.push('Larry'); names.push('Jeffrey'); names.push('Frank'); names.push('Scott'); names.push('Eric'); names.push('Stephen'); names.push('Andrew'); names.push('Raymond'); names.push('Gregory'); names.push('Joshua'); names.push('Jerry'); names.push('Dennis'); names.push('Walter'); names.push('Patrick'); names.push('Peter'); names.push('Harold'); names.push('Douglas'); names.push('Henry'); names.push('Carl'); names.push('Arthur'); names.push('Ryan'); names.push('Roger'); names.push('Joe'); names.push('Juan'); names.push('Jack'); names.push('Albert'); names.push('Jonathan'); names.push('Justin'); names.push('Terry'); names.push('Gerald'); names.push('Keith'); names.push('Samuel'); names.push('Willie'); names.push('Ralph'); names.push('Lawrence'); names.push('Nicholas'); names.push('Roy'); names.push('Benjamin'); names.push('Bruce'); names.push('Brandon'); names.push('Adam'); names.push('Harry'); names.push('Fred'); names.push('Wayne'); names.push('Billy'); names.push('Steve'); names.push('Louis'); names.push('Jeremy'); names.push('Aaron'); names.push('Randy'); names.push('Howard'); names.push('Eugene'); names.push('Carlos'); names.push('Russell'); names.push('Bobby'); names.push('Victor'); names.push('Martin'); names.push('Ernest'); names.push('Phillip'); names.push('Todd'); names.push('Jesse'); names.push('Craig'); names.push('Alan'); names.push('Shawn'); names.push('Clarence'); names.push('Sean'); names.push('Philip'); names.push('Chris'); names.push('Johnny'); names.push('Earl'); names.push('Jimmy'); names.push('Antonio'); names.push('Danny'); names.push('Bryan'); names.push('Tony'); names.push('Luis'); names.push('Mike'); names.push('Stanley'); names.push('Leonard'); names.push('Nathan'); names.push('Dale'); names.push('Manuel'); names.push('Rodney'); names.push('Curtis'); names.push('Norman'); names.push('Allen'); names.push('Marvin'); names.push('Vincent'); names.push('Glenn'); names.push('Jeffery'); names.push('Travis'); names.push('Jeff'); names.push('Chad'); names.push('Jacob'); names.push('Lee'); names.push('Melvin'); names.push('Alfred'); names.push('Kyle'); names.push('Francis'); names.push('Bradley'); names.push('Jesus'); names.push('Herbert'); names.push('Frederick'); names.push('Ray'); names.push('Joel'); names.push('Edwin'); names.push('Don'); names.push('Eddie'); names.push('Ricky'); names.push('Troy'); names.push('Randall'); names.push('Barry'); names.push('Alexander'); names.push('Bernard'); names.push('Mario'); names.push('Leroy'); names.push('Francisco'); names.push('Marcus'); names.push('Micheal'); names.push('Theodore'); names.push('Clifford'); names.push('Miguel'); names.push('Oscar'); names.push('Jay'); names.push('Jim'); names.push('Tom'); names.push('Calvin'); names.push('Alex'); names.push('Jon'); names.push('Ronnie'); names.push('Bill'); names.push('Lloyd'); names.push('Tommy'); names.push('Leon'); names.push('Derek'); names.push('Warren'); names.push('Darrell'); names.push('Jerome'); names.push('Floyd'); names.push('Leo'); names.push('Alvin'); names.push('Tim'); names.push('Wesley'); names.push('Gordon'); names.push('Dean'); names.push('Greg'); names.push('Jorge'); names.push('Dustin'); names.push('Pedro'); names.push('Derrick'); names.push('Dan'); names.push('Lewis'); names.push('Zachary'); names.push('Corey'); names.push('Herman'); names.push('Maurice'); names.push('Vernon'); names.push('Roberto'); names.push('Clyde'); names.push('Glen'); names.push('Hector'); names.push('Shane'); names.push('Ricardo'); names.push('Sam'); names.push('Rick'); names.push('Lester'); names.push('Brent'); names.push('Ramon'); names.push('Charlie'); names.push('Tyler'); names.push('Gilbert'); names.push('Gene'); names.push('Marc'); names.push('Reginald'); names.push('Ruben'); names.push('Brett'); names.push('Angel'); names.push('Nathaniel'); names.push('Rafael'); names.push('Leslie'); names.push('Edgar'); names.push('Milton'); names.push('Raul'); names.push('Ben'); names.push('Chester'); names.push('Cecil'); names.push('Duane'); names.push('Franklin'); names.push('Andre'); names.push('Elmer'); names.push('Brad'); names.push('Gabriel'); names.push('Ron'); names.push('Mitchell'); names.push('Roland'); names.push('Arnold'); names.push('Harvey'); names.push('Jared'); names.push('Adrian'); names.push('Karl'); names.push('Cory'); names.push('Claude'); names.push('Erik'); names.push('Darryl'); names.push('Jamie'); names.push('Neil'); names.push('Jessie'); names.push('Christian'); names.push('Javier'); names.push('Fernando'); names.push('Clinton'); names.push('Ted'); names.push('Mathew'); names.push('Tyrone'); names.push('Darren'); names.push('Lonnie'); names.push('Lance'); names.push('Cody'); names.push('Julio'); names.push('Kelly'); names.push('Kurt'); names.push('Allan'); names.push('Nelson'); names.push('Guy'); names.push('Clayton'); names.push('Hugh'); names.push('Max'); names.push('Dwayne'); names.push('Dwight'); names.push('Armando'); names.push('Felix'); names.push('Jimmie'); names.push('Everett'); names.push('Jordan'); names.push('Ian'); names.push('Wallace'); names.push('Ken'); names.push('Bob'); names.push('Jaime'); names.push('Casey'); names.push('Alfredo'); names.push('Alberto'); names.push('Dave'); names.push('Ivan'); names.push('Johnnie'); names.push('Sidney'); names.push('Byron'); names.push('Julian'); names.push('Isaac'); names.push('Morris'); names.push('Clifton'); names.push('Willard'); names.push('Daryl'); names.push('Ross'); names.push('Virgil'); names.push('Andy'); names.push('Marshall'); names.push('Salvador'); names.push('Perry'); names.push('Kirk'); names.push('Sergio'); names.push('Marion'); names.push('Tracy'); names.push('Seth'); names.push('Kent'); names.push('Terrance'); names.push('Rene'); names.push('Eduardo'); names.push('Terrence'); names.push('Enrique'); names.push('Freddie'); names.push('Wade'); names.push('Austin'); names.push('Stuart'); names.push('Fredrick'); names.push('Arturo'); names.push('Alejandro'); names.push('Jackie'); names.push('Joey'); names.push('Nick'); names.push('Luther'); names.push('Wendell'); names.push('Jeremiah'); names.push('Evan'); names.push('Julius'); names.push('Dana'); names.push('Donnie'); names.push('Otis'); names.push('Shannon'); names.push('Trevor'); names.push('Oliver'); names.push('Luke'); names.push('Homer'); names.push('Gerard'); names.push('Doug'); names.push('Kenny'); names.push('Hubert'); names.push('Angelo'); names.push('Shaun'); names.push('Lyle'); names.push('Matt'); names.push('Lynn'); names.push('Alfonso'); names.push('Orlando'); names.push('Rex'); names.push('Carlton'); names.push('Ernesto'); names.push('Cameron'); names.push('Neal'); names.push('Pablo'); names.push('Lorenzo'); names.push('Omar'); names.push('Wilbur'); names.push('Blake'); names.push('Grant'); names.push('Horace'); names.push('Roderick'); names.push('Kerry'); names.push('Abraham'); names.push('Willis'); names.push('Rickey'); names.push('Jean'); names.push('Ira'); names.push('Andres'); names.push('Cesar'); names.push('Johnathan'); names.push('Malcolm'); names.push('Rudolph'); names.push('Damon'); names.push('Kelvin'); names.push('Rudy'); names.push('Preston'); names.push('Alton'); names.push('Archie'); names.push('Marco'); names.push('Wm'); names.push('Pete'); names.push('Randolph'); names.push('Garry'); names.push('Geoffrey'); names.push('Jonathon'); names.push('Felipe'); names.push('Bennie'); names.push('Gerardo'); names.push('Ed'); names.push('Dominic'); names.push('Robin'); names.push('Loren'); names.push('Delbert'); names.push('Colin'); names.push('Guillermo'); names.push('Earnest'); names.push('Lucas'); names.push('Benny'); names.push('Noel'); names.push('Spencer'); names.push('Rodolfo'); names.push('Myron'); names.push('Edmund'); names.push('Garrett'); names.push('Salvatore'); names.push('Cedric'); names.push('Lowell'); names.push('Gregg'); names.push('Sherman'); names.push('Wilson'); names.push('Devin'); names.push('Sylvester'); names.push('Kim'); names.push('Roosevelt'); names.push('Israel'); names.push('Jermaine'); names.push('Forrest'); names.push('Wilbert'); names.push('Leland'); names.push('Simon'); names.push('Guadalupe'); names.push('Clark'); names.push('Irving'); names.push('Carroll'); names.push('Bryant'); names.push('Owen'); names.push('Rufus'); names.push('Woodrow'); names.push('Sammy'); names.push('Kristopher'); names.push('Mack'); names.push('Levi'); names.push('Marcos'); names.push('Gustavo'); names.push('Jake'); names.push('Lionel'); names.push('Marty'); names.push('Taylor'); names.push('Ellis'); names.push('Dallas'); names.push('Gilberto'); names.push('Clint'); names.push('Nicolas'); names.push('Laurence'); names.push('Ismael'); names.push('Orville'); names.push('Drew'); names.push('Jody'); names.push('Ervin'); names.push('Dewey'); names.push('Al'); names.push('Wilfred'); names.push('Josh'); names.push('Hugo'); names.push('Ignacio'); names.push('Caleb'); names.push('Tomas'); names.push('Sheldon'); names.push('Erick'); names.push('Frankie'); names.push('Stewart'); names.push('Doyle'); names.push('Darrel'); names.push('Rogelio'); names.push('Terence'); names.push('Santiago'); names.push('Alonzo'); names.push('Elias'); names.push('Bert'); names.push('Elbert'); names.push('Ramiro'); names.push('Conrad'); names.push('Pat'); names.push('Noah'); names.push('Grady'); names.push('Phil'); names.push('Cornelius'); names.push('Lamar'); names.push('Rolando'); names.push('Clay'); names.push('Percy'); names.push('Dexter'); names.push('Bradford'); names.push('Merle'); names.push('Darin'); names.push('Amos'); names.push('Terrell'); names.push('Moses'); names.push('Irvin'); names.push('Saul'); names.push('Roman'); names.push('Darnell'); names.push('Randal'); names.push('Tommie'); names.push('Timmy'); names.push('Darrin'); names.push('Winston'); names.push('Brendan'); names.push('Toby'); names.push('Van'); names.push('Abel'); names.push('Dominick'); names.push('Boyd'); names.push('Courtney'); names.push('Jan'); names.push('Emilio'); names.push('Elijah'); names.push('Cary'); names.push('Domingo'); names.push('Santos'); names.push('Aubrey'); names.push('Emmett'); names.push('Marlon'); names.push('Emanuel'); names.push('Jerald'); names.push('Edmond'); names.push('Emil'); names.push('Dewayne'); names.push('Will'); names.push('Otto'); names.push('Teddy'); names.push('Reynaldo'); names.push('Bret'); names.push('Morgan'); names.push('Jess'); names.push('Trent'); names.push('Humberto'); names.push('Emmanuel'); names.push('Stephan'); names.push('Louie'); names.push('Vicente'); names.push('Lamont'); names.push('Stacy'); names.push('Garland'); names.push('Miles'); names.push('Micah'); names.push('Efrain'); names.push('Billie'); names.push('Logan'); names.push('Heath'); names.push('Rodger'); names.push('Harley'); names.push('Demetrius'); names.push('Ethan'); names.push('Eldon'); names.push('Rocky'); names.push('Pierre'); names.push('Junior'); names.push('Freddy'); names.push('Eli'); names.push('Bryce'); names.push('Antoine'); names.push('Robbie'); names.push('Kendall'); names.push('Royce'); names.push('Sterling'); names.push('Mickey'); names.push('Chase'); names.push('Grover'); names.push('Elton'); names.push('Cleveland'); names.push('Dylan'); names.push('Chuck'); names.push('Damian'); names.push('Reuben'); names.push('Stan'); names.push('August'); names.push('Leonardo'); names.push('Jasper'); names.push('Russel'); names.push('Erwin'); names.push('Benito'); names.push('Hans'); names.push('Monte'); names.push('Blaine'); names.push('Ernie'); names.push('Curt'); names.push('Quentin'); names.push('Agustin'); names.push('Murray'); names.push('Jamal'); names.push('Devon'); names.push('Adolfo'); names.push('Harrison'); names.push('Tyson'); names.push('Burton'); names.push('Brady'); names.push('Elliott'); names.push('Wilfredo'); names.push('Bart'); names.push('Jarrod'); names.push('Vance'); names.push('Denis'); names.push('Damien'); names.push('Joaquin'); names.push('Harlan'); names.push('Desmond'); names.push('Elliot'); names.push('Darwin'); names.push('Ashley'); names.push('Gregorio'); names.push('Buddy'); names.push('Xavier'); names.push('Kermit'); names.push('Roscoe'); names.push('Esteban'); names.push('Anton'); names.push('Solomon'); names.push('Scotty'); names.push('Norbert'); names.push('Elvin'); names.push('Williams'); names.push('Nolan'); names.push('Carey'); names.push('Rod'); names.push('Quinton'); names.push('Hal'); names.push('Brain'); names.push('Rob'); names.push('Elwood'); names.push('Kendrick'); names.push('Darius'); names.push('Moises'); names.push('Son'); names.push('Marlin'); names.push('Fidel'); names.push('Thaddeus'); names.push('Cliff'); names.push('Marcel'); names.push('Ali'); names.push('Jackson'); names.push('Raphael'); names.push('Bryon'); names.push('Armand'); names.push('Alvaro'); names.push('Jeffry'); names.push('Dane'); names.push('Joesph'); names.push('Thurman'); names.push('Ned'); names.push('Sammie'); names.push('Rusty'); names.push('Michel'); names.push('Monty'); names.push('Rory'); names.push('Fabian'); names.push('Reggie'); names.push('Mason'); names.push('Graham'); names.push('Kris'); names.push('Isaiah'); names.push('Vaughn'); names.push('Gus'); names.push('Avery'); names.push('Loyd'); names.push('Diego'); names.push('Alexis'); names.push('Adolph'); names.push('Norris'); names.push('Millard'); names.push('Rocco'); names.push('Gonzalo'); names.push('Derick'); names.push('Rodrigo'); names.push('Gerry'); names.push('Stacey'); names.push('Carmen'); names.push('Wiley'); names.push('Rigoberto'); names.push('Alphonso'); names.push('Ty'); names.push('Shelby'); names.push('Rickie'); names.push('Noe'); names.push('Vern'); names.push('Bobbie'); names.push('Reed'); names.push('Jefferson'); names.push('Elvis'); names.push('Bernardo'); names.push('Mauricio'); names.push('Hiram'); names.push('Donovan'); names.push('Basil'); names.push('Riley'); names.push('Ollie'); names.push('Nickolas'); names.push('Maynard'); names.push('Scot'); names.push('Vince'); names.push('Quincy'); names.push('Eddy'); names.push('Sebastian'); names.push('Federico'); names.push('Ulysses'); names.push('Heriberto'); names.push('Donnell'); names.push('Cole'); names.push('Denny'); names.push('Davis'); names.push('Gavin'); names.push('Emery'); names.push('Ward'); names.push('Romeo'); names.push('Jayson'); names.push('Dion'); names.push('Dante'); names.push('Clement'); names.push('Coy'); names.push('Odell'); names.push('Maxwell'); names.push('Jarvis'); names.push('Bruno'); names.push('Issac'); names.push('Mary'); names.push('Dudley'); names.push('Brock'); names.push('Sanford'); names.push('Colby'); names.push('Carmelo'); names.push('Barney'); names.push('Nestor'); names.push('Hollis'); names.push('Stefan'); names.push('Donny'); names.push('Art'); names.push('Linwood'); names.push('Beau'); names.push('Weldon'); names.push('Galen'); names.push('Isidro'); names.push('Truman'); names.push('Delmar'); names.push('Johnathon'); names.push('Silas'); names.push('Frederic'); names.push('Dick'); names.push('Kirby'); names.push('Irwin'); names.push('Cruz'); names.push('Merlin'); names.push('Merrill'); names.push('Charley'); names.push('Marcelino'); names.push('Lane'); names.push('Harris'); names.push('Cleo'); names.push('Carlo'); names.push('Trenton'); names.push('Kurtis'); names.push('Hunter'); names.push('Aurelio'); names.push('Winfred'); names.push('Vito'); names.push('Collin'); names.push('Denver'); names.push('Carter'); names.push('Leonel'); names.push('Emory'); names.push('Pasquale'); names.push('Mohammad'); names.push('Mariano'); names.push('Danial'); names.push('Blair'); names.push('Landon'); names.push('Dirk'); names.push('Branden'); names.push('Adan'); names.push('Numbers'); names.push('Clair'); names.push('Buford'); names.push('German'); names.push('Bernie'); names.push('Wilmer'); names.push('Joan'); names.push('Emerson'); names.push('Zachery'); names.push('Fletcher'); names.push('Jacques'); names.push('Errol'); names.push('Dalton'); names.push('Monroe'); names.push('Josue'); names.push('Dominique'); names.push('Edwardo'); names.push('Booker'); names.push('Wilford'); names.push('Sonny'); names.push('Shelton'); names.push('Carson'); names.push('Theron'); names.push('Raymundo'); names.push('Daren'); names.push('Tristan'); names.push('Houston'); names.push('Robby'); names.push('Lincoln'); names.push('Jame'); names.push('Genaro'); names.push('Gale'); names.push('Bennett'); names.push('Octavio'); names.push('Cornell'); names.push('Laverne'); names.push('Hung'); names.push('Arron'); names.push('Antony'); names.push('Herschel'); names.push('Alva'); names.push('Giovanni'); names.push('Garth'); names.push('Cyrus'); names.push('Cyril'); names.push('Ronny'); names.push('Stevie'); names.push('Lon'); names.push('Freeman'); names.push('Erin'); names.push('Duncan'); names.push('Kennith'); names.push('Carmine'); names.push('Augustine'); names.push('Young'); names.push('Erich'); names.push('Chadwick'); names.push('Wilburn'); names.push('Russ'); names.push('Reid'); names.push('Myles'); names.push('Anderson'); names.push('Morton'); names.push('Jonas'); names.push('Forest'); names.push('Mitchel'); names.push('Mervin'); names.push('Zane'); names.push('Rich'); names.push('Jamel'); names.push('Lazaro'); names.push('Alphonse'); names.push('Randell'); names.push('Major'); names.push('Johnie'); names.push('Jarrett'); names.push('Brooks'); names.push('Ariel'); names.push('Abdul'); names.push('Dusty'); names.push('Luciano'); names.push('Lindsey'); names.push('Tracey'); names.push('Seymour'); names.push('Scottie'); names.push('Eugenio'); names.push('Mohammed'); names.push('Sandy'); names.push('Valentin'); names.push('Chance'); names.push('Arnulfo'); names.push('Lucien'); names.push('Ferdinand'); names.push('Thad'); names.push('Ezra'); names.push('Sydney'); names.push('Aldo'); names.push('Rubin'); names.push('Royal'); names.push('Mitch'); names.push('Earle'); names.push('Abe'); names.push('Wyatt'); names.push('Marquis'); names.push('Lanny'); names.push('Kareem'); names.push('Jamar'); names.push('Boris'); names.push('Isiah'); names.push('Emile'); names.push('Elmo'); names.push('Aron'); names.push('Leopoldo'); names.push('Everette'); names.push('Josef'); names.push('Gail'); names.push('Eloy'); names.push('Dorian'); names.push('Rodrick'); names.push('Reinaldo'); names.push('Lucio'); names.push('Jerrod'); names.push('Weston'); names.push('Hershel'); names.push('Barton'); names.push('Parker'); names.push('Lemuel'); names.push('Lavern'); names.push('Burt'); names.push('Jules'); names.push('Gil'); names.push('Eliseo'); names.push('Ahmad'); names.push('Nigel'); names.push('Efren'); names.push('Antwan'); names.push('Alden'); names.push('Margarito'); names.push('Coleman'); names.push('Refugio'); names.push('Dino'); names.push('Osvaldo'); names.push('Les'); names.push('Deandre'); names.push('Normand'); names.push('Kieth'); names.push('Ivory'); names.push('Andrea'); names.push('Trey'); names.push('Norberto'); names.push('Napoleon'); names.push('Jerold'); names.push('Fritz'); names.push('Rosendo'); names.push('Milford'); names.push('Sang'); names.push('Deon'); names.push('Christoper'); names.push('Alfonzo'); names.push('Lyman'); names.push('Josiah'); names.push('Brant'); names.push('Wilton'); names.push('Rico'); names.push('Jamaal'); names.push('Dewitt'); names.push('Carol'); names.push('Brenton'); names.push('Yong'); names.push('Olin'); names.push('Foster'); names.push('Faustino'); names.push('Claudio'); names.push('Judson'); names.push('Gino'); names.push('Edgardo'); names.push('Berry'); names.push('Alec'); names.push('Tanner'); names.push('Jarred'); names.push('Donn'); names.push('Trinidad'); names.push('Tad'); names.push('Shirley'); names.push('Prince'); names.push('Porfirio'); names.push('Odis'); names.push('Maria'); names.push('Lenard'); names.push('Chauncey'); names.push('Chang'); names.push('Tod'); names.push('Mel'); names.push('Marcelo'); names.push('Kory'); names.push('Augustus'); names.push('Keven'); names.push('Hilario'); names.push('Bud'); names.push('Sal'); names.push('Rosario'); names.push('Orval'); names.push('Mauro'); names.push('Dannie'); names.push('Zachariah'); names.push('Olen'); names.push('Anibal'); names.push('Milo'); names.push('Jed'); names.push('Frances'); names.push('Thanh'); names.push('Dillon'); names.push('Amado'); names.push('Newton'); names.push('Connie'); names.push('Lenny'); names.push('Tory'); names.push('Richie'); names.push('Lupe'); names.push('Horacio'); names.push('Brice'); names.push('Mohamed'); names.push('Delmer'); names.push('Dario'); names.push('Reyes'); names.push('Dee'); names.push('Mac'); names.push('Jonah'); names.push('Jerrold'); names.push('Robt'); names.push('Hank'); names.push('Sung'); names.push('Rupert'); names.push('Rolland'); names.push('Kenton'); names.push('Damion'); names.push('Chi'); names.push('Antone'); names.push('Waldo'); names.push('Fredric'); names.push('Bradly'); names.push('Quinn'); names.push('Kip'); names.push('Burl'); names.push('Walker'); names.push('Tyree'); names.push('Jefferey'); names.push('Ahmed'); names.push('Willy'); names.push('Stanford'); names.push('Oren'); names.push('Noble'); names.push('Moshe'); names.push('Mikel'); names.push('Enoch'); names.push('Brendon'); names.push('Quintin'); names.push('Jamison'); names.push('Florencio'); names.push('Darrick'); names.push('Tobias'); names.push('Minh'); names.push('Hassan'); names.push('Giuseppe'); names.push('Demarcus'); names.push('Cletus'); names.push('Tyrell'); names.push('Lyndon'); names.push('Keenan'); names.push('Werner'); names.push('Theo'); names.push('Geraldo'); names.push('Lou'); names.push('Columbus'); names.push('Chet'); names.push('Bertram'); names.push('Markus'); names.push('Huey'); names.push('Hilton'); names.push('Dwain'); names.push('Donte'); names.push('Tyron'); names.push('Omer'); names.push('Isaias'); names.push('Hipolito'); names.push('Fermin'); names.push('Chung'); names.push('Adalberto'); names.push('Valentine'); names.push('Jamey'); names.push('Bo'); names.push('Barrett'); names.push('Whitney'); names.push('Teodoro'); names.push('Mckinley'); names.push('Maximo'); names.push('Garfield'); names.push('Sol'); names.push('Raleigh'); names.push('Lawerence'); names.push('Abram'); names.push('Rashad'); names.push('King'); names.push('Emmitt'); names.push('Daron'); names.push('Chong'); names.push('Samual'); names.push('Paris'); names.push('Otha'); names.push('Miquel'); names.push('Lacy'); names.push('Eusebio'); names.push('Dong'); names.push('Domenic'); names.push('Darron'); names.push('Buster'); names.push('Antonia'); names.push('Wilber'); names.push('Renato'); names.push('Jc'); names.push('Hoyt'); names.push('Haywood'); names.push('Ezekiel'); names.push('Chas'); names.push('Florentino'); names.push('Elroy'); names.push('Clemente'); names.push('Arden'); names.push('Neville'); names.push('Kelley'); names.push('Edison'); names.push('Deshawn'); names.push('Carrol'); names.push('Shayne'); names.push('Nathanial'); names.push('Jordon'); names.push('Danilo'); names.push('Claud'); names.push('Val'); names.push('Sherwood'); names.push('Raymon'); names.push('Rayford'); names.push('Cristobal'); names.push('Ambrose'); names.push('Titus'); names.push('Hyman'); names.push('Felton'); names.push('Ezequiel'); names.push('Erasmo'); names.push('Stanton'); names.push('Lonny'); names.push('Len'); names.push('Ike'); names.push('Milan'); names.push('Lino'); names.push('Jarod'); names.push('Herb'); names.push('Andreas'); names.push('Walton'); names.push('Rhett'); names.push('Palmer'); names.push('Jude'); names.push('Douglass'); names.push('Cordell'); names.push('Oswaldo'); names.push('Ellsworth'); names.push('Virgilio'); names.push('Toney'); names.push('Nathanael'); names.push('Del'); names.push('Britt'); names.push('Benedict'); names.push('Mose'); names.push('Hong'); names.push('Leigh'); names.push('Johnson'); names.push('Isreal'); names.push('Gayle'); names.push('Garret'); names.push('Fausto'); names.push('Asa'); names.push('Arlen'); names.push('Zack'); names.push('Warner'); names.push('Modesto'); names.push('Francesco'); names.push('Manual'); names.push('Jae'); names.push('Gaylord'); names.push('Gaston'); names.push('Filiberto'); names.push('Deangelo'); names.push('Michale'); names.push('Granville'); names.push('Wes'); names.push('Malik'); names.push('Zackary'); names.push('Tuan'); names.push('Nicky'); names.push('Eldridge'); names.push('Cristopher'); names.push('Cortez'); names.push('Antione'); names.push('Malcom'); names.push('Long'); names.push('Korey'); names.push('Jospeh'); names.push('Colton'); names.push('Waylon'); names.push('Von'); names.push('Hosea'); names.push('Shad'); names.push('Santo'); names.push('Rudolf'); names.push('Rolf'); names.push('Rey'); names.push('Renaldo'); names.push('Marcellus'); names.push('Lucius'); names.push('Lesley'); names.push('Kristofer'); names.push('Boyce'); names.push('Benton'); names.push('Man'); names.push('Kasey'); names.push('Jewell'); names.push('Hayden'); names.push('Harland'); names.push('Arnoldo'); names.push('Rueben'); names.push('Leandro'); names.push('Kraig'); names.push('Jerrell'); names.push('Jeromy'); names.push('Hobert'); names.push('Cedrick'); names.push('Arlie'); names.push('Winford'); names.push('Wally'); names.push('Patricia'); names.push('Luigi'); names.push('Keneth'); names.push('Jacinto'); names.push('Graig'); names.push('Franklyn'); names.push('Edmundo'); names.push('Sid'); names.push('Porter'); names.push('Leif'); names.push('Lauren'); names.push('Jeramy'); names.push('Elisha'); names.push('Buck'); names.push('Willian'); names.push('Vincenzo'); names.push('Shon'); names.push('Michal'); names.push('Lynwood'); names.push('Lindsay'); names.push('Jewel'); names.push('Jere'); names.push('Hai'); names.push('Elden'); names.push('Dorsey'); names.push('Darell'); names.push('Broderick'); names.push('Alonso'); } frame 228 { names2 = new Array(); names2.push('Mary'); names2.push('Patricia'); names2.push('Linda'); names2.push('Barbara'); names2.push('Elizabeth'); names2.push('Jennifer'); names2.push('Maria'); names2.push('Susan'); names2.push('Margaret'); names2.push('Dorothy'); names2.push('Lisa'); names2.push('Nancy'); names2.push('Karen'); names2.push('Betty'); names2.push('Helen'); names2.push('Sandra'); names2.push('Donna'); names2.push('Carol'); names2.push('Ruth'); names2.push('Sharon'); names2.push('Michelle'); names2.push('Laura'); names2.push('Sarah'); names2.push('Kimberly'); names2.push('Deborah'); names2.push('Jessica'); names2.push('Shirley'); names2.push('Cynthia'); names2.push('Angela'); names2.push('Melissa'); names2.push('Brenda'); names2.push('Amy'); names2.push('Anna'); names2.push('Rebecca'); names2.push('Virginia'); names2.push('Kathleen'); names2.push('Pamela'); names2.push('Martha'); names2.push('Debra'); names2.push('Amanda'); names2.push('Stephanie'); names2.push('Carolyn'); names2.push('Christine'); names2.push('Marie'); names2.push('Janet'); names2.push('Catherine'); names2.push('Frances'); names2.push('Ann'); names2.push('Joyce'); names2.push('Diane'); names2.push('Alice'); names2.push('Julie'); names2.push('Heather'); names2.push('Teresa'); names2.push('Doris'); names2.push('Gloria'); names2.push('Evelyn'); names2.push('Jean'); names2.push('Cheryl'); names2.push('Mildred'); names2.push('Katherine'); names2.push('Joan'); names2.push('Ashley'); names2.push('Judith'); names2.push('Rose'); names2.push('Janice'); names2.push('Kelly'); names2.push('Nicole'); names2.push('Judy'); names2.push('Christina'); names2.push('Kathy'); names2.push('Theresa'); names2.push('Beverly'); names2.push('Denise'); names2.push('Tammy'); names2.push('Irene'); names2.push('Jane'); names2.push('Lori'); names2.push('Rachel'); names2.push('Marilyn'); names2.push('Andrea'); names2.push('Kathryn'); names2.push('Louise'); names2.push('Sara'); names2.push('Anne'); names2.push('Jacqueline'); names2.push('Wanda'); names2.push('Bonnie'); names2.push('Julia'); names2.push('Ruby'); names2.push('Lois'); names2.push('Tina'); names2.push('Phyllis'); names2.push('Norma'); names2.push('Paula'); names2.push('Diana'); names2.push('Annie'); names2.push('Lillian'); names2.push('Emily'); names2.push('Robin'); names2.push('Peggy'); names2.push('Crystal'); names2.push('Gladys'); names2.push('Rita'); names2.push('Dawn'); names2.push('Connie'); names2.push('Florence'); names2.push('Tracy'); names2.push('Edna'); names2.push('Tiffany'); names2.push('Carmen'); names2.push('Rosa'); names2.push('Cindy'); names2.push('Grace'); names2.push('Wendy'); names2.push('Victoria'); names2.push('Edith'); names2.push('Kim'); names2.push('Sherry'); names2.push('Sylvia'); names2.push('Josephine'); names2.push('Thelma'); names2.push('Shannon'); names2.push('Sheila'); names2.push('Ethel'); names2.push('Ellen'); names2.push('Elaine'); names2.push('Marjorie'); names2.push('Carrie'); names2.push('Charlotte'); names2.push('Monica'); names2.push('Esther'); names2.push('Pauline'); names2.push('Emma'); names2.push('Juanita'); names2.push('Anita'); names2.push('Rhonda'); names2.push('Hazel'); names2.push('Amber'); names2.push('Eva'); names2.push('Debbie'); names2.push('April'); names2.push('Leslie'); names2.push('Clara'); names2.push('Lucille'); names2.push('Jamie'); names2.push('Joanne'); names2.push('Eleanor'); names2.push('Valerie'); names2.push('Danielle'); names2.push('Megan'); names2.push('Alicia'); names2.push('Suzanne'); names2.push('Michele'); names2.push('Gail'); names2.push('Bertha'); names2.push('Darlene'); names2.push('Veronica'); names2.push('Jill'); names2.push('Erin'); names2.push('Geraldine'); names2.push('Lauren'); names2.push('Cathy'); names2.push('Joann'); names2.push('Lorraine'); names2.push('Lynn'); names2.push('Sally'); names2.push('Regina'); names2.push('Erica'); names2.push('Beatrice'); names2.push('Dolores'); names2.push('Bernice'); names2.push('Audrey'); names2.push('Yvonne'); names2.push('Annette'); names2.push('June'); names2.push('Samantha'); names2.push('Marion'); names2.push('Dana'); names2.push('Stacy'); names2.push('Ana'); names2.push('Renee'); names2.push('Ida'); names2.push('Vivian'); names2.push('Roberta'); names2.push('Holly'); names2.push('Brittany'); names2.push('Melanie'); names2.push('Loretta'); names2.push('Yolanda'); names2.push('Jeanette'); names2.push('Laurie'); names2.push('Katie'); names2.push('Kristen'); names2.push('Vanessa'); names2.push('Alma'); names2.push('Sue'); names2.push('Elsie'); names2.push('Beth'); names2.push('Jeanne'); names2.push('Vicki'); names2.push('Carla'); names2.push('Tara'); names2.push('Rosemary'); names2.push('Eileen'); names2.push('Terri'); names2.push('Gertrude'); names2.push('Lucy'); names2.push('Tonya'); names2.push('Ella'); names2.push('Stacey'); names2.push('Wilma'); names2.push('Gina'); names2.push('Kristin'); names2.push('Jessie'); names2.push('Natalie'); names2.push('Agnes'); names2.push('Vera'); names2.push('Willie'); names2.push('Charlene'); names2.push('Bessie'); names2.push('Delores'); names2.push('Melinda'); names2.push('Pearl'); names2.push('Arlene'); names2.push('Maureen'); names2.push('Colleen'); names2.push('Allison'); names2.push('Tamara'); names2.push('Joy'); names2.push('Georgia'); names2.push('Constance'); names2.push('Lillie'); names2.push('Claudia'); names2.push('Jackie'); names2.push('Marcia'); names2.push('Tanya'); names2.push('Nellie'); names2.push('Minnie'); names2.push('Marlene'); names2.push('Heidi'); names2.push('Glenda'); names2.push('Lydia'); names2.push('Viola'); names2.push('Courtney'); names2.push('Marian'); names2.push('Stella'); names2.push('Caroline'); names2.push('Dora'); names2.push('Jo'); names2.push('Vickie'); names2.push('Mattie'); names2.push('Terry'); names2.push('Maxine'); names2.push('Irma'); names2.push('Mabel'); names2.push('Marsha'); names2.push('Myrtle'); names2.push('Lena'); names2.push('Christy'); names2.push('Deanna'); names2.push('Patsy'); names2.push('Hilda'); names2.push('Gwendolyn'); names2.push('Jennie'); names2.push('Nora'); names2.push('Margie'); names2.push('Nina'); names2.push('Cassandra'); names2.push('Leah'); names2.push('Penny'); names2.push('Kay'); names2.push('Priscilla'); names2.push('Naomi'); names2.push('Carole'); names2.push('Brandy'); names2.push('Olga'); names2.push('Billie'); names2.push('Dianne'); names2.push('Tracey'); names2.push('Leona'); names2.push('Jenny'); names2.push('Felicia'); names2.push('Sonia'); names2.push('Miriam'); names2.push('Velma'); names2.push('Becky'); names2.push('Bobbie'); names2.push('Violet'); names2.push('Kristina'); names2.push('Toni'); names2.push('Misty'); names2.push('Mae'); names2.push('Shelly'); names2.push('Daisy'); names2.push('Ramona'); names2.push('Sherri'); names2.push('Erika'); names2.push('Katrina'); names2.push('Claire'); names2.push('Lindsey'); names2.push('Lindsay'); names2.push('Geneva'); names2.push('Guadalupe'); names2.push('Belinda'); names2.push('Margarita'); names2.push('Sheryl'); names2.push('Cora'); names2.push('Faye'); names2.push('Ada'); names2.push('Natasha'); names2.push('Sabrina'); names2.push('Isabel'); names2.push('Marguerite'); names2.push('Hattie'); names2.push('Harriet'); names2.push('Molly'); names2.push('Cecilia'); names2.push('Kristi'); names2.push('Brandi'); names2.push('Blanche'); names2.push('Sandy'); names2.push('Rosie'); names2.push('Joanna'); names2.push('Iris'); names2.push('Eunice'); names2.push('Angie'); names2.push('Inez'); names2.push('Lynda'); names2.push('Madeline'); names2.push('Amelia'); names2.push('Alberta'); names2.push('Genevieve'); names2.push('Monique'); names2.push('Jodi'); names2.push('Janie'); names2.push('Maggie'); names2.push('Kayla'); names2.push('Sonya'); names2.push('Jan'); names2.push('Lee'); names2.push('Kristine'); names2.push('Candace'); names2.push('Fannie'); names2.push('Maryann'); names2.push('Opal'); names2.push('Alison'); names2.push('Yvette'); names2.push('Melody'); names2.push('Luz'); names2.push('Susie'); names2.push('Olivia'); names2.push('Flora'); names2.push('Shelley'); names2.push('Kristy'); names2.push('Mamie'); names2.push('Lula'); names2.push('Lola'); names2.push('Verna'); names2.push('Beulah'); names2.push('Antoinette'); names2.push('Candice'); names2.push('Juana'); names2.push('Jeannette'); names2.push('Pam'); names2.push('Kelli'); names2.push('Hannah'); names2.push('Whitney'); names2.push('Bridget'); names2.push('Karla'); names2.push('Celia'); names2.push('Latoya'); names2.push('Patty'); names2.push('Shelia'); names2.push('Gayle'); names2.push('Della'); names2.push('Vicky'); names2.push('Lynne'); names2.push('Sheri'); names2.push('Marianne'); names2.push('Kara'); names2.push('Jacquelyn'); names2.push('Erma'); names2.push('Blanca'); names2.push('Myra'); names2.push('Leticia'); names2.push('Pat'); names2.push('Krista'); names2.push('Roxanne'); names2.push('Angelica'); names2.push('Johnnie'); names2.push('Robyn'); names2.push('Francis'); names2.push('Adrienne'); names2.push('Rosalie'); names2.push('Alexandra'); names2.push('Brooke'); names2.push('Bethany'); names2.push('Sadie'); names2.push('Bernadette'); names2.push('Traci'); names2.push('Jody'); names2.push('Kendra'); names2.push('Jasmine'); names2.push('Nichole'); names2.push('Rachael'); names2.push('Chelsea'); names2.push('Mable'); names2.push('Ernestine'); names2.push('Muriel'); names2.push('Marcella'); names2.push('Elena'); names2.push('Krystal'); names2.push('Angelina'); names2.push('Nadine'); names2.push('Kari'); names2.push('Estelle'); names2.push('Dianna'); names2.push('Paulette'); names2.push('Lora'); names2.push('Mona'); names2.push('Doreen'); names2.push('Rosemarie'); names2.push('Angel'); names2.push('Desiree'); names2.push('Antonia'); names2.push('Hope'); names2.push('Ginger'); names2.push('Janis'); names2.push('Betsy'); names2.push('Christie'); names2.push('Freda'); names2.push('Mercedes'); names2.push('Meredith'); names2.push('Lynette'); names2.push('Teri'); names2.push('Cristina'); names2.push('Eula'); names2.push('Leigh'); names2.push('Meghan'); names2.push('Sophia'); names2.push('Eloise'); names2.push('Rochelle'); names2.push('Gretchen'); names2.push('Cecelia'); names2.push('Raquel'); names2.push('Henrietta'); names2.push('Alyssa'); names2.push('Jana'); names2.push('Kelley'); names2.push('Gwen'); names2.push('Kerry'); names2.push('Jenna'); names2.push('Tricia'); names2.push('Laverne'); names2.push('Olive'); names2.push('Alexis'); names2.push('Tasha'); names2.push('Silvia'); names2.push('Elvira'); names2.push('Casey'); names2.push('Delia'); names2.push('Sophie'); names2.push('Kate'); names2.push('Patti'); names2.push('Lorena'); names2.push('Kellie'); names2.push('Sonja'); names2.push('Lila'); names2.push('Lana'); names2.push('Darla'); names2.push('May'); names2.push('Mindy'); names2.push('Essie'); names2.push('Mandy'); names2.push('Lorene'); names2.push('Elsa'); names2.push('Josefina'); names2.push('Jeannie'); names2.push('Miranda'); names2.push('Dixie'); names2.push('Lucia'); names2.push('Marta'); names2.push('Faith'); names2.push('Lela'); names2.push('Johanna'); names2.push('Shari'); names2.push('Camille'); names2.push('Tami'); names2.push('Shawna'); names2.push('Elisa'); names2.push('Ebony'); names2.push('Melba'); names2.push('Ora'); names2.push('Nettie'); names2.push('Tabitha'); names2.push('Ollie'); names2.push('Jaime'); names2.push('Winifred'); names2.push('Kristie'); names2.push('Marina'); names2.push('Alisha'); names2.push('Aimee'); names2.push('Rena'); names2.push('Myrna'); names2.push('Marla'); names2.push('Tammie'); names2.push('Latasha'); names2.push('Bonita'); names2.push('Patrice'); names2.push('Ronda'); names2.push('Sherrie'); names2.push('Addie'); names2.push('Francine'); names2.push('Deloris'); names2.push('Stacie'); names2.push('Adriana'); names2.push('Cheri'); names2.push('Shelby'); names2.push('Abigail'); names2.push('Celeste'); names2.push('Jewel'); names2.push('Cara'); names2.push('Adele'); names2.push('Rebekah'); names2.push('Lucinda'); names2.push('Dorthy'); names2.push('Chris'); names2.push('Effie'); names2.push('Trina'); names2.push('Reba'); names2.push('Shawn'); names2.push('Sallie'); names2.push('Aurora'); names2.push('Lenora'); names2.push('Etta'); names2.push('Lottie'); names2.push('Kerri'); names2.push('Trisha'); names2.push('Nikki'); names2.push('Estella'); names2.push('Francisca'); names2.push('Josie'); names2.push('Tracie'); names2.push('Marissa'); names2.push('Karin'); names2.push('Brittney'); names2.push('Janelle'); names2.push('Lourdes'); names2.push('Laurel'); names2.push('Helene'); names2.push('Fern'); names2.push('Elva'); names2.push('Corinne'); names2.push('Kelsey'); names2.push('Ina'); names2.push('Bettie'); names2.push('Elisabeth'); names2.push('Aida'); names2.push('Caitlin'); names2.push('Ingrid'); names2.push('Iva'); names2.push('Eugenia'); names2.push('Christa'); names2.push('Goldie'); names2.push('Cassie'); names2.push('Maude'); names2.push('Jenifer'); names2.push('Therese'); names2.push('Frankie'); names2.push('Dena'); names2.push('Lorna'); names2.push('Janette'); names2.push('Latonya'); names2.push('Candy'); names2.push('Morgan'); names2.push('Consuelo'); names2.push('Tamika'); names2.push('Rosetta'); names2.push('Debora'); names2.push('Cherie'); names2.push('Polly'); names2.push('Dina'); names2.push('Jewell'); names2.push('Fay'); names2.push('Jillian'); names2.push('Dorothea'); names2.push('Nell'); names2.push('Trudy'); names2.push('Esperanza'); names2.push('Patrica'); names2.push('Kimberley'); names2.push('Shanna'); names2.push('Helena'); names2.push('Carolina'); names2.push('Cleo'); names2.push('Stefanie'); names2.push('Rosario'); names2.push('Ola'); names2.push('Janine'); names2.push('Mollie'); names2.push('Lupe'); names2.push('Alisa'); names2.push('Lou'); names2.push('Maribel'); names2.push('Susanne'); names2.push('Bette'); names2.push('Susana'); names2.push('Elise'); names2.push('Cecile'); names2.push('Isabelle'); names2.push('Lesley'); names2.push('Jocelyn'); names2.push('Paige'); names2.push('Joni'); names2.push('Rachelle'); names2.push('Leola'); names2.push('Daphne'); names2.push('Alta'); names2.push('Ester'); names2.push('Petra'); names2.push('Graciela'); names2.push('Imogene'); names2.push('Jolene'); names2.push('Keisha'); names2.push('Lacey'); names2.push('Glenna'); names2.push('Gabriela'); names2.push('Keri'); names2.push('Ursula'); names2.push('Lizzie'); names2.push('Kirsten'); names2.push('Shana'); names2.push('Adeline'); names2.push('Mayra'); names2.push('Jayne'); names2.push('Jaclyn'); names2.push('Gracie'); names2.push('Sondra'); names2.push('Carmela'); names2.push('Marisa'); names2.push('Rosalind'); names2.push('Charity'); names2.push('Tonia'); names2.push('Beatriz'); names2.push('Marisol'); names2.push('Clarice'); names2.push('Jeanine'); names2.push('Sheena'); names2.push('Angeline'); names2.push('Frieda'); names2.push('Lily'); names2.push('Robbie'); names2.push('Shauna'); names2.push('Millie'); names2.push('Claudette'); names2.push('Cathleen'); names2.push('Angelia'); names2.push('Gabrielle'); names2.push('Autumn'); names2.push('Katharine'); names2.push('Summer'); names2.push('Jodie'); names2.push('Staci'); names2.push('Lea'); names2.push('Christi'); names2.push('Jimmie'); names2.push('Justine'); names2.push('Elma'); names2.push('Luella'); names2.push('Margret'); names2.push('Dominique'); names2.push('Socorro'); names2.push('Rene'); names2.push('Martina'); names2.push('Margo'); names2.push('Mavis'); names2.push('Callie'); names2.push('Bobbi'); names2.push('Maritza'); names2.push('Lucile'); names2.push('Leanne'); names2.push('Jeannine'); names2.push('Deana'); names2.push('Aileen'); names2.push('Lorie'); names2.push('Ladonna'); names2.push('Willa'); names2.push('Manuela'); names2.push('Gale'); names2.push('Selma'); names2.push('Dolly'); names2.push('Sybil'); names2.push('Abby'); names2.push('Lara'); names2.push('Dale'); names2.push('Ivy'); names2.push('Dee'); names2.push('Winnie'); names2.push('Marcy'); names2.push('Luisa'); names2.push('Jeri'); names2.push('Magdalena'); names2.push('Ofelia'); names2.push('Meagan'); names2.push('Audra'); names2.push('Matilda'); names2.push('Leila'); names2.push('Cornelia'); names2.push('Bianca'); names2.push('Simone'); names2.push('Bettye'); names2.push('Randi'); names2.push('Virgie'); names2.push('Latisha'); names2.push('Barbra'); names2.push('Georgina'); names2.push('Eliza'); names2.push('Leann'); names2.push('Bridgette'); names2.push('Rhoda'); names2.push('Haley'); names2.push('Adela'); names2.push('Nola'); names2.push('Bernadine'); names2.push('Flossie'); names2.push('Ila'); names2.push('Greta'); names2.push('Ruthie'); names2.push('Nelda'); names2.push('Minerva'); names2.push('Lilly'); names2.push('Terrie'); names2.push('Letha'); names2.push('Hilary'); names2.push('Estela'); names2.push('Valarie'); names2.push('Brianna'); names2.push('Rosalyn'); names2.push('Earline'); names2.push('Catalina'); names2.push('Ava'); names2.push('Mia'); names2.push('Clarissa'); names2.push('Lidia'); names2.push('Corrine'); names2.push('Alexandria'); names2.push('Concepcion'); names2.push('Tia'); names2.push('Sharron'); names2.push('Rae'); names2.push('Dona'); names2.push('Ericka'); names2.push('Jami'); names2.push('Elnora'); names2.push('Chandra'); names2.push('Lenore'); names2.push('Neva'); names2.push('Marylou'); names2.push('Melisa'); names2.push('Tabatha'); names2.push('Serena'); names2.push('Avis'); names2.push('Allie'); names2.push('Sofia'); names2.push('Jeanie'); names2.push('Odessa'); names2.push('Nannie'); names2.push('Harriett'); names2.push('Loraine'); names2.push('Penelope'); names2.push('Milagros'); names2.push('Emilia'); names2.push('Benita'); names2.push('Allyson'); names2.push('Ashlee'); names2.push('Tania'); names2.push('Tommie'); names2.push('Esmeralda'); names2.push('Karina'); names2.push('Eve'); names2.push('Pearlie'); names2.push('Zelma'); names2.push('Malinda'); names2.push('Noreen'); names2.push('Tameka'); names2.push('Saundra'); names2.push('Hillary'); names2.push('Amie'); names2.push('Althea'); names2.push('Rosalinda'); names2.push('Jordan'); names2.push('Lilia'); names2.push('Alana'); names2.push('Gay'); names2.push('Clare'); names2.push('Alejandra'); names2.push('Elinor'); names2.push('Michael'); names2.push('Lorrie'); names2.push('Jerri'); names2.push('Darcy'); names2.push('Earnestine'); names2.push('Carmella'); names2.push('Taylor'); names2.push('Noemi'); names2.push('Marcie'); names2.push('Liza'); names2.push('Annabelle'); names2.push('Louisa'); names2.push('Earlene'); names2.push('Mallory'); names2.push('Carlene'); names2.push('Nita'); names2.push('Selena'); names2.push('Tanisha'); names2.push('Katy'); names2.push('Julianne'); names2.push('John'); names2.push('Lakisha'); names2.push('Edwina'); names2.push('Maricela'); names2.push('Margery'); names2.push('Kenya'); names2.push('Dollie'); names2.push('Roxie'); names2.push('Roslyn'); names2.push('Kathrine'); names2.push('Nanette'); names2.push('Charmaine'); names2.push('Lavonne'); names2.push('Ilene'); names2.push('Kris'); names2.push('Tammi'); names2.push('Suzette'); names2.push('Corine'); names2.push('Kaye'); names2.push('Jerry'); names2.push('Merle'); names2.push('Chrystal'); names2.push('Lina'); names2.push('Deanne'); names2.push('Lilian'); names2.push('Juliana'); names2.push('Aline'); names2.push('Luann'); names2.push('Kasey'); names2.push('Maryanne'); names2.push('Evangeline'); names2.push('Colette'); names2.push('Melva'); names2.push('Lawanda'); names2.push('Yesenia'); names2.push('Nadia'); names2.push('Madge'); names2.push('Kathie'); names2.push('Eddie'); names2.push('Ophelia'); names2.push('Valeria'); names2.push('Nona'); names2.push('Mitzi'); names2.push('Mari'); names2.push('Georgette'); names2.push('Claudine'); names2.push('Fran'); names2.push('Alissa'); names2.push('Roseann'); names2.push('Lakeisha'); names2.push('Susanna'); names2.push('Reva'); names2.push('Deidre'); names2.push('Chasity'); names2.push('Sheree'); names2.push('Carly'); names2.push('James'); names2.push('Elvia'); names2.push('Alyce'); names2.push('Deirdre'); names2.push('Gena'); names2.push('Briana'); names2.push('Araceli'); names2.push('Katelyn'); names2.push('Rosanne'); names2.push('Wendi'); names2.push('Tessa'); names2.push('Berta'); names2.push('Marva'); names2.push('Imelda'); names2.push('Marietta'); names2.push('Marci'); names2.push('Leonor'); names2.push('Arline'); names2.push('Sasha'); names2.push('Madelyn'); names2.push('Janna'); names2.push('Juliette'); names2.push('Deena'); names2.push('Aurelia'); names2.push('Josefa'); names2.push('Augusta'); names2.push('Liliana'); names2.push('Young'); names2.push('Christian'); names2.push('Lessie'); names2.push('Amalia'); names2.push('Savannah'); names2.push('Anastasia'); names2.push('Vilma'); names2.push('Natalia'); names2.push('Rosella'); names2.push('Lynnette'); names2.push('Corina'); names2.push('Alfreda'); names2.push('Leanna'); names2.push('Carey'); names2.push('Amparo'); names2.push('Coleen'); names2.push('Tamra'); names2.push('Aisha'); names2.push('Wilda'); names2.push('Karyn'); names2.push('Cherry'); names2.push('Queen'); names2.push('Maura'); names2.push('Mai'); names2.push('Evangelina'); names2.push('Rosanna'); names2.push('Hallie'); names2.push('Erna'); names2.push('Enid'); names2.push('Mariana'); names2.push('Lacy'); names2.push('Juliet'); names2.push('Jacklyn'); names2.push('Freida'); names2.push('Madeleine'); names2.push('Mara'); names2.push('Hester'); names2.push('Cathryn'); names2.push('Lelia'); names2.push('Casandra'); names2.push('Bridgett'); names2.push('Angelita'); names2.push('Jannie'); names2.push('Dionne'); names2.push('Annmarie'); names2.push('Katina'); names2.push('Beryl'); names2.push('Phoebe'); names2.push('Millicent'); names2.push('Katheryn'); names2.push('Diann'); names2.push('Carissa'); names2.push('Maryellen'); names2.push('Liz'); names2.push('Lauri'); names2.push('Helga'); names2.push('Gilda'); names2.push('Adrian'); names2.push('Rhea'); names2.push('Marquita'); names2.push('Hollie'); names2.push('Tisha'); names2.push('Tamera'); names2.push('Angelique'); names2.push('Francesca'); names2.push('Britney'); names2.push('Kaitlin'); names2.push('Lolita'); names2.push('Florine'); names2.push('Rowena'); names2.push('Reyna'); names2.push('Twila'); names2.push('Fanny'); names2.push('Janell'); names2.push('Ines'); names2.push('Concetta'); names2.push('Bertie'); names2.push('Alba'); names2.push('Brigitte'); names2.push('Alyson'); names2.push('Vonda'); names2.push('Pansy'); names2.push('Elba'); names2.push('Noelle'); names2.push('Letitia'); names2.push('Kitty'); names2.push('Deann'); names2.push('Brandie'); names2.push('Louella'); names2.push('Leta'); names2.push('Felecia'); names2.push('Sharlene'); names2.push('Lesa'); names2.push('Beverley'); names2.push('Robert'); names2.push('Isabella'); names2.push('Herminia'); names2.push('Terra'); names2.push('Celina'); names2.push('Tori'); names2.push('Octavia'); names2.push('Jade'); names2.push('Denice'); names2.push('Germaine'); names2.push('Sierra'); names2.push('Michell'); names2.push('Cortney'); names2.push('Nelly'); names2.push('Doretha'); names2.push('Sydney'); names2.push('Deidra'); names2.push('Monika'); names2.push('Lashonda'); names2.push('Judi'); names2.push('Chelsey'); names2.push('Antionette'); names2.push('Margot'); names2.push('Bobby'); names2.push('Adelaide'); names2.push('Nan'); names2.push('Leeann'); names2.push('Elisha'); names2.push('Dessie'); names2.push('Libby'); names2.push('Kathi'); names2.push('Gayla'); names2.push('Latanya'); names2.push('Mina'); names2.push('Mellisa'); names2.push('Kimberlee'); names2.push('Jasmin'); names2.push('Renae'); names2.push('Zelda'); names2.push('Elda'); names2.push('Ma'); names2.push('Justina'); names2.push('Gussie'); names2.push('Emilie'); names2.push('Camilla'); names2.push('Abbie'); names2.push('Rocio'); names2.push('Kaitlyn'); names2.push('Jesse'); names2.push('Edythe'); names2.push('Ashleigh'); names2.push('Selina'); names2.push('Lakesha'); names2.push('Geri'); names2.push('Allene'); names2.push('Pamala'); names2.push('Michaela'); names2.push('Dayna'); names2.push('Caryn'); names2.push('Rosalia'); names2.push('Sun'); names2.push('Jacquline'); names2.push('Rebeca'); names2.push('Marybeth'); names2.push('Krystle'); names2.push('Iola'); names2.push('Dottie'); names2.push('Bennie'); names2.push('Belle'); names2.push('Aubrey'); names2.push('Griselda'); names2.push('Ernestina'); names2.push('Elida'); names2.push('Adrianne'); names2.push('Demetria'); names2.push('Delma'); names2.push('Chong'); names2.push('Jaqueline'); names2.push('Destiny'); names2.push('Arleen'); names2.push('Virgina'); names2.push('Retha'); names2.push('Fatima'); names2.push('Tillie'); names2.push('Eleanore'); names2.push('Cari'); names2.push('Treva'); names2.push('Birdie'); names2.push('Wilhelmina'); names2.push('Rosalee'); names2.push('Maurine'); names2.push('Latrice'); names2.push('Yong'); names2.push('Jena'); names2.push('Taryn'); names2.push('Elia'); names2.push('Debby'); names2.push('Maudie'); names2.push('Jeanna'); names2.push('Delilah'); names2.push('Catrina'); names2.push('Shonda'); names2.push('Hortencia'); names2.push('Theodora'); names2.push('Teresita'); names2.push('Robbin'); names2.push('Danette'); names2.push('Maryjane'); names2.push('Freddie'); names2.push('Delphine'); names2.push('Brianne'); names2.push('Nilda'); names2.push('Danna'); names2.push('Cindi'); names2.push('Bess'); names2.push('Iona'); names2.push('Hanna'); names2.push('Ariel'); names2.push('Winona'); names2.push('Vida'); names2.push('Rosita'); names2.push('Marianna'); names2.push('William'); names2.push('Racheal'); names2.push('Guillermina'); names2.push('Eloisa'); names2.push('Celestine'); names2.push('Caren'); names2.push('Malissa'); names2.push('Lona'); names2.push('Chantel'); names2.push('Shellie'); names2.push('Marisela'); names2.push('Leora'); names2.push('Agatha'); names2.push('Soledad'); names2.push('Migdalia'); names2.push('Ivette'); names2.push('Christen'); names2.push('Athena'); names2.push('Janel'); names2.push('Chloe'); names2.push('Veda'); names2.push('Pattie'); names2.push('Tessie'); names2.push('Tera'); names2.push('Marilynn'); names2.push('Lucretia'); names2.push('Karrie'); names2.push('Dinah'); names2.push('Daniela'); names2.push('Alecia'); names2.push('Adelina'); names2.push('Vernice'); names2.push('Shiela'); names2.push('Portia'); names2.push('Merry'); names2.push('Lashawn'); names2.push('Devon'); names2.push('Dara'); names2.push('Tawana'); names2.push('Oma'); names2.push('Verda'); names2.push('Christin'); names2.push('Alene'); names2.push('Zella'); names2.push('Sandi'); names2.push('Rafaela'); names2.push('Maya'); names2.push('Kira'); names2.push('Candida'); names2.push('Alvina'); names2.push('Suzan'); names2.push('Shayla'); names2.push('Lyn'); names2.push('Lettie'); names2.push('Alva'); names2.push('Samatha'); names2.push('Oralia'); names2.push('Matilde'); names2.push('Madonna'); names2.push('Larissa'); names2.push('Vesta'); names2.push('Renita'); names2.push('India'); names2.push('Delois'); names2.push('Shanda'); names2.push('Phillis'); names2.push('Lorri'); names2.push('Erlinda'); names2.push('Cruz'); names2.push('Cathrine'); names2.push('Barb'); names2.push('Zoe'); names2.push('Isabell'); names2.push('Ione'); names2.push('Gisela'); names2.push('Charlie'); names2.push('Valencia'); names2.push('Roxanna'); names2.push('Mayme'); names2.push('Kisha'); names2.push('Ellie'); names2.push('Mellissa'); names2.push('Dorris'); names2.push('Dalia'); names2.push('Bella'); names2.push('Annetta'); names2.push('Zoila'); names2.push('Reta'); names2.push('Reina'); names2.push('Lauretta'); names2.push('Kylie'); names2.push('Christal'); names2.push('Pilar'); names2.push('Charla'); names2.push('Elissa'); names2.push('Tiffani'); names2.push('Tana'); names2.push('Paulina'); names2.push('Leota'); names2.push('Breanna'); names2.push('Jayme'); names2.push('Carmel'); names2.push('Vernell'); names2.push('Tomasa'); names2.push('Mandi'); names2.push('Dominga'); names2.push('Santa'); names2.push('Melodie'); names2.push('Lura'); names2.push('Alexa'); names2.push('Tamela'); names2.push('Ryan'); names2.push('Mirna'); names2.push('Kerrie'); names2.push('Venus'); names2.push('Noel'); names2.push('Felicita'); names2.push('Cristy'); names2.push('Carmelita'); names2.push('Berniece'); names2.push('Annemarie'); names2.push('Tiara'); names2.push('Roseanne'); names2.push('Missy'); names2.push('Cori'); names2.push('Roxana'); names2.push('Pricilla'); names2.push('Kristal'); names2.push('Jung'); names2.push('Elyse'); names2.push('Haydee'); names2.push('Aletha'); names2.push('Bettina'); names2.push('Marge'); names2.push('Gillian'); names2.push('Filomena'); names2.push('Charles'); names2.push('Zenaida'); names2.push('Harriette'); names2.push('Caridad'); names2.push('Vada'); names2.push('Una'); names2.push('Aretha'); names2.push('Pearline'); names2.push('Marjory'); names2.push('Marcela'); names2.push('Flor'); names2.push('Evette'); names2.push('Elouise'); names2.push('Alina'); names2.push('Trinidad'); names2.push('David'); names2.push('Damaris'); names2.push('Catharine'); names2.push('Carroll'); names2.push('Belva'); names2.push('Nakia'); names2.push('Marlena'); names2.push('Luanne'); names2.push('Lorine'); names2.push('Karon'); names2.push('Dorene'); names2.push('Danita'); names2.push('Brenna'); names2.push('Tatiana'); names2.push('Sammie'); names2.push('Louann'); names2.push('Loren'); names2.push('Julianna'); names2.push('Andria'); names2.push('Philomena'); names2.push('Lucila'); names2.push('Leonora'); names2.push('Dovie'); names2.push('Romona'); names2.push('Mimi'); names2.push('Jacquelin'); names2.push('Gaye'); names2.push('Tonja'); names2.push('Misti'); names2.push('Joe'); names2.push('Gene'); names2.push('Chastity'); names2.push('Stacia'); names2.push('Roxann'); names2.push('Micaela'); names2.push('Nikita'); names2.push('Mei'); names2.push('Velda'); names2.push('Marlys'); names2.push('Johnna'); names2.push('Aura'); names2.push('Lavern'); names2.push('Ivonne'); names2.push('Hayley'); names2.push('Nicki'); names2.push('Majorie'); names2.push('Herlinda'); names2.push('George'); names2.push('Alpha'); names2.push('Yadira'); names2.push('Perla'); names2.push('Gregoria'); names2.push('Daniel'); names2.push('Antonette'); names2.push('Shelli'); names2.push('Mozelle'); names2.push('Mariah'); names2.push('Joelle'); names2.push('Cordelia'); names2.push('Josette'); names2.push('Chiquita'); names2.push('Trista'); names2.push('Louis'); names2.push('Laquita'); names2.push('Georgiana'); names2.push('Candi'); names2.push('Shanon'); names2.push('Lonnie'); names2.push('Hildegard'); names2.push('Cecil'); names2.push('Valentina'); names2.push('Stephany'); names2.push('Magda'); names2.push('Karol'); names2.push('Gerry'); names2.push('Gabriella'); names2.push('Tiana'); names2.push('Roma'); names2.push('Richelle'); names2.push('Ray'); names2.push('Princess'); names2.push('Oleta'); names2.push('Jacque'); names2.push('Idella'); names2.push('Alaina'); names2.push('Suzanna'); names2.push('Jovita'); names2.push('Blair'); names2.push('Tosha'); names2.push('Raven'); names2.push('Nereida'); names2.push('Marlyn'); names2.push('Kyla'); names2.push('Joseph'); names2.push('Delfina'); names2.push('Tena'); names2.push('Stephenie'); names2.push('Sabina'); names2.push('Nathalie'); names2.push('Marcelle'); names2.push('Gertie'); names2.push('Darleen'); names2.push('Thea'); names2.push('Sharonda'); names2.push('Shantel'); names2.push('Belen'); names2.push('Venessa'); names2.push('Rosalina'); names2.push('Ona'); names2.push('Genoveva'); names2.push('Corey'); names2.push('Clementine'); names2.push('Rosalba'); names2.push('Renate'); names2.push('Renata'); names2.push('Mi'); names2.push('Ivory'); names2.push('Georgianna'); names2.push('Floy'); names2.push('Dorcas'); names2.push('Ariana'); names2.push('Tyra'); names2.push('Theda'); names2.push('Mariam'); names2.push('Juli'); names2.push('Jesica'); names2.push('Donnie'); names2.push('Vikki'); names2.push('Verla'); names2.push('Roselyn'); names2.push('Melvina'); names2.push('Jannette'); names2.push('Ginny'); names2.push('Debrah'); names2.push('Corrie'); names2.push('Asia'); names2.push('Violeta'); names2.push('Myrtis'); names2.push('Latricia'); names2.push('Collette'); names2.push('Charleen'); names2.push('Anissa'); names2.push('Viviana'); names2.push('Twyla'); names2.push('Precious'); names2.push('Nedra'); names2.push('Latonia'); names2.push('Lan'); names2.push('Hellen'); names2.push('Fabiola'); names2.push('Annamarie'); names2.push('Adell'); names2.push('Sharyn'); names2.push('Chantal'); names2.push('Niki'); names2.push('Maud'); names2.push('Lizette'); names2.push('Lindy'); names2.push('Kia'); names2.push('Kesha'); names2.push('Jeana'); names2.push('Danelle'); names2.push('Charline'); names2.push('Chanel'); names2.push('Carrol'); names2.push('Valorie'); names2.push('Lia'); names2.push('Dortha'); names2.push('Cristal'); names2.push('Sunny'); names2.push('Leone'); names2.push('Leilani'); names2.push('Gerri'); names2.push('Debi'); names2.push('Andra'); names2.push('Keshia'); names2.push('Ima'); names2.push('Eulalia'); names2.push('Easter'); names2.push('Dulce'); names2.push('Natividad'); names2.push('Linnie'); names2.push('Kami'); names2.push('Georgie'); names2.push('Catina'); names2.push('Brook'); names2.push('Alda'); names2.push('Winnifred'); names2.push('Sharla'); names2.push('Ruthann'); names2.push('Meaghan'); names2.push('Magdalene'); names2.push('Lissette'); names2.push('Adelaida'); names2.push('Venita'); names2.push('Trena'); names2.push('Shirlene'); names2.push('Shameka'); names2.push('Elizebeth'); names2.push('Dian'); names2.push('Shanta'); names2.push('Mickey'); names2.push('Latosha'); names2.push('Carlotta'); names2.push('Windy'); names2.push('Soon'); names2.push('Rosina'); names2.push('Mariann'); names2.push('Leisa'); names2.push('Jonnie'); names2.push('Dawna'); names2.push('Cathie'); names2.push('Billy'); names2.push('Astrid'); names2.push('Sidney'); names2.push('Laureen'); names2.push('Janeen'); names2.push('Holli'); names2.push('Fawn'); names2.push('Vickey'); names2.push('Teressa'); names2.push('Shante'); names2.push('Rubye'); names2.push('Marcelina'); names2.push('Chanda'); names2.push('Cary'); names2.push('Terese'); names2.push('Scarlett'); names2.push('Marty'); names2.push('Marnie'); names2.push('Lulu'); names2.push('Lisette'); names2.push('Jeniffer'); names2.push('Elenor'); names2.push('Dorinda'); names2.push('Donita'); names2.push('Carman'); names2.push('Bernita'); names2.push('Altagracia'); names2.push('Aleta'); names2.push('Adrianna'); names2.push('Zoraida'); names2.push('Ronnie'); names2.push('Nicola'); names2.push('Lyndsey'); names2.push('Kendall'); names2.push('Janina'); names2.push('Chrissy'); names2.push('Ami'); names2.push('Starla'); names2.push('Phylis'); names2.push('Phuong'); names2.push('Kyra'); names2.push('Charisse'); names2.push('Blanch'); names2.push('Sanjuanita'); names2.push('Rona'); names2.push('Nanci'); names2.push('Marilee'); names2.push('Maranda'); names2.push('Cory'); names2.push('Brigette'); names2.push('Sanjuana'); names2.push('Marita'); names2.push('Kassandra'); names2.push('Joycelyn'); names2.push('Ira'); names2.push('Felipa'); names2.push('Chelsie'); names2.push('Bonny'); names2.push('Mireya'); names2.push('Lorenza'); names2.push('Kyong'); names2.push('Ileana'); names2.push('Candelaria'); names2.push('Tony'); names2.push('Toby'); names2.push('Sherie'); names2.push('Ok'); names2.push('Mark'); names2.push('Lucie'); names2.push('Leatrice'); names2.push('Lakeshia'); names2.push('Gerda'); names2.push('Edie'); names2.push('Bambi'); names2.push('Marylin'); names2.push('Lavon'); names2.push('Hortense'); names2.push('Garnet'); names2.push('Evie'); names2.push('Tressa'); names2.push('Shayna'); names2.push('Lavina'); names2.push('Kyung'); names2.push('Jeanetta'); names2.push('Sherrill'); names2.push('Shara'); names2.push('Phyliss'); names2.push('Mittie'); names2.push('Anabel'); names2.push('Alesia'); names2.push('Thuy'); names2.push('Tawanda'); names2.push('Richard'); names2.push('Joanie'); names2.push('Tiffanie'); names2.push('Lashanda'); names2.push('Karissa'); names2.push('Enriqueta'); names2.push('Daria'); names2.push('Daniella'); names2.push('Corinna'); names2.push('Alanna'); names2.push('Abbey'); names2.push('Roxane'); names2.push('Roseanna'); names2.push('Magnolia'); names2.push('Lida'); names2.push('Kyle'); names2.push('Joellen'); names2.push('Era'); names2.push('Coral'); names2.push('Carleen'); names2.push('Tresa'); names2.push('Peggie'); names2.push('Novella'); names2.push('Nila'); names2.push('Maybelle'); names2.push('Jenelle'); names2.push('Carina'); names2.push('Nova'); names2.push('Melina'); names2.push('Marquerite'); names2.push('Margarette'); names2.push('Josephina'); names2.push('Evonne'); names2.push('Devin'); names2.push('Cinthia'); names2.push('Albina'); names2.push('Toya'); names2.push('Tawnya'); names2.push('Sherita'); names2.push('Santos'); names2.push('Myriam'); names2.push('Lizabeth'); names2.push('Lise'); names2.push('Keely'); names2.push('Jenni'); names2.push('Giselle'); names2.push('Cheryle'); names2.push('Ardith'); names2.push('Ardis'); names2.push('Alesha'); names2.push('Adriane'); names2.push('Shaina'); names2.push('Linnea'); names2.push('Karolyn'); names2.push('Hong'); names2.push('Florida'); names2.push('Felisha'); names2.push('Dori'); names2.push('Darci'); names2.push('Artie'); names2.push('Armida'); names2.push('Zola'); names2.push('Xiomara'); names2.push('Vergie'); names2.push('Shamika'); names2.push('Nena'); names2.push('Nannette'); names2.push('Maxie'); names2.push('Lovie'); names2.push('Jeane'); names2.push('Jaimie'); names2.push('Inge'); names2.push('Farrah'); names2.push('Elaina'); names2.push('Caitlyn'); names2.push('Starr'); names2.push('Felicitas'); names2.push('Cherly'); names2.push('Caryl'); names2.push('Yolonda'); names2.push('Yasmin'); names2.push('Teena'); names2.push('Prudence'); names2.push('Pennie'); names2.push('Nydia'); names2.push('Mackenzie'); names2.push('Orpha'); names2.push('Marvel'); names2.push('Lizbeth'); names2.push('Laurette'); names2.push('Jerrie'); names2.push('Hermelinda'); names2.push('Carolee'); names2.push('Tierra'); names2.push('Mirian'); names2.push('Meta'); names2.push('Melony'); names2.push('Kori'); names2.push('Jennette'); names2.push('Jamila'); names2.push('Ena'); names2.push('Anh'); names2.push('Yoshiko'); names2.push('Susannah'); names2.push('Salina'); names2.push('Rhiannon'); names2.push('Joleen'); names2.push('Cristine'); names2.push('Ashton'); names2.push('Aracely'); names2.push('Tomeka'); names2.push('Shalonda'); names2.push('Marti'); names2.push('Lacie'); names2.push('Kala'); names2.push('Jada'); names2.push('Ilse'); names2.push('Hailey'); names2.push('Brittani'); names2.push('Zona'); names2.push('Syble'); names2.push('Sherryl'); names2.push('Randy'); names2.push('Nidia'); names2.push('Marlo'); names2.push('Kandice'); names2.push('Kandi'); names2.push('Deb'); names2.push('Dean'); names2.push('America'); names2.push('Alycia'); names2.push('Tommy'); names2.push('Ronna'); names2.push('Norene'); names2.push('Mercy'); names2.push('Jose'); names2.push('Ingeborg'); names2.push('Giovanna'); names2.push('Gemma'); names2.push('Christel'); names2.push('Audry'); names2.push('Zora'); names2.push('Vita'); names2.push('Van'); names2.push('Trish'); names2.push('Stephaine'); names2.push('Shirlee'); names2.push('Shanika'); names2.push('Melonie'); names2.push('Mazie'); names2.push('Jazmin'); names2.push('Inga'); names2.push('Hoa'); names2.push('Hettie'); names2.push('Geralyn'); names2.push('Fonda'); names2.push('Estrella'); names2.push('Adella'); names2.push('Su'); names2.push('Sarita'); names2.push('Rina'); names2.push('Milissa'); names2.push('Maribeth'); names2.push('Golda'); names2.push('Evon'); names2.push('Ethelyn'); names2.push('Enedina'); names2.push('Cherise'); names2.push('Chana'); names2.push('Velva'); names2.push('Tawanna'); names2.push('Sade'); names2.push('Mirta'); names2.push('Li'); names2.push('Karie'); names2.push('Jacinta'); names2.push('Elna'); names2.push('Davina'); names2.push('Cierra'); names2.push('Ashlie'); names2.push('Albertha'); names2.push('Tanesha'); names2.push('Stephani'); names2.push('Nelle'); names2.push('Mindi'); names2.push('Lu'); names2.push('Lorinda'); names2.push('Larue'); names2.push('Florene'); names2.push('Demetra'); names2.push('Dedra'); names2.push('Ciara'); names2.push('Chantelle'); names2.push('Ashly'); names2.push('Suzy'); names2.push('Rosalva'); names2.push('Noelia'); names2.push('Lyda'); names2.push('Leatha'); names2.push('Krystyna'); names2.push('Kristan'); names2.push('Karri'); names2.push('Darline'); names2.push('Darcie'); names2.push('Cinda'); names2.push('Cheyenne'); names2.push('Cherrie'); names2.push('Awilda'); names2.push('Almeda'); names2.push('Rolanda'); names2.push('Lanette'); names2.push('Jerilyn'); names2.push('Gisele'); names2.push('Evalyn'); names2.push('Cyndi'); names2.push('Cleta'); names2.push('Carin'); names2.push('Zina'); names2.push('Zena'); names2.push('Velia'); names2.push('Tanika'); names2.push('Paul'); names2.push('Charissa'); names2.push('Thomas'); names2.push('Talia'); names2.push('Margarete'); names2.push('Lavonda'); names2.push('Kaylee'); names2.push('Kathlene'); names2.push('Jonna'); names2.push('Irena'); names2.push('Ilona'); names2.push('Idalia'); names2.push('Candis'); names2.push('Candance'); names2.push('Brandee'); names2.push('Anitra'); names2.push('Alida'); names2.push('Sigrid'); names2.push('Nicolette'); names2.push('Maryjo'); names2.push('Linette'); names2.push('Hedwig'); names2.push('Christiana'); names2.push('Cassidy'); names2.push('Alexia'); names2.push('Tressie'); names2.push('Modesta'); names2.push('Lupita'); names2.push('Lita'); names2.push('Gladis'); names2.push('Evelia'); names2.push('Davida'); names2.push('Cherri'); names2.push('Cecily'); names2.push('Ashely'); names2.push('Annabel'); names2.push('Agustina'); names2.push('Wanita'); names2.push('Shirly'); names2.push('Rosaura'); names2.push('Hulda'); names2.push('Eun'); names2.push('Bailey'); names2.push('Yetta'); names2.push('Verona'); names2.push('Thomasina'); names2.push('Sibyl'); names2.push('Shannan'); names2.push('Mechelle'); names2.push('Lue'); names2.push('Leandra'); names2.push('Lani'); names2.push('Kylee'); names2.push('Kandy'); names2.push('Jolynn'); names2.push('Ferne'); names2.push('Eboni'); names2.push('Corene'); names2.push('Alysia'); names2.push('Zula'); names2.push('Nada'); names2.push('Moira'); names2.push('Lyndsay'); names2.push('Lorretta'); names2.push('Juan'); names2.push('Jammie'); names2.push('Hortensia'); names2.push('Gaynell'); names2.push('Cameron'); names2.push('Adria'); names2.push('Vina'); names2.push('Vicenta'); names2.push('Tangela'); names2.push('Stephine'); names2.push('Norine'); names2.push('Nella'); names2.push('Liana'); names2.push('Leslee'); names2.push('Kimberely'); names2.push('Iliana'); names2.push('Glory'); names2.push('Felica'); names2.push('Emogene'); names2.push('Elfriede'); names2.push('Eden'); names2.push('Eartha'); names2.push('Carma'); names2.push('Bea'); names2.push('Ocie'); names2.push('Marry'); names2.push('Lennie'); names2.push('Kiara'); names2.push('Jacalyn'); names2.push('Carlota'); names2.push('Arielle'); names2.push('Yu'); names2.push('Star'); names2.push('Otilia'); names2.push('Kirstin'); names2.push('Kacey'); names2.push('Johnetta'); names2.push('Joey'); names2.push('Joetta'); names2.push('Jeraldine'); names2.push('Jaunita'); names2.push('Elana'); names2.push('Dorthea'); names2.push('Cami'); names2.push('Amada'); names2.push('Adelia'); names2.push('Vernita'); names2.push('Tamar'); names2.push('Siobhan'); names2.push('Renea'); names2.push('Rashida'); names2.push('Ouida'); names2.push('Odell'); names2.push('Nilsa'); names2.push('Meryl'); names2.push('Kristyn'); names2.push('Julieta'); names2.push('Danica'); names2.push('Breanne'); names2.push('Aurea'); names2.push('Anglea'); names2.push('Sherron'); names2.push('Odette'); names2.push('Malia'); names2.push('Lorelei'); names2.push('Lin'); names2.push('Leesa'); names2.push('Kenna'); names2.push('Kathlyn'); names2.push('Fiona'); names2.push('Charlette'); names2.push('Suzie'); names2.push('Shantell'); names2.push('Sabra'); names2.push('Racquel'); names2.push('Myong'); names2.push('Mira'); names2.push('Martine'); names2.push('Lucienne'); names2.push('Lavada'); names2.push('Juliann'); names2.push('Johnie'); names2.push('Elvera'); names2.push('Delphia'); names2.push('Clair'); names2.push('Christiane'); names2.push('Charolette'); names2.push('Carri'); names2.push('Augustine'); names2.push('Asha'); names2.push('Angella'); names2.push('Paola'); names2.push('Ninfa'); names2.push('Leda'); names2.push('Lai'); names2.push('Eda'); names2.push('Sunshine'); names2.push('Stefani'); names2.push('Shanell'); names2.push('Palma'); names2.push('Machelle'); names2.push('Lissa'); names2.push('Kecia'); names2.push('Kathryne'); names2.push('Karlene'); names2.push('Julissa'); names2.push('Jettie'); names2.push('Jenniffer'); names2.push('Hui'); names2.push('Corrina'); names2.push('Christopher'); names2.push('Carolann'); names2.push('Alena'); names2.push('Tess'); names2.push('Rosaria'); names2.push('Myrtice'); names2.push('Marylee'); names2.push('Liane'); names2.push('Kenyatta'); names2.push('Judie'); names2.push('Janey'); names2.push('In'); names2.push('Elmira'); names2.push('Eldora'); names2.push('Denna'); names2.push('Cristi'); names2.push('Cathi'); names2.push('Zaida'); names2.push('Vonnie'); names2.push('Viva'); names2.push('Vernie'); names2.push('Rosaline'); names2.push('Mariela'); names2.push('Luciana'); names2.push('Lesli'); names2.push('Karan'); names2.push('Felice'); names2.push('Deneen'); names2.push('Adina'); names2.push('Wynona'); names2.push('Tarsha'); names2.push('Sheron'); names2.push('Shasta'); names2.push('Shanita'); names2.push('Shani'); names2.push('Shandra'); names2.push('Randa'); names2.push('Pinkie'); names2.push('Paris'); names2.push('Nelida'); names2.push('Marilou'); names2.push('Lyla'); names2.push('Laurene'); names2.push('Laci'); names2.push('Joi'); names2.push('Janene'); names2.push('Dorotha'); names2.push('Daniele'); names2.push('Dani'); names2.push('Carolynn'); names2.push('Carlyn'); names2.push('Berenice'); names2.push('Ayesha'); names2.push('Anneliese'); names2.push('Alethea'); names2.push('Thersa'); names2.push('Tamiko'); names2.push('Rufina'); names2.push('Oliva'); names2.push('Mozell'); names2.push('Marylyn'); names2.push('Madison'); names2.push('Kristian'); names2.push('Kathyrn'); names2.push('Kasandra'); names2.push('Kandace'); names2.push('Janae'); names2.push('Gabriel'); names2.push('Domenica'); names2.push('Debbra'); names2.push('Dannielle'); names2.push('Chun'); names2.push('Buffy'); names2.push('Barbie'); names2.push('Arcelia'); names2.push('Aja'); names2.push('Zenobia'); names2.push('Sharen'); names2.push('Sharee'); names2.push('Patrick'); names2.push('Page'); names2.push('My'); names2.push('Lavinia'); names2.push('Kum'); names2.push('Kacie'); names2.push('Jackeline'); names2.push('Huong'); names2.push('Felisa'); names2.push('Emelia'); names2.push('Eleanora'); names2.push('Cythia'); names2.push('Cristin'); names2.push('Clyde'); names2.push('Claribel'); names2.push('Caron'); names2.push('Anastacia'); names2.push('Zulma'); names2.push('Zandra'); names2.push('Yoko'); names2.push('Tenisha'); names2.push('Susann'); names2.push('Sherilyn'); names2.push('Shay'); names2.push('Shawanda'); names2.push('Sabine'); names2.push('Romana'); names2.push('Mathilda'); names2.push('Linsey'); names2.push('Keiko'); names2.push('Joana'); names2.push('Isela'); names2.push('Gretta'); names2.push('Georgetta'); names2.push('Eugenie'); names2.push('Dusty'); names2.push('Desirae'); names2.push('Delora'); names2.push('Corazon'); names2.push('Antonina'); names2.push('Anika'); names2.push('Willene'); names2.push('Tracee'); names2.push('Tamatha'); names2.push('Regan'); names2.push('Nichelle'); names2.push('Mickie'); names2.push('Maegan'); names2.push('Luana'); names2.push('Lanita'); names2.push('Kelsie'); names2.push('Edelmira'); names2.push('Bree'); names2.push('Afton'); names2.push('Teodora'); names2.push('Tamie'); names2.push('Shena'); names2.push('Meg'); names2.push('Linh'); names2.push('Keli'); names2.push('Kaci'); names2.push('Danyelle'); names2.push('Britt'); names2.push('Arlette'); names2.push('Albertine'); names2.push('Adelle'); names2.push('Tiffiny'); names2.push('Stormy'); names2.push('Simona'); names2.push('Numbers'); names2.push('Nicolasa'); names2.push('Nichol'); names2.push('Nia'); names2.push('Nakisha'); names2.push('Mee'); names2.push('Maira'); names2.push('Loreen'); names2.push('Kizzy'); names2.push('Johnny'); names2.push('Jay'); names2.push('Fallon'); names2.push('Christene'); names2.push('Bobbye'); names2.push('Anthony'); names2.push('Ying'); names2.push('Vincenza'); names2.push('Tanja'); names2.push('Rubie'); names2.push('Roni'); names2.push('Queenie'); names2.push('Margarett'); names2.push('Kimberli'); names2.push('Irmgard'); names2.push('Idell'); names2.push('Hilma'); names2.push('Evelina'); names2.push('Esta'); names2.push('Emilee'); names2.push('Dennise'); names2.push('Dania'); names2.push('Carl'); names2.push('Carie'); names2.push('Antonio'); names2.push('Wai'); names2.push('Sang'); names2.push('Risa'); names2.push('Rikki'); names2.push('Particia'); names2.push('Mui'); names2.push('Masako'); names2.push('Mario'); names2.push('Luvenia'); names2.push('Loree'); names2.push('Loni'); names2.push('Lien'); names2.push('Kevin'); names2.push('Gigi'); names2.push('Florencia'); names2.push('Dorian'); names2.push('Denita'); names2.push('Dallas'); names2.push('Chi'); names2.push('Billye'); names2.push('Alexander'); names2.push('Tomika'); names2.push('Sharita'); names2.push('Rana'); names2.push('Nikole'); names2.push('Neoma'); names2.push('Margarite'); names2.push('Madalyn'); names2.push('Lucina'); names2.push('Laila'); names2.push('Kali'); names2.push('Jenette'); names2.push('Gabriele'); names2.push('Evelyne'); names2.push('Elenora'); names2.push('Clementina'); names2.push('Alejandrina'); names2.push('Zulema'); names2.push('Violette'); names2.push('Vannessa'); names2.push('Thresa'); names2.push('Retta'); names2.push('Pia'); names2.push('Patience'); names2.push('Noella'); names2.push('Nickie'); names2.push('Jonell'); names2.push('Delta'); names2.push('Chung'); names2.push('Chaya'); names2.push('Camelia'); names2.push('Bethel'); names2.push('Anya'); names2.push('Andrew'); names2.push('Thanh'); names2.push('Suzann'); names2.push('Spring'); names2.push('Shu'); names2.push('Mila'); names2.push('Lilla'); names2.push('Laverna'); names2.push('Keesha'); names2.push('Kattie'); names2.push('Gia'); names2.push('Georgene'); names2.push('Eveline'); names2.push('Estell'); names2.push('Elizbeth'); names2.push('Vivienne'); names2.push('Vallie'); names2.push('Trudie'); names2.push('Stephane'); names2.push('Michel'); names2.push('Magaly'); names2.push('Madie'); names2.push('Kenyetta'); names2.push('Karren'); names2.push('Janetta'); names2.push('Hermine'); names2.push('Harmony'); names2.push('Drucilla'); names2.push('Debbi'); names2.push('Celestina'); names2.push('Candie'); names2.push('Britni'); names2.push('Beckie'); names2.push('Amina'); names2.push('Zita'); names2.push('Yun'); names2.push('Yolande'); names2.push('Vivien'); names2.push('Vernetta'); names2.push('Trudi'); names2.push('Sommer'); names2.push('Pearle'); names2.push('Patrina'); names2.push('Ossie'); names2.push('Nicolle'); names2.push('Loyce'); names2.push('Letty'); names2.push('Larisa'); names2.push('Katharina'); names2.push('Joselyn'); names2.push('Jonelle'); names2.push('Jenell'); names2.push('Iesha'); names2.push('Heide'); names2.push('Florinda'); names2.push('Florentina'); names2.push('Flo'); names2.push('Elodia'); names2.push('Dorine'); names2.push('Brunilda'); names2.push('Brigid'); names2.push('Ashli'); names2.push('Ardella'); names2.push('Twana'); names2.push('Thu'); names2.push('Tarah'); names2.push('Sung'); names2.push('Shea'); names2.push('Shavon'); names2.push('Shane'); names2.push('Serina'); names2.push('Rayna'); names2.push('Ramonita'); names2.push('Nga'); names2.push('Margurite'); names2.push('Lucrecia'); names2.push('Kourtney'); names2.push('Kati'); names2.push('Jesus'); names2.push('Jesenia'); names2.push('Diamond'); names2.push('Crista'); names2.push('Ayana'); names2.push('Alica'); names2.push('Alia'); names2.push('Vinnie'); names2.push('Suellen'); names2.push('Romelia'); names2.push('Rachell'); names2.push('Piper'); names2.push('Olympia'); names2.push('Michiko'); names2.push('Kathaleen'); names2.push('Jolie'); names2.push('Jessi'); names2.push('Janessa'); names2.push('Hana'); names2.push('Ha'); names2.push('Elease'); names2.push('Carletta'); names2.push('Britany'); names2.push('Shona'); names2.push('Salome'); names2.push('Rosamond'); names2.push('Regena'); names2.push('Raina'); names2.push('Ngoc'); names2.push('Nelia'); names2.push('Louvenia'); names2.push('Lesia'); names2.push('Latrina'); names2.push('Laticia'); names2.push('Larhonda'); names2.push('Jina'); names2.push('Jacki'); names2.push('Hollis'); names2.push('Holley'); names2.push('Emmy'); names2.push('Deeann'); names2.push('Coretta'); names2.push('Arnetta'); names2.push('Velvet'); names2.push('Thalia'); names2.push('Shanice'); names2.push('Neta'); names2.push('Mikki'); names2.push('Micki'); names2.push('Lonna'); names2.push('Leana'); names2.push('Lashunda'); names2.push('Kiley'); names2.push('Joye'); names2.push('Jacqulyn'); names2.push('Ignacia'); names2.push('Hyun'); names2.push('Hiroko'); names2.push('Henry'); names2.push('Henriette'); names2.push('Elayne'); names2.push('Delinda'); names2.push('Darnell'); names2.push('Dahlia'); names2.push('Coreen'); names2.push('Consuela'); names2.push('Conchita'); names2.push('Celine'); names2.push('Babette'); names2.push('Ayanna'); names2.push('Anette'); names2.push('Albertina'); names2.push('Skye'); names2.push('Shawnee'); names2.push('Shaneka'); names2.push('Quiana'); names2.push('Pamelia'); names2.push('Min'); names2.push('Merri'); names2.push('Merlene'); names2.push('Margit'); names2.push('Kiesha'); names2.push('Kiera'); names2.push('Kaylene'); names2.push('Jodee'); names2.push('Jenise'); names2.push('Erlene'); names2.push('Emmie'); names2.push('Else'); names2.push('Daryl'); names2.push('Dalila'); names2.push('Daisey'); names2.push('Cody'); names2.push('Casie'); names2.push('Belia'); names2.push('Babara'); names2.push('Versie'); names2.push('Vanesa'); names2.push('Shelba'); names2.push('Shawnda'); names2.push('Sam'); names2.push('Norman'); names2.push('Nikia'); names2.push('Naoma'); names2.push('Marna'); names2.push('Margeret'); names2.push('Madaline'); names2.push('Lawana'); names2.push('Kindra'); names2.push('Jutta'); names2.push('Jazmine'); names2.push('Janett'); names2.push('Hannelore'); names2.push('Glendora'); names2.push('Gertrud'); names2.push('Garnett'); names2.push('Freeda'); names2.push('Frederica'); names2.push('Florance'); names2.push('Flavia'); names2.push('Dennis'); names2.push('Carline'); names2.push('Beverlee'); names2.push('Anjanette'); names2.push('Valda'); names2.push('Trinity'); names2.push('Tamala'); names2.push('Stevie'); names2.push('Shonna'); names2.push('Sha'); names2.push('Sarina'); names2.push('Oneida'); names2.push('Micah'); names2.push('Merilyn'); names2.push('Marleen'); names2.push('Lurline'); names2.push('Lenna'); names2.push('Katherin'); names2.push('Jin'); names2.push('Jeni'); names2.push('Hae'); names2.push('Gracia'); names2.push('Glady'); names2.push('Farah'); names2.push('Eric'); names2.push('Enola'); names2.push('Ema'); names2.push('Dominque'); names2.push('Devona'); names2.push('Delana'); names2.push('Cecila'); names2.push('Caprice'); names2.push('Alysha'); names2.push('Ali'); names2.push('Alethia'); names2.push('Vena'); names2.push('Theresia'); names2.push('Tawny'); names2.push('Song'); names2.push('Shakira'); names2.push('Samara'); names2.push('Sachiko'); names2.push('Rachele'); names2.push('Pamella'); names2.push('Nicky'); names2.push('Marni'); names2.push('Mariel'); names2.push('Maren'); names2.push('Malisa'); names2.push('Ligia'); names2.push('Lera'); names2.push('Latoria'); names2.push('Larae'); names2.push('Kimber'); names2.push('Kathern'); names2.push('Karey'); names2.push('Jennefer'); names2.push('Janeth'); names2.push('Halina'); names2.push('Fredia'); names2.push('Delisa'); names2.push('Debroah'); names2.push('Ciera'); names2.push('Chin'); names2.push('Angelika'); names2.push('Andree'); names2.push('Altha'); names2.push('Yen'); names2.push('Vivan'); names2.push('Terresa'); names2.push('Tanna'); names2.push('Suk'); names2.push('Sudie'); names2.push('Soo'); names2.push('Signe'); names2.push('Salena'); names2.push('Ronni'); names2.push('Rebbecca'); names2.push('Myrtie'); names2.push('Mckenzie'); names2.push('Malika'); names2.push('Maida'); names2.push('Loan'); names2.push('Leonarda'); names2.push('Kayleigh'); names2.push('France'); names2.push('Ethyl'); names2.push('Ellyn'); names2.push('Dayle'); names2.push('Cammie'); names2.push('Brittni'); names2.push('Birgit'); names2.push('Avelina'); names2.push('Asuncion'); names2.push('Arianna'); names2.push('Akiko'); names2.push('Venice'); names2.push('Tyesha'); names2.push('Tonie'); names2.push('Tiesha'); names2.push('Takisha'); names2.push('Steffanie'); names2.push('Sindy'); names2.push('Santana'); names2.push('Meghann'); names2.push('Manda'); names2.push('Macie'); names2.push('Lady'); names2.push('Kellye'); names2.push('Kellee'); names2.push('Joslyn'); names2.push('Jason'); names2.push('Inger'); names2.push('Indira'); names2.push('Glinda'); names2.push('Glennis'); names2.push('Fernanda'); names2.push('Faustina'); names2.push('Eneida'); names2.push('Elicia'); names2.push('Dot'); names2.push('Digna'); names2.push('Dell'); names2.push('Arletta'); names2.push('Andre'); names2.push('Willia'); names2.push('Tammara'); names2.push('Tabetha'); names2.push('Sherrell'); names2.push('Sari'); names2.push('Refugio'); names2.push('Rebbeca'); names2.push('Pauletta'); names2.push('Nieves'); names2.push('Natosha'); names2.push('Nakita'); names2.push('Mammie'); names2.push('Kenisha'); names2.push('Kazuko'); names2.push('Kassie'); names2.push('Gary'); names2.push('Earlean'); names2.push('Daphine'); names2.push('Corliss'); names2.push('Clotilde'); names2.push('Carolyne'); names2.push('Bernetta'); names2.push('Augustina'); names2.push('Audrea'); names2.push('Annis'); names2.push('Annabell'); names2.push('Yan'); names2.push('Tennille'); names2.push('Tamica'); names2.push('Selene'); names2.push('Sean'); names2.push('Rosana'); names2.push('Regenia'); names2.push('Qiana'); names2.push('Markita'); names2.push('Macy'); names2.push('Leeanne'); names2.push('Laurine'); names2.push('Kym'); names2.push('Jessenia'); names2.push('Janita'); names2.push('Georgine'); names2.push('Genie'); names2.push('Emiko'); names2.push('Elvie'); names2.push('Deandra'); names2.push('Dagmar'); names2.push('Corie'); names2.push('Collen'); names2.push('Cherish'); names2.push('Romaine'); names2.push('Porsha'); names2.push('Pearlene'); names2.push('Micheline'); names2.push('Merna'); names2.push('Margorie'); names2.push('Margaretta'); names2.push('Lore'); names2.push('Kenneth'); names2.push('Jenine'); names2.push('Hermina'); names2.push('Fredericka'); names2.push('Elke'); names2.push('Drusilla'); names2.push('Dorathy'); names2.push('Dione'); names2.push('Desire'); names2.push('Celena'); names2.push('Brigida'); names2.push('Angeles'); names2.push('Allegra'); names2.push('Theo'); names2.push('Tamekia'); names2.push('Synthia'); names2.push('Stephen'); names2.push('Sook'); names2.push('Slyvia'); names2.push('Rosann'); names2.push('Reatha'); names2.push('Raye'); names2.push('Marquetta'); names2.push('Margart'); names2.push('Ling'); names2.push('Layla'); names2.push('Kymberly'); names2.push('Kiana'); names2.push('Kayleen'); names2.push('Katlyn'); names2.push('Karmen'); names2.push('Joella'); names2.push('Irina'); names2.push('Emelda'); names2.push('Eleni'); names2.push('Detra'); names2.push('Clemmie'); names2.push('Cheryll'); names2.push('Chantell'); names2.push('Cathey'); names2.push('Arnita'); names2.push('Arla'); names2.push('Angle'); names2.push('Angelic'); names2.push('Alyse'); names2.push('Zofia'); names2.push('Thomasine'); names2.push('Tennie'); names2.push('Son'); names2.push('Sherly'); names2.push('Sherley'); names2.push('Sharyl'); names2.push('Remedios'); names2.push('Petrina'); names2.push('Nickole'); names2.push('Myung'); names2.push('Myrle'); names2.push('Mozella'); names2.push('Louanne'); names2.push('Lisha'); names2.push('Latia'); names2.push('Lane'); names2.push('Krysta'); names2.push('Julienne'); names2.push('Joel'); names2.push('Jeanene'); names2.push('Jacqualine'); names2.push('Isaura'); names2.push('Gwenda'); names2.push('Earleen'); names2.push('Donald'); names2.push('Cleopatra'); names2.push('Carlie'); names2.push('Audie'); names2.push('Antonietta'); names2.push('Alise'); names2.push('Alex'); names2.push('Verdell'); names2.push('Val'); names2.push('Tyler'); names2.push('Tomoko'); names2.push('Thao'); names2.push('Talisha'); names2.push('Steven'); names2.push('So'); names2.push('Shemika'); names2.push('Shaun'); names2.push('Scarlet'); names2.push('Savanna'); names2.push('Santina'); names2.push('Rosia'); names2.push('Raeann'); names2.push('Odilia'); names2.push('Nana'); names2.push('Minna'); names2.push('Magan'); names2.push('Lynelle'); names2.push('Le'); names2.push('Karma'); names2.push('Joeann'); names2.push('Ivana'); names2.push('Inell'); names2.push('Ilana'); names2.push('Hye'); names2.push('Honey'); names2.push('Hee'); names2.push('Gudrun'); names2.push('Frank'); names2.push('Dreama'); names2.push('Crissy'); names2.push('Chante'); names2.push('Carmelina'); names2.push('Arvilla'); names2.push('Arthur'); names2.push('Annamae'); names2.push('Alvera'); names2.push('Aleida'); names2.push('Aaron'); names2.push('Yee'); names2.push('Yanira'); names2.push('Vanda'); names2.push('Tianna'); names2.push('Tam'); names2.push('Stefania'); names2.push('Shira'); names2.push('Perry'); names2.push('Nicol'); names2.push('Nancie'); names2.push('Monserrate'); names2.push('Minh'); names2.push('Melynda'); names2.push('Melany'); names2.push('Matthew'); names2.push('Lovella'); names2.push('Laure'); names2.push('Kirby'); names2.push('Kacy'); names2.push('Jacquelynn'); names2.push('Hyon'); names2.push('Gertha'); names2.push('Francisco'); names2.push('Eliana'); names2.push('Christena'); names2.push('Christeen'); names2.push('Charise'); names2.push('Caterina'); names2.push('Carley'); names2.push('Candyce'); names2.push('Arlena'); names2.push('Ammie'); names2.push('Yang'); names2.push('Willette'); names2.push('Vanita'); names2.push('Tuyet'); names2.push('Tiny'); names2.push('Syreeta'); names2.push('Silva'); names2.push('Scott'); names2.push('Ronald'); names2.push('Penney'); names2.push('Nyla'); names2.push('Michal'); names2.push('Maurice'); names2.push('Maryam'); names2.push('Marya'); names2.push('Magen'); names2.push('Ludie'); names2.push('Loma'); names2.push('Livia'); names2.push('Lanell'); names2.push('Kimberlie'); names2.push('Julee'); names2.push('Donetta'); names2.push('Diedra'); names2.push('Denisha'); names2.push('Deane'); names2.push('Dawne'); names2.push('Clarine'); names2.push('Cherryl'); names2.push('Bronwyn'); names2.push('Brandon'); names2.push('Alla'); names2.push('Valery'); names2.push('Tonda'); names2.push('Sueann'); names2.push('Soraya'); names2.push('Shoshana'); names2.push('Shela'); names2.push('Sharleen'); names2.push('Shanelle'); names2.push('Nerissa'); names2.push('Micheal'); names2.push('Meridith'); names2.push('Mellie'); names2.push('Maye'); names2.push('Maple'); names2.push('Magaret'); names2.push('Luis'); names2.push('Lili'); names2.push('Leonila'); names2.push('Leonie'); names2.push('Leeanna'); names2.push('Lavonia'); names2.push('Lavera'); names2.push('Kristel'); names2.push('Kathey'); names2.push('Kathe'); names2.push('Justin'); names2.push('Julian'); names2.push('Jimmy'); names2.push('Jann'); names2.push('Ilda'); names2.push('Hildred'); names2.push('Hildegarde'); names2.push('Genia'); names2.push('Fumiko'); names2.push('Evelin'); names2.push('Ermelinda'); names2.push('Elly'); names2.push('Dung'); names2.push('Doloris'); names2.push('Dionna'); names2.push('Danae'); names2.push('Berneice'); names2.push('Annice'); names2.push('Alix'); names2.push('Verena'); names2.push('Verdie'); names2.push('Tristan'); names2.push('Shawnna'); names2.push('Shawana'); names2.push('Shaunna'); names2.push('Rozella'); names2.push('Randee'); names2.push('Ranae'); names2.push('Milagro'); names2.push('Lynell'); names2.push('Luise'); names2.push('Louie'); names2.push('Loida'); names2.push('Lisbeth'); names2.push('Karleen'); names2.push('Junita'); names2.push('Jona'); names2.push('Isis'); names2.push('Hyacinth'); names2.push('Hedy'); names2.push('Gwenn'); names2.push('Ethelene'); names2.push('Erline'); names2.push('Edward'); names2.push('Donya'); names2.push('Domonique'); names2.push('Delicia'); names2.push('Dannette'); names2.push('Cicely'); names2.push('Branda'); names2.push('Blythe'); names2.push('Bethann'); names2.push('Ashlyn'); names2.push('Annalee'); names2.push('Alline'); names2.push('Yuko'); names2.push('Vella'); names2.push('Trang'); names2.push('Towanda'); names2.push('Tesha'); names2.push('Sherlyn'); names2.push('Narcisa'); names2.push('Miguelina'); names2.push('Meri'); names2.push('Maybell'); names2.push('Marlana'); names2.push('Marguerita'); names2.push('Madlyn'); names2.push('Luna'); names2.push('Lory'); names2.push('Loriann'); names2.push('Liberty'); names2.push('Leonore'); names2.push('Leighann'); names2.push('Laurice'); names2.push('Latesha'); names2.push('Laronda'); names2.push('Katrice'); names2.push('Kasie'); names2.push('Karl'); names2.push('Kaley'); names2.push('Jadwiga'); names2.push('Glennie'); names2.push('Gearldine'); names2.push('Francina'); names2.push('Epifania'); names2.push('Dyan'); names2.push('Dorie'); names2.push('Diedre'); names2.push('Denese'); names2.push('Demetrice'); names2.push('Delena'); names2.push('Darby'); names2.push('Cristie'); names2.push('Cleora'); names2.push('Catarina'); names2.push('Carisa'); names2.push('Bernie'); names2.push('Barbera'); names2.push('Almeta'); names2.push('Trula'); names2.push('Tereasa'); names2.push('Solange'); names2.push('Sheilah'); names2.push('Shavonne'); names2.push('Sanora'); names2.push('Rochell'); names2.push('Mathilde'); names2.push('Margareta'); names2.push('Maia'); names2.push('Lynsey'); names2.push('Lawanna'); names2.push('Launa'); names2.push('Kena'); names2.push('Keena'); names2.push('Katia'); names2.push('Jamey'); names2.push('Glynda'); names2.push('Gaylene'); names2.push('Elvina'); names2.push('Elanor'); names2.push('Danuta'); names2.push('Danika'); names2.push('Cristen'); names2.push('Cordie'); names2.push('Coletta'); names2.push('Clarita'); names2.push('Carmon'); names2.push('Brynn'); names2.push('Azucena'); names2.push('Aundrea'); names2.push('Angele'); names2.push('Yi'); names2.push('Walter'); names2.push('Verlie'); names2.push('Verlene'); names2.push('Tamesha'); names2.push('Silvana'); names2.push('Sebrina'); names2.push('Samira'); names2.push('Reda'); names2.push('Raylene'); names2.push('Penni'); names2.push('Pandora'); names2.push('Norah'); names2.push('Noma'); names2.push('Mireille'); names2.push('Melissia'); names2.push('Maryalice'); names2.push('Laraine'); names2.push('Kimbery'); names2.push('Karyl'); names2.push('Karine'); names2.push('Kam'); names2.push('Jolanda'); names2.push('Johana'); names2.push('Jesusa'); names2.push('Jaleesa'); names2.push('Jae'); names2.push('Jacquelyne'); names2.push('Irish'); names2.push('Iluminada'); names2.push('Hilaria'); names2.push('Hanh'); names2.push('Gennie'); names2.push('Francie'); names2.push('Floretta'); names2.push('Exie'); names2.push('Edda'); names2.push('Drema'); names2.push('Delpha'); names2.push('Bev'); names2.push('Barbar'); names2.push('Assunta'); names2.push('Ardell'); names2.push('Annalisa'); names2.push('Alisia'); names2.push('Yukiko'); names2.push('Yolando'); names2.push('Wonda'); names2.push('Wei'); names2.push('Waltraud'); names2.push('Veta'); names2.push('Tequila'); names2.push('Temeka'); names2.push('Tameika'); names2.push('Shirleen'); names2.push('Shenita'); names2.push('Piedad'); names2.push('Ozella'); names2.push('Mirtha'); names2.push('Marilu'); names2.push('Kimiko'); names2.push('Juliane'); names2.push('Jenice'); names2.push('Jen'); names2.push('Janay'); names2.push('Jacquiline'); names2.push('Hilde'); names2.push('Fe'); names2.push('Fae'); names2.push('Evan'); names2.push('Eugene'); names2.push('Elois'); names2.push('Echo'); names2.push('Devorah'); names2.push('Chau'); names2.push('Brinda'); names2.push('Betsey'); names2.push('Arminda'); names2.push('Aracelis'); names2.push('Apryl'); names2.push('Annett'); names2.push('Alishia'); names2.push('Veola'); names2.push('Usha'); names2.push('Toshiko'); names2.push('Theola'); names2.push('Tashia'); names2.push('Talitha'); names2.push('Shery'); names2.push('Rudy'); names2.push('Renetta'); names2.push('Reiko'); names2.push('Rasheeda'); names2.push('Omega'); names2.push('Obdulia'); names2.push('Mika'); names2.push('Melaine'); names2.push('Meggan'); names2.push('Martin'); names2.push('Marlen'); names2.push('Marget'); names2.push('Marceline'); names2.push('Mana'); names2.push('Magdalen'); names2.push('Librada'); names2.push('Lezlie'); names2.push('Lexie'); names2.push('Latashia'); names2.push('Lasandra'); names2.push('Kelle'); names2.push('Isidra'); names2.push('Isa'); names2.push('Inocencia'); names2.push('Gwyn'); names2.push('Francoise'); names2.push('Erminia'); names2.push('Erinn'); names2.push('Dimple'); names2.push('Devora'); names2.push('Criselda'); names2.push('Armanda'); names2.push('Arie'); names2.push('Ariane'); names2.push('Angelo'); names2.push('Angelena'); names2.push('Allen'); names2.push('Aliza'); names2.push('Adriene'); names2.push('Adaline'); names2.push('Xochitl'); names2.push('Twanna'); names2.push('Tran'); names2.push('Tomiko'); names2.push('Tamisha'); names2.push('Taisha'); names2.push('Susy'); names2.push('Siu'); names2.push('Rutha'); names2.push('Roxy'); names2.push('Rhona'); names2.push('Raymond'); names2.push('Otha'); names2.push('Noriko'); names2.push('Natashia'); names2.push('Merrie'); names2.push('Melvin'); names2.push('Marinda'); names2.push('Mariko'); names2.push('Margert'); names2.push('Loris'); names2.push('Lizzette'); names2.push('Leisha'); names2.push('Kaila'); names2.push('Ka'); names2.push('Joannie'); names2.push('Jerrica'); names2.push('Jene'); names2.push('Jannet'); names2.push('Janee'); names2.push('Jacinda'); names2.push('Herta'); names2.push('Elenore'); names2.push('Doretta'); names2.push('Delaine'); names2.push('Daniell'); names2.push('Claudie'); names2.push('China'); names2.push('Britta'); names2.push('Apolonia'); names2.push('Amberly'); names2.push('Alease'); names2.push('Yuri'); names2.push('Yuk'); names2.push('Wen'); names2.push('Waneta'); names2.push('Ute'); names2.push('Tomi'); names2.push('Sharri'); names2.push('Sandie'); names2.push('Roselle'); names2.push('Reynalda'); names2.push('Raguel'); names2.push('Phylicia'); names2.push('Patria'); names2.push('Olimpia'); names2.push('Odelia'); names2.push('Mitzie'); names2.push('Mitchell'); names2.push('Miss'); names2.push('Minda'); names2.push('Mignon'); names2.push('Mica'); names2.push('Mendy'); names2.push('Marivel'); names2.push('Maile'); names2.push('Lynetta'); names2.push('Lavette'); names2.push('Lauryn'); names2.push('Latrisha'); names2.push('Lakiesha'); names2.push('Kiersten'); names2.push('Kary'); names2.push('Josphine'); names2.push('Jolyn'); names2.push('Jetta'); names2.push('Janise'); names2.push('Jacquie'); names2.push('Ivelisse'); names2.push('Glynis'); names2.push('Gianna'); names2.push('Gaynelle'); names2.push('Emerald'); names2.push('Demetrius'); names2.push('Danyell'); names2.push('Danille'); names2.push('Dacia'); names2.push('Coralee'); names2.push('Cher'); names2.push('Ceola'); names2.push('Brett'); names2.push('Bell'); names2.push('Arianne'); names2.push('Aleshia'); names2.push('Yung'); names2.push('Williemae'); names2.push('Troy'); names2.push('Trinh'); names2.push('Thora'); names2.push('Tai'); names2.push('Svetlana'); names2.push('Sherika'); names2.push('Shemeka'); names2.push('Shaunda'); names2.push('Roseline'); names2.push('Ricki'); names2.push('Melda'); names2.push('Mallie'); names2.push('Lavonna'); names2.push('Latina'); names2.push('Larry'); names2.push('Laquanda'); names2.push('Lala'); names2.push('Lachelle'); names2.push('Klara'); names2.push('Kandis'); names2.push('Johna'); names2.push('Jeanmarie'); names2.push('Jaye'); names2.push('Hang'); names2.push('Grayce'); names2.push('Gertude'); names2.push('Emerita'); names2.push('Ebonie'); names2.push('Clorinda'); names2.push('Ching'); names2.push('Chery'); names2.push('Carola'); names2.push('Breann'); names2.push('Blossom'); names2.push('Bernardine'); names2.push('Becki'); names2.push('Arletha'); names2.push('Argelia'); names2.push('Ara'); names2.push('Alita'); names2.push('Yulanda'); names2.push('Yon'); names2.push('Yessenia'); names2.push('Tobi'); names2.push('Tasia'); names2.push('Sylvie'); names2.push('Shirl'); names2.push('Shirely'); names2.push('Sheridan'); names2.push('Shella'); names2.push('Shantelle'); names2.push('Sacha'); names2.push('Royce'); names2.push('Rebecka'); names2.push('Reagan'); names2.push('Providencia'); names2.push('Paulene'); names2.push('Misha'); names2.push('Miki'); names2.push('Marline'); names2.push('Marica'); names2.push('Lorita'); names2.push('Latoyia'); names2.push('Lasonya'); names2.push('Kerstin'); names2.push('Kenda'); names2.push('Keitha'); names2.push('Kathrin'); names2.push('Jaymie'); names2.push('Jack'); names2.push('Gricelda'); names2.push('Ginette'); names2.push('Eryn'); names2.push('Elina'); names2.push('Elfrieda'); names2.push('Danyel'); names2.push('Cheree'); names2.push('Chanelle'); names2.push('Barrie'); names2.push('Avery'); names2.push('Aurore'); names2.push('Annamaria'); names2.push('Alleen'); names2.push('Ailene'); names2.push('Aide'); names2.push('Yasmine'); names2.push('Vashti'); names2.push('Valentine'); names2.push('Treasa'); names2.push('Tory'); names2.push('Tiffaney'); names2.push('Sheryll'); names2.push('Sharie'); names2.push('Shanae'); names2.push('Sau'); names2.push('Raisa'); names2.push('Pa'); names2.push('Neda'); names2.push('Mitsuko'); names2.push('Mirella'); names2.push('Milda'); names2.push('Maryanna'); names2.push('Maragret'); names2.push('Mabelle'); names2.push('Luetta'); names2.push('Lorina'); names2.push('Letisha'); names2.push('Latarsha'); names2.push('Lanelle'); names2.push('Lajuana'); names2.push('Krissy'); names2.push('Karly'); names2.push('Karena'); names2.push('Jon'); names2.push('Jessika'); names2.push('Jerica'); names2.push('Jeanelle'); names2.push('January'); names2.push('Jalisa'); names2.push('Jacelyn'); names2.push('Izola'); names2.push('Ivey'); names2.push('Gregory'); names2.push('Euna'); names2.push('Etha'); names2.push('Drew'); names2.push('Domitila'); names2.push('Dominica'); names2.push('Daina'); names2.push('Creola'); names2.push('Carli'); names2.push('Camie'); names2.push('Bunny'); names2.push('Brittny'); names2.push('Ashanti'); names2.push('Anisha'); names2.push('Aleen'); names2.push('Adah'); names2.push('Yasuko'); names2.push('Winter'); names2.push('Viki'); names2.push('Valrie'); names2.push('Tona'); names2.push('Tinisha'); names2.push('Thi'); names2.push('Terisa'); names2.push('Tatum'); names2.push('Taneka'); names2.push('Simonne'); names2.push('Shalanda'); names2.push('Serita'); names2.push('Ressie'); names2.push('Refugia'); names2.push('Paz'); names2.push('Olene'); names2.push('Na'); names2.push('Merrill'); names2.push('Margherita'); names2.push('Mandie'); names2.push('Man'); names2.push('Maire'); names2.push('Lyndia'); names2.push('Luci'); names2.push('Lorriane'); names2.push('Loreta'); names2.push('Leonia'); names2.push('Lavona'); names2.push('Lashawnda'); names2.push('Lakia'); names2.push('Kyoko'); names2.push('Krystina'); names2.push('Krysten'); names2.push('Kenia'); names2.push('Kelsi'); names2.push('Jude'); names2.push('Jeanice'); names2.push('Isobel'); names2.push('Georgiann'); names2.push('Genny'); names2.push('Felicidad'); names2.push('Eilene'); names2.push('Deon'); names2.push('Deloise'); names2.push('Deedee'); names2.push('Dannie'); names2.push('Conception'); names2.push('Clora'); names2.push('Cherilyn'); names2.push('Chang'); names2.push('Calandra'); names2.push('Berry'); names2.push('Armandina'); names2.push('Anisa'); names2.push('Ula'); names2.push('Timothy'); names2.push('Tiera'); names2.push('Theressa'); names2.push('Stephania'); names2.push('Sima'); names2.push('Shyla'); names2.push('Shonta'); names2.push('Shera'); names2.push('Shaquita'); names2.push('Shala'); names2.push('Sammy'); names2.push('Rossana'); names2.push('Nohemi'); names2.push('Nery'); names2.push('Moriah'); names2.push('Melita'); names2.push('Melida'); names2.push('Melani'); names2.push('Marylynn'); names2.push('Marisha'); names2.push('Mariette'); names2.push('Malorie'); names2.push('Madelene'); names2.push('Ludivina'); names2.push('Loria'); names2.push('Lorette'); names2.push('Loralee'); names2.push('Lianne'); names2.push('Leon'); names2.push('Lavenia'); names2.push('Laurinda'); names2.push('Lashon'); names2.push('Kit'); names2.push('Kimi'); names2.push('Keila'); names2.push('Katelynn'); names2.push('Kai'); names2.push('Jone'); names2.push('Joane'); names2.push('Ji'); names2.push('Jayna'); names2.push('Janella'); names2.push('Ja'); names2.push('Hue'); names2.push('Hertha'); names2.push('Francene'); names2.push('Elinore'); names2.push('Despina'); names2.push('Delsie'); names2.push('Deedra'); names2.push('Clemencia'); names2.push('Carry'); names2.push('Carolin'); names2.push('Carlos'); names2.push('Bulah'); names2.push('Brittanie'); names2.push('Bok'); names2.push('Blondell'); names2.push('Bibi'); names2.push('Beaulah'); names2.push('Beata'); names2.push('Annita'); names2.push('Agripina'); names2.push('Virgen'); names2.push('Valene'); names2.push('Un'); names2.push('Twanda'); names2.push('Tommye'); names2.push('Toi'); names2.push('Tarra'); names2.push('Tari'); names2.push('Tammera'); names2.push('Shakia'); names2.push('Sadye'); names2.push('Ruthanne'); names2.push('Rochel'); names2.push('Rivka'); names2.push('Pura'); names2.push('Nenita'); names2.push('Natisha'); names2.push('Ming'); names2.push('Merrilee'); names2.push('Melodee'); names2.push('Marvis'); names2.push('Lucilla'); names2.push('Leena'); names2.push('Laveta'); names2.push('Larita'); names2.push('Lanie'); names2.push('Keren'); names2.push('Ileen'); names2.push('Georgeann'); names2.push('Genna'); names2.push('Genesis'); names2.push('Frida'); names2.push('Ewa'); names2.push('Eufemia'); names2.push('Emely'); names2.push('Ela'); names2.push('Edyth'); names2.push('Deonna'); names2.push('Deadra'); names2.push('Darlena'); names2.push('Chanell'); names2.push('Chan'); names2.push('Cathern'); names2.push('Cassondra'); names2.push('Cassaundra'); names2.push('Bernarda'); names2.push('Berna'); names2.push('Arlinda'); names2.push('Anamaria'); names2.push('Albert'); names2.push('Wesley'); names2.push('Vertie'); names2.push('Valeri'); names2.push('Torri'); names2.push('Tatyana'); names2.push('Stasia'); names2.push('Sherise'); names2.push('Sherill'); names2.push('Season'); names2.push('Scottie'); names2.push('Sanda'); names2.push('Ruthe'); names2.push('Rosy'); names2.push('Roberto'); names2.push('Robbi'); names2.push('Ranee'); names2.push('Quyen'); names2.push('Pearly'); names2.push('Palmira'); names2.push('Onita'); names2.push('Nisha'); names2.push('Niesha'); names2.push('Nida'); names2.push('Nevada'); names2.push('Nam'); names2.push('Merlyn'); names2.push('Mayola'); names2.push('Marylouise'); names2.push('Maryland'); names2.push('Marx'); names2.push('Marth'); names2.push('Margene'); names2.push('Madelaine'); names2.push('Londa'); names2.push('Leontine'); names2.push('Leoma'); names2.push('Leia'); names2.push('Lawrence'); names2.push('Lauralee'); names2.push('Lanora'); names2.push('Lakita'); names2.push('Kiyoko'); names2.push('Keturah'); names2.push('Katelin'); names2.push('Kareen'); names2.push('Jonie'); names2.push('Johnette'); names2.push('Jenee'); names2.push('Jeanett'); names2.push('Izetta'); names2.push('Hiedi'); names2.push('Heike'); names2.push('Hassie'); names2.push('Harold'); names2.push('Giuseppina'); names2.push('Georgann'); names2.push('Fidela'); names2.push('Fernande'); names2.push('Elwanda'); names2.push('Ellamae'); names2.push('Eliz'); names2.push('Dusti'); names2.push('Dotty'); names2.push('Cyndy'); names2.push('Coralie'); names2.push('Celesta'); names2.push('Argentina'); names2.push('Alverta'); names2.push('Xenia'); names2.push('Wava'); names2.push('Vanetta'); names2.push('Torrie'); names2.push('Tashina'); names2.push('Tandy'); names2.push('Tambra'); names2.push('Tama'); names2.push('Stepanie'); names2.push('Shila'); names2.push('Shaunta'); names2.push('Sharan'); names2.push('Shaniqua'); names2.push('Shae'); names2.push('Setsuko'); names2.push('Serafina'); names2.push('Sandee'); names2.push('Rosamaria'); names2.push('Priscila'); names2.push('Olinda'); names2.push('Nadene'); names2.push('Muoi'); names2.push('Michelina'); names2.push('Mercedez'); names2.push('Maryrose'); names2.push('Marin'); names2.push('Marcene'); names2.push('Mao'); names2.push('Magali'); names2.push('Mafalda'); names2.push('Logan'); names2.push('Linn'); names2.push('Lannie'); names2.push('Kayce'); names2.push('Karoline'); names2.push('Kamilah'); names2.push('Kamala'); names2.push('Justa'); names2.push('Joline'); names2.push('Jennine'); names2.push('Jacquetta'); names2.push('Iraida'); names2.push('Gerald'); names2.push('Georgeanna'); names2.push('Franchesca'); names2.push('Fairy'); names2.push('Emeline'); names2.push('Elane'); names2.push('Ehtel'); names2.push('Earlie'); names2.push('Dulcie'); names2.push('Dalene'); names2.push('Cris'); names2.push('Classie'); names2.push('Chere'); names2.push('Charis'); names2.push('Caroyln'); names2.push('Carmina'); names2.push('Carita'); names2.push('Brian'); names2.push('Bethanie'); names2.push('Ayako'); names2.push('Arica'); names2.push('An'); names2.push('Alysa'); names2.push('Alessandra'); names2.push('Akilah'); names2.push('Adrien'); names2.push('Zetta'); names2.push('Youlanda'); names2.push('Yelena'); names2.push('Yahaira'); names2.push('Xuan'); names2.push('Wendolyn'); names2.push('Victor'); names2.push('Tijuana'); names2.push('Terrell'); names2.push('Terina'); names2.push('Teresia'); names2.push('Suzi'); names2.push('Sunday'); names2.push('Sherell'); names2.push('Shavonda'); names2.push('Shaunte'); names2.push('Sharda'); names2.push('Shakita'); names2.push('Sena'); names2.push('Ryann'); names2.push('Rubi'); names2.push('Riva'); names2.push('Reginia'); names2.push('Rea'); names2.push('Rachal'); names2.push('Parthenia'); names2.push('Pamula'); names2.push('Monnie'); names2.push('Monet'); names2.push('Michaele'); names2.push('Melia'); names2.push('Marine'); names2.push('Malka'); names2.push('Maisha'); names2.push('Lisandra'); names2.push('Leo'); names2.push('Lekisha'); names2.push('Lean'); names2.push('Laurence'); names2.push('Lakendra'); names2.push('Krystin'); names2.push('Kortney'); names2.push('Kizzie'); names2.push('Kittie'); names2.push('Kera'); names2.push('Kendal'); names2.push('Kemberly'); names2.push('Kanisha'); names2.push('Julene'); names2.push('Jule'); names2.push('Joshua'); names2.push('Johanne'); names2.push('Jeffrey'); names2.push('Jamee'); names2.push('Han'); names2.push('Halley'); names2.push('Gidget'); names2.push('Galina'); names2.push('Fredricka'); names2.push('Fleta'); names2.push('Fatimah'); names2.push('Eusebia'); names2.push('Elza'); names2.push('Eleonore'); names2.push('Dorthey'); names2.push('Doria'); names2.push('Donella'); names2.push('Dinorah'); names2.push('Delorse'); names2.push('Claretha'); names2.push('Christinia'); names2.push('Charlyn'); names2.push('Bong'); names2.push('Belkis'); names2.push('Azzie'); names2.push('Andera'); names2.push('Aiko'); names2.push('Adena'); names2.push('Yer'); names2.push('Yajaira'); names2.push('Wan'); names2.push('Vania'); names2.push('Ulrike'); names2.push('Toshia'); names2.push('Tifany'); names2.push('Stefany'); names2.push('Shizue'); names2.push('Shenika'); names2.push('Shawanna'); names2.push('Sharolyn'); names2.push('Sharilyn'); names2.push('Shaquana'); names2.push('Shantay'); names2.push('See'); names2.push('Rozanne'); names2.push('Roselee'); names2.push('Rickie'); names2.push('Remona'); names2.push('Reanna'); names2.push('Raelene'); names2.push('Quinn'); names2.push('Phung'); names2.push('Petronila'); names2.push('Natacha'); names2.push('Nancey'); names2.push('Myrl'); names2.push('Miyoko'); names2.push('Miesha'); names2.push('Merideth'); names2.push('Marvella'); names2.push('Marquitta'); names2.push('Marhta'); names2.push('Marchelle'); names2.push('Lizeth'); names2.push('Libbie'); names2.push('Lahoma'); names2.push('Ladawn'); names2.push('Kina'); names2.push('Katheleen'); names2.push('Katharyn'); names2.push('Karisa'); names2.push('Kaleigh'); names2.push('Junie'); names2.push('Julieann'); names2.push('Johnsie'); names2.push('Janean'); names2.push('Jaimee'); names2.push('Jackqueline'); names2.push('Hisako'); names2.push('Herma'); names2.push('Helaine'); names2.push('Gwyneth'); names2.push('Glenn'); names2.push('Gita'); names2.push('Eustolia'); names2.push('Emelina'); names2.push('Elin'); names2.push('Edris'); names2.push('Donnette'); names2.push('Donnetta'); names2.push('Dierdre'); names2.push('Denae'); names2.push('Darcel'); names2.push('Claude'); names2.push('Clarisa'); names2.push('Cinderella'); names2.push('Chia'); names2.push('Charlesetta'); names2.push('Charita'); names2.push('Celsa'); names2.push('Cassy'); names2.push('Cassi'); names2.push('Carlee'); names2.push('Bruna'); names2.push('Brittaney'); names2.push('Brande'); names2.push('Billi'); names2.push('Bao'); names2.push('Antonetta'); names2.push('Angla'); names2.push('Angelyn'); names2.push('Analisa'); names2.push('Alane'); names2.push('Wenona'); names2.push('Wendie'); names2.push('Veronique'); names2.push('Vannesa'); names2.push('Tobie'); names2.push('Tempie'); names2.push('Sumiko'); names2.push('Sulema'); names2.push('Sparkle'); names2.push('Somer'); names2.push('Sheba'); names2.push('Shayne'); names2.push('Sharice'); names2.push('Shanel'); names2.push('Shalon'); names2.push('Sage'); names2.push('Roy'); names2.push('Rosio'); names2.push('Roselia'); names2.push('Renay'); names2.push('Rema'); names2.push('Reena'); names2.push('Porsche'); names2.push('Ping'); names2.push('Peg'); names2.push('Ozie'); names2.push('Oretha'); names2.push('Oralee'); names2.push('Oda'); names2.push('Nu'); names2.push('Ngan'); names2.push('Nakesha'); names2.push('Milly'); names2.push('Marybelle'); names2.push('Marlin'); names2.push('Maris'); names2.push('Margrett'); names2.push('Maragaret'); names2.push('Manie'); names2.push('Lurlene'); names2.push('Lillia'); names2.push('Lieselotte'); names2.push('Lavelle'); names2.push('Lashaunda'); names2.push('Lakeesha'); names2.push('Keith'); names2.push('Kaycee'); names2.push('Kalyn'); names2.push('Joya'); names2.push('Joette'); names2.push('Jenae'); names2.push('Janiece'); names2.push('Illa'); names2.push('Grisel'); names2.push('Glayds'); names2.push('Genevie'); names2.push('Gala'); names2.push('Fredda'); names2.push('Fred'); names2.push('Elmer'); names2.push('Eleonor'); names2.push('Debera'); names2.push('Deandrea'); names2.push('Dan'); names2.push('Corrinne'); names2.push('Cordia'); names2.push('Contessa'); names2.push('Colene'); names2.push('Cleotilde'); names2.push('Charlott'); names2.push('Chantay'); names2.push('Cecille'); names2.push('Beatris'); names2.push('Azalee'); names2.push('Arlean'); names2.push('Ardath'); names2.push('Anjelica'); names2.push('Anja'); names2.push('Alfredia'); names2.push('Aleisha'); names2.push('Adam'); names2.push('Zada'); names2.push('Yuonne'); names2.push('Xiao'); names2.push('Willodean'); names2.push('Whitley'); names2.push('Vennie'); names2.push('Vanna'); names2.push('Tyisha'); names2.push('Tova'); names2.push('Torie'); names2.push('Tonisha'); names2.push('Tilda'); names2.push('Tien'); names2.push('Temple'); names2.push('Sirena'); names2.push('Sherril'); names2.push('Shanti'); names2.push('Shan'); names2.push('Senaida'); names2.push('Samella'); names2.push('Robbyn'); names2.push('Renda'); names2.push('Reita'); names2.push('Phebe'); names2.push('Paulita'); names2.push('Nobuko'); names2.push('Nguyet'); names2.push('Neomi'); names2.push('Moon'); names2.push('Mikaela'); names2.push('Melania'); names2.push('Maximina'); names2.push('Marg'); names2.push('Maisie'); names2.push('Lynna'); names2.push('Lilli'); names2.push('Layne'); names2.push('Lashaun'); names2.push('Lakenya'); names2.push('Lael'); names2.push('Kirstie'); names2.push('Kathline'); names2.push('Kasha'); names2.push('Karlyn'); names2.push('Karima'); names2.push('Jovan'); names2.push('Josefine'); names2.push('Jennell'); names2.push('Jacqui'); names2.push('Jackelyn'); names2.push('Hyo'); names2.push('Hien'); names2.push('Grazyna'); names2.push('Florrie'); names2.push('Floria'); names2.push('Eleonora'); names2.push('Dwana'); names2.push('Dorla'); names2.push('Dong'); names2.push('Delmy'); names2.push('Deja'); names2.push('Dede'); names2.push('Dann'); names2.push('Crysta'); names2.push('Clelia'); names2.push('Claris'); names2.push('Clarence'); names2.push('Chieko'); names2.push('Cherlyn'); names2.push('Cherelle'); names2.push('Charmain'); names2.push('Chara'); names2.push('Cammy'); names2.push('Bee'); names2.push('Arnette'); names2.push('Ardelle'); names2.push('Annika'); names2.push('Amiee'); names2.push('Amee'); names2.push('Allena'); names2.push('Yvone'); names2.push('Yuki'); names2.push('Yoshie'); names2.push('Yevette'); names2.push('Yael'); names2.push('Willetta'); names2.push('Voncile'); names2.push('Venetta'); names2.push('Tula'); names2.push('Tonette'); names2.push('Timika'); names2.push('Temika'); names2.push('Telma'); names2.push('Teisha'); names2.push('Taren'); names2.push('Ta'); names2.push('Stacee'); names2.push('Shin'); names2.push('Shawnta'); names2.push('Saturnina'); names2.push('Ricarda'); names2.push('Pok'); names2.push('Pasty'); names2.push('Onie'); names2.push('Nubia'); names2.push('Mora'); names2.push('Mike'); names2.push('Marielle'); names2.push('Mariella'); names2.push('Marianela'); names2.push('Mardell'); names2.push('Many'); names2.push('Luanna'); names2.push('Loise'); names2.push('Lisabeth'); names2.push('Lindsy'); names2.push('Lilliana'); names2.push('Lilliam'); names2.push('Lelah'); names2.push('Leigha'); names2.push('Leanora'); names2.push('Lang'); names2.push('Kristeen'); names2.push('Khalilah'); names2.push('Keeley'); names2.push('Kandra'); names2.push('Junko'); names2.push('Joaquina'); names2.push('Jerlene'); names2.push('Jani'); names2.push('Jamika'); names2.push('Jame'); names2.push('Hsiu'); names2.push('Hermila'); names2.push('Golden'); names2.push('Genevive'); names2.push('Evia'); names2.push('Eugena'); names2.push('Emmaline'); names2.push('Elfreda'); names2.push('Elene'); names2.push('Donette'); names2.push('Delcie'); names2.push('Deeanna'); names2.push('Darcey'); names2.push('Cuc'); names2.push('Clarinda'); names2.push('Cira'); names2.push('Chae'); names2.push('Celinda'); names2.push('Catheryn'); names2.push('Catherin'); names2.push('Casimira'); names2.push('Carmelia'); names2.push('Camellia'); names2.push('Breana'); names2.push('Bobette'); names2.push('Bernardina'); names2.push('Bebe'); names2.push('Basilia'); names2.push('Arlyne'); names2.push('Amal'); names2.push('Alayna'); names2.push('Zonia'); names2.push('Zenia'); names2.push('Yuriko'); names2.push('Yaeko'); names2.push('Wynell'); names2.push('Willow'); names2.push('Willena'); names2.push('Vernia'); names2.push('Tu'); names2.push('Travis'); names2.push('Tora'); names2.push('Terrilyn'); names2.push('Terica'); names2.push('Tenesha'); names2.push('Tawna'); names2.push('Tajuana'); names2.push('Taina'); names2.push('Stephnie'); names2.push('Sona'); names2.push('Sol'); names2.push('Sina'); names2.push('Shondra'); names2.push('Shizuko'); names2.push('Sherlene'); names2.push('Sherice'); names2.push('Sharika'); names2.push('Rossie'); names2.push('Rosena'); names2.push('Rory'); names2.push('Rima'); names2.push('Ria'); names2.push('Rheba'); names2.push('Renna'); names2.push('Peter'); names2.push('Natalya'); names2.push('Nancee'); names2.push('Melodi'); names2.push('Meda'); names2.push('Maxima'); names2.push('Matha'); names2.push('Marketta'); names2.push('Maricruz'); names2.push('Marcelene'); names2.push('Malvina'); names2.push('Luba'); names2.push('Louetta'); names2.push('Leida'); names2.push('Lecia'); names2.push('Lauran'); names2.push('Lashawna'); names2.push('Laine'); names2.push('Khadijah'); names2.push('Katerine'); names2.push('Kasi'); names2.push('Kallie'); names2.push('Julietta'); names2.push('Jesusita'); names2.push('Jestine'); names2.push('Jessia'); names2.push('Jeremy'); names2.push('Jeffie'); names2.push('Janyce'); names2.push('Isadora'); names2.push('Georgianne'); names2.push('Fidelia'); names2.push('Evita'); names2.push('Eura'); names2.push('Eulah'); names2.push('Estefana'); names2.push('Elsy'); names2.push('Elizabet'); names2.push('Eladia'); names2.push('Dodie'); names2.push('Dion'); names2.push('Dia'); names2.push('Denisse'); names2.push('Deloras'); names2.push('Delila'); names2.push('Daysi'); names2.push('Dakota'); names2.push('Curtis'); names2.push('Crystle'); names2.push('Concha'); names2.push('Colby'); names2.push('Claretta'); names2.push('Chu'); names2.push('Christia'); names2.push('Charlsie'); names2.push('Charlena'); names2.push('Carylon'); names2.push('Bettyann'); names2.push('Asley'); names2.push('Ashlea'); names2.push('Amira'); names2.push('Ai'); names2.push('Agueda'); names2.push('Agnus'); names2.push('Yuette'); names2.push('Vinita'); names2.push('Victorina'); names2.push('Tynisha'); names2.push('Treena'); names2.push('Toccara'); names2.push('Tish'); names2.push('Thomasena'); names2.push('Tegan'); names2.push('Soila'); names2.push('Shiloh'); names2.push('Shenna'); names2.push('Sharmaine'); names2.push('Shantae'); names2.push('Shandi'); names2.push('September'); names2.push('Saran'); names2.push('Sarai'); names2.push('Sana'); names2.push('Samuel'); names2.push('Salley'); names2.push('Rosette'); names2.push('Rolande'); names2.push('Regine'); names2.push('Otelia'); names2.push('Oscar'); names2.push('Olevia'); names2.push('Nicholle'); names2.push('Necole'); names2.push('Naida'); names2.push('Myrta'); names2.push('Myesha'); names2.push('Mitsue'); names2.push('Minta'); names2.push('Mertie'); names2.push('Margy'); names2.push('Mahalia'); names2.push('Madalene'); names2.push('Love'); names2.push('Loura'); names2.push('Lorean'); names2.push('Lewis'); names2.push('Lesha'); names2.push('Leonida'); names2.push('Lenita'); names2.push('Lavone'); names2.push('Lashell'); names2.push('Lashandra'); names2.push('Lamonica'); names2.push('Kimbra'); names2.push('Katherina'); names2.push('Karry'); names2.push('Kanesha'); names2.push('Julio'); names2.push('Jong'); names2.push('Jeneva'); names2.push('Jaquelyn'); names2.push('Hwa'); names2.push('Gilma'); names2.push('Ghislaine'); names2.push('Gertrudis'); names2.push('Fransisca'); names2.push('Fermina'); names2.push('Ettie'); names2.push('Etsuko'); names2.push('Ellis'); names2.push('Ellan'); names2.push('Elidia'); names2.push('Edra'); names2.push('Dorethea'); names2.push('Doreatha'); names2.push('Denyse'); names2.push('Denny'); names2.push('Deetta'); names2.push('Daine'); names2.push('Cyrstal'); names2.push('Corrin'); names2.push('Cayla'); names2.push('Carlita'); names2.push('Camila'); names2.push('Burma'); names2.push('Bula'); names2.push('Buena'); names2.push('Blake'); names2.push('Barabara'); names2.push('Avril'); names2.push('Austin'); names2.push('Alaine'); names2.push('Zana'); names2.push('Wilhemina'); names2.push('Wanetta'); names2.push('Virgil'); names2.push('Vi'); names2.push('Veronika'); names2.push('Vernon'); names2.push('Verline'); names2.push('Vasiliki'); names2.push('Tonita'); names2.push('Tisa'); names2.push('Teofila'); names2.push('Tayna'); names2.push('Taunya'); names2.push('Tandra'); names2.push('Takako'); names2.push('Sunni'); names2.push('Suanne'); names2.push('Sixta'); names2.push('Sharell'); names2.push('Seema'); names2.push('Russell'); names2.push('Rosenda'); names2.push('Robena'); names2.push('Raymonde'); names2.push('Pei'); names2.push('Pamila'); names2.push('Ozell'); names2.push('Neida'); names2.push('Neely'); names2.push('Mistie'); names2.push('Micha'); names2.push('Merissa'); names2.push('Maurita'); names2.push('Maryln'); names2.push('Maryetta'); names2.push('Marshall'); names2.push('Marcell'); names2.push('Malena'); names2.push('Makeda'); names2.push('Maddie'); names2.push('Lovetta'); names2.push('Lourie'); names2.push('Lorrine'); names2.push('Lorilee'); names2.push('Lester'); names2.push('Laurena'); names2.push('Lashay'); names2.push('Larraine'); names2.push('Laree'); names2.push('Lacresha'); names2.push('Kristle'); names2.push('Krishna'); names2.push('Keva'); names2.push('Keira'); names2.push('Karole'); names2.push('Joie'); names2.push('Jinny'); names2.push('Jeannetta'); names2.push('Jama'); names2.push('Heidy'); names2.push('Gilberte'); names2.push('Gema'); names2.push('Faviola'); names2.push('Evelynn'); names2.push('Enda'); names2.push('Elli'); names2.push('Ellena'); names2.push('Divina'); names2.push('Dagny'); names2.push('Collene'); names2.push('Codi'); names2.push('Cindie'); names2.push('Chassidy'); names2.push('Chasidy'); names2.push('Catrice'); names2.push('Catherina'); names2.push('Cassey'); names2.push('Caroll'); names2.push('Carlena'); names2.push('Candra'); names2.push('Calista'); names2.push('Bryanna'); names2.push('Britteny'); names2.push('Beula'); names2.push('Bari'); names2.push('Audrie'); names2.push('Audria'); names2.push('Ardelia'); names2.push('Annelle'); names2.push('Angila'); names2.push('Alona'); names2.push('Allyn'); names2.push('Aika'); names2.push('Aiko'); names2.push('Katsuko'); names2.push('Mineyo'); names2.push('Shigeko'); names2.push('Akane'); names2.push('Katsumi'); names2.push('Mioko'); names2.push('Shigeyo'); names2.push('Akemi'); names2.push('Kaya'); names2.push('Mirai'); names2.push('Shiori'); names2.push('Akiko'); names2.push('Kayoko'); names2.push('Miri'); names2.push('Shizuka'); names2.push('Shizuyo'); names2.push('Anna'); names2.push('Kazue'); names2.push('Misae'); names2.push('Misako'); names2.push('Misayo'); names2.push('Sonoe'); names2.push('Aoi'); names2.push('Kazumi'); names2.push('Mitsue'); names2.push('Sonoka'); names2.push('Arisa'); names2.push('Kazuyo'); names2.push('Mitsuko'); names2.push('Sonoko'); names2.push('Asako'); names2.push('Keiko'); names2.push('Mitsuyo'); names2.push('Sonomi'); names2.push('Asuko'); names2.push('Kikue'); names2.push('Miyae'); names2.push('Sumie'); names2.push('Atsuko'); names2.push('Kikuko'); names2.push('Miyako'); names2.push('Sumika'); names2.push('Ayame'); names2.push('Kikuyo'); names2.push('Miyoko'); names2.push('Sumiko'); names2.push('Ayumi'); names2.push('Kimiko'); names2.push('Miyuki'); names2.push('Sumire'); names2.push('Chiaki'); names2.push('Kinako'); names2.push('Mizue'); names2.push('Taeko'); names2.push('Chizuru'); names2.push('Kinue'); names2.push('Mizuho'); names2.push('Tamaki'); names2.push('Chieko'); names2.push('Kinuyo'); names2.push('Mizuki'); names2.push('Tamako'); names2.push('Chikae'); names2.push('Kirie'); names2.push('Moemi'); names2.push('Tamika'); names2.push('Chisako'); names2.push('Kitako'); names2.push('Momoko'); names2.push('Tatsue'); names2.push('Chisato'); names2.push('Kiyoko'); names2.push('Kiyomi'); names2.push('Motoko'); names2.push('Tatsuko'); names2.push('Chitose'); names2.push('Koharu'); names2.push('Motomi'); names2.push('Tatsumi'); names2.push('Chiyoko'); names2.push('Kotoe'); names2.push('Mutsuko'); names2.push('Tatsuya'); names2.push('Eiko'); names2.push('Kotoko'); names2.push('Naeko'); names2.push('Tatsuyo'); names2.push('Kotomi'); names2.push('Naemi'); names2.push('Tazuko'); names2.push('Erika'); names2.push('Kotoyo'); names2.push('Nagisa'); names2.push('Terumi'); names2.push('Erina'); names2.push('Kozue'); names2.push('Nahoko'); names2.push('Tetsuko'); names2.push('Etsuko'); names2.push('Kumikoyo'); names2.push('Namiko'); names2.push('Tetsuyo'); names2.push('Fujiko'); names2.push('Kuniyo'); names2.push('Nanae'); names2.push('Nanako'); names2.push('Nanayo'); names2.push('Tokiko'); names2.push('Fukiko'); names2.push('Kyoko'); names2.push('Naoko'); names2.push('Naomi'); names2.push('Tomie'); names2.push('Fukuko'); names2.push('Machie'); names2.push('Narumi'); names2.push('Tomiko'); names2.push('Fukuyo'); names2.push('Machiko'); names2.push('Natsue'); names2.push('Natsumi'); names2.push('Tomiyo'); names2.push('Fumiko'); names2.push('Machiyo'); names2.push('Nishiko'); names2.push('Tomoe'); names2.push('Fusae'); names2.push('Madoka'); names2.push('Nobue'); names2.push('Tomoko'); names2.push('Fusako'); names2.push('Maho'); names2.push('Nobuko'); names2.push('Tomomi'); names2.push('Fusayo'); names2.push('Mai'); names2.push('Nobuyo'); names2.push('Tomoyo'); names2.push('Hana'); names2.push('Maiko'); names2.push('Norie'); names2.push('Toshie'); names2.push('Haruka'); names2.push('Haruko'); names2.push('Makiko'); names2.push('Norika'); names2.push('Toshiko'); names2.push('Hatomi'); names2.push('Mako'); names2.push('Noriko'); names2.push('Toshiyo'); names2.push('Hatsuko'); names2.push('Hatsumi'); names2.push('Mami'); names2.push('Noriyo'); names2.push('Tsuneko'); names2.push('Hideko'); names2.push('Manami'); names2.push('Reika'); names2.push('Yachiyo'); names2.push('Himeka'); names2.push('Maria'); names2.push('Reiko'); names2.push('Yaeko'); names2.push('Himeko'); names2.push('Maruko'); names2.push('Reina'); names2.push('Yasue'); names2.push('Hiroko'); names2.push('Hiromi'); names2.push('Masae'); names2.push('Rimiko'); names2.push('Yasuka'); names2.push('Hisae'); names2.push('Masako'); names2.push('Ritsuko'); names2.push('Yasuko'); names2.push('Hisako'); names2.push('Masami'); names2.push('Rumiko'); names2.push('Yasumi'); names2.push('Hisayo'); names2.push('Masayo'); names2.push('Ruriko'); names2.push('Yasuyo'); names2.push('Hitomi'); names2.push('Matsue'); names2.push('Ryoko'); names2.push('Yayoi'); names2.push('Hoshie'); names2.push('Matsuko'); names2.push('Sachi'); names2.push('Yorie'); names2.push('Hoshiko'); names2.push('Matsuyo'); names2.push('Sadae'); names2.push('Yorika'); names2.push('Hoshimi'); names2.push('Mayumi'); names2.push('Sadako'); names2.push('Yoriko'); names2.push('Hoshiyo'); names2.push('Megumi'); names2.push('Sadayo'); names2.push('Yorimi'); names2.push('Ikue'); names2.push('Meiko'); names2.push('Sahoko'); names2.push('Yoshie'); names2.push('Ikuko'); names2.push('Michie'); names2.push('Saori'); names2.push('Yoshika'); names2.push('Ikumi'); names2.push('Michika'); names2.push('Sara'); names2.push('Yoshiko'); names2.push('Ikuyo'); names2.push('Michiko'); names2.push('Satoko'); names2.push('Yoshiyo'); names2.push('Itsumi'); names2.push('Michiyo'); names2.push('Satomi'); names2.push('Youko'); names2.push('Jun'); names2.push('Midori'); names2.push('Satsue'); names2.push('Yui'); names2.push('Yuiko'); names2.push('Junko'); names2.push('Mieko'); names2.push('Satsuki'); names2.push('Yuka'); names2.push('Kaede'); names2.push('Miharu'); names2.push('Sawako'); names2.push('Yuki'); names2.push('Kahori'); names2.push('Miho'); names2.push('Sayori'); names2.push('Yumeka'); names2.push('Kana'); names2.push('Kanae'); names2.push('Kanako'); names2.push('Kanae'); names2.push('Kanami'); names2.push('Mika'); names2.push('Sayuki'); names2.push('Yumeko'); names2.push('Kanoko'); names2.push('Miki'); names2.push('Mikie'); names2.push('Mikiko'); names2.push('Mikiyo'); names2.push('Sayumi'); names2.push('Yumi'); names2.push('Yumie '); names2.push('Yumika'); names2.push('Yumiko'); names2.push('Kaori'); names2.push('Mimi'); names2.push('Sayuri'); names2.push('Yuna'); names2.push('Karin'); names2.push('Minae'); names2.push('Sazae'); names2.push('Yuri'); names2.push('Yurie'); names2.push('Yurika'); names2.push('Yuriko'); names2.push('Kasumi'); names2.push('Minako'); names2.push('Seiko'); names2.push('Katsue'); names2.push('Minami'); names2.push('Setsuko'); names2.push('Katsuki'); names2.push('Mineko'); names2.push('Setsuna'); names2.push('Shoukei'); } frame 229 { surnames = new Array(); surnames.push('Smith'); surnames.push('Johnson'); surnames.push('Williams'); surnames.push('Jones'); surnames.push('Brown'); surnames.push('Davis'); surnames.push('Miller'); surnames.push('Wilson'); surnames.push('Moore'); surnames.push('Taylor'); surnames.push('Anderson'); surnames.push('Thomas'); surnames.push('Jackson'); surnames.push('White'); surnames.push('Harris'); surnames.push('Martin'); surnames.push('Thompson'); surnames.push('Garcia'); surnames.push('Martinez'); surnames.push('Robinson'); surnames.push('Clark'); surnames.push('Rodriguez'); surnames.push('Lewis'); surnames.push('Lee'); surnames.push('Walker'); surnames.push('Hall'); surnames.push('Allen'); surnames.push('Young'); surnames.push('Hernandez'); surnames.push('King'); surnames.push('Wright'); surnames.push('Lopez'); surnames.push('Hill'); surnames.push('Scott'); surnames.push('Green'); surnames.push('Adams'); surnames.push('Baker'); surnames.push('Gonzalez'); surnames.push('Nelson'); surnames.push('Carter'); surnames.push('Mitchell'); surnames.push('Perez'); surnames.push('Roberts'); surnames.push('Turner'); surnames.push('Phillips'); surnames.push('Campbell'); surnames.push('Parker'); surnames.push('Evans'); surnames.push('Edwards'); surnames.push('Collins'); surnames.push('Stewart'); surnames.push('Sanchez'); surnames.push('Morris'); surnames.push('Rogers'); surnames.push('Reed'); surnames.push('Cook'); surnames.push('Morgan'); surnames.push('Bell'); surnames.push('Murphy'); surnames.push('Bailey'); surnames.push('Rivera'); surnames.push('Cooper'); surnames.push('Richardson'); surnames.push('Cox'); surnames.push('Howard'); surnames.push('Ward'); surnames.push('Torres'); surnames.push('Peterson'); surnames.push('Gray'); surnames.push('Ramirez'); surnames.push('James'); surnames.push('Watson'); surnames.push('Brooks'); surnames.push('Kelly'); surnames.push('Sanders'); surnames.push('Price'); surnames.push('Bennett'); surnames.push('Wood'); surnames.push('Barnes'); surnames.push('Ross'); surnames.push('Henderson'); surnames.push('Coleman'); surnames.push('Jenkins'); surnames.push('Perry'); surnames.push('Powell'); surnames.push('Long'); surnames.push('Patterson'); surnames.push('Hughes'); surnames.push('Flores'); surnames.push('Washington'); surnames.push('Butler'); surnames.push('Simmons'); surnames.push('Foster'); surnames.push('Gonzales'); surnames.push('Bryant'); surnames.push('Alexander'); surnames.push('Russell'); surnames.push('Griffin'); surnames.push('Diaz'); surnames.push('Hayes'); surnames.push('Myers'); surnames.push('Ford'); surnames.push('Hamilton'); surnames.push('Graham'); surnames.push('Sullivan'); surnames.push('Wallace'); surnames.push('Woods'); surnames.push('Cole'); surnames.push('West'); surnames.push('Jordan'); surnames.push('Owens'); surnames.push('Reynolds'); surnames.push('Fisher'); surnames.push('Ellis'); surnames.push('Harrison'); surnames.push('Gibson'); surnames.push('Mcdonald'); surnames.push('Cruz'); surnames.push('Marshall'); surnames.push('Ortiz'); surnames.push('Gomez'); surnames.push('Murray'); surnames.push('Freeman'); surnames.push('Wells'); surnames.push('Webb'); surnames.push('Simpson'); surnames.push('Stevens'); surnames.push('Tucker'); surnames.push('Porter'); surnames.push('Hunter'); surnames.push('Hicks'); surnames.push('Crawford'); surnames.push('Henry'); surnames.push('Boyd'); surnames.push('Mason'); surnames.push('Morales'); surnames.push('Kennedy'); surnames.push('Warren'); surnames.push('Dixon'); surnames.push('Ramos'); surnames.push('Reyes'); surnames.push('Burns'); surnames.push('Gordon'); surnames.push('Shaw'); surnames.push('Holmes'); surnames.push('Rice'); surnames.push('Robertson'); surnames.push('Hunt'); surnames.push('Black'); surnames.push('Daniels'); surnames.push('Palmer'); surnames.push('Mills'); surnames.push('Nichols'); surnames.push('Grant'); surnames.push('Knight'); surnames.push('Ferguson'); surnames.push('Rose'); surnames.push('Stone'); surnames.push('Hawkins'); surnames.push('Dunn'); surnames.push('Perkins'); surnames.push('Hudson'); surnames.push('Spencer'); surnames.push('Gardner'); surnames.push('Stephens'); surnames.push('Payne'); surnames.push('Pierce'); surnames.push('Berry'); surnames.push('Matthews'); surnames.push('Arnold'); surnames.push('Wagner'); surnames.push('Willis'); surnames.push('Ray'); surnames.push('Watkins'); surnames.push('Olson'); surnames.push('Carroll'); surnames.push('Duncan'); surnames.push('Snyder'); surnames.push('Hart'); surnames.push('Cunningham'); surnames.push('Bradley'); surnames.push('Lane'); surnames.push('Andrews'); surnames.push('Ruiz'); surnames.push('Harper'); surnames.push('Fox'); surnames.push('Riley'); surnames.push('Armstrong'); surnames.push('Carpenter'); surnames.push('Weaver'); surnames.push('Greene'); surnames.push('Lawrence'); surnames.push('Elliott'); surnames.push('Chavez'); surnames.push('Sims'); surnames.push('Austin'); surnames.push('Peters'); surnames.push('Kelley'); surnames.push('Franklin'); surnames.push('Lawson'); surnames.push('Fields'); surnames.push('Gutierrez'); surnames.push('Ryan'); surnames.push('Schmidt'); surnames.push('Carr'); surnames.push('Vasquez'); surnames.push('Castillo'); surnames.push('Wheeler'); surnames.push('Chapman'); surnames.push('Oliver'); surnames.push('Montgomery'); surnames.push('Richards'); surnames.push('Williamson'); surnames.push('Johnston'); surnames.push('Banks'); surnames.push('Meyer'); surnames.push('Bishop'); surnames.push('Mccoy'); surnames.push('Howell'); surnames.push('Alvarez'); surnames.push('Morrison'); surnames.push('Hansen'); surnames.push('Fernandez'); surnames.push('Garza'); surnames.push('Harvey'); surnames.push('Little'); surnames.push('Burton'); surnames.push('Stanley'); surnames.push('Nguyen'); surnames.push('George'); surnames.push('Jacobs'); surnames.push('Reid'); surnames.push('Kim'); surnames.push('Fuller'); surnames.push('Lynch'); surnames.push('Dean'); surnames.push('Gilbert'); surnames.push('Garrett'); surnames.push('Romero'); surnames.push('Welch'); surnames.push('Larson'); surnames.push('Frazier'); surnames.push('Burke'); surnames.push('Hanson'); surnames.push('Day'); surnames.push('Mendoza'); surnames.push('Moreno'); surnames.push('Bowman'); surnames.push('Medina'); surnames.push('Fowler'); surnames.push('Brewer'); surnames.push('Hoffman'); surnames.push('Carlson'); surnames.push('Silva'); surnames.push('Pearson'); surnames.push('Holland'); surnames.push('Douglas'); surnames.push('Fleming'); surnames.push('Jensen'); surnames.push('Vargas'); surnames.push('Byrd'); surnames.push('Davidson'); surnames.push('Hopkins'); surnames.push('May'); surnames.push('Terry'); surnames.push('Herrera'); surnames.push('Wade'); surnames.push('Soto'); surnames.push('Walters'); surnames.push('Curtis'); surnames.push('Neal'); surnames.push('Caldwell'); surnames.push('Lowe'); surnames.push('Jennings'); surnames.push('Barnett'); surnames.push('Graves'); surnames.push('Jimenez'); surnames.push('Horton'); surnames.push('Shelton'); surnames.push('Barrett'); surnames.push('Obrien'); surnames.push('Castro'); surnames.push('Sutton'); surnames.push('Gregory'); surnames.push('Mckinney'); surnames.push('Lucas'); surnames.push('Miles'); surnames.push('Craig'); surnames.push('Rodriquez'); surnames.push('Chambers'); surnames.push('Holt'); surnames.push('Lambert'); surnames.push('Fletcher'); surnames.push('Watts'); surnames.push('Bates'); surnames.push('Hale'); surnames.push('Rhodes'); surnames.push('Pena'); surnames.push('Beck'); surnames.push('Newman'); surnames.push('Haynes'); surnames.push('Mcdaniel'); surnames.push('Mendez'); surnames.push('Bush'); surnames.push('Vaughn'); surnames.push('Parks'); surnames.push('Dawson'); surnames.push('Santiago'); surnames.push('Norris'); surnames.push('Hardy'); surnames.push('Love'); surnames.push('Steele'); surnames.push('Curry'); surnames.push('Powers'); surnames.push('Schultz'); surnames.push('Barker'); surnames.push('Guzman'); surnames.push('Page'); surnames.push('Munoz'); surnames.push('Ball'); surnames.push('Keller'); surnames.push('Chandler'); surnames.push('Weber'); surnames.push('Leonard'); surnames.push('Walsh'); surnames.push('Lyons'); surnames.push('Ramsey'); surnames.push('Wolfe'); surnames.push('Schneider'); surnames.push('Mullins'); surnames.push('Benson'); surnames.push('Sharp'); surnames.push('Bowen'); surnames.push('Daniel'); surnames.push('Barber'); surnames.push('Cummings'); surnames.push('Hines'); surnames.push('Baldwin'); surnames.push('Griffith'); surnames.push('Valdez'); surnames.push('Hubbard'); surnames.push('Salazar'); surnames.push('Reeves'); surnames.push('Warner'); surnames.push('Stevenson'); surnames.push('Burgess'); surnames.push('Santos'); surnames.push('Tate'); surnames.push('Cross'); surnames.push('Garner'); surnames.push('Mann'); surnames.push('Mack'); surnames.push('Moss'); surnames.push('Thornton'); surnames.push('Dennis'); surnames.push('Mcgee'); surnames.push('Farmer'); surnames.push('Delgado'); surnames.push('Aguilar'); surnames.push('Vega'); surnames.push('Glover'); surnames.push('Manning'); surnames.push('Cohen'); surnames.push('Harmon'); surnames.push('Rodgers'); surnames.push('Robbins'); surnames.push('Newton'); surnames.push('Todd'); surnames.push('Blair'); surnames.push('Higgins'); surnames.push('Ingram'); surnames.push('Reese'); surnames.push('Cannon'); surnames.push('Strickland'); surnames.push('Townsend'); surnames.push('Potter'); surnames.push('Goodwin'); surnames.push('Walton'); surnames.push('Rowe'); surnames.push('Hampton'); surnames.push('Ortega'); surnames.push('Patton'); surnames.push('Swanson'); surnames.push('Joseph'); surnames.push('Francis'); surnames.push('Goodman'); surnames.push('Maldonado'); surnames.push('Yates'); surnames.push('Becker'); surnames.push('Erickson'); surnames.push('Hodges'); surnames.push('Rios'); surnames.push('Conner'); surnames.push('Adkins'); surnames.push('Webster'); surnames.push('Norman'); surnames.push('Malone'); surnames.push('Hammond'); surnames.push('Flowers'); surnames.push('Cobb'); surnames.push('Moody'); surnames.push('Quinn'); surnames.push('Blake'); surnames.push('Maxwell'); surnames.push('Pope'); surnames.push('Floyd'); surnames.push('Osborne'); surnames.push('Paul'); surnames.push('Mccarthy'); surnames.push('Guerrero'); surnames.push('Lindsey'); surnames.push('Estrada'); surnames.push('Sandoval'); surnames.push('Gibbs'); surnames.push('Tyler'); surnames.push('Gross'); surnames.push('Fitzgerald'); surnames.push('Stokes'); surnames.push('Doyle'); surnames.push('Sherman'); surnames.push('Saunders'); surnames.push('Wise'); surnames.push('Colon'); surnames.push('Gill'); surnames.push('Alvarado'); surnames.push('Greer'); surnames.push('Padilla'); surnames.push('Simon'); surnames.push('Waters'); surnames.push('Nunez'); surnames.push('Ballard'); surnames.push('Schwartz'); surnames.push('Mcbride'); surnames.push('Houston'); surnames.push('Christensen'); surnames.push('Klein'); surnames.push('Pratt'); surnames.push('Briggs'); surnames.push('Parsons'); surnames.push('Mclaughlin'); surnames.push('Zimmerman'); surnames.push('French'); surnames.push('Buchanan'); surnames.push('Moran'); surnames.push('Copeland'); surnames.push('Roy'); surnames.push('Pittman'); surnames.push('Brady'); surnames.push('Mccormick'); surnames.push('Holloway'); surnames.push('Brock'); surnames.push('Poole'); surnames.push('Frank'); surnames.push('Logan'); surnames.push('Owen'); surnames.push('Bass'); surnames.push('Marsh'); surnames.push('Drake'); surnames.push('Wong'); surnames.push('Jefferson'); surnames.push('Park'); surnames.push('Morton'); surnames.push('Abbott'); surnames.push('Sparks'); surnames.push('Patrick'); surnames.push('Norton'); surnames.push('Huff'); surnames.push('Clayton'); surnames.push('Massey'); surnames.push('Lloyd'); surnames.push('Figueroa'); surnames.push('Carson'); surnames.push('Bowers'); surnames.push('Roberson'); surnames.push('Barton'); surnames.push('Tran'); surnames.push('Lamb'); surnames.push('Harrington'); surnames.push('Casey'); surnames.push('Boone'); surnames.push('Cortez'); surnames.push('Clarke'); surnames.push('Mathis'); surnames.push('Singleton'); surnames.push('Wilkins'); surnames.push('Cain'); surnames.push('Bryan'); surnames.push('Underwood'); surnames.push('Hogan'); surnames.push('Mckenzie'); surnames.push('Collier'); surnames.push('Luna'); surnames.push('Phelps'); surnames.push('Mcguire'); surnames.push('Allison'); surnames.push('Bridges'); surnames.push('Wilkerson'); surnames.push('Nash'); surnames.push('Summers'); surnames.push('Atkins'); surnames.push('Wilcox'); surnames.push('Pitts'); surnames.push('Conley'); surnames.push('Marquez'); surnames.push('Burnett'); surnames.push('Richard'); surnames.push('Cochran'); surnames.push('Chase'); surnames.push('Davenport'); surnames.push('Hood'); surnames.push('Gates'); surnames.push('Clay'); surnames.push('Ayala'); surnames.push('Sawyer'); surnames.push('Roman'); surnames.push('Vazquez'); surnames.push('Dickerson'); surnames.push('Hodge'); surnames.push('Acosta'); surnames.push('Flynn'); surnames.push('Espinoza'); surnames.push('Nicholson'); surnames.push('Monroe'); surnames.push('Wolf'); surnames.push('Morrow'); surnames.push('Kirk'); surnames.push('Randall'); surnames.push('Anthony'); surnames.push('Whitaker'); surnames.push('Oconnor'); surnames.push('Skinner'); surnames.push('Ware'); surnames.push('Molina'); surnames.push('Kirby'); surnames.push('Huffman'); surnames.push('Bradford'); surnames.push('Charles'); surnames.push('Gilmore'); surnames.push('Dominguez'); surnames.push('Oneal'); surnames.push('Bruce'); surnames.push('Lang'); surnames.push('Combs'); surnames.push('Kramer'); surnames.push('Heath'); surnames.push('Hancock'); surnames.push('Gallagher'); surnames.push('Gaines'); surnames.push('Shaffer'); surnames.push('Short'); surnames.push('Wiggins'); surnames.push('Mathews'); surnames.push('Mcclain'); surnames.push('Fischer'); surnames.push('Wall'); surnames.push('Small'); surnames.push('Melton'); surnames.push('Hensley'); surnames.push('Bond'); surnames.push('Dyer'); surnames.push('Cameron'); surnames.push('Grimes'); surnames.push('Contreras'); surnames.push('Christian'); surnames.push('Wyatt'); surnames.push('Baxter'); surnames.push('Snow'); surnames.push('Mosley'); surnames.push('Shepherd'); surnames.push('Larsen'); surnames.push('Hoover'); surnames.push('Beasley'); surnames.push('Glenn'); surnames.push('Petersen'); surnames.push('Whitehead'); surnames.push('Meyers'); surnames.push('Keith'); surnames.push('Garrison'); surnames.push('Vincent'); surnames.push('Shields'); surnames.push('Horn'); surnames.push('Savage'); surnames.push('Olsen'); surnames.push('Schroeder'); surnames.push('Hartman'); surnames.push('Woodard'); surnames.push('Mueller'); surnames.push('Kemp'); surnames.push('Deleon'); surnames.push('Booth'); surnames.push('Patel'); surnames.push('Calhoun'); surnames.push('Wiley'); surnames.push('Eaton'); surnames.push('Cline'); surnames.push('Navarro'); surnames.push('Harrell'); surnames.push('Lester'); surnames.push('Humphrey'); surnames.push('Parrish'); surnames.push('Duran'); surnames.push('Hutchinson'); surnames.push('Hess'); surnames.push('Dorsey'); surnames.push('Bullock'); surnames.push('Robles'); surnames.push('Beard'); surnames.push('Dalton'); surnames.push('Avila'); surnames.push('Vance'); surnames.push('Rich'); surnames.push('Blackwell'); surnames.push('York'); surnames.push('Johns'); surnames.push('Blankenship'); surnames.push('Trevino'); surnames.push('Salinas'); surnames.push('Campos'); surnames.push('Pruitt'); surnames.push('Moses'); surnames.push('Callahan'); surnames.push('Golden'); surnames.push('Montoya'); surnames.push('Hardin'); surnames.push('Guerra'); surnames.push('Mcdowell'); surnames.push('Carey'); surnames.push('Stafford'); surnames.push('Gallegos'); surnames.push('Henson'); surnames.push('Wilkinson'); surnames.push('Booker'); surnames.push('Merritt'); surnames.push('Miranda'); surnames.push('Atkinson'); surnames.push('Orr'); surnames.push('Decker'); surnames.push('Hobbs'); surnames.push('Preston'); surnames.push('Tanner'); surnames.push('Knox'); surnames.push('Pacheco'); surnames.push('Stephenson'); surnames.push('Glass'); surnames.push('Rojas'); surnames.push('Serrano'); surnames.push('Marks'); surnames.push('Hickman'); surnames.push('English'); surnames.push('Sweeney'); surnames.push('Strong'); surnames.push('Prince'); surnames.push('Mcclure'); surnames.push('Conway'); surnames.push('Walter'); surnames.push('Roth'); surnames.push('Maynard'); surnames.push('Farrell'); surnames.push('Lowery'); surnames.push('Hurst'); surnames.push('Nixon'); surnames.push('Weiss'); surnames.push('Trujillo'); surnames.push('Ellison'); surnames.push('Sloan'); surnames.push('Juarez'); surnames.push('Winters'); surnames.push('Mclean'); surnames.push('Randolph'); surnames.push('Leon'); surnames.push('Boyer'); surnames.push('Villarreal'); surnames.push('Mccall'); surnames.push('Gentry'); surnames.push('Carrillo'); surnames.push('Kent'); surnames.push('Ayers'); surnames.push('Lara'); surnames.push('Shannon'); surnames.push('Sexton'); surnames.push('Pace'); surnames.push('Hull'); surnames.push('Leblanc'); surnames.push('Browning'); surnames.push('Velasquez'); surnames.push('Leach'); surnames.push('Chang'); surnames.push('House'); surnames.push('Sellers'); surnames.push('Herring'); surnames.push('Noble'); surnames.push('Foley'); surnames.push('Bartlett'); surnames.push('Mercado'); surnames.push('Landry'); surnames.push('Durham'); surnames.push('Walls'); surnames.push('Barr'); surnames.push('Mckee'); surnames.push('Bauer'); surnames.push('Rivers'); surnames.push('Everett'); surnames.push('Bradshaw'); surnames.push('Pugh'); surnames.push('Velez'); surnames.push('Rush'); surnames.push('Estes'); surnames.push('Dodson'); surnames.push('Morse'); surnames.push('Sheppard'); surnames.push('Weeks'); surnames.push('Camacho'); surnames.push('Bean'); surnames.push('Barron'); surnames.push('Livingston'); surnames.push('Middleton'); surnames.push('Spears'); surnames.push('Branch'); surnames.push('Blevins'); surnames.push('Chen'); surnames.push('Kerr'); surnames.push('Mcconnell'); surnames.push('Hatfield'); surnames.push('Harding'); surnames.push('Ashley'); surnames.push('Solis'); surnames.push('Herman'); surnames.push('Frost'); surnames.push('Giles'); surnames.push('Blackburn'); surnames.push('William'); surnames.push('Pennington'); surnames.push('Woodward'); surnames.push('Finley'); surnames.push('Mcintosh'); surnames.push('Koch'); surnames.push('Best'); surnames.push('Solomon'); surnames.push('Mccullough'); surnames.push('Dudley'); surnames.push('Nolan'); surnames.push('Blanchard'); surnames.push('Rivas'); surnames.push('Brennan'); surnames.push('Mejia'); surnames.push('Kane'); surnames.push('Benton'); surnames.push('Joyce'); surnames.push('Buckley'); surnames.push('Haley'); surnames.push('Valentine'); surnames.push('Maddox'); surnames.push('Russo'); surnames.push('Mcknight'); surnames.push('Buck'); surnames.push('Moon'); surnames.push('Mcmillan'); surnames.push('Crosby'); surnames.push('Berg'); surnames.push('Dotson'); surnames.push('Mays'); surnames.push('Roach'); surnames.push('Church'); surnames.push('Chan'); surnames.push('Richmond'); surnames.push('Meadows'); surnames.push('Faulkner'); surnames.push('Oneill'); surnames.push('Knapp'); surnames.push('Kline'); surnames.push('Barry'); surnames.push('Ochoa'); surnames.push('Jacobson'); surnames.push('Gay'); surnames.push('Avery'); surnames.push('Hendricks'); surnames.push('Horne'); surnames.push('Shepard'); surnames.push('Hebert'); surnames.push('Cherry'); surnames.push('Cardenas'); surnames.push('Mcintyre'); surnames.push('Whitney'); surnames.push('Waller'); surnames.push('Holman'); surnames.push('Donaldson'); surnames.push('Cantu'); surnames.push('Terrell'); surnames.push('Morin'); surnames.push('Gillespie'); surnames.push('Fuentes'); surnames.push('Tillman'); surnames.push('Sanford'); surnames.push('Bentley'); surnames.push('Peck'); surnames.push('Key'); surnames.push('Salas'); surnames.push('Rollins'); surnames.push('Gamble'); surnames.push('Dickson'); surnames.push('Battle'); surnames.push('Santana'); surnames.push('Cabrera'); surnames.push('Cervantes'); surnames.push('Howe'); surnames.push('Hinton'); surnames.push('Hurley'); surnames.push('Spence'); surnames.push('Zamora'); surnames.push('Yang'); surnames.push('Mcneil'); surnames.push('Suarez'); surnames.push('Case'); surnames.push('Petty'); surnames.push('Gould'); surnames.push('Mcfarland'); surnames.push('Sampson'); surnames.push('Carver'); surnames.push('Bray'); surnames.push('Rosario'); surnames.push('Macdonald'); surnames.push('Stout'); surnames.push('Hester'); surnames.push('Melendez'); surnames.push('Dillon'); surnames.push('Farley'); surnames.push('Hopper'); surnames.push('Galloway'); surnames.push('Potts'); surnames.push('Bernard'); surnames.push('Joyner'); surnames.push('Stein'); surnames.push('Aguirre'); surnames.push('Osborn'); surnames.push('Mercer'); surnames.push('Bender'); surnames.push('Franco'); surnames.push('Rowland'); surnames.push('Sykes'); surnames.push('Benjamin'); surnames.push('Travis'); surnames.push('Pickett'); surnames.push('Crane'); surnames.push('Sears'); surnames.push('Mayo'); surnames.push('Dunlap'); surnames.push('Hayden'); surnames.push('Wilder'); surnames.push('Mckay'); surnames.push('Coffey'); surnames.push('Mccarty'); surnames.push('Ewing'); surnames.push('Cooley'); surnames.push('Vaughan'); surnames.push('Bonner'); surnames.push('Cotton'); surnames.push('Holder'); surnames.push('Stark'); surnames.push('Ferrell'); surnames.push('Cantrell'); surnames.push('Fulton'); surnames.push('Lynn'); surnames.push('Lott'); surnames.push('Calderon'); surnames.push('Rosa'); surnames.push('Pollard'); surnames.push('Hooper'); surnames.push('Burch'); surnames.push('Mullen'); surnames.push('Fry'); surnames.push('Riddle'); surnames.push('Levy'); surnames.push('David'); surnames.push('Duke'); surnames.push('Odonnell'); surnames.push('Guy'); surnames.push('Michael'); surnames.push('Britt'); surnames.push('Frederick'); surnames.push('Daugherty'); surnames.push('Berger'); surnames.push('Dillard'); surnames.push('Alston'); surnames.push('Jarvis'); surnames.push('Frye'); surnames.push('Riggs'); surnames.push('Chaney'); surnames.push('Odom'); surnames.push('Duffy'); surnames.push('Fitzpatrick'); surnames.push('Valenzuela'); surnames.push('Merrill'); surnames.push('Mayer'); surnames.push('Alford'); surnames.push('Mcpherson'); surnames.push('Acevedo'); surnames.push('Donovan'); surnames.push('Barrera'); surnames.push('Albert'); surnames.push('Cote'); surnames.push('Reilly'); surnames.push('Compton'); surnames.push('Raymond'); surnames.push('Mooney'); surnames.push('Mcgowan'); surnames.push('Craft'); surnames.push('Cleveland'); surnames.push('Clemons'); surnames.push('Wynn'); surnames.push('Nielsen'); surnames.push('Baird'); surnames.push('Stanton'); surnames.push('Snider'); surnames.push('Rosales'); surnames.push('Bright'); surnames.push('Witt'); surnames.push('Stuart'); surnames.push('Hays'); surnames.push('Holden'); surnames.push('Rutledge'); surnames.push('Kinney'); surnames.push('Clements'); surnames.push('Castaneda'); surnames.push('Slater'); surnames.push('Hahn'); surnames.push('Emerson'); surnames.push('Conrad'); surnames.push('Burks'); surnames.push('Delaney'); surnames.push('Pate'); surnames.push('Lancaster'); surnames.push('Sweet'); surnames.push('Justice'); surnames.push('Tyson'); surnames.push('Sharpe'); surnames.push('Whitfield'); surnames.push('Talley'); surnames.push('Macias'); surnames.push('Irwin'); surnames.push('Burris'); surnames.push('Ratliff'); surnames.push('Mccray'); surnames.push('Madden'); surnames.push('Kaufman'); surnames.push('Beach'); surnames.push('Goff'); surnames.push('Cash'); surnames.push('Bolton'); surnames.push('Mcfadden'); surnames.push('Levine'); surnames.push('Good'); surnames.push('Byers'); surnames.push('Kirkland'); surnames.push('Kidd'); surnames.push('Workman'); surnames.push('Carney'); surnames.push('Dale'); surnames.push('Mcleod'); surnames.push('Holcomb'); surnames.push('England'); surnames.push('Finch'); surnames.push('Head'); surnames.push('Burt'); surnames.push('Hendrix'); surnames.push('Sosa'); surnames.push('Haney'); surnames.push('Franks'); surnames.push('Sargent'); surnames.push('Nieves'); surnames.push('Downs'); surnames.push('Rasmussen'); surnames.push('Bird'); surnames.push('Hewitt'); surnames.push('Lindsay'); surnames.push('Le'); surnames.push('Foreman'); surnames.push('Valencia'); surnames.push('Oneil'); surnames.push('Delacruz'); surnames.push('Vinson'); surnames.push('Dejesus'); surnames.push('Hyde'); surnames.push('Forbes'); surnames.push('Gilliam'); surnames.push('Guthrie'); surnames.push('Wooten'); surnames.push('Huber'); surnames.push('Barlow'); surnames.push('Boyle'); surnames.push('Mcmahon'); surnames.push('Buckner'); surnames.push('Rocha'); surnames.push('Puckett'); surnames.push('Langley'); surnames.push('Knowles'); surnames.push('Cooke'); surnames.push('Velazquez'); surnames.push('Whitley'); surnames.push('Noel'); surnames.push('Vang'); surnames.push('Shea'); surnames.push('Rouse'); surnames.push('Hartley'); surnames.push('Mayfield'); surnames.push('Elder'); surnames.push('Rankin'); surnames.push('Hanna'); surnames.push('Cowan'); surnames.push('Lucero'); surnames.push('Arroyo'); surnames.push('Slaughter'); surnames.push('Haas'); surnames.push('Oconnell'); surnames.push('Minor'); surnames.push('Kendrick'); surnames.push('Shirley'); surnames.push('Kendall'); surnames.push('Boucher'); surnames.push('Archer'); surnames.push('Boggs'); surnames.push('Odell'); surnames.push('Dougherty'); surnames.push('Andersen'); surnames.push('Newell'); surnames.push('Crowe'); surnames.push('Wang'); surnames.push('Friedman'); surnames.push('Bland'); surnames.push('Swain'); surnames.push('Holley'); surnames.push('Felix'); surnames.push('Pearce'); surnames.push('Childs'); surnames.push('Yarbrough'); surnames.push('Galvan'); surnames.push('Proctor'); surnames.push('Meeks'); surnames.push('Lozano'); surnames.push('Mora'); surnames.push('Rangel'); surnames.push('Bacon'); surnames.push('Villanueva'); surnames.push('Schaefer'); surnames.push('Rosado'); surnames.push('Helms'); surnames.push('Boyce'); surnames.push('Goss'); surnames.push('Stinson'); surnames.push('Smart'); surnames.push('Lake'); surnames.push('Ibarra'); surnames.push('Hutchins'); surnames.push('Covington'); surnames.push('Reyna'); surnames.push('Gregg'); surnames.push('Werner'); surnames.push('Crowley'); surnames.push('Hatcher'); surnames.push('Mackey'); surnames.push('Bunch'); surnames.push('Womack'); surnames.push('Polk'); surnames.push('Jamison'); surnames.push('Dodd'); surnames.push('Childress'); surnames.push('Childers'); surnames.push('Camp'); surnames.push('Villa'); surnames.push('Dye'); surnames.push('Springer'); surnames.push('Mahoney'); surnames.push('Dailey'); surnames.push('Belcher'); surnames.push('Lockhart'); surnames.push('Griggs'); surnames.push('Costa'); surnames.push('Connor'); surnames.push('Brandt'); surnames.push('Winter'); surnames.push('Walden'); surnames.push('Moser'); surnames.push('Tracy'); surnames.push('Tatum'); surnames.push('Mccann'); surnames.push('Akers'); surnames.push('Lutz'); surnames.push('Pryor'); surnames.push('Law'); surnames.push('Orozco'); surnames.push('Mcallister'); surnames.push('Lugo'); surnames.push('Davies'); surnames.push('Shoemaker'); surnames.push('Madison'); surnames.push('Rutherford'); surnames.push('Newsome'); surnames.push('Magee'); surnames.push('Chamberlain'); surnames.push('Blanton'); surnames.push('Simms'); surnames.push('Godfrey'); surnames.push('Flanagan'); surnames.push('Crum'); surnames.push('Cordova'); surnames.push('Escobar'); surnames.push('Downing'); surnames.push('Sinclair'); surnames.push('Donahue'); surnames.push('Krueger'); surnames.push('Mcginnis'); surnames.push('Gore'); surnames.push('Farris'); surnames.push('Webber'); surnames.push('Corbett'); surnames.push('Andrade'); surnames.push('Starr'); surnames.push('Lyon'); surnames.push('Yoder'); surnames.push('Hastings'); surnames.push('Mcgrath'); surnames.push('Spivey'); surnames.push('Krause'); surnames.push('Harden'); surnames.push('Crabtree'); surnames.push('Kirkpatrick'); surnames.push('Hollis'); surnames.push('Brandon'); surnames.push('Arrington'); surnames.push('Ervin'); surnames.push('Clifton'); surnames.push('Ritter'); surnames.push('Mcghee'); surnames.push('Bolden'); surnames.push('Maloney'); surnames.push('Gagnon'); surnames.push('Dunbar'); surnames.push('Ponce'); surnames.push('Pike'); surnames.push('Mayes'); surnames.push('Heard'); surnames.push('Beatty'); surnames.push('Mobley'); surnames.push('Kimball'); surnames.push('Butts'); surnames.push('Montes'); surnames.push('Herbert'); surnames.push('Grady'); surnames.push('Eldridge'); surnames.push('Braun'); surnames.push('Hamm'); surnames.push('Gibbons'); surnames.push('Seymour'); surnames.push('Moyer'); surnames.push('Manley'); surnames.push('Herron'); surnames.push('Plummer'); surnames.push('Elmore'); surnames.push('Cramer'); surnames.push('Gary'); surnames.push('Rucker'); surnames.push('Hilton'); surnames.push('Blue'); surnames.push('Pierson'); surnames.push('Fontenot'); surnames.push('Field'); surnames.push('Rubio'); surnames.push('Grace'); surnames.push('Goldstein'); surnames.push('Elkins'); surnames.push('Wills'); surnames.push('Novak'); surnames.push('John'); surnames.push('Hickey'); surnames.push('Worley'); surnames.push('Gorman'); surnames.push('Katz'); surnames.push('Dickinson'); surnames.push('Broussard'); surnames.push('Fritz'); surnames.push('Woodruff'); surnames.push('Crow'); surnames.push('Christopher'); surnames.push('Britton'); surnames.push('Forrest'); surnames.push('Nance'); surnames.push('Lehman'); surnames.push('Bingham'); surnames.push('Zuniga'); surnames.push('Whaley'); surnames.push('Shafer'); surnames.push('Coffman'); surnames.push('Steward'); surnames.push('Delarosa'); surnames.push('Nix'); surnames.push('Neely'); surnames.push('Numbers'); surnames.push('Mata'); surnames.push('Manuel'); surnames.push('Davila'); surnames.push('Mccabe'); surnames.push('Kessler'); surnames.push('Emery'); surnames.push('Bowling'); surnames.push('Hinkle'); surnames.push('Welsh'); surnames.push('Pagan'); surnames.push('Goldberg'); surnames.push('Goins'); surnames.push('Crouch'); surnames.push('Cuevas'); surnames.push('Quinones'); surnames.push('Mcdermott'); surnames.push('Hendrickson'); surnames.push('Samuels'); surnames.push('Denton'); surnames.push('Bergeron'); surnames.push('Lam'); surnames.push('Ivey'); surnames.push('Locke'); surnames.push('Haines'); surnames.push('Thurman'); surnames.push('Snell'); surnames.push('Hoskins'); surnames.push('Byrne'); surnames.push('Milton'); surnames.push('Winston'); surnames.push('Arthur'); surnames.push('Arias'); surnames.push('Stanford'); surnames.push('Roe'); surnames.push('Corbin'); surnames.push('Beltran'); surnames.push('Chappell'); surnames.push('Hurt'); surnames.push('Downey'); surnames.push('Dooley'); surnames.push('Tuttle'); surnames.push('Couch'); surnames.push('Payton'); surnames.push('Mcelroy'); surnames.push('Crockett'); surnames.push('Groves'); surnames.push('Clement'); surnames.push('Leslie'); surnames.push('Cartwright'); surnames.push('Dickey'); surnames.push('Mcgill'); surnames.push('Dubois'); surnames.push('Muniz'); surnames.push('Erwin'); surnames.push('Self'); surnames.push('Tolbert'); surnames.push('Dempsey'); surnames.push('Cisneros'); surnames.push('Sewell'); surnames.push('Latham'); surnames.push('Garland'); surnames.push('Vigil'); surnames.push('Tapia'); surnames.push('Sterling'); surnames.push('Rainey'); surnames.push('Norwood'); surnames.push('Lacy'); surnames.push('Stroud'); surnames.push('Meade'); surnames.push('Amos'); surnames.push('Tipton'); surnames.push('Lord'); surnames.push('Kuhn'); surnames.push('Hilliard'); surnames.push('Bonilla'); surnames.push('Teague'); surnames.push('Courtney'); surnames.push('Gunn'); surnames.push('Ho'); surnames.push('Greenwood'); surnames.push('Correa'); surnames.push('Reece'); surnames.push('Weston'); surnames.push('Poe'); surnames.push('Trent'); surnames.push('Pineda'); surnames.push('Phipps'); surnames.push('Frey'); surnames.push('Kaiser'); surnames.push('Ames'); surnames.push('Paige'); surnames.push('Gunter'); surnames.push('Schmitt'); surnames.push('Milligan'); surnames.push('Espinosa'); surnames.push('Carlton'); surnames.push('Bowden'); surnames.push('Vickers'); surnames.push('Lowry'); surnames.push('Pritchard'); surnames.push('Costello'); surnames.push('Piper'); surnames.push('Mcclellan'); surnames.push('Lovell'); surnames.push('Drew'); surnames.push('Sheehan'); surnames.push('Quick'); surnames.push('Hatch'); surnames.push('Dobson'); surnames.push('Singh'); surnames.push('Jeffries'); surnames.push('Hollingsworth'); surnames.push('Sorensen'); surnames.push('Meza'); surnames.push('Fink'); surnames.push('Donnelly'); surnames.push('Burrell'); surnames.push('Bruno'); surnames.push('Tomlinson'); surnames.push('Colbert'); surnames.push('Billings'); surnames.push('Ritchie'); surnames.push('Helton'); surnames.push('Sutherland'); surnames.push('Peoples'); surnames.push('Mcqueen'); surnames.push('Gaston'); surnames.push('Thomason'); surnames.push('Mckinley'); surnames.push('Givens'); surnames.push('Crocker'); surnames.push('Vogel'); surnames.push('Abe'); surnames.push('Adachi'); surnames.push('Agawa'); surnames.push('Aida'); surnames.push('Aikawa'); surnames.push('Aino'); surnames.push('Aizawa'); surnames.push('Akabori'); surnames.push('Akagi'); surnames.push('Akai'); surnames.push('Akamatsu'); surnames.push('Akita'); surnames.push('Akiyama'); surnames.push('Amaki'); surnames.push('Amakusa'); surnames.push('Amano'); surnames.push('Anami'); surnames.push('Ando'); surnames.push('Anno'); surnames.push('Anzai'); surnames.push('Aoki'); surnames.push('Aoyama'); surnames.push('Asagiri'); surnames.push('Asakura'); surnames.push('Asahina'); surnames.push('Araki'); surnames.push('Arakaki'); surnames.push('Arai'); surnames.push('Aramaki'); surnames.push('Arata'); surnames.push('Arii'); surnames.push('Arita'); surnames.push('Asada'); surnames.push('Ashida'); surnames.push('Ayukawa'); surnames.push('Azuma'); surnames.push('Azumano'); surnames.push('Baba'); surnames.push('Bai'); surnames.push('Bandai'); surnames.push('Beppu'); surnames.push('Bessho'); surnames.push('Chano'); surnames.push('Chiba'); surnames.push('Chikamoto'); surnames.push('Chikasue'); surnames.push('Dai'); surnames.push('Daibuku'); surnames.push('Daichi'); surnames.push('Daicho'); surnames.push('Daido'); surnames.push('Daidoji'); surnames.push('Daigo'); surnames.push('Daigoku'); surnames.push('Daigoho'); surnames.push('Daiho'); surnames.push('Daijo'); surnames.push('Daiku'); surnames.push('Dainichi'); surnames.push('Daitoku'); surnames.push('Daitokuji'); surnames.push('Daiwa'); surnames.push('Daiyo'); surnames.push('Dan'); surnames.push('Date'); surnames.push('Dazai'); surnames.push('Degawa'); surnames.push('Deguchi'); surnames.push('Den'); surnames.push('Deon'); surnames.push('Deshi'); surnames.push('Deshima'); surnames.push('Deshimaru'); surnames.push('Deura'); surnames.push('Deushi'); surnames.push('Dewa'); surnames.push('Deyama'); surnames.push('Dezaki'); surnames.push('Doi'); surnames.push('Doiuchi'); surnames.push('Dokite'); surnames.push('Eda'); surnames.push('Edagawa'); surnames.push('Endo'); surnames.push('Ezura'); surnames.push('Fuchizaki'); surnames.push('Fuchizawa'); surnames.push('Fujii'); surnames.push('Fujimori'); surnames.push('Fujimoto'); surnames.push('Fujinaka'); surnames.push('Fujita'); surnames.push('Fujiwara'); surnames.push('Fujiyama'); surnames.push('Fukuda'); surnames.push('Fukumoto'); surnames.push('Fukuyama'); surnames.push('Fumi'); surnames.push('Fumimoto'); surnames.push('Furukawa'); surnames.push('Futamata'); surnames.push('Fujibayashi'); surnames.push('Go'); surnames.push('Gobu'); surnames.push('Goda'); surnames.push('Godai'); surnames.push('Goto'); surnames.push('Hagino'); surnames.push('Hagiwara'); surnames.push('Hakuta'); surnames.push('Hamamoto'); surnames.push('Hamanaka'); surnames.push('Hamasaki'); surnames.push('Han'); surnames.push('Hana'); surnames.push('Haneda'); surnames.push('Hanawa'); surnames.push('Hara'); surnames.push('Harada'); surnames.push('Hasemi'); surnames.push('Hasegawa'); surnames.push('Haseyama'); surnames.push('Hashiguchi'); surnames.push('Hashimoto'); surnames.push('Hata'); surnames.push('Hatano'); surnames.push('Hatta'); surnames.push('Hattori'); surnames.push('Hayakawa'); surnames.push('Hayashi'); surnames.push('Hayashida'); surnames.push('Hazuki'); surnames.push('Hibino'); surnames.push('Hidaka'); surnames.push('Higashi'); surnames.push('Higuchi'); surnames.push('Hikari'); surnames.push('Hikono'); surnames.push('Hinata'); surnames.push('Hirai'); surnames.push('Haramatsu'); surnames.push('Hirano'); surnames.push('Hata'); surnames.push('Hirata'); surnames.push('Hirota'); surnames.push('Honda'); surnames.push('Honma'); surnames.push('Horie'); surnames.push('Horiguchi'); surnames.push('Horii'); surnames.push('Horikawa'); surnames.push('Horimoto'); surnames.push('Horio'); surnames.push('Horiuchi'); surnames.push('Hoshide'); surnames.push('Hoshi'); surnames.push('Hoshino'); surnames.push('Hoshiyama'); surnames.push('Hosoi'); surnames.push('Hosokawa'); surnames.push('Hosonuma'); surnames.push('Hyuga'); surnames.push('Ichikawa'); surnames.push('Ichimura'); surnames.push('Ide'); surnames.push('Ifukube'); surnames.push('Iga'); surnames.push('Igarashi'); surnames.push('Igawa'); surnames.push('Iguchi'); surnames.push('Iida'); surnames.push('Iijima'); surnames.push('Iino'); surnames.push('Iinuma'); surnames.push('Ikeda'); surnames.push('Ikegami'); surnames.push('Ikemizu'); surnames.push('Imagawa'); surnames.push('Imai'); surnames.push('Imaizumi'); surnames.push('Imakake'); surnames.push('Inaba'); surnames.push('Inada'); surnames.push('Inamura'); surnames.push('Inoue'); surnames.push('Ioki'); surnames.push('Ishida'); surnames.push('Ishiguro'); surnames.push('Ishii'); surnames.push('Ishikawa'); surnames.push('Ishimori'); surnames.push('Ishimoto'); surnames.push('Ishimura'); surnames.push('Ishiyama'); surnames.push('Ishizaki'); surnames.push('Iso'); surnames.push('Isobe'); surnames.push('Isono'); surnames.push('Ito'); surnames.push('Iwai'); surnames.push('Iwaki'); surnames.push('Iwamoto'); surnames.push('Iwasa'); surnames.push('Iwasaki'); surnames.push('Iwasawa'); surnames.push('Iwata'); surnames.push('Izumi'); surnames.push('Jakushi'); surnames.push('Jihara'); surnames.push('Jikihara'); surnames.push('Jinbo'); surnames.push('Jingu'); surnames.push('Jinguji'); surnames.push('Jinmei'); surnames.push('Jinnai'); surnames.push('Jinnaka'); surnames.push('Jinnouchi'); surnames.push('Johjima'); surnames.push('Jonouchi'); surnames.push('Ju'); surnames.push('Jodai'); surnames.push('Jogo'); surnames.push('Joko'); surnames.push('Jouchi'); surnames.push('Juge'); surnames.push('Juji'); surnames.push('Kadokawa'); surnames.push('Kaito'); surnames.push('Kakei'); surnames.push('Kaku'); surnames.push('Kamiya'); surnames.push('Kan'); surnames.push('Kanada'); surnames.push('Kanai'); surnames.push('Kanan'); surnames.push('Kanashiro'); surnames.push('Kanayama'); surnames.push('Kaneda'); surnames.push('Kanegai'); surnames.push('Kanemoto'); surnames.push('Kaneyama'); surnames.push('Kaneshige'); surnames.push('Kanno'); surnames.push('Kanzaki'); surnames.push('Kashima'); surnames.push('Kashiwada'); surnames.push('Katayama'); surnames.push('Kato'); surnames.push('Kawaguchi'); surnames.push('Kawai'); surnames.push('Kawamori'); surnames.push('Kawamoto'); surnames.push('Kawamura'); surnames.push('Kawasaki'); surnames.push('Kazama'); surnames.push('Kido'); surnames.push('Kikuchi'); surnames.push('Kimizuka'); surnames.push('Kimoto'); surnames.push('Kimura'); surnames.push('Kinoshita'); surnames.push('Kishida'); surnames.push('Kishimoto'); surnames.push('Kitagawa'); surnames.push('Kitamura'); surnames.push('Kitani'); surnames.push('Kitano'); surnames.push('Kobayashi'); surnames.push('Kobe'); surnames.push('Koide'); surnames.push('Koike'); surnames.push('Koizumi'); surnames.push('Kokubunji'); surnames.push('Kokaji'); surnames.push('Komatsu'); surnames.push('Komoda'); surnames.push('Kon'); surnames.push('Konami'); surnames.push('Kondo'); surnames.push('Konno'); surnames.push('Koshino'); surnames.push('Koyama'); surnames.push('Kubo'); surnames.push('Kubota'); surnames.push('Kumagai'); surnames.push('Kumakubo'); surnames.push('Kume'); surnames.push('Kumon'); surnames.push('Kunimitsu'); surnames.push('Kunishige'); surnames.push('Kuramoto'); surnames.push('Kurata'); surnames.push('Kuraya'); surnames.push('Kuribayashi'); surnames.push('Kurita'); surnames.push('Kuroda'); surnames.push('Kuroki'); surnames.push('Kuroi'); surnames.push('Kurosawa'); surnames.push('Kusanagi'); surnames.push('Kuwabara'); surnames.push('Maeda'); surnames.push('Manmitsu'); surnames.push('Matsuda'); surnames.push('Matsueda'); surnames.push('Matsui'); surnames.push('Matsumoto'); surnames.push('Matsuoka'); surnames.push('Matsusaka'); surnames.push('Matsushige'); surnames.push('Matsushima'); surnames.push('Matsushita'); surnames.push('Matsuura'); surnames.push('Matsuzaki'); surnames.push('Michimoto'); surnames.push('Miki'); surnames.push('Minamoto'); surnames.push('Mineto'); surnames.push('Miura'); surnames.push('Miyagi'); surnames.push('Miyahara'); surnames.push('Miyahira'); surnames.push('Miyamoto'); surnames.push('Miyasawa'); surnames.push('Miyazaki'); surnames.push('Miyazawa'); surnames.push('Mizuguchi'); surnames.push('Monden'); surnames.push('Mori'); surnames.push('Moriguchi'); surnames.push('Morihara'); surnames.push('Morimoto'); surnames.push('Morinaka'); surnames.push('Morioka'); surnames.push('Morita'); surnames.push('Moroboshi'); surnames.push('Murakami'); surnames.push('Muramaru'); surnames.push('Muramoto'); surnames.push('Muraoka'); surnames.push('Murata'); surnames.push('Murayama'); surnames.push('Nagai'); surnames.push('Nagasaki'); surnames.push('Nagata'); surnames.push('Naito'); surnames.push('Naka'); surnames.push('Nakagawa'); surnames.push('Nakajima'); surnames.push('Nakamoto'); surnames.push('Nakamura'); surnames.push('Nakano'); surnames.push('Nakao'); surnames.push('Nakaoka'); surnames.push('Nakashima'); surnames.push('Nakata'); surnames.push('Nakatani'); surnames.push('Nakayama'); surnames.push('Nanba'); surnames.push('Nara'); surnames.push('Narita'); surnames.push('Narusawa'); surnames.push('Natsume'); surnames.push('Naya'); surnames.push('Nekotani'); surnames.push('Nekoya'); surnames.push('Nezu'); surnames.push('Niidome'); surnames.push('Niimi'); surnames.push('Nikaido'); surnames.push('Nimoto'); surnames.push('Ninomiya'); surnames.push('Nishi'); surnames.push('Nishibayashi'); surnames.push('Nishimoto'); surnames.push('Nishimura'); surnames.push('Nishino'); surnames.push('Nishioka'); surnames.push('Nishiyama'); surnames.push('Nishizaki'); surnames.push('Nitta'); surnames.push('Noda'); surnames.push('Nogami'); surnames.push('Noguchi'); surnames.push('Nomura'); surnames.push('Nonaka'); surnames.push('Nozawa'); surnames.push('O'); surnames.push('Obara'); surnames.push('Obata'); surnames.push('Ochi'); surnames.push('Ochiai'); surnames.push('Oda'); surnames.push('Oe'); surnames.push('Ogasawara'); surnames.push('Ogata'); surnames.push('Ogawa'); surnames.push('Oguro'); surnames.push('Oh'); surnames.push('Ohara'); surnames.push('Ohno'); surnames.push('Oide'); surnames.push('Oikawa'); surnames.push('Oka'); surnames.push('Okabayashi'); surnames.push('Okabe'); surnames.push('Okada'); surnames.push('Okamoto'); surnames.push('Okamura'); surnames.push('Okayama'); surnames.push('Okazaki'); surnames.push('Okimura'); surnames.push('Okimoto'); surnames.push('Okinaka'); surnames.push('Okubo'); surnames.push('Okuda'); surnames.push('Okuyama'); surnames.push('Omi'); surnames.push('Omoto'); surnames.push('Omura'); surnames.push('Onishi'); surnames.push('Onizuka'); surnames.push('Ono'); surnames.push('Onogi'); surnames.push('Onouye'); surnames.push('Omi'); surnames.push('Ono'); surnames.push('Orido'); surnames.push('Oshii'); surnames.push('Oshima'); surnames.push('Ota'); surnames.push('Otake'); surnames.push('Otani'); surnames.push('Otsuka'); surnames.push('Ouye'); surnames.push('Oyama'); surnames.push('Ri'); surnames.push('Sage'); surnames.push('Sagawa'); surnames.push('Saito'); surnames.push('Sakai'); surnames.push('Sakaki'); surnames.push('Sakakibara'); surnames.push('Sakamaki'); surnames.push('Sakamoto'); surnames.push('Sakata'); surnames.push('Sakuma'); surnames.push('Sakurai'); surnames.push('Sakuragi'); surnames.push('Sannai'); surnames.push('Sano'); surnames.push('Sanuki'); surnames.push('Sasaki'); surnames.push('Sato'); surnames.push('Satobayashi'); surnames.push('Satoshige'); surnames.push('Sawada'); surnames.push('Sawamura'); surnames.push('Seino'); surnames.push('Sekimoto'); surnames.push('Senda'); surnames.push('Seta'); surnames.push('Seto'); surnames.push('Shibata'); surnames.push('Shida'); surnames.push('Shigezawa'); surnames.push('Shiina'); surnames.push('Shimabukuro'); surnames.push('Shimada'); surnames.push('Shimadoi'); surnames.push('Shimamoto'); surnames.push('Shimamura'); surnames.push('Shimatani'); surnames.push('Shimazaki'); surnames.push('Shimazu'); surnames.push('Shimizu'); surnames.push('Shimura'); surnames.push('Shinjo'); surnames.push('Shinseki'); surnames.push('Shinohara'); surnames.push('Shinozuka'); surnames.push('Shintani'); surnames.push('Shirai'); surnames.push('Shiraishi'); surnames.push('Shiratori'); surnames.push('Shirayama'); surnames.push('Sho'); surnames.push('Shoji'); surnames.push('Soga'); surnames.push('Sogabe'); surnames.push('Sonoda'); surnames.push('Sotomura'); surnames.push('Sugawara'); surnames.push('Sugihara'); surnames.push('Sugimoto'); surnames.push('Sugiyama'); surnames.push('Sudo'); surnames.push('Sugo'); surnames.push('Suzukawa'); surnames.push('Suzuki'); surnames.push('Tachibana'); surnames.push('Tachikawa'); surnames.push('Tagawa'); surnames.push('Tahara'); surnames.push('Takada'); surnames.push('Takahashi'); surnames.push('Takagi'); surnames.push('Takaki'); surnames.push('Takamoto'); surnames.push('Takamura'); surnames.push('Takanashi'); surnames.push('Takanishi'); surnames.push('Takatsuka'); surnames.push('Takayama'); surnames.push('Takeda'); surnames.push('Takei'); surnames.push('Takenaka'); surnames.push('Tamiya'); surnames.push('Tamugaia'); surnames.push('Tamura'); surnames.push('Tanaka'); surnames.push('Taniguchi'); surnames.push('Tanimoto'); surnames.push('Tanouye'); surnames.push('Tashiro'); surnames.push('Tebi'); surnames.push('Tendo'); surnames.push('Terada'); surnames.push('Terasawa'); surnames.push('Terashima'); surnames.push('Terashita'); surnames.push('Terauchi'); surnames.push('Tezuka'); surnames.push('Todo'); surnames.push('Toguchi'); surnames.push('Tojo'); surnames.push('Tominaga'); surnames.push('Tominaka'); surnames.push('Tomita'); surnames.push('Tomooka'); surnames.push('Toriyama'); surnames.push('Toyoda'); surnames.push('Tsubata'); surnames.push('Tsuda'); surnames.push('Tsuchiya'); surnames.push('Tsugawa'); surnames.push('Tsuji'); surnames.push('Tsumoto'); surnames.push('Tsunekawa'); surnames.push('Tsunemoto'); surnames.push('Tsuneyoshi'); surnames.push('Tsunoda'); surnames.push('Tsurumaki'); surnames.push('Tsushiro'); surnames.push('Tsushima'); surnames.push('Tsutsui'); surnames.push('Tsutsuji'); surnames.push('Ubagai'); surnames.push('Ubai'); surnames.push('Ubaraki'); surnames.push('Uchibori'); surnames.push('Uchida'); surnames.push('Uchigasaki'); surnames.push('Uchihara'); surnames.push('Uchino'); surnames.push('Uchiyama'); surnames.push('Uda'); surnames.push('Udagawa'); surnames.push('Ueda'); surnames.push('Uematsu'); surnames.push('Ueno'); surnames.push('Uenuma'); surnames.push('Ueo'); surnames.push('Ueshiba'); surnames.push('Umemoto'); surnames.push('Umeno'); surnames.push('Umetsu'); surnames.push('Umezuka'); surnames.push('Uno'); surnames.push('Ura'); surnames.push('Urase'); surnames.push('Urashima'); surnames.push('Uraya'); surnames.push('Urayama'); surnames.push('Urushihara'); surnames.push('Urushiyama'); surnames.push('Usuda'); surnames.push('Usui'); surnames.push('Utagawa'); surnames.push('Utsubo'); surnames.push('Utsunomiya'); surnames.push('Uyama'); surnames.push('Uzuhara'); surnames.push('Wada'); surnames.push('Wakabayashi'); surnames.push('Wakamiya'); surnames.push('Wakamoto'); surnames.push('Wakayama'); surnames.push('Waki'); surnames.push('Washio'); surnames.push('Watabe'); surnames.push('Watamura'); surnames.push('Watanabe'); surnames.push('Yabuki'); surnames.push('Yada'); surnames.push('Yagi'); surnames.push('Yajima'); surnames.push('Yakamoto'); surnames.push('Yamada'); surnames.push('Yamagata'); surnames.push('Yamagishi'); surnames.push('Yamagoe'); surnames.push('Yamaguchi'); surnames.push('Yamamoto'); surnames.push('Yamamura'); surnames.push('Yamanaka'); surnames.push('Yamane'); surnames.push('Yamaoka'); surnames.push('Yamashiro'); surnames.push('Yamashita'); surnames.push('Yamato'); surnames.push('Yamauchi'); surnames.push('Yamazaki'); surnames.push('Yamazawa'); surnames.push('Yanagi'); surnames.push('Yanase'); surnames.push('Yano'); surnames.push('Yasuda'); surnames.push('Yatabe'); surnames.push('Yazawa'); surnames.push('Yokomine'); surnames.push('Yokomoto'); surnames.push('Yokoyama'); surnames.push('Yomoda'); surnames.push('Yonamine'); surnames.push('Yoneda'); surnames.push('Yonemura'); surnames.push('Yoshida'); surnames.push('Yoshii'); surnames.push('Yoshimoto'); surnames.push('Yoshimura'); surnames.push('Yoshinaga'); surnames.push('Yoshishige'); surnames.push('Yoshioka'); surnames.push('Yoshizaki'); surnames.push('Yoshizawa'); surnames.push('Yotsuya'); surnames.push('Yukimura'); surnames.push('Yukimoto'); surnames.push('Zenigata'); surnames.push('Zeniya'); surnames.push('Lee'); surnames.push('Li'); surnames.push('Wong'); surnames.push('Cheung'); surnames.push('Lau'); surnames.push('Chan'); surnames.push('Yeung'); surnames.push('Wong'); surnames.push('Chiu'); surnames.push('Chow'); surnames.push('Ng'); surnames.push('Tsui'); surnames.push('Suen'); surnames.push('Chu'); surnames.push('Ma'); surnames.push('Wu'); surnames.push('Kwok'); surnames.push('Lam'); surnames.push('Ho'); surnames.push('Ko'); surnames.push('Leung'); surnames.push('Cheng'); surnames.push('Lo'); surnames.push('Sung'); surnames.push('Tse'); surnames.push('Tong'); surnames.push('Hon'); surnames.push('Tso'); surnames.push('Hui'); surnames.push('Hooi'); surnames.push('Tang'); surnames.push('Siu'); surnames.push('Fung'); surnames.push('Tsang'); surnames.push('Ching'); surnames.push('Choi'); surnames.push('Pang'); surnames.push('Poon'); surnames.push('Yuen'); surnames.push('Yue'); surnames.push('Tung'); surnames.push('Yu'); surnames.push('Yue'); surnames.push('So'); surnames.push('Yip'); surnames.push('Lui'); surnames.push('Ngai'); surnames.push('Cheung'); surnames.push('Tin'); surnames.push('To'); surnames.push('Ting'); surnames.push('Sum'); surnames.push('Keung'); surnames.push('Fan'); surnames.push('Kong'); surnames.push('Fu'); surnames.push('Foo'); surnames.push('Chung'); surnames.push('Lo'); surnames.push('Wong'); surnames.push('Tai'); surnames.push('Chui'); surnames.push('Yam'); surnames.push('Luk'); surnames.push('Liu'); surnames.push('Yiu'); surnames.push('Fong'); surnames.push('Kam'); surnames.push('Yau'); surnames.push('Ha'); surnames.push('Tam'); surnames.push('Wai'); surnames.push('Ga'); surnames.push('Chow'); surnames.push('Sek'); surnames.push('Shek'); surnames.push('Hung'); surnames.push('Mang'); surnames.push('Tseun'); surnames.push('Tseon'); surnames.push('Chun'); surnames.push('Yim'); surnames.push('Sit'); surnames.push('Hau'); surnames.push('Lui'); surnames.push('Pak'); surnames.push('Lung'); surnames.push('Loong'); surnames.push('Tuen'); surnames.push('Kok'); surnames.push('Hung'); surnames.push('Shiu'); surnames.push('Sze'); surnames.push('Mo'); surnames.push('Sheung'); surnames.push('Man'); surnames.push('Gu'); surnames.push('Lai'); surnames.push('Mo'); surnames.push('Hong'); surnames.push('Ho'); surnames.push('Yim'); surnames.push('Wan'); surnames.push('Chin'); surnames.push('Sze'); surnames.push('Ngau'); surnames.push('Hung'); surnames.push('Kung'); surnames.push('Sheh'); surnames.push('Mak'); surnames.push('Chong'); surnames.push('Lo'); surnames.push('Lai'); surnames.push('Foo'); surnames.push('Ying'); surnames.push('Ngai'); surnames.push('Tou'); surnames.push('Kot'); } frame 230 { firstnick = new Array(); firstnick.push('awesome'); firstnick.push('amish'); firstnick.push('anthrax'); firstnick.push('anger'); firstnick.push('jack'); firstnick.push('aqua'); firstnick.push('ancient'); firstnick.push('auto'); firstnick.push('amber'); firstnick.push('ax'); firstnick.push('brainy'); firstnick.push('bull'); firstnick.push('blaster'); firstnick.push('bolt'); firstnick.push('boobs'); firstnick.push('bear'); firstnick.push('big'); firstnick.push('bone'); firstnick.push('blow'); firstnick.push('crap'); firstnick.push('car'); firstnick.push('cash'); firstnick.push('crazy'); firstnick.push('china'); firstnick.push('cool'); firstnick.push('clever'); firstnick.push('cleaver'); firstnick.push('color'); firstnick.push('cutter'); firstnick.push('cyber'); firstnick.push('doom'); firstnick.push('dead'); firstnick.push('death'); firstnick.push('dread'); firstnick.push('dome'); firstnick.push('dung'); firstnick.push('dish'); firstnick.push('dog'); firstnick.push('dark'); firstnick.push('dawg'); firstnick.push('excel'); firstnick.push('eel'); firstnick.push('electric'); firstnick.push('emotion'); firstnick.push('elite'); firstnick.push('egg'); firstnick.push('eon'); firstnick.push('eye'); firstnick.push('funky'); firstnick.push('fish'); firstnick.push('farter'); firstnick.push('finisher'); firstnick.push('first'); firstnick.push('full'); firstnick.push('fanny'); firstnick.push('fear'); firstnick.push('grime'); firstnick.push('garr'); firstnick.push('geck'); firstnick.push('gorgeous'); firstnick.push('giant'); firstnick.push('gigant'); firstnick.push('gifted'); firstnick.push('gravy'); firstnick.push('great'); firstnick.push('grand'); firstnick.push('good'); firstnick.push('groovy'); firstnick.push('hate'); firstnick.push('hat'); firstnick.push('hull'); firstnick.push('hole'); firstnick.push('happy'); firstnick.push('hideous'); firstnick.push('horrific'); firstnick.push('hula'); firstnick.push('hero'); firstnick.push('hyper'); firstnick.push('idiot'); firstnick.push('intense'); firstnick.push('irrita'); firstnick.push('ivory'); firstnick.push('ill'); firstnick.push('ion'); firstnick.push('jugs'); firstnick.push('joker'); firstnick.push('joy'); firstnick.push('jade'); firstnick.push('jump'); firstnick.push('job'); firstnick.push('jock'); firstnick.push('jaw'); firstnick.push('kill'); firstnick.push('kombat'); firstnick.push('kiss'); firstnick.push('kernel'); firstnick.push('KO'); firstnick.push('Klaus'); firstnick.push('loser'); firstnick.push('laugh'); firstnick.push('love'); firstnick.push('loose'); firstnick.push('lazy'); firstnick.push('leaf'); firstnick.push('loot'); firstnick.push('lace'); firstnick.push('monster'); firstnick.push('mighty'); firstnick.push('mystery'); firstnick.push('money'); firstnick.push('midget'); firstnick.push('maple'); firstnick.push('mate'); firstnick.push('max'); firstnick.push('nether'); firstnick.push('norse'); firstnick.push('notorious'); firstnick.push('noct'); firstnick.push('nap'); firstnick.push('noise'); firstnick.push('naval'); firstnick.push('null'); firstnick.push('ogre'); firstnick.push('owl'); firstnick.push('opera'); firstnick.push('oak'); firstnick.push('obnox'); firstnick.push('off'); firstnick.push('on'); firstnick.push('odd'); firstnick.push('play'); firstnick.push('power'); firstnick.push('plunder'); firstnick.push('photon'); firstnick.push('pro'); firstnick.push('pig'); firstnick.push('pear'); firstnick.push('quartz'); firstnick.push('quit'); firstnick.push('quick'); firstnick.push('quest'); firstnick.push('quiet'); firstnick.push('quiver'); firstnick.push('quat'); firstnick.push('rabid'); firstnick.push('robust'); firstnick.push('ringer'); firstnick.push('ripe'); firstnick.push('ravage'); firstnick.push('rainy'); firstnick.push('rancid'); firstnick.push('rear'); firstnick.push('soft'); firstnick.push('round'); firstnick.push('street'); firstnick.push('super'); firstnick.push('shove'); firstnick.push('saga'); firstnick.push('soft'); firstnick.push('shadow'); firstnick.push('small'); firstnick.push('sheer'); firstnick.push('sexy'); firstnick.push('slime'); firstnick.push('thunder'); firstnick.push('twat'); firstnick.push('twit'); firstnick.push('terminal'); firstnick.push('typo'); firstnick.push('terminator'); firstnick.push('transform'); firstnick.push('teleport'); firstnick.push('torture'); firstnick.push('taker'); firstnick.push('ultra'); firstnick.push('under'); firstnick.push('undie'); firstnick.push('up'); firstnick.push('usher'); firstnick.push('uller'); firstnick.push('ulser'); firstnick.push('voluptuous'); firstnick.push('viva'); firstnick.push('vex'); firstnick.push('vice'); firstnick.push('vapor'); firstnick.push('vague'); firstnick.push('wish'); firstnick.push('wash'); firstnick.push('wax'); firstnick.push('wabbit'); firstnick.push('wall'); firstnick.push('wonder'); firstnick.push('wiki'); firstnick.push('war'); firstnick.push('X'); firstnick.push('yawn'); firstnick.push('year'); firstnick.push('yummy'); firstnick.push('york'); firstnick.push('yay'); firstnick.push('yup'); firstnick.push('Z'); firstnick.push('zest'); firstnick.push('zoom'); firstnick.push('zap'); firstnick.push('zidane'); firstnick.push('zenny'); firstnick.push('zone'); } frame 231 { secondnick = new Array(); secondnick.push('assistant'); secondnick.push('apple'); secondnick.push('armor'); secondnick.push('angle'); secondnick.push('anchor'); secondnick.push('ape'); secondnick.push('angel'); secondnick.push('ace'); secondnick.push('boy'); secondnick.push('bear'); secondnick.push('beast'); secondnick.push('boar'); secondnick.push('bra'); secondnick.push('briefs'); secondnick.push('bull'); secondnick.push('bobs'); secondnick.push('bison'); secondnick.push('bikini'); secondnick.push('basher'); secondnick.push('butt'); secondnick.push('brick'); secondnick.push('cat'); secondnick.push('cop'); secondnick.push('chick'); secondnick.push('captain'); secondnick.push('commander'); secondnick.push('colonel'); secondnick.push('cheese'); secondnick.push('crook'); secondnick.push('crack'); secondnick.push('champion'); secondnick.push('devil'); secondnick.push('demon'); secondnick.push('daemon'); secondnick.push('destiny'); secondnick.push('dentist'); secondnick.push('dog'); secondnick.push('dawg'); secondnick.push('deer'); secondnick.push('drake'); secondnick.push('dancer'); secondnick.push('demolisher'); secondnick.push('elephant'); secondnick.push('eye'); secondnick.push('email'); secondnick.push('eurica'); secondnick.push('ewok'); secondnick.push('emperor'); secondnick.push('elf'); secondnick.push('egghead'); secondnick.push('fighter'); secondnick.push('father'); secondnick.push('fanny'); secondnick.push('girl'); secondnick.push('guy'); secondnick.push('general'); secondnick.push('gal'); secondnick.push('gay'); secondnick.push('god'); secondnick.push('grid'); secondnick.push('gear'); secondnick.push('gun'); secondnick.push('hype'); secondnick.push('hair'); secondnick.push('hand'); secondnick.push('hyena'); secondnick.push('horse'); secondnick.push('idiot'); secondnick.push('illusionist'); secondnick.push('ion'); secondnick.push('ix'); secondnick.push('irony'); secondnick.push('iron'); secondnick.push('jockey'); secondnick.push('joker'); secondnick.push('jingler'); secondnick.push('knight'); secondnick.push('kombatant'); secondnick.push('kid'); secondnick.push('king'); secondnick.push('lady'); secondnick.push('light'); secondnick.push('lad'); secondnick.push('layer'); secondnick.push('laser'); secondnick.push('man'); secondnick.push('monster'); secondnick.push('maker'); secondnick.push('match'); secondnick.push('mister'); secondnick.push('mistress'); secondnick.push('master'); secondnick.push('misery'); secondnick.push('night'); secondnick.push('ninja'); secondnick.push('norm'); secondnick.push('nose'); secondnick.push('neanderthal'); secondnick.push('nexus'); secondnick.push('nipples'); secondnick.push('ogre'); secondnick.push('orc'); secondnick.push('ox'); secondnick.push('operator'); secondnick.push('odyssey'); secondnick.push('oz'); secondnick.push('player'); secondnick.push('punk'); secondnick.push('pawn'); secondnick.push('pwner'); secondnick.push('paladin'); secondnick.push('peddlar'); secondnick.push('pebble'); secondnick.push('pussy'); secondnick.push('punisher'); secondnick.push('poly'); secondnick.push('queen'); secondnick.push('rabbit'); secondnick.push('rogue'); secondnick.push('rod'); secondnick.push('round'); secondnick.push('sexy'); secondnick.push('sorceror'); secondnick.push('sorceress'); secondnick.push('stripper'); secondnick.push('samurai'); secondnick.push('shadow'); secondnick.push('slider'); secondnick.push('sensation'); secondnick.push('stud'); secondnick.push('soap'); secondnick.push('twit'); secondnick.push('toot'); secondnick.push('troll'); secondnick.push('traitor'); secondnick.push('traveller'); secondnick.push('twister'); secondnick.push('taker'); secondnick.push('talon'); secondnick.push('thong'); secondnick.push('trunks'); secondnick.push('under'); secondnick.push('vixen'); secondnick.push('velvet'); secondnick.push('woman'); secondnick.push('warrior'); secondnick.push('warlock'); secondnick.push('warlord'); secondnick.push('X'); secondnick.push('yoyo'); secondnick.push('yogurt'); secondnick.push('Z'); } frame 232 { function make_my_name(sex) { tunak = random(5); if (random(3) == 0) { fname = firstnick[random(firstnick.length)]; lname = ''; if (random(4) > 0) { if (random(2)) { if (tunak == 0) { fname += '_of_'; } else { fname += '_'; } } if (random(4) == 0) { lname += firstnick[random(firstnick.length)]; } else { lname += secondnick[random(secondnick.length)]; } if (tunak == 0) { lname += 's'; } } rrr = random(5); if (rrr > 0) { y = 1; while (y <= rrr) { lname += random(10); ++y; } } lname += ' '; return fname + lname; } if (sex == 0) { fname = names[random(names.length)] + ' '; } else { fname = names2[random(names2.length)] + ' '; } lname = surnames[random(surnames.length)] + ' '; return fname + lname; } match = 0; } frame 233 { conqmessage = 'Welcome to War & Beyond Conqueror Mode.'; stop(); } movieClip 8715 { } // unknown tag 88 length 148 movieClip 8720 { } button 8725 { on (release) { _root.doresearch(_parent); } } button 8727 { on (release) { _root.dotechup(_parent); } } button 8729 { on (release) { _root.attacko(_parent); } } movieClip 8731 { frame 1 { stop(); } frame 2 { play(); } frame 53 { stop(); } frame 54 { play(); } frame 105 { stop(); } frame 106 { stop(); } instance of movieClip 8720 { onClipEvent (enterFrame) { _rotation = _rotation + 3; } } frame 107 { stop(); } frame 108 { stop(); } frame 109 { stop(); } frame 110 { stop(); } } movieClip 8733 { } movieClip 8737 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8742 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8747 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8752 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8757 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8762 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8767 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8772 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8777 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8782 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8787 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8792 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8797 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8802 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8807 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8812 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8817 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8822 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8827 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8832 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8837 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _root.runbutton(this); ownerrecord = 0; foundowner = 0; pl = 0; while (pl < _root.conq_players.length) { pm = 0; while (pm < _root.conq_players[pl].pdivisions.length) { if (_root.conq_players[pl].pdivisions[pm] == _name) { ownerrecord = pl; foundowner = 1; break; } ++pm; } ++pl; } if (foundowner) { this.filters = new Array(new flash.filters.ColorMatrixFilter(getcoloros2(_root.conq_players[ownerrecord].pcolor, 1))); } else { star._visible = false; } } frame 2 { stop(); } frame 9 { stop(); } frame 14 { gotoAndStop(2); } } movieClip 8839 { } movieClip 8842 { frame 6 { stop(); } } frame 234 { conqmessage = 'Players take turns to move. Each move, you can do research, upgrade tech level and invade a territory.'; stop(); } frame 235 { conqmessage = 'If you lose all your land, you lose the game. If you wipe out all other commanders, you win.'; stop(); } frame 236 { conqmessage = 'You can save and quit the game if you want, and continue later. But you need to come back to this website to continue.'; stop(); } frame 237 { function runbutton(thisi) { thisi.infor.onPress = function () { cdivnumber = 0; ci = 0; while (ci < conq_divs.length) { if (conq_divs[ci].dname == thisi._name) { cdivnumber = ci; } ++ci; } _root.div_infobg._alpha = 100; _root.conq_info = 'Division ' + thisi._name.substr(1, 2); _root.conq_info += ' <<' + _root.conq_divs[cdivnumber].owner + '>>\n'; _root.conq_info2 = 'Tech : ' + _root.conq_divs[cdivnumber].techlevel + '\n'; _root.conq_info2 += 'Research :' + _root.conq_divs[cdivnumber].researchlevels + '\n'; _root.conq_info3 = 'Resources:\n'; totalincome = 0; co = 0; while (co < _root.conq_divs[cdivnumber].resourceslist.length) { _root.conq_info3 += co + 1 + ' ' + _root.conq_divs[cdivnumber].resourceslist[co] + ' $' + _root.conq_divs[cdivnumber].resources[co] + '\n'; totalincome += _root.conq_divs[cdivnumber].resources[co]; ++co; } _root.conq_info2 += '\nTotal Income Per Turn: $' + totalincome + '\n'; thisi.gotoAndPlay(3); }; thisi.infor.onRelease = function () { _root.conq_info = ''; _root.conq_info2 = ''; _root.conq_info3 = ''; _root.div_infobg._alpha = 0; thisi.gotoAndPlay(10); }; } conqname = _root.commandername0; conqhouse = _root.startinghouse0; conqstartingdiv = 'd1'; conqcolor = _root.startingcolor0; no_of_players = conq__players; max_difficulty = conq__maxai; theturn = 0; conqcashallo = 0; maxconqcashallo = 0; conqsurrender = 0; conqwin = 0; } frame 238 { wbaic_conq = new Array(); wbaic_conq.push('0165641295035092020505659001328593769000501570303012650501831145067596161000328825080050335782650012618951316003333695439130926505063000301317882001118100825000100100500300013726693150817153645187663551755465578590000004157356521~c~'); wbaic_conq.push('0003550462416095461223514003939572929095091692616002944653359003550594228052972500907033169655759033335613550000000656967295050505050010101619395009903260300000903999999000061991699555155555155578856887785555555516846003055455511~c~'); wbaic_conq.push('1019789050709118995111113058456111111096180111111056946090001137267141613137670141111136772161313015050010101015050050505015050000001005050010109505050505050505050505050505050505050555555555555555555555555555555534435431558534621~c~'); wbaic_conq.push('1000035560000000000501800000000870954000007675033005024160000000000983556010020500000010000630000160922500518000000590000000000205050000031501816000000990000001618592014000000379950000000000111133311111877511165111009092580386101~c~'); wbaic_conq.push('1070000702020001650330000001422501301000000500916011428160000012624000000033716221300000326241301004450000000004626052013000000184842000037130000005000140000000000509922000050990335216615578618878526155755888858893200022261415821~c~'); wbaic_conq.push('2001316630303002431591109000000503124000000241835003333332007000000503350002050290000000720501414004435650918005050505050001128743314000000287676005014200300000007549526001118800922221688578112275886622758218878880003001656445501~c~'); wbaic_conq.push('2004124030718000000761413000000972674000000502450005028161101000000506167002028502214000714653305005050130000003509310029000720460014000000079995505050505050505050505050505050505050211125545125355521123445213335210905063550396021~c~'); wbaic_conq.push('3002831260007000714500928005003160000000031540000001329500000050914500016000507502029000003692950000016391318003950500000000716442842000000241350008500800005001420579841003509592926555177848555547751655478815533288881113053465301~c~'); wbaic_conq.push('2002937502007001326632818000713501400002822501350000013502411003511243961001450502411000000632609002635290000002609505029001350500909005000261122000313761850005013090000005050505050217785645555555555555466575555590003003856435621~c~'); wbaic_conq.push('0002637410111000000502050002050310000001816502416002050931409010011502629000000502033000000675069000000760513003728330000000020505000000000206956005918000000000000166728505050505050555555555555555555555555565575110000991575396001~c~'); wbaic_conq.push('0007429090100002033500000002828310000002816520000002850930000010000502650000000502063000000673169000000762469000000563350000000502852000000484257005918000000000000166728505050505050111135553555555555555555555555580000001766435601~c~'); wbaic_conq.push('1003124140700000007505050001413501114000011982250001613522220000124933350004124540000000018501811001329652989003157501411000000165961002426500505005028220000003314630100505050505050211123342666755771123443267757717700771062445501~c~'); wbaic_conq.push('3002831260007000714500928005003160000000031540000001329500000050914500016000507502029000003692950000016391318003950500000000716442842000000241350008500800005001420579841003509592926555177848555547751655478815533288881113053465301~c~'); wbaic_conq.push('3000709500711002014501433001118500707001120501103000916501305000713502005001118501100000516502007002926501400000309505050000011542222002650331400000000359897000000990000009900200000888877767888866551123443213333272200002554475211~c~'); conq_divs = new Array(); conq_divs.push({'dname': 'd1', 'owner': 'free', 'resourceslist': ['Coal', 'Oil', 'Oil', 'City', 'City'], 'resources': [60, 275, 275, 100, 100], 'bg': 3, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d4', 'd5', 'd2']}); conq_divs.push({'dname': 'd2', 'owner': 'free', 'resourceslist': ['City', 'Agriculture'], 'resources': [100, 50], 'bg': 2, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d1', 'd5', 'd6', 'd7', 'd3']}); conq_divs.push({'dname': 'd3', 'owner': 'free', 'resourceslist': ['Gold', 'City'], 'resources': [150, 100], 'bg': 11, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d2', 'd7', 'd8']}); conq_divs.push({'dname': 'd4', 'owner': 'free', 'resourceslist': ['Oil', 'City', 'City', 'City', 'City'], 'resources': [275, 100, 100, 100, 100], 'bg': 7, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d1', 'd5', 'd13']}); conq_divs.push({'dname': 'd5', 'owner': 'free', 'resourceslist': ['Diamond', 'Gold'], 'resources': [500, 150], 'bg': 12, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d1', 'd2', 'd6', 'd10', 'd11', 'd13', 'd4']}); conq_divs.push({'dname': 'd6', 'owner': 'free', 'resourceslist': ['City', 'City'], 'resources': [100, 100], 'bg': 9, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d2', 'd5', 'd10', 'd12', 'd7']}); conq_divs.push({'dname': 'd7', 'owner': 'free', 'resourceslist': ['City'], 'resources': [100], 'bg': 5, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d2', 'd3', 'd8', 'd16', 'd15', 'd12', 'd6']}); conq_divs.push({'dname': 'd8', 'owner': 'free', 'resourceslist': ['Diamond', 'City', 'City', 'City'], 'resources': [500, 100, 100, 100], 'bg': 6, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d3', 'd9', 'd16', 'd7']}); conq_divs.push({'dname': 'd9', 'owner': 'free', 'resourceslist': ['Oil', 'Agriculture'], 'resources': [275, 50], 'bg': 2, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d8', 'd16']}); conq_divs.push({'dname': 'd10', 'owner': 'free', 'resourceslist': ['City', 'City', 'City', 'City', 'City'], 'resources': [100, 100, 100, 100, 100], 'bg': 11, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d5', 'd6', 'd12', 'd14', 'd11']}); conq_divs.push({'dname': 'd11', 'owner': 'free', 'resourceslist': ['City'], 'resources': [100], 'bg': 4, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d5', 'd10', 'd14', 'd13']}); conq_divs.push({'dname': 'd12', 'owner': 'free', 'resourceslist': ['City', 'City'], 'resources': [100, 100], 'bg': 3, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d14', 'd10', 'd6', 'd7', 'd15']}); conq_divs.push({'dname': 'd13', 'owner': 'free', 'resourceslist': ['Coal', 'City', 'City', 'Agriculture'], 'resources': [60, 100, 100, 50], 'bg': 10, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d4', 'd5', 'd11', 'd14', 'd18', 'd17', 'd20']}); conq_divs.push({'dname': 'd14', 'owner': 'free', 'resourceslist': ['Gold', 'Platinum'], 'resources': [150, 200], 'bg': 9, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d13', 'd11', 'd10', 'd12']}); conq_divs.push({'dname': 'd15', 'owner': 'free', 'resourceslist': ['City', 'City', 'City', 'Agriculture'], 'resources': [100, 100, 100, 50], 'bg': 10, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d12', 'd7', 'd16']}); conq_divs.push({'dname': 'd16', 'owner': 'free', 'resourceslist': ['Oil', 'City', 'City', 'City'], 'resources': [275, 100, 100, 100], 'bg': 6, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d15', 'd7', 'd8', 'd9']}); conq_divs.push({'dname': 'd17', 'owner': 'free', 'resourceslist': ['City', 'City'], 'resources': [100, 100], 'bg': 7, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d13', 'd18', 'd19', 'd20']}); conq_divs.push({'dname': 'd18', 'owner': 'free', 'resourceslist': ['Coal', 'Oil', 'City', 'City'], 'resources': [60, 275, 100, 100], 'bg': 10, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d17', 'd13', 'd20']}); conq_divs.push({'dname': 'd19', 'owner': 'free', 'resourceslist': ['City'], 'resources': [100], 'bg': 3, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d17', 'dd20', 'd21']}); conq_divs.push({'dname': 'd20', 'owner': 'free', 'resourceslist': ['City'], 'resources': [100], 'bg': 4, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d17', 'd13', 'd18', 'd19', 'd21']}); conq_divs.push({'dname': 'd21', 'owner': 'free', 'resourceslist': ['City'], 'resources': [100], 'bg': 7, 'researchlevels': 0, 'techlevel': 0, 'connections': ['d19', 'd20']}); conq_houses = ['bng', 'mf', 'jac', 'smc']; conq_colors = ['v', 'p', 'f', 'l', 't', 'n', 'a']; conq_players = new Array(); conqturn = random(no_of_players); conqdiv = 'd' + (random(21) + 1); conqi = 0; while (conqi < no_of_players) { if (conqi == conqturn) { conq_players.push({'pname': conqname, 'pwbaic': wbaic_conq[random(wbaic_conq.length)] + conqname, 'phouse': conqhouse, 'pmoney': 5000, 'pdivisions': [conqdiv], 'pcolor': conqcolor, 'pdifficulty': 1, 'pwins': 0, 'plosses': 0}); for (ci in conq_divs) { if (conq_divs[ci].dname == conqdiv) { conq_divs[ci].owner = conqname; } } } else { trace('===========Start==='); colortaken = 1; my__color = conq_colors[random(7)]; while (my__color == conqcolor) { my__color = conq_colors[random(7)]; } trace(my__color); for (;;) { if (!(colortaken && conq_players.length > 0)) break; my__color = conq_colors[random(7)]; trace('---' + my__color); conqo = 0; while (conqo < conq_players.length) { if (conq_players[conqo].pcolor == my__color || my__color == conqcolor) { trace('---Conqcolor:' + conqcolor); trace('---Other player:' + conq_players[conqo].pcolor); colortaken = 1; trace('taken'); break; } else { colortaken = 0; } ++conqo; } } trace('=============End========\n\n'); trace('===========Start==='); divtaken = 1; my__div = 'd' + (random(21) + 1); while (my__div == conqdiv) { my__div = 'd' + (random(21) + 1); } trace(my__div); for (;;) { if (!(divtaken && conq_players.length > 0)) break; my__div = 'd' + (random(21) + 1); trace('---' + my__div); conqo = 0; while (conqo < conq_players.length) { if (conq_players[conqo].pdivisions[0] == my__div || my__div == conqdiv) { trace('---Conqdiv:' + conqdiv); trace('---Other player:' + conq_players[conqo].pdivisions[0]); divtaken = 1; trace('taken'); break; } else { divtaken = 0; } ++conqo; } } trace('=============End========\n\n'); conq_cpuplayername = make_my_name(random(2)); conq_players.push({'pname': conq_cpuplayername, 'pwbaic': wbaic_conq[random(wbaic_conq.length)] + conq_cpuplayername, 'phouse': conq_houses[random(4)], 'pmoney': 5000, 'pcolor': my__color, 'pdivisions': [my__div], 'pdifficulty': random(max_difficulty) + 1, 'pwins': 0, 'plosses': 0}); for (ci in conq_divs) { if (conq_divs[ci].dname == my__div) { conq_divs[ci].owner = conq_cpuplayername; } } } ++conqi; } } frame 239 { if (conqcontinuegame) { loadconqq = SharedObject.getLocal('wbdsconq'); if (loadconqq.data.conqname != undefined) { conqname = loadconqq.data.conqname; conqhouse = loadconqq.data.conqhouse; conqcolor = loadconqq.data.conqcolor; no_of_players = loadconqq.data.no_of_players; max_difficulty = loadconqq.data.max_difficulty; theturn = loadconqq.data.theturn; conq_divs = loadconqq.data.conq_divs; conq_players = loadconqq.data.conq_players; } } } frame 240 { for (ci in conq_players) { trace('Name:\t' + conq_players[ci].pname); trace('House:\t' + conq_players[ci].phouse); trace('Divi:\t' + conq_players[ci].pdivisions); trace('Color:\t' + conq_players[ci].pcolor); trace('Diff:\t' + conq_players[ci].pdifficulty); trace('Wins:\t' + conq_players[ci].pwins); trace('Loss:\t' + conq_players[ci].plosses); trace('---------------------------------------------'); } } frame 241 { whoseturn = conq_players[theturn].pname + '\'s Turn'; } movieClip 8848 { } button 8851 { on (release) { conqplayerinfo._alpha = 100; } } movieClip 8855 { frame 1 { _alpha = 0; } } button 8860 { on (release) { ++playercounter; play(); } } button 8863 { on (release) { --playercounter; play(); } } movieClip 8873 { } button 8874 { on (release) { _alpha = 0; } } movieClip 8875 { frame 1 { function getcoloros2(thecolor, alpha) { switch (thecolor) { return storedv2; case 'a': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'b': var v2 = new Array(-0.8, 0.7, 0.7, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'c': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.7, -0.6, 0.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'd': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.7, -0.8, 0.7, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'e': var v2 = new Array(-0.9, 0.8, 0.8, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'f': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'g': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'h': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 1.4, -1.5, 1.4, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'i': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.9, -1, 0.9, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'j': var v2 = new Array(-0.6, 0.5, 0.5, 0, 0, 0.5, -0.6, 0.5, 0, 0, 0.9, 0.9, -1, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'k': var v2 = new Array(-0.5, 0.4, 0.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'l': var v2 = new Array(-0.2, 0.1, 0.1, 0, 0, 1.1, -1.2, 1.1, 0, 0, 1.5, 1.5, -1.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'm': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 1.7, -1.8, 1.7, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'n': var v2 = new Array(-1.5, 1.4, 1.4, 0, 0, 0.7, -0.8, 0.7, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'o': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 1.1, 1.1, -1.2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'p': var v2 = new Array(-1, 0.9, 0.9, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.5, 0.5, -0.6, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'q': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 0.4, -0.5, 0.4, 0, 0, 0.4, 0.4, -0.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'r': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.2, -1.3, 1.2, 0, 0, 0.95, 0.95, -1.05, 0, 0, 0, 0, 0, alpha, 0); return v2; case 's': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, alpha, 0); return v2; case 't': var v2 = new Array(-1.65, 1.55, 1.55, 0, 0, 1.55, -1.65, 1.55, 0, 0, 0.7, 0.7, -0.8, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'u': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.4, 1.4, -1.5, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'v': var v2 = new Array(-2, 1.9, 1.9, 0, 0, 1.9, -2, 1.9, 0, 0, 1.9, 1.9, -2, 0, 0, 0, 0, 0, alpha, 0); return v2; case 'w': var v2 = new Array(-1.3, 1.2, 1.2, 0, 0, 1.2, -1.3, 1.2, 0, 0, 1.2, 1.2, -1.3, 0, 0, 0, 0, 0, alpha, 0); return v2; } return storedv2; } _alpha = 0; playercounter = 0; } instance colorball of movieClip 8873 { onClipEvent (load) { this.filters = new Array(new flash.filters.ColorMatrixFilter(_parent.getcoloros2(_root.conq_players[_parent.playercounter].pcolor, 1))); } } frame 2 { infoname = _root.conq_players[playercounter].pname; infohouse = _root.conq_players[playercounter].phouse.toUpperCase(); infodivs = 'Divisions:' + _root.conq_players[playercounter].pdivisions.length; infowinslosses = 'Wins:\t' + _root.conq_players[playercounter].pwins + '\n'; infowinslosses += 'Losses:\t' + _root.conq_players[playercounter].plosses + '\n'; stop(); } frame 3 { if (playercounter < 0) { playercounter = _root.conq_players.length - 1; } else { if (playercounter == _root.conq_players.length) { playercounter = 0; } } gotoAndStop(_currentframe - 1); } } frame 320 { conqearnedcash = 0; hi = 0; while (hi < conq_divs.length) { if (conq_divs[hi].owner == conq_players[theturn].pname) { ri = 0; while (ri < conq_divs[hi].resources.length) { conqearnedcash += conq_divs[hi].resources[ri]; ++ri; } } ++hi; } conq_players[theturn].pmoney += conqearnedcash; conqmessage = conq_players[theturn].pname + ' earns ' + conqearnedcash + ' from conquered divisions. '; if (conq_players[theturn].pname == conqname) { conqmessage = 'You earn ' + conqearnedcash + ' from conquered divisions. '; } conqmenum = 0; dfim = 0; while (dfim < conq_players.length) { if (conq_players[dfim].pname == conqname) { conqmenum = dfim; } ++dfim; } mycash = conq_players[conqmenum].pmoney; stop(); } frame 322 { if (conq_players[theturn].pname == conqname) { conqmessage = 'Click on a division\'s research button to conduct research for that division for $1000. During battle, divisions with research done will be "Research Ready" '; if (conq_players[theturn].pmoney >= 1000) { _root.doresearch = function (thisi) { divtoresearch = thisi._name; trace(thisi._name); xmas = 0; while (xmas < conq_players[theturn].pdivisions.length) { conqmap[conq_players[theturn].pdivisions[xmas]].star.gotoAndStop(1); ++xmas; } hi = 0; while (hi < conq_divs.length) { if (conq_divs[hi].dname == divtoresearch && conq_divs[hi].researchlevels == 0) { conq_divs[hi].researchlevels = 1; conq_players[theturn].pmoney -= 1000; conqmessage = 'Research on Division ' + divtoresearch.substr(1, 2) + '. is finished. Click Proceed.'; conqmap[conq_divs[hi].dname].star.gotoAndPlay('researchup'); break; } ++hi; } }; xmas = 0; while (xmas < conq_players[theturn].pdivisions.length) { hi = 0; while (hi < conq_divs.length) { if (conq_divs[hi].dname == conq_players[theturn].pdivisions[xmas] && conq_divs[hi].researchlevels == 0) { conqmap[conq_divs[hi].dname].star.gotoAndStop('doresearch'); break; } ++hi; } ++xmas; } } else { conqmessage = 'You need at least 1000 cash to do any division research... Click Proceed'; } } else { conqmessage = conq_players[theturn].pname + ' is not doing any researches at the moment...'; conqresearchornot = random(2); if (conqresearchornot) { divtoresearch = conq_players[theturn].pdivisions[random(conq_players[theturn].pdivisions.length)]; if (conq_players[theturn].pmoney >= 3000) { hi = 0; while (hi < conq_divs.length) { if (conq_divs[hi].dname == divtoresearch && conq_divs[hi].researchlevels == 0) { conq_divs[hi].researchlevels = 1; conq_players[theturn].pmoney -= 1000; conqmessage = conq_players[theturn].pname + ' finishes research on Division ' + divtoresearch.substr(1, 2) + '. '; conqmap[conq_divs[hi].dname].star.gotoAndPlay('researchup'); break; } ++hi; } } } } conqmenum = 0; dfim = 0; while (dfim < conq_players.length) { if (conq_players[dfim].pname == conqname) { conqmenum = dfim; } ++dfim; } mycash = conq_players[conqmenum].pmoney; stop(); } frame 324 { if (conq_players[theturn].pname == conqname) { conqmessage = 'Click on a division\'s tech button to increase tech for that division for $500.'; if (conq_players[theturn].pmoney >= 1000) { _root.dotechup = function (thisi) { divtotechup = thisi._name; trace(thisi._name); xmas = 0; while (xmas < conq_players[theturn].pdivisions.length) { conqmap[conq_players[theturn].pdivisions[xmas]].star.gotoAndStop(1); ++xmas; } hi = 0; while (hi < conq_divs.length) { if (conq_divs[hi].dname == divtotechup) { ++conq_divs[hi].techlevel; conq_players[theturn].pmoney -= 500; conqmessage = 'Division ' + divtotechup.substr(1, 2) + ' tech level increased. Click Proceed. '; conqmap[conq_divs[hi].dname].star.gotoAndPlay('techup'); break; } ++hi; } }; xmas = 0; while (xmas < conq_players[theturn].pdivisions.length) { hi = 0; while (hi < conq_divs.length) { if (conq_divs[hi].dname == conq_players[theturn].pdivisions[xmas] && conq_divs[hi].techlevel < 5) { conqmap[conq_divs[hi].dname].star.gotoAndStop('dotechup'); break; } ++hi; } ++xmas; } } else { conqmessage = 'You need at least 500 cash to increase division tech... Click Proceed'; } } else { conqmessage = conq_players[theturn].pname + ' is not upgrading tech levels at the moment...'; countten = 1; do { divtotech = conq_players[theturn].pdivisions[random(conq_players[theturn].pdivisions.length)]; divtotechnum = 0; hi = 0; while (hi < conq_divs.length) { if (conq_divs[hi].dname == divtotech) { divtotechnum = hi; break; } ++hi; } ++countten; } while (conq_divs[divtotechnum].techlevel >= 5 && countten < 10); if (conq_players[theturn].pmoney >= 2500 && conq_divs[divtotechnum].techlevel < 5) { ++conq_divs[divtotechnum].techlevel; conq_players[theturn].pmoney -= 500; conqmessage = conq_players[theturn].pname + ' increases tech level on Division ' + divtotech.substr(1, 2) + '. '; conqmap[conq_divs[divtotechnum].dname].star.gotoAndPlay('techup'); } } conqmenum = 0; dfim = 0; while (dfim < conq_players.length) { if (conq_players[dfim].pname == conqname) { conqmenum = dfim; } ++dfim; } mycash = conq_players[conqmenum].pmoney; stop(); } frame 326 { conqmessage = conq_players[theturn].pname + ' is not attacking at the moment...'; attackwhichnumber = 0; attackanyone = 0; xmas = 0; while (xmas < conq_players[theturn].pdivisions.length) { conqmap[conq_players[theturn].pdivisions[xmas]].star.gotoAndStop(1); ++xmas; } conqdivtostart_name = ''; conqdivtostart_number = 0; conqdivstoattack_name = new Array(); conqdivstoattack_number = new Array(); chi = 0; while (chi < conq_players[theturn].pdivisions.length) { hi = 0; while (hi < conq_divs.length) { if (conq_divs[hi].dname == conq_players[theturn].pdivisions[chi]) { shi = 0; while (shi < conq_divs[hi].connections.length) { zhi = 0; while (zhi < conq_divs.length) { if (conq_divs[zhi].dname == conq_divs[hi].connections[shi]) { if (conq_divs[zhi].owner != conq_players[theturn].pname) { conqdivtostart_name = conq_divs[hi].dname; conqdivtostart_number = hi; conqdivstoattack_name.push(conq_divs[zhi].dname); conqdivstoattack_number.push(zhi); } } ++zhi; } ++shi; } } ++hi; } ++chi; } for (rp in conqdivstoattack_number) { conqmessage += conq_divs[conqdivstoattack_number[rp]].dname + '...'; } if (conq_players[theturn].pname == conqname) { conqmessage = 'Click on a division\'s invade button to attack!'; attacko = function (thisi) { _root.attackanyone = 1; divtoattack = thisi._name; trace(thisi._name); xmas = 0; while (xmas < conq_players[theturn].pdivisions.length) { conqmap[conq_players[theturn].pdivisions[xmas]].star.gotoAndStop(1); ++xmas; } hi = 0; while (hi < conq_divs.length) { if (conq_divs[hi].dname == divtoattack) { attackwhichnumber = hi; break; } ++hi; } if (conq_divs[attackwhichnumber].owner == 'free') { conqfreediv = 1; } else { conqfreediv = 0; } play(); }; hi = 0; while (hi < conqdivstoattack_number.length) { conqmap[conq_divs[conqdivstoattack_number[hi]].dname].star._visible = true; conqmap[conq_divs[conqdivstoattack_number[hi]].dname].star.gotoAndStop('attacko'); ++hi; } } else { conqfreediv = 0; tyt = 0; while (tyt < conqdivstoattack_number.length) { if (conq_divs[conqdivstoattack_number[tyt]].owner == 'free') { conqfreediv = 1; conqmessage = conq_players[theturn].pname + ' is scouting free area ' + conq_divs[conqdivstoattack_number[tyt]].dname; conqmap[conq_divs[conqdivstoattack_number[tyt]].dname].star._visible = true; conqmap[conq_divs[conqdivstoattack_number[tyt]].dname].star.gotoAndStop('scouting'); conqmap[conq_divs[conqdivstoattack_number[tyt]].dname].star.filters = new Array(new flash.filters.ColorMatrixFilter(conqmap[conq_divs[conqdivstoattack_number[tyt]].dname].getcoloros2(_root.conq_players[theturn].pcolor, 1))); attackwhichnumber = conqdivstoattack_number[tyt]; break; } ++tyt; } if (conqfreediv == 0) { conqchooser = random(conqdivstoattack_number.length); conqmessage = conq_players[theturn].pname + ' is scouting ' + conq_divs[conqdivstoattack_number[conqchooser]].dname; conqmap[conq_divs[conqdivstoattack_number[conqchooser]].dname].star._visible = true; conqmap[conq_divs[conqdivstoattack_number[conqchooser]].dname].star.gotoAndStop('scouting'); conqmap[conq_divs[conqdivstoattack_number[conqchooser]].dname].star.filters = new Array(new flash.filters.ColorMatrixFilter(conqmap[conq_divs[conqdivstoattack_number[tyt]].dname].getcoloros2(_root.conq_players[theturn].pcolor, 1))); attackwhichnumber = conqdivstoattack_number[conqchooser]; } } conqmenum = 0; dfim = 0; while (dfim < conq_players.length) { if (conq_players[dfim].pname == conqname) { conqmenum = dfim; } ++dfim; } mycash = conq_players[conqmenum].pmoney; stop(); } frame 328 { conqmessage = conq_players[theturn].pname + ' decides not to attack...'; conq_defendoptions._visible = false; conq_attackoptions._visible = false; xmas = 0; while (xmas < conq_divs.length) { conqmap[conq_divs[xmas].dname].star.gotoAndStop(1); ++xmas; } if (conq_players[theturn].pname == conqname) { if (attackanyone) { trace(conqfreediv); if (conqfreediv) { trace('woohoo'); conqmessage = conq_players[theturn].pname + ' conquers free area ' + conq_divs[attackwhichnumber].dname; conqmap[conq_divs[attackwhichnumber].dname].star._visible = true; conqmap[conq_divs[attackwhichnumber].dname].star.gotoAndStop('conquered'); conqmap[conq_divs[attackwhichnumber].dname].filters = new Array(new ColorMatrixFilter(conqmap[conq_divs[attackwhichnumber].dname].getcoloros2(_root.conq_players[theturn].pcolor, 1))); conq_players[theturn].pdivisions.push(conq_divs[attackwhichnumber].dname); conq_divs[attackwhichnumber].owner = conq_players[theturn].pname; conq_defendoptions._visible = false; } else { conqwin = 0; conqmessage = 'Allocate funds for the attack!'; conqmap[conq_divs[attackwhichnumber].dname].star._visible = true; conqmap[conq_divs[attackwhichnumber].dname].star.gotoAndStop('scouting'); conqcashallo = int(conq_players[theturn].pmoney * 0.6); maxconqcashallo = conq_players[theturn].pmoney; conq_attackoptions._visible = true; defendernumber = 0; dfi = 0; while (dfi < conq_players.length) { if (conq_players[dfi].pname == conq_divs[attackwhichnumber].owner) { defendernumber = dfi; } ++dfi; } cashfordefense = conq_players[defendernumber].pmoney * (50 + random(30)) / 100; trace('---' + defendernumber); trace(conq_divs[attackwhichnumber].owner); trace(conq_players[defendernumber].pmoney); trace(maxconqcashallo + '---'); } } else { _root.gotoAndPlay('endturn'); } } else { if (conqfreediv) { conqmessage = conq_players[theturn].pname + ' conquers free area ' + conq_divs[attackwhichnumber].dname; conqmap[conq_divs[attackwhichnumber].dname].star._visible = true; conqmap[conq_divs[attackwhichnumber].dname].star.gotoAndStop('conquered'); conqmap[conq_divs[attackwhichnumber].dname].filters = new Array(new ColorMatrixFilter(conqmap[conq_divs[attackwhichnumber].dname].getcoloros2(_root.conq_players[theturn].pcolor, 1))); conq_players[theturn].pdivisions.push(conq_divs[attackwhichnumber].dname); conq_divs[attackwhichnumber].owner = conq_players[theturn].pname; conq_defendoptions._visible = false; } else { randomero = random(4); if (conq_players[theturn].pmoney > 2500 && randomero > 0) { defendernumber = 0; dfi = 0; while (dfi < conq_players.length) { if (conq_players[dfi].pname == conq_divs[attackwhichnumber].owner) { defendernumber = dfi; } ++dfi; } cashforattack = 2000 + int((conq_players[theturn].pmoney - 2000) * random(80) / 100); if (conq_players[defendernumber].pname != conqname) { cashfordefense = conq_players[defendernumber].pmoney * (50 + random(30)) / 100; } attackerpoints = conq_players[theturn].pdifficulty * 100 + cashforattack; defenderpoints = conq_players[defendernumber].pdifficulty * 100 + cashfordefense; if (conq_players[defendernumber].pname != conqname) { conq_defendoptions._visible = false; if (random(attackerpoints + defenderpoints) < attackerpoints) { conqmap[conq_divs[attackwhichnumber].dname].star._visible = true; conqmap[conq_divs[attackwhichnumber].dname].star.gotoAndStop('conquered'); conqmap[conq_divs[attackwhichnumber].dname].filters = new Array(new ColorMatrixFilter(conqmap[conq_divs[attackwhichnumber].dname].getcoloros2(_root.conq_players[theturn].pcolor, 1))); ++conq_players[theturn].pwins; ++conq_players[defendernumber].plosses; conqmessage = conq_players[theturn].pname + ' conquers ' + conq_divs[attackwhichnumber].dname; conq_players[theturn].pdivisions.push(conq_divs[attackwhichnumber].dname); conq_divs[attackwhichnumber].owner = conq_players[theturn].pname; loserdivrecordnumber = 0; losri = 0; while (losri < conq_players[defendernumber].pdivisions.length) { if (conq_players[defendernumber].pdivisions[losri] == conq_divs[attackwhichnumber].dname) { loserdivrecordnumber = losri; break; } ++losri; } conq_players[defendernumber].pdivisions.splice(loserdivrecordnumber, 1); } else { conqmessage = conq_players[theturn].pname + ' fails to conquer ' + conq_divs[attackwhichnumber].dname; ++conq_players[theturn].plosses; ++conq_players[defendernumber].pwins; } conq_players[theturn].pmoney -= cashforattack - int(random(cashforattack) - cashforattack / 2); conq_players[defendernumber].pmoney -= cashfordefense - int(random(cashfordefense) - cashfordefense / 2); conq_defendoptions._visible = false; } else { conqwin = 0; conqmessage = 'Defend ' + conq_divs[attackwhichnumber].dname + '?'; conqmap[conq_divs[attackwhichnumber].dname].star._visible = true; conqmap[conq_divs[attackwhichnumber].dname].star.gotoAndStop('scouting'); conqcashallo = int(conq_players[defendernumber].pmoney * 0.6); maxconqcashallo = conq_players[defendernumber].pmoney; conq_defendoptions._visible = true; trace('---' + defendernumber); trace(conq_divs[attackwhichnumber].owner); trace(conq_players[defendernumber].pmoney); trace(maxconqcashallo + '---'); } } } } conqmenum = 0; dfim = 0; while (dfim < conq_players.length) { if (conq_players[dfim].pname == conqname) { conqmenum = dfim; } ++dfim; } mycash = conq_players[conqmenum].pmoney; stop(); } button 8884 { on (release) { _root.gotoAndPlay('endturn'); } } button 8888 { on (release) { _root.conqsurrender = 1; _root.gotoAndStop('conqplayerbattled'); } } button 8890 { on (release) { _root.conqsurrender = 0; _root.gotoAndStop('conqplayerbattled'); } } button 8893 { on (release) { _root.conqcashallo -= 100; if (_root.conqcashallo >= 0) { } else { _root.conqcashallo = 0; } null; } } button 8895 { on (release) { _root.conqcashallo -= 10; if (_root.conqcashallo >= 0) { } else { _root.conqcashallo = 0; } null; } } button 8897 { on (release) { _root.conqcashallo += 100; if (_root.conqcashallo <= _root.maxconqcashallo) { } else { _root.conqcashallo = _root.maxconqcashallo; } null; } } button 8899 { on (release) { _root.conqcashallo += 10; if (_root.conqcashallo <= _root.maxconqcashallo) { } else { _root.conqcashallo = _root.maxconqcashallo; } null; trace(_root.maxconqcashallo); } } movieClip 8903 { } button 8904 { on (release) { _root.conqsurrender = 0; _root.gotoAndStop('conqplayerbattlea'); } } movieClip 8907 { } frame 334 { cashfordefense = conqcashallo; if (conqsurrender) { cashforattack = 0; cashfordefense = 0; play(); } else { _root.gotoAndPlay('startconqueror'); } } button 8908 { on (release) { conqwin = 1; play(); } } frame 335 { conqmessage = conq_players[theturn].pname + ' decides not to attack...'; if (conqwin == 0) { conqmap[conq_divs[attackwhichnumber].dname].star._visible = true; conqmap[conq_divs[attackwhichnumber].dname].star.gotoAndStop('conquered'); conqmap[conq_divs[attackwhichnumber].dname].filters = new Array(new flash.filters.ColorMatrixFilter(conqmap[conq_divs[attackwhichnumber].dname].getcoloros2(_root.conq_players[theturn].pcolor, 1))); ++conq_players[theturn].pwins; ++conq_players[defendernumber].plosses; conqmessage = conq_players[theturn].pname + ' conquers ' + conq_divs[attackwhichnumber].dname; conq_players[theturn].pdivisions.push(conq_divs[attackwhichnumber].dname); conq_divs[attackwhichnumber].owner = conq_players[theturn].pname; loserdivrecordnumber = 0; losri = 0; while (losri < conq_players[defendernumber].pdivisions.length) { if (conq_players[defendernumber].pdivisions[losri] == conq_divs[attackwhichnumber].dname) { loserdivrecordnumber = losri; break; } ++losri; } conq_players[defendernumber].pdivisions.splice(loserdivrecordnumber, 1); } else { conqmessage = conq_players[theturn].pname + ' fails to conquer ' + conq_divs[attackwhichnumber].dname; ++conq_players[theturn].plosses; ++conq_players[defendernumber].pwins; } conq_players[theturn].pmoney -= cashforattack - int(random(cashforattack) - cashforattack / 2); conq_players[defendernumber].pmoney -= cashfordefense - int(random(cashfordefense) - cashfordefense / 2); conqmenum = 0; dfim = 0; while (dfim < conq_players.length) { if (conq_players[dfim].pname == conqname) { conqmenum = dfim; } ++dfim; } mycash = conq_players[conqmenum].pmoney; stop(); } frame 337 { cashforattack = conqcashallo; _root.gotoAndPlay('startconqueror'); } frame 338 { conqmessage = conq_players[theturn].pname + ' decides not to attack...'; if (conqwin == 1) { conqmap[conq_divs[attackwhichnumber].dname].star._visible = true; conqmap[conq_divs[attackwhichnumber].dname].star.gotoAndStop('conquered'); conqmap[conq_divs[attackwhichnumber].dname].filters = new Array(new flash.filters.ColorMatrixFilter(conqmap[conq_divs[attackwhichnumber].dname].getcoloros2(_root.conq_players[theturn].pcolor, 1))); ++conq_players[theturn].pwins; ++conq_players[defendernumber].plosses; conqmessage = conq_players[theturn].pname + ' conquers ' + conq_divs[attackwhichnumber].dname; conq_players[theturn].pdivisions.push(conq_divs[attackwhichnumber].dname); conq_divs[attackwhichnumber].owner = conq_players[theturn].pname; loserdivrecordnumber = 0; losri = 0; while (losri < conq_players[defendernumber].pdivisions.length) { if (conq_players[defendernumber].pdivisions[losri] == conq_divs[attackwhichnumber].dname) { loserdivrecordnumber = losri; break; } ++losri; } conq_players[defendernumber].pdivisions.splice(loserdivrecordnumber, 1); trace(conq_players[theturn].pdivisions); trace(conq_players[defendernumber].pdivisions); } else { conqmessage = conq_players[theturn].pname + ' fails to conquer ' + conq_divs[attackwhichnumber].dname; ++conq_players[theturn].plosses; ++conq_players[defendernumber].pwins; } conqmenum = 0; dfim = 0; while (dfim < conq_players.length) { if (conq_players[dfim].pname == conqname) { conqmenum = dfim; } ++dfim; } mycash = conq_players[conqmenum].pmoney; stop(); } frame 341 { conqpnte = 0; letseliminate = 0; youlost = 0; loi = 0; while (loi < conq_players.length) { if (conq_players[loi].pdivisions.length == 0) { conqpnte = loi; letseliminate = 1; if (conq_players[loi].pname == conqname) { youlost = 1; } break; } ++loi; } if (letseliminate == 1) { conq_players.splice(conqpnte, 1); } loi = 0; while (loi < conq_players.length) { conq_players[loi].pmoney = int(conq_players[loi].pmoney); if (conq_players[loi].pmoney < 0) { conq_players[loi].pmoney = 0; } ++loi; } ++theturn; if (theturn != conq_players.length) { } else { theturn = 0; } null; if (youlost) { _root.gotoAndStop('youlosetheconq'); } else { if (conq_players.length == 1 && _root.conq_players[0].pname == conqname) { _root.gotoAndPlay('youwintheconq'); } else { stop(); } } } button 8922 { on (release) { saveconq = SharedObject.getLocal('wbdsconq'); saveconq.data.conqname = conqname; saveconq.data.conqhouse = conqhouse; saveconq.data.conqcolor = conqcolor; saveconq.data.no_of_players = no_of_players; saveconq.data.max_difficulty = max_difficulty; saveconq.data.theturn = theturn; saveconq.data.conq_divs = conq_divs; saveconq.data.conq_players = conq_players; saveconq.data.flush(60000); _root.gotoAndStop('mainmenu'); } } button 8924 { on (release) { saveconq = SharedObject.getLocal('wbdsconq'); saveconq.data.conqname = conqname; saveconq.data.conqhouse = conqhouse; saveconq.data.conqcolor = conqcolor; saveconq.data.no_of_players = no_of_players; saveconq.data.max_difficulty = max_difficulty; saveconq.data.theturn = theturn; saveconq.data.conq_divs = conq_divs; saveconq.data.conq_players = conq_players; saveconq.data.flush(60000); play(); } } button 8927 { on (release) { play(); } } frame 342 { _root.gotoAndPlay('showturn'); } frame 346 { stop(); } movieClip 8929 { } // unknown tag 88 length 63 frame 347 { stop(); }




http://swfchan.com/10/46657/info.shtml
Created: 3/5 -2019 06:58:32 Last modified: 3/5 -2019 06:58:32 Server time: 22/12 -2024 13:10:02