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

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

Bullet LAB - avoid the bullets and survive the mayhem.swf

This is the info page for
Flash #90384

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


Text
Survive!

Nothing

?

Seeing Green

Seeing Yellow

Seeing Blue

Seeing Purple

Seeing Red

Surviver!

LvL 1

Big spender

$$$

Enjoyable

5 min.

Great!

15min.

Addicted

45min.

Formula 1
racer!

No friction, no
fun.

100 meter
dash.

10 completed
levels

35 completed
levels

70 completed
levels

Easy
completed

Medium
completed

Hard
completed

Extreme
completed

Achievement!

<p align="center"><font face="Agency FB" size="30" color="#ffffff" letterSpacing="1.000000" kerning="0">16</font></p>

Game paused

Press P  to continue.

I am ready.

I am ready.

styxtwo logo

Get me the hell
out of here!

Do you consent to a series of terrifying tests?

TestSubject 59

BulletLAB

Easy and medium are recommended for first time subjects.

Easy

Extreme

Hard

Medium

Buy

Speed

Friction

Acceleration

Money:

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

Achievements

Try hard or extreme for a real challenge!

<p align="left"></p>

<p align="left"></p>

<p align="left"></p>

<p align="left"><font face="Agency FB" size="14" color="#ffffff" letterSpacing="1.000000" kerning="0">hallo</font></p>

Lives:

Time left:

<p align="left"></p>

Money:

Test:

You died. I told you so.

Upgrade

Again

Press space to restart,

Test Subject 59,
Congratulations on completing our selections of experiments. You will be paid
accordingly.
If you would like to do the tests again at a more difficult setting(More money), buy
some better test conditions, get all the achievements. Please press the Continue
button.

Continue

Menu

Levels:

<p align="left"><font face="Agency FB" size="16" color="#ffffff" letterSpacing="1.000000" kerning="0">Easy</font></p>

Press P in-game to pause,

Achievements

<p align="left"></p>

ActionScript [AS1/AS2]

