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 100 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 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 2
stop();
Symbol 30 MovieClip Frame 3
stop();
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 2
stop();
Symbol 36 MovieClip Frame 3
stop();
Symbol 36 MovieClip Frame 4
stop();
Symbol 43 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 2
i = random(10000000);
_root.explosiontimer.duplicateMovieClip("explosiontimer" + i, i, _root.explosiontimer);
Symbol 48 MovieClip Frame 1
daytext = "Day " + _global.day;
Symbol 48 MovieClip Frame 71
_root.gotoandstop(4);
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 2
this._x = random(350) + 50;
this._y = random(80) + 325;
Symbol 53 MovieClip Frame 16
this._y = 1000;
Symbol 56 MovieClip Frame 1
if (this._name == "explosiontimer") {
stop();
}
Symbol 56 MovieClip Frame 31
_root.explosion.gotoAndPlay(2);
removeMovieClip(this);
stop();
Symbol 60 MovieClip Frame 1
shoot = 0;
Symbol 60 MovieClip Frame 2
if (_global.missiles > 0) {
shoot = (shoot + 1) + (_global.missiles * 0.2);
}
if (shoot > 200) {
_root.missilesite.gotoAndPlay(2);
shoot = 0;
}
Symbol 60 MovieClip Frame 3
gotoAndPlay (2);
Symbol 63 MovieClip Frame 1
if (this._name == "rocketeertimer") {
stop();
}
Symbol 63 MovieClip Frame 31
_root.rocketeerexplosion.gotoAndPlay(2);
removeMovieClip(this);
stop();
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 2
_global.health = _global.health - 10;
_root.bars.gotoAndPlay(2);
Symbol 73 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 73 MovieClip Frame 20
stop();
removeMovieClip(this);
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
if (_global.gunpower == 1) {
gotoAndPlay (3);
} else {
gotoAndPlay (14);
}
Symbol 78 MovieClip Frame 9
gotoAndStop (1);
Symbol 78 MovieClip Frame 13
gotoAndStop (1);
Symbol 81 MovieClip Frame 1
num = 0;
i = 0.0454545454545455;
Symbol 81 MovieClip Frame 2
_root.ammobar._xscale = (num * i) * 100;
num++;
Symbol 81 MovieClip Frame 3
gotoAndPlay (2);
Symbol 84 MovieClip Frame 1
num = 0;
i = 0.0232558139534884;
Symbol 84 MovieClip Frame 2
_root.ammobar._xscale = (num * i) * 100;
num++;
Symbol 84 MovieClip Frame 3
gotoAndPlay (2);
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 2
if (_global.gunpower == 1) {
gotoAndPlay (3);
} else {
gotoAndPlay (28);
}
Symbol 88 MovieClip Frame 27
_global.ammo = _global.maxammo;
_root.bars.play();
gotoAndStop (1);
Symbol 88 MovieClip Frame 73
_global.ammo = _global.maxammo;
_root.bars.play();
gotoAndStop (1);
Symbol 91 MovieClip Frame 1
if (this._name == "bloodsmoke") {
this._alpha = 0;
} else {
this._alpha = 100;
}
Symbol 91 MovieClip Frame 20
stop();
removeMovieClip(this);
Symbol 98 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 99 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 103 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 103 MovieClip Frame 3
gotoAndPlay (1);
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 4
this._y = 1000;
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 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 109 MovieClip Frame 1
shoot = 0;
Symbol 109 MovieClip Frame 2
if (_global.gunman > 0) {
shoot = (shoot + 1) + _global.gunman;
}
if (shoot > 80) {
_root.muzzleflash.gotoAndPlay(2);
shoot = 0;
}
Symbol 109 MovieClip Frame 4
gotoAndPlay (2);
Symbol 135 MovieClip Frame 12
gotoAndPlay (1);
Symbol 135 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 135 MovieClip Frame 25
gotoAndPlay (13);
Symbol 136 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 151 MovieClip Frame 49
stop();
this._y = 1000;
removeMovieClip(this);
Symbol 152 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 152 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 152 MovieClip Frame 3
gotoAndPlay (2);
Symbol 167 MovieClip Frame 12
gotoAndPlay (1);
Symbol 167 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 167 MovieClip Frame 18
gotoAndPlay (13);
Symbol 183 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 183 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 183 MovieClip Frame 3
gotoAndPlay (2);
Symbol 207 MovieClip Frame 11
gotoAndPlay (1);
Symbol 207 MovieClip Frame 47
i = random(10000000);
_root.rocketeertimer.duplicateMovieClip("rocketeertimer" + i, i, _root.rocketeertimer);
Symbol 207 MovieClip Frame 75
gotoAndPlay (21);
Symbol 221 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 221 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 221 MovieClip Frame 3
gotoAndPlay (2);
Symbol 232 MovieClip Frame 11
gotoAndPlay (1);
Symbol 232 MovieClip Frame 43
_global.health = _global.health - 30;
_root.bars.play();
Symbol 232 MovieClip Frame 100
gotoAndPlay (12);
Symbol 233 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 236 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 236 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 236 MovieClip Frame 3
gotoAndPlay (2);
Symbol 242 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 17
_root.gotoAndstop("death");
stop();
Symbol 245 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 250 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 255 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 258 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 263 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 267 Button
on (release) {
_global.day++;
_root.sky._y = -884;
_root.gotoAndStop(3);
_global.enemyNum = 0;
}
Symbol 270 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 1
stop();
Symbol 277 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 282 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 284 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 294 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 297 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 313 Button
on (release) {
_root.instructions._x = 325;
}
Symbol 316 MovieClip Frame 1
num = 0;
finalmoney = _global.money - _root.payroll;
Symbol 316 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 316 MovieClip Frame 3
gotoAndPlay (2);
Symbol 317 MovieClip Frame 47
this._x = 10000;
_global.ammo = _global.maxammo;
stop();