Frame 1
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
Stage.scaleMode = "noScale";
Stage.showMenu = false;
_quality = "high";
Frame 2
if (_root.percentLoaded == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
stop();
Instance of Symbol 248 MovieClip in Frame 3
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Frame 4
_root.gotoAndPlay("titleLoader");
Frame 6
function newMedal(medalID, xPos, yPos, data1) {
if (this["Medal" + medalID] == false) {
var _local2 = MEDALPROMPT.attachMovie("MEDAL_AWARD", "MA" + MACount, MACount++);
_local2._x = xPos;
_local2._y = yPos;
_local2.medalImage.gotoAndStop(medalID);
_local2.data1 = data1;
this["Medal" + medalID] = true;
saveAllData();
}
}
function resetAllData() {
if (savefileActive == undefined) {
savefileActive = true;
i = 1;
while (i < 20) {
this["Medal" + i] = false;
i++;
}
i = 1;
while (i < 16) {
this["Level" + i] = false;
i++;
}
highestCombo = 0;
enemiesDestroyed = 0;
timeSpent = 12;
graphicsOptions = 0;
}
saveAllData();
}
function setupData() {
savefileActive = savefile.data.savefileActive;
i = 1;
while (i < 20) {
this["Medal" + i] = savefile.data["Medal" + i];
i++;
}
i = 1;
while (i < 16) {
this["Level" + i] = savefile.data["Level" + i];
i++;
}
highestCombo = savefile.data.highestCombo;
enemiesDestroyed = savefile.data.enemiesDestroyed;
timeSpent = savefile.data.timeSpent;
graphicsOptions = savefile.data.graphicsOptions;
}
function saveAllData() {
savefile.data.savefileActive = savefileActive;
i = 1;
while (i < 20) {
savefile.data["Medal" + i] = this["Medal" + i];
i++;
}
i = 1;
while (i < 16) {
savefile.data["Level" + i] = this["Level" + i];
i++;
}
savefile.data.highestCombo = highestCombo;
savefile.data.enemiesDestroyed = enemiesDestroyed;
savefile.data.timeSpent = timeSpent;
savefile.data.graphicsOptions = graphicsOptions;
savefile.flush();
}
_root.drunk = false;
_root.codecHeadSize = 100;
_root.tankSkin = 1;
_root.titlePlay = true;
savefile = SharedObject.getLocal("I2TANK");
setupData();
resetAllData();
saveAllData();
MACount = 0;
Frame 7
stop();
if (_root.tutTrue == true) {
_root.newMedal(16, 60, 10, "You earned the Tutorial medal!");
}
Instance of Symbol 303 MovieClip "cursorAc" in Frame 7
onClipEvent (load) {
Mouse.hide();
speed = 10;
cursorSpeed = 2;
this._x = _parent._xmouse;
this._y = _parent._ymouse;
}
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
this._y = this._y - speed;
}
if (Key.isDown(40)) {
this._y = this._y + speed;
}
if (Key.isDown(39)) {
this._x = this._x + speed;
}
if (Key.isDown(37)) {
this._x = this._x - speed;
}
_parent.cursorFollow._x = _parent.cursorFollow._x - ((_parent.cursorFollow._x - _x) / cursorSpeed);
_parent.cursorFollow._y = _parent.cursorFollow._y - ((_parent.cursorFollow._y - _y) / cursorSpeed);
}
onClipEvent (mouseMove) {
this._x = _parent._xmouse;
this._y = _parent._ymouse;
}
Frame 8
stop();
Instance of Symbol 255 MovieClip in Frame 8
onClipEvent (load) {
gotoAndStop (45);
}
Instance of Symbol 281 MovieClip in Frame 8
onClipEvent (load) {
desc = "BACK";
targ = "title";
timer = 30;
}
Instance of Symbol 281 MovieClip in Frame 8
onClipEvent (load) {
desc = "Adventure";
targ = "Adventure";
timer = 20;
}
Instance of Symbol 281 MovieClip in Frame 8
onClipEvent (load) {
desc = "Enhanced";
targ = "diff";
timer = 10;
gameType = "Enhanced";
}
Instance of Symbol 281 MovieClip in Frame 8
onClipEvent (load) {
desc = "Classic";
targ = "diff";
gameType = "Classic";
timer = 0;
}
Instance of Symbol 269 MovieClip in Frame 8
onClipEvent (load) {
if (_root.titlePlay == true) {
anim.stop();
xPos = _x;
yPos = _y;
_alpha = 0;
_xscale = 200;
_yscale = 200;
timer = 30;
active = true;
}
}
onClipEvent (enterFrame) {
if (_root.titlePlay == true) {
if (timer > 5) {
timer--;
} else if (_xscale > 100) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
_alpha = (_alpha + 10);
} else if (timer > 0) {
_rotation = (random(20) - 10);
timer--;
} else if (active == true) {
_rotation = 0;
active = false;
anim.play();
}
}
}
Frame 9
stop();
Instance of Symbol 281 MovieClip in Frame 9
onClipEvent (load) {
desc = "HARD";
targ = "loader";
timer = 30;
fuelMax = 1300;
}
Instance of Symbol 281 MovieClip in Frame 9
onClipEvent (load) {
desc = "MEDIUM";
targ = "loader";
timer = 20;
fuelMax = 1700;
}
Instance of Symbol 281 MovieClip in Frame 9
onClipEvent (load) {
desc = "EASY";
targ = "loader";
fuelMax = 2100;
timer = 10;
}
Instance of Symbol 281 MovieClip in Frame 9
onClipEvent (load) {
desc = "BACK";
targ = "gameSelect";
timer = 40;
}
Frame 10
function setupLevels() {
if (_root.Level5 == true) {
_root.newMedal(13, 80, 200, "You beat Mission 1!");
}
if (_root.Level10 == true) {
_root.newMedal(14, 80, 200, "You beat Mission 2!");
}
if (_root.Level14 == true) {
_root.newMedal(15, 80, 200, "You beat Mission 3!");
}
if (_root.levelID != undefined) {
_root["Level" + (levelID + 1)] = true;
saveAllData();
}
i = 1;
while (i < 16) {
if (_root["Level" + i] == false) {
this["Level_" + i]._alpha = 20;
} else {
this["Level_" + i]._alpha = 100;
}
i++;
}
}
stop();
_root.Level1 = true;
saveAllData();
if (Key.isDown(85) and Key.isDown(84)) {
i = 0;
while (i < 16) {
_root["Level" + i] = true;
i++;
}
saveAllData();
}
setupLevels();
Instance of Symbol 281 MovieClip in Frame 10
onClipEvent (load) {
desc = "BACK";
targ = "gameSelect";
timer = 10;
}
Instance of Symbol 344 MovieClip in Frame 10
onClipEvent (load) {
dest = "CODEC";
level = "CHIEF_MISSION1_INTRO";
}
Instance of Symbol 348 MovieClip "Level_1" in Frame 10
onClipEvent (load) {
dest = "CODEC";
level = "CHIEF_MISSION1_INTRO";
levelID = 1;
}
Instance of Symbol 351 MovieClip "Level_4" in Frame 10
onClipEvent (load) {
targ = "loader";
bossSel = 3;
gameType = "Boss";
timer = 0;
TLO = 0;
levelID = 4;
levelGraphicsPreset = 1;
}
Instance of Symbol 354 MovieClip "Level_2" in Frame 10
onClipEvent (load) {
targ = "loader";
gameType = "Adventure";
timer = 0;
fuelMax = 650;
TLO = 0;
levelID = 2;
levelGraphicsPreset = 1;
holeTimer = 5;
holeTimerVar = 5;
holeTimerCounter = -20;
holeMinSize = 4;
holeSizeVar = 2;
holeCounter = 0;
holesVar = false;
}
Instance of Symbol 348 MovieClip "Level_3" in Frame 10
onClipEvent (load) {
dest = "CODEC";
level = "SELMA_INTRO";
levelID = 3;
}
Instance of Symbol 348 MovieClip "Level_5" in Frame 10
onClipEvent (load) {
dest = "CODEC";
level = "SELMA_OUTRO";
levelID = 5;
}
Instance of Symbol 348 MovieClip "Level_6" in Frame 10
onClipEvent (load) {
dest = "CODEC";
level = "CHIEF_MISSION2_INTRO";
levelID = 6;
}
Instance of Symbol 348 MovieClip "Level_8" in Frame 10
onClipEvent (load) {
dest = "CODEC";
level = "WHIZZKID_INTRO";
levelID = 8;
}
Instance of Symbol 348 MovieClip "Level_10" in Frame 10
onClipEvent (load) {
dest = "CODEC";
level = "WHIZZKID_OUTRO";
levelID = 10;
}
Instance of Symbol 348 MovieClip "Level_11" in Frame 10
onClipEvent (load) {
dest = "CODEC";
level = "BETTON_INTRO";
levelID = 11;
}
Instance of Symbol 348 MovieClip "Level_14" in Frame 10
onClipEvent (load) {
dest = "CODEC";
level = "BETTON_OUTRO";
levelID = 14;
}
Instance of Symbol 348 MovieClip "Level_15" in Frame 10
on (release) {
if (_alpha == 100) {
stopAllSounds();
_root.gotoAndStop("endMovie");
}
}
Instance of Symbol 354 MovieClip "Level_7" in Frame 10
onClipEvent (load) {
targ = "loader";
gameType = "Adventure";
timer = 0;
fuelMax = 650;
TLO = -200;
levelID = 7;
levelGraphicsPreset = 2;
holeTimer = 10;
holeTimerVar = 30;
holeTimerCounter = -40;
holeMinSize = 2;
holeSizeVar = 4;
holeCounter = 0;
holesVar = true;
}
Instance of Symbol 354 MovieClip "Level_12" in Frame 10
onClipEvent (load) {
targ = "loader";
gameType = "Adventure";
timer = 0;
fuelMax = 800;
TLO = -200;
levelID = 12;
levelGraphicsPreset = 4;
holeTimer = 5;
holeTimerVar = 5;
holeTimerCounter = -20;
holeMinSize = 4;
holeSizeVar = 4;
holeCounter = 0;
holesVar = true;
}
Instance of Symbol 351 MovieClip "Level_9" in Frame 10
onClipEvent (load) {
targ = "loader";
bossSel = 2;
gameType = "Boss";
timer = 0;
TLO = 0;
levelID = 9;
levelGraphicsPreset = 2;
}
Instance of Symbol 351 MovieClip "Level_13" in Frame 10
onClipEvent (load) {
targ = "loader";
bossSel = 1;
gameType = "Boss";
timer = 0;
TLO = 140;
levelID = 13;
levelGraphicsPreset = 4;
}
Frame 11
stop();
Instance of Symbol 281 MovieClip in Frame 11
onClipEvent (load) {
desc = "BACK";
targ = "title";
timer = 10;
}
Instance of Symbol 281 MovieClip in Frame 11
onClipEvent (load) {
desc = "SECRETS";
targ = "secrets";
timer = 20;
}
Frame 12
if (Key.isDown(85) and Key.isDown(84)) {
medalCount = 18;
}
stop();
if (_root.drunk == true) {
drunkSquare._x = drunkBut._x;
}
if (_root.codecHeadSize == 140) {
DKSquare._x = bigBut._x;
} else if (_root.codecHeadSize == 60) {
DKSquare._x = smallBut._x;
}
Instance of Symbol 391 MovieClip "drunkBut" in Frame 12
on (release) {
_root.drunk = true;
_parent.drunkSquare._x = this._x;
}
Instance of Symbol 391 MovieClip in Frame 12
on (release) {
_root.drunk = false;
_parent.drunkSquare._x = this._x;
}
Instance of Symbol 391 MovieClip "smallBut" in Frame 12
on (release) {
_root.codecHeadSize = 60;
_parent.DKSquare._x = this._x;
}
Instance of Symbol 391 MovieClip "bigBut" in Frame 12
on (release) {
_root.codecHeadSize = 140;
_parent.DKSquare._x = this._x;
}
Instance of Symbol 391 MovieClip in Frame 12
on (release) {
_root.codecHeadSize = 100;
_parent.DKSquare._x = this._x;
}
Instance of Symbol 391 MovieClip "tankBut1" in Frame 12
on (release) {
_root.tankSkin = 1;
_parent.tankSquare._x = this._x;
}
Instance of Symbol 391 MovieClip "tankBut2" in Frame 12
on (release) {
_root.tankSkin = 2;
_parent.tankSquare._x = this._x;
}
Instance of Symbol 391 MovieClip "tankBut3" in Frame 12
on (release) {
_root.tankSkin = 3;
_parent.tankSquare._x = this._x;
}
Instance of Symbol 391 MovieClip "tankBut4" in Frame 12
on (release) {
_root.tankSkin = 4;
_parent.tankSquare._x = this._x;
}
Instance of Symbol 391 MovieClip "drunkBut" in Frame 12
on (release) {
_root.gotoAndStop("timeline");
}
Instance of Symbol 418 MovieClip "voiceBut" in Frame 12
on (release) {
stopAllSounds();
this.gotoAndPlay(2);
}
Instance of Symbol 391 MovieClip "drunkBut" in Frame 12
on (release) {
stopAllSounds();
_parent.voiceBut.stop();
_root.MUSICBOX.gotoAndPlay(2);
}
Instance of Symbol 281 MovieClip in Frame 12
onClipEvent (load) {
desc = "BACK";
targ = "medals";
timer = 10;
}
Instance of Symbol 424 MovieClip in Frame 12
onClipEvent (load) {
medalNum = 12;
info = medalNum + " MEDALS NEEDED";
if (_root.medalCount >= medalNum) {
this._x = -1000;
}
}
Instance of Symbol 424 MovieClip in Frame 12
onClipEvent (load) {
medalNum = 10;
info = medalNum + " MEDALS NEEDED";
if (_root.medalCount >= medalNum) {
this._x = -1000;
}
}
Instance of Symbol 424 MovieClip in Frame 12
onClipEvent (load) {
medalNum = 6;
info = medalNum + " MEDALS NEEDED";
if (_root.medalCount >= medalNum) {
this._x = -1000;
}
}
Instance of Symbol 424 MovieClip in Frame 12
onClipEvent (load) {
medalNum = 18;
info = medalNum + " MEDALS NEEDED";
if (_root.medalCount >= medalNum) {
this._x = -1000;
}
}
Instance of Symbol 424 MovieClip in Frame 12
onClipEvent (load) {
medalNum = 2;
info = medalNum + " MEDALS NEEDED";
if (_root.medalCount >= medalNum) {
this._x = -1000;
}
}
Instance of Symbol 424 MovieClip in Frame 12
onClipEvent (load) {
medalNum = 8;
info = medalNum + " MEDALS NEEDED";
if (_root.medalCount >= medalNum) {
this._x = -1000;
}
}
Instance of Symbol 424 MovieClip in Frame 12
onClipEvent (load) {
medalNum = 8;
info = medalNum + " MEDALS NEEDED";
if (_root.medalCount >= medalNum) {
this._x = -1000;
}
}
Frame 13
stop();
Instance of Symbol 255 MovieClip in Frame 13
onClipEvent (load) {
gotoAndStop (45);
}
Instance of Symbol 281 MovieClip in Frame 13
onClipEvent (load) {
desc = "BACK";
targ = "secrets";
timer = 10;
}
Frame 14
getURL ("http://www.armorgames.com", "_blank");
_root.newMedal(18, 100, 10, "You earned the AG medal!");
_root.gotoAndStop("title");
Frame 15
getURL ("http://digg.com/playable_web_games/Indestruc_2_Tank_Featuring_Bosses_a_Story_Line_and_Medals_to_earn", "_blank");
_root.gotoAndStop("title");
Frame 16
stop();
Instance of Symbol 255 MovieClip in Frame 16
onClipEvent (load) {
gotoAndStop (45);
}
Instance of Symbol 281 MovieClip in Frame 16
onClipEvent (load) {
desc = "BACK";
targ = "title";
timer = 40;
}
Instance of Symbol 269 MovieClip in Frame 16
onClipEvent (load) {
if (_root.titlePlay == true) {
anim.stop();
xPos = _x;
yPos = _y;
_alpha = 0;
_xscale = 200;
_yscale = 200;
timer = 30;
active = true;
}
}
onClipEvent (enterFrame) {
if (_root.titlePlay == true) {
if (timer > 5) {
timer--;
} else if (_xscale > 100) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
_alpha = (_alpha + 10);
} else if (timer > 0) {
_rotation = (random(20) - 10);
timer--;
} else if (active == true) {
_rotation = 0;
active = false;
anim.play();
}
}
}
Instance of Symbol 391 MovieClip in Frame 16
on (release) {
_parent.delConfirm._x = _parent.delConfirm.xPos;
}
Instance of Symbol 391 MovieClip in Frame 16
on (release) {
_root._quality = "low";
}
Instance of Symbol 391 MovieClip in Frame 16
on (release) {
_root._quality = "high";
}
Instance of Symbol 391 MovieClip in Frame 16
on (release) {
_root._quality = "medium";
}
Frame 17
stop();
Instance of Symbol 269 MovieClip in Frame 17
onClipEvent (load) {
if (_root.titlePlay == true) {
anim.stop();
xPos = _x;
yPos = _y;
_alpha = 0;
_xscale = 200;
_yscale = 200;
timer = 30;
active = true;
}
}
onClipEvent (enterFrame) {
if (_root.titlePlay == true) {
if (timer > 5) {
timer--;
} else if (_xscale > 100) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
_alpha = (_alpha + 10);
} else if (timer > 0) {
_rotation = (random(20) - 10);
timer--;
} else if (active == true) {
_rotation = 0;
active = false;
anim.play();
}
}
}
Instance of Symbol 281 MovieClip in Frame 17
onClipEvent (load) {
desc = "BACK";
targ = "title";
timer = 30;
}
Frame 18
stopAllSounds();
Frame 19
stop();
musicState = "OFF";
Mouse.show();
if (_root.tankSkin == undefined) {
_root.tankSkin = 1;
}
if (_root.gameMode == "Classic") {
_root.levelGraphics = 2;
_root.bomberVar = 0;
_root.groundVar = 0;
_root.groundPos = 300;
_root.holesVar = false;
_root.HUD.gotoAndStop("Classic");
_root.freeCamera = false;
_root.game.boss.swapDepths(200);
_root.game.boss.removeMovieClip();
_root.terrainLoadOffset = 0;
} else if (_root.gameMode == "Enhanced") {
_root.bomberVar = 80;
_root.groundVar = 80;
_root.groundPos = 250;
_root.holesVar = false;
_root.HUD.gotoAndStop("Enhanced");
_root.levelGraphics = 1;
_root.freeCamera = true;
_root.game.boss.swapDepths(200);
_root.game.boss.removeMovieClip();
_root.terrainLoadOffset = 0;
} else if (_root.gameMode == "Adventure") {
_root.bomberVar = 80;
_root.groundVar = 80;
_root.groundPos = 250;
_root.HUD.gotoAndStop("Adventure");
_root.freeCamera = true;
_root.game.boss.swapDepths(200);
_root.game.boss.removeMovieClip();
_root.terrainLoadOffset = 0;
} else if (_root.gameMode == "Boss") {
stopAllSounds();
_root.groundPos = 300;
_root.holesVar = false;
_root.HUD.gotoAndStop("Boss");
_root.fuelMax = 10000;
_root.freeCamera = true;
}
Instance of Symbol 519 MovieClip "GAME" in Frame 19
onClipEvent (load) {
cameraSwitch = false;
}
onClipEvent (enterFrame) {
if ((((-barry._y) + 300) > 200) and (_root.freeCamera == true)) {
this._y = (-barry._y) + 100;
} else {
this._y = 0;
}
}
Instance of Symbol 522 MovieClip in Frame 19
onClipEvent (enterFrame) {
if ((_root.freeCamera == false) and (_root.GAME.barry.dead == false)) {
_visible = true;
if (((_root.GAME.barry._y > 0) or (_root.gamePaused == true)) or (_root.gameFroze == true)) {
this._x = -500;
} else {
this._x = _root.GAME.barry._x - 30;
this._xscale = 500 + _root.GAME.barry._y;
if (this._xscale < 0) {
this._xscale = 0;
}
this._yscale = _xscale;
}
} else {
this._visible = false;
}
}
Frame 20
stop();
_root.guestStatic = 0;
_root.codecText = "";
Mouse.show();
Frame 21
stop();
Mouse.show();
Symbol 2 MovieClip [Weapon_Pusher] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
if (this.hitTest(_root.bulletHit)) {
this.removeMovieClip();
}
_rotation = Math.round((Math.atan2(_root.GAME.barry._y - this._y, _root.GAME.barry._x - this._x) / Math.PI) * 180);
ySpeed = bulletSpeed * Math.sin(_rotation * (Math.PI/180));
xSpeed = bulletSpeed * Math.cos(_rotation * (Math.PI/180));
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if ((this._x < 0) or (this._x > 600)) {
this.removeMovieClip();
}
if (this.hitTest(_root.GAME.barry.hitBullet)) {
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 200);
_parent._parent.effects.explosion("boom1", this._x, this._y - 130, 0, 100, 200);
_root.GAME.barry.physics(_root.GAME.barry._x + 5, 7);
_root.GAME.barry.xSpeed = -15;
_root.sound.gotoAndStop("hitbang");
_root.sound.gotoAndStop(1);
this.removeMovieClip();
} else if (_root.GAME.terrain.hitTest(_x, _y + _parent._parent._y, true) and (_visible == true)) {
_visible = false;
_parent._parent.effects.explosion("boom2", this._x - 40, this._y, 0, 100, 200);
_root.sound.gotoAndStop("bang");
_root.sound.gotoAndStop(1);
}
}
}
bulletSpeed = 10;
Symbol 5 MovieClip [Weapon_Seeker] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
if (this.hitTest(_root.bulletHit)) {
this.removeMovieClip();
}
_rotation = Math.round((Math.atan2(_root.GAME.barry._y - this._y, _root.GAME.barry._x - this._x) / Math.PI) * 180);
ySpeed = bulletSpeed * Math.sin(_rotation * (Math.PI/180));
xSpeed = bulletSpeed * Math.cos(_rotation * (Math.PI/180));
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if ((this._x < 0) or (this._x > 600)) {
this.removeMovieClip();
}
if (this.hitTest(_root.GAME.barry.hitBullet)) {
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 200);
_parent._parent.effects.explosion("boom1", this._x, this._y - 130, 0, 100, 200);
_root.GAME.barry.physics(this._x, 5);
_root.sound.gotoAndStop("hitbang");
_root.sound.gotoAndStop(1);
this.removeMovieClip();
} else if (_root.GAME.terrain.hitTest(_x, _y + _parent._parent._y, true) and (_visible == true)) {
_visible = false;
_parent._parent.effects.explosion("boom2", this._x - 40, this._y, 0, 100, 200);
_root.sound.gotoAndStop("bang");
_root.sound.gotoAndStop(1);
}
}
}
bulletSpeed = 10;
Symbol 8 MovieClip [Weapon_Homer] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
barryPos = Math.round((Math.atan2(_root.GAME.barry._y - this._y, _root.GAME.barry._x - this._x) / Math.PI) * 180);
if (barryPos < 0) {
barryPos = barryPos * -1;
}
if (_rotation < barryPos) {
_rotation = (_rotation + 12);
} else {
_rotation = (_rotation - 12);
}
ySpeed = bulletSpeed * Math.sin(_rotation * (Math.PI/180));
xSpeed = bulletSpeed * Math.cos(_rotation * (Math.PI/180));
timer--;
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (((this._y < 0) or (this._x < 0)) or (this._x > 600)) {
this.removeMovieClip();
}
if (this.hitTest(_root.GAME.barry.hitBullet)) {
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 200);
_parent._parent.effects.explosion("boom1", this._x, this._y - 130, 0, 100, 200);
_root.GAME.barry.physics(this._x, 10);
_root.sound.gotoAndStop("hitbang");
_root.sound.gotoAndStop(1);
this.removeMovieClip();
} else if (_root.GAME.terrain.hitTest(_x, _y + _parent._parent._y, true) and (_visible == true)) {
_visible = false;
_parent._parent.effects.explosion("boom2", this._x - 40, this._y, 0, 100, 200);
_root.sound.gotoAndStop("bang");
_root.sound.gotoAndStop(1);
}
}
}
bulletSpeed = 10;
Symbol 10 MovieClip [Weapon_Bullet] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
if (this.hitTest(_root.bulletHit)) {
this.removeMovieClip();
}
_y = (_y + ySpeed);
_x = (_x + xSpeed);
if (((this._y < 0) or (this._x < 0)) or (this._x > 600)) {
this.removeMovieClip();
}
if (this.hitTest(_root.barry.hitBullet)) {
_root.effects.spark(this._x, this._y, 5, 4, 250, "Effect_fragment_barry");
_root.effects.spark(this._x, this._y, 10, 10, 150, "Effect_spark");
_root.effects.spark(this._x, this._y, 50, 10, 100, "Effect_smoke");
_root.barry.physics(this._x, 10);
this.removeMovieClip();
} else if (this._y > (_root.barry.groundLevel + 20)) {
_root.effects.spark(this._x, this._y, 10, 10, 150, "Effect_spark");
_root.effects.spark(this._x, this._y, 10, 10, 200, "Effect_smoke");
this.removeMovieClip();
}
}
}
_rotation = Math.round((Math.atan2(_root.barry._y - this._y, _root.barry._x - this._x) / Math.PI) * 180);
ySpeed = bulletSpeed * Math.sin(_rotation * (Math.PI/180));
xSpeed = bulletSpeed * Math.cos(_rotation * (Math.PI/180));
Symbol 12 MovieClip [Weapon_Bouncer] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
if (bounce == false) {
this._rotation = this._rotation + spin;
}
if (this.hitTest(_root.bulletHit)) {
this.removeMovieClip();
}
if (_rotation < 180) {
_rotation = (_rotation + (xSpeed * 0.8));
}
_y = (_y + drop);
drop = drop + 0.6;
_x = (_x + xSpeed);
xSpeed = xSpeed / 1.1;
if (this.hitTest(_root.GAME.barry.hitBullet)) {
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 200);
_parent._parent.effects.explosion("boom1", this._x, this._y - 130, 0, 100, 200);
_root.GAME.barry.physics(this._x, 10);
_root.sound.gotoAndStop("hitbang");
_root.sound.gotoAndStop(1);
this.removeMovieClip();
} else if (_root.GAME.terrain.hitTest(_x, _y + _parent._parent._y, true) and (_visible == true)) {
if (bounce == true) {
drop = -10;
_rotation = random(360);
while (_root.GAME.terrain.hitTest(_x, _y + _parent._parent._y, true) and (_visible == true)) {
_y = (_y-1);
}
bounce = false;
} else {
_visible = false;
_parent._parent.effects.explosion("boom2", this._x - 40, this._y, 0, 100, 200);
_root.sound.gotoAndStop("bang");
_root.sound.gotoAndStop(1);
}
}
}
}
drop = 0;
bounce = true;
spin = random(20) - 10;
if (dir > 0) {
xSpeed = 10;
} else {
xSpeed = -10;
_xscale = (-_xscale);
}
Symbol 19 MovieClip [boomblood] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
_alpha = (_alpha - 5);
if (_alpha < 0) {
this.removeMovieClip();
}
this._x = this._x - (_root.levelSpeed / 3);
}
}
Symbol 19 MovieClip [boomblood] Frame 10
this.removeMovieClip();
Symbol 28 MovieClip [boom1] Frame 1
function onEnterFrame() {
this._x = this._x - (_root.levelSpeed / 3);
}
Symbol 28 MovieClip [boom1] Frame 9
this.removeMovieClip();
Symbol 39 MovieClip [boom2] Frame 1
function onEnterFrame() {
this._x = this._x - (_root.levelSpeed / 3);
}
Symbol 39 MovieClip [boom2] Frame 11
this.removeMovieClip();
Symbol 47 MovieClip [boom4] Frame 1
function onEnterFrame() {
this._x = this._x - (_root.levelSpeed / 3);
}
Symbol 47 MovieClip [boom4] Frame 8
this.removeMovieClip();
Symbol 59 MovieClip [boom3] Frame 1
function onEnterFrame() {
this._x = this._x - (_root.levelSpeed / 3);
}
Symbol 59 MovieClip [boom3] Frame 12
this.removeMovieClip();
Symbol 63 MovieClip [Effect_exp] Frame 1
function onEnterFrame() {
if (_alpha > 0) {
_alpha = (_alpha - (alphaSpeed * 4));
if (_alpha < 100) {
_y = (_y - 2);
}
} else {
this.removeMovieClip();
}
}
_alpha = (_alpha + 100);
Symbol 65 MovieClip [Weapon_Bomb] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
if (this._y > 500) {
this.removeMovieClip();
}
if (this.hitTest(_root.bulletHit)) {
this.removeMovieClip();
}
if (_rotation < 180) {
_rotation = (_rotation + (xSpeed * 0.8));
}
_y = (_y + drop);
_x = (_x + xSpeed);
xSpeed = xSpeed / 1.1;
if (this.hitTest(_root.GAME.barry.hitBullet) and (_visible == true)) {
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 200);
_parent._parent.effects.explosion("boom1", this._x, this._y - 130, 0, 100, 200);
_root.GAME.barry.physics(this._x, 10);
_root.sound.gotoAndStop("hitbang");
_root.sound.gotoAndStop(1);
this.removeMovieClip();
} else if (_root.GAME.terrain.hitTest(_x, _y + _parent._parent._y, true) and (_visible == true)) {
_visible = false;
_parent._parent.effects.explosion("boom2", this._x - 40, this._y, 0, 100, 200);
_root.sound.gotoAndStop("bang");
_root.sound.gotoAndStop(1);
} else if ((splashTimer > 0) and (_visible == false)) {
splashTimer--;
this._y = this._y - drop;
_width = 100;
_height = 100;
if (this.hitTest(_root.GAME.barry.hitBullet)) {
_root.GAME.barry.physics(this._x, 10);
}
} else if (_visible == false) {
this.removeMovieClip();
}
drop = drop + 0.3;
}
}
drop = 0;
if (dir > 0) {
xSpeed = 10;
} else {
xSpeed = -10;
_xscale = (-_xscale);
}
splashTimer = 5;
Symbol 72 MovieClip [Tunnel] Frame 1
gotoAndStop(_root.levelGraphics);
i = 1;
while (i < 5) {
this["leaf" + i]._x = this["leaf" + i]._x + (random(6) - 3);
this["leaf" + i]._rotation = random(360);
this["leaf" + i]._y = this["leaf" + i]._y + (random(6) - 3);
this["leaf" + i].gotoAndStop(random(5) + 1);
i++;
}
Symbol 100 MovieClip [Effect_fuelfragment] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
if (stateSwitch == false) {
_y = (_y + (ySpeed * 3));
_x = (_x + (xSpeed * 3));
ySpeed = ySpeed / 1.1;
xSpeed = xSpeed / 1.1;
if ((((xSpeed < 0.5) and (xSpeed > -0.5)) and (ySpeed < 0.5)) and (ySpeed > -0.5)) {
stateSwitch = true;
}
} else {
_rotation = Math.round((Math.atan2(_parent._parent.barry._y - this._y, (_parent._parent.barry._x - this._x) + _parent.xMove) / Math.PI) * 180);
ySpeed = Speed * Math.sin(_rotation * (Math.PI/180));
xSpeed = Speed * Math.cos(_rotation * (Math.PI/180));
Speed = Speed + 0.5;
_y = (_y + (ySpeed * 3));
_x = (_x + (xSpeed * 3));
if (this.hitTest(_parent._parent.barry.hit)) {
_parent._parent.barry.fuel = _parent._parent.barry.fuel + 10;
if (_parent._parent.barry.fuel > _parent._parent.barry.maxFuel) {
_parent._parent.barry.fuel = _parent._parent.barry.maxFuel;
}
this.removeMovieClip();
}
}
}
}
Speed = 2;
_rotation = random(360);
ySpeed = Speed * Math.sin(_rotation * (Math.PI/180));
xSpeed = Speed * Math.cos(_rotation * (Math.PI/180));
Speed = 0;
drop = 0;
_yscale = (random(20) + 40);
_xscale = _yscale;
stateSwitch = false;
Symbol 102 MovieClip [Effect_fragment] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
sprite._rotation = sprite._rotation + spin;
if (stateSwitch == false) {
_y = (_y + (ySpeed * 3));
_x = (_x + (xSpeed * 3));
ySpeed = ySpeed / 1.1;
xSpeed = xSpeed / 1.1;
if ((((xSpeed < 0.5) and (xSpeed > -0.5)) and (ySpeed < 0.5)) and (ySpeed > -0.5)) {
stateSwitch = true;
}
} else {
_rotation = Math.round((Math.atan2(_parent._parent.barry._y - this._y, (_parent._parent.barry._x - this._x) + _parent.xMove) / Math.PI) * 180);
ySpeed = Speed * Math.sin(_rotation * (Math.PI/180));
xSpeed = Speed * Math.cos(_rotation * (Math.PI/180));
Speed = Speed + 0.2;
_y = (_y + (ySpeed * 3));
_x = (_x + (xSpeed * 3));
if (this.hitTest(_parent._parent.barry.hit)) {
if ((_root.gameMode == "Adventure") and (_parent._parent.barry.dead == false)) {
_parent._parent.barry.fuel = _parent._parent.barry.fuel + 5;
}
if (_parent._parent.barry.boomBar < _parent._parent.barry.boomMax) {
_parent._parent.barry.boomBar = _parent._parent.barry.boomBar + 1;
} else {
_parent._parent.barry.boomBar = _parent._parent.barry.boomMax;
}
this.removeMovieClip();
}
}
}
}
spin = 0;
stop();
if (_root.gameMode == "Classic") {
this.removeMovieClip();
} else if (_root.gameMode == "Adventure") {
gotoAndStop (2);
spin = random(60) - 30;
}
ySpeed = Speed * Math.sin(_rotation * (Math.PI/180));
xSpeed = Speed * Math.cos(_rotation * (Math.PI/180));
_yscale = (random(20) + 40);
_xscale = _yscale;
stateSwitch = false;
Symbol 103 MovieClip [Effect_smoke] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
if ((_x > 0) and (_alpha > 0)) {
_alpha = (_alpha - 10);
_y = (_y + ySpeed);
ySpeed--;
this._x = this._x + xSpeed;
xSpeed--;
} else {
this.removeMovieClip();
}
}
}
this._xscale = random(50) + 50;
this._yscale = _xscale;
_rotation = (45 - random(90));
ySpeed = Speed * Math.sin(_rotation * (Math.PI/180));
xSpeed = random(10) - 5;
this._x = this._x + random(5);
float = 0;
Symbol 106 MovieClip [Effect_spark] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
if ((_x > 0) and (_alpha > 0)) {
_alpha = (_alpha - 5);
_y = (_y + ySpeed);
ySpeed--;
this._x = this._x + (xSpeed * (_root.levelSpeed / 20));
xSpeed--;
} else {
this.removeMovieClip();
}
}
}
this._xscale = random(50) + 50;
this._yscale = _xscale;
_rotation = (45 - random(90));
ySpeed = Speed * Math.sin(_rotation * (Math.PI/180));
if (ySpeed > 5) {
ySpeed = ySpeed / 2;
}
xSpeed = random(10) - 5;
this._x = this._x + random(5);
float = 0;
Symbol 124 MovieClip [Enemy_Bouncer] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
engine1.play();
engine2.play();
if (this._y < (varPos - varMaxSpeed)) {
if (varSpeed < varMaxSpeed) {
varSpeed = varSpeed + varAccel;
}
} else if (this._y > (varPos + varMaxSpeed)) {
if (varSpeed > (-varMaxSpeed)) {
varSpeed = varSpeed - varAccel;
}
} else {
varPos = (this._y + random(_root.bomberVar)) - (_root.bomberVar / 2);
}
this._y = this._y + varSpeed;
if ((this._x > (700 + (this._width * 2))) or (this._x < ((-this._width) * 5))) {
this.removeMovieClip();
} else {
this._x = this._x + speed;
}
if ((_root.twoPlayer == true) and (playerNum == 2)) {
if (this.hitTest(_parent._parent.barry2.hit)) {
_parent._parent.barry.physics(this._x, 3);
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 150);
health--;
}
} else if (this.hitTest(_parent._parent.barry.hit)) {
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 150);
_parent._parent.barry.physics(this._x, 3);
health--;
}
if ((((this._x < (_parent._parent.barry._x + 80)) and (this._x > (_parent._parent.barry._x - 80))) and (ammo > 0)) and (random(5) == 0)) {
_parent._parent.enemy.newBomb(this._x, this._y, this._xscale, "Weapon_Bouncer");
ammo--;
}
if (health <= 0) {
_parent._parent.barry.physics(this._x, 6);
_parent._parent.effects.spark(this._x, this._y, 5, 4, 250, "Effect_fragment");
_parent._parent.effects.spark(this._x, this._y, 2, 4, 250, "Effect_pilot");
_parent._parent.effects.explosion("boom3", this._x, this._y - 210, 0, 100, 150);
_parent._parent.effects.explosion("boom5", this._x, this._y, random(360), 100, random(100) + 100);
_parent._parent.barry.combo++;
_parent._parent.barry.expStore = _parent._parent.barry.expStore + 10;
_parent._parent.effects.exp(this._x, this._y, _root.GAME.barry.combo, "COMBO", 150);
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
this.removeMovieClip();
}
if (_root.GAME.terrain.hitTest(_x, (_y + 30) + _parent._parent._y, true)) {
this._y = this._y - 2;
} else if (this._y < 0) {
this._y = 0;
}
} else {
engine1.stop();
engine2.stop();
}
}
varPos = (this._y + random(_root.bomberVar)) - (_root.bomberVar / 2);
varSpeed = 0;
varAccel = 0.1;
varMaxSpeed = (random(10) + 10) / 10;
if (random(2) == 0) {
speed = 5;
_x = ((-this._width) * 2);
} else {
_x = (600 + (this._width * 2));
speed = -5;
_xscale = (-_xscale);
}
health = 1;
ammo = 1;
Symbol 128 MovieClip [Enemy_Miner] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
if ((this._x > 800) or (this._x < -150)) {
this.removeMovieClip();
}
wheel1._rotation = wheel1._rotation + 10;
wheel2._rotation = wheel2._rotation + 10;
if (this._y < (varPos - varMaxSpeed)) {
if (varSpeed < varMaxSpeed) {
varSpeed = varSpeed + varAccel;
}
} else if (this._y > (varPos + varMaxSpeed)) {
if (varSpeed > (-varMaxSpeed)) {
varSpeed = varSpeed - varAccel;
}
} else {
varPos = (this._y + random(_root.bomberVar)) - (_root.bomberVar / 2);
}
this._y = this._y + varSpeed;
this._x = this._x + speed;
if (this.hitTest(_parent._parent.barry.hit)) {
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 150);
_parent._parent.barry.physics(this._x, 3);
health--;
}
if (health <= 0) {
_parent._parent.barry.physics(this._x, 10);
_parent._parent.effects.spark(this._x, this._y, 5, 4, 250, "Effect_fragment");
_parent._parent.effects.spark(this._x, this._y, 2, 4, 250, "Effect_pilot");
_parent._parent.effects.explosion("boom3", this._x, this._y - 210, 0, 100, 150);
_parent._parent.effects.explosion("boom5", this._x, this._y, random(360), 100, random(100) + 100);
_parent._parent.barry.combo++;
_parent._parent.barry.expStore = _parent._parent.barry.expStore + 10;
_parent._parent.effects.exp(this._x, this._y, _root.GAME.barry.combo, "COMBO", 150);
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
this.removeMovieClip();
}
this._y = this._y + 5;
while (_root.GAME.terrain.hitTest(_x, _y + _root.GAME._y, true)) {
this._y--;
}
}
}
this._y = 300;
varPos = (this._y + random(_root.bomberVar)) - (_root.bomberVar / 2);
varSpeed = 0;
varAccel = 0;
varMaxSpeed = 0;
if (dir == 1) {
speed = 5;
_x = ((-this._width) * 2);
} else {
_x = (600 + (this._width * 2));
_xscale = (-_xscale);
speed = -5;
}
health = 1;
Symbol 135 MovieClip [Enemy_Homer] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
engine1.play();
engine2.play();
if (this._y < (varPos - varMaxSpeed)) {
if (varSpeed < varMaxSpeed) {
varSpeed = varSpeed + varAccel;
}
} else if (this._y > (varPos + varMaxSpeed)) {
if (varSpeed > (-varMaxSpeed)) {
varSpeed = varSpeed - varAccel;
}
} else {
varPos = (this._y + random(_root.bomberVar)) - (_root.bomberVar / 2);
}
this._y = this._y + varSpeed;
if ((this._x > (700 + (this._width * 4))) or (this._x < ((-this._width) * 4))) {
this.removeMovieClip();
} else {
this._x = this._x + speed;
}
if ((_root.twoPlayer == true) and (playerNum == 2)) {
if (this.hitTest(_parent._parent.barry2.hit)) {
_parent._parent.barry.physics(this._x, 3);
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 150);
health--;
}
} else if (this.hitTest(_parent._parent.barry.hit)) {
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 150);
_parent._parent.barry.physics(this._x, 3);
health--;
}
if ((((this._x < (_parent._parent.barry._x + 80)) and (this._x > (_parent._parent.barry._x - 80))) and (ammo > 0)) and (random(5) == 0)) {
_parent._parent.enemy.newBomb(this._x, this._y, this._xscale, "Weapon_Seeker");
ammo--;
}
if (health <= 0) {
_parent._parent.barry.physics(this._x, 6);
_parent._parent.effects.spark(this._x, this._y, 5, 4, 250, "Effect_fragment");
_parent._parent.effects.spark(this._x, this._y, 10, 4, 250, "Effect_pilot");
_parent._parent.effects.explosion("boom3", this._x, this._y - 210, 0, 100, 150);
_parent._parent.effects.explosion("boom5", this._x, this._y, random(360), 100, random(100) + 100);
_parent._parent.barry.combo++;
_parent._parent.barry.expStore = _parent._parent.barry.expStore + 10;
_parent._parent.effects.exp(this._x, this._y, _root.GAME.barry.combo, "COMBO", 150);
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
this.removeMovieClip();
}
if (_root.GAME.terrain.hitTest(_x, (_y + 30) + _parent._parent._y, true)) {
this._y = this._y - 2;
} else if (this._y < 0) {
this._y = 0;
}
} else {
engine1.stop();
engine2.stop();
}
}
varPos = (this._y + random(_root.bomberVar)) - (_root.bomberVar / 2);
varSpeed = 0;
varAccel = 0.1;
varMaxSpeed = (random(10) + 10) / 10;
if (dir == 1) {
speed = 5;
_x = ((-this._width) * 2);
} else {
_x = (600 + (this._width * 2));
speed = -5;
_xscale = (-_xscale);
}
health = 1;
ammo = 1;
if (_root.twoPlayer == false) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(PlayerNum);
}
Symbol 144 MovieClip [Enemy_Gunner] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
engine.play();
if (this._y < (varPos - varMaxSpeed)) {
if (varSpeed < varMaxSpeed) {
varSpeed = varSpeed + varAccel;
}
} else if (this._y > (varPos + varMaxSpeed)) {
if (varSpeed > (-varMaxSpeed)) {
varSpeed = varSpeed - varAccel;
}
} else {
varPos = (this._y + random(_root.bomberVar)) - (_root.bomberVar / 2);
}
this._y = this._y + varSpeed;
if ((this._x > (700 + (this._width * 4))) or (this._x < ((-this._width) * 4))) {
this.removeMovieClip();
} else {
this._x = this._x + speed;
}
if ((_root.twoPlayer == true) and (playerNum == 2)) {
if (this.hitTest(_parent._parent.barry2.hit)) {
_parent._parent.barry.physics(this._x, 3);
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 150);
health--;
}
} else if (this.hitTest(_parent._parent.barry.hit)) {
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 150);
_parent._parent.barry.physics(this._x, 3);
health--;
}
if ((((this._x < (_parent._parent.barry._x + 80)) and (this._x > (_parent._parent.barry._x - 80))) and (ammo > 0)) and (random(5) == 0)) {
_parent._parent.enemy.newBomb(this._x, this._y, this._xscale, "Weapon_Homer");
ammo--;
}
if (health <= 0) {
_parent._parent.barry.physics(this._x, 6);
_parent._parent.effects.spark(this._x, this._y, 5, 4, 250, "Effect_fragment");
_parent._parent.effects.spark(this._x, this._y, 2, 4, 250, "Effect_pilot");
_parent._parent.effects.explosion("boom3", this._x, this._y - 210, 0, 100, 150);
_parent._parent.effects.explosion("boom5", this._x, this._y, random(360), 100, random(100) + 100);
_parent._parent.barry.combo++;
_parent._parent.barry.expStore = _parent._parent.barry.expStore + 10;
_parent._parent.effects.exp(this._x, this._y, _root.GAME.barry.combo, "COMBO", 150);
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
this.removeMovieClip();
}
if (_root.GAME.terrain.hitTest(_x, (_y + 30) + _parent._parent._y, true)) {
this._y = this._y - 2;
} else if (this._y < 0) {
this._y = 0;
}
} else {
engine.stop();
}
}
varPos = (this._y + random(_root.bomberVar)) - (_root.bomberVar / 2);
varSpeed = 0;
varAccel = 0.1;
varMaxSpeed = (random(10) + 10) / 10;
if (dir == 1) {
speed = 5;
_x = ((-this._width) * 2);
} else {
_x = (600 + (this._width * 2));
speed = -5;
_xscale = (-_xscale);
}
health = 1;
ammo = 1;
if (_root.twoPlayer == false) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(PlayerNum);
}
Symbol 146 MovieClip [Enemy_Bomber] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
engine.play();
if (this._y < (varPos - varMaxSpeed)) {
if (varSpeed < varMaxSpeed) {
varSpeed = varSpeed + varAccel;
}
} else if (this._y > (varPos + varMaxSpeed)) {
if (varSpeed > (-varMaxSpeed)) {
varSpeed = varSpeed - varAccel;
}
} else {
varPos = (this._y + random(_root.bomberVar)) - (_root.bomberVar / 2);
}
this._y = this._y + varSpeed;
if ((this._x > (700 + (this._width * 2))) or (this._x < ((-this._width) * 2))) {
this.removeMovieClip();
} else {
this._x = this._x + speed;
}
if ((_root.twoPlayer == true) and (playerNum == 2)) {
if (this.hitTest(_parent._parent.barry2.hit)) {
_parent._parent.barry.physics(this._x, 3);
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 150);
health--;
}
} else if (this.hitTest(_parent._parent.barry.hit)) {
_parent._parent.effects.explosion("boom4", this._x, this._y, 0, 100, 150);
_parent._parent.barry.physics(this._x, 3);
health--;
}
if ((((this._x < (_parent._parent.barry._x + 80)) and (this._x > (_parent._parent.barry._x - 80))) and (ammo > 0)) and (random(5) == 0)) {
_parent._parent.enemy.newBomb(this._x, this._y, this._xscale, "Weapon_Bomb");
ammo--;
}
if (health <= 0) {
_parent._parent.barry.physics(this._x, 6);
_parent._parent.effects.spark(this._x, this._y, 5, 4, 250, "Effect_fragment");
_parent._parent.effects.spark(this._x, this._y, 2, 4, 250, "Effect_pilot");
_parent._parent.effects.explosion("boom3", this._x, this._y - 210, 0, 100, 150);
_parent._parent.effects.explosion("boom5", this._x, this._y, random(360), 100, random(100) + 100);
_parent._parent.barry.combo++;
_parent._parent.barry.expStore = _parent._parent.barry.expStore + 10;
_parent._parent.effects.exp(this._x, this._y, _root.GAME.barry.combo, "COMBO", 150);
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
this.removeMovieClip();
}
if (this._y > 300) {
this._y = 300;
}
} else {
engine.stop();
}
}
varPos = (this._y + random(_root.bomberVar)) - (_root.bomberVar / 2);
varSpeed = 0;
varAccel = 0.15;
varMaxSpeed = (random(12) + 12) / 10;
if (dir == 1) {
speed = 7;
_x = ((-this._width) * 2);
} else {
_x = (600 + (this._width * 2));
speed = -7;
_xscale = (-_xscale);
}
health = 1;
ammo = 1;
if (_root.twoPlayer == false) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(PlayerNum);
}
Symbol 148 MovieClip [Laser_Arwing] Frame 1
function onEnterFrame() {
if (timer > 0) {
timer--;
} else {
this.removeMovieClip();
}
if (_root.terrainLayer.hitTest(_x, _y, true)) {
_root.effectsLayer.newBlast(this._x, this._y, 100, 1);
this.removeMovieClip();
}
_y = (_y + ySpeed);
_x = (_x + xSpeed);
}
ySpeed = 25 * Math.sin(_rotation * (Math.PI/180));
xSpeed = 25 * Math.cos(_rotation * (Math.PI/180));
timer = 50;
Symbol 150 MovieClip [Effect_trail] Frame 1
function onEnterFrame() {
this._x = this._x - _root.levelSpeed;
}
Symbol 154 MovieClip [Enemy Fuel] Frame 1
function onEnterFrame() {
this._x = this._x - (_root.levelSpeed / 3);
if (this._x < -20) {
this.removeMovieClip();
}
if (this.hitTest(_parent._parent.barry.hit)) {
_parent._parent.effects.spark(this._x, this._y, 10, 4, 250, "Effect_fuelfragment");
_parent._parent.effects.spark(this._x, this._y, 10, 10, 150, "Effect_spark");
_parent._parent.effects.spark(this._x, this._y, 20, 10, 200, "Effect_smoke");
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
this.removeMovieClip();
}
}
this._y = random(400);
this._x = 700;
Symbol 156 MovieClip Frame 1
function onEnterFrame() {
if ((_rotation > (rotPos + rotMax)) or (_rotation < (rotPos - rotMax))) {
spin = -spin;
_rotation = lastRot;
}
lastRot = _rotation;
_rotation = (_rotation + spin);
}
rotPos = this._rotation;
rotMax = 45;
spin = random(5) + 5;
Symbol 159 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
function onEnterFrame() {
if ((_rotation > (rotPos + rotMax)) or (_rotation < (rotPos - rotMax))) {
spin = -spin;
_rotation = lastRot;
}
lastRot = _rotation;
_rotation = (_rotation + spin);
}
rotPos = this._rotation;
rotMax = 45;
spin = random(5) + 5;
Symbol 164 MovieClip [Effect_pilot] Frame 1
function onEnterFrame() {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
this._y = this._y + drop;
drop = drop + 1.5;
this._x = this._x + xSpeed;
this._x = this._x - (_root.levelSpeed / 3);
xSpeed = xSpeed / 1.05;
_rotation = (_rotation + spin);
spin = spin / 1.1;
if ((random(10) == 0) and (paraTimer < 0)) {
paraActive = true;
}
paraTimer--;
if (this.hitTest(_root.GAME.barry.hitBullet)) {
if (paraActive == true) {
paraActive = false;
paraTimer = 200;
parachute.gotoAndStop(2);
}
}
if (_root.GAME.terrain.hitTest(_x, _y + _parent._parent._y, true) and (groundSwitch != true)) {
if (drop > 3) {
_parent.explosion("boomblood", this._x, this._y - 60, 0, 150, 100);
this.removeMovieClip();
} else {
groundSwitch = true;
}
}
if (groundSwitch == true) {
while (_root.GAME.terrain.hitTest(_x - _parent.xMove, _y + _parent._parent._y, true)) {
this._y = this._y - 2;
}
this._y = this._y + 2;
paraTimer = -10;
xSpeed = -3;
if (parachute._xscale > 0) {
parachute._xscale = parachute._xscale - 20;
parachute._yscale = parachute._yscale - 20;
}
} else if (paraActive == true) {
_rotation = (_rotation / 1.3);
if (drop > 2) {
drop = drop - 2;
}
if (parachute._xscale < 100) {
parachute._xscale = parachute._xscale + 10;
parachute._yscale = parachute._yscale + 10;
}
}
if (_y > 500) {
this.removeMovieClip();
}
}
}
drop = (random(12) + 7) * -1;
xSpeed = random(18) - 8;
_xscale = 100;
_yscale = 100;
spin = random(40) - 20;
parachute._xscale = 0;
parachute._yscale = 0;
paraTimer = 10;
if (random(2) == 0) {
_xscale = -100;
}
if (_root.gameMode == "Classic") {
this.removeMovieClip();
}
Symbol 207 MovieClip Frame 1
_visible = false;
Symbol 207 MovieClip Frame 5
stopAllSounds();
Symbol 207 MovieClip Frame 122
stopAllSounds();
_root.MUSICBOX.gotoAndPlay(2);
stop();
Symbol 208 MovieClip [MEDAL_AWARD] Frame 1
function onEnterFrame() {
if ((_alpha < 100) and (alphaSwitch == false)) {
_alpha = (_alpha + 10);
} else if (timer < 100) {
alphaSwitch = true;
_alpha = 100;
timer++;
} else if (_alpha > 0) {
_alpha = (_alpha - 10);
} else {
this.removeMovieClip();
}
}
_alpha = 0;
alphaSwitch = false;
timer = 0;
Symbol 221 MovieClip [boom5] Frame 1
function onEnterFrame() {
this._x = this._x - (_root.levelSpeed / 3);
_rotation = (_rotation + 5);
}
Symbol 221 MovieClip [boom5] Frame 13
this.removeMovieClip();
stop();
Symbol 223 MovieClip [System_Square] Frame 1
_visible = false;
Symbol 248 MovieClip Frame 126
_root.nextFrame();
Symbol 268 MovieClip Frame 1
if (_root.titlePlay == false) {
gotoAndStop ("end");
}
Symbol 268 MovieClip Frame 24
stop();
Symbol 276 MovieClip Frame 9
stop();
Symbol 281 MovieClip Frame 1
function onEnterFrame() {
if (timer > 0) {
timer = timer - 3;
} else {
this._x = this._x - speed;
if (speed > 0) {
speed--;
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
_alpha = (_alpha + 10);
} else {
this.gotoAndStop("txt");
}
}
if (this.hitTest(_root.cursorFollow.hit)) {
butt.gotoAndStop("over");
} else {
butt.gotoAndStop(1);
}
}
function onMouseUp() {
if (this.hitTest(_root.cursorFollow.hit)) {
_root.fuelMax = fuelMax;
if (gameType != undefined) {
_root.gameMode = gameType;
}
_root.gotoAndPlay(targ);
}
}
function onRollOver() {
_parent.screen.screenLoad++;
_parent.screen.infoBox = info;
}
function onDragOver() {
_parent.screen.screenLoad++;
_parent.screen.infoBox = info;
}
function onRollOut() {
_parent.screen.screenLoad--;
}
function onDragOut() {
_parent.screen.screenLoad--;
}
xPos = this._x;
_xscale = 150;
_yscale = 150;
_alpha = 0;
speed = 10;
stop();
Symbol 281 MovieClip Frame 2
stop();
Instance of Symbol 294 MovieClip "tvScreen" in Symbol 297 MovieClip Frame 1
onClipEvent (load) {
vidLoad = random(3) + 1;
vidArray = new Array("vid1", "vid2", "vid3");
this.gotoAndPlay(vidArray[vidLoad]);
}
Symbol 298 MovieClip Frame 1
if (_root.titlePlay == false) {
this.gotoAndPlay("buttons");
}
Instance of Symbol 255 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (load) {
if (_root.titlePlay == true) {
_xscale = 0;
_yscale = 0;
xPos = _x;
yPos = _y;
timer = 10;
}
}
onClipEvent (enterFrame) {
if (_root.titlePlay == true) {
if (_xscale < 100) {
_xscale = (_xscale + 20);
_yscale = (_yscale + 20);
} else if (timer > 0) {
timer--;
_rotation = (random(10) - 10);
} else {
_rotation = 0;
}
}
}
Instance of Symbol 269 MovieClip in Symbol 298 MovieClip Frame 1
onClipEvent (load) {
if (_root.titlePlay == true) {
anim.stop();
xPos = _x;
yPos = _y;
_alpha = 0;
_xscale = 200;
_yscale = 200;
timer = 30;
active = true;
}
}
onClipEvent (enterFrame) {
if (_root.titlePlay == true) {
if (timer > 5) {
timer--;
} else if (_xscale > 100) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
_alpha = (_alpha + 10);
} else if (timer > 0) {
_rotation = (random(20) - 10);
timer--;
} else if (active == true) {
_rotation = 0;
active = false;
anim.play();
}
}
}
Symbol 298 MovieClip Frame 50
stop();
_root.titlePlay = false;
Instance of Symbol 281 MovieClip in Symbol 298 MovieClip Frame 50
onClipEvent (load) {
desc = "Medals";
targ = "medals";
timer = 10;
info = "View the medals you have earned and access secrets unlocked by collecting as many as you can for various tasks!";
}
Instance of Symbol 281 MovieClip in Symbol 298 MovieClip Frame 50
onClipEvent (load) {
desc = "How To Play";
targ = "inst";
timer = 20;
info = "If you have never played 'IndestructoTank!', or are just feeling a little rusty, click here to learn just how to rack up those combos!";
}
on (release) {
}
Instance of Symbol 281 MovieClip in Symbol 298 MovieClip Frame 50
onClipEvent (load) {
desc = "More Games";
targ = "AG";
timer = 40;
info = "Visit the Armor Games homepage to find more great flash games free to play!";
}
Instance of Symbol 281 MovieClip in Symbol 298 MovieClip Frame 50
onClipEvent (load) {
desc = "Settings";
targ = "options";
timer = 30;
info = "Change graphics and sound settings and clear saved data.";
}
Instance of Symbol 281 MovieClip in Symbol 298 MovieClip Frame 50
onClipEvent (load) {
desc = "Start Game";
targ = "gameSelect";
timer = 0;
info = "Select a gametype and start a game of Indestruc2Tank!";
}
Instance of Symbol 297 MovieClip "screen" in Symbol 298 MovieClip Frame 50
onClipEvent (load) {
screenLoad = 0;
xPos = this._x;
_xscale = 150;
_yscale = 150;
_alpha = 0;
speed = 25;
timer = 30;
tvChange = false;
channelArray = new Array("CLASSIC", "ENHANCED", "ADVENTURE", "CODEC", "BOSS");
}
onClipEvent (enterFrame) {
if (screenLoad == 0) {
this.gotoAndStop("TV");
if (tvChange == true) {
tvScreen.gotoAndStop(channelArray[random(5)]);
tvChange = false;
}
} else {
tvChange = true;
this.gotoAndStop("INFO");
}
if (timer > 0) {
timer--;
} else {
this._x = this._x - speed;
if (speed > 0) {
speed = speed - 2;
if (_xscale > 100) {
_xscale = (_xscale - 5);
_yscale = (_yscale - 5);
}
_alpha = (_alpha + 10);
} else {
speed = 0;
}
}
}
Symbol 306 MovieClip Frame 2
if (_root.titlePlay == false) {
gotoAndStop ("event");
}
Symbol 306 MovieClip Frame 93
stop();
Symbol 342 MovieClip Frame 1
function onEnterFrame() {
if (timer < 15) {
timer++;
} else {
spin = -spin;
timer = 0;
}
_rotation = (_rotation + spin);
_rotation = (_rotation / 1.2);
}
timer = 0;
spin = 2;
Symbol 344 MovieClip Frame 1
function onRelease() {
_root.codecArray = level;
_root.gotoAndStop(dest);
}
Symbol 348 MovieClip Frame 1
function onRelease() {
if (_alpha == 100) {
_root.levelID = levelID;
_root.codecArray = level;
stopAllSounds();
_root.gotoAndStop(dest);
}
}
Symbol 351 MovieClip Frame 1
function onMouseDown() {
if (_alpha == 100) {
if (this.hitTest(_root.cursorFollow.hit)) {
_root.fuelMax = fuelMax;
_root.bossSel = bossSel;
if (gameType != undefined) {
_root.gameMode = gameType;
}
_root.levelID = levelID;
_root.terrainLoadOffset = TLO;
_root.levelGraphics = levelGraphicsPreset;
_root.gotoAndPlay(targ);
}
}
}
Symbol 354 MovieClip Frame 1
function onMouseDown() {
if (_alpha == 100) {
if (this.hitTest(_root.cursorFollow.hit)) {
_root.fuelMax = fuelMax;
_root.bossSel = bossSel;
if (gameType != undefined) {
_root.gameMode = gameType;
}
_root.holeTimer = holeTimer;
_root.holeTimerVar = holeTimerVar;
_root.holeTimerCOunter = holeTimerCounter;
_root.holeMinSize = holeMinSize;
_root.holeSizeVar = holeSizeVar;
_root.holesVar = holesVar;
_root.levelID = levelID;
_root.terrainLoadOffset = TLO;
_root.levelGraphics = levelGraphicsPreset;
_root.gotoAndPlay(targ);
}
}
}
Symbol 385 MovieClip Frame 1
function onEnterFrame() {
if (Key.isDown(38) and (yPos != yPosStore)) {
yPos = yPosStore;
} else if (Key.isDown(40) and (yPos != (yPosStore + 500))) {
yPos = yPosStore - 500;
}
this._y = this._y - ((_y - yPos) / 5);
}
function setupMedals() {
i = 1;
while (i < 19) {
if (_root["Medal" + i] == false) {
this["Medal_" + i]._visible = false;
} else {
_root.medalCount++;
}
i++;
}
}
yPosStore = this._y;
yPos = this._y;
_root.medalCount = 0;
setupMedals();
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 368
stopAllSounds();
_root.MUSICBOX.gotoAndPlay(2);
Symbol 424 MovieClip Frame 1
function onPress() {
_rotation = (_rotation + 10);
_rotation = (_rotation - 10);
}
Symbol 434 MovieClip Frame 1
stop();
Instance of Symbol 391 MovieClip "tankBut1" in Symbol 434 MovieClip Frame 1
on (release) {
_parent.nextFrame();
}
Instance of Symbol 391 MovieClip "tankBut1" in Symbol 434 MovieClip Frame 2
on (release) {
_parent.prevFrame();
}
Instance of Symbol 391 MovieClip "tankBut1" in Symbol 434 MovieClip Frame 6
on (release) {
_parent.prevFrame();
}
Symbol 448 MovieClip Frame 1
xPos = this._x;
this._x = 1000;
Instance of Symbol 391 MovieClip in Symbol 448 MovieClip Frame 1
on (release) {
_root.savefileActive = undefined;
_root.resetAllData();
stopAllSounds();
_root.gotoAndPlay("titleloader");
}
Instance of Symbol 391 MovieClip in Symbol 448 MovieClip Frame 1
on (release) {
_parent._x = 1000;
}
Symbol 458 MovieClip Frame 1
stop();
Instance of Symbol 391 MovieClip "tankBut1" in Symbol 458 MovieClip Frame 1
on (release) {
_parent.nextFrame();
}
Instance of Symbol 391 MovieClip "tankBut1" in Symbol 458 MovieClip Frame 2
on (release) {
_parent.prevFrame();
}
Symbol 458 MovieClip Frame 9
_root.tutTrue = true;
Instance of Symbol 391 MovieClip "tankBut1" in Symbol 458 MovieClip Frame 9
on (release) {
_parent.prevFrame();
}
Symbol 463 MovieClip Frame 1
gotoAndStop(_root.levelGraphics);
Symbol 466 MovieClip Frame 1
gotoAndStop(_root.levelGraphics);
Symbol 471 MovieClip Frame 1
gotoAndStop(_root.levelGraphics);
Symbol 477 MovieClip Frame 1
gotoAndStop(_root.levelGraphics);
Symbol 482 MovieClip Frame 1
function newBullet(xPos, yPos, rotation, MC, frame) {
b = attachMovie(MC, "clone" + cloneCount, cloneCount++);
b._x = xPos;
b._y = yPos;
b._rotation = rotation;
b.gotoAndStop(frame);
}
cloneCount = 0;
var b;
Symbol 483 MovieClip Frame 1
function newEnemy(xPos, yPos, type, PlayerNum) {
b = attachMovie(type, "enemy" + enemyCount, enemyCount++);
b.dir = random(2);
b._y = yPos;
b.PlayerNum = PlayerNum;
}
function newEnemyBullet(xPos, yPos, speed, type) {
b = attachMovie(type, "enemy" + enemyCount, enemyCount++);
b._x = xPos;
b._y = yPos;
b.bulletSpeed = speed;
b.timer = 30;
}
function newBomb(xPos, yPos, dir, type) {
b = attachMovie(type, "enemy" + enemyCount, enemyCount++);
b._x = xPos;
b._y = yPos;
b.dir = dir;
}
enemyCount = 0;
var b;
Symbol 486 MovieClip Frame 1
function onEnterFrame() {
_rotation = Math.round((Math.atan2((_parent._parent.barry._y - this._y) - _parent._y, (_parent._parent.barry._x - this._x) - _parent._x) / 3.141593) * 180);
}
Symbol 501 MovieClip Frame 1
function onEnterFrame() {
_rotation = Math.round((Math.atan2((_parent._parent.barry._y - this._y) - _parent._y, (_parent._parent.barry._x - this._x) - _parent._x) / 3.141593) * 180);
}
Symbol 504 MovieClip Frame 1
function onEnterFrame() {
if ((_root.gameFroze == false) and (_root.gamePaused == false)) {
if (health > 0) {
invTimer--;
if (invTimer > 0) {
glass._alpha = -glass._alpha;
} else {
glass._alpha = 100;
}
if (hit3.hitTest(_parent.barry.hit)) {
_parent.barry.physics(_parent.barry._x + 10, 10);
_parent.barry.xSpeed = -40;
_parent.barry.drop = -20;
} else if (hit2.hitTest(_parent.barry.hit)) {
_parent.barry.physics(_parent.barry._x + 10, 10);
_parent.barry.xSpeed = -40;
if (invTimer < 0) {
health--;
_parent.effects.explosion("boom5", _parent.barry._x, _parent.barry._y, 0, 100, 150);
invTimer = 50;
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
}
} else {
while (hit.hitTest(_parent.barry)) {
_parent.barry._x = _parent.barry._x - 2;
_parent.barry.xSpeed = 0;
}
}
if (attackMode == 1) {
_parent.enemy.clear();
if (timer < attackTimer) {
timer = timer + 2;
} else {
timer = 0;
attackMode = random(2) + 2;
}
} else if (attackMode == 2) {
if (timer < attackTimer) {
timer++;
if (random(10) == 0) {
_parent.enemy.newBomb(this._x + dishX, this._y + dishY, this._xscale, "Weapon_Pusher");
}
} else {
timer = 0;
attackMode = 1;
}
} else if (attackMode == 3) {
if (timer < attackTimer) {
timer++;
_parent.enemy.clear();
_parent.enemy.lineStyle(random(10) + 5, 16711680);
_parent.enemy.moveTo(this._x + dishX, this._y + dishY);
_parent.enemy.lineTo(_parent.barry._x, _parent.barry._y);
_root.sound.gotoAndStop("laser");
_root.sound.gotoAndStop(1);
_parent.barry.xSpeed = _parent.barry.xSpeed - (random(2) + 1);
} else {
timer = 0;
attackMode = 1;
}
}
} else {
_parent.enemy.clear();
_alpha = (_alpha / 1.2);
if (invTimer > 0) {
invTimer--;
} else {
_root.GAME.barry.levelEnded = true;
}
if (random(3) == 0) {
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
_parent.effects.explosion("boom5", (_x + random(100)) - 50, (_y + random(100)) - 50, 0, 100, 150);
}
}
}
}
if (_root.gameMode != "Boss") {
this.swapDepths(200);
this.removeMovieClip();
}
gotoAndStop(_root.bossSel);
attackMode = 1;
attackTimer = 40;
timer = -100;
dishX = dish._x;
dishY = dish._y;
health = 5;
invTimer = 0;
Symbol 504 MovieClip Frame 2
function onEnterFrame() {
if ((_root.gameFroze == false) and (_root.gamePaused == false)) {
if (health > 0) {
invTimer--;
if (invTimer > 0) {
glass._alpha = -glass._alpha;
} else {
glass._alpha = 100;
}
if (health < 3) {
speedStore = 1.5;
}
this._x = this._x - (speed * speedStore);
if (this._x < -300) {
this._x = -300;
speed = -speed;
_xscale = (-_xscale);
} else if (this._x > 900) {
this._x = 900;
speed = -speed;
_xscale = (-_xscale);
}
if (random(10) == 0) {
_parent.enemy.newBomb(this._x, this._y, -this._xscale, "Weapon_Bomb");
}
if (hit.hitTest(_parent.barry.hit)) {
if (invTimer < 0) {
_parent.barry.physics(_parent.barry._x + 10, 10);
health--;
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
_parent.effects.explosion("boom5", _parent.barry._x, _parent.barry._y, 0, 100, 150);
invTimer = 50;
}
}
} else {
if (invTimer > 0) {
invTimer--;
} else {
_root.GAME.barry.levelEnded = true;
}
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
if (random(3) == 0) {
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
_parent.effects.explosion("boom5", (_x + random(100)) - 50, (_y + random(100)) - 50, 0, 100, 150);
}
}
}
}
speedStore = 1;
speed = 4;
health = 5;
invTimer = 0;
_x = (_x + 400);
Symbol 504 MovieClip Frame 3
function onEnterFrame() {
if ((_root.gameFroze == false) and (_root.gamePaused == false)) {
if (health > 0) {
if (glass.hitTest(_parent.barry.hit)) {
if (invTimer < 0) {
_parent.barry.physics(_parent.barry._x + 10, 13);
health--;
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
_parent.effects.explosion("boom5", _parent.barry._x, _parent.barry._y, 0, 100, 150);
invTimer = 50;
}
}
invTimer--;
if (invTimer > 0) {
glass._alpha = -glass._alpha;
} else {
glass._alpha = 100;
}
this._x = this._x + ((xPos - _x) / 10);
if (startTimer > 0) {
startTimer--;
} else if (random(100) == 0) {
startTimer = 40;
if (xPos == xPosStore) {
xPos = xPosStore - 300;
} else {
xPos = xPosStore;
}
}
if (hit3.hitTest(_root.GAME.barry)) {
_parent.barry.physics(_parent.barry._x + 10, 5);
}
if (random(60) == 0) {
_parent.enemy.newBomb(cannon._x + this._x, cannon._y + this._y, this._xscale, "Weapon_Pusher");
}
if (boom.hit.hitTest(_root.GAME.barry)) {
_parent.barry.physics(_parent.barry._x + 10, 5);
if (xPos == xPosStore) {
_parent.barry.xSpeed = -60;
} else {
_parent.barry.xSpeed = 60;
}
}
if (xPos == xPosStore) {
boom._rotation = boom._rotation - 20;
} else {
boom._rotation = boom._rotation + 20;
}
} else {
if (invTimer > 0) {
invTimer--;
} else {
_root.GAME.barry.levelEnded = true;
}
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
if (random(3) == 0) {
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
_parent.effects.explosion("boom5", (_x + random(100)) - 100, (_y + random(100)) - 50, 0, 100, 150);
}
}
}
}
spinCount = 360;
speed = 0;
xPosStore = _x;
xPos = xPosStore;
_x = (_x + 500);
startTimer = 100;
invTimer = 0;
health = 5;
this.swapDepths(_root.GAME.enemy);
Symbol 512 MovieClip Frame 1
gotoAndStop(_root.tankSkin);
Symbol 516 MovieClip Frame 1
gotoAndStop(_root.tankSkin);
Instance of Symbol 505 MovieClip "hitBullet" in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 505 MovieClip "hit" in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 518 MovieClip Frame 1
function newBlast(xPos, yPos, size, frame) {
b = attachMovie("Effect_blast", "clone" + cloneCount, cloneCount++);
b._x = xPos;
b._y = yPos;
b.gotoAndStop(frame);
}
function spark(xPos, yPos, ammount, Speed, scale, type) {
var _local1 = 0;
while (_local1 < (ammount / 2)) {
b = attachMovie(type, "effect" + cloneCount, cloneCount++);
b._x = xPos + xMove;
b._y = yPos;
b._xscale = random(scale) + 10;
b._yscale = b._xscale;
b.Speed = random(Speed) + 1;
b._rotation = random(360);
_local1++;
}
}
function explosion(boomNo, xPos, yPos, rotate, trans, size) {
b = attachMovie(boomNo, "clone" + cloneCount, cloneCount++);
b._x = xPos + xMove;
b._y = yPos;
b._alpha = trans;
b._rotation = rotate;
b._xscale = size;
b._yscale = size;
}
function exp(xPos, yPos, num, str, size, dataString) {
b = attachMovie("Effect_exp", "effect" + cloneCount, cloneCount++);
b._x = xPos + xMove;
b._y = yPos;
b.exp = num;
b.str = str;
b.floatSpeed = 0.3;
b._xscale = size;
b._yscale = size;
b.alphaSpeed = 3;
if (dataString == true) {
b._x = 50 + xMove;
b._y = _root.barry.groundLevel - 20;
b.floatSpeed = 0.04;
b.alphaSpeed = 1;
}
}
function onEnterFrame() {
}
cloneCount = 0;
trailCount = 0;
trailStart = 0;
var b;
xMove = 0;
xPlus = 0;
Instance of Symbol 472 MovieClip in Symbol 519 MovieClip Frame 1
onClipEvent (load) {
function cloneBuilding(pos, offset) {
if (random(1) == 0) {
b = attachMovie(["Terrain_city_b" + (random(5) + 1)], "building" + cloneCount, cloneCount++);
b.gotoAndStop(_root.levelGraphics);
b._x = pos + offset;
b._x = b._x + random(20);
b._y = b._y + random(40);
if (random(2) == 0) {
b._xscale = b._xscale * -1;
}
destroy = cloneCount - 15;
this["building" + destroy].removeMovieClip();
}
}
_root.goodPC = true;
stageWidth = 700;
xPos = 0;
cloneOffset = 1;
cloneCount = 0;
var b = 0;
yHeight = this._y;
randomHeight = random(_root.levelSpeed);
cloneSpace = random(20) + 50;
loadOffset = 0;
while (loadOffset < stageWidth) {
cloneBuilding(0, loadOffset);
loadOffset = loadOffset + (random(20) + 50);
}
}
onClipEvent (enterFrame) {
if (((_root.goodPC == true) and (_root.gamePaused == false)) and (_root.gameFroze == false)) {
this._x = this._x - (_root.levelSpeed / 10);
xPos = -this._x;
if (xPos > (60 * cloneOffset)) {
cloneBuilding(stageWidth, xPos);
cloneOffset++;
}
}
}
Instance of Symbol 481 MovieClip "terrain" in Symbol 519 MovieClip Frame 1
onClipEvent (load) {
function cloneBuilding(pos, offset) {
if (holeTimerCounter > 0) {
holeTimerCounter--;
} else if (holesActive == true) {
holeSwitch = true;
}
if (holeSwitch == false) {
b = attachMovie("Tunnel", "building" + cloneCount, cloneCount++);
b._x = pos + offset;
b._y = (tunnelMaker._y + tunnelMaker._height) - 300;
b._rotation = 180;
} else {
cloneCount++;
if (holeCounter < holeSize) {
holeCounter++;
} else {
holeCounter = 0;
holeSwitch = false;
holeTimerCounter = holeTimer + random(holeTimerVar);
holeSize = holeMinSize + random(holeSizeVar);
}
}
destroy = cloneCount - 20;
this["building" + destroy].removeMovieClip();
}
stageWidth = 650;
xPos = 0;
cloneOffset = 1;
cloneCount = 0;
var b = 0;
yHeight = this._y;
cloneSpace = random(20) + 50;
loadOffset = _root.terrainLoadOffset;
tunnelY = 0;
tunnelAccel = 1;
tunnelPos = 300;
tunnelMoveSpeed = 1;
holeTimer = _root.holeTimer;
holeTimerVar = _root.holeTimerVar;
holeTimerCounter = _root.holeTimerCounter;
holeMinSize = _root.holeMinSize;
holeSizeVar = _root.holeSizeVar;
holeSize = holeMinSize;
holeCounter = 0;
holesActive = _root.holesVar;
holeSwitch = false;
terrainVar = _root.groundVar;
terrainPos = _root.groundPos;
tunnelMaker._y = terrainPos;
if ((_root.gameMode == "Boss") and (_root.bossSel == 2)) {
while (loadOffset < (stageWidth - 540)) {
cloneBuilding(0, loadOffset);
loadOffset = loadOffset + 40;
}
loadOffset = loadOffset + 190;
while (loadOffset < (stageWidth - 300)) {
cloneBuilding(0, loadOffset);
loadOffset = loadOffset + 40;
}
loadOffset = loadOffset + 190;
while (loadOffset < (stageWidth - 40)) {
cloneBuilding(0, loadOffset);
loadOffset = loadOffset + 40;
}
} else if ((_root.gameMode == "Boss") and (_root.bossSel == 1)) {
while (loadOffset < (stageWidth - 240)) {
cloneBuilding(0, loadOffset);
loadOffset = loadOffset + 40;
}
loadOffset = loadOffset + 80;
while (loadOffset < (stageWidth - 40)) {
cloneBuilding(0, loadOffset);
loadOffset = loadOffset + 40;
}
} else {
while (loadOffset < (stageWidth - 0)) {
cloneBuilding(0, loadOffset);
loadOffset = loadOffset + 40;
}
}
}
onClipEvent (enterFrame) {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
this._x = this._x - Math.round(_root.levelSpeed / 3);
xPos = (-this._x) + 40;
if (xPos > (40 * cloneOffset)) {
cloneBuilding(stageWidth, xPos - 5);
cloneOffset++;
}
tunnelMoveSpeed = _root.levelSpeed / 10;
if (tunnelMaker._y < (tunnelPos - tunnelMoveSpeed)) {
tunnelY = tunnelY + tunnelAccel;
} else if (tunnelMaker._y > (tunnelPos + tunnelMoveSpeed)) {
tunnelY = tunnelY - tunnelAccel;
} else {
tunnelPos = random(terrainVar) + terrainPos;
}
if (tunnelY > tunnelMoveSpeed) {
tunnelY = tunnelMoveSpeed;
} else if (tunnelY < (-tunnelMoveSpeed)) {
tunnelY = -tunnelMoveSpeed;
}
tunnelMaker._y = tunnelMaker._y + tunnelY;
}
}
Instance of Symbol 517 MovieClip "barry" in Symbol 519 MovieClip Frame 1
onClipEvent (load) {
function physics(xPos, power) {
xSpeed = (_x - xPos) / (20 / power);
spin = xSpeed;
drop = (random(power) + (power * 3)) * -1;
if (combo >= 59) {
_root.newMedal(3, 75, 400, "60 COMBO!");
} else if (combo >= 39) {
_root.newMedal(2, 75, 400, "40 COMBO");
} else if (combo >= 19) {
_root.newMedal(1, 75, 400, "20 COMBO");
}
}
function cloneEnemy() {
if ((level == 1) or (level == 2)) {
if (Math.round(random(300) / EBomber) == 0) {
_parent.enemy.newEnemy(random(2), random(300) + 100, "Enemy_Bomber", PlayerNum);
forceCloneTime = 0;
}
}
forceCloneTime++;
if ((Math.round(random(400) / EBomber) == 0) or (forceCloneTime == forceCloneTimeMax)) {
_parent.enemy.newEnemy(random(2), random(150) + 100, "Enemy_Bomber", PlayerNum);
forceCloneTime = 0;
}
if (Math.round(random(450) / EGunner) == 0) {
_parent.enemy.newEnemy(random(550), random(150) + 100, "Enemy_Gunner", PlayerNum);
forceCloneTime = 0;
}
if (Math.round(random(450) / EBouncer) == 0) {
_parent.enemy.newEnemy(random(550), random(150) + 100, "Enemy_Bouncer", PlayerNum);
forceCloneTime = 0;
}
if (Math.round(random(500) / EHomer) == 0) {
_parent.enemy.newEnemy(random(550), random(150) + 100, "Enemy_Homer", PlayerNum);
forceCloneTime = 0;
}
if (Math.round(random(450) / EMiner) == 0) {
_parent.enemy.newEnemy(random(550), random(150) + 100, "Enemy_Miner", PlayerNum);
forceCloneTime = 0;
}
}
_root.twoPlayer = true;
PlayerNum = 1;
upKey = 38;
leftKey = 37;
rightKey = 39;
downKey = 40;
upKey2 = 87;
leftKey2 = 65;
rightKey2 = 68;
downKey2 = 83;
iTimer = 0;
_root.score = 0;
if (_root.gameMode == "Boss") {
_root.levelSpeed = 0;
} else {
_root.levelSpeed = 15;
}
levelLength = 30000;
_root.levelMove = 0;
gameComplete = false;
dead = false;
moveSwitch = false;
airTime = 0;
maxAirTime = 0;
combo = 0;
maxCombo = 0;
leftSide = 50;
rightSide = 550;
_root.gamePaused = false;
_root.gameFroze = false;
xSpeed = 0;
xSpeedMax = 15;
accel = 2;
bodyHeight = body._y;
wheelHeight = wheelF._y;
maxFuel = _root.fuelMax;
fuel = maxFuel;
experience = 0;
expStore = 0;
expPot = 0;
maxExpStore = 0;
nextLevel = 100;
level = 1;
boomMax = 20;
boomBar = 0;
drop = 0;
groundLevel = this._y;
maxHeight = groundLevel;
maxHeightStore = 0;
if (_root.gameMode == "Boss") {
if (_root.bossSel == 1) {
fuel = 1500;
maxFuel = 1500;
} else if (_root.bossSel == 2) {
fuel = 1200;
maxFuel = 1200;
} else if (_root.bossSel == 3) {
fuel = 1300;
maxFuel = 1300;
}
totalEXP = 0;
EBomber = 0;
EGunner = 0;
EBouncer = 0;
EHomer = 0;
EMiner = 0;
nextLevel = 100000 /* 0x0186A0 */;
} else if ((_root.gameMode == "Classic") or (_root.gameMode == "Enhanced")) {
totalEXP = 0;
EBomber = 5;
EGunner = 0;
EBouncer = 0;
EHomer = 0;
EMiner = 0;
this._y = this._y - 200;
} else if (_root.gameMode == "Adventure") {
totalEXP = 0;
EBomber = 5;
EGunner = 5;
EBouncer = 5;
EHomer = 5;
EMiner = 0;
nextLevel = 100000 /* 0x0186A0 */;
this._y = this._y - 200;
}
if (_root.gameMode == "Boss") {
forceCloneTimeMax = 9000000 /* 0x895440 */;
} else {
forceCloneTimeMax = 100;
}
forceCloneTime = 0;
levelEnded = false;
levelWon = false;
pauseSwitch = false;
}
onClipEvent (enterFrame) {
if ((levelEnded == true) and (_root.gameMode == "Adventure")) {
_rotation = (_rotation + 40);
_x = (_x + 10);
}
if ((_root.gameFroze == false) and (dead == false)) {
if ((Key.isDown(32) and (pauseSwitch == false)) or (iTimer > 400)) {
if (iTimer > 400) {
iTimer = 400;
}
if (_root.gamePaused == false) {
_root.gamePaused = true;
} else {
iTimer = 0;
_root.gamePaused = false;
}
pauseSwitch = true;
} else if (Key.isDown(32) == false) {
pauseSwitch = false;
}
}
if ((levelEnded == true) and (dead == false)) {
} else if (dead == true) {
if ((random(3) == 0) and (_visible == false)) {
if (_xscale > 0) {
_xscale = (_xscale - 4);
_parent.effects.explosion("boom3", (deadX + random(10)) - 5, (deadY + random(10)) - 130, 0, 100, random(100) + 50);
_parent.effects.explosion("boom5", (deadX + random(10)) - 5, (deadY + random(10)) - 5, 0, 100, random(100) + 50);
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
deadX = deadX - (_root.levelSpeed / 3);
}
}
if (_visible == true) {
if (_visible == true) {
deadX = this._x;
deadY = this._y;
_parent.effects.explosion("boom5", (deadX + random(10)) - 5, (deadY + random(10)) - 5, 0, 100, 300);
}
_visible = false;
_root.GAME.hud.swapDepths(0);
_root.GAME.hud.removeMovieClip();
}
}
if (((_root.gamePaused == false) and (_root.gameFroze == false)) and (dead == false)) {
iTimer++;
if (boomBar > boomMax) {
boomBar = boomMax;
}
if (levelEnded == false) {
if ((_root.gameMode == "Enhanced") or (_root.gameMode == "Adventure")) {
_root.levelSpeed = (_parent.barry._x / 20) + 1;
}
cloneEnemy();
}
if (gameComplete == false) {
if (fuel > 0) {
fuel = fuel - 0.8;
} else {
dead = true;
}
fuelDisplay = Math.round(fuel);
}
if (expPot > 0) {
experience = experience + Math.round(nextLevel / 60);
expPot = expPot - Math.round(nextLevel / 60);
}
if (gameComplete == false) {
if (experience >= nextLevel) {
experience = 0;
nextLevel = nextLevel * 1.3;
nextLevel = Math.round(nextLevel);
_parent.effects.exp(100, 300, "", "LEVEL UP", 350);
level++;
_root.sound.gotoAndStop("level");
_root.sound.gotoAndStop(1);
_root.gameFroze = true;
}
} else {
nextLevel = "";
}
airTime++;
this._y = this._y + drop;
tankHeight = this._y - groundLevel;
if (tankHeight < maxHeight) {
maxHeight = tankHeight;
}
drop = drop + 2;
if (_parent.terrain.hitTest(_x, _y, true)) {
if (drop < 10) {
if (_parent.terrain.hitTest(_x, _y + 10, true)) {
this._y = this._y - 4;
}
if ((_rotation < 30) and (_rotation > -30)) {
if (_parent.terrain.hitTest(_x + 30, _y, true)) {
this._rotation = this._rotation - 10;
}
if (_parent.terrain.hitTest(_x - 30, _y, true)) {
this._rotation = this._rotation + 10;
}
}
} else {
while (_parent.terrain.hitTest(_x, _y + 10, true)) {
this._y = this._y - 4;
}
}
if (airTime > maxAirTime) {
maxAirTime = airTime;
}
airTime = 0;
if (combo > maxCombo) {
maxCombo = combo;
}
if (combo > 0) {
maxHeight = maxHeight * -1;
maxHeight = maxHeight / 4;
if (Math.round(maxHeight) > maxHeightStore) {
maxHeightStore = Math.round(maxHeight);
}
if (combo > 1) {
expStore = expStore * ((combo / 10) + 1);
expStore = Math.round(expStore);
if (expStore > maxExpStore) {
maxExpStore = expStore;
}
}
dataString = [((((Math.round(maxHeight) + " FT ") + combo) + " COMBO ") + expStore) + " POINTS"];
_root.score = _root.score + expStore;
_parent.effects.exp(this._x, this._y, "", dataString, 150, true);
}
_rotation = (_rotation + spin);
maxHeight = groundLevel;
expPot = expPot + expStore;
totalEXP = totalEXP + expStore;
expStore = 0;
_root.enemiesDestroyed = _root.enemiesDestroyed + combo;
if (_root.enemiesDestroyed >= 2000) {
_root.newMedal(6, 75, 400, "2000 KILLS!");
} else if (_root.enemiesDestroyed >= 1000) {
_root.newMedal(5, 75, 400, "1000 KILLS!");
} else if (_root.enemiesDestroyed >= 250) {
_root.newMedal(4, 75, 400, "250 KILLS");
}
combo = 0;
drop = (-drop) / 1.8;
spin = spin / 1.5;
_rotation = (_rotation / 1.4);
if ((drop > -10) and (drop < 10)) {
resetRotation = true;
drop = 0;
} else {
_parent.effects.explosion("boom3", this._x + 110, this._y + 10, 90, 30, 50);
_parent.effects.explosion("boom3", this._x - 70, this._y + 30, -90, 30, 50);
_root.sound.gotoAndStop("land");
_root.sound.gotoAndStop(1);
}
} else {
_rotation = (_rotation + spin);
resetRotation = false;
}
if (resetRotation == true) {
_rotation = (_rotation / 1.5);
}
body._y = bodyHeight + random(5);
wheelF._y = wheelHeight + random(5);
wheelB._y = wheelHeight + random(5);
wheelF._rotation = wheelF._rotation + ((_root.levelSpeed * 4) + (xSpeed * 2));
wheelB._rotation = wheelB._rotation + ((_root.levelSpeed * 4) + (xSpeed * 2));
if (Key.isDown(rightKey) or Key.isDown(rightKey2)) {
iTimer = 0;
if (body._rotation < 20) {
body._rotation = body._rotation + 2;
}
if (xSpeed < xSpeedMax) {
xSpeed = xSpeed + accel;
} else {
xSpeed = xSpeedMax;
}
} else if (Key.isDown(leftKey) or Key.isDown(leftKey2)) {
iTimer = 0;
if (body._rotation > -20) {
body._rotation = body._rotation - 2;
}
if (xSpeed > (-xSpeedMax)) {
xSpeed = xSpeed - accel;
} else {
xSpeed = -xSpeedMax;
}
}
body._rotation = body._rotation / 1.1;
xSpeed = xSpeed / 1.1;
this._x = this._x + xSpeed;
while (_parent.terrain.hitTest(_x + 30, _y - 30, true)) {
this._x = this._x - 2;
}
while (_parent.terrain.hitTest(_x - 40, _y - 30, true)) {
this._x = this._x + 2;
}
if (levelEnded == false) {
if (this._x > rightSide) {
xSpeed = 0;
this._x = rightSide - 5;
} else if (this._x < leftSide) {
xSpeed = 0;
this._x = leftSide + 5;
}
}
if (_y > 500) {
_parent.effects.spark(this._x, 510, 40, 40, 250, "Effect_spark");
_parent.effects.spark(this._x, 510, 40, 40, 250, "Effect_smoke");
dead = true;
}
}
point = {x:this._x, y:this._y};
localToGlobal(point);
if (fuel > maxFuel) {
fuel = maxFuel;
}
if ((Key.isDown(upKey) or Key.isDown(upKey2)) and (_root.gameMode != "Classic")) {
if (boomBar > (boomMax - 4)) {
_parent.effects.explosion("boom2", this._x - 20, this._y);
_root.sound.gotoAndStop("enemyDestroy");
_root.sound.gotoAndStop(1);
spin = 20 + random(10);
drop = -28;
boomBar = 0;
}
}
}
Instance of Symbol 517 MovieClip "barry" in Symbol 522 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = _root.GAME.barry._rotation;
}
Symbol 529 MovieClip Frame 1
stop();
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = 150;
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = (_root.GAME.barry.boomBar / _root.GAME.barry.boomMax) * 150;
if (this._width > 148) {
_parent.boomFull._visible = true;
} else {
_parent.boomFull._visible = false;
this._alpha = 100;
}
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = 500;
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = (_root.GAME.barry.fuel / _root.GAME.barry.maxFuel) * 500;
if (this._width < 100) {
_parent.lowFuel._visible = true;
_alpha = (-_alpha);
} else {
_parent.lowFuel._visible = false;
_alpha = 100;
signSwitch = false;
}
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = 150;
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
distanceStore = 0;
_root.GAME.barry.levelEnded = false;
}
onClipEvent (enterFrame) {
if ((_root.gamePaused == false) and (_root.gameFroze == false)) {
distanceStore = distanceStore + _root.levelSpeed;
if (this._width > 150) {
_root.GAME.barry.levelEnded = true;
}
this._width = (distanceStore / _root.GAME.barry.levelLength) * 150;
_parent.tankGraph._x = this._x + this._width;
}
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 2
onClipEvent (load) {
this._width = 300;
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 2
onClipEvent (enterFrame) {
this._width = (_root.GAME.barry.experience / _root.GAME.barry.nextLevel) * 300;
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 2
onClipEvent (load) {
this._width = 500;
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 2
onClipEvent (enterFrame) {
this._width = (_root.GAME.barry.fuel / _root.GAME.barry.maxFuel) * 500;
if (this._width < 100) {
if ((random(20) == 0) and (this._width > 1)) {
_parent.lowFuel._visible = true;
}
_alpha = (-_alpha);
} else {
_parent.lowFuel._visible = false;
_alpha = 100;
signSwitch = false;
}
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 3
onClipEvent (load) {
this._width = 250;
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 3
onClipEvent (enterFrame) {
this._width = (_root.GAME.barry.fuel / _root.GAME.barry.maxFuel) * 250;
if (this._width < 100) {
_parent.lowFuel._visible = true;
_alpha = (-_alpha);
} else {
_parent.lowFuel._visible = false;
_alpha = 100;
signSwitch = false;
}
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 3
onClipEvent (enterFrame) {
this._width = 150;
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 3
onClipEvent (enterFrame) {
this._width = (_root.GAME.barry.boomBar / _root.GAME.barry.boomMax) * 150;
if (this._width > 148) {
_parent.boomFull._visible = true;
} else {
_parent.boomFull._visible = false;
this._alpha = 100;
}
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 10
onClipEvent (enterFrame) {
this._width = (_root.GAME.barry.boomBar / _root.GAME.barry.boomMax) * 150;
if (this._width > 148) {
_parent.boomFull._visible = true;
} else {
_parent.boomFull._visible = false;
this._alpha = 100;
}
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 11
onClipEvent (load) {
this._width = 250;
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 11
onClipEvent (enterFrame) {
this._width = (_root.GAME.barry.fuel / _root.GAME.barry.maxFuel) * 250;
if (this._width < 100) {
_parent.lowFuel._visible = true;
_alpha = (-_alpha);
} else {
_parent.lowFuel._visible = false;
_alpha = 100;
signSwitch = false;
}
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 11
onClipEvent (load) {
this._width = 250;
}
Instance of Symbol 505 MovieClip in Symbol 563 MovieClip Frame 11
onClipEvent (enterFrame) {
this._width = (_root.GAME.BOSS.health / 5) * 250;
}
Symbol 582 Button
on (release) {
if (((_root.GAME.barry.totalEXP - cost) >= -1) and (_root.GAME.barry.EBomber < 10)) {
_root.GAME.barry.totalEXP = _root.GAME.barry.totalEXP - cost;
_root.GAME.barry.EBomber++;
_parent.enemyCounter++;
_parent.newMessage("BOMBER FREQUENCY INCREASED");
} else if (_root.GAME.barry.EBomber >= 10) {
_parent.newMessage("BOMBER FREQUENCY MAXED OUT");
} else if ((_root.GAME.barry.totalEXP - cost) < -1) {
_parent.newMessage("NOT ENOUGH EXP");
}
}
Symbol 583 Button
on (release) {
_parent.nameBox = "Bomber";
_parent.weaponBox = "Bomb";
_parent.infoBox = "Standard enemy drops bombs as it passes over the IndestructoTank";
}
Symbol 589 Button
on (release) {
_parent.nameBox = "Bouncer";
_parent.weaponBox = "Bouncing Bomb";
_parent.infoBox = "The bomb dropped by this enemy bounces once, giving greater opportunity to link combos.";
}
Symbol 590 Button
on (release) {
if (((_root.GAME.barry.totalEXP - cost) >= -1) and (_root.GAME.barry.EBouncer < 10)) {
_root.GAME.barry.totalEXP = _root.GAME.barry.totalEXP - cost;
_root.GAME.barry.EBouncer++;
_parent.enemyCounter++;
_parent.newMessage("BOUNCER FREQUENCY INCREASED");
} else if (_root.GAME.barry.EBouncer >= 10) {
_parent.newMessage("BOUNCER FREQUENCY MAXED OUT");
} else if ((_root.GAME.barry.totalEXP - cost) < -1) {
_parent.newMessage("NOT ENOUGH EXP");
}
}
Symbol 593 Button
on (release) {
_parent.nameBox = "GUNNER";
_parent.weaponBox = "Strutch Bomb";
_parent.infoBox = "Bomb launched will target the IndestructoTank for a short time, creating a much greater chance of being hit.";
}
Symbol 594 Button
on (release) {
if (((_root.GAME.barry.totalEXP - cost) >= -1) and (_root.GAME.barry.EGunner < 10)) {
_root.GAME.barry.totalEXP = _root.GAME.barry.totalEXP - cost;
_root.GAME.barry.EGunner++;
_parent.enemyCounter++;
_parent.newMessage("GUNNER FREQUENCY INCREASED");
} else if (_root.GAME.barry.EGunner >= 10) {
_parent.newMessage("GUNNER FREQUENCY MAXED OUT");
} else if ((_root.GAME.barry.totalEXP - cost) < -1) {
_parent.newMessage("NOT ENOUGH EXP");
}
}
Symbol 597 Button
on (release) {
_parent.nameBox = "Homer";
_parent.weaponBox = "Seeker Bomb";
_parent.infoBox = "Bomb launched will always hit the IndestructoTank, providing a minimal boost. Is this a blessing or a curse?";
}
Symbol 598 Button
on (release) {
if (((_root.GAME.barry.totalEXP - cost) >= -1) and (_root.GAME.barry.EHomer < 10)) {
_root.GAME.barry.totalEXP = _root.GAME.barry.totalEXP - cost;
_root.GAME.barry.EHomer++;
_parent.enemyCounter++;
_parent.newMessage("SEEKER FREQUENCY INCREASED");
} else if (_root.GAME.barry.EHomer >= 10) {
_parent.newMessage("SEEKER FREQUENCY MAXED OUT");
} else if ((_root.GAME.barry.totalEXP - cost) < -1) {
_parent.newMessage("NOT ENOUGH EXP");
}
}
Symbol 601 Button
on (release) {
_parent.nameBox = "Miner";
_parent.weaponBox = "None";
_parent.infoBox = "This explosive truck travels along the ground, providing a great way to extend combos";
}
Symbol 602 Button
on (release) {
if (((_root.GAME.barry.totalEXP - cost) >= -1) and (_root.GAME.barry.EMiner < 10)) {
_root.GAME.barry.totalEXP = _root.GAME.barry.totalEXP - cost;
_root.GAME.barry.EMiner++;
_parent.enemyCounter++;
_parent.newMessage("MINER FREQUENCY INCREASED");
} else if (_root.GAME.barry.EMiner >= 10) {
_parent.newMessage("MINER FREQUENCY MAXED OUT");
} else if ((_root.GAME.barry.totalEXP - cost) < -1) {
_parent.newMessage("NOT ENOUGH EXP");
}
}
Symbol 605 MovieClip Frame 1
cost = 100;
stop();
Symbol 607 Button
on (release) {
_root.gameFroze = false;
}
Symbol 613 Button
on (release) {
_root.gameFroze = false;
}
Symbol 624 MovieClip Frame 1
function onEnterFrame() {
if (_root.GAME.barry.iTimer == 400) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 632 MovieClip Frame 1
function onEnterFrame() {
if ((_root.gameFroze == true) and (_root.gamePaused == true)) {
_root.gamePaused = false;
}
if ((((_root.gameFroze == true) or (_root.gamePaused == true)) or (_root.GAME.barry.dead == true)) or (_root.GAME.barry.levelEnded == true)) {
if (_root.GAME.barry.levelEnded == true) {
_root.gameFroze = true;
this.gotoAndStop("complete");
} else if (_root.GAME.barry.dead == true) {
this.gotoAndStop("dead");
} else {
if (_root.gamePaused == true) {
this.gotoAndStop(pauseScreen);
} else if (endGame != true) {
this.gotoAndStop("shop");
}
if (_root.gameFroze == true) {
if (enemyCounter == 50) {
this.gotoAndStop("won");
}
if (messageBox._alpha > 0) {
if (messageBox._xscale > 100) {
messageBox._xscale = messageBox._xscale - 1;
messageBox._yscale = messageBox._yscale - 1;
}
messageBox._alpha = messageBox._alpha - 5;
}
totalEXP = _root.GAME.barry.totalEXP + 1;
_root.GAME.barry.fuel = _root.GAME.barry.maxFuel;
bombBox.cost = 10 * _root.GAME.barry.EBomber;
bombBox.level = _root.GAME.barry.EBomber;
bouncerBox.cost = 20 * (_root.GAME.barry.EBouncer + 1);
bouncerBox.level = _root.GAME.barry.EBouncer;
gunnerBox.cost = 30 * (_root.GAME.barry.EGunner + 1);
gunnerBox.level = _root.GAME.barry.EGunner;
homerBox.cost = 40 * (_root.GAME.barry.EHomer + 1);
homerBox.level = _root.GAME.barry.EHomer;
minerBox.cost = 50 * (_root.GAME.barry.EMiner + 1);
minerBox.level = _root.GAME.barry.EMiner;
}
}
this._x = xStore;
if (((_root.GAME.barry.dead == true) or (_root.GAME.barry.levelEnded == true)) and (deadTimer > 0)) {
deadTimer--;
} else if (this._alpha < 100) {
if ((_root.GAME.barry.levelEnded == true) or (_root.GAME.barry.dead == true)) {
_root.gameFroze = true;
}
this._alpha = this._alpha + 10;
}
} else if (this._alpha > 0) {
this._alpha = this._alpha - 10;
pauseScreen = "pause";
} else {
this._x = -1000;
}
if (endGame == true) {
_root.GAME.barry.fuel = 1000;
_root.GAME.barry.nextLevel = 999999 /* 0x0F423F */;
_root.HUD.gotoAndStop("Unlimited");
}
}
function newMessage(data1) {
messageBox.data1 = data1;
messageBox._alpha = 300;
messageBox._xscale = 110;
messageBox._yscale = 110;
}
xStore = this._x;
stop();
this._x = this._x - 1000;
bombBox.gotoAndStop(1);
bouncerBox.gotoAndStop(2);
gunnerBox.gotoAndStop(3);
homerBox.gotoAndStop(4);
minerBox.gotoAndStop(5);
if (enemyCounter == undefined) {
enemyCounter = 5;
}
deadTimer = 30;
Symbol 632 MovieClip Frame 2
if (_root.gameMode == "Classic") {
if (_root.fuelMax == 2100) {
_root.newMedal(7, 75, 400, "CLASSIC MODE EASY");
} else if (_root.fuelMax == 1700) {
_root.newMedal(8, 75, 400, "CLASSIC MODE MEDIUM");
} else if (_root.fuelMax == 1300) {
_root.newMedal(9, 75, 400, "CLASSIC MODE HARD");
}
}
if (_root.gameMode == "Enhanced") {
if (_root.fuelMax == 2100) {
_root.newMedal(10, 75, 400, "ENHANCED MODE EASY");
} else if (_root.fuelMax == 1700) {
_root.newMedal(11, 75, 400, "ENHANCED MODE MEDIUM");
} else if (_root.fuelMax == 1300) {
_root.newMedal(12, 75, 400, "ENHANCED MODE HARD");
}
}
endGame = true;
Instance of Symbol 391 MovieClip in Symbol 632 MovieClip Frame 3
on (release) {
_parent.pauseScreen = "quit";
}
Instance of Symbol 391 MovieClip in Symbol 632 MovieClip Frame 3
on (release) {
if (_root.musicState == "ON") {
_root.MUSICBOX.gotoAndPlay(2);
_root.musicState = "OFF";
} else {
stopAllSounds();
_root.musicState = "ON";
}
}
Instance of Symbol 391 MovieClip in Symbol 632 MovieClip Frame 3
on (release) {
_root._quality = "low";
}
Instance of Symbol 391 MovieClip in Symbol 632 MovieClip Frame 3
on (release) {
if (_root.musicState == "ON") {
_root.MUSICBOX.gotoAndStop(2);
_root.musicState = "OFF";
} else {
stopAllSounds();
_root.musicState = "ON";
}
}
Instance of Symbol 391 MovieClip in Symbol 632 MovieClip Frame 3
on (release) {
_root._quality = "high";
}
Instance of Symbol 391 MovieClip in Symbol 632 MovieClip Frame 3
on (release) {
_root._quality = "medium";
}
Instance of Symbol 391 MovieClip in Symbol 632 MovieClip Frame 4
on (release) {
stopAllSounds();
_root.levelID = null;
_root.saveAllData();
if ((_root.gameMode == "Boss") or (_root.gameMode == "Adventure")) {
_root.gotoAndStop("adventure");
} else {
_root.gotoAndPlay("titleLoader");
}
}
Instance of Symbol 391 MovieClip in Symbol 632 MovieClip Frame 4
on (release) {
_parent.pauseScreen = "pause";
}
Symbol 632 MovieClip Frame 5
Instance of Symbol 391 MovieClip in Symbol 632 MovieClip Frame 5
on (release) {
stopAllSounds();
_root.levelID = null;
_root.saveAllData();
if ((_root.gameMode == "Boss") or (_root.gameMode == "Adventure")) {
_root.gotoAndPlay("Adventure");
} else {
_root.gotoAndPlay("titleLoader");
}
}
Instance of Symbol 391 MovieClip in Symbol 632 MovieClip Frame 6
on (release) {
stopAllSounds();
_root.saveAllData();
if ((_root.gameMode == "Boss") or (_root.gameMode == "Adventure")) {
_root.gotoAndPlay("Adventure");
} else {
_root.gotoAndPlay("titleLoader");
}
}
Symbol 636 MovieClip Frame 2
if (_root.gameMode == "Boss") {
this.gotoAndPlay(9);
}
Symbol 636 MovieClip Frame 5
gotoAndStop (1);
Symbol 636 MovieClip Frame 10
stop();
Symbol 637 MovieClip Frame 1
_alpha = 0;
Symbol 698 MovieClip Frame 1
function onEnterFrame() {
gotoAndStop(random(3) + 1);
_rotation = (_rotation + (random(4) - 1.5));
if (this._y < 70) {
this._y = this._y + 5;
} else {
this._y = -70;
_rotation = 0;
}
}
Symbol 701 MovieClip Frame 1
function onEnterFrame() {
_yscale = (_yscale + (random(20) - 10));
if (_yscale < 0) {
_yscale = 0;
} else if (_yscale > 100) {
_yscale = 100;
}
}
Symbol 720 MovieClip Frame 1
function onEnterFrame() {
if (pressActive == true) {
this._x = _parent._xmouse;
}
if (this._x > (origPos + 40)) {
this._x = origPos + 40;
} else if (this._x < (origPos - 20)) {
this._x = origPos - 20;
}
signalDistortion = _x - origPos;
if (signalDistortion < 0) {
signalDistortion = signalDistortion * -1;
}
_parent.guestScreen.signalStatic._alpha = _root.guestStatic + (signalDistortion * 4);
if (_parent.guestScreen.signalStatic._alpha < 20) {
_parent.guestScreen.signalStatic._alpha = 20;
}
_parent.signalBar.gotoAndStop(Math.round(21 - signalDistortion));
}
function onPress() {
pressActive = true;
}
function onMouseUp() {
pressActive = false;
}
origPos = this._x;
_parent.guestScreen.signalStatic._alpha = 20;
_parent.dirkScreen.signalStatic._alpha = 20;
Symbol 725 MovieClip Frame 1
function onEnterFrame() {
if (Key.isDown(90)) {
if (lens._xscale < 100) {
lens._xscale = lens._xscale + 5;
lens._yscale = lens._yscale + 5;
lens._rotation = lens._rotation + 20;
_parent.dirkScreen.charWindow._xscale = _parent.dirkScreen.charWindow._xscale + 2;
_parent.dirkScreen.charWindow._yscale = _parent.dirkScreen.charWindow._yscale + 2;
}
} else if (Key.isDown(88)) {
if (lens._xscale > 60) {
lens._xscale = lens._xscale - 5;
lens._yscale = lens._yscale - 5;
lens._rotation = lens._rotation - 20;
_parent.dirkScreen.charWindow._xscale = _parent.dirkScreen.charWindow._xscale - 2;
_parent.dirkScreen.charWindow._yscale = _parent.dirkScreen.charWindow._yscale - 2;
}
}
if (Key.isDown(65)) {
if (lens._x > (lensXPos - 8)) {
lens._x = lens._x - 1;
_parent.dirkScreen.charWindow._x = _parent.dirkScreen.charWindow._x + 4;
}
} else if (Key.isDown(68)) {
if (lens._x < (lensXPos + 8)) {
lens._x = lens._x + 1;
_parent.dirkScreen.charWindow._x = _parent.dirkScreen.charWindow._x - 4;
}
}
if (Key.isDown(87)) {
if (lens._y > (lensYPos - 8)) {
lens._y = lens._y - 1;
_parent.dirkScreen.charWindow._y = _parent.dirkScreen.charWindow._y + 4;
}
} else if (Key.isDown(83)) {
if (lens._y < (lensYPos + 8)) {
lens._y = lens._y + 1;
_parent.dirkScreen.charWindow._y = _parent.dirkScreen.charWindow._y - 4;
}
}
}
lensXPos = lens._x;
lensYPos = lens._y;
Symbol 729 MovieClip Frame 2
_root.codecText = "";
Symbol 729 MovieClip Frame 42
_root.codecText = "Well, look what the IndestructoTank dragged in...";
Symbol 729 MovieClip Frame 109
_root.codecText = "Oh no...";
Symbol 729 MovieClip Frame 148
_root.codecText = "Hello again, Selma.";
Symbol 729 MovieClip Frame 187
_root.codecText = "Why, Dirk, you don't sound happy to see me...";
Symbol 729 MovieClip Frame 257
_root.codecText = "Well the last time we met you did try to strangle me...";
Symbol 729 MovieClip Frame 328
_root.codecText = "I didn't hear you complaining at the time...";
Symbol 729 MovieClip Frame 382
_root.codecText = "That's enough, Selma! Where's the President!?";
Symbol 729 MovieClip Frame 442
_root.codecText = "You want him? Come get him, Dirk my sweet.";
Symbol 729 MovieClip Frame 535
_parent.door1.timer = 1000;
_parent.door2.timer = 1000;
_parent.continueTimer = 100;
Symbol 729 MovieClip Frame 570
stop();
Symbol 729 MovieClip Frame 576
_root.codecText = "*cough* *cough*";
Symbol 729 MovieClip Frame 643
_root.codecText = "Looks like this may be the last time we meet, Dirk... *groan*";
Symbol 729 MovieClip Frame 765
_root.codecText = "Shame it had to be in such poor circumstances...";
Symbol 729 MovieClip Frame 868
_root.codecText = "You know...";
Symbol 729 MovieClip Frame 892
_root.codecText = "Soldiers like us...";
Symbol 729 MovieClip Frame 944
_root.codecText = "Our alliances are with those with the *cough* biggest wallet...";
Symbol 729 MovieClip Frame 1078
_root.codecText = "It's the world we live in.";
Symbol 729 MovieClip Frame 1163
_root.codecText = "You will always mean more to me...";
Symbol 729 MovieClip Frame 1203
_root.codecText = "*cough* *groan*";
Symbol 729 MovieClip Frame 1228
_root.codecText = "Than money or power ever could...";
Symbol 729 MovieClip Frame 1310
_root.codecText = "*sigh*";
Symbol 729 MovieClip Frame 1359
_root.codecText = "Thankyou...";
Symbol 729 MovieClip Frame 1390
_root.codecText = "For giving me a...";
Symbol 729 MovieClip Frame 1436
_root.codecText = "...Warrior's death... ";
Symbol 729 MovieClip Frame 1464
function onEnterFrame() {
if (_root.guestStatic < 100) {
_root.guestStatic = _root.guestStatic + 5;
}
}
Symbol 729 MovieClip Frame 1561
_root.codecText = "At ease...";
Symbol 729 MovieClip Frame 1596
_root.codecText = "Soldier...";
Symbol 729 MovieClip Frame 1630
_root.codecText = "";
Symbol 729 MovieClip Frame 1719
_parent.door1.timer = 1000;
_parent.door2.timer = 1000;
_parent.continueTimer = 100;
Symbol 729 MovieClip Frame 2066
stop();
Symbol 729 MovieClip Frame 2087
_root.codecText = "Hmph. You think you have won!?";
Symbol 729 MovieClip Frame 2150
_root.codecText = "Did you ever believe I wouldn't win?";
Symbol 729 MovieClip Frame 2216
_root.codecText = "Win?";
Symbol 729 MovieClip Frame 2235
_root.codecText = "All you have won is a lifetime of following orders.";
Symbol 729 MovieClip Frame 2332
_root.codecText = "Now tell me Mr Danger...";
Symbol 729 MovieClip Frame 2385
_root.codecText = "Do your medals silence the cries of the men you have killed?";
Symbol 729 MovieClip Frame 2482
_root.codecText = "If it's good enough for my late Father, it's good enough for me.";
Symbol 729 MovieClip Frame 2569
_root.codecText = "He was happy to serve his government.";
Symbol 729 MovieClip Frame 2625
_root.codecText = "You have...never met your father...";
Symbol 729 MovieClip Frame 2687
_root.codecText = "...have you, Dirk?";
Symbol 729 MovieClip Frame 2717
_root.codecText = "...";
Symbol 729 MovieClip Frame 2744
_root.codecText = "He was a good man before you killed him!";
Symbol 729 MovieClip Frame 2800
_root.codecText = "Killed your father, Mr. Danger?";
Symbol 729 MovieClip Frame 2877
_root.codecText = "Impossible!";
Symbol 729 MovieClip Frame 2915
_root.codecText = "For...";
Symbol 729 MovieClip Frame 2928
_root.codecText = "I am he!";
Symbol 729 MovieClip Frame 2965
_root.codecText = "What are you talking about!?";
Symbol 729 MovieClip Frame 3001
_root.codecText = "And now I must flee!";
Symbol 729 MovieClip Frame 3043
_root.codecText = "Until next time, Mr. Danger...";
Symbol 729 MovieClip Frame 3095
_root.codecText = "Good luck in following the orders of liars and thieves";
Symbol 729 MovieClip Frame 3174
_root.codecText = "in expensive suits...";
Symbol 729 MovieClip Frame 3201
function onEnterFrame() {
if (_root.guestStatic < 100) {
_root.guestStatic = _root.guestStatic + 5;
}
}
Symbol 729 MovieClip Frame 3234
_root.codecText = "Darn it!";
Symbol 729 MovieClip Frame 3263
_root.codecText = "Was...what he said true?";
Symbol 729 MovieClip Frame 3314
_parent.door1.timer = 1000;
_parent.door2.timer = 1000;
_parent.continueTimer = 100;
Symbol 729 MovieClip Frame 3355
_root.codecText = "";
stop();
Symbol 729 MovieClip Frame 3376
_root.codecText = "This is Dirk Danger, reporting in, Ma'am.";
Symbol 729 MovieClip Frame 3457
_root.codecText = "Welcome to the team, Dirk, we have a top priority mission for you.";
Symbol 729 MovieClip Frame 3526
_root.codecText = "I'm ready for anything...";
Symbol 729 MovieClip Frame 3567
_root.codecText = "The enemy's Rock Crusher has kidnapped the President!";
Symbol 729 MovieClip Frame 3625
_root.codecText = "We need you to bring him back in one piece...";
Symbol 729 MovieClip Frame 3678
_root.codecText = "I'm on it, Chief.";
Symbol 729 MovieClip Frame 3727
_parent.door1.timer = 1000;
_parent.door2.timer = 1000;
_parent.continueTimer = 80;
Symbol 729 MovieClip Frame 3754
stop();
Symbol 729 MovieClip Frame 3777
_root.codecText = "Brilliant work again, Dirk!";
Symbol 729 MovieClip Frame 3810
_root.codecText = "I must say, I'd love to meet you outside of work som";
Symbol 729 MovieClip Frame 3859
_root.codecText = "[S I G N A L L O S T]";
Symbol 729 MovieClip Frame 3861
_root.guestStatic = 50;
Symbol 729 MovieClip Frame 3862
_root.guestStatic = 0;
Symbol 729 MovieClip Frame 3864
_root.guestStatic = 25;
Symbol 729 MovieClip Frame 3866
_root.guestStatic = 100;
Symbol 729 MovieClip Frame 3868
_root.guestStatic = 50;
Symbol 729 MovieClip Frame 3870
_root.guestStatic = 100;
Symbol 729 MovieClip Frame 3907
_root.codecText = "Chief? Chief! What the heck happened!?";
Symbol 729 MovieClip Frame 3979
function onEnterFrame() {
if (_root.guestStatic > 0) {
_root.guestStatic = _root.guestStatic - 10;
}
}
_parent.guestScreen.charWindow.gotoAndStop("BETTON");
_root.codecText = "Ha ha ha ha ha ha";
Symbol 729 MovieClip Frame 4039
_root.codecText = "Who the FUZZ are you!?";
Symbol 729 MovieClip Frame 4080
_root.codecText = "General Christopher Betton.";
Symbol 729 MovieClip Frame 4133
_root.codecText = "Pleased to meet you, Mr. Danger.";
Symbol 729 MovieClip Frame 4190
_root.codecText = "What the!? Where's The Chief!?";
Symbol 729 MovieClip Frame 4248
_root.codecText = "You have done a fine job, Mr. Danger...";
Symbol 729 MovieClip Frame 4314
_root.codecText = "Leading that marvellous invention of yours";
Symbol 729 MovieClip Frame 4378
_root.codecText = "straight into our hands!";
Symbol 729 MovieClip Frame 4429
_root.codecText = "Now hand it over...";
Symbol 729 MovieClip Frame 4464
_root.codecText = "Or the girl dies!";
Symbol 729 MovieClip Frame 4509
_root.codecText = "Is it really worth killing all these people - just for my tank?";
Symbol 729 MovieClip Frame 4599
_root.codecText = "What is your Tank, Mr. Danger?";
Symbol 729 MovieClip Frame 4659
_root.codecText = "A miserable little pile of Indestructibility!";
Symbol 729 MovieClip Frame 4734
_root.codecText = "But enough talk!";
Symbol 729 MovieClip Frame 4762
_root.codecText = "Have at you!";
Symbol 729 MovieClip Frame 4776
function onEnterFrame() {
if (_root.guestStatic < 100) {
_root.guestStatic = _root.guestStatic + 20;
}
}
_parent.guestScreen.charWindow.gotoAndStop("BETTON");
Symbol 729 MovieClip Frame 4794
_root.codecText = "Chief...be ok...";
Symbol 729 MovieClip Frame 4859
_parent.door1.timer = 1000;
_parent.door2.timer = 1000;
_parent.continueTimer = 100;
stop();
Symbol 729 MovieClip Frame 4864
_root.codecText = "";
Symbol 729 MovieClip Frame 4886
_root.codecText = "Impressive, Dirk!";
Symbol 729 MovieClip Frame 4908
_root.codecText = "Watching you is quite a thrill!";
Symbol 729 MovieClip Frame 4951
_root.codecText = "Maybe you should come for a ride, sometime...";
Symbol 729 MovieClip Frame 5002
_root.codecText = "I think I'll leave all that bouncing to you...";
Symbol 729 MovieClip Frame 5049
_root.codecText = "Well if you change your mind,";
Symbol 729 MovieClip Frame 5084
_root.codecText = "I'm ready to bounce anytime...";
Symbol 729 MovieClip Frame 5134
_root.codecText = "Keep your mind on the mission, Dirk";
Symbol 729 MovieClip Frame 5171
_root.codecText = "You have to infiltrate those enemy mountains...";
Symbol 729 MovieClip Frame 5227
_root.codecText = "You forget - I'm Indestructible, Baby!";
Symbol 729 MovieClip Frame 5288
_root.codecText = "You're not if you're stuck down a hole, Dirk.";
Symbol 729 MovieClip Frame 5336
_root.codecText = "Time your jumps well!";
Symbol 729 MovieClip Frame 5368
_root.codecText = "Will do, Chief. Glad to know you care.";
Symbol 729 MovieClip Frame 5462
_parent.door1.timer = 1000;
_parent.door2.timer = 1000;
_parent.continueTimer = 60;
_root.codecText = "";
stop();
Symbol 729 MovieClip Frame 5500
_root.codecText = "Well well well...";
Symbol 729 MovieClip Frame 5528
_root.codecText = "If it isn't DORK DANGER!!11!";
Symbol 729 MovieClip Frame 5586
_root.codecText = "...";
Symbol 729 MovieClip Frame 5610
_root.codecText = "...Another one of you freaks...";
Symbol 729 MovieClip Frame 5654
_root.codecText = "Oh, D1rk, ur surely just j3alous";
Symbol 729 MovieClip Frame 5702
_root.codecText = "0f my AW3S0M3 Intell3ct.";
Symbol 729 MovieClip Frame 5747
_root.codecText = "My name is WH1ZK1D!!!111";
Symbol 729 MovieClip Frame 5779
_root.codecText = "And I'm 1337!!!!!1111WTFBBQ!!";
Symbol 729 MovieClip Frame 5825
_root.codecText = "Yeah...sure...";
Symbol 729 MovieClip Frame 5862
_root.codecText = "Hey, how come my signals been jammed!?";
Symbol 729 MovieClip Frame 5916
_root.codecText = "Heh...";
Symbol 729 MovieClip Frame 5929
_root.codecText = "I acc3ssed the Fr3qu3ncy B.A.L.M.O.R.I.F.I.C.A.T.I.O.N.";
Symbol 729 MovieClip Frame 5977
_root.codecText = "Amplifi3r and pev3nted you fr0m r3porting back 2 base!";
Symbol 729 MovieClip Frame 6054
_root.codecText = "Simpl3 really for a PRO l1ke M3!!!1";
Symbol 729 MovieClip Frame 6124
_root.codecText = "WhizKid...";
Symbol 729 MovieClip Frame 6151
_root.codecText = "...are you a Hacker?";
Symbol 729 MovieClip Frame 6188
_root.codecText = "U haven't h3ard of ME!??!";
Symbol 729 MovieClip Frame 6223
_root.codecText = "HA!!!!111";
Symbol 729 MovieClip Frame 6237
_root.codecText = "Ur t4lking to none 0ther than";
Symbol 729 MovieClip Frame 6262
_root.codecText = "the leader of the 1337 H4xxing squad OTAKU MAG...";
Symbol 729 MovieClip Frame 6325
_root.codecText = "*KNOCK KNOCK KNOCK*";
Symbol 729 MovieClip Frame 6338
_root.codecText = "James!?";
Symbol 729 MovieClip Frame 6354
_root.codecText = "James Hardman!";
Symbol 729 MovieClip Frame 6382
_root.codecText = "You get down here and clean up your mess this instant!";
Symbol 729 MovieClip Frame 6448
_root.codecText = "MOM!!!";
Symbol 729 MovieClip Frame 6470
_root.codecText = "Can't you hear I'm busy?";
Symbol 729 MovieClip Frame 6511
_root.codecText = "Agh!";
Symbol 729 MovieClip Frame 6528
_root.codecText = "W3ll anyway, DORK!";
Symbol 729 MovieClip Frame 6558
_root.codecText = "Get r3ady to meet my ULT1M4T3 Weapon!!!!111";
Symbol 729 MovieClip Frame 6632
_root.codecText = "Right...";
Symbol 729 MovieClip Frame 6720
_parent.door1.timer = 1000;
_parent.door2.timer = 1000;
_parent.continueTimer = 60;
_root.codecText = "";
stop();
Symbol 729 MovieClip Frame 6747
_root.codecText = "OMG";
Symbol 729 MovieClip Frame 6769
_root.codecText = "Ur such a L4mer";
Symbol 729 MovieClip Frame 6798
_root.codecText = "Thinkin ur 50 Hardc0r3";
Symbol 729 MovieClip Frame 6828
_root.codecText = "Well I gotta tell joo D0RK";
Symbol 729 MovieClip Frame 6863
_root.codecText = "Ur nuthin but a";
Symbol 729 MovieClip Frame 6887
_root.codecText = "Indestructo NOOB";
Symbol 729 MovieClip Frame 6911
_root.codecText = "HA!";
Symbol 729 MovieClip Frame 6924
_root.codecText = "Just wait till my buddies on NU-GROUNDS";
Symbol 729 MovieClip Frame 6959
_root.codecText = "H34r about this!";
Symbol 729 MovieClip Frame 6981
_root.codecText = "U'll B the next NUMA NUMA for sure!";
Symbol 729 MovieClip Frame 7049
_root.codecText = "...Right...";
Symbol 729 MovieClip Frame 7077
_root.codecText = "..I'm gonna go now...";
Symbol 729 MovieClip Frame 7141
_parent.door1.timer = 1000;
_parent.door2.timer = 1000;
_parent.continueTimer = 50;
_root.codecText = "";
stop();
Symbol 733 MovieClip Frame 1
function onEnterFrame() {
if (timer > 0) {
timer--;
this._y = this._y + ((yPos - _y) / 4);
} else {
this._y = this._y + ((yDest - _y) / 4);
}
}
timer = 10;
yPos = this._y;
Symbol 737 MovieClip Frame 1
function onEnterFrame() {
if (continueTimer > 0) {
continueTimer--;
if (continueTimer == 1) {
_root.gotoAndStop("adventure");
}
}
dirkScreen.charWindow.character.head.mouth.gotoAndStop(Math.round(speechArrayDirk[speechCounter] * codecArray[5]));
guestScreen.charWindow.character.head.mouth.gotoAndStop(Math.round(speechArrayGuest[speechCounter] * codecArray[5]));
guestScreen.soundBar._yscale = speechArrayGuest[speechCounter] / 2;
dirkScreen.soundBar._yscale = speechArrayDirk[speechCounter] / 2;
if (textArrayTimer == textArrayPosistion[textArrayCounter]) {
textArrayCounter++;
}
textBox = _root.codecText;
textArrayTimer++;
speechCounter++;
dirkScreen.charWindow.character.head._rotation = dirkScreen.charWindow.character.head._rotation + (dirkHeadRotate / 5);
guestScreen.charWindow.character.head._rotation = guestScreen.charWindow.character.head._rotation + ((-dirkHeadRotate) / 3.5);
if (dirkHeadRotate > _root.headTilt) {
dirkHeadRotateSpeed = -0.01 * (random(3) + 1);
} else if (dirkHeadRotate < (-_root.headTilt)) {
dirkHeadRotateSpeed = 0.01 * (random(3) + 1);
}
dirkHeadRotate = dirkHeadRotate + dirkHeadRotateSpeed;
}
SELMA_INTRO_DIRK = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 63, 63, 51, 40, 34, 24, 23, 12, 13, 11, 6, 5, 4, 3, 3, 7, 13, 21, 28, 25, 27, 20, 23, 18, 8, 8, 8, 7, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 28, 71, 100, 113, 113, 80, 66, 7, 113, 114, 73, 33, 34, 12, 8, 13, 25, 22, 24, 42, 27, 30, 26, 10, 29, 29, 30, 35, 25, 3, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 26, 34, 68, 84, 68, 43, 20, 28, 52, 38, 26, 18, 10, 22, 44, 14, 14, 16, 10, 8, 36, 40, 24, 4, 32, 36, 26, 16, 23, 26, 20, 8, 26, 37, 44, 38, 14, 44, 75, 54, 28, 6, 18, 40, 58, 56, 50, 17, 26, 14, 16, 8, 18, 22, 24, 12, 10, 8, 2, 2, 2, 2, 2, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 6, 42, 76, 112, 90, 70, 51, 11, 36, 26, 48, 40, 38, 25, 20, 9, 1, 23, 13, 2, 1, 2, 3, 22, 41, 71, 75, 90, 110, 64, 30, 8, 26, 20, 38, 50, 41, 34, 11, 15, 33, 42, 38, 27, 22, 12, 22, 12, 10, 11, 9, 11, 17, 12, 12, 14, 21, 19, 14, 11, 10, 9, 6, 1, 1, 1, 1, 1, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 1, 2, 2, 3, 3, 2, 2, 90, 101, 93, 63, 42, 36, 30, 15, 9, 10, 14, 26, 26, 25, 15, 19, 17, 7, 17, 14, 4, 4, 6, 20, 20, 11, 14, 12, 6, 10, 12, 9, 15, 14, 12, 12, 18, 18, 13, 10, 7, 4, 4, 4, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 6, 8, 19, 32, 62, 86, 113, 109, 65, 27, 20, 8, 2, 2, 1, 1, 2, 1, 1, 9, 7, 12, 78, 83, 62, 21, 12, 56, 89, 58, 39, 20, 12, 2, 2, 2, 1, 1, 1, 1, 1, 1, 30, 58, 25, 13, 6, 2, 12, 5, 3, 5, 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, 95, 94, 84, 62, 55, 100, 73, 53, 31, 34, 27, 27, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 25, 58, 71, 89, 55, 57, 20, 41, 50, 44, 24, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
SELMA_OUTRO_SELMA = new Array(1, 0, 0, 37, 75, 101, 57, 9, 7, 10, 87, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 150, 150, 90, 33, 16, 19, 19, 10, 5, 5, 3, 2, 6, 4, 3, 3, 3, 5, 1, 1, 2, 5, 5, 3, 2, 1, 2, 3, 2, 2, 2, 1, 1, 2, 5, 4, 4, 4, 4, 4, 2, 1, 1, 5, 2, 0, 0, 0, 0, 1, 7, 31, 59, 78, 68, 44, 40, 21, 11, 81, 112, 107, 88, 43, 3, 4, 35, 28, 23, 24, 16, 47, 58, 77, 61, 24, 52, 76, 100, 53, 72, 94, 84, 76, 49, 29, 53, 2, 45, 78, 75, 95, 91, 57, 24, 25, 15, 15, 19, 28, 50, 54, 35, 6, 1, 1, 36, 49, 9, 49, 58, 37, 31, 10, 1, 1, 113, 2, 1, 1, 1, 1, 1, 1, 150, 36, 20, 20, 19, 11, 11, 11, 5, 21, 31, 24, 20, 13, 16, 19, 13, 11, 11, 4, 1, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 6, 7, 19, 18, 14, 10, 14, 5, 5, 4, 4, 4, 4, 3, 2, 1, 3, 11, 16, 16, 15, 5, 3, 2, 1, 0, 0, 10, 0, 0, 0, 10, 47, 44, 71, 77, 55, 40, 29, 12, 6, 4, 2, 0, 0, 0, 0, 0, 0, 3, 4, 20, 60, 74, 62, 50, 42, 20, 27, 17, 34, 30, 21, 57, 46, 44, 34, 26, 16, 20, 16, 13, 10, 5, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 29, 27, 11, 89, 136, 86, 86, 59, 50, 35, 21, 15, 19, 54, 43, 33, 26, 18, 3, 20, 24, 21, 23, 20, 26, 15, 0, 0, 4, 4, 7, 8, 7, 7, 6, 6, 7, 7, 5, 3, 1, 1, 25, 59, 52, 43, 28, 28, 2, 1, 48, 72, 78, 65, 47, 40, 30, 18, 8, 26, 2, 28, 9, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 95, 95, 92, 71, 95, 95, 4, 69, 39, 13, 6, 3, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 67, 98, 125, 53, 49, 33, 29, 23, 4, 5, 15, 8, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 7, 11, 11, 11, 10, 11, 7, 6, 3, 5, 4, 3, 1, 5, 10, 10, 9, 6, 6, 6, 4, 2, 0, 0, 0, 0, 14, 28, 81, 80, 79, 62, 52, 55, 34, 44, 32, 18, 23, 4, 23, 32, 27, 7, 9, 23, 14, 11, 29, 1, 1, 39, 98, 7, 12, 17, 17, 10, 15, 35, 9, 1, 0, 0, 0, 4, 0, 1, 39, 1, 0, 50, 150, 150, 150, 72, 33, 37, 32, 21, 18, 19, 15, 13, 4, 0, 1, 0, 2, 0, 40, 76, 60, 109, 150, 150, 114, 29, 24, 1, 0, 0, 0, 1, 3, 9, 24, 82, 83, 55, 45, 48, 45, 38, 35, 17, 1, 1, 59, 51, 77, 57, 75, 70, 33, 23, 1, 0, 0, 0, 0, 43, 105, 66, 51, 17, 16, 27, 15, 2, 14, 53, 19, 10, 23, 21, 11, 2, 30, 2, 12, 18, 17, 16, 20, 20, 26, 22, 19, 20, 13, 8, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 2, 24, 63, 68, 53, 31, 24, 30, 29, 14, 19, 12, 8, 6, 6, 6, 6, 6, 5, 6, 3, 1, 1, 0, 1, 5, 13, 23, 17, 15, 13, 14, 18, 20, 13, 11, 10, 8, 7, 4, 0, 1, 0, 0, 0, 0, 8, 53, 47, 13, 62, 29, 19, 11, 18, 11, 18, 12, 5, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 6, 23, 12, 86, 80, 62, 8, 8, 6, 7, 8, 20, 23, 29, 23, 33, 31, 29, 29, 16, 7, 5, 3, 3, 2, 1, 1, 1, 4, 4, 6, 6, 8, 6, 5, 4, 2, 1, 1, 0, 0, 0, 0, 0, 11, 30, 43, 43, 76, 89, 73, 31, 32, 19, 14, 9, 9, 19, 15, 7, 6, 4, 4, 4, 2, 1, 56, 7, 8, 9, 6, 6, 4, 4, 4, 5, 3, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 3, 4, 4, 4, 3, 3, 2, 1, 1, 2, 2, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 6, 10, 11, 14, 14, 16, 13, 12, 7, 4, 3, 5, 3, 2, 2,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 1, 5, 9, 30, 38, 13, 2, 1, 1, 1, 4, 4, 2, 2, 2, 1, 16, 16, 26, 18, 11, 10, 3, 4, 7, 41, 27, 21, 2, 5, 25, 33, 21, 21, 16, 22, 34, 21, 5, 10, 13, 12, 20, 44, 49, 23, 15, 15, 15, 11, 8, 7, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 7, 9, 23, 42, 41, 14, 13, 13, 12, 4, 2, 1, 0, 1, 1, 2, 1, 1, 4, 1, 1, 1, 43, 48, 22, 18, 7, 12, 23, 46, 28, 25, 36, 37, 5, 7, 8, 10, 26, 39, 44, 30, 6, 10, 11, 9, 18, 25, 21, 9, 14, 15, 29, 34, 37, 19, 3, 19, 1, 28, 32, 32, 29, 19, 10, 35, 33, 14, 6, 7, 4, 4, 3, 29, 29, 31, 9, 20, 17, 13, 16, 19, 7, 6, 7, 1, 1, 22, 24, 32, 25, 17, 22, 22, 19, 22, 19, 10, 5, 9, 11, 10, 9, 11, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 10, 28, 28, 29, 24, 4, 1, 9, 15, 9, 20, 37, 29, 22, 16, 16, 20, 11, 11, 12, 23, 14, 20, 11, 1, 26, 28, 6, 2, 1, 1, 1, 33, 48, 28, 17, 8, 5, 32, 30, 20, 13, 5, 4, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 10, 10, 11, 13, 20, 20, 21, 21, 17, 6, 14, 14, 33, 36, 29, 22, 9, 19, 23, 11, 9, 7, 8, 9, 11, 10, 10, 11, 10, 13, 27, 25, 21, 25, 14, 25, 25, 14, 14, 11, 7, 20, 23, 5, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 15, 48, 48, 27, 27, 13, 8, 15, 20, 24, 24, 22, 10, 3, 4, 2, 2, 15, 29, 23, 26, 20, 20, 11, 20, 29, 21, 7, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 25, 21, 13, 4, 6, 22, 11, 3, 2, 2, 35, 33, 21, 17, 10, 11, 10, 16, 22, 20, 10, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 36, 43, 25, 17, 11, 1, 1, 13, 11, 17, 19, 17, 12, 13, 16, 6, 6, 9, 12, 11, 4, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 17, 17, 19, 21, 19, 12, 1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 4, 17, 23, 26, 30, 27, 16, 10, 8, 4, 1, 1, 1, 1, 30, 29, 13, 12, 11, 7, 5, 6, 12, 15, 15, 9, 8, 5, 3, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 21, 23, 16, 16, 7, 6, 15, 14, 20, 22, 20, 23, 25, 23, 14, 18, 19, 15, 14, 8, 13, 4, 11, 12, 20, 25, 35, 41, 27, 22, 15, 8, 1, 2, 2, 3, 4, 2, 15, 31, 28, 16, 5, 14, 21, 18, 16, 12, 27, 40, 41, 10, 25, 11, 4, 33, 37, 33, 29, 21, 10, 9, 11, 9, 11, 1, 16, 16, 3, 2, 0, 1, 18, 29, 22, 21, 8, 7, 24, 23, 18, 19, 15, 3, 2, 2, 2, 2, 2, 1, 15, 48, 30, 12, 12, 20, 17, 33, 31, 10, 19, 23, 13, 7, 4, 5, 2, 3, 29, 45, 42, 15, 22, 19, 19, 14, 6, 18, 20, 4, 1, 12, 15, 20, 21, 26, 25, 10, 16, 13, 12, 20, 16, 15, 6, 6, 8, 14, 19, 37, 43, 42, 43, 44, 34, 27, 20, 14, 12, 11, 17, 22, 15, 7, 3, 6, 3, 2, 12, 14, 14, 16, 14, 15, 15, 7, 6, 11, 15, 14, 11, 19, 18, 3, 16, 15, 18, 19, 9, 1, 0, 1, 0, 1, 38, 23, 6, 6, 3, 8, 16, 16, 19, 10, 4, 4, 4, 7, 8, 12, 13, 15, 15, 18, 22, 13, 6, 7, 1, 1, 4, 5, 11, 13, 10, 9, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
BETTON_INTRO_BETTON = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 48, 29, 41, 59, 40, 21, 46, 75, 68, 17, 28, 33, 5, 73, 66, 50, 37, 32, 29, 33, 32, 22, 8, 5, 27, 7, 5, 3, 4, 5, 6, 4, 3, 20, 27, 26, 47, 43, 12, 17, 9, 47, 61, 46, 28, 7, 6, 3, 4, 4, 2, 14, 45, 15, 26, 62, 106, 55, 23, 38, 37, 38, 56, 39, 31, 46, 53, 51, 36, 5, 15, 50, 49, 13, 14, 7, 12, 45, 70, 79, 61, 64, 15, 69, 60, 67, 61, 8, 67, 61, 66, 81, 56, 65, 65, 65, 59, 59, 56, 58, 57, 56, 52, 49, 40, 32, 24, 39, 29, 26, 23, 29, 35, 16, 16, 10, 11, 4, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 2, 8, 13, 11, 106, 81, 11, 3, 61, 89, 16, 24, 105, 93, 11, 11, 48, 54, 4, 26, 57, 60, 11, 3, 48, 64, 19, 4, 62, 52, 6, 3, 65, 66, 6, 17, 46, 37, 3, 20, 27, 30, 2, 11, 20, 17, 2, 2, 22, 14, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 6, 16, 15, 37, 94, 75, 47, 55, 60, 53, 52, 62, 55, 11, 9, 1, 61, 30, 48, 51, 18, 17, 21, 2, 19, 61, 15, 28, 69, 54, 40, 14, 4, 2, 78, 85, 33, 13, 2, 1, 18, 31, 14, 6, 2, 2, 4, 3, 4, 4, 4, 4, 3, 2, 2, 2, 29, 27, 65, 65, 41, 22, 22, 7, 29, 67, 49, 27, 27, 64, 69, 56, 6, 22, 50, 50, 39, 31, 20, 12, 21, 25, 22, 19, 2, 20, 58, 36, 10, 3, 1, 1, 1, 37, 100, 106, 36, 13, 5, 7, 15, 31, 27, 39, 42, 5, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 14, 31, 29, 18, 19, 50, 47, 8, 5, 3, 46, 47, 22, 23, 27, 21, 11, 11, 9, 6, 20, 18, 31, 23, 21, 17, 3, 10, 34, 23, 34, 23, 31, 40, 23, 4, 16, 16, 14, 17, 8, 3, 34, 18, 12, 8, 1, 1, 24, 26, 15, 9, 5, 4, 12, 16, 22, 19, 5, 2, 3, 2, 3, 2, 4, 3, 7, 6, 19, 45, 39, 35, 25, 29, 16, 18, 18, 33, 42, 21, 5, 32, 33, 58, 40, 37, 27, 9, 27, 23, 21, 17, 12, 15, 21, 21, 9, 5, 4, 4, 4, 29, 43, 39, 21, 14, 43, 39, 42, 19, 25, 25, 5, 12, 16, 21, 24, 19, 16, 14, 8, 5, 2, 6, 6, 8, 7, 9, 1, 16, 17, 29, 35, 18, 9, 2, 1, 9, 11, 5, 4, 4, 14, 16, 21, 19, 33, 21, 7, 15, 14, 13, 25, 63, 58, 36, 39, 36, 17, 5, 5, 7, 7, 3, 4, 13, 12, 13, 3, 9, 3, 3, 3, 3, 4, 2, 3, 1, 1, 1, 3, 3, 24, 33, 75, 49, 46, 26, 26, 21, 34, 32, 31, 17, 24, 22, 5, 13, 19, 23, 28, 12, 20, 18, 12, 9, 3, 1, 1, 1, 1, 1, 1, 1, 20, 23, 12, 31, 29, 2, 1, 1, 54, 30, 32, 21, 21, 12, 8, 2, 1, 1, 1, 1, 1, 1, 23, 31, 32, 11, 6, 6, 3, 2, 3, 2, 3, 3, 4, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 12, 21, 15, 2, 18, 21, 19, 12, 20, 48, 37, 13, 12, 2, 1, 17, 45, 46, 32, 20, 10, 3, 16, 5, 1, 3, 17, 15, 9, 2, 21, 23, 15, 4, 22, 33, 28, 16, 9, 21, 21, 16, 6, 3, 1, 1, 1, 1, 1, 1, 1, 3, 5, 4, 1, 2, 4, 2, 2, 2, 48, 52, 35, 15, 27, 37, 54, 57, 22, 41, 48, 41, 48, 14, 20, 50, 49, 17, 22, 18, 23, 48, 38, 16, 2, 1, 1, 39, 62, 70, 72, 63, 40, 28, 42, 44, 15, 34, 33, 17, 25, 41, 25, 36, 22, 17, 27, 89, 94, 16, 3, 50, 55, 18, 71, 79, 37, 56, 17, 15, 25, 27, 8, 4, 2, 2, 3, 3, 3, 2, 3, 2, 2, 2, 2, 2, 1, 26, 97, 57, 37, 76, 39, 61, 48, 15, 14, 3, 43, 47, 72, 21, 9, 2, 25, 17, 3, 2, 2, 2, 2, 5, 20, 104, 84, 27, 106, 92, 106, 19, 7, 49, 79, 45, 57, 59, 26, 11, 8, 6, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
BETTON_INTRO_DIRK = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
CHIEF_MISSION1_INTRO_CHIEF = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 52, 95, 54, 45, 51, 46, 29, 19, 20, 26, 42, 39, 52, 52, 42, 36, 38, 57, 46, 43, 32, 5, 28, 9, 4, 5, 3, 4, 3, 46, 33, 91, 50, 98, 13, 43, 64, 101, 82, 5, 14, 94, 96, 118, 108, 76, 83, 16, 21, 59, 60, 57, 49, 31, 29, 21, 18, 7, 24, 30, 27, 17, 11, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 28, 33, 47, 62, 71, 68, 59, 33, 43, 34, 37, 33, 46, 47, 3, 2, 48, 53, 49, 31, 32, 42, 10, 39, 48, 16, 2, 39, 55, 55, 3, 31, 56, 48, 19, 3, 2, 42, 6, 9, 62, 66, 61, 7, 18, 10, 20, 14, 6, 24, 15, 11, 3, 2, 2, 3, 3, 3, 2, 2, 2, 2, 29, 56, 51, 71, 78, 51, 7, 51, 39, 35, 42, 35, 3, 29, 22, 8, 3, 62, 74, 51, 45, 36, 35, 27, 101, 111, 59, 33, 16, 23, 44, 40, 25, 38, 69, 62, 39, 36, 8, 19, 47, 38, 20, 8, 17, 19, 17, 12, 4, 0, 0, 0, 0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 3, 54, 66, 106, 84, 122, 82, 44, 26, 16, 15, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
WHIZZKID_INTRO_WHIZZKID = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4, 6, 50, 103, 32, 69, 51, 16, 56, 98, 97, 26, 18, 10, 9, 90, 142, 69, 46, 7, 1, 2, 2, 1, 1, 1, 1, 1, 2, 29, 24, 4, 17, 47, 56, 6, 14, 9, 6, 1, 0, 0, 0, 0, 35, 48, 36, 39, 14, 4, 1, 7, 0, 0, 0, 69, 113, 70, 31, 30, 7, 8, 43, 43, 35, 7, 5, 6, 5, 4, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 49, 114, 64, 45, 16, 5, 1, 0, 0, 0, 23, 65, 61, 62, 26, 3, 1, 7, 11, 0, 1, 1, 1, 1, 0, 4, 38, 26, 15, 19, 37, 58, 47, 12, 29, 9, 24, 13, 13, 1, 0, 4, 11, 50, 77, 49, 38, 20, 14, 14, 12, 10, 19, 39, 6, 6, 1, 3, 0, 0, 44, 70, 93, 83, 47, 13, 11, 9, 16, 9, 6, 13, 1, 12, 87, 27, 7, 6, 12, 28, 51, 11, 10, 13, 9, 0, 7, 5, 4, 1, 1, 2, 3, 1, 4, 5, 20, 42, 7, 20, 84, 35, 9, 8, 12, 12, 3, 2, 7, 63, 48, 10, 17, 1, 13, 11, 9, 8, 4, 3, 3, 4, 4, 2, 2, 57, 15, 29, 15, 8, 28, 33, 26, 6, 15, 7, 11, 10, 18, 25, 26, 73, 74, 54, 33, 6, 3, 4, 0, 0, 10, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 7, 150, 100, 37, 47, 10, 6, 0, 1, 2, 2, 1, 2, 0, 0, 64, 82, 101, 47, 83, 66, 22, 8, 6, 25, 14, 8, 5, 24, 2, 1, 1, 6, 27, 28, 16, 8, 7, 23, 14, 13, 16, 7, 1, 13, 33, 22, 15, 7, 7, 12, 19, 25, 3, 24, 33, 1, 18, 12, 23, 38, 9, 18, 23, 23, 11, 16, 11, 21, 3, 8, 9, 1, 1, 22, 8, 12, 6, 11, 31, 4, 4, 5, 5, 7, 62, 12, 4, 21, 14, 5, 63, 34, 5, 7, 16, 2, 6, 21, 13, 1, 17, 26, 8, 17, 17, 3, 0, 8, 68, 84, 62, 42, 37, 11, 4, 0, 70, 37, 34, 1, 5, 16, 14, 2, 0, 0, 83, 38, 50, 21, 4, 13, 13, 13, 9, 4, 1, 2, 1, 3, 14, 14, 21, 53, 45, 8, 1, 41, 37, 21, 12, 60, 106, 113, 20, 13, 6, 6, 3, 13, 29, 15, 5, 1, 9, 7, 23, 32, 37, 27, 11, 21, 31, 25, 22, 1, 5, 5, 57, 95, 60, 8, 7, 14, 5, 2, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 22, 23, 31, 13, 33, 115, 26, 11, 7, 5, 15, 16, 12, 41, 62, 33, 17, 24, 14, 6, 7, 56, 55, 36, 29, 15, 1, 1, 1, 1, 0, 6, 12, 150, 150, 150, 70, 46, 17, 11, 1, 1, 3, 2, 2, 4, 3, 9, 43, 34, 14, 26, 21, 72, 55, 30, 27, 5, 13, 8, 8, 10, 75, 75, 45, 52, 51, 46, 15, 14, 13, 11, 23, 21, 8, 20, 20, 5, 39, 42, 27, 9, 6, 5, 15, 16, 15, 20, 10, 6, 5, 26, 31, 13, 16, 17, 21, 44, 42, 15, 21, 36, 7, 19, 17, 27, 2, 12, 10, 33, 55, 56, 12, 4, 7, 7, 14, 2, 97, 75, 17, 3, 1, 0, 46, 10, 48, 43, 50, 9, 28, 36, 45, 27, 13, 14, 150, 143, 66, 68, 13, 21, 11, 19, 8, 8, 5, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 4, 5, 7, 9, 11, 13, 15, 21, 33, 51, 45, 73, 94, 80, 80, 14, 8, 4, 2, 1, 0, 0, 0, 0, 0, 0, 13, 12, 40, 70, 45, 12, 9, 8, 13, 25, 21, 24, 17, 43, 31, 17, 10, 3, 0, 0, 91, 46, 57, 40, 9, 13, 19, 21, 29, 26, 18, 9, 1, 0, 0, 1, 1, 0, 0, 0, 4, 1, 24, 106, 47, 41, 38, 28, 20, 10, 6, 3, 0, 2, 1, 1, 1, 1, 0, 1, 45, 42, 90, 90, 84, 29, 50, 39, 11, 2, 1, 3, 1, 0, 0, 51, 32, 51, 40, 59, 54, 2, 22, 18, 7, 1, 2, 1, 1, 22, 85, 90, 5, 69, 106, 38, 27, 27, 31, 9, 41, 32, 4, 19, 87, 92, 52, 11, 9, 0, 1, 0, 28, 106, 106, 87, 42, 6, 2, 53, 95, 72, 11, 31, 40, 3, 13, 14, 43, 106, 106, 58, 2, 42, 31, 43, 19, 6, 6, 11, 13, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
WHIZZKID_OUTRO_WHIZZKID = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 59, 45, 25, 34, 39, 48, 32, 6, 2, 0, 9, 24, 37, 23, 27, 18, 6, 3, 11, 25, 16, 24, 7, 22, 25, 22, 35, 33, 10, 8, 7, 8, 11, 31, 27, 19, 8, 17, 43, 5, 1, 33, 16, 11, 21, 9, 8, 16, 26, 17, 25, 12, 30, 33, 29, 11, 12, 39, 54, 32, 6, 18, 2, 33, 12, 34, 45, 41, 34, 48, 48, 50, 18, 2, 3, 4, 4, 3, 1, 22, 70, 75, 75, 13, 62, 36, 15, 1, 23, 15, 29, 36, 10, 9, 10, 5, 0, 0, 0, 0, 44, 46, 34, 37, 44, 35, 3, 17, 9, 3, 4, 4, 2, 1, 12, 50, 64, 15, 41, 20, 20, 15, 9, 16, 25, 30, 21, 5, 30, 24, 9, 15, 19, 31, 13, 42, 43, 3, 6, 0, 63, 56, 21, 12, 10, 11, 13, 15, 62, 51, 28, 20, 23, 14, 9, 7, 6, 1, 1, 1, 0, 4, 3, 43, 75, 75, 42, 11, 8, 0, 1, 2, 2, 1, 1, 1, 21, 54, 26, 9, 73, 48, 2, 32, 28, 44, 49, 20, 1, 0, 68, 75, 65, 29, 11, 17, 42, 57, 9, 9, 9, 10, 37, 31, 19, 46, 75, 75, 63, 9, 18, 30, 39, 55, 61, 22, 60, 75, 73, 4, 1, 3, 60, 75, 37, 39, 17, 17, 13, 2, 3, 3, 1, 5, 40, 75, 8, 33, 19, 40, 46, 75, 75, 15, 26, 9, 11, 10, 32, 25, 17, 55, 47, 10, 9, 36, 26, 15, 75, 75, 7, 12, 30, 39, 40, 42, 40, 35, 54, 46, 75, 75, 59, 64, 60, 22, 18, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
WHIZZKID_OUTRO_DIRK = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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A_INTRO_SELMA, "DIRK", "SELMA", 2);
SELMA_OUTRO = new Array("SELMA_OUTRO", SELMA_OUTRO_DIRK, SELMA_OUTRO_SELMA, "DIRK", "SELMA_HURT", 1);
BETTON_OUTRO = new Array("BETTON_OUTRO", BETTON_OUTRO_DIRK, BETTON_OUTRO_BETTON, "DIRK", "BETTON_HURT", 5);
BETTON_INTRO = new Array("BETTON_INTRO", BETTON_INTRO_DIRK, BETTON_INTRO_BETTON, "DIRK", "CHIEF", 2);
WHIZZKID_INTRO = new Array("WHIZZKID_INTRO", WHIZZKID_INTRO_DIRK, WHIZZKID_INTRO_WHIZZKID, "DIRK", "WHIZZKID", 3);
WHIZZKID_OUTRO = new Array("WHIZZKID_OUTRO", WHIZZKID_OUTRO_DIRK, WHIZZKID_OUTRO_WHIZZKID, "DIRK", "WHIZZKID_HURT", 3);
CHIEF_MISSION1_INTRO = new Array("CHIEF_MISSION1_INTRO", CHIEF_MISSION1_INTRO_DIRK, CHIEF_MISSION1_INTRO_CHIEF, "DIRK", "CHIEF", 3);
CHIEF_MISSION2_INTRO = new Array("CHIEF_MISSION2_INTRO", CHIEF_MISSION2_INTRO_DIRK, CHIEF_MISSION2_INTRO_CHIEF, "DIRK", "CHIEF", 3);
codecArray = this[_root.codecArray];
stop();
VOICE.gotoAndPlay(codecArray[0]);
speechArrayDirk = codecArray[1];
speechArrayGuest = codecArray[2];
textArrayTimer = 0;
textArrayCounter = 0;
dirkScreen.charWindow.gotoAndStop(codecArray[3]);
guestScreen.charWindow.gotoAndStop(codecArray[4]);
speechCounter = 0;
dirkScreen.charWindow.character.head.mouth.stop();
guestScreen.charWindow.character.head.mouth.stop();
guestScreen.soundBar._yscale = 0;
dirkScreen.soundBar._yscale = 0;
dirkHeadRotate = 0;
if (_root.drunk == true) {
_root.headTilt = 4;
dirkHeadRotateSpeed = 2;
} else {
_root.headTilt = 0.4;
dirkHeadRotateSpeed = 0.05;
}
if (_root.codecHeadSize == undefined) {
_root.codecHeadSize = 100;
}
dirkScreen.charWindow.character.head._xscale = _root.codecHeadSize;
dirkScreen.charWindow.character.head._yscale = _root.codecHeadSize;
guestScreen.charWindow.character.head._xscale = _root.codecHeadSize;
guestScreen.charWindow.character.head._yscale = _root.codecHeadSize;
dirkScreen.charWindow.character.head._rotation = -3;
guestScreen.charWindow.character.head._rotation = -3;
timerStore = "";
Instance of Symbol 733 MovieClip "door2" in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
yDest = this._y + 175;
}
Instance of Symbol 733 MovieClip "door1" in Symbol 737 MovieClip Frame 1
onClipEvent (load) {
yDest = this._y - 140;
}
Instance of Symbol 736 MovieClip in Symbol 737 MovieClip Frame 1
on (release) {
if (_alpha > 50) {
_parent.door1.timer = 1000;
_parent.door2.timer = 1000;
_parent.continueTimer = 40;
_alpha = 10;
}
}
Symbol 748 MovieClip Frame 1
stop();
Instance of Symbol 505 MovieClip in Symbol 775 MovieClip Frame 1
onClipEvent (load) {
counter = 1500;
}
onClipEvent (enterFrame) {
counter--;
this._width = (counter / 1500) * 450;
if (this._width < 50) {
_alpha = (-_alpha);
}
}
Instance of Symbol 736 MovieClip in Symbol 775 MovieClip Frame 1
on (release) {
stopAllSounds();
_root.gotoAndStop("adventure");
}
Symbol 775 MovieClip Frame 1688
_root.newMedal(17, 80, 200, "You earned the CREDITS medal!");
_root.gotoAndStop("adventure");