Frame 2
_root.stop();
_global.marker1 = 6;
_global.marker2 = 12;
_global.marker3 = 18;
_global.marker4 = 999;
_global.day = 1;
_global.houselevels = 1;
_global.maxhealth = 100;
_global.health = _global.maxhealth;
_global.maxammo = 7;
_global.ammo = _global.maxammo;
_global.smokenum = 100000 /* 0x0186A0 */;
_global.money = 0;
_global.gunpower = 1;
_global.swordNum = 0;
_global.m16Num = 0;
_global.rocketeerNum = 0;
_global.tankNum = 0;
_global.skyspeed = 0.5;
_global.craftsman = 0;
_global.gunman = 0;
_global.rifledamage = 3;
_global.missiledamage = 8;
_global.missiles = 0;
Frame 3
stop();
Frame 4
_global.swordnum = 0;
_global.m16num = 0;
_global.rocketeernum = 0;
_global.tanknum = 0;
_global.ammo = _global.maxammo;
_root.daynum = "Day " + _global.day;
_root.birds.gotoAndPlay(2);
money = "$" + _global.money;
if (_global.day < _global.marker1) {
while ((_global.swordNum / 2) < (_global.day - 1)) {
_root.sword.duplicateMovieClip("sword", _global.swordnum, _global.swordnum);
_global.swordNum++;
}
} else {
while (_global.swordNum < 10) {
_root.sword.duplicateMovieClip("sword", _global.swordnum, _global.swordnum);
_global.swordNum++;
}
}
if ((_global.day > (_global.marker1 - 1)) and (_global.day < _global.marker2)) {
while (_global.m16Num < (_global.day - _global.marker1)) {
_root.m16.duplicateMovieClip("m16", _global.m16num + 100, _global.m16num);
_global.m16Num++;
}
} else if (_global.day > (_global.marker2 - 1)) {
while (_global.m16Num < (_global.marker2 - _global.marker1)) {
_root.m16.duplicateMovieClip("m16", _global.m16num + 100, _global.m16num);
_global.m16Num++;
}
}
if ((_global.day > (_global.marker2 - 1)) and (_global.day < _global.marker3)) {
while (_global.rocketeerNum < (_global.day - _global.marker2)) {
_root.rocketeer.duplicateMovieClip("rocketeer", _global.rocketeernum + 200, _global.rocketeernum);
_global.rocketeerNum++;
}
} else if (_global.day > (_global.marker3 - 1)) {
while (_global.rocketeerNum < (_global.marker3 - _global.marker2)) {
_root.rocketeer.duplicateMovieClip("rocketeer", _global.rocketeernum + 200, _global.rocketeernum);
_global.rocketeerNum++;
}
}
if ((_global.day > (_global.marker3 - 1)) and (_global.day < _global.marker4)) {
while (_global.tankNum < math.round(((_global.day - _global.marker3) / 2) - 0.1)) {
_root.tank.duplicateMovieClip("tank", _global.tanknum + 300, _global.tank);
_global.tankNum++;
}
} else if (_global.day > (_global.marker4 - 1)) {
while (_global.tankNum < ((_global.marker4 - _global.marker3) / 2)) {
_root.tank.duplicateMovieClip("tank", _global.tanknum + 300, _global.tank);
_global.tankNum++;
}
}
_root.Ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.healthnum = (math.round(_global.health) + " / ") + _global.maxhealth;
_root.craftsmannum = _global.craftsman + " craftsmen";
_root.gunmannum = _global.gunman + " gunmen";
_root.missilesnum = _global.missiles + " silo workers";
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
_root.healthbar._xscale = (_global.health / _global.maxhealth) * 100;
_root.money = "$" + _global.money;
_root.payroll = ((_root.gunmansallery * _global.gunman) + (_root.craftsmansallery * _global.craftsman)) + (_root.siloworkersallery * _global.missiles);
_root.payrolltext = "$" + _root.payroll;
stop();
Instance of Symbol 99 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (key.isDown(32) or key.isDown(96)) {
if (_global.ammo < _global.maxammo) {
if (_root.reload._currentframe == 1) {
_root.reload.gotoAndPlay(2);
}
}
}
}
Frame 5
_global.ammo = _global.maxammo;
_root.bars.play();
_root.gunmansallerytext = ("$" + _root.gunmansallery) + " / day";
_root.craftsmansallerytext = ("$" + _root.craftsmansallery) + " / day";
_root.silotext.siloworkersallerytext = ("$" + _root.siloworkersallery) + " / day";
_root.payroll = ((_root.gunmansallery * _global.gunman) + (_root.craftsmansallery * _global.craftsman)) + (_root.siloworkersallery * _global.missiles);
_root.payrolltext = "$" + _root.payroll;
if (_root.payroll == 0) {
_root.payrollcover._x = 10000;
} else {
_root.payrollcover._x = 335;
_root.payrollcover.gotoAndPlay(1);
}
if (_global.gunpower == 2) {
_root.sniperbutton._x = -500;
_root.sniperfull._x = 354.4;
}
if (_root.missilesite._x < 700) {
_root.missileguybutton._x = 231;
_root.silotext._x = 228;
_root.silobutton._x = 227;
_root.missilesitebutton._x = -100;
}
if (_root.wall._currentframe > 3) {
_root.wallfull._x = 252;
_root.wallbutton._x = -100;
}
if (_root.house._currentframe > 2) {
_root.fortifyfull._x = 444;
_root.fortifybutton._x = -100;
}
stop();
Frame 6
stop();
Symbol 5 Button
on (release) {
gotoAndStop (3);
}
Symbol 8 Button
on (release) {
_root.instructions._x = 325;
}
Symbol 17 Button
on (release) {
_root.instructions._x = 10000;
}
Symbol 23 MovieClip Frame 1
if (this._y < 0) {
this._y = this._y + (_global.skyspeed * 10);
} else {
stopAllSounds();
_root.gotoAndStop(5);
}
Symbol 23 MovieClip Frame 11
gotoAndPlay (1);
Symbol 29 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 2
stop();
Symbol 29 MovieClip Frame 3
stop();
Symbol 35 MovieClip Frame 1
stop();
Symbol 35 MovieClip Frame 2
stop();
Symbol 35 MovieClip Frame 3
stop();
Symbol 35 MovieClip Frame 4
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
i = random(10000000);
_root.explosiontimer.duplicateMovieClip("explosiontimer" + i, i, _root.explosiontimer);
Symbol 47 MovieClip Frame 1
daytext = "Day " + _global.day;
Symbol 47 MovieClip Frame 71
_root.gotoandstop(4);
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
this._x = random(350) + 50;
this._y = random(80) + 325;
Symbol 52 MovieClip Frame 16
this._y = 1000;
Symbol 55 MovieClip Frame 1
if (this._name == "explosiontimer") {
stop();
}
Symbol 55 MovieClip Frame 31
_root.explosion.gotoAndPlay(2);
removeMovieClip(this);
stop();
Symbol 59 MovieClip Frame 1
shoot = 0;
Symbol 59 MovieClip Frame 2
if (_global.missiles > 0) {
shoot = (shoot + 1) + (_global.missiles * 0.2);
}
if (shoot > 200) {
_root.missilesite.gotoAndPlay(2);
shoot = 0;
}
Symbol 59 MovieClip Frame 3
gotoAndPlay (2);
Symbol 62 MovieClip Frame 1
if (this._name == "rocketeertimer") {
stop();
}
Symbol 62 MovieClip Frame 31
_root.rocketeerexplosion.gotoAndPlay(2);
removeMovieClip(this);
stop();
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
_global.health = _global.health - 10;
_root.bars.gotoAndPlay(2);
Symbol 72 MovieClip Frame 1
this._x = _root._xmouse;
this._y = _root._ymouse;
if (this._name == "Smoke") {
this._alpha = 0;
} else if (_root._ymouse > 250) {
this._alpha = 100;
}
Symbol 72 MovieClip Frame 20
stop();
removeMovieClip(this);
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 2
if (_global.gunpower == 1) {
gotoAndPlay (3);
} else {
gotoAndPlay (14);
}
Symbol 77 MovieClip Frame 9
gotoAndStop (1);
Symbol 77 MovieClip Frame 13
gotoAndStop (1);
Symbol 80 MovieClip Frame 1
num = 0;
i = 0.0454545454545455;
Symbol 80 MovieClip Frame 2
_root.ammobar._xscale = (num * i) * 100;
num++;
Symbol 80 MovieClip Frame 3
gotoAndPlay (2);
Symbol 83 MovieClip Frame 1
num = 0;
i = 0.0232558139534884;
Symbol 83 MovieClip Frame 2
_root.ammobar._xscale = (num * i) * 100;
num++;
Symbol 83 MovieClip Frame 3
gotoAndPlay (2);
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
if (_global.gunpower == 1) {
gotoAndPlay (3);
} else {
gotoAndPlay (28);
}
Symbol 87 MovieClip Frame 27
_global.ammo = _global.maxammo;
_root.bars.play();
gotoAndStop (1);
Symbol 87 MovieClip Frame 73
_global.ammo = _global.maxammo;
_root.bars.play();
gotoAndStop (1);
Symbol 90 MovieClip Frame 1
if (this._name == "bloodsmoke") {
this._alpha = 0;
} else {
this._alpha = 100;
}
Symbol 90 MovieClip Frame 20
stop();
removeMovieClip(this);
Symbol 97 MovieClip Frame 1
if (_global.health < 1) {
_global.health = 0;
_root.dead.play();
}
_root.healthnum = (math.round(_global.health) + " / ") + _global.maxhealth;
_root.healthbar._xscale = (_global.health / _global.maxhealth) * 100;
if (_global.health > _global.maxhealth) {
_global.health = _global.maxhealth;
}
_root.Ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
_root.money = "$" + _global.money;
stop();
Symbol 98 Button
on (press) {
if (_global.ammo > 0) {
if (_root.reload._currentframe == 1) {
_global.ammo = _global.ammo - 1;
_root.gunshot.gotoAndPlay(2);
_root.smoke.duplicateMovieClip("smoke" + _global.smokenum, _global.smokenum);
_global.smokenum++;
_root.bars.play();
}
} else {
_root.gunshot.gotoAndPlay("dryfire");
}
}
Symbol 102 MovieClip Frame 1
if (_global.health < _global.maxhealth) {
_global.health = _global.health + ((_global.craftsman * 0.7) / 12);
if (_global.health > _global.maxhealth) {
_global.health = _global.maxhealth;
}
_root.healthnum = (math.round(_global.health) + " / ") + _global.maxhealth;
_root.healthbar._xscale = (_global.health / _global.maxhealth) * 100;
}
Symbol 102 MovieClip Frame 3
gotoAndPlay (1);
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 4
this._y = 1000;
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
place = random(3);
if (place == 0) {
this._x = 548;
this._y = 314;
}
if (place == 1) {
this._x = 563;
this._y = 327;
}
if (place == 2) {
this._x = 578;
this._y = 342;
}
_root.riflemarker._x = random(450) + 50;
_root.riflemarker._y = random(80) + 325;
_root.riflemarker.gotoAndPlay(2);
Symbol 108 MovieClip Frame 1
shoot = 0;
Symbol 108 MovieClip Frame 2
if (_global.gunman > 0) {
shoot = (shoot + 1) + _global.gunman;
}
if (shoot > 80) {
_root.muzzleflash.gotoAndPlay(2);
shoot = 0;
}
Symbol 108 MovieClip Frame 4
gotoAndPlay (2);
Symbol 134 MovieClip Frame 12
gotoAndPlay (1);
Symbol 134 MovieClip Frame 21
_global.health = _global.health - 1;
if (_global.health < 1) {
_global.health = 0;
_root.dead.play();
}
_root.healthnum = (math.round(_global.health) + " / ") + _global.maxhealth;
_root.healthbar._xscale = (_global.health / _global.maxhealth) * 100;
Symbol 134 MovieClip Frame 25
gotoAndPlay (13);
Symbol 135 Button
on (press) {
if (_global.ammo > 0) {
if (_root.reload._currentframe == 1) {
_global.ammo = _global.ammo - 1;
_root.gunshot.gotoAndPlay(2);
health = health - _global.gunpower;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , _root._xmouse);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , _root._ymouse);
_global.smokenum++;
_root.bars.play();
}
} else {
_root.gunshot.gotoAndPlay("dryfire");
}
}
Symbol 150 MovieClip Frame 49
stop();
this._y = 1000;
removeMovieClip(this);
Symbol 151 MovieClip Frame 1
this._x = random(200) - 250;
this._y = random(80) + 325;
speed = (random(20) / 10) + 3;
health = 2;
deathmoney = 100;
explodehit = 0;
Symbol 151 MovieClip Frame 2
if (this.man._currentframe < 12) {
this._x = this._x + speed;
if (this._x > 390) {
if (_root.fence.hitTest(this._x, this._y, true)) {
this.man.gotoAndPlay("fight");
}
}
}
if (_global.Missiles > 0) {
if (explodehit == 0) {
if (_root.explosion.hitTest(this._x, this._y, false)) {
health = health - _global.missiledamage;
explodehit = 1;
}
}
}
if ((_root.currentframe = 4)) {
removeMovieClip(this);
}
if (_root.riflemarker.hitTest(this._x, this._y, false)) {
health = health - _global.rifledamage;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
_root.riflemarker._y = 1000;
}
if (health < 1) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
Symbol 151 MovieClip Frame 3
gotoAndPlay (2);
Symbol 166 MovieClip Frame 12
gotoAndPlay (1);
Symbol 166 MovieClip Frame 15
_global.health = _global.health - 2;
if (_global.health < 1) {
_global.health = 0;
_root.dead.play();
}
_root.healthnum = (math.round(_global.health) + " / ") + _global.maxhealth;
_root.healthbar._xscale = (_global.health / _global.maxhealth) * 100;
Symbol 166 MovieClip Frame 18
gotoAndPlay (13);
Symbol 182 MovieClip Frame 1
this._x = random(50) - 75;
this._y = random(80) + 325;
speed = (random(20) / 10) + 1.5;
deathmoney = 300;
if (_global.day < _global.marker1) {
this._x = 10000;
}
health = 4;
explodehit = 0;
Symbol 182 MovieClip Frame 2
if (this.man._currentframe < 12) {
this._x = this._x + speed;
if (this._x > 390) {
if (_root.fence.hitTest(this._x, this._y, true)) {
this.man.gotoAndPlay("fight");
}
}
}
if (explodehit == 0) {
if (_root.explosion.hitTest(this._x, this._y, false)) {
health = health - _global.missiledamage;
explodehit = 1;
}
}
if ((_root.currentframe = 4)) {
removeMovieClip(this);
}
if (_root.riflemarker.hitTest(this._x, this._y, false)) {
health = health - _global.rifledamage;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
_root.riflemarker._y = 1000;
}
if (health < 1) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
Symbol 182 MovieClip Frame 3
gotoAndPlay (2);
Symbol 206 MovieClip Frame 11
gotoAndPlay (1);
Symbol 206 MovieClip Frame 47
i = random(10000000);
_root.rocketeertimer.duplicateMovieClip("rocketeertimer" + i, i, _root.rocketeertimer);
Symbol 206 MovieClip Frame 75
gotoAndPlay (21);
Symbol 220 MovieClip Frame 1
this._x = random(200) - 250;
this._y = random(80) + 325;
speed = (random(10) / 10) + 1;
deathmoney = 700;
firedistance = random(50) + 50;
if (_global.day < _global.marker2) {
this._x = 10000;
}
health = 5;
explodehit = 0;
Symbol 220 MovieClip Frame 2
if (this.man._currentframe < 12) {
if (_global.day > (_global.marker2 - 1)) {
this._x = this._x + speed;
if (this._x > firedistance) {
this.man.gotoAndPlay("fight");
}
}
}
if (explodehit == 0) {
if (_root.explosion.hitTest(this._x, this._y, false)) {
health = health - _global.missiledamage;
explodehit = 1;
}
}
if ((_root.currentframe = 4)) {
removeMovieClip(this);
}
if (_root.riflemarker.hitTest(this._x, this._y, false)) {
health = health - _global.rifledamage;
_root.bloodsmoke.duplicateMovieClip("bloodsmoke" + _global.smokenum, _global.smokenum);
setProperty("_root.bloodsmoke" + _global.smokenum, _x , this._x);
setProperty("_root.bloodsmoke" + _global.smokenum, _y , this._y);
_global.smokenum++;
_root.riflemarker._y = 1000;
}
if (health < 1) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
Symbol 220 MovieClip Frame 3
gotoAndPlay (2);
Symbol 231 MovieClip Frame 11
gotoAndPlay (1);
Symbol 231 MovieClip Frame 43
_global.health = _global.health - 30;
_root.bars.play();
Symbol 231 MovieClip Frame 100
gotoAndPlay (12);
Symbol 232 Button
on (press) {
if (_global.ammo > 0) {
if (_root.reload._currentframe == 1) {
_global.ammo = _global.ammo - 1;
_root.gunshot.gotoAndPlay(2);
health = health - _global.gunpower;
_root.bars.play();
}
} else {
_root.gunshot.gotoAndPlay("dryfire");
}
}
Symbol 235 MovieClip Frame 1
this._x = random(200) - 250;
this._y = random(130) + 290;
speed = (random(10) / 10) + 1;
deathmoney = 1500;
firedistance = random(120) + 30;
if (_global.day < _global.marker3) {
this._x = 10000;
}
health = 12;
explodehit = 0;
Symbol 235 MovieClip Frame 2
if (this.man._currentframe < 12) {
if (_global.day > (_global.marker3 - 1)) {
this._x = this._x + speed;
if (this._x > firedistance) {
this.man.gotoAndPlay("fight");
}
}
}
if (explodehit == 0) {
if (_root.explosion.hitTest(this._x, this._y, false)) {
health = health - _global.missiledamage;
explodehit = 1;
}
}
if ((_root.currentframe = 4)) {
removeMovieClip(this);
}
if (health < 1) {
_global.money = _global.money + deathmoney;
this.gotoAndPlay("death");
_root.bars.play();
}
Symbol 235 MovieClip Frame 3
gotoAndPlay (2);
Symbol 241 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 17
_root.gotoAndstop("death");
stop();
Symbol 244 Button
on (release) {
if ((_global.money + 1) > wallcost) {
_global.money = _global.money - wallcost;
_root.wall.gotoAndStop(_root.wall._currentframe + 1);
_global.maxhealth = _global.maxhealth + 50;
_global.health = _global.health + 50;
buy.gotoandplay(2);
_root.bars.play();
if (_root.wall._currentframe > 3) {
_root.wallfull._x = 252;
_root.wallbutton._x = -100;
} else {
wallcost = _root.wall._currentframe * 4000;
}
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 249 Button
on (release) {
if ((_global.money + 1) > fortifycost) {
_global.money = _global.money - fortifycost;
_root.house.gotoAndStop(_root.house._currentframe + 1);
_global.maxhealth = _global.maxhealth + 375;
_global.health = _global.health + 375;
buy.gotoandplay(2);
_root.bars.play();
if (_root.house._currentframe > 2) {
_root.fortifyfull._x = 444;
_root.fortifybutton._x = -100;
} else {
fortifycost = _root.house._currentframe * 50000;
}
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 254 Button
on (release) {
if ((_global.money + 1) > snipercost) {
_global.money = _global.money - _root.snipercost;
_global.gunpower = 2;
_root.sniperbutton._x = -500;
_root.sniperfull._x = 354.4;
buy.gotoandplay(2);
_root.bars.play();
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 257 MovieClip Frame 1
if (_global.health > _global.maxhealth) {
_global.health = _global.maxhealth;
}
if (_global.ammo > _global.maxammo) {
_global.ammo = _global.maxammo;
}
_root.Ammonum = (_global.ammo + " / ") + _global.maxammo;
_root.healthnum = (math.round(_global.health) + " / ") + _global.maxhealth;
_root.craftsmannum = _global.craftsman + " craftsmen";
_root.gunmannum = _global.gunman + " gunmen";
_root.missilesnum = _global.missiles + " silo workers";
_root.ammobar._xscale = (_global.ammo / _global.maxammo) * 100;
_root.healthbar._xscale = (_global.health / _global.maxhealth) * 100;
_root.money = "$" + _global.money;
_root.payroll = ((_root.gunmansallery * _global.gunman) + (_root.craftsmansallery * _global.craftsman)) + (_root.siloworkersallery * _global.missiles);
_root.payrolltext = "$" + _root.payroll;
stop();
Symbol 262 Button
on (release) {
if ((_global.money + 1) > clipsizecost) {
_global.money = _global.money - clipsizecost;
_global.maxammo++;
_root.ammobar._xscale = 100;
_global.ammo = _global.maxammo;
buy.gotoandplay(2);
_root.bars.play();
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 266 Button
on (release) {
_global.day++;
_root.sky._y = -884;
_root.gotoAndStop(3);
_global.enemyNum = 0;
}
Symbol 269 MovieClip Frame 1
stop();
Symbol 272 MovieClip Frame 1
stop();
Symbol 276 Button
on (release) {
if ((_global.money + 1) > repaircost) {
if (_global.health < _global.maxhealth) {
_global.money = _global.money - repaircost;
_global.health = _global.health + 20;
if (_global.health > _global.maxhealth) {
_global.health = _global.maxhealth;
}
_root.bars.play();
buy.gotoandplay(2);
} else {
wrong.gotoAndPlay(2);
}
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 281 Button
on (release) {
if ((_global.money + 1) > craftsmancost) {
_global.money = _global.money - craftsmancost;
_global.craftsman++;
buy.gotoandplay(2);
_root.bars.play();
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 283 Button
on (release) {
if ((_global.money + 1) > gunmancost) {
_global.money = _global.money - gunmancost;
_global.gunman++;
buy.gotoandplay(2);
_root.bars.play();
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 293 Button
on (release) {
if ((_global.money + 1) > missilesitecost) {
_global.money = _global.money - missilesitecost;
_root.missilesitetext = "Silo Worker";
_root.silotext._x = 228;
_root.silobutton._x = 227;
_root.missilesite._x = 587;
_root.missileguybutton._x = 231;
_root.missilesitebutton._x = -100;
missilesitecost = 12000;
buy.gotoandplay(2);
_root.bars.play();
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 296 Button
on (release) {
if ((_global.money + 1) > missilesitecost) {
_global.money = _global.money - missilesitecost;
_global.missiles++;
buy.gotoandplay(2);
_root.bars.play();
} else {
wrong.gotoAndPlay(2);
}
}
Symbol 312 Button
on (release) {
_root.instructions._x = 325;
}
Symbol 315 MovieClip Frame 1
num = 0;
finalmoney = _global.money - _root.payroll;
Symbol 315 MovieClip Frame 2
if (num < 14) {
_global.money = math.round(_global.money - (_root.payroll / 15));
_root.bars.play();
num++;
} else {
_global.money = finalmoney;
_root.bars.play();
}
Symbol 315 MovieClip Frame 3
gotoAndPlay (2);
Symbol 316 MovieClip Frame 47
this._x = 10000;
_global.ammo = _global.maxammo;
stop();