Frame 1
function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version)); u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("1b5c4b09", this, 10301, true); function onEnterFrame() { bytes_loaded = Math.round(_root.getBytesLoaded()); bytes_total = Math.round(_root.getBytesTotal()); getPercent = bytes_loaded / bytes_total; _root.loadBar._width = getPercent * 100; _root.loadText = Math.round(getPercent * 100) + "%"; if (bytes_loaded == bytes_total) { loadBar.gotoAndStop(2); _root.loadBar._width = 65; xlf = true; } loadBar.onRelease = function () { if (xlf == true) { removeMovieClip(adBox); gotoAndStop (2); } }; } stop(); var CPMStarContentSpotID = "0"; System.security.allowDomain("server.cpmstar.com"); adBox.loadMovie("http://server.cpmstar.com/adviewas2.swf?contentspotid=1534Q759A030B");
Frame 2
stopAllSounds(); removeMovieClip(adBox); A = SharedObject.getLocal("achilpa"); achievement_complete = A.data.achievement_complete; if (achievement_complete == undefined) { achievement_complete = new Array(); } easy_level = A.data.easy_level; if (easy_level == undefined) { easy_level = 1; } medium_level = A.data.medium_level; if (medium_level == undefined) { medium_level = 1; } hard_level = A.data.hard_level; if (hard_level == undefined) { hard_level = 1; } topspeed = A.data.topspeed; if (topspeed == undefined) { topspeed = 0; } acceleration2 = A.data.acceleration2; if (acceleration2 == undefined) { acceleration2 = 0; } friction2 = A.data.friction2; if (friction2 == undefined) { friction2 = 0; } money_amount = A.data.money_amount; if (money_amount == undefined) { money_amount = 0; } counter_totaltime = A.data.counter_totaltime; if (counter_totaltime == undefined) { counter_totaltime = 0; } total_level = A.data.total_level; if (total_level == undefined) { total_level = 0; } ac_width = 70; ac_dim = 2; ac_start_timer = 50; if (achievement_complete[8] != true) { first_upgrade = false; } play();
Frame 3
stop(); GBbut.onRelease = function () { getURL ("http://www.gameboltz.com/home.php?gameref=bulletlab", "_blank"); };
Frame 5
music2 = 100; music1 = 60; shoot_sound = 20; ac_vol = 200; hit_vol = 50; var sound_mute = false; mute_sound = new Sound(); this.createEmptyMovieClip("soundholder1", this.getNextHighestDepth()); loop1 = new Sound(soundholder1); loop1.attachSound("loop1"); loop1.setVolume(music1); loop1.start(0, 20000); this.createEmptyMovieClip("soundholder2", this.getNextHighestDepth()); loop2 = new Sound(soundholder2); loop2.attachSound("loop2"); loop2.start(0, 20000); loop2.setVolume(0); this.createEmptyMovieClip("soundholder3", this.getNextHighestDepth()); shoot = new Sound(soundholder3); shoot.attachSound("shoot"); shoot.setVolume(50); this.createEmptyMovieClip("soundholder4", this.getNextHighestDepth()); ac_sound = new Sound(soundholder4); ac_sound.attachSound("ac_sound"); ac_sound.setVolume(ac_vol); this.createEmptyMovieClip("soundholder5", this.getNextHighestDepth()); hit_sound = new Sound(soundholder5); hit_sound.attachSound("hit_sound"); hit_sound.setVolume(hit_vol); mute_sound.setVolume(50); nextFrame(); muteBut.gotoAndStop(1);
Frame 6
function tower1_() { i = 1; while (i <= tower_amount_1) { if (this["tower_1_" + i]._alpha < 50) { this["tower_1_" + i]._alpha++; } this["tower_1_" + i].timer--; if (this["tower_1_" + i].timer < 0) { this["tower_1_" + i].timer = tower_1_timer; attachMovie("bullet2_", "bullet1_" + bullet1number, getNextHighestDepth(), {_x:this["tower_1_" + i]._x, _y:this["tower_1_" + i]._y}); this["bullet1_" + bullet1number]._alpha = 50; if ((i == 1) || (i == 3)) { this["bullet1_" + bullet1number].mov_dir = 1; } if ((i == 2) || (i == 4)) { this["bullet1_" + bullet1number].mov_dir = 2; } bullets1.push(bullet1number); bullet1number++; } i++; } } function bullet1_() { for (i in bullets1) { if (this["bullet1_" + bullets1[i]].mov_dir == 1) { this["bullet1_" + bullets1[i]]._x = this["bullet1_" + bullets1[i]]._x + bullet1_speed; } if (this["bullet1_" + bullets1[i]].mov_dir == 2) { this["bullet1_" + bullets1[i]]._x = this["bullet1_" + bullets1[i]]._x - bullet1_speed; } if ((((this["bullet1_" + bullets1[i]]._x > 550) || (this["bullet1_" + bullets1[i]]._x < 0)) || (this["bullet1_" + bullets1[i]]._y < 0)) || (this["bullet1_" + bullets1[i]]._y > 400)) { removeMovieClip(this["bullet1_" + bullets1[i]]); bullets1.splice(i, 1); } } } function remove_all() { i2 = 1; while (i2 <= 5) { for (i3 in this["bullets" + i2]) { curvar = this["bullets" + [i2]][i3]; removeMovieClip(this[(("bullet" + i2) + "_") + curvar]); this["bullets" + i2].splice(i3, 1); } i = 0; while (i <= 50) { removeMovieClip(this[(("tower_" + i2) + "_") + i]); i++; } i2++; } } function onEnterFrame() { counter_totaltime++; tower1_(); bullet1_(); if (back_button.hitTest(_xmouse, _ymouse, true)) { startfade = true; } if (startfade == true) { back_button._alpha = back_button._alpha - 2; } } stop(); back_button._alpha = 100; startfade = false; play_button.onRelease = function () { gotoAndStop (7); remove_all(); }; create = true; bullets1 = new Array(); bullet1number = 0; tower_1_timer = 80; if (create == true) { create = false; tower_amount_1 = 1; attachMovie("tower_2_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:15, _y:150}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_2_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:535, _y:150}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_2_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:15, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_2_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:535, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; bullet1_speed = 1; } muteBut.onRelease = function () { if (sound_mute == false) { sound_mute = true; mute_sound.setVolume(0); muteBut.gotoAndStop(2); } else { sound_mute = false; mute_sound.setVolume(50); muteBut.gotoAndStop(1); } };
Frame 7
function tower1_() { i = 1; while (i <= tower_amount_1) { if (this["tower_1_" + i]._alpha < 50) { this["tower_1_" + i]._alpha++; } this["tower_1_" + i].timer--; if (this["tower_1_" + i].timer < 0) { this["tower_1_" + i].timer = tower_1_timer; attachMovie(("bullet" + i) + "_", "bullet1_" + bullet1number, getNextHighestDepth(), {_x:this["tower_1_" + i]._x, _y:this["tower_1_" + i]._y}); this["bullet1_" + bullet1number]._alpha = 50; if (i == 1) { this["bullet1_" + bullet1number].mov_dir = 1; } if (i == 2) { this["bullet1_" + bullet1number].mov_dir = 3; } if (i == 3) { this["bullet1_" + bullet1number].mov_dir = 4; } if (i == 4) { this["bullet1_" + bullet1number].mov_dir = 2; } bullets1.push(bullet1number); bullet1number++; } i++; } } function bullet1_() { for (i in bullets1) { if (this["bullet1_" + bullets1[i]].mov_dir == 1) { this["bullet1_" + bullets1[i]]._x = this["bullet1_" + bullets1[i]]._x + bullet1_speed; } if (this["bullet1_" + bullets1[i]].mov_dir == 2) { this["bullet1_" + bullets1[i]]._x = this["bullet1_" + bullets1[i]]._x - bullet1_speed; } if (this["bullet1_" + bullets1[i]].mov_dir == 3) { this["bullet1_" + bullets1[i]]._y = this["bullet1_" + bullets1[i]]._y + bullet1_speed; } if (this["bullet1_" + bullets1[i]].mov_dir == 4) { this["bullet1_" + bullets1[i]]._y = this["bullet1_" + bullets1[i]]._y - bullet1_speed; } if ((((this["bullet1_" + bullets1[i]]._x > 550) || (this["bullet1_" + bullets1[i]]._x < 0)) || (this["bullet1_" + bullets1[i]]._y < 0)) || (this["bullet1_" + bullets1[i]]._y > 400)) { removeMovieClip(this["bullet1_" + bullets1[i]]); bullets1.splice(i, 1); } } } function remove_all() { removeMovieClip(achievement); i2 = 1; while (i2 <= 4) { i = 1; while (i <= 10) { removeMovieClip(_root[(("upgradester_" + i2) + "_") + i]); i++; } i2++; } i2 = 1; while (i2 <= 5) { for (i3 in this["bullets" + i2]) { curvar = this["bullets" + [i2]][i3]; removeMovieClip(this[(("bullet" + i2) + "_") + curvar]); this["bullets" + i2].splice(i3, 1); } i = 0; while (i <= 50) { removeMovieClip(this[(("tower_" + i2) + "_") + i]); i++; } i2++; } } function Ac() { if (achievement_complete[r] != true) { achievement_complete[r] = true; if (sound_mute == false) { ac_sound.setVolume(ac_vol); ac_sound.start(0, 1); } A.data.achievement_complete = achievement_complete; attachMovie("achievement", "achievement", getNextHighestDepth(), {_x:400, _y:250, _alpha:0, width:ac_width, height:ac_width}); achievement.gotoAndStop(r); a_timer = ac_start_timer; up = true; } if (up == true) { achievement._alpha = achievement._alpha + (ac_dim * ac_dim); if (achievement._alpha > 99) { up = false; } } else if (achievement._alpha > 5) { a_timer--; if (a_timer < 0) { achievement._alpha = achievement._alpha - ac_dim; } } else { removeMovieClip(achievement); } } function onEnterFrame() { Ac(); counter_totaltime++; if ((counter_totaltime / 45) > 300) { r = 9; Ac(); } if ((counter_totaltime / 45) > 900) { r = 10; Ac(); } if ((counter_totaltime / 45) > 2700) { r = 11; Ac(); } tower1_(); bullet1_(); modehover = false; if (easy.hitTest(_xmouse, _ymouse, true)) { gametype = "easy"; modehover = true; on_hoover = "Easy mode. 5 lives per level. 1x money multiplier."; lives = 5; } if (medium.hitTest(_xmouse, _ymouse, true)) { gametype = "medium"; modehover = true; on_hoover = "Medium mode. 1 life per level. 2x money multiplier."; lives = 1; } if (hard.hitTest(_xmouse, _ymouse, true)) { gametype = "hard"; modehover = true; on_hoover = "Hard mode. 1 life per level. 5x money multiplier. Double speed!"; lives = 1; } if (extreme.hitTest(_xmouse, _ymouse, true)) { if (((achievement_complete[18] == true) || (achievement_complete[19] == true)) || (achievement_complete[20] == true)) { gametype = "extreme"; on_hoover = "What are you insane? Only one live for the whole game! 10x money multiplier. Double speed!"; lives = 1; } else { on_hoover = "Complete any of the other difficulties to play extreme mode!"; } modehover = true; } if (modehover == false) { on_hoover = ""; } hover2 = false; speed_cost = Math.round(Math.pow(1.6, topspeed + 4) + 10); if (buy_speed.hitTest(_xmouse, _ymouse, true)) { hover2 = true; cost_speed = "$" + speed_cost; if (topspeed >= 10) { cost_speed = "$-"; } } else { cost_speed = ""; } friction_cost = Math.round(Math.pow(1.6, friction2 + 4) + 10); if (buy_friction.hitTest(_xmouse, _ymouse, true)) { hover2 = true; cost_friction = "$" + friction_cost; if (friction2 >= 10) { cost_friction = "$-"; } } else { cost_friction = ""; } accel_cost = Math.round(Math.pow(1.6, acceleration2 + 4) + 10); if (buy_accel.hitTest(_xmouse, _ymouse, true)) { hover2 = true; cost_accelerate = "$" + accel_cost; if (acceleration2 >= 10) { cost_accelerate = "$-"; } } else { cost_accelerate = ""; } if (hover2 == false) { not_enough_money = ""; } money_amount2 = "$" + money_amount; } on_hoover = ""; stop(); GBbut.onRelease = function () { getURL ("http://www.gameboltz.com/home.php?gameref=bulletlab", "_blank"); }; easy.onRelease = function () { remove_all(); gotoAndStop (11); }; easy.onRelease = function () { remove_all(); gotoAndStop (11); }; medium.onRelease = function () { remove_all(); gotoAndStop (11); }; hard.onRelease = function () { remove_all(); gotoAndStop (11); }; if (((achievement_complete[18] == true) || (achievement_complete[19] == true)) || (achievement_complete[20] == true)) { extreme._alpha = 100; } else { extreme._alpha = 40; } extreme.onRelease = function () { if (((achievement_complete[18] == true) || (achievement_complete[19] == true)) || (achievement_complete[20] == true)) { _root.loop1.setVolume(0); _root.loop2.setVolume(music2); remove_all(); level = 1; gotoAndStop (8); } }; i2 = 1; while (i2 <= 3) { i = 1; while (i <= 10) { attachMovie("upgradester", (("upgradester_" + i2) + "_") + i, getNextHighestDepth(), {_x:115 + (27 * i), _y:235 + (25 * i2)}); if (i2 == 1) { if (topspeed >= i) { this[(("upgradester_" + i2) + "_") + i].gotoAndStop(2); } } if (i2 == 2) { if (friction2 >= i) { this[(("upgradester_" + i2) + "_") + i].gotoAndStop(2); } } if (i2 == 3) { if (acceleration2 >= i) { this[(("upgradester_" + i2) + "_") + i].gotoAndStop(2); } } i++; } i2++; } create = true; bullets1 = new Array(); bullet1number = 0; tower_1_timer = 40; if (create == true) { create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:15, _y:15}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_2_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:535, _y:15}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_3_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:15, _y:385}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_4_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:535, _y:385}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; bullet1_speed = 2; } r = 1; A.data.counter_totaltime = counter_totaltime; buy_speed.onRelease = function () { if (topspeed < 10) { if (money_amount >= speed_cost) { if (first_upgrade == false) { r = 8; if (achievement_complete[r] != true) { achievement_complete[r] = true; if (sound_mute == false) { ac_sound.setVolume(ac_vol); ac_sound.start(0, 1); } A.data.achievement_complete = achievement_complete; attachMovie("achievement", "achievement", getNextHighestDepth(), {_x:400, _y:250, _alpha:0, width:ac_width, height:ac_width}); achievement.gotoAndStop(r); a_timer = ac_start_timer; up = true; } first_upgrade = true; } if (up == true) { achievement._alpha = achievement._alpha + (ac_dim * ac_dim); if (achievement._alpha > 99) { up = false; } } else if (achievement._alpha > 5) { a_timer--; if (a_timer < 0) { achievement._alpha = achievement._alpha - ac_dim; } } else { removeMovieClip(achievement); } money_amount = money_amount - speed_cost; A.data.money_amount = money_amount; _root["upgradester_1_" + (topspeed + 1)].gotoAndStop(2); topspeed++; A.data.topspeed = topspeed; } else { not_enough_money = "Not enough money!"; } } if (topspeed == 10) { r = 12; } }; buy_friction.onRelease = function () { if (friction2 < 10) { if (money_amount >= friction_cost) { if (first_upgrade == false) { r = 8; if (achievement_complete[r] != true) { achievement_complete[r] = true; if (sound_mute == false) { ac_sound.setVolume(ac_vol); ac_sound.start(0, 1); } A.data.achievement_complete = achievement_complete; attachMovie("achievement", "achievement", getNextHighestDepth(), {_x:400, _y:250, _alpha:0, width:ac_width, height:ac_width}); achievement.gotoAndStop(r); a_timer = ac_start_timer; up = true; } first_upgrade = true; } if (up == true) { achievement._alpha = achievement._alpha + (ac_dim * ac_dim); if (achievement._alpha > 99) { up = false; } } else if (achievement._alpha > 5) { a_timer--; if (a_timer < 0) { achievement._alpha = achievement._alpha - ac_dim; } } else { removeMovieClip(achievement); } money_amount = money_amount - friction_cost; A.data.money_amount = money_amount; _root["upgradester_2_" + (friction2 + 1)].gotoAndStop(2); friction2++; A.data.friction2 = friction2; } else { not_enough_money = "Not enough money!"; } if (friction2 == 10) { r = 13; } } }; buy_accel.onRelease = function () { if (acceleration2 < 10) { if (money_amount >= accel_cost) { if (first_upgrade == false) { r = 8; if (achievement_complete[r] != true) { achievement_complete[r] = true; if (sound_mute == false) { ac_sound.setVolume(ac_vol); ac_sound.start(0, 1); } A.data.achievement_complete = achievement_complete; attachMovie("achievement", "achievement", getNextHighestDepth(), {_x:400, _y:250, _alpha:0, width:ac_width, height:ac_width}); achievement.gotoAndStop(r); a_timer = ac_start_timer; up = true; } first_upgrade = true; } if (up == true) { achievement._alpha = achievement._alpha + (ac_dim * ac_dim); if (achievement._alpha > 99) { up = false; } } else if (achievement._alpha > 5) { a_timer--; if (a_timer < 0) { achievement._alpha = achievement._alpha - ac_dim; } } else { removeMovieClip(achievement); } money_amount = money_amount - accel_cost; A.data.money_amount = money_amount; _root["upgradester_3_" + (acceleration2 + 1)].gotoAndStop(2); acceleration2++; A.data.acceleration2 = acceleration2; } else { not_enough_money = "Not enough money!"; } } if (acceleration2 == 10) { r = 14; } }; goodjob_button.onRelease = function () { gotoAndStop (12); remove_all(); };
Frame 8
function playermovement() { if (player._x > 535) { player._x = 535; } if (player._x < 15) { player._x = 15; } if (player._y > 365) { player._y = 365; } if (player._y < 35) { player._y = 35; } calculated_topspeed = top_speed * ((topspeed * 0.04) + 0.6); calculated_accel = acceleration * ((acceleration2 * 0.07) + 0.3); calculated_friction = friction - (friction2 * 0.02); no_key_down_y = true; no_key_down_x = true; if (Key.isDown(87) || (Key.isDown(38))) { if (player_y_speed >= (-calculated_topspeed)) { player_y_speed = player_y_speed - calculated_accel; } no_key_down_y = false; } if (Key.isDown(65) || (Key.isDown(37))) { if (player_x_speed >= (-calculated_topspeed)) { player_x_speed = player_x_speed - calculated_accel; } no_key_down_x = false; } if (Key.isDown(83) || (Key.isDown(40))) { if (player_y_speed <= calculated_topspeed) { player_y_speed = player_y_speed + calculated_accel; } no_key_down_y = false; } if (Key.isDown(68) || (Key.isDown(39))) { if (player_x_speed <= calculated_topspeed) { player_x_speed = player_x_speed + calculated_accel; } no_key_down_x = false; } if (no_key_down_y == true) { player_y_speed = player_y_speed * calculated_friction; } if (no_key_down_x == true) { player_x_speed = player_x_speed * calculated_friction; } player._x = player._x + player_x_speed; player._y = player._y + player_y_speed; } function level1() { if (create == true) { bullet_5_explo = 200; gen_timer = 20 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:100, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; } if (tower_amount_1 > 0) { tower1_(); } r = 2; Ac(); } function level2() { if (create == true) { bullet_5_explo = 200; gen_timer = 20 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:150, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:400, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 3; } if (tower_amount_1 > 0) { tower1_(); } } function level3() { if (create == true) { bullet_5_explo = 200; gen_timer = 20 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:150, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:400, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 5; } if (tower_amount_1 > 0) { tower1_(); } } function level4() { if (create == true) { bullet_5_explo = 200; gen_timer = 20 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:20, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:530, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:530, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:20, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 3; } if (tower_amount_1 > 0) { tower1_(); } } function level5() { if (create == true) { bullet_5_explo = 200; gen_timer = 20 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:150, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:400, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 2; tower_1_timer = 3; } if (tower_amount_1 > 0) { tower1_(); } } function level6() { if (create == true) { bullet_5_explo = 200; gen_timer = 20 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:20, _y:20}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:530, _y:20}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:530, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:20, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 5; tower_1_timer = 40; } if (tower_amount_1 > 0) { tower1_(); } } function level7() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 20 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:20, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:530, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:530, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:20, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 1.5; tower_1_timer = 10; } if (tower_amount_1 > 0) { tower1_(); } } function level8() { top_speed = 2; if (create == true) { bullet_5_explo = 200; gen_timer = 20 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:150, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:400, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 4; } if (tower_amount_1 > 0) { tower1_(); } } function level9() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 20 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:150, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:400, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 2; tower_1_timer = 40; tower_amount_3 = 1; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:275, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_3_timer = 20; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_3 > 0) { tower3_(); } r = 4; Ac(); } function level10() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 20 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:150, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:400, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 3; tower_amount_3 = 1; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:250, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:150, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:350, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:450, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; bullet2_speed = 3; tower_3_timer = 30; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_3 > 0) { tower3_(); } } function level11() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:10, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:540, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 2; tower_1_timer = 30; tower_amount_3 = 1; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:40, _y:50}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:40, _y:350}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:500, _y:50}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:500, _y:350}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_3_timer = 15; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_3 > 0) { tower3_(); } } function level12() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:10, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:540, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:10, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:540, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 2; tower_1_timer = 30; tower_amount_3 = 1; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:40, _y:50}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:40, _y:350}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:500, _y:50}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:500, _y:350}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_3_timer = 15; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_3 > 0) { tower3_(); } } function level13() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:10, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:540, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:10, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:540, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 3; tower_amount_3 = 1; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:100, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:100, _y:300}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:400, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:400, _y:300}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_3_timer = 8; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_3 > 0) { tower3_(); } } function level14() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:10, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:540, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:10, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:540, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 6; tower_amount_3 = 1; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:100, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:100, _y:300}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:400, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:400, _y:300}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_3_timer = 8; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_3 > 0) { tower3_(); } } function level15() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:265, _y:330}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 2; i = 0; while (i <= 28) { attachMovie("tower_3_", "tower_3_" + i, getNextHighestDepth(), {_x:(20 * i) - 10, _y:350}); this["tower_3_" + i].timer = tower_3_timer; this["tower_3_" + i]._alpha = 0; i++; } tower_3_timer = 40; tower_amount_3 = 28; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_3 > 0) { tower3_(); } } function level16() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_2 = 1; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:240, _y:340}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; bullet2_speed = 2; tower_2_timer = 100; } if (tower_amount_2 > 0) { tower2_(); } r = 3; Ac(); } function level17() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_2 = 1; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:30, _y:50}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_amount_2++; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:30, _y:350}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_amount_2++; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:520, _y:50}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_amount_2++; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:520, _y:350}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_amount_2++; bullet2_speed = 2; tower_2_timer = 150; } if (tower_amount_2 > 0) { tower2_(); } } function level18() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_2 = 1; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:10, _y:50}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_amount_2++; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:540, _y:50}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; bullet2_speed = 3; tower_2_timer = 100; tower_amount_3 = 1; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:40, _y:50}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:40, _y:350}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:500, _y:50}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:500, _y:350}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_3_timer = 8; } if (tower_amount_2 > 0) { tower2_(); } if (tower_amount_3 > 0) { tower3_(); } } function level19() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_2 = 1; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:265, _y:350}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; bullet2_speed = 3.5; tower_2_timer = 100; tower_amount_3 = 1; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:100, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:100, _y:300}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:400, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:400, _y:300}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_3_timer = 40; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_2 > 0) { tower2_(); } if (tower_amount_3 > 0) { tower3_(); } } function level20() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_2 = 1; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:10, _y:50}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_amount_2++; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:540, _y:50}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_amount_2++; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:10, _y:350}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_amount_2++; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:540, _y:350}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; bullet2_speed = 3; tower_2_timer = 100; tower_amount_3 = 1; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:40, _y:50}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:40, _y:350}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:500, _y:50}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:500, _y:350}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:265, _y:350}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_3_timer = 8; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_2 > 0) { tower2_(); } if (tower_amount_3 > 0) { tower3_(); } } function level21() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_2 = 1; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:240, _y:330}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_2_timer = 100; bullet2_speed = 1; i = 0; while (i <= 28) { attachMovie("tower_3_", "tower_3_" + i, getNextHighestDepth(), {_x:(20 * i) - 10, _y:350}); this["tower_3_" + i].timer = tower_3_timer; this["tower_3_" + i]._alpha = 0; i++; } tower_amount_3 = 28; tower_3_timer = 40; } if (tower_amount_2 > 0) { tower2_(); } if (tower_amount_3 > 0) { tower3_(); } } function level22() { if (create == true) { bullet_5_explo = 200; gen_timer = 20 * framerate; create = false; i = 0; while (i <= 28) { attachMovie("tower_4_", "tower_4_" + i, getNextHighestDepth(), {_x:(40 * i) - 30, _y:50}); this["tower_4_" + i].timer = tower_4_timer; this["tower_4_" + i]._alpha = 0; i++; } tower_amount_4 = 14; tower_4_timer = 15; bullet4_speed = 15; } if (tower_amount_4 > 0) { tower4_(); } r = 5; Ac(); } function level23() { if (create == true) { top_speed = 5; bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; i = 0; while (i <= 14) { attachMovie("tower_4_", "tower_4_" + i, getNextHighestDepth(), {_x:(40 * i) - 10, _y:50}); this["tower_4_" + i].timer = tower_4_timer; this["tower_4_" + i]._alpha = 0; i++; } tower_amount_4 = 14; tower_4_timer = 50; bullet4_speed = 1; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:150, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:350, _y:200}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_1_timer = 40; bullet1_speed = 2; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_4 > 0) { tower4_(); } } function level24() { if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; i = 0; while (i <= 14) { attachMovie("tower_4_", "tower_4_" + i, getNextHighestDepth(), {_x:(40 * i) - 10, _y:50}); this["tower_4_" + i].timer = tower_4_timer; this["tower_4_" + i]._alpha = 0; i++; } tower_amount_4 = 14; tower_4_timer = 50; bullet4_speed = 0.5; tower_amount_2 = 1; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:265, _y:200}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_2_timer = 100; bullet2_speed = 2; } if (tower_amount_2 > 0) { tower2_(); } if (tower_amount_4 > 0) { tower4_(); } } function level25() { if (create == true) { bullet_5_explo = 150; gen_timer = 30 * framerate; create = false; tower_amount_5 = 1; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:265, _y:190}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_5_timer = 40; bullet5_speed = 1; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:10, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:10, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:540, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:540, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_1_timer = 40; bullet1_speed = 2; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_5 > 0) { tower5_(); } r = 6; Ac(); } function level26() { if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_5 = 1; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:10, _y:50}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_amount_5++; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:10, _y:350}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_amount_5++; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:540, _y:50}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_amount_5++; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:540, _y:350}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_5_timer = 100; bullet5_speed = 2; tower_amount_2 = 1; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:265, _y:190}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_2_timer = 100; bullet2_speed = 2; } if (tower_amount_5 > 0) { tower5_(); } if (tower_amount_2 > 0) { tower2_(); } } function level27() { if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; i = 0; while (i <= 28) { attachMovie("tower_5_", "tower_5_" + i, getNextHighestDepth(), {_x:(20 * i) - 10, _y:50}); this["tower_5_" + i].timer = tower_5_timer; this["tower_5_" + i]._alpha = 0; i++; } tower_amount_5 = 28; tower_5_timer = 100; bullet5_speed = 0.5; bullet3_speed = 4; } if (tower_amount_5 > 0) { tower5_(); } } function level28() { if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_5 = 1; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:10, _y:50}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_amount_5++; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:10, _y:350}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_amount_5++; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:540, _y:50}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_amount_5++; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:540, _y:350}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_5_timer = 100; bullet5_speed = 2; i = 0; while (i <= 28) { attachMovie("tower_3_", "tower_3_" + i, getNextHighestDepth(), {_x:(20 * i) - 10, _y:330}); this["tower_3_" + i].timer = tower_3_timer; this["tower_3_" + i]._alpha = 0; i++; } tower_amount_3 = 28; tower_3_timer = 40; } if (tower_amount_5 > 0) { tower5_(); } if (tower_amount_3 > 0) { tower3_(); } } function level29() { if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; i = 0; while (i <= 28) { attachMovie("tower_1_", "tower_1_" + i, getNextHighestDepth(), {_x:(20 * i) - 10, _y:50}); this["tower_1_" + i].timer = tower_1_timer; this["tower_1_" + i]._alpha = 0; i++; } tower_amount_1 = 56; tower_1_timer = 20; bullet1_speed = 4; } if (tower_amount_1 > 0) { tower1_(); } } function level30() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:265, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 2; tower_1_timer = 20; tower_amount_2 = 1; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:10, _y:50}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_amount_2++; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:540, _y:50}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_amount_2++; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:10, _y:350}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_amount_2++; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:540, _y:350}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; bullet2_speed = 2; tower_2_timer = 150; tower_amount_3 = 1; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:100, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:100, _y:300}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:400, _y:100}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_amount_3++; attachMovie("tower_3_", "tower_3_" + tower_amount_3, getNextHighestDepth(), {_x:400, _y:300}); this["tower_3_" + tower_amount_3].timer = tower_3_timer; this["tower_3_" + tower_amount_3]._alpha = 0; tower_3_timer = 8; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_2 > 0) { tower2_(); } if (tower_amount_3 > 0) { tower3_(); } } function level31() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:265, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 2; tower_1_timer = 5; tower_amount_5 = 1; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:10, _y:50}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_amount_5++; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:10, _y:350}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_amount_5++; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:540, _y:50}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_amount_5++; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:540, _y:350}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; tower_5_timer = 40; bullet5_speed = 2; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_5 > 0) { tower5_(); } } function level32() { top_speed = 5; if (create == true) { bullet_5_explo = 200; gen_timer = 30 * framerate; create = false; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:20, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:20, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:530, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:530, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 2; tower_1_timer = 10; tower_amount_2 = 1; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:265, _y:190}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; bullet2_speed = 3; tower_2_timer = 150; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_2 > 0) { tower2_(); } } function level33() { top_speed = 5; if (create == true) { bullet_5_explo = 100; gen_timer = 30 * framerate; create = false; tower_amount_5 = 1; attachMovie("tower_5_", "tower_5_" + tower_amount_5, getNextHighestDepth(), {_x:265, _y:200}); this["tower_5_" + tower_amount_5].timer = tower_5_timer; this["tower_5_" + tower_amount_5]._alpha = 0; bullet5_speed = 2; tower_5_timer = 10; tower_amount_1 = 1; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:20, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:20, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:530, _y:50}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; tower_amount_1++; attachMovie("tower_1_", "tower_1_" + tower_amount_1, getNextHighestDepth(), {_x:530, _y:350}); this["tower_1_" + tower_amount_1].timer = tower_1_timer; this["tower_1_" + tower_amount_1]._alpha = 0; bullet1_speed = 2; tower_1_timer = 20; } if (tower_amount_1 > 0) { tower1_(); } if (tower_amount_5 > 0) { tower5_(); } } function level34() { top_speed = 5; if (create == true) { bullet_5_explo = 100; gen_timer = 30 * framerate; create = false; i = 1; while (i <= 27) { attachMovie("tower_3_", "tower_3_" + i, getNextHighestDepth(), {_x:(20 * i) - 10, _y:365}); this["tower_3_" + i].timer = tower_3_timer; this["tower_3_" + i]._alpha = 0; i++; } i2 = 28; while (i2 <= 44) { attachMovie("tower_3_", "tower_3_" + i2, getNextHighestDepth(), {_x:535, _y:(20 * (i2 - 27)) + 10}); this["tower_3_" + i2].timer = tower_3_timer; this["tower_3_" + i2]._alpha = 0; i2++; } tower_amount_3 = 45; tower_3_timer = 30; bullet3_speed = 2; } if (tower_amount_3 > 0) { tower3_(); } } function level35() { if (create == true) { top_speed = 5; bullet_5_explo = 100; gen_timer = 30 * framerate; create = false; tower_amount_2 = 1; attachMovie("tower_2_", "tower_2_" + tower_amount_2, getNextHighestDepth(), {_x:265, _y:200}); this["tower_2_" + tower_amount_2].timer = tower_2_timer; this["tower_2_" + tower_amount_2]._alpha = 0; tower_2_timer = 15; bullet2_speed = 3; tower_amount_4 = 1; attachMovie("tower_4_", "tower_4_" + tower_amount_4, getNextHighestDepth(), {_x:10, _y:30}); this["tower_4_" + tower_amount_4].timer = tower_4_timer; this["tower_4_" + tower_amount_4]._alpha = 0; tower_amount_4++; attachMovie("tower_4_", "tower_4_" + tower_amount_4, getNextHighestDepth(), {_x:20, _y:370}); this["tower_4_" + tower_amount_4].timer = tower_4_timer; this["tower_4_" + tower_amount_4]._alpha = 0; tower_amount_4++; attachMovie("tower_4_", "tower_4_" + tower_amount_4, getNextHighestDepth(), {_x:530, _y:30}); this["tower_4_" + tower_amount_4].timer = tower_4_timer; this["tower_4_" + tower_amount_4]._alpha = 0; tower_amount_4++; attachMovie("tower_4_", "tower_4_" + tower_amount_4, getNextHighestDepth(), {_x:530, _y:370}); this["tower_4_" + tower_amount_4].timer = tower_4_timer; this["tower_4_" + tower_amount_4]._alpha = 0; tower_4_timer = 20; bullet4_speed = 2; } if (tower_amount_2 > 0) { tower2_(); } if (tower_amount_4 > 0) { tower4_(); } } function tower1_() { i = 1; while (i <= tower_amount_1) { if (this["tower_1_" + i]._alpha < 50) { this["tower_1_" + i]._alpha++; } this["tower_1_" + i].timer--; if (this["tower_1_" + i].timer < 0) { this["tower_1_" + i].timer = tower_1_timer; attachMovie("bullet1_", "bullet1_" + bullet1number, getNextHighestDepth(), {_x:this["tower_1_" + i]._x, _y:this["tower_1_" + i]._y}); this["bullet1_" + bullet1number].xdist = this["bullet1_" + bullet1number]._x - player._x; this["bullet1_" + bullet1number].ydist = this["bullet1_" + bullet1number]._y - player._y; this["bullet1_" + bullet1number].dir = Math.atan2(this["bullet1_" + bullet1number].ydist, this["bullet1_" + bullet1number].xdist); this["bullet1_" + bullet1number]._alpha = 50; bullets1.push(bullet1number); bullet1number++; if (sound_mute == false) { shoot.setVolume(shoot_sound); shoot.start(0, 1); } } i++; } } function tower2_() { i = 1; while (i <= tower_amount_2) { if (this["tower_2_" + i]._alpha < 50) { this["tower_2_" + i]._alpha++; } this["tower_2_" + i].timer--; if (this["tower_2_" + i].timer < 0) { this["tower_2_" + i].timer = tower_2_timer; attachMovie("bullet2_", "bullet2_" + bullet2number, getNextHighestDepth(), {_x:this["tower_2_" + i]._x, _y:this["tower_2_" + i]._y}); this["bullet2_" + bullet2number]._alpha = 50; bullets2.push(bullet2number); bullet2number++; if (sound_mute == false) { shoot.setVolume(shoot_sound); shoot.start(0, 1); } } i++; } } function tower3_() { i = 1; while (i <= tower_amount_3) { if (this["tower_3_" + i]._alpha < 50) { this["tower_3_" + i]._alpha++; } this["tower_3_" + i].timer--; if (this["tower_3_" + i].timer < 0) { this["tower_3_" + i].timer = tower_3_timer; attachMovie("bullet3_", "bullet3_" + bullet3number, getNextHighestDepth(), {_x:this["tower_3_" + i]._x, _y:this["tower_3_" + i]._y}); this["bullet3_" + bullet3number].mov_dir = Math.round((Math.random() * 4) + 0.5); this["bullet3_" + bullet3number]._alpha = 50; bullets3.push(bullet3number); bullet3number++; } i++; } } function tower4_() { i = 1; while (i <= tower_amount_4) { if (this["tower_4_" + i]._alpha < 50) { this["tower_4_" + i]._alpha++; } this["tower_4_" + i].timer--; if (this["tower_4_" + i].timer < 0) { this["tower_4_" + i].timer = tower_4_timer; attachMovie("bullet4_", "bullet4_" + bullet4number, getNextHighestDepth(), {_x:this["tower_4_" + i]._x, _y:this["tower_4_" + i]._y}); this["bullet4_" + bullet4number].xdist = this["bullet4_" + bullet4number]._x - player._x; this["bullet4_" + bullet4number].ydist = this["bullet4_" + bullet4number]._y - player._y; this["bullet4_" + bullet4number].dir = Math.atan2(this["bullet4_" + bullet4number].ydist, this["bullet4_" + bullet4number].xdist); this["bullet4_" + bullet4number]._alpha = 50; bullets4.push(bullet4number); bullet4number++; if (sound_mute == false) { shoot.setVolume(shoot_sound); shoot.start(0, 1); } } i++; } } function tower5_() { i = 1; while (i <= tower_amount_5) { if (this["tower_5_" + i]._alpha < 50) { this["tower_5_" + i]._alpha++; } this["tower_5_" + i].timer--; if (this["tower_5_" + i].timer < 0) { this["tower_5_" + i].timer = tower_5_timer; attachMovie("bullet5_", "bullet5_" + bullet5number, getNextHighestDepth(), {_x:this["tower_5_" + i]._x, _y:this["tower_5_" + i]._y}); this["bullet5_" + bullet5number].xdist = this["bullet5_" + bullet5number]._x - player._x; this["bullet5_" + bullet5number].ydist = this["bullet5_" + bullet5number]._y - player._y; this["bullet5_" + bullet5number].dir = Math.atan2(this["bullet5_" + bullet5number].ydist, this["bullet5_" + bullet5number].xdist); this["bullet5_" + bullet5number].explosiontime = bullet_5_explo; this["bullet5_" + bullet5number]._alpha = 50; bullets5.push(bullet5number); bullet5number++; if (sound_mute == false) { shoot.setVolume(shoot_sound); shoot.start(0, 1); } } i++; } } function bullet1_() { for (i in bullets1) { if (this["bullet1_" + bullets1[i]]._alpha >= 50) { if ((gametype == "extreme") || (gametype == "hard")) { this["bullet1_" + bullets1[i]]._x = this["bullet1_" + bullets1[i]]._x - ((bullet1_speed * Math.cos(this["bullet1_" + bullets1[i]].dir)) * 2); this["bullet1_" + bullets1[i]]._y = this["bullet1_" + bullets1[i]]._y - ((bullet1_speed * Math.sin(this["bullet1_" + bullets1[i]].dir)) * 2); } else { this["bullet1_" + bullets1[i]]._x = this["bullet1_" + bullets1[i]]._x - (bullet1_speed * Math.cos(this["bullet1_" + bullets1[i]].dir)); this["bullet1_" + bullets1[i]]._y = this["bullet1_" + bullets1[i]]._y - (bullet1_speed * Math.sin(this["bullet1_" + bullets1[i]].dir)); } if ((((this["bullet1_" + bullets1[i]]._x > 550) || (this["bullet1_" + bullets1[i]]._x < 0)) || (this["bullet1_" + bullets1[i]]._y < 20)) || (this["bullet1_" + bullets1[i]]._y > 380)) { removeMovieClip(this["bullet1_" + bullets1[i]]); bullets1.splice(i, 1); } if (this["bullet1_" + bullets1[i]].hitTest(player._x, player._y)) { if (sound_mute == false) { hit_sound.setVolume(hit_vol); hit_sound.start(0, 1); } removeMovieClip(this["bullet1_" + bullets1[i]]); bullets1.splice(i, 1); lives--; } } } } function bullet2_() { if (bullets2.length > 10) { removeMovieClip(this["bullet2_" + bullets2[1]]); bullets2.splice(1, 1); } for (i in bullets2) { if (this["bullet2_" + bullets2[i]]._alpha >= 50) { this["bullet2_" + bullets2[i]].xdist = this["bullet2_" + bullets2[i]]._x - player._x; this["bullet2_" + bullets2[i]].ydist = this["bullet2_" + bullets2[i]]._y - player._y; this["bullet2_" + bullets2[i]].dir = Math.atan2(this["bullet2_" + bullets2[i]].ydist, this["bullet2_" + bullets2[i]].xdist); this["bullet2_" + bullets2[i]]._x = this["bullet2_" + bullets2[i]]._x - (bullet2_speed * Math.cos(this["bullet2_" + bullets2[i]].dir)); this["bullet2_" + bullets2[i]]._y = this["bullet2_" + bullets2[i]]._y - (bullet2_speed * Math.sin(this["bullet2_" + bullets2[i]].dir)); if ((((this["bullet2_" + bullets2[i]]._x > 550) || (this["bullet2_" + bullets2[i]]._x < 0)) || (this["bullet2_" + bullets2[i]]._y < 20)) || (this["bullet2_" + bullets2[i]]._y > 380)) { removeMovieClip(this["bullet2_" + bullets2[i]]); bullets2.splice(i, 1); } if (this["bullet2_" + bullets2[i]].hitTest(player._x, player._y)) { if (sound_mute == false) { hit_sound.setVolume(hit_vol); hit_sound.start(0, 1); } removeMovieClip(this["bullet2_" + bullets2[i]]); bullets2.splice(i, 1); lives--; } } } } function bullet3_() { for (i in bullets3) { if (this["bullet3_" + bullets3[i]]._alpha >= 50) { if ((level == 15) || (level == 21)) { if (this["bullet3_" + bullets3[i]].mov_dir == 1) { this["bullet3_" + bullets3[i]].mov_dir = 4; } if (this["bullet3_" + bullets3[i]].mov_dir == 2) { this["bullet3_" + bullets3[i]].mov_dir = 3; } } if ((gametype == "extreme") || (gametype == "hard")) { if (this["bullet3_" + bullets3[i]].mov_dir == 1) { this["bullet3_" + bullets3[i]]._x = this["bullet3_" + bullets3[i]]._x + (bullet3_speed * 2); } if (this["bullet3_" + bullets3[i]].mov_dir == 2) { this["bullet3_" + bullets3[i]]._x = this["bullet3_" + bullets3[i]]._x - (bullet3_speed * 2); } if (this["bullet3_" + bullets3[i]].mov_dir == 3) { this["bullet3_" + bullets3[i]]._y = this["bullet3_" + bullets3[i]]._y + (bullet3_speed * 2); } if (this["bullet3_" + bullets3[i]].mov_dir == 4) { this["bullet3_" + bullets3[i]]._y = this["bullet3_" + bullets3[i]]._y - (bullet3_speed * 2); } } else { if (this["bullet3_" + bullets3[i]].mov_dir == 1) { this["bullet3_" + bullets3[i]]._x = this["bullet3_" + bullets3[i]]._x + bullet3_speed; } if (this["bullet3_" + bullets3[i]].mov_dir == 2) { this["bullet3_" + bullets3[i]]._x = this["bullet3_" + bullets3[i]]._x - bullet3_speed; } if (this["bullet3_" + bullets3[i]].mov_dir == 3) { this["bullet3_" + bullets3[i]]._y = this["bullet3_" + bullets3[i]]._y + bullet3_speed; } if (this["bullet3_" + bullets3[i]].mov_dir == 4) { this["bullet3_" + bullets3[i]]._y = this["bullet3_" + bullets3[i]]._y - bullet3_speed; } } if ((((this["bullet3_" + bullets3[i]]._x > 550) || (this["bullet3_" + bullets3[i]]._x < 0)) || (this["bullet3_" + bullets3[i]]._y < 20)) || (this["bullet3_" + bullets3[i]]._y > 380)) { removeMovieClip(this["bullet3_" + bullets3[i]]); bullets3.splice(i, 1); } if (this["bullet3_" + bullets3[i]].hitTest(player._x, player._y)) { if (sound_mute == false) { hit_sound.setVolume(hit_vol); hit_sound.start(0, 1); } removeMovieClip(this["bullet3_" + bullets3[i]]); bullets3.splice(i, 1); lives--; } } } } function bullet4_() { for (i in bullets4) { if (this["bullet4_" + bullets4[i]]._alpha >= 50) { if ((gametype == "extreme") || (gametype == "hard")) { this["bullet4_" + bullets4[i]]._x = this["bullet4_" + bullets4[i]]._x - ((2 * bullet4_speed) * Math.cos(this["bullet4_" + bullets4[i]].dir)); this["bullet4_" + bullets4[i]]._y = this["bullet4_" + bullets4[i]]._y - ((2 * bullet4_speed) * Math.sin(this["bullet4_" + bullets4[i]].dir)); } else { this["bullet4_" + bullets4[i]]._x = this["bullet4_" + bullets4[i]]._x - (bullet4_speed * Math.cos(this["bullet4_" + bullets4[i]].dir)); this["bullet4_" + bullets4[i]]._y = this["bullet4_" + bullets4[i]]._y - (bullet4_speed * Math.sin(this["bullet4_" + bullets4[i]].dir)); } if ((((this["bullet4_" + bullets4[i]]._x > 550) || (this["bullet4_" + bullets4[i]]._x < 0)) || (this["bullet4_" + bullets4[i]]._y < 20)) || (this["bullet4_" + bullets4[i]]._y > 380)) { removeMovieClip(this["bullet4_" + bullets4[i]]); bullets4.splice(i, 1); } if (this["bullet4_" + bullets4[i]].hitTest(player._x, player._y)) { removeMovieClip(this["bullet4_" + bullets4[i]]); bullets4.splice(i, 1); top_speed = top_speed * 0.7; } } } } function bullet5_() { for (i in bullets5) { if (this["bullet5_" + bullets5[i]]._alpha >= 50) { this["bullet5_" + bullets5[i]].explosiontime--; if (this["bullet5_" + bullets5[i]].explosiontime < 0) { attachMovie("bullet3_", "bullet3_" + bullet3number, getNextHighestDepth(), {_x:this["bullet5_" + bullets5[i]]._x, _y:this["bullet5_" + bullets5[i]]._y}); this["bullet3_" + bullet3number].mov_dir = 1; this["bullet3_" + bullet3number]._alpha = 50; bullets3.push(bullet3number); bullet3number++; attachMovie("bullet3_", "bullet3_" + bullet3number, getNextHighestDepth(), {_x:this["bullet5_" + bullets5[i]]._x, _y:this["bullet5_" + bullets5[i]]._y}); this["bullet3_" + bullet3number].mov_dir = 2; this["bullet3_" + bullet3number]._alpha = 50; bullets3.push(bullet3number); bullet3number++; attachMovie("bullet3_", "bullet3_" + bullet3number, getNextHighestDepth(), {_x:this["bullet5_" + bullets5[i]]._x, _y:this["bullet5_" + bullets5[i]]._y}); this["bullet3_" + bullet3number].mov_dir = 3; this["bullet3_" + bullet3number]._alpha = 50; bullets3.push(bullet3number); bullet3number++; attachMovie("bullet3_", "bullet3_" + bullet3number, getNextHighestDepth(), {_x:this["bullet5_" + bullets5[i]]._x, _y:this["bullet5_" + bullets5[i]]._y}); this["bullet3_" + bullet3number].mov_dir = 4; this["bullet3_" + bullet3number]._alpha = 50; bullets3.push(bullet3number); bullet3number++; removeMovieClip(this["bullet5_" + bullets5[i]]); bullets5.splice(i, 1); } if ((gametype == "extreme") || (gametype == "hard")) { this["bullet5_" + bullets5[i]]._x = this["bullet5_" + bullets5[i]]._x - ((2 * bullet5_speed) * Math.cos(this["bullet5_" + bullets5[i]].dir)); this["bullet5_" + bullets5[i]]._y = this["bullet5_" + bullets5[i]]._y - ((2 * bullet5_speed) * Math.sin(this["bullet5_" + bullets5[i]].dir)); } else { this["bullet5_" + bullets5[i]]._x = this["bullet5_" + bullets5[i]]._x - (bullet5_speed * Math.cos(this["bullet5_" + bullets5[i]].dir)); this["bullet5_" + bullets5[i]]._y = this["bullet5_" + bullets5[i]]._y - (bullet5_speed * Math.sin(this["bullet5_" + bullets5[i]].dir)); } if ((((this["bullet5_" + bullets5[i]]._x > 550) || (this["bullet5_" + bullets5[i]]._x < 0)) || (this["bullet5_" + bullets5[i]]._y < 20)) || (this["bullet5_" + bullets5[i]]._y > 380)) { removeMovieClip(this["bullet5_" + bullets5[i]]); bullets5.splice(i, 1); } if (this["bullet5_" + bullets5[i]].hitTest(player._x, player._y)) { if (sound_mute == false) { hit_sound.setVolume(hit_vol); hit_sound.start(0, 1); } removeMovieClip(this["bullet5_" + bullets5[i]]); bullets5.splice(i, 1); lives--; } } } } function Ac() { if (achievement_complete[r] != true) { if (sound_mute == false) { ac_sound.setVolume(ac_vol); ac_sound.start(0, 1); } achievement_complete[r] = true; attachMovie("achievement", "achievement", getNextHighestDepth(), {_x:400, _y:250, _alpha:0, width:ac_width, height:ac_width}); achievement.gotoAndStop(r); a_timer = ac_start_timer; up = true; A.data.achievement_complete = achievement_complete; } if (up == true) { achievement._alpha = achievement._alpha + (ac_dim * ac_dim); if (achievement._alpha > 99) { up = false; } } else if (achievement._alpha > 5) { a_timer--; if (a_timer < 0) { achievement._alpha = achievement._alpha - ac_dim; } } else { removeMovieClip(achievement); } } function onEnterFrame() { counter_totaltime++; if (Key.isDown(80)) { if (pdown == true) { pdown = false; if (pause2 == false) { pausemenu._alpha = 100; pause2 = true; } else { pausemenu._alpha = 0; pause2 = false; } } } else { pdown = true; } if (pause2 == false) { Ac(); if (death == false) { gen_timer2 = Math.round(gen_timer / framerate); if (gen_timer2 < 0) { gen_timer2 = 0; } playermovement(); if (begintimer > 50) { this["level" + level](); bullet1_(); bullet2_(); bullet3_(); bullet4_(); bullet5_(); gen_timer--; if (gen_timer < 0) { timer2++; i2 = 1; while (i2 <= 5) { for (i3 in this["bullets" + i2]) { curvar = this["bullets" + [i2]][i3]; this[(("bullet" + i2) + "_") + curvar]._alpha = this[(("bullet" + i2) + "_") + curvar]._alpha - 10; if (this[(("bullet" + i2) + "_") + curvar]._alpha < 5) { removeMovieClip(this[(("bullet" + i2) + "_") + curvar]); this["bullets" + i2].splice(i3, 1); } } i = 0; while (i <= 50) { this[(("tower_" + i2) + "_") + i]._alpha = this[(("tower_" + i2) + "_") + i]._alpha - 5; if (this[(("tower_" + i2) + "_") + i]._alpha < 5) { removeMovieClip(this[(("tower_" + i2) + "_") + i]); } i++; } i2++; } if (play_survive == true) { r = 7; total_level++; A.data.total_level = total_level; if (total_level > 10) { r = 15; } if (total_level > 35) { r = 16; } if (total_level > 70) { r = 17; } Ac(); money_amount = money_amount + ((1 * level) * multiplier); A.data.money_amount = money_amount; money2 = "$" + money_amount; top_speed = 5; Comment = commentaar[level + 1]; if (gametype == "easy") { lives = 5; easy_level = level + 1; A.data.easy_level = easy_level; } if (gametype == "medium") { lives = 1; medium_level = level + 1; A.data.medium_level = medium_level; } if (gametype == "hard") { lives = 1; hard_level = level + 1; A.data.hard_level = hard_level; } play_survive = false; } if (level > 34) { if (timer2 > 0) { removeMovieClip(player); _root.loop1.setVolume(music1); _root.loop2.setVolume(0); removeMovieClip(pausemenu); removeMovieClip(achievement); i2 = 1; while (i2 <= 5) { for (i3 in this["bullets" + i2]) { curvar = this["bullets" + [i2]][i3]; removeMovieClip(this[(("bullet" + i2) + "_") + curvar]); this["bullets" + i2].splice(i3, 1); } i = 0; while (i <= 50) { removeMovieClip(this[(("tower_" + i2) + "_") + i]); i++; } i2++; } gotoAndStop (10); } } if (timer2 > 130) { play_survive = true; level++; timer2 = 0; create = true; } } if (lives <= 0) { _root.loop1.setVolume(music1); _root.loop2.setVolume(0); death = true; removeMovieClip(pausemenu); removeMovieClip(achievement); removeMovieClip(player); i2 = 1; while (i2 <= 5) { for (i3 in this["bullets" + i2]) { curvar = this["bullets" + [i2]][i3]; removeMovieClip(this[(("bullet" + i2) + "_") + curvar]); this["bullets" + i2].splice(i3, 1); } i = 0; while (i <= 50) { removeMovieClip(this[(("tower_" + i2) + "_") + i]); i++; } i2++; } gotoAndStop (9); } } else { begintimer++; if (begintimer < 3) { Comment = commentaar[level]; } } } } } stop(); A.data.counter_totaltime = counter_totaltime; pause2 = false; var i = 0; framerate = 40; gen_timer = 0; room = 1; money2 = "$" + money_amount; removeMovieClip(achievement); death = false; if (gametype == "easy") { multiplier = 1; } if (gametype == "medium") { multiplier = 2; } if (gametype == "hard") { multiplier = 5; } if (gametype == "extreme") { multiplier = 10; } top_speed = 5; acceleration = 1; friction = 0.98; player_x_speed = 0; player_y_speed = 0; bullet_5_explo = 40; create = true; timer2 = 0; Comment = ""; play_survive = true; bullets1 = new Array(); bullets2 = new Array(); bullets3 = new Array(); bullets4 = new Array(); bullets5 = new Array(); bullet1number = 0; bullet2number = 0; bullet3number = 0; bullet4number = 0; bullet5number = 0; tower_1_timer = 40; tower_2_timer = 40; tower_3_timer = 40; tower_4_timer = 40; tower_5_timer = 40; bullet1_speed = 2; bullet2_speed = 1; bullet3_speed = 1; bullet4_speed = 1; bullet5_speed = 1; commentaar = new Array(); commentaar[1] = "Try not to hit anything, it might hurt you. Arrow keys to move!"; commentaar[2] = "It seems you survived the first test. Are you ready for more?"; commentaar[3] = "Maybe faster bullets will kill you!"; commentaar[4] = "Divide and conquer!"; commentaar[5] = "MachineGun, Getting nervous already?"; commentaar[6] = "You're never getting out!"; commentaar[7] = "Did you know every year 99% of the testsubjects die in here? I bet you didn't."; commentaar[8] = "What if you were slow? No seriously, you are slow now!"; commentaar[9] = "Time for something new!"; commentaar[10] = "Lets pump it up."; commentaar[11] = "There is no more escape!"; commentaar[12] = "Santa brought you presents: it's Double fire power, On you."; commentaar[13] = "Don't you ever feel like the walls are coming at you?"; commentaar[14] = "Or bombs coming at you... Whatever..."; commentaar[15] = "The bomb labyrint! sounds like a fun game. Oh no wait.. it's still horrifying."; commentaar[16] = "Someone is following you."; commentaar[17] = "Maybe they are kittens and you can pet them? or not.. probably not.."; commentaar[18] = "You can't hide anymore.. from those cute atomic kittens."; commentaar[19] = "RUUUUN!"; commentaar[20] = "The ultimate divider.. a wall of explosives"; commentaar[21] = "You get to play bomblabyrint again.. now with kittens"; commentaar[22] = "Did they kill you? No they didn't. They just slowed you down. Were you scared?"; commentaar[23] = "Please hit the bombs so this is all over.."; commentaar[24] = "Even when i beg you don't listen? IT IS ON NOW!"; commentaar[25] = "My ultimate firepower is here!"; commentaar[26] = "Quadruple ultimate fire power... And a kittenbomb"; commentaar[27] = "Superdruple ultimate firepower!"; commentaar[28] = "There is no way you can outrun them all."; commentaar[29] = "Avoiding is no longer an option"; commentaar[30] = "Goodbye my friend. you will be dead after this level."; commentaar[31] = "Ok you survived, no big deal, more bombs is always the answer! "; commentaar[32] = "You were supposed to be dead by now...."; commentaar[33] = "No-one will ever read this comment, i'm sure of it!"; commentaar[34] = "Double labyrint!"; commentaar[35] = "Kamikaze!!"; Comment = commentaar[level]; attachMovie("player", "player", getNextHighestDepth(), {_x:275, _y:200}); begintimer = 0; attachMovie("pausemenu", "pausemenu", getNextHighestDepth()); pausemenu._alpha = 0;
Frame 9
function onEnterFrame() { if (Key.isDown(32)) { _root.loop1.setVolume(0); _root.loop2.setVolume(music2); gotoAndStop (8); if (gametype == "easy") { lives = 5; } if (gametype == "medium") { lives = 1; } if (gametype == "hard") { lives = 1; } if (gametype == "extreme") { lives = 1; level = 1; } } } STbut.onRelease = function () { getURL ("http://www.styxtwo.com", "_blank"); }; GBbut.onRelease = function () { getURL ("http://gameboltz.com/home.php", "_blank"); }; again_button.onRelease = function () { _root.loop1.setVolume(0); _root.loop2.setVolume(music2); gotoAndStop (8); if (gametype == "easy") { lives = 5; } if (gametype == "medium") { lives = 1; } if (gametype == "hard") { lives = 1; } if (gametype == "extreme") { lives = 1; level = 1; } }; menu_button.onRelease = function () { gotoAndStop (7); }; A.data.counter_totaltime = counter_totaltime;
Frame 10
function Ac() { if (achievement_complete[r] != true) { achievement_complete[r] = true; if (sound_mute == false) { ac_sound.setVolume(ac_vol); ac_sound.start(0, 1); } attachMovie("achievement", "achievement", getNextHighestDepth(), {_x:400, _y:250, _alpha:0, width:ac_width, height:ac_width}); achievement.gotoAndStop(r); a_timer = ac_start_timer; up = true; A.data.achievement_complete = achievement_complete; } if (up == true) { achievement._alpha = achievement._alpha + (ac_dim * ac_dim); if (achievement._alpha > 99) { up = false; } } else if (achievement._alpha > 5) { a_timer--; if (a_timer < 0) { achievement._alpha = achievement._alpha - ac_dim; } } else { removeMovieClip(achievement); } } function onEnterFrame() { if (gametype == "easy") { r = 18; } if (gametype == "medium") { r = 19; } if (gametype == "hard") { r = 20; } if (gametype == "extreme") { r = 21; } Ac(); counter_totaltime++; if (back_button.hitTest(_xmouse, _ymouse, true)) { startfade = true; } if (startfade == true) { back_button._alpha = back_button._alpha - 1; } } A.data.counter_totaltime = counter_totaltime; back_button._alpha = 100; startfade = false; play_button.onRelease = function () { gotoAndStop (7); };
Frame 11
function startGame(levelx) { level = levelx; i = 1; while (i <= i_level) { removeMovieClip(_root["level_button" + i]); i++; } gotoAndStop (8); } i_level = 1; width = 5; height = 8; menu_button.onRelease = function () { gotoAndStop (7); i = 1; while (i <= i_level) { removeMovieClip(_root["level_button" + i]); i++; } }; y = 0; while (y < width) { x = 0; while (x < height) { attachMovie("level_button", "level_button" + i_level, getNextHighestDepth(), {_x:(x * 60) + 20, _y:(y * 60) + 40, _alpha:20}); this["level_button" + i_level].buttonnumber = i_level; if (gametype == "easy") { if (i_level <= easy_level) { this["level_button" + i_level]._alpha = 100; } } if (gametype == "medium") { if (i_level <= medium_level) { this["level_button" + i_level]._alpha = 100; } } if (gametype == "hard") { if (i_level <= hard_level) { this["level_button" + i_level]._alpha = 100; } } i_level++; if (i_level > 35) { break; } x++; } y++; } i_level = 35; i = 1; while (i <= i_level) { if (this["level_button" + i]._alpha > 80) { _root["level_button" + i].i = i; this["level_button" + i].onRelease = function () { _root.loop1.setVolume(0); _root.loop2.setVolume(music2); startGame(this.i); }; } i++; }
Frame 12
function remove_all() { s = 1; i2 = 1; while (i2 <= 3) { i = 1; while (i <= 7) { removeMovieClip(this["ac" + s]); s++; i++; } i2++; } } function onEnterFrame() { counter_totaltime++; m = 1; hit_no_ac = true; i2 = 1; while (i2 <= 3) { i = 1; while (i <= 8) { if (this["ac" + m].hitTest(_xmouse, _ymouse, true)) { if (achievement_complete[m] == true) { ac_comment2 = ac_comment[m]; } else { ac_comment2 = "You have not unlocked this achievement yet."; } hit_no_ac = false; } m++; i++; } i2++; } if (hit_no_ac == true) { ac_comment2 = ""; } } p = 1; i2 = 1; while (i2 <= 5) { i = 1; while (i <= 5) { if (p < 21) { attachMovie("ac_screen", "ac" + p, getNextHighestDepth(), {_x:20 + (85 * (i - 1)), _y:35 + (80 * (i2 - 1)), _width:75, _height:75, _alpha:20}); if (achievement_complete[p] == true) { this["ac" + p]._alpha = 100; this["ac" + p].gotoAndStop(p); } else { this["ac" + p].gotoAndStop(22); } p++; } if (p == 21) { attachMovie("ac_screen", "ac" + p, getNextHighestDepth(), {_x:445, _y:115, _width:75, _height:75, _alpha:20}); if (achievement_complete[p] == true) { this["ac" + p]._alpha = 100; this["ac" + p].gotoAndStop(p); } else { this["ac" + p].gotoAndStop(22); } p++; } i++; } i2++; } menu_button.onRelease = function () { gotoAndStop (7); remove_all(); }; ac_comment = new Array(); ac_comment[1] = "Welcome to the game, you did nothing yet!"; ac_comment[2] = "Met your first Green tower."; ac_comment[3] = "Met your first Yellow tower."; ac_comment[4] = "Met your first Blue tower."; ac_comment[5] = "Met your first Purple tower."; ac_comment[6] = "Met your first Red tower."; ac_comment[7] = "Complete your first level"; ac_comment[8] = "Your first upgrade."; ac_comment[9] = "Play for 5 minutes."; ac_comment[10] = "Play for 15 minutes."; ac_comment[11] = "Play for 45 minutes."; ac_comment[12] = "Upgrade speed to the maximum."; ac_comment[13] = "Upgrade friction to the maximum."; ac_comment[14] = "Upgrade acceleration to the maximum."; ac_comment[15] = "10 levels played."; ac_comment[16] = "35 levels played."; ac_comment[17] = "70 levels played."; ac_comment[18] = "Easy completed."; ac_comment[19] = "Medium completed."; ac_comment[20] = "Hard completed."; ac_comment[21] = "Extreme completed.";
Symbol 6 MovieClip [survive_text] Frame 120
stop();
Symbol 67 MovieClip [upgradester] Frame 1
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 100
stop(); _parent.gotoAndPlay("shock");
Symbol 133 MovieClip Frame 62
stop(); botak.play();
Symbol 133 MovieClip Frame 234
_parent.play();
Symbol 151 MovieClip Frame 1
this._visible = false; _parent.stop(); stxy.onRelease = function () { getURL ("http://www.styxtwo.com", "_blank"); };
Symbol 151 MovieClip Frame 2
this._visible = true;
Symbol 151 MovieClip Frame 150
_parent.play();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
stop();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:3
Symbol 3 MovieClip [player]Uses:2
Symbol 4 FontUsed by:5 148
Symbol 5 TextUses:4Used by:6
Symbol 6 MovieClip [survive_text]Uses:5
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClip [bullet5_]Uses:7
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip [bullet4_]Uses:9
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClip [bullet3_]Uses:11
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip [bullet2_]Uses:13
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip [bullet1_]Uses:15
Symbol 17 GraphicUsed by:58 61 62 85 207
Symbol 18 GraphicUsed by:58 61
Symbol 19 FontUsed by:20 21 22 25 28 31 34 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 57 59 63 69 70 83 84 155 157 158 160 161 162 165 167 169 171 172 174 175 176 177 178 179 180 181 182 183 185 188 189 190 191 192 193 194 195 196 198 199 201 203 205 206 209 211 212 213 214 215
Symbol 20 TextUses:19Used by:58 61
Symbol 21 TextUses:19Used by:58 61
Symbol 22 TextUses:19Used by:58 61
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClip [tower_1_]Uses:23Used by:58 61
Symbol 25 TextUses:19Used by:58 61
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClip [tower_2_]Uses:26Used by:58 61
Symbol 28 TextUses:19Used by:58 61
Symbol 29 GraphicUsed by:30
Symbol 30 MovieClip [tower_3_]Uses:29Used by:58 61
Symbol 31 TextUses:19Used by:58 61
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClip [tower_4_]Uses:32Used by:58 61
Symbol 34 TextUses:19Used by:58 61
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClip [tower_5_]Uses:35Used by:58 61
Symbol 37 TextUses:19Used by:58 61
Symbol 38 TextUses:19Used by:58 61
Symbol 39 TextUses:19Used by:58 61
Symbol 40 TextUses:19Used by:58 61
Symbol 41 TextUses:19Used by:58 61
Symbol 42 TextUses:19Used by:58 61
Symbol 43 TextUses:19Used by:58 61
Symbol 44 TextUses:19Used by:58 61
Symbol 45 TextUses:19Used by:58 61
Symbol 46 TextUses:19Used by:58 61
Symbol 47 TextUses:19Used by:58 61
Symbol 48 TextUses:19Used by:58 61
Symbol 49 TextUses:19Used by:58 61
Symbol 50 TextUses:19Used by:58 61
Symbol 51 TextUses:19Used by:58 61
Symbol 52 TextUses:19Used by:58 61
Symbol 53 TextUses:19Used by:58 61
Symbol 54 TextUses:19Used by:58 61
Symbol 55 TextUses:19Used by:58 61
Symbol 56 GraphicUsed by:58
Symbol 57 TextUses:19Used by:58 61
Symbol 58 MovieClip [ac_screen]Uses:17 18 20 21 22 24 25 27 28 30 31 33 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
Symbol 59 TextUses:19Used by:61
Symbol 60 GraphicUsed by:61 164
Symbol 61 MovieClip [achievement]Uses:17 59 18 20 21 22 24 25 27 28 30 31 33 34 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 60 57
Symbol 62 MovieClipUses:17Used by:64 85 156 163 168 170 173 184 200 202 207 210
Symbol 63 EditableTextUses:19Used by:64
Symbol 64 MovieClip [level_button]Uses:62 63
Symbol 65 GraphicUsed by:67
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClip [upgradester]Uses:65 66
Symbol 68 GraphicUsed by:71
Symbol 69 TextUses:19Used by:71
Symbol 70 TextUses:19Used by:71
Symbol 71 MovieClip [pausemenu]Uses:68 69 70
Symbol 72 GraphicUsed by:73
Symbol 73 MovieClip [adBox]Uses:72Used by:Timeline
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:78
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:78
Symbol 78 MovieClipUses:75 77Used by:Timeline
Symbol 79 GraphicUsed by:Timeline
Symbol 80 FontUsed by:81
Symbol 81 EditableTextUses:80Used by:Timeline
Symbol 82 GraphicUsed by:86
Symbol 83 TextUses:19Used by:85
Symbol 84 TextUses:19Used by:85
Symbol 85 ButtonUses:62 83 84 17Used by:86  Timeline
Symbol 86 MovieClipUses:82 85Used by:Timeline
Symbol 87 Sound [ef_thunderstorm.mp3]Used by:Timeline
Symbol 88 Sound [wizard_fire_pillar_a.mp3]Used by:Timeline
Symbol 89 Sound [loop1]Used by:Timeline
Symbol 90 Sound [loop2]Used by:Timeline
Symbol 91 Sound [shoot]Used by:Timeline
Symbol 92 Sound [ac_sound]Used by:Timeline
Symbol 93 Sound [hit_sound]Used by:Timeline
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:133 186
Symbol 96 GraphicUsed by:133
Symbol 97 GraphicUsed by:98
Symbol 98 ButtonUses:97Used by:133
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:133 186
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:133 186
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:133 186
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:105Used by:133 186
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:133 186
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:133 186
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:133 186
Symbol 113 GraphicUsed by:126
Symbol 114 ShapeTweeningUsed by:126
Symbol 115 ShapeTweeningUsed by:126
Symbol 116 ShapeTweeningUsed by:126
Symbol 117 ShapeTweeningUsed by:126
Symbol 118 ShapeTweeningUsed by:126
Symbol 119 ShapeTweeningUsed by:126
Symbol 120 ShapeTweeningUsed by:126
Symbol 121 ShapeTweeningUsed by:126
Symbol 122 ShapeTweeningUsed by:126
Symbol 123 ShapeTweeningUsed by:126
Symbol 124 GraphicUsed by:126
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:113 114 115 116 117 118 119 120 121 122 123 124 125Used by:133
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:133 186
Symbol 129 GraphicUsed by:130
Symbol 130 MovieClipUses:129Used by:133 186
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClipUses:131Used by:133
Symbol 133 MovieClipUses:95 96 98 100 102 104 106 108 110 112 126 128 130 132 SS1Used by:Timeline
Symbol 134 GraphicUsed by:135
Symbol 135 ButtonUses:134Used by:151
Symbol 136 GraphicUsed by:146
Symbol 137 GraphicUsed by:138 151
Symbol 138 ButtonUses:137Used by:146
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClipUses:139Used by:146
Symbol 141 GraphicUsed by:142
Symbol 142 MovieClipUses:141Used by:143
Symbol 143 MovieClipUses:142Used by:146
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:146
Symbol 146 MovieClipUses:136 138 140 143 145Used by:151
Symbol 147 GraphicUsed by:151
Symbol 148 TextUses:4Used by:151
Symbol 149 GraphicUsed by:150
Symbol 150 ButtonUses:149Used by:151
Symbol 151 MovieClipUses:135 146 137 147 148 150Used by:Timeline
Symbol 152 GraphicUsed by:154
Symbol 153 GraphicUsed by:154
Symbol 154 MovieClipUses:152 153Used by:Timeline
Symbol 155 TextUses:19Used by:156
Symbol 156 MovieClipUses:62 155Used by:Timeline
Symbol 157 TextUses:19Used by:Timeline
Symbol 158 TextUses:19Used by:Timeline
Symbol 159 GraphicUsed by:Timeline
Symbol 160 TextUses:19Used by:Timeline
Symbol 161 TextUses:19Used by:Timeline
Symbol 162 TextUses:19Used by:163
Symbol 163 MovieClipUses:62 162Used by:Timeline
Symbol 164 MovieClipUses:60Used by:166
Symbol 165 TextUses:19Used by:166
Symbol 166 MovieClipUses:164 165Used by:Timeline
Symbol 167 TextUses:19Used by:168
Symbol 168 MovieClipUses:62 167Used by:Timeline
Symbol 169 TextUses:19Used by:170
Symbol 170 MovieClipUses:62 169Used by:Timeline
Symbol 171 EditableTextUses:19Used by:Timeline
Symbol 172 TextUses:19Used by:173
Symbol 173 MovieClipUses:62 172Used by:Timeline
Symbol 174 TextUses:19Used by:Timeline
Symbol 175 TextUses:19Used by:Timeline
Symbol 176 TextUses:19Used by:Timeline
Symbol 177 TextUses:19Used by:Timeline
Symbol 178 EditableTextUses:19Used by:Timeline
Symbol 179 EditableTextUses:19Used by:Timeline
Symbol 180 EditableTextUses:19Used by:Timeline
Symbol 181 EditableTextUses:19Used by:Timeline
Symbol 182 EditableTextUses:19Used by:Timeline
Symbol 183 TextUses:19Used by:184
Symbol 184 MovieClipUses:62 183Used by:Timeline
Symbol 185 TextUses:19Used by:Timeline
Symbol 186 MovieClipUses:130 112 110 108 106 104 102 100 95 128Used by:Timeline
Symbol 187 GraphicUsed by:Timeline
Symbol 188 EditableTextUses:19Used by:Timeline
Symbol 189 EditableTextUses:19Used by:Timeline
Symbol 190 EditableTextUses:19Used by:Timeline
Symbol 191 EditableTextUses:19Used by:Timeline
Symbol 192 TextUses:19Used by:Timeline
Symbol 193 TextUses:19Used by:Timeline
Symbol 194 EditableTextUses:19Used by:Timeline
Symbol 195 TextUses:19Used by:Timeline
Symbol 196 TextUses:19Used by:Timeline
Symbol 197 GraphicUsed by:Timeline
Symbol 198 TextUses:19Used by:Timeline
Symbol 199 TextUses:19Used by:200
Symbol 200 MovieClipUses:62 199Used by:Timeline
Symbol 201 TextUses:19Used by:202
Symbol 202 MovieClipUses:62 201Used by:Timeline
Symbol 203 TextUses:19Used by:Timeline
Symbol 204 GraphicUsed by:Timeline
Symbol 205 TextUses:19Used by:Timeline
Symbol 206 TextUses:19Used by:207
Symbol 207 ButtonUses:62 206 17Used by:Timeline
Symbol 208 GraphicUsed by:Timeline
Symbol 209 TextUses:19Used by:210
Symbol 210 MovieClipUses:62 209Used by:Timeline
Symbol 211 TextUses:19Used by:Timeline
Symbol 212 EditableTextUses:19Used by:Timeline
Symbol 213 TextUses:19Used by:Timeline
Symbol 214 TextUses:19Used by:Timeline
Symbol 215 EditableTextUses:19Used by:Timeline
Streaming Sound 1Used by:Symbol 133 MovieClip

