Frame 2
stop();
Instance of Symbol 12 MovieClip in Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Instance of Symbol 13 MovieClip in Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation - 2);
}
Instance of Symbol 14 MovieClip in Frame 2
onClipEvent (enterFrame) {
_rotation = (_rotation - 0.5);
}
Instance of Symbol 21 MovieClip in Frame 2
onClipEvent (enterFrame) {
temp = 100 - Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (temp == 100) {
_root.percent_loaded = temp + "% left";
}
if ((temp < 100) & (temp >= 10)) {
_root.percent_loaded = ("0" + temp) + "% left";
}
if ((temp >= 7) & (temp < 10)) {
_root.percent_loaded = ("00" + temp) + "% left";
}
if (temp == 0) {
_root.gotoAndStop("intro", "intro");
}
_root.kbytesleft = Math.round(_root.getBytesTotal() / 1024) - Math.round(_root.getBytesLoaded() / 1024);
}
Frame 3
stop();
Frame 4
_root.inst._visible = false;
stop();
Frame 5
_global.bricks = 5;
_global.bricks_row = 1;
_global.array_timer = 0;
_global.projectiles = new Array();
_global.projectiles[0] = "holder";
_global.dead_leafvar = 50;
_global.leafrange = 20;
i = 1;
while (i <= 10) {
duplicateMovieClip (_root.leaf, "leaf" + i, i);
xrand = Math.random() * 550;
yrand = Math.random() * 400;
xscalerand = (Math.random() + 0.5) * 100;
yscalerand = (Math.random() + 0.5) * 100;
rotrand = Math.random() * 360;
inner_rand = (Math.random() * _global.leafrange) - (_global.leafrange / 2);
setProperty("leaf" + i, _x , xrand);
setProperty("leaf" + i, _y , yrand);
setProperty("leaf" + i, _xscale , xscalerand);
setProperty("leaf" + i, _yscale , yscalerand);
setProperty("leaf" + i, _rotation , rotrand);
_root["leaf" + i].innerleaf._x = inner_rand;
rand_rot_dir = Math.round(Math.random());
if (rand_rot_dir == 0) {
_root["leaf" + i].rotation = "left";
}
if (rand_rot_dir == 1) {
_root["leaf" + i].rotation = "right";
}
i++;
}
k = 1;
while (k < 100) {
duplicateMovieClip (_root.rain.droplet, "droplet" + k, k);
setProperty("droplet" + k, _x , (Math.random() * 1100) - 550);
setProperty("droplet" + k, _y , (Math.random() * 800) - 400);
_root.rain["droplet" + k]._x = (Math.random() * 1100) - 550;
_root.rain["droplet" + k]._y = (Math.random() * 800) - 400;
k++;
}
_global.dir = "right";
_global.fall_vel = 1;
_global.enemy_shot_time = 50;
_global.error_range = 120;
_global.xdisp = _root.bang._x - _root.bang2._x;
_global.ydisp = _root.bang._y - _root.bang2._y;
_global.score = 0;
_global.thinking_const = 100;
_root.e_launcher.think = 0;
_root.bang2.barrel._rotation = -45;
_root.bang.barrel._rotation = -45;
_global.e_firingangle = Math.round(Math.random() * 90);
_global.power = 0;
_global.hit = false;
_root.clip.bul_mask._y = _global.bul_masky;
_root.e_clip.bul_mask._y = _global.e_bul_masky;
_global.kaput = false;
_global.dead = false;
_global.fuckedup = false;
_global.scored = false;
_global.lives = 3;
_global.level = 1;
_root.s2._visible = true;
_root.s3._visible = true;
_global.shots = 0;
_global.hits = 0;
_global.e_shots = 0;
_global.e_hits = 0;
_global.val2 = 50;
_global.val3 = 0;
Instance of Symbol 21 MovieClip "action" in Frame 5
onClipEvent (load) {
_global.lives = 3;
_root.proj.init = false;
_global.val = 5;
_root.bang.barrel._rotation = -45;
_global.firingangle;
_global.power = 0;
_global.powerup = false;
_global.gravy = 0;
_global.gravconst = 0.4;
_global.speed = 60;
_global.windpower = 2.5;
_global.windspeed = Math.round(((Math.random() * 2) - 1) * _global.windpower);
_global.hit = false;
_global.bul_masky = _root.clip.bul_mask._y;
_global.e_bul_masky = _root.e_clip.bul_mask._y;
}
onClipEvent (enterFrame) {
_root.w1 = 2 * _global.windspeed;
_root.leveltext = "LEVEL: " + _global.level;
_global.accuracy = (100 * _global.hits) / _global.shots;
if (_global.shots == 0) {
_global.accuracy = 0;
}
_global.e_accuracy = (100 * _global.e_hits) / _global.e_shots;
if (_global.e_shots == 0) {
_global.e_accuracy = 0;
}
_root.acc = Math.round(_global.accuracy) + " %";
_root.acc2 = Math.round(_global.e_accuracy) + " %";
_root.scoretext = "SCORE: " + _global.score;
if ((_root.bang.barrel._rotation < -90) && (_root.bang.barrel._rotation > -180)) {
_root.bang.barrel._rotation = -90;
}
if ((_root.bang.barrel._rotation > 0) && (_root.bang.barrel._rotation < 90)) {
_root.bang.barrel._rotation = 0;
}
if (Key.isDown(38)) {
_root.bang.barrel._rotation = _root.bang.barrel._rotation - 1;
}
if (Key.isDown(40)) {
_root.bang.barrel._rotation = _root.bang.barrel._rotation + 1;
}
_global.firingangle = Math.abs(_root.bang.barrel._rotation);
_root.temp.needle._rotation = (360 * _global.temperature) / 100;
_root.temp2 = Math.round(_global.temperature2);
_root.e_temp.needle._rotation = (360 * _global.temperature2) / 100;
if (_global.temperature > 0) {
_global.temperature = _global.temperature - 0.5;
}
if (_global.temperature2 > 0) {
_global.temperature2 = _global.temperature2 - 0.5;
}
with (_root) {
if ((_global.temperature > 100) & (_global.dead == false)) {
_global.kaput = true;
gotoAndStop("kaput");
}
}
}
Instance of Symbol 58 MovieClip "plane" in Frame 5
onClipEvent (load) {
i = -100;
plane = new Sound(this);
plane.setVolume(25);
plane.attachSound("cessna");
plane.start(0, 1000);
}
onClipEvent (enterFrame) {
if (i <= 100) {
plane.setPan(i++);
if (i == 100) {
i = -100;
}
}
}
Instance of Symbol 60 MovieClip "bugle" in Frame 5
onClipEvent (load) {
bugle = new Sound(this);
bugle.setVolume(50);
bugle.attachSound("10_24");
bugle.start();
}
Instance of Symbol 62 MovieClip "plane2" in Frame 5
onClipEvent (load) {
i = -100;
plane = new Sound(this);
plane.setVolume(12.5);
plane.attachSound("cessna");
plane.start(1, 1000);
}
onClipEvent (enterFrame) {
if (i <= 100) {
plane.setPan(i++);
if (i == 100) {
i = -100;
}
}
}
Instance of Symbol 64 MovieClip "rifle" in Frame 5
onClipEvent (load) {
i = 0;
j = 50;
Howit = new Sound(this);
Howit.attachSound("rifleshot");
Howit.start();
}
onClipEvent (enterFrame) {
Howit.setVolume(Math.random() * 100);
Howit.setPan((Math.random() * 200) - 100);
if (i <= j) {
i++;
if (i == j) {
Howit.start();
i = 0;
j = 1 + Math.round(Math.random() * 30);
}
}
}
Instance of Symbol 66 MovieClip "m16" in Frame 5
onClipEvent (load) {
i = 0;
j = 50;
Howit = new Sound(this);
Howit.attachSound("m16");
}
onClipEvent (enterFrame) {
Howit.setVolume(Math.random() * 100);
Howit.setPan((Math.random() * 200) - 100);
if (i <= j) {
i++;
if (i == j) {
Howit.start();
i = 0;
j = 1 + Math.round(Math.random() * 500);
}
}
}
Instance of Symbol 86 MovieClip "block" in Frame 5
onClipEvent (load) {
var level;
below = new Array();
s = 1;
while (s <= (level - 1)) {
below.push(s);
s++;
}
original_size = below.length;
}
onClipEvent (enterFrame) {
if (_visible) {
i = 0;
while (i < _global.projectiles.length) {
name = _global.projectiles[i];
if (hitTest(_root[name])) {
duplicateMovieClip (_root.block_smoke, "block_smoke1", 1000);
newx = _x;
newy = _y;
_root.block_smoke1._y = newy;
_root.block_smoke1._x = newx;
_visible = false;
blockbang = new Sound(this);
blockbang.attachSound("mortarcannon");
blockbang.setVolume(50);
blockbang.start();
if (name.slice(0, 1) == "p") {
_global.score = _global.score + 20;
}
_global.projectiles.splice(i, 1);
removeMovieClip(_root[name]);
}
i++;
}
s = 1;
while (s <= (level - 1)) {
diff = level - s;
thingy = _name;
test = thingy.slice(5, thingy.length);
value = (1 * test) - (diff * _global.bricks_row);
if ((1 * test) == 20) {
trace(below);
}
if (_root["block" + value]._visible == false) {
k = 0;
while (k < below.length) {
if (below[k] == s) {
below.splice(k, 1);
}
k++;
}
}
s++;
}
next_level_down = below[below.length - 1];
value2 = (1 * test) - ((level - next_level_down) * _global.bricks_row);
if ((!hitTest(_root["block" + value2])) & (_y < 380)) {
_y = (_y + 5);
}
if (hitTest(_root["block" + value2]) & (_y < 380)) {
_y = (_root["block" + value2]._y - _root.block._height);
}
if (_y > 380) {
_y = 380;
}
}
}
Instance of Symbol 120 MovieClip "leaf" in Frame 5
onClipEvent (enterFrame) {
if (((!dead) & (!fuckedup)) & (!scored)) {
i = 0;
while (i < _global.projectiles.length) {
name = _global.projectiles[i];
separation = Math.sqrt(((_root[name]._x - _x) * (_root[name]._x - _x)) + ((_root[name]._y - _y) * (_root[name]._y - _y)));
if ((separation < 20) & (!dragged)) {
xdrag = Math.round(_root[name].x_speed);
ydrag = Math.round(_root[name].y_speed);
dragged = true;
xvel = xdrag;
yvel = ydrag;
xflag = false;
yflag = false;
}
i++;
}
if (dragged) {
_x = (_x + xdrag);
_y = (_y + (-ydrag));
drop = 1;
if (xdrag < 0) {
xdrag = xdrag + drop;
}
if (xdrag > 0) {
xdrag = xdrag + (-drop);
}
if (ydrag < 0) {
ydrag = ydrag + drop;
}
if (ydrag > 0) {
ydrag = ydrag + (-drop);
}
if (xdrag == 0) {
xflag = true;
}
if (ydrag == 0) {
yflag = true;
}
if (xflag & yflag) {
dragged = false;
}
}
_y = (_y + _global.fall_vel);
_x = (_x + (0.5 * _global.windspeed));
if (_y > 390) {
duplicateMovieClip (this, "deadleaf" + _global.dead_leafvar, _global.dead_leafvar);
_root["deadleaf" + _global.dead_leafvar].dead = true;
_global.dead_leafvar++;
_y = 0;
_x = (Math.random() * 550);
}
if (_x > 550) {
_x = 0;
_y = (Math.random() * 400);
}
if (_x < 0) {
_x = 550;
_y = (Math.random() * 400);
}
if (rotation == "left") {
_rotation = (_rotation + 1);
}
if (rotation == "right") {
_rotation = (_rotation - 1);
}
}
}
Frame 6
_global.temperature = 0;
_global.temperature2 = 0;
_root.e_launcher.powerup = false;
_global.fuckedup = false;
_global.scored = false;
_root.regroup._visible = true;
_root.bang.barrel._rotation = -45;
_root.bang2.barrel._rotation = -45;
if (_global.lives == 2) {
_root.s3._visible = false;
}
if (_global.lives == 1) {
_root.s2._visible = false;
}
width = _root.block._width * bricks_row;
xseparation = _root.block._width;
yseparation = _root.block._height;
x_block1 = 275 - ((width / 2) - (xseparation / 2));
yblock = 380;
l = 1;
while (l <= bricks) {
duplicateMovieClip (_root.block, "block" + l, -(l + 500));
level = Math.round(l / bricks_row);
if (level < (l / bricks_row)) {
level = level + 1;
}
xdup = (x_block1 + (xseparation * (l - 1))) - (width * (level - 1));
ydup = yblock - (yseparation * (level - 1));
setProperty("block" + l, _x , xdup);
setProperty("block" + l, _y , ydup);
_root["block" + l].level = level;
l++;
}
stop();
Instance of Symbol 122 MovieClip "proj" in Frame 6
onClipEvent (enterFrame) {
var init;
var power;
var firingangle;
var xstart;
var ystart;
if (((_x < 0) || (_x > 550)) || (_y > 400)) {
i = 0;
while (i < _global.projectiles.length) {
if (_global.projectiles[i] == this._name) {
_global.projectiles.splice(i, 1);
}
i++;
}
removeMovieClip(this);
}
if (!init) {
clearance = Math.sqrt(((_x - xstart) * (_x - xstart)) + ((_y - ystart) * (_y - ystart)));
if (clearance > 15) {
cleared = true;
}
if (((cleared == true) & (_global.dead == false)) & (_global.kaput == false)) {
if (hitTest(_root.bang) || (hitTest(_root.soldier))) {
_global.kaput = true;
_global.fuckedup = true;
_root.gotoAndStop("kaput");
q = 1;
while (q <= _global.projectiles.length) {
name = _global.projectiles[q];
removeMovieClip(_root[name]);
q++;
}
_global.projectiles.splice(1, _global.projectiles.length);
}
}
}
if (((cleared == true) & (_global.dead == false)) & (_global.kaput == false)) {
if (hitTest(_root.bang2) || (hitTest(_root.baddy))) {
_global.hits = _global.hits + 1;
_global.hit = true;
_global.scored = true;
_root.gotoAndStop("levelup");
q = 1;
while (q <= _global.projectiles.length) {
name = _global.projectiles[q];
removeMovieClip(_root[name]);
q++;
}
_global.projectiles.splice(1, _global.projectiles.length);
}
}
if (init) {
var halfbarrel = 17.625;
var xcannon = _root.bang._x;
var ycannon = _root.bang._y;
_x = (xcannon + (halfbarrel * Math.cos(((Math.PI*2) * firingangle) / 360)));
_y = (ycannon - (halfbarrel * Math.sin(((Math.PI*2) * firingangle) / 360)));
xstart = _x;
ystart = _y;
init = false;
bigbang = new Sound(this);
bigbang.attachSound("mortarcannon");
bigbang.start();
duplicateMovieClip (_root.smoke, "smoky", 2000);
_root.smoky._x = xstart;
_root.smoky._y = ystart;
_root.smoky._rotation = -firingangle;
}
if (fire) {
gravy = gravy + _global.gravconst;
x_speed = ((_global.speed * power) * Math.cos(((firingangle * 2) * Math.PI) / 360)) + _global.windspeed;
y_speed = ((_global.speed * power) * Math.sin(((firingangle * 2) * Math.PI) / 360)) - gravy;
_x = (_x + x_speed);
_y = (_y - y_speed);
}
}
Instance of Symbol 122 MovieClip "e_proj" in Frame 6
onClipEvent (enterFrame) {
var init;
var power;
var firingangle;
var xstart;
var ystart;
if (((_x < 0) || (_x > 550)) || (_y > 400)) {
i = 0;
while (i < _global.projectiles.length) {
if (_global.projectiles[i] == this._name) {
_global.projectiles.splice(i, 1);
}
i++;
}
removeMovieClip(this);
}
if (hitTest(_root.bang) || (hitTest(_root.soldier))) {
_global.e_hits = _global.e_hits + 1;
_global.kaput = true;
_global.fuckedup = true;
_root.gotoAndStop("kaput");
j = 1;
while (j <= _global.projectiles.length) {
name = _global.projectiles[j];
removeMovieClip(_root[name]);
j++;
}
_global.projectiles.splice(1, _global.projectiles.length);
}
if (!init) {
clearance = Math.sqrt(((_x - xstart) * (_x - xstart)) + ((_y - ystart) * (_y - ystart)));
if (clearance > 15) {
cleared = true;
}
if (((cleared == true) & (_global.dead == false)) & (_global.kaput == false)) {
if (hitTest(_root.bang2) || (hitTest(_root.baddy))) {
_global.hit = true;
_global.scored = true;
_root.gotoAndStop("levelup");
j = 1;
while (j <= _global.projectiles.length) {
name = _global.projectiles[j];
removeMovieClip(_root[name]);
j++;
}
_global.projectiles.splice(1, _global.projectiles.length);
}
}
}
if (init) {
var halfbarrel = 17.625;
var xcannon = _root.bang2._x;
var ycannon = _root.bang2._y;
_x = (xcannon - (halfbarrel * Math.cos(((Math.PI*2) * firingangle) / 360)));
_y = (ycannon - (halfbarrel * Math.sin(((Math.PI*2) * firingangle) / 360)));
xstart = _x;
ystart = _y;
init = false;
bigbang6 = new Sound(this);
bigbang6.attachSound("mortarcannon");
bigbang6.start();
duplicateMovieClip (_root.smoke, "e_smoky", 1500);
_root.e_smoky._x = xstart;
_root.e_smoky._y = ystart;
_root.e_smoky._rotation = 180 + firingangle;
}
if (fire) {
gravy = gravy + _global.gravconst;
x_speed = -(((_global.speed * power) * Math.cos(((firingangle * 2) * Math.PI) / 360)) - _global.windspeed);
y_speed = ((_global.speed * power) * Math.sin(((firingangle * 2) * Math.PI) / 360)) - gravy;
_x = (_x + x_speed);
_y = (_y - y_speed);
}
}
Instance of Symbol 129 MovieClip "e_launcher" in Frame 6
onClipEvent (enterFrame) {
if (_global.e_firingangle < Math.abs(_root.bang2.barrel._rotation)) {
fired = false;
if (think >= _global.thinking_const) {
_root.bang2.barrel._rotation = _root.bang2.barrel._rotation + 1;
}
think++;
_global.val3 = 0;
}
if (_global.e_firingangle > Math.abs(_root.bang2.barrel._rotation)) {
fired = false;
if (think >= _global.thinking_const) {
_root.bang2.barrel._rotation = _root.bang2.barrel._rotation - 1;
}
think++;
_global.val3 = 0;
}
if ((fired != true) & (_global.e_firingangle == Math.abs(_root.bang2.barrel._rotation))) {
think = 0;
if (powerup) {
trace("poo");
_root.e_clip.bul_mask._y = _global.e_bul_masky;
powerup = false;
} else if ((_global.e_bul_masky - _root.e_clip.bul_mask._y) < 475) {
_root.e_clip.bul_mask._y = _root.e_clip.bul_mask._y - 23.8;
}
e_click = new Sound(this);
e_click.setVolume(400);
e_click.attachSound("Utopia Open");
e_click.start();
error = Math.round((Math.random() * _global.error_range) - (_global.error_range / 2));
dubious_angle = _global.e_firingangle + error;
conv = (Math.PI/180);
a = Math.sin((dubious_angle * 2) * conv) / _global.gravconst;
b = (((-_global.windspeed) * 2) * Math.sin(dubious_angle * conv)) / _global.gravconst;
c = _global.xdisp;
vel = ((-b) + Math.sqrt((b * b) - ((4 * a) * c))) / (2 * a);
power2 = Math.abs(vel / _global.speed);
if (power2 < _global.val3) {
if ((_global.temperature2 + (power2 * 200)) <= 100) {
duplicateMovieClip (_root.e_proj, "e_proj" + _global.val2, _global.val2 + 400);
_global.projectiles.push("e_proj" + _global.val2);
_global.e_shots = _global.e_shots + 1;
fired = true;
powerup = true;
_root.e_clip.bul_mask._y = _global.e_bul_masky;
_root["e_proj" + _global.val2].init = true;
_root["e_proj" + _global.val2].fire = true;
_root["e_proj" + _global.val2].power = power2;
_root["e_proj" + _global.val2].firingangle = _global.e_firingangle;
_root["e_proj" + _global.val2].gravy = 0;
_global.temperature2 = _global.temperature2 + (power2 * 200);
_global.e_firingangle = Math.round(Math.random() * 90);
_global.val2++;
}
}
_global.val3 = _global.val3 + 0.0125;
}
if ((fired == true) & (_global.e_firingangle == Math.abs(_root.bang2.barrel._rotation))) {
_global.e_firingangle = Math.round(Math.random() * 90);
}
}
Instance of Symbol 131 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (_global.powerup) {
if (_global.power < 0.25) {
_global.power = _global.power + 0.0125;
_root.clip.bul_mask._y = _root.clip.bul_mask._y - 23.8;
_root.p1 = _global.power * 400;
click = new Sound(this);
click.setVolume(400);
click.attachSound("Utopia Open");
click.start();
}
}
}
Frame 10
_global.lives = _global.lives - 1;
if (_global.lives <= 0) {
_global.dead = true;
gotoAndStop (11);
}
stop();
Instance of Symbol 144 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_global.kaput) {
bigbang2 = new Sound(this);
bigbang2.attachSound("mortarcannon");
bigbang2.setVolume(500);
bigbang2.start();
_global.kaput = false;
}
}
Instance of Symbol 156 MovieClip "regroup" in Frame 10
on (press) {
_root.gotoAndStop("powerup");
}
Frame 11
_root.regroup._visible = false;
stop();
Frame 12
_root.bang3.barrel._rotation = -45;
_global.score = _global.score + Math.round(_global.accuracy);
if (_global.error_range > 0) {
_global.error_range = _global.error_range - 5;
}
if ((_global.level > 2) & (_global.thinking_const > 0)) {
_global.thinking_const = _global.thinking_const - 10;
}
stop();
Instance of Symbol 144 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (_global.hit) {
bigbang3 = new Sound(this);
bigbang3.attachSound("mortarcannon");
bigbang3.setVolume(500);
bigbang3.start();
_global.hit = false;
}
}
Instance of Symbol 180 MovieClip "next_level" in Frame 12
on (press) {
_global.shots = 0;
_global.hits = 0;
_global.e_shots = 0;
_global.e_hits = 0;
_global.level = _global.level + 1;
if (_global.bricks < 41) {
_global.bricks = _global.bricks + 3;
}
if (_global.bricks_row < 5) {
_global.bricks_row = _global.bricks_row + 1;
}
_global.windspeed = Math.round(((Math.random() * 2) - 1) * _global.windpower);
_root.gotoAndStop("powerup");
}
Symbol 28 Button
on (press) {
gotoAndStop (360);
}
Instance of Symbol 24 MovieClip "cloud1" in Symbol 39 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 1);
}
Symbol 39 MovieClip Frame 360
_root.gotoAndPlay("intro", 2);
Symbol 44 Button
on (press) {
gotoAndPlay (5);
}
Symbol 48 Button
on (press) {
this._visible = false;
}
Symbol 51 Button
on (press) {
_root.inst._visible = true;
}
Symbol 88 MovieClip Frame 1
Symbol 88 MovieClip Frame 30
stop();
Symbol 95 MovieClip Frame 27
removeMovieClip(this);
stop();
Instance of Symbol 119 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_parent.dead) {
if (_x > (_global.leafrange / 2)) {
_global.dir = "right";
}
if (_x < ((-_global.leafrange) / 2)) {
_global.dir = "left";
}
if (_global.dir == "left") {
_x = (_x + 0.5);
}
if (_global.dir == "right") {
_x = (_x - 0.5);
}
}
}
Symbol 127 Button
on (press) {
_root.clip.bul_mask._y = _global.bul_masky;
_global.powerup = true;
_global.power = 0;
_root.proj.fire = false;
_root.proj.gravy = 0;
}
on (release) {
_global.shots = _global.shots + 1;
_global.powerup = false;
_root.bang.barrel._rotation = -_global.firingangle;
duplicateMovieClip (_root.proj, "proj" + _global.val, _global.val + 200);
_global.projectiles.push("proj" + _global.val);
_root["proj" + _global.val].init = true;
_root["proj" + _global.val].fire = true;
_root["proj" + _global.val].power = _global.power;
_root["proj" + _global.val].firingangle = _global.firingangle;
_root["proj" + _global.val].gravy = 0;
_global.temperature = _global.temperature + (_global.power * 200);
_global.val++;
}
Symbol 143 MovieClip Frame 1
stop();
Instance of Symbol 142 MovieClip "rising_smoke3" in Symbol 143 MovieClip Frame 1
onClipEvent (load) {
_alpha = 25;
}
Instance of Symbol 142 MovieClip "rising_smoke" in Symbol 143 MovieClip Frame 1
onClipEvent (load) {
_alpha = 25;
}
Instance of Symbol 142 MovieClip "rising_smoke2" in Symbol 143 MovieClip Frame 1
onClipEvent (load) {
_alpha = 25;
}
Instance of Symbol 142 MovieClip "rising_smoke2" in Symbol 143 MovieClip Frame 1
onClipEvent (load) {
_alpha = 25;
}
Symbol 144 MovieClip Frame 25
stop();
Symbol 161 Button
on (press) {
_root.bang.barrel._rotation = -45;
_global.firingangle;
_global.power = 0;
_global.gravy = 0;
_root.p1 = 0;
_global.windspeed = Math.round(((Math.random() * 2) - 1) * _global.windpower);
gotoAndPlay (5);
}