Frame 1
setVol = 100;
vol = setVol;
lmaovol = new Sound(this);
function shoot() {
if (!_root.pau) {
if (((ammo > 0) || (ammo == "\u221E")) || (ammo == "NaN")) {
gunSound.play();
if (gun == 1) {
gun1_ammo--;
}
if (gun == 2) {
gun2_ammo--;
}
if (gun == 3) {
gun3_ammo--;
}
if (gun == 4) {
gun4_ammo--;
}
if (gun == 5) {
gun5_ammo--;
}
if (gun == 6) {
gun6_ammo--;
}
if (gun == 7) {
gun7_ammo--;
}
if (gun == 8) {
gun8_ammo--;
}
d++;
bullets++;
attachMovie("bullet", "b" + bullets, d);
d++;
attachMovie("spark", "s" + d, d);
}
if (bullets > 19) {
bullets = 0;
}
}
}
function gspark(fr, rot, xx, yy) {
if (!_root.pau) {
d++;
attachMovie("gspark", "s" + d, d);
this["s" + d].gotoAndStop(fr);
this["s" + d]._rotation = rot;
this["s" + d]._x = xx;
this["s" + d]._y = yy;
if (computerfast == 1) {
this["s" + d].removeMovieClip();
}
if (noEffects) {
this["s" + d].removeMovieClip();
}
}
}
function bleed(rrr, xx, yy) {
d++;
attachMovie("blood", "blood" + d, d);
this["blood" + d]._x = xx;
this["blood" + d]._y = yy;
this["blood" + d]._rotation = rrr;
}
function explode(xx, yy, which) {
d++;
attachMovie("explosion", "ex" + d, d);
this["ex" + d]._x = xx;
this["ex" + d]._y = yy;
}
function crazyshoot(sca, xx, yy) {
d++;
attachMovie("puke", "puke" + d, d);
this["puke" + d]._x = xx;
this["puke" + d]._y = yy;
this["puke" + d]._xscale = sca;
}
function catshot(sca, xx, yy) {
d++;
attachMovie("HAIRBALL", "hh" + d, d);
this["hh" + d]._x = xx;
this["hh" + d]._y = yy;
this["hh" + d]._xscale = sca;
}
function boss4shot(sca, xx, yy) {
d++;
attachMovie("boss4_spit", "hh" + d, d);
this["hh" + d]._x = xx;
this["hh" + d]._y = yy;
this["hh" + d]._xscale = sca;
}
function slshot(sca, xx, yy) {
d++;
attachMovie("sludge", "hh" + d, d);
this["hh" + d]._x = xx;
this["hh" + d]._y = yy;
this["hh" + d]._xscale = sca * -1;
}
function sShoot(rot, xx, yy) {
d++;
attachMovie("sb", "sb" + d, d);
this["sb" + d]._x = xx;
this["sb" + d]._y = yy;
this["sb" + d]._rotation = rot;
this["sb" + d]._x = this["sb" + d]._x + (Math.cos((this["sb" + d]._rotation * Math.PI) / 180) * 100);
this["sb" + d]._y = this["sb" + d]._y + (Math.sin((this["sb" + d]._rotation * Math.PI) / 180) * 110);
}
function woodex(xx, yy) {
d++;
attachMovie("woodex", "w" + d, d);
this["w" + d]._x = xx;
this["w" + d]._y = yy;
}
function steelex(xx, yy) {
d++;
attachMovie("steelex", "w" + d, d);
this["w" + d]._x = xx;
this["w" + d]._y = yy;
}
function createCoin(coinXpos, coinYpos, coinAmount) {
if (!pau) {
coinsa = coinsa + coinAmount;
while (ca < coinsa) {
ca++;
d++;
attachMovie("coin", "c" + d, d);
this["c" + d]._x = coinXpos;
this["c" + d]._y = coinYpos;
this["c" + d].sset = true;
}
}
}
_quality = "medium";
stop();
arm.d1 = true;
computerfast = 3;
gun = 1;
A = 65;
D = 68;
E = 69;
F = 70;
P = 80;
Q = 81;
R = 82;
S = 83;
W = 87;
X = 88;
Z = 90;
d = 0;
bullets = 0;
kills = 0;
onEnterFrame = function () {
if (unlimitedcheat) {
gun2_ammo = 999;
gun3_ammo = 999;
gun4_ammo = 999;
gun5_ammo = 999;
gun6_ammo = 999;
gun7_ammo = 999;
gun8_ammo = 999;
}
if (gun1_ammo > gun1_max) {
gun1_ammo = gun1_max;
}
if (gun2_ammo > gun2_max) {
gun2_ammo = gun2_max;
}
if (gun3_ammo > gun3_max) {
gun3_ammo = gun3_max;
}
if (gun4_ammo > gun4_max) {
gun4_ammo = gun4_max;
}
if (gun5_ammo > gun5_max) {
gun5_ammo = gun5_max;
}
if (gun6_ammo > gun6_max) {
gun6_ammo = gun6_max;
}
if (gun7_ammo > gun7_max) {
gun7_ammo = gun7_max;
}
if (gun8_ammo > gun8_max) {
gun8_ammo = gun8_max;
}
if (gun <= 0) {
gun = 8;
}
if (gun >= 9) {
gun = 1;
}
if (gun == 1) {
ammo = "\u221E";
}
if (gun == 2) {
ammo = gun2_ammo;
}
if (gun == 3) {
ammo = gun3_ammo;
}
if (gun == 4) {
ammo = gun4_ammo;
}
if (gun == 5) {
ammo = gun5_ammo;
}
if (gun == 6) {
ammo = gun6_ammo;
}
if (gun == 7) {
ammo = gun7_ammo;
}
if (gun == 8) {
ammo = gun8_ammo;
}
lmaovol.setVolume(vol);
};
lvl1_unlocked = true;
lvl2_unlocked = false;
lvl3_unlocked = false;
lvl4_unlocked = false;
lvl5_unlocked = false;
lvl6_unlocked = false;
lvl7_unlocked = false;
lvl8_unlocked = false;
enemyHealthBars = true;
gun1_power = 3.5;
gun2_power = 6;
gun3_power = 4.5;
gun4_power = 5.5;
gun5_power = 4;
gun6_power = 3.5;
gun7_power = 45;
gun8_power = 45;
gun1_unlocked = true;
gun2_unlocked = true;
gun3_unlocked = false;
gun4_unlocked = false;
gun5_unlocked = false;
gun6_unlocked = false;
gun7_unlocked = false;
gun8_unlocked = false;
gun1_max = 99999999 /* 0x5F5E0FF */;
gun2_max = 60;
gun3_max = 80;
gun4_max = 80;
gun5_max = 100;
gun6_max = 200;
gun7_max = 10;
gun8_max = 10;
gun1_ammo = "\u221E";
gun2_ammo = gun2_max;
gun3_ammo = gun3_max;
gun4_ammo = gun4_max;
gun5_ammo = gun5_max;
gun6_ammo = gun6_max;
gun7_ammo = gun7_max;
gun8_ammo = gun8_max;
maxlife = 100;
score = 0;
coins = 0;
ca = 0;
coinsa = 0;
fastCheat = false;
shieldCheat = false;
speedCheat = false;
highJumpCheat = false;
unlimitedcheat = false;
guu = true;
spon = "http://www.hallpass.com";
Frame 2
stop();
Frame 3
stop();
_x = 0;
_y = 0;
Frame 4
stop();
Frame 5
stopAllSounds();
music.gotoAndPlay("menu");
stop();
score = 0;
over = true;
arcade = false;
tutt = false;
_x = 0;
_y = 0;
score = 0;
Frame 11
lawl.gotoAndStop(_root.vol + 1);
Instance of Symbol 905 MovieClip in Frame 11
onClipEvent (load) {
if (_root.noBlood) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.noBlood = false;
} else {
_root.noBlood = true;
}
}
Instance of Symbol 905 MovieClip in Frame 11
onClipEvent (load) {
if (!_root.enemyHealthBars) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.enemyHealthBars = true;
} else {
_root.enemyHealthBars = false;
}
}
Instance of Symbol 905 MovieClip in Frame 11
onClipEvent (load) {
if (_root.noEffects) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.noEffects = false;
} else {
_root.noEffects = true;
}
}
Instance of Symbol 905 MovieClip in Frame 11
onClipEvent (load) {
if (_root.noBG) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.noBG = false;
} else {
_root.noBG = true;
}
}
Frame 36
music.gotoAndPlay("levelMusic");
over = false;
ep = -10;
if ((computerfast == 2) || (computerfast == 1)) {
_quality = "low";
}
cam._x = hero._x;
cam._y = hero._y;
bg.cacheAsBitmap = true;
boss = cat;
level = 1;
lvl = "lvl1";
stopAllSounds();
lvl1_unlocked = true;
oldcoins = coins;
old1ammo = gun1_ammo;
old2ammo = gun2_ammo;
old3ammo = gun3_ammo;
old4ammo = gun4_ammo;
old5ammo = gun5_ammo;
old6ammo = gun6_ammo;
old7ammo = gun7_ammo;
old8ammo = gun8_ammo;
Instance of Symbol 62 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.bossBattle = true;
swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 62 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.haveToDuck = true;
}
}
}
Instance of Symbol 62 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.haveToDuck = false;
}
}
}
Instance of Symbol 62 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.haveToDuck = false;
}
}
}
Instance of Symbol 1037 MovieClip "bg" in Frame 36
onClipEvent (enterFrame) {
_x = (_root.cam._x / 1.25);
_y = (_root.cam._y / 1.25);
}
Instance of Symbol 1057 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 36
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1251 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 5) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.cat.dead == true) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 9) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1092 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(_root.Q) && (!keyq)) {
_root.arm.arm.dot.dot.gotoAndPlay(2);
_root.cam.ah.gotoAndPlay(2);
_root.guu = false;
_root.gun--;
keyq = true;
}
if (Key.isDown(_root.E) && (!keye)) {
_root.arm.arm.dot.dot.gotoAndPlay(2);
_root.cam.ah.gotoAndPlay(2);
_root.guu = true;
_root.gun++;
keye = true;
}
if (!Key.isDown(_root.E)) {
keye = false;
}
if (!Key.isDown(_root.Q)) {
keyq = false;
}
}
}
Frame 40
music.gotoAndPlay("levelMusic");
over = false;
ep = 0;
if ((computerfast == 2) || (computerfast == 1)) {
_quality = "low";
}
cam._x = hero._x;
cam._y = hero._y;
bg.cacheAsBitmap = true;
boss = false;
level = 2;
lvl = "lvl2";
lvl2_unlocked = true;
stopAllSounds();
oldcoins = coins;
old1ammo = gun1_ammo;
old2ammo = gun2_ammo;
old3ammo = gun3_ammo;
old4ammo = gun4_ammo;
old5ammo = gun5_ammo;
old6ammo = gun6_ammo;
old7ammo = gun7_ammo;
old8ammo = gun8_ammo;
Instance of Symbol 62 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.haveToDuck = true;
}
}
}
Instance of Symbol 62 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.haveToDuck = false;
}
}
}
Instance of Symbol 62 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.haveToDuck = false;
}
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1064 MovieClip in Frame 40
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1251 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 3) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 7) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 9) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 11) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Frame 44
music.gotoAndPlay("levelMusic");
over = false;
ep = 5;
if ((computerfast == 2) || (computerfast == 1)) {
_quality = "low";
}
cam._x = hero._x;
cam._y = hero._y;
bg.cacheAsBitmap = true;
boss = slime;
level = 3;
lvl = "lvl3";
lvl3_unlocked = true;
stopAllSounds();
oldcoins = coins;
old1ammo = gun1_ammo;
old2ammo = gun2_ammo;
old3ammo = gun3_ammo;
old4ammo = gun4_ammo;
old5ammo = gun5_ammo;
old6ammo = gun6_ammo;
old7ammo = gun7_ammo;
old8ammo = gun8_ammo;
Instance of Symbol 62 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.bossBattle = true;
swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 1057 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1064 MovieClip in Frame 44
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1251 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 8) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.slime.dead) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 12) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Frame 48
music.gotoAndPlay("levelMusic");
over = false;
ep = 10;
if ((computerfast == 2) || (computerfast == 1)) {
_quality = "low";
}
cam._x = hero._x;
cam._y = hero._y;
bg.cacheAsBitmap = true;
boss = robot;
level = 4;
lvl = "lvl4";
stopAllSounds();
lvl4_unlocked = true;
oldcoins = coins;
old1ammo = gun1_ammo;
old2ammo = gun2_ammo;
old3ammo = gun3_ammo;
old4ammo = gun4_ammo;
old5ammo = gun5_ammo;
old6ammo = gun6_ammo;
old7ammo = gun7_ammo;
old8ammo = gun8_ammo;
Instance of Symbol 62 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.bossBattle = true;
swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 1057 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.gate1.play();
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1064 MovieClip in Frame 48
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1251 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.robot.dead) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 7) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (!_root.pau) {
_root.gate1 = this;
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Frame 52
music.gotoAndPlay("levelMusic");
over = false;
ep = 15;
if ((computerfast == 2) || (computerfast == 1)) {
_quality = "low";
}
cam._x = hero._x;
cam._y = hero._y;
bg.cacheAsBitmap = true;
boss = liz;
level = 5;
lvl = "lvl5";
stopAllSounds();
lvl5_unlocked = true;
oldcoins = coins;
old1ammo = gun1_ammo;
old2ammo = gun2_ammo;
old3ammo = gun3_ammo;
old4ammo = gun4_ammo;
old5ammo = gun5_ammo;
old6ammo = gun6_ammo;
old7ammo = gun7_ammo;
old8ammo = gun8_ammo;
Instance of Symbol 62 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.bossBattle = true;
swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 1057 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1064 MovieClip in Frame 52
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1251 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 2) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 6) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 11) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 52
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.liz.dead) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Frame 56
music.gotoAndPlay("levelMusic");
over = false;
ep = 20;
if ((computerfast == 2) || (computerfast == 1)) {
_quality = "low";
}
cam._x = hero._x;
cam._y = hero._y;
bg.cacheAsBitmap = true;
boss = false;
level = 6;
lvl = "lvl6";
lvl6_unlocked = true;
stopAllSounds();
oldcoins = coins;
old1ammo = gun1_ammo;
old2ammo = gun2_ammo;
old3ammo = gun3_ammo;
old4ammo = gun4_ammo;
old5ammo = gun5_ammo;
old6ammo = gun6_ammo;
old7ammo = gun7_ammo;
old8ammo = gun8_ammo;
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1057 MovieClip in Frame 56
onClipEvent (load) {
function act() {
_root.createCoin(_x, _y - 40, 15);
}
}
Instance of Symbol 1251 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 3) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 10) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1251 MovieClip in Frame 56
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 13) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Frame 60
music.gotoAndPlay("levelMusic");
over = false;
ep = 30;
if ((computerfast == 2) || (computerfast == 1)) {
_quality = "low";
}
cam._x = hero._x;
cam._y = hero._y;
bg.cacheAsBitmap = true;
boss = liz;
level = 7;
lvl = "lvl7";
lvl7_unlocked = true;
stopAllSounds();
oldcoins = coins;
old1ammo = gun1_ammo;
old2ammo = gun2_ammo;
old3ammo = gun3_ammo;
old4ammo = gun4_ammo;
old5ammo = gun5_ammo;
old6ammo = gun6_ammo;
old7ammo = gun7_ammo;
old8ammo = gun8_ammo;
Instance of Symbol 62 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.bossBattle = true;
swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1057 MovieClip in Frame 60
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1574 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 3) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1574 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.kills >= 8) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Instance of Symbol 1574 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.liz.dead) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Frame 64
music.gotoAndPlay("levelMusic");
over = false;
stopAllSounds();
if ((computerfast == 2) || (computerfast == 1)) {
_quality = "low";
}
cam._x = hero._x;
cam._y = hero._y;
bg.cacheAsBitmap = true;
bossBattle = true;
boss = king;
level = 8;
lvl = "lvl8";
lvl8_unlocked = true;
oldcoins = coins;
old1ammo = gun1_ammo;
old2ammo = gun2_ammo;
old3ammo = gun3_ammo;
old4ammo = gun4_ammo;
old5ammo = gun5_ammo;
old6ammo = gun6_ammo;
old7ammo = gun7_ammo;
old8ammo = gun8_ammo;
Instance of Symbol 1064 MovieClip in Frame 64
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 64
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 64
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 64
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1574 MovieClip in Frame 64
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.king.dead) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Frame 68
music.gotoAndPlay("arcade");
arcade = true;
ep = 0;
kills = 0;
score = 0;
over = false;
stopAllSounds();
Instance of Symbol 62 MovieClip in Frame 68
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.hero.life = 0;
}
}
Instance of Symbol 62 MovieClip in Frame 68
onClipEvent (load) {
timer = 320;
time = 400;
lowestTime = 120;
e = ["e1", "e2", "e3", "e4", "e5", "e6", "e7"];
}
onClipEvent (enterFrame) {
if (!_root.pau) {
timer++;
if (timer > time) {
_root.enemies.d++;
_root.enemies.attachMovie(e[random(e.length)], "e" + _root.enemies.d, _root.enemies.d);
_root.enemies["e" + _root.enemies.d]._x = random(2000) - 1000;
eeex = _root.enemies["e" + _root.enemies.d]._x;
eeey = _root.enemies["e" + _root.enemies.d]._y;
_root.enemies.d++;
_root.enemies.attachMovie("epop", "epp", _root.enemies.d);
_root.enemies.epp._x = eeex;
_root.enemies.epp._y = eeey;
_root.ep++;
if (time > lowestTime) {
time--;
}
timer = 0;
}
}
}
Instance of Symbol 1687 MovieClip in Frame 68
onClipEvent (load) {
d = 0;
}
Frame 71
tutt = true;
ep = 0;
kills = 0;
score = 0;
over = false;
dickcock = "";
lol = "tut";
omfgx = hero._x;
omfgy = hero._y;
Instance of Symbol 62 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.dickcock = "let's try that again...";
_root.hero._x = _root.omfgx;
_root.hero._y = _root.omfgy;
}
}
Instance of Symbol 62 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.dickcock = "Welcome to the Robot Jim tutorial! Press A&D to move around.";
swapDepths(99999);
this.removeMovieClip();
}
}
Instance of Symbol 62 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.dickcock = "Press W to jump over gaps.";
}
}
Instance of Symbol 62 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.dickcock = "Point and click at enemies with the mouse to shoot your gun.";
}
}
Instance of Symbol 62 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.dickcock = "Press Q&E to toggle weapons.";
}
}
Instance of Symbol 62 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.dickcock = "Kill enough enemies to pass through the gate.";
}
}
Instance of Symbol 62 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.dickcock = "Press P to pause and return to the menu! Have fun!";
}
}
Instance of Symbol 62 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.dickcock = "Shoot crates to break them and see what's inside!";
}
}
Instance of Symbol 1064 MovieClip in Frame 71
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("ammo_up", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 71
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("shieldpowerup", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1064 MovieClip in Frame 71
onClipEvent (load) {
function act() {
_root.d++;
_root.attachMovie("health", "pu" + _root.d, _root.d);
_root["pu" + _root.d]._x = _x;
_root["pu" + _root.d]._y = _y - (_height / 2);
}
}
Instance of Symbol 1251 MovieClip in Frame 71
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!_root.lmfao) {
if (_currentframe == 1) {
play();
}
}
if (hitTest(_root.screen)) {
_visible = true;
} else {
_visible = false;
}
}
}
Frame 75
stopAllSounds();
wut = ("Your Final Score: " + score) + newline;
wut = wut + (("Your kills: " + kills) + newline);
cheat1 = "ashly";
cheat2 = "austimus prime";
cheat3 = "sonic";
cheat4 = "snowball";
cheat5 = "courage";
cheat6 = "fo sho";
cheat7 = "COINS LOL";
if (kills < 50) {
wut = wut + "You didn't unlock any cheats.";
}
if (kills >= 50) {
wut = wut + ("Cheats Unlocked:\r" + cheat1);
}
if (kills >= 70) {
wut = wut + (newline + cheat2);
}
if (kills >= 80) {
wut = wut + (newline + cheat3);
}
if (kills >= 100) {
wut = wut + (newline + cheat4);
}
if (kills >= 150) {
wut = wut + (newline + cheat5);
}
if (kills >= 170) {
wut = wut + (newline + cheat6);
}
if (kills >= 200) {
wut = wut + (newline + cheat7);
}
_root.HPScoreService.postScore(kills, "arcade kills");
_root.HPScoreService.postScore(score, "arcade score");
kills = 0;
stopAllSounds();
Frame 82
stopAllSounds();
_root.HPScoreService.postScore(score, "Adventure score");
Frame 85
stopAllSounds();
_x = 0;
_y = 0;
_root.HPScoreService.postScore(score, "Adventure score");
over = true;
bossBattle = false;
d = 0;
bullets = 0;
kills = 0;
if (level == 1) {
lvl2_unlocked = true;
}
if (level == 2) {
lvl3_unlocked = true;
}
if (level == 3) {
lvl4_unlocked = true;
}
if (level == 4) {
lvl5_unlocked = true;
}
if (level == 5) {
lvl6_unlocked = true;
}
if (level == 6) {
lvl7_unlocked = true;
}
if (level == 7) {
lvl8_unlocked = true;
}
if (level == 8) {
gotoAndStop ("wingame");
}
Frame 89
stopAllSounds();
_root.HPScoreService.postScore(score, "Adventure score");
_x = 0;
_y = 0;
over = true;
bossBattle = false;
d = 0;
bullets = 0;
if (arcade) {
gotoAndStop ("arcdie");
}
omfgg = "Your score: " + score;
Symbol 9 MovieClip [boss4_spit] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
_x = (_x + ((_xscale / 100) * 24));
if (_root.hero.hita.hitTest(_x, _y, true)) {
_root.hero.hurt(7);
gotoAndPlay (8);
}
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay (8);
}
if (!hitTest(_root.screen)) {
this.removeMovieClip();
}
}
};
Symbol 9 MovieClip [boss4_spit] Frame 7
gotoAndPlay (1);
Symbol 9 MovieClip [boss4_spit] Frame 8
onEnterFrame = null;
Symbol 9 MovieClip [boss4_spit] Frame 18
this.removeMovieClip();
Symbol 18 MovieClip [sludge] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
_x = (_x - ((_xscale / 100) * 22));
if (_root.hero.hita.hitTest(_x, _y, true)) {
_root.hero.hurt(6);
gotoAndPlay (8);
}
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay (8);
}
if (!hitTest(_root.screen)) {
this.removeMovieClip();
}
}
};
Symbol 18 MovieClip [sludge] Frame 7
gotoAndPlay (1);
Symbol 18 MovieClip [sludge] Frame 8
onEnterFrame = null;
Symbol 18 MovieClip [sludge] Frame 23
this.removeMovieClip();
Symbol 24 MovieClip Frame 13
stop();
Symbol 31 MovieClip Frame 7
stop();
Symbol 37 MovieClip Frame 6
stop();
Symbol 43 MovieClip Frame 6
stop();
Symbol 48 MovieClip Frame 5
stop();
Symbol 53 MovieClip Frame 5
stop();
Symbol 59 MovieClip Frame 6
stop();
Symbol 60 MovieClip Frame 1
gotoAndStop(random(6) + 1);
Symbol 62 MovieClip Frame 1
_visible = false;
Symbol 71 MovieClip Frame 20
stop();
Symbol 81 MovieClip Frame 22
stop();
Symbol 89 MovieClip Frame 8
stop();
Symbol 94 MovieClip Frame 5
stop();
Symbol 107 MovieClip Frame 1
_rotation = random(360);
Symbol 107 MovieClip Frame 10
stop();
Symbol 113 MovieClip Frame 16
stop();
Symbol 120 MovieClip Frame 19
stop();
Symbol 121 MovieClip [spark] Frame 1
_visible = false;
this.cacheAsBitmap = true;
if (_root.computerfast == 1) {
this.removeMovieClip();
}
if (_root.noSparks) {
this.removeMovieClip();
}
_rotation = _root.arm._rotation;
_x = _root.arm._x;
_y = _root.arm._y;
_yscale = (random(25) + 85);
gotoAndStop(_root.gun);
lmao = random(20) + 90;
smoke._x = smoke._x + (random(6) - 3);
spark._x = spark._x + (random(6) - 3);
smoke._y = smoke._y + (random(6) - 3);
spark._y = spark._y + (random(6) - 3);
spark._xscale = lmao;
spark._yscale = lmao;
wtf = random(20) + 90;
smoke._xscale = wtf;
smoke._yscale = wtf;
timer = 0;
onEnterFrame = function () {
if (!_root.pau) {
timer++;
if (timer > 50) {
this.removeMovieClip();
}
}
};
if (random(100) > 50) {
_yscale = (_yscale * -1);
}
Instance of Symbol 62 MovieClip in Symbol 121 MovieClip [spark] Frame 1
onClipEvent (load) {
if (!_root.gun1_unlocked) {
_parent.removeMovieClip();
}
_parent._visible = true;
}
Instance of Symbol 62 MovieClip in Symbol 121 MovieClip [spark] Frame 2
onClipEvent (load) {
if (!_root.gun2_unlocked) {
_parent.removeMovieClip();
}
_parent._visible = true;
}
Instance of Symbol 62 MovieClip in Symbol 121 MovieClip [spark] Frame 3
onClipEvent (load) {
if (!_root.gun3_unlocked) {
_parent.removeMovieClip();
}
_parent._visible = true;
}
Instance of Symbol 62 MovieClip in Symbol 121 MovieClip [spark] Frame 4
onClipEvent (load) {
if (!_root.gun4_unlocked) {
_parent.removeMovieClip();
}
_parent._visible = true;
}
Instance of Symbol 62 MovieClip in Symbol 121 MovieClip [spark] Frame 5
onClipEvent (load) {
if (!_root.gun5_unlocked) {
_parent.removeMovieClip();
}
_parent._visible = true;
}
Instance of Symbol 62 MovieClip in Symbol 121 MovieClip [spark] Frame 6
onClipEvent (load) {
if (!_root.gun6_unlocked) {
_parent.removeMovieClip();
}
_parent._visible = true;
}
Instance of Symbol 62 MovieClip in Symbol 121 MovieClip [spark] Frame 7
onClipEvent (load) {
if (!_root.gun7_unlocked) {
_parent.removeMovieClip();
}
_parent._visible = true;
}
Instance of Symbol 62 MovieClip in Symbol 121 MovieClip [spark] Frame 8
onClipEvent (load) {
if (!_root.gun8_unlocked) {
_parent.removeMovieClip();
}
_parent._visible = true;
}
Symbol 128 MovieClip Frame 1
_visible = false;
Symbol 159 MovieClip [bullet] Frame 1
_visible = false;
_rotation = _root.arm._rotation;
_x = (_root.arm._x + (Math.cos((_rotation * Math.PI) / 180) * 60));
_y = (_root.arm._y + (Math.sin((_rotation * Math.PI) / 180) * 70));
gotoAndStop(_root.gun);
speed = 25 + _root.gun;
if (_root.gun == 7) {
speed = 2;
}
if (_root.gun == 8) {
speed = random(5) + 20;
}
onEnterFrame = function () {
if (!_root.pau) {
timer++;
if (_currentframe == 7) {
speed = speed * 1.3;
if (speed >= 300) {
this.removeMovieClip();
}
}
if (_currentframe == 8) {
if (!gVars) {
grav = 0;
gVars = true;
}
_y = (_y + grav);
grav++;
if (speed > 3) {
speed = speed - 0.4;
}
bullet._rotation = bullet._rotation + speed;
}
_x = (_x + (Math.cos((_rotation * Math.PI) / 180) * speed));
_y = (_y + (Math.sin((_rotation * Math.PI) / 180) * speed));
if (hit) {
_root.bleed(_rotation, _x, _y);
_root.gspark(_currentframe, _rotation, _x, _y);
this.removeMovieClip();
}
if (hitw) {
_root.gspark(_currentframe, _rotation, _x, _y);
this.removeMovieClip();
}
if (_root.ground.ground.hitTest(_x, _y, true)) {
_root.gspark(_currentframe, _rotation, _x, _y);
this.removeMovieClip();
}
if (!hitTest(_root.screen)) {
this.removeMovieClip();
}
}
};
Instance of Symbol 62 MovieClip in Symbol 159 MovieClip [bullet] Frame 1
onClipEvent (load) {
if (!_root.gun1_unlocked) {
_parent.removeMovieClip();
}
_parent._visible = true;
}
Symbol 159 MovieClip [bullet] Frame 2
_rotation = (_rotation + (random(6) - 3));
Instance of Symbol 62 MovieClip in Symbol 159 MovieClip [bullet] Frame 2
onClipEvent (load) {
if (!_root.gun2_unlocked) {
_root.gun2_ammo++;
_parent.removeMovieClip();
}
_parent._visible = true;
}
Symbol 159 MovieClip [bullet] Frame 3
_rotation = (_rotation + (random(8) - 4));
Instance of Symbol 62 MovieClip in Symbol 159 MovieClip [bullet] Frame 3
onClipEvent (load) {
if (!_root.gun3_unlocked) {
_root.gun3_ammo++;
_parent.removeMovieClip();
}
_parent._visible = true;
}
Symbol 159 MovieClip [bullet] Frame 4
_rotation = (_rotation + (random(12) - 6));
Instance of Symbol 62 MovieClip in Symbol 159 MovieClip [bullet] Frame 4
onClipEvent (load) {
if (!_root.gun4_unlocked) {
_root.gun4_ammo++;
_parent.removeMovieClip();
}
_parent._visible = true;
}
Symbol 159 MovieClip [bullet] Frame 5
_rotation = (_rotation + (random(25) - 12.5));
Instance of Symbol 62 MovieClip in Symbol 159 MovieClip [bullet] Frame 5
onClipEvent (load) {
if (!_root.gun5_unlocked) {
_root.gun5_ammo++;
_parent.removeMovieClip();
}
_parent._visible = true;
}
Symbol 159 MovieClip [bullet] Frame 6
_rotation = (_rotation + (random(30) - 15));
Instance of Symbol 62 MovieClip in Symbol 159 MovieClip [bullet] Frame 6
onClipEvent (load) {
if (!_root.gun6_unlocked) {
_root.gun6_ammo++;
_parent.removeMovieClip();
}
_parent._visible = true;
}
Instance of Symbol 62 MovieClip in Symbol 159 MovieClip [bullet] Frame 7
onClipEvent (load) {
if (!_root.gun7_unlocked) {
_root.gun7_ammo++;
_parent.removeMovieClip();
}
_parent._visible = true;
}
Symbol 159 MovieClip [bullet] Frame 8
_rotation = (_rotation + (random(12) - 6));
Instance of Symbol 62 MovieClip in Symbol 159 MovieClip [bullet] Frame 8
onClipEvent (load) {
if (!_root.gun8_unlocked) {
_root.gun8_ammo++;
_parent.removeMovieClip();
}
_parent._visible = true;
}
Symbol 166 MovieClip Frame 7
stop();
Symbol 170 MovieClip Frame 10
stop();
Symbol 175 MovieClip Frame 9
stop();
Symbol 180 MovieClip Frame 12
stop();
Symbol 188 MovieClip Frame 8
stop();
Symbol 196 MovieClip Frame 1
_rotation = random(360);
Symbol 196 MovieClip Frame 7
stop();
Symbol 214 MovieClip Frame 1
lol = random(30) + 160;
_xscale = lol;
_yscale = lol;
_rotation = random(360);
Symbol 214 MovieClip Frame 22
stop();
Symbol 215 MovieClip [gspark] Frame 7
_root.score = _root.score + 5;
_root.explosions.play();
Symbol 215 MovieClip [gspark] Frame 8
_root.score = _root.score + 5;
_root.explosions.play();
Symbol 227 MovieClip Frame 12
stop();
Symbol 237 MovieClip Frame 10
stop();
Symbol 247 MovieClip Frame 10
stop();
Symbol 259 MovieClip Frame 12
stop();
Symbol 270 MovieClip Frame 11
stop();
Symbol 271 MovieClip [blood] Frame 1
gotoAndStop(random(5) + 1);
a = random(50) + 90;
_xscale = a;
_yscale = a;
if (((_root.computerfast == 2) || (_root.computerfast == 1)) || (_root.noBlood)) {
this.removeMovieClip();
}
if (random(100) > 50) {
_xscale = (_xscale * -1);
}
timer = 0;
onEnterFrame = function () {
if (!_root.pau) {
timer++;
if (timer > 40) {
this.removeMovieClip();
}
}
};
Symbol 281 MovieClip [puke] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
_x = (_x + ((_xscale / 100) * 20));
if (_root.hero.hita.hitTest(_x, _y, true)) {
_root.hero.hurt(6);
gotoAndPlay (6);
}
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndPlay (6);
}
if (!hitTest(_root.screen)) {
this.removeMovieClip();
}
}
};
Symbol 281 MovieClip [puke] Frame 5
gotoAndPlay (1);
Symbol 281 MovieClip [puke] Frame 6
onEnterFrame = eval (null)();
Symbol 281 MovieClip [puke] Frame 16
this.removeMovieClip();
Symbol 294 MovieClip Frame 7
gotoAndPlay (1);
Symbol 294 MovieClip Frame 8
_parent.onEnterFrame = eval (null)();
Symbol 294 MovieClip Frame 14
_parent.removeMovieClip();
Symbol 295 MovieClip [sb] Frame 1
speed = 10;
onEnterFrame = function () {
if (!_root.pau) {
if (!hitTest(_root.screen)) {
this.removeMovieClip();
}
_x = (_x + (Math.cos((_rotation * Math.PI) / 180) * speed));
_y = (_y + (Math.sin((_rotation * Math.PI) / 180) * speed));
if (_root.ground.hitTest(_x, _y, true)) {
b.gotoAndPlay(8);
}
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(6);
b.gotoAndPlay(8);
}
}
};
Symbol 345 MovieClip [explosion] Frame 1
_root.score = _root.score + 5;
_root.explosions.play();
if (_root.noEffects) {
this.removeMovieClip();
}
Symbol 345 MovieClip [explosion] Frame 41
this.removeMovieClip();
Symbol 356 MovieClip [HAIRBALL] Frame 1
stop();
onEnterFrame = function () {
if (!_root.pau) {
_x = (_x + ((_xscale / 100) * 20));
if (_root.hero.hita.hitTest(_x, _y, true)) {
_root.hero.hurt(6);
play();
}
if (_root.ground.hitTest(_x, _y, true)) {
play();
}
}
};
Symbol 356 MovieClip [HAIRBALL] Frame 2
onEnterFrame = null;
Symbol 356 MovieClip [HAIRBALL] Frame 20
this.removeMovieClip();
Symbol 362 MovieClip Frame 1
_visible = false;
onEnterFrame = function () {
if (!_root.pau) {
if (hitTest(_root.b1.hita)) {
_root.b1.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b2.hita)) {
_root.b2.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b3.hita)) {
_root.b3.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b4.hita)) {
_root.b4.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b5.hita)) {
_root.b5.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b6.hita)) {
_root.b6.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b7.hita)) {
_root.b7.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b8.hita)) {
_root.b8.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b9.hita)) {
_root.b9.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b10.hita)) {
_root.b10.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b11.hita)) {
_root.b11.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b12.hita)) {
_root.b12.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b13.hita)) {
_root.b13.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b14.hita)) {
_root.b14.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b15.hita)) {
_root.b15.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b16.hita)) {
_root.b16.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b17.hita)) {
_root.b17.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b18.hita)) {
_root.b18.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b19.hita)) {
_root.b19.hitw = true;
_parent.hurt();
}
if (hitTest(_root.b20.hita)) {
_root.b20.hitw = true;
_parent.hurt();
}
}
};
Symbol 373 MovieClip Frame 1
grav = random(10) - 15;
speed = random(25) - 12.5;
gotoAndStop(random(9) + 1);
lolz = random(50) + 50;
_xscale = lolz;
_yscale = lolz;
if (_root.computerfast < 3) {
if (random(2) == 1) {
this.swapDepths(99999);
this.removeMovieClip();
}
}
onEnterFrame = function () {
if (!_root.pau) {
_rotation = (_rotation + (speed * 5));
_alpha = (_alpha - (10 / random(18)));
_y = (_y + grav);
grav++;
_x = (_x + speed);
if (speed > 0) {
speed = speed - 0.3;
}
if (speed < 0) {
speed = speed + 0.3;
}
}
};
Symbol 375 MovieClip [woodex] Frame 1
timer = 0;
if (_root.noEffects) {
this.removeMovieClip();
}
onEnterFrame = function () {
if (!_root.pau) {
timer++;
if (timer > 50) {
this.removeMovieClip();
}
}
};
Symbol 385 MovieClip Frame 1
grav = random(10) - 15;
speed = random(25) - 12.5;
gotoAndStop(random(9) + 1);
lolz = random(50) + 50;
_xscale = lolz;
_yscale = lolz;
onEnterFrame = function () {
if (!_root.pau) {
_rotation = (_rotation + (speed * 5));
_alpha = (_alpha - (10 / random(18)));
_y = (_y + grav);
grav++;
_x = (_x + speed);
if (speed > 0) {
speed = speed - 0.3;
}
if (speed < 0) {
speed = speed + 0.3;
}
}
};
Symbol 387 MovieClip [steelex] Frame 1
timer = 0;
if (_root.noEffects) {
this.removeMovieClip();
}
onEnterFrame = function () {
if (!_root.pau) {
timer++;
if (timer > 50) {
this.removeMovieClip();
}
}
};
Symbol 390 MovieClip [health] Frame 1
grav = 0;
onEnterFrame = function () {
if (!_root.pau) {
if (_root.over) {
this.removeMovieClip();
}
if (hitTest(_root.hero.hita)) {
_root.hero.life = _root.hero.life + 30;
_root.cam.lifeUp.play();
this.removeMovieClip();
}
if (!_root.ground.hitTest(_x, _y + 3, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y + 3, true)) {
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 3, true)) {
_y = (_y-1);
}
}
};
Instance of Symbol 389 MovieClip in Symbol 390 MovieClip [health] Frame 1
onClipEvent (enterFrame) {
lol = random(15) + 90;
_xscale = lol;
_yscale = lol;
}
Symbol 396 MovieClip [shieldpowerup] Frame 1
grav = 0;
onEnterFrame = function () {
if (_root.over) {
this.removeMovieClip();
}
if (!_root.pau) {
if (hitTest(_root.hero.hita) && (!_root.hero.shield)) {
_root.shield.timer = 0;
_root.hero.shield = true;
this.removeMovieClip();
}
if (!_root.ground.hitTest(_x, _y + 3, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y + 3, true)) {
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 3, true)) {
_y = (_y-1);
}
}
};
Instance of Symbol 393 MovieClip in Symbol 396 MovieClip [shieldpowerup] Frame 1
onClipEvent (enterFrame) {
_alpha = (random(50) + 50);
_rotation = random(360);
}
Instance of Symbol 395 MovieClip in Symbol 396 MovieClip [shieldpowerup] Frame 1
onClipEvent (enterFrame) {
lol = random(10) + 90;
_xscale = lol;
_yscale = lol;
}
Symbol 404 MovieClip Frame 1
_xscale = _parent.sca;
_yscale = _parent.sca;
Symbol 406 MovieClip Frame 1
_visible = false;
onEnterFrame = function () {
if (!_root.pau) {
if (hitTest(_root.b1.hita)) {
_root.b1.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b2.hita)) {
_root.b2.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b3.hita)) {
_root.b3.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b4.hita)) {
_root.b4.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b5.hita)) {
_root.b5.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b6.hita)) {
_root.b6.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b7.hita)) {
_root.b7.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b8.hita)) {
_root.b8.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b9.hita)) {
_root.b9.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b10.hita)) {
_root.b10.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b11.hita)) {
_root.b11.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b12.hita)) {
_root.b12.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b13.hita)) {
_root.b13.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b14.hita)) {
_root.b14.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b15.hita)) {
_root.b15.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b16.hita)) {
_root.b16.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b17.hita)) {
_root.b17.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b18.hita)) {
_root.b18.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b19.hita)) {
_root.b19.hit = true;
_root.pains.play();
_parent.hurt();
}
if (hitTest(_root.b20.hita)) {
_root.b20.hit = true;
_root.pains.play();
_parent.hurt();
}
}
};
Symbol 409 MovieClip Frame 1
_visible = false;
timer = 0;
Symbol 409 MovieClip Frame 2
if (_parent.grav > 150) {
if (timer == 1) {
_root.kills++;
_parent.dead = true;
}
timer++;
if (timer == 2) {
_parent.swapDepths(99999);
_parent.removeMovieClip();
}
}
Symbol 409 MovieClip Frame 5
gotoAndPlay (2);
Symbol 411 MovieClip Frame 1
stop();
_xscale = 0;
_yscale = 0;
_visible = false;
lmao = new Color(_parent);
setTint = function (r, g, b, amount) {
var _local3 = 100 - amount;
var _local1 = new Object();
_local1.ra = (_local1.ga = (_local1.ba = _local3));
var _local2 = amount / 100;
_local1.rb = r * _local2;
_local1.gb = g * _local2;
_local1.bb = b * _local2;
lmao.setTransform(_local1);
};
Symbol 411 MovieClip Frame 2
setTint(255, 0, 0, 100);
_root.score = _root.score + 20;
Symbol 411 MovieClip Frame 3
setTint(255, 255, 255, 100);
Symbol 411 MovieClip Frame 4
setTint(255, 0, 0, 100);
Symbol 411 MovieClip Frame 6
setTint(255, 255, 255, 70);
Symbol 411 MovieClip Frame 7
setTint(255, 255, 255, 40);
Symbol 411 MovieClip Frame 8
setTint(255, 255, 255, 10);
Symbol 411 MovieClip Frame 9
setTint(0, 0, 0, 0);
Symbol 413 MovieClip Frame 3
l = _parent._parent.life;
Symbol 413 MovieClip Frame 4
_xscale = ((_parent._parent.life / l) * 100);
_parent._xscale = _parent._parent._xscale;
if (_xscale <= 0) {
_xscale = 0;
}
Symbol 413 MovieClip Frame 5
gotoAndPlay (4);
Symbol 415 MovieClip Frame 1
stop();
_alpha = 0;
_name = "hb";
if (!_root.enemyHealthBars) {
swapDepths(99999);
this.removeMovieClip();
}
onEnterFrame = function () {
if (!shit) {
l = _parent.life;
shit = true;
}
};
Symbol 415 MovieClip Frame 2
_alpha = 100;
Symbol 415 MovieClip Frame 23
_alpha = (_alpha - 10);
Symbol 415 MovieClip Frame 24
_alpha = (_alpha - 10);
Symbol 415 MovieClip Frame 25
_alpha = (_alpha - 10);
Symbol 415 MovieClip Frame 26
_alpha = (_alpha - 10);
Symbol 415 MovieClip Frame 27
_alpha = (_alpha - 10);
Symbol 415 MovieClip Frame 28
_alpha = (_alpha - 10);
Symbol 415 MovieClip Frame 29
_alpha = (_alpha - 10);
Symbol 415 MovieClip Frame 30
_alpha = (_alpha - 10);
Symbol 415 MovieClip Frame 31
_alpha = (_alpha - 10);
Symbol 415 MovieClip Frame 32
_alpha = 0;
Symbol 423 MovieClip Frame 1
_xscale = _parent.sca;
_yscale = _parent.sca;
Symbol 440 MovieClip Frame 1
_xscale = _parent.sca;
_yscale = _parent.sca;
Instance of Symbol 62 MovieClip in Symbol 440 MovieClip Frame 11
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(7);
}
}
}
Symbol 440 MovieClip Frame 21
_parent.gotoAndStop("idle");
Symbol 456 MovieClip Frame 1
_xscale = _parent.sca;
_yscale = _parent.sca;
Symbol 456 MovieClip Frame 24
_parent.onEnterFrame = null;
grav = 0;
_root.kills++;
_root.createCoin(_parent._x, _parent._y - 40, 5);
Symbol 456 MovieClip Frame 56
_parent.swapDepths(99999);
_parent.removeMovieClip();
Symbol 457 MovieClip [e7] Frame 1
function hurt() {
hb.gotoAndPlay(2);
if (_root.gun == 1) {
life = life - _root.gun1_power;
}
if (_root.gun == 2) {
life = life - _root.gun2_power;
}
if (_root.gun == 3) {
life = life - _root.gun3_power;
}
if (_root.gun == 4) {
life = life - _root.gun4_power;
}
if (_root.gun == 5) {
life = life - _root.gun5_power;
}
if (_root.gun == 6) {
life = life - _root.gun6_power;
}
if (_root.gun == 7) {
life = life - _root.gun7_power;
}
if (_root.gun == 8) {
life = life - _root.gun8_power;
}
pain.play();
}
stop();
stop();
onEnterFrame = function () {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
if (!gVars) {
speed = random(3) + 6;
grav = 0;
sca = 75;
life = (random(15) + 55) + _root.ep;
gVars = true;
}
if (!_root.pau) {
if (_root.enemyjump.hitTest(_x, _y, true)) {
jump = true;
}
while (_root.ground.hitTest(_x + 40, _y - 45, true)) {
_x = (_x-1);
if (random(10) == 1) {
jump = true;
}
}
while (_root.ground.hitTest(_x - 40, _y - 45, true)) {
_x = (_x+1);
if (random(10) == 1) {
jump = true;
}
}
if (grav == 0) {
jump = false;
}
if (jump) {
gotoAndStop ("run");
_y = (_y - 17);
}
if (life <= 0) {
gotoAndStop ("die");
}
if (hitTest(_root.screen)) {
active = true;
} else {
active = false;
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
}
};
Instance of Symbol 404 MovieClip in Symbol 457 MovieClip [e7] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(30) == 1) {
_parent.gotoAndStop("run");
}
if (random(6) == 1) {
if ((_root.hero._x > (_parent._x + 50)) || (_root.hero._x < (_parent._x - 50))) {
_parent.gotoAndStop("run");
}
}
}
}
}
Instance of Symbol 62 MovieClip in Symbol 457 MovieClip [e7] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
if (random(2) == 1) {
_parent.gotoAndStop("attack");
}
}
}
}
Instance of Symbol 415 MovieClip in Symbol 457 MovieClip [e7] Frame 1
onClipEvent (load) {
l = _parent.life;
}
Instance of Symbol 423 MovieClip in Symbol 457 MovieClip [e7] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(8) > 4) {
if (_root.hero._x > (_parent._x + 50)) {
_parent._xscale = 100;
}
if (_root.hero._x < (_parent._x - 50)) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
if (random(10) == 5) {
_parent.gotoAndStop("idle");
}
}
}
}
Symbol 459 MovieClip Frame 1
_visible = false;
Symbol 459 MovieClip Frame 2
_root.createCoin(_parent._x, _parent._y - 40, 10);
Symbol 459 MovieClip Frame 3
_parent.removeMovieClip();
Symbol 469 MovieClip Frame 1
swapDepths(99999);
Symbol 473 MovieClip [ammo_up] Frame 1
stop();
_root.createCoin(_x, _y, 3);
ammo = new Array();
if (_root.gun2_ammo < _root.gun2_max) {
if (_root.gun2_unlocked) {
ammo.push("2");
}
}
if (_root.gun3_ammo < _root.gun3_max) {
if (_root.gun3_unlocked) {
ammo.push("3");
}
}
if (_root.gun4_ammo < _root.gun4_max) {
if (_root.gun4_unlocked) {
ammo.push(4);
}
}
if (_root.gun5_ammo < _root.gun5_max) {
if (_root.gun5_unlocked) {
ammo.push(5);
}
}
if (_root.gun6_ammo < _root.gun6_max) {
if (_root.gun6_unlocked) {
ammo.push(6);
}
}
if (_root.gun7_ammo < _root.gun7_max) {
if (_root.gun7_unlocked) {
ammo.push(7);
}
}
if (_root.gun8_ammo < _root.gun8_max) {
if (_root.gun8_unlocked) {
ammo.push(8);
}
}
d = 0;
timer = 0;
onEnterFrame = function () {
if (_root.over) {
this.removeMovieClip();
}
d++;
smoke.duplicateMovieClip("d" + d, d);
this["d" + d]._y = -30;
if (!_root.pau) {
if (timer < 400) {
lol = random(20) + 80;
_xscale = lol;
_yscale = lol;
}
timer++;
if (timer > 400) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
}
if (timer > 409) {
this.removeMovieClip();
}
}
};
gotoAndStop(ammo[random(ammo.length)]);
Instance of Symbol 467 MovieClip in Symbol 473 MovieClip [ammo_up] Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
lol = random(20) + _xscale;
_xscale = lol;
_yscale = lol;
_root.gun2_ammo = _root.gun2_ammo + 8;
_root.cam.lifeUp.play();
_parent.removeMovieClip();
}
}
Instance of Symbol 139 MovieClip in Symbol 473 MovieClip [ammo_up] Frame 3
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.cam.lifeUp.play();
_root.gun3_ammo = _root.gun3_ammo + 15;
_parent.removeMovieClip();
}
}
Instance of Symbol 144 MovieClip in Symbol 473 MovieClip [ammo_up] Frame 4
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.cam.lifeUp.play();
_root.gun4_ammo = _root.gun4_ammo + 16;
_parent.removeMovieClip();
}
}
Instance of Symbol 148 MovieClip in Symbol 473 MovieClip [ammo_up] Frame 5
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.cam.lifeUp.play();
_root.gun5_ammo = _root.gun5_ammo + 20;
_parent.removeMovieClip();
}
}
Instance of Symbol 62 MovieClip in Symbol 473 MovieClip [ammo_up] Frame 6
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.cam.lifeUp.play();
_root.gun6_ammo = _root.gun6_ammo + 30;
_parent.removeMovieClip();
}
}
Instance of Symbol 156 MovieClip in Symbol 473 MovieClip [ammo_up] Frame 7
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.cam.lifeUp.play();
_root.gun7_ammo = _root.gun7_ammo + 3;
_parent.removeMovieClip();
}
}
Instance of Symbol 158 MovieClip "bullet" in Symbol 473 MovieClip [ammo_up] Frame 8
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hita)) {
_root.cam.lifeUp.play();
_root.gun8_ammo = _root.gun8_ammo + 3;
_parent.removeMovieClip();
}
}
Symbol 489 MovieClip [coin] Frame 1
onEnterFrame = function () {
if (_root.over) {
this.swapDepths(999999);
this.removeMovieClip();
}
if (!setVars) {
grav = (random(10) + 10) * -1;
speed = random(10) - 5;
timer = 0;
setVars = true;
}
if (!_root.pau) {
timer++;
if (timer > 600) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
}
if (_xscale <= 0) {
this.removeMovieClip();
}
if (hitTest(_root.hero.hita)) {
play();
}
_y = (_y + grav);
if (sset) {
_x = (_x + speed);
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav = grav + 1;
} else {
if (speed > 0) {
speed--;
}
if (speed < 0) {
speed++;
}
grav = grav / 2;
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 8, true)) {
_y = (_y+1);
}
if (_root.ground.hitTest(_x, _y - 9, true)) {
grav = grav * -1;
}
if (_root.ground.hitTest(_x + 10, _y, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x - 10, _y, true)) {
speed = speed * -1;
}
}
};
stop();
Symbol 489 MovieClip [coin] Frame 2
_root.coins++;
this.onEnterFrame = null;
_root.score = _root.score + 5;
_rotation = random(360);
lol = random(30) + 80;
_xscale = lol;
_yscale = lol;
_root.pings.play();
Symbol 489 MovieClip [coin] Frame 18
this.removeMovieClip();
Symbol 502 MovieClip Frame 13
_parent.removeMovieClip();
Instance of Symbol 62 MovieClip in Symbol 527 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(7);
}
}
}
Symbol 527 MovieClip Frame 15
_parent.gotoAndStop("idle");
Symbol 536 MovieClip Frame 13
_root.createCoin(_parent._x, _parent._y - 40, 5);
Symbol 536 MovieClip Frame 34
_root.kills++;
Symbol 536 MovieClip Frame 69
_parent.swapDepths(99999);
_parent.removeMovieClip();
Symbol 537 MovieClip [e4] Frame 1
function hurt() {
hb.gotoAndPlay(2);
if (_root.gun == 1) {
life = life - _root.gun1_power;
}
if (_root.gun == 2) {
life = life - _root.gun2_power;
}
if (_root.gun == 3) {
life = life - _root.gun3_power;
}
if (_root.gun == 4) {
life = life - _root.gun4_power;
}
if (_root.gun == 5) {
life = life - _root.gun5_power;
}
if (_root.gun == 6) {
life = life - _root.gun6_power;
}
if (_root.gun == 7) {
life = life - _root.gun7_power;
}
if (_root.gun == 8) {
life = life - _root.gun8_power;
}
pain.play();
}
stop();
stop();
onEnterFrame = function () {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
if (!gVars) {
speed = random(2) + 4;
grav = 0;
life = (random(25) + 80) + _root.ep;
gVars = true;
}
if (!_root.pau) {
if (_root.enemyjump.hitTest(_x, _y, true)) {
jump = true;
}
while (_root.ground.hitTest(_x + 40, _y - 30, true)) {
_x = (_x-1);
if (random(10) == 1) {
jump = true;
}
}
while (_root.ground.hitTest(_x - 40, _y - 30, true)) {
_x = (_x+1);
if (random(10) == 1) {
jump = true;
}
}
if (grav == 0) {
jump = false;
}
if (jump) {
gotoAndStop ("run");
_y = (_y - 20);
}
if (life <= 0) {
gotoAndStop ("die");
}
if (hitTest(_root.screen)) {
active = true;
} else {
active = false;
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
}
};
Instance of Symbol 509 MovieClip in Symbol 537 MovieClip [e4] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(30) == 1) {
_parent.gotoAndStop("run");
}
if (random(6) == 1) {
if ((_root.hero._x > (_parent._x + 50)) || (_root.hero._x < (_parent._x - 50))) {
_parent.gotoAndStop("run");
}
}
}
}
}
Instance of Symbol 62 MovieClip in Symbol 537 MovieClip [e4] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
if (random(2) == 1) {
_parent.gotoAndStop("attack");
}
}
}
}
Instance of Symbol 415 MovieClip in Symbol 537 MovieClip [e4] Frame 1
onClipEvent (load) {
l = _parent.life;
}
Instance of Symbol 516 MovieClip in Symbol 537 MovieClip [e4] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(8) > 4) {
if (!_parent.jump) {
if (_root.hero._x > (_parent._x + 50)) {
_parent._xscale = 100;
}
if (_root.hero._x < (_parent._x - 50)) {
_parent._xscale = -100;
}
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
if (random(10) == 5) {
_parent.gotoAndStop("idle");
}
}
}
}
Symbol 546 MovieClip Frame 1
_xscale = _parent.sca;
_yscale = _parent.sca;
Symbol 560 MovieClip Frame 1
_xscale = _parent.sca;
_yscale = _parent.sca;
Symbol 577 MovieClip Frame 1
_xscale = _parent.sca;
_yscale = _parent.sca;
Instance of Symbol 62 MovieClip in Symbol 577 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(6);
}
}
}
Symbol 577 MovieClip Frame 17
_parent.gotoAndStop("idle");
Symbol 597 MovieClip Frame 1
_xscale = _parent.sca;
_yscale = _parent.sca;
Symbol 597 MovieClip Frame 21
_parent.onEnterFrame = null;
grav = 0;
_root.kills++;
_root.createCoin(_parent._x, _parent._y - 40, 5);
Symbol 597 MovieClip Frame 50
_parent.swapDepths(99999);
_parent.removeMovieClip();
Symbol 598 MovieClip [e3] Frame 1
function hurt() {
hb.gotoAndPlay(2);
if (_root.gun == 1) {
life = life - _root.gun1_power;
}
if (_root.gun == 2) {
life = life - _root.gun2_power;
}
if (_root.gun == 3) {
life = life - _root.gun3_power;
}
if (_root.gun == 4) {
life = life - _root.gun4_power;
}
if (_root.gun == 5) {
life = life - _root.gun5_power;
}
if (_root.gun == 6) {
life = life - _root.gun6_power;
}
if (_root.gun == 7) {
life = life - _root.gun7_power;
}
if (_root.gun == 8) {
life = life - _root.gun8_power;
}
pain.play();
}
stop();
stop();
onEnterFrame = function () {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
if (!gVars) {
speed = random(5) + 9;
grav = 0;
sca = 75;
life = (random(25) + 50) + _root.ep;
gVars = true;
}
if (!_root.pau) {
if (_root.enemyjump.hitTest(_x, _y, true)) {
jump = true;
}
while (_root.ground.hitTest(_x + 40, _y - 40, true)) {
_x = (_x-1);
if (random(10) == 1) {
jump = true;
}
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x+1);
if (random(10) == 1) {
jump = true;
}
}
if (grav == 0) {
jump = false;
}
if (jump) {
gotoAndStop ("run");
_y = (_y - 17);
}
if (life <= 0) {
gotoAndStop ("die");
}
if (hitTest(_root.screen)) {
active = true;
} else {
active = false;
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
}
};
Instance of Symbol 546 MovieClip in Symbol 598 MovieClip [e3] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(30) == 1) {
_parent.gotoAndStop("run");
}
if (random(6) == 1) {
if ((_root.hero._x > (_parent._x + 50)) || (_root.hero._x < (_parent._x - 50))) {
_parent.gotoAndStop("run");
}
}
}
}
}
Instance of Symbol 62 MovieClip in Symbol 598 MovieClip [e3] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
if (random(2) == 1) {
_parent.gotoAndStop("attack");
}
}
}
}
Instance of Symbol 415 MovieClip in Symbol 598 MovieClip [e3] Frame 1
onClipEvent (load) {
l = _parent.life;
}
Instance of Symbol 560 MovieClip in Symbol 598 MovieClip [e3] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(8) > 4) {
if (!_parent.jump) {
if (_root.hero._x > (_parent._x + 50)) {
_parent._xscale = 100;
}
if (_root.hero._x < (_parent._x - 50)) {
_parent._xscale = -100;
}
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
if (random(10) == 5) {
_parent.gotoAndStop("idle");
}
}
}
}
Symbol 604 MovieClip Frame 1
stop();
Symbol 604 MovieClip Frame 2
_root.sShoot(_rotation, _x + _parent._x, _parent._y + _y);
Symbol 605 MovieClip [e2] Frame 1
function hurt() {
hb.gotoAndPlay(2);
if (_root.gun == 1) {
life = life - _root.gun1_power;
}
if (_root.gun == 2) {
life = life - _root.gun2_power;
}
if (_root.gun == 3) {
life = life - _root.gun3_power;
}
if (_root.gun == 4) {
life = life - _root.gun4_power;
}
if (_root.gun == 5) {
life = life - _root.gun5_power;
}
if (_root.gun == 6) {
life = life - _root.gun6_power;
}
if (_root.gun == 7) {
life = life - _root.gun7_power;
}
if (_root.gun == 8) {
life = life - _root.gun8_power;
}
pain.play();
}
stop();
while (!_root.ground.hitTest(_x, _y, true)) {
_y = (_y+1);
}
life = (random(10) + 50) + _root.ep;
onEnterFrame = function () {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
if (!_root.pau) {
if (life < 0) {
play();
}
if (hitTest(_root.screen)) {
myRadians = Math.atan2((_root.hero._y - 70) - (gun._y + _y), _root.hero._x - (gun._x + _x));
myDegrees = Math.round((myRadians * 180) / Math.PI);
gun._rotation = myDegrees;
if (random(30) == 1) {
gun.play();
}
}
}
};
Instance of Symbol 415 MovieClip in Symbol 605 MovieClip [e2] Frame 1
onClipEvent (load) {
l = _parent.life;
}
Symbol 605 MovieClip [e2] Frame 2
onEnterFrame = null;
Symbol 605 MovieClip [e2] Frame 3
_root.explode(_x, _y, this);
_root.createCoin(_x, _y - 40, 5);
Symbol 605 MovieClip [e2] Frame 4
stop();
_root.kills++;
Symbol 629 MovieClip Frame 13
_root.crazyshoot(_parent._xscale, _parent._x + ((_parent._xscale / 100) * 60), _parent._y - 60);
Symbol 629 MovieClip Frame 21
_parent.gotoAndStop("idle");
Symbol 645 MovieClip Frame 4
_root.kills++;
Symbol 645 MovieClip Frame 10
_root.createCoin(_parent._x, _parent._y - 40, 5);
Symbol 645 MovieClip Frame 22
_parent.onEnterFrame = null;
Symbol 645 MovieClip Frame 59
_parent.swapDepths(99999);
_parent.removeMovieClip();
Symbol 646 MovieClip [e5] Frame 1
function hurt() {
hb.gotoAndPlay(2);
if (_root.gun == 1) {
life = life - _root.gun1_power;
}
if (_root.gun == 2) {
life = life - _root.gun2_power;
}
if (_root.gun == 3) {
life = life - _root.gun3_power;
}
if (_root.gun == 4) {
life = life - _root.gun4_power;
}
if (_root.gun == 5) {
life = life - _root.gun5_power;
}
if (_root.gun == 6) {
life = life - _root.gun6_power;
}
if (_root.gun == 7) {
life = life - _root.gun7_power;
}
if (_root.gun == 8) {
life = life - _root.gun8_power;
}
pain.play();
}
stop();
stop();
onEnterFrame = function () {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
if (!gVars) {
speed = random(3) + 5;
grav = 0;
life = (random(15) + 55) + _root.ep;
gVars = true;
}
if (!_root.pau) {
if (_root.enemyjump.hitTest(_x, _y, true)) {
jump = true;
}
while (_root.ground.hitTest(_x + 40, _y - 45, true)) {
_x = (_x-1);
if (random(10) == 1) {
jump = true;
}
}
while (_root.ground.hitTest(_x - 40, _y - 45, true)) {
_x = (_x+1);
if (random(10) == 1) {
jump = true;
}
}
if (grav == 0) {
jump = false;
}
if (jump) {
gotoAndStop ("run");
_y = (_y - 15);
}
if (life <= 0) {
gotoAndStop ("die");
}
if (hitTest(_root.screen)) {
active = true;
} else {
active = false;
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
}
};
Instance of Symbol 611 MovieClip in Symbol 646 MovieClip [e5] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(30) == 1) {
if (random(2) == 1) {
_parent._xscale = _parent._xscale * -1;
}
_parent.gotoAndStop("run");
}
if (random(8) == 4) {
if ((_root.hero._x > (_parent._x + 50)) || (_root.hero._x < (_parent._x - 50))) {
_parent.gotoAndStop("run");
}
}
}
}
}
Instance of Symbol 62 MovieClip in Symbol 646 MovieClip [e5] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(25) == 2) {
_parent.gotoAndStop("attack");
}
if (hitTest(_root.hero.hita)) {
if (random(2) == 1) {
_parent.gotoAndStop("attack");
}
}
}
}
}
Instance of Symbol 415 MovieClip in Symbol 646 MovieClip [e5] Frame 1
onClipEvent (load) {
l = _parent.life;
}
Instance of Symbol 618 MovieClip in Symbol 646 MovieClip [e5] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(8) > 4) {
if (!_parent.jump) {
if (_root.hero._x > (_parent._x + 50)) {
_parent._xscale = 100;
}
if (_root.hero._x < (_parent._x - 50)) {
_parent._xscale = -100;
}
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
if (random(10) == 5) {
_parent.gotoAndStop("idle");
}
}
}
}
Instance of Symbol 62 MovieClip in Symbol 676 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(4);
}
}
}
Symbol 676 MovieClip Frame 12
_parent.gotoAndStop("idle");
Symbol 691 MovieClip Frame 3
_root.kills++;
Symbol 691 MovieClip Frame 17
_parent.onEnterFrame = null;
grav = 0;
_root.createCoin(_parent._x, _parent._y - 40, 5);
Symbol 691 MovieClip Frame 53
_parent.swapDepths(99999);
_parent.removeMovieClip();
Symbol 692 MovieClip [e1] Frame 1
function hurt() {
hb.gotoAndPlay(2);
if (_root.gun == 1) {
life = life - _root.gun1_power;
}
if (_root.gun == 2) {
life = life - _root.gun2_power;
}
if (_root.gun == 3) {
life = life - _root.gun3_power;
}
if (_root.gun == 4) {
life = life - _root.gun4_power;
}
if (_root.gun == 5) {
life = life - _root.gun5_power;
}
if (_root.gun == 6) {
life = life - _root.gun6_power;
}
if (_root.gun == 7) {
life = life - _root.gun7_power;
}
if (_root.gun == 8) {
life = life - _root.gun8_power;
}
pain.play();
}
stop();
stop();
onEnterFrame = function () {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
if (!gVars) {
speed = random(4) + 7;
grav = 0;
life = (random(20) + 60) + _root.ep;
gVars = true;
}
if (!_root.pau) {
if (_root.enemyjump.hitTest(_x, _y, true)) {
jump = true;
}
while (_root.ground.hitTest(_x + 40, _y - 45, true)) {
_x = (_x-1);
if (random(10) == 1) {
jump = true;
}
}
while (_root.ground.hitTest(_x - 40, _y - 45, true)) {
_x = (_x+1);
if (random(10) == 1) {
jump = true;
}
}
if (grav == 0) {
jump = false;
}
if (jump) {
gotoAndStop ("run");
_y = (_y - 17);
}
if (life <= 0) {
gotoAndStop ("die");
}
if (hitTest(_root.screen)) {
active = true;
} else {
active = false;
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
}
};
Instance of Symbol 652 MovieClip in Symbol 692 MovieClip [e1] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(30) == 1) {
_parent.gotoAndStop("run");
}
if (random(6) == 1) {
if ((_root.hero._x > (_parent._x + 50)) || (_root.hero._x < (_parent._x - 50))) {
_parent.gotoAndStop("run");
}
}
}
}
}
Instance of Symbol 62 MovieClip in Symbol 692 MovieClip [e1] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
if (random(2) == 1) {
_parent.gotoAndStop("attack");
}
}
}
}
Instance of Symbol 415 MovieClip in Symbol 692 MovieClip [e1] Frame 1
onClipEvent (load) {
l = _parent.life;
}
Instance of Symbol 666 MovieClip in Symbol 692 MovieClip [e1] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(8) > 4) {
if (!_parent.jump) {
if (_root.hero._x > (_parent._x + 50)) {
_parent._xscale = 100;
}
if (_root.hero._x < (_parent._x - 50)) {
_parent._xscale = -100;
}
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
if (random(10) == 5) {
_parent.gotoAndStop("idle");
}
}
}
}
Symbol 708 MovieClip Frame 1
_visible = false;
_root.armplacex = ((_parent._x + _parent._parent._x) + _parent._parent._parent._x) + ((_parent._parent._parent._xscale / 100) * -5);
_root.armplacey = ((_parent._y + 10) + _parent._parent._y) + _parent._parent._parent._y;
Symbol 708 MovieClip Frame 2
gotoAndPlay (1);
Symbol 724 Button
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 725 Button
on (release) {
getURL ("http://www.crazyawesomeyeah.com", "_blank");
}
Symbol 730 MovieClip Frame 1
stop();
onEnterFrame = function () {
pc = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (pc > 99) {
gotoAndStop (2);
}
lolpc = Math.round(pc) + " %";
};
Instance of Symbol 716 MovieClip in Symbol 730 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(Math.round(_parent.pc));
lol = new Sound(this);
lol.setVolume(0);
}
Symbol 730 MovieClip Frame 2
_root.play();
Symbol 733 MovieClip Frame 1
stop();
_xscale = 0;
_yscale = 0;
Symbol 733 MovieClip Frame 12
_root.music.gotoAndPlay("menu");
_root.score = 0;
_root.over = true;
_root.arcade = false;
_root.tutt = false;
_root._x = 0;
_root._y = 0;
_root.score = 0;
Symbol 733 MovieClip Frame 13
stop();
Symbol 733 MovieClip Frame 14
stop();
Symbol 733 MovieClip Frame 15
stop();
Symbol 734 Button
on (release) {
getURL ("http://www.crazyawesomeyeah.com/", "_blank");
}
Symbol 737 MovieClip Frame 1
cacheAsBitmap = true;
Symbol 739 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._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);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
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(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 744 MovieClip Frame 50
_root.play();
Symbol 747 Button
on (release) {
getURL ("http://www.hallpass.com", "_blank");
}
Symbol 761 MovieClip Frame 75
_root._quality = "medium";
Symbol 761 MovieClip Frame 76
_root.play();
Symbol 762 Button
on (release) {
computerfast = 1;
play();
}
Symbol 763 Button
on (release) {
computerfast = 2;
play();
}
Symbol 764 Button
on (release) {
computerfast = 3;
play();
}
Symbol 775 MovieClip Frame 2
stopAllSounds();
Symbol 775 MovieClip Frame 4
stop();
Symbol 776 MovieClip Frame 1
_visible = false;
_xscale = 0;
_yscale = 0;
stop();
_name = "music";
Instance of Symbol 767 MovieClip in Symbol 776 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bossBattle) {
_parent.gotoAndStop("boss");
}
}
Symbol 776 MovieClip Frame 5
gotoAndStop (1);
Symbol 776 MovieClip Frame 9
stopAllSounds();
goto = ["m1", "m2", "m3", "m4", "m5"];
gotoAndPlay(goto[random(goto.length)]);
Symbol 776 MovieClip Frame 16
gotoAndStop (1);
Symbol 776 MovieClip Frame 19
gotoAndStop (1);
Symbol 776 MovieClip Frame 22
gotoAndStop (1);
Symbol 776 MovieClip Frame 25
gotoAndStop (1);
Symbol 776 MovieClip Frame 28
gotoAndStop (1);
Symbol 776 MovieClip Frame 31
gotoAndStop (1);
Instance of Symbol 775 MovieClip in Symbol 776 MovieClip Frame 34
onClipEvent (enterFrame) {
if (!_root.bossBattle) {
stopAllSounds();
_parent.gotoAndPlay("levelMusic");
}
}
Symbol 780 MovieClip Frame 2
_parent.gotoAndStop(1);
Symbol 789 MovieClip Frame 1
stop();
_visible = false;
Symbol 789 MovieClip Frame 2
gotoAndStop(_root.gun + 2);
Symbol 794 MovieClip Frame 1
stop();
_visible = false;
Symbol 794 MovieClip Frame 2
gotoAndStop(random(3) + 2);
Symbol 812 MovieClip Frame 1
stop();
_visible = false;
Symbol 812 MovieClip Frame 2
gotoAndStop(random(17) + 3);
Symbol 814 MovieClip Frame 1
stop();
_visible = false;
Symbol 814 MovieClip Frame 2
gotoAndStop(random(3) + 3);
Symbol 820 MovieClip Frame 1
gotoAndStop(random(5) + 1);
Symbol 822 MovieClip Frame 1
_x = (random(_parent.wid) - (_parent.wid / 2));
_y = (random(_parent.hig) - (_parent.hig / 2));
lol = random(80) + 2;
_xscale = lol;
_yscale = lol;
_alpha = (random(50) + 50);
Symbol 824 MovieClip Frame 1
_x = (random(_parent.wid) - (_parent.wid / 2));
_y = (random(_parent.hig) - (_parent.hig / 2));
lol = random(20) + 50;
_xscale = lol;
_yscale = lol;
_rotation = random(360);
_alpha = (random(60) + 40);
Symbol 826 MovieClip Frame 1
_x = (random(_parent.wid) - (_parent.wid / 2));
_y = (random(_parent.hig) - (_parent.hig / 2));
lol = random(20) + 50;
_xscale = lol;
_yscale = lol;
_rotation = random(360);
_alpha = (random(60) + 40);
Symbol 827 MovieClip Frame 1
s1d = 350;
s2d = 70;
s3d = 90;
d = 0;
wid = nebula._width;
hig = nebula._height;
while (s1d > d) {
d++;
s1.duplicateMovieClip("s" + d, d);
}
while ((s2d + s1d) > d) {
d++;
s2.duplicateMovieClip("s" + d, d);
}
while (((s3d + s2d) + s1d) > d) {
d++;
s3.duplicateMovieClip("s" + d, d);
}
while ((((s4d + s3d) + s2d) + s1d) > d) {
d++;
s4.duplicateMovieClip("s" + d, d);
}
Symbol 831 Button
on (rollOver) {
mins = "Play adventure mode. Fight bosses, shoot guns, earn coins, and save your space station from alien invaders!";
}
on (rollOut) {
mins = "";
}
on (release) {
gotoAndStop ("adv");
}
Symbol 832 Button
on (rollOver) {
mins = "An endless killing spree. Earn a lot of coins, but conserve your ammo!";
}
on (rollOut) {
mins = "";
}
on (release) {
gotoAndStop ("sandbox");
}
Symbol 833 Button
on (rollOver) {
mins = "Learn the basics of the game: controls, functions, and a little bit of strategy.";
}
on (rollOut) {
mins = "";
}
on (release) {
gotoAndStop ("tut");
}
Symbol 834 Button
on (rollOver) {
mins = "Shop for ammo, a bunch of new guns, and upgrades! You'd better have a hefty wallet.";
}
on (rollOut) {
mins = "";
}
on (release) {
gotoAndStop ("shop");
}
Symbol 835 Button
on (rollOver) {
mins = "Configure the options for the game. This is heavily recommended if you are experiencing lag issues.";
}
on (rollOut) {
mins = "";
}
on (release) {
gotoAndStop ("opt");
}
Symbol 836 Button
on (rollOver) {
mins = "See who made the game, and who I have to thank. You care about that stuff, right?!? :D";
}
on (rollOut) {
mins = "";
}
on (release) {
gotoAndStop ("cred");
}
Symbol 837 Button
on (rollOver) {
mins = "Type in some of those cheats you've earned, you little cheater.";
}
on (rollOut) {
mins = "";
}
on (release) {
gotoAndStop ("cheat");
}
Symbol 838 Button
on (rollOver) {
mins = "See all of my other projects, games and movies. Please visit my site! You won't regret it!";
}
on (rollOut) {
mins = "";
}
on (release) {
getURL ("http://www.crazyawesomeyeah.com", "_blank");
}
Symbol 839 Button
on (rollOver) {
mins = "Visit the sponsor of this game.";
}
on (rollOut) {
mins = "";
}
on (release) {
getURL (_root.spon, "_blank");
}
Symbol 844 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 846 Button
on (release) {
_root.gotoAndStop("lvl1_comic");
}
Symbol 848 MovieClip Frame 1
if (!_root.lvl1_unlocked) {
gotoAndStop (2);
}
stop();
Symbol 850 Button
on (release) {
_root.gotoAndStop("lvl2");
}
Symbol 852 MovieClip Frame 1
if (!_root.lvl2_unlocked) {
gotoAndStop (2);
}
stop();
Symbol 854 Button
on (release) {
_root.gotoAndStop("lvl3");
}
Symbol 856 MovieClip Frame 1
if (!_root.lvl3_unlocked) {
gotoAndStop (2);
}
stop();
Symbol 858 Button
on (release) {
_root.gotoAndStop("lvl4");
}
Symbol 860 MovieClip Frame 1
if (!_root.lvl4_unlocked) {
gotoAndStop (2);
}
stop();
Symbol 862 Button
on (release) {
_root.gotoAndStop("lvl5");
}
Symbol 864 MovieClip Frame 1
if (!_root.lvl5_unlocked) {
gotoAndStop (2);
}
stop();
Symbol 866 Button
on (release) {
_root.gotoAndStop("lvl6");
}
Symbol 868 MovieClip Frame 1
if (!_root.lvl6_unlocked) {
gotoAndStop (2);
}
stop();
Symbol 870 Button
on (release) {
_root.gotoAndStop("lvl7");
}
Symbol 872 MovieClip Frame 1
if (!_root.lvl7_unlocked) {
gotoAndStop (2);
}
stop();
Symbol 874 Button
on (release) {
_root.gotoAndStop("lvl8");
}
Symbol 876 MovieClip Frame 1
if (!_root.lvl8_unlocked) {
gotoAndStop (2);
}
stop();
Symbol 883 MovieClip Frame 1
_xscale = _parent._currentframe;
Symbol 885 MovieClip Frame 1
_visible = false;
Symbol 887 Button
on (release) {
play();
}
Symbol 898 MovieClip Frame 1
stop();
Instance of Symbol 883 MovieClip in Symbol 898 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = _parent._currentframe;
_root.setVol = _xscale - 1;
_root.vol = _xscale - 1;
}
Symbol 898 MovieClip Frame 10
stop();
Symbol 898 MovieClip Frame 20
stop();
Symbol 898 MovieClip Frame 30
stop();
Symbol 898 MovieClip Frame 40
stop();
Symbol 898 MovieClip Frame 50
stop();
Symbol 898 MovieClip Frame 60
stop();
Symbol 898 MovieClip Frame 70
stop();
Symbol 898 MovieClip Frame 80
stop();
Symbol 898 MovieClip Frame 90
stop();
Symbol 898 MovieClip Frame 100
stop();
Symbol 902 Button
on (release) {
play();
}
Symbol 904 Button
on (release) {
play();
}
Symbol 905 MovieClip Frame 1
stop();
Symbol 905 MovieClip Frame 2
stop();
Symbol 907 Button
on (release) {
_root._quality = "high";
}
Symbol 908 Button
on (release) {
_root._quality = "medium";
}
Symbol 909 Button
on (release) {
_root._quality = "low";
}
Symbol 914 Button
on (release) {
getURL ("http://www.shiftlimits.com", "_blank");
}
Symbol 922 Button
on (release) {
if (cheatText == "ashly") {
_root.fastCheat = true;
cheatText = "Rapid Fire!";
} else if (cheatText == "austimus prime") {
_root.highJumpCheat = true;
cheatText = "Jump higher.";
} else if (cheatText == "sonic") {
_root.speedCheat = true;
cheatText = "Run Faster.";
} else if (cheatText == "snowball") {
_root.unlimitedcheat = true;
cheatText = "Unlimited Ammo.";
} else if (cheatText == "fo show") {
_root.lvl1_unlocked = true;
_root.lvl2_unlocked = true;
_root.lvl3_unlocked = true;
_root.lvl4_unlocked = true;
_root.lvl5_unlocked = true;
_root.lvl6_unlocked = true;
_root.lvl7_unlocked = true;
_root.lvl8_unlocked = true;
_root.gun1_unlocked = true;
_root.gun2_unlocked = true;
_root.gun3_unlocked = true;
_root.gun4_unlocked = true;
_root.gun5_unlocked = true;
_root.gun6_unlocked = true;
_root.gun7_unlocked = true;
_root.gun8_unlocked = true;
cheatText = "EVERYTING unlocked.";
} else if (cheatText == "courage") {
_root.shieldCheat = true;
cheatText = "Everlasting Shield.";
} else if (cheatText == "COINS LOL") {
_root.coins = _root.coins + 10000;
cheatText = "COINS ARE OVER 9000!";
} else if (cheatText == "poop") {
cheatText = "lol you're funny....not.";
} else if (cheatText == "no more") {
_root.speedCheat = false;
_root.fastCheat = false;
_root.unlimitedcheat = false;
_root.highJumpCheat = false;
_root.shieldCheat = false;
cheatText = "Cheats Off.";
} else {
fsxc = new Array("newp.", "not quite.", "lolno.", "wrong.", "uh...no.", "still wrong", "uh-uh", "NO!", "you type bad", "HAHA no.", "that's wrong bub.", "terrible guess, lol", "fail.", "miserable fail.");
cheatText = fsxc[random(fsxc.length)];
}
}
Symbol 932 Button
on (release) {
_root.gotoAndStop("lvl1");
}
Symbol 950 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (!Key.isDown(32)) {
lol = false;
}
if (Key.isDown(32) && (!lol)) {
nextFrame();
lol = true;
}
};
Symbol 950 MovieClip Frame 12
_root.gotoAndStop("lvl1");
Symbol 954 Button
on (release) {
gotoAndStop ("ammo");
}
Symbol 955 Button
on (release) {
gotoAndStop ("up");
}
Symbol 956 Button
on (release) {
gotoAndStop ("guns");
}
Symbol 962 Button
on (release) {
if (_root.coins >= 1500) {
maxammo = true;
gotoAndStop ("buy");
}
}
Symbol 963 Button
on (release) {
if (_root.coins >= 1000) {
morelife = true;
gotoAndStop ("buy");
}
}
Symbol 967 Button
on (release) {
gotoAndStop (1);
}
Symbol 969 Button
on (release) {
_parent.gun = 2;
_parent.gotoAndStop("quantity");
}
Symbol 970 MovieClip Frame 1
if (!_root.gun2_unlocked) {
gotoAndStop (2);
_alpha = 20;
}
stop();
Symbol 972 Button
on (release) {
_parent.gun = 3;
_parent.gotoAndStop("quantity");
}
Symbol 973 MovieClip Frame 1
if (!_root.gun3_unlocked) {
gotoAndStop (2);
_alpha = 20;
}
stop();
Symbol 975 Button
on (release) {
_parent.gun = 4;
_parent.gotoAndStop("quantity");
}
Symbol 976 MovieClip Frame 1
if (!_root.gun4_unlocked) {
gotoAndStop (2);
_alpha = 20;
}
stop();
Symbol 977 Button
on (release) {
_parent.gun = 5;
_parent.gotoAndStop("quantity");
}
Symbol 978 MovieClip Frame 1
if (!_root.gun5_unlocked) {
gotoAndStop (2);
_alpha = 20;
}
stop();
Symbol 980 Button
on (release) {
_parent.gun = 6;
_parent.gotoAndStop("quantity");
}
Symbol 981 MovieClip Frame 1
if (!_root.gun6_unlocked) {
gotoAndStop (2);
_alpha = 20;
}
stop();
Symbol 983 Button
on (release) {
_parent.gun = 7;
_parent.gotoAndStop("quantity");
}
Symbol 984 MovieClip Frame 1
if (!_root.gun7_unlocked) {
gotoAndStop (2);
_alpha = 20;
}
stop();
Symbol 986 Button
on (release) {
_parent.gun = 8;
_parent.gotoAndStop("quantity");
}
Symbol 987 MovieClip Frame 1
if (!_root.gun8_unlocked) {
gotoAndStop (2);
_alpha = 20;
}
stop();
Symbol 992 MovieClip Frame 2
if ((_parent.guna + _parent.amount) > _parent.gunm) {
_parent.amount--;
}
_parent.ammoprice = ("Ammo price: " + _parent.gp) + " coins/bullet";
am = _parent.amount * _parent.gp;
_parent.am = am;
_parent.xx = _parent.amount;
if (_parent.amount < 0) {
_parent.amount = 0;
}
if (am > _root.coins) {
_parent.allowed = false;
_parent.afford = "You can't afford that.";
} else {
if (_parent.amount > 0) {
_parent.allowed = true;
} else {
_parent.allowed = false;
}
_parent.afford = ("Your total so far is: " + am) + " coins.";
}
Symbol 992 MovieClip Frame 3
gotoAndPlay (2);
Symbol 997 Button
on (release) {
amount++;
}
Symbol 998 Button
on (release) {
amount--;
}
Symbol 1001 Button
on (release) {
if (allowed) {
bammo = true;
gotoAndStop ("buy");
}
}
Symbol 1005 Button
on (release) {
if (_root.coins > am) {
_root.coins = _root.coins - am;
_root.gun2_unlcoked = true;
_parent.gotoAndStop("buy");
}
}
Symbol 1006 MovieClip Frame 1
if (_root.gun2_unlocked) {
this.swapDepths(99999);
this.removeMovieClip();
}
am = 250;
Symbol 1008 Button
on (release) {
if (_root.coins >= am) {
_root.coins = _root.coins - am;
_root.gun3_unlocked = true;
_parent.gotoAndStop("buy");
}
}
Symbol 1010 MovieClip Frame 1
if (_root.gun3_unlocked) {
this.swapDepths(99999);
this.removeMovieClip();
}
am = 300;
Symbol 1012 Button
on (release) {
if (_root.coins >= am) {
_root.coins = _root.coins - am;
_root.gun4_unlocked = true;
_parent.gotoAndStop("buy");
}
}
Symbol 1014 MovieClip Frame 1
if (_root.gun4_unlocked) {
this.swapDepths(99999);
this.removeMovieClip();
}
am = 350;
Symbol 1016 Button
on (release) {
if (_root.coins >= am) {
_root.coins = _root.coins - am;
_root.gun5_unlocked = true;
_parent.gotoAndStop("buy");
}
}
Symbol 1018 MovieClip Frame 1
if (_root.gun5_unlocked) {
this.swapDepths(99999);
this.removeMovieClip();
}
am = 400;
Symbol 1020 Button
on (release) {
if (_root.coins >= am) {
_root.coins = _root.coins - am;
_root.gun6_unlocked = true;
_parent.gotoAndStop("buy");
}
}
Symbol 1022 MovieClip Frame 1
if (_root.gun6_unlocked) {
this.swapDepths(99999);
this.removeMovieClip();
}
am = 450;
Symbol 1024 Button
on (release) {
if (_root.coins >= am) {
_root.coins = _root.coins - am;
_root.gun7_unlocked = true;
_parent.gotoAndStop("buy");
}
}
Symbol 1026 MovieClip Frame 1
if (_root.gun7_unlocked) {
this.swapDepths(99999);
this.removeMovieClip();
}
am = 600;
Symbol 1028 Button
on (release) {
if (_root.coins >= am) {
_root.coins = _root.coins - am;
_root.gun8_unlocked = true;
_parent.gotoAndStop("buy");
}
}
Symbol 1030 MovieClip Frame 1
if (_root.gun8_unlocked) {
this.swapDepths(99999);
this.removeMovieClip();
}
am = 600;
Symbol 1036 MovieClip Frame 1
stop();
bammo = false;
morelife = false;
maxammo = false;
Instance of Symbol 62 MovieClip in Symbol 1036 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gun3_unlocked) {
g3 = (("Gun 3 Ammo: " + _root.gun3_ammo) + "/") + _root.gun3_max;
} else {
g3 = "Gun 3: Locked.";
}
if (_root.gun4_unlocked) {
g4 = (("Gun 4 Ammo: " + _root.gun4_ammo) + "/") + _root.gun4_max;
} else {
g4 = "Gun 4: Locked.";
}
if (_root.gun5_unlocked) {
g5 = (("Gun 5 Ammo: " + _root.gun5_ammo) + "/") + _root.gun5_max;
} else {
g5 = "Gun 5: Locked.";
}
if (_root.gun6_unlocked) {
g6 = (("Gun 6 Ammo: " + _root.gun6_ammo) + "/") + _root.gun6_max;
} else {
g6 = "Gun 6: Locked.";
}
if (_root.gun7_unlocked) {
g7 = (("Gun 7 Ammo: " + _root.gun7_ammo) + "/") + _root.gun7_max;
} else {
g7 = "Gun 7: Locked.";
}
if (_root.gun8_unlocked) {
g8 = (("Gun 8 Ammo: " + _root.gun8_ammo) + "/") + _root.gun8_max;
} else {
g8 = "Gun 8: Locked.";
}
_parent.stats = ((((((((((((((((((("Coins: " + _root.coins) + newline) + "Gun 1 Ammo: unlimited") + newline) + "Gun 2 Ammo: ") + _root.gun2_ammo) + "/") + _root.gun2_max) + newline) + g3) + newline) + g4) + newline) + g5) + newline) + g6) + newline) + g7) + newline) + g8;
}
Symbol 1036 MovieClip Frame 10
amount = 0;
if (gun == 2) {
gp = 2;
gunm = _root.gun2_max;
guna = _root.gun2_ammo;
}
if (gun == 3) {
gp = 3;
gunm = _root.gun3_max;
guna = _root.gun3_ammo;
}
if (gun == 4) {
gp = 4;
gunm = _root.gun4_max;
guna = _root.gun4_ammo;
}
if (gun == 5) {
gp = 4;
gunm = _root.gun5_max;
guna = _root.gun5_ammo;
}
if (gun == 6) {
gp = 2;
gunm = _root.gun6_max;
guna = _root.gun6_ammo;
}
if (gun == 7) {
gp = 25;
gunm = _root.gun7_max;
guna = _root.gun7_ammo;
}
if (gun == 8) {
gp = 25;
gunm = _root.gun8_max;
guna = _root.gun8_ammo;
}
Instance of Symbol 62 MovieClip in Symbol 1036 MovieClip Frame 10
onClipEvent (enterFrame) {
_parent.ammoprice = ("Ammo price: " + _parent.gp) + " coins/bullet";
am = _parent.amount * _parent.gp;
_parent.am = am;
_parent.xx = _parent.amount;
if (_parent.amount < 0) {
_parent.amount = 0;
}
if (am > _root.coins) {
_parent.allowed = false;
_parent.afford = "You can't afford that.";
} else {
if (_parent.amount > 0) {
_parent.allowed = true;
} else {
_parent.allowed = false;
}
_parent.afford = ("Your total so far is: " + am) + " coins.";
}
}
Symbol 1036 MovieClip Frame 19
if (bammo) {
_root.coins = _root.coins - am;
if (gun == 2) {
_root.gun2_ammo = _root.gun2_ammo + amount;
}
if (gun == 3) {
_root.gun3_ammo = _root.gun3_ammo + amount;
}
if (gun == 4) {
_root.gun4_ammo = _root.gun4_ammo + amount;
}
if (gun == 5) {
_root.gun5_ammo = _root.gun5_ammo + amount;
}
if (gun == 6) {
_root.gun6_ammo = _root.gun6_ammo + amount;
}
if (gun == 7) {
_root.gun7_ammo = _root.gun7_ammo + amount;
}
if (gun == 8) {
_root.gun8_ammo = _root.gun8_ammo + amount;
}
}
if (maxammo) {
_root.coins = _root.coins - 1500;
_root.gun2_max = _root.gun2_max + 15;
_root.gun3_max = _root.gun3_max + 20;
_root.gun4_max = _root.gun4_max + 20;
_root.gun5_max = _root.gun5_max + 25;
_root.gun6_max = _root.gun6_max + 30;
_root.gun7_max = _root.gun7_max + 3;
_root.gun8_max = _root.gun8_max + 3;
}
if (morelife) {
_root.coins = _root.coins - 1000;
_root.maxlife = _root.maxlife + 10;
}
Symbol 1037 MovieClip Frame 1
if (_root.noBG) {
swapDepths(9999);
this.removeMovieClip();
}
if (_root.computerfast == 3) {
s1d = 200;
s2d = 60;
s3d = 95;
}
if (_root.computerfast == 2) {
s1d = 150;
s2d = 40;
s3d = 50;
}
if (_root.computerfast == 1) {
s1d = 130;
s2d = 40;
s3d = 40;
nebula._visible = false;
}
d = 0;
wid = nebula._width;
hig = nebula._height;
while (s1d > d) {
d++;
s1.duplicateMovieClip("s" + d, d);
}
while ((s2d + s1d) > d) {
d++;
s2.duplicateMovieClip("s" + d, d);
}
while (((s3d + s2d) + s1d) > d) {
d++;
s3.duplicateMovieClip("s" + d, d);
}
while ((((s4d + s3d) + s2d) + s1d) > d) {
d++;
s4.duplicateMovieClip("s" + d, d);
}
Symbol 1039 MovieClip Frame 1
_visible = false;
_name = "enemyjump";
Symbol 1041 MovieClip Frame 1
_name = "screen";
_visible = false;
_x = _root.cam._x;
_y = _root.cam._y;
Symbol 1041 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1044 MovieClip Frame 1
_visible = false;
Symbol 1047 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1050 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1052 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1056 MovieClip Frame 2
_root.ground[_parent.myName]._x = _parent._x;
_root.ground[_parent.myName]._y = _parent._y - 2;
Symbol 1056 MovieClip Frame 3
gotoAndPlay (2);
Symbol 1057 MovieClip Frame 1
function hurt() {
if (_root.gun == 7) {
this.act();
_root.steelex(_x, _y);
_root.ground[myName].removeMovieClip();
_root.score = _root.score + 56;
this.swapDepths(99999);
this.removeMovieClip();
}
if (_root.gun == 8) {
this.act();
_root.steelex(_x, _y);
_root.ground[myName].removeMovieClip();
this.swapDepths(99999);
_root.score = _root.score + 56;
this.removeMovieClip();
}
}
if (!define) {
myName = [(random(999999) + "_box+") + random(999999)];
_name = myName;
box.cacheAsBitmap = true;
_root.ground.attachMovie("steelBox", myName, random(999999));
grav = 1;
define = true;
}
stop();
onEnterFrame = function () {
if (grav == 0) {
if (!hitTest(_root.screen)) {
gotoAndStop (2);
}
}
if (!_root.pau) {
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y - 1, true)) {
_y = (_y-1);
grav = 0;
}
}
};
Symbol 1057 MovieClip Frame 2
onEnterFrame = null;
Instance of Symbol 62 MovieClip in Symbol 1057 MovieClip Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.screen)) {
_parent.prevFrame();
}
}
Symbol 1060 MovieClip Frame 1
this.cacheAsBitmap = true;
Symbol 1063 MovieClip Frame 1
stop();
_visible = false;
lmao = new Color(_parent);
setTint = function (r, g, b, amount) {
var _local3 = 100 - amount;
var _local1 = new Object();
_local1.ra = (_local1.ga = (_local1.ba = _local3));
var _local2 = amount / 100;
_local1.rb = r * _local2;
_local1.gb = g * _local2;
_local1.bb = b * _local2;
lmao.setTransform(_local1);
};
setTint(0, 0, 0, 0);
Symbol 1063 MovieClip Frame 2
setTint(255, 255, 255, 100);
Symbol 1063 MovieClip Frame 3
setTint(255, 255, 255, 50);
Symbol 1064 MovieClip Frame 1
function hurt() {
_root.score = _root.score + 7;
if (_root.gun == 1) {
life = life - _root.gun1_power;
}
if (_root.gun == 2) {
life = life - _root.gun2_power;
}
if (_root.gun == 3) {
life = life - _root.gun3_power;
}
if (_root.gun == 4) {
life = life - _root.gun4_power;
}
if (_root.gun == 5) {
life = life - _root.gun5_power;
}
if (_root.gun == 6) {
life = life - _root.gun6_power;
}
if (_root.gun == 7) {
life = life - _root.gun7_power;
}
if (_root.gun == 8) {
life = life - _root.gun8_power;
}
pain.play();
}
if (!omg) {
myName = [(random(999999) + "_box+") + random(999999)];
_root.ground.attachMovie("woodBox", myName, random(999999));
_name = myName;
box.cacheAsBitmap = true;
life = 7;
grav = 1;
omg = true;
}
stop();
onEnterFrame = function () {
if (grav == 0) {
if (life > 0) {
if (!hitTest(_root.screen)) {
gotoAndStop (2);
}
}
}
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
if (!_root.pau) {
if (life <= 0) {
this.act();
_root.score = _root.score + 22;
_root.woodex(_x, _y);
_root.ground[myName].removeMovieClip();
this.swapDepths(99999);
this.removeMovieClip();
}
if (!_root.ground.hitTest(_x, _y - 1, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
}
};
Symbol 1064 MovieClip Frame 2
onEnterFrame = null;
Instance of Symbol 62 MovieClip in Symbol 1064 MovieClip Frame 2
onClipEvent (enterFrame) {
if (hitTest(_root.screen)) {
_parent.prevFrame();
}
}
Symbol 1073 MovieClip Frame 1
gotoAndPlay (2);
Symbol 1073 MovieClip Frame 2
play();
Symbol 1073 MovieClip Frame 3
play();
Symbol 1073 MovieClip Frame 4
play();
Symbol 1073 MovieClip Frame 14
stop();
Symbol 1081 MovieClip Frame 1
stop();
gotoAndStop(_root.gun);
onEnterFrame = function () {
gotoAndStop(_root.gun);
};
Symbol 1082 MovieClip Frame 1
dot.gotoAndStop(_root.gun);
Symbol 1084 MovieClip Frame 1
_visible = false;
_parent._x = _root.armplacex;
_parent._y = _root.armplacey;
myRadians = Math.atan2(_root._ymouse - _parent._y, _root._xmouse - _parent._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_parent._rotation = myDegrees;
_parent._yscale = _root.hero._xscale;
Symbol 1084 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1085 MovieClip Frame 1
stop();
onMouseDown = function () {
if (!_root.pau) {
lol = true;
}
};
onMouseUp = function () {
if (!_root.pau) {
lol = false;
}
};
onEnterFrame = function () {
if (!_root.pau) {
if (lol) {
play();
}
if (!d1) {
if (_root.hero._xscale == 100) {
this.swapDepths(_root.hero);
d1 = true;
d2 = false;
}
}
if (!d2) {
if (_root.hero._xscale == -100) {
this.swapDepths(_root.hero);
d2 = true;
d1 = false;
}
}
}
};
Symbol 1085 MovieClip Frame 2
_root.shoot();
Symbol 1085 MovieClip Frame 4
if (lol) {
if (_root.gun == 6) {
gotoAndPlay (2);
}
}
if (lol) {
if (_root.fastCheat) {
gotoAndPlay (2);
}
}
Symbol 1085 MovieClip Frame 7
if (lol) {
if ((_root.gun == 3) || (_root.gun == 5)) {
gotoAndPlay (2);
}
}
Symbol 1085 MovieClip Frame 8
if (lol) {
if (_root.gun == 4) {
gotoAndPlay (2);
}
}
Symbol 1085 MovieClip Frame 9
if (lol) {
if (_root.gun == 1) {
gotoAndPlay (2);
}
}
Symbol 1092 MovieClip Frame 1
_xscale = 0;
_yscale = 0;
Symbol 1113 MovieClip Frame 1
function hurt(lm) {
_root.pains.play();
if (!shield) {
life = life - lm;
_root.cam.pain.play();
pain.play();
} else {
_root.shield.pain.play();
}
}
stop();
high = _height - 15;
onEnterFrame = function () {
if (grav > 200) {
life = 0;
}
while (hitTest(_root.levelBegin)) {
_x = (_x+1);
}
if (_root.shieldCheat) {
shield = true;
}
if (_root.speedCheat) {
speed = 25;
}
if (_root.highJumpCheat) {
jumph = 27;
}
if (!gVars) {
shield = false;
speed = 14;
grav = 0;
jump = false;
jumph = 15;
life = _root.maxlife;
gVars = true;
}
if (!_root.pau) {
if (hita.hitTest(_root.levelEnd)) {
_root.cam.win.play();
}
while (_root.ground.ground.hitTest(_x, _y - high, true)) {
jump = false;
_y = (_y+1);
}
if (life <= 0) {
_root.cam.pwnt.play();
_root.explode(_x, _y, this);
_root.arm.swapDepths(99999);
_root.arm.removeMovieClip();
swapDepths(99999);
this.removeMovieClip();
}
while (_root.ground.hitTest(_x + 30, _y - (high / 2), true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 30, _y - (high / 2), true)) {
_x = (_x+1);
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
_y = (_y-1);
grav = 0;
}
if (jump) {
gotoAndStop ("jump");
_y = (_y - jumph);
}
}
};
Instance of Symbol 1090 MovieClip in Symbol 1113 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(_root.S)) {
_parent.gotoAndStop("duck");
}
if (Key.isDown(_root.A)) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
if (Key.isDown(_root.D)) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
}
Instance of Symbol 1092 MovieClip in Symbol 1113 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(_root.W)) {
if (_parent.grav == 0) {
_parent.jump = true;
_parent._y = _parent._y - 3;
_parent.gotoAndStop("jump");
}
}
}
}
Symbol 1113 MovieClip Frame 6
high = _height - 15;
Instance of Symbol 715 MovieClip in Symbol 1113 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(_root.S)) {
_parent.gotoAndStop("duck_walk");
}
if (Key.isDown(_root.A)) {
_parent._xscale = -100;
_parent._x = _parent._x - _parent.speed;
} else if (Key.isDown(_root.D)) {
_parent._xscale = 100;
_parent._x = _parent._x + _parent.speed;
} else {
_parent.gotoAndStop("idle");
}
}
}
Symbol 1113 MovieClip Frame 11
grav = 2;
_y = (_y - 10);
jump = true;
Instance of Symbol 1095 MovieClip in Symbol 1113 MovieClip Frame 11
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(_root.A)) {
_parent._xscale = -100;
_parent._x = _parent._x - _parent.speed;
}
if (Key.isDown(_root.D)) {
_parent._xscale = 100;
_parent._x = _parent._x + _parent.speed;
}
if (!_parent.jump) {
_parent.gotoAndStop("idle");
}
}
}
Symbol 1113 MovieClip Frame 16
high = _height - 23;
Instance of Symbol 1098 MovieClip in Symbol 1113 MovieClip Frame 16
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!Key.isDown(_root.S)) {
if (!_parent.haveToDuck) {
_parent.gotoAndStop("idle");
}
}
if (Key.isDown(_root.A)) {
_parent._xscale = -100;
_parent.gotoAndStop("duck_walk");
}
if (Key.isDown(_root.D)) {
_parent._xscale = 100;
_parent.gotoAndStop("duck_walk");
}
}
}
Symbol 1113 MovieClip Frame 21
high = _height - 23;
Instance of Symbol 1112 MovieClip in Symbol 1113 MovieClip Frame 21
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!Key.isDown(_root.S)) {
if (!_parent.haveToDuck) {
_parent.gotoAndStop("run");
}
}
if (Key.isDown(_root.A)) {
_parent._xscale = -100;
_parent._x = _parent._x - (_parent.speed / 2.5);
} else if (Key.isDown(_root.D)) {
_parent._xscale = 100;
_parent._x = _parent._x + (_parent.speed / 2.5);
} else {
_parent.gotoAndStop("duck");
}
}
}
Instance of Symbol 1116 MovieClip in Symbol 1126 MovieClip Frame 1
onClipEvent (enterFrame) {
lol = random(10) + 95;
_xscale = lol;
_yscale = lol;
_rotation = random(360);
}
Symbol 1127 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (!vars) {
timer = 0;
vars = true;
}
if (_root.hero.shield) {
_x = _root.hero._x;
_y = _root.hero._y;
_visible = true;
_xscale = 100;
_yscale = 100;
timer++;
if (timer > 200) {
timer = 0;
_root.hero.shield = false;
}
if (timer > 180) {
_alpha = (_alpha - 7);
}
} else {
timer = 0;
_alpha = 100;
_visible = false;
_xscale = 0;
_yscale = 0;
}
}
};
Instance of Symbol 62 MovieClip in Symbol 1149 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(6);
}
}
}
Symbol 1149 MovieClip Frame 11
_parent.gotoAndStop("idle");
Instance of Symbol 62 MovieClip in Symbol 1172 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(7);
}
}
}
Symbol 1172 MovieClip Frame 17
_parent.gotoAndStop("idle");
Symbol 1189 MovieClip Frame 11
_root.catshot(_parent._xscale, _parent._x + ((_parent._xscale / 100) * 50), _parent._y - 70);
Symbol 1189 MovieClip Frame 21
_parent.gotoAndStop("idle");
Symbol 1237 MovieClip Frame 22
_root.createCoin(_parent._x, _parent._y - 40, 20);
Symbol 1237 MovieClip Frame 42
_parent.onEnterFrame = null;
grav = 0;
_root.kills++;
stop();
Symbol 1238 MovieClip Frame 1
function hurt() {
if (_root.gun == 1) {
life = life - _root.gun1_power;
}
if (_root.gun == 2) {
life = life - _root.gun2_power;
}
if (_root.gun == 3) {
life = life - _root.gun3_power;
}
if (_root.gun == 4) {
life = life - _root.gun4_power;
}
if (_root.gun == 5) {
life = life - _root.gun5_power;
}
if (_root.gun == 6) {
life = life - _root.gun6_power;
}
if (_root.gun == 7) {
life = life - _root.gun7_power;
}
if (_root.gun == 8) {
life = life - _root.gun8_power;
}
pain.play();
}
stop();
stop();
onEnterFrame = function () {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
if (!gVars) {
speed = 13;
grav = 0;
sca = 75;
life = 400 + _root.ep;
gVars = true;
}
if (!_root.pau) {
if (_root.enemyjump.hitTest(_x, _y, true)) {
jump = true;
}
while (_root.ground.hitTest(_x + 40, _y - 30, true)) {
_x = (_x-1);
if (random(10) == 1) {
jump = true;
}
}
while (_root.ground.hitTest(_x - 40, _y - 30, true)) {
_x = (_x+1);
if (random(10) == 1) {
jump = true;
}
}
if (grav == 0) {
jump = false;
}
if (jump) {
gotoAndStop ("jump");
_y = (_y - 17);
}
if (life <= 0) {
gotoAndStop ("die");
}
if (hitTest(_root.screen)) {
active = true;
} else {
active = false;
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
}
};
Instance of Symbol 1132 MovieClip in Symbol 1238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(70) == 1) {
_parent.gotoAndStop("shoot");
}
if (random(60) == 1) {
_parent.jump = true;
}
if (random(30) == 1) {
_parent.gotoAndStop("run");
}
if (random(6) == 1) {
if ((_root.hero._x > (_parent._x + 10)) || (_root.hero._x < (_parent._x - 10))) {
_parent.gotoAndStop("run");
}
}
}
}
}
Instance of Symbol 62 MovieClip in Symbol 1238 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
if (random(7) == 1) {
_parent.gotoAndStop("at1");
}
if (random(7) == 2) {
_parent.gotoAndStop("at2");
}
}
}
}
Instance of Symbol 1138 MovieClip in Symbol 1238 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(60) == 1) {
_parent.gotoAndStop("shoot");
}
if (random(60) == 1) {
_parent.jump = true;
}
if (random(8) > 4) {
if (_root.hero._x > (_parent._x + 50)) {
_parent._xscale = 100;
}
if (_root.hero._x < (_parent._x - 50)) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
if (random(10) == 5) {
_parent.gotoAndStop("idle");
}
}
}
}
Symbol 1238 MovieClip Frame 23
_y = (_y - 17);
Instance of Symbol 1194 MovieClip in Symbol 1238 MovieClip Frame 23
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(6) > 4) {
if (!_parent.jump) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > (_parent._x + 50)) {
_parent._xscale = 100;
}
if (_root.hero._x < (_parent._x - 50)) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
}
}
}
Symbol 1238 MovieClip Frame 28
_root.score = _root.score + 1200;
dead = true;
_root.bossBattle = false;
Symbol 1251 MovieClip Frame 1
myName = [(random(999999) + "_blocker+") + random(999999)];
_name = myName;
_root.ground.attachMovie("blocker", myName, random(999999));
_root.ground[myName]._x = _x;
_root.ground[myName]._y = _y;
stop();
Symbol 1251 MovieClip Frame 2
_root.ground[myName]._y = _root.ground[myName]._y - 50;
_root.cam.go.play();
Symbol 1251 MovieClip Frame 3
_root.ground[myName]._y = _root.ground[myName]._y - 50;
Symbol 1251 MovieClip Frame 4
_root.ground[myName]._y = _root.ground[myName]._y - 100;
Symbol 1251 MovieClip Frame 5
_root.ground[myName]._y = _root.ground[myName]._y - 100;
Symbol 1251 MovieClip Frame 6
_root.ground[myName]._y = _root.ground[myName]._y - 100;
Symbol 1251 MovieClip Frame 7
_root.ground[myName].removeMovieClip();
Symbol 1251 MovieClip Frame 10
stop();
Symbol 1262 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.bossBattle) {
nextFrame();
} else {
prevFrame();
}
};
Instance of Symbol 1259 MovieClip in Symbol 1262 MovieClip Frame 17
onClipEvent (enterFrame) {
_yscale = ((_root.boss.life / a) * 100);
}
onClipEvent (load) {
a = _root.boss.life;
}
Symbol 1270 MovieClip Frame 1
b.gotoAndStop(_root.gun);
onEnterFrame = function () {
b.gotoAndStop(_root.gun);
ammo = _root.ammo;
};
Symbol 1271 MovieClip Frame 2
play();
Symbol 1271 MovieClip Frame 3
play();
Symbol 1271 MovieClip Frame 17
stop();
Symbol 1292 MovieClip Frame 1
stop();
Symbol 1292 MovieClip Frame 2
_root.score = _root.score + (random(5) + 10);
Symbol 1295 MovieClip Frame 1
stop();
Symbol 1295 MovieClip Frame 92
_root.gotoAndStop("die");
Symbol 1300 MovieClip Frame 1
stop();
_name = "go";
Symbol 1303 MovieClip Frame 1
stop();
Symbol 1306 MovieClip Frame 1
onEnterFrame = function () {
lol = _root.dickcock;
if (_root.tutt == false) {
this.swapDepths(99999);
this.removeMovieClip();
}
};
Symbol 1310 MovieClip Frame 1
gotoAndPlay (2);
Symbol 1310 MovieClip Frame 21
stop();
Symbol 1312 MovieClip Frame 1
_visible = false;
while (_parent.hitTest(_root.levelBegin)) {
_parent._x++;
}
while (_parent.hitTest(_root.levelEnd)) {
_parent._x--;
}
lol = _root._ymouse - _parent._y;
loll = lol / 25;
lolx = _root._xmouse - _parent._x;
lollx = lolx / 25;
tx = _root.hero._x;
ty = _root.hero._y;
dx = tx - _parent._x;
dy = (ty - _parent._y) - 100;
_parent._x = (_parent._x + (dx / 6)) + lollx;
_parent._y = (_parent._y + (dy / 6)) + loll;
_root._x = (_parent._x * -1) + (Stage.width / 2);
_root._y = (_parent._y * -1) + (Stage.height / 2);
Symbol 1312 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1315 MovieClip Frame 1
stop();
_name = "win";
Symbol 1315 MovieClip Frame 20
_root.gotoAndStop("win");
Symbol 1317 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 1318 Button
on (release) {
getURL (_root.spon, "_blank");
}
Symbol 1319 MovieClip Frame 1
swapDepths(918234);
onEnterFrame = function () {
coins = _root.coins;
ll = Math.round(_root.hero.life) + " %";
sc = "score: " + _root.score;
hh.gotoAndStop(Math.round(_root.hero.life / 10) + 1);
if (_root.over) {
_root._x = 0;
_root._y = 0;
this.removeMovieClip();
}
};
_root.pau = false;
stop();
Instance of Symbol 1092 MovieClip in Symbol 1319 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(_root.P)) {
if (!lol) {
_parent.play();
lol = true;
}
} else {
lol = false;
}
}
Symbol 1319 MovieClip Frame 2
_root.pau = true;
stop();
Symbol 1321 MovieClip Frame 1
_xscale = 0;
_yscale = 0;
_visible = false;
if ((_root.gun == 1) && (!_root.gun1_unlocked)) {
if (_root.guu) {
_root.gun++;
} else {
_root.gun--;
}
}
if ((_root.gun == 2) && (!_root.gun2_unlocked)) {
if (_root.guu) {
_root.gun++;
} else {
_root.gun--;
}
}
if ((_root.gun == 3) && (!_root.gun3_unlocked)) {
if (_root.guu) {
_root.gun++;
} else {
_root.gun--;
}
}
if ((_root.gun == 4) && (!_root.gun4_unlocked)) {
if (_root.guu) {
_root.gun++;
} else {
_root.gun--;
}
}
if ((_root.gun == 5) && (!_root.gun5_unlocked)) {
if (_root.guu) {
_root.gun++;
} else {
_root.gun--;
}
}
if ((_root.gun == 6) && (!_root.gun6_unlocked)) {
if (_root.guu) {
_root.gun++;
} else {
_root.gun--;
}
}
if ((_root.gun == 7) && (!_root.gun7_unlocked)) {
if (_root.guu) {
_root.gun++;
} else {
_root.gun--;
}
}
if ((_root.gun == 8) && (!_root.gun8_unlocked)) {
if (_root.guu) {
_root.gun = 1;
} else {
_root.gun = 7;
}
}
Symbol 1321 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1323 MovieClip Frame 1
_name = "enemyjump";
_visible = false;
Symbol 1326 MovieClip Frame 1
_visible = false;
Symbol 1328 MovieClip Frame 1
_visible = false;
_name = "enemyjump";
Symbol 1331 MovieClip Frame 1
_x = 0;
_y = 0;
_visible = false;
Symbol 1357 MovieClip Frame 10
_root.slshot(_parent._xscale, _parent._x + ((_parent._xscale / 100) * 70), _parent._y - 90);
Symbol 1357 MovieClip Frame 25
_parent.gotoAndStop("idle");
Instance of Symbol 62 MovieClip in Symbol 1376 MovieClip Frame 18
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(7);
}
}
}
Symbol 1376 MovieClip Frame 41
_parent.gotoAndStop("idle");
Symbol 1396 MovieClip Frame 32
stop();
Symbol 1397 MovieClip Frame 1
function hurt() {
if (_root.gun == 1) {
life = life - _root.gun1_power;
}
if (_root.gun == 2) {
life = life - _root.gun2_power;
}
if (_root.gun == 3) {
life = life - _root.gun3_power;
}
if (_root.gun == 4) {
life = life - _root.gun4_power;
}
if (_root.gun == 5) {
life = life - _root.gun5_power;
}
if (_root.gun == 6) {
life = life - _root.gun6_power;
}
if (_root.gun == 7) {
life = life - _root.gun7_power;
}
if (_root.gun == 8) {
life = life - _root.gun8_power;
}
pain.play();
}
stop();
stop();
onEnterFrame = function () {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
if (!gVars) {
speed = 8;
grav = 0;
life = 600;
gVars = true;
}
if (!_root.pau) {
while (_root.ground.hitTest(_x + 60, _y - 40, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 60, _y - 40, true)) {
_x = (_x+1);
}
if (life <= 0) {
gotoAndStop ("die");
}
if (hitTest(_root.screen)) {
active = true;
} else {
active = false;
}
if (!_root.ground.hitTest(_x, _y - 5, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y - 5, true)) {
_y = (_y-1);
grav = 0;
}
}
};
Instance of Symbol 1336 MovieClip in Symbol 1397 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(30) == 1) {
_parent.gotoAndStop("run");
}
if (random(6) == 1) {
if ((_root.hero._x > (_parent._x + 10)) || (_root.hero._x < (_parent._x - 10))) {
_parent.gotoAndStop("run");
}
}
}
}
}
Instance of Symbol 62 MovieClip in Symbol 1397 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(55) == 1) {
_parent.gotoAndStop("spit");
}
if (hitTest(_root.hero.hita)) {
if (random(25) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 1337 MovieClip in Symbol 1397 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(8) > 4) {
if (_root.hero._x > (_parent._x + 50)) {
_parent._xscale = 100;
}
if (_root.hero._x < (_parent._x - 50)) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
if (random(10) == 5) {
_parent.gotoAndStop("idle");
}
}
}
}
Symbol 1397 MovieClip Frame 17
dead = true;
_root.score = _root.score + 2000;
_root.bossBattle = false;
_root.createCoin(_parent._x, _parent._y - 40, 30);
Symbol 1399 MovieClip Frame 1
_visible = false;
_name = "enemyjump";
Symbol 1402 MovieClip Frame 1
_x = 0;
_y = 0;
_visible = false;
Symbol 1404 MovieClip Frame 1
this.cacheAsBitmap = true;
onEnterFrame = function () {
if (_root.screen.hitTest(this)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1412 MovieClip Frame 1
lol = true;
_name = "body";
Symbol 1421 MovieClip Frame 10
if (random(50) >= 25) {
gotoAndPlay (1);
}
Symbol 1421 MovieClip Frame 14
if (random(50) >= 25) {
gotoAndPlay (1);
}
Symbol 1421 MovieClip Frame 18
if (random(50) >= 25) {
gotoAndPlay (1);
}
Symbol 1433 MovieClip Frame 1
gotoAndStop(Math.round(_parent._parent.life / 120));
onEnterFrame = function () {
gotoAndStop(Math.round(_parent._parent.life / 120));
};
Symbol 1434 MovieClip Frame 1
function hurt() {
if (_root.gun == 1) {
_parent.life = _parent.life - _root.gun1_power;
}
if (_root.gun == 2) {
_parent.life = _parent.life - _root.gun2_power;
}
if (_root.gun == 3) {
_parent.life = _parent.life - _root.gun3_power;
}
if (_root.gun == 4) {
_parent.life = _parent.life - _root.gun4_power;
}
if (_root.gun == 5) {
_parent.life = _parent.life - _root.gun5_power;
}
if (_root.gun == 6) {
_parent.life = _parent.life - _root.gun6_power;
}
if (_root.gun == 7) {
_parent.life = _parent.life - _root.gun7_power;
}
if (_root.gun == 8) {
_parent.life = _parent.life - _root.gun8_power;
}
play();
}
stop();
Symbol 1434 MovieClip Frame 2
_root.score = _root.score + 20;
Instance of Symbol 62 MovieClip in Symbol 1441 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(1.5);
}
}
}
Instance of Symbol 62 MovieClip in Symbol 1445 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(1.5);
}
}
}
Instance of Symbol 62 MovieClip in Symbol 1449 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(1.5);
}
}
}
Symbol 1477 MovieClip Frame 42
stop();
Symbol 1478 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (body.lol == true) {
diex = body._x;
diey = body._y;
}
if (!setVars) {
life = 1200;
setVars = true;
}
if (hitTest(_root.screen)) {
active = true;
} else {
active = false;
}
if (active) {
if (!_root.pau) {
if (_root.bossBattle) {
play();
}
if (life <= 0) {
dead = true;
gotoAndStop ("die");
}
} else {
stop();
}
}
};
Symbol 1478 MovieClip Frame 66
if (random(6) == 1) {
gotoAndPlay ("beam");
}
Symbol 1478 MovieClip Frame 68
if (random(6) == 1) {
gotoAndPlay ("right_shoot");
}
Symbol 1478 MovieClip Frame 70
if (random(6) == 1) {
gotoAndPlay ("left_shoot");
}
Symbol 1478 MovieClip Frame 72
if (random(6) == 1) {
gotoAndPlay ("beam");
}
Symbol 1478 MovieClip Frame 74
if (random(6) == 1) {
gotoAndPlay ("right_shoot");
}
Symbol 1478 MovieClip Frame 76
if (random(6) == 1) {
gotoAndPlay ("left_shoot");
}
Symbol 1478 MovieClip Frame 78
if (random(6) == 1) {
gotoAndPlay ("beam");
}
Symbol 1478 MovieClip Frame 80
if (random(6) == 1) {
gotoAndPlay ("right_shoot");
}
Symbol 1478 MovieClip Frame 82
if (random(6) == 1) {
gotoAndPlay ("left_shoot");
}
Symbol 1478 MovieClip Frame 84
if (random(6) == 1) {
gotoAndPlay ("beam");
}
Symbol 1478 MovieClip Frame 86
if (random(6) == 1) {
gotoAndPlay ("right_shoot");
}
Symbol 1478 MovieClip Frame 88
if (random(6) == 1) {
gotoAndPlay ("left_shoot");
}
Symbol 1478 MovieClip Frame 90
if (random(6) == 1) {
gotoAndPlay ("beam");
}
Symbol 1478 MovieClip Frame 92
if (random(6) == 1) {
gotoAndPlay ("right_shoot");
}
Symbol 1478 MovieClip Frame 94
if (random(6) == 1) {
gotoAndPlay ("left_shoot");
}
Symbol 1478 MovieClip Frame 96
lol = ["beam", "left_shoot", "right_shoot"];
gotoAndPlay(lol[random(lol.length)]);
Symbol 1478 MovieClip Frame 98
lol = ["beam", "left_shoot", "right_shoot"];
gotoAndPlay(lol[random(lol.length)]);
Symbol 1478 MovieClip Frame 100
lol = ["beam", "left_shoot", "right_shoot"];
gotoAndPlay(lol[random(lol.length)]);
Symbol 1478 MovieClip Frame 212
gotoAndPlay ("idle");
Symbol 1478 MovieClip Frame 346
gotoAndPlay ("idle");
Symbol 1478 MovieClip Frame 695
gotoAndPlay ("idle");
Symbol 1478 MovieClip Frame 696
gotoAndPlay ("idle");
Symbol 1478 MovieClip Frame 697
gotoAndPlay ("idle");
Symbol 1478 MovieClip Frame 698
gotoAndPlay ("idle");
Symbol 1478 MovieClip Frame 699
gotoAndPlay ("idle");
Symbol 1478 MovieClip Frame 701
onEnterFrame = null;
_root.score = _root.score + 5000;
_root.bossBattle = false;
dead = true;
explo._x = diex;
explo._y = diey;
_root.createCoin(_x + diex, (_y + diey) - 40, 60);
Symbol 1480 MovieClip Frame 1
_name = "enemyjump";
_visible = false;
Symbol 1484 MovieClip Frame 1
_x = 0;
_y = 0;
_visible = false;
Instance of Symbol 62 MovieClip in Symbol 1513 MovieClip Frame 11
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(9);
}
}
}
Symbol 1513 MovieClip Frame 22
_parent.gotoAndStop("idle");
Instance of Symbol 62 MovieClip in Symbol 1528 MovieClip Frame 12
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(5.5);
}
}
}
Symbol 1528 MovieClip Frame 18
_parent.gotoAndStop("idle");
Symbol 1540 MovieClip Frame 11
_root.boss4shot(_parent._xscale, _parent._x + ((_parent._xscale / 100) * 50), _parent._y - 35);
Symbol 1540 MovieClip Frame 39
_root.boss4shot(_parent._xscale, _parent._x + ((_parent._xscale / 100) * 50), _parent._y - 110);
Symbol 1540 MovieClip Frame 49
_parent.gotoAndStop("idle");
Symbol 1551 MovieClip Frame 12
stop();
Symbol 1552 MovieClip Frame 1
function hurt() {
if (_root.gun == 1) {
life = life - _root.gun1_power;
}
if (_root.gun == 2) {
life = life - _root.gun2_power;
}
if (_root.gun == 3) {
life = life - _root.gun3_power;
}
if (_root.gun == 4) {
life = life - _root.gun4_power;
}
if (_root.gun == 5) {
life = life - _root.gun5_power;
}
if (_root.gun == 6) {
life = life - _root.gun6_power;
}
if (_root.gun == 7) {
life = life - _root.gun7_power;
}
if (_root.gun == 8) {
life = life - _root.gun8_power;
}
pain.play();
}
stop();
stop();
onEnterFrame = function () {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
if (!gVars) {
speed = 14;
grav = 0;
life = 800 + _root.ep;
gVars = true;
}
if (!_root.pau) {
if (_root.enemyjump.hitTest(_x, _y, true)) {
jump = true;
}
while (_root.ground.hitTest(_x + 40, _y - 30, true)) {
_x = (_x-1);
if (random(10) == 1) {
jump = true;
}
}
while (_root.ground.hitTest(_x - 40, _y - 30, true)) {
_x = (_x+1);
if (random(10) == 1) {
jump = true;
}
}
if (grav == 0) {
jump = false;
}
if (jump) {
gotoAndStop ("jump");
_y = (_y - 18);
}
if (life <= 0) {
gotoAndStop ("die");
}
if (hitTest(_root.screen)) {
active = true;
} else {
active = false;
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
}
};
Instance of Symbol 1491 MovieClip in Symbol 1552 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(70) == 1) {
_parent.gotoAndStop("shoot");
}
if (random(60) == 1) {
_parent.jump = true;
}
if (random(30) == 1) {
_parent.gotoAndStop("run");
}
if (random(6) == 1) {
if ((_root.hero._x > (_parent._x + 10)) || (_root.hero._x < (_parent._x - 10))) {
_parent.gotoAndStop("run");
}
}
}
}
}
Instance of Symbol 62 MovieClip in Symbol 1552 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
if (random(7) == 1) {
_parent.gotoAndStop("at1");
}
if (random(7) == 2) {
_parent.gotoAndStop("at2");
}
}
}
}
Instance of Symbol 1501 MovieClip in Symbol 1552 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(60) == 1) {
_parent.gotoAndStop("shoot");
}
if (random(60) == 1) {
_parent.jump = true;
}
if (random(8) > 4) {
if (_root.hero._x > (_parent._x + 50)) {
_parent._xscale = 100;
}
if (_root.hero._x < (_parent._x - 50)) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
if (random(10) == 5) {
_parent.gotoAndStop("idle");
}
}
}
}
Instance of Symbol 1544 MovieClip in Symbol 1552 MovieClip Frame 23
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(6) > 4) {
if (!_parent.jump) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > (_parent._x + 50)) {
_parent._xscale = 100;
}
if (_root.hero._x < (_parent._x - 50)) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
}
}
}
Symbol 1552 MovieClip Frame 28
_root.bossBattle = false;
dead = true;
_root.score = _root.score + 4000;
_root.createCoin(_x, _y - 40, 50);
Symbol 1554 MovieClip Frame 1
_visible = false;
_name = "enemyjump";
Symbol 1557 MovieClip Frame 1
_visible = false;
Symbol 1559 MovieClip Frame 1
_visible = false;
_name = "enemyjump";
Symbol 1562 MovieClip Frame 1
_x = 0;
_y = 0;
_visible = false;
Symbol 1574 MovieClip Frame 1
myName = [(random(999999) + "_blocker+") + random(999999)];
_name = myName;
_root.ground.attachMovie("blocker", myName, random(999999));
_root.ground[myName]._x = _x;
_root.ground[myName]._y = _y;
stop();
Symbol 1574 MovieClip Frame 9
_root.ground[myName]._y = _root.ground[myName]._y + 50;
_root.cam.go.play();
Symbol 1574 MovieClip Frame 10
_root.ground[myName]._y = _root.ground[myName]._y + 50;
Symbol 1574 MovieClip Frame 11
_root.ground[myName]._y = _root.ground[myName]._y + 100;
Symbol 1574 MovieClip Frame 12
_root.ground[myName]._y = _root.ground[myName]._y + 100;
Symbol 1574 MovieClip Frame 13
_root.ground[myName]._y = _root.ground[myName]._y + 100;
Symbol 1574 MovieClip Frame 14
_root.ground[myName].removeMovieClip();
stop();
Symbol 1577 MovieClip Frame 1
_x = 0;
_y = 0;
_visible = false;
Instance of Symbol 62 MovieClip in Symbol 1603 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(7);
}
}
}
Symbol 1603 MovieClip Frame 24
_parent.gotoAndStop("idle");
Instance of Symbol 62 MovieClip in Symbol 1639 MovieClip Frame 21
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(7);
}
}
}
Instance of Symbol 62 MovieClip in Symbol 1639 MovieClip Frame 44
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hita)) {
_root.hero.hurt(7);
}
}
}
Symbol 1639 MovieClip Frame 71
_parent.gotoAndStop("idle");
Symbol 1649 MovieClip Frame 15
_root.slshot(_parent._xscale, _parent._x + ((_parent._xscale / 100) * 40), _parent._y - 30);
Symbol 1649 MovieClip Frame 41
_root.slshot(_parent._xscale, _parent._x + ((_parent._xscale / 100) * 40), _parent._y - 80);
Symbol 1649 MovieClip Frame 51
_parent.gotoAndStop("idle");
Symbol 1680 MovieClip Frame 51
stop();
Symbol 1681 MovieClip Frame 1
function hurt() {
if (_root.gun == 1) {
life = life - _root.gun1_power;
}
if (_root.gun == 2) {
life = life - _root.gun2_power;
}
if (_root.gun == 3) {
life = life - _root.gun3_power;
}
if (_root.gun == 4) {
life = life - _root.gun4_power;
}
if (_root.gun == 5) {
life = life - _root.gun5_power;
}
if (_root.gun == 6) {
life = life - _root.gun6_power;
}
if (_root.gun == 7) {
life = life - _root.gun7_power;
}
if (_root.gun == 8) {
life = life - _root.gun8_power;
}
pain.play();
}
stop();
stop();
onEnterFrame = function () {
if (!hitTest(_root.screen)) {
_visible = false;
} else {
_visible = true;
}
if (!gVars) {
speed = 12;
grav = 0;
life = 1700;
gVars = true;
}
if (!_root.pau) {
while (_root.ground.hitTest(_x + 60, _y - 40, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 60, _y - 40, true)) {
_x = (_x+1);
}
if (life <= 0) {
gotoAndStop ("die");
}
if (hitTest(_root.screen)) {
active = true;
} else {
active = false;
}
if (!_root.ground.hitTest(_x, _y - 5, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y - 5, true)) {
_y = (_y-1);
grav = 0;
}
}
};
Instance of Symbol 1586 MovieClip in Symbol 1681 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(30) == 1) {
_parent.gotoAndStop("run");
}
if (random(6) == 1) {
if ((_root.hero._x > (_parent._x + 10)) || (_root.hero._x < (_parent._x - 10))) {
_parent.gotoAndStop("run");
}
}
}
}
}
Instance of Symbol 62 MovieClip in Symbol 1681 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(55) == 1) {
_parent.gotoAndStop("shoot");
}
if (hitTest(_root.hero.hita)) {
if (random(25) == 1) {
_parent.gotoAndStop("at1");
}
if (random(25) == 2) {
_parent.gotoAndStop("at2");
}
}
}
}
Instance of Symbol 1587 MovieClip in Symbol 1681 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (random(8) > 4) {
if (_root.hero._x > (_parent._x + 50)) {
_parent._xscale = 100;
}
if (_root.hero._x < (_parent._x - 50)) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
if (random(10) == 5) {
_parent.gotoAndStop("idle");
}
}
}
}
Symbol 1681 MovieClip Frame 23
dead = true;
Symbol 1683 MovieClip Frame 1
_name = "enemyjump";
_visible = false;
Symbol 1686 MovieClip Frame 1
_x = 0;
_y = 0;
_visible = false;
Symbol 1687 MovieClip Frame 1
_name = "enemies";
_x = 0;
_y = 0;
Symbol 1701 MovieClip Frame 1
function hurt() {
play();
life--;
}
while (!_root.ground.hitTest(_x, _y, true)) {
_y = (_y+1);
}
stop();
onEnterFrame = function () {
if (!define) {
life = 4;
define = true;
}
if (life <= 0) {
_root.explode(_x, _y);
swapDepths(9999);
this.removeMovieClip();
}
};
Symbol 1706 Button
on (release) {
_root.gotoAndStop("sandbox");
}
Symbol 1710 MovieClip Frame 15
stop();
Symbol 1713 MovieClip Frame 1
_x = 0;
_y = 0;
Symbol 1713 MovieClip Frame 6
stop();
Symbol 1717 Button
on (release) {
getURL ("http://www.crazyawesomeyeah.com/?page=rbcheats", "_blank");
}
Symbol 1723 Button
on (release) {
if (level == 1) {
gotoAndStop ("lvl2");
}
if (level == 2) {
gotoAndStop ("lvl3");
}
if (level == 3) {
gotoAndStop ("lvl4");
}
if (level == 4) {
gotoAndStop ("lvl5");
}
if (level == 5) {
gotoAndStop ("lvl6");
}
if (level == 6) {
gotoAndStop ("lvl7");
}
if (level == 7) {
gotoAndStop ("lvl8");
}
}
Symbol 1727 MovieClip Frame 20
stop();
Symbol 1730 Button
on (release) {
coins = oldcoins;
gun1_ammo = old1ammo;
gun2_ammo = old2ammo;
gun3_ammo = old3ammo;
gun4_ammo = old4ammo;
gun5_ammo = old5ammo;
gun6_ammo = old6ammo;
gun7_ammo = old7ammo;
gun8_ammo = old8ammo;
gotoAndStop(_root.lvl);
}