Frame 1
function hurt(num) {
_root.player._alpha = 25;
if ((_root.health._currentframe + _root.player.hurt) <= 99) {
_root.playerHealth = _root.playerHealth + num;
_root.health.gotoAndStop(_root.health._currentframe + num);
} else {
_root.health.gotoAndStop(100);
}
}
function healthFull() {
_root.health.gotoAndStop(1);
_root.health.healthText = "100%";
}
function die() {
_root.gotoAndStop("gameOver");
}
function go_1() {
_root.play();
}
function e1Check(e) {
if (e.shootReady) {
e._alpha = 100;
if ((_root.player.hitTest(e.hit2) && (!_root.player.hitTest(e.hit1))) && (e._currentframe < 4)) {
e.gotoAndStop("shoot");
} else if (((!_root.player.hitTest(e.hit2)) && (!_root.player.hitTest(e.hit1))) && (e._currentframe < 4)) {
e.gotoAndStop("stand");
}
if (e.hit1.hitTest(_root.player)) {
e.gotoAndPlay("die");
}
if (_root.player._x < e._x) {
e.dir = 1;
} else {
e.dir = -1;
}
if (e._currentframe < 4) {
e._xscale = 100 * e.dir;
}
if (e.shoot._currentframe == 14) {
_root.attachMovie("eShot-1", "shot-1_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
e.shots.push([_root["shot-1_" + (_root.getNextHighestDepth() - 1)], (_root.enemyShotSpeeds[0] * e.dir) * -1]);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._x = e._x - (30 * e.dir);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._y = e._y - 20;
}
var _local3 = 0;
while (_local3 < e.shots.length) {
e.shots[_local3][0]._x = e.shots[_local3][0]._x + e.shots[_local3][1];
if (e.shots[_local3][0]._x < (-1 * e.shots[_local3][0]._width)) {
removeMovieClip(e.shots[_local3][0]);
e.shots.splice(_local3, 1);
} else if (e.shots[_local3][0]._x > (Stage.width + e.shots[_local3][0]._width)) {
removeMovieClip(e.shots[_local3][0]);
e.shots.splice(_local3, 1);
}
if (e.shots[_local3][0].hitTest(_root.player)) {
_root.hurt(3);
_root.player._alpha = 25;
removeMovieClip(e.shots[_local3][0]);
e.shots.splice(_local3, 1);
}
_local3++;
}
} else {
e._alpha = 0;
}
}
function removePlayerBullets_1() {
while (_root.player.shots_1.length > 0) {
_root.player.shots_1[0][0].removeMovieClip();
_root.player.shots_1.splice(0, 1);
}
}
function removePlayerBullets_2() {
while (_root.player.shots_2.length > 0) {
_root.player.shots_2[0][0].removeMovieClip();
_root.player.shots_2.splice(0, 1);
}
}
function removeEBullets(type) {
var _local3 = 0;
while (_local3 < _root.numEnemies[type - 1]) {
var _local2 = 0;
while (_local2 < _root[(("e_" + type) + "_") + (_local3 + 1)].shots.length) {
_root[(("e_" + type) + "_") + (_local3 + 1)].shots[_local2][0].removeMovieClip();
_local2++;
}
_local3++;
}
}
function removeEnemyType(type) {
var _local2 = 0;
while (_local2 < _root.numEnemies[type - 1]) {
_root[(("e_" + type) + "_") + (_local2 + 1)].removeMovieClip();
_local2++;
}
}
function enemyMoveHor(type, what) {
var _local2 = 0;
while (_local2 < _root.numEnemies[type - 1]) {
_root[(("e_" + type) + "_") + (_local2 + 1)]._x = _root[(("e_" + type) + "_") + (_local2 + 1)]._x - what;
_local2++;
}
}
function enemyMoveVer(type, what) {
var _local2 = 0;
while (_local2 < _root.numEnemies[type - 1]) {
_root[(("e_" + type) + "_") + (_local2 + 1)]._y = _root[(("e_" + type) + "_") + (_local2 + 1)]._y + what;
_local2++;
}
}
function enemyBulletMoveHor(type, what) {
var _local3 = 0;
while (_local3 < _root.numEnemies[type - 1]) {
var _local2 = 0;
while (_local2 < _root[(("e_" + type) + "_") + (_local3 + 1)].shots.length) {
_root[(("e_" + type) + "_") + (_local3 + 1)].shots[_local2][0]._x = _root[(("e_" + type) + "_") + (_local3 + 1)].shots[_local2][0]._x - what;
_local2++;
}
_local3++;
}
}
function enemyBulletMoveVer(type, what) {
var _local3 = 0;
while (_local3 < _root.numEnemies[type - 1]) {
var _local2 = 0;
while (_local2 < _root[(("e_" + type) + "_") + (_local3 + 1)].shots.length) {
_root[(("e_" + type) + "_") + (_local3 + 1)].shots[_local2][0]._y = _root[(("e_" + type) + "_") + (_local3 + 1)].shots[_local2][0]._y + what;
_local2++;
}
_local3++;
}
}
var numEnemies = new Array(0);
var enemyShotSpeeds = new Array(7.5, 7.5);
Stage.showMenu = false;
stop();
Instance of Symbol 49 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root.p == 100) {
gotoAndStop (2);
}
_root.p = Math.round(_root.getBytesLoaded() / (_root.getBytesTotal() / 100));
_rotation = (_rotation + _root.spd);
if ((!Key.isDown(38)) && (!Key.isDown(40))) {
if (_root.spd > 0) {
_root.spd--;
}
if (_root.spd < 0) {
_root.spd++;
}
}
if (Key.isDown(40) && (_root.spd > -10)) {
_root.spd--;
}
if (Key.isDown(38) && (_root.spd < 10)) {
_root.spd++;
}
}
onClipEvent (load) {
_root.spd = 0;
}
Frame 2
sounds.gotoAndStop(2);
var muting = false;
Instance of Symbol 131 MovieClip in Frame 33
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
}
Instance of Symbol 161 MovieClip "swipe" in Frame 49
onClipEvent (load) {
this.gotoAndStop(_totalframes);
}
Frame 50
_quality = "high";
sounds.gotoAndStop(2);
stop();
Instance of Symbol 162 MovieClip in Frame 50
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
}
Frame 51
sounds.gotoAndStop(2);
Frame 52
sounds.gotoAndStop(2);
Frame 53
_root.swipe.play();
_quality = "high";
_root.removeEBullets(1);
_root.playerHealth = 0;
_root.removePlayerBullets_1();
sounds.gotoAndStop(3);
Frame 54
_quality = "medium";
var playerHealth = health._currentframe;
var currentLevel = "level1a";
_root.removeEBullets(1);
sounds.gotoAndStop(3);
Instance of Symbol 390 MovieClip "boss2" in Frame 54
onClipEvent (load) {
var lives = 3;
var hitReady = true;
this.stop();
}
onClipEvent (enterFrame) {
if ((_root.spring3._currentframe == 3) && (hitReady)) {
hitReady = false;
lives--;
_root.bossHealth.gotoAndStop(_root.bossHealth._currentframe + 33);
if (lives > 0) {
this.gotoAndStop(380);
} else {
_root.bossHealth.gotoAndStop(100);
this.gotoAndPlay(381);
}
}
}
Instance of Symbol 392 MovieClip "balls" in Frame 54
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(5);
_alpha = 0;
}
}
Instance of Symbol 411 MovieClip "player" in Frame 54
onClipEvent (load) {
var speed = 0;
var speedTot = 6.5;
var speedInc = 0.5;
var jumpHeight = 0;
var jumpHeightMax = 5;
var fallMax = 9;
var gravity = 1;
var jumping = true;
_root.health.stop();
var dir = 1;
var shots = new Array();
var shotSpeed = 15;
var moveReady = true;
}
onClipEvent (enterFrame) {
_root.bg1._x = _root.bg1._x - speed;
_root.bg2._x = _root.bg2._x - speed;
_root.bg3._x = _root.bg3._x - speed;
_root.fg1._x = _root.fg1._x - speed;
_root.boss1._x = _root.boss1._x - speed;
_root.boss2._x = _root.boss2._x - speed;
_root.mock1._x = _root.mock1._x - speed;
_root.mock2._x = _root.mock2._x - speed;
_root.mock3._x = _root.mock3._x - speed;
_root.spring1._x = _root.spring1._x - speed;
_root.spring2._x = _root.spring2._x - speed;
_root.spring3._x = _root.spring3._x - speed;
_root.door1._x = _root.door1._x - speed;
_root.door2._x = _root.door2._x - speed;
_root.balls._x = _root.balls._x - speed;
if (Key.isDown(39) && (moveReady)) {
if (speed < speedTot) {
speed = speed + speedInc;
}
tread.play();
dir = 1;
} else if (Key.isDown(37) && (moveReady)) {
if (speed > (speedTot * -1)) {
speed = speed - speedInc;
}
tread.play();
dir = -1;
} else if (speed > 0) {
speed = speed - speedInc;
} else if (speed < 0) {
speed = speed + speedInc;
}
if (_root.mock1.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
speed = 3;
}
if (_root.mock1.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
speed = -3;
}
if (speed == 0) {
tread.stop();
}
if (dir == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
if (jumping) {
_root.bg1._y = _root.bg1._y + jumpHeight;
_root.bg2._y = _root.bg2._y + jumpHeight;
_root.bg3._y = _root.bg3._y + jumpHeight;
_root.fg1._y = _root.fg1._y + jumpHeight;
_root.boss1._y = _root.boss1._y + jumpHeight;
_root.boss2._y = _root.boss2._y + jumpHeight;
_root.mock1._y = _root.mock1._y + jumpHeight;
_root.mock2._y = _root.mock2._y + jumpHeight;
_root.mock3._y = _root.mock3._y + jumpHeight;
_root.spring1._y = _root.spring1._y + jumpHeight;
_root.spring2._y = _root.spring2._y + jumpHeight;
_root.spring3._y = _root.spring3._y + jumpHeight;
_root.door1._y = _root.door1._y + jumpHeight;
_root.door2._y = _root.door2._y + jumpHeight;
_root.balls._y = _root.balls._y + jumpHeight;
if (moveReady) {
jumpHeight = jumpHeight - gravity;
}
if (jumpHeight <= (fallMax * -1)) {
jumpHeight = fallMax * -1;
}
}
if ((Key.isDown(38) && (!jumping)) && (moveReady)) {
jumping = true;
_root.bg1._y = _root.bg1._y + jumpHeight;
_root.bg2._y = _root.bg2._y + jumpHeight;
_root.bg3._y = _root.bg3._y + jumpHeight;
_root.fg1._y = _root.fg1._y + jumpHeight;
_root.boss1._y = _root.boss1._y + jumpHeight;
_root.boss2._y = _root.boss2._y + jumpHeight;
_root.mock1._y = _root.mock1._y + jumpHeight;
_root.mock2._y = _root.mock2._y + jumpHeight;
_root.mock3._y = _root.mock3._y + jumpHeight;
_root.spring1._y = _root.spring1._y + jumpHeight;
_root.spring2._y = _root.spring2._y + jumpHeight;
_root.spring3._y = _root.spring3._y + jumpHeight;
_root.door1._y = _root.door1._y + jumpHeight;
_root.door2._y = _root.door2._y + jumpHeight;
_root.balls._y = _root.balls._y + jumpHeight;
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true) && (jumping))) {
jumping = false;
jumpHeight = jumpHeightMax;
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y - 5, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y - 5, true))) {
_root.bg1._y = _root.bg1._y + 4;
_root.bg2._y = _root.bg2._y + 4;
_root.bg3._y = _root.bg3._y + 4;
_root.fg1._y = _root.fg1._y + 4;
_root.boss1._y = _root.boss1._y + 4;
_root.boss2._y = _root.boss2._y + 4;
_root.mock1._y = _root.mock1._y + 4;
_root.mock2._y = _root.mock2._y + 4;
_root.mock3._y = _root.mock3._y + 4;
_root.spring1._y = _root.spring1._y + 4;
_root.spring2._y = _root.spring2._y + 4;
_root.spring3._y = _root.spring3._y + 4;
_root.door1._y = _root.door1._y + 4;
_root.door2._y = _root.door2._y + 4;
_root.balls._y = _root.balls._y + 4;
}
if (((!_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true)) && (!_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true))) && (!jumping)) {
jumpHeight = 0;
jumping = true;
}
if (hitTest(_root.door1) && (_root.door1._currentframe == _root.door1._totalframes)) {
speed = 3;
} else if (hitTest(_root.door2) && (_root.door2._currentframe == 1)) {
speed = -3;
}
if (((_root.door1._x - _x) < 100) && (_root.door1._currentframe == 1)) {
_root.door1.play();
} else if (((_root.door1._x - _x) < -100) && (_root.door1._currentframe == 7)) {
_root.door1.play();
}
if (hitTest(_root.boss1.rarm) && (_alpha == 100)) {
_root.hurt(10);
}
if (hitTest(_root.boss1.larm) && (_alpha == 100)) {
_root.hurt(10);
}
if (hitTest(_root.mock2)) {
_root.die();
}
if ((_alpha < 100) && (_alpha > 0)) {
_alpha = (_alpha + 5);
}
if (_currentframe > 1) {
_alpha = 100;
}
if (hitTest(_root.mock3)) {
_root.gotoAndStop("level1b");
}
if (_root.boss2.hit.hitTest(hit) && (_alpha == 100)) {
_root.hurt(2);
}
if ((((((_root.boss2._currentframe > 295) && (_root.boss2._currentframe < 380)) && (hitTest(_root.spring3))) && (_root.spring3._alpha == 100)) && (_root.boss2.lives > 0)) && (_root.boss2.hitReady)) {
_root.spring3.gotoAndStop(3);
}
if (bossHealthReady && (_root.bossHealth._alpha < 100)) {
_root.bossHealth._alpha++;
}
if ((_root.health._currentframe == _root.health._totalframes) && (_currentframe == 1)) {
this.gotoAndPlay("die");
jumpHeight = 0;
speed = 0;
}
}
Instance of Symbol 444 MovieClip in Frame 54
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.gotoAndStop("menu");
}
Instance of Symbol 450 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.muting && (_currentframe != 2)) {
this.gotoAndStop(2);
} else if ((!_root.muting) && (_currentframe != 1)) {
this.gotoAndStop(1);
}
}
Frame 56
swipe.play();
boss2.play();
health.gotoAndStop(_root.playerHealth);
_root.currentLevel = "level1b";
_quality = "high";
_root.removeEBullets(1);
sounds.gotoAndStop(4);
Instance of Symbol 390 MovieClip "boss2" in Frame 56
onClipEvent (load) {
var lives = 2;
var hitReady = true;
this.play();
}
onClipEvent (enterFrame) {
if ((_root.spring3._currentframe == 3) && (hitReady)) {
hitReady = false;
lives--;
_root.bossHealth.gotoAndStop(_root.bossHealth._currentframe + 50);
if (lives > 0) {
this.gotoAndStop(380);
} else {
_root.bossHealth.gotoAndStop(100);
this.gotoAndPlay(381);
}
}
}
Instance of Symbol 392 MovieClip "balls" in Frame 56
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(10);
_alpha = 0;
}
}
Instance of Symbol 411 MovieClip "player" in Frame 56
onClipEvent (load) {
var speed = 0;
var speedTot = 6.5;
var speedInc = 0.5;
var jumpHeight = 0;
var jumpHeightMax = 5;
var fallMax = 9;
var gravity = 1;
var jumping = true;
_root.boss2.play();
_root.health.stop();
var dir = 1;
var shots = new Array();
var shotSpeed = 15;
var moveReady = true;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (Key.isDown(39) && (moveReady)) {
if (speed < speedTot) {
speed = speed + speedInc;
}
tread.play();
dir = 1;
} else if (Key.isDown(37) && (moveReady)) {
if (speed > (speedTot * -1)) {
speed = speed - speedInc;
}
tread.play();
dir = -1;
} else if (speed > 0) {
speed = speed - speedInc;
} else if (speed < 0) {
speed = speed + speedInc;
}
if (_root.mock1.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
speed = 3;
}
if (_root.mock1.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
speed = -3;
}
if (speed == 0) {
tread.stop();
}
if (dir == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
if (jumping) {
_y = (_y - jumpHeight);
jumpHeight = jumpHeight - gravity;
if (jumpHeight <= (fallMax * -1)) {
jumpHeight = fallMax * -1;
}
}
if ((Key.isDown(38) && (!jumping)) && (moveReady)) {
jumping = true;
_y = (_y - jumpHeight);
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true) && (jumping))) {
jumping = false;
jumpHeight = jumpHeightMax;
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y - 5, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y - 5, true))) {
_y = (_y - 4);
}
if (_currentframe > 1) {
_alpha = 100;
}
if (((!_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true)) && (!_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true))) && (!jumping)) {
jumpHeight = 0;
jumping = true;
}
if (hitTest(_root.mock2)) {
_root.die();
}
if ((_alpha < 100) && (_alpha > 0)) {
_alpha = (_alpha + 5);
}
if (_root.boss2.hit.hitTest(hit) && (_alpha == 100)) {
_root.hurt(5);
}
if ((((((_root.boss2._currentframe > 295) && (_root.boss2._currentframe < 380)) && (hitTest(_root.spring3))) && (_root.spring3._alpha == 100)) && (_root.boss2.lives > 0)) && (_root.boss2.hitReady)) {
_root.spring3.gotoAndStop(3);
}
if (bossHealthReady && (_root.bossHealth._alpha < 100)) {
_root.bossHealth._alpha++;
}
if ((_root.health._currentframe == _root.health._totalframes) && (_currentframe == 1)) {
this.play();
speed = 0;
jumpHeight = 0;
}
}
Instance of Symbol 459 MovieClip "bossHealth" in Frame 56
onClipEvent (load) {
this.stop();
}
Instance of Symbol 444 MovieClip in Frame 56
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.gotoAndStop("menu");
}
Instance of Symbol 450 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (_root.muting && (_currentframe != 2)) {
this.gotoAndStop(2);
} else if ((!_root.muting) && (_currentframe != 1)) {
this.gotoAndStop(1);
}
}
Frame 57
_quality = "high";
swipe.play();
_root.currentLevel = "level2a_rem";
_root.removeEBullets(1);
_root.playerHealth = 0;
sounds.gotoAndStop(3);
Instance of Symbol 131 MovieClip in Frame 57
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
}
Frame 58
_quality = "medium";
var playerHealth = health._currentframe;
_root.numEnemies[0] = 13;
stop();
_root.currentLevel = "level2a";
_root.removeEBullets(1);
sounds.gotoAndStop(3);
Instance of Symbol 634 MovieClip "e_1_1" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_2" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_3" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_4" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_5" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_6" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_7" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_8" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_9" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 682 MovieClip "boss-1" in Frame 58
onClipEvent (load) {
this.stop();
}
Instance of Symbol 634 MovieClip "e_1_10" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_11" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_12" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_13" in Frame 58
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = false;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 703 MovieClip "player" in Frame 58
onClipEvent (load) {
var speed = 0;
var speedTot = 6.5;
var speedInc = 0.5;
var jumpHeight = 0;
var jumpHeightMax = 15;
var fallMax = 9;
var gravity = 1;
var jumping = true;
_root.health.stop();
var dir = 1;
var shots = new Array();
var shotSpeed = 15;
var moveReady = false;
var jumpReady = true;
var cutScene = false;
jump.stop();
}
onClipEvent (enterFrame) {
_root.bg1._x = _root.bg1._x - speed;
_root.bg2._x = _root.bg2._x - speed;
_root.bg3._x = _root.bg3._x - speed;
_root.fg1._x = _root.fg1._x - speed;
_root.boss._x = _root.boss._x - speed;
_root.mock1._x = _root.mock1._x - speed;
_root.mock2._x = _root.mock2._x - speed;
_root.mock3._x = _root.mock3._x - speed;
_root.door1._x = _root.door1._x - speed;
_root.other1._x = _root.other1._x - speed;
_root.other2._x = _root.other2._x - speed;
_root.other3._x = _root.other3._x - speed;
_root.enemyMoveHor(1, speed);
_root.enemyBulletMoveHor(1, speed);
if (Key.isDown(39) && (moveReady)) {
if (speed < speedTot) {
speed = speed + speedInc;
}
tread.play();
dir = 1;
} else if (Key.isDown(37) && (moveReady)) {
if (speed > (speedTot * -1)) {
speed = speed - speedInc;
}
tread.play();
dir = -1;
} else if (speed > 0) {
speed = speed - speedInc;
} else if (speed < 0) {
speed = speed + speedInc;
}
if (_root.mock1.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
speed = 3;
}
if (_root.mock1.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
speed = -3;
}
if (speed == 0) {
tread.stop();
}
if (dir == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
if (jumping) {
_root.bg1._y = _root.bg1._y + jumpHeight;
_root.bg2._y = _root.bg2._y + jumpHeight;
_root.bg3._y = _root.bg3._y + jumpHeight;
_root.fg1._y = _root.fg1._y + jumpHeight;
_root.boss._y = _root.boss._y + jumpHeight;
_root.mock1._y = _root.mock1._y + jumpHeight;
_root.mock2._y = _root.mock2._y + jumpHeight;
_root.mock3._y = _root.mock3._y + jumpHeight;
_root.door1._y = _root.door1._y + jumpHeight;
_root.other1._y = _root.other1._y + jumpHeight;
_root.other2._y = _root.other2._y + jumpHeight;
_root.other3._y = _root.other3._y + jumpHeight;
_root.enemyMoveVer(1, jumpHeight);
_root.enemyBulletMoveVer(1, jumpHeight);
if (jumpReady || (moveReady)) {
jumpHeight = jumpHeight - gravity;
}
if (jumpHeight <= (fallMax * -1)) {
jumpHeight = fallMax * -1;
}
}
if ((Key.isDown(38) && (!jumping)) && (moveReady)) {
jumping = true;
this.jump.gotoAndPlay(1);
_root.bg1._y = _root.bg1._y + jumpHeight;
_root.bg2._y = _root.bg2._y + jumpHeight;
_root.bg3._y = _root.bg3._y + jumpHeight;
_root.fg1._y = _root.fg1._y + jumpHeight;
_root.boss._y = _root.boss._y + jumpHeight;
_root.mock1._y = _root.mock1._y + jumpHeight;
_root.mock2._y = _root.mock2._y + jumpHeight;
_root.mock3._y = _root.mock3._y + jumpHeight;
_root.door1._y = _root.door1._y + jumpHeight;
_root.other1._y = _root.other1._y + jumpHeight;
_root.other2._y = _root.other2._y + jumpHeight;
_root.other3._y = _root.other3._y + jumpHeight;
_root.enemyMoveVer(1, jumpHeight);
_root.enemyBulletMoveVer(1, jumpHeight);
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true) && (jumping))) {
jumping = false;
jumpHeight = jumpHeightMax;
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y - 5, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y - 5, true))) {
_root.bg1._y = _root.bg1._y + 4;
_root.bg2._y = _root.bg2._y + 4;
_root.bg3._y = _root.bg3._y + 4;
_root.fg1._y = _root.fg1._y + 4;
_root.boss._y = _root.boss._y + 4;
_root.mock1._y = _root.mock1._y + 4;
_root.mock2._y = _root.mock2._y + 4;
_root.mock3._y = _root.mock3._y + 4;
_root.door1._y = _root.door1._y + 4;
_root.other1._y = _root.other1._y + 4;
_root.other2._y = _root.other2._y + 4;
_root.other3._y = _root.other3._y + 4;
var a = 0;
while (a < _root.numEnemies[0]) {
_root["e_1_" + (a + 1)]._y = _root["e_1_" + (a + 1)]._y + 4;
a++;
}
}
if (((!_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true)) && (!_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true))) && (!jumping)) {
jumpHeight = 0;
jumping = true;
}
if (_root.mock1.hitTest(_x, _y - 50, true)) {
jumpHeight = -3;
jumping = true;
}
if ((_root.health._currentframe == _root.health._totalframes) && (_currentframe == 1)) {
this.play();
speed = 0;
jumpHeight = 0;
}
if (hitTest(_root.door1) && (_root.door1._currentframe == _root.door1._totalframes)) {
speed = 3;
}
if ((Math.abs(_root.door1._x - _x) < 100) && (_root.door1._currentframe == 1)) {
_root.door1.play();
} else if (((_root.door1._x - _x) < -100) && (_root.door1._currentframe == 7)) {
_root.door1.play();
}
if ((_alpha < 100) && (_alpha > 0)) {
_alpha = (_alpha + 5);
}
if (_currentframe > 1) {
_alpha = 100;
}
if (hitTest(_root.mock3)) {
_root.removeEBullets(1);
_root.die();
}
if (hitTest(_root.mock2) && (cutScene == false)) {
moveReady = false;
_root.bg1.other3.play();
}
}
Instance of Symbol 444 MovieClip in Frame 58
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.removeEBullets(1);
_root.gotoAndStop("menu");
}
Instance of Symbol 450 MovieClip in Frame 58
onClipEvent (enterFrame) {
if (_root.muting && (_currentframe != 2)) {
this.gotoAndStop(2);
} else if ((!_root.muting) && (_currentframe != 1)) {
this.gotoAndStop(1);
}
}
Frame 60
swipe.play();
health.gotoAndStop(_root.playerHealth);
_root.currentLevel = "level2b";
_quality = "high";
_root.removeEBullets(1);
sounds.gotoAndStop(4);
Instance of Symbol 724 MovieClip in Frame 60
onClipEvent (enterFrame) {
if ((hitTest(_root.player) && (_root.player._alpha == 100)) && (_root.player._currentframe == 1)) {
_root.hurt(10);
}
}
Instance of Symbol 725 MovieClip in Frame 60
onClipEvent (enterFrame) {
if ((hitTest(_root.player) && (_root.player._alpha == 100)) && (_root.player._currentframe == 1)) {
_root.hurt(10);
}
}
Instance of Symbol 682 MovieClip "boss1" in Frame 60
onClipEvent (enterFrame) {
if (_currentframe == 90) {
_root.bossHealth.gotoAndStop(_root.bossHealth._currentframe + 12);
if (_root.bossHealth._currentframe != _root.bossHealth._totalframes) {
_alpha = 25;
}
} else if (_currentframe == 178) {
_alpha = 25;
_root.bossHealth.gotoAndStop(_root.bossHealth._currentframe + 12);
}
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
}
Instance of Symbol 703 MovieClip "player" in Frame 60
onClipEvent (load) {
var speed = 0;
var speedTot = 6.5;
var speedInc = 0.5;
var jumpHeight = 0;
var jumpHeightMax = 15;
var fallMax = 9;
var gravity = 1;
var jumping = true;
_root.boss2.play();
_root.health.stop();
var dir = 1;
var shots = new Array();
var shotSpeed = 15;
var moveReady = true;
jump.stop();
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (Key.isDown(39) && (moveReady)) {
if (speed < speedTot) {
speed = speed + speedInc;
}
tread.play();
dir = -1;
} else if (Key.isDown(37) && (moveReady)) {
if (speed > (speedTot * -1)) {
speed = speed - speedInc;
}
tread.play();
dir = 1;
} else if (speed > 0) {
speed = speed - speedInc;
} else if (speed < 0) {
speed = speed + speedInc;
}
if (_root.mock1.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
speed = 3;
}
if (_root.mock1.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
speed = -3;
}
if (speed == 0) {
tread.stop();
}
if (dir == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
if (jumping) {
_y = (_y - jumpHeight);
jumpHeight = jumpHeight - gravity;
if (jumpHeight <= (fallMax * -1)) {
jumpHeight = fallMax * -1;
}
}
if ((Key.isDown(38) && (!jumping)) && (moveReady)) {
jumping = true;
this.jump.gotoAndPlay(1);
_y = (_y - jumpHeight);
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true) && (jumping))) {
jumping = false;
jumpHeight = jumpHeightMax;
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y - 5, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y - 5, true))) {
_y = (_y - 4);
}
if (_root.mock1.hitTest(_x, _y - 50, true)) {
jumpHeight = -3;
jumping = true;
}
if (_currentframe > 1) {
_alpha = 100;
}
if (((!_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true)) && (!_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true))) && (!jumping)) {
jumpHeight = 0;
jumping = true;
}
if ((_alpha < 100) && (_alpha > 0)) {
_alpha = (_alpha + 5);
}
if ((_root.health._currentframe == _root.health._totalframes) && (_currentframe == 1)) {
this.play();
speed = 0;
jumpHeight = 0;
}
if (hitTest(_root.boss1.hit3) && (_alpha == 100)) {
_root.hurt(25);
}
}
Instance of Symbol 459 MovieClip "bossHealth" in Frame 60
onClipEvent (load) {
this.stop();
}
Instance of Symbol 444 MovieClip in Frame 60
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.gotoAndStop("menu");
}
Instance of Symbol 450 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (_root.muting && (_currentframe != 2)) {
this.gotoAndStop(2);
} else if ((!_root.muting) && (_currentframe != 1)) {
this.gotoAndStop(1);
}
}
Frame 62
_quality = "high";
swipe.play();
_root.currentLevel = "level2a_rem";
_root.removeEBullets(1);
_root.playerHealth = 0;
_root.removePlayerBullets_1();
sounds.gotoAndStop(3);
Instance of Symbol 131 MovieClip in Frame 62
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
}
Frame 63
_quality = "medium";
var playerHealth = health._currentframe;
_root.numEnemies[0] = 11;
stop();
_root.currentLevel = "level3a";
_root.removeEBullets(1);
var boss1Repeat = false;
_root.removePlayerBullets_1();
sounds.gotoAndStop(3);
Instance of Symbol 809 MovieClip "boss1" in Frame 63
onClipEvent (load) {
var health = 2;
}
Instance of Symbol 881 MovieClip in Frame 63
onClipEvent (load) {
this.stop();
}
Instance of Symbol 634 MovieClip "e_1_8" in Frame 63
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_9" in Frame 63
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_10" in Frame 63
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_11" in Frame 63
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_7" in Frame 63
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_6" in Frame 63
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_5" in Frame 63
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_4" in Frame 63
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_2" in Frame 63
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_3" in Frame 63
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_1" in Frame 63
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 899 MovieClip "bird" in Frame 63
onClipEvent (load) {
var startA = false;
var hits = 0;
}
onClipEvent (enterFrame) {
if ((Math.abs(_x - _root.player._x) <= 250) && (!startA)) {
startA = true;
}
if (startA) {
_x = (_x - ((_x - _root.player._x) * 0.05));
_y = (_y - (((_y - _root.player._y) + 110) * 0.05));
}
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if ((hits >= 3) && (_currentframe == 1)) {
this.play();
}
}
Instance of Symbol 899 MovieClip "bird2" in Frame 63
onClipEvent (load) {
var startA = false;
var hits = 0;
}
onClipEvent (enterFrame) {
if ((Math.abs(_x - _root.player._x) <= 250) && (!startA)) {
startA = true;
}
if (startA) {
_x = (_x - ((_x - _root.player._x) * 0.05));
_y = (_y - (((_y - _root.player._y) + 110) * 0.05));
}
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if ((hits >= 3) && (_currentframe == 1)) {
this.play();
}
}
Instance of Symbol 910 MovieClip "player" in Frame 63
onClipEvent (load) {
var speed = 0;
var speedTot = 6.5;
var speedInc = 0.5;
var jumpHeight = 0;
var jumpHeightMax = 15;
var fallMax = 9;
var gravity = 1;
var jumping = true;
var dir = 1;
_root.health.stop();
var shots_1 = new Array();
var shotSpeed_1 = 10;
var shot1_int_tot = 10;
var shot1_int = shot1_int_tot;
var moveReady = true;
var jumpReady = true;
this.stop();
tread.stop();
jump.gotoAndStop(jump._totalframes);
shoot1.gotoAndStop(shoot1._totalframes);
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.bg1._x = _root.bg1._x - speed;
_root.bg2._x = _root.bg2._x - speed;
_root.bg3._x = _root.bg3._x - speed;
_root.boss1._x = _root.boss1._x - speed;
_root.boss2._x = _root.boss2._x - speed;
_root.mock1._x = _root.mock1._x - speed;
_root.bird._x = _root.bird._x - speed;
_root.bird2._x = _root.bird2._x - speed;
_root.enemyMoveHor(1, speed);
_root.enemyBulletMoveHor(1, speed);
if (Key.isDown(39) && (moveReady)) {
if (speed < speedTot) {
speed = speed + speedInc;
}
tread.play();
dir = 1;
} else if (Key.isDown(37) && (moveReady)) {
if (speed > (speedTot * -1)) {
speed = speed - speedInc;
}
tread.play();
dir = -1;
} else if (speed > 0) {
speed = speed - speedInc;
} else if (speed < 0) {
speed = speed + speedInc;
}
if (_root.mock1.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
speed = 3;
}
if (_root.mock1.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
speed = -3;
}
if (speed == 0) {
tread.stop();
}
if (dir == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
if (jumping) {
_root.bg1._y = _root.bg1._y + jumpHeight;
_root.bg2._y = _root.bg2._y + jumpHeight;
_root.bg3._y = _root.bg3._y + jumpHeight;
_root.boss1._y = _root.boss1._y + jumpHeight;
_root.boss2._y = _root.boss2._y + jumpHeight;
_root.mock1._y = _root.mock1._y + jumpHeight;
_root.bird._y = _root.bird._y + jumpHeight;
_root.bird2._y = _root.bird2._y + jumpHeight;
_root.enemyMoveVer(1, jumpHeight);
_root.enemyBulletMoveVer(1, jumpHeight);
if (jumpReady || (moveReady)) {
jumpHeight = jumpHeight - gravity;
}
if (jumpHeight <= (fallMax * -1)) {
jumpHeight = fallMax * -1;
}
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._y = shots_1[a][0]._y + jumpHeight;
a++;
}
}
if ((Key.isDown(38) && (!jumping)) && (moveReady)) {
jumping = true;
this.jump.gotoAndPlay(1);
_root.bg1._y = _root.bg1._y + jumpHeight;
_root.bg2._y = _root.bg2._y + jumpHeight;
_root.bg3._y = _root.bg3._y + jumpHeight;
_root.boss1._y = _root.boss1._y + jumpHeight;
_root.boss2._y = _root.boss2._y + jumpHeight;
_root.mock1._y = _root.mock1._y + jumpHeight;
_root.bird._y = _root.bird._y + jumpHeight;
_root.bird2._y = _root.bird2._y + jumpHeight;
_root.enemyMoveVer(1, jumpHeight);
_root.enemyBulletMoveVer(1, jumpHeight);
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._y = shots_1[a][0]._y + jumpHeight;
a++;
}
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true) && (jumping))) {
jumping = false;
jumpHeight = jumpHeightMax;
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y - 5, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y - 5, true))) {
_root.bg1._y = _root.bg1._y + 4;
_root.bg2._y = _root.bg2._y + 4;
_root.bg3._y = _root.bg3._y + 4;
_root.boss1._y = _root.boss1._y + 4;
_root.boss2._y = _root.boss2._y + 4;
_root.mock1._y = _root.mock1._y + 4;
_root.bird._y = _root.bird._y + 4;
_root.bird2._y = _root.bird2._y + 4;
var a = 0;
while (a < _root.numEnemies[0]) {
_root["e_1_" + (a + 1)]._y = _root["e_1_" + (a + 1)]._y + 4;
a++;
}
}
if (((!_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true)) && (!_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true))) && (!jumping)) {
jumpHeight = 0;
jumping = true;
}
if (_root.mock1.hitTest(_x, _y - 50, true)) {
jumpHeight = -3;
jumping = true;
}
if ((_root.health._currentframe == _root.health._totalframes) && (_currentframe == 1)) {
this.play();
speed = 0;
jumpHeight = 0;
}
if ((_alpha < 100) && (_alpha > 0)) {
_alpha = (_alpha + 5);
}
if (_currentframe > 1) {
_alpha = 100;
}
if (shot1_int > 0) {
shot1_int--;
}
if ((Key.isDown(65) && (shootReady)) && (_currentframe == 1)) {
if (shot1_int > 0) {
shot1_int--;
} else {
shoot1.gotoAndPlay(1);
_root.attachMovie("shot-1", "shot-1_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
shots_1.push([_root["shot-1_" + (_root.getNextHighestDepth() - 1)], shotSpeed_1 * dir]);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._x = (_x + ((_width / 2) * dir)) - (shotSpeed_1 * dir);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._y = _y - 17;
shot1_int = shot1_int_tot;
}
}
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._x = shots_1[a][0]._x + shots_1[a][1];
if (shots_1[a][0]._x < (-1 * shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
} else if (shots_1[a][0]._x > (Stage.width + shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
if (shots_1[a][0].hitTest(_root.mock1.rocks) && (_root.mock1.rocks._currentframe < 4)) {
_root.mock1.rocks.nextFrame();
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
if (_root.mock1.rocks._currentframe == 4) {
_root.mock1.rocks.play();
}
if (shots_1[a][0].hitTest(_root.boss1.eye.eyeHit.eyeHitHit)) {
_root.boss1.eye.nextFrame();
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
if (shots_1[a][0].hitTest(_root.bird.hit1.hit2) && (_root.bird._alpha == 100)) {
_root.bird.hits++;
if (_root.bird._currentframe == 1) {
_root.bird._alpha = 25;
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
}
if (shots_1[a][0].hitTest(_root.bird2.hit1.hit2) && (_root.bird2._alpha == 100)) {
_root.bird2.hits++;
if (_root.bird2._currentframe == 1) {
_root.bird2._alpha = 25;
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
}
if (_currentframe == _totalframes) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.removePlayerBullets_1();
}
if (hitTest(_root.mock1.mock2)) {
this.gotoAndStop(this._totalframes);
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.removePlayerBullets_1();
_root.die();
}
if (hitTest(_root.mock1.mock3)) {
this.gotoAndStop(_totalframes);
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.removePlayerBullets_1();
_root.gotoAndStop("level3b");
}
var b = 0;
while (b < _root.numEnemies[0]) {
if (shots_1[a][0].hitTest(_root["e_1_" + (b + 1)].hit1) && (_root["e_1_" + (b + 1)]._currentframe < 4)) {
_root["e_1_" + (b + 1)].gotoAndPlay("die");
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
b++;
}
a++;
}
if (hitTest(_root.mock1.mock2)) {
_root.swipe.gotoAndPlay(1);
this.gotoAndStop(this._totalframes);
_root.removePlayerBullets_1();
_root.die();
}
if (hitTest(_root.mock1.mock3)) {
_root.swipe.gotoAndPlay(1);
this.gotoAndStop(_totalframes);
_root.removePlayerBullets_1();
_root.gotoAndStop("level3b");
}
if (hitTest(_root.mock1.mock2)) {
_root.swipe.gotoAndPlay(1);
_root.removePlayerBullets_1();
_root.removeEBullets(1);
_root.die();
}
}
Instance of Symbol 444 MovieClip in Frame 63
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.gotoAndStop("menu");
}
Instance of Symbol 450 MovieClip in Frame 63
onClipEvent (enterFrame) {
if (_root.muting && (_currentframe != 2)) {
this.gotoAndStop(2);
} else if ((!_root.muting) && (_currentframe != 1)) {
this.gotoAndStop(1);
}
}
Frame 65
swipe.play();
health.gotoAndStop(_root.playerHealth);
_root.currentLevel = "level3b";
_quality = "high";
_root.removeEBullets(1);
_root.removePlayerBullets_1();
sounds.gotoAndStop(4);
Instance of Symbol 881 MovieClip "boss" in Frame 65
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
}
Instance of Symbol 910 MovieClip "player" in Frame 65
onClipEvent (load) {
var speed = 0;
var speedTot = 6.5;
var speedInc = 0.5;
var jumpHeight = 0;
var jumpHeightMax = 15;
var fallMax = 9;
var gravity = 1;
var jumping = true;
_root.boss2.play();
_root.removePlayerBullets_1();
_root.health.stop();
var bh = 1;
var shots_1 = new Array();
var shotSpeed_1 = 10;
var shot1_int_tot = 10;
var shot1_int = shot1_int_tot;
var dir = 1;
var shots = new Array();
var shotSpeed = 15;
var moveReady = true;
var jumpReady = true;
this.stop();
tread.stop();
jump.gotoAndStop(jump._totalframes);
shoot1.gotoAndStop(shoot1._totalframes);
var shootReady = true;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (Key.isDown(39) && (moveReady)) {
if (speed < speedTot) {
speed = speed + speedInc;
}
tread.play();
dir = 1;
} else if (Key.isDown(37) && (moveReady)) {
if (speed > (speedTot * -1)) {
speed = speed - speedInc;
}
tread.play();
dir = -1;
} else if (speed > 0) {
speed = speed - speedInc;
} else if (speed < 0) {
speed = speed + speedInc;
}
if (_root.mock1.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
speed = 3;
}
if (_root.mock1.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
speed = -3;
}
if (speed == 0) {
tread.stop();
}
if (dir == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
if (jumping) {
_y = (_y - jumpHeight);
jumpHeight = jumpHeight - gravity;
if (jumpHeight <= (fallMax * -1)) {
jumpHeight = fallMax * -1;
}
}
if ((Key.isDown(38) && (!jumping)) && (moveReady)) {
jumping = true;
this.jump.gotoAndPlay(1);
_y = (_y - jumpHeight);
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true) && (jumping))) {
jumping = false;
jumpHeight = jumpHeightMax;
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y - 5, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y - 5, true))) {
_y = (_y - 4);
}
if (_root.mock1.hitTest(_x, _y - 50, true)) {
jumpHeight = -3;
jumping = true;
}
if (_currentframe > 1) {
_alpha = 100;
}
if (((!_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true)) && (!_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true))) && (!jumping)) {
jumpHeight = 0;
jumping = true;
}
if ((_alpha < 100) && (_alpha > 0)) {
_alpha = (_alpha + 5);
}
if ((_root.health._currentframe == _root.health._totalframes) && (_currentframe == 1)) {
this.play();
speed = 0;
jumpHeight = 0;
}
if (shot1_int > 0) {
shot1_int--;
}
if (Key.isDown(65) && (shootReady)) {
if (shot1_int > 0) {
shot1_int--;
} else {
shoot1.gotoAndPlay(1);
_root.attachMovie("shot-1", "shot-1_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
shots_1.push([_root["shot-1_" + (_root.getNextHighestDepth() - 1)], shotSpeed_1 * dir]);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._x = (_x + ((_width / 2) * dir)) - (shotSpeed_1 * dir);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._y = _y - 17;
shot1_int = shot1_int_tot;
}
}
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._x = shots_1[a][0]._x + shots_1[a][1];
if (shots_1[a][0]._x < (-1 * shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
} else if (shots_1[a][0]._x > (Stage.width + shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
if (shots_1[a][0].hitTest(_root.mock1.rocks) && (_root.mock1.rocks._currentframe < 4)) {
_root.mock1.rocks.nextFrame();
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
if (_currentframe == _totalframes) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.removePlayerBullets_1();
}
if (shots_1[a][0].hitTest(_root.boss1.eye.eyeHit.eyeHitHit)) {
_root.boss1.eye.nextFrame();
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
if (shots_1[a][0].hitTest(_root.boss) && (_root.boss._currentframe == 1)) {
_root.boss.gotoAndStop(2);
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
if ((_root.boss.hit3.hitTest(shots_1[a][0]._x, shots_1[a][0]._y, true) && (_root.boss._currentframe > 1)) && (_root.boss._currentframe < 6)) {
if (bh == 0) {
bh = 1;
} else {
bh = 0;
}
_root.bossHealth.gotoAndStop(_root.bossHealth._currentframe + bh);
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
a++;
}
if (hitTest(_root.boss.hit1) && (_alpha == 100)) {
_root.hurt(10);
}
if (_root.boss.bird.hit2.hitTest(_x, _y, true) && (_alpha == 100)) {
_root.hurt(10);
}
}
Instance of Symbol 459 MovieClip "bossHealth" in Frame 65
onClipEvent (load) {
this.stop();
}
Instance of Symbol 444 MovieClip in Frame 65
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.gotoAndStop("menu");
}
Frame 67
_quality = "high";
swipe.play();
_root.currentLevel = "level4a_rem";
_root.playerHealth = 0;
_root.removePlayerBullets_1();
sounds.gotoAndStop(3);
Instance of Symbol 131 MovieClip in Frame 67
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
}
Frame 69
swipe.play();
health.gotoAndStop(_root.playerHealth);
_root.currentLevel = "level4a";
_quality = "medium";
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.numEnemies[0] = 5;
sounds.gotoAndStop(3);
Instance of Symbol 634 MovieClip "e_1_1" in Frame 69
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_2" in Frame 69
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_3" in Frame 69
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_4" in Frame 69
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_5" in Frame 69
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 1054 MovieClip "big1" in Frame 69
onClipEvent (load) {
this.stop();
var speed = 5;
var distance = 10;
var health = 30;
}
onClipEvent (enterFrame) {
distance = _x - _root.player._x;
if ((Math.abs(distance) < 300) && (_currentframe == 1)) {
this.gotoAndStop(2);
_root.mock.big1Walls.gotoAndStop(2);
}
if ((_currentframe == 2) && (distance > 150)) {
_x = (_x - speed);
} else if ((_currentframe == 2) && (distance < -150)) {
_x = (_x + speed);
} else if (_currentframe == 2) {
this.gotoAndStop(Math.floor((Math.random() * 2) + 3));
}
if (((_x > _root.player._x) && (_xscale != 150)) && (_currentframe < 3)) {
_xscale = 100;
} else if (((_x < _root.player._x) && (_xscale != -150)) && (_currentframe < 3)) {
_xscale = -100;
}
if ((attack1._currentframe == attack1._totalframes) && (_currentframe == 3)) {
if ((distance < -100) && (distance > 10)) {
this.gotoAndStop(Math.floor((Math.random() * 2) + 3));
} else {
this.gotoAndStop(2);
}
}
if ((attack2._currentframe == attack2._totalframes) && (_currentframe == 4)) {
if ((distance < -100) && (distance > 10)) {
this.gotoAndStop(Math.floor((Math.random() * 2) + 3));
} else {
this.gotoAndStop(2);
}
}
if (((_alpha < 100) && (_currentframe > 1)) && (_currentframe < 5)) {
_alpha = (_alpha + 5);
}
if (health <= 0) {
this.gotoAndStop(5);
_alpha = 100;
_root.mock.big1Walls.gotoAndStop(1);
}
}
Instance of Symbol 1054 MovieClip "big3" in Frame 69
onClipEvent (load) {
this.stop();
var speed = 5;
var distance = 10;
var health = 30;
}
onClipEvent (enterFrame) {
distance = _x - _root.player._x;
if ((Math.abs(distance) < 300) && (_currentframe == 1)) {
this.gotoAndStop(2);
}
if ((_currentframe == 2) && (distance > 150)) {
_x = (_x - speed);
} else if ((_currentframe == 2) && (distance < -150)) {
_x = (_x + speed);
} else if (_currentframe == 2) {
this.gotoAndStop(Math.floor((Math.random() * 2) + 3));
}
if (((_x > _root.player._x) && (_xscale != 150)) && (_currentframe < 3)) {
_xscale = 100;
} else if (((_x < _root.player._x) && (_xscale != -150)) && (_currentframe < 3)) {
_xscale = -100;
}
if ((attack1._currentframe == attack1._totalframes) && (_currentframe == 3)) {
if ((distance < -100) && (distance > 10)) {
this.gotoAndStop(Math.floor((Math.random() * 2) + 3));
} else {
this.gotoAndStop(2);
}
}
if ((attack2._currentframe == attack2._totalframes) && (_currentframe == 4)) {
if ((distance < -100) && (distance > 10)) {
this.gotoAndStop(Math.floor((Math.random() * 2) + 3));
} else {
this.gotoAndStop(2);
}
}
if (((_alpha < 100) && (_currentframe > 1)) && (_currentframe < 5)) {
_alpha = (_alpha + 5);
}
if (health <= 0) {
this.gotoAndStop(5);
_alpha = 100;
}
}
Instance of Symbol 1054 MovieClip "big2" in Frame 69
onClipEvent (load) {
this.stop();
var speed = 5;
var distance = 10;
var health = 30;
}
onClipEvent (enterFrame) {
distance = _x - _root.player._x;
if ((Math.abs(distance) < 300) && (_currentframe == 1)) {
this.gotoAndStop(2);
_root.mock.big2Walls.gotoAndStop(2);
}
if ((_currentframe == 2) && (distance > 150)) {
_x = (_x - speed);
} else if ((_currentframe == 2) && (distance < -150)) {
_x = (_x + speed);
} else if (_currentframe == 2) {
this.gotoAndStop(Math.floor((Math.random() * 2) + 3));
}
if (((_x > _root.player._x) && (_xscale != 150)) && (_currentframe < 3)) {
_xscale = 100;
} else if (((_x < _root.player._x) && (_xscale != -150)) && (_currentframe < 3)) {
_xscale = -100;
}
if ((attack1._currentframe == attack1._totalframes) && (_currentframe == 3)) {
if ((distance < -100) && (distance > 10)) {
this.gotoAndStop(Math.floor((Math.random() * 2) + 3));
} else {
this.gotoAndStop(2);
}
}
if ((attack2._currentframe == attack2._totalframes) && (_currentframe == 4)) {
if ((distance < -100) && (distance > 10)) {
this.gotoAndStop(Math.floor((Math.random() * 2) + 3));
} else {
this.gotoAndStop(2);
}
}
if (((_alpha < 100) && (_currentframe > 1)) && (_currentframe < 5)) {
_alpha = (_alpha + 5);
}
if (health <= 0) {
this.gotoAndStop(5);
_alpha = 100;
}
if ((health <= 0) && (_root.big3.health <= 0)) {
_root.mock.big2Walls.gotoAndStop(1);
}
}
Instance of Symbol 1058 MovieClip "big4" in Frame 69
onClipEvent (load) {
var startA = false;
var hits = 0;
this.stop();
}
onClipEvent (enterFrame) {
if ((Math.abs(_x - _root.player._x) <= 250) && (!startA)) {
startA = true;
this.shots.play();
}
if (startA) {
_x = (_x - ((_x - _root.player._x) * 0.2));
_y = (_y - (((_y - _root.player._y) + 150) * 0.05));
}
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
if ((hits >= 3) && (_currentframe == 1)) {
this.play();
}
}
Instance of Symbol 1074 MovieClip "player" in Frame 69
onClipEvent (load) {
var speed = 0;
var speedTot = 6.5;
var speedInc = 0.5;
var jumpHeight = 0;
var jumpHeightMax = 15;
var fallMax = 9;
var gravity = 1;
var jumping = true;
_root.boss2.play();
_root.removePlayerBullets_1();
_root.health.stop();
var bh = 1;
var shots_1 = new Array();
var shotSpeed_1 = 10;
var shots_2 = new Array();
var shotSpeed_2 = 5;
var shot1_int_tot = 10;
var shot1_int = shot1_int_tot;
var shot2_int_tot = 50;
var shot2_int = 1;
var dir = 1;
var shots = new Array();
var shotSpeed = 15;
var moveReady = true;
var jumpReady = true;
this.stop();
tread.stop();
jump.gotoAndStop(jump._totalframes);
shoot1.gotoAndStop(shoot1._totalframes);
shoot2.gotoAndStop(shoot2._totalframes);
var shootReady = true;
var wall1Health = 20;
var wall2Health = 20;
}
onClipEvent (enterFrame) {
_root.bg1._x = _root.bg1._x - speed;
_root.bg2._x = _root.bg2._x - speed;
_root.enemies._x = _root.enemies._x - speed;
_root.mock._x = _root.mock._x - speed;
_root.big1._x = _root.big1._x - speed;
_root.big2._x = _root.big2._x - speed;
_root.big3._x = _root.big3._x - speed;
_root.big4._x = _root.big4._x - speed;
_root.enemyMoveHor(1, speed);
_root.enemyBulletMoveHor(1, speed);
if (Key.isDown(39) && (moveReady)) {
if (speed < speedTot) {
speed = speed + speedInc;
}
tread.play();
dir = 1;
var a = 0;
while (a < shots_2.length) {
if (shots_2[a][1] < 0) {
shots_2[a][0]._x = shots_2[a][0]._x - (Math.abs(speed) / 3);
} else {
shots_2[a][0]._x = shots_2[a][0]._x + ((Math.abs(speed) * -1) / 3);
}
a++;
}
} else if (Key.isDown(37) && (moveReady)) {
if (speed > (speedTot * -1)) {
speed = speed - speedInc;
}
tread.play();
dir = -1;
var a = 0;
while (a < shots_2.length) {
if (shots_2[a][1] < 0) {
shots_2[a][0]._x = shots_2[a][0]._x - ((Math.abs(speed) * -1) / 3);
} else {
shots_2[a][0]._x = shots_2[a][0]._x + (Math.abs(speed) / 3);
}
a++;
}
} else if (speed > 0) {
speed = speed - speedInc;
} else if (speed < 0) {
speed = speed + speedInc;
}
if (_root.mock.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
speed = 3;
}
if (_root.mock.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
speed = -3;
}
if (speed == 0) {
tread.stop();
}
if (dir == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
if (jumping) {
_root.bg1._y = _root.bg1._y + jumpHeight;
_root.bg2._y = _root.bg2._y + jumpHeight;
_root.mock._y = _root.mock._y + jumpHeight;
_root.enemies._y = _root.enemies._y + jumpHeight;
_root.big1._y = _root.big1._y + jumpHeight;
_root.big2._y = _root.big2._y + jumpHeight;
_root.big3._y = _root.big3._y + jumpHeight;
_root.big4._y = _root.big4._y + jumpHeight;
_root.enemyMoveVer(1, jumpHeight);
_root.enemyBulletMoveVer(1, jumpHeight);
if (jumpReady || (moveReady)) {
jumpHeight = jumpHeight - gravity;
}
if (jumpHeight <= (fallMax * -1)) {
jumpHeight = fallMax * -1;
}
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._y = shots_1[a][0]._y + jumpHeight;
a++;
}
var a = 0;
while (a < shots_2.length) {
shots_2[a][0]._y = shots_2[a][0]._y + jumpHeight;
a++;
}
}
if ((Key.isDown(38) && (!jumping)) && (moveReady)) {
jumping = true;
this.jump.gotoAndPlay(1);
_root.bg1._y = _root.bg1._y + jumpHeight;
_root.bg2._y = _root.bg2._y + jumpHeight;
_root.mock._y = _root.mock._y + jumpHeight;
_root.enemies._y = _root.enemies._y + jumpHeight;
_root.big1._y = _root.big1._y + jumpHeight;
_root.big2._y = _root.big2._y + jumpHeight;
_root.big3._y = _root.big3._y + jumpHeight;
_root.big4._y = _root.big4._y + jumpHeight;
_root.enemyMoveVer(1, jumpHeight);
_root.enemyBulletMoveVer(1, jumpHeight);
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._y = shots_1[a][0]._y + jumpHeight;
a++;
}
var a = 0;
while (a < shots_2.length) {
shots_2[a][0]._y = shots_2[a][0]._y + jumpHeight;
a++;
}
}
if (_root.mock.hitTest((_x + (_width / 2)) - 10, _y, true) || (_root.mock.hitTest((_x - (_width / 2)) + 10, _y, true) && (jumping))) {
jumping = false;
jumpHeight = jumpHeightMax;
}
if (_root.mock.hitTest((_x + (_width / 2)) - 10, _y - 5, true) || (_root.mock.hitTest((_x - (_width / 2)) + 10, _y - 5, true))) {
_root.bg1._y = _root.bg1._y + 4;
_root.bg2._y = _root.bg2._y + 4;
_root.mock._y = _root.mock._y + 4;
_root.enemies._y = _root.enemies._y + 4;
_root.big1._y = _root.big1._y + 4;
_root.big2._y = _root.big2._y + 4;
_root.big3._y = _root.big3._y + 4;
_root.big4._y = _root.big4._y + 4;
var a = 0;
while (a < _root.numEnemies[0]) {
_root["e_1_" + (a + 1)]._y = _root["e_1_" + (a + 1)]._y + 4;
a++;
}
}
if (((!_root.mock.hitTest((_x + (_width / 2)) - 10, _y, true)) && (!_root.mock.hitTest((_x - (_width / 2)) + 10, _y, true))) && (!jumping)) {
jumpHeight = 0;
jumping = true;
}
if (_root.mock.hitTest(_x, _y - 50, true)) {
jumpHeight = -3;
jumping = true;
}
if ((_root.health._currentframe == _root.health._totalframes) && (_currentframe == 1)) {
this.play();
speed = 0;
jumpHeight = 0;
}
if ((_alpha < 100) && (_alpha > 0)) {
_alpha = (_alpha + 5);
}
if (_currentframe > 1) {
_alpha = 100;
}
if (shot1_int > 0) {
shot1_int--;
}
if (Key.isDown(65) && (shootReady)) {
if (shot1_int > 0) {
shot1_int--;
} else {
shoot1.gotoAndPlay(1);
_root.attachMovie("shot-1", "shot-1_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
shots_1.push([_root["shot-1_" + (_root.getNextHighestDepth() - 1)], shotSpeed_1 * dir]);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._x = (_x + ((_width / 2) * dir)) - (shotSpeed_1 * dir);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._y = _y - 17;
shot1_int = shot1_int_tot;
}
}
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._x = shots_1[a][0]._x + shots_1[a][1];
if (shots_1[a][0]._x < (-1 * shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
} else if (shots_1[a][0]._x > (Stage.width + shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
if (_currentframe == _totalframes) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.removePlayerBullets_1();
}
if (shots_1[a][0].hitTest(_root.enemies.hitgate1) && (_root.mock.wall1._currentframe == 1)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
wall1Health--;
_root.enemies.gate1._alpha = 25;
}
if (shots_1[a][0].hitTest(_root.enemies.hitgate2) && (_root.mock.wall2._currentframe == 1)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
wall2Health--;
_root.enemies.gate2._alpha = 25;
}
if ((shots_1[a][0].hitTest(_root.big1) && (_root.big1._currentframe > 1)) && (_root.big1._currentframe < 5)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.big1.health--;
_root.big1._alpha = 25;
}
if ((shots_1[a][0].hitTest(_root.big2) && (_root.big2._currentframe > 1)) && (_root.big2._currentframe < 5)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.big2.health--;
_root.big2._alpha = 25;
}
if ((shots_1[a][0].hitTest(_root.big3) && (_root.big3._currentframe > 1)) && (_root.big3._currentframe < 5)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.big3.health--;
_root.big3._alpha = 25;
}
if ((shots_1[a][0].hitTest(_root.big4.shots.hit1) && (_root.big4._currentframe == 1)) && (_root.big4._alpha == 100)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.big4.hits++;
_root.big4._alpha = 25;
}
var b = 0;
while (b < _root.numEnemies[0]) {
if (shots_1[a][0].hitTest(_root["e_1_" + (b + 1)].hit1) && (_root["e_1_" + (b + 1)]._currentframe < 4)) {
_root["e_1_" + (b + 1)].gotoAndPlay("die");
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
b++;
}
a++;
}
if (shot2_int > 0) {
shot2_int--;
}
if (Key.isDown(83) && (shootReady)) {
if (shot2_int > 0) {
shot2_int--;
} else {
shoot2.gotoAndPlay(1);
}
}
var a = 0;
while (a < shots_2.length) {
shots_2[a][0]._x = shots_2[a][0]._x + shots_2[a][1];
if (shots_2[a][0]._x < (-1 * shots_2[a][0]._width)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
} else if (shots_2[a][0]._x > (Stage.width + shots_2[a][0]._width)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
}
if (_currentframe == _totalframes) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
_root.removePlayerBullets_2();
}
if (shots_2[a][0].hitTest(_root.enemies.hitgate1) && (_root.mock.wall1._currentframe == 1)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
wall1Health--;
_root.enemies.gate1._alpha = 25;
}
if (shots_2[a][0].hitTest(_root.enemies.hitgate2) && (_root.mock.wall2._currentframe == 1)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
wall2Health--;
_root.enemies.gate2._alpha = 25;
}
if ((shots_2[a][0].hitTest(_root.big1) && (_root.big1._currentframe > 1)) && (_root.big1._currentframe < 5)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
_root.big1.health--;
_root.big1._alpha = 25;
}
if ((shots_2[a][0].hitTest(_root.big2) && (_root.big2._currentframe > 1)) && (_root.big2._currentframe < 5)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
_root.big2.health--;
_root.big2._alpha = 25;
}
if ((shots_2[a][0].hitTest(_root.big3) && (_root.big3._currentframe > 1)) && (_root.big3._currentframe < 5)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
_root.big3.health--;
_root.big3._alpha = 25;
}
if ((shots_2[a][0].hitTest(_root.big4.shots.hit1) && (_root.big4._currentframe == 1)) && (_root.big4._alpha == 100)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
_root.big4.hits++;
_root.big4._alpha = 25;
}
var b = 0;
while (b < _root.numEnemies[0]) {
if (shots_2[a][0].hitTest(_root["e_1_" + (b + 1)].hit1) && (_root["e_1_" + (b + 1)]._currentframe < 4)) {
_root["e_1_" + (b + 1)].gotoAndPlay("die");
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
}
b++;
}
a++;
}
if ((wall1Health <= 0) && (_root.mock.wall1._currentframe == 1)) {
_root.mock.wall1.gotoAndStop(2);
_root.enemies.gate1.play();
_root.enemies.gate1._alpha = 100;
}
if ((wall2Health <= 0) && (_root.mock.wall2._currentframe == 1)) {
_root.mock.wall2.gotoAndStop(2);
_root.enemies.gate2.play();
_root.enemies.gate2._alpha = 100;
}
if (_root.enemies.gate1._alpha < 100) {
_root.enemies.gate1._alpha = _root.enemies.gate1._alpha + 5;
}
if (_root.enemies.gate2._alpha < 100) {
_root.enemies.gate2._alpha = _root.enemies.gate2._alpha + 5;
}
}
Instance of Symbol 444 MovieClip in Frame 69
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.gotoAndStop("menu");
}
Instance of Symbol 450 MovieClip in Frame 69
onClipEvent (enterFrame) {
if (_root.muting && (_currentframe != 2)) {
this.gotoAndStop(2);
} else if ((!_root.muting) && (_currentframe != 1)) {
this.gotoAndStop(1);
}
}
Frame 71
swipe.play();
health.gotoAndStop(_root.playerHealth);
_root.currentLevel = "level4b";
_quality = "high";
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
sounds.gotoAndStop(4);
Instance of Symbol 1012 MovieClip "boss" in Frame 71
onClipEvent (load) {
this.stop();
}
Instance of Symbol 1074 MovieClip "player" in Frame 71
onClipEvent (load) {
var speed = 0;
var speedTot = 6.5;
var speedInc = 0.5;
var jumpHeight = 0;
var jumpHeightMax = 15;
var fallMax = 9;
var gravity = 1;
var jumping = true;
_root.boss2.play();
_root.removePlayerBullets_1();
_root.health.stop();
var bh = 1;
var shots_1 = new Array();
var shotSpeed_1 = 10;
var shots_2 = new Array();
var shotSpeed_2 = 5;
var shot1_int_tot = 10;
var shot1_int = shot1_int_tot;
var shot2_int_tot = 50;
var shot2_int = 1;
var dir = 1;
var shots = new Array();
var shotSpeed = 15;
var moveReady = true;
var jumpReady = true;
this.stop();
tread.stop();
jump.gotoAndStop(jump._totalframes);
shoot1.gotoAndStop(shoot1._totalframes);
shoot2.gotoAndStop(shoot2._totalframes);
var shootReady = true;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (Key.isDown(39) && (moveReady)) {
if (speed < speedTot) {
speed = speed + speedInc;
}
tread.play();
dir = 1;
} else if (Key.isDown(37) && (moveReady)) {
if (speed > (speedTot * -1)) {
speed = speed - speedInc;
}
tread.play();
dir = -1;
} else if (speed > 0) {
speed = speed - speedInc;
} else if (speed < 0) {
speed = speed + speedInc;
}
if (_root.mock1.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
speed = 3;
}
if (_root.mock1.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
speed = -3;
}
if (speed == 0) {
tread.stop();
}
if (dir == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
if (jumping) {
_y = (_y - jumpHeight);
jumpHeight = jumpHeight - gravity;
if (jumpHeight <= (fallMax * -1)) {
jumpHeight = fallMax * -1;
}
}
if ((Key.isDown(38) && (!jumping)) && (moveReady)) {
jumping = true;
this.jump.gotoAndPlay(1);
_y = (_y - jumpHeight);
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true) && (jumping))) {
jumping = false;
jumpHeight = jumpHeightMax;
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y - 5, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y - 5, true))) {
_y = (_y - 4);
}
if (_root.mock1.hitTest(_x, _y - 50, true)) {
jumpHeight = -3;
jumping = true;
}
if (_currentframe > 1) {
_alpha = 100;
}
if (((!_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true)) && (!_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true))) && (!jumping)) {
jumpHeight = 0;
jumping = true;
}
if ((_alpha < 100) && (_alpha > 0)) {
_alpha = (_alpha + 5);
}
if ((_root.health._currentframe == _root.health._totalframes) && (_currentframe == 1)) {
this.play();
speed = 0;
jumpHeight = 0;
}
if (shot1_int > 0) {
shot1_int--;
}
if (Key.isDown(65) && (shootReady)) {
if (shot1_int > 0) {
shot1_int--;
} else {
shoot1.gotoAndPlay(1);
_root.attachMovie("shot-1", "shot-1_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
shots_1.push([_root["shot-1_" + (_root.getNextHighestDepth() - 1)], shotSpeed_1 * dir]);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._x = (_x + ((_width / 2) * dir)) - (shotSpeed_1 * dir);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._y = _y - 17;
shot1_int = shot1_int_tot;
}
}
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._x = shots_1[a][0]._x + shots_1[a][1];
if (shots_1[a][0]._x < (-1 * shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
} else if (shots_1[a][0]._x > (Stage.width + shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
if (_currentframe == _totalframes) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.removePlayerBullets_1();
}
a++;
}
if (shot2_int > 0) {
shot2_int--;
}
if (Key.isDown(83) && (shootReady)) {
if (shot2_int > 0) {
shot2_int--;
} else {
shoot2.gotoAndPlay(1);
}
}
var a = 0;
while (a < shots_2.length) {
shots_2[a][0]._x = shots_2[a][0]._x + shots_2[a][1];
if (shots_2[a][0]._x < (-1 * shots_2[a][0]._width)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
} else if (shots_2[a][0]._x > (Stage.width + shots_2[a][0]._width)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
}
if (_currentframe == _totalframes) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
_root.removePlayerBullets_2();
}
a++;
}
if (hitTest(_root.boss.hit1) && (_alpha == 100)) {
_root.hurt(10);
}
if (_root.boss.bird.hit2.hitTest(_x, _y, true) && (_alpha == 100)) {
_root.hurt(10);
}
if (hitTest(_root.boss.anim.hit1) && (_alpha == 100)) {
_root.hurt(20);
}
if (hitTest(_root.boss.anim.hit2) && (_alpha == 100)) {
_root.hurt(20);
}
if (hitTest(_root.boss.anim.hit3) && (_alpha == 100)) {
_root.hurt(20);
}
}
Instance of Symbol 459 MovieClip "bossHealth" in Frame 71
onClipEvent (load) {
this.stop();
}
Instance of Symbol 444 MovieClip in Frame 71
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.gotoAndStop("menu");
}
Instance of Symbol 450 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (_root.muting && (_currentframe != 2)) {
this.gotoAndStop(2);
} else if ((!_root.muting) && (_currentframe != 1)) {
this.gotoAndStop(1);
}
}
Frame 73
_quality = "high";
swipe.play();
_root.currentLevel = "level4a_rem";
_root.playerHealth = 0;
_root.removePlayerBullets_1();
sounds.gotoAndStop(3);
Instance of Symbol 131 MovieClip in Frame 73
onClipEvent (enterFrame) {
this._rotation = this._rotation + 3;
}
Frame 75
swipe.play();
health.gotoAndStop(_root.playerHealth);
_root.currentLevel = "level5a";
_quality = "medium";
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.numEnemies[0] = 14;
sounds.gotoAndStop(3);
Instance of Symbol 634 MovieClip "e_1_2" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_1" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_3" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_4" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_5" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_6" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_7" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_8" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_9" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_10" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_11" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_12" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_13" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 634 MovieClip "e_1_14" in Frame 75
onClipEvent (load) {
var dir = -1;
var shots = new Array();
var shootReady = true;
}
onClipEvent (enterFrame) {
_root.e1Check(this);
}
Instance of Symbol 1234 MovieClip "player" in Frame 75
onClipEvent (load) {
var speed = 0;
var speedTot = 6.5;
var speedInc = 0.5;
var jumpHeight = 0;
var jumpHeightMax = 15;
var fallMax = 9;
var gravity = 1;
var jumping = true;
_root.boss2.play();
_root.removePlayerBullets_1();
_root.health.stop();
var bh = 1;
var shots_1 = new Array();
var shotSpeed_1 = 10;
var shots_2 = new Array();
var shotSpeed_2 = 5;
var shot1_int_tot = 10;
var shot1_int = shot1_int_tot;
var shot2_int_tot = 50;
var shot2_int = 1;
var dir = 1;
var shots = new Array();
var shotSpeed = 15;
var moveReady = true;
var jumpReady = true;
this.stop();
tread.stop();
jump.gotoAndStop(jump._totalframes);
shoot1_1.gotoAndStop(shoot1_1._totalframes);
shoot1_2.gotoAndStop(shoot1_2._totalframes);
shoot1_3.gotoAndStop(shoot1_3._totalframes);
shoot2.gotoAndStop(shoot2._totalframes);
var shootReady = true;
var mac1H = 35;
var mac2H = 35;
}
onClipEvent (enterFrame) {
_root.bg1._x = _root.bg1._x - speed;
_root.bg2._x = _root.bg2._x - speed;
_root.fg._x = _root.fg._x - speed;
_root.enemies._x = _root.enemies._x - speed;
_root.mock._x = _root.mock._x - speed;
_root.enemyMoveHor(1, speed);
_root.enemyBulletMoveHor(1, speed);
if (Key.isDown(39) && (moveReady)) {
if (speed < speedTot) {
speed = speed + speedInc;
}
tread.play();
dir = 1;
var a = 0;
while (a < shots_2.length) {
if (shots_2[a][1] < 0) {
shots_2[a][0]._x = shots_2[a][0]._x - (Math.abs(speed) / 3);
} else {
shots_2[a][0]._x = shots_2[a][0]._x + ((Math.abs(speed) * -1) / 3);
}
a++;
}
} else if (Key.isDown(37) && (moveReady)) {
if (speed > (speedTot * -1)) {
speed = speed - speedInc;
}
tread.play();
dir = -1;
var a = 0;
while (a < shots_2.length) {
if (shots_2[a][1] < 0) {
shots_2[a][0]._x = shots_2[a][0]._x - ((Math.abs(speed) * -1) / 3);
} else {
shots_2[a][0]._x = shots_2[a][0]._x + (Math.abs(speed) / 3);
}
a++;
}
} else if (speed > 0) {
speed = speed - speedInc;
} else if (speed < 0) {
speed = speed + speedInc;
}
if (_root.mock.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
speed = 3;
}
if (_root.mock.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
speed = -3;
}
if (speed == 0) {
tread.stop();
}
if (dir == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
if (jumping) {
_root.bg1._y = _root.bg1._y + jumpHeight;
_root.bg2._y = _root.bg2._y + jumpHeight;
_root.mock._y = _root.mock._y + jumpHeight;
_root.enemies._y = _root.enemies._y + jumpHeight;
_root.fg._y = _root.fg._y + jumpHeight;
_root.enemyMoveVer(1, jumpHeight);
_root.enemyBulletMoveVer(1, jumpHeight);
if (jumpReady || (moveReady)) {
jumpHeight = jumpHeight - gravity;
}
if (jumpHeight <= (fallMax * -1)) {
jumpHeight = fallMax * -1;
}
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._y = shots_1[a][0]._y + jumpHeight;
a++;
}
var a = 0;
while (a < shots_2.length) {
shots_2[a][0]._y = shots_2[a][0]._y + jumpHeight;
a++;
}
}
if ((Key.isDown(38) && (!jumping)) && (moveReady)) {
jumping = true;
this.jump.gotoAndPlay(1);
_root.bg1._y = _root.bg1._y + jumpHeight;
_root.bg2._y = _root.bg2._y + jumpHeight;
_root.mock._y = _root.mock._y + jumpHeight;
_root.enemies._y = _root.enemies._y + jumpHeight;
_root.fg._y = _root.fg._y + jumpHeight;
_root.enemyMoveVer(1, jumpHeight);
_root.enemyBulletMoveVer(1, jumpHeight);
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._y = shots_1[a][0]._y + jumpHeight;
a++;
}
var a = 0;
while (a < shots_2.length) {
shots_2[a][0]._y = shots_2[a][0]._y + jumpHeight;
a++;
}
}
if (_root.mock.hitTest((_x + (_width / 2)) - 10, _y, true) || (_root.mock.hitTest((_x - (_width / 2)) + 10, _y, true) && (jumping))) {
jumping = false;
jumpHeight = jumpHeightMax;
}
if (_root.mock.hitTest((_x + (_width / 2)) - 10, _y - 5, true) || (_root.mock.hitTest((_x - (_width / 2)) + 10, _y - 5, true))) {
_root.bg1._y = _root.bg1._y + 4;
_root.bg2._y = _root.bg2._y + 4;
_root.mock._y = _root.mock._y + 4;
_root.enemies._y = _root.enemies._y + 4;
_root.fg._y = _root.fg._y + 4;
var a = 0;
while (a < _root.numEnemies[0]) {
_root["e_1_" + (a + 1)]._y = _root["e_1_" + (a + 1)]._y + 4;
a++;
}
}
if (((!_root.mock.hitTest((_x + (_width / 2)) - 10, _y, true)) && (!_root.mock.hitTest((_x - (_width / 2)) + 10, _y, true))) && (!jumping)) {
jumpHeight = 0;
jumping = true;
}
if (_root.mock.hitTest(_x, _y - 50, true)) {
jumpHeight = -3;
jumping = true;
}
if ((_root.health._currentframe == _root.health._totalframes) && (_currentframe == 1)) {
this.play();
speed = 0;
jumpHeight = 0;
}
if ((_alpha < 100) && (_alpha > 0)) {
_alpha = (_alpha + 5);
}
if (_currentframe > 1) {
_alpha = 100;
}
if (shot1_int > 0) {
shot1_int--;
}
if (Key.isDown(65) && (shootReady)) {
if (shot1_int > 0) {
shot1_int--;
} else {
shoot1_1.gotoAndPlay(1);
shoot1_2.gotoAndPlay(1);
shoot1_3.gotoAndPlay(1);
_root.attachMovie("shot-1", "shot-1_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
shots_1.push([_root["shot-1_" + (_root.getNextHighestDepth() - 1)], shotSpeed_1 * dir]);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._x = (_x + ((_width / 2) * dir)) - (shotSpeed_1 * dir);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._y = _y - 17;
_root.attachMovie("shot-1", "shot-1_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
shots_1.push([_root["shot-1_" + (_root.getNextHighestDepth() - 1)], shotSpeed_1 * dir]);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._x = ((_x + ((_width / 2) * dir)) - (shotSpeed_1 * dir)) + 3;
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._y = _y - 27;
_root.attachMovie("shot-1", "shot-1_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
shots_1.push([_root["shot-1_" + (_root.getNextHighestDepth() - 1)], shotSpeed_1 * dir]);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._x = ((_x + ((_width / 2) * dir)) - (shotSpeed_1 * dir)) + 13;
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._y = _y - 20;
shot1_int = shot1_int_tot;
}
}
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._x = shots_1[a][0]._x + shots_1[a][1];
if (shots_1[a][0]._x < (-1 * shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
} else if (shots_1[a][0]._x > (Stage.width + shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
if (_currentframe == _totalframes) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.removePlayerBullets_1();
}
if (shots_1[a][0].hitTest(_root.enemies.machine1.turret.hurt) && (_root.enemies.machine1._currentframe == 1)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
mac1H--;
_root.enemies.machine1._alpha = 25;
}
if (shots_1[a][0].hitTest(_root.enemies.machine2.turret.hurt) && (_root.enemies.machine2._currentframe == 1)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
mac2H--;
_root.enemies.machine2._alpha = 25;
}
var b = 0;
while (b < _root.numEnemies[0]) {
if (shots_1[a][0].hitTest(_root["e_1_" + (b + 1)].hit1) && (_root["e_1_" + (b + 1)]._currentframe < 4)) {
_root["e_1_" + (b + 1)].gotoAndPlay("die");
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
b++;
}
a++;
}
if (shot2_int > 0) {
shot2_int--;
}
if (Key.isDown(83) && (shootReady)) {
if (shot2_int > 0) {
shot2_int--;
} else {
shoot2.gotoAndPlay(1);
}
}
var a = 0;
while (a < shots_2.length) {
shots_2[a][0]._x = shots_2[a][0]._x + shots_2[a][1];
if (shots_2[a][0]._x < (-1 * shots_2[a][0]._width)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
} else if (shots_2[a][0]._x > (Stage.width + shots_2[a][0]._width)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
}
if (_currentframe == _totalframes) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
_root.removePlayerBullets_2();
}
if (shots_2[a][0].hitTest(_root.enemies.machine1.turret.hurt) && (_root.enemies.machine1._currentframe == 1)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
mac1H--;
_root.enemies.machine1._alpha = 25;
}
if (shots_2[a][0].hitTest(_root.enemies.machine2.turret.hurt) && (_root.enemies.machine2._currentframe == 1)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
mac2H--;
_root.enemies.machine2._alpha = 25;
}
var b = 0;
while (b < _root.numEnemies[0]) {
if (shots_2[a][0].hitTest(_root["e_1_" + (b + 1)].hit1) && (_root["e_1_" + (b + 1)]._currentframe < 4)) {
_root["e_1_" + (b + 1)].gotoAndPlay("die");
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
}
b++;
}
a++;
}
if ((mac1H < 0) && (_root.enemies.machine1._currentframe == 1)) {
_root.enemies.machine1._alpha = 100;
_root.enemies.machine1.play();
}
if ((mac2H < 0) && (_root.enemies.machine2._currentframe == 1)) {
_root.enemies.machine2._alpha = 100;
_root.enemies.machine2.play();
}
if (_root.enemies.machine1._alpha < 100) {
_root.enemies.machine1._alpha = _root.enemies.machine1._alpha + 5;
}
if (_root.enemies.machine2._alpha < 100) {
_root.enemies.machine2._alpha = _root.enemies.machine2._alpha + 5;
}
}
Instance of Symbol 444 MovieClip in Frame 75
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.gotoAndStop("menu");
}
Instance of Symbol 450 MovieClip in Frame 75
onClipEvent (enterFrame) {
if (_root.muting && (_currentframe != 2)) {
this.gotoAndStop(2);
} else if ((!_root.muting) && (_currentframe != 1)) {
this.gotoAndStop(1);
}
}
Frame 77
swipe.play();
health.gotoAndStop(_root.playerHealth);
_root.currentLevel = "level5b";
_quality = "high";
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
sounds.gotoAndStop(4);
Instance of Symbol 1234 MovieClip "player" in Frame 77
onClipEvent (load) {
var speed = 0;
var speedTot = 6.5;
var speedInc = 0.5;
var jumpHeight = 0;
var jumpHeightMax = 15;
var fallMax = 9;
var gravity = 1;
var jumping = true;
_root.boss2.play();
_root.removePlayerBullets_1();
_root.health.stop();
var bh = 1;
var shots_1 = new Array();
var shotSpeed_1 = 10;
var shots_2 = new Array();
var shotSpeed_2 = 5;
var shot1_int_tot = 10;
var shot1_int = shot1_int_tot;
var shot2_int_tot = 50;
var shot2_int = 1;
var dir = -1;
var shots = new Array();
var shotSpeed = 15;
var moveReady = true;
var jumpReady = true;
this.stop();
tread.stop();
jump.gotoAndStop(jump._totalframes);
shoot1_1.gotoAndStop(shoot1_1._totalframes);
shoot1_2.gotoAndStop(shoot1_2._totalframes);
shoot1_3.gotoAndStop(shoot1_3._totalframes);
shoot2.gotoAndStop(shoot2._totalframes);
var shootReady = true;
var bossHealth = 400;
var bossHealthStart = bossHealth;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
if (Key.isDown(39) && (moveReady)) {
if (speed < speedTot) {
speed = speed + speedInc;
}
tread.play();
dir = 1;
} else if (Key.isDown(37) && (moveReady)) {
if (speed > (speedTot * -1)) {
speed = speed - speedInc;
}
tread.play();
dir = -1;
} else if (speed > 0) {
speed = speed - speedInc;
} else if (speed < 0) {
speed = speed + speedInc;
}
if (_root.mock1.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
speed = 3;
}
if (_root.mock1.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
speed = -3;
}
if (speed == 0) {
tread.stop();
}
if (dir == 1) {
_xscale = 100;
} else {
_xscale = -100;
}
if (jumping) {
_y = (_y - jumpHeight);
jumpHeight = jumpHeight - gravity;
if (jumpHeight <= (fallMax * -1)) {
jumpHeight = fallMax * -1;
}
}
if ((Key.isDown(38) && (!jumping)) && (moveReady)) {
jumping = true;
this.jump.gotoAndPlay(1);
_y = (_y - jumpHeight);
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true) && (jumping))) {
jumping = false;
jumpHeight = jumpHeightMax;
}
if (_root.mock1.hitTest((_x + (_width / 2)) - 10, _y - 5, true) || (_root.mock1.hitTest((_x - (_width / 2)) + 10, _y - 5, true))) {
_y = (_y - 4);
}
if (_root.mock1.hitTest(_x, _y - 50, true)) {
jumpHeight = -3;
jumping = true;
}
if (_currentframe > 1) {
_alpha = 100;
}
if (((!_root.mock1.hitTest((_x + (_width / 2)) - 10, _y, true)) && (!_root.mock1.hitTest((_x - (_width / 2)) + 10, _y, true))) && (!jumping)) {
jumpHeight = 0;
jumping = true;
}
if ((_alpha < 100) && (_alpha > 0)) {
_alpha = (_alpha + 5);
}
if ((_root.health._currentframe == _root.health._totalframes) && (_currentframe == 1)) {
this.play();
speed = 0;
jumpHeight = 0;
}
if (shot1_int > 0) {
shot1_int--;
}
if (Key.isDown(65) && (shootReady)) {
if (shot1_int > 0) {
shot1_int--;
} else {
shoot1_1.gotoAndPlay(1);
shoot1_2.gotoAndPlay(1);
shoot1_3.gotoAndPlay(1);
_root.attachMovie("shot-1", "shot-1_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
shots_1.push([_root["shot-1_" + (_root.getNextHighestDepth() - 1)], shotSpeed_1 * dir]);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._x = (_x + ((_width / 2) * dir)) - (shotSpeed_1 * dir);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._y = _y - 17;
_root.attachMovie("shot-1", "shot-1_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
shots_1.push([_root["shot-1_" + (_root.getNextHighestDepth() - 1)], shotSpeed_1 * dir]);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._x = ((_x + ((_width / 2) * dir)) - (shotSpeed_1 * dir)) + 3;
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._y = _y - 27;
_root.attachMovie("shot-1", "shot-1_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
shots_1.push([_root["shot-1_" + (_root.getNextHighestDepth() - 1)], shotSpeed_1 * dir]);
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._x = ((_x + ((_width / 2) * dir)) - (shotSpeed_1 * dir)) + 13;
_root["shot-1_" + (_root.getNextHighestDepth() - 1)]._y = _y - 20;
shot1_int = shot1_int_tot;
}
}
var a = 0;
while (a < shots_1.length) {
shots_1[a][0]._x = shots_1[a][0]._x + shots_1[a][1];
if (shots_1[a][0]._x < (-1 * shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
} else if (shots_1[a][0]._x > (Stage.width + shots_1[a][0]._width)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
if (_currentframe == _totalframes) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
_root.removePlayerBullets_1();
}
if (shots_1[a][0].hitTest(_root.enemies.machine1.turret.hurt) && (_root.enemies.machine1._currentframe == 1)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
mac1H--;
_root.enemies.machine1._alpha = 25;
}
if (shots_1[a][0].hitTest(_root.enemies.machine2.turret.hurt) && (_root.enemies.machine2._currentframe == 1)) {
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
mac2H--;
_root.enemies.machine2._alpha = 25;
}
var b = 0;
while (b < _root.numEnemies[0]) {
if (shots_1[a][0].hitTest(_root["e_1_" + (b + 1)].hit1) && (_root["e_1_" + (b + 1)]._currentframe < 4)) {
_root["e_1_" + (b + 1)].gotoAndPlay("die");
removeMovieClip(shots_1[a][0]);
shots_1.splice(a, 1);
}
b++;
}
a++;
}
if (shot2_int > 0) {
shot2_int--;
}
if (Key.isDown(83) && (shootReady)) {
if (shot2_int > 0) {
shot2_int--;
} else {
shoot2.gotoAndPlay(1);
}
}
var a = 0;
while (a < shots_2.length) {
shots_2[a][0]._x = shots_2[a][0]._x + shots_2[a][1];
if (shots_2[a][0]._x < (-1 * shots_2[a][0]._width)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
} else if (shots_2[a][0]._x > (Stage.width + shots_2[a][0]._width)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
}
if (_currentframe == _totalframes) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
_root.removePlayerBullets_2();
}
if (shots_2[a][0].hitTest(_root.enemies.machine1.turret.hurt) && (_root.enemies.machine1._currentframe == 1)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
mac1H--;
_root.enemies.machine1._alpha = 25;
}
if (shots_2[a][0].hitTest(_root.enemies.machine2.turret.hurt) && (_root.enemies.machine2._currentframe == 1)) {
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
mac2H--;
_root.enemies.machine2._alpha = 25;
}
var b = 0;
while (b < _root.numEnemies[0]) {
if (shots_2[a][0].hitTest(_root["e_1_" + (b + 1)].hit1) && (_root["e_1_" + (b + 1)]._currentframe < 4)) {
_root["e_1_" + (b + 1)].gotoAndPlay("die");
removeMovieClip(shots_2[a][0]);
shots_2.splice(a, 1);
}
b++;
}
a++;
}
if (hitTest(_root.boss.anim.hit1) && (_alpha == 100)) {
_root.hurt(10);
}
if (hitTest(_root.boss.anim.hit2) && (_alpha == 100)) {
_root.hurt(10);
}
if (_root.boss.anim.hit3.hitTest(_x, _y, true) && (_alpha == 100)) {
_root.hurt(10);
}
_root.bossHealth.gotoAndStop(100 - (Math.ceil(bossHealth / (bossHealthStart / 100)) + 1));
}
Instance of Symbol 459 MovieClip "bossHealth" in Frame 77
onClipEvent (load) {
this.stop();
}
Instance of Symbol 444 MovieClip in Frame 77
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
on (press) {
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.gotoAndStop("menu");
}
Instance of Symbol 450 MovieClip in Frame 77
onClipEvent (enterFrame) {
if (_root.muting && (_currentframe != 2)) {
this.gotoAndStop(2);
} else if ((!_root.muting) && (_currentframe != 1)) {
this.gotoAndStop(1);
}
}
Frame 79
swipe.gotoAndPlay(1);
sounds.gotoAndStop(2);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
Instance of Symbol 35 MovieClip [star] in Frame 197
onClipEvent (load) {
_x = (Math.random() * Stage.width);
_y = (Math.random() * Stage.height);
}
onClipEvent (enterFrame) {
_x = (_x + 3.5);
if (_x > (Stage.width + (_width / 2))) {
_x = (-0.5 * _width);
}
}
Instance of Symbol 35 MovieClip [star] in Frame 197
onClipEvent (load) {
_x = (Math.random() * Stage.width);
_y = (Math.random() * Stage.height);
}
onClipEvent (enterFrame) {
_x = (_x + 3.5);
if (_x > (Stage.width + (_width / 2))) {
_x = (-0.5 * _width);
}
}
Instance of Symbol 35 MovieClip [star] in Frame 197
onClipEvent (load) {
_x = (Math.random() * Stage.width);
_y = (Math.random() * Stage.height);
}
onClipEvent (enterFrame) {
_x = (_x + 3.5);
if (_x > (Stage.width + (_width / 2))) {
_x = (-0.5 * _width);
}
}
Instance of Symbol 35 MovieClip [star] in Frame 197
onClipEvent (load) {
_x = (Math.random() * Stage.width);
_y = (Math.random() * Stage.height);
}
onClipEvent (enterFrame) {
_x = (_x + 3.5);
if (_x > (Stage.width + (_width / 2))) {
_x = (-0.5 * _width);
}
}
Instance of Symbol 35 MovieClip [star] in Frame 197
onClipEvent (load) {
_x = (Math.random() * Stage.width);
_y = (Math.random() * Stage.height);
}
onClipEvent (enterFrame) {
_x = (_x + 3.5);
if (_x > (Stage.width + (_width / 2))) {
_x = (-0.5 * _width);
}
}
Instance of Symbol 35 MovieClip [star] in Frame 197
onClipEvent (load) {
_x = (Math.random() * Stage.width);
_y = (Math.random() * Stage.height);
}
onClipEvent (enterFrame) {
_x = (_x + 3.5);
if (_x > (Stage.width + (_width / 2))) {
_x = (-0.5 * _width);
}
}
Instance of Symbol 35 MovieClip [star] in Frame 197
onClipEvent (load) {
_x = (Math.random() * Stage.width);
_y = (Math.random() * Stage.height);
}
onClipEvent (enterFrame) {
_x = (_x + 3.5);
if (_x > (Stage.width + (_width / 2))) {
_x = (-0.5 * _width);
}
}
Instance of Symbol 35 MovieClip [star] in Frame 197
onClipEvent (load) {
_x = (Math.random() * Stage.width);
_y = (Math.random() * Stage.height);
}
onClipEvent (enterFrame) {
_x = (_x + 3.5);
if (_x > (Stage.width + (_width / 2))) {
_x = (-0.5 * _width);
}
}
Frame 270
stop();
Symbol 7 Button
on (press) {
_root.swipe.gotoAndPlay(1);
_root.gotoAndStop("menu");
}
Symbol 11 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 15 Button
on (release) {
getURL ("http://www.marcustyr.net", "blank");
}
Symbol 19 Button
on (release) {
getURL ("http://www.snubbyland.com", "blank");
}
Symbol 22 Button
on (release) {
getURL ("http://junkycow.newgrounds.com", "blank");
}
Symbol 48 Button
on (release) {
_root.play();
}
Symbol 49 MovieClip Frame 1
stop();
Instance of Symbol 44 MovieClip in Symbol 49 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.p;
}
Symbol 53 MovieClip Frame 1
stopAllSounds();
if (_root.muting) {
stop();
}
Symbol 53 MovieClip Frame 2
stop();
Symbol 55 MovieClip Frame 1
stopAllSounds();
if (_root.muting) {
stop();
}
Symbol 55 MovieClip Frame 2
stop();
Symbol 57 MovieClip Frame 1
stopAllSounds();
if (_root.muting) {
stop();
}
Symbol 57 MovieClip Frame 2
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 62 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 75 MovieClip Frame 1
_root.stop();
Symbol 75 MovieClip Frame 84
_root.play();
Symbol 93 MovieClip Frame 1
_root.stop();
Symbol 93 MovieClip Frame 59
_root.play();
Symbol 128 MovieClip Frame 1
_root.stop();
Instance of Symbol 95 MovieClip in Symbol 128 MovieClip Frame 1
on (press) {
getURL ("http://www.snubbyland.com", "_blank");
}
Instance of Symbol 97 MovieClip in Symbol 128 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 128 MovieClip Frame 100
_root.play();
Symbol 137 MovieClip Frame 11
stop();
Symbol 161 MovieClip Frame 10
stop();
Symbol 197 Button
on (release) {
_root.swipe.gotoAndPlay(1);
_root.gotoAndStop("level1a");
}
Symbol 198 Button
on (release) {
_root.swipe.gotoAndPlay(1);
_root.gotoAndStop("controls");
}
Symbol 199 Button
on (release) {
_root.swipe.gotoAndPlay(1);
_root.gotoAndStop("credits");
}
Symbol 200 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 201 Button
on (release) {
getURL ("http://www.ArmorBlog.com", "blank");
}
Symbol 202 MovieClip Frame 39
stop();
Symbol 206 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 208 Button
on (release) {
_root.swipe.gotoAndPlay(1);
_root.gotoAndStop("menu");
}
Symbol 215 Button
on (press) {
_root.swipe.gotoAndPlay(1);
_root.gotoAndStop(_root.currentLevel);
}
Symbol 217 Button
on (press) {
getURL ("http://armorgames.com", "_blank");
}
Symbol 225 Button
on (release) {
getURL ("http://www.snubbyland.com", "blank");
}
Symbol 230 Button
on (release) {
getURL ("http://junkycow.newgrounds.com", "blank");
}
Symbol 237 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 51
stop();
Symbol 336 MovieClip Frame 22
_root.boss2.gotoAndPlay(2);
Symbol 353 MovieClip Frame 17
stop();
Symbol 363 MovieClip Frame 17
stop();
Symbol 386 MovieClip Frame 21
stop();
Symbol 389 MovieClip Frame 86
stop();
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 390 MovieClip Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(3);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 390 MovieClip Frame 45
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(3);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 390 MovieClip Frame 89
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(3);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 390 MovieClip Frame 121
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(3);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 390 MovieClip Frame 165
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(3);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 390 MovieClip Frame 197
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(3);
_alpha = 0;
_root.player._alpha = 25;
}
}
Symbol 390 MovieClip Frame 295
_root.balls.gotoAndPlay(2);
_root.balls._alpha = 100;
_root.spring3.gotoAndStop(2);
_root.boss2.hitReady = true;
Symbol 390 MovieClip Frame 379
gotoAndPlay (2);
Instance of Symbol 336 MovieClip in Symbol 390 MovieClip Frame 380
onClipEvent (enterFrame) {
if (_currentframe == _totalframes) {
_root.boss2.gotoAndPlay(2);
}
}
Symbol 390 MovieClip Frame 381
if (_root.boss2.lives > 0) {
gotoAndPlay (2);
}
Symbol 390 MovieClip Frame 553
_root.gotoAndStop("level2a_rem");
Symbol 392 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 40
_parent.gotoAndStop(1);
Symbol 397 MovieClip Frame 1
_root.spring3._alpha = 99;
Symbol 397 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 398 MovieClip Frame 1
stop();
_alpha = 100;
Symbol 411 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 2
_root.player.moveReady = false;
_root.player.speed = 0;
_root.player.jumpHeight = 0;
Symbol 411 MovieClip Frame 25
_root.removeEBullets(1);
_root.die();
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 7
stop();
Symbol 425 MovieClip Frame 13
stop();
Symbol 437 MovieClip Frame 100
_root.removeEBullets(1);
_root.player.play();
_root.player.moveReady = false;
_root.player.speed = 0;
_root.player.jumpHeight = 0;
_root.player._alpha = 100;
Symbol 441 MovieClip Frame 40
stop();
Symbol 447 Button
on (press) {
_root.muting = true;
_root.sounds.player.gotoAndStop(1);
}
Symbol 449 Button
on (press) {
_root.muting = false;
_root.sounds.player.gotoAndStop(2);
}
Symbol 467 Button
on (press) {
_root.swipe.play();
_root.nextFrame();
}
Symbol 485 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_root._x = cX - (this._x * _local4);
_root._y = cY - (this._y * _local3);
_root._xscale = 100 * _local4;
_root._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_root._xscale = 100;
_root._yscale = 100;
_root._x = 0;
_root._y = 0;
}
this._visible = true;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_root);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 522 MovieClip Frame 15
stop();
Symbol 527 MovieClip Frame 50
stop();
Symbol 528 MovieClip Frame 1
_root.swipe.play();
stop();
Symbol 528 MovieClip Frame 2
_root.player.cutScene = true;
_root.health._x = 9999;
_root.health._y = 9999;
Symbol 528 MovieClip Frame 173
stop();
_root.swipe.play();
_root.player.moveReady = true;
_root.health._x = 17;
_root.health._y = 153.9;
Symbol 573 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 70
stop();
Symbol 580 MovieClip Frame 79
stop();
Symbol 581 MovieClip Frame 30
a.play();
_root.other1.play();
Symbol 581 MovieClip Frame 96
_root.player.moveReady = true;
_root.player.jumpReady = true;
_root.e_1_1.shootReady = true;
_root.e_1_2.shootReady = true;
_root.e_1_3.shootReady = true;
_root.e_1_4.shootReady = true;
_root.e_1_5.shootReady = true;
_root.e_1_6.shootReady = true;
_root.e_1_7.shootReady = true;
_root.e_1_8.shootReady = true;
_root.e_1_9.shootReady = true;
_root.e_1_10.shootReady = true;
_root.e_1_11.shootReady = true;
_root.e_1_12.shootReady = true;
_root.e_1_13.shootReady = true;
Symbol 581 MovieClip Frame 115
stop();
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 587 MovieClip Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(3);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 587 MovieClip Frame 24
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(3);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 594 MovieClip in Symbol 596 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((hitTest(_root.player) && (_root.player._alpha == 100)) && (_root.player._currentframe == 1)) {
_root.hurt(10);
}
}
Instance of Symbol 589 MovieClip in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(12);
_alpha = 0;
}
}
Instance of Symbol 589 MovieClip in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(12);
_alpha = 0;
}
}
Instance of Symbol 589 MovieClip in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(12);
_alpha = 0;
}
}
Instance of Symbol 592 MovieClip in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.player._currentframe < 2) && (hitTest(_root.player))) && (_root.player._alpha == 100)) {
_root.hurt(5);
}
}
Instance of Symbol 596 MovieClip in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (20);
}
Instance of Symbol 596 MovieClip in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (10);
}
Symbol 634 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 43
stop();
Instance of Symbol 638 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 641 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 638 MovieClip in Symbol 655 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 655 MovieClip Frame 43
stop();
Symbol 672 MovieClip Frame 13
stop();
Instance of Symbol 363 MovieClip in Symbol 681 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 353 MovieClip in Symbol 681 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay (5);
}
Symbol 681 MovieClip Frame 101
_root.gotoAndStop("level3a_rem");
Symbol 682 MovieClip Frame 90
if (_root.bossHealth._currentframe == _root.bossHealth._totalframes) {
gotoAndStop (221);
} else {
play();
}
Symbol 682 MovieClip Frame 220
gotoAndPlay (44);
Symbol 697 MovieClip Frame 15
stop();
Symbol 703 MovieClip Frame 1
stop();
Symbol 703 MovieClip Frame 2
_root.player.moveReady = false;
_root.player.speed = 0;
_root.player.jumpHeight = 0;
Symbol 703 MovieClip Frame 3
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 4
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 5
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 6
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 7
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 8
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 9
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 10
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 11
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 12
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 13
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 14
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 15
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 16
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 17
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 18
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 19
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 20
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 21
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 22
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 23
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 24
_root.player._alpha = 100;
Symbol 703 MovieClip Frame 25
_root.player._alpha = 100;
_root.removeEBullets(1);
_root.die();
Symbol 710 MovieClip Frame 1
stop();
Symbol 710 MovieClip Frame 7
stop();
Symbol 710 MovieClip Frame 13
stop();
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._x = _root.bg1._x + 3.5;
_root.bg2._x = _root.bg2._x + 3.5;
_root.bg3._x = _root.bg3._x + 3.5;
_root.fg1._x = _root.fg1._x + 3.5;
_root.boss._x = _root.boss._x + 3.5;
_root.mock1._x = _root.mock1._x + 3.5;
_root.mock2._x = _root.mock2._x + 3.5;
_root.mock3._x = _root.mock3._x + 3.5;
_root.door1._x = _root.door1._x + 3.5;
_root.other1._x = _root.other1._x + 3.5;
_root.other2._x = _root.other2._x + 3.5;
_root.other3._x = _root.other3._x + 3.5;
_root.enemyMoveHor(1, 3.5);
_root.enemyBulletMoveHor(1, 3.5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.bg3._y = _root.bg3._y + 3;
_root.fg1._y = _root.fg1._y + 3;
_root.boss._y = _root.boss._y + 3;
_root.mock1._y = _root.mock1._y + 3;
_root.mock2._y = _root.mock2._y + 3;
_root.mock3._y = _root.mock3._y + 3;
_root.door1._y = _root.door1._y + 3;
_root.other1._y = _root.other1._y + 3;
_root.other2._y = _root.other2._y + 3;
_root.other3._y = _root.other3._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 5;
_root.bg2._y = _root.bg2._y - 5;
_root.bg3._y = _root.bg3._y - 5;
_root.fg1._y = _root.fg1._y - 5;
_root.boss._y = _root.boss._y - 5;
_root.mock1._y = _root.mock1._y - 5;
_root.mock2._y = _root.mock2._y - 5;
_root.mock3._y = _root.mock3._y - 5;
_root.door1._y = _root.door1._y - 5;
_root.other1._y = _root.other1._y - 5;
_root.other2._y = _root.other2._y - 5;
_root.other3._y = _root.other3._y - 5;
_root.enemyMoveVer(1, 5);
_root.enemyBulletMoveVer(1, 5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.bg3._y = _root.bg3._y + 3;
_root.fg1._y = _root.fg1._y + 3;
_root.boss._y = _root.boss._y + 3;
_root.mock1._y = _root.mock1._y + 3;
_root.mock2._y = _root.mock2._y + 3;
_root.mock3._y = _root.mock3._y + 3;
_root.door1._y = _root.door1._y + 3;
_root.other1._y = _root.other1._y + 3;
_root.other2._y = _root.other2._y + 3;
_root.other3._y = _root.other3._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 5;
_root.bg2._y = _root.bg2._y - 5;
_root.bg3._y = _root.bg3._y - 5;
_root.fg1._y = _root.fg1._y - 5;
_root.boss._y = _root.boss._y - 5;
_root.mock1._y = _root.mock1._y - 5;
_root.mock2._y = _root.mock2._y - 5;
_root.mock3._y = _root.mock3._y - 5;
_root.door1._y = _root.door1._y - 5;
_root.other1._y = _root.other1._y - 5;
_root.other2._y = _root.other2._y - 5;
_root.other3._y = _root.other3._y - 5;
_root.enemyMoveVer(1, 5);
_root.enemyBulletMoveVer(1, 5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.bg3._y = _root.bg3._y + 3;
_root.fg1._y = _root.fg1._y + 3;
_root.boss._y = _root.boss._y + 3;
_root.mock1._y = _root.mock1._y + 3;
_root.mock2._y = _root.mock2._y + 3;
_root.mock3._y = _root.mock3._y + 3;
_root.door1._y = _root.door1._y + 3;
_root.other1._y = _root.other1._y + 3;
_root.other2._y = _root.other2._y + 3;
_root.other3._y = _root.other3._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 717 MovieClip in Symbol 718 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.player)) {
_root.gotoAndStop("level2b");
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.bg3._y = _root.bg3._y - 3;
_root.fg1._y = _root.fg1._y - 3;
_root.boss._y = _root.boss._y - 3;
_root.mock1._y = _root.mock1._y - 3;
_root.mock2._y = _root.mock2._y - 3;
_root.mock3._y = _root.mock3._y - 3;
_root.door1._y = _root.door1._y - 3;
_root.other1._y = _root.other1._y - 3;
_root.other2._y = _root.other2._y - 3;
_root.other3._y = _root.other3._y - 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.bg3._y = _root.bg3._y - 3;
_root.fg1._y = _root.fg1._y - 3;
_root.boss._y = _root.boss._y - 3;
_root.mock1._y = _root.mock1._y - 3;
_root.mock2._y = _root.mock2._y - 3;
_root.mock3._y = _root.mock3._y - 3;
_root.door1._y = _root.door1._y - 3;
_root.other1._y = _root.other1._y - 3;
_root.other2._y = _root.other2._y - 3;
_root.other3._y = _root.other3._y - 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 73
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.bg3._y = _root.bg3._y - 3;
_root.fg1._y = _root.fg1._y - 3;
_root.boss._y = _root.boss._y - 3;
_root.mock1._y = _root.mock1._y - 3;
_root.mock2._y = _root.mock2._y - 3;
_root.mock3._y = _root.mock3._y - 3;
_root.door1._y = _root.door1._y - 3;
_root.other1._y = _root.other1._y - 3;
_root.other2._y = _root.other2._y - 3;
_root.other3._y = _root.other3._y - 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 5;
_root.bg2._y = _root.bg2._y - 5;
_root.bg3._y = _root.bg3._y - 5;
_root.fg1._y = _root.fg1._y - 5;
_root.boss._y = _root.boss._y - 5;
_root.mock1._y = _root.mock1._y - 5;
_root.mock2._y = _root.mock2._y - 5;
_root.mock3._y = _root.mock3._y - 5;
_root.door1._y = _root.door1._y - 5;
_root.other1._y = _root.other1._y - 5;
_root.other2._y = _root.other2._y - 5;
_root.other3._y = _root.other3._y - 5;
_root.enemyMoveVer(1, 5);
_root.enemyBulletMoveVer(1, 5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.bg3._y = _root.bg3._y + 3;
_root.fg1._y = _root.fg1._y + 3;
_root.boss._y = _root.boss._y + 3;
_root.mock1._y = _root.mock1._y + 3;
_root.mock2._y = _root.mock2._y + 3;
_root.mock3._y = _root.mock3._y + 3;
_root.door1._y = _root.door1._y + 3;
_root.other1._y = _root.other1._y + 3;
_root.other2._y = _root.other2._y + 3;
_root.other3._y = _root.other3._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 5;
_root.bg2._y = _root.bg2._y - 5;
_root.bg3._y = _root.bg3._y - 5;
_root.fg1._y = _root.fg1._y - 5;
_root.boss._y = _root.boss._y - 5;
_root.mock1._y = _root.mock1._y - 5;
_root.mock2._y = _root.mock2._y - 5;
_root.mock3._y = _root.mock3._y - 5;
_root.door1._y = _root.door1._y - 5;
_root.other1._y = _root.other1._y - 5;
_root.other2._y = _root.other2._y - 5;
_root.other3._y = _root.other3._y - 5;
_root.enemyMoveVer(1, 5);
_root.enemyBulletMoveVer(1, 5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.bg3._y = _root.bg3._y + 3;
_root.fg1._y = _root.fg1._y + 3;
_root.boss._y = _root.boss._y + 3;
_root.mock1._y = _root.mock1._y + 3;
_root.mock2._y = _root.mock2._y + 3;
_root.mock3._y = _root.mock3._y + 3;
_root.door1._y = _root.door1._y + 3;
_root.other1._y = _root.other1._y + 3;
_root.other2._y = _root.other2._y + 3;
_root.other3._y = _root.other3._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 85
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 5;
_root.bg2._y = _root.bg2._y - 5;
_root.bg3._y = _root.bg3._y - 5;
_root.fg1._y = _root.fg1._y - 5;
_root.boss._y = _root.boss._y - 5;
_root.mock1._y = _root.mock1._y - 5;
_root.mock2._y = _root.mock2._y - 5;
_root.mock3._y = _root.mock3._y - 5;
_root.door1._y = _root.door1._y - 5;
_root.other1._y = _root.other1._y - 5;
_root.other2._y = _root.other2._y - 5;
_root.other3._y = _root.other3._y - 5;
_root.enemyMoveVer(1, 5);
_root.enemyBulletMoveVer(1, 5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 157
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.bg3._y = _root.bg3._y - 3;
_root.fg1._y = _root.fg1._y - 3;
_root.boss._y = _root.boss._y - 3;
_root.mock1._y = _root.mock1._y - 3;
_root.mock2._y = _root.mock2._y - 3;
_root.mock3._y = _root.mock3._y - 3;
_root.door1._y = _root.door1._y - 3;
_root.other1._y = _root.other1._y - 3;
_root.other2._y = _root.other2._y - 3;
_root.other3._y = _root.other3._y - 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 157
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.bg3._y = _root.bg3._y - 3;
_root.fg1._y = _root.fg1._y - 3;
_root.boss._y = _root.boss._y - 3;
_root.mock1._y = _root.mock1._y - 3;
_root.mock2._y = _root.mock2._y - 3;
_root.mock3._y = _root.mock3._y - 3;
_root.door1._y = _root.door1._y - 3;
_root.other1._y = _root.other1._y - 3;
_root.other2._y = _root.other2._y - 3;
_root.other3._y = _root.other3._y - 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 170
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._x = _root.bg1._x + -3.5;
_root.bg2._x = _root.bg2._x + -3.5;
_root.bg3._x = _root.bg3._x + -3.5;
_root.fg1._x = _root.fg1._x + -3.5;
_root.boss._x = _root.boss._x + -3.5;
_root.mock1._x = _root.mock1._x + -3.5;
_root.mock2._x = _root.mock2._x + -3.5;
_root.mock3._x = _root.mock3._x + -3.5;
_root.door1._x = _root.door1._x + -3.5;
_root.other1._x = _root.other1._x + -3.5;
_root.other2._x = _root.other2._x + -3.5;
_root.other3._x = _root.other3._x + -3.5;
_root.enemyMoveHor(1, -3.5);
_root.enemyBulletMoveHor(1, -3.5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 170
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.bg3._y = _root.bg3._y + 3;
_root.fg1._y = _root.fg1._y + 3;
_root.boss._y = _root.boss._y + 3;
_root.mock1._y = _root.mock1._y + 3;
_root.mock2._y = _root.mock2._y + 3;
_root.mock3._y = _root.mock3._y + 3;
_root.door1._y = _root.door1._y + 3;
_root.other1._y = _root.other1._y + 3;
_root.other2._y = _root.other2._y + 3;
_root.other3._y = _root.other3._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 170
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 5;
_root.bg2._y = _root.bg2._y - 5;
_root.bg3._y = _root.bg3._y - 5;
_root.fg1._y = _root.fg1._y - 5;
_root.boss._y = _root.boss._y - 5;
_root.mock1._y = _root.mock1._y - 5;
_root.mock2._y = _root.mock2._y - 5;
_root.mock3._y = _root.mock3._y - 5;
_root.door1._y = _root.door1._y - 5;
_root.other1._y = _root.other1._y - 5;
_root.other2._y = _root.other2._y - 5;
_root.other3._y = _root.other3._y - 5;
_root.enemyMoveVer(1, 5);
_root.enemyBulletMoveVer(1, 5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 170
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.bg3._y = _root.bg3._y + 3;
_root.fg1._y = _root.fg1._y + 3;
_root.boss._y = _root.boss._y + 3;
_root.mock1._y = _root.mock1._y + 3;
_root.mock2._y = _root.mock2._y + 3;
_root.mock3._y = _root.mock3._y + 3;
_root.door1._y = _root.door1._y + 3;
_root.other1._y = _root.other1._y + 3;
_root.other2._y = _root.other2._y + 3;
_root.other3._y = _root.other3._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 170
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 5;
_root.bg2._y = _root.bg2._y - 5;
_root.bg3._y = _root.bg3._y - 5;
_root.fg1._y = _root.fg1._y - 5;
_root.boss._y = _root.boss._y - 5;
_root.mock1._y = _root.mock1._y - 5;
_root.mock2._y = _root.mock2._y - 5;
_root.mock3._y = _root.mock3._y - 5;
_root.door1._y = _root.door1._y - 5;
_root.other1._y = _root.other1._y - 5;
_root.other2._y = _root.other2._y - 5;
_root.other3._y = _root.other3._y - 5;
_root.enemyMoveVer(1, 5);
_root.enemyBulletMoveVer(1, 5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 170
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.bg3._y = _root.bg3._y + 3;
_root.fg1._y = _root.fg1._y + 3;
_root.boss._y = _root.boss._y + 3;
_root.mock1._y = _root.mock1._y + 3;
_root.mock2._y = _root.mock2._y + 3;
_root.mock3._y = _root.mock3._y + 3;
_root.door1._y = _root.door1._y + 3;
_root.other1._y = _root.other1._y + 3;
_root.other2._y = _root.other2._y + 3;
_root.other3._y = _root.other3._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 242
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.bg3._y = _root.bg3._y - 3;
_root.fg1._y = _root.fg1._y - 3;
_root.boss._y = _root.boss._y - 3;
_root.mock1._y = _root.mock1._y - 3;
_root.mock2._y = _root.mock2._y - 3;
_root.mock3._y = _root.mock3._y - 3;
_root.door1._y = _root.door1._y - 3;
_root.other1._y = _root.other1._y - 3;
_root.other2._y = _root.other2._y - 3;
_root.other3._y = _root.other3._y - 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 242
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.bg3._y = _root.bg3._y - 3;
_root.fg1._y = _root.fg1._y - 3;
_root.boss._y = _root.boss._y - 3;
_root.mock1._y = _root.mock1._y - 3;
_root.mock2._y = _root.mock2._y - 3;
_root.mock3._y = _root.mock3._y - 3;
_root.door1._y = _root.door1._y - 3;
_root.other1._y = _root.other1._y - 3;
_root.other2._y = _root.other2._y - 3;
_root.other3._y = _root.other3._y - 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 242
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.bg3._y = _root.bg3._y - 3;
_root.fg1._y = _root.fg1._y - 3;
_root.boss._y = _root.boss._y - 3;
_root.mock1._y = _root.mock1._y - 3;
_root.mock2._y = _root.mock2._y - 3;
_root.mock3._y = _root.mock3._y - 3;
_root.door1._y = _root.door1._y - 3;
_root.other1._y = _root.other1._y - 3;
_root.other2._y = _root.other2._y - 3;
_root.other3._y = _root.other3._y - 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 254
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 5;
_root.bg2._y = _root.bg2._y - 5;
_root.bg3._y = _root.bg3._y - 5;
_root.fg1._y = _root.fg1._y - 5;
_root.boss._y = _root.boss._y - 5;
_root.mock1._y = _root.mock1._y - 5;
_root.mock2._y = _root.mock2._y - 5;
_root.mock3._y = _root.mock3._y - 5;
_root.door1._y = _root.door1._y - 5;
_root.other1._y = _root.other1._y - 5;
_root.other2._y = _root.other2._y - 5;
_root.other3._y = _root.other3._y - 5;
_root.enemyMoveVer(1, 5);
_root.enemyBulletMoveVer(1, 5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 254
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.bg3._y = _root.bg3._y + 3;
_root.fg1._y = _root.fg1._y + 3;
_root.boss._y = _root.boss._y + 3;
_root.mock1._y = _root.mock1._y + 3;
_root.mock2._y = _root.mock2._y + 3;
_root.mock3._y = _root.mock3._y + 3;
_root.door1._y = _root.door1._y + 3;
_root.other1._y = _root.other1._y + 3;
_root.other2._y = _root.other2._y + 3;
_root.other3._y = _root.other3._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 254
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 5;
_root.bg2._y = _root.bg2._y - 5;
_root.bg3._y = _root.bg3._y - 5;
_root.fg1._y = _root.fg1._y - 5;
_root.boss._y = _root.boss._y - 5;
_root.mock1._y = _root.mock1._y - 5;
_root.mock2._y = _root.mock2._y - 5;
_root.mock3._y = _root.mock3._y - 5;
_root.door1._y = _root.door1._y - 5;
_root.other1._y = _root.other1._y - 5;
_root.other2._y = _root.other2._y - 5;
_root.other3._y = _root.other3._y - 5;
_root.enemyMoveVer(1, 5);
_root.enemyBulletMoveVer(1, 5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 254
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.bg3._y = _root.bg3._y + 3;
_root.fg1._y = _root.fg1._y + 3;
_root.boss._y = _root.boss._y + 3;
_root.mock1._y = _root.mock1._y + 3;
_root.mock2._y = _root.mock2._y + 3;
_root.mock3._y = _root.mock3._y + 3;
_root.door1._y = _root.door1._y + 3;
_root.other1._y = _root.other1._y + 3;
_root.other2._y = _root.other2._y + 3;
_root.other3._y = _root.other3._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 254
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 5;
_root.bg2._y = _root.bg2._y - 5;
_root.bg3._y = _root.bg3._y - 5;
_root.fg1._y = _root.fg1._y - 5;
_root.boss._y = _root.boss._y - 5;
_root.mock1._y = _root.mock1._y - 5;
_root.mock2._y = _root.mock2._y - 5;
_root.mock3._y = _root.mock3._y - 5;
_root.door1._y = _root.door1._y - 5;
_root.other1._y = _root.other1._y - 5;
_root.other2._y = _root.other2._y - 5;
_root.other3._y = _root.other3._y - 5;
_root.enemyMoveVer(1, 5);
_root.enemyBulletMoveVer(1, 5);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 326
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.bg3._y = _root.bg3._y - 3;
_root.fg1._y = _root.fg1._y - 3;
_root.boss._y = _root.boss._y - 3;
_root.mock1._y = _root.mock1._y - 3;
_root.mock2._y = _root.mock2._y - 3;
_root.mock3._y = _root.mock3._y - 3;
_root.door1._y = _root.door1._y - 3;
_root.other1._y = _root.other1._y - 3;
_root.other2._y = _root.other2._y - 3;
_root.other3._y = _root.other3._y - 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 718 MovieClip Frame 326
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.bg3._y = _root.bg3._y - 3;
_root.fg1._y = _root.fg1._y - 3;
_root.boss._y = _root.boss._y - 3;
_root.mock1._y = _root.mock1._y - 3;
_root.mock2._y = _root.mock2._y - 3;
_root.mock3._y = _root.mock3._y - 3;
_root.door1._y = _root.door1._y - 3;
_root.other1._y = _root.other1._y - 3;
_root.other2._y = _root.other2._y - 3;
_root.other3._y = _root.other3._y - 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Symbol 722 MovieClip Frame 40
stop();
Symbol 733 Button
on (press) {
_root.swipe.play();
_root.gotoAndStop("level3a");
}
Instance of Symbol 754 MovieClip in Symbol 756 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_root.mock1.platform._currentframe == 1)) {
_root.mock1.platform.play();
_root.player.moveReady = false;
_root.player.shootReady = false;
}
}
Instance of Symbol 755 MovieClip in Symbol 756 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.player._currentframe < 2) && (hitTest(_root.player))) && (_root.player._alpha == 100)) {
_root.hurt(5);
}
}
Symbol 770 MovieClip Frame 1
stop();
Instance of Symbol 765 MovieClip in Symbol 770 MovieClip Frame 2
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(10);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 765 MovieClip in Symbol 770 MovieClip Frame 22
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(10);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 765 MovieClip in Symbol 770 MovieClip Frame 42
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(10);
_alpha = 0;
_root.player._alpha = 25;
}
}
Symbol 787 MovieClip Frame 2
_root.boss1.gun.play();
Symbol 796 MovieClip Frame 1
_root.boss1.health--;
if (_root.boss1.health < 0) {
_root.boss1.play();
}
Symbol 796 MovieClip Frame 82
_root.boss1Repeat = true;
_parent.prevFrame();
Symbol 797 MovieClip Frame 1
stop();
Instance of Symbol 787 MovieClip "eyeHit" in Symbol 797 MovieClip Frame 1
onClipEvent (load) {
if (!_root.boss1Repeat) {
stop();
}
}
Symbol 809 MovieClip Frame 1
stop();
Symbol 809 MovieClip Frame 171
stop();
_root.mock1.bossWalls.gotoAndStop(2);
_root.mock1.platform.play();
Symbol 833 MovieClip Frame 150
_parent.gotoAndStop(Math.floor((Math.random() * 3) + 3));
Symbol 852 MovieClip Frame 102
if (_root.bossHealth._currentframe < _root.bossHealth._totalframes) {
_parent.gotoAndStop(Math.floor((Math.random() * 3) + 3));
} else {
_parent.gotoAndStop(6);
}
Instance of Symbol 862 MovieClip in Symbol 863 MovieClip Frame 69
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(10);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 862 MovieClip in Symbol 863 MovieClip Frame 84
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(10);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 862 MovieClip in Symbol 863 MovieClip Frame 99
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(10);
_alpha = 0;
_root.player._alpha = 25;
}
}
Symbol 863 MovieClip Frame 127
if (_root.bossHealth._currentframe < _root.bossHealth._totalframes) {
_parent.gotoAndStop(Math.floor((Math.random() * 3) + 3));
} else {
_parent.gotoAndStop(6);
}
Symbol 875 MovieClip Frame 80
if (_root.bossHealth._currentframe < _root.bossHealth._totalframes) {
_parent.gotoAndStop(Math.floor((Math.random() * 3) + 3));
} else {
_parent.gotoAndStop(6);
}
Symbol 880 MovieClip Frame 75
_root.swipe.gotoAndPlay(1);
_root.player.gotoAndStop(_root.player._totalframes);
_root.removePlayerBullets_1();
_root.gotoAndStop("level4a_rem");
Instance of Symbol 885 MovieClip in Symbol 896 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(10);
_alpha = 0;
}
}
Symbol 899 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 40
stop();
Symbol 906 MovieClip Frame 8
stop();
Instance of Symbol 697 MovieClip "jump" in Symbol 910 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 910 MovieClip Frame 2
_root.player.moveReady = false;
_root.player.speed = 0;
_root.player.jumpHeight = 0;
_root.player.shootReady = false;
_root.player._alpha = 100;
_root.removePlayerBullets_1();
Symbol 910 MovieClip Frame 25
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.die();
Symbol 910 MovieClip Frame 26
_root.removeEBullets(1);
_root.removePlayerBullets_1();
Symbol 916 MovieClip Frame 22
stop();
Symbol 919 MovieClip Frame 1
stop();
Instance of Symbol 917 MovieClip in Symbol 919 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 6;
_root.bg2._y = _root.bg2._y + 6;
_root.bg3._y = _root.bg3._y + 6;
_root.boss1._y = _root.boss1._y + 6;
_root.boss2._y = _root.boss2._y + 6;
_root.mock1._y = _root.mock1._y + 6;
_root.door1._y = _root.door1._y + 6;
_root.bird._y = _root.bird._y + 6;
_root.bird2._y = _root.bird2._y + 6;
_root.enemyMoveVer(1, 6);
_root.enemyBulletMoveVer(1, 6);
}
}
Instance of Symbol 917 MovieClip in Symbol 919 MovieClip Frame 168
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 6;
_root.bg2._y = _root.bg2._y + 6;
_root.bg3._y = _root.bg3._y + 6;
_root.boss1._y = _root.boss1._y + 3;
_root.boss2._y = _root.boss2._y + 3;
_root.mock1._y = _root.mock1._y + 3;
_root.door1._y = _root.door1._y + 3;
_root.bird._y = _root.bird._y + 6;
_root.bird2._y = _root.bird2._y + 6;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Symbol 919 MovieClip Frame 175
_root.player.moveReady = true;
_root.player.shootReady = true;
Symbol 919 MovieClip Frame 195
stop();
_root.boss1.eye.eyeHit.play();
Instance of Symbol 917 MovieClip in Symbol 919 MovieClip Frame 200
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 13;
_root.bg2._y = _root.bg2._y + 13;
_root.bg3._y = _root.bg3._y + 13;
_root.boss1._y = _root.boss1._y + 13;
_root.boss2._y = _root.boss2._y + 13;
_root.mock1._y = _root.mock1._y + 13;
_root.door1._y = _root.door1._y + 13;
_root.bird._y = _root.bird._y + 13;
_root.bird2._y = _root.bird2._y + 13;
_root.enemyMoveVer(1, 13);
_root.enemyBulletMoveVer(1, 13);
}
}
Instance of Symbol 917 MovieClip in Symbol 919 MovieClip Frame 200
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 13;
_root.bg2._y = _root.bg2._y + 13;
_root.bg3._y = _root.bg3._y + 13;
_root.boss1._y = _root.boss1._y + 13;
_root.boss2._y = _root.boss2._y + 13;
_root.mock1._y = _root.mock1._y + 13;
_root.door1._y = _root.door1._y + 13;
_root.bird._y = _root.bird._y + 13;
_root.bird2._y = _root.bird2._y + 13;
_root.enemyMoveVer(1, 13);
_root.enemyBulletMoveVer(1, 13);
}
}
Symbol 919 MovieClip Frame 219
stop();
Symbol 921 MovieClip Frame 1
stop();
Instance of Symbol 916 MovieClip "rocks" in Symbol 924 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Symbol 927 MovieClip Frame 40
stop();
Symbol 935 Button
on (press) {
_root.swipe.play();
_root.gotoAndStop("level4a");
}
Symbol 965 MovieClip Frame 1
stop();
Instance of Symbol 963 MovieClip in Symbol 965 MovieClip Frame 1
onClipEvent (enterFrame) {
var a = 0;
while (a < _root.player.shots_1.length) {
if (_root.player.shots_1[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_1[a][0]);
_root.player.shots_1.splice(a, 1);
_root.bossHealth.gotoAndStop((_root.bossHealth._currentframe = _root.bossHealth._currentframe + 2));
}
a++;
}
var a = 0;
while (a < _root.player.shots_2.length) {
if (_root.player.shots_2[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_2[a][0]);
_root.player.shots_2.splice(a, 1);
_root.bossHealth.gotoAndStop((_root.bossHealth._currentframe = _root.bossHealth._currentframe + 2));
}
a++;
}
if ((_parent._currentframe == 1) && (_root.bossHealth._currentframe == _root.bossHealth._totalframes)) {
_parent.gotoAndStop(2);
}
}
Symbol 982 MovieClip Frame 1
stop();
Instance of Symbol 967 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (enterFrame) {
var a = 0;
while (a < _root.player.shots_1.length) {
if (_root.player.shots_1[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_1[a][0]);
_root.player.shots_1.splice(a, 1);
_root.boss.gotoAndStop(Math.floor((Math.random() * 3) + 2));
}
a++;
}
var a = 0;
while (a < _root.player.shots_2.length) {
if (_root.player.shots_2[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_2[a][0]);
_root.player.shots_2.splice(a, 1);
_root.boss.gotoAndStop(Math.floor((Math.random() * 3) + 2));
}
a++;
}
}
Symbol 990 MovieClip Frame 148
if (_root.bossHealth._currentframe < _root.bossHealth._totalframes) {
_parent.gotoAndStop(Math.floor((Math.random() * 3) + 2));
} else {
_parent.gotoAndStop(5);
}
Symbol 1000 MovieClip Frame 96
if (_root.bossHealth._currentframe < _root.bossHealth._totalframes) {
_parent.gotoAndStop(Math.floor((Math.random() * 3) + 2));
} else {
_parent.gotoAndStop(5);
}
Symbol 1008 MovieClip Frame 68
if (_root.bossHealth._currentframe < _root.bossHealth._totalframes) {
_parent.gotoAndStop(Math.floor((Math.random() * 3) + 2));
} else {
_parent.gotoAndStop(5);
}
Instance of Symbol 965 MovieClip in Symbol 1011 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 982 MovieClip in Symbol 1011 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 982 MovieClip in Symbol 1011 MovieClip Frame 78
onClipEvent (load) {
this.stop();
}
Symbol 1011 MovieClip Frame 168
_root.swipe.gotoAndPlay(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.gotoAndStop("level5a_rem");
Symbol 1021 MovieClip Frame 1
_root.enemies.gate1.shoot1.gotoAndPlay(1);
_root.enemies.gate2.shoot1.gotoAndPlay(1);
Symbol 1021 MovieClip Frame 48
_root.enemies.gate1.shoot2.gotoAndPlay(1);
_root.enemies.gate2.shoot2.gotoAndPlay(1);
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 1022 MovieClip Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(3);
_alpha = 0;
_root.player._alpha = 25;
}
}
Symbol 1022 MovieClip Frame 134
stop();
Symbol 1023 MovieClip Frame 1
stop();
Instance of Symbol 1022 MovieClip "shoot1" in Symbol 1023 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_totalframes);
}
Instance of Symbol 1022 MovieClip "shoot2" in Symbol 1023 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_totalframes);
}
Symbol 1023 MovieClip Frame 54
stop();
Instance of Symbol 1012 MovieClip in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 1025 MovieClip in Symbol 1026 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.player._currentframe < 2) && (hitTest(_root.player))) && (_root.player._alpha == 100)) {
_root.hurt(5);
}
}
Instance of Symbol 1036 MovieClip in Symbol 1041 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_root.player._alpha == 100)) {
_root.hurt(3);
}
}
Instance of Symbol 1036 MovieClip in Symbol 1044 MovieClip Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_root.player._alpha == 100)) {
_root.hurt(7);
}
}
Instance of Symbol 1049 MovieClip in Symbol 1050 MovieClip Frame 14
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(5);
_alpha = 0;
_root.player._alpha = 25;
_parent.gotoAndPlay(71);
}
}
Instance of Symbol 1049 MovieClip in Symbol 1050 MovieClip Frame 70
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(3);
_alpha = 0;
_root.player._alpha = 25;
_parent.gotoAndPlay(71);
}
}
Symbol 1053 MovieClip Frame 52
stop();
Instance of Symbol 39 MovieClip [shot-1] in Symbol 1057 MovieClip Frame 26
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(5);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 39 MovieClip [shot-1] in Symbol 1057 MovieClip Frame 73
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(5);
_alpha = 0;
_root.player._alpha = 25;
_parent.gotoAndPlay(71);
}
}
Instance of Symbol 1057 MovieClip "shots" in Symbol 1058 MovieClip Frame 2
onClipEvent (load) {
this.stop();
}
Symbol 1058 MovieClip Frame 19
stop();
Symbol 1069 MovieClip Frame 2
_root.attachMovie("shot-2", "shot-2_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.player.shots_2.push([_root["shot-2_" + (_root.getNextHighestDepth() - 1)], _root.player.shotSpeed_2 * _root.player.dir]);
_root["shot-2_" + (_root.getNextHighestDepth() - 1)]._x = ((_root.player._x + ((_root.player._width / 2) * _root.player.dir)) - (_root.player.shotSpeed_2 * _root.player.dir)) - (13 * _root.player.dir);
_root["shot-2_" + (_root.getNextHighestDepth() - 1)]._y = _root.player._y - 63;
_root["shot-2_" + (_root.getNextHighestDepth() - 1)]._xscale = 100 * _root.player.dir;
_root.player.shot2_int = _root.player.shot2_int_tot;
Symbol 1069 MovieClip Frame 7
_root.attachMovie("shot-2", "shot-2_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.player.shots_2.push([_root["shot-2_" + (_root.getNextHighestDepth() - 1)], _root.player.shotSpeed_2 * _root.player.dir]);
_root["shot-2_" + (_root.getNextHighestDepth() - 1)]._x = ((_root.player._x + ((_root.player._width / 2) * _root.player.dir)) - (_root.player.shotSpeed_2 * _root.player.dir)) - (_root.player.dir * 8);
_root["shot-2_" + (_root.getNextHighestDepth() - 1)]._y = _root.player._y - 63;
_root["shot-2_" + (_root.getNextHighestDepth() - 1)]._xscale = 100 * _root.player.dir;
_root.player.shot2_int = _root.player.shot2_int_tot;
Symbol 1069 MovieClip Frame 12
_root.attachMovie("shot-2", "shot-2_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_root.player.shots_2.push([_root["shot-2_" + (_root.getNextHighestDepth() - 1)], _root.player.shotSpeed_2 * _root.player.dir]);
_root["shot-2_" + (_root.getNextHighestDepth() - 1)]._x = ((_root.player._x + ((_root.player._width / 2) * _root.player.dir)) - (_root.player.shotSpeed_2 * _root.player.dir)) - (_root.player.dir * 3);
_root["shot-2_" + (_root.getNextHighestDepth() - 1)]._y = _root.player._y - 63;
_root["shot-2_" + (_root.getNextHighestDepth() - 1)]._xscale = 100 * _root.player.dir;
_root.player.shot2_int = _root.player.shot2_int_tot;
Symbol 1069 MovieClip Frame 20
stop();
Instance of Symbol 697 MovieClip "jump" in Symbol 1074 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 906 MovieClip "shoot1" in Symbol 1074 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 1074 MovieClip Frame 2
_root.player.moveReady = false;
_root.player.speed = 0;
_root.player.jumpHeight = 0;
_root.player.shootReady = false;
_root.player._alpha = 100;
Symbol 1074 MovieClip Frame 25
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.die();
Symbol 1074 MovieClip Frame 26
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
Symbol 1078 MovieClip Frame 1
stop();
Instance of Symbol 715 MovieClip in Symbol 1080 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._x = _root.bg1._x - 3.5;
_root.bg2._x = _root.bg2._x - 3.5;
_root.mock._x = _root.mock._x - 3.5;
_root.big4._x = _root.big4._x - 3.5;
_root.enemies._x = _root.enemies._x - 3.5;
}
}
Instance of Symbol 715 MovieClip in Symbol 1080 MovieClip Frame 364
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._x = _root.bg1._x + 3.5;
_root.bg2._x = _root.bg2._x + 3.5;
_root.mock._x = _root.mock._x + 3.5;
_root.big4._x = _root.big4._x + 3.5;
_root.enemies._x = _root.enemies._x + 3.5;
}
}
Instance of Symbol 1076 MovieClip "wall1" in Symbol 1081 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 1076 MovieClip "wall2" in Symbol 1081 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 1079 MovieClip in Symbol 1081 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.player)) {
_root.swipe.gotoAndPlay(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.removeEBullets(1);
_root.gotoAndStop("gameOver");
}
}
Instance of Symbol 1080 MovieClip in Symbol 1081 MovieClip Frame 1
onClipEvent (load) {
var playingA = false;
this.stop();
}
onClipEvent (enterFrame) {
if ((hitTest(_root.player) && (_currentframe == 1)) && (!playingA)) {
this.play();
playingA = true;
}
}
Instance of Symbol 1079 MovieClip in Symbol 1081 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.player)) {
_root.swipe.gotoAndPlay(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.removeEBullets(1);
_root.gotoAndStop("level4b");
}
}
Symbol 1084 MovieClip Frame 40
stop();
Symbol 1092 Button
on (press) {
_root.swipe.play();
_root.gotoAndStop("level5a");
}
Instance of Symbol 1094 MovieClip in Symbol 1096 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.player)) {
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.gotoAndStop("level5b");
}
}
Instance of Symbol 1108 MovieClip "hit1" in Symbol 1140 MovieClip Frame 1
onClipEvent (enterFrame) {
var a = 0;
while (a < _root.player.shots_1.length) {
if (_root.player.shots_1[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_1[a][0]);
_root.player.shots_1.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
var a = 0;
while (a < _root.player.shots_2.length) {
if (_root.player.shots_2[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_2[a][0]);
_root.player.shots_2.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
}
Symbol 1140 MovieClip Frame 133
_parent.gotoAndStop(2);
Instance of Symbol 1108 MovieClip "hit1" in Symbol 1141 MovieClip Frame 1
onClipEvent (enterFrame) {
var a = 0;
while (a < _root.player.shots_1.length) {
if (_root.player.shots_1[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_1[a][0]);
_root.player.shots_1.splice(a, 1);
_root.boss.gotoAndStop(Math.floor((Math.random() * 5) + 3));
}
a++;
}
var a = 0;
while (a < _root.player.shots_2.length) {
if (_root.player.shots_2[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_2[a][0]);
_root.player.shots_2.splice(a, 1);
_root.boss.gotoAndStop(Math.floor((Math.random() * 5) + 3));
}
a++;
}
}
Instance of Symbol 1108 MovieClip "hit1" in Symbol 1160 MovieClip Frame 1
onClipEvent (enterFrame) {
var a = 0;
while (a < _root.player.shots_1.length) {
if (_root.player.shots_1[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_1[a][0]);
_root.player.shots_1.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
var a = 0;
while (a < _root.player.shots_2.length) {
if (_root.player.shots_2[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_2[a][0]);
_root.player.shots_2.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
}
Symbol 1160 MovieClip Frame 49
if (_root.bossHealth._currentframe < _root.bossHealth._totalframes) {
_parent.gotoAndStop(Math.floor((Math.random() * 5) + 3));
} else {
_parent.gotoAndStop(8);
}
Symbol 1175 MovieClip Frame 15
stop();
Instance of Symbol 1108 MovieClip "hit1" in Symbol 1176 MovieClip Frame 1
onClipEvent (enterFrame) {
var a = 0;
while (a < _root.player.shots_1.length) {
if (_root.player.shots_1[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_1[a][0]);
_root.player.shots_1.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
var a = 0;
while (a < _root.player.shots_2.length) {
if (_root.player.shots_2[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_2[a][0]);
_root.player.shots_2.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
}
Instance of Symbol 1175 MovieClip in Symbol 1176 MovieClip Frame 18
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_currentframe == 1)) {
_root.hurt(5);
this.play();
_root.player._alpha = 25;
}
}
Instance of Symbol 1175 MovieClip in Symbol 1176 MovieClip Frame 52
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_currentframe == 1)) {
_root.hurt(5);
this.play();
_root.player._alpha = 25;
}
}
Symbol 1176 MovieClip Frame 65
if (_root.bossHealth._currentframe < _root.bossHealth._totalframes) {
_parent.gotoAndStop(Math.floor((Math.random() * 5) + 3));
} else {
_parent.gotoAndStop(8);
}
Instance of Symbol 1108 MovieClip "hit1" in Symbol 1178 MovieClip Frame 1
onClipEvent (enterFrame) {
var a = 0;
while (a < _root.player.shots_1.length) {
if (_root.player.shots_1[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_1[a][0]);
_root.player.shots_1.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
var a = 0;
while (a < _root.player.shots_2.length) {
if (_root.player.shots_2[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_2[a][0]);
_root.player.shots_2.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
}
Symbol 1178 MovieClip Frame 39
if (_root.bossHealth._currentframe < _root.bossHealth._totalframes) {
_parent.gotoAndStop(Math.floor((Math.random() * 5) + 3));
} else {
_parent.gotoAndStop(8);
}
Instance of Symbol 1108 MovieClip "hit1" in Symbol 1180 MovieClip Frame 1
onClipEvent (enterFrame) {
var a = 0;
while (a < _root.player.shots_1.length) {
if (_root.player.shots_1[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_1[a][0]);
_root.player.shots_1.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
var a = 0;
while (a < _root.player.shots_2.length) {
if (_root.player.shots_2[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_2[a][0]);
_root.player.shots_2.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
}
Symbol 1180 MovieClip Frame 111
if (_root.bossHealth._currentframe < _root.bossHealth._totalframes) {
_parent.gotoAndStop(Math.floor((Math.random() * 5) + 3));
} else {
_parent.gotoAndStop(8);
}
Instance of Symbol 1108 MovieClip "hit1" in Symbol 1185 MovieClip Frame 1
onClipEvent (enterFrame) {
var a = 0;
while (a < _root.player.shots_1.length) {
if (_root.player.shots_1[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_1[a][0]);
_root.player.shots_1.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
var a = 0;
while (a < _root.player.shots_2.length) {
if (_root.player.shots_2[a][0].hitTest(this)) {
removeMovieClip(_root.player.shots_2[a][0]);
_root.player.shots_2.splice(a, 1);
_root.player.bossHealth--;
}
a++;
}
}
Instance of Symbol 1184 MovieClip in Symbol 1185 MovieClip Frame 32
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(10);
_alpha = 0;
_root.player._alpha = 25;
}
}
Symbol 1185 MovieClip Frame 62
if (_root.bossHealth._currentframe < _root.bossHealth._totalframes) {
_parent.gotoAndStop(Math.floor((Math.random() * 5) + 3));
} else {
_parent.gotoAndStop(8);
}
Symbol 1198 MovieClip Frame 12
stop();
Symbol 1208 MovieClip Frame 131
_root.swipe2.play();
Symbol 1208 MovieClip Frame 177
_quality = "high";
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
sounds.gotoAndStop(4);
_root.gotoAndPlay("win");
Symbol 1209 MovieClip Frame 1
stop();
Symbol 1222 MovieClip Frame 1
stop();
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 1222 MovieClip Frame 3
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(1);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 1222 MovieClip Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(1);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 1222 MovieClip Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(1);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 1222 MovieClip Frame 13
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(1);
_alpha = 0;
_root.player._alpha = 25;
}
}
Instance of Symbol 40 MovieClip [eShot-1] in Symbol 1222 MovieClip Frame 17
onClipEvent (enterFrame) {
if (hitTest(_root.player) && (_alpha == 100)) {
_root.hurt(1);
_alpha = 0;
_root.player._alpha = 25;
}
}
Symbol 1222 MovieClip Frame 24
gotoAndPlay ("re");
Symbol 1227 MovieClip Frame 1
stop();
Instance of Symbol 1222 MovieClip "turret" in Symbol 1227 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.player.hitTest(hit) && (_currentframe == 1)) {
this.play();
}
}
Symbol 1227 MovieClip Frame 53
stop();
Instance of Symbol 596 MovieClip in Symbol 1228 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (10);
}
Instance of Symbol 596 MovieClip in Symbol 1228 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (20);
}
Instance of Symbol 596 MovieClip in Symbol 1228 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (10);
}
Instance of Symbol 697 MovieClip "jump" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 906 MovieClip "shoot1_3" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 906 MovieClip "shoot1_2" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 906 MovieClip "shoot1_1" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 1234 MovieClip Frame 2
_root.player.moveReady = false;
_root.player.speed = 0;
_root.player.jumpHeight = 0;
_root.player.shootReady = false;
_root.player._alpha = 100;
Instance of Symbol 906 MovieClip in Symbol 1234 MovieClip Frame 2
onClipEvent (load) {
stop();
}
Symbol 1234 MovieClip Frame 25
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.die();
Symbol 1234 MovieClip Frame 26
_root.removeEBullets(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
Instance of Symbol 715 MovieClip in Symbol 1238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.fg._y = _root.fg._y - 3;
_root.mock._y = _root.mock._y - 3;
_root.enemies._y = _root.enemies._y - 3;
_root.enemyMoveVer(1, -3);
_root.enemyBulletMoveVer(1, -3);
}
}
Instance of Symbol 715 MovieClip in Symbol 1238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.fg._y = _root.fg._y + 3;
_root.mock._y = _root.mock._y + 3;
_root.enemies._y = _root.enemies._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 1238 MovieClip Frame 519
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y + 3;
_root.bg2._y = _root.bg2._y + 3;
_root.fg._y = _root.fg._y + 3;
_root.mock._y = _root.mock._y + 3;
_root.enemies._y = _root.enemies._y + 3;
_root.enemyMoveVer(1, 3);
_root.enemyBulletMoveVer(1, 3);
}
}
Instance of Symbol 715 MovieClip in Symbol 1238 MovieClip Frame 519
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.bg1._y = _root.bg1._y - 3;
_root.bg2._y = _root.bg2._y - 3;
_root.fg._y = _root.fg._y - 3;
_root.mock._y = _root.mock._y - 3;
_root.enemies._y = _root.enemies._y - 3;
_root.enemyMoveVer(1, -3);
_root.enemyBulletMoveVer(1, -3);
}
}
Instance of Symbol 1079 MovieClip in Symbol 1239 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.player)) {
_root.swipe.gotoAndPlay(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.removeEBullets(1);
_root.gotoAndStop("gameOver");
}
}
Instance of Symbol 1079 MovieClip in Symbol 1239 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.player)) {
_root.swipe.gotoAndPlay(1);
_root.removePlayerBullets_1();
_root.removePlayerBullets_2();
_root.removeEBullets(1);
_root.gotoAndStop("gameOver");
}
}
Symbol 1241 MovieClip Frame 40
stop();
Symbol 1245 MovieClip Frame 1
stop();
Symbol 1278 MovieClip Frame 17
stop();