Frame 1
function moveRubbles(mc) {
if (lvlEnd == false) {
if (Key.getCode() == 68) {
mc._x = mc._x - 25;
lLimit = false;
if (mc._x <= -755) {
mc._x = -755;
rLimit = true;
} else {
rLimit = false;
}
} else if (Key.getCode() == 65) {
mc._x = mc._x + 25;
rLimit = false;
if (mc._x >= 1320) {
mc._x = 1320;
lLimit = true;
} else {
lLimit = false;
}
}
}
}
function moveBuilding(mc) {
if (lvlEnd == false) {
if (Key.getCode() == 68) {
mc._x = mc._x - 10;
if (mc._x <= -60) {
mc._x = -60;
}
} else if (Key.getCode() == 65) {
mc._x = mc._x + 10;
if (mc._x >= 760.5) {
mc._x = 760.5;
}
}
}
}
function crouchRubbles(mc) {
if ((lvlEnd == false) or (bossStart == true)) {
if (mc._y <= 320) {
mc._y = 320;
crouch = true;
} else {
mc._y = mc._y - 50;
crouch = false;
}
}
}
function unCrouchRubbles(mc) {
crouch = false;
if (mc._y >= 490) {
mc._y = 490;
} else {
mc._y = mc._y + 50;
}
}
function crouchBuilding(mc) {
if ((lvlEnd == false) or (bossStart == true)) {
if (mc._y >= 255) {
mc._y = 255;
} else {
mc._y = mc._y + 10;
}
}
}
function unCrouchBuilding(mc) {
if (mc._y >= 225) {
mc._y = 225;
} else {
mc._y = mc._y + 20;
}
}
function chngeItem() {
if ((lvlEnd == false) or (bossStart == true)) {
if (Key.getCode() == 48) {
itemNo = 0;
} else if (Key.getCode() == 49) {
itemNo = 1;
} else if (Key.getCode() == 50) {
itemNo = 2;
} else if (Key.getCode() == 51) {
itemNo = 3;
} else if (Key.getCode() == 52) {
itemNo = 4;
}
itemFrame = (itemNo * 5) + 1;
mouse.gotoAndPlay(itemFrame);
} else {
mouse.gotoAndPlay(1);
}
}
function checkInStage(enemyName) {
if (_root.stage.hitTest(enemyName) == true) {
enemyName.inStage = true;
enemyName._visible = true;
} else {
enemyName.inStage = false;
enemyName._visible = false;
if ((enemyName.spawned == false) or (enemyName.shot == true)) {
enemyName.gotoAndPlay(1);
} else if (enemyName.life > 1) {
enemyName.gotoAndPlay(20);
}
}
}
function roEnemy(mc) {
if ((mc.spawned == true) and (mc.life > 0)) {
if (itemNo == 0) {
mc.gotoAndPlay(24);
} else if ((itemNo == 1) and (posterCount > 0)) {
mc.gotoAndPlay(31);
converting.gotoAndPlay(2);
posterCount--;
mc.life--;
score = score + 50;
} else if ((itemNo == 2) and (clothesCount > 0)) {
mc.gotoAndPlay(36);
converting.gotoAndPlay(2);
clothesCount--;
mc.life = mc.life - 2;
score = score + 100;
} else if ((itemNo == 3) and (medicineCount > 0)) {
mc.gotoAndPlay(41);
converting.gotoAndPlay(2);
mc.life = mc.life - 3;
medicineCount--;
score = score + 150;
} else if ((itemNo == 4) and (foodCount > 0)) {
mc.gotoAndPlay(46);
converting.gotoAndPlay(2);
foodCount--;
mc.life = mc.life - 6;
score = score + 200;
}
}
}
function roBoss(mc) {
if (mc.life > 0) {
if (itemNo == 0) {
mc.gotoAndPlay(311);
} else if ((itemNo == 1) and (posterCount > 0)) {
mc.gotoAndPlay(316);
converting.gotoAndPlay(2);
posterCount = posterCount - 3;
if (posterCount <= 0) {
posterCount = 0;
}
mc.life--;
score = score + 50;
mc.disabled = true;
} else if ((itemNo == 2) and (clothesCount > 0)) {
mc.gotoAndPlay(321);
converting.gotoAndPlay(2);
clothesCount = clothesCount - 3;
if (clothesCount <= 0) {
clothesCount = 0;
}
mc.life = mc.life - 2;
score = score + 100;
mc.disabled = true;
} else if ((itemNo == 3) and (medicineCount > 0)) {
mc.gotoAndPlay(326);
converting.gotoAndPlay(2);
mc.life = mc.life - 3;
medicineCount = medicineCount - 3;
if (medicineCount <= 0) {
medicineCount = 0;
}
score = score + 150;
mc.disabled = true;
} else if ((itemNo == 4) and (foodCount > 0)) {
mc.gotoAndPlay(331);
converting.gotoAndPlay(2);
foodCount = foodCount - 3;
if (foodCount <= 0) {
foodCount = 0;
}
mc.life = mc.life - 6;
score = score + 200;
mc.disabled = true;
}
}
}
function dmg() {
hit1.gotoAndPlay(2);
if (armorTxt > 0) {
armorTxt = armorTxt - damage;
if (armorTxt <= 0) {
armorTxt = 0;
}
armor.mask._yscale = armorTxt;
} else {
hpTxt = hpTxt - damage;
if (hpTxt <= 0) {
hpTxt = 0;
}
hp.mask._yscale = hpTxt;
}
}
function enemyROut(mc) {
if ((mc.roFlag == false) and (mc.normal == false)) {
if ((mc.spawned == true) and (mc.roCount < 25)) {
mc.roCount++;
} else {
if ((mc.life > 0) and (mc.spawned == true)) {
mc.gotoAndPlay(24);
} else if (mc.life <= 0) {
mc.gotoAndPlay(56);
converted1.gotoAndPlay(2);
}
mc.normal = true;
}
}
}
function bossROut(mc) {
if (mc.roFlag == false) {
if (mc.roCount < 25) {
mc.roCount++;
} else if (mc.life > 0) {
mc.gotoAndPlay(311);
} else if (mc.life <= 0) {
mc.gotoAndPlay(336);
}
mc.normal = true;
mc.disabled = false;
}
}
function drop() {
dropped = false;
dropNo = random(8);
item = 0;
while (item < 6) {
odds = _root.dropRates[item];
oddsCount = 0;
while (oddsCount < odds) {
drop2 = random(8);
if ((drop2 == dropNo) and (dropped == false)) {
if ((item == 4) and (hpPts >= 100)) {
drop();
} else if ((item == 5) and (armorPts >= 100)) {
drop();
} else {
reward.gotoAndPlay(2);
dropNum = item;
}
dropped = true;
}
oddsCount++;
}
item++;
}
}
function updateText() {
if (_root.score < 0) {
_root.score1.textColor = 16711680 /* 0xFF0000 */;
} else {
_root.score1.textColor = 6710886 /* 0x666666 */;
}
if (lvlEnd == false) {
_root.timeLeft--;
}
timeDisplay = Math.ceil(_root.timeLeft / 25);
if ((time != timeDisplay) and (timeDisplay >= 0)) {
updateTime();
}
if (timeDisplay < 10) {
_root.time1.textColor = 16711680 /* 0xFF0000 */;
} else {
_root.time1.textColor = 6710886 /* 0x666666 */;
}
}
function updateTime() {
_root.time = timeDisplay;
}
function updateConvert() {
_root.converted++;
_root.convert = _root.converted;
}
function updateEnemyLeft() {
_root.enemyLeft--;
if (_root.enemyLeft < 0) {
_root.enemyLeft = 0;
}
_root.enemyRemoved++;
_root.enemy = _root.enemyLeft;
}
fscommand ("allowscale", false);
_quality = "high";
rLimit = false;
lLimit = false;
itemNo = 0;
posterCount = 50;
foodCount = 0;
medicineCount = 0;
clothesCount = 0;
armorPts = 100;
hpPts = 100;
score = 0;
bullets = 0;
footTimer = -1;
boss = false;
_root.itemName = ["poster", "clothes", "medicine", "food", "health", "armor"];
mouseListener = new Object();
mouseListener.onMouseWheel = function (delta) {
if ((lvlEnd == false) or (bossStart == true)) {
if (delta > 0) {
itemNo--;
if (itemNo < 0) {
itemNo = 0;
}
}
if (delta < 0) {
itemNo++;
if (itemNo > 4) {
itemNo = 4;
}
}
itemFrame = (itemNo * 5) + 1;
mouse.gotoAndPlay(itemFrame);
} else {
mouse.gotoAndPlay(1);
}
};
mouseListener.onMouseDown = function () {
if (_root.lvlEnd == false) {
mouse.curs_shoot.gotoAndPlay(6);
}
};
mouseListener.onMouseUp = function () {
if (_root.lvlEnd == false) {
bullets++;
gun.gotoAndPlay(2);
mouse.shoot.gotoAndPlay(6);
}
};
Mouse.addListener(mouseListener);
Instance of Symbol 43 MovieClip "mouse" in Frame 1
onClipEvent (mouseMove) {
Mouse.hide();
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (keyDown) {
_root.chngeItem();
}
Frame 2
if (_root.getBytesTotal() == _root.getBytesLoaded()) {
gotoAndStop (5);
} else {
percentdone = Math.floor((100 * _root.getBytesLoaded()) / _root.getBytesTotal());
percent = percentdone + "%";
bar._yscale = percentdone;
}
Frame 3
gotoAndPlay (2);
Frame 5
Frame 6
rLimit = false;
lLimit = false;
itemNo = 0;
posterCount = 50;
foodCount = 0;
medicineCount = 0;
clothesCount = 0;
armorPts = 100;
hpPts = 100;
score = 0;
bullets = 0;
footTimer = -1;
boss = false;
Instance of Symbol 74 MovieClip in Frame 6
onClipEvent (load) {
this._alpha = 0;
fadeStop = false;
}
onClipEvent (enterFrame) {
if (fadeStop == false) {
this._alpha = this._alpha + 10;
}
if (this._alpha >= 100) {
fadeStop = true;
}
}
Instance of Symbol 27 MovieClip in Frame 6
onClipEvent (load) {
timer = 0;
_root.mySound.stop();
_root.mySound = new Sound();
_root.mySound.attachSound("main");
_root.mySound.start();
}
onClipEvent (enterFrame) {
_root.mySound.onSoundComplete = _root.mySound.start;
}
Frame 10
stop();
Frame 11
_root.level = 1;
_root.hpTxt = _root.hpPts;
_root.armorTxt = _root.armorPts;
_root.hp.mask._yscale = _root.hpPts;
_root.armor.mask._yscale = _root.armorPts;
_root.spawntime = 200;
_root.shootFreq = 125;
_root.accuracy = 6;
_root.resistance = 5;
_root.dropRate = 4;
_root.damage = 15;
_root.enemySpawned = 0;
_root.enemyPts = 500;
_root.enemyDie = -750;
_root.bullets = 0;
_root.converted = 0;
_root.enemyRemoved = 0;
_root.toConvert = 25;
_root.enemyLeft = 25;
_root.timeLeft = 1750;
_root.convert = _root.converted;
_root.enemy = _root.enemyLeft;
_root.lvlEnd = false;
_root.win = false;
_root.dropRates = [3, 1, 0, 0, 2, 2];
Instance of Symbol 27 MovieClip in Frame 11
onClipEvent (enterFrame) {
_root.updateText();
if ((_root.time == 0) and (_root.enemy > 0)) {
_root.lvlEnd = true;
_root.itemNo = 0;
_root.mouse.gotoAndPlay(1);
_root.mouse.mouse.gotoAndPlay(1);
_root.end.gotoAndPlay(11);
} else if ((_root.time == 0) and (_root.enemy == 0)) {
_root.lvlEnd = true;
_root.itemNo = 0;
_root.mouse.gotoAndPlay(1);
_root.mouse.mouse.gotoAndPlay(1);
_root.end.gotoAndPlay(6);
}
if (_root.hpTxt <= 0) {
_root.lvlEnd = true;
_root.itemNo = 0;
_root.mouse.gotoAndPlay(1);
_root.mouse.mouse.gotoAndPlay(1);
_root.end.gotoAndPlay(16);
}
}
Instance of Symbol 176 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.hit == true) {
gotoAndPlay (6);
}
}
Instance of Symbol 220 MovieClip "stage" in Frame 11
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 27 MovieClip in Frame 11
onClipEvent (load) {
_root.mySound.stop();
_root.mySound = new Sound();
_root.mySound.attachSound("bgm");
_root.mySound.start();
}
onClipEvent (enterFrame) {
_root.mySound.onSoundComplete = _root.mySound.start;
}
Frame 15
stop();
Instance of Symbol 27 MovieClip in Frame 16
onClipEvent (load) {
_root.mySound.stop();
_root.mySound = new Sound();
_root.mySound.attachSound("end");
_root.mySound.start();
timer = 0;
}
onClipEvent (enterFrame) {
timer++;
if (timer >= 533) {
_root.mySound.start();
timer = 0;
}
}
Frame 20
stop();
Frame 21
_root.level = 2;
_root.hpTxt = _root.hpPts;
_root.armorTxt = _root.armorPts;
_root.hp.mask._yscale = _root.hpPts;
_root.armor.mask._yscale = _root.armorPts;
_root.spawntime = 150;
_root.shootFreq = 100;
_root.accuracy = 5;
_root.resistance = 10;
_root.dropRate = 3;
_root.damage = 20;
_root.enemySpawned = 0;
_root.enemyPts = 1000;
_root.enemyDie = -1250;
_root.bullets = 0;
_root.converted = 0;
_root.enemyRemoved = 0;
_root.toConvert = 35;
_root.enemyLeft = 35;
_root.timeLeft = 2000;
_root.convert = _root.converted;
_root.enemy = _root.enemyLeft;
_root.win = false;
_root.lvlEnd = false;
_root.dropRates = [1, 2, 1, 0, 2, 2];
Instance of Symbol 27 MovieClip in Frame 21
onClipEvent (enterFrame) {
_root.updateText();
if ((_root.time == 0) and (_root.enemy > 0)) {
_root.lvlEnd = true;
_root.itemNo = 0;
_root.mouse.gotoAndPlay(1);
_root.mouse.mouse.gotoAndPlay(1);
_root.end.gotoAndPlay(11);
} else if ((_root.time == 0) and (_root.enemy == 0)) {
_root.lvlEnd = true;
_root.itemNo = 0;
_root.mouse.gotoAndPlay(1);
_root.mouse.mouse.gotoAndPlay(1);
_root.end.gotoAndPlay(6);
}
if (_root.hpTxt <= 0) {
_root.lvlEnd = true;
_root.itemNo = 0;
_root.mouse.gotoAndPlay(1);
_root.mouse.mouse.gotoAndPlay(1);
_root.end.gotoAndPlay(16);
}
}
Instance of Symbol 176 MovieClip in Frame 21
onClipEvent (enterFrame) {
if (_root.hit == true) {
gotoAndPlay (6);
}
}
Instance of Symbol 27 MovieClip in Frame 21
onClipEvent (load) {
_root.mySound.stop();
_root.mySound = new Sound();
_root.mySound.attachSound("bgm");
_root.mySound.start();
}
onClipEvent (enterFrame) {
_root.mySound.onSoundComplete = _root.mySound.start;
}
Frame 25
stop();
Instance of Symbol 27 MovieClip in Frame 26
onClipEvent (load) {
_root.mySound.stop();
_root.mySound = new Sound();
_root.mySound.attachSound("end");
_root.mySound.start();
timer = 0;
}
onClipEvent (enterFrame) {
if (timer >= 533) {
_root.mySound.start();
timer = 0;
}
}
Frame 30
stop();
Frame 31
_root.level = 3;
_root.hpTxt = _root.hpPts;
_root.armorTxt = _root.armorPts;
_root.hp.mask._yscale = _root.hpPts;
_root.armor.mask._yscale = _root.armorPts;
_root.spawntime = 100;
_root.shootFreq = 75;
_root.accuracy = 4;
_root.resistance = 15;
_root.dropRate = 2;
_root.damage = 25;
_root.enemySpawned = 0;
_root.enemyPts = 1500;
_root.enemyDie = -1750;
_root.bullets = 0;
_root.converted = 0;
_root.enemyRemoved = 0;
_root.toConvert = 40;
_root.enemyLeft = 40;
_root.timeLeft = 2250;
_root.convert = _root.converted;
_root.enemy = _root.enemyLeft;
_root.win = false;
_root.lvlEnd = false;
_root.dropRates = [0, 1, 2, 1, 2, 2];
Instance of Symbol 27 MovieClip in Frame 31
onClipEvent (enterFrame) {
_root.updateText();
if ((_root.time == 0) and (_root.enemy > 0)) {
_root.lvlEnd = true;
_root.itemNo = 0;
_root.mouse.gotoAndPlay(1);
_root.mouse.mouse.gotoAndPlay(1);
_root.end.gotoAndPlay(11);
} else if (((_root.time == 0) and (_root.enemy == 0)) and (_root.bossStart != true)) {
_root.boss = true;
_root.lvlEnd = true;
_root.itemNo = 0;
_root.mouse.gotoAndPlay(1);
_root.mouse.mouse.gotoAndPlay(1);
}
if (_root.hpTxt <= 0) {
_root.lvlEnd = true;
_root.itemNo = 0;
_root.mouse.gotoAndPlay(1);
_root.mouse.mouse.gotoAndPlay(1);
_root.end.gotoAndPlay(16);
}
}
Instance of Symbol 176 MovieClip in Frame 31
onClipEvent (enterFrame) {
if (_root.hit == true) {
gotoAndPlay (6);
}
}
Instance of Symbol 27 MovieClip in Frame 31
onClipEvent (load) {
_root.mySound.stop();
_root.mySound = new Sound();
_root.mySound.attachSound("bgm");
_root.mySound.start();
}
onClipEvent (enterFrame) {
_root.mySound.onSoundComplete = _root.mySound.start;
}
Frame 35
stop();
Instance of Symbol 27 MovieClip in Frame 36
onClipEvent (load) {
_root.mySound.stop();
_root.mySound = new Sound();
_root.mySound.attachSound("end");
_root.mySound.start();
timer = 0;
}
onClipEvent (enterFrame) {
if (timer >= 533) {
_root.mySound.start();
timer = 0;
}
}
Frame 40
stop();
Frame 45
stop();
Frame 50
stop();
Frame 55
stop();
Symbol 18 MovieClip Frame 1
_parent.curs_shoot.gotoAndPlay(1);
Symbol 18 MovieClip Frame 5
stop();
Symbol 21 MovieClip Frame 5
stop();
Symbol 21 MovieClip Frame 10
stop();
Symbol 23 MovieClip Frame 5
stop();
Symbol 23 MovieClip Frame 10
stop();
Symbol 33 MovieClip Frame 1
_root.dropNum = "";
_y = oriY;
Symbol 33 MovieClip Frame 5
if (_root.dropNum != "") {
frameNo = (_root.dropNum * 15) + 6;
gotoAndPlay(frameNo);
} else {
gotoAndPlay(_currentframe - 1);
}
Instance of Symbol 27 MovieClip in Symbol 33 MovieClip Frame 6
onClipEvent (enterFrame) {
_parent._y = _parent._y - 3;
}
Symbol 33 MovieClip Frame 20
_root.posterCount = _root.posterCount + 15;
gotoAndPlay (1);
Symbol 33 MovieClip Frame 35
_root.clothesCount = _root.clothesCount + 15;
gotoAndPlay (1);
Symbol 33 MovieClip Frame 50
_root.medicineCount = _root.medicineCount + 15;
gotoAndPlay (1);
Symbol 33 MovieClip Frame 65
_root.foodCount = _root.foodCount + 15;
gotoAndPlay (1);
Symbol 33 MovieClip Frame 80
if (_root.level == 1) {
_root.hpPts = _root.hpPts + 15;
} else if (_root.level == 2) {
_root.hpPts = _root.hpPts + 17;
} else if (_root.level == 3) {
_root.hpPts = _root.hpPts + 19;
}
if (_root.hpPts > 100) {
_root.hpPts = 100;
}
_root.hpTxt = _root.hpPts;
_root.hp.mask._yscale = _root.hpPts;
gotoAndPlay (1);
Symbol 33 MovieClip Frame 95
if (_root.level == 1) {
_root.armorPts = _root.armorPts + 15;
} else if (_root.level == 2) {
_root.armorPts = _root.armorPts + 17;
} else if (_root.level == 3) {
_root.armorPts = _root.armorPts + 19;
}
if (_root.armorPts > 100) {
_root.armorPts = 100;
}
_root.armorTxt = _root.armorPts;
_root.armor.mask._yscale = _root.armorPts;
gotoAndPlay (1);
Instance of Symbol 33 MovieClip in Symbol 43 MovieClip Frame 1
onClipEvent (load) {
oriY = this._y;
}
Symbol 43 MovieClip Frame 5
stop();
Instance of Symbol 35 MovieClip in Symbol 43 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.posterCount == 0) {
this._alpha = 30;
} else {
this._alpha = 100;
}
_parent.qty = _root.posterCount;
}
Symbol 43 MovieClip Frame 10
stop();
Instance of Symbol 38 MovieClip in Symbol 43 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.clothesCount == 0) {
this._alpha = 30;
} else {
this._alpha = 100;
}
_parent.qty = _root.clothesCount;
}
Symbol 43 MovieClip Frame 15
stop();
Instance of Symbol 40 MovieClip in Symbol 43 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_root.medicineCount == 0) {
this._alpha = 30;
} else {
this._alpha = 100;
}
_parent.qty = _root.medicineCount;
}
Symbol 43 MovieClip Frame 20
stop();
Instance of Symbol 42 MovieClip in Symbol 43 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.foodCount == 0) {
this._alpha = 30;
} else {
this._alpha = 100;
}
_parent.qty = _root.foodCount;
}
Symbol 43 MovieClip Frame 25
stop();
Symbol 46 MovieClip Frame 16
_root.gotoAndPlay(6);
Symbol 54 MovieClip Frame 5
stop();
Symbol 54 MovieClip Frame 10
stop();
Symbol 57 MovieClip Frame 5
stop();
Symbol 57 MovieClip Frame 10
stop();
Symbol 60 MovieClip Frame 5
stop();
Symbol 60 MovieClip Frame 10
stop();
Symbol 66 Button
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
}
on (rollOut, releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
_root.mouse.mouse.gotoAndPlay(1);
gotoAndPlay (11);
}
Symbol 70 Button
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
}
on (rollOut, releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
_root.mouse.mouse.gotoAndPlay(1);
gotoAndPlay (1);
}
Symbol 72 Button
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
}
on (rollOut, releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
_root.mouse.mouse.gotoAndPlay(1);
_root.gotoAndPlay(11);
}
Symbol 73 Button
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
}
on (rollOut, releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
_root.mouse.mouse.gotoAndPlay(1);
gotoAndPlay (6);
}
Instance of Symbol 54 MovieClip in Symbol 74 MovieClip Frame 1
on (rollOver) {
gotoAndPlay (6);
_root.mouse.mouse.gotoAndPlay(6);
}
on (releaseOutside, rollOut) {
gotoAndPlay (1);
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
_quality = "low";
_root.mouse.mouse.gotoAndPlay(1);
_parent.gotoAndPlay(6);
}
Instance of Symbol 57 MovieClip in Symbol 74 MovieClip Frame 1
on (rollOver) {
gotoAndPlay (6);
_root.mouse.mouse.gotoAndPlay(6);
}
on (releaseOutside, rollOut) {
gotoAndPlay (1);
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
_quality = "medium";
_root.mouse.mouse.gotoAndPlay(1);
_parent.gotoAndPlay(6);
}
Instance of Symbol 60 MovieClip in Symbol 74 MovieClip Frame 1
on (rollOver) {
gotoAndPlay (6);
_root.mouse.mouse.gotoAndPlay(6);
}
on (releaseOutside, rollOut) {
gotoAndPlay (1);
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
_quality = "high";
_root.mouse.mouse.gotoAndPlay(1);
_parent.gotoAndPlay(6);
}
Symbol 74 MovieClip Frame 5
stop();
Symbol 74 MovieClip Frame 10
stop();
Symbol 74 MovieClip Frame 15
stop();
Instance of Symbol 27 MovieClip "controller" in Symbol 87 MovieClip Frame 130
onClipEvent (load) {
dir = "up";
_root.boom.gotoAndPlay(2);
}
onClipEvent (enterFrame) {
if (dir == "up") {
_root.lvl1._y = _root.lvl1._y - 30;
dir = "down";
} else if (dir == "down") {
_root.lvl1._y = _root.lvl1._y + 30;
dir = "up";
}
}
Instance of Symbol 27 MovieClip "controller" in Symbol 87 MovieClip Frame 137
onClipEvent (load) {
_root.lvl1._y = 0;
}
Symbol 102 MovieClip Frame 5
stop();
Symbol 102 MovieClip Frame 6
_root.gun2.gotoAndPlay(2);
Symbol 102 MovieClip Frame 10
stop();
Instance of Symbol 102 MovieClip in Symbol 103 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.fire == true) {
gotoAndPlay (6);
} else {
gotoAndPlay (1);
}
}
Symbol 128 MovieClip Frame 1
_parent.shot = true;
Symbol 128 MovieClip Frame 16
_root.updateEnemyLeft();
_root.score = _root.score + _root.enemyDie;
Symbol 128 MovieClip Frame 17
_parent.sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
_parent.gotoAndPlay(1);
} else {
stop();
}
Symbol 131 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 131 MovieClip Frame 4
sTimer++;
Symbol 131 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 131 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 131 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 131 MovieClip Frame 24
fTimer++;
Symbol 131 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 131 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 131 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 131 MovieClip Frame 35
stop();
Symbol 131 MovieClip Frame 40
stop();
Symbol 131 MovieClip Frame 45
stop();
Symbol 131 MovieClip Frame 50
stop();
Symbol 131 MovieClip Frame 55
stop();
Symbol 131 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 131 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 134 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 134 MovieClip Frame 4
sTimer++;
Symbol 134 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 134 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 134 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 134 MovieClip Frame 24
fTimer++;
Symbol 134 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 134 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 134 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 134 MovieClip Frame 35
stop();
Symbol 134 MovieClip Frame 40
stop();
Symbol 134 MovieClip Frame 45
stop();
Symbol 134 MovieClip Frame 50
stop();
Symbol 134 MovieClip Frame 55
stop();
Symbol 134 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 134 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 137 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 137 MovieClip Frame 4
sTimer++;
Symbol 137 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 137 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 137 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 137 MovieClip Frame 24
fTimer++;
Symbol 137 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 137 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 137 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 137 MovieClip Frame 35
stop();
Symbol 137 MovieClip Frame 40
stop();
Symbol 137 MovieClip Frame 45
stop();
Symbol 137 MovieClip Frame 50
stop();
Symbol 137 MovieClip Frame 55
stop();
Symbol 137 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 137 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 141 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 141 MovieClip Frame 4
sTimer++;
Symbol 141 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 141 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 141 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 141 MovieClip Frame 24
fTimer++;
Symbol 141 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 141 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 141 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 141 MovieClip Frame 35
stop();
Symbol 141 MovieClip Frame 40
stop();
Symbol 141 MovieClip Frame 45
stop();
Symbol 141 MovieClip Frame 50
stop();
Symbol 141 MovieClip Frame 55
stop();
Symbol 141 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 141 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 143 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 143 MovieClip Frame 4
sTimer++;
Symbol 143 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 143 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 143 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 143 MovieClip Frame 24
fTimer++;
Symbol 143 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 143 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 143 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 143 MovieClip Frame 35
stop();
Symbol 143 MovieClip Frame 40
stop();
Symbol 143 MovieClip Frame 45
stop();
Symbol 143 MovieClip Frame 50
stop();
Symbol 143 MovieClip Frame 55
stop();
Symbol 143 MovieClip Frame 79
_root.updateConvert();
_root.updateEnemyLeft();
_root.score = _root.score + _root.enemyPts;
Symbol 143 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 145 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 145 MovieClip Frame 4
sTimer++;
Symbol 145 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 145 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 145 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 145 MovieClip Frame 24
fTimer++;
Symbol 145 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 145 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 145 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 145 MovieClip Frame 35
stop();
Symbol 145 MovieClip Frame 40
stop();
Symbol 145 MovieClip Frame 45
stop();
Symbol 145 MovieClip Frame 50
stop();
Symbol 145 MovieClip Frame 55
stop();
Symbol 145 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 145 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 147 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 147 MovieClip Frame 4
sTimer++;
Symbol 147 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 147 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 147 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 147 MovieClip Frame 24
fTimer++;
Symbol 147 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 147 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 147 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 147 MovieClip Frame 35
stop();
Symbol 147 MovieClip Frame 40
stop();
Symbol 147 MovieClip Frame 45
stop();
Symbol 147 MovieClip Frame 50
stop();
Symbol 147 MovieClip Frame 55
stop();
Symbol 147 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 147 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 149 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 149 MovieClip Frame 4
sTimer++;
Symbol 149 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 149 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 149 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((5 - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 149 MovieClip Frame 24
fTimer++;
Symbol 149 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 149 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 149 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 149 MovieClip Frame 35
stop();
Symbol 149 MovieClip Frame 40
stop();
Symbol 149 MovieClip Frame 45
stop();
Symbol 149 MovieClip Frame 50
stop();
Symbol 149 MovieClip Frame 55
stop();
Symbol 149 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 149 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Instance of Symbol 131 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime - 50;
sTimer = random(spawn) + 100;
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 134 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime - 50;
sTimer = random(spawn) + 100;
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 137 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime - 50;
sTimer = random(spawn) + 100;
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 141 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime - 50;
sTimer = random(spawn) + 100;
fTimer = 0;
roCount = 0;
lifespan = 2;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 143 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime - 50;
sTimer = random(spawn) + 100;
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 145 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime - 50;
sTimer = random(spawn) + 100;
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 147 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime - 50;
sTimer = random(spawn) + 100;
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 149 MovieClip in Symbol 150 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime - 50;
sTimer = random(spawn) + 100;
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Symbol 170 MovieClip Frame 1
_root.lvlEnd = true;
Instance of Symbol 169 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 25;
}
Instance of Symbol 169 MovieClip in Symbol 170 MovieClip Frame 56
onClipEvent (enterFrame) {
this._alpha = this._alpha - 20;
}
Symbol 170 MovieClip Frame 61
_root.lvlEnd = false;
stop();
Instance of Symbol 150 MovieClip "bldgs" in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
stopAnimate = false;
this._x = -170;
this.crouchFlag = false;
this.moveFlag = false;
}
onClipEvent (keyDown) {
this.moveFlag = true;
if (Key.getCode() == 83) {
this.crouchFlag = true;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
this.crouchFlag = false;
}
this.moveFlag = false;
}
onClipEvent (enterFrame) {
if (stopAnimate == false) {
xDist = 730.5 - this._x;
xSpeed = xDist / 5;
this._x = this._x + xSpeed;
}
if ((this._x >= 730) and (stopAnimate == false)) {
thix._x = 730.5;
stopAnimate = true;
}
if (this.crouchFlag == true) {
_root.crouchBuilding(this);
} else {
_root.unCrouchBuilding(this);
}
if (this.moveFlag == true) {
_root.moveBuilding(this);
}
}
Instance of Symbol 165 MovieClip in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
this.crouchFlag = false;
this.moveFlag = false;
stopAnimate = false;
this._x = -755;
}
onClipEvent (keyDown) {
this.moveFlag = true;
if (Key.getCode() == 83) {
this.crouchFlag = true;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
this.crouchFlag = false;
} else if (Key.getCode() == 68) {
_root.arw_r.gotoAndPlay(1);
} else if (Key.getCode() == 65) {
_root.arw_l.gotoAndPlay(1);
}
this.moveFlag = false;
}
onClipEvent (enterFrame) {
if (stopAnimate == false) {
xDist = 1246.25 - this._x;
xSpeed = xDist / 5;
this._x = this._x + xSpeed;
}
if ((this._x >= 1245) and (stopAnimate == false)) {
this._x = 1246.25;
stopAnimate = true;
}
if (this.crouchFlag == true) {
_root.crouchRubbles(this);
} else {
_root.unCrouchRubbles(this);
}
if (this.moveFlag == true) {
_root.moveRubbles(this);
}
}
Symbol 173 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 6
_root.hit = false;
_parent.gotoAndPlay(1);
Symbol 176 MovieClip Frame 5
stop();
Symbol 207 MovieClip Frame 80
_root.win = true;
if (_root.level == 1) {
_root.gotoAndPlay(16);
} else if (_root.level == 2) {
_root.gotoAndPlay(26);
} else if (_root.level == 3) {
_root.gotoAndPlay(36);
}
Symbol 209 MovieClip Frame 80
_root.gotoAndPlay(41);
Symbol 212 MovieClip Frame 80
_root.gotoAndPlay(41);
Instance of Symbol 211 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 5;
}
Instance of Symbol 212 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 5;
}
Symbol 215 MovieClip Frame 25
stop();
Symbol 217 MovieClip Frame 80
_root.win = true;
if (_root.level == 1) {
_root.gotoAndPlay(16);
} else if (_root.level == 2) {
_root.gotoAndPlay(26);
} else if (_root.level == 3) {
_root.gotoAndPlay(36);
}
Symbol 218 MovieClip Frame 5
stop();
Symbol 218 MovieClip Frame 10
stop();
Symbol 218 MovieClip Frame 15
stop();
Instance of Symbol 215 MovieClip in Symbol 218 MovieClip Frame 16
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 10;
}
Symbol 218 MovieClip Frame 20
stop();
Symbol 218 MovieClip Frame 25
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 5
stop();
Symbol 243 MovieClip Frame 10
stop();
Instance of Symbol 235 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
Instance of Symbol 27 MovieClip in Symbol 264 MovieClip Frame 26
onClipEvent (load) {
_parent.endHp = _root.hpPts * 10;
_parent.endArmor = _root.armorPts * 25;
_parent.enemyConverted = (_root.enemyRemoved - _root.toConvert) * 100;
if (_parent.enemyConverted <= 0) {
_parent.enemyConverted = 0;
}
if (_root.win == true) {
_parent.winBonus = 5000;
} else {
_parent.winBonus = 0;
}
_parent.scoreTotal = ((_parent.endHp + _parent.endArmor) + _parent.enemyConverted) + _parent.winBonus;
_parent.bulletsUsed = -(_root.bullets * 200);
_parent.enemyKilled = (-(_root.enemyRemoved - _root.converted)) * 250;
_parent.penTotal = _parent.bulletsUsed + _parent.enemyKilled;
_parent.scoreSubtotal = _parent.scoreTotal + _parent.penTotal;
_parent.score = _root.score + _parent.scoreSubtotal;
bonus = _parent.scoreSubtotal;
bonusQty = bonus / 100;
_parent.poster = Math.round(0.166666666666667 * bonusQty);
if ((-_parent.poster) >= _root.posterCount) {
_parent.poster = -_root.posterCount;
}
_parent.clothes = Math.round(0.333333333333333 * bonusQty);
if ((-_parent.clothes) >= _root.clothesCount) {
_parent.clothes = -_root.clothesCount;
}
_parent.hp = Math.round(0.25 * bonusQty);
if ((_root.hpPts + _parent.hp) < 20) {
_parent.hp = -(_root.hpPts - 20);
}
_parent.armor = Math.round(0.25 * bonusQty);
if ((_root.armorPts + _parent.armor) < 20) {
_parent.armor = -(_root.armorPts - 20);
}
_root.hpPts = _root.hpPts + _parent.hp;
if (_root.hpPts >= 100) {
_root.hpPts = 100;
}
_root.armorPts = _root.armorPts + _parent.armor;
if (_root.armorPts >= 100) {
_root.armorPts = 100;
}
_root.posterCount = _root.posterCount + _parent.poster;
_root.clothesCount = _root.clothesCount + _parent.clothes;
}
Instance of Symbol 243 MovieClip in Symbol 264 MovieClip Frame 26
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
gotoAndPlay (6);
}
on (releaseOutside, rollOut) {
_root.mouse.mouse.gotoAndPlay(1);
gotoAndPlay (1);
}
on (release) {
_root.mouse.mouse.gotoAndPlay(1);
if (_root.win == true) {
_root.gotoAndPlay(21);
} else {
_root.gotoAndPlay(41);
}
}
onClipEvent (enterFrame) {
if (fade == true) {
this._alpha = this._alpha - 5;
} else {
this._alpha = this._alpha + 5;
}
if (this._alpha < 70) {
fade = false;
} else if (this._alpha > 95) {
fade = true;
}
}
Instance of Symbol 263 MovieClip in Symbol 264 MovieClip Frame 26
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
}
on (press) {
pressFlag = true;
}
on (rollOut) {
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
pressFlag = false;
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
pressFlag = false;
}
onClipEvent (enterFrame) {
if (pressFlag == true) {
_parent.story.scroll = _parent.story.scroll - 1;
}
}
Instance of Symbol 263 MovieClip in Symbol 264 MovieClip Frame 26
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
}
on (press) {
pressFlag = true;
}
on (rollOut) {
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
pressFlag = false;
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
pressFlag = false;
}
onClipEvent (enterFrame) {
if (pressFlag == true) {
_parent.story.scroll = _parent.story.scroll + 1;
}
}
Symbol 264 MovieClip Frame 30
stop();
Instance of Symbol 102 MovieClip in Symbol 270 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.fire == true) {
gotoAndPlay (6);
} else {
gotoAndPlay (1);
}
}
Symbol 295 MovieClip Frame 1
_parent.shot = true;
Symbol 295 MovieClip Frame 16
_root.updateEnemyLeft();
_root.score = _root.score + _root.enemyDie;
Symbol 295 MovieClip Frame 17
_parent.sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
_parent.gotoAndPlay(1);
} else {
stop();
}
Symbol 298 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 298 MovieClip Frame 4
sTimer++;
Symbol 298 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 298 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 298 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 298 MovieClip Frame 24
fTimer++;
Symbol 298 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 298 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 298 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 298 MovieClip Frame 35
stop();
Symbol 298 MovieClip Frame 40
stop();
Symbol 298 MovieClip Frame 45
stop();
Symbol 298 MovieClip Frame 50
stop();
Symbol 298 MovieClip Frame 55
stop();
Symbol 298 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 298 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 301 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 301 MovieClip Frame 4
sTimer++;
Symbol 301 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 301 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 301 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 301 MovieClip Frame 24
fTimer++;
Symbol 301 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 301 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 301 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 301 MovieClip Frame 35
stop();
Symbol 301 MovieClip Frame 40
stop();
Symbol 301 MovieClip Frame 45
stop();
Symbol 301 MovieClip Frame 50
stop();
Symbol 301 MovieClip Frame 55
stop();
Symbol 301 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 301 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 304 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 304 MovieClip Frame 4
sTimer++;
Symbol 304 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 304 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 304 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 304 MovieClip Frame 24
fTimer++;
Symbol 304 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 304 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 304 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 304 MovieClip Frame 35
stop();
Symbol 304 MovieClip Frame 40
stop();
Symbol 304 MovieClip Frame 45
stop();
Symbol 304 MovieClip Frame 50
stop();
Symbol 304 MovieClip Frame 55
stop();
Symbol 304 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 304 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 306 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 306 MovieClip Frame 4
sTimer++;
Symbol 306 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 306 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 306 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 306 MovieClip Frame 24
fTimer++;
Symbol 306 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 306 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 306 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 306 MovieClip Frame 35
stop();
Symbol 306 MovieClip Frame 40
stop();
Symbol 306 MovieClip Frame 45
stop();
Symbol 306 MovieClip Frame 50
stop();
Symbol 306 MovieClip Frame 55
stop();
Symbol 306 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 306 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 308 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 308 MovieClip Frame 4
sTimer++;
Symbol 308 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 308 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 308 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 308 MovieClip Frame 24
fTimer++;
Symbol 308 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 308 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 308 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 308 MovieClip Frame 35
stop();
Symbol 308 MovieClip Frame 40
stop();
Symbol 308 MovieClip Frame 45
stop();
Symbol 308 MovieClip Frame 50
stop();
Symbol 308 MovieClip Frame 55
stop();
Symbol 308 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 308 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 310 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 310 MovieClip Frame 4
sTimer++;
Symbol 310 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 310 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 310 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 310 MovieClip Frame 24
fTimer++;
Symbol 310 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 310 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 310 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 310 MovieClip Frame 35
stop();
Symbol 310 MovieClip Frame 40
stop();
Symbol 310 MovieClip Frame 45
stop();
Symbol 310 MovieClip Frame 50
stop();
Symbol 310 MovieClip Frame 55
stop();
Symbol 310 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 310 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 312 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 312 MovieClip Frame 4
sTimer++;
Symbol 312 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 312 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 312 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 312 MovieClip Frame 24
fTimer++;
Symbol 312 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 312 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 312 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 312 MovieClip Frame 35
stop();
Symbol 312 MovieClip Frame 40
stop();
Symbol 312 MovieClip Frame 45
stop();
Symbol 312 MovieClip Frame 50
stop();
Symbol 312 MovieClip Frame 55
stop();
Symbol 312 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 312 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Instance of Symbol 298 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 301 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 304 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 306 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 308 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 310 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 312 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Symbol 316 MovieClip Frame 1
_root.lvlEnd = true;
Instance of Symbol 315 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 25;
}
Instance of Symbol 315 MovieClip in Symbol 316 MovieClip Frame 56
onClipEvent (enterFrame) {
this._alpha = this._alpha - 20;
}
Symbol 316 MovieClip Frame 61
_root.lvlEnd = false;
stop();
Instance of Symbol 313 MovieClip "bldgs" in Symbol 317 MovieClip Frame 1
onClipEvent (load) {
this.crouchFlag = false;
this.moveFlag = false;
stopAnimate = false;
this._x = -170;
}
onClipEvent (keyDown) {
this.moveFlag = true;
if (Key.getCode() == 83) {
this.crouchFlag = true;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
this.crouchFlag = false;
}
this.moveFlag = false;
}
onClipEvent (enterFrame) {
if (stopAnimate == false) {
xDist = 730.5 - this._x;
xSpeed = xDist / 5;
this._x = this._x + xSpeed;
}
if ((this._x >= 730) and (stopAnimate == false)) {
thix._x = 730.5;
stopAnimate = true;
}
if (this.crouchFlag == true) {
_root.crouchBuilding(this);
} else {
_root.unCrouchBuilding(this);
}
if (this.moveFlag == true) {
_root.moveBuilding(this);
}
}
Instance of Symbol 165 MovieClip in Symbol 317 MovieClip Frame 1
onClipEvent (load) {
this.crouchFlag = false;
this.moveFlag = false;
stopAnimate = false;
this._x = -755;
}
onClipEvent (keyDown) {
this.moveFlag = true;
if (Key.getCode() == 83) {
this.crouchFlag = true;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
this.crouchFlag = false;
} else if (Key.getCode() == 68) {
_root.arw_r.gotoAndPlay(1);
} else if (Key.getCode() == 65) {
_root.arw_l.gotoAndPlay(1);
}
this.moveFlag = false;
}
onClipEvent (enterFrame) {
if (stopAnimate == false) {
xDist = 1246.25 - this._x;
xSpeed = xDist / 5;
this._x = this._x + xSpeed;
}
if ((this._x >= 1245) and (stopAnimate == false)) {
this._x = 1246.25;
stopAnimate = true;
}
if (this.crouchFlag == true) {
_root.crouchRubbles(this);
} else {
_root.unCrouchRubbles(this);
}
if (this.moveFlag == true) {
_root.moveRubbles(this);
}
}
Instance of Symbol 235 MovieClip in Symbol 347 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
Instance of Symbol 27 MovieClip in Symbol 347 MovieClip Frame 26
onClipEvent (load) {
_parent.endHp = _root.hpPts * 25;
_parent.endArmor = _root.armorPts * 50;
_parent.enemyConverted = (_root.enemyRemoved - _root.toConvert) * 300;
if (_parent.enemyConverted <= 0) {
_parent.enemyConverted = 0;
}
if (_root.win == true) {
_parent.winBonus = 10000;
} else {
_parent.winBonus = 0;
}
_parent.scoreTotal = ((_parent.endHp + _parent.endArmor) + _parent.enemyConverted) + _parent.winBonus;
_parent.bulletsUsed = -(_root.bullets * 400);
_parent.enemyKilled = (-(_root.enemyRemoved - _root.converted)) * 500;
_parent.penTotal = _parent.bulletsUsed + _parent.enemyKilled;
_parent.scoreSubtotal = _parent.scoreTotal + _parent.penTotal;
_parent.score = _root.score + _parent.scoreSubtotal;
bonus = _parent.scoreSubtotal;
bonusQty = bonus / 100;
_parent.clothes = Math.round(0.166666666666667 * bonusQty);
if ((-_parent.clothes) >= _root.clothesCount) {
_parent.clothes = -_root.clothesCount;
}
_parent.medipak = Math.round(0.333333333333333 * bonusQty);
if ((-_parent.medipak) >= _root.medicineCount) {
_parent.medipak = -_root.medipak;
}
_parent.hp = Math.round(0.25 * bonusQty);
if ((_root.hpPts + _parent.hp) < 20) {
_parent.hp = -(_root.hpPts - 20);
}
_parent.armor = Math.round(0.25 * bonusQty);
if ((_root.armorPts + _parent.armor) < 20) {
_parent.armor = -(_root.armorPts - 20);
}
_root.hpPts = _root.hpPts + _parent.hp;
if (_root.hpPts >= 100) {
_root.hpPts = 100;
}
_root.armorPts = _root.armorPts + _parent.armor;
if (_root.armorPts >= 100) {
_root.armorPts = 100;
}
_root.clothesCount = _root.clothesCount + _parent.clothes;
_root.medicineCount = _root.medicineCount + _parent.medipak;
}
Instance of Symbol 243 MovieClip in Symbol 347 MovieClip Frame 26
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
gotoAndPlay (6);
}
on (releaseOutside, rollOut) {
_root.mouse.mouse.gotoAndPlay(1);
gotoAndPlay (1);
}
on (release) {
_root.mouse.mouse.gotoAndPlay(1);
if (_root.win == true) {
_root.gotoAndPlay(31);
} else {
_root.gotoAndPlay(41);
}
}
onClipEvent (enterFrame) {
if (fade == true) {
this._alpha = this._alpha - 5;
} else {
this._alpha = this._alpha + 5;
}
if (this._alpha < 70) {
fade = false;
} else if (this._alpha > 95) {
fade = true;
}
}
Instance of Symbol 263 MovieClip in Symbol 347 MovieClip Frame 26
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
}
on (press) {
pressFlag = true;
}
on (rollOut) {
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
pressFlag = false;
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
pressFlag = false;
}
onClipEvent (enterFrame) {
if (pressFlag == true) {
_parent.story.scroll = _parent.story.scroll - 1;
}
}
Instance of Symbol 263 MovieClip in Symbol 347 MovieClip Frame 26
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
}
on (press) {
pressFlag = true;
}
on (rollOut) {
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
pressFlag = false;
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
pressFlag = false;
}
onClipEvent (enterFrame) {
if (pressFlag == true) {
_parent.story.scroll = _parent.story.scroll + 1;
}
}
Symbol 347 MovieClip Frame 30
stop();
Instance of Symbol 102 MovieClip in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.fire == true) {
gotoAndPlay (6);
} else {
gotoAndPlay (1);
}
}
Symbol 378 MovieClip Frame 1
_parent.shot = true;
Symbol 378 MovieClip Frame 16
_root.updateEnemyLeft();
_root.score = _root.score + _root.enemyDie;
Symbol 378 MovieClip Frame 17
_parent.sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
_parent.gotoAndPlay(1);
} else {
stop();
}
Symbol 381 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 381 MovieClip Frame 4
sTimer++;
Symbol 381 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 381 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 381 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 381 MovieClip Frame 24
fTimer++;
Symbol 381 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 381 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 381 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 381 MovieClip Frame 35
stop();
Symbol 381 MovieClip Frame 40
stop();
Symbol 381 MovieClip Frame 45
stop();
Symbol 381 MovieClip Frame 50
stop();
Symbol 381 MovieClip Frame 55
stop();
Symbol 381 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 381 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 383 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 383 MovieClip Frame 4
sTimer++;
Symbol 383 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 383 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 383 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 383 MovieClip Frame 24
fTimer++;
Symbol 383 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 383 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 383 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 383 MovieClip Frame 35
stop();
Symbol 383 MovieClip Frame 40
stop();
Symbol 383 MovieClip Frame 45
stop();
Symbol 383 MovieClip Frame 50
stop();
Symbol 383 MovieClip Frame 55
stop();
Symbol 383 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 383 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 386 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 386 MovieClip Frame 4
sTimer++;
Symbol 386 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 386 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 386 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 386 MovieClip Frame 24
fTimer++;
Symbol 386 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 386 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 386 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 386 MovieClip Frame 35
stop();
Symbol 386 MovieClip Frame 40
stop();
Symbol 386 MovieClip Frame 45
stop();
Symbol 386 MovieClip Frame 50
stop();
Symbol 386 MovieClip Frame 55
stop();
Symbol 386 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 386 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 389 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 389 MovieClip Frame 4
sTimer++;
Symbol 389 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 389 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 389 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 389 MovieClip Frame 24
fTimer++;
Symbol 389 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 389 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 389 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 389 MovieClip Frame 35
stop();
Symbol 389 MovieClip Frame 40
stop();
Symbol 389 MovieClip Frame 45
stop();
Symbol 389 MovieClip Frame 50
stop();
Symbol 389 MovieClip Frame 55
stop();
Symbol 389 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 389 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 392 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 392 MovieClip Frame 4
sTimer++;
Symbol 392 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 392 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 392 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 392 MovieClip Frame 24
fTimer++;
Symbol 392 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 392 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 392 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 392 MovieClip Frame 35
stop();
Symbol 392 MovieClip Frame 40
stop();
Symbol 392 MovieClip Frame 45
stop();
Symbol 392 MovieClip Frame 50
stop();
Symbol 392 MovieClip Frame 55
stop();
Symbol 392 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 392 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 394 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 394 MovieClip Frame 4
sTimer++;
Symbol 394 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 394 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 394 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 394 MovieClip Frame 24
fTimer++;
Symbol 394 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 394 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 394 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 394 MovieClip Frame 35
stop();
Symbol 394 MovieClip Frame 40
stop();
Symbol 394 MovieClip Frame 45
stop();
Symbol 394 MovieClip Frame 50
stop();
Symbol 394 MovieClip Frame 55
stop();
Symbol 394 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 394 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 396 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 396 MovieClip Frame 4
sTimer++;
Symbol 396 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 396 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 396 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 396 MovieClip Frame 24
fTimer++;
Symbol 396 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 396 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 396 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 396 MovieClip Frame 35
stop();
Symbol 396 MovieClip Frame 40
stop();
Symbol 396 MovieClip Frame 45
stop();
Symbol 396 MovieClip Frame 50
stop();
Symbol 396 MovieClip Frame 55
stop();
Symbol 396 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 396 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Symbol 398 MovieClip Frame 1
spawned = false;
life = _root.resistance;
shot = false;
Symbol 398 MovieClip Frame 4
sTimer++;
Symbol 398 MovieClip Frame 5
if (sTimer >= _root.spawntime) {
_root.checkInStage(this);
_root.enemySpawned++;
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 398 MovieClip Frame 19
spawned = true;
Instance of Symbol 100 MovieClip in Symbol 398 MovieClip Frame 19
onClipEvent (load) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((_root.resistance - _parent.life) / _root.resistance) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 398 MovieClip Frame 24
fTimer++;
Symbol 398 MovieClip Frame 25
if (((fTimer >= _root.shootFreq) and (inStage == true)) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 398 MovieClip Frame 26
fire = true;
hit = random(_root.accuracy);
if (hit == 0) {
_root.hit = true;
_root.dmg();
}
Symbol 398 MovieClip Frame 30
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 398 MovieClip Frame 35
stop();
Symbol 398 MovieClip Frame 40
stop();
Symbol 398 MovieClip Frame 45
stop();
Symbol 398 MovieClip Frame 50
stop();
Symbol 398 MovieClip Frame 55
stop();
Symbol 398 MovieClip Frame 79
_root.score = _root.score + _root.enemyPts;
_root.updateConvert();
_root.updateEnemyLeft();
Symbol 398 MovieClip Frame 80
sTimer = 0;
_root.drop(this);
_root.mouse.mouse.gotoAndPlay(1);
if (_root.enemySpawned < _root.toConvert) {
gotoAndPlay (1);
}
Instance of Symbol 381 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 383 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
lifespan = 2;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 386 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
lifespan = 2;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 389 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
lifespan = 2;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 392 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
lifespan = 2;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 394 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
lifespan = 2;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 396 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
lifespan = 2;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Instance of Symbol 398 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
spawn = _root.spawntime;
sTimer = random(spawn) + random(30);
fTimer = 0;
roCount = 0;
lifespan = 2;
shot = false;
}
on (rollOver) {
if (((shot == false) and (life > 0)) and (_root.crouch == false)) {
_root.roEnemy(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
if (shot == false) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
}
on (release) {
gotoAndPlay (51);
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (keyDown) {
_root.checkInStage(this);
}
onClipEvent (enterFrame) {
_root.enemyROut(this);
if (_root.lvlEnd == true) {
gotoAndPlay (1);
}
}
Symbol 411 MovieClip Frame 5
stop();
Symbol 411 MovieClip Frame 10
stop();
Instance of Symbol 411 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.fire == 1) {
gotoAndPlay (6);
} else {
gotoAndPlay (1);
}
}
Instance of Symbol 411 MovieClip in Symbol 413 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.fire == 3) {
gotoAndPlay (6);
} else {
gotoAndPlay (1);
}
}
Instance of Symbol 411 MovieClip in Symbol 414 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent.fire == 2) or (_parent.fire == true)) {
gotoAndPlay (6);
} else {
gotoAndPlay (1);
}
}
Instance of Symbol 411 MovieClip in Symbol 414 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_parent._parent.fire == 2) {
gotoAndPlay (6);
} else {
gotoAndPlay (1);
}
}
Symbol 466 MovieClip Frame 1
_root.lvlEnd = true;
_root.bossStart = false;
Instance of Symbol 414 MovieClip in Symbol 466 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 414 MovieClip in Symbol 466 MovieClip Frame 141
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
if (_parent.disabled == true) {
fTimer++;
if ((fTimer >= 50) and (_root.crouch == false)) {
fire1 = true;
} else {
fire1 = false;
}
if (fire1 == true) {
fire = true;
hit = random(15);
if ((hit == 0) and (_root.crouch == false)) {
_root.hit = true;
_root.dmg();
}
timer++;
if (timer >= 3) {
timer = 0;
fire1 = false;
}
}
}
}
Symbol 466 MovieClip Frame 640
_root.end.gotoAndPlay(21);
stop();
Symbol 467 MovieClip Frame 1
_root.damage = 15;
life = 50;
Instance of Symbol 212 MovieClip in Symbol 467 MovieClip Frame 196
onClipEvent (load) {
stop();
}
Instance of Symbol 414 MovieClip in Symbol 467 MovieClip Frame 304
onClipEvent (load) {
timer = 0;
}
onClipEvent (enterFrame) {
if (_parent.disabled == true) {
fTimer++;
if ((fTimer >= 50) and (_root.crouch == false)) {
fire1 = true;
} else {
fire1 = false;
}
if (fire1 == true) {
fire = true;
hit = random(20);
if ((hit == 0) and (_root.crouch == false)) {
_root.hit = true;
_root.dmg();
}
timer++;
if (timer >= 3) {
timer = 0;
fire1 = false;
}
}
}
}
Instance of Symbol 415 MovieClip in Symbol 467 MovieClip Frame 304
onClipEvent (load) {
this._xscale = ((50 - _parent.life) / 50) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
onClipEvent (mouseMove) {
this._xscale = ((50 - _parent.life) / 50) * 100;
if (this._xscale > 100) {
this._xscale = 100;
}
}
Symbol 467 MovieClip Frame 308
shot = false;
_root.bossStart = true;
Symbol 467 MovieClip Frame 309
fTimer++;
Symbol 467 MovieClip Frame 310
if ((fTimer >= 50) and (_root.crouch == false)) {
gotoAndPlay(_currentframe + 1);
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 467 MovieClip Frame 311
fire = random(3) + 1;
hit = random(21);
if ((hit == 0) and (_root.crouch == false)) {
_root.hit = true;
_root.dmg();
}
Symbol 467 MovieClip Frame 315
fire = false;
fTimer = 0;
gotoAndPlay(_currentframe - 7);
Symbol 467 MovieClip Frame 320
stop();
Symbol 467 MovieClip Frame 325
stop();
Symbol 467 MovieClip Frame 330
stop();
Symbol 467 MovieClip Frame 335
stop();
Symbol 467 MovieClip Frame 340
stop();
Symbol 468 MovieClip Frame 5
stop();
Instance of Symbol 467 MovieClip in Symbol 468 MovieClip Frame 6
onClipEvent (load) {
fTimer = 0;
roCount = 0;
shot = false;
}
on (rollOver) {
if (((_root.bossStart == true) and (life > 0)) and (_root.crouch == false)) {
_root.roBoss(this);
roFlag = true;
normal = false;
roCount = 0;
_root.mouse.mouse.gotoAndPlay(6);
}
}
on (rollOut) {
roFlag = false;
_root.mouse.mouse.gotoAndPlay(1);
}
onClipEvent (enterFrame) {
_root.bossROut(this);
}
Symbol 468 MovieClip Frame 10
stop();
Symbol 471 MovieClip Frame 1
_root.lvlEnd = true;
Instance of Symbol 470 MovieClip in Symbol 471 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 25;
}
Instance of Symbol 470 MovieClip in Symbol 471 MovieClip Frame 56
onClipEvent (enterFrame) {
this._alpha = this._alpha - 20;
}
Symbol 471 MovieClip Frame 61
_root.lvlEnd = false;
stop();
Instance of Symbol 399 MovieClip "bldgs" in Symbol 472 MovieClip Frame 1
onClipEvent (load) {
this.crouchFlag = false;
this.moveFlag = false;
stopAnimate = false;
this._x = -170;
}
onClipEvent (keyDown) {
this.moveFlag = true;
if (Key.getCode() == 83) {
this.crouchFlag = true;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
this.crouchFlag = false;
}
this.moveFlag = false;
}
onClipEvent (enterFrame) {
if (stopAnimate == false) {
xDist = 730.5 - this._x;
xSpeed = xDist / 5;
this._x = this._x + xSpeed;
}
if ((this._x >= 730) and (stopAnimate == false)) {
thix._x = 730.5;
stopAnimate = true;
}
if (this.crouchFlag == true) {
_root.crouchBuilding(this);
} else {
_root.unCrouchBuilding(this);
}
if (this.moveFlag == true) {
_root.moveBuilding(this);
}
}
Instance of Symbol 468 MovieClip "boss" in Symbol 472 MovieClip Frame 1
onClipEvent (load) {
_root.bossStart = false;
}
onClipEvent (keyDown) {
if (Key.getCode() == 83) {
crouchFlag = true;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
crouchFlag = false;
}
}
onClipEvent (enterFrame) {
if (_root.boss == true) {
gotoAndPlay (6);
}
if (_root.bossStart == true) {
if (crouchFlag == true) {
if (this._y >= 210) {
this._y = 210;
} else {
this._y = this._y + 30;
}
} else if (this._y <= 150) {
this._y = 150;
} else {
this._y = this._y - 30;
}
}
}
Instance of Symbol 165 MovieClip in Symbol 472 MovieClip Frame 1
onClipEvent (load) {
this.crouchFlag = false;
this.moveFlag = false;
stopAnimate = false;
this._x = -755;
}
onClipEvent (keyDown) {
this.moveFlag = true;
if (Key.getCode() == 83) {
this.crouchFlag = true;
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 83) {
this.crouchFlag = false;
} else if (Key.getCode() == 68) {
_root.arw_r.gotoAndPlay(1);
} else if (Key.getCode() == 65) {
_root.arw_l.gotoAndPlay(1);
}
this.moveFlag = false;
}
onClipEvent (enterFrame) {
if (stopAnimate == false) {
xDist = 1246.25 - this._x;
xSpeed = xDist / 5;
this._x = this._x + xSpeed;
}
if ((this._x >= 1245) and (stopAnimate == false)) {
this._x = 1246.25;
stopAnimate = true;
}
if (this.crouchFlag == true) {
_root.crouchRubbles(this);
} else {
_root.unCrouchRubbles(this);
}
if (this.moveFlag == true) {
_root.moveRubbles(this);
}
}
Instance of Symbol 235 MovieClip in Symbol 499 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
Instance of Symbol 27 MovieClip in Symbol 499 MovieClip Frame 26
onClipEvent (load) {
_parent.endHp = _root.hpPts * 25;
_parent.endArmor = _root.armorPts * 50;
_parent.enemyConverted = (_root.enemyRemoved - _root.toConvert) * 300;
if (_parent.enemyConverted <= 0) {
_parent.enemyConverted = 0;
}
if (_root.win == true) {
_parent.winBonus = 10000;
} else {
_parent.winBonus = 0;
}
_parent.scoreTotal = ((_parent.endHp + _parent.endArmor) + _parent.enemyConverted) + _parent.winBonus;
_parent.bulletsUsed = -(_root.bullets * 400);
_parent.enemyKilled = (-(_root.enemyRemoved - _root.converted)) * 500;
_parent.penTotal = _parent.bulletsUsed + _parent.enemyKilled;
_parent.scoreSubtotal = _parent.scoreTotal + _parent.penTotal;
_parent.score = _root.score + _parent.scoreSubtotal;
bonus = _parent.scoreSubtotal;
bonusQty = bonus / 100;
_parent.clothes = Math.round(0.166666666666667 * bonusQty);
if ((-_parent.clothes) >= _root.clothesCount) {
_parent.clothes = -_root.clothesCount;
}
_parent.medipak = Math.round(0.333333333333333 * bonusQty);
if ((-_parent.medipak) >= _root.medicineCount) {
_parent.medipak = -_root.medipak;
}
_parent.hp = Math.round(0.25 * bonusQty);
if ((_root.hpPts + _parent.hp) < 20) {
_parent.hp = -(_root.hpPts - 20);
}
_parent.armor = Math.round(0.25 * bonusQty);
if ((_root.armorPts + _parent.armor) < 20) {
_parent.armor = -(_root.armorPts - 20);
}
_root.hpPts = _root.hpPts + _parent.hp;
if (_root.hpPts >= 100) {
_root.hpPts = 100;
}
_root.armorPts = _root.armorPts + _parent.armor;
if (_root.armorPts >= 100) {
_root.armorPts = 100;
}
_root.clothesCount = _root.clothesCount + _parent.clothes;
_root.medicineCount = _root.medicineCount + _parent.medipak;
}
Instance of Symbol 243 MovieClip in Symbol 499 MovieClip Frame 26
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
gotoAndPlay (6);
}
on (releaseOutside, rollOut) {
_root.mouse.mouse.gotoAndPlay(1);
gotoAndPlay (1);
}
on (release) {
_root.mouse.mouse.gotoAndPlay(1);
if (_root.win == true) {
_root.gotoAndPlay(51);
} else {
_root.gotoAndPlay(46);
}
}
onClipEvent (enterFrame) {
if (fade == true) {
this._alpha = this._alpha - 5;
} else {
this._alpha = this._alpha + 5;
}
if (this._alpha < 70) {
fade = false;
} else if (this._alpha > 95) {
fade = true;
}
}
Instance of Symbol 263 MovieClip in Symbol 499 MovieClip Frame 26
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
}
on (press) {
pressFlag = true;
}
on (rollOut) {
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
pressFlag = false;
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
pressFlag = false;
}
onClipEvent (enterFrame) {
if (pressFlag == true) {
_parent.story.scroll = _parent.story.scroll - 1;
}
}
Instance of Symbol 263 MovieClip in Symbol 499 MovieClip Frame 26
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
}
on (press) {
pressFlag = true;
}
on (rollOut) {
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
pressFlag = false;
}
on (releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
pressFlag = false;
}
onClipEvent (enterFrame) {
if (pressFlag == true) {
_parent.story.scroll = _parent.story.scroll + 1;
}
}
Symbol 499 MovieClip Frame 30
stop();
Instance of Symbol 235 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (enterFrame) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
Instance of Symbol 27 MovieClip in Symbol 517 MovieClip Frame 26
onClipEvent (load) {
_parent.endHp = _root.hpPts * 25;
_parent.endArmor = _root.armorPts * 50;
_parent.enemyConverted = (_root.enemyRemoved - _root.toConvert) * 300;
if (_parent.enemyConverted <= 0) {
_parent.enemyConverted = 0;
}
if (_root.win == true) {
_parent.winBonus = 10000;
} else {
_parent.winBonus = 0;
}
_parent.scoreTotal = ((_parent.endHp + _parent.endArmor) + _parent.enemyConverted) + _parent.winBonus;
_parent.bulletsUsed = -(_root.bullets * 400);
_parent.enemyKilled = (-(_root.enemyRemoved - _root.converted)) * 500;
_parent.penTotal = _parent.bulletsUsed + _parent.enemyKilled;
_parent.scoreSubtotal = _parent.scoreTotal + _parent.penTotal;
_parent.score = _root.score + _parent.scoreSubtotal;
bonus = _parent.scoreSubtotal;
bonusQty = bonus / 100;
_parent.clothes = Math.round(0.166666666666667 * bonusQty);
if ((-_parent.clothes) >= _root.clothesCount) {
_parent.clothes = -_root.clothesCount;
}
_parent.medipak = Math.round(0.333333333333333 * bonusQty);
if ((-_parent.medipak) >= _root.medicineCount) {
_parent.medipak = -_root.medipak;
}
_parent.hp = Math.round(0.25 * bonusQty);
if ((_root.hpPts + _parent.hp) < 20) {
_parent.hp = -(_root.hpPts - 20);
}
_parent.armor = Math.round(0.25 * bonusQty);
if ((_root.armorPts + _parent.armor) < 20) {
_parent.armor = -(_root.armorPts - 20);
}
_root.hpPts = _root.hpPts + _parent.hp;
if (_root.hpPts >= 100) {
_root.hpPts = 100;
}
_root.armorPts = _root.armorPts + _parent.armor;
if (_root.armorPts >= 100) {
_root.armorPts = 100;
}
_root.clothesCount = _root.clothesCount + _parent.clothes;
_root.medicineCount = _root.medicineCount + _parent.medipak;
}
Instance of Symbol 243 MovieClip in Symbol 517 MovieClip Frame 26
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
gotoAndPlay (6);
}
on (releaseOutside, rollOut) {
_root.mouse.mouse.gotoAndPlay(1);
gotoAndPlay (1);
}
on (release) {
_root.mouse.mouse.gotoAndPlay(1);
_root.gotoAndPlay(46);
}
onClipEvent (enterFrame) {
if (fade == true) {
this._alpha = this._alpha - 5;
} else {
this._alpha = this._alpha + 5;
}
if (this._alpha < 70) {
fade = false;
} else if (this._alpha > 95) {
fade = true;
}
}
Symbol 517 MovieClip Frame 30
stop();
Symbol 523 Button
on (rollOver) {
_root.mouse.mouse.gotoAndPlay(6);
}
on (rollOut, releaseOutside) {
_root.mouse.mouse.gotoAndPlay(1);
}
on (release) {
_root.mouse.mouse.gotoAndPlay(1);
_root.gotoAndPlay(6);
}
Symbol 524 MovieClip Frame 1
score = _root.score;
Symbol 528 MovieClip Frame 1
score = _root.score;