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

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

ARIA_v2_2b.swf

This is the info page for
Flash #172954

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


ActionScript [AS1/AS2]
Combined Code
movieClip 5 { } movieClip 6 spark_2 { frame 16 { this.removeMovieClip(); } } movieClip 7 spark_1 { frame 16 { this.removeMovieClip(); } } movieClip 8 spark2 { frame 16 { this.removeMovieClip(); } } movieClip 9 spark { frame 16 { this.removeMovieClip(); } } movieClip 11 starbox { } movieClip 24 { frame 1 { stop(); } } movieClip 25 laser_particle_mc { #initclip Object.registerClass('laser_particle_mc', FixOnLoad); #endinitclip } movieClip 29 { } movieClip 32 enemy_attack_squad { frame 1 { stop(); } } movieClip 40 { frame 1 { stop(); } } movieClip 49 { frame 1 { stop(); } } movieClip 51 your_attack_squad { frame 1 { stop(); } instance aria of movieClip 40 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } instance squad of movieClip 49 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } } movieClip 63 aria_laser_small { #initclip Object.registerClass('aria_laser_small', FixOnLoad); #endinitclip frame 8 { stop(); this.unloadMovie(); removeMovieClip(this); } } movieClip 69 aria_laser { #initclip Object.registerClass('aria_laser', FixOnLoad); #endinitclip frame 8 { stop(); this.unloadMovie(); removeMovieClip(this); } } movieClip 71 { } button 74 { on (release) { _global.delete_me(this); } } movieClip 78 { } movieClip 81 { } movieClip 84 { } movieClip 87 { } movieClip 88 e_b { frame 1 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 2 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 3 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 4 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 5 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 6 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 7 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 8 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 9 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 10 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 11 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 12 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 13 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 14 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 15 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 16 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 17 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 18 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 19 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 20 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 21 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 22 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 23 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 24 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 25 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 26 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 27 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 28 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 29 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 30 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 31 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 32 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 33 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 34 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 35 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 36 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 37 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 38 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 39 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 40 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 41 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 42 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 43 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 44 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 45 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 46 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 47 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 48 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 49 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 50 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 51 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 52 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 53 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 54 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 55 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 56 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 57 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 58 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 59 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } instance bb of movieClip 71 { onClipEvent (load) { if (this.hitTest(_root.char.hitd) == true) { _global.girl_life -= _global.enemy_damage * 4; if (_global.aria_girl == 7) { _global.amp_damage_buff += 5; } } } } frame 72 { _global.delete_me(this); } } movieClip 92 { } movieClip 95 { } movieClip 96 { } movieClip 97 e_c { frame 1 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 2 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 3 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 4 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 5 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 6 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 7 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 8 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 9 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 10 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 11 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 12 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 13 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 14 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 15 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 16 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 17 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 18 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 19 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 20 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 21 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 22 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 23 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 24 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 25 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 26 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 27 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 28 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 29 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 30 { if (_root.char.blast._currentframe > 1) { _global.delete_me(this); } } frame 30 { if (this.hitTest(_root.char.hitd) == true) { _global.girl_life -= _global.enemy_damage; if (_global.aria_girl == 7) { _global.amp_damage_buff += 1; } } } frame 31 { _global.delete_me(this); } } movieClip 103 bullet { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 108 { } movieClip 109 { } button 112 { on (release) { _global.recources += _root.rvalue; _root.gotoAndStop(65); } } movieClip 118 count_down { } movieClip 122 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 124 { } movieClip 128 { } movieClip 132 { } movieClip 133 { frame 1 { stop(); } } movieClip 138 { } movieClip 139 { frame 1 { stop(); } } movieClip 144 { } movieClip 148 { } movieClip 151 { } movieClip 154 kira { frame 1 { stop(); } } movieClip 158 { } movieClip 161 { frame 1 { stop(); } } movieClip 166 { } movieClip 169 { frame 1 { stop(); } } movieClip 170 wall { frame 1 { stop(); } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 161 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } instance of movieClip 169 { onClipEvent (load) { if (random(2) == 0) { this.gotoAndStop(2); } else { this.rvalue = random(100) + 50; } } onClipEvent (enterFrame) { if (this.hitTest(_root.kira.hitme)) { _root.rvalue += this.rvalue; this.gotoAndStop(2); } } } } movieClip 173 { } movieClip 175 { frame 1 { stop(); _parent.shield_amount = 0; _parent.shield.gotoAndStop(1); } frame 2 { stop(); _parent.shield_amount = 0; _parent.shield.gotoAndStop(1); } instance aria of movieClip 40 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } frame 3 { stop(); _parent.shield_amount = 0; _parent.shield.gotoAndStop(1); } } movieClip 177 { } movieClip 178 { frame 1 { stop(); } frame 20 { gotoAndStop(1); } } movieClip 182 { frame 1 { stop(); } } button 183 { on (release) { if (sphere_selection._currentframe == 1) { sphere_selection.gotoAndStop(2); _root.previous_selection = _root.current_selection; _root.current_selection = this; if (_root.current_selection != null && _root.previous_selection != null && _root.previous_selection.units > 1 && _root.previous_selection != _root.current_selection && _root.spheres_under_your_control[_root.previous_selection.fleet_number] == 1) { _root.create_laser(_root.current_selection, _root.previous_selection); _root.create_your_attack_squad(_root.current_selection, _root.previous_selection, Math.floor(_root.previous_selection.units / 2)); } } else { sphere_selection.gotoAndStop(1); } } } movieClip 185 sphere { frame 1 { stop(); } instance sphere_control of movieClip 175 { onClipEvent (enterFrame) { if (_root.spheres_under_your_control[_parent.fleet_number] == 1) { this.gotoAndStop(2); } if (_parent.units < 1000) { _parent.gotoAndStop(_parent.units + 1); } else { _parent.gotoAndStop(1000); } } } } frame 1 { var my_cm = new ContextMenu(); my_cm.hideBuiltInItems(); this.menu = my_cm; _global.gotraided = function () { if (_global.being_raided == 1) { _global.your_mercenary_count = random(50); _global.recources = 0; _global.psm = 0; _global.pnm = 0; _global.prisoner = 0; _global.bombs = 0; _global.being_raided = 0; _global.stealth = 1; _global.raid_flag = 1; } if (_global.stealthsystem == 1) { _global.stealth = 1; } if (_global.days_in_same_area > 7 && _global.days_in_same_area < 15 && _global.stealth == 0) { if (random(15 - _global.days_in_same_area) == 0) { _global.being_raided = 1; } } if (_global.days_in_same_area > 14 && _global.stealth == 0) { _global.being_raided = 1; } }; } frame 1 { _global.do_task = function () { _global.random_check = random(100) + 1; _global.check_against_this_result = 0; _global.how_much = 0; _global.check_against_this_result = _global.max_obey - _global.aria_girl_array[_global.aria_girl].obey; if (_global.aria_girl_task_queue[_global.aria_girl] != 4) { if (_global.aria_girl == 1 && _global.arielle_injury == 1 || _global.aria_girl == 2 && _global.phia_injury == 1 || _global.aria_girl == 3 && _global.tiffany_injury == 1 || _global.aria_girl == 4 && _global.bri_injury == 1) { _global.aria_girl_task_queue[_global.aria_girl] = 9; } else { if (_global.aria_girl_array[_global.aria_girl].food <= 0) { _global.story_task_battle = 0; _global.random_check = 100; _global.aria_girl_task_queue[_global.aria_girl] = 5; _global.aria_girl_array[_global.aria_girl].obey -= random(5) + 1; if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx5.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx5.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx5.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx5.start(0, 1); } } } else { if (_global.aria_girl_array[_global.aria_girl].fatigue >= 100) { _global.story_task_battle = 0; _global.random_check = 100; _global.aria_girl_task_queue[_global.aria_girl] = 6; _global.aria_girl_array[_global.aria_girl].obey -= random(5) + 1; } } } } if (_global.aria_girl_task_queue[_global.aria_girl] == 1) { _global.story_task_battle = 0; _root.girl.gotoAndStop(1); _global.aria_girl_array[_global.aria_girl].food -= random(5) + 5; if (_global.random_check >= _global.check_against_this_result || _global.aria_girl == 4) { _global.talk_text(_global.aria_girl, 1); if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx4.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx4.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx4.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx4.start(0, 1); } } _global.aria_girl_array[_global.aria_girl].love += random(5) + 10; _global.aria_girl_array[_global.aria_girl].obey += random(10) + 10; _global.aria_girl_array[_global.aria_girl].fatigue += random(5) + 1; } else { _root.girl.gotoAndStop(4); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' refuses to talk to you!'; _global.aria_girl_array[_global.aria_girl].obey -= random(5) + 1; if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx5.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx5.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx5.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx5.start(0, 1); } } } } else { if (_global.aria_girl_task_queue[_global.aria_girl] == 2) { _global.story_task_battle = 0; if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx3.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx3.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx3.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx3.start(0, 1); } } _root.girl.gotoAndStop(2); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' spends time relaxing.'; if (_global.aria_girl == 3) { _global.recources += random(100 * _global.current_area) + 100 * _global.current_area; _global.food_supply += random(50) + 20; _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' spends time relaxing and tending to the ship.'; _global.aria_girl_array[_global.aria_girl].love += random(10) + 10; _global.aria_girl_array[_global.aria_girl].obey += random(10) + 25; } if (_global.aria_girl == 2) { _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' has attracted more mercenaries.'; _global.your_mercenary_count += random(20) + 10; _global.aria_girl_array[_global.aria_girl].obey += random(10) + 5; _global.aria_girl_array[_global.aria_girl].fatigue += random(20) + 10; } _global.aria_girl_array[_global.aria_girl].love += random(10) + 1; _global.aria_girl_array[_global.aria_girl].obey -= random(10) + 5; _global.aria_girl_array[_global.aria_girl].food -= random(5) + 1; _global.aria_girl_array[_global.aria_girl].fatigue -= random(20) + 20; } else { if (_global.aria_girl_task_queue[_global.aria_girl] == 3) { if (_global.random_check >= _global.check_against_this_result || _global.aria_girl == 1 || _global.aria_girl == 2 && _global.current_area == 3 || _global.aria_girl == 2 && _global.current_area == 4) { _root.girl.gotoAndStop(3); if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx3.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx3.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx4.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx4.start(0, 1); } } _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' is ready for combat.'; _global.aria_girl_array[_global.aria_girl].love -= random(5) + 1; _global.aria_girl_array[_global.aria_girl].obey -= random(15) + 5; _global.aria_girl_array[_global.aria_girl].food -= random(10) + 10; _global.aria_girl_array[_global.aria_girl].fatigue += random(30) + 30; if (_global.aria_girl == 1) { _global.aria_girl_array[_global.aria_girl].love += random(5) + 10; _global.aria_girl_array[_global.aria_girl].obey += random(10) + 20; } else { if (_global.aria_girl == 4) { _global.aria_girl_array[_global.aria_girl].love -= random(15) + 10; _global.aria_girl_array[_global.aria_girl].obey -= random(10) + 5; } } _global.story_task_battle = 1; } else { _root.girl.gotoAndStop(4); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' refuses to go battle!'; _global.aria_girl_array[_global.aria_girl].food -= random(5) + 5; _global.aria_girl_array[_global.aria_girl].obey -= random(15) + 10; _global.story_task_battle = 0; if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx5.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx5.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx5.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx5.start(0, 1); } } } } else { if (_global.aria_girl_task_queue[_global.aria_girl] == 4) { _global.story_task_battle = 0; _root.girl.gotoAndStop(4); _root.girl_result = 'You harshly punish ' + _global.aria_girl_array[_global.aria_girl].girl + '.'; _global.aria_girl_array[_global.aria_girl].obey += random(30) + 30; _global.aria_girl_array[_global.aria_girl].food -= random(10) + 5; _global.aria_girl_array[_global.aria_girl].love -= random(10) + 15; _global.aria_girl_array[_global.aria_girl].fatigue += random(10) + 20; } else { if (_global.aria_girl_task_queue[_global.aria_girl] == 5) { _global.story_task_battle = 0; if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx4.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx5.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx5.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx5.start(0, 1); } } if (_global.random_check >= _global.check_against_this_result) { _global.how_much = random(100) + 1; if (_global.how_much + _global.aria_girl_array[_global.aria_girl].food > 100) { _global.how_much = 100 - _global.aria_girl_array[_global.aria_girl].food; } _global.aria_girl_array[_global.aria_girl].fatigue += random(5) + 5; if (_global.how_much > _global.food_supply) { _global.how_much = _global.food_supply; } if (_global.food_supply <= 0) { _global.aria_girl_array[_global.aria_girl].obey -= random(10) + 10; _root.girl.gotoAndStop(4); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' is pissed there is no food!'; } else { if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx4.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx4.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx4.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx4.start(0, 1); } } _root.girl.gotoAndStop(5); _global.aria_girl_array[_global.aria_girl].food += _global.how_much; _global.food_supply -= _global.how_much; _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' eats ' + _global.how_much + ' of the remaining food.'; } } else { if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx5.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx5.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx5.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx5.start(0, 1); } } _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' refuses to eat!'; _global.aria_girl_array[_global.aria_girl].food -= random(10) + 10; _global.aria_girl_array[_global.aria_girl].obey -= random(5) + 1; } } else { if (_global.aria_girl_task_queue[_global.aria_girl] == 6) { _global.story_task_battle = 0; if (_global.random_check >= _global.check_against_this_result || _global.aria_girl_array[_global.aria_girl].fatigue > 89) { _root.girl.gotoAndStop(6); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' is away sleeping.'; _global.aria_girl_array[_global.aria_girl].fatigue -= random(10) + 91; } else { _root.girl.gotoAndStop(4); if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx5.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx5.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx5.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx5.start(0, 1); } } _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' tries to stay awake instead!'; _global.aria_girl_array[_global.aria_girl].obey -= random(5) + 1; _global.aria_girl_array[_global.aria_girl].fatigue += random(80) + 11; } } else { if (_global.aria_girl_task_queue[_global.aria_girl] == 7) { _global.story_task_battle = 0; if (_global.random_check >= _global.check_against_this_result || _global.aria_girl == 2) { _root.girl.gotoAndStop(10); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' accepts your offer.'; if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx3.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx3.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx3.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx3.start(0, 1); } } _global.aria_girl_array[_global.aria_girl].fatigue = 100; _global.aria_girl_array[_global.aria_girl].food -= random(10) + 10; _global.aria_girl_array[_global.aria_girl].obey += random(10) + 10; _global.aria_girl_array[_global.aria_girl].love += random(20) + 20; _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; _global.charisma_growth = random(25) + 5; if (_global.aria_girl_array[_global.aria_girl].love > 150) { _global.charisma_growth += random(25) + 5; } _global.aria_girl_array[_global.aria_girl].charisma += _global.charisma_growth; if (_global.aria_girl == 2) { _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' is absolutely thrilled!'; _global.aria_girl_array[_global.aria_girl].love += random(20) + 10; } } else { _root.girl.gotoAndStop(4); if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx5.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx5.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx5.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx5.start(0, 1); } } _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' refuses to sleep with you!'; _global.aria_girl_array[_global.aria_girl].obey -= random(25) + 15; _global.aria_girl_array[_global.aria_girl].fatigue += random(10) + 5; } } else { if (_global.aria_girl_task_queue[_global.aria_girl] == 8) { _global.story_task_battle = 0; if (_global.random_check >= _global.check_against_this_result || _global.aria_girl == 1 && _global.arielle_rape == 1 || _global.aria_girl == 2 && _global.phia_rape == 1 || _global.aria_girl == 3 && _global.tiffany_rape == 1 || _global.aria_girl == 4 && _global.bri_rape == 1) { _root.girl.gotoAndStop(3); if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx3.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx3.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx3.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx3.start(0, 1); } } _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' trains in the battle simulation.'; _global.aria_girl_array[_global.aria_girl].fatigue = 100; _global.aria_girl_array[_global.aria_girl].food -= random(15) + 10; if (_global.aria_girl == 1 && _global.arielle_rape == 1 || _global.aria_girl == 2 && _global.phia_rape == 1 || _global.aria_girl == 3 && _global.tiffany_rape == 1 || _global.aria_girl == 4 && _global.bri_rape == 1) { _global.aria_girl_array[_global.aria_girl].obey += random(5) + 5; } else { _global.aria_girl_array[_global.aria_girl].obey -= random(5) + 5; } _global.aria_girl_array[_global.aria_girl].combat += 5; } else { _root.girl.gotoAndStop(4); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' refuses to train!'; if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx5.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx5.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx5.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx5.start(0, 1); } } _global.aria_girl_array[_global.aria_girl].obey -= random(25) + 15; _global.aria_girl_array[_global.aria_girl].fatigue += random(10) + 5; } } else { if (_global.aria_girl_task_queue[_global.aria_girl] == 9) { if (_global.random_check >= _global.check_against_this_result || _global.goo_unlocked == 1 || _global.remi_unlocked == 1) { _root.girl.gotoAndStop(6); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' is away recovering.'; _global.aria_girl_array[_global.aria_girl].fatigue -= random(10) + 91; _global.aria_girl_array[_global.aria_girl].food -= random(5) + 55; _global.aria_girl_array[_global.aria_girl].obey -= random(15); if (_global.aria_girl == 1 && random(_global.recover_chance) == 0) { _root.girl.gotoAndStop(1); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' has recovered!'; _global.arielle_injury = 0; } if (_global.aria_girl == 2 && random(_global.recover_chance) == 0) { _root.girl.gotoAndStop(1); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' has recovered!'; _global.phia_injury = 0; } if (_global.aria_girl == 3 && random(_global.recover_chance) == 0) { _root.girl.gotoAndStop(1); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' has recovered!'; _global.tiffany_injury = 0; } if (_global.aria_girl == 4 && random(_global.recover_chance) == 0) { _root.girl.gotoAndStop(1); _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' has recovered!'; _global.bri_injury = 0; } } else { _root.girl.gotoAndStop(4); if (_global.music == 1) { if (_global.aria_girl == 1) { _root.Arielle_sfx5.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx5.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx5.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx5.start(0, 1); } } _root.girl_result = '' + _global.aria_girl_array[_global.aria_girl].girl + ' refuses to recover!'; _global.aria_girl_array[_global.aria_girl].food -= random(5) + 5; _global.aria_girl_array[_global.aria_girl].obey -= random(15) + 20; } } } } } } } } } } if (_global.aria_girl_array[_global.aria_girl].fatigue < 0) { _global.aria_girl_array[_global.aria_girl].fatigue = 0; } if (_global.aria_girl_array[_global.aria_girl].fatigue > 100) { _global.aria_girl_array[_global.aria_girl].fatigue = 100; } if (_global.aria_girl_array[_global.aria_girl].love < 0) { _global.aria_girl_array[_global.aria_girl].love = 0; } if (_global.aria_girl_array[_global.aria_girl].food < 0) { _global.aria_girl_array[_global.aria_girl].food = 0; } if (_global.aria_girl_array[_global.aria_girl].obey < 0) { _global.aria_girl_array[_global.aria_girl].obey = 0; } if (_global.aria_girl_array[_global.aria_girl].obey > 100) { _global.aria_girl_array[_global.aria_girl].obey = 100; } if (_global.v00 == 1) { _global.aria_girl_array[_global.aria_girl].fatigue = 0; _global.aria_girl_array[_global.aria_girl].obey = 100; _global.aria_girl_array[_global.aria_girl].food = 100; } }; } frame 1 { _global.talk_text = function (aria_girl, task) { if (aria_girl == 1 && task == 1) { if (_global.aria_girl_array[aria_girl].food < 20 && random(4) == 0) { _root.girl_result = 'I am getting a bit hungry... Why don\'t you ever need to eat?'; } else { if (_global.aria_girl_array[aria_girl].obey < 50 && random(4) == 0) { _root.girl_result = 'Thanks for coming to talk with me. I don\'t really like taking orders from you but I will always accept Space Battles. We need to get back to GemCo fast as possible and get this over with. Work before pleasure.'; } else { if (_global.aria_girl_array[aria_girl].fatigue > 80 && random(4) == 0) { _root.girl_result = 'I\'m feeling a bit tired...maybe I should rest soon... but I will try to keep on going.'; } else { if (_global.aria_girl_array[aria_girl].love > 100 && random(4) == 0) { _root.girl_result = 'We constantly have to fight our way through enemies, but at least it is enjoyable, thanks.'; } else { switch (random(8)) { case 0: _root.girl_result = 'I\'ll admit you are pretty strong Jeo, but I know how to make you weak.'; break; case 1: _root.girl_result = 'Jeo look... The star field we are in right now is beautiful...too bad we don\'t have time to just enjoy it.'; break; case 2: _root.girl_result = 'Thanks for coming to talk to me but don\'t think I will let you off the hook Jeo. I am only cooperating for our mutual survival.'; break; case 3: _root.girl_result = 'All of our laser systems are repaired and ready. Now lets get moving! We have enemies in our way that needs to be educated on why parking in front of my mega laser cannon is a bad idea.'; break; case 4: _root.girl_result = 'I won\'t be your little servant girl forever Jeo.'; break; default: _root.girl_result = 'You talk with ' + _global.aria_girl_array[_global.aria_girl].girl + ' and get to know her a little better.'; } } } } } } else { if (aria_girl == 2 && task == 1) { if (_global.aria_girl_array[aria_girl].food < 20 && random(4) == 0) { _root.girl_result = 'Damn I\'m getting hungry. Make me some food sweetie.'; } else { if (_global.aria_girl_array[aria_girl].obey < 50 && random(4) == 0) { _root.girl_result = 'Ha! Hey Jeo did I ever tell you how much you suck at giving orders? I always like to fuck though.'; } else { if (_global.aria_girl_array[aria_girl].fatigue > 80 && random(4) == 0) { _root.girl_result = 'Damn I\'m getting a little tired. You have been working me too much so let me rest a little.'; } else { if (_global.aria_girl_array[aria_girl].love > 100 && random(4) == 0) { _root.girl_result = 'Fighting our way through countless enemies is so fun! Hey did you want to fuck later?'; } else { switch (random(8)) { case 0: _root.girl_result = 'Aww... Did you want to talk sweetie? I\'d rather we just fuck to be honest.'; break; case 1: _root.girl_result = 'Just let me know if you need me. I\'ll be keeping our mercenaries happy.'; break; case 2: _root.girl_result = 'Talk!? I\'m not opening my mouth unless you are putting your dick in it.'; break; case 3: _root.girl_result = 'Damn! Did you know how much our engines vibrate? I\'m glad some of the parts are long and hard.'; break; case 4: _root.girl_result = 'I don\'t understand why you want to talk. You are so boring. Now can you please be a man and just keep fucking the shit out of me?'; break; default: _root.girl_result = 'You talk with ' + _global.aria_girl_array[_global.aria_girl].girl + ' and get to know her a little better.'; } } } } } } else { if (aria_girl == 3 && task == 1) { if (_global.aria_girl_array[aria_girl].food < 20 && random(4) == 0) { _root.girl_result = 'Hey are you getting hungry too? We should take a moment to eat.'; } else { if (_global.aria_girl_array[aria_girl].obey < 50 && random(4) == 0) { _root.girl_result = 'I hardly approve of your ability to give orders Jeo. Just be sure to let me be free to do what I want sometimes. I can cook and salvage resources in my free time... after my shower of course.'; } else { if (_global.aria_girl_array[aria_girl].fatigue > 80 && random(4) == 0) { _root.girl_result = 'Do you ever sleep Jeo? Please let me rest a little. I\'ll be better ready for action again after I get some rest.'; } else { if (_global.aria_girl_array[aria_girl].love > 100 && random(4) == 0) { _root.girl_result = 'I don\'t like fighting very much. But I trust that you will get us all back safely.'; } else { switch (random(8)) { case 0: _root.girl_result = 'You know Jeo, you getting so weak after battles is extremely strange. But it is even more strange how you recover that weakness...'; break; case 1: _root.girl_result = 'I\'ve been trying to put together more materials that can help us get through this star field faster.'; break; case 2: _root.girl_result = 'You should really let me talk some samples of your sperm sometime Jeo. uh, for scientific reasons of course.'; break; case 3: _root.girl_result = 'I have been busy checking our main hull and shields. Everything looks okay for now. Let keep it that way Jeo. Don\'t do anything too dangerous.'; break; case 4: _root.girl_result = 'How are you doing Jeo? Just let me know if you need any medical attention.'; break; default: _root.girl_result = 'You talk with ' + _global.aria_girl_array[_global.aria_girl].girl + ' and get to know her a little better.'; } } } } } } else { if (aria_girl == 4 && task == 1) { if (_global.aria_girl_array[aria_girl].food < 20 && random(4) == 0) { _root.girl_result = 'I\'m hungry...where is the food?'; } else { if (_global.aria_girl_array[aria_girl].obey < 50 && random(4) == 0) { _root.girl_result = 'I\'ll cooperate more than other girls. I just need a friend to talk to...'; } else { if (_global.aria_girl_array[aria_girl].fatigue > 80 && random(4) == 0) { _root.girl_result = 'Jeo, how do you go so long without sleeping?'; } else { if (_global.aria_girl_array[aria_girl].love > 100 && random(4) == 0) { _root.girl_result = 'I\'m sure you will watch over me in battle Jeo. You wouldn\'t let something happen to me right?'; } else { switch (random(8)) { case 0: _root.girl_result = 'Jeo, when I look at you, I see only darkness...'; break; case 1: _root.girl_result = 'I can\'t wait to get back to GemCo. Fighting constant battles and enemies is a scary thought. We might not be able to win all of them Jeo.'; break; case 2: _root.girl_result = 'Did you need me for something? Oh talk. Sure, I could use that. Thanks.'; break; case 3: _root.girl_result = 'Slowing down enemy ships takes a lot of concentration. Plus the Khalei I use could easily backfire and destroy me and my ship completely.'; break; case 4: _root.girl_result = 'I don\'t like all this fighting... How do you kill people and just think nothing of it? It is a horrifying thought.'; break; default: _root.girl_result = 'You talk with ' + _global.aria_girl_array[_global.aria_girl].girl + ' and get to know her a little better.'; } } } } } } } } } }; } frame 1 { stop(); _root.pswrd = ''; _global.chat_text_amount = 80; _global.view_mode = 0; _global.prisoner = 0; _global.random_agent = 0; _global.being_raided = 0; _global.days_in_same_area = 0; _global.stealth = 0; _global.stealthsystem = 0; _global.raid_flag = 0; _global.suimay_quest = 0; _global.support_char = 6; _global.had_sui_may_sex = 0; _global.had_luma_sex = 0; _global.had_yui_sex = 0; _global.rape_on = 1; _global.arielle_rape = 0; _global.phia_rape = 0; _global.tiffany_rape = 0; _global.bri_rape = 0; _global.endraid = 1; _global.bombs = 0; _global.RaidTrainning = 0; _global.recover_chance = 3; _global.mercwork = 0; _global.eplosive_ships = 0; _global.psm = 0; _global.pnm = 0; _global.overcharge = 0; _global.asteroid1 = 0; _global.asteroid2 = 0; _global.asteroid3 = 0; _global.asteroid4 = 0; _global.asteroid_spawn_chance = 4; if (random(_global.asteroid_spawn_chance) == 1) { _global.asteroid1 = 1; } else { _global.asteroid1 = 0; } if (random(_global.asteroid_spawn_chance) == 1) { _global.asteroid2 = 1; } else { _global.asteroid2 = 0; } if (random(_global.asteroid_spawn_chance) == 1) { _global.asteroid3 = 1; } else { _global.asteroid3 = 0; } if (random(_global.asteroid_spawn_chance) == 1) { _global.asteroid4 = 1; } else { _global.asteroid4 = 0; } _global.explore_area = 0; _global.arielle_injury = 0; _global.phia_injury = 0; _global.tiffany_injury = 0; _global.bri_injury = 0; _global.assaultship_destroyed = 0; _global.cargoship_destroyed = 0; _global.assistanceship1_destroyed = 0; _global.assistanceship2_destroyed = 0; _global.bossship_destroyed = 0; _global.ship_to_raid = 0; _global.bgm_music_begin = 1; _global.partical_total = 2; _global.auto_rally = 1; _global.music = 1; _global.hardmode = 0; if (_global.v00 == null || _global.v00 == undefined) { _global.v00 = 0; } _global.on_story_mission = 0; _global.random_check = 0; _global.check_against_this_result = 0; _global.max_obey = 100; _global.boss_spawned = 0; _global.game_hours = 0; _global.game_minutes = 0; _global.game_seconds = 0; _global.bg_dark = 1; _global.aria_girl = random(4) + 1; _global.aria_girl_previously_played = 0; _global.space_battle_complete = 0; _global.story_task_battle = 0; _global.days_passed = 0; _global.area_bg = 1; _global.battle_text_timer = 0; _global.battle_text_max_time = 5; _global.battle_text_random = 5; _global.battle_talk = 0; _global.recources = random(50) + 50; _global.food_supply = random(400) + 100; _global.your_mercenary_count = 35; _global.current_area = 1; _global.totoal_areas = 10; _global.travel_resource_cost = 500 * _global.current_area + random(_global.current_area * 1000); _global.enemy_defeated = 0; _global.current_enemy_support = 1; _global.FoodLv = 0; _global.AttkShipLv = 0; _global.GatherLv = 0; _global.RallyLv = 0; var food = random(90) + 11; var fatigue = random(70) + 31; var obey = random(70) + 11; var arielle = new AriaGirl('Arielle', 50, 0, 0, 30, 20, 20, 25, 10, 15, food, fatigue, obey); food = random(90) + 11; fatigue = random(70) + 31; obey = random(70) + 11; var phia = new AriaGirl('Phia', 70, 0, 0, 25, 20, 25, 20, 5, 5, food, fatigue, obey); food = random(90) + 11; fatigue = random(70) + 31; obey = random(70) + 11; var tt = new AriaGirl('TT', 30, 0, 0, 20, 10, 15, 8, 5, 30, food, fatigue, obey); food = random(90) + 11; fatigue = random(70) + 31; obey = random(70) + 11; var bri = new AriaGirl('Bri', 40, 0, 0, 15, 0, 15, 15, 3, 15, food, fatigue, obey); food = 100; fatigue = 0; obey = 100; var jeo = new AriaGirl('Jeo', 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000, food, fatigue, obey); var remi = new AriaGirl('Remi', 500, 500, 500, 500, 500, 500, 500, 500, 500, food, fatigue, obey); var luma = new AriaGirl('Luma', 500, 500, 500, 500, 500, 500, 1000, 500, 500, food, fatigue, obey); _global.aria_girl_array = new Array(); _global.aria_girl_array[0] = null; _global.aria_girl_array[1] = arielle; _global.aria_girl_array[2] = phia; _global.aria_girl_array[3] = tt; _global.aria_girl_array[4] = bri; _global.aria_girl_array[5] = jeo; _global.aria_girl_array[6] = remi; _global.aria_girl_array[7] = luma; _global.jeo = 5; _global.max_value = 1000; _global.jeo_first_fight = 0; _global.goo_unlocked = 0; _global.had_goo_sex = 0; _global.remi_unlocked = 0; _global.luma_unlocked = 0; _global.remi_talk = 0; _global.remi_in_battle = 0; _global.aria_girl_task_queue = new Array(); _global.aria_girl_task_queue[0] = null; _global.aria_girl_task_queue[1] = 0; _global.aria_girl_task_queue[2] = 0; _global.aria_girl_task_queue[3] = 0; _global.aria_girl_task_queue[4] = 0; } movieClip 190 { } movieClip 192 { } movieClip 194 { } movieClip 196 { } movieClip 197 { frame 1 { function myWidth(moveObj, newWidth) { moveObj.w = moveObj._width; moveObj.dwidth = newWidth - moveObj.w; moveObj.t = 0; NFRAMES = 6; moveObj.onEnterFrame = function () { if (moveObj.t++ < NFRAMES) { moveObj._width = easeOutQuad(moveObj.t, moveObj.w, moveObj.dwidth, NFRAMES); } else { delete this.onEnterFrame; } }; } function myMove(moveObj, newX) { moveObj.x = moveObj._x; moveObj.dx = newX - moveObj.x; moveObj.t = 0; NFRAMES = 6; moveObj.onEnterFrame = function () { if (moveObj.t++ < NFRAMES) { moveObj._x = easeOutQuad(moveObj.t, moveObj.x, moveObj.dx, NFRAMES); } else { delete this.onEnterFrame; } }; } percentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); this.myWidth(this.loadBar, percentLoaded * 1.94); this.myMove(this.mc_loadNum, percentLoaded * 1.9 - 8); mc_loadNum.loadNum.text = percentLoaded; easeOutQuad = function (time, beginX, changeX, durationX) { time /= durationX / 2; if (time < 1) { return (changeX / 2) * time * time + beginX; } return (-changeX / 2) * (--time * (time - 2) - 1) + beginX; }; } frame 2 { if (percentLoaded < 100) { gotoAndPlay('loading'); } } frame 25 { _root.gotoAndStop(63); } } movieClip 201 { } movieClip 6506 __Packages.AriaGirl { #initclip if (!_global.AriaGirl) { var v1 = function (girl, love, mood, task, charisma, sex, space, ship, combat, efficiency, food, fatigue, obey) { this.girl = girl; this.love = love; this.mood = mood; this.task = task; this.charisma = charisma; this.sex = sex; this.space = space; this.ship = ship; this.combat = combat; this.efficiency = efficiency; this.food = food; this.fatigue = fatigue; this.obey = obey; }; _global.AriaGirl = v1; var v2 = v1.prototype; ASSetPropFlags(_global.AriaGirl.prototype, null, 1); } #endinitclip } movieClip 6507 __Packages.FixOnLoad { #initclip if (!_global.FixOnLoad) { var v1 = function () { super(); }; _global.FixOnLoad = v1; _global.FixOnLoad extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () {}; ASSetPropFlags(_global.FixOnLoad.prototype, null, 1); } #endinitclip } movieClip 225 { frame 1 { stop(); } } instance bg of movieClip 225 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } } movieClip 227 { frame 1 { stop(); } } instance bg_dark of movieClip 227 { onClipEvent (load) { this.gotoAndStop(_global.bg_dark); } onClipEvent (enterFrame) { if (_root._currentframe == 51) { this.gotoAndStop(_global.bg_dark); } } } movieClip 229 { frame 30 { ++_global.game_seconds; if (_global.game_seconds == 60) { _global.game_seconds = 0; ++_global.game_minutes; } if (_global.game_minutes == 60) { _global.game_minutes = 0; ++_global.game_hours; } } } instance of movieClip 229 { onClipEvent (enterFrame) { if (_root._currentframe == 51) { _root.play_time = '' + _global.game_hours + 'h:' + _global.game_minutes + 'm:' + _global.game_seconds + 's'; } } } movieClip 232 { } movieClip 237 { } movieClip 242 { } movieClip 247 { } movieClip 252 { } movieClip 257 { } movieClip 262 { } movieClip 267 { } movieClip 272 { } movieClip 277 { } movieClip 282 { } movieClip 287 { } movieClip 290 { frame 1 { stop(); } } instance enemy_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } } movieClip 291 { frame 1 { stop(); } } movieClip 293 { } movieClip 294 { frame 1 { stop(); } } movieClip 297 { } movieClip 300 { } movieClip 301 { frame 1 { stop(); } frame 108 { gotoAndStop(1); } } movieClip 304 { } movieClip 307 { } movieClip 316 { frame 1 { stop(); } frame 3 { _global.enemy_target_blast_amount = (random(100) + 100) * _global.current_area; if (_root._currentframe == 80) { _global.enemy_target_blast_amount = random(_root.enemy_target_blast_random) + _root.enemy_target_blast_base_amount; } if (_global.assistanceship1_destroyed == 0) { _global.enemy_target_blast_amount += (random(100) + 300) * _global.current_area; } if (_global.hardmode == 1) { _global.enemy_target_blast_amount += (random(100) + 100) * _global.current_area; } } frame 40 { bamount = _global.enemy_target_blast_amount; } frame 279 { if (_root.main_sphere.shield._currentframe == 2) { _root.main_sphere.units -= Math.floor(_global.enemy_target_blast_amount / 2); } else { _root.main_sphere.units -= _global.enemy_target_blast_amount; } } frame 293 { gotoAndStop(1); } } movieClip 319 { } movieClip 322 { } movieClip 325 { } movieClip 328 { } movieClip 331 { } movieClip 332 { frame 1 { stop(); } } movieClip 335 { } movieClip 338 { } movieClip 341 { } movieClip 344 { frame 1 { stop(); } } movieClip 355 { } movieClip 356 { frame 1 { stop(); } } movieClip 361 { frame 1 { stop(); } } movieClip 365 { } movieClip 366 { frame 1 { stop(); } } movieClip 371 { frame 1 { stop(); } } movieClip 375 { } movieClip 376 { frame 1 { stop(); } } movieClip 381 { frame 1 { stop(); } } movieClip 387 { } movieClip 388 { frame 1 { stop(); } } movieClip 393 { frame 1 { stop(); } } movieClip 395 { } movieClip 397 { } movieClip 398 { frame 1 { stop(); } } movieClip 412 { } movieClip 413 { frame 1 { stop(); } } movieClip 417 { } movieClip 418 { frame 1 { stop(); } } movieClip 438 { } movieClip 439 { frame 1 { stop(); if (_root._currentframe != 81) { if (_global.enemy_defeated == _global.current_area && _global.current_area != 3 && _global.current_area != 4 && _global.current_area != 5 && _global.current_area != 7 && _global.current_area != 8) { gotoAndStop(_global.random_agent); } else { gotoAndStop(_global.current_area); } } } instance of movieClip 356 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 361 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 366 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 371 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 376 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 381 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 388 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 393 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 398 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 413 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 418 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 376 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 388 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } } movieClip 454 { frame 1 { stop(); } } button 455 { on (release) { _root.gotoAndStop(_root._currentframe + 1); } } button 456 { on (release) { _root.gotoAndStop(41); } } button 457 { on (release) { _global.story_task_battle = 0; if (_global.aria_girl > 4) { _root.gotoAndStop(6); } else { _root.gotoAndStop(7 + _global.aria_girl); } } } movieClip 464 { instance of movieClip 291 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } instance of movieClip 294 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } instance main_ship of movieClip 344 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } instance main_ship of movieClip 344 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } instance girl2 of movieClip 454 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } frame 76 { stop(); } frame 76 { if (_global.aria_girl == 1) { battle_text = 'Arielle reporting in. I\'m beginning my assault!'; } else { if (_global.aria_girl == 2) { battle_text = 'Phia is ready! Alright hell yeah! Lets do this!'; } else { if (_global.aria_girl == 3) { battle_text = 'Tiffany here. I have arrived at the combat zone. Shields are online. I\'m beginning my attack.'; } else { if (_global.aria_girl == 4) { battle_text = 'Bri here. There are so many enemies. I will do my best!'; } else { if (_global.aria_girl == 5) { battle_text = 'They will suffer.'; } else { if (_global.aria_girl == 6) { battle_text = 'Remi reporting... This looks like it won\'t be very hard.'; } else { if (_global.aria_girl == 7) { battle_text = 'This is Luma. I\'m here. Time to kick some ass!'; } } } } } } } if (_global.aria_girl == 1) { _root.Arielle_sfx2.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx2.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx2.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx2.start(0, 1); } } } instance of movieClip 464 { onClipEvent (load) { if (_global.battle_talk == 1) { _global.battle_talk = 0; this.gotoAndStop(76); } } } frame 3 { stop(); _root.onEnterFrame = function () { _root.auto_rally_x(); _root.depth_and_laser_adjsut(); _root.sm = _global.psm; _root.nm = _global.pnm; updateStars(); if (Key.isDown(32) == true) { _root.main_sphere.sphere_selection.gotoAndStop(2); _root.previous_selection = _root.current_selection; _root.current_selection = _root.main_sphere; if (_root.current_selection != null && _root.previous_selection != null && _root.previous_selection.units > 1 && _root.previous_selection != _root.current_selection && _root.spheres_under_your_control[_root.previous_selection.fleet_number] == 1) { _root.create_laser(_root.current_selection, _root.previous_selection); _root.create_your_attack_squad(_root.current_selection, _root.previous_selection, Math.floor(_root.previous_selection.units / 2)); } } if (Key.isDown(49) == true) { if (_root.space_battle_options_menu.option_1._currentframe >= 100) { if (_global.aria_girl == 1) { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } _root.space_battle_options_menu.option_1.gotoAndPlay(1); if (_global.RallyLv == 1) { if (Math.floor(_global.your_mercenary_count / 2) > _global.aria_girl_array[_global.aria_girl].charisma) { _root.main_sphere.units += Math.floor(_global.your_mercenary_count / 2); } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } } else { if (Key.isDown(50) == true) { if (_root.space_battle_options_menu.option_2._currentframe >= 300) { if (_global.aria_girl == 1) { if (_root.spheres_under_your_control[_root.current_selection.fleet_number] == 0) { _root.space_battle_options_menu.option_2.gotoAndPlay(1); _root.current_selection.units = 0; _root.current_selection.shield_amount = 0; _root.current_selection.shield.gotoAndStop(1); } } else { if (_global.aria_girl == 2 || _global.aria_girl == 6) { if (_root.spheres_under_your_control[_root.current_selection.fleet_number] == 0) { _root.current_selection.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.current_selection.fleet_number] = 1; _root.current_selection.shield_amount = 0; _root.current_selection.shield.gotoAndStop(1); _root.create_your_auto_attack_squad(_root.main_sphere, _root.current_selection, Math.floor(_root.current_selection.units / 2)); _root.space_battle_options_menu.option_2.gotoAndPlay(1); _root.current_selection.heart.gotoAndPlay(2); } } else { if (_global.aria_girl == 3) { _root.space_battle_options_menu.option_2.gotoAndPlay(1); _root.main_sphere.units += 50 + _global.aria_girl_array[_global.aria_girl].charisma; x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root['sphere_' + x].units += 50 + _global.aria_girl_array[_global.aria_girl].charisma; } ++x; } } else { if (_global.aria_girl == 7) { _root.space_battle_options_menu.option_2.gotoAndPlay(1); _root.your_shotgun_laser = 1; } else { if (_global.aria_girl == 4) { _root.space_battle_options_menu.option_2.gotoAndPlay(1); _root.disaster = 1; _root.main_ship.glow.gotoAndPlay(2); _root.main_ship.target_ret.gotoAndStop(1); x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { _root['sphere_' + x].units -= _global.aria_girl_array[_global.aria_girl].ship * 2; if (_root['sphere_' + x].units < 0) { _root['sphere_' + x].units = 0; _root['sphere_' + x].shield_amount = 0; _root['sphere_' + x].shield.gotoAndStop(1); } } ++x; } } } } } } } } else { if (Key.isDown(51) == true) { if (_root.space_battle_options_menu.option_3._currentframe >= 300) { if (_global.aria_girl == 1) { if (_root.space_battle_options_menu.option_3._currentframe >= 300) { _root.space_battle_options_menu.option_3.gotoAndPlay(1); _root.assult += 25; _root.main_ship.laser.gotoAndPlay(2); } } else { if (_global.aria_girl == 2 || _global.aria_girl == 6) { if (_root.space_battle_options_menu.option_3._currentframe >= 300) { _root.space_battle_options_menu.option_3.gotoAndPlay(1); x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0 && _root['sphere_' + x].units <= _global.aria_girl_array[_global.aria_girl].charisma) { _root['sphere_' + x].sphere_control.gotoAndStop(2); _root['sphere_' + x].shield_amount = 0; _root['sphere_' + x].shield.gotoAndStop(1); _root.spheres_under_your_control[x] = 1; _root.create_your_auto_attack_squad(_root.main_sphere, _root['sphere_' + x], Math.floor(_root['sphere_' + x].units / 2)); _root['sphere_' + x].heart.gotoAndPlay(2); } ++x; } } } else { if (_global.aria_girl == 3 || _global.aria_girl == 7) { if (_root.space_battle_options_menu.option_3._currentframe >= 300) { _root.space_battle_options_menu.option_3.gotoAndPlay(1); _root.main_sphere.shield.gotoAndStop(2); _root.main_sphere.shield_amount += 20 + _global.aria_girl_array[_global.aria_girl].ship * 2; _root.main_ship.shield.gotoAndStop(2); x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root['sphere_' + x].shield_amount += _global.aria_girl_array[_global.aria_girl].ship; _root['sphere_' + x].shield.gotoAndStop(2); } ++x; } } } else { if (_global.aria_girl == 4) { if (_root.space_battle_options_menu.option_3._currentframe >= 300) { _root.space_battle_options_menu.option_3.gotoAndPlay(1); _root.weaken += _global.aria_girl_array[_global.aria_girl].ship; } } } } } } } else { if (Key.isDown(52) == true) { } else { if (Key.isDown(100) == true) { } else { if (Key.isDown(101) == true) { } else { if (Key.isDown(102) == true) { } } } } } } } }; } frame 3 { function createField(_type) { if (_type == 1) { var v7 = 20; var v5 = 'star1.jpg'; var v6 = 1; } else { if (_type == 2) { var v7 = 50; var v5 = 'star2.jpg'; var v6 = 0.66; } else { if (_type == 3) { var v7 = 100; var v5 = 'star3.jpg'; var v6 = 0.33; } } } var v4 = scope.attachMovie('starbox', 'starbox_mc', scope.getNextHighestDepth()); v4._width = starboxW; v4._height = starboxH; v4._x = starboxX; v4._y = starboxY; var v2 = 0; while (v2 < v7) { var v3 = flash.display.BitmapData.loadBitmap(v5); var v1 = v4.createEmptyMovieClip(v5, v4.getNextHighestDepth()); v1.attachBitmap(v3, v1.getNextHighestDepth(), 'always', false); v1._x = random(starboxW - v1._width); v1._y = random(starboxH - v1._height); v1.speedModifier = v6; starsArray.push(v1); ++v2; } } function updateStars() { var v2 = 0; while (v2 < starsArray.length) { var v1 = starsArray[v2]; v1._x += speedX * v1.speedModifier; v1._y += speedY * v1.speedModifier; if (v1._x >= starboxW - v1._width) { v1._x = v1._width; v1._y = random(starboxH - v1._height); } else { if (v1._x <= 0) { v1._x = starboxW - v1._width; v1._y = random(starboxH - v1._height); } } if (v1._y >= starboxH - v1._height) { v1._x = random(starboxW - v1._width); v1._y = v1._height; } else { if (v1._y <= 0) { v1._x = random(starboxW - v1._width); v1._y = starboxH - v1._height; } } ++v2; } } _global.pnm_active = 0; _global.pnm_active_time = 30; _root.clicked = false; _root.dragging = false; _root.your_mercenary_count = _global.your_mercenary_count; if (_global.aria_girl == 1) { _root.your_mercenary_count += _global.aria_girl_array[_global.aria_girl].charisma; } _root.support_char = _global.support_char; if (_root.support_char > 0 && _root.support_char != _global.aria_girl && _root.support_char < 6) { _root.support_ability_random = 15; _root.support_laser_damage = _global.aria_girl_array[_global.support_char].ship; _root.support_ship.gotoAndStop(_global.support_char); } else { _root.support_char = 0; _global.support_char = 0; _root.support_ship._visible = false; } _root.attack_squads_in_play = 0; _root.your_lasers_in_play = 0; _root.your_small_lasers_in_play = 0; _root.enemy_lasers_in_play = 0; if (_global.aria_girl == 1) { _root.Arielle_sfx7.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx7.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx7.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx7.start(0, 1); } _root.enemy_shotgun_laser = 0; _root.enemy_support_shotgun_laser = 0; _global.enemy_target_blast_amount = (random(1000) + 100) * _global.current_area; _root.your_shotgun_laser = 0; _root.your_shotgun_rounds = 10; _root.sship_random = 10; _root.disaster = 0; _root.battle_text = ''; _global.battle_text_timer = 0; _global.battle_talk = 0; _global.boss_spawned = 0; _global.current_attk_ships = 0; _global.max_attk_ships = 0; if (_global.aria_girl == 1) { _global.max_attk_ships = 3; } else { if (_global.aria_girl == 2) { _global.max_attk_ships = 6; } else { if (_global.aria_girl == 3) { _global.max_attk_ships = 4; } else { if (_global.aria_girl == 4) { _global.max_attk_ships = 4; } else { if (_global.aria_girl == 5) { _global.max_attk_ships = 10; } else { if (_global.aria_girl == 6) { _global.max_attk_ships = 10; } else { if (_global.aria_girl == 7) { _global.max_attk_ships = 10; } } } } } } } _root.laser_speed = 10; _root.your_squad_move_speed = 5; if (_global.aria_girl == 2 || _global.aria_girl == 7) { _root.your_squad_move_speed = 10; } _root.weaken = 0; _root.assult = 0; _root.number_of_bases_you_control = 0; _root.enemy_next_action_random = 10; _root.enemy_next_action_time = random(_root.enemy_next_action_random) + 3; _root.enemy_next_action_timer = _root.enemy_next_action_time; _root.enemy_squads_in_play = 0; _root.enemy_squad_move_speed = 5; if (_global.aria_girl == 4) { _root.enemy_squad_move_speed = 1; } _root.enemy_ai = 1; _root.temp_variable = 0; _root.reset_clicked = 0; _root.enemy_fleet_size = random(10 + _global.current_area) + 6 + _global.current_area; _root.enemy_mercenary_count = random(500 * _global.current_area) + 5000 * _global.current_area; if (_global.hardmode == 1) { _root.enemy_mercenary_count += random(500 * _global.current_area) + 5000 * _global.current_area; } _root.enemy_laser_power = random(5) + 1 + _global.current_area; if (_global.assistanceship1_destroyed == 0 && _global.current_area > 1) { _root.enemy_laser_power += random(50) + 1 + _global.current_area; } if (_global.hardmode == 1) { _root.enemy_laser_power += random(5) + 1 + _global.current_area; } _root.enemy_ship_level = random(4) + 1 + _global.current_area; if (_global.assistanceship1_destroyed == 0 && _global.current_area > 1 || _global.hardmode == 1) { _root.enemy_ship_level = 4 + _global.current_area; } _root.enemy_laser_depth = 0; _root.enemy_attack_ship_depth = 0; _root.player_laser_depth = 0; _root.player_attack_ship_depth = 0; _root.enemy_units_array = new Array(); _root.enemy_unit_sphere_amount_array = new Array(); _root.spheres_under_your_control = new Array(); _root.current_selection = null; _root.previous_selection = null; _global.current_enemy_support = 6; if ((_global.current_area > 1 || _global.hardmode == 1) && _global.assaultship_destroyed == 0) { _root.support_flyin.gotoAndPlay(2); } _root.spheres_under_your_control[0] = 1; x = 1; while (x <= _root.enemy_fleet_size) { _root.spheres_under_your_control[x] = 0; _root.can_place = false; while (!_root.can_place) { _root.can_place = true; px = Math.floor(Math.random() * 500) + 250; py = Math.floor(Math.random() * 500) + 50; w = 40; y = x - 1; while (y >= 1) { dist_x = px - _root['sphere_' + y]._x; dist_y = py - _root['sphere_' + y]._y; distance = Math.ceil(Math.sqrt(dist_x * dist_x + dist_y * dist_y)); min_distance = (w + _root['sphere_' + y]._width) / 2 + 20; if (distance < min_distance) { _root.can_place = false; } --y; } } nano = _root.attachMovie('sphere', 'sphere_' + x, x, {'_x': px, '_y': py, '_width': w, '_height': w}); nano.fleet_number = x; nano.shield_amount = 0; nano.shake = 0; nano.originalx = px; nano.originaly = py; nano.onEnterFrame = function () { if (this.shake > 0) { _root.shake(this); --this.shake; } if (this.shake == 1) { this._x = this.originalx; this._y = this.originaly; --this.shake; } if (_root.disaster == 1) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } if (this.units == 0) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } if (_global.pnm_active == 1 && this.sphere_control._currentframe == 1 && this.units >= 500) { this.units = 500; } if (_root.dragging) { if (this._x > Math.min(click_x, posx) and this._x < Math.max(click_x, posx) and this._y > Math.min(click_y, posy) and this._y < Math.max(click_y, posy)) { this.sphere_selection.gotoAndStop(2); } else { this.sphere_selection.gotoAndStop(1); } } }; nano.gotoAndStop(1); ++x; } _root.createEmptyMovieClip('selmovie', _root.getNextHighestDepth()); _root.onMouseDown = function () { click_x = _root._xmouse; click_y = _root._ymouse; _root.clicked = true; }; _root.onMouseUp = function () { _root.reset_clicked = 0; selmovie.clear(); xmouse = _root._xmouse; ymouse = _root._ymouse; if (!_root.dragging) { x = 1; while (x <= _root.enemy_fleet_size) { dist_x = _root['sphere_' + x]._x - xmouse; dist_y = _root['sphere_' + x]._y - ymouse; distance = Math.floor(Math.sqrt(dist_x * dist_x + dist_y * dist_y)); if (distance < _root['sphere_' + x]._width / 2) { } else { _root['sphere_' + x].sphere_selection.gotoAndStop(1); } ++x; } } _root.clicked = false; _root.dragging = false; if (_root.main_sphere.sphere_selection._currentframe == 2) { _root.main_sphere.sphere_selection.gotoAndStop(1); } removeMovieClip(_root.ray); }; var test_total = 0; _root.main_sphere.units = _root.your_mercenary_count; z = 0; while (z < _root.enemy_fleet_size - 1) { _root.enemy_units_array[z] = random(_root.enemy_mercenary_count) + 1; ++z; } _root.enemy_units_array.sortOn('sorted', Array.NUMERIC); z = 0; while (z < _root.enemy_fleet_size - 1) { ++z; } z = 0; while (z < _root.enemy_fleet_size - 1) { if (z == 0) { _root.enemy_unit_sphere_amount_array[z] = _root.enemy_units_array[z]; } else { if (z < _root.enemy_fleet_size - 1) { _root.enemy_unit_sphere_amount_array[z] = _root.enemy_units_array[z] - _root.enemy_units_array[z - 1]; } else { if (z == _root.enemy_fleet_size - 1) { _root.enemy_unit_sphere_amount_array[z] = _root.enemy_mercenary_count - _root.enemy_units_array[z]; } } } ++z; } _root.enemy_unit_sphere_amount_array[_root.enemy_fleet_size] = _root.enemy_mercenary_count - _root.enemy_units_array[_root.enemy_fleet_size - 2]; z = 0; while (z <= _root.enemy_fleet_size) { _root.temp_variable = z + 1; _root['sphere_' + _root.temp_variable].units = _root.enemy_unit_sphere_amount_array[z]; ++z; } _root['sphere_' + _root.enemy_fleet_size].units = _root.enemy_unit_sphere_amount_array[_root.enemy_fleet_size]; if (_global.aria_girl_array[_global.aria_girl].love >= 300) { _root.sphere_1.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_1.fleet_number] = 1; _root.sphere_2.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_2.fleet_number] = 1; _root.sphere_3.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_3.fleet_number] = 1; } else { if (_global.aria_girl_array[_global.aria_girl].love >= 200) { _root.sphere_1.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_1.fleet_number] = 1; _root.sphere_2.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_2.fleet_number] = 1; } else { if (_global.aria_girl_array[_global.aria_girl].love >= 100) { _root.sphere_1.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_1.fleet_number] = 1; } } } _root.create_laser = function (current_selection, previous_selection) { removeMovieClip(_root.ray); _root.createEmptyMovieClip('ray', _root.getNextHighestDepth()); ray.lineStyle(1, 10066329); ray.moveTo(previous_selection._x, previous_selection._y); ray.lineTo(current_selection._x, current_selection._y); }; _root.depth_minus = 0; _root.depth_multi = 1000000; _root.depth_and_laser_adjsut = function () { if (_root.getNextHighestDepth() - _root.depth_multi * _root.depth_minus > 1000000) { ++_root.depth_multi; } }; _root.delete_mc = function (mc) { mc.removeMovieClip(); }; _root.create_your_attack_squad = function (current_selection, previous_selection, squad_units) { ++_root.attack_squads_in_play; _root.attachMovie('your_attack_squad', 'your_attack_squad_' + _root.attack_squads_in_play, _root.getNextHighestDepth()); _root['your_attack_squad_' + _root.attack_squads_in_play]._x = previous_selection._x; _root['your_attack_squad_' + _root.attack_squads_in_play]._y = previous_selection._y; _root['your_attack_squad_' + _root.attack_squads_in_play].units = squad_units + _global.aria_girl_array[_global.aria_girl].charisma; previous_selection.units -= Math.floor(previous_selection.units / 2); var v5 = current_selection._x - previous_selection._x; var v6 = current_selection._y - previous_selection._y; var v8 = Math.sqrt(v5 * v5 + v6 * v6); s; var v7 = v8 / _root.your_squad_move_speed; _root['your_attack_squad_' + _root.attack_squads_in_play].xSpeed = v5 / v7; _root['your_attack_squad_' + _root.attack_squads_in_play].ySpeed = v6 / v7; _root['your_attack_squad_' + _root.attack_squads_in_play].squad_units = squad_units; _root['your_attack_squad_' + _root.attack_squads_in_play].previous_selection = previous_selection; _root['your_attack_squad_' + _root.attack_squads_in_play].current_selection = current_selection; radAngle = Math.atan2(v6, v5); _root['your_attack_squad_' + _root.attack_squads_in_play].squad._rotation = int(radAngle * 360 / 6.283185307179586 + 90); _root['your_attack_squad_' + _root.attack_squads_in_play].onEnterFrame = function () { if (_root.number_of_bases_you_control == _root.enemy_fleet_size + 1 && this.current_selection.sphere_control._currentframe > 1) { _root.delete_mc(this); removeMovieClip(_root.ray); } _root.pilot_pic.pilot.pilot.gotoAndStop(1); if (_global.aria_girl == 1 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Move out! Now!'; } else { _root.battle_text = 'Go now! I\'ll cover you!'; } } else { if (_global.aria_girl == 2 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Go get \'em boys!'; } else { _root.battle_text = 'There!!! Go Go! Quickly!!'; } } else { if (_global.aria_girl == 3 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'You have your coordinates men! Get going!'; } else { _root.battle_text = 'No time to waste!'; } } else { if (_global.aria_girl == 4 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Please go capture that point!'; } else { _root.battle_text = 'Okay now! Good luck guys!'; } } } } } this._x += this.xSpeed; this._y += this.ySpeed; if (!(Math.abs(this.xSpeed) > 0 && Math.abs(this.ySpeed) > 0)) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 1) { this.current_selection.units -= this.squad_units; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[this.current_selection.fleet_number] = 1; this.current_selection.units *= -1; } } else { if (current_selection.sphere_control._currentframe == 2) { this.current_selection.units += this.squad_units; } } if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 3 && _global.eplosive_ships == 1) { this.current_selection.shield.gotoAndStop(1); this.current_selection.shield_amount = 0; } --_global.current_attk_ships; if (_global.current_attk_ships <= 0) { _global.current_attk_ships = 0; } _root.delete_mc(this); removeMovieClip(_root.ray); } }; current_selection.sphere_selection.gotoAndStop(1); previous_selection.sphere_selection.gotoAndStop(1); _root.current_selection = null; _root.previous_selection = null; }; _root.create_your_auto_attack_squad = function (current_selection, previous_selection, squad_units) { ++_root.attack_squads_in_play; _root.attachMovie('your_attack_squad', 'your_attack_squad_' + _root.attack_squads_in_play, _root.getNextHighestDepth()); _root['your_attack_squad_' + _root.attack_squads_in_play]._x = previous_selection._x; _root['your_attack_squad_' + _root.attack_squads_in_play]._y = previous_selection._y; _root['your_attack_squad_' + _root.attack_squads_in_play].units = squad_units; var v5 = current_selection._x - previous_selection._x; var v6 = current_selection._y - previous_selection._y; var v8 = Math.sqrt(v5 * v5 + v6 * v6); s; var v7 = v8 / _root.your_squad_move_speed; _root['your_attack_squad_' + _root.attack_squads_in_play].xSpeed = v5 / v7; _root['your_attack_squad_' + _root.attack_squads_in_play].ySpeed = v6 / v7; _root['your_attack_squad_' + _root.attack_squads_in_play].squad_units = squad_units; _root['your_attack_squad_' + _root.attack_squads_in_play].previous_selection = previous_selection; _root['your_attack_squad_' + _root.attack_squads_in_play].current_selection = current_selection; radAngle = Math.atan2(v6, v5); _root['your_attack_squad_' + _root.attack_squads_in_play].squad._rotation = int(radAngle * 360 / 6.283185307179586 + 90); _root['your_attack_squad_' + _root.attack_squads_in_play].onEnterFrame = function () { if (_root.number_of_bases_you_control == _root.enemy_fleet_size + 1 && this.current_selection.sphere_control._currentframe > 1) { _root.delete_mc(this); removeMovieClip(_root.ray); } _root.pilot_pic.pilot.pilot.gotoAndStop(1); if (_global.aria_girl == 1 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Move out! Now!'; } else { _root.battle_text = 'Go now! I\'ll cover you!'; } } else { if (_global.aria_girl == 2 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Go get \'em boys!'; } else { _root.battle_text = 'There!!! Go Go! Quickly!!'; } } else { if (_global.aria_girl == 3 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'You have your coordinates men! Get going!'; } else { _root.battle_text = 'No time to waste!'; } } else { if (_global.aria_girl == 4 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Please go capture that point!'; } else { _root.battle_text = 'Okay now! Good luck guys!'; } } } } } this._x += this.xSpeed; this._y += this.ySpeed; if (!(Math.abs(this.xSpeed) > 0 && Math.abs(this.ySpeed) > 0)) { _root.delete_mc(this); } if (_root._currentframe != 3) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 1) { this.current_selection.units -= this.squad_units; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[this.current_selection.fleet_number] = 1; this.current_selection.units *= -1; } } else { if (current_selection.sphere_control._currentframe == 2) { this.current_selection.units += this.squad_units; } } if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 3 && _global.eplosive_ships == 1) { this.current_selection.shield.gotoAndStop(1); this.current_selection.shield_amount = 0; } --_global.current_attk_ships; if (_global.current_attk_ships <= 0) { _global.current_attk_ships = 0; } _root.delete_mc(this); removeMovieClip(_root.ray); } }; current_selection.sphere_selection.gotoAndStop(1); previous_selection.sphere_selection.gotoAndStop(1); }; _root.create_enemy_cargo_squad = function (ai) { ++_root.enemy_squads_in_play; _root.attachMovie('enemy_attack_squad', 'enemy_attack_squad_' + _root.enemy_squads_in_play, _root.getNextHighestDepth()); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = _root.enemy_cargo_ship; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = null; if (ai == 1) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection.units > _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } } else { if (ai == 2) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection.units > _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } } } _root['enemy_attack_squad_' + _root.enemy_squads_in_play]._x = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._x; _root['enemy_attack_squad_' + _root.enemy_squads_in_play]._y = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._y; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].units = 30 * _global.current_area; var v4 = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection._x - _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._x; var v5 = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection._y - _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); var v6 = v7 / _root.enemy_squad_move_speed; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].xSpeed = v4 / v6; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].ySpeed = v5 / v6; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].squad_units = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].units; radAngle = Math.atan2(v5, v4); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].squad._rotation = int(radAngle * 360 / 6.283185307179586 + 90); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].onEnterFrame = function () { if (this.hitTest(_root.main_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (this.hitTest(_root.support_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (_root.disaster == 1) { _root.createExplosion(this._x, this._y, 4); _root.delete_mc(this); } if (_root._currentframe != 3) { _root.delete_mc(this); } this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0 || this._x == _root.enemy_cargo_ship._x && this._y == _root.enemy_cargo_ship._y) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 2) { if (this.current_selection.shield._currentframe == 1) { this.current_selection.units -= this.squad_units; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(1); _root.spheres_under_your_control[this.current_selection.fleet_number] = 0; this.current_selection.units *= -1; this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } } } else { if (this.current_selection.sphere_control._currentframe == 1) { this.current_selection.units += this.squad_units; } } _root.delete_mc(this); } }; }; _root.create_enemy_attack_squad = function (ai) { ++_root.enemy_squads_in_play; _root.attachMovie('enemy_attack_squad', 'enemy_attack_squad_' + _root.enemy_squads_in_play, _root.getNextHighestDepth()); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = null; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = null; if (ai == 1) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection.units > _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } } } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection.units < _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = _root['sphere_' + x]; } } } ++x; } } else { if (ai == 2) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection.units > _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } } if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection.units < _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = _root['sphere_' + x]; } } } ++x; } } } _root['enemy_attack_squad_' + _root.enemy_squads_in_play]._x = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._x; _root['enemy_attack_squad_' + _root.enemy_squads_in_play]._y = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._y; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].units = Math.floor(_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection.units / 2); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection.units = Math.floor(_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection.units / 2); var v3 = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection._x - _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._x; var v4 = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection._y - _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._y; var v6 = Math.sqrt(v3 * v3 + v4 * v4); var v5 = v6 / _root.enemy_squad_move_speed; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].xSpeed = v3 / v5; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].ySpeed = v4 / v5; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].squad_units = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].units; radAngle = Math.atan2(v4, v3); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].squad._rotation = int(radAngle * 360 / 6.283185307179586 + 90); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].onEnterFrame = function () { if (this.hitTest(_root.main_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (this.hitTest(_root.support_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (_root.disaster == 1) { _root.createExplosion(this._x, this._y, 4); _root.delete_mc(this); } if (_root._currentframe != 3) { _root.delete_mc(this); } this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0 || this._x == _root.enemy_cargo_ship._x && this._y == _root.enemy_cargo_ship._y) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 2) { if (this.current_selection.shield._currentframe == 1) { this.current_selection.units -= this.squad_units; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(1); _root.spheres_under_your_control[this.current_selection.fleet_number] = 0; this.current_selection.units *= -1; this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } } } else { if (this.current_selection.sphere_control._currentframe == 1) { this.current_selection.units += this.squad_units; } } _root.delete_mc(this); } }; }; _root.shoot_your_laser = function () { if (_root.your_shotgun_laser == 0) { ++_root.your_lasers_in_play; _root.attachMovie('aria_laser', 'aria_laser_' + _root.your_lasers_in_play, _root.getNextHighestDepth()); _root['aria_laser_' + _root.your_lasers_in_play].previous_selection = _root.main_ship; _root['aria_laser_' + _root.your_lasers_in_play].current_selection = null; x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection == null) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection.units < _root['sphere_' + x].units) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } if (_root.boss_sphere._visible == true && _root['aria_laser_' + _root.your_lasers_in_play].current_selection.units < _root.boss_sphere.units && _root.boss_sphere.sphere_control._currentframe == 1) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root.boss_sphere; } if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection == null) { _root.delete_mc(_root['aria_laser_' + _root.your_lasers_in_play]); } if (_global.aria_girl == 1 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Keep up the attack!'; } else { _root.battle_text = 'I won\'t let you win!'; } } else { if (_global.aria_girl == 2 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Damn!! Die already you asshole!'; } else { _root.battle_text = 'Shit. This is taking fucking forever!!'; } } else { if (_global.aria_girl == 3 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Don\'t lose focus. We can win.'; } else { _root.battle_text = 'We are too tough to be defeated man!'; } } else { if (_global.aria_girl == 4 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'We will win! just don\'t die!'; } else { _root.battle_text = 'Everyone! Lets do our best!'; } } else { if (_global.aria_girl == 5 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'These fools just don\'t know when to quit.'; } else { _root.battle_text = 'How pathetic!'; } } else { if (_global.aria_girl == 6 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Yay......'; } else { _root.battle_text = 'You\'d think they would just quit by now.'; } } else { if (_global.aria_girl == 7 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Just give it up!'; } else { _root.battle_text = 'I\'m totally wasting my time!!!'; } } } } } } } } _root['aria_laser_' + _root.your_lasers_in_play]._x = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; _root['aria_laser_' + _root.your_lasers_in_play]._y = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v4 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._x - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; var v5 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._y - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); var v6 = v7 / _root.laser_speed; _root['aria_laser_' + _root.your_lasers_in_play].xSpeed = v4 / v6; _root['aria_laser_' + _root.your_lasers_in_play].ySpeed = v5 / v6; radAngle = Math.atan2(v5, v4); _root['aria_laser_' + _root.your_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['aria_laser_' + _root.your_lasers_in_play].onLoad = function () { this.gotoAndStop(_global.aria_girl); }; _root['aria_laser_' + _root.your_lasers_in_play].onEnterFrame = function () { this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (_root._currentframe != 3) { _root.delete_mc(this); } if (this.hitTest(_root.ls)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 1) { this.current_selection.units -= _global.aria_girl_array[_global.aria_girl].ship; if (this.current_selection.units <= 0) { if (_global.AttkShipLv > 0 && _global.current_attk_ships < _global.max_attk_ships) { ++_global.current_attk_ships; _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, _global.aria_girl_array[_global.aria_girl].space); } this.current_selection.units = 0; } } if (this.current_selection.shield_amount > 0) { this.current_selection.shield_amount -= 1; } if (this.current_selection.shield_amount <= 0) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } this.current_selection.shake = 10; _root.createExplosion(this._x, this._y, _global.aria_girl); _root.delete_mc(this); } }; } }; _root.shoot_support_laser = function () { _root.support_shotgun_laser = 0; if (_root.support_shotgun_laser == 0) { ++_root.your_lasers_in_play; _root.attachMovie('aria_laser', 'aria_laser_' + _root.your_lasers_in_play, _root.getNextHighestDepth()); _root['aria_laser_' + _root.your_lasers_in_play].previous_selection = _root.support_ship; _root['aria_laser_' + _root.your_lasers_in_play].current_selection = null; x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection == null) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection.units < _root['sphere_' + x].units) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } if (_root.boss_sphere._visible == true && _root['aria_laser_' + _root.your_lasers_in_play].current_selection.units < _root.boss_sphere.units && _root.boss_sphere.sphere_control._currentframe == 1) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root.boss_sphere; } if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection == null) { _root.delete_mc(_root['aria_laser_' + _root.your_lasers_in_play]); } _root['aria_laser_' + _root.your_lasers_in_play]._x = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; _root['aria_laser_' + _root.your_lasers_in_play]._y = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v4 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._x - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; var v5 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._y - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); var v6 = v7 / _root.laser_speed; _root['aria_laser_' + _root.your_lasers_in_play].xSpeed = v4 / v6; _root['aria_laser_' + _root.your_lasers_in_play].ySpeed = v5 / v6; radAngle = Math.atan2(v5, v4); _root['aria_laser_' + _root.your_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['aria_laser_' + _root.your_lasers_in_play].onLoad = function () { this.gotoAndStop(_root.support_char); }; _root['aria_laser_' + _root.your_lasers_in_play].onEnterFrame = function () { this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); } if (this.hitTest(_root.ls)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 1) { this.current_selection.units -= _root.support_laser_damage; if (this.current_selection.units <= 0) { if (_global.AttkShipLv > 0 && _global.current_attk_ships < _global.max_attk_ships + 3) { ++_global.current_attk_ships; _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, _global.aria_girl_array[_global.aria_girl].space); } this.current_selection.units = 0; } } if (this.current_selection.shield_amount > 0) { this.current_selection.shield_amount -= 1; } if (this.current_selection.shield_amount <= 0) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } this.current_selection.shake = 10; _root.createExplosion(this._x, this._y, _global.aria_girl); _root.delete_mc(this); } }; } }; _root.shoot_enemy_laser = function (fromShip) { if (_root.enemy_shotgun_laser == 0) { ++_root.enemy_lasers_in_play; _root.attachMovie('aria_laser', 'enemy_laser_' + _root.enemy_lasers_in_play, _root.getNextHighestDepth()); _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection = fromShip; _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection = _root.main_sphere; x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { if (_root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection == null) { _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection.units > _root['sphere_' + x].units) { _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } _root['enemy_laser_' + _root.enemy_lasers_in_play]._x = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; _root['enemy_laser_' + _root.enemy_lasers_in_play]._y = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v4 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._x - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; var v5 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._y - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); if (_root.weaken <= 0) { var v6 = v7 / _root.laser_speed; } else { var v6 = v7; } _root['enemy_laser_' + _root.enemy_lasers_in_play].xSpeed = v4 / v6; _root['enemy_laser_' + _root.enemy_lasers_in_play].ySpeed = v5 / v6; if (_root.weaken <= 0) { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = _root.enemy_laser_power; } else { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = 1; } radAngle = Math.atan2(v5, v4); _root['enemy_laser_' + _root.enemy_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['enemy_laser_' + _root.enemy_lasers_in_play].onLoad = function () { this.gotoAndStop(5); }; _root['enemy_laser_' + _root.enemy_lasers_in_play].onEnterFrame = function () { if (this.hitTest(_root.main_ship.laser)) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (this.hitTest(_root.support_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (_root.disaster == 1) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (_root._currentframe != 3) { _root.delete_mc(this); } this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (this._x == this.previous_selection._x && this._y == this.previous_selection._y) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 2) { if (this.current_selection.shield_amount <= 0) { this.current_selection.units -= this.laserdamage; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(1); _root.spheres_under_your_control[this.current_selection.fleet_number] = 0; this.current_selection.units = 0; } } else { --this.current_selection.shield_amount; if (this.current_selection.shield_amount <= 0) { this.current_selection.shield.gotoAndStop(1); if (this.current_selection == _root.main_sphere) { _root.main_ship.shield.gotoAndStop(1); } } } } _root.createExplosion(this._x, this._y, 0); if (_root.pilot_pic._currentframe == 1 && this.current_selection == _root.main_sphere) { if (_global.aria_girl == 3 && _root.main_ship.shield._currentframe > 0) { } else { if (_global.aria_girl == 1) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Get it together Ari...'; } else { _root.battle_text = 'I will not lose!'; } } else { if (_global.aria_girl == 2) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'How am I getting hit!?'; } else { _root.battle_text = 'We took damage!?'; } } else { if (_global.aria_girl == 3) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Brace for impact!'; } else { _root.battle_text = 'Hull damage report!'; } } else { if (_global.aria_girl == 4) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Wait! Stop shooting!'; } else { _root.battle_text = 'Owie! what should I do?'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I\'m hit? ...Impossible.'; } else { _root.battle_text = 'Tch! I\'ll give you that one.'; } } else { if (_global.aria_girl == 6) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Hmm not bad.'; } else { _root.battle_text = 'That tickles.'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I took damage!?'; } else { _root.battle_text = 'I hate this nerd!'; } } } } } } } } _root.pilot_pic.pilot.pilot.gotoAndStop(2); _root.pilot_pic.gotoAndPlay(2); } } this.current_selection.shake = 10; _root.delete_mc(this); } }; } }; _root.shoot_enemy_support_laser = function (fromShip) { if (_root.enemy_shotgun_laser == 0) { ++_root.enemy_lasers_in_play; _root.attachMovie('aria_laser', 'enemy_laser_' + _root.enemy_lasers_in_play, _root.getNextHighestDepth()); _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection = fromShip; _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection = _root.main_sphere; _root['enemy_laser_' + _root.enemy_lasers_in_play]._x = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; _root['enemy_laser_' + _root.enemy_lasers_in_play]._y = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v4 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._x - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; var v5 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._y - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); if (_root.weaken <= 0) { var v6 = v7 / _root.laser_speed; } else { var v6 = v7; } _root['enemy_laser_' + _root.enemy_lasers_in_play].xSpeed = v4 / v6; _root['enemy_laser_' + _root.enemy_lasers_in_play].ySpeed = v5 / v6; if (_root.weaken <= 0) { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = _root.enemy_laser_power; } else { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = 1; } radAngle = Math.atan2(v5, v4); _root['enemy_laser_' + _root.enemy_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['enemy_laser_' + _root.enemy_lasers_in_play].onLoad = function () { this.gotoAndStop(5); }; _root['enemy_laser_' + _root.enemy_lasers_in_play].onEnterFrame = function () { if (this.hitTest(_root.main_ship.laser)) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (this.hitTest(_root.support_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (_root.disaster == 1) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (_root._currentframe != 3) { _root.delete_mc(this); } this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (this._x == this.previous_selection._x && this._y == this.previous_selection._y) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 2) { if (this.current_selection.shield_amount <= 0) { this.current_selection.units -= this.laserdamage; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(1); _root.spheres_under_your_control[this.current_selection.fleet_number] = 0; this.current_selection.units = 0; } } else { --this.current_selection.shield_amount; if (this.current_selection.shield_amount <= 0) { this.current_selection.shield.gotoAndStop(1); if (this.current_selection == _root.main_sphere) { _root.main_ship.shield.gotoAndStop(1); } } } } _root.createExplosion(this._x, this._y, 0); if (_root.pilot_pic._currentframe == 1 && this.current_selection == _root.main_sphere) { if (_global.aria_girl == 3 && _root.main_ship.shield._currentframe > 0) { } else { if (_global.aria_girl == 1) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Get it together Ari...'; } else { _root.battle_text = 'I will not lose!'; } } else { if (_global.aria_girl == 2) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'How am I getting hit!?'; } else { _root.battle_text = 'We took damage!?'; } } else { if (_global.aria_girl == 3) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Brace for impact!'; } else { _root.battle_text = 'Hull damage report!'; } } else { if (_global.aria_girl == 4) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Wait! Stop shooting!'; } else { _root.battle_text = 'Owie! what should I do?'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I\'m hit? ...Impossible.'; } else { _root.battle_text = 'Tch! I\'ll give you that one.'; } } else { if (_global.aria_girl == 6) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Hmm not bad.'; } else { _root.battle_text = 'That tickles.'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I took damage!?'; } else { _root.battle_text = 'I hate this nerd!'; } } } } } } } } _root.pilot_pic.pilot.pilot.gotoAndStop(2); _root.pilot_pic.gotoAndPlay(2); } } this.current_selection.shake = 10; _root.delete_mc(this); } }; } }; _root.shoot_enemy_support_shotgun_laser = function () { if (_root.enemy_support_shotgun_laser == 1) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root.enemy_shotgun_laser_func(_root['sphere_' + x], _root.enemy_support_ship); } ++x; } _root.enemy_shotgun_laser_func(_root.main_sphere); } }; _root.shoot_enemy_shotgun_laser = function () { if (_root.enemy_shotgun_laser == 1) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root.enemy_shotgun_laser_func(_root['sphere_' + x], _root.enemy_ship); } ++x; } _root.enemy_shotgun_laser_func(_root.main_sphere); } }; _root.enemy_shotgun_laser_func = function (target, sourceMC) { ++_root.enemy_lasers_in_play; _root.attachMovie('aria_laser', 'enemy_laser_' + _root.enemy_lasers_in_play, _root.getNextHighestDepth()); _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection = sourceMC; _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection = target; _root['enemy_laser_' + _root.enemy_lasers_in_play]._x = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; _root['enemy_laser_' + _root.enemy_lasers_in_play]._y = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v4 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._x - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; var v5 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._y - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); if (_root.weaken <= 0) { var v6 = v7 / _root.laser_speed; } else { var v6 = v7; } _root['enemy_laser_' + _root.enemy_lasers_in_play].xSpeed = v4 / v6; _root['enemy_laser_' + _root.enemy_lasers_in_play].ySpeed = v5 / v6; if (_root.weaken <= 0) { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = _root.enemy_laser_power; } else { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = 1; } radAngle = Math.atan2(v5, v4); _root['enemy_laser_' + _root.enemy_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['enemy_laser_' + _root.enemy_lasers_in_play].onLoad = function () { this.gotoAndStop(5); }; _root['enemy_laser_' + _root.enemy_lasers_in_play].onEnterFrame = function () { if (this.hitTest(_root.main_ship.laser)) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (this.hitTest(_root.support_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (_root.disaster == 1) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (_root._currentframe != 3) { _root.delete_mc(this); } this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 2) { if (this.current_selection.shield_amount <= 0) { this.current_selection.units -= this.laserdamage; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(1); _root.spheres_under_your_control[this.current_selection.fleet_number] = 0; this.current_selection.units = 0; } } else { --this.current_selection.shield_amount; if (this.current_selection.shield_amount <= 0) { this.current_selection.shield.gotoAndStop(1); if (this.current_selection == _root.main_sphere) { _root.main_ship.shield.gotoAndStop(1); } } } } _root.createExplosion(this._x, this._y, 0); if (_root.pilot_pic._currentframe == 1 && this.current_selection == _root.main_sphere) { if (_global.aria_girl == 3 && _root.main_ship.shield._currentframe > 0) { } else { if (_global.aria_girl == 1) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Get it together Ari...'; } else { _root.battle_text = 'I will not lose!'; } } else { if (_global.aria_girl == 2) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'How am I getting hit!?'; } else { _root.battle_text = 'We took damage!?'; } } else { if (_global.aria_girl == 3) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Brace for impact!'; } else { _root.battle_text = 'Hull damage report!'; } } else { if (_global.aria_girl == 4) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Wait! Stop shooting!'; } else { _root.battle_text = 'Owie! what should I do?'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I\'m hit? ...Impossible.'; } else { _root.battle_text = 'Tch! I\'ll give you that one.'; } } else { if (_global.aria_girl == 6) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Hmm not bad.'; } else { _root.battle_text = 'That tickles.'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I took damage!?'; } else { _root.battle_text = 'I hate this nerd!'; } } } } } } } } _root.pilot_pic.pilot.pilot.gotoAndStop(2); _root.pilot_pic.gotoAndPlay(2); } } this.current_selection.shake = 10; _root.delete_mc(this); } }; }; _root.shoot_your_shotgun_laser = function () { if (_root.your_shotgun_laser == 1 && _root.your_shotgun_rounds > 0) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { _root.your_shotgun_laser_func(_root['sphere_' + x]); } ++x; } --_root.your_shotgun_rounds; } if (_root.your_shotgun_rounds <= 0) { _root.your_shotgun_laser = 0; } if (_root.your_shotgun_laser == 0 && _root.your_shotgun_rounds < 10) { _root.your_shotgun_rounds = 10; } }; _root.your_shotgun_laser_func = function (target) { ++_root.your_lasers_in_play; _root.attachMovie('aria_laser', 'aria_laser_' + _root.your_lasers_in_play, _root.getNextHighestDepth()); _root['aria_laser_' + _root.your_lasers_in_play].previous_selection = _root.main_sphere; _root['aria_laser_' + _root.your_lasers_in_play].current_selection = target; _root['aria_laser_' + _root.your_lasers_in_play]._x = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; _root['aria_laser_' + _root.your_lasers_in_play]._y = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v4 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._x - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; var v5 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._y - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); if (_root.weaken <= 0) { var v6 = v7 / _root.laser_speed; } else { var v6 = v7; } _root['aria_laser_' + _root.your_lasers_in_play].xSpeed = v4 / v6; _root['aria_laser_' + _root.your_lasers_in_play].ySpeed = v5 / v6; _root['aria_laser_' + _root.your_lasers_in_play].laserdamage = _global.aria_girl_array[_global.aria_girl].ship; radAngle = Math.atan2(v5, v4); _root['aria_laser_' + _root.your_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['aria_laser_' + _root.your_lasers_in_play].onLoad = function () { this.gotoAndStop(_global.aria_girl); }; _root['aria_laser_' + _root.your_lasers_in_play].onEnterFrame = function () { this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (this._x == 0 || this._x == _root.main_sphere._x) { _root.delete_mc(this); } if (_root._currentframe != 3) { _root.delete_mc(this); } if (this.hitTest(_root.ls)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 1) { this.current_selection.units -= this.laserdamage; if (this.current_selection.units <= 0) { this.current_selection.units = 0; } } if (this.current_selection.shield_amount > 0) { this.current_selection.shield_amount -= 1; } if (this.current_selection.shield_amount <= 0) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } _root.createExplosion(this._x, this._y, 3); this.current_selection.shake = 10; _root.delete_mc(this); } }; }; _root.shoot_your_small_laser = function (z) { ++_root.your_small_lasers_in_play; _root.attachMovie('aria_laser_small', 'aria_laser_small_' + _root.your_small_lasers_in_play, _root.getNextHighestDepth()); _root['aria_laser_small_' + _root.your_small_lasers_in_play].previous_selection = _root['sphere_' + z]; _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection = null; x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { if (_root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection == null) { _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection = _root['sphere_' + x]; } else { if (_root.spheres_under_your_control[x] == 0 && _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection.units < _root['sphere_' + x].units) { _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } if (_root.boss_sphere._visible == true && _root['aria_laser_small_' + _root.your_lasers_in_play].current_selection.units < _root.boss_sphere.units && _root.boss_sphere.sphere_control._currentframe == 1) { _root['aria_laser_small_' + _root.your_lasers_in_play].current_selection = _root.boss_sphere; } if (_root['aria_laser_small_' + _root.your_lasers_in_play].current_selection == null) { _root.delete_mc(_root['aria_laser_small_' + _root.your_lasers_in_play]); } _root['aria_laser_small_' + _root.your_small_lasers_in_play]._x = _root['aria_laser_small_' + _root.your_small_lasers_in_play].previous_selection._x; _root['aria_laser_small_' + _root.your_small_lasers_in_play]._y = _root['aria_laser_small_' + _root.your_small_lasers_in_play].previous_selection._y; var v4 = _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection._x - _root['aria_laser_small_' + _root.your_small_lasers_in_play].previous_selection._x; var v5 = _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection._y - _root['aria_laser_small_' + _root.your_small_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); var v6 = v7 / _root.laser_speed; _root['aria_laser_small_' + _root.your_small_lasers_in_play].xSpeed = v4 / v6; _root['aria_laser_small_' + _root.your_small_lasers_in_play].ySpeed = v5 / v6; radAngle = Math.atan2(v5, v4); _root['aria_laser_small_' + _root.your_small_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['aria_laser_small_' + _root.your_small_lasers_in_play].onLoad = function () { this.gotoAndStop(_global.aria_girl); }; _root['aria_laser_small_' + _root.your_small_lasers_in_play].onEnterFrame = function () { this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (_root._currentframe != 3) { _root.delete_mc(this); } if (this.hitTest(_root.ls)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (_root.boss_ship._currentframe == 2 || _root.boss_ship._currentframe == 50) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.sphere._currentframe == 1) { this.current_selection.units -= _global.aria_girl_array[_global.aria_girl].ship; if (this.current_selection.units <= 0) { this.current_selection.units = 0; } } if (this.current_selection.shield_amount > 0) { this.current_selection.shield_amount -= 1; } if (this.current_selection.shield_amount <= 0) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } _root.createExplosion(this._x, this._y, _global.aria_girl); _root.delete_mc(this); } }; }; var particleMaxSpeed = 5; var particleFadeSpeed = 2; var particleTotal = _global.partical_total; var particleRange = 100; _root.createExplosion = function (targetX, targetY, pilot) { var v5 = 0; while (v5 < particleTotal) { var v4 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var internal_holder = v4.createEmptyMovieClip('internal_holder', v4.getNextHighestDepth()); internal_holder._x = -3.5; internal_holder._y = -3.5; internal_holder.attachMovie('laser_particle_mc', 'lp_mc', internal_holder.getNextHighestDepth()); v4._x = targetX; v4._y = targetY; v4._rotation = random(360); v4._alpha = 100; v4.boundyLeft = targetX - particleRange; v4.boundyTop = targetY - particleRange; v4.boundyRight = targetX + particleRange; v4.boundyBottom = targetY + particleRange; v4.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedX *= particleMaxSpeed; v4.speedY *= particleMaxSpeed; v4.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; ++numberOfParticles; v4.onEnterFrame = function () { if (this.internal_holder.lp_mc.laser._currentframe == 1) { if (pilot > 0) { this.internal_holder.lp_mc.laser.gotoAndStop(_global.aria_girl + 1); } else { this.internal_holder.lp_mc.laser.gotoAndStop(6); } } this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < this.boundyLeft || this._x > this.boundyRight || this._y < this.boundyTop || this._y > this.boundyBottom) { _root.delete_mc(this); --numberOfParticles; } if (_root._currentframe != 3) { _root.delete_mc(this); --numberOfParticles; } }; ++v5; } }; var scope = _root.bg; var starboxW = 1280; var starboxH = 720; var starboxX = 0; var starboxY = 0; var starsArray = []; var speedX = -4.75; var speedY = 7.5; createField(1); createField(2); createField(3); var shakeRange = 1; _root.shake = function (target) { var v2 = random(2); if (v2 == 0) { target._x += shakeRange; } else { if (v2 == 1) { target._x -= shakeRange; } } v2 = random(2); if (v2 == 0) { target._y += shakeRange; } else { if (v2 == 1) { target._y -= shakeRange; } } }; var sparkAlpha = 100; _root.addSparkles = function (_targetX, _targetY, _sparkNumber, _distance, _sparkSize) { var v6 = 0; while (v6 < _sparkNumber) { var v4 = _root.attachMovie('spark', 'spark_' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); var v3 = _root.attachMovie('spark2', 'spark2_' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v4._x = _targetX + random(_distance) - _distance / 2; v4._y = _targetY + random(_distance) - _distance / 2; v3._x = _targetX + random(_distance) - _distance / 2; v3._y = _targetY + random(_distance) - _distance / 2; var v5 = random(_sparkSize) + _sparkSize / 4; v4._xscale = v5; v4._yscale = v5; v5 = random(_sparkSize) + _sparkSize / 4; v3._xscale = v5; v3._yscale = v5; v3._rotation = random(359); v4._alpha = random(sparkAlpha) + sparkAlpha / 4; v3._alpha = random(sparkAlpha) + sparkAlpha / 4; ++v6; } }; _global.aria_assult = function () { _root.addSparkles(_xmouse, _ymouse, 30, 45, 600); }; _root.auto_rally_x = function () { if (_global.auto_rally == 1) { if (_root.space_battle_options_menu.option_1._currentframe >= 100) { if (_global.aria_girl == 1) { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } _root.space_battle_options_menu.option_1.gotoAndPlay(1); if (_global.RallyLv == 1) { if (Math.floor(_global.your_mercenary_count / 2) > _global.aria_girl_array[_global.aria_girl].charisma) { _root.main_sphere.units += Math.floor(_global.your_mercenary_count / 2); } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } } }; } movieClip 498 { frame 1 { if (_global.music == 0) { gotoAndStop(1); } } frame 2 { if (_global.music == 0) { gotoAndStop(1); } } } movieClip 500 { frame 1 { stop(); } frame 2 { if (_global.music == 0) { gotoAndStop(1); } } frame 87 { gotoAndStop(1); } frame 155 { if (_global.music == 0) { gotoAndStop(1); } } frame 156 { if (_global.music == 0) { gotoAndStop(1); } } frame 247 { gotoAndStop(1); } } movieClip 502 { frame 1 { stop(); } instance enemy_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(10); } } frame 50 { _root.boss_sphere._visible = true; _root.boss_sphere.units = (random(500) + 500) * _global.current_area; if (_global.hardmode == 1) { _root.boss_sphere.units += (random(500) + 500) * _global.current_area; } _root.enemy_fleet_size += 1; _root.boss_sphere.sphere_control.gotoAndStop(1); _root.spheres_under_your_control[_root.enemy_fleet_size] = 0; if (_root.enemy_support_ship._visible == false) { _root.support_flyin.gotoAndPlay(2); } _root.enemy_cargo_ship._visible = true; } frame 51 { stop(); } } movieClip 503 { frame 1 { stop(); } instance enemy_support_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(_global.current_enemy_support); } } frame 2 { play(); } frame 31 { _root.enemy_support_ship._visible = true; gotoAndStop(1); } } instance enemy_support_ship of movieClip 290 { onClipEvent (load) { this._visible = false; this.gotoAndStop(_global.current_enemy_support); } } instance enemy_cargo_ship of movieClip 290 { onClipEvent (load) { if (_global.cargoship_destroyed == 0 && (_global.current_area == 1 || _global.current_area > 3)) { this._visible = true; } else { this._visible = false; } this.gotoAndStop(8); } } instance enemy_support1 of movieClip 290 { onClipEvent (load) { if ((_global.current_area > 1 || _global.hardmode == 1) && _global.assistanceship1_destroyed == 0) { this.gotoAndStop(11); } else { this._visible = false; } } } instance enemy_support2 of movieClip 290 { onClipEvent (load) { if ((_global.current_area > 3 || _global.hardmode == 1) && _global.assistanceship2_destroyed == 0) { this.gotoAndStop(12); } else { this._visible = false; } } } instance enemy_support3 of movieClip 290 { onClipEvent (load) { if (_global.current_area > 7) { this.gotoAndStop(13); } else { this._visible = false; } } } instance boss_sphere of movieClip 185 sphere { onClipEvent (load) { this.shield_amount = 0; this._visible = false; } } instance main_ship of movieClip 344 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } instance main_sphere of movieClip 185 sphere { onClipEvent (load) { this.fleet_number = 0; this.shield_amount = 0; } } movieClip 505 { } movieClip 506 { frame 1 { if (_global.aria_girl == 3) { _root.your_shotgun_rounds = 1; _root.your_shotgun_laser = 0; } } frame 2 { _root.disaster = 0; } frame 4 { if (_global.aria_girl == 2 && _root.main_sphere.units < 500) { _root.shoot_your_laser(); } if (_root.support_char == 2 && _root._currentframe == 80 && _root.main_sphere.units < 500) { _root.shoot_support_laser(); } if (_root.enemy_ship_level >= 10 && _root.weaken <= 0 && _root.assult <= 0) { _root.shoot_enemy_laser(_root.enemy_ship); _root.shoot_enemy_shotgun_laser(); } } frame 7 { if (_global.aria_girl == 5 || _global.aria_girl == 6 || _global.aria_girl == 7 || _global.aria_girl == 2) { _root.shoot_your_shotgun_laser(); _root.shoot_your_laser(); } if ((_global.support_char == 5 || _global.support_char == 6 || _global.support_char == 7 || _global.support_char == 2) && _root._currentframe == 80) { _root.shoot_support_laser(); } if (_root.enemy_ship_level >= 1 && _root.weaken <= 0 && _root.assult <= 0) { _root.shoot_enemy_laser(_root.enemy_ship); _root.shoot_enemy_shotgun_laser(); } if (_root.enemy_support_ship._visible == true) { _root.shoot_enemy_support_laser(_root.enemy_support_ship); _root.shoot_enemy_support_shotgun_laser(); } if (_root.enemy_cargo_ship._visible == true && _global.hardmode == 1) { _root.shoot_enemy_laser(_root.enemy_cargo_ship); } if (_global.aria_girl == 2) { ++_root.main_sphere.units; x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { ++_root['sphere_' + x].units; } ++x; } } _root.disaster = 0; } frame 11 { if (_global.aria_girl == 2 && _root.main_sphere.units < 500) { _root.shoot_your_laser(); } if (_root.support_char == 2 && _root._currentframe == 80 && _root.main_sphere.units < 500) { _root.shoot_support_laser(); } if (_root.enemy_ship_level >= 10 && _root.weaken <= 0 && _root.assult <= 0) { _root.shoot_enemy_laser(_root.enemy_ship); _root.shoot_enemy_shotgun_laser(); } } frame 15 { if (_global.aria_girl == 5 || _global.aria_girl == 6 || _global.aria_girl == 7 || _global.aria_girl == 2) { _root.shoot_your_shotgun_laser(); _root.shoot_your_laser(); } if ((_global.support_char == 5 || _global.support_char == 6 || _global.support_char == 7 || _global.support_char == 2) && _root._currentframe == 80) { _root.shoot_support_laser(); } if (_root.enemy_ship_level >= 2 && _root.weaken <= 0 && _root.assult <= 0) { _root.shoot_enemy_laser(_root.enemy_ship); _root.shoot_enemy_shotgun_laser(); } if (_global.boss_spawned > 0 && _root.boss_sphere.sphere_control._currentframe == 1) { _root.shoot_enemy_laser(_root.boss_sphere); _root.shoot_enemy_support_laser(_root.boss_sphere); } if (_global.aria_girl == 2) { ++_root.main_sphere.units; x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { ++_root['sphere_' + x].units; } ++x; } } _root.disaster = 0; } frame 19 { if (_global.aria_girl == 2 && _root.main_sphere.units < 500) { _root.shoot_your_laser(); } if (_root.support_char == 2 && _root._currentframe == 80 && _root.main_sphere.units < 500) { _root.shoot_support_laser(); } if (_root.enemy_ship_level >= 10 && _root.weaken <= 0 && _root.assult <= 0) { _root.shoot_enemy_laser(_root.enemy_ship); _root.shoot_enemy_shotgun_laser(); } } frame 23 { if (_global.aria_girl == 5 || _global.aria_girl == 6 || _global.aria_girl == 7 || _global.aria_girl == 2) { _root.shoot_your_shotgun_laser(); _root.shoot_your_laser(); } if ((_global.support_char == 5 || _global.support_char == 6 || _global.support_char == 7 || _global.support_char == 2) && _root._currentframe == 80) { _root.shoot_support_laser(); } if (_root.enemy_ship_level >= 3 && _root.weaken <= 0 && _root.assult <= 0) { _root.shoot_enemy_laser(_root.enemy_ship); _root.shoot_enemy_shotgun_laser(); } if (_root.enemy_support_ship._visible == true) { _root.shoot_enemy_support_laser(_root.enemy_support_ship); _root.shoot_enemy_support_shotgun_laser(); } if (_root.enemy_cargo_ship._visible == true && _global.hardmode == 1) { _root.shoot_enemy_laser(_root.enemy_cargo_ship); } if (_global.aria_girl == 2) { ++_root.main_sphere.units; x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { ++_root['sphere_' + x].units; } ++x; } } _root.disaster = 0; } frame 27 { if (_global.aria_girl == 2 && _root.main_sphere.units < 500) { _root.shoot_your_laser(); } if (_root.support_char == 2 && _root._currentframe == 80 && _root.main_sphere.units < 500) { _root.shoot_support_laser(); } if (_root.enemy_ship_level >= 10 && _root.weaken <= 0 && _root.assult <= 0) { _root.shoot_enemy_laser(_root.enemy_ship); _root.shoot_enemy_shotgun_laser(); } } frame 30 { ++_root.main_sphere.units; var unitsz = Math.floor(_global.aria_girl_array[_global.aria_girl].charisma / 2); if (_global.aria_girl == 1 || _global.aria_girl == 5 || _global.aria_girl == 6 || _global.aria_girl == 7) { _root.main_sphere.units += 4; } if (_global.battle_text_timer > 0) { --_global.battle_text_timer; if (_global.battle_text_timer == 0) { _root.battle_text = ''; } } else { _global.battle_text_timer = 0; _root.battle_text = ''; } if (_global.aria_girl == 3 && random(2) == 0) { _root.create_your_auto_attack_squad(_root['sphere_' + (random(_root.enemy_fleet_size) + 1)], _root.main_sphere, unitsz); } _root.number_of_bases_you_control = 0; _root.done_once = 0; x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { ++_root['sphere_' + x].units; if (_global.aria_girl == 1) { _root.shoot_your_small_laser(x); } if (_global.aria_girl == 7) { _root.shoot_your_small_laser(x); _root['sphere_' + x].shield_amount += 5; } if (_global.aria_girl == 3 && _root['sphere_' + x].shield_amount > 0) { _root['sphere_' + x].shield_amount += 2; } ++_root.number_of_bases_you_control; } else { ++_root['sphere_' + x].units; if (_root.done_once == 0 && _root.support_char == 2 && random(_root.support_ability_random) == 0) { _root.done_once = 1; _root['sphere_' + x].sphere_control.gotoAndStop(2); _root['sphere_' + x].heart.gotoAndPlay(2); _root.spheres_under_your_control[_root['sphere_' + x].fleet_number] = 1; _root.create_your_auto_attack_squad(_root.main_sphere, _root['sphere_' + x], Math.floor(_root['sphere_' + x].units / 2)); } if (_root._currentframe == 80 && _root.done_once == 0 && (_root.support_char == 2 || _root.support_char == 6) && random(_root.support_ability_random) == 0) { _root.done_once = 1; _root['sphere_' + x].sphere_control.gotoAndStop(2); _root['sphere_' + x].heart.gotoAndPlay(2); _root.spheres_under_your_control[_root['sphere_' + x].fleet_number] = 1; _root.create_your_auto_attack_squad(_root.main_sphere, _root['sphere_' + x], Math.floor(_root['sphere_' + x].units / 2)); } } ++x; } if (_global.boss_spawned > 0 && _root.boss_sphere.sphere_control._currentframe > 1) { _root.boss_sphere.units += 5; ++_root.number_of_bases_you_control; } if (_global.boss_spawned > 0 && _root.boss_sphere.sphere_control._currentframe == 1) { _root.shoot_enemy_laser(_root.boss_sphere); _root.shoot_enemy_support_laser(_root.boss_sphere); } if (_root.number_of_bases_you_control == _root.enemy_fleet_size + 1) { if ((_global.current_area > 2 || _global.hardmode == 1 || _root._currentframe == 80) && _global.boss_spawned == 0 && _global.bossship_destroyed == 0) { _global.boss_spawned = 1; _root.sphere_1.sphere_control.gotoAndStop(1); _root.sphere_1.units += (random(100) + 100) * _global.current_area; if (_global.hardmode == 1) { _root.sphere_1.units += (random(100) + 100) * _global.current_area; } _root.spheres_under_your_control[_root.sphere_1.fleet_number] = 0; _root.sphere_1.shield_amount = 0; _root.sphere_1.shield.gotoAndStop(1); _root.sphere_1.shield_amount += (random(10) + 3) * _global.current_area; _root.sphere_1.shield.gotoAndStop(3); _root.sphere_2.units += (random(100) + 500) * _global.current_area; _root.sphere_2.sphere_control.gotoAndStop(1); if (_global.hardmode == 1) { _root.sphere_2.units += (random(100) + 100) * _global.current_area; } _root.spheres_under_your_control[_root.sphere_2.fleet_number] = 0; _root.sphere_2.shield_amount = 0; _root.sphere_2.shield.gotoAndStop(1); _root.sphere_2.shield_amount += (random(10) + 3) * _global.current_area; _root.sphere_2.shield.gotoAndStop(3); _root.sphere_3.units += (random(100) + 100) * _global.current_area; _root.sphere_3.sphere_control.gotoAndStop(1); if (_global.hardmode == 1) { _root.sphere_3.units += (random(100) + 100) * _global.current_area; } _root.spheres_under_your_control[_root.sphere_3.fleet_number] = 0; _root.sphere_3.shield_amount = 0; _root.sphere_3.shield.gotoAndStop(1); _root.sphere_3.shield_amount += (random(10) + 3) * _global.current_area; _root.sphere_3.shield.gotoAndStop(3); _root.sphere_4.units += (random(100) + 100) * _global.current_area; _root.sphere_4.sphere_control.gotoAndStop(1); if (_global.hardmode == 1) { _root.sphere_4.units += (random(100) + 100) * _global.current_area; } _root.spheres_under_your_control[_root.sphere_4.fleet_number] = 0; _root.sphere_4.shield_amount = 0; _root.sphere_4.shield.gotoAndStop(1); _root.sphere_4.shield_amount += (random(10) + 3) * _global.current_area; _root.sphere_4.shield.gotoAndStop(3); _root.sphere_5.units += (random(100) + 100) * _global.current_area; _root.sphere_5.sphere_control.gotoAndStop(1); if (_global.hardmode == 1) { _root.sphere_5.units += (random(100) + 100) * _global.current_area; } _root.spheres_under_your_control[_root.sphere_5.fleet_number] = 0; _root.sphere_5.shield_amount = 0; _root.sphere_5.shield.gotoAndStop(1); _root.sphere_5.shield_amount += (random(10) + 3) * _global.current_area; _root.sphere_5.shield.gotoAndStop(3); _root.boss_ship.gotoAndPlay(2); if (_global.aria_girl == 1) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Incomming enemy ship!'; } else { _root.battle_text = 'Don\'t panic men! Just follow my orders!'; } } else { if (_global.aria_girl == 2) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Really!? What in the fucking fuck!!!'; } else { _root.battle_text = 'Damnit!...this was taking long enough already!'; } } else { if (_global.aria_girl == 3) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Reinforcement ship entering the combat zone.'; } else { _root.battle_text = 'A new enemy ship! Everyone stay focused on the defense!'; } } else { if (_global.aria_girl == 4) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Huh!? That\'s not fair at all!'; } else { _root.battle_text = 'We.. we can still do this!'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'There\'s more!?'; } else { _root.battle_text = 'Aha!! come to me then!'; } } else { if (_global.aria_girl == 6) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Shit. I\'m kinda hungry...'; } else { _root.battle_text = 'Oh geez. really?'; } } else { if (_global.aria_girl == 7) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Why even bother?'; } else { _root.battle_text = 'More nerds incomming!'; } } } } } } } } } else { if (_root._currentframe == 80) { x = 0; while (x <= _root.enemy_fleet_size + 120) { removeMovieClip(_root['sphere_' + x]); removeMovieClip(_root['enemy_attack_squad_' + x]); removeMovieClip(_root['your_attack_squad_' + x]); removeMovieClip(_root['aria_laser_' + x]); removeMovieClip(_root['enemy_laser_' + x]); removeMovieClip(_root.ray); ++x; } x = 0; while (x <= _root.enemy_fleet_size + 100) { removeMovieClip(_root['aria_laser_small_' + x]); ++x; } _global.custom_complete = 1; _root.gotoAndStop(81); } else { _root.nextFrame(); } } } if (_root.number_of_bases_you_control > 1) { _root.enemy_ai = random(2) + 1; } else { _root.enemy_ai = 2; if (_global.aria_girl == 3) { _root.your_shotgun_laser = 1; } } --_root.enemy_next_action_time; if (_root.enemy_next_action_time == 0) { _root.enemy_next_action_time = random(_root.enemy_next_action_random) + 3; if (_root.assult <= 0) { _root.create_enemy_attack_squad(_root.enemy_ai); } } if (_root.enemy_ship._currentframe > 1) { if (random(2) == 1) { _root.enemy_shotgun_laser = 1; } else { _root.enemy_shotgun_laser = 0; } } if (_root.enemy_support_ship._visible == true) { if (random(2) == 1) { _root.enemy_support_shotgun_laser = 1; } else { _root.enemy_support_shotgun_laser = 0; } } if (_root.enemy_ship._currentframe > 8) { _root.enemy_shotgun_laser = 1; } _root.disaster = 0; _root.shoot_your_shotgun_laser(); _root.shoot_your_laser(); if (_root.support_char > 0 && _root._currentframe == 80 || _root.support_char < 6 && _root.support_char > 0 && _root._currentframe == 3) { _root.shoot_support_laser(); } if (_root.support_char == 1 && random(_root.support_ability_random) == 0 && _root.support_ship.laser._currentframe == 1) { _root.support_ship.laser.gotoAndPlay(2); } if ((_root.support_char == 2 || _root.support_char == 6) && _root._currentframe == 80 && random(_root.support_ability_random) == 0) { } if ((_root.support_char == 3 || _root.support_char == 7 || _root.support_char == 12 || _root.support_char == 13) && random(_root.support_ability_random) == 0) { _root.main_sphere.shield.gotoAndStop(2); _root.main_sphere.shield_amount += _root.support_laser_damage; x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root['sphere_' + x].shield_amount += _root.support_laser_damage; _root['sphere_' + x].shield.gotoAndStop(2); } ++x; } } if (_root.support_char == 4 && random(_root.support_ability_random) == 0) { _root.disaster = 1; _root.support_ship.glow.gotoAndPlay(2); x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { _root['sphere_' + x].units -= _global.aria_girl_array[_global.aria_girl].ship * 2; if (_root['sphere_' + x].units < 0) { _root['sphere_' + x].units = 0; _root['sphere_' + x].shield_amount = 0; _root['sphere_' + x].units = 0; } } ++x; } } if (_root.enemy_ship_level >= 4 && _root.weaken <= 0 && _root.assult <= 0) { _root.shoot_enemy_laser(); _root.shoot_enemy_shotgun_laser(); } if (_root.enemy_cargo_ship._visible == true) { _root.create_enemy_cargo_squad(random(2) + 1); } if (_root.weaken > 0) { _root.shoot_enemy_laser(); --_root.weaken; } if (_root.assult > 0) { _root.assult -= 5; } if (_root.assult <= 0) { _root.assult = 0; } if (_root.your_lasers_in_play > 500) { _root.your_lasers_in_play = 0; } if (_root.enemy_lasers_in_play > 2000) { _root.enemy_lasers_in_play = 0; } if (_root.attack_squads_in_play > 500) { _root.attack_squads_in_play = 0; } if (_root.enemy_squads_in_play > 500) { _root.enemy_squads_in_play = 0; } if (_root.your_small_lasers_in_play > 500) { _root.your_small_lasers_in_play = 0; } if (random(20) == 0 && (_global.current_area > 1 || _root._currentframe == 80) && _root.main_ship.target_ret._currentframe == 1 && _global.hardmode == 0) { _root.main_ship.target_ret.gotoAndPlay(2); } if (random(_root.enemy_target_freq) == 0 && _root._currentframe == 80 && _root.main_ship.target_ret._currentframe == 1) { _root.main_ship.target_ret.gotoAndPlay(2); } if (_global.hardmode == 1 && random(15) == 0 && _root.main_ship.target_ret._currentframe == 1) { _root.main_ship.target_ret.gotoAndPlay(2); } if (random(30) == 0 && _global.current_area > 3 && _global.hardmode == 0 && _global.assistanceship2_destroyed == 0) { x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { _root['sphere_' + x].shield_amount += (random(5) + 3) * _global.current_area; _root['sphere_' + x].shield.gotoAndStop(3); } ++x; } } if (random(_root.enemy_shield_freq) == 0 && _root._currentframe == 80) { x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { _root['sphere_' + x].shield_amount += (random(5) + 3) * _global.current_area; _root['sphere_' + x].shield.gotoAndStop(3); } ++x; } } if (_global.hardmode == 1 && random(15) == 0 && _global.assistanceship2_destroyed == 0) { x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { _root['sphere_' + x].shield_amount += (random(10) + 3) * _global.current_area; _root['sphere_' + x].shield.gotoAndStop(3); } ++x; } } if (_global.pnm_active == 1 && _global.pnm_active_time > 0) { --_global.pnm_active_time; if (_global.pnm_active_time <= 0) { _global.pnm_active_time = 0; _global.pnm_active = 0; } } } } instance clean of movieClip 506 { onClipEvent (load) { _root.main_sphere.sphere_control.gotoAndStop(2); } onClipEvent (enterFrame) { if (_root.main_sphere.units <= 0) { x = 0; while (x <= _root.enemy_fleet_size + 80) { removeMovieClip(_root['sphere_' + x]); removeMovieClip(_root['enemy_attack_squad_' + x]); removeMovieClip(_root['your_attack_squad_' + x]); removeMovieClip(_root['aria_laser_' + x]); removeMovieClip(_root['enemy_laser_' + x]); removeMovieClip(_root['aria_laser_small_' + x]); removeMovieClip(_root.ray); ++x; } if (_global.aria_girl == 1) { _global.arielle_injury = 1; } if (_global.aria_girl == 2) { _global.phia_injury = 1; } if (_global.aria_girl == 3) { _global.tiffany_injury = 1; } if (_global.aria_girl == 4) { _global.bri_injury = 1; } if (_global.on_story_mission == 1) { _global.story_task_battle = 0; if (_global.aria_girl < 5) { _global.aria_girl_array[_global.aria_girl].love -= random(10) + 1; _global.aria_girl_array[_global.aria_girl].fatigue += random(20) + 20; if (_global.aria_girl_array[_global.aria_girl].love < 0) { _global.aria_girl_array[_global.aria_girl].love = 0; } if (_global.aria_girl_array[_global.aria_girl].fatigue < 0) { _global.aria_girl_array[_global.aria_girl].fatigue = 0; } if (_global.rape_on == 1 && (_global.arielle_rape == 0 && _global.aria_girl == 1 || _global.phia_rape == 0 && _global.aria_girl == 2 || _global.tiffany_rape == 0 && _global.aria_girl == 3 || _global.bri_rape == 0 && _global.aria_girl == 4)) { _root.gotoAndStop(79); } else { _root.gotoAndStop(7 + _global.aria_girl); } } else { _root.gotoAndStop(6); } } else { _root.gotoAndStop(1); } } } } movieClip 511 { } movieClip 515 { frame 1 { stop(); } } movieClip 520 { frame 1 { stop(); } } movieClip 523 { frame 1 { stop(); } } movieClip 526 { frame 1 { stop(); } } movieClip 529 { frame 1 { stop(); } } movieClip 533 { frame 1 { stop(); } frame 10 { gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(_global.aria_girl); } } instance support_ship of movieClip 344 { onClipEvent (load) { } onClipEvent (enterFrame) { this.shield.gotoAndStop(_root.main_sphere.shield._currentframe); } } movieClip 535 { } movieClip 536 { frame 30 { if (random(_root.sship_random) == 0 && _root.enemy_support3._visible == true) { } else { gotoAndPlay(1); } } frame 101 { if (random(_root.sship_random) == 0 && _root.enemy_support3._visible == true) { } else { gotoAndPlay(85); } } } instance ls of movieClip 536 { onClipEvent (load) { if (_global.current_area > 7) { } else { this.gotoAndStop(1); } } } movieClip 539 { } movieClip 541 { } movieClip 543 { } movieClip 544 { } movieClip 546 { } movieClip 552 { frame 1 { stop(); } } movieClip 558 { } movieClip 559 { frame 101 { stop(); } } movieClip 560 { frame 3 { if (this == _root.space_battle_options_menu.option_2) { if (_global.aria_girl == 1) { _global.aria_assult(); _root.sfx.gotoAndPlay('cannon'); _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Target destroyed!'; } else { _root.battle_text = 'Assault successful!'; } } else { if (_global.aria_girl == 2) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'There is enough of me to go around!'; } else { _root.battle_text = 'Hey boys. I am more fun to work for.'; } } else { if (_global.aria_girl == 3) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Reinforcement preperations complete!'; } else { _root.battle_text = 'Boost the defense'; } } else { if (_global.aria_girl == 4) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Ugh! my head...'; } else { _root.battle_text = 'Okay! It should be easier to win now.'; } } else { if (_global.aria_girl == 6) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Pay attention.'; } else { _root.battle_text = 'Whoops.'; } } else { if (_global.aria_girl == 7) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Kill this fucking nerd!'; } else { _root.battle_text = 'Suck it bitch!!!'; } } } } } } } } else { if (this == _root.space_battle_options_menu.option_3) { if (_global.aria_girl == 1) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Open Fire!!!'; } else { _root.battle_text = 'I\'m shooting the cannon! Brace yourself!'; } } else { if (_global.aria_girl == 2) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Hello my new lovers!'; } else { _root.battle_text = 'Boys! We can get along can\'t we?'; } } else { if (_global.aria_girl == 3) { _global.battle_text_timer = _global.battle_text_max_time; _root.sfx.gotoAndPlay('shields'); if (random(2) == 0) { _root.battle_text = 'Shields up!'; } else { _root.battle_text = 'Shields are recharged. I\'m bringing them online.'; } } else { if (_global.aria_girl == 4) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Wha-? Wait! Slow down!'; } else { _root.battle_text = 'I will slow them down! Okay let\'s win this!'; } } else { if (_global.aria_girl == 6) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I bet you didn\'t see that comming.'; } else { _root.battle_text = 'Surprise.'; } } else { if (_global.aria_girl == 7) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Lynn! work on Defense!'; } else { _root.battle_text = 'You are not getting through!'; } } } } } } } } } } frame 301 { stop(); } } button 562 { on (release) { if (this.option_1._currentframe >= 100) { if (_global.aria_girl == 1) { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } this.option_1.gotoAndPlay(1); if (_global.RallyLv == 1) { if (Math.floor(_global.your_mercenary_count / 2) > _global.aria_girl_array[_global.aria_girl].charisma) { _root.main_sphere.units += Math.floor(_global.your_mercenary_count / 2); } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } } } button 563 { on (release) { if (this.option_2._currentframe >= 300) { if (_root.spheres_under_your_control[_root.current_selection.fleet_number] == 0) { this.option_2.gotoAndPlay(1); _root.current_selection.units = 0; _root.current_selection.shield_amount = 0; _root.current_selection.shield.gotoAndStop(1); } } } } button 564 { on (release) { if (this.option_3._currentframe >= 300) { this.option_3.gotoAndPlay(1); _root.assult += 25; _root.main_ship.laser.gotoAndPlay(2); } } } button 569 { on (release) { if (this.option_1._currentframe >= 100) { if (_global.aria_girl == 1) { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } this.option_1.gotoAndPlay(1); if (_global.RallyLv == 1) { if (Math.floor(_global.your_mercenary_count / 2) > _global.aria_girl_array[_global.aria_girl].charisma) { _root.main_sphere.units += Math.floor(_global.your_mercenary_count / 2); } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } } } button 570 { on (release) { if (this.option_2._currentframe >= 300) { if (_root.spheres_under_your_control[_root.current_selection.fleet_number] == 0) { _root.current_selection.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.current_selection.fleet_number] = 1; _root.create_your_auto_attack_squad(_root.main_sphere, _root.current_selection, Math.floor(_root.current_selection.units / 2)); this.option_2.gotoAndPlay(1); } } } } button 571 { on (release) { if (this.option_3._currentframe >= 300) { this.option_3.gotoAndPlay(1); x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0 && _root['sphere_' + x].units <= _global.aria_girl_array[_global.aria_girl].charisma) { _root['sphere_' + x].sphere_control.gotoAndStop(2); _root.spheres_under_your_control[x] = 1; _root.create_your_auto_attack_squad(_root.main_sphere, _root['sphere_' + x], Math.floor(_root['sphere_' + x].units / 2)); } ++x; } } } } button 574 { on (release) { if (this.option_2._currentframe >= 300) { this.option_2.gotoAndPlay(1); _root.main_sphere.units += 50 + _global.aria_girl_array[_global.aria_girl].charisma; x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root['sphere_' + x].units += 50 + _global.aria_girl_array[_global.aria_girl].charisma; } ++x; } } } } button 575 { on (release) { if (this.option_3._currentframe >= 300) { this.option_3.gotoAndPlay(1); _root.main_sphere.shield.gotoAndStop(2); _root.main_sphere.shield_amount += _global.aria_girl_array[_global.aria_girl].ship * 2; _root.main_ship.shield.gotoAndStop(2); x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root['sphere_' + x].shield_amount += 20 + _global.aria_girl_array[_global.aria_girl].ship; _root['sphere_' + x].shield.gotoAndStop(2); } ++x; } } } } button 578 { on (release) { if (this.option_2._currentframe >= 300) { this.option_2.gotoAndPlay(1); _root.main_ship.glow.gotoAndPlay(2); _root.main_ship.target_ret.gotoAndStop(1); x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { _root['sphere_' + x].units -= _global.aria_girl_array[_global.aria_girl].ship * 2; if (_root['sphere_' + x].units < 0) { _root['sphere_' + x].units = 0; _root['sphere_' + x].shield_amount = 0; _root['sphere_' + x].units = 0; } } ++x; } } } } button 579 { on (release) { if (this.option_3._currentframe >= 300) { this.option_3.gotoAndPlay(1); _root.weaken += _global.aria_girl_array[_global.aria_girl].ship; } } } button 581 { on (release) { if (this.option_2._currentframe >= 300) { this.option_2.gotoAndPlay(1); _root.your_shotgun_laser = 1; } } } button 582 { on (release) { if (this.option_3._currentframe >= 300) { this.option_3.gotoAndPlay(1); _root.main_sphere.shield.gotoAndStop(2); _root.main_sphere.shield_amount += _global.aria_girl_array[_global.aria_girl].ship; _root.main_ship.shield.gotoAndStop(2); x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root['sphere_' + x].shield_amount += _global.aria_girl_array[_global.aria_girl].ship; _root['sphere_' + x].shield.gotoAndStop(2); } ++x; } } } } movieClip 583 { frame 1 { stop(); } instance auto_rally of movieClip 552 { onClipEvent (load) { if (_global.auto_rally == 1) { this.gotoAndStop(2); } } } instance option_1 of movieClip 559 { onClipEvent (load) { this.gotoAndStop(101); } } instance option_2 of movieClip 560 { onClipEvent (load) { this.gotoAndStop(301); } } instance option_3 of movieClip 560 { onClipEvent (load) { this.gotoAndStop(301); } } instance option_2 of movieClip 560 { onClipEvent (load) { this.gotoAndStop(301); } } instance option_3 of movieClip 560 { onClipEvent (load) { this.gotoAndStop(301); } } } instance space_battle_options_menu of movieClip 583 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } button 584 { on (release) { if (_global.psm > 0) { _root.main_sphere.shield_amount += 300; _root.main_sphere.shield.gotoAndStop(2); --_global.psm; if (_global.psm < 0) { _global.psm = 0; } } } } button 585 { on (release) { if (_global.pnm > 0) { _global.pnm_active_time = 30; _global.pnm_active = 1; --_global.pnm; } } } button 586 { on (release) { x = 0; while (x <= _root.enemy_fleet_size + 80) { removeMovieClip(_root['sphere_' + x]); removeMovieClip(_root['enemy_attack_squad_' + x]); removeMovieClip(_root['your_attack_squad_' + x]); removeMovieClip(_root['aria_laser_' + x]); removeMovieClip(_root['enemy_laser_' + x]); removeMovieClip(_root['aria_laser_small_' + x]); removeMovieClip(_root.ray); ++x; } if (_global.on_story_mission == 1) { _global.story_task_battle = 0; if (_global.aria_girl < 5) { _global.aria_girl_array[_global.aria_girl].love -= random(10) + 1; _global.aria_girl_array[_global.aria_girl].fatigue += random(20) + 20; if (_global.aria_girl_array[_global.aria_girl].love < 0) { _global.aria_girl_array[_global.aria_girl].love = 0; } if (_global.aria_girl_array[_global.aria_girl].fatigue < 0) { _global.aria_girl_array[_global.aria_girl].fatigue = 0; } _root.gotoAndStop(7 + _global.aria_girl); } else { _root.gotoAndStop(6); } } else { _root.gotoAndStop(1); } } } button 587 { on (release) { _global.partical_total = 2; _root.particleTotal = _global.partical_total; _quality = 'medium'; } } button 588 { on (release) { _global.partical_total = 10; _root.particleTotal = _global.partical_total; _quality = 'high'; } } button 589 { on (release) { _global.partical_total = 0; _root.particleTotal = _global.partical_total; _quality = 'low'; } } frame 4 { x = 0; while (x <= _root.enemy_fleet_size + 120) { removeMovieClip(_root['sphere_' + x]); removeMovieClip(_root['enemy_attack_squad_' + x]); removeMovieClip(_root['your_attack_squad_' + x]); removeMovieClip(_root['aria_laser_' + x]); removeMovieClip(_root['enemy_laser_' + x]); removeMovieClip(_root.ray); ++x; } x = 0; while (x <= _root.enemy_fleet_size + 100) { removeMovieClip(_root['aria_laser_small_' + x]); ++x; } if (_global.aria_girl == 1) { _root.Arielle_sfx6.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx6.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx6.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx6.start(0, 1); } } instance girl2 of movieClip 454 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } button 600 { on (release) { _global.space_battle_complete = 1; _global.enemy_defeated = _global.current_area; if ((_root.agent._currentframe == 25 || _root.agent._currentframe == 23) && _global.aria_girl == 5) { _global.prisoner = 1; } _global.random_agent = 23 + random(3); _root.gotoAndStop(5); } } frame 5 { if (_global.aria_girl > 4) { ++_global.days_in_same_area; ++_global.days_passed; _global.stealth = 0; _global.gotraided(); } if (_global.space_battle_complete == 1) { _global.your_mercenary_count += random(20) + 10; _global.recources += random(100 * _global.current_area) + 100 * _global.current_area + 100 * _global.GatherLv; if (_global.aria_girl == 6 || _global.aria_girl == 7) { _global.recources += (random(1000) + 1000) * _global.current_area; } if (_global.boss_spawned == 1) { _global.recources += (random(100) + 500) * _global.current_area; _global.aria_girl_array[_global.aria_girl].fatigue = 100; } _global.aria_girl_previously_played = _global.aria_girl; _global.current_girl = _global.aria_girl; _global.space_battle_complete = 0; } _root.aria_stats = 'Mercenaries:\n' + _global.your_mercenary_count + '\nResources:\n' + _global.recources; if (_global.had_goo_sex == 0) { _global.aria_girl = 5; if (_global.aria_girl == _global.aria_girl_previously_played) { _global.charisma_growth = random(500) + 1; _global.aria_girl_array[_global.aria_girl].charisma -= _global.charisma_growth; if (_global.aria_girl_array[_global.aria_girl].charisma <= 0) { _global.aria_girl_array[_global.aria_girl].charisma = 0; } _global.space_growth = random(500) + 1; _global.aria_girl_array[_global.aria_girl].space -= _global.space_growth; if (_global.aria_girl_array[_global.aria_girl].space <= 0) { _global.aria_girl_array[_global.aria_girl].space = 0; } _global.ship_growth = random(500) + 1; _global.aria_girl_array[_global.aria_girl].ship -= _global.ship_growth; if (_global.aria_girl_array[_global.aria_girl].ship <= 0) { _global.aria_girl_array[_global.aria_girl].ship = 0; } _global.combat_growth = random(500) + 1; _global.aria_girl_array[_global.aria_girl].combat -= _global.combat_growth; if (_global.aria_girl_array[_global.aria_girl].combat <= 0) { _global.aria_girl_array[_global.aria_girl].combat = 0; } _root['girl' + _global.aria_girl] = '' + _global.aria_girl_array[_global.aria_girl].girl + ' (loss)\nCharisma: ' + _global.aria_girl_array[_global.aria_girl].charisma + ' (-' + _global.charisma_growth + ')\nSpace: ' + _global.aria_girl_array[_global.aria_girl].space + ' (-' + _global.space_growth + ')\nShip: ' + _global.aria_girl_array[_global.aria_girl].ship + ' (-' + _global.ship_growth + ')\nCombat: ' + _global.aria_girl_array[_global.aria_girl].combat + ' (-' + _global.combat_growth + ')'; } else { if (_global.aria_girl_previously_played > 0) { _global.charisma_growth = random(50) + 1; _global.aria_girl_array[_global.aria_girl].charisma -= _global.charisma_growth; if (_global.aria_girl_array[_global.aria_girl].charisma <= 0) { _global.aria_girl_array[_global.aria_girl].charisma = 0; } _global.space_growth = random(50) + 1; _global.aria_girl_array[_global.aria_girl].space -= _global.space_growth; if (_global.aria_girl_array[_global.aria_girl].space <= 0) { _global.aria_girl_array[_global.aria_girl].space = 0; } _global.ship_growth = random(50) + 1; _global.aria_girl_array[_global.aria_girl].ship -= _global.ship_growth; if (_global.aria_girl_array[_global.aria_girl].ship <= 0) { _global.aria_girl_array[_global.aria_girl].ship = 0; } _global.combat_growth = random(50) + 1; _global.aria_girl_array[_global.aria_girl].combat -= _global.combat_growth; if (_global.aria_girl_array[_global.aria_girl].combat <= 0) { _global.aria_girl_array[_global.aria_girl].combat = 0; } _root['girl' + _global.aria_girl] = '' + _global.aria_girl_array[_global.aria_girl].girl + ' (loss)\nCharisma: ' + _global.aria_girl_array[_global.aria_girl].charisma + ' (-' + _global.charisma_growth + ')\nSpace: ' + _global.aria_girl_array[_global.aria_girl].space + ' (-' + _global.space_growth + ')\nShip: ' + _global.aria_girl_array[_global.aria_girl].ship + ' (-' + _global.ship_growth + ')\nCombat: ' + _global.aria_girl_array[_global.aria_girl].combat + ' (-' + _global.combat_growth + ')'; } else { _root['girl' + _global.aria_girl] = '' + _global.aria_girl_array[_global.aria_girl].girl + '\nCharisma: ' + _global.aria_girl_array[_global.aria_girl].charisma + '\nSpace: ' + _global.aria_girl_array[_global.aria_girl].space + '\nShip: ' + _global.aria_girl_array[_global.aria_girl].ship + '\nCombat: ' + _global.aria_girl_array[_global.aria_girl].combat; } } } if (_global.had_goo_sex == 1) { _global.aria_girl = 5; _root['girl' + _global.aria_girl] = '' + _global.aria_girl_array[_global.aria_girl].girl + '\nCharisma: ' + _global.aria_girl_array[_global.aria_girl].charisma + '\nSpace: ' + _global.aria_girl_array[_global.aria_girl].space + '\nShip: ' + _global.aria_girl_array[_global.aria_girl].ship + '\nCombat: ' + _global.aria_girl_array[_global.aria_girl].combat; } _global.aria_girl = 1; while (_global.aria_girl <= 4) { if (_global.aria_girl == _global.aria_girl_previously_played) { if (_global.boss_spawned == 1) { } _root['girl' + _global.aria_girl] = '' + _global.aria_girl_array[_global.aria_girl].girl + '\nCharisma: ' + _global.aria_girl_array[_global.aria_girl].charisma + '\nSpace: ' + _global.aria_girl_array[_global.aria_girl].space + '\nShip: ' + _global.aria_girl_array[_global.aria_girl].ship + '\nCombat: ' + _global.aria_girl_array[_global.aria_girl].combat; _global.aria_girl_previously_played = 0; } else { _global.charisma_growth = 0; _global.space_growth = 0; _global.ship_growth = 0; _global.combat_growth = 0; _root['girl' + _global.aria_girl] = '' + _global.aria_girl_array[_global.aria_girl].girl + '\nCharisma: ' + _global.aria_girl_array[_global.aria_girl].charisma + '\nSpace: ' + _global.aria_girl_array[_global.aria_girl].space + '\nShip: ' + _global.aria_girl_array[_global.aria_girl].ship + '\nCombat: ' + _global.aria_girl_array[_global.aria_girl].combat; } ++_global.aria_girl; } _global.boss_spawned = 0; } movieClip 604 { frame 1 { if (_global.music == 0) { gotoAndStop(1); } } frame 12146 { gotoAndPlay(1); } } instance music of movieClip 604 { onClipEvent (load) { if (_global.music == 1) { this.gotoAndPlay(_global.bgm_music_begin); } } onClipEvent (enterFrame) { if (_global.music == 1) { _global.bgm_music_begin = this._currentframe; } } } button 605 { on (release) { if (_global.story_task_battle == 1) { _global.story_task_battle = 0; _root.gotoAndStop(7 + _global.current_girl); } else { if (_global.jeo_first_fight == 0 && _global.current_girl == 5 && _global.current_area < 10) { _global.jeo_first_fight = 1; _root.gotoAndStop(23); } else { if (_global.current_area == 8 && _global.jeo_first_fight == 1 && _global.had_yui_sex == 0 && _global.assaultship_destroyed == 1 && _global.cargoship_destroyed == 1 && _global.assistanceship1_destroyed == 1 && _global.assistanceship2_destroyed == 1 && _global.bossship_destroyed == 1) { _global.had_yui_sex = 1; _root.gotoAndStop(78); } else { if (_global.current_girl > 4) { _root.gotoAndStop(12); } else { _root.gotoAndStop(74); } } } } } } button 606 { on (release) { _global.aria_girl = 4; _root.gotoAndStop(2); } } button 607 { on (release) { _global.aria_girl = 2; _root.gotoAndStop(2); } } button 608 { on (release) { _global.aria_girl = 3; _root.gotoAndStop(2); } } button 609 { on (release) { _global.aria_girl = 1; _root.gotoAndStop(2); } } movieClip 613 { } frame 6 { _global.aria_girl = 1; _global.aria_girl_previously_played = 0; _global.current_girl = 0; _global.remi_in_battle = 0; _global.pnm_active = 0; if (_global.raid_flag == 1) { _root.gotoAndStop(90); } if (_global.being_raided == 1) { _root.main_menu_mc.raiding.gotoAndStop(2); } _global.update_mission_stats = function () { _root.bg.gotoAndStop(_global.area_bg); _root.main_menu_mc.mission_stats = 'Mission Progress:\nMercenaries: ' + _global.your_mercenary_count + '\nResources(R): ' + _global.recources + '\nArea: ' + _global.current_area + '/' + _global.totoal_areas + '\nDays Passed: ' + _global.days_passed + '\nDays in area: ' + _global.days_in_same_area + '\nFood Supply: ' + _global.food_supply + ''; _root.tc_txt = '' + _global.travel_resource_cost + ' R'; }; _global.update_ship_stats = function () { _root.main_menu_mc.ship_window.main_ship.gotoAndStop(_global.aria_girl); _root.main_menu_mc.ship_window.pilot.gotoAndStop(_global.aria_girl); _root.main_menu_mc.ship_window.ship_stats = '' + _global.aria_girl_array[_global.aria_girl].charisma + '\n\n' + _global.aria_girl_array[_global.aria_girl].space + '\n\n' + _global.aria_girl_array[_global.aria_girl].ship + '\n\n' + _global.aria_girl_array[_global.aria_girl].combat + ''; }; _global.update_girl_stats = function () { if (_global.v00 == 1) { _global.aria_girl_array[_global.aria_girl].fatigue = 0; _global.aria_girl_array[_global.aria_girl].obey = 100; _global.aria_girl_array[_global.aria_girl].food = 100; } _root.crew_menu_mc.girl_name = '' + _global.aria_girl_array[_global.aria_girl].girl; _root.crew_menu_mc.girl_stats = '' + _global.aria_girl_array[_global.aria_girl].love + '\n\n' + _global.aria_girl_array[_global.aria_girl].fatigue + '\n\n' + _global.aria_girl_array[_global.aria_girl].food + '\n\n' + _global.aria_girl_array[_global.aria_girl].obey + ''; _global.update_mission_stats(); _global.update_ship_stats(); if (_global.aria_girl == 1) { _root.Arielle_sfx1.start(0, 1); } if (_global.aria_girl == 2) { _root.Phia_sfx1.start(0, 1); } if (_global.aria_girl == 3) { _root.Tiffany_sfx1.start(0, 1); } if (_global.aria_girl == 4) { _root.Bri_sfx1.start(0, 1); } }; _global.update_girl_stats(); _global.storyupdate = function () { if (_global.current_area == 2) { _root.gotoAndStop(24); } else { if (_global.current_area == 3) { _root.gotoAndStop(25); } else { if (_global.current_area == 4) { _root.gotoAndStop(26); } else { if (_global.current_area == 5) { _root.gotoAndStop(27); } else { if (_global.current_area == 6) { _root.gotoAndStop(28); } else { if (_global.current_area == 7) { _root.gotoAndStop(29); } else { if (_global.current_area == 8) { _root.gotoAndStop(30); } else { if (_global.current_area == 9) { _root.gotoAndStop(31); } else { if (_global.current_area == 10) { _root.gotoAndStop(32); } } } } } } } } } }; } movieClip 637 { } movieClip 640 { } movieClip 648 { } movieClip 649 { } button 650 { on (release) { _global.aria_girl_task_queue[_global.aria_girl] = 1; ++_global.aria_girl; if (_global.aria_girl == 5) { _global.aria_girl = 1; _root.nextFrame(); } _global.update_girl_stats(); } } button 651 { on (release) { _global.aria_girl_task_queue[_global.aria_girl] = 2; ++_global.aria_girl; if (_global.aria_girl == 5) { _global.aria_girl = 1; _root.nextFrame(); } _global.update_girl_stats(); } } button 652 { on (release) { if (_global.current_area < 10) { _global.aria_girl_task_queue[_global.aria_girl] = 3; ++_global.aria_girl; if (_global.aria_girl == 5) { _global.aria_girl = 1; _root.nextFrame(); } _global.update_girl_stats(); } else { _root.gotoAndStop(49); } } } button 653 { on (release) { _global.aria_girl_task_queue[_global.aria_girl] = 4; ++_global.aria_girl; if (_global.aria_girl == 5) { _global.aria_girl = 1; _root.nextFrame(); } _global.update_girl_stats(); } } button 654 { on (release) { _global.aria_girl_task_queue[_global.aria_girl] = 5; ++_global.aria_girl; if (_global.aria_girl == 5) { _global.aria_girl = 1; _root.nextFrame(); } _global.update_girl_stats(); } } button 655 { on (release) { _global.aria_girl_task_queue[_global.aria_girl] = 6; ++_global.aria_girl; if (_global.aria_girl == 5) { _global.aria_girl = 1; _root.nextFrame(); } _global.update_girl_stats(); } } button 656 { on (release) { _global.aria_girl_task_queue[_global.aria_girl] = 7; ++_global.aria_girl; if (_global.aria_girl == 5) { _global.aria_girl = 1; _root.nextFrame(); } _global.update_girl_stats(); } } button 657 { on (release) { _global.aria_girl_task_queue[_global.aria_girl] = 8; ++_global.aria_girl; if (_global.aria_girl == 5) { _global.aria_girl = 1; _root.nextFrame(); } _global.update_girl_stats(); } } button 658 { on (release) { _global.aria_girl_task_queue[_global.aria_girl] = 9; ++_global.aria_girl; if (_global.aria_girl == 5) { _global.aria_girl = 1; _root.nextFrame(); } _global.update_girl_stats(); } } movieClip 669 { } movieClip 670 { } movieClip 679 { } movieClip 680 { frame 1 { stop(); } instance girl of movieClip 454 { onClipEvent (load) { if (_global.v00 == 0) { this.gotoAndStop(_global.aria_girl); } else { this.gotoAndStop(_global.aria_girl + 7); } } onClipEvent (enterFrame) { if (_global.v00 == 0) { this.gotoAndStop(_global.aria_girl); } else { this.gotoAndStop(_global.aria_girl + 7); } } } } movieClip 682 { } movieClip 684 { frame 1 { stop(); } } instance injury of movieClip 684 { onClipEvent (load) { if (_global.aria_girl == 1 && _global.arielle_injury == 1) { this.gotoAndStop(2); } else { if (_global.aria_girl == 2 && _global.phia_injury == 1) { this.gotoAndStop(2); } else { if (_global.aria_girl == 3 && _global.tiffany_injury == 1) { this.gotoAndStop(2); } else { if (_global.aria_girl == 4 && _global.bri_injury == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } } onClipEvent (enterFrame) { if (_global.aria_girl == 1 && _global.arielle_injury == 1) { this.gotoAndStop(2); } else { if (_global.aria_girl == 2 && _global.phia_injury == 1) { this.gotoAndStop(2); } else { if (_global.aria_girl == 3 && _global.tiffany_injury == 1) { this.gotoAndStop(2); } else { if (_global.aria_girl == 4 && _global.bri_injury == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } } } movieClip 689 { instance enemy_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } onClipEvent (enterFrame) { this.gotoAndStop(_global.current_area); } } instance of movieClip 439 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } onClipEvent (enterFrame) { this.gotoAndStop(_global.current_area); } } } movieClip 692 { } movieClip 705 { frame 1 { stop(); } } movieClip 711 { } button 714 { on (release) { _root.gotoAndStop(12); } } button 715 { on (release) { if (_global.recources >= 100) { _global.recources -= 100; _global.food_supply += 100 + 50 * _global.FoodLv; _global.update_mission_stats(); } } } button 716 { on (release) { _root.gotoAndStop(13); } } button 717 { on (release) { _root.gotoAndStop(5); } } button 718 { on (release) { if (_global.enemy_defeated == _global.current_area) { if (_global.recources >= _global.travel_resource_cost && _global.current_area < _global.totoal_areas) { _global.recources -= _global.travel_resource_cost; ++_global.current_area; ++_global.days_passed; _global.stealth = 0; _global.days_in_same_area = 0; _global.area_bg = _global.current_area; _global.assaultship_destroyed = 0; _global.cargoship_destroyed = 0; _global.assistanceship1_destroyed = 0; _global.assistanceship2_destroyed = 0; _global.bossship_destroyed = 0; _global.ship_to_raid = 0; _global.travel_resource_cost = 500 * _global.current_area + random(_global.current_area * 1000); _global.update_mission_stats(); if (_global.remi_unlocked == 1 && _global.remi_talk == 1) { _global.remi_talk = 2; } _global.storyupdate(); } else { if (_global.recources >= _global.travel_resource_cost && _global.current_area >= _global.totoal_areas) { _root.gotoAndStop(44); } } } else { _root.gotoAndStop(17); } } } button 719 { on (release) { _root.gotoAndStop(14); } } button 720 { on (release) { _root.gotoAndStop(47); } } button 721 { on (release) { _global.update_girl_stats(); } } movieClip 731 { } movieClip 735 { } movieClip 737 { frame 1 { stop(); } } movieClip 738 { frame 1 { _global.update_girl_stats(); stop(); } } button 739 { on (release) { _root.gotoAndStop(51); } } button 740 { on (release) { _root.gotoAndStop(1); } } button 741 { on (release) { _root.gotoAndStop(61); } } button 742 { on (release) { _root.gotoAndStop(57); } } button 743 { on (release) { _global.aria_girl = 1; _root.gotoAndStop(65); } } button 745 { on (release) { _root.gotoAndStop(75); } } button 746 { on (release) { _root.gotoAndStop(74); } } button 747 { on (release) { _root.gotoAndStop(87); } } button 748 { on (release) { _root.gotoAndStop(88); } } button 750 { on (release) { if (_currentframe < 6) { gotoAndStop(_currentframe + 1); } else { gotoAndStop(1); } } } movieClip 757 { frame 1 { stop(); _global.support_char = 1; } frame 2 { stop(); _global.support_char = 2; } frame 3 { stop(); _global.support_char = 3; } frame 4 { stop(); _global.support_char = 4; } frame 5 { stop(); _global.support_char = 5; } frame 6 { stop(); _global.support_char = 6; } } instance support_toggle of movieClip 757 { onClipEvent (load) { this.gotoAndStop(_global.support_char); } onClipEvent (enterFrame) { this.gotoAndStop(_global.support_char); } } frame 7 { _global.aria_girl = 1; _global.aria_girl_previously_played = 0; _global.current_girl = 0; Mouse.show(); _root.girl.gotoAndStop(_global.aria_girl); _global.do_task(); } movieClip 770 { frame 2 { if (_global.music == 0) { gotoAndStop(1); } } } instance gallery of movieClip 770 { onClipEvent (load) { this.stop(); } } button 782 { on (release) { gotoAndStop(11); } } movieClip 912 { } button 913 { on (release) { gotoAndStop(9); } } movieClip 1096 { } button 1097 { on (release) { gotoAndStop(7); } } movieClip 1267 { frame 20 { gotoAndPlay(1); } frame 238 { stop(); } } button 1268 { on (release) { if (sex._currentframe < 20) { sex.gotoAndPlay(21); } } } movieClip 1393 { frame 90 { _root.girl_result = ''; gotoAndPlay(1); } frame 305 { stop(); } } button 1394 { on (release) { if (bj._currentframe < 90) { bj.gotoAndPlay(91); } else { gotoAndStop(8); } } } movieClip 1401 { frame 1 { stop(); } } movieClip 1402 { frame 1 { stop(); } frame 7 { if (_global.music == 1) { _root.Arielle_sfx8.start(0, 1); } } frame 8 { _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; if (_root.gallery._currentframe == 1) { _root.music.stop(); _root.gallery.play(); } } frame 10 { _root.music.stop(); _root.gallery.play(); } frame 11 { _root.girl_result = ''; _global.arielle_injury = 1; _global.aria_girl_array[_global.aria_girl].obey = 100; } } button 1403 { on (release) { _root.gallery.gotoAndStop(1); _root.music.play(); if (_global.story_task_battle == 1) { _root.gotoAndStop(16); } else { if (_global.explore_mission == 1) { _root.gotoAndStop(64); } else { _root.nextFrame(); } } } } frame 8 { _global.aria_girl = 2; _global.aria_girl_previously_played = 0; _global.current_girl = 0; Mouse.show(); _root.girl.gotoAndStop(_global.aria_girl); _global.do_task(); } button 1408 { on (release) { gotoAndStop(11); } } movieClip 1444 { } button 1445 { on (release) { gotoAndStop(9); } } movieClip 1582 { } button 1583 { on (release) { gotoAndStop(7); } } movieClip 1743 { frame 16 { gotoAndPlay(1); } frame 267 { stop(); } } movieClip 1837 { frame 90 { _root.girl_result = ''; gotoAndPlay(1); } frame 305 { stop(); } } button 1838 { on (release) { if (bj._currentframe < 90) { bj.gotoAndPlay(91); } else { gotoAndStop(8); } } } movieClip 1860 { frame 1 { stop(); } } movieClip 1861 { frame 1 { stop(); } frame 7 { if (_global.music == 1) { _root.Phia_sfx8.start(0, 1); } } frame 8 { _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; if (_root.gallery._currentframe == 1) { _root.music.stop(); _root.gallery.play(); } } frame 10 { _root.music.stop(); _root.gallery.play(); } frame 11 { _root.girl_result = ''; _global.phia_injury = 1; _global.aria_girl_array[_global.aria_girl].obey = 100; } } frame 9 { _global.aria_girl = 3; _global.aria_girl_previously_played = 0; _global.current_girl = 0; Mouse.show(); _root.girl.gotoAndStop(_global.aria_girl); _global.do_task(); } button 1873 { on (release) { gotoAndStop(11); } } movieClip 1934 { } button 1935 { on (release) { gotoAndStop(9); } } movieClip 2056 { } button 2057 { on (release) { gotoAndStop(7); } } movieClip 2425 { frame 20 { gotoAndPlay(1); } frame 231 { stop(); } } movieClip 2620 { frame 90 { _root.girl_result = ''; gotoAndPlay(1); } frame 305 { stop(); } } button 2621 { on (release) { if (bj._currentframe < 90) { bj.gotoAndPlay(91); } else { gotoAndStop(8); } } } movieClip 2634 { frame 1 { stop(); } } movieClip 2635 { frame 1 { stop(); } frame 7 { if (_global.music == 1) { _root.Tiffany_sfx8.start(0, 1); } } frame 8 { _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; if (_root.gallery._currentframe == 1) { _root.music.stop(); _root.gallery.play(); } } frame 10 { _root.music.stop(); _root.gallery.play(); } frame 11 { _root.girl_result = ''; _global.tiffany_injury = 1; _global.aria_girl_array[_global.aria_girl].obey = 100; } } frame 10 { _global.aria_girl = 4; _global.aria_girl_previously_played = 0; _global.current_girl = 0; Mouse.show(); _root.girl.gotoAndStop(_global.aria_girl); _global.do_task(); } button 2639 { on (release) { gotoAndStop(11); } } movieClip 2671 { } button 2672 { on (release) { gotoAndStop(9); } } movieClip 2769 { } button 2770 { on (release) { gotoAndStop(7); } } movieClip 2946 { frame 16 { gotoAndPlay(1); } frame 205 { stop(); } } movieClip 3035 { frame 90 { _root.girl_result = ''; gotoAndPlay(1); } frame 305 { stop(); } } button 3036 { on (release) { if (bj._currentframe < 90) { bj.gotoAndPlay(91); } else { gotoAndStop(8); } } } movieClip 3041 { frame 1 { stop(); } } movieClip 3042 { frame 1 { stop(); } frame 7 { if (_global.music == 1) { _root.Bri_sfx8.start(0, 1); } } frame 8 { _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; if (_root.gallery._currentframe == 1) { _root.music.stop(); _root.gallery.play(); } } frame 10 { _root.music.stop(); _root.gallery.play(); } frame 11 { _root.girl_result = ''; _global.bri_injury = 1; _global.aria_girl_array[_global.aria_girl].obey = 100; } } frame 11 { ++_global.days_passed; ++_global.days_in_same_area; _global.aria_girl_previously_played = 0; _global.stealth = 0; _global.gotraided(); _global.current_girl = 0; if (_global.mercwork > 0) { _global.recources += _global.your_mercenary_count * _global.mercwork; } _global.arielle_tired = 0; _global.phia_tired = 0; _global.tiffany_tired = 0; _global.bri_tired = 0; if (random(_global.asteroid_spawn_chance) == 1) { _global.asteroid1 = 1; } else { _global.asteroid1 = 0; } if (random(_global.asteroid_spawn_chance) == 1) { _global.asteroid2 = 1; } else { _global.asteroid2 = 0; } if (random(_global.asteroid_spawn_chance) == 1) { _global.asteroid3 = 1; } else { _global.asteroid3 = 0; } if (random(_global.asteroid_spawn_chance) == 1) { _global.asteroid4 = 1; } else { _global.asteroid4 = 0; } Mouse.show(); if (_global.aria_girl_task_queue[1] == 2 && _global.aria_girl_task_queue[2] == 2 && _global.aria_girl_task_queue[3] == 2 && _global.aria_girl_task_queue[4] == 2 && _global.aria_girl_array[2].love < 50) { _global.aria_girl_array[2].love += 100; _root.gotoAndStop(43); } else { if (_global.luma_unlocked == 1 && _global.had_luma_sex == 0 && _global.had_goo_sex == 1 && _global.aria_girl_task_queue[1] == 7 && _global.aria_girl_task_queue[2] == 7 && _global.aria_girl_task_queue[3] == 7 && _global.aria_girl_task_queue[4] == 7 && _global.aria_girl_array[1].love > 100 && _global.aria_girl_array[2].love > 100 && _global.aria_girl_array[3].love > 100 && _global.aria_girl_array[4].love > 100) { _root.gotoAndStop(77); } else { _global.room_talk = 0; _global.girl_select = 0; _root.gotoAndStop(74); } } } frame 12 { _global.remi_in_battle = 0; } movieClip 3045 { } button 3047 { on (release) { if (_global.remi_talk == 0) { _global.remi_talk = 1; _root.gotoAndStop(33); } else { if (_global.remi_talk == 2) { _global.remi_talk = 3; _root.gotoAndStop(34); } } } } button 3048 { on (release) { _root.gotoAndStop(35); } } button 3049 { on (release) { if (_global.current_area != 10) { _global.remi_in_battle = 1; _global.aria_girl = 6; _root.gotoAndStop(16); } else { _root.gotoAndStop(49); } } } button 3050 { on (release) { _root.gotoAndStop(34); } } movieClip 3056 { frame 1 { stop(); } } instance of movieClip 3056 { onClipEvent (load) { if (_global.remi_unlocked == 1 && _global.current_area > 5) { this.gotoAndStop(2); } } } movieClip 3057 { } button 3059 { on (release) { _root.gotoAndStop(38); } } button 3060 { on (release) { if (_global.current_area != 10) { _global.aria_girl = 7; _root.gotoAndStop(16); } else { _root.gotoAndStop(49); } } } button 3061 { on (release) { _root.gotoAndStop(39); } } button 3062 { on (release) { _root.gotoAndStop(40); } } button 3067 { on (release) { _root.gotoAndStop(77); } } movieClip 3069 { frame 1 { stop(); } } instance of movieClip 3069 { onClipEvent (load) { if (_global.luma_unlocked == 1 && _global.current_area > 7 && _global.had_luma_sex == 1) { this.gotoAndStop(3); } else { if (_global.luma_unlocked == 1 && _global.current_area > 7) { this.gotoAndStop(2); } } } } button 3070 { on (release) { _root.gotoAndStop(6); } } button 3071 { on (release) { _global.aria_girl = 5; _root.gotoAndStop(16); } } frame 13 { _global.update_research_stats = function () { _root.FoodLv = _global.FoodLv; _root.AttkShipLv = _global.AttkShipLv; _root.GatherLv = _global.GatherLv; _root.RallyLv = _global.RallyLv; _root.resources_txt = '' + _global.recources + ' R'; _root.BombAmount = _global.bombs; _root.rt = _global.RaidTrainning; _root.mercw = _global.mercwork; _root.ExploAttkShip = _global.eplosive_ships; _root.sm = _global.psm; _root.nm = _global.pnm; _root.overch = _global.overcharge; }; _global.update_research_stats(); } instance girl of movieClip 454 { onClipEvent (load) { if (_global.v00 == 0) { this.gotoAndStop(3); } else { this.gotoAndStop(10); } } } button 3077 { on (release) { if (_global.FoodLv < 10 && _global.recources >= 500) { _global.recources -= 500; ++_global.FoodLv; } _global.update_research_stats(); } } button 3078 { on (release) { if (_global.GatherLv < 10 && _global.recources >= 1000) { _global.recources -= 1000; ++_global.GatherLv; } _global.update_research_stats(); } } button 3079 { on (release) { if (_global.AttkShipLv < 1 && _global.recources >= 2500) { _global.recources -= 2500; ++_global.AttkShipLv; } _global.update_research_stats(); } } button 3080 { on (release) { if (_global.RallyLv < 1 && _global.recources >= 500) { _global.recources -= 500; ++_global.RallyLv; } _global.update_research_stats(); } } button 3082 { on (release) { if (_global.recources >= 500) { _global.recources -= 500; ++_global.bombs; } _global.update_research_stats(); } } button 3083 { on (release) { if (_global.RaidTrainning == 0 && _global.recources >= 3000) { _global.recources -= 4000; _global.RaidTrainning = 1; } _global.update_research_stats(); } } button 3084 { on (release) { if (_global.mercwork < 10 && _global.recources >= 500) { _global.recources -= 500; ++_global.mercwork; } _global.update_research_stats(); } } button 3085 { on (release) { if (_global.psm < 10 && _global.recources >= 2000) { _global.recources -= 2000; ++_global.psm; } _global.update_research_stats(); } } button 3086 { on (release) { if (_global.pnm < 10 && _global.recources >= 10000) { _global.recources -= 10000; ++_global.pnm; } _global.update_research_stats(); } } button 3087 { on (release) { if (_global.overcharge < 1 && _global.recources >= 50000) { _global.recources -= 50000; ++_global.overcharge; } _global.update_research_stats(); } } button 3088 { on (release) { if (_global.eplosive_ships < 1 && _global.recources >= 5000) { _global.recources -= 5000; ++_global.eplosive_ships; } _global.update_research_stats(); } } button 3089 { on (release) { if (_global.recources >= 4000) { _global.recources -= 4000; _global.aria_girl_array[1].ship += 50; _global.aria_girl_array[2].ship += 50; _global.aria_girl_array[3].ship += 50; _global.aria_girl_array[4].ship += 50; _global.aria_girl_array[1].space += 5; _global.aria_girl_array[2].space += 5; _global.aria_girl_array[3].space += 5; _global.aria_girl_array[4].space += 5; } _global.update_research_stats(); } } frame 14 { _global.gallery_pic = 0; } movieClip 3137 { } movieClip 3140 { } movieClip 3143 { } movieClip 3144 { } movieClip 3147 { } button 3148 { on (release) { _root.gotoAndStop(63); } } button 3149 { on (release) { _global.gallery_pic = 2; _root.gotoAndStop(15); } } button 3150 { on (release) { _global.gallery_pic = 3; _root.gotoAndStop(15); } } button 3151 { on (release) { _global.gallery_pic = 8; _root.gotoAndStop(15); } } button 3152 { on (release) { _global.gallery_pic = 7; _root.gotoAndStop(15); } } button 3153 { on (release) { _global.gallery_pic = 17; _root.gotoAndStop(15); } } button 3154 { on (release) { _global.gallery_pic = 18; _root.gotoAndStop(15); } } button 3155 { on (release) { _global.gallery_pic = 12; _root.gotoAndStop(15); } } button 3156 { on (release) { _global.gallery_pic = 13; _root.gotoAndStop(15); } } button 3157 { on (release) { _global.gallery_pic = 4; _root.gotoAndStop(15); } } button 3158 { on (release) { _global.gallery_pic = 5; _root.gotoAndStop(15); } } button 3159 { on (release) { _global.gallery_pic = 9; _root.gotoAndStop(15); } } button 3160 { on (release) { _global.gallery_pic = 10; _root.gotoAndStop(15); } } button 3161 { on (release) { _global.gallery_pic = 19; _root.gotoAndStop(15); } } button 3162 { on (release) { _global.gallery_pic = 20; _root.gotoAndStop(15); } } button 3163 { on (release) { _global.gallery_pic = 14; _root.gotoAndStop(15); } } button 3164 { on (release) { _global.gallery_pic = 15; _root.gotoAndStop(15); } } button 3165 { on (release) { _global.gallery_pic = 23; _root.gotoAndStop(15); } } button 3166 { on (release) { _global.gallery_pic = 24; _root.gotoAndStop(15); } } button 3167 { on (release) { _global.gallery_pic = 25; _root.gotoAndStop(15); } } button 3168 { on (release) { _global.gallery_pic = 26; _root.gotoAndStop(15); } } button 3169 { on (release) { _global.gallery_pic = 22; _root.gotoAndStop(15); } } button 3170 { on (release) { _global.gallery_pic = 27; _root.gotoAndStop(15); } } button 3171 { on (release) { _global.gallery_pic = 28; _root.gotoAndStop(15); } } button 3172 { on (release) { _global.gallery_pic = 29; _root.gotoAndStop(15); } } button 3173 { on (release) { _global.gallery_pic = 30; _root.gotoAndStop(15); } } button 3174 { on (release) { _global.gallery_pic = 31; _root.gotoAndStop(15); } } button 3175 { on (release) { _global.gallery_pic = 34; _root.gotoAndStop(15); } } button 3176 { on (release) { _global.gallery_pic = 32; _root.gotoAndStop(15); } } button 3177 { on (release) { _global.gallery_pic = 33; _root.gotoAndStop(15); } } button 3178 { on (release) { _global.gallery_pic = 35; _root.gotoAndStop(15); } } button 3179 { on (release) { _global.gallery_pic = 36; _root.gotoAndStop(15); } } button 3180 { on (release) { _global.gallery_pic = 37; _root.gotoAndStop(15); } } button 3181 { on (release) { _global.gallery_pic = 41; _root.gotoAndStop(15); } } button 3182 { on (release) { _global.gallery_pic = 42; _root.gotoAndStop(15); } } button 3183 { on (release) { _global.gallery_pic = 38; _root.gotoAndStop(15); } } button 3184 { on (release) { _global.gallery_pic = 39; _root.gotoAndStop(15); } } button 3185 { on (release) { _global.gallery_pic = 40; _root.gotoAndStop(15); } } button 3202 { on (release) { px.gotoAndPlay(21); } } button 3206 { on (release) { px.gotoAndPlay(91); } } button 3207 { on (release) { px.gotoAndPlay(17); } } movieClip 3264 { frame 12 { gotoAndPlay(1); } frame 141 { stop(); } } button 3265 { on (release) { px.gotoAndPlay(13); } } movieClip 3423 { frame 16 { gotoAndPlay(1); } frame 267 { stop(); } } movieClip 3527 { } movieClip 3625 { } movieClip 3729 { frame 20 { gotoAndPlay(1); } frame 185 { stop(); } } movieClip 3782 { } movieClip 3829 { } movieClip 3937 { frame 18 { gotoAndPlay(1); } frame 115 { stop(); } } button 3938 { on (release) { px.gotoAndPlay(19); } } movieClip 4055 { frame 13 { gotoAndPlay(1); } frame 95 { stop(); } } button 4056 { on (release) { px.gotoAndPlay(14); } } movieClip 4212 { frame 20 { gotoAndPlay(1); } frame 121 { stop(); } } movieClip 4324 { frame 18 { gotoAndPlay(1); } frame 137 { stop(); } } movieClip 4400 { frame 20 { gotoAndPlay(1); } frame 114 { stop(); } } movieClip 4594 { frame 22 { gotoAndPlay(1); } frame 176 { stop(); } } button 4595 { on (release) { px.gotoAndPlay(23); } } movieClip 4694 { } movieClip 4787 { frame 7 { gotoAndPlay(1); } frame 85 { stop(); } } button 4788 { on (release) { px.gotoAndPlay(8); } } movieClip 5008 { } movieClip 5010 { } movieClip 5011 { instance of movieClip 5010 { onClipEvent (load) { this.gotoAndStop(_global.gallery_pic); } } } button 5012 { on (release) { _root.gotoAndStop(14); } } instance bg of movieClip 225 { onClipEvent (load) { this.gotoAndStop(_global.area_bg); } } movieClip 5014 { frame 1 { stop(); } } movieClip 5017 { } movieClip 5020 { } movieClip 5021 { } movieClip 5024 { frame 1 { if (_global.music == 0) { gotoAndPlay(3); } } instance of movieClip 291 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } instance main_ship of movieClip 344 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } instance of movieClip 294 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } frame 42 { if (_global.music == 0) { gotoAndPlay(44); } } frame 70 { _root.gotoAndStop(2); } } instance bg of movieClip 225 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } } instance music of movieClip 604 { onClipEvent (load) { if (_global.music == 1) { this.gotoAndPlay(_global.bgm_music_begin); } } onClipEvent (enterFrame) { if (_global.music == 1) { _global.bgm_music_begin = this._currentframe; } } } instance bg of movieClip 225 { onClipEvent (load) { this.gotoAndStop(_global.area_bg); } } movieClip 5029 { } movieClip 5063 { frame 1 { _global.aria_girl = 1; } instance of movieClip 291 { onClipEvent (load) { this.gotoAndStop(1); } } instance main_ship of movieClip 344 { onClipEvent (load) { this.gotoAndStop(1); } } instance of movieClip 294 { onClipEvent (load) { this.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(3); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } frame 410 { _global.aria_girl = 2; } instance of movieClip 291 { onClipEvent (load) { this.gotoAndStop(2); } } instance main_ship of movieClip 344 { onClipEvent (load) { this.gotoAndStop(2); } } instance of movieClip 294 { onClipEvent (load) { this.gotoAndStop(2); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(2); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(2); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(2); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(2); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(2); } } frame 1533 { _global.aria_girl = 3; } instance of movieClip 291 { onClipEvent (load) { this.gotoAndStop(3); } } instance main_ship of movieClip 344 { onClipEvent (load) { this.gotoAndStop(3); } } instance of movieClip 294 { onClipEvent (load) { this.gotoAndStop(3); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(2); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(3); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(2); } } frame 2240 { _global.aria_girl = 4; } instance of movieClip 291 { onClipEvent (load) { this.gotoAndStop(4); } } instance main_ship of movieClip 344 { onClipEvent (load) { this.gotoAndStop(4); } } instance of movieClip 294 { onClipEvent (load) { this.gotoAndStop(4); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(4); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(2); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(2); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(3); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(3); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(3); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(2); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(4); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(1); } } frame 4130 { _global.on_story_mission = 1; _global.aria_girl = 1; _root.gotoAndStop(19); } } button 5064 { on (release) { _global.on_story_mission = 1; _global.aria_girl = 1; _global.hardmode = 0; if (_global.partical_total == null || _global.partical_total == undefined || _global.partical_total == NaN) { _global.partical_total = 20; } _root.gotoAndStop(6); } } movieClip 5129 { frame 1 { stop(); } } movieClip 5159 { frame 1 { stop(); } } movieClip 5160 { instance main_ship of movieClip 344 { onClipEvent (load) { this.gotoAndStop(2); } } instance main_ship of movieClip 344 { onClipEvent (load) { this.gotoAndStop(1); } } instance of movieClip 5129 { onClipEvent (enterFrame) { this.gotoAndStop(2); } } instance of movieClip 5129 { onClipEvent (enterFrame) { this.gotoAndStop(1); } } instance of movieClip 5159 { onClipEvent (enterFrame) { this.gotoAndStop(2); } } instance of movieClip 5129 { onClipEvent (enterFrame) { this.gotoAndStop(2); } } instance of movieClip 5129 { onClipEvent (enterFrame) { this.gotoAndStop(1); } } instance of movieClip 5159 { onClipEvent (enterFrame) { this.gotoAndStop(1); } } frame 785 { _global.on_story_mission = 1; _global.aria_girl = 1; _root.gotoAndStop(20); } } movieClip 5163 { } movieClip 5166 { } movieClip 5168 { } movieClip 5171 { } movieClip 5174 { } movieClip 5175 { } movieClip 5176 { frame 539 { _global.on_story_mission = 1; _global.aria_girl = 1; _root.gotoAndStop(21); } } instance bg of movieClip 225 { onClipEvent (load) { if (_global.on_story_mission == 1) { this.gotoAndStop(_global.current_area); } } } movieClip 5178 { frame 1 { if (_global.music == 0) { gotoAndStop(1); } } } movieClip 5185 { frame 1 { stop(); } } button 5186 { on (release) { _parent.nextFrame(); stext.gotoAndStop(2); play(); } } movieClip 5187 { frame 4 { stext.gotoAndStop(1); } frame 5 { stop(); } frame 10 { gotoAndPlay(1); } } movieClip 5189 { } movieClip 5190 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Arielle: We finally found you Jeo. Did you have fun as an undercover student?'; } frame 2 { stext.stext.story_text = 'Jeo: We don\'t have time to talk. We need to get started on my plan.'; } frame 3 { stext.stext.story_text = 'Arielle: We don’t work under your unit anymore Jeo. We\'re here to arrest you.'; } frame 4 { stext.stext.story_text = 'Jeo: If anyone, you should arrest it is Natan.'; } frame 5 { stext.stext.story_text = 'Arielle: Wasn\'t he pretending to be a math teacher?'; } frame 6 { stext.stext.story_text = 'Jeo: Yes, and I suspect he wanted to kidnap Lynn as leverage to negotiate terms with her parents.'; } frame 7 { stext.stext.story_text = 'Jeo: in exchange he gets classified GemoCo technology.'; } frame 8 { stext.stext.story_text = 'Jeo: I was there trying to stop him.'; } frame 9 { stext.stext.story_text = 'Phia: Sweetie, I think your boyfriend is a little crazy. I like it.'; } frame 10 { stext.stext.story_text = 'Arielle: It seems believable so far.'; } frame 11 { stext.stext.story_text = 'Arielle: Hm.... Bri?.. thoughts?'; } frame 12 { stext.stext.story_text = 'Bri: He is genuine.'; } frame 13 { stext.stext.story_text = 'Jeo: Bri? Who is she, some kind of psychic?'; } frame 14 { stext.stext.story_text = 'Arielle: Luckily for you she is very close to one.'; } frame 15 { stext.stext.story_text = 'Phia: Well? Let’s get this over with.'; } frame 16 { _global.on_story_mission = 1; _global.aria_girl = 1; _root.gotoAndStop(22); } } movieClip 5197 { } movieClip 5198 { } movieClip 5201 { } movieClip 5202 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Bri: He looks kind of scary...'; } frame 2 { stext.stext.story_text = 'Tiffany: Greetings Jeo. I\'m Tiffany. People call me TT. This is Bri. She is tougher than she looks.'; } frame 3 { stext.stext.story_text = 'Bri: N- Not really! '; } frame 4 { stext.stext.story_text = 'Jeo: Alright, our objective is the get my ship back to GemCo controlled space so we can settle this little issue.'; } frame 5 { stext.stext.story_text = 'Jeo: But we will need to first get resources to fuel my ship and travel to the next area.'; } frame 6 { stext.stext.story_text = 'Jeo: Each space day I will give you a task to do that will train you in the ways I want.'; } frame 7 { stext.stext.story_text = 'TT: For the record Jeo, I am a researcher. We are all combat ready but we specialize in different tasks.'; } frame 8 { stext.stext.story_text = 'Jeo: What are they?'; } frame 9 { stext.stext.story_text = 'TT: While a medical researcher and defensive strategist. I can fight but I would be better suited to help man the main ship by giving me FREE actions.'; } frame 10 { stext.stext.story_text = 'TT: And I’m sure you know Arielle likes to be on the front lines yes? She is best suited for BATTLE.'; } frame 11 { stext.stext.story_text = 'TT: As for Phia...'; } frame 12 { stext.stext.story_text = 'Phia: I like SEX… when do we get to fuck? I hate all this talking.'; } frame 13 { stext.stext.story_text = 'TT: ...likes sex I guess... heh.'; } frame 14 { stext.stext.story_text = 'TT: Bri usually prefers to TALK.'; } frame 15 { stext.stext.story_text = 'Jeo: Hmm.. Got it. Let’s get going. There is a lot to do.'; } frame 16 { stext.stext.story_text = 'TT: Indeed Jeo. In fact I detected a enemy ship on route here before docking.'; } frame 17 { _global.on_story_mission = 1; _global.aria_girl = 1; _root.gotoAndStop(6); } } movieClip 5203 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'TT: Are you ok? You look a lot weaker than before you left.'; } frame 2 { stext.stext.story_text = 'Jeo: I have condition that makes me weaker after each fight, even ones I don\'t participate in.'; } frame 3 { stext.stext.story_text = 'TT: I am familiar with that condition. I can treat you when we get back. But for now it can be sustained through sex. Phia loves sex.'; } frame 4 { stext.stext.story_text = 'TT: Theoretically any of us can help you. Though they might not agree to it.'; } frame 5 { stext.stext.story_text = 'Jeo: Thanks.'; } frame 6 { _global.aria_girl = 1; _root.gotoAndStop(6); } } movieClip 5207 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Arielle: So did you find out what technology Dr. Natan was trying to get?'; } frame 2 { stext.stext.story_text = 'Jeo: Something about an unlimited source of Khalei.'; } frame 3 { stext.stext.story_text = 'Arielle: Unlimited...? Is that even possible?'; } frame 4 { stext.stext.story_text = 'Jeo: That is one thing I plan to find out.'; } frame 5 { _global.aria_girl = 1; _root.gotoAndStop(6); } } movieClip 5209 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Phia: hey baby. That new enemy ship out there... looks like my brother\'s ship..'; } frame 2 { stext.stext.story_text = 'Jeo: Yeah? What are you saying?'; } frame 3 { stext.stext.story_text = 'Phia: Yeah.. Just let me talk to him sweetie. Maybe I can get him to leave for us.'; } frame 4 { _global.aria_girl = 1; _root.gotoAndStop(6); } } movieClip 5211 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'TT: Oh hey Jeo. You normally don’t come in here around this time. I would have finished putting on my gear.'; } frame 2 { stext.stext.story_text = 'Jeo: No Problem. What did you need?'; } frame 3 { stext.stext.story_text = 'TT: Huh?.. Oh right! I found a container full of some kind of liquid I am not familiar with.'; } frame 4 { stext.stext.story_text = 'Jeo: There stuff even you don\'t know I see.'; } frame 5 { stext.stext.story_text = 'TT: Yes… unfortunately it is alien to me. It will be in the containment room if you want to open it.'; } frame 6 { _global.aria_girl = 1; _root.gotoAndStop(6); } } movieClip 5213 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Bri: Mr. Jeo?'; } frame 2 { stext.stext.story_text = 'Jeo: Not bad…you knew I’d be here didn’t you? '; } frame 3 { stext.stext.story_text = 'Bri: Well actually no. I’m not even dressed…'; } frame 4 { stext.stext.story_text = 'Jeo: I see. Did you sense anything lately?'; } frame 5 { stext.stext.story_text = 'Bri: yeah... There is a agent nearby, b- but I don’t think he is hostile. I think he can help us if I talk to him.'; } frame 6 { stext.stext.story_text = 'Jeo: I see. Thanks, that is useful information.'; } frame 7 { _global.aria_girl = 1; _root.gotoAndStop(6); } } movieClip 5216 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Jeo: Don’t make any sudden moves.'; } frame 2 { stext.stext.story_text = 'TT: Looks like a clone of that gangster girl GemCo captured earlier this month.'; } frame 3 { stext.stext.story_text = 'Amp: No. I am the original. I will help you now if you can help me find my sisters.'; } frame 4 { stext.stext.story_text = 'Jeo: Alright but only after our own objective is finished.'; } frame 5 { stext.stext.story_text = 'TT: You are the original?... that is fascinating!'; } frame 6 { stext.stext.story_text = 'Amp: You got what it takes. I can help.'; } frame 7 { stext.stext.story_text = 'Jeo: Good. We need to keep moving then.'; } frame 8 { _global.aria_girl = 1; _root.gotoAndStop(6); } } movieClip 5219 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Luma: Hey don\'t attack us idiots. We are all on the same team!'; } frame 2 { stext.stext.story_text = 'Phia: Not this bitch again! This is not trainning sweeite. Stay out of the way if you don\'t want to die.'; } frame 3 { stext.stext.story_text = 'Luma: Just relax, bitch. And maybe I won\'t stick my foot up your cunt.'; } frame 4 { stext.stext.story_text = 'Lynn: Jeo. This is all a misunderstanding. I\'m sorry but there is nothing I can say to stop my dad from doing this.'; } frame 5 { stext.stext.story_text = 'Jeo: Nevermind Lynn. Just tell me where Cain is.'; } frame 6 { stext.stext.story_text = 'Lynn: I don\'t know exactly but he is looking for me. We will meet him soon... and he will be hostile.'; } frame 7 { stext.stext.story_text = 'Luma: Fuck that guy anyway.'; } frame 8 { stext.stext.story_text = 'Phia: I know right? Fuck that guy.'; } frame 9 { stext.stext.story_text = 'Lynn: Hey…'; } frame 10 { stext.stext.story_text = 'Riley: You two are hilarious.'; } frame 11 { stext.stext.story_text = 'Arielle: Nevermind them. They are always like that. We are all ready to help you Jeo.'; } frame 12 { stext.stext.story_text = 'Jeo: Fine. Let\'s just continue.'; } frame 13 { _global.aria_girl = 1; _root.gotoAndStop(6); } } movieClip 5220 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Jeo: It is Yui. I didn\'t know she worked in the space divisions also.'; } frame 2 { stext.stext.story_text = 'Arielle: You know her?'; } frame 3 { stext.stext.story_text = 'Jeo: Yeah from Nanako Law Division when I was a student.'; } frame 4 { stext.stext.story_text = 'Arielle: You’re still a student "Jinru".'; } frame 5 { stext.stext.story_text = 'Jeo: Not if this keeps up.'; } frame 6 { stext.stext.story_text = 'Arielle: I’ll get the team ready.'; } frame 7 { _global.aria_girl = 1; _root.gotoAndStop(6); } } movieClip 5222 { frame 1 { if (_global.music == 0) { gotoAndStop(1); } } } movieClip 5223 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Cain: Stand down Jeo and come quietly. I will only say it once.'; } frame 2 { stext.stext.story_text = 'Jeo: You already know I\'m not going to do that.'; } frame 3 { stext.stext.story_text = 'Cain: Don\'t be foolish.'; } frame 4 { stext.stext.story_text = 'Jeo: Funny, I was about to say the same thing to you.'; } frame 5 { _global.aria_girl = 1; _root.gotoAndStop(6); } } movieClip 5227 { frame 1 { stop(); } frame 1 { stext.stext.story_text = '???: I could hardly believe my own pupil was doing this. But you and your friends are no match for me. Your plan is suicide.'; } frame 2 { stext.stext.story_text = 'Lynn: It was Dr. Natan that attacked me, not Jeo.'; } frame 3 { stext.stext.story_text = '???: I\'m done talking!'; } frame 4 { stext.stext.story_text = 'Jeo: It’s your funeral.'; } frame 5 { stext.stext.story_text = 'Lynn: No! Jeo!'; } frame 6 { _global.aria_girl = 1; _root.gotoAndStop(6); } } movieClip 5230 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Jeo: You look like a woman but Bri kept referring to a "he"'; } instance of movieClip 376 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } frame 2 { stext.stext.story_text = 'Remi: Why don’t you come find out?'; } frame 3 { stext.stext.story_text = 'Jeo: We\'ll see.'; } frame 4 { stext.stext.story_text = 'Remi: If you ever want to fuck I\'ll be right here baby.'; } frame 5 { stext.stext.story_text = 'Jeo: I see, so you are a sex freak like Phia.'; } frame 6 { stext.stext.story_text = 'Remi: There is another sex freak here? I have to find her and play with her.'; } frame 7 { _global.aria_girl = 1; _root.gotoAndStop(12); } } button 5235 { on (release) { gotoAndStop(8); } } button 5236 { on (release) { _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; gotoAndStop(9); } } movieClip 5245 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Phia: Oh! Ah! Hey sweetie~! You like watching my ass get pounded?'; } frame 2 { stext.stext.story_text = 'Remi: you can join if you want.'; } frame 3 { stext.stext.story_text = 'Phia: Damn. That’s a good idea! Fuck yeah that feels so good Remi baby! Oh yeah! Yeah!'; } frame 4 { stext.stext.story_text = 'Remi&Phia: !!!'; } instance of movieClip 3423 { onClipEvent (load) { this.gotoAndPlay(17); } } frame 5 { stext.stext.story_text = 'Phia: Oh fuck baby! Keep cumming in my pussy~'; } frame 6 { stext.stext.story_text = 'Remi: Want to join the fun Jeo?'; } frame 8 { _global.aria_girl = 1; _root.gotoAndStop(6); } frame 9 { stext.stext.story_text = 'Remi: Fuck yeah baby!'; } frame 10 { stext.stext.story_text = 'Remi: Oh shit!'; } frame 11 { stext.stext.story_text = 'Phia: Fuck yeah don\'t stop!'; } frame 12 { stext.stext.story_text = 'Remi: Cum for me baby!'; } instance of movieClip 3264 { onClipEvent (load) { this.gotoAndPlay(13); } } frame 13 { stext.stext.story_text = 'Phia: Fuck yeah, cum in my little cunt sweetie.'; } instance sex of movieClip 1743 { onClipEvent (load) { this.gotoAndPlay(17); } } frame 14 { _global.aria_girl = 1; _root.gotoAndStop(6); } } button 5246 { on (release) { gotoAndStop(7); } } button 5247 { on (release) { _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; gotoAndStop(3); } } movieClip 5249 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Remi: Mmm I\'ll never refuse you Jeo...do whatever you want to me.'; } instance of movieClip 376 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } frame 3 { stext.stext.story_text = 'Remi: Fuck...me !'; } frame 4 { stext.stext.story_text = 'Remi: I can\'t breathe...'; } frame 5 { stext.stext.story_text = 'Remi: Oh shit!'; } frame 6 { stext.stext.story_text = 'Remi: It\'s too deep!'; } instance of movieClip 3264 { onClipEvent (load) { this.gotoAndPlay(13); } } frame 7 { _global.aria_girl = 1; _root.gotoAndStop(12); } } movieClip 5252 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'TT: So Jeo you want me to open this container?'; } frame 2 { stext.stext.story_text = 'Jeo: Yeah.'; } frame 3 { stext.stext.story_text = 'TT: Okay! I have been looking at the container and I think all you have to is...'; } frame 4 { stext.stext.story_text = 'Jeo: it is opening stand back.'; } frame 5 { stext.stext.story_text = 'Alien: GemCo filth... you must be pretty confident to open the containment.'; } frame 6 { stext.stext.story_text = 'TT: Wow!'; } frame 7 { stext.stext.story_text = 'Jeo: We are part of GemCo but we see things differently from the main division.'; } frame 8 { stext.stext.story_text = 'TT: It speaks our language that is fascinating!'; } frame 9 { stext.stext.story_text = 'Alien: Yes I was created by humans to fix human conditions. Even reverse them.'; } frame 10 { stext.stext.story_text = 'TT: Really? Fascinating! Jeo it is likely that your condition could be permanently cured.'; } frame 11 { stext.stext.story_text = 'Jeo: They probably created you for all the wrong reasons. But that sounds useful to me right now.'; } frame 12 { stext.stext.story_text = 'TT: Consider yourself a part of the team...erm.. Goo!'; } frame 13 { _global.goo_unlocked = 1; _root.gotoAndStop(6); } } movieClip 5253 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Goo: I have not seen the person who created and contained me yet.'; } frame 2 { stext.stext.story_text = 'Goo: I assume it would be one of your more challenging opponents you will have to face in the future.'; } frame 3 { _root.gotoAndStop(6); } } movieClip 5255 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Luma: Hey Jeo don\'t worry we will support you.'; } instance of movieClip 388 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } frame 2 { stext.stext.story_text = 'Luma: Just ignore Phia and Me. We are like that.'; } frame 3 { _root.gotoAndStop(12); } } movieClip 5256 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Lynn: We will help you get this fixed Jeo.'; } instance of movieClip 418 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } frame 2 { _root.gotoAndStop(12); } } movieClip 5257 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Riley: Finally we get to do something actually dangerous.'; } instance of movieClip 413 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } frame 2 { _root.gotoAndStop(12); } } frame 41 { _global.battle_talk = 1; } movieClip 5260 { frame 1 { stop(); } } movieClip 5261 { frame 1 { stop(); } frame 1 { if (_global.aria_girl == 1) { stext.stext.story_text = 'Arielle: Move aside I don\'t want to harm you.'; } else { if (_global.aria_girl == 2 && _global.current_area == 3) { stext.stext.story_text = 'Phia: Hey Roy just let us pass ok? Forget you ever saw us here.'; } else { if (_global.aria_girl == 2 && _global.current_area == 4) { stext.stext.story_text = 'Phia: Sui-May? Why are you here sweetie?'; } else { if (_global.aria_girl == 2) { stext.stext.story_text = 'Phia: Move or it\'s your funeral sweetie!'; } else { if (_global.aria_girl == 3) { stext.stext.story_text = 'TT: Stand aside! We will not hesitate to use force.'; } else { if (_global.aria_girl == 4) { stext.stext.story_text = 'Bri: Excuse me can you please move so we can pass through?'; } else { if (_global.aria_girl == 5 && _global.current_area == 5) { stext.stext.story_text = 'Jeo: I little bird told me you have no intention of fighting us.'; } else { if (_global.aria_girl == 5) { stext.stext.story_text = 'Jeo: Out of the way fool!'; } else { if (_global.aria_girl == 6) { stext.stext.story_text = 'Remi: Move... or die.'; } else { if (_global.aria_girl == 7) { stext.stext.story_text = 'Luma: Do yourself a favor and kill yourself nerd!'; } } } } } } } } } } } instance of movieClip 5260 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } onClipEvent (enterFrame) { this.gotoAndStop(_global.aria_girl); } } instance of movieClip 439 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } onClipEvent (enterFrame) { } } frame 2 { if (_global.aria_girl != 5) { if (_global.enemy_defeated == _global.current_area && _global.current_area != 3 && _global.current_area != 4 && _global.current_area != 5 && _global.current_area != 7 && _global.current_area != 8) { stext.stext.story_text = 'Agent: Never, Hand over Jeo and I\'ll think about it.'; } else { if (_global.current_area == 1) { stext.stext.story_text = 'Male Agent: Never, Hand over Jeo and I\'ll think about it.'; } else { if (_global.current_area == 2) { stext.stext.story_text = 'Female Agent: Never, Hand over Jeo and I\'ll think about it.'; } else { if (_global.current_area == 3 && _global.aria_girl == 2) { gotoAndStop(4); } else { if (_global.current_area == 3) { stext.stext.story_text = 'Roy: No can do sweet cheeks.'; } else { if (_global.current_area == 4 && _global.aria_girl == 2) { gotoAndStop(4); } else { if (_global.current_area == 4) { stext.stext.story_text = 'Sui-May: I\'m not going anywhere.'; } else { if (_global.current_area == 5) { stext.stext.story_text = 'Remi: I just want to see Jeo. I heard he was hot.'; } else { if (_global.current_area == 6) { stext.stext.story_text = 'Amp: I\'m not here to fight we need to work together, but I do need to test you.'; } else { if (_global.current_area == 7) { gotoAndStop(4); } else { if (_global.current_area == 8) { stext.stext.story_text = 'Yui: No can do. You are all coming with me.'; } else { if (_global.current_area == 9) { stext.stext.story_text = 'Cain: Tsh. Why even bother talking?'; } else { if (_global.current_area == 10) { stext.stext.story_text = '????: Ha! comedy.'; } } } } } } } } } } } } } } else { if (_global.aria_girl == 5) { if (_global.enemy_defeated == _global.current_area && _global.current_area != 3 && _global.current_area != 4 && _global.current_area != 5 && _global.current_area != 7 && _global.current_area != 8) { stext.stext.story_text = 'Agent: Never!'; } else { if (_global.current_area == 1) { stext.stext.story_text = 'Male Agent: Never, you will stand down and come with me.'; } else { if (_global.current_area == 2) { stext.stext.story_text = 'Female Agent: No way. You are a wanted criminal!'; } else { if (_global.current_area == 3) { stext.stext.story_text = 'Roy: Sorry Pal. No can do man. I gotta take you in before I can go back.'; } else { if (_global.current_area == 4) { stext.stext.story_text = 'Sui-May: I can\'t do that. Orders are orders.'; } else { if (_global.current_area == 5) { gotoAndStop(4); } else { if (_global.current_area == 6) { stext.stext.story_text = 'Amp: I\'m not here to fight we need to work together, but I do need to test you.'; } else { if (_global.current_area == 7) { gotoAndStop(4); } else { if (_global.current_area == 8) { stext.stext.story_text = 'Yui: No can do. You are all coming with me.'; } else { if (_global.current_area == 9) { stext.stext.story_text = 'Cain: Tsh. Why even bother talking?'; } else { if (_global.current_area == 10) { stext.stext.story_text = '????: Ha! comedy.'; } } } } } } } } } } } } } } frame 3 { _root.gotoAndStop(2); } frame 4 { if (_global.current_area == 3 && _global.aria_girl == 2) { stext.stext.story_text = 'Roy: You know I can\'t do that little sis.'; } if (_global.current_area == 4 && _global.aria_girl == 2) { stext.stext.story_text = 'Sui-May: Phia! Where is Roy!'; } if (_global.aria_girl == 5 && _global.current_area == 5) { stext.stext.story_text = 'Remi: Your little bird is right.'; } if (_global.current_area == 7) { _global.luma_unlocked = 1; stext.stext.story_text = 'Luma: Duh! Why the fuck are you trying to attack us anyway?'; } } frame 5 { if (_global.current_area == 3 && _global.aria_girl == 2) { stext.stext.story_text = 'Phia: Roy this isn\'t a game. This guy will kill you!'; } if (_global.current_area == 4 && _global.aria_girl == 2) { stext.stext.story_text = 'Phia: He is looking for you with a big... hard... dick.'; } if (_global.aria_girl == 5 && _global.current_area == 5) { stext.stext.story_text = 'Jeo: Why come here? Are you offering to help?'; } if (_global.current_area == 7) { gotoAndStop(9); } } frame 6 { if (_global.current_area == 3 && _global.aria_girl == 2) { stext.stext.story_text = 'Roy: That\'s impossible!'; } if (_global.current_area == 4 && _global.aria_girl == 2) { stext.stext.story_text = 'Sui-May: really? I should go find him then, want to join me?'; } if (_global.aria_girl == 5 && _global.current_area == 5) { stext.stext.story_text = 'Remi:...mmm...nice.'; } } frame 7 { if (_global.current_area == 3 && _global.aria_girl == 2) { stext.stext.story_text = 'Phia: Roy please listen to your little sis for once in your life okay?'; } if (_global.current_area == 4 && _global.aria_girl == 2) { stext.stext.story_text = 'Phia: Oh tempting... but I can play with you guys after this is all over okay sweetie?'; } if (_global.aria_girl == 5 && _global.current_area == 5) { stext.stext.story_text = 'Jeo: Are you listening?'; } } frame 8 { if (_global.current_area == 3 && _global.aria_girl == 2) { stext.stext.story_text = 'Roy: fine. I was looking for a good fight though.'; } if (_global.current_area == 4 && _global.aria_girl == 2) { stext.stext.story_text = 'Sui-May: Okay love! See ya!'; } if (_global.aria_girl == 5 && _global.current_area == 5) { stext.stext.story_text = 'Remi: Hmm baby you look totally sexy. I\'m going to stay with you for a while.'; _global.remi_unlocked = 1; _global.recover_chance = 1; _global.remi_talk = 0; } } frame 9 { _global.enemy_defeated = _global.current_area; _global.travel_resource_cost = 100; _global.recources += 100; _global.story_task_battle = 0; if (_global.current_area == 4 && _global.aria_girl == 2) { _root.gotoAndStop(82); } else { if (_global.aria_girl > 4) { _root.gotoAndStop(6); } else { _root.gotoAndStop(7 + _global.aria_girl); } } } } button 5262 { on (release) { _root.gotoAndStop(47); } } button 5263 { on (release) { _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; gotoAndStop(4); } } button 5268 { on (release) { gotoAndStop(6); } } button 5272 { on (release) { gotoAndStop(7); } } button 5273 { on (release) { gotoAndStop(8); } } button 5274 { on (release) { gotoAndStop(10); } } button 5275 { on (release) { gotoAndStop(11); } } movieClip 5277 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Jeo: You mentioned you can cure me?'; } frame 2 { stext.stext.story_text = 'Goo: Yes I was created to cure human conditions. I just need your sexual body fluids. Is that ok?'; } frame 4 { stext.stext.story_text = 'Jeo: Well this feels different, but feels good.'; } instance of movieClip 3937 { onClipEvent (load) { this.gotoAndPlay(19); } } frame 8 { stext.stext.story_text = 'Goo: Oh, looks like too much escaped. I need to capture it inside. Let’s try a different position.'; } instance of movieClip 4055 { onClipEvent (load) { this.gotoAndPlay(14); } } frame 11 { stext.stext.story_text = 'Goo: Wait… Jeo.'; } frame 12 { stext.stext.story_text = 'Goo: Hold please. I certainly have more than enough. Can you feel a difference?'; } frame 13 { stext.stext.story_text = 'Jeo: Yes I already feel amazing!'; } frame 14 { _global.had_goo_sex = 1; _global.max_value = 2000; _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; _root.gotoAndStop(47); } } button 5284 { on (release) { gotoAndStop(6); } } button 5285 { on (release) { gotoAndStop(7); } } button 5291 { on (release) { gotoAndStop(15); } } button 5292 { on (release) { gotoAndStop(16); } } button 5293 { on (release) { gotoAndStop(22); } } button 5294 { on (release) { gotoAndStop(23); } } button 5295 { on (release) { gotoAndStop(32); } } button 5296 { on (release) { gotoAndStop(33); } } movieClip 5297 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Phia: Hmm where are they…'; } frame 2 { stext.stext.story_text = 'Phia: Hey Ari sweetie~'; } frame 3 { stext.stext.story_text = 'Arielle: Phia... What is it? '; } frame 4 { stext.stext.story_text = 'Arielle: why are you looking at me like tha~ ah!'; } instance of movieClip 4212 { onClipEvent (load) { gotoAndPlay(21); } } frame 7 { stext.stext.story_text = 'Arielle: Ok Phia, are you happy now?'; } frame 8 { stext.stext.story_text = 'Phia: Very~'; } frame 9 { stext.stext.story_text = 'Phia: Who\'s next?'; } frame 10 { stext.stext.story_text = 'Phia: Hey TT!'; } frame 11 { stext.stext.story_text = 'TT: Hey Phia. Need something?'; } frame 12 { stext.stext.story_text = 'Phia: I sure do baby.'; } frame 13 { stext.stext.story_text = 'TT: Oh, just let me finish my experiment~!'; } instance of movieClip 4324 { onClipEvent (load) { gotoAndPlay(19); } } frame 16 { stext.stext.story_text = 'TT: Phia! Now my experiment is ruined!'; } frame 17 { stext.stext.story_text = 'Phia: Only one more to go.'; } frame 18 { stext.stext.story_text = 'Phia: Hey little cutie pie!'; } frame 19 { stext.stext.story_text = 'Bri: Phia...you must be...'; } frame 20 { stext.stext.story_text = 'Phia: Yup! Come here~~!'; } instance of movieClip 4400 { onClipEvent (load) { gotoAndPlay(21); } } frame 23 { stext.stext.story_text = 'Arielle: Phia!'; } frame 24 { stext.stext.story_text = 'Phia: What is it sweetie?'; } frame 25 { stext.stext.story_text = 'Arielle: You can\'t just do that!'; } frame 26 { stext.stext.story_text = 'TT: It felt good but you ruined my experiment. You could have waited a bit.'; } frame 27 { stext.stext.story_text = 'Phia: Aw don\'t be like that.'; } frame 28 { stext.stext.story_text = 'Bri: Phia. Why are you doing this?'; } frame 29 { stext.stext.story_text = 'Phia: Phia is a naughty girl. you should punish me~'; } frame 30 { stext.stext.story_text = 'TT: Good idea.'; } instance of movieClip 4594 { onClipEvent (load) { gotoAndPlay(23); } } frame 33 { stext.stext.story_text = 'Jeo: Are you having fun? Get back to work.'; } frame 34 { stext.stext.story_text = 'Arielle: Yes sir Jeo!'; } frame 35 { _root.gotoAndStop(6); } } movieClip 5300 { frame 1 { stop(); } frame 1 { stext.stext.story_text = '???: Impossible!'; } frame 2 { stext.stext.story_text = 'Lynn: You did it Jeo!'; } frame 3 { stext.stext.story_text = '?Jeo: I’ll give you one more chance to let us talk.'; } frame 4 { stext.stext.story_text = '???: Fine.'; } frame 5 { stext.stext.story_text = 'Jeo: Like Lynn already told you, I was protecting her from Natan.'; } frame 6 { stext.stext.story_text = '???: What did he do to you Lynn?'; } frame 7 { stext.stext.story_text = 'Lynn: Nothing really thanks to Jeo. But he did steal my…'; } frame 8 { stext.stext.story_text = '???: Your what?'; } frame 9 { stext.stext.story_text = 'Lynn: a growth cream I had…'; } frame 10 { stext.stext.story_text = '???: What do you have a growth cream for?'; } frame 11 { stext.stext.story_text = 'Lynn: Well… let’s just not talk about it. The point is it’s gone.'; } frame 12 { stext.stext.story_text = '???: Natan probably needed it for his crazy experiment.'; } frame 13 { stext.stext.story_text = 'Cain: Now that I think about it. That is very likely.'; } frame 14 { stext.stext.story_text = '???: If he is trying to revive his old research he needs to be dealt with.'; } frame 15 { stext.stext.story_text = 'Cain: Ok Jeo you are off the hook for now.'; } frame 16 { stext.stext.story_text = 'Jeo: Off the hook? I just destroyed you entire fleet.'; } frame 17 { stext.stext.story_text = '???: And tomorrow you will report back to the Nanako region. Don’t worry Natan won’t be there.'; } frame 18 { stext.stext.story_text = '???: TT I need you with me. I have something I want you to work on.'; } frame 19 { stext.stext.story_text = 'Tiffany: Ok.'; } frame 20 { stext.stext.story_text = '???: Arielle take the rest of your team back to headquarters. '; } frame 21 { stext.stext.story_text = 'Arielle: On my way.'; } frame 22 { stext.stext.story_text = '???: Cain and Yui, let’s get this Natan business over with. Then you can resume your position in Nanako with Jeo.'; } frame 23 { stext.stext.story_text = '???: Luma’s team also is to report back to Nanako.'; } frame 24 { stext.stext.story_text = 'Lynn: I’ll tell Luma.'; } frame 25 { _root.gotoAndStop(45); } } movieClip 5301 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Phia: Aw. So we are done?'; } frame 2 { stext.stext.story_text = 'Arielle: Jeo it is finally done!'; } frame 3 { stext.stext.story_text = 'Tiffany: Not even a moment to rest. Back to regular work tomorrow.'; } frame 4 { stext.stext.story_text = 'Jeo: Well at least this fiasco is over with.'; } frame 5 { stext.stext.story_text = 'Bri: All this could have been avoided by talking from the start. '; } frame 6 { stext.stext.story_text = 'Jeo: But you did well. I knew you would come and we would get this all settled.'; } frame 7 { stext.stext.story_text = 'Tiffany: Is that praise from Jeo?'; } frame 8 { stext.stext.story_text = 'Arielle: About as much as he is capable of giving.'; } frame 9 { stext.stext.story_text = 'Jeo: You have your orders. Get moving.'; } frame 10 { _root.gotoAndStop(50); } } button 5302 { on (release) { _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; gotoAndStop(7); } } button 5303 { on (release) { gotoAndStop(9); } } movieClip 5304 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Jeo: I\'ve ran into some of your clones. Rumor has it that some of the agents fuck them regularly.'; } instance of movieClip 381 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } frame 2 { stext.stext.story_text = 'Amp: Well at least it\'s good to know my body body is a regular favorite at GemCo.'; } frame 3 { stext.stext.story_text = 'Amp: So you never did it?'; } frame 4 { stext.stext.story_text = 'Jeo: No. I only heard about it. The only time I saw a clone was in a container.'; } frame 5 { stext.stext.story_text = 'Amp: Want to have a go with the original girl they were made from?'; } frame 7 { stext.stext.story_text = 'Amp: wow I like your dick already.'; } frame 9 { stext.stext.story_text = 'Amp: ooo! feels so good! keep fucking that pussy.'; } frame 10 { stext.stext.story_text = 'Jeo: I see why your clones are the favorite... It feels too good. I\'m about to-'; } frame 11 { stext.stext.story_text = 'Amp: Go ahead and let it bust out inside me Jeo!'; } instance of movieClip 4787 { onClipEvent (load) { this.gotoAndPlay(8); } } frame 13 { _root.gotoAndStop(47); } } instance music of movieClip 604 { onClipEvent (load) { this.gotoAndPlay(_global.bgm_music_begin); } onClipEvent (enterFrame) { _global.bgm_music_begin = this._currentframe; } } movieClip 5305 { } button 5306 { on (release) { _root.gotoAndStop(37); } } button 5307 { on (release) { _root.gotoAndStop(42); } } movieClip 5309 { frame 1 { stop(); } } button 5311 { on (release) { _root.gotoAndStop(48); } } button 5312 { on (release) { _root.gotoAndStop(46); } } movieClip 5313 { frame 1 { stop(); } } button 5315 { on (release) { _global.recover_chance = 1; _root.gotoAndStop(36); } } movieClip 5318 { frame 1 { stop(); } } movieClip 5319 { instance of movieClip 5309 { onClipEvent (load) { if (_global.goo_unlocked == 1) { this.gotoAndStop(2); } } } instance of movieClip 5313 { onClipEvent (load) { if (_global.current_area > 5) { this.gotoAndStop(2); } } } instance of movieClip 5318 { onClipEvent (load) { if (_global.goo_unlocked == 0 && _global.current_area > 3) { } else { this.gotoAndStop(2); } } } } movieClip 5320 { frame 1 { stop(); if (_global.goo_unlocked != 1) { gotoAndStop(22); } } frame 1 { stext.stext.story_text = 'Jeo: So.. you both are the similar.'; } frame 2 { stext.stext.story_text = 'Amp: How? I am a person... she is a goopy thing.'; } frame 3 { stext.stext.story_text = 'Goo: He means our past history as GemCo lab expriments have similarities.'; } frame 4 { stext.stext.story_text = 'Amp: Oh. right. sorry.'; } frame 5 { stext.stext.story_text = 'Amp: Wait! were you human at one point!? '; } frame 6 { stext.stext.story_text = 'Goo: Of course. My body looked like this, except not as "goopy".'; } frame 7 { stext.stext.story_text = 'Amp: Damn girl! They did some real heavy shit on you.'; } frame 8 { stext.stext.story_text = 'Goo: So what\'s your story? You don\'t look changed at all to me.'; } frame 9 { stext.stext.story_text = 'Amp: I was leading a rebel group when I got captured...'; } frame 10 { stext.stext.story_text = 'Jeo: GemCo has your group booked as a gang.'; } frame 11 { stext.stext.story_text = 'Amp: Well were not. GemCo is always lying about something to cover thier tracks.'; } frame 12 { stext.stext.story_text = 'Jeo: Yeah. That is how I got into this mess.'; } frame 13 { stext.stext.story_text = 'Amp: Anyway Goo, I got cloned and now I have to fight myself and others do too.'; } frame 14 { stext.stext.story_text = 'Amp: And apparently GemCo does whatever they want with my clones. Even fucks them.'; } frame 15 { stext.stext.story_text = 'Amp: And people see me as public enemy number one. I can\'t even walk around normally.'; } frame 16 { stext.stext.story_text = 'Goo: Hmm. Maybe we can help each other out later.'; } frame 17 { stext.stext.story_text = 'Amp: You have a plan?'; } frame 18 { stext.stext.story_text = 'Goo: Yes I\'ve been sitting in a continer for years. Plenty of time to think.'; } frame 19 { stext.stext.story_text = 'Amp: Awesome... Jeo? Hurry up and get us back to GemCo!'; } frame 20 { stext.stext.story_text = 'Jeo: Ha! My pleasure.'; } frame 21 { _root.gotoAndStop(47); } frame 22 { stop(); } frame 22 { stext.stext.story_text = 'Amp: What\'s this container? Looks familiar, gonna open it anytime soon?'; } frame 23 { _root.gotoAndStop(47); } } instance of movieClip 5320 { onClipEvent (load) { if (_global.goo_unlocked != 1) { this.gotoAndStop(22); } } } movieClip 5323 { frame 1 { if (_global.music == 0) { gotoAndStop(1); } } } frame 51 { _root.play_time = '' + _global.game_hours + 'h:' + _global.game_minutes + 'm:' + _global.game_seconds + 's'; _root.save_password_text = ''; _root.input_password_save = ''; _root.custom_text = ''; _global.custom_complete = 0; _global.encoder_function = function () { var v4 = ''; var v3 = ''; var v86 = new String(_global.your_mercenary_count); var v5 = new String(_global.recources); var v67 = new String(_global.current_area); var v6 = new String(_global.had_goo_sex); var v31 = new String(_global.GatherLv); var v7 = new String(_global.AttkShipLv); var v8 = new String(_global.FoodLv); var v9 = new String(_global.RallyLv); var v20 = new String(_global.goo_unlocked); var v32 = new String(_global.remi_unlocked); var v10 = new String(_global.luma_unlocked); var v61 = new String(_global.game_hours); var v45 = new String(_global.game_minutes); var v51 = new String(_global.game_seconds); v3 = v86 + 'A' + v5 + 'A' + v67 + 'A' + v6 + 'A' + v31 + 'A' + v7 + 'A' + v8 + 'A' + v9 + 'A' + v20 + 'A' + v32 + 'A' + v10 + 'A' + v61 + 'A' + v45 + 'A' + v51; v4 += v3; var v87 = new String(_global.travel_resource_cost); var v46 = new String(_global.days_passed); var v82 = new String(_global.food_supply); var v55 = new String(_global.jeo_first_fight); var v62 = new String(_global.mercwork); var v94 = new String(_global.eplosive_ships); var v56 = new String(_global.psm); var v77 = new String(_global.pnm); var v36 = new String(_global.overcharge); var v15 = new String(_global.bombs); var v83 = new String(_global.RaidTrainning); var v33 = new String(_global.arielle_injury); var v68 = new String(_global.phia_injury); var v63 = new String(_global.tiffany_injury); var v37 = new String(_global.bri_injury); v3 = 'A' + v87 + 'A' + v46 + 'A' + v82 + 'A' + v55 + 'A' + v62 + 'A' + v94 + 'A' + v56 + 'A' + v77 + 'A' + v36 + 'A' + v15 + 'A' + v83 + 'A' + v33 + 'A' + v68 + 'A' + v63 + 'A' + v37; v4 += v3; var v47 = new String(_global.assaultship_destroyed); var v69 = new String(_global.cargoship_destroyed); var v21 = new String(_global.assistanceship1_destroyed); var v38 = new String(_global.assistanceship2_destroyed); var v95 = new String(_global.bossship_destroyed); v3 = 'A' + v47 + 'A' + v69 + 'A' + v21 + 'A' + v38 + 'A' + v95; v4 += v3; _global.aria_girl = 1; var v57 = new String(_global.aria_girl_array[_global.aria_girl].love); var v11 = new String(_global.aria_girl_array[_global.aria_girl].mood); var v78 = new String(_global.aria_girl_array[_global.aria_girl].task); var v58 = new String(_global.aria_girl_array[_global.aria_girl].charisma); var v39 = new String(_global.aria_girl_array[_global.aria_girl].sex); var v88 = new String(_global.aria_girl_array[_global.aria_girl].space); var v28 = new String(_global.aria_girl_array[_global.aria_girl].ship); var v22 = new String(_global.aria_girl_array[_global.aria_girl].combat); var v29 = new String(_global.aria_girl_array[_global.aria_girl].efficiency); var v73 = new String(_global.aria_girl_array[_global.aria_girl].food); var v70 = new String(_global.aria_girl_array[_global.aria_girl].fatigue); var v52 = new String(_global.aria_girl_array[_global.aria_girl].obey); v3 = 'A' + v57 + 'A' + v11 + 'A' + v78 + 'A' + v58 + 'A' + v39 + 'A' + v88 + 'A' + v28 + 'A' + v22 + 'A' + v29 + 'A' + v73 + 'A' + v70 + 'A' + v52; v4 += v3; _global.aria_girl = 2; var v53 = new String(_global.aria_girl_array[_global.aria_girl].love); var v96 = new String(_global.aria_girl_array[_global.aria_girl].mood); var v74 = new String(_global.aria_girl_array[_global.aria_girl].task); var v40 = new String(_global.aria_girl_array[_global.aria_girl].charisma); var v34 = new String(_global.aria_girl_array[_global.aria_girl].sex); var v84 = new String(_global.aria_girl_array[_global.aria_girl].space); var v23 = new String(_global.aria_girl_array[_global.aria_girl].ship); var v16 = new String(_global.aria_girl_array[_global.aria_girl].combat); var v24 = new String(_global.aria_girl_array[_global.aria_girl].efficiency); var v71 = new String(_global.aria_girl_array[_global.aria_girl].food); var v85 = new String(_global.aria_girl_array[_global.aria_girl].fatigue); var v48 = new String(_global.aria_girl_array[_global.aria_girl].obey); v3 = 'A' + v53 + 'A' + v96 + 'A' + v74 + 'A' + v40 + 'A' + v34 + 'A' + v84 + 'A' + v23 + 'A' + v16 + 'A' + v24 + 'A' + v71 + 'A' + v85 + 'A' + v48; v4 += v3; _global.aria_girl = 3; var v49 = new String(_global.aria_girl_array[_global.aria_girl].love); var v91 = new String(_global.aria_girl_array[_global.aria_girl].mood); var v72 = new String(_global.aria_girl_array[_global.aria_girl].task); var v50 = new String(_global.aria_girl_array[_global.aria_girl].charisma); var v30 = new String(_global.aria_girl_array[_global.aria_girl].sex); var v79 = new String(_global.aria_girl_array[_global.aria_girl].space); var v17 = new String(_global.aria_girl_array[_global.aria_girl].ship); var v12 = new String(_global.aria_girl_array[_global.aria_girl].combat); var v18 = new String(_global.aria_girl_array[_global.aria_girl].efficiency); var v64 = new String(_global.aria_girl_array[_global.aria_girl].food); var v80 = new String(_global.aria_girl_array[_global.aria_girl].fatigue); var v41 = new String(_global.aria_girl_array[_global.aria_girl].obey); v3 = 'A' + v49 + 'A' + v91 + 'A' + v72 + 'A' + v50 + 'A' + v30 + 'A' + v79 + 'A' + v17 + 'A' + v12 + 'A' + v18 + 'A' + v64 + 'A' + v80 + 'A' + v41; v4 += v3; _global.aria_girl = 4; var v42 = new String(_global.aria_girl_array[_global.aria_girl].love); var v89 = new String(_global.aria_girl_array[_global.aria_girl].mood); var v65 = new String(_global.aria_girl_array[_global.aria_girl].task); var v75 = new String(_global.aria_girl_array[_global.aria_girl].charisma); var v25 = new String(_global.aria_girl_array[_global.aria_girl].sex); var v76 = new String(_global.aria_girl_array[_global.aria_girl].space); var v13 = new String(_global.aria_girl_array[_global.aria_girl].ship); var v97 = new String(_global.aria_girl_array[_global.aria_girl].combat); var v14 = new String(_global.aria_girl_array[_global.aria_girl].efficiency); var v59 = new String(_global.aria_girl_array[_global.aria_girl].food); var v92 = new String(_global.aria_girl_array[_global.aria_girl].fatigue); var v35 = new String(_global.aria_girl_array[_global.aria_girl].obey); v3 = 'A' + v42 + 'A' + v89 + 'A' + v65 + 'A' + v75 + 'A' + v25 + 'A' + v76 + 'A' + v13 + 'A' + v97 + 'A' + v14 + 'A' + v59 + 'A' + v92 + 'A' + v35; v4 += v3; var v90 = new String(_global.had_luma_sex); var v81 = new String(_global.had_yui_sex); var v43 = new String(_global.rape_on); var v98 = new String(_global.arielle_rape); var v54 = new String(_global.phia_rape); var v93 = new String(_global.tiffany_rape); var v44 = new String(_global.bri_rape); var v26 = new String(_global.had_sui_may_sex); var v66 = new String(_global.prisoner); var v19 = new String(_global.being_raided); var v99 = new String(_global.days_in_same_area); var v60 = new String(_global.stealth); var v27 = new String(_global.stealthsystem); v3 = 'A' + v90 + 'A' + v81 + 'A' + v43 + 'A' + v98 + 'A' + v54 + 'A' + v93 + 'A' + v44 + 'A' + v26 + 'A' + v66 + 'A' + v19 + 'A' + v99 + 'A' + v60 + 'A' + v27; v4 += v3; _root.save_password_text = v4; }; _global.decoder_function = function () { var v3 = ''; _global.password_load_parsed = new Array(); v3 = _root.input_password_save; _global.password_load_parsed = v3.split('A'); _global.your_mercenary_count = int(_global.password_load_parsed[0]); _global.recources = int(_global.password_load_parsed[1]); _global.current_area = int(_global.password_load_parsed[2]); _global.had_goo_sex = int(_global.password_load_parsed[3]); _global.GatherLv = int(_global.password_load_parsed[4]); _global.AttkShipLv = int(_global.password_load_parsed[5]); _global.FoodLv = int(_global.password_load_parsed[6]); _global.RallyLv = int(_global.password_load_parsed[7]); _global.goo_unlocked = int(_global.password_load_parsed[8]); _global.remi_unlocked = int(_global.password_load_parsed[9]); _global.luma_unlocked = int(_global.password_load_parsed[10]); _global.game_hours = int(_global.password_load_parsed[11]); _global.game_minutes = int(_global.password_load_parsed[12]); _global.game_seconds = int(_global.password_load_parsed[13]); _global.travel_resource_cost = int(_global.password_load_parsed[14]); _global.days_passed = int(_global.password_load_parsed[15]); _global.food_supply = int(_global.password_load_parsed[16]); _global.jeo_first_fight = int(_global.password_load_parsed[17]); _global.mercwork = int(_global.password_load_parsed[18]); _global.eplosive_ships = int(_global.password_load_parsed[19]); _global.psm = int(_global.password_load_parsed[20]); _global.pnm = int(_global.password_load_parsed[21]); _global.overcharge = int(_global.password_load_parsed[22]); _global.bombs = int(_global.password_load_parsed[23]); _global.RaidTrainning = int(_global.password_load_parsed[24]); _global.arielle_injury = int(_global.password_load_parsed[25]); _global.phia_injury = int(_global.password_load_parsed[26]); _global.tiffany_injury = int(_global.password_load_parsed[27]); _global.bri_injury = int(_global.password_load_parsed[28]); _global.assaultship_destroyed = int(_global.password_load_parsed[29]); _global.cargoship_destroyed = int(_global.password_load_parsed[30]); _global.assistanceship1_destroyed = int(_global.password_load_parsed[31]); _global.assistanceship2_destroyed = int(_global.password_load_parsed[32]); _global.bossship_destroyed = int(_global.password_load_parsed[33]); _global.aria_girl = 1; _global.aria_girl_array[_global.aria_girl].love = int(_global.password_load_parsed[34]); _global.aria_girl_array[_global.aria_girl].mood = int(_global.password_load_parsed[35]); _global.aria_girl_array[_global.aria_girl].task = int(_global.password_load_parsed[36]); _global.aria_girl_array[_global.aria_girl].charisma = int(_global.password_load_parsed[37]); _global.aria_girl_array[_global.aria_girl].sex = int(_global.password_load_parsed[38]); _global.aria_girl_array[_global.aria_girl].space = int(_global.password_load_parsed[39]); _global.aria_girl_array[_global.aria_girl].ship = int(_global.password_load_parsed[40]); _global.aria_girl_array[_global.aria_girl].combat = int(_global.password_load_parsed[41]); _global.aria_girl_array[_global.aria_girl].efficiency = int(_global.password_load_parsed[42]); _global.aria_girl_array[_global.aria_girl].food = int(_global.password_load_parsed[43]); _global.aria_girl_array[_global.aria_girl].fatigue = int(_global.password_load_parsed[44]); _global.aria_girl_array[_global.aria_girl].obey = int(_global.password_load_parsed[45]); _global.aria_girl = 2; _global.aria_girl_array[_global.aria_girl].love = int(_global.password_load_parsed[46]); _global.aria_girl_array[_global.aria_girl].mood = int(_global.password_load_parsed[47]); _global.aria_girl_array[_global.aria_girl].task = int(_global.password_load_parsed[48]); _global.aria_girl_array[_global.aria_girl].charisma = int(_global.password_load_parsed[49]); _global.aria_girl_array[_global.aria_girl].sex = int(_global.password_load_parsed[50]); _global.aria_girl_array[_global.aria_girl].space = int(_global.password_load_parsed[51]); _global.aria_girl_array[_global.aria_girl].ship = int(_global.password_load_parsed[52]); _global.aria_girl_array[_global.aria_girl].combat = int(_global.password_load_parsed[53]); _global.aria_girl_array[_global.aria_girl].efficiency = int(_global.password_load_parsed[54]); _global.aria_girl_array[_global.aria_girl].food = int(_global.password_load_parsed[55]); _global.aria_girl_array[_global.aria_girl].fatigue = int(_global.password_load_parsed[56]); _global.aria_girl_array[_global.aria_girl].obey = int(_global.password_load_parsed[57]); _global.aria_girl = 3; _global.aria_girl_array[_global.aria_girl].love = int(_global.password_load_parsed[58]); _global.aria_girl_array[_global.aria_girl].mood = int(_global.password_load_parsed[59]); _global.aria_girl_array[_global.aria_girl].task = int(_global.password_load_parsed[60]); _global.aria_girl_array[_global.aria_girl].charisma = int(_global.password_load_parsed[61]); _global.aria_girl_array[_global.aria_girl].sex = int(_global.password_load_parsed[62]); _global.aria_girl_array[_global.aria_girl].space = int(_global.password_load_parsed[63]); _global.aria_girl_array[_global.aria_girl].ship = int(_global.password_load_parsed[64]); _global.aria_girl_array[_global.aria_girl].combat = int(_global.password_load_parsed[65]); _global.aria_girl_array[_global.aria_girl].efficiency = int(_global.password_load_parsed[66]); _global.aria_girl_array[_global.aria_girl].food = int(_global.password_load_parsed[67]); _global.aria_girl_array[_global.aria_girl].fatigue = int(_global.password_load_parsed[68]); _global.aria_girl_array[_global.aria_girl].obey = int(_global.password_load_parsed[69]); _global.aria_girl = 4; _global.aria_girl_array[_global.aria_girl].love = int(_global.password_load_parsed[70]); _global.aria_girl_array[_global.aria_girl].mood = int(_global.password_load_parsed[71]); _global.aria_girl_array[_global.aria_girl].task = int(_global.password_load_parsed[72]); _global.aria_girl_array[_global.aria_girl].charisma = int(_global.password_load_parsed[73]); _global.aria_girl_array[_global.aria_girl].sex = int(_global.password_load_parsed[74]); _global.aria_girl_array[_global.aria_girl].space = int(_global.password_load_parsed[75]); _global.aria_girl_array[_global.aria_girl].ship = int(_global.password_load_parsed[76]); _global.aria_girl_array[_global.aria_girl].combat = int(_global.password_load_parsed[77]); _global.aria_girl_array[_global.aria_girl].efficiency = int(_global.password_load_parsed[78]); _global.aria_girl_array[_global.aria_girl].food = int(_global.password_load_parsed[79]); _global.aria_girl_array[_global.aria_girl].fatigue = int(_global.password_load_parsed[80]); _global.aria_girl_array[_global.aria_girl].obey = int(_global.password_load_parsed[81]); _global.aria_girl = 1; _global.had_luma_sex = int(_global.password_load_parsed[82]); _global.had_yui_sex = int(_global.password_load_parsed[83]); _global.rape_on = int(_global.password_load_parsed[84]); _global.arielle_rape = int(_global.password_load_parsed[85]); _global.phia_rape = int(_global.password_load_parsed[86]); _global.tiffany_rape = int(_global.password_load_parsed[87]); _global.bri_rape = int(_global.password_load_parsed[88]); _global.had_sui_may_sex = int(_global.password_load_parsed[89]); _global.prisoner = int(_global.password_load_parsed[90]); _global.being_raided = int(_global.password_load_parsed[91]); _global.days_in_same_area = int(_global.password_load_parsed[92]); _global.stealth = int(_global.password_load_parsed[93]); _global.stealthsystem = int(_global.password_load_parsed[94]); save_state = 'loaded data from code!'; if (_global.had_goo_sex == 1) { _global.max_value = 2000; } if (_global.goo_unlocked == 1 || _global.remi_unlocked == 1) { _global.recover_chance = 1; } }; _global.custom_decoder_function = function () { var v3 = ''; _global.custom_load_parsed = new Array(); v3 = _root.custom_text; _global.custom_load_parsed = v3.split('[A]'); save_state = 'loaded data from code!'; }; } instance music of movieClip 604 { onClipEvent (load) { this.gotoAndPlay(_global.bgm_music_begin); } onClipEvent (enterFrame) { _global.bgm_music_begin = this._currentframe; } } button 5333 { on (release) { _quality = 'high'; } } button 5334 { on (release) { _quality = 'low'; } } button 5335 { on (release) { _quality = 'medium'; } } button 5336 { on (release) { _global.partical_total = 2; } } button 5337 { on (release) { _global.partical_total = 10; } } button 5338 { on (release) { _global.partical_total = 0; } } button 5339 { on (release) { _global.saved_data = 1; aria_so = SharedObject.getLocal('aria'); aria_so.data.saved_data = _global.saved_data; aria_so.data.your_mercenary_count = _global.your_mercenary_count; aria_so.data.recources = _global.recources; aria_so.data.current_area = _global.current_area; aria_so.data.had_goo_sex = _global.had_goo_sex; aria_so.data.GatherLv = _global.GatherLv; aria_so.data.AttkShipLv = _global.AttkShipLv; aria_so.data.FoodLv = _global.FoodLv; aria_so.data.RallyLv = _global.RallyLv; aria_so.data.goo_unlocked = _global.goo_unlocked; aria_so.data.remi_unlocked = _global.remi_unlocked; aria_so.data.luma_unlocked = _global.luma_unlocked; aria_so.data.game_hours = _global.game_hours; aria_so.data.game_minutes = _global.game_minutes; aria_so.data.game_seconds = _global.game_seconds; aria_so.data.travel_resource_cost = _global.travel_resource_cost; aria_so.data.days_passed = _global.days_passed; aria_so.data.food_supply = _global.food_supply; aria_so.data.jeo_first_fight = _global.jeo_first_fight; aria_so.data.mercwork = _global.mercwork; aria_so.data.eplosive_ships = _global.eplosive_ships; aria_so.data.psm = _global.psm; aria_so.data.pnm = _global.pnm; aria_so.data.overcharge = _global.overcharge; aria_so.data.bombs = _global.bombs; aria_so.data.RaidTrainning = _global.RaidTrainning; aria_so.data.arielle_injury = _global.arielle_injury; aria_so.data.phia_injury = _global.phia_injury; aria_so.data.tiffany_injury = _global.tiffany_injury; aria_so.data.bri_injury = _global.bri_injury; aria_so.data.assaultship_destroyed = _global.assaultship_destroyed; aria_so.data.cargoship_destroyed = _global.cargoship_destroyed; aria_so.data.assistanceship1_destroyed = _global.assistanceship1_destroyed; aria_so.data.assistanceship2_destroyed = _global.assistanceship2_destroyed; aria_so.data.bossship_destroyed = _global.bossship_destroyed; _global.aria_girl = 1; aria_so.data.love1 = _global.aria_girl_array[_global.aria_girl].love; aria_so.data.mood1 = _global.aria_girl_array[_global.aria_girl].mood; aria_so.data.task1 = _global.aria_girl_array[_global.aria_girl].task; aria_so.data.charisma1 = _global.aria_girl_array[_global.aria_girl].charisma; aria_so.data.sex1 = _global.aria_girl_array[_global.aria_girl].sex; aria_so.data.space1 = _global.aria_girl_array[_global.aria_girl].space; aria_so.data.ship1 = _global.aria_girl_array[_global.aria_girl].ship; aria_so.data.combat1 = _global.aria_girl_array[_global.aria_girl].combat; aria_so.data.efficiency1 = _global.aria_girl_array[_global.aria_girl].efficiency; aria_so.data.food1 = _global.aria_girl_array[_global.aria_girl].food; aria_so.data.fatigue1 = _global.aria_girl_array[_global.aria_girl].fatigue; aria_so.data.obey1 = _global.aria_girl_array[_global.aria_girl].obey; _global.aria_girl = 2; aria_so.data.love2 = _global.aria_girl_array[_global.aria_girl].love; aria_so.data.mood2 = _global.aria_girl_array[_global.aria_girl].mood; aria_so.data.task2 = _global.aria_girl_array[_global.aria_girl].task; aria_so.data.charisma2 = _global.aria_girl_array[_global.aria_girl].charisma; aria_so.data.sex2 = _global.aria_girl_array[_global.aria_girl].sex; aria_so.data.space2 = _global.aria_girl_array[_global.aria_girl].space; aria_so.data.ship2 = _global.aria_girl_array[_global.aria_girl].ship; aria_so.data.combat2 = _global.aria_girl_array[_global.aria_girl].combat; aria_so.data.efficiency2 = _global.aria_girl_array[_global.aria_girl].efficiency; aria_so.data.food2 = _global.aria_girl_array[_global.aria_girl].food; aria_so.data.fatigue2 = _global.aria_girl_array[_global.aria_girl].fatigue; aria_so.data.obey2 = _global.aria_girl_array[_global.aria_girl].obey; _global.aria_girl = 3; aria_so.data.love3 = _global.aria_girl_array[_global.aria_girl].love; aria_so.data.mood3 = _global.aria_girl_array[_global.aria_girl].mood; aria_so.data.task3 = _global.aria_girl_array[_global.aria_girl].task; aria_so.data.charisma3 = _global.aria_girl_array[_global.aria_girl].charisma; aria_so.data.sex3 = _global.aria_girl_array[_global.aria_girl].sex; aria_so.data.space3 = _global.aria_girl_array[_global.aria_girl].space; aria_so.data.ship3 = _global.aria_girl_array[_global.aria_girl].ship; aria_so.data.combat3 = _global.aria_girl_array[_global.aria_girl].combat; aria_so.data.efficiency3 = _global.aria_girl_array[_global.aria_girl].efficiency; aria_so.data.food3 = _global.aria_girl_array[_global.aria_girl].food; aria_so.data.fatigue3 = _global.aria_girl_array[_global.aria_girl].fatigue; aria_so.data.obey3 = _global.aria_girl_array[_global.aria_girl].obey; _global.aria_girl = 4; aria_so.data.love4 = _global.aria_girl_array[_global.aria_girl].love; aria_so.data.mood4 = _global.aria_girl_array[_global.aria_girl].mood; aria_so.data.task4 = _global.aria_girl_array[_global.aria_girl].task; aria_so.data.charisma4 = _global.aria_girl_array[_global.aria_girl].charisma; aria_so.data.sex4 = _global.aria_girl_array[_global.aria_girl].sex; aria_so.data.space4 = _global.aria_girl_array[_global.aria_girl].space; aria_so.data.ship4 = _global.aria_girl_array[_global.aria_girl].ship; aria_so.data.combat4 = _global.aria_girl_array[_global.aria_girl].combat; aria_so.data.efficiency4 = _global.aria_girl_array[_global.aria_girl].efficiency; aria_so.data.food4 = _global.aria_girl_array[_global.aria_girl].food; aria_so.data.fatigue4 = _global.aria_girl_array[_global.aria_girl].fatigue; aria_so.data.obey4 = _global.aria_girl_array[_global.aria_girl].obey; aria_so.data.had_luma_sex = _global.had_luma_sex; aria_so.data.had_yui_sex = _global.had_yui_sex; aria_so.data.rape_on = _global.rape_on; aria_so.data.arielle_rape = _global.arielle_rape; aria_so.data.phia_rape = _global.phia_rape; aria_so.data.tiffany_rape = _global.tiffany_rape; aria_so.data.bri_rape = _global.bri_rape; aria_so.data.had_sui_may_sex = _global.had_sui_may_sex; aria_so.data.prisoner = _global.prisoner; aria_so.data.being_raided = _global.being_raided; aria_so.data.days_in_same_area = _global.days_in_same_area; aria_so.data.stealth = _global.stealth; aria_so.data.stealthsystem = _global.stealthsystem; aria_so.data.done = 1; _global.encoder_function(); save_state = 'saved slot1 data!'; } } button 5340 { on (release) { _global.done_loading = 0; aria_so = SharedObject.getLocal('aria'); if (aria_so.data.saved_data != undefined) { while (_global.done_loading != 1) { _global.your_mercenary_count = aria_so.data.your_mercenary_count; _global.recources = aria_so.data.recources; _global.current_area = aria_so.data.current_area; _global.had_goo_sex = aria_so.data.had_goo_sex; _global.GatherLv = aria_so.data.GatherLv; _global.AttkShipLv = aria_so.data.AttkShipLv; _global.FoodLv = aria_so.data.FoodLv; _global.RallyLv = aria_so.data.RallyLv; _global.goo_unlocked = aria_so.data.goo_unlocked; _global.remi_unlocked = aria_so.data.remi_unlocked; _global.luma_unlocked = aria_so.data.luma_unlocked; _global.game_hours = aria_so.data.game_hours; _global.game_minutes = aria_so.data.game_minutes; _global.game_seconds = aria_so.data.game_seconds; _global.travel_resource_cost = aria_so.data.travel_resource_cost; _global.days_passed = aria_so.data.days_passed; _global.food_supply = aria_so.data.food_supply; _global.jeo_first_fight = aria_so.data.jeo_first_fight; _global.mercwork = aria_so.data.mercwork; _global.eplosive_ships = aria_so.data.eplosive_ships; _global.psm = aria_so.data.psm; _global.pnm = aria_so.data.pnm; _global.overcharge = aria_so.data.overcharge; _global.bombs = aria_so.data.bombs; _global.RaidTrainning = aria_so.data.RaidTrainning; _global.arielle_injury = aria_so.data.arielle_injury; _global.phia_injury = aria_so.data.phia_injury; _global.tiffany_injury = aria_so.data.tiffany_injury; _global.bri_injury = aria_so.data.bri_injury; _global.assaultship_destroyed = aria_so.data.assaultship_destroyed; _global.cargoship_destroyed = aria_so.data.cargoship_destroyed; _global.assistanceship1_destroyed = aria_so.data.assistanceship1_destroyed; _global.assistanceship2_destroyed = aria_so.data.assistanceship2_destroyed; _global.bossship_destroyed = aria_so.data.bossship_destroyed; _global.aria_girl = 1; _global.aria_girl_array[_global.aria_girl].love = aria_so.data.love1; _global.aria_girl_array[_global.aria_girl].mood = aria_so.data.mood1; _global.aria_girl_array[_global.aria_girl].task = aria_so.data.task1; _global.aria_girl_array[_global.aria_girl].charisma = aria_so.data.charisma1; _global.aria_girl_array[_global.aria_girl].sex = aria_so.data.sex1; _global.aria_girl_array[_global.aria_girl].space = aria_so.data.space1; _global.aria_girl_array[_global.aria_girl].ship = aria_so.data.ship1; _global.aria_girl_array[_global.aria_girl].combat = aria_so.data.combat1; _global.aria_girl_array[_global.aria_girl].efficiency = aria_so.data.efficiency1; _global.aria_girl_array[_global.aria_girl].food = aria_so.data.food1; _global.aria_girl_array[_global.aria_girl].fatigue = aria_so.data.fatigue1; _global.aria_girl_array[_global.aria_girl].obey = aria_so.data.obey1; _global.aria_girl = 2; _global.aria_girl_array[_global.aria_girl].love = aria_so.data.love2; _global.aria_girl_array[_global.aria_girl].mood = aria_so.data.mood2; _global.aria_girl_array[_global.aria_girl].task = aria_so.data.task2; _global.aria_girl_array[_global.aria_girl].charisma = aria_so.data.charisma2; _global.aria_girl_array[_global.aria_girl].sex = aria_so.data.sex2; _global.aria_girl_array[_global.aria_girl].space = aria_so.data.space2; _global.aria_girl_array[_global.aria_girl].ship = aria_so.data.ship2; _global.aria_girl_array[_global.aria_girl].combat = aria_so.data.combat2; _global.aria_girl_array[_global.aria_girl].efficiency = aria_so.data.efficiency2; _global.aria_girl_array[_global.aria_girl].food = aria_so.data.food2; _global.aria_girl_array[_global.aria_girl].fatigue = aria_so.data.fatigue2; _global.aria_girl_array[_global.aria_girl].obey = aria_so.data.obey2; _global.aria_girl = 3; _global.aria_girl_array[_global.aria_girl].love = aria_so.data.love3; _global.aria_girl_array[_global.aria_girl].mood = aria_so.data.mood3; _global.aria_girl_array[_global.aria_girl].task = aria_so.data.task3; _global.aria_girl_array[_global.aria_girl].charisma = aria_so.data.charisma3; _global.aria_girl_array[_global.aria_girl].sex = aria_so.data.sex3; _global.aria_girl_array[_global.aria_girl].space = aria_so.data.space3; _global.aria_girl_array[_global.aria_girl].ship = aria_so.data.ship3; _global.aria_girl_array[_global.aria_girl].combat = aria_so.data.combat3; _global.aria_girl_array[_global.aria_girl].efficiency = aria_so.data.efficiency3; _global.aria_girl_array[_global.aria_girl].food = aria_so.data.food3; _global.aria_girl_array[_global.aria_girl].fatigue = aria_so.data.fatigue3; _global.aria_girl_array[_global.aria_girl].obey = aria_so.data.obey3; _global.aria_girl = 4; _global.aria_girl_array[_global.aria_girl].love = aria_so.data.love4; _global.aria_girl_array[_global.aria_girl].mood = aria_so.data.mood4; _global.aria_girl_array[_global.aria_girl].task = aria_so.data.task4; _global.aria_girl_array[_global.aria_girl].charisma = aria_so.data.charisma4; _global.aria_girl_array[_global.aria_girl].sex = aria_so.data.sex4; _global.aria_girl_array[_global.aria_girl].space = aria_so.data.space4; _global.aria_girl_array[_global.aria_girl].ship = aria_so.data.ship4; _global.aria_girl_array[_global.aria_girl].combat = aria_so.data.combat4; _global.aria_girl_array[_global.aria_girl].efficiency = aria_so.data.efficiency4; _global.aria_girl_array[_global.aria_girl].food = aria_so.data.food4; _global.aria_girl_array[_global.aria_girl].fatigue = aria_so.data.fatigue4; _global.aria_girl_array[_global.aria_girl].obey = aria_so.data.obey4; _global.had_luma_sex = aria_so.data.had_luma_sex; _global.had_yui_sex = aria_so.data.had_yui_sex; _global.rape_on = aria_so.data.rape_on; _global.arielle_rape = aria_so.data.arielle_rape; _global.phia_rape = aria_so.data.phia_rape; _global.tiffany_rape = aria_so.data.tiffany_rape; _global.bri_rape = aria_so.data.bri_rape; _global.had_sui_may_sex = aria_so.data.had_sui_may_sex; _global.prisoner = aria_so.data.prisoner; _global.being_raided = aria_so.data.being_raided; _global.days_in_same_area = aria_so.data.days_in_same_area; _global.stealth = aria_so.data.stealth; _global.stealthsystem = aria_so.data.stealthsystem; _global.done_loading = aria_so.data.done; if (_global.had_goo_sex == 1) { _global.max_value = 2000; } if (_global.goo_unlocked == 1 || _global.remi_unlocked == 1) { _global.recover_chance = 1; } } save_state = 'loaded data!'; } else { save_state = 'no slot1 save data found!'; } _global.done_loading = 0; } } button 5341 { on (release) { aria_so = SharedObject.getLocal('umcc'); aria_so.clear(); save_state = 'data slot1 erased!'; } } button 5342 { on (release) { if (_global.bg_dark == 1) { _global.bg_dark = 2; } else { _global.bg_dark = 1; } } } button 5343 { on (release) { _root.gotoAndStop(52); } } button 5344 { on (release) { _root.gotoAndStop(58); } } button 5345 { on (release) { _global.music = 0; _root.music.gotoAndStop(1); } } button 5346 { on (release) { _global.music = 1; _root.music.gotoAndPlay(_global.bgm_music_begin); } } button 5347 { on (release) { if (_root.input_password_save != '') { _global.decoder_function(); } else { save_state = 'input the save code first!'; } _global.done_loading = 0; } } button 5348 { on (release) { if (_root.custom_text != '') { _global.custom_decoder_function(); } else { save_state = 'input the save code first!'; } _global.done_loading = 0; _root.gotoAndStop(81); } } instance of movieClip 175 { onClipEvent (load) { this.gotoAndStop(2); } } instance of movieClip 175 { onClipEvent (load) { this.gotoAndStop(2); } } button 5384 { on (release) { _root.gotoAndStop(53); } } button 5395 { on (release) { _root.gotoAndStop(54); } } button 5402 { on (release) { _root.gotoAndStop(55); } } instance of movieClip 175 { onClipEvent (load) { this.gotoAndStop(2); } } button 5408 { on (release) { _root.gotoAndStop(56); } } instance of movieClip 175 { onClipEvent (load) { this.gotoAndStop(2); } } button 5427 { on (release) { _root.gotoAndStop(6); } } button 5441 { on (release) { _root.gotoAndStop(59); } } button 5445 { on (release) { _root.gotoAndStop(60); } } button 5452 { on (release) { _root.dossier.gotoAndStop(7); } } movieClip 5453 { frame 1 { stop(); } } instance of movieClip 5453 { onClipEvent (load) { if (_global.current_area > 0) { this.gotoAndStop(2); } } } button 5455 { on (release) { _root.dossier.gotoAndStop(8); } } movieClip 5456 { frame 1 { stop(); } } instance of movieClip 5456 { onClipEvent (load) { if (_global.current_area > 1) { this.gotoAndStop(2); } } } button 5458 { on (release) { _root.dossier.gotoAndStop(9); } } movieClip 5459 { frame 1 { stop(); } } instance of movieClip 5459 { onClipEvent (load) { if (_global.current_area > 2) { this.gotoAndStop(2); } } } button 5461 { on (release) { _root.dossier.gotoAndStop(10); } } movieClip 5462 { frame 1 { stop(); } } instance of movieClip 5462 { onClipEvent (load) { if (_global.current_area > 3) { this.gotoAndStop(2); } } } button 5464 { on (release) { _root.dossier.gotoAndStop(11); } } movieClip 5465 { frame 1 { stop(); } } instance of movieClip 5465 { onClipEvent (load) { if (_global.current_area > 4) { this.gotoAndStop(2); } } } button 5467 { on (release) { _root.dossier.gotoAndStop(12); } } movieClip 5468 { frame 1 { stop(); } } instance of movieClip 5468 { onClipEvent (load) { if (_global.current_area > 5) { this.gotoAndStop(2); } } } button 5469 { on (release) { _root.dossier.gotoAndStop(13); } } movieClip 5470 { frame 1 { stop(); } } instance of movieClip 5470 { onClipEvent (load) { if (_global.current_area > 6) { this.gotoAndStop(2); } } } button 5472 { on (release) { _root.dossier.gotoAndStop(14); } } movieClip 5473 { frame 1 { stop(); } } instance of movieClip 5473 { onClipEvent (load) { if (_global.current_area > 7) { this.gotoAndStop(2); } } } button 5475 { on (release) { _root.dossier.gotoAndStop(15); } } movieClip 5476 { frame 1 { stop(); } } instance of movieClip 5476 { onClipEvent (load) { if (_global.current_area > 8) { this.gotoAndStop(2); } } } button 5477 { on (release) { _root.dossier.gotoAndStop(16); } } movieClip 5478 { frame 1 { stop(); } } instance of movieClip 5478 { onClipEvent (load) { if (_global.current_area > 9) { this.gotoAndStop(2); } } } button 5480 { on (release) { _root.dossier.gotoAndStop(18); } } movieClip 5481 { frame 1 { stop(); } } instance of movieClip 5481 { onClipEvent (load) { if (_global.current_area > 6) { this.gotoAndStop(2); } } } button 5483 { on (release) { _root.dossier.gotoAndStop(19); } } movieClip 5484 { frame 1 { stop(); } } instance of movieClip 5484 { onClipEvent (load) { if (_global.current_area > 6) { this.gotoAndStop(2); } } } button 5486 { on (release) { _root.dossier.gotoAndStop(20); } } movieClip 5487 { frame 1 { stop(); } } instance of movieClip 5487 { onClipEvent (load) { if (_global.goo_unlocked == 1) { this.gotoAndStop(2); } } } movieClip 5491 { frame 1 { stop(); } } movieClip 5497 { frame 1 { stop(); } } movieClip 5504 { frame 1 { stop(); } } movieClip 5508 { frame 1 { stop(); } } movieClip 5511 { frame 1 { stop(); } } movieClip 5540 { frame 1 { stop(); } instance of movieClip 5491 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 5497 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 5504 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 5508 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 5511 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 356 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 361 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 366 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 371 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 376 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 381 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 388 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 393 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 398 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 413 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } instance of movieClip 418 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } } button 5541 { on (release) { _root.dossier.gotoAndStop(6); } } button 5542 { on (release) { _root.dossier.gotoAndStop(2); } } button 5543 { on (release) { _root.dossier.gotoAndStop(3); } } button 5544 { on (release) { _root.dossier.gotoAndStop(4); } } button 5545 { on (release) { _root.dossier.gotoAndStop(5); } } frame 63 { var Arielle_sfx1 = new Sound(); Arielle_sfx1.attachSound('Arielle_sfx1'); var Arielle_sfx2 = new Sound(); Arielle_sfx2.attachSound('Arielle_sfx2'); var Arielle_sfx3 = new Sound(); Arielle_sfx3.attachSound('Arielle_sfx3'); var Arielle_sfx4 = new Sound(); Arielle_sfx4.attachSound('Arielle_sfx4'); var Arielle_sfx5 = new Sound(); Arielle_sfx5.attachSound('Arielle_sfx5'); var Arielle_sfx6 = new Sound(); Arielle_sfx6.attachSound('Arielle_sfx6'); var Arielle_sfx7 = new Sound(); Arielle_sfx7.attachSound('Arielle_sfx7'); var Arielle_sfx8 = new Sound(); Arielle_sfx8.attachSound('Arielle_sfx8'); var Phia_sfx1 = new Sound(); Phia_sfx1.attachSound('Phia_sfx1'); var Phia_sfx2 = new Sound(); Phia_sfx2.attachSound('Phia_sfx2'); var Phia_sfx3 = new Sound(); Phia_sfx3.attachSound('Phia_sfx3'); var Phia_sfx4 = new Sound(); Phia_sfx4.attachSound('Phia_sfx4'); var Phia_sfx5 = new Sound(); Phia_sfx5.attachSound('Phia_sfx5'); var Phia_sfx6 = new Sound(); Phia_sfx6.attachSound('Phia_sfx6'); var Phia_sfx7 = new Sound(); Phia_sfx7.attachSound('Phia_sfx7'); var Phia_sfx8 = new Sound(); Phia_sfx8.attachSound('Phia_sfx8'); var Tiffany_sfx1 = new Sound(); Tiffany_sfx1.attachSound('Tiffany_sfx1'); var Tiffany_sfx2 = new Sound(); Tiffany_sfx2.attachSound('Tiffany_sfx2'); var Tiffany_sfx3 = new Sound(); Tiffany_sfx3.attachSound('Tiffany_sfx3'); var Tiffany_sfx4 = new Sound(); Tiffany_sfx4.attachSound('Tiffany_sfx4'); var Tiffany_sfx5 = new Sound(); Tiffany_sfx5.attachSound('Tiffany_sfx5'); var Tiffany_sfx6 = new Sound(); Tiffany_sfx6.attachSound('Tiffany_sfx6'); var Tiffany_sfx7 = new Sound(); Tiffany_sfx7.attachSound('Tiffany_sfx7'); var Tiffany_sfx8 = new Sound(); Tiffany_sfx8.attachSound('Tiffany_sfx8'); var Bri_sfx1 = new Sound(); Bri_sfx1.attachSound('Bri_sfx1'); var Bri_sfx2 = new Sound(); Bri_sfx2.attachSound('Bri_sfx2'); var Bri_sfx3 = new Sound(); Bri_sfx3.attachSound('Bri_sfx3'); var Bri_sfx4 = new Sound(); Bri_sfx4.attachSound('Bri_sfx4'); var Bri_sfx5 = new Sound(); Bri_sfx5.attachSound('Bri_sfx5'); var Bri_sfx6 = new Sound(); Bri_sfx6.attachSound('Bri_sfx6'); var Bri_sfx7 = new Sound(); Bri_sfx7.attachSound('Bri_sfx7'); var Bri_sfx8 = new Sound(); Bri_sfx8.attachSound('Bri_sfx8'); _root.Arielle_sfx1.start(0, 1); } movieClip 5550 { } movieClip 5551 { } button 5552 { on (release) { _global.on_story_mission = 1; _global.current_area = 1; _global.aria_girl = 1; _global.hardmode = 0; if (_global.partical_total == null || _global.partical_total == undefined || _global.partical_total == NaN) { _global.partical_total = 20; } _root.gotoAndStop(18); } } button 5553 { on (release) { if (_global.v00 == 1) { _root.gotoAndStop(14); } else { _root.pswrd = 'need password!'; } } } button 5554 { on (release) { _global.on_story_mission = 1; _global.current_area = 1; _global.aria_girl = 1; _global.hardmode = 1; if (_global.partical_total == null || _global.partical_total == undefined || _global.partical_total == NaN) { _global.partical_total = 20; } _root.gotoAndStop(6); } } button 5555 { on (release) { if (_root.pswrd == 'Vortex00IsBackAtIt') { _global.v00 = 1; _root.pswrd = 'correct'; _global.aria_girl = 1; _global.recources = 50000; _global.food_supply = 5000; _global.your_mercenary_count = 500; while (_global.aria_girl < 5) { _global.aria_girl_array[_global.aria_girl].love = 500; _global.aria_girl_array[_global.aria_girl].obey = 100; _global.aria_girl_array[_global.aria_girl].food = 100; _global.aria_girl_array[_global.aria_girl].charisma = 500; _global.aria_girl_array[_global.aria_girl].space = 500; _global.aria_girl_array[_global.aria_girl].ship = 500; _global.aria_girl_array[_global.aria_girl].combat = 500; ++_global.aria_girl; } _global.aria_girl = 1; } else { if (_root.pswrd == 'ArielleAssaultArsenal') { _root.pswrd = 'correct'; _global.eplosive_ships = 1; _global.psm = 50; _global.pnm = 50; _global.overcharge = 20; } else { if (_root.pswrd == 'ShowMeNewStuff') { _root.pswrd = 'correct'; _root.capture.gotoAndStop(2); } else { _root.pswrd = 'wrong!'; } } } } } button 5556 { on (release) { _global.view_mode = 1; _root.gotoAndStop(77); } } button 5557 { on (release) { _global.view_mode = 1; _root.gotoAndStop(78); } } button 5558 { on (release) { _global.view_mode = 1; _global.aria_girl = random(4) + 1; _root.gotoAndStop(79); } } movieClip 5562 { frame 1 { stop(); } } movieClip 5567 { } movieClip 5570 { } movieClip 5571 { } frame 64 { function time_to_string(time_to_convert) { elapsed_hours = Math.floor(time_to_convert / 3600000); remaining = time_to_convert - elapsed_hours * 3600000; elapsed_minutes = Math.floor(remaining / 60000); remaining -= elapsed_minutes * 60000; elapsed_seconds = Math.floor(remaining / 1000); remaining -= elapsed_seconds * 1000; elapsed_fs = Math.floor(remaining / 10); if (elapsed_hours < 10) { hours = '0' + elapsed_hours.toString(); } else { hours = elapsed_hours.toString(); } if (elapsed_minutes < 10) { minutes = '0' + elapsed_minutes.toString(); } else { minutes = elapsed_minutes.toString(); } if (elapsed_seconds < 10) { seconds = '0' + elapsed_seconds.toString(); } else { seconds = elapsed_seconds.toString(); } if (elapsed_fs < 10) { hundredths = '0' + elapsed_fs.toString(); return 'Time: ' + minutes + ':' + seconds + ':' + hundredths; } hundredths = elapsed_fs.toString(); return 'Time: ' + minutes + ':' + seconds + ':' + hundredths; } function position_bg(level) { _global.score[level] = int(elapsed_time / 105); wall.gotoAndStop(level); bg.gotoAndStop(level); wall_dark.gotoAndStop(level); bg_dark.gotoAndStop(level); wall._x = start_x[level - 1]; wall._y = start_y[level - 1]; bg._x = start_x[level - 1]; bg._y = start_y[level - 1]; wall_dark._x = start_x[level - 1]; wall_dark._y = start_y[level - 1]; bg_dark._x = start_x[level - 1]; bg_dark._y = start_y[level - 1]; sphere.sky.gotoAndStop(level); } function hax() { ++level; position_bg(level); } ++_global.days_in_same_area; ++_global.days_passed; _global.stealth = 0; _global.gotraided(); _global.explore_mission = 0; _global.delete_me = function (mc) { mc.removeMovieClip(); mc.unloadMovie(); removeMovieClip(mc); false; }; var particleMaxSpeed = 5; var particleFadeSpeed = 2; var particleTotal = _global.partical_total; var particleRange = 100; _root.createExplosion = function (targetX, targetY, pilot) { var v5 = 0; while (v5 < particleTotal) { var v4 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var internal_holder = v4.createEmptyMovieClip('internal_holder', v4.getNextHighestDepth()); internal_holder._x = -3.5; internal_holder._y = -3.5; internal_holder.attachMovie('laser_particle_mc', 'lp_mc', internal_holder.getNextHighestDepth()); v4._x = targetX; v4._y = targetY; v4._rotation = random(360); v4._alpha = 100; v4.boundyLeft = targetX - particleRange; v4.boundyTop = targetY - particleRange; v4.boundyRight = targetX + particleRange; v4.boundyBottom = targetY + particleRange; v4.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedX *= particleMaxSpeed; v4.speedY *= particleMaxSpeed; v4.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; ++numberOfParticles; v4.onEnterFrame = function () { if (this.internal_holder.lp_mc.laser._currentframe == 1) { if (pilot > 0) { this.internal_holder.lp_mc.laser.gotoAndStop(_global.aria_girl + 1); } else { this.internal_holder.lp_mc.laser.gotoAndStop(6); } } this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < this.boundyLeft || this._x > this.boundyRight || this._y < this.boundyTop || this._y > this.boundyBottom) { _global.delete_me(this); --numberOfParticles; } if (_root._currentframe != 3 && _root._currentframe != 64 && _root._currentframe != 67 && _root._currentframe != 68 && _root._currentframe != 69 && _root._currentframe != 70 && _root._currentframe != 71) { _global.delete_me(this); --numberOfParticles; } }; ++v5; } }; start_x = new Array(540, 540, 540, 540, 540, 540, 540); start_y = new Array(-250, -250, -250, -250, -250, -250, -250); level = _global.explore_area; position_bg(level); yspeed = 0; xspeed = 0; wind = 0; power = 0.65; gravity = 0.1; upconstant = 0.75; friction = 0.99; energy = 50; if (_global.aria_girl == 3) { energy = 100; } brakes = 1000; rotationDirection = 0; rotatetoangle = 0; rotatei = 1; var rvalue = 0; _global.recources; aria_girl = _global.aria_girl; _global.current_girl = _global.aria_girl; with (count_down.brake_left) { text = 'Brakes: ' + brakes; textColor = 65280; background = true; border = true; borderColor = 16777215; backgroundColor = 0; _alpha = 80; } with (count_down.energy_left) { text = 'Shield: ' + energy; textColor = 65280; background = true; border = true; borderColor = 16777215; backgroundColor = 0; _alpha = 80; } start_time = getTimer(); countdown = 60000; kira.gotoAndStop(aria_girl); kira.onEnterFrame = function () { _root.count_down.rv = rvalue; rotationDirection = Math.round(180 - Math.atan2(_root._xmouse - this._x, _root._ymouse - this._y) * 180 / Math.PI); filter_mc._rotation = rotationDirection; mask_mc._rotation = rotationDirection; elapsed_time = getTimer() - start_time; _root.playtime = time_to_string(elapsed_time); if (Key.isDown(37) or Key.isDown(65)) { xspeed -= power; rotatetoangle = 270; this.flame_right.gotoAndStop(aria_girl + 1); } else { this.flame_right.gotoAndStop(1); } if (Key.isDown(39) or Key.isDown(68)) { xspeed += power; rotatetoangle = 90; this.flame_left.gotoAndStop(aria_girl + 1); } else { this.flame_left.gotoAndStop(1); } if (Key.isDown(38) or Key.isDown(87)) { yspeed -= power * upconstant; rotatetoangle = 0; this.flame_down.gotoAndStop(aria_girl + 1); } else { this.flame_down.gotoAndStop(1); } if (Key.isDown(40) or Key.isDown(83)) { yspeed += power * upconstant; rotatetoangle = 180; this.flame_up.gotoAndStop(aria_girl + 1); } else { this.flame_up.gotoAndStop(1); } if (Key.isDown(32) and brakes > 0) { yspeed /= 2; xspeed /= 2; --brakes; count_down.brake_left.textColor = 65280; if (brakes < 60) { count_down.brake_left.textColor = 16776960; } if (brakes < 30) { count_down.brake_left.textColor = 16711680; } count_down.brake_left.text = 'Brakes: ' + brakes; } xspeed = (xspeed + wind) * friction; yspeed += gravity; if (xspeed > 0) { this.kira.gotoAndStop(1); } else { this.kira.gotoAndStop(2); } _root.wall._y -= yspeed; _root.wall._x -= xspeed; _root.bg._y -= yspeed; _root.bg._x -= xspeed; _root.wall_dark._y -= yspeed; _root.wall_dark._x -= xspeed; _root.bg_dark._y -= yspeed; _root.bg_dark._x -= xspeed; if (_root.wall.hitTest(this._x, this._y, true)) { if (!_root.wall.end.hitTest(this._x, this._y, true)) { energy -= Math.round(Math.sqrt(xspeed * xspeed + yspeed * yspeed)); createExplosion(this._x, this._y, _global.aria_girl); this.shield.gotoAndStop(2); count_down.energy_left.textColor = 65280; if (energy < 60) { count_down.energy_left.textColor = 16776960; } if (energy < 30) { count_down.energy_left.textColor = 16711680; } count_down.energy_left.text = 'Shield: ' + energy; xspeed = 0; yspeed = 0; if (energy <= 0) { if (_global.aria_girl == 1) { _global.arielle_injury = 1; } if (_global.aria_girl == 2) { _global.phia_injury = 1; } if (_global.aria_girl == 3) { _global.tiffany_injury = 1; } if (_global.aria_girl == 4) { _global.bri_injury = 1; } _root.gotoAndStop(65); } _root.wall._y = old_y; _root.wall._x = old_x; _root.bg._y = old_y; _root.bg._x = old_x; _root.wall_dark._y = old_y; _root.wall_dark._x = old_x; _root.bg_dark._y = old_y; _root.bg_dark._x = old_x; } else { xspeed = 0; yspeed = 0; ++level; energy += 200; brakes += 200; start_time += 60000; count_down.energy_left.textColor = 65280; count_down.brake_left.text = 'Shield: ' + energy; count_down.energy_left.text = 'Shield: ' + energy; count_down.brake_left.text = 'Brakes: ' + brakes; position_bg(level); } } else { this.shield.gotoAndStop(1); old_x = _root.wall._x + 2 * xspeed; old_y = _root.wall._y + 2 * yspeed; } }; if (_global.aria_girl == 1) { if (random(2) == 0) { _root.battle_text = 'Let\'s get this over with.'; } else { _root.battle_text = 'Ari here, starting the mission.'; } } if (_global.aria_girl == 2) { if (random(2) == 0) { _root.battle_text = 'This place is kinda creepy!'; } else { _root.battle_text = 'Uh sweetie are you sure about this place?'; } } if (_global.aria_girl == 3) { if (random(2) == 0) { _root.battle_text = 'This place is fascinating!.'; } else { _root.battle_text = 'Tiffany here, starting the resource recovery.'; } } if (_global.aria_girl == 4) { if (random(2) == 0) { _root.battle_text = 'No one else is here? good. no fighting...'; } else { _root.battle_text = 'I can do this! please watch!'; } } } instance of movieClip 225 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } } movieClip 5586 { } movieClip 5589 { } movieClip 5590 { frame 1 { stop(); } } movieClip 5591 { frame 1 { stop(); } } movieClip 5593 { } instance sky_dark of movieClip 225 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } } movieClip 5595 { frame 2 { if (_global.music == 0) { gotoAndStop(1); } } } instance pilot_pic of movieClip 533 { onClipEvent (load) { this.pilot.gotoAndStop(_global.aria_girl); } } frame 65 { Mouse.show(); _global.endraid = 1; } instance bgx of movieClip 225 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } } instance music of movieClip 604 { onClipEvent (load) { if (_global.music == 1) { this.gotoAndPlay(_global.bgm_music_begin); } } onClipEvent (enterFrame) { if (_global.music == 1) { _global.bgm_music_begin = this._currentframe; } } } movieClip 5599 { } button 5600 { on (release) { if (_global.arielle_injury == 0) { _global.aria_girl = 1; _global.ship_to_raid = 1; _root.gotoAndStop(73); } } } button 5601 { on (release) { if (_global.phia_injury == 0) { _global.aria_girl = 2; _global.ship_to_raid = 1; _root.gotoAndStop(73); } } } movieClip 5606 { frame 1 { stop(); } } button 5607 { on (release) { if (_global.arielle_injury == 0) { _global.aria_girl = 1; _global.ship_to_raid = 2; _root.gotoAndStop(73); } } } button 5608 { on (release) { if (_global.phia_injury == 0) { _global.aria_girl = 2; _global.ship_to_raid = 2; _root.gotoAndStop(73); } } } movieClip 5610 { frame 1 { stop(); } } movieClip 5612 { } button 5614 { on (release) { if (_global.arielle_injury == 0) { _global.aria_girl = 1; _global.ship_to_raid = 5; _root.gotoAndStop(73); } } } button 5615 { on (release) { if (_global.phia_injury == 0) { _global.aria_girl = 2; _global.ship_to_raid = 5; _root.gotoAndStop(73); } } } movieClip 5616 { frame 1 { stop(); } } button 5617 { on (release) { if (_global.arielle_injury == 0) { _global.aria_girl = 1; _global.ship_to_raid = 3; _root.gotoAndStop(73); } } } button 5618 { on (release) { if (_global.phia_injury == 0) { _global.aria_girl = 2; _global.ship_to_raid = 3; _root.gotoAndStop(73); } } } movieClip 5620 { frame 1 { stop(); } } button 5621 { on (release) { if (_global.arielle_injury == 0) { _global.aria_girl = 1; _global.ship_to_raid = 4; _root.gotoAndStop(73); } } } button 5622 { on (release) { if (_global.phia_injury == 0) { _global.aria_girl = 2; _global.ship_to_raid = 4; _root.gotoAndStop(73); } } } movieClip 5624 { frame 1 { stop(); } } movieClip 5627 { } movieClip 5629 { } movieClip 5631 { } movieClip 5633 { } movieClip 5635 { } movieClip 5636 { frame 1 { stop(); } } button 5637 { on (release) { if (_global.overcharge > 0 && _root.gmap.blast.ari.laser._currentframe == 1) { _root.gmap.blast.ari.laser.gotoAndPlay(2); _global.overcharge -= 1; if (_global.overcharge <= 0) { _global.overcharge = 0; } _global.assaultship_destroyed = 1; _global.cargoship_destroyed = 1; _global.assistanceship1_destroyed = 1; _global.assistanceship2_destroyed = 1; _global.bossship_destroyed = 1; _root.gmap.cargo_ship.gotoAndStop(1); _root.gmap.assault_ship.gotoAndStop(1); _root.gmap.assist1.gotoAndStop(1); _root.gmap.assist2.gotoAndStop(1); _root.gmap.boss_ship.gotoAndStop(1); _global.asteroid1 = 0; _global.asteroid2 = 0; _global.asteroid3 = 0; _global.asteroid4 = 0; _root.gmap.ast1.gotoAndStop(1); _root.gmap.ast2.gotoAndStop(1); _root.gmap.ast3.gotoAndStop(1); _root.gmap.ast4.gotoAndStop(1); } } } movieClip 5640 { frame 1 { stop(); } } movieClip 5641 { frame 1 { stop(); } } movieClip 5647 { } button 5648 { on (release) { if (_global.tiffany_injury == 0) { _global.explore_area = 3; _global.aria_girl = 3; if (this == _root.gmap.ast1) { _global.asteroid1 = 0; } if (this == _root.gmap.ast2) { _global.asteroid2 = 0; } if (this == _root.gmap.ast3) { _global.asteroid3 = 0; } if (this == _root.gmap.ast4) { _global.asteroid4 = 0; } _root.gotoAndStop(64); } } } button 5649 { on (release) { if (_global.bri_injury == 0) { _global.explore_area = 3; _global.aria_girl = 4; if (this == _root.gmap.ast1) { _global.asteroid1 = 0; } if (this == _root.gmap.ast2) { _global.asteroid2 = 0; } if (this == _root.gmap.ast3) { _global.asteroid3 = 0; } if (this == _root.gmap.ast4) { _global.asteroid4 = 0; } _root.gotoAndStop(64); } } } movieClip 5653 { frame 1 { stop(); } } movieClip 5656 { } button 5657 { on (release) { if (_global.tiffany_injury == 0) { _global.explore_area = random(2) + 1; _global.aria_girl = 3; _root.gotoAndStop(64); } } } button 5658 { on (release) { if (_global.bri_injury == 0) { _global.explore_area = random(2) + 1; _global.aria_girl = 4; _root.gotoAndStop(64); } } } movieClip 5661 { } movieClip 5662 { frame 1 { stop(); } } movieClip 5663 { frame 1 { stop(); } instance assault_ship of movieClip 5606 { onClipEvent (load) { if (_global.assaultship_destroyed == 0 && _global.hardmode == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance cargo_ship of movieClip 5610 { onClipEvent (load) { if (_global.cargoship_destroyed == 0) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance boss_ship of movieClip 5616 { onClipEvent (load) { if (_global.bossship_destroyed == 0 && _global.hardmode == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance assist1 of movieClip 5620 { onClipEvent (load) { if (_global.assistanceship1_destroyed == 0 && _global.hardmode == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance assist2 of movieClip 5624 { onClipEvent (load) { if (_global.assistanceship2_destroyed == 0 && _global.hardmode == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance enemy_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } onClipEvent (enterFrame) { this.gotoAndStop(_global.current_area); } } instance of movieClip 5636 { onClipEvent (load) { if (_global.arielle_injury == 1) { this.gotoAndStop(5); } else { this.gotoAndStop(1); } } } instance of movieClip 5636 { onClipEvent (load) { if (_global.phia_injury == 1) { this.gotoAndStop(5); } else { this.gotoAndStop(2); } } } instance of movieClip 5636 { onClipEvent (load) { if (_global.tiffany_injury == 1) { this.gotoAndStop(5); } else { this.gotoAndStop(3); } } } instance of movieClip 5636 { onClipEvent (load) { if (_global.bri_injury == 1) { this.gotoAndStop(5); } else { this.gotoAndStop(4); } } } instance blast of movieClip 5641 { onClipEvent (load) { if (_global.overcharge > 0 && _global.arielle_injury == 0) { this.gotoAndStop(2); } } } instance ast1 of movieClip 5653 { onClipEvent (load) { if (_global.asteroid1 == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance ast3 of movieClip 5653 { onClipEvent (load) { if (_global.asteroid3 == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance ast4 of movieClip 5653 { onClipEvent (load) { if (_global.asteroid4 == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance ast2 of movieClip 5653 { onClipEvent (load) { if (_global.asteroid2 == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance assault_ship of movieClip 5606 { onClipEvent (load) { if (_global.assaultship_destroyed == 0) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance cargo_ship of movieClip 5610 { onClipEvent (load) { if (_global.cargoship_destroyed == 0 && _global.hardmode == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance assist1 of movieClip 5620 { onClipEvent (load) { if (_global.assistanceship1_destroyed == 0) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance cargo_ship of movieClip 5610 { onClipEvent (load) { if (_global.cargoship_destroyed == 0) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance boss_ship of movieClip 5616 { onClipEvent (load) { if (_global.bossship_destroyed == 0) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance assist2 of movieClip 5624 { onClipEvent (load) { if (_global.assistanceship2_destroyed == 0) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } instance gmap of movieClip 5663 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } } button 5664 { on (release) { _global.aria_girl = 1; _root.gotoAndStop(6); } } button 5665 { on (release) { _global.aria_girl = 1; _root.gotoAndStop(75); } } frame 66 { stop(); Mouse.show(); _global.endraid = 0; _root.aria_girl = _global.aria_girl; _global.delete_me = function (mc) { mc.removeMovieClip(); mc.unloadMovie(); removeMovieClip(mc); false; }; _root.gotoAndStop(66 + _global.ship_to_raid); } frame 67 { stop(); Mouse.hide(); _root.counter = -1; _root.pistolhold = 10; _root.shotgunhold = 30; _root.uzihold = 3; _root.bc = 1000; _root.bc2 = 2000; _root.bc3 = 3000; _global.bullet_y_offset = 120; _root.enemy_lasers_in_play = 0; _root.enemy_laser_power = 2; _root.weaken = 0; _root.disaster = 0; _root.sentHP = 100; _root.sentHP2 = 100; _root.bomb_amount = _global.bombs; _global.current_girl = _global.aria_girl; _root.alarm.gotoAndStop(1); _root.laser_destroy = 0; _root.aria_girl = _global.aria_girl; _root.char.gotoAndStop(_root.aria_girl); shooting = false; _root.onMouseDown = function () { shooting = true; }; _root.onMouseUp = function () { shooting = false; }; _root.onEnterFrame = function () { if (_root._currentframe > 66 && _root._currentframe < 72) { _root.charunits = _root.char.units; _root.bombamount = _root.bomb_amount; if (_root.char.units <= 0) { if (_global.aria_girl == 1) { _global.arielle_injury = 1; } if (_global.aria_girl == 2) { _global.phia_injury = 1; } if (_global.aria_girl == 3) { _global.tiffany_injury = 1; } if (_global.aria_girl == 4) { _global.bri_injury = 1; } _global.bombs = _root.bomb_amount; _root.gotoAndStop(65); } if (shooting == true) { if (_root.pistolhold >= 20 and !_root.pistolequip.hitTest(_xmouse, _ymouse, true) and !_root.shotgunequip.hitTest(_xmouse, _ymouse, true)) { if (_root.char.gun._currentframe == 1) { _root.pistolhold = 0; ++bc; _root.char.gun.pistol.gotoAndPlay(2); if (bc > 1100) { bc = 1000; } duplicateMovieClip('bullet', 'b' + bc, bc); } } if (_root.char.gun._currentframe == 6 and !_root.shotgunequip.hitTest(_xmouse, _ymouse, true) and !_root.pistolequip.hitTest(_xmouse, _ymouse, true)) { if (_root.bomb_amount > 0) { if (_root.minehold >= 20) { _root.minehold = 0; ++bc; _root.char.gun.rl.gotoAndPlay(2); if (bc > 1100) { bc = 1000; } someSound = new Sound(); someSound.attachSound('rlsound', this); someSound.start(0, 1); duplicateMovieClip('minebullet', 'b' + bc, bc); _root.bomb_amount -= 1; } } } } } }; _global.shootAtPlayer = function () { if (_root.sent.yellowlaser.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } if (_root.sent2.yellowlaser.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } if (_root.yellowlaser.hitTest(_root.char) || _root.yellowlaser2.hitTest(_root.char) || _root.yellowlaser3.hitTest(_root.char) || _root.yellowlaser4.hitTest(_root.char) || _root.yellowlaser5.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } }; _root.createExplosion = function (targetX, targetY, pilot) { var v5 = 0; while (v5 < particleTotal) { var v4 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var internal_holder = v4.createEmptyMovieClip('internal_holder', v4.getNextHighestDepth()); internal_holder._x = -3.5; internal_holder._y = -3.5; internal_holder.attachMovie('laser_particle_mc', 'lp_mc', internal_holder.getNextHighestDepth()); v4._x = targetX; v4._y = targetY; v4._rotation = random(360); v4._alpha = 100; v4.boundyLeft = targetX - particleRange; v4.boundyTop = targetY - particleRange; v4.boundyRight = targetX + particleRange; v4.boundyBottom = targetY + particleRange; v4.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedX *= particleMaxSpeed; v4.speedY *= particleMaxSpeed; v4.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; ++numberOfParticles; v4.onEnterFrame = function () { if (this.internal_holder.lp_mc.laser._currentframe == 1) { if (pilot > 0) { this.internal_holder.lp_mc.laser.gotoAndStop(_global.aria_girl + 1); } else { this.internal_holder.lp_mc.laser.gotoAndStop(6); } } this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < this.boundyLeft || this._x > this.boundyRight || this._y < this.boundyTop || this._y > this.boundyBottom) { _global.delete_me(this); --numberOfParticles; } if (_root._currentframe != 3 && _root._currentframe != 64 && _root._currentframe != 67 && _root._currentframe != 68 && _root._currentframe != 69 && _root._currentframe != 70 && _root._currentframe != 71) { _global.delete_me(this); --numberOfParticles; } }; ++v5; } }; } instance bg of movieClip 225 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } } movieClip 5667 { } instance walls of movieClip 5667 { onClipEvent (enterFrame) { if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } movieClip 5670 { frame 1 { stop(); } } instance yellowlaser of movieClip 5670 { onClipEvent (load) { this.gotoAndStop(2); } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _global.shootAtPlayer(); } if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } instance yellowlaser2 of movieClip 5670 { onClipEvent (load) { this.gotoAndStop(2); } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _global.shootAtPlayer(); } if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } instance yellowlaser3 of movieClip 5670 { onClipEvent (load) { this.gotoAndStop(2); } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _global.shootAtPlayer(); } if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } instance yellowlaser4 of movieClip 5670 { onClipEvent (load) { this.gotoAndStop(2); } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _global.shootAtPlayer(); } if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } movieClip 5673 { } movieClip 5674 { frame 1 { stop(); } frame 60 { stop(); } } movieClip 5678 { frame 1 { stop(); } } movieClip 5681 { } movieClip 5682 { } instance ground of movieClip 5682 { onClipEvent (enterFrame) { if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } movieClip 5684 { } movieClip 5686 { } movieClip 5688 { } movieClip 5691 { } movieClip 5696 { frame 1 { stop(); } } movieClip 5697 { instance boobs of movieClip 5696 { onClipEvent (load) { this.gotoAndStop(_root.aria_girl); } } } movieClip 5699 { } movieClip 5715 { frame 1 { stop(); } } movieClip 5717 { } movieClip 5720 { } movieClip 5722 { frame 1 { stop(); } frame 6 { stop(); } } movieClip 5725 { frame 1 { stop(); } } movieClip 5727 { instance boobs of movieClip 5696 { onClipEvent (load) { this.gotoAndStop(_root.aria_girl); } } } movieClip 5729 { instance boobs of movieClip 5696 { onClipEvent (load) { this.gotoAndStop(_root.aria_girl); } } } movieClip 5731 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 5732 { frame 1 { stop(); } frame 1 { stop(); } instance of movieClip 5699 { onClipEvent (enterFrame) { Xd = _root.char._xmouse - _x; Yd = _root.char._ymouse - _y; radAngle = Math.atan2(Yd, Xd); _rotation = int(radAngle * 360 / 6.283185307179586 + 90); updateAfterEvent(); } } instance of movieClip 5715 { onClipEvent (load) { this.gotoAndStop(_root.aria_girl); } } instance gun of movieClip 5722 { onClipEvent (enterFrame) { Xd = _root.char._xmouse - _x; Yd = _root.char._ymouse - _y; radAngle = Math.atan2(Yd, Xd); _rotation = int(radAngle * 360 / 6.283185307179586 + 90); updateAfterEvent(); } } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } instance of movieClip 133 { onClipEvent (load) { this.gotoAndStop(_root.aria_girl); } } } instance char of movieClip 5732 { onClipEvent (load) { grav = 0; jumpHeight = 17; scale = _xscale; yp = 0; grounded = false; timer = 0; timer2 = 0; shield_amount = 0; units = _global.aria_girl_array[_global.aria_girl].combat * 10; pull = 0; _root.laser_speed = 5; _root.laser_power = _global.aria_girl_array[_global.aria_girl].combat; _root.movespeed = 5; _root.player_facing = 0; if (_root.aria_girl == 1 || _global.aria_girl == 1) { } if (_root.aria_girl == 2 || _global.aria_girl == 2) { _root.laser_speed = 15; _root.movespeed = 15; jumpHeight = 20; } if (_root.aria_girl == 3) { shield_amount = 100; } if (_global.RaidTrainning == 1) { _root.laser_power += 10; units = _global.aria_girl_array[_global.aria_girl].combat * 15; _root.movespeed += 5; if (_root.aria_girl == 3) { shield_amount += 100; } } this.gotoAndStop(_root.aria_girl); } onClipEvent (enterFrame) { pull = 0; _root.sent.sent.lb.gotoAndStop(_root.sentHP); _root.sent2.sent.lb.gotoAndStop(_root.sentHP2); if (_root.laser_destroy >= 4 && _root.alarm._currentframe == 1) { _root.alarm.gotoAndPlay(2); } if (_root._currentframe != 1) { if (_root.cursor._x < this._x) { _root.player_facing = 1; _xscale = -scale; } if (_root.cursor._x > this._x) { _root.player_facing = 0; _xscale = scale; } ++grav; _y = _y + grav; while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; grav = 0; } if (Key.isDown(39) or Key.isDown(68)) { if (_root.ground.hitTest(_x, _y + 3, true)) { if (_root.cursor._x < this._x) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } else { if (_root.ground.hitTest(!this)) { this.gotoAndStop(3); this.flame.gotoAndStop(_root.aria_girl + 1); } } } else { if (Key.isDown(37) or Key.isDown(65)) { if (_root.ground.hitTest(_x, _y + 3, true)) { if (_root.cursor._x > this._x) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } else { if (_root.ground.hitTest(!this)) { this.gotoAndStop(3); this.flame.gotoAndStop(_root.aria_girl + 1); } } } else { if (_root.ground.hitTest(_x, _y + 3, true) && !Key.isDown(38)) { this.gotoAndStop(3); this.flame.gotoAndStop(_root.aria_girl + 1); } } } if (!Key.isDown(38) && !Key.isDown(37) && !Key.isDown(39) && !Key.isDown(40) && !Key.isDown(65) and !Key.isDown(68) and !Key.isDown(87)) { this.gotoAndStop(5); } if (Key.isDown(38) and _root.ground.hitTest(_x, _y + 3, true) or Key.isDown(87) && _root.ground.hitTest(_x, _y + 3, true)) { grav = -jumpHeight; _y = _y - 4; this.gotoAndStop(5); this.flame.gotoAndStop(_root.aria_girl + 1); } if (_root.ground.hitTest(_x + _width / 2, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2, _y - (_height / 6) * 4, true)) { pull = 1; _root.ground._x += _root.movespeed; _root.yellowlaser._x += _root.movespeed; _root.yellowlaser2._x += _root.movespeed; _root.yellowlaser3._x += _root.movespeed; _root.yellowlaser4._x += _root.movespeed; _root.yellowlaser5._x += _root.movespeed; _root.walls._x += _root.movespeed; _root.sent._x += _root.movespeed; _root.sent2._x += _root.movespeed; } if (_root.ground.hitTest(_x - _width / 2, _y - _height / 2, true) || _root.ground.hitTest(_x - _width / 2, _y - (_height / 6) * 4, true)) { pull = -1; _root.ground._x -= _root.movespeed; _root.yellowlaser._x -= _root.movespeed; _root.yellowlaser2._x -= _root.movespeed; _root.yellowlaser3._x -= _root.movespeed; _root.yellowlaser4._x -= _root.movespeed; _root.yellowlaser5._x -= _root.movespeed; _root.walls._x -= _root.movespeed; _root.sent._x -= _root.movespeed; _root.sent2._x -= _root.movespeed; } if (_root.ground.hitTest(_x, _y - _height, true)) { grav = 2; } if (Key.isDown(49)) { _root.char.gun.pistol.gotoAndStop(1); _root.char.gun.gotoAndStop(1); } if (Key.isDown(50)) { _root.char.gun.gotoAndStop(6); } if (Key.isDown(51)) { } if (Key.isDown(52)) { } if (Key.isDown(53)) { } if (Key.isDown(54)) { _root.char.gun.gotoAndStop(6); } this._x = 280; } } } movieClip 5735 { frame 1 { stop(); } } movieClip 5739 { frame 1 { stop(); } frame 100 { stop(); } } movieClip 5740 { } movieClip 5741 { instance sent_vision of movieClip 5735 { onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { this.gotoAndStop(2); _parent.yellowlaser.gotoAndStop(2); _global.shootAtPlayer(); } else { this.gotoAndStop(1); _parent.yellowlaser.gotoAndStop(1); _root.char.sh.gotoAndStop(1); } } } frame 180 { gotoAndPlay(1); } frame 181 { stop(); } } instance sent of movieClip 5741 { onClipEvent (enterFrame) { if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } movieClip 5743 { } instance of movieClip 5743 { onClipEvent (enterFrame) { if (_root.counter >= 3) { _root.counter = 0; } if (_root.pistolhold <= 19) { ++_root.pistolhold; } if (_root.shotgunhold <= 29) { ++_root.shotgunhold; } if (_root.uzihold <= 3) { ++_root.uzihold; } if (_root.m4hold <= 6) { ++_root.m4hold; } if (_root.rlhold <= 40) { ++_root.rlhold; } if (_root.minehold <= 20) { ++_root.minehold; } } } movieClip 5746 { frame 1 { stop(); } frame 2 { stop(); } } instance pistolequip of movieClip 5746 { onClipEvent (enterFrame) { if (_root.char.gun._currentframe == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (press) { _root.char.gun.gotoAndStop(1); } } movieClip 5750 { frame 1 { stop(); } frame 2 { stop(); } } instance shotgunequip of movieClip 5750 { onClipEvent (enterFrame) { if (_root.char.gun._currentframe == 2) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (press) { _root.char.gun.gotoAndStop(2); } } instance cursor of movieClip 96 { onClipEvent (enterFrame) { if (_global.endraid == 1) { _global.delete_me(this); } this._x = _root._xmouse; this._y = _root._ymouse; } } movieClip 5754 { frame 1 { stop(); } frame 2 { stop(); } } instance uziequip of movieClip 5754 { onClipEvent (enterFrame) { if (_root.char.gun._currentframe == 3) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } movieClip 5758 { frame 1 { stop(); } frame 2 { stop(); } } instance m4equip of movieClip 5758 { onClipEvent (enterFrame) { if (_root.char.gun._currentframe == 4) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } movieClip 5762 { frame 1 { stop(); } frame 2 { stop(); } } instance rlequip of movieClip 5762 { onClipEvent (enterFrame) { if (_root.char.gun._currentframe == 5) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } movieClip 5765 { } movieClip 5771 { } movieClip 5772 { frame 6 { stop(); } } movieClip 5774 { frame 1 { stop(); } frame 122 { stop(); } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } instance of movieClip 5771 { onClipEvent (enterFrame) { if (_root.char.hitTest(this)) { _parent.gotoAndStop(123); } } } frame 123 { _root.createExplosion(this._x, this._y, _global.aria_girl); _root.createExplosion(this._x, this._y, _global.aria_girl); _root.createExplosion(this._x, this._y, _global.aria_girl); _root.createExplosion(this._x, this._y, _global.aria_girl); } frame 123 { stop(); } instance of movieClip 5771 { onClipEvent (load) { if (_root.ground.door1.hitTest(this)) { _root.ground.door1.gotoAndPlay(2); } if (_root.ground.door2.hitTest(this)) { _root.ground.door2.gotoAndPlay(2); } if (_root.ground.door3.hitTest(this)) { _root.ground.door3.gotoAndPlay(2); } if (_root.ground.door4.hitTest(this)) { _root.ground.door4.gotoAndPlay(2); } } } } instance minebullet of movieClip 5774 { onClipEvent (load) { once = true; alphatonormal = 0; this._alpha = 1; _x = _root.char._x; _y = _root.char._y - _global.bullet_y_offset; bullet_direction = _root.player_facing; if (bullet_direction == 0) { _rotation = _root.char.gun._rotation; } else { _rotation = -_root.char.gun._rotation; } } onClipEvent (enterFrame) { if (_global.endraid == 1) { _global.delete_me(this); } if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } if (_root.char.pull == 1) { this._x += _root.movespeed; } if (_root.char.pull == -1) { this._x -= _root.movespeed; } ++alphatonormal; if (alphatonormal >= 2) { this._alpha = 100; } if (once == true) { speed = 30; once = false; } else { if (!_root.ground.hitTest(_x, _y + 2, true)) { speed = 20; } } if (_root.ground.hitTest(_x, _y + 2, true)) { if (_currentframe == 1) { this.gotoAndPlay(2); } speed = 0; } if (_name == 'minebullet') { _x = -1000; } else { _y = _y - speed * Math.cos(0.0174532925199433 * _rotation); _x = _x + speed * Math.sin(0.0174532925199433 * _rotation); } } } movieClip 5777 { frame 1 { stop(); } frame 2 { stop(); } } instance mineequip of movieClip 5777 { onClipEvent (enterFrame) { if (_root.char.gun._currentframe == 6) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } movieClip 5778 { } instance bullet of movieClip 103 bullet { onClipEvent (load) { once = true; alphatonormal = 0; this._alpha = 1; _x = _root.char._x; _y = _root.char._y - _global.bullet_y_offset; bullet_direction = _root.player_facing; if (bullet_direction == 0) { _rotation = _root.char.gun._rotation; } else { _rotation = -_root.char.gun._rotation; } this.gotoAndStop(_root.aria_girl); } onClipEvent (enterFrame) { if (_global.endraid == 1) { _global.delete_me(this); } if (_root.char.pull == 1) { this._x += _root.movespeed; } if (_root.char.pull == -1) { this._x -= _root.movespeed; } ++alphatonormal; if (alphatonormal >= 2) { this._alpha = 100; } if (once == true) { speed = 30; once = false; } else { speed = 20; } this.gotoAndStop(_root.aria_girl); if (_root.ground.td1.hitTest(_x, _y + 2, true)) { _root.yellowlaser.gotoAndStop(1); _root.ground.td1.gotoAndStop(2); _root.laser_destroy += 1; removeMovieClip(this); } if (_root.ground.td2.hitTest(_x, _y + 2, true)) { _root.yellowlaser2.gotoAndStop(1); _root.ground.td2.gotoAndStop(2); _root.laser_destroy += 1; removeMovieClip(this); } if (_root.ground.td3.hitTest(_x, _y + 2, true)) { _root.yellowlaser3.gotoAndStop(1); _root.ground.td3.gotoAndStop(2); _root.laser_destroy += 1; removeMovieClip(this); } if (_root.ground.td4.hitTest(_x, _y + 2, true)) { _root.yellowlaser4.gotoAndStop(1); _root.ground.td4.gotoAndStop(2); _root.laser_destroy += 1; removeMovieClip(this); } if (_root.ground.td5.hitTest(_x, _y + 2, true)) { _root.yellowlaser5.gotoAndStop(1); _root.ground.td5.gotoAndStop(2); _root.laser_destroy += 1; removeMovieClip(this); } if (_root.ground.hitTest(_x, _y + 2, true)) { removeMovieClip(this); } if (_root.sent.sent.hitTest(_x, _y + 2, true)) { _root.sentHP -= _root.laser_power; if (_root.sentHP <= 0) { _root.sent.gotoAndStop(181); } removeMovieClip(this); } if (_root.sent2.sent.hitTest(_x, _y + 2, true)) { _root.sentHP2 -= _root.laser_power; if (_root.sentHP2 <= 0) { _root.sent2.gotoAndStop(181); } removeMovieClip(this); } if (_name == 'bullet') { _x = -1000; } else { _y = _y - speed * Math.cos(0.0174532925199433 * _rotation); _x = _x + speed * Math.sin(0.0174532925199433 * _rotation); } } } button 5779 { on (release) { _root.gotoAndStop(65); } } movieClip 5786 { } movieClip 5787 { frame 1 { stop(); } frame 120 { _global.bombs = _root.bomb_amount; } frame 121 { _root.gotoAndStop(72); } } frame 68 { stop(); Mouse.hide(); _root.counter = -1; _root.pistolhold = 10; _root.shotgunhold = 30; _root.uzihold = 3; _root.bc = 1000; _root.bc2 = 2000; _root.bc3 = 3000; _global.bullet_y_offset = 120; _root.enemy_lasers_in_play = 0; _root.enemy_laser_power = 2; _root.weaken = 0; _root.disaster = 0; _root.sentHP = 100; _root.sentHP2 = 100; _root.bomb_amount = _global.bombs; _global.current_girl = _global.aria_girl; _root.alarm.gotoAndStop(1); _root.laser_destroy = 0; _root.aria_girl = _global.aria_girl; _root.char.gotoAndStop(_root.aria_girl); shooting = false; _root.onMouseDown = function () { shooting = true; }; _root.onMouseUp = function () { shooting = false; }; _root.onEnterFrame = function () { if (_root._currentframe > 66 && _root._currentframe < 72) { _root.charunits = _root.char.units; _root.bombamount = _root.bomb_amount; if (_root.char.units <= 0) { if (_global.aria_girl == 1) { _global.arielle_injury = 1; } if (_global.aria_girl == 2) { _global.phia_injury = 1; } if (_global.aria_girl == 3) { _global.tiffany_injury = 1; } if (_global.aria_girl == 4) { _global.bri_injury = 1; } _global.bombs = _root.bomb_amount; _root.gotoAndStop(65); } if (shooting == true) { if (_root.pistolhold >= 20 and !_root.pistolequip.hitTest(_xmouse, _ymouse, true) and !_root.shotgunequip.hitTest(_xmouse, _ymouse, true)) { if (_root.char.gun._currentframe == 1) { _root.pistolhold = 0; ++bc; _root.char.gun.pistol.gotoAndPlay(2); if (bc > 1100) { bc = 1000; } duplicateMovieClip('bullet', 'b' + bc, bc); } } if (_root.char.gun._currentframe == 6 and !_root.shotgunequip.hitTest(_xmouse, _ymouse, true) and !_root.pistolequip.hitTest(_xmouse, _ymouse, true)) { if (_root.bomb_amount > 0) { if (_root.minehold >= 20) { _root.minehold = 0; ++bc; _root.char.gun.rl.gotoAndPlay(2); if (bc > 1100) { bc = 1000; } someSound = new Sound(); someSound.attachSound('rlsound', this); someSound.start(0, 1); duplicateMovieClip('minebullet', 'b' + bc, bc); _root.bomb_amount -= 1; } } } } } }; _global.shootAtPlayer = function () { if (_root.sent.yellowlaser.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } if (_root.sent2.yellowlaser.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } if (_root.yellowlaser.hitTest(_root.char) || _root.yellowlaser2.hitTest(_root.char) || _root.yellowlaser3.hitTest(_root.char) || _root.yellowlaser4.hitTest(_root.char) || _root.yellowlaser5.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } }; _root.createExplosion = function (targetX, targetY, pilot) { var v5 = 0; while (v5 < particleTotal) { var v4 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var internal_holder = v4.createEmptyMovieClip('internal_holder', v4.getNextHighestDepth()); internal_holder._x = -3.5; internal_holder._y = -3.5; internal_holder.attachMovie('laser_particle_mc', 'lp_mc', internal_holder.getNextHighestDepth()); v4._x = targetX; v4._y = targetY; v4._rotation = random(360); v4._alpha = 100; v4.boundyLeft = targetX - particleRange; v4.boundyTop = targetY - particleRange; v4.boundyRight = targetX + particleRange; v4.boundyBottom = targetY + particleRange; v4.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedX *= particleMaxSpeed; v4.speedY *= particleMaxSpeed; v4.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; ++numberOfParticles; v4.onEnterFrame = function () { if (this.internal_holder.lp_mc.laser._currentframe == 1) { if (pilot > 0) { this.internal_holder.lp_mc.laser.gotoAndStop(_global.aria_girl + 1); } else { this.internal_holder.lp_mc.laser.gotoAndStop(6); } } this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < this.boundyLeft || this._x > this.boundyRight || this._y < this.boundyTop || this._y > this.boundyBottom) { _global.delete_me(this); --numberOfParticles; } if (_root._currentframe != 3 && _root._currentframe != 64 && _root._currentframe != 67 && _root._currentframe != 68 && _root._currentframe != 69 && _root._currentframe != 70 && _root._currentframe != 71) { _global.delete_me(this); --numberOfParticles; } }; ++v5; } }; } movieClip 5789 { } instance ground of movieClip 5789 { onClipEvent (enterFrame) { if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } instance sent2 of movieClip 5741 { onClipEvent (enterFrame) { if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } frame 69 { stop(); Mouse.hide(); _root.counter = -1; _root.pistolhold = 10; _root.shotgunhold = 30; _root.uzihold = 3; _root.bc = 1000; _root.bc2 = 2000; _root.bc3 = 3000; _global.bullet_y_offset = 120; _root.enemy_lasers_in_play = 0; _root.enemy_laser_power = 2; _root.weaken = 0; _root.disaster = 0; _root.sentHP = 100; _root.sentHP2 = 100; _root.bomb_amount = _global.bombs; _global.current_girl = _global.aria_girl; _root.alarm.gotoAndStop(1); _root.laser_destroy = 0; _root.aria_girl = _global.aria_girl; _root.char.gotoAndStop(_root.aria_girl); shooting = false; _root.onMouseDown = function () { shooting = true; }; _root.onMouseUp = function () { shooting = false; }; _root.onEnterFrame = function () { if (_root._currentframe > 66 && _root._currentframe < 72) { _root.charunits = _root.char.units; _root.bombamount = _root.bomb_amount; if (_root.char.units <= 0) { if (_global.aria_girl == 1) { _global.arielle_injury = 1; } if (_global.aria_girl == 2) { _global.phia_injury = 1; } if (_global.aria_girl == 3) { _global.tiffany_injury = 1; } if (_global.aria_girl == 4) { _global.bri_injury = 1; } _global.bombs = _root.bomb_amount; _root.gotoAndStop(65); } if (shooting == true) { if (_root.pistolhold >= 20 and !_root.pistolequip.hitTest(_xmouse, _ymouse, true) and !_root.shotgunequip.hitTest(_xmouse, _ymouse, true)) { if (_root.char.gun._currentframe == 1) { _root.pistolhold = 0; ++bc; _root.char.gun.pistol.gotoAndPlay(2); if (bc > 1100) { bc = 1000; } duplicateMovieClip('bullet', 'b' + bc, bc); } } if (_root.char.gun._currentframe == 6 and !_root.shotgunequip.hitTest(_xmouse, _ymouse, true) and !_root.pistolequip.hitTest(_xmouse, _ymouse, true)) { if (_root.bomb_amount > 0) { if (_root.minehold >= 20) { _root.minehold = 0; ++bc; _root.char.gun.rl.gotoAndPlay(2); if (bc > 1100) { bc = 1000; } someSound = new Sound(); someSound.attachSound('rlsound', this); someSound.start(0, 1); duplicateMovieClip('minebullet', 'b' + bc, bc); _root.bomb_amount -= 1; } } } } } }; _global.shootAtPlayer = function () { if (_root.sent.yellowlaser.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } if (_root.sent2.yellowlaser.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } if (_root.yellowlaser.hitTest(_root.char) || _root.yellowlaser2.hitTest(_root.char) || _root.yellowlaser3.hitTest(_root.char) || _root.yellowlaser4.hitTest(_root.char) || _root.yellowlaser5.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } }; _root.createExplosion = function (targetX, targetY, pilot) { var v5 = 0; while (v5 < particleTotal) { var v4 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var internal_holder = v4.createEmptyMovieClip('internal_holder', v4.getNextHighestDepth()); internal_holder._x = -3.5; internal_holder._y = -3.5; internal_holder.attachMovie('laser_particle_mc', 'lp_mc', internal_holder.getNextHighestDepth()); v4._x = targetX; v4._y = targetY; v4._rotation = random(360); v4._alpha = 100; v4.boundyLeft = targetX - particleRange; v4.boundyTop = targetY - particleRange; v4.boundyRight = targetX + particleRange; v4.boundyBottom = targetY + particleRange; v4.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedX *= particleMaxSpeed; v4.speedY *= particleMaxSpeed; v4.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; ++numberOfParticles; v4.onEnterFrame = function () { if (this.internal_holder.lp_mc.laser._currentframe == 1) { if (pilot > 0) { this.internal_holder.lp_mc.laser.gotoAndStop(_global.aria_girl + 1); } else { this.internal_holder.lp_mc.laser.gotoAndStop(6); } } this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < this.boundyLeft || this._x > this.boundyRight || this._y < this.boundyTop || this._y > this.boundyBottom) { _global.delete_me(this); --numberOfParticles; } if (_root._currentframe != 3 && _root._currentframe != 64 && _root._currentframe != 67 && _root._currentframe != 68 && _root._currentframe != 69 && _root._currentframe != 70 && _root._currentframe != 71) { _global.delete_me(this); --numberOfParticles; } }; ++v5; } }; } movieClip 5791 { } instance ground of movieClip 5791 { onClipEvent (enterFrame) { if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } frame 70 { stop(); Mouse.hide(); _root.counter = -1; _root.pistolhold = 10; _root.shotgunhold = 30; _root.uzihold = 3; _root.bc = 1000; _root.bc2 = 2000; _root.bc3 = 3000; _global.bullet_y_offset = 120; _root.enemy_lasers_in_play = 0; _root.enemy_laser_power = 2; _root.weaken = 0; _root.disaster = 0; _root.sentHP = 100; _root.sentHP2 = 100; _root.bomb_amount = _global.bombs; _global.current_girl = _global.aria_girl; _root.alarm.gotoAndStop(1); _root.laser_destroy = 0; _root.aria_girl = _global.aria_girl; _root.char.gotoAndStop(_root.aria_girl); shooting = false; _root.onMouseDown = function () { shooting = true; }; _root.onMouseUp = function () { shooting = false; }; _root.onEnterFrame = function () { if (_root._currentframe > 66 && _root._currentframe < 72) { _root.charunits = _root.char.units; _root.bombamount = _root.bomb_amount; if (_root.char.units <= 0) { if (_global.aria_girl == 1) { _global.arielle_injury = 1; } if (_global.aria_girl == 2) { _global.phia_injury = 1; } if (_global.aria_girl == 3) { _global.tiffany_injury = 1; } if (_global.aria_girl == 4) { _global.bri_injury = 1; } _global.bombs = _root.bomb_amount; _root.gotoAndStop(65); } if (shooting == true) { if (_root.pistolhold >= 20 and !_root.pistolequip.hitTest(_xmouse, _ymouse, true) and !_root.shotgunequip.hitTest(_xmouse, _ymouse, true)) { if (_root.char.gun._currentframe == 1) { _root.pistolhold = 0; ++bc; _root.char.gun.pistol.gotoAndPlay(2); if (bc > 1100) { bc = 1000; } duplicateMovieClip('bullet', 'b' + bc, bc); } } if (_root.char.gun._currentframe == 6 and !_root.shotgunequip.hitTest(_xmouse, _ymouse, true) and !_root.pistolequip.hitTest(_xmouse, _ymouse, true)) { if (_root.bomb_amount > 0) { if (_root.minehold >= 20) { _root.minehold = 0; ++bc; _root.char.gun.rl.gotoAndPlay(2); if (bc > 1100) { bc = 1000; } someSound = new Sound(); someSound.attachSound('rlsound', this); someSound.start(0, 1); duplicateMovieClip('minebullet', 'b' + bc, bc); _root.bomb_amount -= 1; } } } } } }; _global.shootAtPlayer = function () { if (_root.sent.yellowlaser.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } if (_root.sent2.yellowlaser.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } if (_root.yellowlaser.hitTest(_root.char) || _root.yellowlaser2.hitTest(_root.char) || _root.yellowlaser3.hitTest(_root.char) || _root.yellowlaser4.hitTest(_root.char) || _root.yellowlaser5.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } }; _root.createExplosion = function (targetX, targetY, pilot) { var v5 = 0; while (v5 < particleTotal) { var v4 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var internal_holder = v4.createEmptyMovieClip('internal_holder', v4.getNextHighestDepth()); internal_holder._x = -3.5; internal_holder._y = -3.5; internal_holder.attachMovie('laser_particle_mc', 'lp_mc', internal_holder.getNextHighestDepth()); v4._x = targetX; v4._y = targetY; v4._rotation = random(360); v4._alpha = 100; v4.boundyLeft = targetX - particleRange; v4.boundyTop = targetY - particleRange; v4.boundyRight = targetX + particleRange; v4.boundyBottom = targetY + particleRange; v4.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedX *= particleMaxSpeed; v4.speedY *= particleMaxSpeed; v4.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; ++numberOfParticles; v4.onEnterFrame = function () { if (this.internal_holder.lp_mc.laser._currentframe == 1) { if (pilot > 0) { this.internal_holder.lp_mc.laser.gotoAndStop(_global.aria_girl + 1); } else { this.internal_holder.lp_mc.laser.gotoAndStop(6); } } this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < this.boundyLeft || this._x > this.boundyRight || this._y < this.boundyTop || this._y > this.boundyBottom) { _global.delete_me(this); --numberOfParticles; } if (_root._currentframe != 3 && _root._currentframe != 64 && _root._currentframe != 67 && _root._currentframe != 68 && _root._currentframe != 69 && _root._currentframe != 70 && _root._currentframe != 71) { _global.delete_me(this); --numberOfParticles; } }; ++v5; } }; } instance yellowlaser4 of movieClip 5670 { onClipEvent (load) { this.gotoAndStop(2); } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _global.shootAtPlayer(); } if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } movieClip 5793 { } instance ground of movieClip 5793 { onClipEvent (enterFrame) { if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } instance sent2 of movieClip 5741 { onClipEvent (enterFrame) { if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } frame 71 { stop(); Mouse.hide(); _root.counter = -1; _root.pistolhold = 10; _root.shotgunhold = 30; _root.uzihold = 3; _root.bc = 1000; _root.bc2 = 2000; _root.bc3 = 3000; _global.bullet_y_offset = 120; _root.enemy_lasers_in_play = 0; _root.enemy_laser_power = 2; _root.weaken = 0; _root.disaster = 0; _root.sentHP = 100; _root.sentHP2 = 100; _root.bomb_amount = _global.bombs; _global.current_girl = _global.aria_girl; _root.alarm.gotoAndStop(1); _root.laser_destroy = 0; _root.aria_girl = _global.aria_girl; _root.char.gotoAndStop(_root.aria_girl); shooting = false; _root.onMouseDown = function () { shooting = true; }; _root.onMouseUp = function () { shooting = false; }; _root.onEnterFrame = function () { if (_root._currentframe > 66 && _root._currentframe < 72) { _root.charunits = _root.char.units; _root.bombamount = _root.bomb_amount; if (_root.char.units <= 0) { if (_global.aria_girl == 1) { _global.arielle_injury = 1; } if (_global.aria_girl == 2) { _global.phia_injury = 1; } if (_global.aria_girl == 3) { _global.tiffany_injury = 1; } if (_global.aria_girl == 4) { _global.bri_injury = 1; } _global.bombs = _root.bomb_amount; _root.gotoAndStop(65); } if (shooting == true) { if (_root.pistolhold >= 20 and !_root.pistolequip.hitTest(_xmouse, _ymouse, true) and !_root.shotgunequip.hitTest(_xmouse, _ymouse, true)) { if (_root.char.gun._currentframe == 1) { _root.pistolhold = 0; ++bc; _root.char.gun.pistol.gotoAndPlay(2); if (bc > 1100) { bc = 1000; } duplicateMovieClip('bullet', 'b' + bc, bc); } } if (_root.char.gun._currentframe == 6 and !_root.shotgunequip.hitTest(_xmouse, _ymouse, true) and !_root.pistolequip.hitTest(_xmouse, _ymouse, true)) { if (_root.bomb_amount > 0) { if (_root.minehold >= 20) { _root.minehold = 0; ++bc; _root.char.gun.rl.gotoAndPlay(2); if (bc > 1100) { bc = 1000; } someSound = new Sound(); someSound.attachSound('rlsound', this); someSound.start(0, 1); duplicateMovieClip('minebullet', 'b' + bc, bc); _root.bomb_amount -= 1; } } } } } }; _global.shootAtPlayer = function () { if (_root.sent.yellowlaser.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } if (_root.sent2.yellowlaser.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } if (_root.yellowlaser.hitTest(_root.char) || _root.yellowlaser2.hitTest(_root.char) || _root.yellowlaser3.hitTest(_root.char) || _root.yellowlaser4.hitTest(_root.char) || _root.yellowlaser5.hitTest(_root.char)) { if (_root.char.shield_amount > 0) { _root.char.shield_amount -= enemy_laser_power; _root.char.sh.gotoAndStop(2); } else { _root.char.units -= _root.enemy_laser_power; } } }; _root.createExplosion = function (targetX, targetY, pilot) { var v5 = 0; while (v5 < particleTotal) { var v4 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var internal_holder = v4.createEmptyMovieClip('internal_holder', v4.getNextHighestDepth()); internal_holder._x = -3.5; internal_holder._y = -3.5; internal_holder.attachMovie('laser_particle_mc', 'lp_mc', internal_holder.getNextHighestDepth()); v4._x = targetX; v4._y = targetY; v4._rotation = random(360); v4._alpha = 100; v4.boundyLeft = targetX - particleRange; v4.boundyTop = targetY - particleRange; v4.boundyRight = targetX + particleRange; v4.boundyBottom = targetY + particleRange; v4.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedX *= particleMaxSpeed; v4.speedY *= particleMaxSpeed; v4.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; ++numberOfParticles; v4.onEnterFrame = function () { if (this.internal_holder.lp_mc.laser._currentframe == 1) { if (pilot > 0) { this.internal_holder.lp_mc.laser.gotoAndStop(_global.aria_girl + 1); } else { this.internal_holder.lp_mc.laser.gotoAndStop(6); } } this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < this.boundyLeft || this._x > this.boundyRight || this._y < this.boundyTop || this._y > this.boundyBottom) { _global.delete_me(this); --numberOfParticles; } if (_root._currentframe != 3 && _root._currentframe != 64 && _root._currentframe != 67 && _root._currentframe != 68 && _root._currentframe != 69 && _root._currentframe != 70 && _root._currentframe != 71) { _global.delete_me(this); --numberOfParticles; } }; ++v5; } }; } instance yellowlaser3 of movieClip 5670 { onClipEvent (load) { this.gotoAndStop(2); } onClipEvent (enterFrame) { if (this.hitTest(_root.char)) { _global.shootAtPlayer(); } if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } movieClip 5795 { } instance ground of movieClip 5795 { onClipEvent (enterFrame) { if (Key.isDown(37) or Key.isDown(65)) { this._x += _root.movespeed; } if (Key.isDown(39) or Key.isDown(68)) { this._x -= _root.movespeed; } } } frame 72 { _global.current_girl = _global.aria_girl; Mouse.show(); } movieClip 5796 { frame 1 { stop(); } } movieClip 5797 { frame 1 { stop(); } } movieClip 5798 { instance girl of movieClip 5796 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } instance of movieClip 5797 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } instance enemy_ship of movieClip 290 { onClipEvent (load) { if (_global.ship_to_raid == 1) { this.gotoAndStop(6); } if (_global.ship_to_raid == 2) { this.gotoAndStop(8); } if (_global.ship_to_raid == 3) { this.gotoAndStop(11); } if (_global.ship_to_raid == 4) { this.gotoAndStop(12); } if (_global.ship_to_raid == 5) { this.gotoAndStop(10); } } onClipEvent (enterFrame) { if (_global.ship_to_raid == 1) { this.gotoAndStop(6); } if (_global.ship_to_raid == 2) { this.gotoAndStop(8); } if (_global.ship_to_raid == 3) { this.gotoAndStop(11); } if (_global.ship_to_raid == 4) { this.gotoAndStop(12); } if (_global.ship_to_raid == 5) { this.gotoAndStop(10); } } } frame 10 { if (_global.music == 0) { gotoAndPlay(12); } } frame 60 { if (_global.ship_to_raid == 1) { _global.assaultship_destroyed = 1; } if (_global.ship_to_raid == 2) { _global.cargoship_destroyed = 1; } if (_global.ship_to_raid == 3) { _global.assistanceship1_destroyed = 1; } if (_global.ship_to_raid == 4) { _global.assistanceship2_destroyed = 1; } if (_global.ship_to_raid == 5) { _global.bossship_destroyed = 1; } _global.aria_girl_array[_global.aria_girl].combat += 5; _root.gotoAndStop(74); } } frame 73 { _global.current_girl = _global.aria_girl; _global.endraid = 0; Mouse.show(); } movieClip 5799 { instance of movieClip 5797 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } instance enemy_ship of movieClip 290 { onClipEvent (load) { if (_global.ship_to_raid == 1) { this.gotoAndStop(6); } if (_global.ship_to_raid == 2) { this.gotoAndStop(8); } if (_global.ship_to_raid == 3) { this.gotoAndStop(11); } if (_global.ship_to_raid == 4) { this.gotoAndStop(12); } if (_global.ship_to_raid == 5) { this.gotoAndStop(10); } } onClipEvent (enterFrame) { if (_global.ship_to_raid == 1) { this.gotoAndStop(6); } if (_global.ship_to_raid == 2) { this.gotoAndStop(8); } if (_global.ship_to_raid == 3) { this.gotoAndStop(11); } if (_global.ship_to_raid == 4) { this.gotoAndStop(12); } if (_global.ship_to_raid == 5) { this.gotoAndStop(10); } } } frame 10 { if (_global.music == 0) { gotoAndPlay(12); } } instance girl of movieClip 5796 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } frame 60 { if (_global.suimay_quest == 1) { _root.gotoAndStop(89); } else { _root.gotoAndStop(66); } } } instance bg of movieClip 225 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } } movieClip 5808 { frame 1 { stop(); } } movieClip 5811 { frame 1 { stop(); } } button 5812 { on (release) { _root.gotoAndStop(6); } } movieClip 5821 { frame 1 { stop(); } frame 1 { stext.story_text = 'Arielle: Some friends of mine back home say we make a good couple… Jeo? Are you listening?'; } instance of movieClip 5808 { onClipEvent (load) { this.gotoAndStop(2); } } frame 2 { stext.story_text = 'Arielle: Jeo, next time you see Phia tell her to stop taking stuff. I can’t even find my comb!'; } frame 3 { stext.story_text = 'Arielle: So what was it like being a normal student? I wouldn’t know being in an academy.'; } frame 4 { stext.story_text = 'Arielle: Sometimes I wonder if you’re actually capable of seeing people as people… not pawns in your game.'; } frame 5 { stext.story_text = 'Arielle: Being a student really was just a casual fling to you… fuck em and forget em huh?'; } frame 6 { stext.story_text = 'Arielle: Maybe I need to reevaluate my taste in men… I could be like Phia and no… not gonna happen.'; } frame 7 { stext.story_text = 'Arielle: I need to tell Phia to respect my space… but she always shows up when I need some relief.'; } frame 8 { stext.story_text = 'Arielle: Bri is about as old as you and me… She looks much younger but at times she can sound much older. '; } frame 9 { stext.story_text = 'Arielle: Tiffany advises I need to get my emotions in check. Whats that suppose to mean, just flip off how I feel?'; } frame 10 { stext.story_text = 'Arielle: If I can just calibrate the main cannon a little more.'; } frame 11 { stext.story_text = 'Arielle: …You release Her from a capsule… and your first instinct is to have sex with her for pragmatic reasons. I’d be surprised but that sounds just like you.'; if (_global.had_goo_sex == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 12 { stext.story_text = 'Arielle: I can stand Phia and her unprovoked sex attacks… but could you please tell Remi to stop eyeing me.'; if (_global.remi_unlocked == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 13 { stext.story_text = 'Arielle: In what records Tiffany could find, Amp is one of three sisters who were all branded and rebel operatives. Both are listed as MIA at the moment… I hope… I hope she finds them.'; if (_global.current_area <= 5) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 14 { stext.story_text = 'Arielle: I wonder why Luma is so territorial? This isn’t a school where being queen bee means anything… This is a combat operation!'; if (_global.luma_unlocked == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 15 { stext.story_text = 'Arielle: Luma will sometimes call me Maiko or something if I startle her… Whats so funny?'; if (_global.luma_unlocked == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 16 { stext.story_text = 'Arielle: I think Riley understands me the best… trying to have something resembling standards while surrounded by Nymphomaniacs!'; if (_global.luma_unlocked == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 17 { stext.story_text = 'Arielle: So… You and Lynn seem to be close… you’d have to be you being you and for her to stick up for you.'; if (_global.luma_unlocked == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 18 { stext.story_text = 'Arielle: I just caught Lyn and Phia having some fun with about 7 mercs in the hold… I guess the ‘princess’ isn’t as wholesome as I thought she’d be.'; if (_global.luma_unlocked == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 19 { stext.story_text = 'Arielle: Admit it Jeo, you\'d fall apart without me wouldn\'t you.'; } frame 20 { stext.story_text = 'Arielle: Mmm it\'s finally time for a hot shower!'; } frame 21 { stext.story_text = 'Phia: The most sex partners at once? 5… one in the mouth, two in the back and two in front. Think I’ll shoot for 7 next time!'; } instance of movieClip 5808 { onClipEvent (load) { this.gotoAndStop(3); } } frame 22 { stext.story_text = 'Phia: How are you compared to others? Sweetie I don’t judge… okay maybe alittle.'; } frame 23 { stext.story_text = 'Phia: You’re a solid 8… You got the stamina I need. What makes an 9 or and 10? Cheating.'; } frame 24 { stext.story_text = 'Phia: I tried joining a First Contact mission once…I always wanted to be the first in something.'; } frame 25 { stext.story_text = 'Phia: The funny thing about Khalei users trying to sense your sniping position. They only feel and see what you send out. Thinking about sex 24/7 has its advantages. You up for a go Sweetie?'; } frame 26 { stext.story_text = 'Phia: Concentration is the key to being a good shot, pilot and lover. To me they are one in the same.'; } frame 27 { stext.story_text = 'Phia: Ari needs to loosen up and stop being such a prude and so tense… guess thats why you two fell apart eh sweetie?'; } frame 28 { stext.story_text = 'Phia: You know… I sometimes feel bad that I’m corrupting little Bri… sometimes.. only for a minute maybe… Then I make her cum again. You wanna watch?'; } frame 29 { stext.story_text = 'Phia: I swear one day TT is gonna strap me to a table and see just how far I can go… I wish she’d do it already… The anticipation is killing me.'; } frame 30 { stext.story_text = 'Phia: Hey I know were busy and all but could you do me a favor and not send me and Bri out for a while… got to discuss strategies and stuff, y’know?'; } frame 31 { stext.story_text = 'Phia: Y’know we dont NEED to talk, there’s a bed right there… No? Well alright have it your way….'; } frame 32 { stext.story_text = 'Phia: Haha! I just *inhale* I just… walked past TT’s room and she’s *Haha* watching the stupidest cartoon shit. *Haha* Hang on… let me catch my breath!'; } frame 33 { stext.story_text = 'Phia: Y’know I got this job by sneaking into a C.O.’s quarters to suck him off. Apparently I was the first to ever get past their security without any equipment, also I suck like… well me, so yeah I got in pretty easy.'; } frame 34 { stext.story_text = 'Phia: Jeo! Jeo! Come on you, me and Remi, six pm in the storage room, If you don’t show he’s gonna get me all to herself!'; if (_global.remi_unlocked == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 35 { stext.story_text = 'Phia: So does that goo thingy fuck? I mean it looks alright but I thought I’d check first. I mean it DOES have nice looking tits.'; if (_global.goo_unlocked == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 36 { stext.story_text = 'Phia: Roy? Incest is relative… and NO one loves you like your big brother I should have asked him to stay…'; if (_global.current_area <= 3) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 37 { stext.story_text = 'Phia: I always wondered why Amp got chosen for cloning? I mean They have me… I could literally fuck myself!'; if (_global.current_area <= 5) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 38 { stext.story_text = 'Phia: Luma’s a girl whose use to being on top of the world. She dislikes Ari cause she’s a better operative and she dislikes me cause I can outsex her in any event.'; if (_global.luma_unlocked == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 39 { stext.story_text = 'Phia: Riley is even more uptight then Ari! I have to find a way to lossen her up. Shall we double team her sweetie?'; if (_global.luma_unlocked == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 40 { stext.story_text = 'Phia: So are you the Princess’ charming knight… on does she keep you around for that ‘Lance’ of yours?'; if (_global.luma_unlocked == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 41 { stext.story_text = 'Tiffany: My nickname? I got that back in college, stands for Triple Tyrannosaurus. See back then I was really into robotics so I tried making three robot T-rexes. They worked pretty well, until they destroyed half the campus… I’m kidding Jeo it stands for Tiffany Taylor .'; } instance of movieClip 5808 { onClipEvent (load) { this.gotoAndStop(4); } } frame 42 { stext.story_text = 'Tiffany: Perhaps if I… wait that’s perfect!- no wait… that violates interplanetary law… *sigh* Oh hey Jeo… hows it going?'; } frame 43 { stext.story_text = 'Tiffany: No time to start slacking Jeo. By they way you haven’t seen any smut novels laying around have you? They are not mines of course but I was looking for them for.. uh.. Phia!'; } frame 44 { stext.story_text = 'Tiffany: Hey Jeo were you informed of the joke about the contripulator plugging into the mosulatiotrometer? It was hilarious!'; } frame 45 { stext.story_text = 'Tiffany: I was listening to Phia babbling a while ago about sex and she gave me an idea… If we can harness libido and transform it into Khalei energy, our ships could be made unstopable! Well at least Phia’s would be and… maybe you.'; } frame 46 { stext.story_text = 'Tiffany: Talk? Are you sure? You look pretty weak… listen you can always come to me if Phia isn’t able to help you. Nobody wants you dying on us…'; if (_global.had_goo_sex == 1) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 47 { stext.story_text = 'Tiffany: Jeo, just who I wanted to see! I think I have a solution to your condition! See if we just hook your manhood to the ship’s sub battery and run a… hmm, bad idea?'; if (_global.had_goo_sex == 1) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 48 { stext.story_text = 'Tiffany: Greetings Jeo, I was just about to reverse the polarity of the Neutron flow'; } frame 49 { stext.story_text = 'Tiffany: So I asked “what do you mean by Bad?” and she said “Try to imagine all life as you know it stopping instantaneously and every molecule in your body exploding at the speed of light.” That would be total protonic reversal or in laymans terms… Bad.'; } frame 50 { stext.story_text = 'Tiffany: You do have impressive combat capabilities Jeo, I suppose that makes up for your other faults.'; } frame 51 { stext.story_text = 'Tiffany: I doubt Gemco sees you as much of a threat. If they wanted you dead. They’d have sent a veteran agent who outclasses your combat capabilities.. Not an admiral’s daughter with her newly formed team. Hmmm so it seems your ego is your weakness.'; } frame 52 { stext.story_text = 'Tiffany: Ari has great potential, she might even make Elite… but her emotional state hinders her. a few years of combat duty will hammer that out.'; } frame 53 { stext.story_text = 'Tiffany: Bri actually spikes in the ranges some of the Elites… but she lacks the killing intent and experience to utilize that power.'; } frame 54 { stext.story_text = 'Tiffany: If we were to encounter an Elite… My first suggestion is to sacrifice all non essential fleet personal and vessels in a staling action as we retreat. Failing that are only hope is Phia is capable of seducing the enemy to our side.'; } frame 55 { stext.story_text = 'Tiffany: I once used Phia to test out a set of new combat droids… I had modeled them on the Greek Minotaur… even giving them a penis for interrogation purposes. Generally just the threat of Sexual violence is enough to get people to talk. Unfortunately Phia broke the set of them in under an hour.'; } frame 56 { stext.story_text = 'Tiffany: If your wondering about the cyborg ‘Horse’ bottom over there… I’m testing a new punishment device. In the event we start taking prisoners that need to talk… Or I and Phia need something with a little more thickness.'; } frame 57 { stext.story_text = 'Tiffany: You were in Nanako? Is Alma still there? … You mean she never had relations with you? Strange Alma use to be like Phia when she was younger. Perhaps I should go see her.'; } frame 58 { stext.story_text = 'Tiffany: Bri’s underdevelopment is due to her growing process. Bri was put together in a tube cell by cell. I believe she’s modeled on The head scientist Cousin’s Daughter. She’s the only one that survived to the infant stage sadly.'; } frame 59 { stext.story_text = 'Tiffany: Phia hides her intelligence under her sexual appetite… she’s quite similar to you in that respect.'; } frame 60 { stext.story_text = 'Tiffany: Are you sure… I detect residual Khalei influences on your brainwaves. are you sure there was no one outside of the people you listed who could have a Khalei signature strong enough to influence your mind?'; } frame 61 { stext.story_text = 'Bri: Phia! I told you already! – Oh it’s you Jeo… No, I don’t feel like having sex right now…'; } instance of movieClip 5808 { onClipEvent (load) { this.gotoAndStop(5); } } frame 62 { stext.story_text = 'Bri: May I have a drink Jeo?… hey don’t look at me like that… I’m not a child you know…'; } frame 63 { stext.story_text = 'Bri: Um… so you’ve been cured for a while so… why do you keep having sex with us… actually never mind, that was a pretty stupid question…'; if (_global.had_goo_sex == 0) { _root.chat.gotoAndStop(random(_global.chat_text_amount) + 1); } } frame 64 { stext.story_text = 'Bri: I didn’t get to see what life was like outside the lab till a few years ago.'; } frame 65 { stext.story_text = 'Bri: Sometimes, I’ll see shadows staring at me.'; } frame 66 { stext.story_text = 'Bri: My Dad and Moms tell me I’m unique.'; } frame 67 { stext.story_text = 'When I sleep… I sometimes hear names being whispered. Does the name Gheist mean anything to you?'; } frame 68 { stext.story_text = 'Bri: I had a nightmare once… about a pink haired girl being murdered.'; } frame 69 { stext.story_text = 'Bri: Ari… is like a big sister… She’s always angry at Phia when she teaches me about being a woman.'; } frame 70 { stext.story_text = 'Bri: She doesn’t say it… but Ari’s heart hurts alot when She looks at you. Yet your heart doesn’t do anything when you look at her. Is that the difference between a man and woman?'; } frame 71 { stext.story_text = 'Bri: I want to believe there is more to you then darkness… You must care about someone atleast?'; } frame 72 { stext.story_text = 'Bri: I just wish you didn’t need to have sex with us to fight properly… It just feels empty with you.'; } frame 73 { stext.story_text = 'Bri: Phia is alot of fun… when she isn’t playing with my naughty spot.'; } frame 74 { stext.story_text = 'Bri: TT knows so much about pretty much anything… She can talk for hours if you let her.'; } frame 75 { stext.story_text = 'Bri: I only met a Gemco Elite once… Her power was almost like I couldn’t breath.'; } frame 76 { stext.story_text = 'Bri: Do you think If Cia comes to me I’ll fill out like Phia and Ari?'; } frame 77 { stext.story_text = 'Bri: En Taro Adun… I don’t know what it means.'; } frame 78 { stext.story_text = 'Bri: Jeo can you occupy Phia for a while? I need a break.'; } frame 79 { stext.story_text = 'Bri: I know you have your condition but… could you keep it down when your with the others? It makes it really hard for me to meditate…'; } frame 80 { stext.story_text = 'Bri: Did you have to cum so much into me last time? It kept dripping out for the rest of the day…'; } } instance chat of movieClip 5821 { onClipEvent (load) { this.gotoAndStop(random(_global.chat_text_amount) + 1); } } instance enemy_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } onClipEvent (enterFrame) { this.gotoAndStop(_global.current_area); } } instance enemy_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(6); } onClipEvent (enterFrame) { this.gotoAndStop(6); } } instance enemy_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(8); } onClipEvent (enterFrame) { this.gotoAndStop(8); } } instance enemy_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(11); } onClipEvent (enterFrame) { this.gotoAndStop(11); } } instance enemy_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(12); } onClipEvent (enterFrame) { this.gotoAndStop(12); } } instance enemy_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(10); } onClipEvent (enterFrame) { this.gotoAndStop(10); } } instance girl of movieClip 454 { onClipEvent (load) { if (_global.v00 == 0) { this.gotoAndStop(1); } else { this.gotoAndStop(8); } } } button 5839 { on (release) { _root.gotoAndStop(12); } } button 5840 { on (release) { _global.had_luma_sex = 1; _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; gotoAndStop(9); } } movieClip 5899 { } button 5900 { on (release) { gotoAndStop(13); } } movieClip 5947 { frame 103 { stop(); } } button 5948 { on (release) { gotoAndStop(15); } } movieClip 5949 { frame 1 { stop(); } frame 1 { if (_global.had_luma_sex == 1) { gotoAndStop(7); } else { stext.stext.story_text = 'Luma: Like, I\'ve been hearing you have sex with your crew all day!'; } } instance of movieClip 388 { onClipEvent (load) { if (_global.v00 == 1) { this.gotoAndStop(2); } } } frame 2 { stext.stext.story_text = 'Jeo: So? They are mine to do with as I please.'; } frame 3 { stext.stext.story_text = 'Luma: So why the hell aren\'t you fucking me too you asshole!?'; } frame 4 { stext.stext.story_text = 'Jeo: Oh? You want some too?'; } frame 5 { stext.stext.story_text = 'Luma: Obviously there ain\'t shit else to do.'; } frame 6 { stext.stext.story_text = 'Luma: And I\'m tired of talking to Riley and Lynn.'; } frame 7 { stext.stext.story_text = 'Luma: So are we fucking or what?'; } frame 9 { stext.stext.story_text = 'Luma: You have a pretty hard ass dick. I needed this.'; } frame 10 { stext.stext.story_text = 'Luma: You like watching my big tits flop around don\'t you?'; } frame 11 { stext.stext.story_text = 'Luma: Go ahead and get that cock nice and hard for me.'; } frame 13 { stext.stext.story_text = 'Luma: Oh, ready to cum now? Go ahead.'; } frame 15 { stext.stext.story_text = 'Luma: Come back for seconds baby. Fucking me is obviously the best thing you can do.'; _global.aria_girl_array[_global.jeo].charisma += 1000; _global.aria_girl_array[_global.jeo].space += 1000; _global.aria_girl_array[_global.jeo].ship += 1000; _global.aria_girl_array[_global.jeo].combat += 1000; } frame 16 { if (_global.view_mode == 1) { _global.view_mode = 0; _root.gotoAndStop(63); } else { _root.gotoAndStop(12); } } } button 5950 { on (release) { gotoAndStop(9); } } movieClip 6044 { } button 6045 { on (release) { gotoAndStop(20); } } movieClip 6109 { frame 98 { stop(); } } button 6110 { on (release) { gotoAndStop(22); } } movieClip 6111 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Jeo: Your fleet is in shambles. you have no chance. And you are not going to delay me further.'; } frame 2 { stext.stext.story_text = 'Yui: so you aren\'t going to let me go?'; } frame 3 { stext.stext.story_text = 'Jeo: No.'; } frame 4 { stext.stext.story_text = 'Yui: What are you going to do with me?'; } frame 5 { stext.stext.story_text = 'Jeo: For starters, you are going to ride my dick for wasting so much of my time.'; } frame 6 { stext.stext.story_text = 'Yui: Oh?...See something you like? You do realize I\'m old enough to be your mother right?'; } frame 7 { stext.stext.story_text = 'Yui: Wait.. Great idea Jeo! Let\'s get started right away.'; } frame 9 { stext.stext.story_text = 'Yui: I\'ve finally got you Jeo. I\'ve finally got you pinned down!'; } frame 10 { stext.stext.story_text = 'Jeo: Ha. Go ahead and pretend like you are in control.'; } frame 11 { stext.stext.story_text = 'Yui: No I\'ll keep fucking until someone comes to arrest you! I\'ve already reported it in.'; } frame 12 { stext.stext.story_text = 'Jeo: you can\'t last that long.'; } frame 13 { stext.stext.story_text = 'Yui: I can!'; } frame 14 { stext.stext.story_text = 'Yui: And I will!'; } frame 15 { stext.stext.story_text = 'Yui: You dirty man whore! I hope you like the view. Because this is your last time having sex.'; } frame 16 { stext.stext.story_text = 'Jeo: Go ahead and try. You don\'t get the satisfaction you need from Cain.'; } frame 17 { stext.stext.story_text = 'Jeo: He is always too busy guarding Lynn.'; } frame 18 { stext.stext.story_text = 'Yui: Shut up! What do you know?'; } frame 20 { stext.stext.story_text = 'Jeo: Your getting weak.'; } frame 22 { stext.stext.story_text = 'Yui: Damnit!'; } frame 23 { stext.stext.story_text = 'Jeo: You lose. Nice try. I know you are just doing your job. So leave.'; } frame 24 { stext.stext.story_text = 'Jeo: I have more important matters to attend to.'; } frame 25 { stext.stext.story_text = 'Yui: I\'ll get you next time...'; } frame 26 { if (_global.view_mode == 1) { _global.view_mode = 0; _root.gotoAndStop(63); } else { _root.gotoAndStop(6); } } } instance gallery of movieClip 770 { onClipEvent (load) { this.stop(); } } frame 80 { stop(); _global.custom_complete = 0; _root.onEnterFrame = function () { _root.auto_rally_x(); _root.depth_and_laser_adjsut(); updateStars(); if (Key.isDown(32) == true) { _root.main_sphere.sphere_selection.gotoAndStop(2); _root.previous_selection = _root.current_selection; _root.current_selection = _root.main_sphere; if (_root.current_selection != null && _root.previous_selection != null && _root.previous_selection.units > 1 && _root.previous_selection != _root.current_selection && _root.spheres_under_your_control[_root.previous_selection.fleet_number] == 1) { _root.create_laser(_root.current_selection, _root.previous_selection); _root.create_your_attack_squad(_root.current_selection, _root.previous_selection, Math.floor(_root.previous_selection.units / 2)); } } if (Key.isDown(49) == true) { if (_root.space_battle_options_menu.option_1._currentframe >= 100) { if (_global.aria_girl == 1) { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } _root.space_battle_options_menu.option_1.gotoAndPlay(1); if (_global.RallyLv == 1) { if (Math.floor(_global.your_mercenary_count / 2) > _global.aria_girl_array[_global.aria_girl].charisma) { _root.main_sphere.units += Math.floor(_global.your_mercenary_count / 2); } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } } else { if (Key.isDown(50) == true) { if (_root.space_battle_options_menu.option_2._currentframe >= 300) { if (_global.aria_girl == 1) { if (_root.spheres_under_your_control[_root.current_selection.fleet_number] == 0) { _root.space_battle_options_menu.option_2.gotoAndPlay(1); _root.current_selection.units = 0; _root.current_selection.shield_amount = 0; _root.current_selection.shield.gotoAndStop(1); } } else { if (_global.aria_girl == 2 || _global.aria_girl == 6) { if (_root.spheres_under_your_control[_root.current_selection.fleet_number] == 0) { _root.current_selection.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.current_selection.fleet_number] = 1; _root.current_selection.shield_amount = 0; _root.current_selection.shield.gotoAndStop(1); _root.create_your_auto_attack_squad(_root.main_sphere, _root.current_selection, Math.floor(_root.current_selection.units / 2)); _root.space_battle_options_menu.option_2.gotoAndPlay(1); _root.current_selection.heart.gotoAndPlay(2); } } else { if (_global.aria_girl == 3) { _root.space_battle_options_menu.option_2.gotoAndPlay(1); _root.main_sphere.units += 50 + _global.aria_girl_array[_global.aria_girl].charisma; x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root['sphere_' + x].units += 50 + _global.aria_girl_array[_global.aria_girl].charisma; } ++x; } } else { if (_global.aria_girl == 7) { _root.space_battle_options_menu.option_2.gotoAndPlay(1); _root.your_shotgun_laser = 1; } else { if (_global.aria_girl == 4) { _root.space_battle_options_menu.option_2.gotoAndPlay(1); _root.disaster = 1; _root.main_ship.target_ret.gotoAndStop(1); x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { _root['sphere_' + x].units -= _global.aria_girl_array[_global.aria_girl].ship * 2; if (_root['sphere_' + x].units < 0) { _root['sphere_' + x].units = 0; _root['sphere_' + x].shield_amount = 0; _root['sphere_' + x].shield.gotoAndStop(1); } } ++x; } } } } } } } } else { if (Key.isDown(51) == true) { if (_root.space_battle_options_menu.option_3._currentframe >= 300) { if (_global.aria_girl == 1) { if (_root.space_battle_options_menu.option_3._currentframe >= 300) { _root.space_battle_options_menu.option_3.gotoAndPlay(1); _root.assult += _global.aria_girl_array[_global.aria_girl].ship; _root.main_ship.laser.gotoAndPlay(2); } } else { if (_global.aria_girl == 2 || _global.aria_girl == 6) { if (_root.space_battle_options_menu.option_3._currentframe >= 300) { _root.space_battle_options_menu.option_3.gotoAndPlay(1); x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0 && _root['sphere_' + x].units <= _global.aria_girl_array[_global.aria_girl].charisma) { _root['sphere_' + x].sphere_control.gotoAndStop(2); _root['sphere_' + x].shield_amount = 0; _root['sphere_' + x].shield.gotoAndStop(1); _root.spheres_under_your_control[x] = 1; _root.create_your_auto_attack_squad(_root.main_sphere, _root['sphere_' + x], Math.floor(_root['sphere_' + x].units / 2)); _root['sphere_' + x].heart.gotoAndPlay(2); } ++x; } } } else { if (_global.aria_girl == 3 || _global.aria_girl == 7) { if (_root.space_battle_options_menu.option_3._currentframe >= 300) { _root.space_battle_options_menu.option_3.gotoAndPlay(1); _root.main_sphere.shield.gotoAndStop(2); _root.main_sphere.shield_amount += 20 + _global.aria_girl_array[_global.aria_girl].ship * 2; _root.main_ship.shield.gotoAndStop(2); x = 0; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root['sphere_' + x].shield_amount += _global.aria_girl_array[_global.aria_girl].ship; _root['sphere_' + x].shield.gotoAndStop(2); } ++x; } } } else { if (_global.aria_girl == 4) { if (_root.space_battle_options_menu.option_3._currentframe >= 300) { _root.space_battle_options_menu.option_3.gotoAndPlay(1); _root.weaken += _global.aria_girl_array[_global.aria_girl].ship; } } } } } } } else { if (Key.isDown(52) == true) { } else { if (Key.isDown(100) == true) { } else { if (Key.isDown(101) == true) { } else { if (Key.isDown(102) == true) { } } } } } } } }; } frame 80 { function createField(_type) { if (_type == 1) { var v7 = 20; var v5 = 'star1.jpg'; var v6 = 1; } else { if (_type == 2) { var v7 = 50; var v5 = 'star2.jpg'; var v6 = 0.66; } else { if (_type == 3) { var v7 = 100; var v5 = 'star3.jpg'; var v6 = 0.33; } } } var v4 = scope.attachMovie('starbox', 'starbox_mc', scope.getNextHighestDepth()); v4._width = starboxW; v4._height = starboxH; v4._x = starboxX; v4._y = starboxY; var v2 = 0; while (v2 < v7) { var v3 = flash.display.BitmapData.loadBitmap(v5); var v1 = v4.createEmptyMovieClip(v5, v4.getNextHighestDepth()); v1.attachBitmap(v3, v1.getNextHighestDepth(), 'always', false); v1._x = random(starboxW - v1._width); v1._y = random(starboxH - v1._height); v1.speedModifier = v6; starsArray.push(v1); ++v2; } } function updateStars() { var v2 = 0; while (v2 < starsArray.length) { var v1 = starsArray[v2]; v1._x += speedX * v1.speedModifier; v1._y += speedY * v1.speedModifier; if (v1._x >= starboxW - v1._width) { v1._x = v1._width; v1._y = random(starboxH - v1._height); } else { if (v1._x <= 0) { v1._x = starboxW - v1._width; v1._y = random(starboxH - v1._height); } } if (v1._y >= starboxH - v1._height) { v1._x = random(starboxW - v1._width); v1._y = v1._height; } else { if (v1._y <= 0) { v1._x = random(starboxW - v1._width); v1._y = starboxH - v1._height; } } ++v2; } } _root.enemy_target_blast_base_amount = int(_global.custom_load_parsed[0]); _root.enemy_target_blast_random = int(_global.custom_load_parsed[1]); _root.enemy_next_action_random = int(_global.custom_load_parsed[2]); _root.enemy_base_action_time = int(_global.custom_load_parsed[3]); _root.enemy_squad_move_speed = int(_global.custom_load_parsed[4]); _root.enemy_fleet_size = int(_global.custom_load_parsed[5]); _root.enemy_mercenary_count = int(_global.custom_load_parsed[6]); _root.enemy_laser_power = int(_global.custom_load_parsed[7]); _root.enemy_ship_level = int(_global.custom_load_parsed[8]); _root.enemy_shield_freq = int(_global.custom_load_parsed[9]); _root.enemy_target_freq = int(_global.custom_load_parsed[10]); _root.enemy_number = int(_global.custom_load_parsed[11]); _root.enemy_ship.gotoAndStop(_root.enemy_number); _root.player_char = int(_global.custom_load_parsed[12]); if (int(_global.custom_load_parsed[12]) < 8) { _global.aria_girl = _root.player_char; } else { if (int(_global.custom_load_parsed[12]) == 12 || int(_global.custom_load_parsed[12]) == 13) { _global.aria_girl = 7; } else { _global.aria_girl = 5; } } _root.main_ship.gotoAndStop(_global.aria_girl); _root.enemy_cargo_ship_amount = int(_global.custom_load_parsed[13]); _root.support_char = int(_global.custom_load_parsed[14]); _global.support_char = int(_global.custom_load_parsed[14]); if (_root.support_char > 0 && _root.support_char != _root.player_char && _root.support_char != 11 && _root.support_char != 15) { if (int(_global.custom_load_parsed[14]) < 8) { _root.support_ship.gotoAndStop(_root.support_char); } else { if (int(_global.custom_load_parsed[14]) == 12 || int(_global.custom_load_parsed[14]) == 13) { _root.support_ship.gotoAndStop(7); } else { _root.support_ship.gotoAndStop(5); } } } else { _global.custom_load_parsed[14] = 0; _root.support_char = 0; _global.support_char = 0; _root.support_ship._visible = false; } _root.support_laser_damage = int(_global.custom_load_parsed[15]); _root.support_ability_random = int(_global.custom_load_parsed[16]); _root.space_bg = int(_global.custom_load_parsed[17]); _root.sship_random = 10; _root.clicked = false; _root.dragging = false; _root.your_mercenary_count = _global.your_mercenary_count; if (_global.aria_girl == 1) { _root.your_mercenary_count += _global.aria_girl_array[_global.aria_girl].charisma; } _root.attack_squads_in_play = 0; _root.your_lasers_in_play = 0; _root.your_small_lasers_in_play = 0; _root.enemy_lasers_in_play = 0; _root.enemy_shotgun_laser = 0; _root.enemy_support_shotgun_laser = 0; _root.your_shotgun_laser = 0; _root.your_shotgun_rounds = 10; _root.disaster = 0; _root.battle_text = ''; _global.battle_text_timer = 0; _global.battle_talk = 0; _global.boss_spawned = 0; _global.current_attk_ships = 0; _global.max_attk_ships = 0; if (_global.aria_girl == 1) { _global.max_attk_ships = 3; } else { if (_global.aria_girl == 2) { _global.max_attk_ships = 6; } else { if (_global.aria_girl == 3) { _global.max_attk_ships = 4; } else { if (_global.aria_girl == 4) { _global.max_attk_ships = 4; } else { if (_global.aria_girl == 5) { _global.max_attk_ships = 10; } else { if (_global.aria_girl == 6) { _global.max_attk_ships = 10; } else { if (_global.aria_girl == 7) { _global.max_attk_ships = 10; } } } } } } } _root.laser_speed = 10; _root.your_squad_move_speed = 5; if (_global.aria_girl == 2 || _global.aria_girl == 7) { _root.your_squad_move_speed = 10; } _root.weaken = 0; _root.assult = 0; _root.number_of_bases_you_control = 0; _global.enemy_target_blast_amount = random(_root.enemy_target_blast_random) + _root.enemy_target_blast_base_amount; _root.enemy_next_action_time = random(_root.enemy_next_action_random) + _root.enemy_base_action_time; _root.enemy_next_action_timer = _root.enemy_next_action_time; _root.enemy_squads_in_play = 0; if (_global.aria_girl == 4) { _root.enemy_squad_move_speed = 1; } _root.enemy_ai = 1; _root.temp_variable = 0; _root.reset_clicked = 0; if (_global.hardmode == 1) { _root.enemy_mercenary_count += random(500 * _global.current_area) + 5000 * _global.current_area; } if (_global.assistanceship1_destroyed == 0 && _global.current_area > 1) { _root.enemy_laser_power += random(50) + 1 + _global.current_area; } if (_global.hardmode == 1) { _root.enemy_laser_power += random(5) + 1 + _global.current_area; } if (_global.assistanceship1_destroyed == 0 && _global.current_area > 1 || _global.hardmode == 1) { _root.enemy_ship_level = 4 + _global.current_area; } _root.enemy_laser_depth = 0; _root.enemy_attack_ship_depth = 0; _root.player_laser_depth = 0; _root.player_attack_ship_depth = 0; _root.enemy_units_array = new Array(); _root.enemy_unit_sphere_amount_array = new Array(); _root.spheres_under_your_control = new Array(); _root.current_selection = null; _root.previous_selection = null; _global.current_enemy_support = 6; if ((_global.current_area > 1 || _global.hardmode == 1) && _global.assaultship_destroyed == 0) { _root.support_flyin.gotoAndPlay(2); } _root.spheres_under_your_control[0] = 1; x = 1; while (x <= _root.enemy_fleet_size) { _root.spheres_under_your_control[x] = 0; _root.can_place = false; while (!_root.can_place) { _root.can_place = true; px = Math.floor(Math.random() * 500) + 250; py = Math.floor(Math.random() * 500) + 50; w = 40; y = x - 1; while (y >= 1) { dist_x = px - _root['sphere_' + y]._x; dist_y = py - _root['sphere_' + y]._y; distance = Math.ceil(Math.sqrt(dist_x * dist_x + dist_y * dist_y)); min_distance = (w + _root['sphere_' + y]._width) / 2 + 20; if (distance < min_distance) { _root.can_place = false; } --y; } } nano = _root.attachMovie('sphere', 'sphere_' + x, x, {'_x': px, '_y': py, '_width': w, '_height': w}); nano.fleet_number = x; nano.shield_amount = 0; nano.shake = 0; nano.originalx = px; nano.originaly = py; nano.onEnterFrame = function () { if (this.shake > 0) { _root.shake(this); --this.shake; } if (this.shake == 1) { this._x = this.originalx; this._y = this.originaly; --this.shake; } if (_root.disaster == 1) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } if (this.units == 0) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } if (_global.pnm_active == 1 && this.sphere_control._currentframe == 1 && this.units >= 500) { this.units = 500; } if (_root.dragging) { if (this._x > Math.min(click_x, posx) and this._x < Math.max(click_x, posx) and this._y > Math.min(click_y, posy) and this._y < Math.max(click_y, posy)) { this.sphere_selection.gotoAndStop(2); } else { this.sphere_selection.gotoAndStop(1); } } }; nano.gotoAndStop(1); ++x; } _root.createEmptyMovieClip('selmovie', _root.getNextHighestDepth()); _root.onMouseDown = function () { click_x = _root._xmouse; click_y = _root._ymouse; _root.clicked = true; }; _root.onMouseUp = function () { _root.reset_clicked = 0; selmovie.clear(); xmouse = _root._xmouse; ymouse = _root._ymouse; if (!_root.dragging) { x = 1; while (x <= _root.enemy_fleet_size) { dist_x = _root['sphere_' + x]._x - xmouse; dist_y = _root['sphere_' + x]._y - ymouse; distance = Math.floor(Math.sqrt(dist_x * dist_x + dist_y * dist_y)); if (distance < _root['sphere_' + x]._width / 2) { } else { _root['sphere_' + x].sphere_selection.gotoAndStop(1); } ++x; } } _root.clicked = false; _root.dragging = false; if (_root.main_sphere.sphere_selection._currentframe == 2) { _root.main_sphere.sphere_selection.gotoAndStop(1); } removeMovieClip(_root.ray); }; var test_total = 0; _root.main_sphere.units = _root.your_mercenary_count; z = 0; while (z < _root.enemy_fleet_size - 1) { _root.enemy_units_array[z] = random(_root.enemy_mercenary_count) + 1; ++z; } _root.enemy_units_array.sortOn('sorted', Array.NUMERIC); z = 0; while (z < _root.enemy_fleet_size - 1) { ++z; } z = 0; while (z < _root.enemy_fleet_size - 1) { if (z == 0) { _root.enemy_unit_sphere_amount_array[z] = _root.enemy_units_array[z]; } else { if (z < _root.enemy_fleet_size - 1) { _root.enemy_unit_sphere_amount_array[z] = _root.enemy_units_array[z] - _root.enemy_units_array[z - 1]; } else { if (z == _root.enemy_fleet_size - 1) { _root.enemy_unit_sphere_amount_array[z] = _root.enemy_mercenary_count - _root.enemy_units_array[z]; } } } ++z; } _root.enemy_unit_sphere_amount_array[_root.enemy_fleet_size] = _root.enemy_mercenary_count - _root.enemy_units_array[_root.enemy_fleet_size - 2]; z = 0; while (z <= _root.enemy_fleet_size) { _root.temp_variable = z + 1; _root['sphere_' + _root.temp_variable].units = _root.enemy_unit_sphere_amount_array[z]; ++z; } _root['sphere_' + _root.enemy_fleet_size].units = _root.enemy_unit_sphere_amount_array[_root.enemy_fleet_size]; if (_global.aria_girl_array[_global.aria_girl].love >= 300) { _root.sphere_1.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_1.fleet_number] = 1; _root.sphere_2.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_2.fleet_number] = 1; _root.sphere_3.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_3.fleet_number] = 1; } else { if (_global.aria_girl_array[_global.aria_girl].love >= 200) { _root.sphere_1.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_1.fleet_number] = 1; _root.sphere_2.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_2.fleet_number] = 1; } else { if (_global.aria_girl_array[_global.aria_girl].love >= 100) { _root.sphere_1.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[_root.sphere_1.fleet_number] = 1; } } } _root.create_laser = function (current_selection, previous_selection) { removeMovieClip(_root.ray); _root.createEmptyMovieClip('ray', _root.getNextHighestDepth()); ray.lineStyle(1, 10066329); ray.moveTo(previous_selection._x, previous_selection._y); ray.lineTo(current_selection._x, current_selection._y); }; _root.depth_minus = 0; _root.depth_multi = 1000000; _root.depth_and_laser_adjsut = function () { if (_root.getNextHighestDepth() - _root.depth_multi * _root.depth_minus > 1000000) { ++_root.depth_multi; } }; _root.delete_mc = function (mc) { mc.removeMovieClip(); }; _root.create_your_attack_squad = function (current_selection, previous_selection, squad_units) { ++_root.attack_squads_in_play; _root.attachMovie('your_attack_squad', 'your_attack_squad_' + _root.attack_squads_in_play, _root.getNextHighestDepth()); _root['your_attack_squad_' + _root.attack_squads_in_play]._x = previous_selection._x; _root['your_attack_squad_' + _root.attack_squads_in_play]._y = previous_selection._y; _root['your_attack_squad_' + _root.attack_squads_in_play].units = squad_units + _global.aria_girl_array[_global.aria_girl].charisma; previous_selection.units -= Math.floor(previous_selection.units / 2); var v5 = current_selection._x - previous_selection._x; var v6 = current_selection._y - previous_selection._y; var v8 = Math.sqrt(v5 * v5 + v6 * v6); s; var v7 = v8 / _root.your_squad_move_speed; _root['your_attack_squad_' + _root.attack_squads_in_play].xSpeed = v5 / v7; _root['your_attack_squad_' + _root.attack_squads_in_play].ySpeed = v6 / v7; _root['your_attack_squad_' + _root.attack_squads_in_play].squad_units = squad_units; _root['your_attack_squad_' + _root.attack_squads_in_play].previous_selection = previous_selection; _root['your_attack_squad_' + _root.attack_squads_in_play].current_selection = current_selection; radAngle = Math.atan2(v6, v5); _root['your_attack_squad_' + _root.attack_squads_in_play].squad._rotation = int(radAngle * 360 / 6.283185307179586 + 90); _root['your_attack_squad_' + _root.attack_squads_in_play].onEnterFrame = function () { if (_root.number_of_bases_you_control == _root.enemy_fleet_size + 1 && this.current_selection.sphere_control._currentframe > 1) { _root.delete_mc(this); removeMovieClip(_root.ray); } _root.pilot_pic.pilot.pilot.gotoAndStop(1); if (_global.aria_girl == 1 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Move out! Now!'; } else { _root.battle_text = 'Go now! I\'ll cover you!'; } } else { if (_global.aria_girl == 2 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Go get \'em boys!'; } else { _root.battle_text = 'There!!! Go Go! Quickly!!'; } } else { if (_global.aria_girl == 3 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'You have your coordinates men! Get going!'; } else { _root.battle_text = 'No time to waste!'; } } else { if (_global.aria_girl == 4 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Please go capture that point!'; } else { _root.battle_text = 'Okay now! Good luck guys!'; } } } } } this._x += this.xSpeed; this._y += this.ySpeed; if (!(Math.abs(this.xSpeed) > 0 && Math.abs(this.ySpeed) > 0)) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 1) { this.current_selection.units -= this.squad_units; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[this.current_selection.fleet_number] = 1; this.current_selection.units *= -1; } } else { if (current_selection.sphere_control._currentframe == 2) { this.current_selection.units += this.squad_units; } } if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 3 && _global.eplosive_ships == 1) { this.current_selection.shield.gotoAndStop(1); this.current_selection.shield_amount = 0; } --_global.current_attk_ships; if (_global.current_attk_ships <= 0) { _global.current_attk_ships = 0; } _root.delete_mc(this); removeMovieClip(_root.ray); } }; current_selection.sphere_selection.gotoAndStop(1); previous_selection.sphere_selection.gotoAndStop(1); _root.current_selection = null; _root.previous_selection = null; }; _root.create_your_auto_attack_squad = function (current_selection, previous_selection, squad_units) { ++_root.attack_squads_in_play; _root.attachMovie('your_attack_squad', 'your_attack_squad_' + _root.attack_squads_in_play, _root.getNextHighestDepth()); _root['your_attack_squad_' + _root.attack_squads_in_play]._x = previous_selection._x; _root['your_attack_squad_' + _root.attack_squads_in_play]._y = previous_selection._y; _root['your_attack_squad_' + _root.attack_squads_in_play].units = squad_units; var v5 = current_selection._x - previous_selection._x; var v6 = current_selection._y - previous_selection._y; var v8 = Math.sqrt(v5 * v5 + v6 * v6); s; var v7 = v8 / _root.your_squad_move_speed; _root['your_attack_squad_' + _root.attack_squads_in_play].xSpeed = v5 / v7; _root['your_attack_squad_' + _root.attack_squads_in_play].ySpeed = v6 / v7; _root['your_attack_squad_' + _root.attack_squads_in_play].squad_units = squad_units; _root['your_attack_squad_' + _root.attack_squads_in_play].previous_selection = previous_selection; _root['your_attack_squad_' + _root.attack_squads_in_play].current_selection = current_selection; radAngle = Math.atan2(v6, v5); _root['your_attack_squad_' + _root.attack_squads_in_play].squad._rotation = int(radAngle * 360 / 6.283185307179586 + 90); _root['your_attack_squad_' + _root.attack_squads_in_play].onEnterFrame = function () { if (_root.number_of_bases_you_control == _root.enemy_fleet_size + 1 && this.current_selection.sphere_control._currentframe > 1) { _root.delete_mc(this); removeMovieClip(_root.ray); } _root.pilot_pic.pilot.pilot.gotoAndStop(1); if (_global.aria_girl == 1 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Move out! Now!'; } else { _root.battle_text = 'Go now! I\'ll cover you!'; } } else { if (_global.aria_girl == 2 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Go get \'em boys!'; } else { _root.battle_text = 'There!!! Go Go! Quickly!!'; } } else { if (_global.aria_girl == 3 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'You have your coordinates men! Get going!'; } else { _root.battle_text = 'No time to waste!'; } } else { if (_global.aria_girl == 4 && random(_global.battle_text_random) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Please go capture that point!'; } else { _root.battle_text = 'Okay now! Good luck guys!'; } } } } } this._x += this.xSpeed; this._y += this.ySpeed; if (!(Math.abs(this.xSpeed) > 0 && Math.abs(this.ySpeed) > 0)) { _root.delete_mc(this); } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 1) { this.current_selection.units -= this.squad_units; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(2); _root.spheres_under_your_control[this.current_selection.fleet_number] = 1; this.current_selection.units *= -1; } } else { if (current_selection.sphere_control._currentframe == 2) { this.current_selection.units += this.squad_units; } } if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 3 && _global.eplosive_ships == 1) { this.current_selection.shield.gotoAndStop(1); this.current_selection.shield_amount = 0; } --_global.current_attk_ships; if (_global.current_attk_ships <= 0) { _global.current_attk_ships = 0; } _root.delete_mc(this); removeMovieClip(_root.ray); } }; current_selection.sphere_selection.gotoAndStop(1); previous_selection.sphere_selection.gotoAndStop(1); }; _root.create_enemy_cargo_squad = function (ai) { ++_root.enemy_squads_in_play; _root.attachMovie('enemy_attack_squad', 'enemy_attack_squad_' + _root.enemy_squads_in_play, _root.getNextHighestDepth()); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = _root.enemy_cargo_ship; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = null; if (ai == 1) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection.units > _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } } else { if (ai == 2) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection.units > _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } } } _root['enemy_attack_squad_' + _root.enemy_squads_in_play]._x = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._x; _root['enemy_attack_squad_' + _root.enemy_squads_in_play]._y = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._y; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].units = 20 * _global.current_area; var v4 = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection._x - _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._x; var v5 = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection._y - _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); var v6 = v7 / _root.enemy_squad_move_speed; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].xSpeed = v4 / v6; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].ySpeed = v5 / v6; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].squad_units = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].units; radAngle = Math.atan2(v5, v4); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].squad._rotation = int(radAngle * 360 / 6.283185307179586 + 90); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].onEnterFrame = function () { if (this.hitTest(_root.main_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (this.hitTest(_root.support_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (_root.disaster == 1) { _root.createExplosion(this._x, this._y, 4); _root.delete_mc(this); } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); } this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0 || this._x == _root.enemy_cargo_ship._x && this._y == _root.enemy_cargo_ship._y) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 2) { if (this.current_selection.shield._currentframe == 1) { this.current_selection.units -= this.squad_units; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(1); _root.spheres_under_your_control[this.current_selection.fleet_number] = 0; this.current_selection.units *= -1; this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } } } else { if (this.current_selection.sphere_control._currentframe == 1) { this.current_selection.units += this.squad_units; } } _root.delete_mc(this); } }; }; _root.create_enemy_attack_squad = function (ai) { ++_root.enemy_squads_in_play; _root.attachMovie('enemy_attack_squad', 'enemy_attack_squad_' + _root.enemy_squads_in_play, _root.getNextHighestDepth()); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = null; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = null; if (ai == 1) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection.units > _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } } } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection.units < _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = _root['sphere_' + x]; } } } ++x; } } else { if (ai == 2) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection.units > _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection = _root['sphere_' + x]; } } if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection == null) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = _root['sphere_' + x]; } else { if (_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection.units < _root['sphere_' + x].units) { _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection = _root['sphere_' + x]; } } } ++x; } } } _root['enemy_attack_squad_' + _root.enemy_squads_in_play]._x = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._x; _root['enemy_attack_squad_' + _root.enemy_squads_in_play]._y = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._y; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].units = Math.floor(_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection.units / 2); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection.units = Math.floor(_root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection.units / 2); var v3 = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection._x - _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._x; var v4 = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].current_selection._y - _root['enemy_attack_squad_' + _root.enemy_squads_in_play].previous_selection._y; var v6 = Math.sqrt(v3 * v3 + v4 * v4); var v5 = v6 / _root.enemy_squad_move_speed; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].xSpeed = v3 / v5; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].ySpeed = v4 / v5; _root['enemy_attack_squad_' + _root.enemy_squads_in_play].squad_units = _root['enemy_attack_squad_' + _root.enemy_squads_in_play].units; radAngle = Math.atan2(v4, v3); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].squad._rotation = int(radAngle * 360 / 6.283185307179586 + 90); _root['enemy_attack_squad_' + _root.enemy_squads_in_play].onEnterFrame = function () { if (this.hitTest(_root.main_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (this.hitTest(_root.support_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (_root.disaster == 1) { _root.createExplosion(this._x, this._y, 4); _root.delete_mc(this); } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); } this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0 || this._x == _root.enemy_cargo_ship._x && this._y == _root.enemy_cargo_ship._y) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 2) { if (this.current_selection.shield._currentframe == 1) { this.current_selection.units -= this.squad_units; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(1); _root.spheres_under_your_control[this.current_selection.fleet_number] = 0; this.current_selection.units *= -1; this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } } } else { if (this.current_selection.sphere_control._currentframe == 1) { this.current_selection.units += this.squad_units; } } _root.delete_mc(this); } }; }; _root.shoot_your_laser = function () { if (_root.your_shotgun_laser == 0) { ++_root.your_lasers_in_play; _root.attachMovie('aria_laser', 'aria_laser_' + _root.your_lasers_in_play, _root.getNextHighestDepth()); _root['aria_laser_' + _root.your_lasers_in_play].previous_selection = _root.main_ship; _root['aria_laser_' + _root.your_lasers_in_play].current_selection = null; x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection == null) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection.units < _root['sphere_' + x].units) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } if (_root.boss_sphere._visible == true && _root['aria_laser_' + _root.your_lasers_in_play].current_selection.units < _root.boss_sphere.units && _root.boss_sphere.sphere_control._currentframe == 1) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root.boss_sphere; } if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection == null) { _root.delete_mc(_root['aria_laser_' + _root.your_lasers_in_play]); } if (_global.aria_girl == 1 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Keep up the attack!'; } else { _root.battle_text = 'I won\'t let you win!'; } } else { if (_global.aria_girl == 2 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Damn!! Die already you asshole!'; } else { _root.battle_text = 'Shit. This is taking fucking forever!!'; } } else { if (_global.aria_girl == 3 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Don\'t lose focus. We can win.'; } else { _root.battle_text = 'We are too tough to be defeated man!'; } } else { if (_global.aria_girl == 4 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'We will win! just don\'t die!'; } else { _root.battle_text = 'Everyone! Lets do our best!'; } } else { if (_global.aria_girl == 5 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'These fools just don\'t know when to quit.'; } else { _root.battle_text = 'How pathetic!'; } } else { if (_global.aria_girl == 6 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Yay......'; } else { _root.battle_text = 'You\'d think they would just quit by now.'; } } else { if (_global.aria_girl == 7 && random(Math.floor(_global.battle_text_random / 2)) == 0 && _global.battle_text_timer <= 0) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Just give it up!'; } else { _root.battle_text = 'I\'m totally wasting my time!!!'; } } } } } } } } _root['aria_laser_' + _root.your_lasers_in_play]._x = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; _root['aria_laser_' + _root.your_lasers_in_play]._y = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v4 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._x - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; var v5 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._y - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); var v6 = v7 / _root.laser_speed; _root['aria_laser_' + _root.your_lasers_in_play].xSpeed = v4 / v6; _root['aria_laser_' + _root.your_lasers_in_play].ySpeed = v5 / v6; radAngle = Math.atan2(v5, v4); _root['aria_laser_' + _root.your_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['aria_laser_' + _root.your_lasers_in_play].onLoad = function () { this.gotoAndStop(_global.aria_girl); }; _root['aria_laser_' + _root.your_lasers_in_play].onEnterFrame = function () { this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); } if (this.hitTest(_root.ls)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 1) { this.current_selection.units -= _global.aria_girl_array[_global.aria_girl].ship; if (this.current_selection.units <= 0) { if (_global.AttkShipLv > 0 && _global.current_attk_ships < _global.max_attk_ships) { ++_global.current_attk_ships; if (_global.aria_girl == 1) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 20); } else { if (_global.aria_girl == 2) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 3); } else { if (_global.aria_girl == 3) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 10); } else { if (_global.aria_girl == 4) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 5); } else { if (_global.aria_girl == 5) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 500); } else { if (_global.aria_girl == 6) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 500); } else { if (_global.aria_girl == 7) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 500); } } } } } } } } this.current_selection.units = 0; } } if (this.current_selection.shield_amount > 0) { this.current_selection.shield_amount -= 1; } if (this.current_selection.shield_amount <= 0) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } this.current_selection.shake = 10; _root.createExplosion(this._x, this._y, _global.aria_girl); _root.delete_mc(this); } }; } }; _root.shoot_support_laser = function () { _root.support_shotgun_laser = 0; if (_root.support_shotgun_laser == 0) { ++_root.your_lasers_in_play; _root.attachMovie('aria_laser', 'aria_laser_' + _root.your_lasers_in_play, _root.getNextHighestDepth()); _root['aria_laser_' + _root.your_lasers_in_play].previous_selection = _root.support_ship; _root['aria_laser_' + _root.your_lasers_in_play].current_selection = null; x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection == null) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection.units < _root['sphere_' + x].units) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } if (_root.boss_sphere._visible == true && _root['aria_laser_' + _root.your_lasers_in_play].current_selection.units < _root.boss_sphere.units && _root.boss_sphere.sphere_control._currentframe == 1) { _root['aria_laser_' + _root.your_lasers_in_play].current_selection = _root.boss_sphere; } if (_root['aria_laser_' + _root.your_lasers_in_play].current_selection == null) { _root.delete_mc(_root['aria_laser_' + _root.your_lasers_in_play]); } _root['aria_laser_' + _root.your_lasers_in_play]._x = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; _root['aria_laser_' + _root.your_lasers_in_play]._y = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v4 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._x - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; var v5 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._y - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); var v6 = v7 / _root.laser_speed; _root['aria_laser_' + _root.your_lasers_in_play].xSpeed = v4 / v6; _root['aria_laser_' + _root.your_lasers_in_play].ySpeed = v5 / v6; radAngle = Math.atan2(v5, v4); _root['aria_laser_' + _root.your_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['aria_laser_' + _root.your_lasers_in_play].onLoad = function () { this.gotoAndStop(_root.support_char); }; _root['aria_laser_' + _root.your_lasers_in_play].onEnterFrame = function () { this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); } if (this.hitTest(_root.ls)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 1) { this.current_selection.units -= _root.support_laser_damage; if (this.current_selection.units <= 0) { if (_global.AttkShipLv > 0 && _global.current_attk_ships < _global.max_attk_ships + 3) { ++_global.current_attk_ships; if (_root.support_char == 1) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 20); } else { if (_global.support_char == 2) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 3); } else { if (_global.support_char == 3) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 10); } else { if (_global.support_char == 4) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 5); } else { if (_global.support_char == 5) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 500); } else { if (_global.support_char == 6) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 500); } else { if (_global.support_char == 7) { _root.create_your_auto_attack_squad(this.current_selection, this.previous_selection, 500); } } } } } } } } this.current_selection.units = 0; } } if (this.current_selection.shield_amount > 0) { this.current_selection.shield_amount -= 1; } if (this.current_selection.shield_amount <= 0) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } this.current_selection.shake = 10; _root.createExplosion(this._x, this._y, _global.aria_girl); _root.delete_mc(this); } }; } }; _root.shoot_enemy_laser = function (fromShip) { if (_root.enemy_shotgun_laser == 0) { ++_root.enemy_lasers_in_play; _root.attachMovie('aria_laser', 'enemy_laser_' + _root.enemy_lasers_in_play, _root.getNextHighestDepth()); _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection = fromShip; _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection = _root.main_sphere; x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { if (_root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection == null) { _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection = _root['sphere_' + x]; } else { if (_root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection.units > _root['sphere_' + x].units) { _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } _root['enemy_laser_' + _root.enemy_lasers_in_play]._x = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; _root['enemy_laser_' + _root.enemy_lasers_in_play]._y = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v4 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._x - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; var v5 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._y - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); if (_root.weaken <= 0) { var v6 = v7 / _root.laser_speed; } else { var v6 = v7; } _root['enemy_laser_' + _root.enemy_lasers_in_play].xSpeed = v4 / v6; _root['enemy_laser_' + _root.enemy_lasers_in_play].ySpeed = v5 / v6; if (_root.weaken <= 0) { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = _root.enemy_laser_power; } else { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = 1; } radAngle = Math.atan2(v5, v4); _root['enemy_laser_' + _root.enemy_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['enemy_laser_' + _root.enemy_lasers_in_play].onLoad = function () { this.gotoAndStop(5); }; _root['enemy_laser_' + _root.enemy_lasers_in_play].onEnterFrame = function () { if (this.hitTest(_root.main_ship.laser)) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (this.hitTest(_root.support_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (_root.disaster == 1) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); } this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (this._x == this.previous_selection._x && this._y == this.previous_selection._y) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 2) { if (this.current_selection.shield_amount <= 0) { this.current_selection.units -= this.laserdamage; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(1); _root.spheres_under_your_control[this.current_selection.fleet_number] = 0; this.current_selection.units = 0; } } else { --this.current_selection.shield_amount; if (this.current_selection.shield_amount <= 0) { this.current_selection.shield.gotoAndStop(1); if (this.current_selection == _root.main_sphere) { _root.main_ship.shield.gotoAndStop(1); } } } } _root.createExplosion(this._x, this._y, 0); if (_root.pilot_pic._currentframe == 1 && this.current_selection == _root.main_sphere) { if (_global.aria_girl == 3 && _root.main_ship.shield._currentframe > 0) { } else { if (_global.aria_girl == 1) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Get it together Ari...'; } else { _root.battle_text = 'I will not lose!'; } } else { if (_global.aria_girl == 2) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'How am I getting hit!?'; } else { _root.battle_text = 'We took damage!?'; } } else { if (_global.aria_girl == 3) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Brace for impact!'; } else { _root.battle_text = 'Hull damage report!'; } } else { if (_global.aria_girl == 4) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Wait! Stop shooting!'; } else { _root.battle_text = 'Owie! what should I do?'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I\'m hit? ...Impossible.'; } else { _root.battle_text = 'Tch! I\'ll give you that one.'; } } else { if (_global.aria_girl == 6) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Hmm not bad.'; } else { _root.battle_text = 'That tickles.'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I took damage!?'; } else { _root.battle_text = 'I hate this nerd!'; } } } } } } } } _root.pilot_pic.pilot.pilot.gotoAndStop(2); _root.pilot_pic.gotoAndPlay(2); } } this.current_selection.shake = 10; _root.delete_mc(this); } }; } }; _root.shoot_enemy_support_laser = function (fromShip) { if (_root.enemy_shotgun_laser == 0) { ++_root.enemy_lasers_in_play; _root.attachMovie('aria_laser', 'enemy_laser_' + _root.enemy_lasers_in_play, _root.getNextHighestDepth()); _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection = fromShip; _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection = _root.main_sphere; _root['enemy_laser_' + _root.enemy_lasers_in_play]._x = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; _root['enemy_laser_' + _root.enemy_lasers_in_play]._y = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v4 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._x - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; var v5 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._y - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); if (_root.weaken <= 0) { var v6 = v7 / _root.laser_speed; } else { var v6 = v7; } _root['enemy_laser_' + _root.enemy_lasers_in_play].xSpeed = v4 / v6; _root['enemy_laser_' + _root.enemy_lasers_in_play].ySpeed = v5 / v6; if (_root.weaken <= 0) { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = _root.enemy_laser_power; } else { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = 1; } radAngle = Math.atan2(v5, v4); _root['enemy_laser_' + _root.enemy_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['enemy_laser_' + _root.enemy_lasers_in_play].onLoad = function () { this.gotoAndStop(5); }; _root['enemy_laser_' + _root.enemy_lasers_in_play].onEnterFrame = function () { if (this.hitTest(_root.main_ship.laser)) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (this.hitTest(_root.support_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (_root.disaster == 1) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); } this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (this._x == this.previous_selection._x && this._y == this.previous_selection._y) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 2) { if (this.current_selection.shield_amount <= 0) { this.current_selection.units -= this.laserdamage; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(1); _root.spheres_under_your_control[this.current_selection.fleet_number] = 0; this.current_selection.units = 0; } } else { --this.current_selection.shield_amount; if (this.current_selection.shield_amount <= 0) { this.current_selection.shield.gotoAndStop(1); if (this.current_selection == _root.main_sphere) { _root.main_ship.shield.gotoAndStop(1); } } } } _root.createExplosion(this._x, this._y, 0); if (_root.pilot_pic._currentframe == 1 && this.current_selection == _root.main_sphere) { if (_global.aria_girl == 3 && _root.main_ship.shield._currentframe > 0) { } else { if (_global.aria_girl == 1) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Get it together Ari...'; } else { _root.battle_text = 'I will not lose!'; } } else { if (_global.aria_girl == 2) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'How am I getting hit!?'; } else { _root.battle_text = 'We took damage!?'; } } else { if (_global.aria_girl == 3) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Brace for impact!'; } else { _root.battle_text = 'Hull damage report!'; } } else { if (_global.aria_girl == 4) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Wait! Stop shooting!'; } else { _root.battle_text = 'Owie! what should I do?'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I\'m hit? ...Impossible.'; } else { _root.battle_text = 'Tch! I\'ll give you that one.'; } } else { if (_global.aria_girl == 6) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Hmm not bad.'; } else { _root.battle_text = 'That tickles.'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I took damage!?'; } else { _root.battle_text = 'I hate this nerd!'; } } } } } } } } _root.pilot_pic.pilot.pilot.gotoAndStop(2); _root.pilot_pic.gotoAndPlay(2); } } this.current_selection.shake = 10; _root.delete_mc(this); } }; } }; _root.shoot_enemy_support_shotgun_laser = function () { if (_root.enemy_support_shotgun_laser == 1) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root.enemy_shotgun_laser_func(_root['sphere_' + x], _root.enemy_support_ship); } ++x; } _root.enemy_shotgun_laser_func(_root.main_sphere); } }; _root.shoot_enemy_shotgun_laser = function () { if (_root.enemy_shotgun_laser == 1) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 1) { _root.enemy_shotgun_laser_func(_root['sphere_' + x], _root.enemy_ship); } ++x; } _root.enemy_shotgun_laser_func(_root.main_sphere); } }; _root.enemy_shotgun_laser_func = function (target, sourceMC) { ++_root.enemy_lasers_in_play; _root.attachMovie('aria_laser', 'enemy_laser_' + _root.enemy_lasers_in_play, _root.getNextHighestDepth()); _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection = sourceMC; _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection = target; _root['enemy_laser_' + _root.enemy_lasers_in_play]._x = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; _root['enemy_laser_' + _root.enemy_lasers_in_play]._y = _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v4 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._x - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._x; var v5 = _root['enemy_laser_' + _root.enemy_lasers_in_play].current_selection._y - _root['enemy_laser_' + _root.enemy_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); if (_root.weaken <= 0) { var v6 = v7 / _root.laser_speed; } else { var v6 = v7; } _root['enemy_laser_' + _root.enemy_lasers_in_play].xSpeed = v4 / v6; _root['enemy_laser_' + _root.enemy_lasers_in_play].ySpeed = v5 / v6; if (_root.weaken <= 0) { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = _root.enemy_laser_power; } else { _root['enemy_laser_' + _root.enemy_lasers_in_play].laserdamage = 1; } radAngle = Math.atan2(v5, v4); _root['enemy_laser_' + _root.enemy_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['enemy_laser_' + _root.enemy_lasers_in_play].onLoad = function () { this.gotoAndStop(5); }; _root['enemy_laser_' + _root.enemy_lasers_in_play].onEnterFrame = function () { if (this.hitTest(_root.main_ship.laser)) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (this.hitTest(_root.support_ship.laser)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (_root.disaster == 1) { _root.createExplosion(this._x, this._y, 0); _root.delete_mc(this); } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); } this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 2) { if (this.current_selection.shield_amount <= 0) { this.current_selection.units -= this.laserdamage; if (this.current_selection.units <= 0) { this.current_selection.sphere_control.gotoAndStop(1); _root.spheres_under_your_control[this.current_selection.fleet_number] = 0; this.current_selection.units = 0; } } else { --this.current_selection.shield_amount; if (this.current_selection.shield_amount <= 0) { this.current_selection.shield.gotoAndStop(1); if (this.current_selection == _root.main_sphere) { _root.main_ship.shield.gotoAndStop(1); } } } } _root.createExplosion(this._x, this._y, 0); if (_root.pilot_pic._currentframe == 1 && this.current_selection == _root.main_sphere) { if (_global.aria_girl == 3 && _root.main_ship.shield._currentframe > 0) { } else { if (_global.aria_girl == 1) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Get it together Ari...'; } else { _root.battle_text = 'I will not lose!'; } } else { if (_global.aria_girl == 2) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'How am I getting hit!?'; } else { _root.battle_text = 'We took damage!?'; } } else { if (_global.aria_girl == 3) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Brace for impact!'; } else { _root.battle_text = 'Hull damage report!'; } } else { if (_global.aria_girl == 4) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Wait! Stop shooting!'; } else { _root.battle_text = 'Owie! what should I do?'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I\'m hit? ...Impossible.'; } else { _root.battle_text = 'Tch! I\'ll give you that one.'; } } else { if (_global.aria_girl == 6) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'Hmm not bad.'; } else { _root.battle_text = 'That tickles.'; } } else { if (_global.aria_girl == 5) { _global.battle_text_timer = _global.battle_text_max_time; if (random(2) == 0) { _root.battle_text = 'I took damage!?'; } else { _root.battle_text = 'I hate this nerd!'; } } } } } } } } _root.pilot_pic.pilot.pilot.gotoAndStop(2); _root.pilot_pic.gotoAndPlay(2); } } this.current_selection.shake = 10; _root.delete_mc(this); } }; }; _root.shoot_your_shotgun_laser = function () { if (_root.your_shotgun_laser == 1 && _root.your_shotgun_rounds > 0) { x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { _root.your_shotgun_laser_func(_root['sphere_' + x]); } ++x; } --_root.your_shotgun_rounds; } if (_root.your_shotgun_rounds <= 0) { _root.your_shotgun_laser = 0; } if (_root.your_shotgun_laser == 0 && _root.your_shotgun_rounds < 10) { _root.your_shotgun_rounds = 10; } }; _root.your_shotgun_laser_func = function (target) { ++_root.your_lasers_in_play; _root.attachMovie('aria_laser', 'aria_laser_' + _root.your_lasers_in_play, _root.getNextHighestDepth()); _root['aria_laser_' + _root.your_lasers_in_play].previous_selection = _root.main_sphere; _root['aria_laser_' + _root.your_lasers_in_play].current_selection = target; _root['aria_laser_' + _root.your_lasers_in_play]._x = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; _root['aria_laser_' + _root.your_lasers_in_play]._y = _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v4 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._x - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._x; var v5 = _root['aria_laser_' + _root.your_lasers_in_play].current_selection._y - _root['aria_laser_' + _root.your_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); if (_root.weaken <= 0) { var v6 = v7 / _root.laser_speed; } else { var v6 = v7; } _root['aria_laser_' + _root.your_lasers_in_play].xSpeed = v4 / v6; _root['aria_laser_' + _root.your_lasers_in_play].ySpeed = v5 / v6; _root['aria_laser_' + _root.your_lasers_in_play].laserdamage = _global.aria_girl_array[_global.aria_girl].ship; radAngle = Math.atan2(v5, v4); _root['aria_laser_' + _root.your_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['aria_laser_' + _root.your_lasers_in_play].onLoad = function () { this.gotoAndStop(_global.aria_girl); }; _root['aria_laser_' + _root.your_lasers_in_play].onEnterFrame = function () { this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (this._x == 0 || this._x == _root.main_sphere._x) { _root.delete_mc(this); } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); } if (this.hitTest(_root.ls)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.shield._currentframe == 1) { this.current_selection.units -= this.laserdamage; if (this.current_selection.units <= 0) { this.current_selection.units = 0; } } if (this.current_selection.shield_amount > 0) { this.current_selection.shield_amount -= 1; } if (this.current_selection.shield_amount <= 0) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } _root.createExplosion(this._x, this._y, 3); this.current_selection.shake = 10; _root.delete_mc(this); } }; }; _root.shoot_your_small_laser = function (z) { ++_root.your_small_lasers_in_play; _root.attachMovie('aria_laser_small', 'aria_laser_small_' + _root.your_small_lasers_in_play, _root.getNextHighestDepth()); _root['aria_laser_small_' + _root.your_small_lasers_in_play].previous_selection = _root['sphere_' + z]; _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection = null; x = 1; while (x <= _root.enemy_fleet_size) { if (_root.spheres_under_your_control[x] == 0) { if (_root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection == null) { _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection = _root['sphere_' + x]; } else { if (_root.spheres_under_your_control[x] == 0 && _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection.units < _root['sphere_' + x].units) { _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection = _root['sphere_' + x]; } } } ++x; } if (_root.boss_sphere._visible == true && _root['aria_laser_small_' + _root.your_lasers_in_play].current_selection.units < _root.boss_sphere.units && _root.boss_sphere.sphere_control._currentframe == 1) { _root['aria_laser_small_' + _root.your_lasers_in_play].current_selection = _root.boss_sphere; } if (_root['aria_laser_small_' + _root.your_lasers_in_play].current_selection == null) { _root.delete_mc(_root['aria_laser_small_' + _root.your_lasers_in_play]); } _root['aria_laser_small_' + _root.your_small_lasers_in_play]._x = _root['aria_laser_small_' + _root.your_small_lasers_in_play].previous_selection._x; _root['aria_laser_small_' + _root.your_small_lasers_in_play]._y = _root['aria_laser_small_' + _root.your_small_lasers_in_play].previous_selection._y; var v4 = _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection._x - _root['aria_laser_small_' + _root.your_small_lasers_in_play].previous_selection._x; var v5 = _root['aria_laser_small_' + _root.your_small_lasers_in_play].current_selection._y - _root['aria_laser_small_' + _root.your_small_lasers_in_play].previous_selection._y; var v7 = Math.sqrt(v4 * v4 + v5 * v5); var v6 = v7 / _root.laser_speed; _root['aria_laser_small_' + _root.your_small_lasers_in_play].xSpeed = v4 / v6; _root['aria_laser_small_' + _root.your_small_lasers_in_play].ySpeed = v5 / v6; radAngle = Math.atan2(v5, v4); _root['aria_laser_small_' + _root.your_small_lasers_in_play]._rotation = int(radAngle * 360 / 6.283185307179586 + 180); _root['aria_laser_small_' + _root.your_small_lasers_in_play].onLoad = function () { this.gotoAndStop(_global.aria_girl); }; _root['aria_laser_small_' + _root.your_small_lasers_in_play].onEnterFrame = function () { this._x += this.xSpeed; this._y += this.ySpeed; if (this._x == 0 && this._y == 0) { _root.delete_mc(this); } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); } if (_root.boss_ship._currentframe == 2 || _root.boss_ship._currentframe == 50) { _root.delete_mc(this); } if (this.hitTest(_root.ls)) { _root.createExplosion(this._x, this._y, 1); _root.delete_mc(this); } if (this.hitTest(this.current_selection) == true) { if (this.current_selection.sphere_control._currentframe == 1 && this.current_selection.sphere._currentframe == 1) { this.current_selection.units -= _global.aria_girl_array[_global.aria_girl].ship; if (this.current_selection.units <= 0) { this.current_selection.units = 0; } } if (this.current_selection.shield_amount > 0) { this.current_selection.shield_amount -= 1; } if (this.current_selection.shield_amount <= 0) { this.current_selection.shield_amount = 0; this.current_selection.shield.gotoAndStop(1); } _root.createExplosion(this._x, this._y, _global.aria_girl); _root.delete_mc(this); } }; }; var particleMaxSpeed = 5; var particleFadeSpeed = 2; var particleTotal = _global.partical_total; var particleRange = 100; _root.createExplosion = function (targetX, targetY, pilot) { var v5 = 0; while (v5 < particleTotal) { var v4 = _root.createEmptyMovieClip('main_holder', _root.getNextHighestDepth()); var internal_holder = v4.createEmptyMovieClip('internal_holder', v4.getNextHighestDepth()); internal_holder._x = -3.5; internal_holder._y = -3.5; internal_holder.attachMovie('laser_particle_mc', 'lp_mc', internal_holder.getNextHighestDepth()); v4._x = targetX; v4._y = targetY; v4._rotation = random(360); v4._alpha = 100; v4.boundyLeft = targetX - particleRange; v4.boundyTop = targetY - particleRange; v4.boundyRight = targetX + particleRange; v4.boundyBottom = targetY + particleRange; v4.speedX = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedY = Math.random(particleMaxSpeed) - Math.random(particleMaxSpeed); v4.speedX *= particleMaxSpeed; v4.speedY *= particleMaxSpeed; v4.fadeSpeed = Math.random(particleFadeSpeed) * particleFadeSpeed; ++numberOfParticles; v4.onEnterFrame = function () { if (this.internal_holder.lp_mc.laser._currentframe == 1) { if (pilot > 0) { this.internal_holder.lp_mc.laser.gotoAndStop(_global.aria_girl + 1); } else { this.internal_holder.lp_mc.laser.gotoAndStop(6); } } this._alpha -= this.fadeSpeed; this._x += this.speedX; this._y += this.speedY; if (this._alpha <= 0 || this._x < this.boundyLeft || this._x > this.boundyRight || this._y < this.boundyTop || this._y > this.boundyBottom) { _root.delete_mc(this); --numberOfParticles; } if (_root._currentframe != 3 && _root._currentframe != 80) { _root.delete_mc(this); --numberOfParticles; } }; ++v5; } }; var scope = _root.bg; var starboxW = 1280; var starboxH = 720; var starboxX = 0; var starboxY = 0; var starsArray = []; var speedX = -4.75; var speedY = 7.5; createField(1); createField(2); createField(3); var shakeRange = 1; _root.shake = function (target) { var v2 = random(2); if (v2 == 0) { target._x += shakeRange; } else { if (v2 == 1) { target._x -= shakeRange; } } v2 = random(2); if (v2 == 0) { target._y += shakeRange; } else { if (v2 == 1) { target._y -= shakeRange; } } }; var sparkAlpha = 100; _root.addSparkles = function (_targetX, _targetY, _sparkNumber, _distance, _sparkSize) { var v6 = 0; while (v6 < _sparkNumber) { var v4 = _root.attachMovie('spark', 'spark_' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); var v3 = _root.attachMovie('spark2', 'spark2_' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v4._x = _targetX + random(_distance) - _distance / 2; v4._y = _targetY + random(_distance) - _distance / 2; v3._x = _targetX + random(_distance) - _distance / 2; v3._y = _targetY + random(_distance) - _distance / 2; var v5 = random(_sparkSize) + _sparkSize / 4; v4._xscale = v5; v4._yscale = v5; v5 = random(_sparkSize) + _sparkSize / 4; v3._xscale = v5; v3._yscale = v5; v3._rotation = random(359); v4._alpha = random(sparkAlpha) + sparkAlpha / 4; v3._alpha = random(sparkAlpha) + sparkAlpha / 4; ++v6; } }; _global.aria_assult = function () { _root.addSparkles(_xmouse, _ymouse, 30, 45, 600); }; _root.auto_rally_x = function () { if (_global.auto_rally == 1) { if (_root.space_battle_options_menu.option_1._currentframe >= 100) { if (_global.aria_girl == 1) { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } _root.space_battle_options_menu.option_1.gotoAndPlay(1); if (_global.RallyLv == 1) { if (Math.floor(_global.your_mercenary_count / 2) > _global.aria_girl_array[_global.aria_girl].charisma) { _root.main_sphere.units += Math.floor(_global.your_mercenary_count / 2); } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } else { _root.main_sphere.units += _global.aria_girl_array[_global.aria_girl].charisma; } } } }; } instance bg of movieClip 225 { onClipEvent (load) { if (_global.custom_load_parsed[17] > 0 && _global.custom_load_parsed[17] < 12) { this.gotoAndStop(_global.custom_load_parsed[17]); } else { this.gotoAndStop(1); } } } instance enemy_support_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(_global.current_enemy_support); } } instance enemy_cargo_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(8); } } instance enemy_support1 of movieClip 290 { onClipEvent (load) { if ((_global.current_area > 1 || _global.hardmode == 1) && _global.assistanceship1_destroyed == 0) { this.gotoAndStop(11); } else { this._visible = false; } } } instance enemy_support2 of movieClip 290 { onClipEvent (load) { this.gotoAndStop(12); } } instance enemy_support3 of movieClip 290 { onClipEvent (load) { this.gotoAndStop(13); } } instance boss_sphere of movieClip 185 sphere { onClipEvent (load) { this.shield_amount = 0; this._visible = false; } } instance clean of movieClip 506 { onClipEvent (load) { _root.main_sphere.sphere_control.gotoAndStop(2); } onClipEvent (enterFrame) { if (_root.main_sphere.units <= 0) { x = 0; while (x <= _root.enemy_fleet_size + 80) { removeMovieClip(_root['sphere_' + x]); removeMovieClip(_root['enemy_attack_squad_' + x]); removeMovieClip(_root['your_attack_squad_' + x]); removeMovieClip(_root['aria_laser_' + x]); removeMovieClip(_root['enemy_laser_' + x]); removeMovieClip(_root['aria_laser_small_' + x]); removeMovieClip(_root.ray); ++x; } if (_global.aria_girl == 1) { _global.arielle_injury = 1; } if (_global.aria_girl == 2) { _global.phia_injury = 1; } if (_global.aria_girl == 3) { _global.tiffany_injury = 1; } if (_global.aria_girl == 4) { _global.bri_injury = 1; } x = 0; while (x <= _root.enemy_fleet_size + 120) { removeMovieClip(_root['sphere_' + x]); removeMovieClip(_root['enemy_attack_squad_' + x]); removeMovieClip(_root['your_attack_squad_' + x]); removeMovieClip(_root['aria_laser_' + x]); removeMovieClip(_root['enemy_laser_' + x]); removeMovieClip(_root.ray); ++x; } x = 0; while (x <= _root.enemy_fleet_size + 100) { removeMovieClip(_root['aria_laser_small_' + x]); ++x; } if (_root._currentframe == 80) { _root.gotoAndStop(51); } else { _root.nextFrame(); } } } } instance main_ship of movieClip 344 { onClipEvent (load) { } onClipEvent (enterFrame) { this.shield.gotoAndStop(_root.main_sphere.shield._currentframe); } } instance main_sphere of movieClip 185 sphere { onClipEvent (load) { this.fleet_number = 0; this.shield_amount = 0; } } instance enemy_ship of movieClip 290 { onClipEvent (load) { this.gotoAndStop(int(_global.custom_load_parsed[11])); } } instance support_ship of movieClip 344 { onClipEvent (load) { } onClipEvent (enterFrame) { this.shield.gotoAndStop(_root.main_sphere.shield._currentframe); } } instance space_battle_options_menu of movieClip 583 { onClipEvent (load) { this.gotoAndStop(_global.aria_girl); } } button 6112 { on (release) { x = 0; while (x <= _root.enemy_fleet_size + 120) { removeMovieClip(_root['sphere_' + x]); removeMovieClip(_root['enemy_attack_squad_' + x]); removeMovieClip(_root['your_attack_squad_' + x]); removeMovieClip(_root['aria_laser_' + x]); removeMovieClip(_root['enemy_laser_' + x]); removeMovieClip(_root.ray); ++x; } x = 0; while (x <= _root.enemy_fleet_size + 100) { removeMovieClip(_root['aria_laser_small_' + x]); ++x; } x = 0; while (x <= _root.enemy_fleet_size + 80) { removeMovieClip(_root['sphere_' + x]); removeMovieClip(_root['enemy_attack_squad_' + x]); removeMovieClip(_root['your_attack_squad_' + x]); removeMovieClip(_root['aria_laser_' + x]); removeMovieClip(_root['enemy_laser_' + x]); removeMovieClip(_root['aria_laser_small_' + x]); removeMovieClip(_root.ray); ++x; } _root.gotoAndStop(51); } } frame 81 { _root.sex_type = int(_global.custom_load_parsed[18]); _root.sex_start = int(_global.custom_load_parsed[19]); _root.sex_end = int(_global.custom_load_parsed[20]); _root.custom_end = int(_global.custom_load_parsed[21]); _root.talk_bg = int(_global.custom_load_parsed[22]); _root.enemy_appear = int(_global.custom_load_parsed[23]); _global.custom_talking = int(_global.custom_load_parsed[24]); _global.aria_custom_talk_queue = new Array(); _global.aria_custom_talk_queue[0] = null; _global.aria_custom_talk_queue[1] = _global.custom_load_parsed[25]; _global.aria_custom_talk_queue[2] = _global.custom_load_parsed[26]; _global.aria_custom_talk_queue[3] = _global.custom_load_parsed[27]; _global.aria_custom_talk_queue[4] = _global.custom_load_parsed[28]; _global.aria_custom_talk_queue[5] = _global.custom_load_parsed[29]; _global.aria_custom_talk_queue[6] = _global.custom_load_parsed[30]; _global.aria_custom_talk_queue[7] = _global.custom_load_parsed[31]; _global.aria_custom_talk_queue[8] = _global.custom_load_parsed[32]; _global.aria_custom_talk_queue[9] = _global.custom_load_parsed[33]; _global.aria_custom_talk_queue[10] = _global.custom_load_parsed[34]; var hero_num = 15 + int(_global.custom_load_parsed[12]); var enemy_num = int(_global.custom_load_parsed[11]); var support = 15 + int(_global.custom_load_parsed[14]); _root.custom.hero.gotoAndStop(hero_num); _root.custom.enemy.gotoAndStop(enemy_num); if (support > 15) { _root.custom.support.gotoAndStop(support); } else { _root.custom.support.gotoAndStop(11); } if (_global.custom_complete == 1) { _root.custom.gotoAndStop(_global.custom_talking + 1); } _global.custom_dialogue = function () { if (int(_global.custom_load_parsed[24]) == _root.custom._currentframe - 1 && _global.custom_complete == 0) { _root.gotoAndStop(80); } else { _root.custom.stext.stext.story_text = _global.aria_custom_talk_queue[_root.custom._currentframe]; } if (_root.sex_type > 0 && _root.custom._currentframe >= _root.sex_start && _root.custom._currentframe <= _root.sex_end) { _root.custom.sex.gotoAndStop(_root.sex_type); _root.custom.support._visible = false; _root.custom.hero._visible = false; _root.custom.enemy._visible = false; _root.cbg.gotoAndStop(_root.talk_bg + 1); } else { _root.custom.sex.gotoAndStop(1); _root.custom.support._visible = true; _root.custom.hero._visible = true; _root.custom.enemy._visible = true; _root.cbg.gotoAndStop(_root.talk_bg); if (_global.custom_load_parsed[23] == 1 && _root.custom._currentframe <= int(_global.custom_load_parsed[24])) { _root.custom.enemy._visible = false; } else { _root.custom.enemy._visible = true; } if (_global.custom_load_parsed[23] == 0) { _root.custom.enemy._visible = false; } } if (_root.sex_type > 0 && _root.sex_end == _root.custom._currentframe) { _root.custom.sex.sex.gotoAndPlay('cum'); } if (_root.custom._currentframe == _root.custom_end) { _root.gotoAndStop(51); } }; } movieClip 6123 { frame 1 { stop(); } } movieClip 6126 { frame 40 { gotoAndPlay(1); } frame 187 { stop(); } } movieClip 6147 { frame 20 { gotoAndPlay(1); } frame 120 { stop(); } } movieClip 6165 { } movieClip 6166 { frame 1 { stop(); } } movieClip 6167 { frame 1 { stop(); } frame 1 { _global.custom_dialogue(); } frame 2 { _global.custom_dialogue(); } frame 3 { _global.custom_dialogue(); } frame 4 { _global.custom_dialogue(); } frame 5 { _global.custom_dialogue(); } frame 6 { _global.custom_dialogue(); } frame 7 { _global.custom_dialogue(); } frame 8 { _global.custom_dialogue(); } frame 9 { _global.custom_dialogue(); } frame 10 { _global.custom_dialogue(); } frame 11 { if (_global.custom_complete == 0) { _root.gotoAndStop(80); } else { _root.gotoAndStop(51); } } } movieClip 6170 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Tiffany: Jeo, while testing some of our navigation computers I noticed we have a problem we should address.'; } frame 2 { stext.stext.story_text = 'Jeo: Problem? '; } frame 3 { stext.stext.story_text = 'Tiffany: Since our stealth system seems to be broken, we are easily tracked by a network of nearby space stations and planets that could cause us to be raided.'; } frame 4 { stext.stext.story_text = 'Phia: you can’t fix it sweetie?'; } frame 5 { stext.stext.story_text = 'Tiffany: Phia I’m a scientist, not a ship engineer.'; } frame 6 { stext.stext.story_text = 'Phia: Ooohh! right.'; } frame 7 { stext.stext.story_text = 'Jeo: Who cares. Let them come.'; } frame 8 { stext.stext.story_text = 'Phia: Yeah I’ll fuck those guys!… literally.'; } frame 9 { stext.stext.story_text = 'Tiffany: The problem is also that since people know were we are, we will have trouble finding the people we need to find to clear your name.'; } frame 10 { stext.stext.story_text = 'Jeo: Right. they would avoid us in fear.'; } frame 11 { stext.stext.story_text = 'Tiffany: Or even set an ambush we can’t get out of.'; } frame 12 { stext.stext.story_text = 'Jeo: Please.'; } frame 13 { stext.stext.story_text = 'Phia: Sui-May can fix it sweetie.'; } frame 14 { stext.stext.story_text = 'Tiffany: Sui-May was just trying to capture Jeo Phia.'; } frame 15 { stext.stext.story_text = 'Phia: Nah she was really just looking for by brother Roy.'; } frame 16 { stext.stext.story_text = 'Phia: I’ll go bust up those goons around her and bring her back here to fix it. I think she is somewhere in the area.'; } frame 17 { stext.stext.story_text = 'Phia: I’ll go there right now.'; } frame 18 { _quality = 'medium'; _global.total_enemies_remaining = 0; _global.active_girl = _global.aria_girl; _global.girl_life = 100; if (_global.being_raided == 1) { _global.enemy_damage = _global.current_area; if (_global.RaidTrainning == 1) { _global.enemy_damage -= 2; if (_global.enemy_damage <= 0) { _global.enemy_damage = 1; } } } else { _global.enemy_damage = 2; } _global.charDirection = 1; _global.action_timer = 1; _global.overload_timer = 1; _global.mlaws_damage = 50; _global.shoot_random = 0; _global.amp_damage_buff = 0; _global.phia_distract = 0; _global.randomx = 4; _global.shoot_chance = 50; var k = 0; _global.aria_enemy_num = new Array(); _global.aria_enemy_num[0] = null; k = 1; while (k < 22) { _global.aria_enemy_num[k] = null; ++k; } _global.aria_girl = 2; _global.weapon_damage = 5; _global.shoot_cost = 20; _global.shoot_move_speed = 20; _global.action_timer_add = 2; _global.suimay_quest = 1; _global.aria_girl = 2; _global.weapon_damage = _global.aria_girl_array[_global.aria_girl].combat; _global.shoot_cost = 20; _global.shoot_move_speed = 20; _global.action_timer_add = 2; _global.girl_life = _global.aria_girl_array[_global.aria_girl].combat * 10; if (_global.RaidTrainning == 1) { _global.girl_life = _global.aria_girl_array[_global.aria_girl].combat * 15; } if (_global.RaidTrainning == 1) { _global.weapon_damage = _global.aria_girl_array[_global.aria_girl].combat + 10; _global.shoot_cost = 10; } _root.gotoAndStop(73); } } button 6173 { on (release) { gotoAndStop(8); } } button 6177 { on (release) { _root.gotoAndStop(7 + _global.aria_girl); } } button 6178 { on (release) { _global.had_sui_may_sex = 1; _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; gotoAndStop(21); } } movieClip 6231 { } button 6232 { on (release) { gotoAndStop(24); } } movieClip 6301 { frame 24 { gotoAndPlay(1); } frame 80 { stop(); } } button 6302 { on (release) { gotoAndStop(27); } } button 6304 { on (release) { gotoAndStop(28); } } movieClip 6305 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Sui-May: Phia? You killed all my guards!'; } frame 2 { stext.stext.story_text = 'Phia: Nah.. these shots were non lethal.'; } frame 3 { stext.stext.story_text = 'Sui-May: Oh… I see, What’s up love? I mean.. Surrender! Where’s Jeo!'; } frame 4 { stext.stext.story_text = 'Phia: I need a favor, we need our stealth system fixed sweetie. Quick! before they wake up!'; } frame 5 { stext.stext.story_text = 'Phia: Oh yeah…uh… Then you will have to surrender! I have defeated.. oh fuck it. just come on sweetie.'; } frame 6 { stext.stext.story_text = 'Sui-May: Fine I surrender! I’ll get you for this!'; } frame 8 { if (_global.stealthsystem == 0) { stext.stext.story_text = 'Sui-May: Done!'; _global.stealthsystem = 1; } else { stext.stext.story_text = 'Sui-May: It is too broken, I can\'t fix it!'; _global.stealthsystem = 0; } _global.suimay_quest = 0; } frame 9 { if (_global.stealthsystem == 0) { stext.stext.story_text = 'Jeo: Oh well. Don\'t need it anyway.'; } else { stext.stext.story_text = 'Jeo: This should help us focus on the real opposition.'; } } frame 10 { stext.stext.story_text = 'Sui-May: So what happened at Nanako Jeo? The reports say…'; } frame 11 { stext.stext.story_text = 'Jeo: It was Natan.'; } frame 12 { stext.stext.story_text = 'Sui-May: Oooh…'; } frame 13 { stext.stext.story_text = 'Sui-May: Oh well. I should be getting back. My guards might be waking up soon.'; } frame 14 { stext.stext.story_text = 'Phia: You got at least another 30 minutes.'; } frame 15 { stext.stext.story_text = 'Phia: by the way Jeo! Sui-May knows some kung-fu sex shit that you might be interested in.'; } frame 16 { stext.stext.story_text = 'Sui-May: Hehe. It\'s called "Kama Sutra" love. It\'s not Kung-fu.. though I do know Kung-Fu also...'; } frame 17 { stext.stext.story_text = 'Phia: Whatever it is, everyone says it feels good as hell on thier dick. You should try her out sweetie.'; } frame 18 { stext.stext.story_text = 'Sui-May: Offering me up love? What will your brother say?'; } frame 19 { stext.stext.story_text = 'Phia: He’ll get over it. Well Jeo? You don\'t have much time left. Are you fucking my friend or not?'; } frame 21 { stext.stext.story_text = 'Sui-May: Wow not bad! There is a lot of meat to work with.'; } frame 22 { stext.stext.story_text = 'Sui-May: I\'m just going to massage you a bit ok love? Then you can fuck me all you want.'; } frame 24 { stext.stext.story_text = 'Sui-May: So much meat...'; } frame 25 { stext.stext.story_text = 'Sui-May: Keep shoving all that meat in my pussy love.'; } instance sex2 of movieClip 6301 { onClipEvent (load) { gotoAndPlay(25); } } frame 28 { stext.stext.story_text = 'Sui-May: Well damn! Thanks that was worth it!'; } frame 29 { stext.stext.story_text = 'Phia: By bro is going to be pissed.'; } frame 30 { stext.stext.story_text = 'Sui-May: He\'ll get over it love. I think I\'ll go see him right now! Ciao!'; } frame 31 { stext.stext.story_text = 'Phia: I\'ll fly her back and be back in a bit sweetie.'; } frame 32 { _root.gotoAndStop(7 + _global.aria_girl); } } frame 86 { _global.aria_girl_array[_global.jeo].charisma = _global.max_value; _global.aria_girl_array[_global.jeo].space = _global.max_value; _global.aria_girl_array[_global.jeo].ship = _global.max_value; _global.aria_girl_array[_global.jeo].combat = _global.max_value; } button 6310 { on (release) { _root.gotoAndStop(83); } } movieClip 6312 { frame 1 { stop(); } } instance of movieClip 6312 { onClipEvent (load) { if (_global.had_sui_may_sex == 1) { this.gotoAndStop(2); } } } button 6314 { on (release) { _root.gotoAndStop(78); } } movieClip 6316 { frame 1 { stop(); } } instance of movieClip 6316 { onClipEvent (load) { if (_global.had_yui_sex == 1) { this.gotoAndStop(2); } } } frame 88 { _quality = 'medium'; _global.total_enemies_remaining = 0; _global.active_girl = _global.aria_girl; if (_global.being_raided == 1) { _global.enemy_damage = _global.current_area; if (_global.RaidTrainning == 1) { _global.enemy_damage -= 2; if (_global.enemy_damage <= 0) { _global.enemy_damage = 1; } } } else { _global.enemy_damage = 2; } _global.charDirection = 1; _global.action_timer = 1; _global.overload_timer = 1; _global.mlaws_damage = 50; _global.shoot_random = 0; _global.amp_damage_buff = 0; _global.phia_distract = 0; _global.randomx = 4; _global.shoot_chance = 50; var k = 0; _global.aria_enemy_num = new Array(); _global.aria_enemy_num[0] = null; k = 1; while (k < 22) { _global.aria_enemy_num[k] = null; ++k; } stop(); } instance bg of movieClip 225 { onClipEvent (load) { this.gotoAndStop(_global.current_area); } } movieClip 6347 { frame 1 { stop(); } } instance of movieClip 6347 { onClipEvent (load) { if (_global.being_raided == 1) { this.gotoAndStop(2); } } } button 6348 { on (release) { _global.aria_girl = 1; _global.weapon_damage = _global.aria_girl_array[_global.aria_girl].combat; _global.shoot_cost = 35; _global.shoot_move_speed = 10; _global.girl_life = _global.aria_girl_array[_global.aria_girl].combat * 10; if (_global.RaidTrainning == 1) { _global.girl_life = _global.aria_girl_array[_global.aria_girl].combat * 15; } _global.action_timer_add = 1; if (_global.RaidTrainning == 1) { _global.weapon_damage = _global.aria_girl_array[_global.aria_girl].combat + 50; _global.shoot_cost = 25; } _root.gotoAndStop(89); } } movieClip 6351 { frame 1 { stop(); } } instance of movieClip 6351 { onClipEvent (load) { if (_global.arielle_injury == 1) { this.gotoAndStop(2); } if (_global.being_raided == 0) { this.gotoAndStop(3); } } } button 6352 { on (release) { _global.aria_girl = 2; _global.weapon_damage = _global.aria_girl_array[_global.aria_girl].combat; _global.shoot_cost = 20; _global.shoot_move_speed = 20; _global.action_timer_add = 2; _global.girl_life = _global.aria_girl_array[_global.aria_girl].combat * 10; if (_global.RaidTrainning == 1) { _global.girl_life = _global.aria_girl_array[_global.aria_girl].combat * 15; } if (_global.RaidTrainning == 1) { _global.weapon_damage = _global.aria_girl_array[_global.aria_girl].combat + 10; _global.shoot_cost = 10; } _root.gotoAndStop(89); } } movieClip 6354 { frame 1 { stop(); } } instance of movieClip 6354 { onClipEvent (load) { if (_global.phia_injury == 1) { this.gotoAndStop(2); } if (_global.being_raided == 0) { this.gotoAndStop(3); } } } button 6356 { on (release) { _global.aria_girl = 7; _global.weapon_damage = _global.aria_girl_array[_global.aria_girl].combat; _global.shoot_cost = 20; _global.shoot_move_speed = 25; _global.action_timer_add = 2; _global.girl_life = _global.aria_girl_array[_global.aria_girl].combat * 10; if (_global.RaidTrainning == 1) { _global.girl_life = _global.aria_girl_array[_global.aria_girl].combat * 15; } if (_global.RaidTrainning == 1) { _global.weapon_damage = _global.aria_girl_array[_global.aria_girl].combat + 100; _global.shoot_cost = 5; _global.shoot_move_speed = 30; } _root.gotoAndStop(89); } } movieClip 6358 { frame 1 { stop(); } } instance of movieClip 6358 { onClipEvent (load) { if (_global.current_area > 5) { this.gotoAndStop(2); } if (_global.being_raided == 0) { this.gotoAndStop(3); } } } frame 89 { stop(); _global.aria_assult = function () { if (_global.aria_girl == 1) { _root.addSparkles(_xmouse, _ymouse, 30, 45, 200); _root.sfx.gotoAndPlay('cannon'); } else { if (_global.aria_girl == 2) { _root.addSparkles(_xmouse, _ymouse, 100, 25, 50); } else { if (_global.aria_girl == 7) { _root.addSparkles(_xmouse, _ymouse, 50, 25, 100); } } } }; var sparkAlpha = 100; var i = 0; var px = 0; var py = 0; _root.addSparkles = function (_targetX, _targetY, _sparkNumber, _distance, _sparkSize) { var v7 = 0; while (v7 < _sparkNumber) { if (_global.aria_girl == 1) { var v5 = _root.attachMovie('spark', 'spark_' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); var v4 = _root.attachMovie('spark2', 'spark2_' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); } else { if (_global.aria_girl == 2) { var v5 = _root.attachMovie('spark_1', 'spark_' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); var v4 = _root.attachMovie('spark2', 'spark2_' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); } else { if (_global.aria_girl == 7) { var v5 = _root.attachMovie('spark_2', 'spark_' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); var v4 = _root.attachMovie('spark2', 'spark2_' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); } } } v5._x = _targetX + random(_distance) - _distance / 2; v5._y = _targetY + random(_distance) - _distance / 2; v4._x = _targetX + random(_distance) - _distance / 2; v4._y = _targetY + random(_distance) - _distance / 2; var v6 = random(_sparkSize) + _sparkSize / 4; v5._xscale = v6; v5._yscale = v6; v6 = random(_sparkSize) + _sparkSize / 4; v4._xscale = v6; v4._yscale = v6; v4._rotation = random(359); v5._alpha = random(sparkAlpha) + sparkAlpha / 4; v4._alpha = random(sparkAlpha) + sparkAlpha / 4; ++v7; } }; _global.delete_me = function (mc) { mc.removeMovieClip(); mc.unloadMovie(); removeMovieClip(mc); false; }; _global.random_target_spawn = function () { i = 0; while (i < _global.total_enemies_remaining) { px = _root.char._x - 400 + random(720); py = random(240) + 447; _global.shoot_random = random(20); if (_global.shoot_random == 0) { if (_root['ec_' + i] == undefined && _root['ebc_' + i] == undefined) { if (_global.phia_distract == 0 || _root.char._currentframe == 2) { _root.attachMovie('e_b', 'ebc_' + i, i, {'_x': px, '_y': py, '_width': 338, '_height': 338}); } } } if (_global.shoot_random < 10) { if (_root['ec_' + i] == undefined && _root['ebc_' + i] == undefined) { _root.attachMovie('e_c', 'ec_' + i, i, {'_x': px, '_y': py, '_width': 117, '_height': 117}); _global.aria_enemy_num[i].laser.gotoAndPlay(2); } } ++i; } }; _global.shoot = function (mc) { if (_global.action_timer > _global.shoot_cost && (_root.char._currentframe == 1 || _root.char._currentframe == 3) && _root.char.blast._currentframe == 1) { if (_global.action_timer >= 100 && _global.overload_timer >= 100) { if (mc._x < _root.char._x) { _global.charDirection = 3; _root.char.gotoAndStop(3); } else { _global.charDirection = 1; _root.char.gotoAndStop(1); } _root.char.blast.gotoAndPlay(2); _global.overload_timer = 1; _global.action_timer = 1; } else { _global.overload_timer = 1; _global.aria_assult(); if (_global.action_timer >= 100 && _global.aria_girl == 2) { mc.HP -= _global.weapon_damage * 10 + _global.amp_damage_buff; if (random(2) == 0) { mc.HP = 0; } _global.action_timer = 1; } else { mc.HP -= _global.weapon_damage + _global.amp_damage_buff; _global.action_timer -= _global.shoot_cost; } mc.gotoAndPlay(2); if (mc._x < _root.char._x) { _global.charDirection = 3; } else { _global.charDirection = 1; } if (_global.aria_girl == 1) { _root.char.laser.gotoAndPlay(2); } else { if (_global.aria_girl == 2) { _root.char.laser.gotoAndPlay(8); } else { if (_global.aria_girl == 7) { _root.char.laser.gotoAndPlay(14); } } } } } }; _global.e_setup = function (mc) { _global.aria_enemy_num[_global.total_enemies_remaining] = mc; }; } movieClip 6363 { frame 1 { stop(); } } instance of movieClip 6363 { onClipEvent (load) { if (_global.suimay_quest == 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } button 6365 { on (release) { _global.shoot(this); } } movieClip 6366 { } movieClip 6367 { frame 1 { stop(); } frame 31 { gotoAndStop(1); } } movieClip 6368 { frame 1 { stop(); } frame 100 { stop(); } } movieClip 6424 { frame 1 { stop(); if (random(_global.randomx) == 0) { this.gotoAndStop(23); } else { ++_global.total_enemies_remaining; _global.e_setup(this); HP = 100; } } instance enemybar of movieClip 6368 { onClipEvent (load) { this.gotoAndStop(_parent.HP); } onClipEvent (enterFrame) { this.gotoAndStop(_parent.HP); } } frame 7 { if (HP > 0) { this.gotoAndPlay(16); } } frame 8 { --_global.total_enemies_remaining; } frame 15 { stop(); } frame 22 { gotoAndStop(2); } } movieClip 6438 { frame 1 { stop(); if (random(_global.randomx) == 0) { this.gotoAndStop(23); } else { ++_global.total_enemies_remaining; _global.e_setup(this); HP = 100; } } instance enemybar of movieClip 6368 { onClipEvent (load) { this.gotoAndStop(_parent.HP); } onClipEvent (enterFrame) { this.gotoAndStop(_parent.HP); } } frame 7 { if (HP > 0) { this.gotoAndPlay(16); } } frame 8 { --_global.total_enemies_remaining; } frame 15 { stop(); } frame 22 { gotoAndStop(2); } } movieClip 6480 { frame 1 { stop(); if (random(_global.randomx) == 0) { this.gotoAndStop(23); } else { ++_global.total_enemies_remaining; _global.e_setup(this); HP = 100; } } instance enemybar of movieClip 6368 { onClipEvent (load) { this.gotoAndStop(_parent.HP); } onClipEvent (enterFrame) { this.gotoAndStop(_parent.HP); } } frame 7 { if (HP > 0) { this.gotoAndPlay(16); } } frame 8 { --_global.total_enemies_remaining; } frame 15 { stop(); } frame 22 { gotoAndStop(2); } } movieClip 6483 { } movieClip 6484 { frame 1 { stop(); } frame 2 { var a = 1; while (a < 23) { if (_root['en_' + a]._currentframe != 15 && _root['en_' + a]._currentframe != 23) { _root['en_' + a].HP -= _global.mlaws_damage; if (random(5) == 0) { _root['en_' + a].HP = 0; } if (_root['en_' + a].HP <= 0) { _root['en_' + a].HP = 0; _root['en_' + a].gotoAndPlay(2); } } ++a; } play(); } frame 32 { gotoAndStop(1); } } movieClip 6485 { frame 1 { stop(); } frame 7 { gotoAndStop(1); } frame 13 { gotoAndStop(1); } frame 19 { gotoAndStop(1); } } movieClip 6487 { } movieClip 6490 { frame 1 { stop(); } } movieClip 6492 { } movieClip 6493 { frame 1 { stop(); } instance of movieClip 6490 { onClipEvent (load) { if (_global.phia_distract > 0) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } onClipEvent (enterFrame) { if (_global.phia_distract > 0) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } movieClip 6494 { } movieClip 6495 { frame 1 { stop(); } instance of movieClip 6493 { onClipEvent (load) { if (_global.aria_girl == 1) { this.gotoAndStop(1); } else { if (_global.aria_girl == 2) { this.gotoAndStop(2); } else { if (_global.aria_girl == 7) { this.gotoAndStop(3); } } } } } } movieClip 6496 { } movieClip 6497 { instance of movieClip 6496 { onClipEvent (enterFrame) { if (this.hitTest(_root.char.hitd) == true) { --_global.girl_life; } } } instance of movieClip 6496 { onClipEvent (enterFrame) { if (this.hitTest(_root.char.hitd) == true) { --_global.girl_life; } } } frame 360 { gotoAndPlay(1); } frame 361 { stop(); } } instance of movieClip 6497 { onClipEvent (load) { this.gotoAndStop(361); } } movieClip 6499 { frame 1 { stop(); } frame 100 { stop(); } } instance abar of movieClip 6499 { onClipEvent (load) { } onClipEvent (enterFrame) { } } movieClip 6500 { frame 1 { stop(); } frame 100 { stop(); } } instance cursor of movieClip 96 { onClipEvent (enterFrame) { this._x = _root._xmouse; this._y = _root._ymouse; } } movieClip 6504 { frame 14 { if (_global.phia_distract == 0 || _root.char._currentframe == 2) { _global.random_target_spawn(); } if (_global.aria_girl == 7 && _global.girl_life < 100) { ++_global.girl_life; } if (_global.aria_girl == 2 && _root.char._currentframe == 2) { _global.phia_distract += 3; } if (_global.aria_girl == 2 && _root.char._currentframe != 2 && _global.phia_distract > 0) { --_global.phia_distract; if (_global.phia_distract < 0) { _global.phia_distract = 0; } } } frame 29 { if (_global.girl_life > 0 && _global.total_enemies_remaining == 0) { _global.being_raided = 0; _global.stealth = 1; _global.aria_girl_array[_global.aria_girl].combat += 5; if (_global.suimay_quest == 1) { _root.gotoAndStop(83); } else { _root.gotoAndStop(88); } } } frame 30 { _global.random_target_spawn(); if (_global.aria_girl == 7 && _global.girl_life < 100) { ++_global.girl_life; } if (_global.aria_girl == 2 && _root.char._currentframe == 2) { _global.phia_distract += 3; } if (_global.aria_girl == 2 && _root.char._currentframe != 2 && _global.phia_distract > 0) { --_global.phia_distract; if (_global.phia_distract < 0) { _global.phia_distract = 0; } } } } instance of movieClip 6504 { onClipEvent (load) { if (_global.aria_girl != 1) { _root.obar.gotoAndStop(101); } } onClipEvent (enterFrame) { if (_global.girl_life <= 0) { if (_global.aria_girl == 1) { _global.arielle_injury = 1; } if (_global.aria_girl == 2) { _global.phia_injury = 1; } if (_global.suimay_quest == 1) { _root.gotoAndStop(83); } else { _root.gotoAndStop(88); } } if (Key.isDown(37) or Key.isDown(65)) { if (_root.char._x > 200) { _root.char._x -= _global.shoot_move_speed; } } if (Key.isDown(39) or Key.isDown(68)) { if (_root.char._x < 1200) { _root.char._x += _global.shoot_move_speed; } } if (Key.isDown(40) or Key.isDown(83)) { if (_root.char.blast._currentframe == 1) { _root.char.gotoAndStop(2); } } else { _root.char.gotoAndStop(_global.charDirection); } if (_global.action_timer < 100 && (_root.char._currentframe == 1 || _root.char._currentframe == 3) && _root.char.blast._currentframe == 1) { _global.action_timer += _global.action_timer_add; if (_global.action_timer <= 0) { _global.action_timer = 0; } if (_global.action_timer > 100) { _global.action_timer = 100; } } if (_global.action_timer == 100 && _global.overload_timer < 100 && (_root.char._currentframe == 1 || _root.char._currentframe == 3) && _root.obar._currentframe < 101) { ++_global.overload_timer; } _root.abar.gotoAndStop(_global.action_timer); _root.lb.gotoAndStop(_global.girl_life + 1); _root.hp = _global.girl_life; if (_global.aria_girl == 1) { _root.obar.gotoAndStop(_global.overload_timer); } } } movieClip 6505 { frame 1 { stop(); } frame 1 { stext.stext.story_text = 'Jeo: Looks like we got raided. There is a lot missing.'; } frame 2 { stext.stext.story_text = 'Jeo: I need to make sure Arielle and Phia defend the ship from the HANGAR when there is a warning on the ENEMY SHIP window.'; } frame 3 { _global.raid_flag = 0; _root.gotoAndStop(6); } }




http://swfchan.com/35/172954/info.shtml
Created: 8/8 -2019 11:45:09 Last modified: 8/8 -2019 11:45:09 Server time: 28/04 -2024 22:13:35