Instance Names

"adBox"Frame 1Symbol 73 MovieClip [adBox]
"loadBar"Frame 1Symbol 86 MovieClip
"GBbut"Frame 3Symbol 133 MovieClip
"muteBut"Frame 6Symbol 154 MovieClip
"play_button"Frame 6Symbol 85 Button
"back_button"Frame 6Symbol 156 MovieClip
"easy"Frame 7Symbol 163 MovieClip
"extreme"Frame 7Symbol 166 MovieClip
"hard"Frame 7Symbol 168 MovieClip
"medium"Frame 7Symbol 170 MovieClip
"buy_speed"Frame 7Symbol 173 MovieClip
"buy_friction"Frame 7Symbol 173 MovieClip
"buy_accel"Frame 7Symbol 173 MovieClip
"goodjob_button"Frame 7Symbol 184 MovieClip
"GBbut"Frame 7Symbol 186 MovieClip
"menu_button"Frame 9Symbol 200 MovieClip
"again_button"Frame 9Symbol 202 MovieClip
"GBbut"Frame 9Symbol 186 MovieClip
"play_button"Frame 10Symbol 207 Button
"back_button"Frame 10Symbol 156 MovieClip
"menu_button"Frame 11Symbol 210 MovieClip
"play_button"Symbol 86 MovieClip Frame 2Symbol 85 Button
"botak"Symbol 133 MovieClip Frame 29Symbol 126 MovieClip
"stxy"Symbol 151 MovieClip Frame 1Symbol 135 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 3 as "player"
ExportAssets (56)Timeline Frame 1Symbol 6 as "survive_text"
ExportAssets (56)Timeline Frame 1Symbol 8 as "bullet5_"
ExportAssets (56)Timeline Frame 1Symbol 10 as "bullet4_"
ExportAssets (56)Timeline Frame 1Symbol 12 as "bullet3_"
ExportAssets (56)Timeline Frame 1Symbol 14 as "bullet2_"
ExportAssets (56)Timeline Frame 1Symbol 16 as "bullet1_"
ExportAssets (56)Timeline Frame 1Symbol 24 as "tower_1_"
ExportAssets (56)Timeline Frame 1Symbol 27 as "tower_2_"
ExportAssets (56)Timeline Frame 1Symbol 30 as "tower_3_"
ExportAssets (56)Timeline Frame 1Symbol 33 as "tower_4_"
ExportAssets (56)Timeline Frame 1Symbol 36 as "tower_5_"
ExportAssets (56)Timeline Frame 1Symbol 58 as "ac_screen"
ExportAssets (56)Timeline Frame 1Symbol 61 as "achievement"
ExportAssets (56)Timeline Frame 1Symbol 64 as "level_button"
ExportAssets (56)Timeline Frame 1Symbol 67 as "upgradester"
ExportAssets (56)Timeline Frame 1Symbol 71 as "pausemenu"
ExportAssets (56)Timeline Frame 1Symbol 73 as "adBox"
ExportAssets (56)Timeline Frame 1Symbol 87 as "ef_thunderstorm.mp3"
ExportAssets (56)Timeline Frame 1Symbol 88 as "wizard_fire_pillar_a.mp3"
ExportAssets (56)Timeline Frame 1Symbol 89 as "loop1"
ExportAssets (56)Timeline Frame 1Symbol 90 as "loop2"
ExportAssets (56)Timeline Frame 1Symbol 91 as "shoot"
ExportAssets (56)Timeline Frame 1Symbol 92 as "ac_sound"
ExportAssets (56)Timeline Frame 1Symbol 93 as "hit_sound"

