Frame 1
newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
this.menu = newMenu;
loadedbytes = getBytesLoaded();
totalbytes = getBytesTotal();
percentbytes = int(loadedbytes / (totalbytes / 100));
loader.gotoAndStop(percentbytes);
Frame 2
if (loadedbytes == totalbytes) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
stop();
Frame 4
_quality = "HIGH";
var savefile = SharedObject.getLocal("dyt2");
function displayHUD() {
hud.wave = wave;
hud.shekels = shekels;
hud.reloadWarning._visible = false;
hud.damage = (100 - templeHealth) + "%";
temple.structure.gotoAndStop(Math.ceil((101 - templeHealth) / 10));
if ((!reloadC) == 0) {
hud.reloadBAR._visible = true;
hud.reloadBAR._alpha = 100;
hud.reloadBAR._xscale = (reloadC / reloadTime) * 100;
} else if (hud.reloadBAR._alpha > 0) {
hud.reloadBAR._xscale = 100;
hud.reloadBAR._alpha = hud.reloadBAR._alpha - 20;
} else {
hud.reloadBAR._visible = false;
}
if (clip == 0) {
waitWarningTime++;
if ((waitWarningTime >= 35) && (reloadC == 0)) {
hud.reloadWarning._visible = true;
}
} else {
waitWarningTime = 0;
hud.reloadWarning._visible = false;
}
}
function loadShells(type, amount) {
var _local1 = "";
for (_local1 in hud) {
if (hud[_local1]._name.slice(0, 5) == "shell") {
hud[_local1].removeMovieClip();
}
}
i = 0;
while (i < amount) {
hud.attachMovie(type, "shell" + i, i + 100);
if ((hud["shell" + i]._width * amount) > 218) {
hud["shell" + i]._width = 218 / amount;
}
hud["shell" + i]._x = (i * hud["shell" + i]._width) + 180;
hud["shell" + i]._y = 14;
i++;
}
}
function playMusic() {
MusicFile.attachSound("song1");
MusicFile.start(0, 9999);
}
function addSoundEffect(linkage) {
SoundEffect.clear();
SoundEffect.attachSound(linkage);
SoundEffect.start();
}
function levelScreen() {
bPaused = true;
attachMovie("leveledScreen", "leveledScreen", 999998);
leveledScreen._x = 27;
leveledScreen._y = 54;
}
function pauseScreen() {
bPaused = true;
attachMovie("pausedScreen", "pausedScreen", 999999);
pausedScreen._x = 107;
pausedScreen._y = 147;
}
function beginGame() {
attachMovie("levelStartScreen", "levelStartScreen", 999997);
levelStartScreen._x = 167;
levelStartScreen._y = 104;
}
function addEnemy(enemyType, enemyLevel) {
enemyHolder.attachMovie(("enemy" + enemyType) + enemyLevel, "enemy" + enemies, enemies);
enemyHolder["enemy" + enemies].speed = enemyArrayTracker[enemyType - 1][0][enemyLevel - 1] + (Math.random() * enemyArrayTracker[enemyType - 1][1][enemyLevel - 1]);
enemyHolder["enemy" + enemies].health = enemyArrayTracker[enemyType - 1][2][enemyLevel - 1];
enemyHolder["enemy" + enemies].damage = enemyArrayTracker[enemyType - 1][3][enemyLevel - 1];
enemyHolder["enemy" + enemies].score = enemyArrayTracker[enemyType - 1][4][enemyLevel - 1];
enemyHolder["enemy" + enemies].hitSoundNum = enemyArrayTracker[enemyType - 1][5][enemyLevel - 1];
enemyHolder["enemy" + enemies].idNum = enemies;
enemies++;
}
function addScoreText(sco, xpos, ypos) {
textPlusHolder.attachMovie("coinPlus", "textPlus" + textPluses, textPluses);
this.textPlusHolder["textPlus" + textPluses]._x = xpos;
this.textPlusHolder["textPlus" + textPluses]._y = ypos;
this.textPlusHolder["textPlus" + textPluses].randPlus = sco;
textPluses++;
}
function rocketTransfer(id, tgt, x, y) {
tempVar = tgt.damage;
tgt.removeMovieClip();
projectileHolder.attachMovie("rocketExplosion", "rocketExplosion" + id, id + 100);
projectileHolder["rocketExplosion" + id]._x = x;
projectileHolder["rocketExplosion" + id]._y = y;
projectileHolder["rocketExplosion" + id].rocket = true;
projectileHolder["rocketExplosion" + id].weaponType = 5;
projectileHolder["rocketExplosion" + id].damage = tempVar;
}
function lostGame() {
clearScreen();
enemyHolder.attachMovie("templeStructure", "templeOver", 100000000);
enemyHolder.templeOver._x = 249.6;
enemyHolder.templeOver._y = 276.4;
enemyHolder.templeOver._width = 127;
enemyHolder.templeOver._height = 76.5;
enemyHolder.templeOver.templeTag = true;
bPaused = true;
attachMovie("lostScreen", "lostScreen", 999995);
lostScreen._x = 50;
lostScreen._y = 108;
}
function clearScreen() {
var _local1 = "";
for (_local1 in projectileHolder) {
projectileHolder[_local1].removeMovieClip();
}
for (_local1 in textPlusHolder) {
textPlusHolder[_local1].removeMovieClip();
}
for (_local1 in enemyHolder) {
enemyHolder[_local1].removeMovieClip();
}
}
function clearLostScreen() {
lostScreen.removeMovieClip();
gotoAndStop ("menu");
onEnterFrame = function () {
};
}
function saveGame(lost) {
if (!lost) {
savefile.data.wave = wave;
savefile.data.templeHealth = SCtempleHealth;
savefile.data.saveWep1 = SCsaveWep1;
savefile.data.saveWep2 = SCsaveWep2;
savefile.data.saveWep3 = SCsaveWep3;
savefile.data.saveWep4 = SCsaveWep4;
savefile.data.saveWep5 = SCsaveWep5;
savefile.data.shekels = SCshekels;
savefile.data.speedCount = SCspeedCount;
savefile.data.scoreBox = SCscoreBox;
} else {
savefile.data.wave = wave;
savefile.data.templeHealth = templeHealth;
savefile.data.saveWep1 = saveWep1;
savefile.data.saveWep2 = saveWep2;
savefile.data.saveWep3 = saveWep3;
savefile.data.saveWep4 = saveWep4;
savefile.data.saveWep5 = saveWep5;
savefile.data.shekels = shekels;
savefile.data.speedCount = speedCount;
savefile.data.scoreBox = scoreBox;
}
savefile.flush();
}
wepClass = new WeaponClass();
waveClass = new Wave();
var scoreBox = 0;
var speedCount = 0;
var waveTime = 0;
var templeHealth = 100;
var levelStarted = false;
var bPaused = false;
var bMusic = true;
var wave = 0;
var shekels = 0;
var shooting = false;
var projectiles = 0;
var rateOfFire = 0;
var shellDamage = 0;
var fireIteration = 0;
var weaponSpeed = 0;
var weaponAttach = "";
var armLength = 0;
var magSize = 0;
var clip = 0;
var reloadTime = 0;
var reloadC = 0;
var waitWarningTime = 0;
var recoil = 0;
var equippedWeapon = 0;
var enemies = 0;
var textPluses = 0;
var saveWep1 = "1100000";
var saveWep2 = "2000000";
var saveWep3 = "3000000";
var saveWep4 = "4000000";
var saveWep5 = "5000000";
var SCsaveWep1 = "";
var SCsaveWep2 = "";
var SCsaveWep3 = "";
var SCsaveWep4 = "";
var SCsaveWep5 = "";
var SCsaveWep6 = "";
var SCtempleHealth = 0;
var SCshekels = 0;
var SCspeedCount = 0;
var SCscoreBox = 0;
MusicFile = new Sound(this);
SoundEffect = new Sound(this);
var enemyArrayTracker = new Array();
enemyArrayTracker = [[[0.5, 0.7, 0.9], [0.4, 0.5, 0.6], [15, 30, 70], [1, 2, 2], [15, 25, 40], [1, 1, 1]], [[1, 1.3, 1.5, 2], [0.4, 0.5, 0.6, 0.2], [10, 25, 40, 60], [1, 1, 1, 2], [20, 40, 60, 100], [2, 2, 2, 4]], [[0.3, 0.5, 0.7, 0.9], [0.2, 0.3, 0.4, 0.5], [75, 125, 200, 350], [2, 2, 3, 3], [50, 75, 100, 150], [3, 3, 3, 5]]];
Frame 217
stop();
_quality = "HIGH";
stopAllSounds();
var savefile = SharedObject.getLocal("dyt2");
cloud.removeMovieClip();
secondButton.onPress = function () {
play();
};
firstButton.onPress = function () {
if (savefile.data.wave > 1) {
scoreBox = savefile.data.scoreBox;
wave = savefile.data.wave;
templeHealth = savefile.data.templeHealth;
saveWep1 = savefile.data.saveWep1;
saveWep2 = savefile.data.saveWep2;
saveWep3 = savefile.data.saveWep3;
saveWep4 = savefile.data.saveWep4;
saveWep5 = savefile.data.saveWep5;
speedCount = savefile.data.speedCount;
shekels = savefile.data.shekels;
gotoAndStop ("game");
}
};
thirdButton.onPress = function () {
gotoAndStop ("credits");
};
Frame 218
stop();
_quality = "HIGH";
wave = 1;
templeHealth = 100;
var saveWep1 = "1100000";
var saveWep2 = "2000000";
var saveWep3 = "3000000";
var saveWep4 = "4000000";
var saveWep5 = "5000000";
shekels = 0;
scoreBox = 0;
bigButton.onPress = function () {
gotoAndStop ("game");
};
Frame 219
stop();
_quality = "HIGH";
bPaused = false;
shooting = false;
equippedWeapon = 1;
wepClass.setBasicWep(saveWep1);
projectiles = 0;
fireIteration = rateOfFire;
reloadC = 0;
waitWarningTime = 0;
this.createEmptyMovieClip("projectileHolder", 100);
this.createEmptyMovieClip("enemyHolder", 20);
this.createEmptyMovieClip("textPlusHolder", 600);
enemyHolder.attachMovie("templeStructure", "templeOver", 100000000);
enemyHolder.templeOver._x = 249.6;
enemyHolder.templeOver._y = 276.4;
enemyHolder.templeOver._width = 127;
enemyHolder.templeOver._height = 76.5;
enemyHolder.templeOver.templeTag = true;
hud.swapDepths(500);
juda.swapDepths(550);
cloud.swapDepths(450);
cloud.xSpeed = Math.random() + 0.2;
cloud.ySpeed = Math.random() + 0.2;
hud.reloadBAR.swapDepths(100000);
levelScreen();
displayHUD();
hud.reloadBAR._alpha = 0;
juda.head.stop();
juda.leftarm.stop();
juda.rightarm.stop();
juda.legs.stop();
var counter = 0;
var counterMax = 10;
playMusic();
onEnterFrame = function () {
juda.act();
if (!bPaused) {
cloud._x = cloud._x + cloud.xSpeed;
cloud._y = cloud._y + cloud.ySpeed;
if (cloud._y > 800) {
cloud.ySpeed = (-Math.random()) - 0.2;
} else if (cloud._y < -300) {
cloud.ySpeed = Math.random() + 0.2;
}
if (cloud._x > 800) {
cloud.xSpeed = (-Math.random()) - 0.2;
} else if (cloud._x < -300) {
cloud.xSpeed = Math.random() + 0.2;
}
if (templeHealth <= 0) {
lostGame();
} else {
waveClass.act();
if (waveTime > 0) {
waveTime--;
} else {
waveTime--;
var _local4 = 0;
var _local5 = "";
for (_local5 in enemyHolder) {
_local4++;
}
if ((_local4 == 1) || (waveTime < -800)) {
_root.HPScoreService.postScore(_root.scoreBox, "");
if (wave != 30) {
wave++;
levelScreen();
reloadC = 0;
reloadTime = 0;
} else {
gotoAndStop ("win");
}
}
}
fireIteration++;
if ((shooting && (clip > 0)) && (reloadC == 0)) {
if (fireIteration >= rateOfFire) {
juda.shoot();
fireIteration = 0;
clip--;
hud["shell" + clip].play();
if (equippedWeapon == 2) {
clip--;
hud["shell" + clip].play();
}
}
}
if (Key.isDown(32) && (reloadC == 0)) {
reloadC++;
addSoundEffect("soundReload");
} else if (reloadC >= 1) {
reloadC++;
if (reloadC >= reloadTime) {
reloadC = 0;
clip = magSize;
loadShells("shell" + equippedWeapon, magSize);
}
}
displayHUD();
var _local2 = "";
for (_local2 in projectileHolder) {
projectileHolder[_local2].act();
}
var _local3 = "";
for (_local3 in enemyHolder) {
if (!enemyHolder[_local3].templeTag) {
enemyHolder[_local3].act();
if (enemyHolder[_local3].health > 0) {
for (_local2 in projectileHolder) {
if (projectileHolder[_local2].weaponType == 5) {
if (projectileHolder[_local2].hitTest(enemyHolder[_local3]._x, enemyHolder[_local3]._y - 10, true)) {
enemyHolder[_local3].hit(projectileHolder[_local2].damage);
if (!projectileHolder[_local2].rocket) {
rocketTransfer(projectileHolder[_local2].id, projectileHolder[_local2], projectileHolder[_local2]._x, projectileHolder[_local2]._y);
}
}
} else if (enemyHolder[_local3].hitTest(projectileHolder[_local2]._x, projectileHolder[_local2]._y, true)) {
enemyHolder[_local3].hit(projectileHolder[_local2].damage);
projectileHolder[_local2].removeMovieClip();
}
}
}
} else {
enemyHolder[_local3].swapDepths((3 + ((enemyHolder[_local3]._y - 5) * 1000)) + (enemyHolder[_local3]._x * 100));
}
}
}
if (coin.hitTest(juda._x, juda._y, true)) {
addSoundEffect("moneySound");
addScoreText(Math.round(Math.random() * 99) + 1, juda._x, juda._y - 50);
coin._x = (Math.random() * 450) + 25;
coin._y = (Math.random() * 400) + 75;
while (coin.hitTest(temple)) {
coin._x = (Math.random() * 450) + 25;
coin._y = (Math.random() * 400) + 75;
}
}
}
if (bPaused) {
hud.buttonPause.gotoAndStop(2);
} else {
hud.buttonPause.gotoAndStop(1);
}
};
onMouseDown = function () {
shooting = true;
};
onMouseUp = function () {
shooting = false;
};
hud.buttonPause.onPress = function () {
if (levelStarted) {
pauseScreen();
var _local1 = "";
for (_local1 in enemyHolder) {
enemyHolder[_local1].legs.gotoAndStop(1);
}
}
};
hud.buttonQuality.onPress = function () {
if (_quality == "HIGH") {
_quality = "LOW";
} else if (_quality == "MEDIUM") {
_quality = "HIGH";
} else {
_quality = "MEDIUM";
}
};
hud.buttonMusic.onPress = function () {
if (hud.buttonMusic._currentframe == 1) {
MusicFile.clear();
MusicFile.stop();
hud.buttonMusic.gotoAndStop(2);
} else {
playMusic();
hud.buttonMusic.gotoAndStop(1);
}
};
Frame 220
juda.removeMovieClip();
temple.removeMovieClip();
hud.removeMovieClip();
projectileHolder.removeMovieClip();
enemyHolder.removeMovieClip();
textPlusHolder.removeMovieClip();
coin.removeMovieClip();
cloud.removeMovieClip();
stopAllSounds();
bigButton.onPress = function () {
gotoAndStop ("menu");
};
_quality = "HIGH";
Frame 221
bigButton.onPress = function () {
gotoAndStop ("menu");
};
_quality = "HIGH";
Symbol 53 MovieClip [enemy13] Frame 1
#initclip 22
Object.registerClass("enemy13", EnemyType);
#endinitclip
stop();
Symbol 53 MovieClip [enemy13] Frame 26
this.removeMovieClip();
Symbol 53 MovieClip [enemy13] Frame 32
this.removeMovieClip();
Symbol 112 MovieClip [enemy12] Frame 1
#initclip 6
Object.registerClass("enemy12", EnemyType);
#endinitclip
stop();
Symbol 112 MovieClip [enemy12] Frame 44
this.removeMovieClip();
Symbol 112 MovieClip [enemy12] Frame 50
this.removeMovieClip();
Symbol 142 MovieClip [enemy24] Frame 1
#initclip 7
Object.registerClass("enemy24", EnemyType);
#endinitclip
stop();
Symbol 142 MovieClip [enemy24] Frame 21
this.removeMovieClip();
Symbol 142 MovieClip [enemy24] Frame 27
this.removeMovieClip();
Symbol 175 MovieClip [enemy23] Frame 1
#initclip 8
Object.registerClass("enemy23", EnemyType);
#endinitclip
stop();
Symbol 175 MovieClip [enemy23] Frame 21
this.removeMovieClip();
Symbol 175 MovieClip [enemy23] Frame 27
this.removeMovieClip();
Symbol 205 MovieClip [enemy22] Frame 1
#initclip 9
Object.registerClass("enemy22", EnemyType);
#endinitclip
stop();
Symbol 205 MovieClip [enemy22] Frame 21
this.removeMovieClip();
Symbol 205 MovieClip [enemy22] Frame 27
this.removeMovieClip();
Symbol 253 MovieClip [enemy21] Frame 1
#initclip 10
Object.registerClass("enemy21", EnemyType);
#endinitclip
stop();
Symbol 253 MovieClip [enemy21] Frame 29
this.removeMovieClip();
Symbol 253 MovieClip [enemy21] Frame 35
this.removeMovieClip();
Symbol 331 MovieClip [enemy34] Frame 1
#initclip 11
Object.registerClass("enemy34", EnemyType);
#endinitclip
stop();
Symbol 331 MovieClip [enemy34] Frame 50
this.removeMovieClip();
Symbol 331 MovieClip [enemy34] Frame 56
this.removeMovieClip();
Symbol 378 MovieClip [enemy33] Frame 1
#initclip 12
Object.registerClass("enemy33", EnemyType);
#endinitclip
stop();
Symbol 378 MovieClip [enemy33] Frame 33
this.removeMovieClip();
Symbol 378 MovieClip [enemy33] Frame 39
this.removeMovieClip();
Symbol 431 MovieClip [enemy32] Frame 1
#initclip 13
Object.registerClass("enemy32", EnemyType);
#endinitclip
stop();
Symbol 431 MovieClip [enemy32] Frame 20
this.removeMovieClip();
Symbol 431 MovieClip [enemy32] Frame 26
this.removeMovieClip();
Symbol 466 MovieClip [enemy31] Frame 1
#initclip 14
Object.registerClass("enemy31", EnemyType);
#endinitclip
stop();
Symbol 466 MovieClip [enemy31] Frame 20
this.removeMovieClip();
Symbol 466 MovieClip [enemy31] Frame 26
this.removeMovieClip();
Symbol 496 MovieClip [enemy11] Frame 1
#initclip 15
Object.registerClass("enemy11", EnemyType);
#endinitclip
stop();
Symbol 496 MovieClip [enemy11] Frame 20
this.removeMovieClip();
Symbol 496 MovieClip [enemy11] Frame 26
this.removeMovieClip();
Symbol 504 MovieClip [bloodSpurt] Frame 1
this._rotation = Math.random() * 360;
_yscale = 43;
_xscale = 43;
_y = (_y - ((Math.random() * 30) + 5));
Symbol 504 MovieClip [bloodSpurt] Frame 8
this.removeMovieClip();
Symbol 506 MovieClip [projectileTWO] Frame 1
#initclip 16
Object.registerClass("projectileTWO", Projectile);
#endinitclip
Symbol 508 MovieClip [projectileFIVE] Frame 1
#initclip 17
Object.registerClass("projectileFIVE", Projectile);
#endinitclip
Symbol 510 MovieClip [projectileFOUR] Frame 1
#initclip 18
Object.registerClass("projectileFOUR", Projectile);
#endinitclip
Symbol 511 MovieClip [projectileTHREE] Frame 1
#initclip 19
Object.registerClass("projectileTHREE", Projectile);
#endinitclip
Symbol 512 MovieClip [projectileONE] Frame 1
#initclip 20
Object.registerClass("projectileONE", Projectile);
#endinitclip
Symbol 515 MovieClip [shell3] Frame 1
stop();
Symbol 515 MovieClip [shell3] Frame 15
this.removeMovieClip();
Symbol 518 MovieClip [shell5] Frame 1
stop();
Symbol 518 MovieClip [shell5] Frame 15
this.removeMovieClip();
Symbol 521 MovieClip [shell4] Frame 1
stop();
Symbol 521 MovieClip [shell4] Frame 15
this.removeMovieClip();
Symbol 524 MovieClip [shell2] Frame 1
stop();
Symbol 524 MovieClip [shell2] Frame 15
this.removeMovieClip();
Symbol 525 MovieClip [shell1] Frame 1
stop();
Symbol 525 MovieClip [shell1] Frame 15
this.removeMovieClip();
Symbol 553 MovieClip Frame 1
var cost = 0;
var weapon = 0;
var mod = 0;
var level = 0;
var waitTime = 2;
onEnterFrame = function () {
if (waitTime > 0) {
waitTime--;
} else if (weapon != null) {
if (_root["saveWep" + (weapon + 1)].charAt(2 + mod) >= (level + 1)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
} else if ((_root.juda.speed >= newLevel) && (newLevel != null)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
bButton.onPress = function () {
if (weapon != null) {
if (((_root.shekels >= cost) && (_root["saveWep" + (weapon + 1)].charAt(2 + mod) >= level)) && (_root["saveWep" + (weapon + 1)].charAt(1) == "1")) {
_root.shekels = _root.shekels - cost;
splicer = _root["saveWep" + (weapon + 1)].slice(0, mod + 2);
splicer2 = _root["saveWep" + (weapon + 1)].slice(mod + 3);
_root["saveWep" + (weapon + 1)] = (splicer + (level + 1)) + splicer2;
_parent.purchased._visible = true;
_root.addSoundEffect("moneySound");
_root.hud.shekels = _root.shekels;
gotoAndStop (2);
}
} else if (newLevel != null) {
if ((_root.shekels >= cost) && ((_root.juda.speed + 0.5) == newLevel)) {
_root.juda.speed = newLevel;
_root.speedCount = newLevel;
_root.shekels = _root.shekels - cost;
_root.addSoundEffect("moneySound");
_root.hud.shekels = _root.shekels;
gotoAndStop (2);
}
} else if ((_root.shekels >= cost) && (_root.templeHealth < 100)) {
_root.templeHealth = _root.templeHealth + templeUp;
if (_root.templeHealth > 100) {
_root.templeHealth = 100;
}
_root.shekels = _root.shekels - cost;
_root.addSoundEffect("moneySound");
_root.hud.shekels = _root.shekels;
_root.hud.damage = (100 - _root.templeHealth) + "%";
_root.temple.structure.gotoAndStop(Math.ceil((101 - _root.templeHealth) / 10));
}
};
stop();
Symbol 553 MovieClip Frame 2
stop();
Symbol 559 MovieClip Frame 1
bButton.onPress = function () {
if (_root.shekels >= cost) {
_root.shekels = _root.shekels - cost;
splicer = _root["saveWep" + cWep].slice(0, 1);
splicer2 = _root["saveWep" + cWep].slice(2);
_root["saveWep" + cWep] = (splicer + "1") + splicer2;
_visible = false;
_parent.purchased._visible = true;
_root.addSoundEffect("moneySound");
_root.hud.shekels = _root.shekels;
}
};
Symbol 574 MovieClip Frame 1
function speedUps() {
box10.cost = 500;
box10.weapon = null;
box10.mod = null;
box10.level = null;
box10.newLevel = 2.5;
box11.cost = 1500;
box11.weapon = null;
box11.mod = null;
box11.level = null;
box11.newLevel = 3;
box12.cost = 3000;
box12.weapon = null;
box12.mod = null;
box12.level = null;
box12.newLevel = 3.5;
box15.cost = 500;
box15.weapon = null;
box15.mod = null;
box15.level = null;
box15.newLevel = null;
box15.templeUp = 15;
box16.cost = 1000;
box16.weapon = null;
box16.mod = null;
box16.level = null;
box16.newLevel = null;
box16.templeUp = 40;
box17.cost = 2000;
box17.weapon = null;
box17.mod = null;
box17.level = null;
box17.newLevel = null;
box17.templeUp = 100;
}
forwardArrow.onPress = function () {
gotoAndStop(_currentframe + 1);
};
stop();
if (_root["saveWep" + _currentframe].charAt(1) == 1) {
purchased._visible = true;
buyOption._visible = false;
} else {
purchased._visible = false;
buyOption._visible = true;
}
onEnterFrame = function () {
speedUps();
box1.cost = 300;
box1.weapon = 0;
box1.mod = 1;
box1.level = 0;
box2.cost = 700;
box2.weapon = 0;
box2.mod = 1;
box2.level = 1;
box3.cost = 2000;
box3.weapon = 0;
box3.mod = 1;
box3.level = 2;
box4.cost = 400;
box4.weapon = 0;
box4.mod = 0;
box4.level = 0;
box5.cost = 1200;
box5.weapon = 0;
box5.mod = 0;
box5.level = 1;
box6.cost = 2300;
box6.weapon = 0;
box6.mod = 0;
box6.level = 2;
box7.cost = 450;
box7.weapon = 0;
box7.mod = 2;
box7.level = 0;
box8.cost = 1500;
box8.weapon = 0;
box8.mod = 2;
box8.level = 1;
box9.cost = 3000;
box9.weapon = 0;
box9.mod = 2;
box9.level = 2;
};
Symbol 574 MovieClip Frame 2
forwardArrow.onPress = function () {
gotoAndStop(_currentframe + 1);
};
reverseArrow.onPress = function () {
gotoAndStop(_currentframe - 1);
};
if (_root["saveWep" + _currentframe].charAt(1) == 1) {
purchased._visible = true;
buyOption._visible = false;
} else {
purchased._visible = false;
buyOption._visible = true;
}
buyOption.cost = 2000;
buyOption.cWep = _currentframe;
onEnterFrame = function () {
speedUps();
box1.cost = 350;
box1.weapon = 1;
box1.mod = 1;
box1.level = 0;
box2.cost = 1000;
box2.weapon = 1;
box2.mod = 1;
box2.level = 1;
box3.cost = 2400;
box3.weapon = 1;
box3.mod = 1;
box3.level = 2;
box4.cost = 500;
box4.weapon = 1;
box4.mod = 0;
box4.level = 0;
box5.cost = 2000;
box5.weapon = 1;
box5.mod = 0;
box5.level = 1;
box6.cost = 3500;
box6.weapon = 1;
box6.mod = 0;
box6.level = 2;
box7.cost = 600;
box7.weapon = 1;
box7.mod = 2;
box7.level = 0;
box8.cost = 2500;
box8.weapon = 1;
box8.mod = 2;
box8.level = 1;
box9.cost = 4000;
box9.weapon = 1;
box9.mod = 2;
box9.level = 2;
};
Symbol 574 MovieClip Frame 3
forwardArrow.onPress = function () {
gotoAndStop(_currentframe + 1);
};
reverseArrow.onPress = function () {
gotoAndStop(_currentframe - 1);
};
if (_root["saveWep" + _currentframe].charAt(1) == 1) {
purchased._visible = true;
buyOption._visible = false;
} else {
purchased._visible = false;
buyOption._visible = true;
}
buyOption.cost = 2500;
buyOption.cWep = _currentframe;
onEnterFrame = function () {
speedUps();
box1.cost = 250;
box1.weapon = 2;
box1.mod = 1;
box1.level = 0;
box2.cost = 1100;
box2.weapon = 2;
box2.mod = 1;
box2.level = 1;
box3.cost = 2500;
box3.weapon = 2;
box3.mod = 1;
box3.level = 2;
box4.cost = 300;
box4.weapon = 2;
box4.mod = 0;
box4.level = 0;
box5.cost = 1300;
box5.weapon = 2;
box5.mod = 0;
box5.level = 1;
box6.cost = 2800;
box6.weapon = 2;
box6.mod = 0;
box6.level = 2;
box7.cost = 500;
box7.weapon = 2;
box7.mod = 2;
box7.level = 0;
box8.cost = 2800;
box8.weapon = 2;
box8.mod = 2;
box8.level = 1;
box9.cost = 4500;
box9.weapon = 2;
box9.mod = 2;
box9.level = 2;
};
Symbol 574 MovieClip Frame 4
forwardArrow.onPress = function () {
gotoAndStop(_currentframe + 1);
};
reverseArrow.onPress = function () {
gotoAndStop(_currentframe - 1);
};
if (_root["saveWep" + _currentframe].charAt(1) == 1) {
purchased._visible = true;
buyOption._visible = false;
} else {
purchased._visible = false;
buyOption._visible = true;
}
buyOption.cost = 3000;
buyOption.cWep = _currentframe;
onEnterFrame = function () {
speedUps();
box1.cost = 500;
box1.weapon = 3;
box1.mod = 1;
box1.level = 0;
box2.cost = 1800;
box2.weapon = 3;
box2.mod = 1;
box2.level = 1;
box3.cost = 2900;
box3.weapon = 3;
box3.mod = 1;
box3.level = 2;
box4.cost = 750;
box4.weapon = 3;
box4.mod = 0;
box4.level = 0;
box5.cost = 2000;
box5.weapon = 3;
box5.mod = 0;
box5.level = 1;
box6.cost = 3500;
box6.weapon = 3;
box6.mod = 0;
box6.level = 2;
box7.cost = 550;
box7.weapon = 3;
box7.mod = 2;
box7.level = 0;
box8.cost = 3000;
box8.weapon = 3;
box8.mod = 2;
box8.level = 1;
box9.cost = 5000;
box9.weapon = 3;
box9.mod = 2;
box9.level = 2;
};
Symbol 574 MovieClip Frame 5
reverseArrow.onPress = function () {
gotoAndStop(_currentframe - 1);
};
if (_root["saveWep" + _currentframe].charAt(1) == 1) {
purchased._visible = true;
buyOption._visible = false;
} else {
purchased._visible = false;
buyOption._visible = true;
}
buyOption.cost = 4000;
buyOption.cWep = _currentframe;
onEnterFrame = function () {
speedUps();
box1.cost = 500;
box1.weapon = 4;
box1.mod = 1;
box1.level = 0;
box2.cost = 2000;
box2.weapon = 4;
box2.mod = 1;
box2.level = 1;
box3.cost = 4000;
box3.weapon = 4;
box3.mod = 1;
box3.level = 2;
box4.cost = 700;
box4.weapon = 4;
box4.mod = 0;
box4.level = 0;
box5.cost = 1500;
box5.weapon = 4;
box5.mod = 0;
box5.level = 1;
box6.cost = 3000;
box6.weapon = 4;
box6.mod = 0;
box6.level = 2;
box7.cost = 1000;
box7.weapon = 4;
box7.mod = 2;
box7.level = 0;
box8.cost = 3000;
box8.weapon = 4;
box8.mod = 2;
box8.level = 1;
box9.cost = 6000;
box9.weapon = 4;
box9.mod = 2;
box9.level = 2;
};
Symbol 576 MovieClip [leveledScreen] Frame 1
arrowButton.onPress = function () {
_root.wepClass.setBasicWep(_root["saveWep" + _root.equippedWeapon]);
_root.clip = _root.magSize;
_root.wepClass.reloadAllGuns();
_root.loadShells("shell" + _root.equippedWeapon, _root.clip);
_root.waveClass.setLevelWave(_root.waveClass.allLevelWaves[_root.wave - 1]);
_root.waveTime = (_root.wave * 30) + 600;
_root.beginGame();
_root.leveledScreen.removeMovieClip();
};
_root.hud.reloadBAR._visible = false;
_root.SCsaveWep1 = _root.saveWep1;
_root.SCsaveWep2 = _root.saveWep2;
_root.SCsaveWep3 = _root.saveWep3;
_root.SCsaveWep4 = _root.saveWep4;
_root.SCsaveWep5 = _root.saveWep5;
_root.SCsaveWep6 = _root.saveWep6;
_root.SCtempleHealth = _root.templeHealth;
_root.SCshekels = _root.shekels;
_root.SCspeedCount = _root.speedCount;
_root.SCscoreBox = _root.scoreBox;
scoreBox = _root.scoreBox;
arrowButton2.onPress = function () {
_root.saveGame(true);
};
Symbol 583 MovieClip [lostScreen] Frame 1
arrowButton.onPress = function () {
_root.bPaused = false;
_root.levelScreen();
_root.reloadC = 0;
_root.reloadTime = 0;
_root.scoreBox = _root.SCscoreBox;
_root.saveWep1 = _root.SCsaveWep1;
_root.saveWep2 = _root.SCsaveWep2;
_root.saveWep3 = _root.SCsaveWep3;
_root.saveWep4 = _root.SCsaveWep4;
_root.saveWep5 = _root.SCsaveWep5;
_root.saveWep6 = _root.SCsaveWep6;
_root.templeHealth = _root.SCtempleHealth;
_root.shekels = _root.SCshekels;
_root.displayHUD();
_root.lostScreen.removeMovieClip();
};
arrowButton2.onPress = function () {
_root.saveGame(false);
};
arrowButton3.onPress = function () {
_root.bPaused = false;
_root.reloadC = 0;
_root.reloadTime = 0;
_root.clearScreen();
_root.juda.removeMovieClip();
_root.temple.removeMovieClip();
_root.hud.removeMovieClip();
_root.projectileHolder.removeMovieClip();
_root.enemyHolder.removeMovieClip();
_root.textPlusHolder.removeMovieClip();
_root.coin.removeMovieClip();
_root.clearLostScreen();
};
Symbol 586 MovieClip [pausedScreen] Frame 1
arrowButton.onPress = function () {
_root.bPaused = false;
var _local2 = "";
for (_local2 in _root.enemyHolder) {
_root.enemyHolder[_local2].legs.play();
}
_root.pausedScreen.removeMovieClip();
};
Symbol 596 MovieClip [levelStartScreen] Frame 27
_root.addSoundEffect("hit3");
Symbol 596 MovieClip [levelStartScreen] Frame 46
currentLevel = _root.wave;
Symbol 596 MovieClip [levelStartScreen] Frame 50
_root.addSoundEffect("hit3");
Symbol 596 MovieClip [levelStartScreen] Frame 73
_root.addSoundEffect("hit3");
Symbol 596 MovieClip [levelStartScreen] Frame 89
_root.bPaused = false;
_root.levelStarted = true;
_root.hud.reloadBAR._visible = true;
this.removeMovieClip();
Symbol 604 MovieClip [coinPlus] Frame 1
coinPlus = "+" + randPlus;
coinPlus2 = "+" + randPlus;
_root.shekels = _root.shekels + randPlus;
_root.scoreBox = _root.scoreBox + randPlus;
Symbol 604 MovieClip [coinPlus] Frame 16
this.removeMovieClip();
Symbol 613 MovieClip [rocketExplosion] Frame 9
this.removeMovieClip();
Symbol 626 MovieClip Frame 1
stop();
Instance of Symbol 626 MovieClip "structure" in Symbol 627 MovieClip [templeStructure] Frame 1
onClipEvent (enterFrame) {
if (_parent._name != "temple") {
this.gotoAndStop(_root.temple.structure._currentframe);
}
}
Symbol 654 MovieClip [Juda] Frame 1
#initclip 21
Object.registerClass("Juda", Juda);
#endinitclip
Symbol 656 MovieClip Frame 1
stop();
Symbol 656 MovieClip Frame 2
stop();
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 657 MovieClip [preloaderexplosion] Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y + yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Symbol 668 MovieClip Frame 100
stop();
Symbol 772 MovieClip [__Packages.EnemyType] Frame 0
class EnemyType extends MovieClip
{
var _y, _x, swapDepths, attachMovie, gotoAndPlay;
function EnemyType () {
super();
randomPlacement();
placementPoint = {x:0, y:0};
arm.localToGlobal(placementPoint);
radians = Math.atan2((_root.temple._y - 25) - placementPoint.y, _root.temple._x - placementPoint.x);
rotation = (radians * 180) / Math.PI;
arm._rotation = rotation;
xSpeed = Math.cos((Math.PI/180) * rotation);
ySpeed = Math.sin((Math.PI/180) * rotation);
distFromTemple = Math.sqrt(Math.pow(_x - _root.temple._x, 2) + Math.pow(_y - _root.temple._y, 2)) - 30;
placeHead(rotation);
}
function act() {
swapDepths((idNum + (_y * 1000)) + (_x * 100));
if (health > 0) {
movement();
turns++;
if (testHit()) {
hitTemple();
}
}
}
function hit(dam) {
health = health - dam;
spurt();
if (health <= 0) {
die();
}
}
function spurt() {
attachMovie("bloodSpurt", "blood" + bloods, bloods + 1000);
}
function movement() {
_x = _x + (xSpeed * speed);
_y = _y + (ySpeed * speed);
}
function hitTemple() {
(gotoAndPlay("hitTemple"));// not popped
_root.templeHealth = _root.templeHealth - damage;
health = 0;
}
function die() {
(gotoAndPlay("dead"));// not popped
_root.addScoreText(score, _x, _y - 40);
_root.addSoundEffect("hit" + hitSoundNum);
}
function testHit() {
if ((distFromTemple - (turns * speed)) <= 0) {
return(true);
}
return(false);
}
function randomPlacement() {
if (Math.random() > 0.5) {
_y = Math.random() * 500;
if (Math.random() > 0.5) {
_x = 520;
} else {
_x = -20;
}
} else {
_x = Math.random() * 500;
if (Math.random() > 0.5) {
_y = 550;
} else {
_y = -20;
}
}
}
function placeHead(rot) {
if ((rot > 22) && (rot < 67)) {
head.gotoAndStop("downright");
} else if ((rot > 67) && (rot < 112)) {
head.gotoAndStop("down");
} else if ((rot > 112) && (rot < 157)) {
head.gotoAndStop("downleft");
} else if ((rot > 157) && (rot < 202)) {
head.gotoAndStop("left");
} else if ((rot > 202) && (rot < 247)) {
head.gotoAndStop("upleft");
} else if ((rot > 247) && (rot < 292)) {
head.gotoAndStop("up");
} else if ((rot > 292) && (rot < 337)) {
head.gotoAndStop("upright");
} else {
head.gotoAndStop("right");
}
}
var speed = 0;
var xSpeed = 0;
var ySpeed = 0;
var health = 0;
var damage = 0;
var score = 0;
var rotation = 0;
var distFromTemple = 0;
var turns = 0;
var radians = 0;
var placementPoint = {x:0, y:0};
var bloods = 0;
var hitSoundNum = 0;
var idNum = 0;
var arm = null;
var head = null;
var legs = null;
}
Symbol 773 MovieClip [__Packages.Projectile] Frame 0
class Projectile extends MovieClip
{
var _rotation, _x, _y, removeMovieClip;
function Projectile () {
super();
}
function setProperties(xpos, ypos, spd, dmg, rot, codec, wT) {
_rotation = rot + 90;
_x = xpos;
_y = ypos;
speed = spd;
damage = dmg;
xSpeed = speed * Math.cos((Math.PI/180) * rot);
ySpeed = speed * Math.sin((Math.PI/180) * rot);
id = codec;
weaponType = wT;
}
function act() {
_x = _x + xSpeed;
_y = _y + ySpeed;
if ((((_x > Stage.width) || (_x < 0)) || (_y < 0)) || (_y > Stage.height)) {
removeMovieClip();
}
}
var speed = 0;
var damage = 0;
var xSpeed = 0;
var ySpeed = 0;
var id = 0;
var weaponType = 0;
var rocket = false;
}
Symbol 774 MovieClip [__Packages.Juda] Frame 0
class Juda extends MovieClip
{
var _x, _y;
function Juda () {
super();
head.swapDepths(50);
rightarm.swapDepths(10);
leftarm.swapDepths(20);
if (_root.speedCount > 0) {
speed = _root.speedCount;
}
}
function act() {
if (!_root.bPaused) {
rotateArms();
testMovement();
slicer = _root["saveWep" + _root.equippedWeapon].slice(0, 6);
_root["saveWep" + _root.equippedWeapon] = slicer + _root.clip;
} else {
legs.gotoAndStop(1);
}
}
function rotateArms() {
if ((Key.isDown(70) || (Key.isDown(96))) && (waitSwitch == 0)) {
waitSwitch = 5;
if (_root.equippedWeapon == 5) {
_root.equippedWeapon = 1;
} else {
_root.equippedWeapon++;
}
while (_root["saveWep" + _root.equippedWeapon].charAt(1) != 1) {
if (_root.equippedWeapon == 5) {
_root.equippedWeapon = 1;
} else {
_root.equippedWeapon++;
}
}
_root.wepClass.setBasicWep(_root["saveWep" + _root.equippedWeapon]);
_root.clip = _root["saveWep" + _root.equippedWeapon].slice(6);
_root.loadShells("shell" + _root.equippedWeapon, _root.clip);
_root.fireIteration = 0;
} else if (waitSwitch > 0) {
waitSwitch--;
}
var _local3 = {x:0, y:0};
leftarm.localToGlobal(_local3);
var _local4 = {x:0, y:0};
rightarm.localToGlobal(_local4);
myRadians = Math.atan2(_root._ymouse - _local3.y, _root._xmouse - _local3.x);
myDegrees = (myRadians * 180) / Math.PI;
leftarm._rotation = myDegrees;
leftarm.gotoAndStop(_root.equippedWeapon);
rightarm.gotoAndStop(_root.equippedWeapon);
rightarm._rotation = leftarm._rotation;
rot = rightarm._rotation;
if (rot < 0) {
rot = rot + 360;
}
if ((rot > 22) && (rot < 67)) {
head.gotoAndStop("downright");
} else if ((rot > 67) && (rot < 112)) {
head.gotoAndStop("down");
} else if ((rot > 112) && (rot < 157)) {
head.gotoAndStop("downleft");
} else if ((rot > 157) && (rot < 202)) {
head.gotoAndStop("left");
} else if ((rot > 202) && (rot < 247)) {
head.gotoAndStop("upleft");
} else if ((rot > 247) && (rot < 292)) {
head.gotoAndStop("up");
} else if ((rot > 292) && (rot < 337)) {
head.gotoAndStop("upright");
} else {
head.gotoAndStop("right");
}
}
function testMovement() {
prevX = _x;
prevY = _y;
if (((Key.isDown(39) || (Key.isDown(68))) && (_x < (Stage.width - 10))) && (!_root.temple.blankspot.hitTest(_x + (speed * 3), _y, true))) {
_x = _x + speed;
}
if (((Key.isDown(37) || (Key.isDown(65))) && (_x > 10)) && (!_root.temple.blankspot.hitTest(_x - (speed * 3), _y, true))) {
_x = _x - speed;
}
if (((Key.isDown(38) || (Key.isDown(87))) && (_y > 80)) && (!_root.temple.blankspot.hitTest(_x, _y - (speed * 3), true))) {
_y = _y - speed;
}
if (((Key.isDown(40) || (Key.isDown(83))) && (_y < (Stage.height - 5))) && (!_root.temple.blankspot.hitTest(_x, _y + (speed * 3), true))) {
_y = _y + speed;
}
if ((prevX != _x) || (prevY != _y)) {
legs.play();
} else {
legs.gotoAndStop(1);
}
}
function shoot() {
_root.addSoundEffect("soundProjectile" + _root.weaponAttach);
lPoint = {x:_root.armLength, y:0};
leftarm.localToGlobal(lPoint);
if (_root.equippedWeapon != 3) {
_root.projectileHolder.attachMovie("projectile" + _root.weaponAttach, "projectile" + _root.projectiles, _root.projectiles + 100);
_root.projectileHolder["projectile" + _root.projectiles].setProperties(lPoint.x, lPoint.y, _root.weaponSpeed, _root.shellDamage, rightarm._rotation + (((_root.recoil * 2) * Math.random()) - _root.recoil), _root.projectiles, _root.equippedWeapon);
if (_root.projectiles > 50) {
_root.projectiles = 0;
} else {
_root.projectiles++;
}
} else {
var _local3 = 0;
while (_local3 < 6) {
_root.projectileHolder.attachMovie("projectile" + _root.weaponAttach, "projectile" + _root.projectiles, _root.projectiles + 100);
_root.projectileHolder["projectile" + _root.projectiles].setProperties(lPoint.x, lPoint.y, _root.weaponSpeed, _root.shellDamage, rightarm._rotation + ((_local3 - 3) * 4), _root.projectiles, _root.equippedWeapon);
if (_root.projectiles > 50) {
_root.projectiles = 0;
} else {
_root.projectiles++;
}
_local3++;
}
}
if (_root.equippedWeapon == 2) {
rPoint = {x:_root.armLength, y:0};
rightarm.localToGlobal(rPoint);
_root.projectileHolder.attachMovie("projectile" + _root.weaponAttach, "projectile" + _root.projectiles, _root.projectiles + 100);
_root.projectileHolder["projectile" + _root.projectiles].setProperties(rPoint.x, rPoint.y, _root.weaponSpeed, 20, rightarm._rotation + (((_root.recoil * 2) * Math.random()) - _root.recoil));
if (_root.projectiles > 50) {
_root.projectiles = 0;
} else {
_root.projectiles++;
}
}
}
var waitSwitch = 0;
var rightarm = null;
var leftarm = null;
var head = null;
var legs = null;
var rot = 0;
var myRadians = 0;
var myDegrees = 0;
var prevX = 0;
var prevY = 0;
var speed = 2;
var lPoint = {x:0, y:0};
var rPoint = {x:0, y:0};
var slicer = "";
}
Symbol 775 MovieClip [__Packages.WeaponClass] Frame 0
class WeaponClass
{
function WeaponClass () {
UpgradesArray = [[[20, 30, 40, 50], [12, 15, 20, 25], [12, 10, 8, 6]], [[4, 8, 14, 22], [26, 34, 40, 46], [6, 5, 4, 3]], [[15, 30, 40, 50], [7, 9, 12, 14], [32, 29, 26, 24]], [[80, 120, 160, 200], [8, 14, 20, 26], [16, 13, 10, 8]], [[20, 30, 40, 50], [4, 6, 8, 10], [30, 26, 22, 18]]];
}
function reloadAllGuns() {
var _local3 = 1;
while (_local3 <= 5) {
splicer = _root["saveWep" + _local3].slice(0, 6);
_root["saveWep" + _local3] = splicer + UpgradesArray[_local3 - 1][1][_root["saveWep" + _local3].charAt(3)];
_local3++;
}
}
function setPresets(rOF, wS, aL, mS, wA, rT, r, sD) {
_root.rateOfFire = rOF;
_root.weaponSpeed = wS;
_root.armLength = aL;
_root.magSize = mS;
_root.weaponAttach = wA;
_root.reloadTime = rT;
_root.recoil = r;
_root.shellDamage = sD;
}
function setBasicWep(wep) {
if (wep.charAt(0) == 1) {
setPresets(UpgradesArray[0][2][wep.charAt(4)], 12, 400, UpgradesArray[0][1][wep.charAt(3)], "ONE", 40, 3, UpgradesArray[0][0][wep.charAt(2)]);
} else if (wep.charAt(0) == 2) {
setPresets(UpgradesArray[1][2][wep.charAt(4)], 11, 350, UpgradesArray[1][1][wep.charAt(3)], "TWO", 50, 10, UpgradesArray[1][0][wep.charAt(2)]);
} else if (wep.charAt(0) == 3) {
setPresets(UpgradesArray[2][2][wep.charAt(4)], 10, 500, UpgradesArray[2][1][wep.charAt(3)], "THREE", 55, 0, UpgradesArray[2][0][wep.charAt(2)]);
} else if (wep.charAt(0) == 4) {
setPresets(UpgradesArray[3][2][wep.charAt(4)], 18, 500, UpgradesArray[3][1][wep.charAt(3)], "FOUR", 45, 1, UpgradesArray[3][0][wep.charAt(2)]);
} else if (wep.charAt(0) == 5) {
setPresets(UpgradesArray[4][2][wep.charAt(4)], 10, 750, UpgradesArray[4][1][wep.charAt(3)], "FIVE", 60, 1, UpgradesArray[4][0][wep.charAt(2)]);
}
}
var UpgradesArray = new Array();
var splicer = "";
}
Symbol 776 MovieClip [__Packages.Wave] Frame 0
class Wave
{
function Wave () {
allLevelWaves = [[40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [40, 0, 0, 60, 0, 0, 0, 0, 0, 0, 0], [40, 0, 0, 40, 0, 0, 0, 0, 0, 0, 0], [30, 0, 0, 0, 0, 0, 0, 0, 150, 0, 0], [15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [40, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0], [65, 65, 0, 70, 0, 0, 0, 0, 0, 0, 0], [40, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0], [30, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0], [0, 50, 0, 30, 0, 0, 0, 0, 0, 0, 0], [0, 50, 0, 50, 0, 0, 0, 50, 0, 0, 0], [0, 45, 0, 0, 45, 0, 0, 0, 0, 0, 0], [40, 0, 0, 0, 50, 0, 0, 55, 0, 0, 0], [0, 50, 0, 0, 0, 0, 0, 0, 0, 0, 120], [0, 0, 0, 0, 40, 0, 0, 0, 40, 0, 0], [0, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 50, 0, 30, 0, 0, 0, 0, 0, 0], [0, 70, 0, 0, 70, 0, 0, 0, 80, 0, 0], [8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 40, 0, 0, 0, 40, 0, 0, 0, 0, 0], [0, 0, 40, 0, 0, 40, 0, 0, 0, 0, 0], [0, 0, 50, 0, 0, 50, 0, 60, 0, 0, 0], [0, 0, 55, 0, 0, 55, 0, 0, 0, 50, 0], [0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 60], [0, 50, 0, 0, 0, 0, 70, 0, 80, 0, 0], [0, 0, 50, 0, 0, 0, 65, 0, 0, 0, 0], [0, 0, 60, 0, 0, 0, 65, 0, 0, 65, 0], [0, 0, 60, 0, 0, 65, 0, 0, 0, 0, 65], [0, 0, 50, 0, 0, 0, 55, 0, 0, 0, 60]];
}
function setLevelWave(tempArray) {
enemyDensitiesSetters = tempArray;
}
function act() {
if (_root.waveTime > 0) {
var _local3 = 0;
while (_local3 <= 10) {
if (enemyDensitiesSetters[_local3] != 0) {
if (enemyDensitiesTimers[_local3] > 0) {
enemyDensitiesTimers[_local3]--;
} else {
enemyDensitiesTimers[_local3] = (enemyDensitiesSetters[_local3] + Math.round(Math.random() * 4)) - 2;
if (_local3 <= 2) {
enemyType = 1;
} else if (_local3 <= 6) {
enemyType = 2;
} else {
enemyType = 3;
}
if (((_local3 == 0) || (_local3 == 3)) || (_local3 == 7)) {
enemyLevel = 1;
} else if (((_local3 == 1) || (_local3 == 4)) || (_local3 == 8)) {
enemyLevel = 2;
} else if (((_local3 == 2) || (_local3 == 5)) || (_local3 == 9)) {
enemyLevel = 3;
} else {
enemyLevel = 4;
}
_root.addEnemy(enemyType, enemyLevel);
}
}
_local3++;
}
}
}
var enemyDensitiesTimers = new Array();
var enemyDensitiesSetters = new Array();
var allLevelWaves = new Array();
var enemyType = 0;
var enemyLevel = 0;
}
Symbol 676 MovieClip Frame 1
stop();
Symbol 678 Button
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 688 MovieClip Frame 1
stop();
Symbol 688 MovieClip Frame 2
stop();
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 688 MovieClip in Symbol 689 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Instance of Symbol 656 MovieClip in Symbol 690 MovieClip Frame 1
onClipEvent (load) {
size = random(100);
_xscale = size;
_yscale = size;
xspeed = random(30) - 15;
yspeed = random(30) - 15;
_alpha = 100;
gotoAndStop(random(2) + 1);
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
this._x = this._x + xspeed;
this._y = this._y - yspeed;
_alpha = (_alpha - 2);
if (_alpha < 0) {
_parent.swapDepths(_parent.getNextHighestDepth());
_parent.removeMovieClip();
}
}
Symbol 695 MovieClip Frame 222
_root.gotoAndPlay(_root._currentframe + 1);
Symbol 707 Button
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 727 MovieClip Frame 1
stop();
Symbol 727 MovieClip Frame 2
stop();
Symbol 730 MovieClip Frame 1
stop();
Symbol 730 MovieClip Frame 2
stop();