Labels

"shock"Symbol 133 MovieClip Frame 69

Dynamic Text Variables

buttonnumberSymbol 63 EditableText"<p align="center"><font face="Agency FB" size="30" color="#ffffff" letterSpacing="1.000000" kerning="0">16</font></p>"
loadTextSymbol 81 EditableText""
on_hooverSymbol 171 EditableText""
money_amount2Symbol 178 EditableText"<p align="left"></p>"
cost_speedSymbol 179 EditableText"<p align="left"></p>"
cost_frictionSymbol 180 EditableText"<p align="left"></p>"
cost_accelerateSymbol 181 EditableText"<p align="left"></p>"
not_enough_moneySymbol 182 EditableText"<p align="left"></p>"
gen_timer2Symbol 188 EditableText"<p align="left"></p>"
levelSymbol 189 EditableText"<p align="left"></p>"
livesSymbol 190 EditableText"<p align="left"></p>"
CommentSymbol 191 EditableText"<p align="left"><font face="Agency FB" size="14" color="#ffffff" letterSpacing="1.000000" kerning="0">hallo</font></p>"
money2Symbol 194 EditableText"<p align="left"></p>"
gametypeSymbol 212 EditableText"<p align="left"><font face="Agency FB" size="16" color="#ffffff" letterSpacing="1.000000" kerning="0">Easy</font></p>"
ac_comment2Symbol 215 EditableText"<p align="left"></p>"




http://swfchan.com/19/90384/info.shtml
Created: 28/3 -2019 11:18:41 Last modified: 28/3 -2019 11:18:41 Server time: 20/04 -2024 11:07:11