Frame 1
onEnterFrame = function () {
gameSound.setVolume(gameVolume);
leveltimer++;
if (leveltimer == 24) {
levelseconds++;
leveltimer = 0;
}
if (levelseconds == 60) {
levelminutes++;
levelseconds = 0;
}
if (debug) {
msg((((("Time: " + levelminutes) + " minutes") + newline) + levelseconds) + " seconds");
}
if (beta) {
if (!asdf) {
betatimer = 0;
asdf = true;
}
betatimer++;
if (betatimer > 300) {
beta = false;
}
msg("Here's a little demo of what RAGE3's gonna be like. It's not the finished version, so I'm still gonna add stuff. The controls are:\rQ&E to toggle weapons, A to melee attack and S to shoot your gun. Arrows move your guy around and whenever you're raging press W to do a special.");
}
};
function bleed(xx, yy, sca) {
if (effects_on) {
d++;
attachMovie("blood", "blood" + d, d);
this["blood" + d]._x = xx;
this["blood" + d]._y = yy;
this["blood" + d]._xscale = sca;
}
}
function b2shoot(xx, yy, scale) {
d++;
attachMovie("boss2_bomb", "b2b" + d, d);
this["b2b" + d]._x = xx;
this["b2b" + d]._y = yy;
this["b2b" + d]._xscale = scale;
}
function b2mine(xx, yy, scale) {
d++;
attachMovie("boss2_mine", "b2b" + d, d);
this["b2b" + d]._x = xx;
this["b2b" + d]._y = yy;
this["b2b" + d]._xscale = scale;
}
function shoot(xx, yy, sca, shooter, bigness) {
if (shooter == "hero") {
if (ammo > 0) {
if (gun == 1) {
sounds("hGun");
gun1_ammo--;
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(1);
if (b > maxBullets) {
b = 0;
}
}
if (gun == 2) {
sounds("hGun");
gun2_ammo--;
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(2);
if (b > maxBullets) {
b = 0;
}
}
if (gun == 3) {
sounds("hGun");
gun3_ammo--;
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy - 4;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(3);
if (b > maxBullets) {
b = 0;
}
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy + 4;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(3);
if (b > maxBullets) {
b = 0;
}
}
if (gun == 4) {
sounds("hGun");
gun4_ammo--;
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(4);
if (b > maxBullets) {
b = 0;
}
}
if (gun == 5) {
sounds("hGun");
gun5_ammo--;
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(5);
if (b > maxBullets) {
b = 0;
}
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(5);
this["b" + b].up = 3;
if (b > maxBullets) {
b = 0;
}
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(5);
this["b" + b].up = -3;
if (b > maxBullets) {
b = 0;
}
}
if (gun == 6) {
sounds("hGun");
gun6_ammo--;
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy - 4;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(6);
this["b" + b].up = -4;
if (b > maxBullets) {
b = 0;
}
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy - 2;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(6);
this["b" + b].up = -2;
if (b > maxBullets) {
b = 0;
}
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(6);
this["b" + b].up = 0;
if (b > maxBullets) {
b = 0;
}
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy + 2;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(6);
this["b" + b].up = 2;
if (b > maxBullets) {
b = 0;
}
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy + 4;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(6);
this["b" + b].up = 4;
if (b > maxBullets) {
b = 0;
}
}
if (gun == 7) {
sounds("hGun");
gun7_ammo--;
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(7);
if (b > maxBullets) {
b = 0;
}
}
if (gun == 8) {
sounds("hGun");
gun8_ammo--;
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(8);
if (b > maxBullets) {
b = 0;
}
}
if (gun == 9) {
sounds("hGun");
gun9_ammo--;
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(9);
if (b > maxBullets) {
b = 0;
}
}
if (gun == 10) {
sounds("hGun");
gun10_ammo--;
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(10);
if (b > maxBullets) {
b = 0;
}
}
if (gun == 11) {
sounds("hGun");
gun11_ammo--;
d++;
b++;
attachMovie("bullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].gotoAndStop(11);
if (b > maxBullets) {
b = 0;
}
}
if (_root.effects_on) {
_root.attachHeroSmoke(xx, yy + 5, sca);
}
}
}
if (shooter == "bigGun") {
d++;
b++;
attachMovie("bigBullet", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = sca;
this["b" + b].bigness = bigness;
this["b" + b].power = bigness;
if (b > maxBullets) {
b = 0;
}
}
}
function attachHeroSmoke(xx, yy, scal) {
d++;
attachMovie("hero_smoke", "herosmoke" + d, d);
this["herosmoke" + d]._x = xx;
this["herosmoke" + d]._y = yy;
this["herosmoke" + d]._xscale = scal;
this["herosmoke" + d].gotoAndStop(gun);
}
function eshoot(xx, yy, scale, egun) {
d++;
attachMovie("enemybullet", "ebul" + d, d);
this["ebul" + d]._x = xx;
this["ebul" + d]._y = yy;
this["ebul" + d]._xscale = scale;
this["ebul" + d].gotoAndStop(egun);
}
function explode(xx, yy, etype) {
_root.sounds("explosion");
d++;
shakex = shakex + 20;
attachMovie("explo", "e" + d, d);
this["e" + d]._x = xx;
this["e" + d]._y = yy;
this["e" + d].gotoAndStop(etype);
}
function changeGun() {
curGun++;
if (curGun > unlockedGuns.length) {
curGun = 1;
}
gun = unlockedGuns[curGun - 1];
cam.gun.gotoAndPlay(1);
}
function changeWeapon() {
curWeap++;
if (curWeap > unlockedWeapons.length) {
curWeap = 1;
}
weapon = unlockedWeapons[curWeap - 1];
cam.weapon.gotoAndPlay(1);
}
function levelUp() {
level++;
experience = experience - nextlvl;
maxLife = maxLife + 3;
life = life + 20;
attachMovie("lvlUpMovie", "lvlupm", 999999);
nextlvl = nextlvl + (level * 100);
}
function woodExplo(xx, yy) {
d++;
attachMovie("woodex", "woodex" + d, d);
this["woodex" + d]._x = xx;
this["woodex" + d]._y = yy;
}
function createLife(xx, yy, lbamount) {
d++;
lifeballs = 0;
lifeBallAmount = 0;
lifeballs = lifeballs + lbamount;
while (lifeballs > lifeBallAmount) {
d++;
attachMovie("LifeBall", "lb" + d, d);
this["lb" + d]._x = xx;
this["lb" + d]._y = yy;
lifeBallAmount++;
}
}
function createExp(xx, yy, lbamount) {
d++;
expballs = 0;
expBallAmount = 0;
expballs = expballs + lbamount;
while (expballs > expBallAmount) {
d++;
attachMovie("ExpBall", "eb" + d, d);
this["eb" + d]._x = xx;
this["eb" + d]._y = yy;
expBallAmount++;
}
}
function createPts(xx, yy, pbamount) {
d++;
pbballs = 0;
pbBallAmount = 0;
pbballs = pbballs + pbamount;
while (pbballs > pbBallAmount) {
d++;
attachMovie("PointBall", "pb" + d, d);
this["pb" + d]._x = xx;
this["pb" + d]._y = yy;
pbBallAmount++;
}
}
function ammoAttach(xx, yy) {
ammoArray = [];
if (gun1_ammo < gun1_max) {
ammoArray.push("1");
}
if (gun2_ammo < gun2_max) {
ammoArray.push("2");
}
if (gun3_ammo < gun3_max) {
ammoArray.push("3");
}
if (gun4_ammo < gun4_max) {
ammoArray.push("4");
}
if (gun5_ammo < gun5_max) {
ammoArray.push("5");
}
if (gun6_ammo < gun6_max) {
ammoArray.push("6");
}
if (gun7_ammo < gun7_max) {
ammoArray.push("7");
}
if (gun8_ammo < gun8_max) {
ammoArray.push("8");
}
if (gun9_ammo < gun9_max) {
ammoArray.push("9");
}
if (gun10_ammo < gun10_max) {
ammoArray.push("10");
}
if (gun11_ammo < gun11_max) {
ammoArray.push("11");
}
trace((((("Ammo Array: [" + ammoArray) + "]") + newline) + "AmmoArray Length: ") + ammoArray.length);
if ((!ammoArray.length) == 0) {
d++;
attachMovie("ammo", "ammo" + d, d);
this["ammo" + d]._x = xx;
this["ammo" + d]._y = yy;
this["ammo" + d].gun = ammoArray[random(ammoArray.length)];
}
}
function enemyBeam(xx, yy, scale, eType) {
d++;
attachMovie(eType, eType + d, d);
this[eType + d]._x = xx;
this[eType + d]._y = yy;
this[eType + d]._xscale = scale;
}
function varReset() {
d = 0;
score = 0;
sp1 = false;
sp2 = false;
boss = false;
gate1 = false;
gate2 = false;
gate3 = false;
gate4 = false;
gate5 = false;
gate6 = false;
gate7 = false;
gate8 = false;
gate9 = false;
gateb = false;
leveltimer = 0;
levelseconds = 0;
levelminutes = 0;
lvlkills = 0;
heroLife = maxLife;
rage = 0;
curWeap = 1;
curGun = 1;
BG.cacheAsBitmap = true;
stop();
}
function msg(mess) {
cam.mess.gotoAndPlay(2);
cam.mes = mess;
}
function saveGame() {
saveFile.data.w5_un = w5_un;
saveFile.data.bigArc = bigArc;
saveFile.data.lvl2_unlocked = lvl2_unlocked;
saveFile.data.lvl3_unlocked = lvl3_unlocked;
saveFile.data.lvl4_unlocked = lvl4_unlocked;
saveFile.data.score = score;
saveFile.data.maxLife = maxLife;
saveFile.data.heroLife = heroLife;
saveFile.data.unlockedGuns = unlockedGuns;
saveFile.data.unlockedWeapons = unlockedWeapons;
saveFile.data.experience = experience;
saveFile.data.nextlvl = nextlvl;
saveFile.data.level = level;
saveFile.data.gun1_ammo = gun1_ammo;
saveFile.data.gun2_ammo = gun2_ammo;
saveFile.data.gun3_ammo = gun3_ammo;
saveFile.data.gun4_ammo = gun4_ammo;
saveFile.data.gun5_ammo = gun5_ammo;
saveFile.data.gun6_ammo = gun6_ammo;
saveFile.data.gun7_ammo = gun7_ammo;
saveFile.data.gun8_ammo = gun8_ammo;
saveFile.data.gun9_ammo = gun9_ammo;
saveFile.data.gun10_ammo = gun10_ammo;
saveFile.data.gun11_ammo = gun11_ammo;
saveFile.data.gun1_max = gun1_max;
saveFile.data.gun2_max = gun2_max;
saveFile.data.gun3_max = gun3_max;
saveFile.data.gun4_max = gun4_max;
saveFile.data.gun5_max = gun5_max;
saveFile.data.gun6_max = gun6_max;
saveFile.data.gun7_max = gun7_max;
saveFile.data.gun8_max = gun8_max;
saveFile.data.gun9_max = gun9_max;
saveFile.data.gun10_max = gun10_max;
saveFile.data.gun11_max = gun11_max;
saveFile.data.coins = coins;
safeFile.data.arcade_unlocked = arcade_unlocked;
saveFile.data.specialAmount = specialAmount;
}
function loadGame() {
specialAmount = saveFile.data.specialAmount;
w5_un = saveFile.data.w5_un;
bigArc = saveFile.data.bigArc;
lvl2_unlocked = saveFile.data.lvl2_unlocked;
lvl3_unlocked = saveFile.data.lvl3_unlocked;
lvl4_unlocked = saveFile.data.lvl4_unlocked;
arcade_unlocked = safeFile.data.arcade_unlocked;
score = saveFile.data.score;
maxLife = saveFile.data.maxLife;
heroLife = saveFile.data.heroLife;
unlockedGuns = saveFile.data.unlockedGuns;
unlockedWeapons = saveFile.data.unlockedWeapons;
experience = saveFile.data.experience;
nextlvl = saveFile.data.nextlvl;
level = saveFile.data.level;
gun1_ammo = saveFile.data.gun1_ammo;
gun2_ammo = saveFile.data.gun2_ammo;
gun3_ammo = saveFile.data.gun3_ammo;
gun4_ammo = saveFile.data.gun4_ammo;
gun5_ammo = saveFile.data.gun5_ammo;
gun6_ammo = saveFile.data.gun6_ammo;
gun7_ammo = saveFile.data.gun7_ammo;
gun8_ammo = saveFile.data.gun8_ammo;
gun9_ammo = saveFile.data.gun9_ammo;
gun10_ammo = saveFile.data.gun10_ammo;
gun11_ammo = saveFile.data.gun11_ammo;
gun1_max = saveFile.data.gun1_max;
gun2_max = saveFile.data.gun2_max;
gun3_max = saveFile.data.gun3_max;
gun4_max = saveFile.data.gun4_max;
gun5_max = saveFile.data.gun5_max;
gun6_max = saveFile.data.gun6_max;
gun7_max = saveFile.data.gun7_max;
gun8_max = saveFile.data.gun8_max;
gun9_max = saveFile.data.gun9_max;
gun10_max = saveFile.data.gun10_max;
gun11_max = saveFile.data.gun11_max;
coins = saveFile.data.coins;
}
function win() {
cam.lvlEnd.play();
}
function lose() {
if (!tut) {
if (arcade) {
gotoAndStop ("die_arc");
} else {
gotoAndStop ("die_adv");
}
} else {
gotoAndStop ("menu");
}
}
function changeSpecial() {
currentSpecial++;
if (currentSpecial > specialAmount) {
currentSpecial = 0;
}
cam.spec.play();
}
function cont() {
if (game_level == "boss1") {
gotoAndStop ("lvl2");
}
if (game_level == "boss2") {
gotoAndStop ("lvl3");
}
if (game_level == "boss3") {
gotoAndStop ("lvl4");
}
}
function retry() {
if (game_level == 1) {
gotoAndStop ("lvl1");
}
if (game_level == "boss1") {
heroLife = bosslife;
gotoAndStop ("lvl1boss");
}
if (game_level == 2) {
gotoAndStop ("lvl2");
}
if (game_level == 3) {
gotoAndStop ("lvl3");
}
if (game_level == 4) {
gotoAndStop ("lvl4");
}
if (game_level == "boss2") {
heroLife = bosslife;
gotoAndStop ("lvl2boss");
}
if (game_level == "boss3") {
heroLife = bosslife;
gotoAndStop ("lvl3boss");
}
if (game_level == "boss4") {
heroLife = bosslife;
gotoAndStop ("lvl4boss");
}
}
function sounds(sType) {
if (sType == "explosion") {
explosions.gotoAndStop(random(explosions.f) + 1);
}
if (sType == "wizz") {
wizzes.gotoAndStop(random(wizzes.f) + 1);
}
if (sType == "hGun") {
gunshots.gotoAndStop(Number(gun) + 1);
}
if (sType == "wack") {
wacks.gotoAndStop(random(wacks.f) + 1);
}
if (sType == "grunt") {
grunts.gotoAndStop(random(grunts.f) + 1);
}
if (sType == "step") {
steps.gotoAndStop(random(steps.f) + 1);
}
}
maxLife = 100;
heroLife = maxLife;
weapon = 0;
gun = 1;
d = 0;
b = 0;
bigArc = false;
lvl2_unlocked = false;
lvl3_unlocked = false;
lvl4_unlocked = false;
gameVolume = 100;
gameSound = new Sound(this);
shakeintense = 1.5;
shakeon = true;
rage = 0;
effects_on = true;
curGun = 1;
unlockedGuns = ["1"];
curWeap = 1;
unlockedWeapons = ["0"];
specialAmount = 0;
arcade = true;
maxBullets = 20;
score = 0;
experience = 0;
nextlvl = 100;
eAlpha = false;
coins = 0;
difficulty = 0;
level = 1;
currentSpecial = 0;
gun1_max = 50;
gun2_max = 40;
gun3_max = 30;
gun4_max = 30;
gun5_max = 20;
gun6_max = 18;
gun7_max = 150;
gun8_max = 30;
gun9_max = 100;
gun10_max = 10;
gun11_max = 10;
gun1_ammo = gun1_max;
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;
gun9_ammo = gun9_max;
gun10_ammo = gun10_max;
gun11_ammo = gun11_max;
gun12_ammo = gun12_max;
saveFile = SharedObject.getLocal("rage3_save");
cheat1 = "looney";
cheat2 = "bin";
cheat3 = "rackem";
cheat4 = "adiosturdnuggets";
cheat5 = "prime";
cheat6 = "trashly";
cs1 = "faster!";
cs2 = "infinate ammo!";
cs3 = "unlocked all weapons!";
cs4 = "LEVEL 20?!?";
cs5 = "Infinate Rage.";
cs6 = "Invinsible!";
cht1 = false;
cht2 = false;
cht3 = false;
cht4 = false;
cht5 = false;
cht6 = false;
sponsor = "http://www.stickpage.com";
function goToThisURL() {
getURL (linkURL, "_blank");
}
function goToThisURL2() {
getURL (linkURL2, "_blank");
}
var linkURL = "http://www.crazyawesomeyeah.com";
var linkText = "Made by Seth Wooten";
var linkURL2 = "http://www.stickpage.com";
var linkText2 = "Presented by Stickpage";
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem(linkText, goToThisURL);
var copyright2 = new ContextMenuItem(linkText2, goToThisURL2);
myMenu.customItems.push(copyright, copyright2);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
Frame 2
stop();
Frame 7
stop();
tut = false;
arc_bigGun = false;
music.gotoAndPlay("menu");
Instance of Symbol 608 MovieClip in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(80);
}
Instance of Symbol 620 MovieClip in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(90);
}
Instance of Symbol 634 MovieClip in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(40);
}
Instance of Symbol 646 MovieClip in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(60);
}
Instance of Symbol 654 MovieClip in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(80);
}
Instance of Symbol 662 MovieClip in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(70);
}
Instance of Symbol 669 MovieClip "music" in Frame 7
onClipEvent (enterFrame) {
if (!_root.menuStart) {
gotoAndPlay ("menu");
_root.menuStart = true;
}
}
Frame 13
varReset();
lvlp = difficulty + 2;
arcade = false;
music.gotoAndPlay("lvl1");
game_level = 1;
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = false;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = false;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 1;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = false;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 1;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 2;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 1;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = false;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = false;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 1;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 1;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 1;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 1;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 1;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 1;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 1;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = false;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 13
onClipEvent (load) {
weapon = 2;
gun = 1;
}
Instance of Symbol 1034 MovieClip in Frame 13
onClipEvent (load) {
_root.shakex = 0;
_root.shakey = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.shakeon) {
_root.shakex = _root.shakex * -1;
_root.shakex = _root.shakex / _root.shakeintense;
_root.shakey = _root.shakey * -1;
_root.shakey = _root.shakey / _root.shakeintense;
} else {
_root.shakex = 0;
_root.shakey = 0;
}
}
}
Instance of Symbol 1036 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.sp1 = true;
_root.msg("You've unlocked the spring! Go back and use it!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gate1 = true;
_root.msg("You turned off the electricity! Go to the end!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1044 MovieClip "spring1" in Frame 13
onClipEvent (load) {
up = 28;
}
onClipEvent (enterFrame) {
if (_root.sp1) {
gotoAndStop (2);
}
}
Instance of Symbol 1043 MovieClip in Frame 13
onClipEvent (load) {
up = 23;
}
Instance of Symbol 1051 MovieClip "endgate" in Frame 13
onClipEvent (enterFrame) {
if (_root.gate1) {
end = true;
}
}
Instance of Symbol 1065 MovieClip in Frame 13
onClipEvent (load) {
weapon = "1";
gun = "none";
}
Instance of Symbol 1065 MovieClip in Frame 13
onClipEvent (load) {
weapon = "none";
gun = "2";
}
Instance of Symbol 1065 MovieClip in Frame 13
onClipEvent (load) {
weapon = "none";
gun = "3";
}
Instance of Symbol 1125 MovieClip in Frame 13
onClipEvent (load) {
lvl = 2;
}
Instance of Symbol 1125 MovieClip in Frame 13
onClipEvent (load) {
lvl = 8;
}
Instance of Symbol 1065 MovieClip in Frame 13
onClipEvent (load) {
weapon = "none";
gun = "10";
}
Instance of Symbol 363 MovieClip [box] in Frame 13
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 13
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 13
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 13
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 13
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 5);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 13
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 13
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 13
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 13
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 10);
}
ammo = true;
}
Instance of Symbol 840 MovieClip in Frame 13
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.cht1) {
_root.hero.speed = 20;
}
if (_root.cht2) {
_root.gun1_ammo = 99;
_root.gun2_ammo = 99;
_root.gun3_ammo = 99;
_root.gun4_ammo = 99;
_root.gun5_ammo = 99;
_root.gun6_ammo = 99;
_root.gun7_ammo = 99;
_root.gun8_ammo = 99;
_root.gun9_ammo = 99;
_root.gun10_ammo = 99;
_root.gun11_ammo = 99;
}
if (_root.cht3) {
_root.unlockedWeapons = ["0", "1", "2", "3", "4", "5"];
_root.unlockedGuns = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"];
}
if (_root.cht4) {
_root.level = 20;
}
if (_root.cht5) {
_root.rage = 999;
}
if (_root.cht6) {
_root.hero.life == 100;
}
if (_root.rage < 0) {
_root.rage = 0;
}
if (Key.isDown(87) && (!w)) {
_root.changeSpecial();
w = true;
}
if (!Key.isDown(87)) {
w = false;
}
if (Key.isDown(81) && (!q)) {
_root.changeWeapon();
q = true;
}
if (!Key.isDown(81)) {
q = false;
}
if (Key.isDown(69) && (!e)) {
_root.changeGun();
e = true;
}
if (!Key.isDown(69)) {
e = false;
}
if (_root.gun == "1") {
_root.ammo = _root.gun1_ammo;
}
if (_root.gun == "2") {
_root.ammo = _root.gun2_ammo;
}
if (_root.gun == "3") {
_root.ammo = _root.gun3_ammo;
}
if (_root.gun == 4) {
_root.ammo = _root.gun4_ammo;
}
if (_root.gun == 5) {
_root.ammo = _root.gun5_ammo;
}
if (_root.gun == 6) {
_root.ammo = _root.gun6_ammo;
}
if (_root.gun == 7) {
_root.ammo = _root.gun7_ammo;
}
if (_root.gun == 8) {
_root.ammo = _root.gun8_ammo;
}
if (_root.gun == 9) {
_root.ammo = _root.gun9_ammo;
}
if (_root.gun == 10) {
_root.ammo = _root.gun10_ammo;
}
if (_root.gun == 11) {
_root.ammo = _root.gun11_ammo;
}
if (_root.gun == 12) {
_root.ammo = _root.gun12_ammo;
}
if (_root.gun1_ammo > _root.gun1_max) {
_root.gun1_ammo = _root.gun1_max;
}
if (_root.gun2_ammo > _root.gun2_max) {
_root.gun2_ammo = _root.gun2_max;
}
if (_root.gun3_ammo > _root.gun3_max) {
_root.gun3_ammo = _root.gun3_max;
}
if (_root.gun4_ammo > _root.gun4_max) {
_root.gun4_ammo = _root.gun4_max;
}
if (_root.gun5_ammo > _root.gun5_max) {
_root.gun5_ammo = _root.gun5_max;
}
if (_root.gun6_ammo > _root.gun6_max) {
_root.gun6_ammo = _root.gun6_max;
}
if (_root.gun7_ammo > _root.gun7_max) {
_root.gun7_ammo = _root.gun7_max;
}
if (_root.gun8_ammo > _root.gun8_max) {
_root.gun8_ammo = _root.gun8_max;
}
if (_root.gun9_ammo > _root.gun9_max) {
_root.gun9_ammo = _root.gun9_max;
}
if (_root.gun10_ammo > _root.gun10_max) {
_root.gun10_ammo = _root.gun10_max;
}
if (_root.gun11_ammo > _root.gun11_max) {
_root.gun11_ammo = _root.gun11_max;
}
if (_root.gun12_ammo > _root.gun12_max) {
_root.gun12_ammo = _root.gun12_max;
}
if (_root.currentSpecial > 5) {
_root.currentSpecial = 0;
}
if (_root.experience > _root.nextlvl) {
_root.levelUp();
}
}
}
onClipEvent (unload) {
_root.cam.removeMovieClip();
_root._x = 0;
_root._y = 0;
}
Instance of Symbol 1276 MovieClip "cam" in Frame 13
onClipEvent (load) {
_x = _root.hero._x;
_y = _root.hero._y;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
xspeed = 8;
yspeed = 5;
xdist = (_root.hero._x + _root.hero._xscale) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.hero._y - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
}
}
Frame 17
game_level = "boss1";
boss = true;
bosslife = heroLife;
Frame 22
varReset();
lvlp = difficulty + 4;
arcade = false;
BG.cacheAsBitmap = true;
music.gotoAndPlay("lvl2");
game_level = 2;
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = false;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = 2;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = 1;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = 2;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = false;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = false;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = false;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = false;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = 3;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = 2;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = false;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = 1;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = 1;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = 1;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 22
onClipEvent (load) {
weapon = false;
gun = false;
}
Instance of Symbol 9 MovieClip [hit] in Frame 22
onClipEvent (enterFrame) {
while (hitTest(_root.hero.hit)) {
_root.hero._y++;
}
}
Instance of Symbol 1043 MovieClip in Frame 22
onClipEvent (load) {
up = 30;
}
Instance of Symbol 1044 MovieClip "spring1" in Frame 22
onClipEvent (load) {
up = 27;
}
onClipEvent (enterFrame) {
if (_root.sp1) {
gotoAndStop (2);
}
}
Instance of Symbol 1051 MovieClip "endgate" in Frame 22
onClipEvent (enterFrame) {
if (_root.gate2) {
end = true;
}
}
Instance of Symbol 1044 MovieClip "spring2" in Frame 22
onClipEvent (load) {
up = 33;
}
onClipEvent (enterFrame) {
if (_root.sp2) {
gotoAndStop (2);
}
}
Instance of Symbol 1125 MovieClip in Frame 22
onClipEvent (load) {
lvl = 5;
}
Instance of Symbol 1051 MovieClip "gate1" in Frame 22
onClipEvent (enterFrame) {
if (_root.gate1) {
end = true;
}
}
Instance of Symbol 1065 MovieClip in Frame 22
onClipEvent (load) {
weapon = "2";
gun = "none";
}
Instance of Symbol 1065 MovieClip in Frame 22
onClipEvent (load) {
weapon = "none";
gun = "4";
}
Instance of Symbol 1065 MovieClip in Frame 22
onClipEvent (load) {
weapon = "none";
gun = "6";
}
Instance of Symbol 1125 MovieClip in Frame 22
onClipEvent (load) {
lvl = 3;
}
Instance of Symbol 1036 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gate1 = true;
_root.msg("You've unlocked a gate that leads to a new weapon...");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gate2 = true;
_root.msg("You turned off the electricity! Go to the end!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.sp1 = true;
_root.msg("You've unlocked the first spring! Go find it!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.sp2 = true;
_root.msg("You've unlocked the second spring! Go find it!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 22
onClipEvent (load) {
ammo = true;
}
Frame 27
game_level = "boss2";
boss = true;
bosslife = heroLife;
Frame 32
varReset();
lvlp = difficulty + 6;
arcade = false;
BG.cacheAsBitmap = true;
music.gotoAndPlay("lvl3");
game_level = 3;
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = false;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 3;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 2;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = false;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 3;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 3;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 1;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 2;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 3;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = false;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = false;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 3;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 3;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 3;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 4;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = false;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 1;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = 2;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 32
onClipEvent (load) {
weapon = false;
gun = false;
}
Instance of Symbol 1044 MovieClip "spring1" in Frame 32
onClipEvent (load) {
up = 27;
}
onClipEvent (enterFrame) {
if (_root.sp1) {
gotoAndStop (2);
}
}
Instance of Symbol 1036 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gate2 = true;
_root.msg("You've unlocked the second gate!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gate1 = true;
_root.msg("A gate to another key...");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.sp1 = true;
_root.msg("You can go up now.");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gate4 = true;
_root.msg("You've unlocked the last gate of the level!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1125 MovieClip in Frame 32
onClipEvent (load) {
lvl = 4;
}
Instance of Symbol 1051 MovieClip "gate1" in Frame 32
onClipEvent (enterFrame) {
if (_root.gate1) {
end = true;
}
}
Instance of Symbol 1051 MovieClip "gate2" in Frame 32
onClipEvent (enterFrame) {
if (_root.gate2) {
end = true;
}
}
Instance of Symbol 1051 MovieClip "gate4" in Frame 32
onClipEvent (enterFrame) {
if (_root.gate4) {
end = true;
}
}
Instance of Symbol 1065 MovieClip in Frame 32
onClipEvent (load) {
weapon = "none";
gun = "5";
}
Instance of Symbol 1065 MovieClip in Frame 32
onClipEvent (load) {
weapon = "3";
gun = "none";
}
Instance of Symbol 1065 MovieClip in Frame 32
onClipEvent (load) {
weapon = "none";
gun = "7";
}
Instance of Symbol 1036 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gate3 = true;
_root.msg("You just cleared another gate!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1051 MovieClip "gate3" in Frame 32
onClipEvent (enterFrame) {
if (_root.gate3) {
end = true;
}
}
Instance of Symbol 1125 MovieClip in Frame 32
onClipEvent (load) {
lvl = 9;
}
Instance of Symbol 1065 MovieClip in Frame 32
onClipEvent (load) {
weapon = "none";
gun = "11";
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createPts(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createPts(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 8);
}
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 32
onClipEvent (load) {
ammo = true;
}
Frame 37
game_level = "boss3";
boss = true;
bosslife = heroLife;
Frame 43
varReset();
lvlp = difficulty + 7;
arcade = false;
BG.cacheAsBitmap = true;
music.gotoAndPlay("lvl4");
game_level = 4;
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 4;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 3;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = false;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 2;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = false;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 1;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 4;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 4;
gun = false;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 3;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 4;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 4;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 4;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = false;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 2;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 2;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 1;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 3;
gun = 1;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 2;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 1;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = false;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 4;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 1;
gun = 2;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 2;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = false;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 1;
gun = 3;
}
Instance of Symbol 487 MovieClip [enemy] in Frame 43
onClipEvent (load) {
weapon = 3;
gun = 3;
}
Instance of Symbol 1051 MovieClip "gate4" in Frame 43
onClipEvent (enterFrame) {
if (_root.gate4) {
end = true;
}
}
Instance of Symbol 1051 MovieClip "gate3" in Frame 43
onClipEvent (enterFrame) {
if (_root.gate3) {
end = true;
}
}
Instance of Symbol 1051 MovieClip "gate2" in Frame 43
onClipEvent (enterFrame) {
if (_root.gate2) {
end = true;
}
}
Instance of Symbol 1051 MovieClip "gateb " in Frame 43
onClipEvent (enterFrame) {
if (_root.gateb) {
end = true;
}
}
Instance of Symbol 1044 MovieClip "spring2" in Frame 43
onClipEvent (load) {
up = 38;
}
onClipEvent (enterFrame) {
if (_root.sp2) {
gotoAndStop (2);
}
}
Instance of Symbol 1044 MovieClip "spring1" in Frame 43
onClipEvent (load) {
up = 38;
}
onClipEvent (enterFrame) {
if (_root.sp1) {
gotoAndStop (2);
}
}
Instance of Symbol 1125 MovieClip in Frame 43
onClipEvent (load) {
lvl = 6;
}
Instance of Symbol 1125 MovieClip in Frame 43
onClipEvent (load) {
lvl = 5;
}
Instance of Symbol 1043 MovieClip in Frame 43
onClipEvent (load) {
up = 27;
}
Instance of Symbol 1065 MovieClip in Frame 43
onClipEvent (load) {
weapon = "4";
gun = "none";
}
Instance of Symbol 1065 MovieClip in Frame 43
onClipEvent (load) {
weapon = "none";
gun = "8";
}
Instance of Symbol 1065 MovieClip in Frame 43
onClipEvent (load) {
weapon = "none";
gun = "9";
}
Instance of Symbol 1036 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gate2 = true;
_root.msg("You've unlocked one of the gates!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.sp2 = true;
_root.msg("Go higher into the sky.");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.sp1 = true;
_root.msg("The first spring has been unlocked.");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gate3 = true;
_root.msg("You've unlocked one of the gates!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gate4 = true;
_root.msg("You've unlocked one of the gates!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 1036 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gateb = true;
_root.msg("Check the bottom of the level for the final key...");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 10);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createExp(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
function act() {
_root.createLife(_x, _y - 15, 15);
}
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 43
onClipEvent (load) {
ammo = true;
}
Frame 48
game_level = "boss4";
boss = true;
bosslife = heroLife;
Frame 55
lvlp = difficulty;
BG.cacheAsBitmap = true;
music.gotoAndPlay("lvl1");
arcade = true;
score = 0;
d = 0;
varReset();
game_level = "arcade";
if (arc_bigGun) {
hero.bigGun = true;
}
Instance of Symbol 1616 MovieClip in Frame 55
onClipEvent (load) {
boxTimer = 550;
enemyTimer = 150;
enemyTime = 140;
boxTime = 600;
d = 0;
_x = 0;
_y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
boxTimer++;
if (boxTimer > boxTime) {
d++;
attachMovie("box", "box" + d, d);
this["box" + d]._x = (_root.hero._x + random(600)) - 300;
this["box" + d].ammo = true;
this["box" + d].y = 600;
boxTimer = 0;
}
enemyTimer++;
if (enemyTimer > enemyTime) {
d++;
attachMovie("enemy", "e" + d, d);
this["e" + d]._x = (_root.hero._x + random(600)) - 300;
this["e" + d].y = 600;
_root.lvlp = _root.lvlp + 0.1;
enemyTime = enemyTime - 0.3;
enemyTimer = 0;
}
if (enemyTime < 60) {
enemyTime = 60;
}
if (_root.lvlp > 20) {
_root.lvlp = 20;
}
}
}
Frame 60
varReset();
lvlp = difficulty;
arcade = false;
BG.cacheAsBitmap = true;
tut = true;
msg("Welcome to the rage3 tutorial! Use the arrow keys to move.");
Instance of Symbol 487 MovieClip [enemy] in Frame 60
onClipEvent (load) {
weapon = false;
gun = false;
}
Instance of Symbol 363 MovieClip [box] in Frame 60
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 60
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 363 MovieClip [box] in Frame 60
onClipEvent (load) {
ammo = true;
}
Instance of Symbol 9 MovieClip [hit] in Frame 60
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hit)) {
_root.msg("Press UP to jump over gaps and onto ledges.");
}
}
Instance of Symbol 9 MovieClip [hit] in Frame 60
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hit)) {
_root.msg("Double-tap one of the left or right keys to perform a roll.");
}
}
Instance of Symbol 9 MovieClip [hit] in Frame 60
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hit)) {
_root.msg("To fight, press A to perform a melee attack and S to shoot your gun. You can switch your guns and weapons with Q&E when they're unlocked.");
}
}
Instance of Symbol 9 MovieClip [hit] in Frame 60
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hit)) {
_root.rage = 150;
_root.msg("When enough rage is built up, you can unleash a special attack by pressing the D key. Keep in mind, your rage has to be over 100.");
}
}
Instance of Symbol 9 MovieClip [hit] in Frame 60
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hit)) {
_root.msg("When there's a gate, there's a key. Get the key that goes to that gate to turn it off!");
}
}
Instance of Symbol 9 MovieClip [hit] in Frame 60
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hit)) {
_root.msg("To break boxes, attack them! A lot of the time they'll have ammo or some other treat inside them.");
}
}
Instance of Symbol 9 MovieClip [hit] in Frame 60
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hit)) {
_root.msg("That's it! Press P to pause and return to the menu! Have fun!");
}
}
Instance of Symbol 1051 MovieClip "gate1" in Frame 60
onClipEvent (enterFrame) {
if (_root.gate1) {
end = true;
}
}
Instance of Symbol 1036 MovieClip in Frame 60
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.gate1 = true;
_root.msg("YOu found the key!");
swapDepths(random(9999));
this.removeMovieClip();
}
}
}
Frame 64
if (game_level == "boss4") {
gotoAndStop ("win");
}
if (game_level == 1) {
gotoAndStop ("lvl1boss");
}
if (game_level == "boss1") {
lvl2_unlocked = true;
}
if (game_level == 2) {
gotoAndStop ("lvl2boss");
}
if (game_level == "boss2") {
if (!lvl3_unlocked) {
arcUn.gotoAndStop(2);
}
lvl3_unlocked = true;
}
if (game_level == 3) {
gotoAndStop ("lvl3boss");
}
if (game_level == "boss3") {
lvl4_unlocked = true;
}
if (game_level == 4) {
gotoAndStop ("lvl4boss");
}
if (game_level == "boss4") {
gotoAndStop ("advWin");
}
evalu = "Your score for this level was: " + Math.round(_root.score);
Frame 72
evalu = "Your score for this level was: " + Math.round(_root.score);
Frame 79
chtt = "Cheats you've unlocked:\r";
if (score >= 8000) {
chtt = chtt + (cheat1 + newline);
}
if (score >= 10000) {
chtt = chtt + (cheat2 + newline);
}
if (score >= 14000) {
chtt = chtt + (cheat3 + newline);
}
if (score >= 19000) {
chtt = chtt + (cheat4 + newline);
}
if (score >= 26000) {
chtt = chtt + (cheat5 + newline);
}
if (score >= 30000) {
chtt = chtt + (cheat6 + newline);
}
if (score < 8000) {
chtt = chtt + "none";
}
evalu = "Your score for this level was: " + Math.round(_root.score);
Frame 85
bigArc = true;
if (!w5_un) {
unlockedWeapons.push("5");
w5_un = true;
}
Symbol 3 MovieClip [cube] Frame 1
_y = (random(50) - 25);
_x = (_parent.pc * 2.365);
lol = random(50) + 100;
_xscale = lol;
_yscale = lol;
Symbol 3 MovieClip [cube] Frame 16
this.removeMovieClip();
Symbol 9 MovieClip [hit] Frame 1
_visible = false;
Symbol 10 MovieClip [boss2_mine] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
play();
} else {
stop();
}
};
Symbol 10 MovieClip [boss2_mine] Frame 51
_root.explode(_x, _y, 1);
Instance of Symbol 9 MovieClip [hit] in Symbol 10 MovieClip [boss2_mine] Frame 51
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(15);
}
}
}
Symbol 10 MovieClip [boss2_mine] Frame 54
swapDepths(99999);
this.removeMovieClip();
Symbol 12 MovieClip [boss2_bomb] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
_x = (_x + ((_xscale / 100) * 10));
if (!setv) {
timer = 0;
grav = 0;
setv = true;
}
grav++;
_y = (_y + grav);
timer++;
if (timer > 50) {
if (!lmfao) {
_root.explode(_x, _y, 2);
_visible = false;
lmfao = true;
}
if (_root.hero.hit.hitTest(hit) && (timer < 53)) {
if (!hitted) {
_root.hero.hurt(20);
hitted = true;
}
}
}
if (timer > 52) {
this.swapDepths(99999);
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
}
if (hitt.hitTest(_root.hero.hit)) {
_root.hero.hurt(20);
hitted = true;
_root.explode(_x, _y, 2);
this.swapDepths(99999);
this.removeMovieClip();
}
if (hitted) {
_root.explode(_x, _y, 2);
this.swapDepths(99999);
this.removeMovieClip();
}
}
};
Symbol 15 MovieClip [boss1_bullet] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (!shit) {
t = 0;
shit = true;
}
t++;
if (t > 100) {
this.removeMovieClip();
}
_x = (_x + ((_xscale / 100) * 20));
if (_root.ground.hitTest(_x, _y, true)) {
this.removeMovieClip();
}
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(9);
this.removeMovieClip();
}
}
};
Symbol 27 MovieClip Frame 33
_parent.removeMovieClip();
Symbol 39 MovieClip Frame 34
_parent.removeMovieClip();
Symbol 53 MovieClip Frame 43
_parent.removeMovieClip();
Symbol 54 MovieClip [smoke] Frame 1
_alpha = (random(20) + 80);
lol = 80 * scal;
_xscale = lol;
_yscale = (lol * scal);
if (!_root.effects_on) {
this.removeMovieClip();
}
gotoAndStop(random(3) + 1);
onEnterFrame = function () {
if (!_root.effects_on) {
this.removeMovieClip();
}
_alpha = (_alpha-1);
lol = lol + (3 * scal);
_xscale = lol;
_yscale = (lol * scal);
};
Symbol 95 MovieClip Frame 1
if (random(2) == 1) {
_yscale = (_yscale * -1);
yminus = true;
}
Symbol 95 MovieClip Frame 23
_parent.removeMovieClip();
Symbol 101 MovieClip [bullet] Frame 1
function die() {
if (_currentframe == 8) {
_root.d++;
_root.attachMovie("greenExplo", "gesp", _root.d);
_root.gesp._x = _x;
_root.gesp._y = _y;
_root.gesp._xscale = _root.gesp._xscale + (b._xscale / 10);
_root.gesp._yscale = _root.gesp._yscale + (b._yscale / 10);
}
if ((_currentframe == 11) || (_currentframe == 10)) {
_root.explode(_x, _y, 2);
}
this.removeMovieClip();
}
Instance of Symbol 58 MovieClip in Symbol 101 MovieClip [bullet] Frame 1
onClipEvent (load) {
speed = 20;
_parent.power = 10;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
if (!_parent.hitTest(_root.screenhit)) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 62 MovieClip in Symbol 101 MovieClip [bullet] Frame 2
onClipEvent (load) {
speed = 23;
_parent.power = 15;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
if (!_parent.hitTest(_root.screenhit)) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 58 MovieClip in Symbol 101 MovieClip [bullet] Frame 3
onClipEvent (load) {
speed = 20;
_parent.power = 6.5;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
if (!_parent.hitTest(_root.screenhit)) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 67 MovieClip in Symbol 101 MovieClip [bullet] Frame 4
onClipEvent (load) {
speed = 18;
_parent.power = 15;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
if (!_parent.hitTest(_root.screenhit)) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 72 MovieClip in Symbol 101 MovieClip [bullet] Frame 5
onClipEvent (load) {
speed = 18 + random(3);
_parent.power = 10;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
_parent._y = _parent._y + _parent.up;
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
if (!_parent.hitTest(_root.screenhit)) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 76 MovieClip in Symbol 101 MovieClip [bullet] Frame 6
onClipEvent (load) {
speed = random(6) + 18;
_parent.power = 10;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
_parent._y = _parent._y + _parent.up;
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
if (!_parent.hitTest(_root.screenhit)) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 79 MovieClip in Symbol 101 MovieClip [bullet] Frame 7
onClipEvent (load) {
speed = 24;
_parent.power = 9;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
if (!_parent.hitTest(_root.screenhit)) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 83 MovieClip "b" in Symbol 101 MovieClip [bullet] Frame 8
onClipEvent (load) {
speed = (20 + random(4)) + 1;
lol = 4;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent.power = _xscale / 6;
if (!_parent.hitTest(_root.screenhit)) {
_parent.removeMovieClip();
}
lol = lol + 2;
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
if (speed > 0) {
speed--;
} else {
_parent.die();
}
_xscale = (_xscale + lol);
_yscale = (_yscale + lol);
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
}
}
Instance of Symbol 95 MovieClip in Symbol 101 MovieClip [bullet] Frame 9
onClipEvent (load) {
speed = (10 + random(3)) + 1;
up = random(6) - 3;
lol = 4;
_parent.power = 8;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!_parent.hitTest(_root.screenhit)) {
_parent.removeMovieClip();
}
_parent._y = _parent._y + up;
lol = lol + 2;
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
if (speed <= 10) {
_alpha = (_alpha - 10);
}
if (speed > 0) {
speed = speed - 0.5;
} else {
_parent.removeMovieClip();
}
_xscale = (_xscale + lol);
if (!yminus) {
_yscale = (_yscale + lol);
} else {
_yscale = (_yscale - lol);
}
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
}
}
Instance of Symbol 98 MovieClip in Symbol 101 MovieClip [bullet] Frame 10
onClipEvent (load) {
speed = 10;
up = 1.2;
_parent.power = 60;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!_parent.hitTest(_root.screenhit)) {
_parent.removeMovieClip();
}
_parent._x = _parent._x + ((speed * _parent._xscale) / 100);
speed = speed * up;
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
}
}
Instance of Symbol 100 MovieClip in Symbol 101 MovieClip [bullet] Frame 11
onClipEvent (load) {
speed = 16;
grav = 0;
up = 10;
_parent.power = 65;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!_parent.hitTest(_root.screenhit)) {
_parent.removeMovieClip();
}
if (speed > 10) {
speed = speed - 0.5;
}
_parent._y = _parent._y - (up - grav);
grav++;
_parent._x = _parent._x + ((speed * _parent._xscale) / 100);
_rotation = (_rotation + (speed * 2));
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
}
}
Symbol 120 MovieClip [greenExplo] Frame 1
_rotation = random(360);
_xscale = (_xscale - 20);
_yscale = (_yscale - 20);
_name = ("lol" + random(10000000));
_root.sounds("explosion");
Symbol 120 MovieClip [greenExplo] Frame 35
this.removeMovieClip();
Symbol 124 MovieClip [bigBullet] Frame 1
function die() {
this.removeMovieClip();
}
onEnterFrame = function () {
if (!_root.pau) {
if (!shit) {
lmfao = _xscale;
speed = 20;
if (_xscale == 100) {
_xscale = (_xscale + (bigness * 3));
} else {
_xscale = (_xscale - (bigness * 3));
}
_yscale = (_yscale + (bigness * 3));
shit = true;
}
if (_root.ground.hitTest(_x, _y, true)) {
die();
}
if (!_root.screenhit.hitTest(this)) {
die();
}
_x = (_x + ((lmfao / 100) * speed));
}
};
Symbol 130 MovieClip Frame 1
if (random(2) == 1) {
_yscale = (_yscale * -1);
}
_xscale = (_xscale + (random(16) - 8));
_yscale = (_yscale + (random(16) - 8));
Symbol 130 MovieClip Frame 6
_parent.removeMovieClip();
Symbol 137 MovieClip Frame 19
_parent.removeMovieClip();
Symbol 144 MovieClip Frame 1
if (random(2) == 1) {
_yscale = (_yscale * -1);
}
_xscale = (_xscale + (random(16) - 8));
_yscale = (_yscale + (random(16) - 8));
Symbol 144 MovieClip Frame 13
_parent.removeMovieClip();
Symbol 153 MovieClip Frame 1
if (random(2) == 1) {
_yscale = (_yscale * -1);
}
_xscale = (_xscale + (random(16) - 8));
_yscale = (_yscale + (random(16) - 8));
Symbol 153 MovieClip Frame 17
_parent.removeMovieClip();
Symbol 156 MovieClip Frame 1
_visible = false;
Symbol 156 MovieClip Frame 2
_parent._alpha = 75;
Symbol 156 MovieClip Frame 3
_parent._alpha = 30;
Symbol 156 MovieClip Frame 4
_parent._parent.removeMovieClip();
Symbol 161 MovieClip Frame 1
if (random(2) == 1) {
_yscale = (_yscale * -1);
}
_xscale = (_xscale + (random(16) - 8));
_yscale = (_yscale + (random(16) - 8));
gotoAndStop(random(4));
Symbol 163 MovieClip Frame 1
lol = random(50) + 50;
up = random(3) + 1;
_alpha = (random(50) + 50);
_xscale = lol;
_yscale = lol;
onEnterFrame = function () {
if (!_root.pau) {
_y = (_y - up);
_alpha = (_alpha - random(6));
if (_alpha <= 0) {
this.removeMovieClip();
}
}
};
Symbol 166 MovieClip [ehit_copy] Frame 1
_visible = false;
onEnterFrame = function () {
if (!_root.pau) {
if (hitTest(_root.herohit)) {
if (_root.hero.raging) {
_parent.hurt(_root.herohit.power + 4, true);
} else {
_parent.hurt(_root.herohit.power, true);
}
}
if (hitTest(_root.b0)) {
_parent.hurt(_root.b0.power);
_root.b0.die();
}
if (hitTest(_root.b1)) {
_parent.hurt(_root.b1.power);
_root.b1.die();
}
if (hitTest(_root.b2)) {
_parent.hurt(_root.b2.power);
_root.b2.die();
}
if (hitTest(_root.b3)) {
_parent.hurt(_root.b3.power);
_root.b3.die();
}
if (hitTest(_root.b4)) {
_parent.hurt(_root.b4.power);
_root.b4.die();
}
if (hitTest(_root.b5)) {
_parent.hurt(_root.b5.power);
_root.b5.die();
}
if (hitTest(_root.b6)) {
_parent.hurt(_root.b6.power);
_root.b6.die();
}
if (hitTest(_root.b7)) {
_parent.hurt(_root.b7.power);
_root.b7.die();
}
if (hitTest(_root.b8)) {
_parent.hurt(_root.b8.power);
_root.b8.die();
}
if (hitTest(_root.b9)) {
_parent.hurt(_root.b9.power);
_root.b9.die();
}
if (hitTest(_root.b10)) {
_parent.hurt(_root.b10.power);
_root.b10.die();
}
if (hitTest(_root.b11)) {
_parent.hurt(_root.b11.power);
_root.b11.die();
}
if (hitTest(_root.b12)) {
_parent.hurt(_root.b12.power);
_root.b12.die();
}
if (hitTest(_root.b13)) {
_parent.hurt(_root.b13.power);
_root.b13.die();
}
if (hitTest(_root.b14)) {
_parent.hurt(_root.b14.power);
_root.b14.die();
}
if (hitTest(_root.b15)) {
_parent.hurt(_root.b15.power);
_root.b15.die();
}
if (hitTest(_root.b16)) {
_parent.hurt(_root.b16.power);
_root.b16.die();
}
if (hitTest(_root.b17)) {
_parent.hurt(_root.b17.power);
_root.b17.die();
}
if (hitTest(_root.b18)) {
_parent.hurt(_root.b18.power);
_root.b18.die();
}
if (hitTest(_root.b19)) {
_parent.hurt(_root.b19.power);
_root.b19.die();
}
if (hitTest(_root.b21)) {
_parent.hurt(_root.b21.power);
_root.b21.die();
}
if (hitTest(_root.b20)) {
_parent.hurt(_root.b20.power);
_root.b20.die();
}
if (hitTest(_root.explo)) {
_parent.hurt(35);
}
}
};
Symbol 179 MovieClip Frame 23
_parent.removeMovieClip();
Symbol 191 MovieClip Frame 21
_parent.removeMovieClip();
Symbol 202 MovieClip Frame 19
_parent.removeMovieClip();
Symbol 203 MovieClip [blood] Frame 1
gotoAndStop(random(3) + 1);
lmao = random(14) - 7;
_xscale = (_xscale + lmao);
_yscale = (_yscale + lmao);
_rotation = (_rotation + (random(10) - 5));
Symbol 225 MovieClip [enemybullet] Frame 1
function die() {
this.removeMovieClip();
}
Instance of Symbol 209 MovieClip in Symbol 225 MovieClip [enemybullet] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((_parent._xscale / 100) * 20);
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(8);
_parent.die();
}
if (!hitTest(_root.screenhit)) {
_parent.die();
}
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
}
}
Instance of Symbol 216 MovieClip in Symbol 225 MovieClip [enemybullet] Frame 2
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((_parent._xscale / 100) * 23);
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(9);
_parent.die();
}
if (!hitTest(_root.screenhit)) {
_parent.die();
}
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
}
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip [enemybullet] Frame 3
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((_parent._xscale / 100) * 25);
if (hitTest(_root.hero.hit)) {
_root.hero._xscale = _parent._xscale * -1;
_root.hero.hurt(10);
_parent.die();
}
if (!hitTest(_root.screenhit)) {
_parent.die();
}
if (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent.die();
}
}
}
Symbol 238 MovieClip [ex2] Frame 26
_parent.removeMovieClip();
Symbol 289 MovieClip [ex1] Frame 47
_parent.removeMovieClip();
Symbol 290 MovieClip [explo] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (!shit) {
timer = 0;
shit = true;
}
if (timer <= 1) {
_root.explo = this;
}
if (timer == 2) {
_root.explo = false;
}
timer++;
}
};
Instance of Symbol 238 MovieClip [ex2] in Symbol 290 MovieClip [explo] Frame 2
onClipEvent (load) {
_parent._rotation = random(360);
}
Symbol 296 MovieClip [lvlUpMovie] Frame 1
_x = _root.cam._x;
_y = _root.cam._y;
_root.pau = true;
_root.shakex = 0;
_root.shakey = 0;
Symbol 296 MovieClip [lvlUpMovie] Frame 2
_x = _root.cam._x;
_y = _root.cam._y;
_root.pau = true;
_root.shakex = 0;
_root.shakey = 0;
Symbol 296 MovieClip [lvlUpMovie] Frame 3
_x = _root.cam._x;
_y = _root.cam._y;
_root.pau = true;
_root.shakex = 0;
_root.shakey = 0;
Symbol 296 MovieClip [lvlUpMovie] Frame 4
_x = _root.cam._x;
_y = _root.cam._y;
_root.pau = true;
_root.shakex = 0;
_root.shakey = 0;
Symbol 296 MovieClip [lvlUpMovie] Frame 23
if (_root.level == 2) {
_root.msg("You've unlocked the exploding finish! When raging, you unleash a burst of energy after completing a round of melee combos!");
}
if (_root.level == 3) {
_root.specialAmount = 1;
_root.msg("You've unlocked a rage power! Use D to when raging and when your rage exceeds 100 to use it!");
}
if (_root.level == 4) {
_root.msg("You've unlocked a new technique! When raging, you unleash a burst of energy every time you roll! Whether in the air, or on the ground.");
}
if (_root.level == 5) {
_root.specialAmount = 2;
_root.msg("You've unlocked a new rage power!");
}
if (_root.level == 6) {
_root.specialAmount = 3;
_root.msg("You've unlocked a new rage power!");
}
if (_root.level == 8) {
_root.msg("You're faster now!");
}
if (_root.level == 9) {
_root.msg("You jump higher now!");
}
if (_root.level == 10) {
_root.msg("You've unlocked the ultimate special.");
}
Symbol 296 MovieClip [lvlUpMovie] Frame 24
_root.pau = false;
swapDepths(9999);
this.removeMovieClip();
Symbol 307 MovieClip Frame 1
up = random(30) - 10;
speed = random(40) - 20;
minus = random(5) + 1;
grav = 0;
gotoAndStop(random(8) + 1);
onEnterFrame = function () {
if (!_root.pau) {
_y = (_y - up);
grav++;
_y = (_y + grav);
_x = (_x + speed);
_rotation = (_rotation + (speed * 3));
if (speed > 0) {
speed--;
}
if (speed < 0) {
speed++;
}
_alpha = (_alpha - (minus * 2));
if (_alpha <= 3) {
swapDepths(random(9999));
this.removeMovieClip();
}
}
};
Symbol 308 MovieClip [woodex] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
timer++;
if (timer > 50) {
this.removeMovieClip();
}
}
};
Symbol 322 MovieClip Frame 1
gotoAndStop(_parent.gun);
Instance of Symbol 9 MovieClip [hit] in Symbol 324 MovieClip [ammo] Frame 1
onClipEvent (load) {
grav = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y + grav;
grav++;
}
if (hitTest(_root.hero.hit)) {
if (_parent.gun == 1) {
_root.gun1_ammo = _root.gun1_ammo + 10;
}
if (_parent.gun == 2) {
_root.gun2_ammo = _root.gun2_ammo + 7;
}
if (_parent.gun == 3) {
_root.gun3_ammo = _root.gun3_ammo + 6;
}
if (_parent.gun == 4) {
_root.gun4_ammo = _root.gun4_ammo + 6;
}
if (_parent.gun == 5) {
_root.gun5_ammo = _root.gun5_ammo + 5;
}
if (_parent.gun == 6) {
_root.gun6_ammo = _root.gun6_ammo + 4;
}
if (_parent.gun == 7) {
_root.gun7_ammo = _root.gun7_ammo + 20;
}
if (_parent.gun == 8) {
_root.gun8_ammo = _root.gun8_ammo + 7;
}
if (_parent.gun == 9) {
_root.gun9_ammo = _root.gun9_ammo + 15;
}
if (_parent.gun == 10) {
_root.gun10_ammo = _root.gun10_ammo + 3;
}
if (_parent.gun == 11) {
_root.gun11_ammo = _root.gun11_ammo + 3;
}
_root.shakex = _root.shakex + 15;
_root.sounds("explosion");
_parent.removeMovieClip();
}
}
}
Symbol 337 MovieClip Frame 1
_rotation = random(360);
lol = random(40) + 80;
_xscale = lol;
_yscale = lol;
Symbol 337 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 339 MovieClip [PointBall] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
gotoAndStop ("get");
}
if (!setVars) {
speed = random(20) - 10;
grav = (random(7) + 7) * -1;
timer = 0;
setVars = true;
}
timer++;
if (timer > 140) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
}
if ((timer > 150) or (_xscale == 0)) {
this.removeMovieClip();
}
_x = (_x + speed);
if ((speed > 0) && (speed < 1)) {
speed = 0;
}
if ((speed < 0) && (speed > -1)) {
speed = 0;
}
if (speed > 0.5) {
speed = speed - 0.2;
}
if (speed < -0.5) {
speed = speed + 0.2;
}
_y = (_y + grav);
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = grav * -1;
grav = grav / 2;
}
while (_root.ground.hitTest(_x, _y - 4, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x - 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x, _y - 35, true) && (grav < 0)) {
grav = grav * -1;
}
}
};
Symbol 339 MovieClip [PointBall] Frame 7
gotoAndPlay (1);
Symbol 339 MovieClip [PointBall] Frame 8
onEnterFrame = null;
_root.score = _root.score + (5 + random(4));
Symbol 346 MovieClip [ExpBall] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
gotoAndStop ("get");
}
if (!setVars) {
speed = random(20) - 10;
grav = (random(7) + 7) * -1;
timer = 0;
setVars = true;
}
timer++;
if (timer > 140) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
}
if ((timer > 150) or (_xscale == 0)) {
this.removeMovieClip();
}
_x = (_x + speed);
if ((speed > 0) && (speed < 1)) {
speed = 0;
}
if ((speed < 0) && (speed > -1)) {
speed = 0;
}
if (speed > 0.5) {
speed = speed - 0.2;
}
if (speed < -0.5) {
speed = speed + 0.2;
}
_y = (_y + grav);
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = grav * -1;
grav = grav / 2;
}
while (_root.ground.hitTest(_x, _y - 4, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x - 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x, _y - 35, true) && (grav < 0)) {
grav = grav * -1;
}
}
};
Symbol 346 MovieClip [ExpBall] Frame 7
gotoAndPlay (1);
Symbol 346 MovieClip [ExpBall] Frame 8
onEnterFrame = null;
_root.experience++;
Symbol 353 MovieClip [LifeBall] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
gotoAndStop ("get");
}
if (!setVars) {
speed = random(20) - 10;
grav = (random(7) + 7) * -1;
timer = 0;
setVars = true;
}
timer++;
if (timer > 140) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
}
if ((timer > 150) or (_xscale == 0)) {
this.removeMovieClip();
}
_x = (_x + speed);
if ((speed > 0) && (speed < 1)) {
speed = 0;
}
if ((speed < 0) && (speed > -1)) {
speed = 0;
}
if (speed > 0.5) {
speed = speed - 0.2;
}
if (speed < -0.5) {
speed = speed + 0.2;
}
_y = (_y + grav);
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = grav * -1;
grav = grav / 2;
}
while (_root.ground.hitTest(_x, _y - 4, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x - 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x, _y - 35, true) && (grav < 0)) {
grav = grav * -1;
}
}
};
Symbol 353 MovieClip [LifeBall] Frame 7
gotoAndPlay (1);
Symbol 353 MovieClip [LifeBall] Frame 8
onEnterFrame = null;
_root.hero.life++;
Symbol 355 MovieClip Frame 2
_root.ground[_parent.bName]._x = _parent._x - _root.ground._x;
_root.ground[_parent.bName]._y = (_parent._y - _root.ground._y) - 2;
_root.ground[_parent.bName]._xscale = _parent._xscale;
_root.ground[_parent.bName]._yscale = _parent._yscale;
Symbol 355 MovieClip Frame 3
gotoAndPlay (2);
Symbol 357 MovieClip Frame 1
_visible = false;
onEnterFrame = function () {
if (!_root.pau) {
if (hitTest(_root.herohit)) {
if (_root.hero.raging) {
_parent.hurt(_root.herohit.power + 4, true);
} else {
_parent.hurt(_root.herohit.power, true);
}
}
if (hitTest(_root.b0)) {
_parent.hurt(_root.b0.power);
_root.b0.die();
}
if (hitTest(_root.b1)) {
_parent.hurt(_root.b1.power);
_root.b1.die();
}
if (hitTest(_root.b2)) {
_parent.hurt(_root.b2.power);
_root.b2.die();
}
if (hitTest(_root.b3)) {
_parent.hurt(_root.b3.power);
_root.b3.die();
}
if (hitTest(_root.b4)) {
_parent.hurt(_root.b4.power);
_root.b4.die();
}
if (hitTest(_root.b5)) {
_parent.hurt(_root.b5.power);
_root.b5.die();
}
if (hitTest(_root.b6)) {
_parent.hurt(_root.b6.power);
_root.b6.die();
}
if (hitTest(_root.b7)) {
_parent.hurt(_root.b7.power);
_root.b7.die();
}
if (hitTest(_root.b8)) {
_parent.hurt(_root.b8.power);
_root.b8.die();
}
if (hitTest(_root.b9)) {
_parent.hurt(_root.b9.power);
_root.b9.die();
}
if (hitTest(_root.b10)) {
_parent.hurt(_root.b10.power);
_root.b10.die();
}
if (hitTest(_root.b11)) {
_parent.hurt(_root.b11.power);
_root.b11.die();
}
if (hitTest(_root.b12)) {
_parent.hurt(_root.b12.power);
_root.b12.die();
}
if (hitTest(_root.b13)) {
_parent.hurt(_root.b13.power);
_root.b13.die();
}
if (hitTest(_root.b14)) {
_parent.hurt(_root.b14.power);
_root.b14.die();
}
if (hitTest(_root.b15)) {
_parent.hurt(_root.b15.power);
_root.b15.die();
}
if (hitTest(_root.b16)) {
_parent.hurt(_root.b16.power);
_root.b16.die();
}
if (hitTest(_root.b17)) {
_parent.hurt(_root.b17.power);
_root.b17.die();
}
if (hitTest(_root.b18)) {
_parent.hurt(_root.b18.power);
_root.b18.die();
}
if (hitTest(_root.b19)) {
_parent.hurt(_root.b19.power);
_root.b19.die();
}
if (hitTest(_root.b21)) {
_parent.hurt(_root.b21.power);
_root.b21.die();
}
if (hitTest(_root.b20)) {
_parent.hurt(_root.b20.power);
_root.b20.die();
}
if (hitTest(_root.explo)) {
_parent.hurt(25);
}
}
};
Symbol 363 MovieClip [box] Frame 1
function hurt(lm) {
if (lm >= 20) {
gotoAndPlay ("expl");
}
play();
}
stop();
onEnterFrame = function () {
if (!setVars) {
life = 20;
grav = 0;
bName = "box_" + random(99999);
_root.ground.attachMovie("Box1_hit", bName, random(99999) + random(99999));
setVars = true;
}
if (!_root.pau) {
if (hitTest(_root.screenhit)) {
if (grav > 30) {
grav = 30;
}
_visible = true;
if (!_root.ground.hitTest(_x, _y, true)) {
_y = (_y + grav);
grav++;
} else {
grav = 0;
}
} else {
_visible = false;
}
if (!hitTest(_root.screenhit)) {
if (_root.arcade) {
if (!_root.ground.hitTest(_x, _y, true)) {
_y = (_y + grav);
grav++;
} else {
grav = 0;
}
_visible = true;
}
}
}
};
Symbol 363 MovieClip [box] Frame 2
_root.sounds("wack");
Symbol 363 MovieClip [box] Frame 6
stop();
Symbol 363 MovieClip [box] Frame 7
_root.sounds("wack");
Symbol 363 MovieClip [box] Frame 11
stop();
Symbol 363 MovieClip [box] Frame 12
_root.sounds("explosion");
Symbol 363 MovieClip [box] Frame 13
_root.ground[bName].removeMovieClip();
if (_root.effects_on) {
_root.woodExplo(_x, _y);
}
if (ammo) {
_root.ammoAttach(_x, _y);
}
_root.createPts(_x, _y, 3 + random(5));
act();
Symbol 363 MovieClip [box] Frame 14
this.swapDepths(random(9999) + 100);
this.removeMovieClip();
Symbol 367 MovieClip Frame 1
_visible = false;
Symbol 367 MovieClip Frame 2
stop();
Symbol 370 MovieClip Frame 1
gotoAndStop(_parent._parent.gun);
if (!_parent._parent.gun) {
_visible = false;
}
Symbol 375 MovieClip Frame 1
gotoAndStop(_parent._parent.weapon);
if (!_parent._parent.weapon) {
_visible = false;
}
Symbol 399 MovieClip Frame 5
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 399 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(3 + _parent._parent.power);
_root.hero._xscale = _parent._parent._xscale * -1;
}
}
}
Symbol 399 MovieClip Frame 11
if (random(5) > 3) {
gotoAndPlay ("p3");
} else {
_parent.gotoAndStop("idle");
}
Symbol 399 MovieClip Frame 16
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 399 MovieClip Frame 16
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(4 + _parent._parent.power);
_root.hero._xscale = _parent._parent._xscale * -1;
}
}
}
Symbol 399 MovieClip Frame 22
if (random(3) == 1) {
_parent.gotoAndStop("idle");
}
Symbol 399 MovieClip Frame 27
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 399 MovieClip Frame 27
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(2) == 1) {
lmfao = 9;
} else {
lmfao = 6;
}
_root.hero.hurt(lmfao + _parent._parent.power);
_root.hero._xscale = _parent._parent._xscale * -1;
}
}
}
Symbol 399 MovieClip Frame 32
_parent.gotoAndStop("idle");
Symbol 407 MovieClip Frame 7
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 407 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt((3 + _parent._parent.power) + (_parent._parent.weapon * 2));
_root.hero._xscale = _parent._parent._xscale * -1;
}
}
}
Symbol 407 MovieClip Frame 13
_parent.gotoAndStop("idle");
Symbol 436 MovieClip Frame 1
gotoAndStop(_parent._parent.gun);
Instance of Symbol 9 MovieClip [hit] in Symbol 440 MovieClip Frame 3
onClipEvent (load) {
if (!_root.pau) {
_root.eshoot(((_x * _parent._parent._xscale) / 100) + _parent._parent._x, (_y + _parent._y) + _parent._parent._y, _parent._parent._xscale, _parent._parent.gun);
}
}
Symbol 440 MovieClip Frame 9
_parent.gotoAndStop("idle");
Symbol 454 MovieClip Frame 11
_parent.gotoAndStop("idle");
Symbol 466 MovieClip Frame 12
_parent.gotoAndStop("idle");
Symbol 475 MovieClip Frame 12
_parent.gotoAndStop("idle");
Symbol 486 MovieClip Frame 3
_root.createLife(_parent._x, _parent._y, 5);
_root.createExp(_parent._x, _parent._y, 5);
Symbol 486 MovieClip Frame 9
_root.shakey = _root.shakey + 20;
_root.experience = _root.experience + _parent.levelup;
Symbol 486 MovieClip Frame 37
stop();
Symbol 487 MovieClip [enemy] Frame 1
function hurt(lifeminus, melee) {
if (ha) {
if (lifeminus > 0) {
_root.sounds("wack");
if (random(3) == 2) {
_root.sounds("grunt");
}
_root.rage = _root.rage + 3;
if (melee) {
lifeminus = lifeminus + _root.level;
_root.shakex = _root.shakex + (lifeminus / 2);
_root.rage = _root.rage + (2 + (lifeminus / 3));
} else {
_root.shakex--;
_root.shakex = _root.shakex + (lifeminus / 5);
}
melee = false;
gotoAndStop (1);
jump = false;
grav = 1;
h++;
_root.bleed(_x + ((bx * _xscale) / 100), _y + by, _xscale);
frames = ["hurt1", "hurt2", "hurt3"];
life = life - lifeminus;
_root.score = _root.score + lifeminus;
gotoAndStop(frames[random(frames.length)]);
}
}
}
if (!arcSetWeap) {
if (_root.arcade) {
_x = (_x + (random(300) - 150));
gun = random(3) + 1;
weapon = random(5) + 1;
if (random(3) == 1) {
weapon = false;
}
if (random(4) == 2) {
gun = false;
}
}
arcSetWeap = true;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!setvars) {
setTint(random(255), random(255), random(255), 50);
ht = 0;
stop();
ha = true;
hits = random(2) + 4;
h = 0;
life = (random(20) + 70) + (_root.lvlp * 2);
speed = (random(7) + 5) + (_root.lvlp / 4);
if (speed > 20) {
speed = 20;
}
power = random(2) + _root.lvlp;
jumph = 15 + random(5);
grav = 0;
levelup = (gun + weapon) + Math.round(life / 10);
setvars = true;
}
if (act1) {
if (life <= 0) {
ha = true;
_alpha = 100;
h = 0;
ht = 0;
gotoAndStop ("die");
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
grav = 0;
_y = (_y-1);
}
if (jump) {
_y = (_y - jumph);
gotoAndStop ("jump");
}
if (h > hits) {
ht++;
ha = false;
_alpha = 50;
}
if ((_root.eAlpha == false) or _root.arcade) {
h = 0;
ht = 0;
ha = true;
_alpha = 100;
}
if (ht > 40) {
_alpha = 100;
ht = 0;
h = 0;
ha = true;
}
while (_root.ground.hitTest(_x + 30, _y - 30, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 30, _y - 30, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 50, true)) {
_y = (_y+1);
}
}
}
};
lmao = new Color(this);
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);
};
Instance of Symbol 381 MovieClip in Symbol 487 MovieClip [enemy] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x > (_parent._x + 40)) {
if (random(20) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(20) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 487 MovieClip [enemy] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(3) == 1) {
if (_parent.gun && (_parent.weapon)) {
if (random(2) == 1) {
_parent.gotoAndStop("att_noweap");
} else {
_parent.gotoAndStop("att_weapon");
}
}
if (_parent.gun && (!_parent.weapon)) {
_parent.gotoAndStop("att_noweap");
}
if ((!_parent.gun) && (!_parent.weapon)) {
_parent.gotoAndStop("att_noweap");
}
if ((!_parent.gun) && (_parent.weapon)) {
_parent.gotoAndStop("att_weapon");
}
}
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 487 MovieClip [enemy] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (_parent.gun) {
if (random(40) == 2) {
_parent.gotoAndStop("shoot");
}
}
}
}
}
Instance of Symbol 357 MovieClip in Symbol 487 MovieClip [enemy] Frame 1
onClipEvent (load) {
randNum = random(99999) + random(99999);
_root.eHits.attachMovie("ehit_copy", "ehit" + randNum, randNum);
_root.eHits["ehit" + randNum]._x = (_x + _parent._x) - _root.eHits._x;
_root.eHits["ehit" + randNum]._y = (_y + _parent._y) - _root.eHits._y;
_root.eHits["ehit" + randNum]._xscale = _xscale / 1.5;
_root.eHits["ehit" + randNum]._yscale = _yscale / 1.5;
}
onClipEvent (enterFrame) {
_root.eHits.attachMovie("ehit_copy", "ehit" + randNum, randNum);
_root.eHits["ehit" + randNum]._x = (_x + _parent._x) - _root.eHits._x;
_root.eHits["ehit" + randNum]._y = (_y + _parent._y) - _root.eHits._y;
}
onClipEvent (unload) {
_root.eHits["ehit" + randNum].removeMovieClip();
}
Instance of Symbol 9 MovieClip [hit] in Symbol 487 MovieClip [enemy] Frame 1
onClipEvent (load) {
_x = (_x + (random(100) / 10));
_y = (_y + (random(30) - 15));
_parent.bx = _x;
_parent.by = _y;
this.swapDepths(9999);
this.removeMovieClip();
}
Instance of Symbol 9 MovieClip [hit] in Symbol 487 MovieClip [enemy] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_parent.gotoAndStop("run");
}
}
}
Instance of Symbol 387 MovieClip in Symbol 487 MovieClip [enemy] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(100) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > (_parent._x + 50)) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < (_parent._x - 50)) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (random(150) == 1) {
_parent._xscale = _parent._xscale * -1;
}
if (_root.ground.hitTest(_parent._x + 40, _parent._y - 20, true)) {
_parent.jump = true;
}
if (_root.ground.hitTest(_parent._x - 40, _parent._y - 20, true)) {
_parent.jump = true;
}
if (hitTest(_root.screenhit)) {
_parent.active = true;
} else {
_parent.active = false;
}
if (!_parent.active) {
_parent.gotoAndStop("idle");
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 487 MovieClip [enemy] Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_parent.gotoAndStop("run");
}
}
}
Symbol 487 MovieClip [enemy] Frame 35
_y = (_y - 20);
jump = true;
grav = 1;
_root.sounds("wizz");
Instance of Symbol 444 MovieClip in Symbol 487 MovieClip [enemy] Frame 35
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.grav == 0) {
_parent.jump = false;
_parent.gotoAndStop("idle");
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
}
}
Symbol 487 MovieClip [enemy] Frame 55
_root.sounds("grunt");
Symbol 498 Button
on (release) {
getURL ("http://www.stickpage.com", "_blank");
}
Symbol 499 Button
on (release) {
getURL ("http://www.crazyawesomeyeah.com", "_blank");
}
Symbol 502 MovieClip Frame 1
_root.stop();
onEnterFrame = function () {
pc = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
loltext = Math.round(pc) + "%";
bar._yscale = pc;
if (pc == 100) {
gotoAndStop (2);
}
};
stop();
Symbol 502 MovieClip Frame 2
_root.play();
Symbol 505 Button
on (release) {
getURL ("http://www.crazyawesomeyeah.com", "_blank");
}
Symbol 507 Button
on (release) {
getURL ("http://www.stickpage.com", "_blank");
}
Symbol 514 MovieClip Frame 155
_root.play();
Symbol 521 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 10
if (_root.experience == _root.saveFile.data.experience) {
play();
} else {
gotoAndPlay ("fail");
}
Symbol 521 MovieClip Frame 20
gotoAndStop (1);
Symbol 524 Button
on (release) {
gotoAndStop ("adventure");
}
Symbol 525 Button
on (release) {
gotoAndStop ("arcade");
}
Symbol 526 Button
on (release) {
_root.gotoAndStop("tut");
}
Symbol 527 Button
on (release) {
gotoAndStop ("options");
}
Symbol 528 Button
on (release) {
loader.play();
}
Symbol 529 Button
on (release) {
_root.saveGame();
saver.play();
}
Symbol 530 Button
on (release) {
gotoAndStop ("credits");
}
Symbol 531 Button
on (release) {
getURL (_root.sponsor, "_blank");
}
Symbol 532 Button
on (release) {
getURL ("http://www.crazyawesomeyeah.com", "_blank");
}
Symbol 537 MovieClip Frame 1
stop();
Symbol 537 MovieClip Frame 3
if ((_root.saveFile.data.experience == undefined) || (_root.saveFile.data.experience == "NaN")) {
gotoAndPlay ("fail");
}
Symbol 537 MovieClip Frame 4
_root.loadGame();
Symbol 537 MovieClip Frame 6
if (_root.experience != _root.saveFile.data.experience) {
gotoAndPlay ("fail");
}
Symbol 537 MovieClip Frame 14
gotoAndStop (1);
Symbol 538 Button
on (release) {
gotoAndStop ("cheats");
}
Symbol 545 MovieClip Frame 1
_x = 0;
_y = 0;
Symbol 545 MovieClip Frame 11
stop();
Symbol 547 Button
on (release) {
gotoAndStop (1);
}
Symbol 563 MovieClip Frame 1
stop();
if (_root.lvl2_unlocked == false) {
nextFrame();
}
Symbol 566 MovieClip Frame 1
stop();
if (_root.lvl3_unlocked == false) {
nextFrame();
}
Symbol 569 MovieClip Frame 1
stop();
if (!_root.lvl4_unlocked) {
nextFrame();
}
Symbol 578 Button
on (release) {
_root.gotoAndStop("arcade");
}
Symbol 580 Button
on (release) {
_root.arc_bigGun = true;
_root.gotoAndStop("arcade");
}
Symbol 581 MovieClip Frame 1
stop();
if (_root.arcade_unlocked) {
nextFrame();
}
if (_root.lvl3_unlocked) {
nextFrame();
}
Symbol 581 MovieClip Frame 2
if (_root.bigArc) {
gotoAndStop (3);
}
Symbol 589 Button
on (release) {
cheat();
}
Symbol 592 MovieClip Frame 1
function cheat() {
if (cht == _root.cheat1) {
_root.cht1 = true;
cht = _root.cs1;
} else if (cht == _root.cheat2) {
_root.cht2 = true;
cht = _root.cs2;
} else if (cht == _root.cheat3) {
_root.cht3 = true;
cht = _root.cs3;
} else if (cht == _root.cheat4) {
_root.cht4 = true;
cht = _root.cs4;
} else if (cht == _root.cheat5) {
_root.cht5 = true;
cht = _root.cs5;
} else if (cht == _root.cheat6) {
_root.cht6 = true;
cht = _root.cs6;
} else if (cht == "off") {
_root.cht6 = false;
_root.cht2 = false;
_root.cht3 = false;
_root.cht4 = false;
_root.cht5 = false;
_root.cht1 = false;
cht = "cheats turned off";
} else {
arr = ["nope.", "wrong.", "no.", "AW HAW", "WRONG LOL", "No, lol", "DE-NIED", "Pwnt.", "Fail, lol", "LMAO WRONG", "Turd Nuggets.", "uh-uh.", "still wrong", "you fail so hard", "Guessing, are we?", "NOEP LUL", "Wrong, man.", "failure, haw haw"];
cht = arr[random(arr.length)];
}
}
stop();
lol.gotoAndPlay(1);
Symbol 592 MovieClip Frame 7
stop();
lol.gotoAndPlay(1);
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.effects_on) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.effects_on = true;
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.effects_on) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.effects_on = false;
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.eAlpha) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.eAlpha = true;
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.eAlpha) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.eAlpha = false;
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.difficulty == 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.difficulty = 0;
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.difficulty == 5) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.difficulty = 5;
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.difficulty == 10) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.difficulty = 10;
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root._quality == "high") {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root._quality = "high";
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root._quality == "medium") {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root._quality = "medium";
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root._quality == "low") {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root._quality = "low";
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.gameVolume == 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 0;
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.gameVolume == 25) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 25;
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.gameVolume == 50) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 50;
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.gameVolume == 75) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 75;
}
Instance of Symbol 553 MovieClip in Symbol 592 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.gameVolume == 100) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 100;
}
Symbol 592 MovieClip Frame 14
stop();
lol.gotoAndPlay(1);
Instance of Symbol 558 MovieClip in Symbol 592 MovieClip Frame 14
on (release) {
_root.gotoAndStop("lvl1");
}
Instance of Symbol 563 MovieClip in Symbol 592 MovieClip Frame 14
on (release) {
if (_root.lvl2_unlocked) {
_root.gotoAndStop("lvl2");
}
}
Instance of Symbol 566 MovieClip in Symbol 592 MovieClip Frame 14
on (release) {
if (_root.lvl3_unlocked) {
_root.gotoAndStop("lvl3");
}
}
Instance of Symbol 569 MovieClip in Symbol 592 MovieClip Frame 14
on (release) {
if (_root.lvl4_unlocked) {
_root.gotoAndStop("lvl4");
}
}
Symbol 592 MovieClip Frame 23
stop();
lol.gotoAndPlay(1);
Symbol 592 MovieClip Frame 30
stop();
lol.gotoAndPlay(1);
Symbol 592 MovieClip Frame 37
stop();
lol.gotoAndPlay(1);
Symbol 595 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 608 MovieClip Frame 1
stop();
_visible = false;
_name = "grunts";
f = 13;
Symbol 620 MovieClip Frame 1
stop();
_name = "wacks";
_visible = false;
f = 13;
Symbol 634 MovieClip Frame 1
stop();
_name = "wizzes";
_visible = false;
f = 13;
Symbol 646 MovieClip Frame 1
stop();
_name = "gunshots";
_visible = false;
f = 13;
Symbol 654 MovieClip Frame 1
stop();
_name = "explosions";
_visible = false;
f = 7;
Symbol 662 MovieClip Frame 1
f = 7;
stop();
_visible = false;
_name = "steps";
Symbol 669 MovieClip Frame 1
_visible = false;
_name = "music";
stop();
_xscale = 0;
_yscale = 0;
Symbol 669 MovieClip Frame 7
_root.stopAllSounds();
stopAllSounds();
Symbol 669 MovieClip Frame 13
gotoAndStop (1);
Symbol 669 MovieClip Frame 14
_root.stopAllSounds();
stopAllSounds();
Symbol 669 MovieClip Frame 18
gotoAndStop (1);
Symbol 669 MovieClip Frame 19
_root.stopAllSounds();
stopAllSounds();
Symbol 669 MovieClip Frame 23
gotoAndStop (1);
Symbol 669 MovieClip Frame 24
_root.stopAllSounds();
stopAllSounds();
Symbol 669 MovieClip Frame 28
gotoAndStop (1);
Symbol 669 MovieClip Frame 29
_root.stopAllSounds();
stopAllSounds();
Symbol 669 MovieClip Frame 33
gotoAndStop (1);
Symbol 674 MovieClip Frame 1
_visible = false;
Symbol 676 MovieClip Frame 1
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 678 MovieClip Frame 1
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 685 MovieClip Frame 1
if (_parent.raging) {
_visible = true;
} else {
_visible = false;
}
onEnterFrame = function () {
if (_parent.raging) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 687 MovieClip Frame 1
_visible = false;
Symbol 687 MovieClip Frame 2
stop();
Symbol 702 MovieClip Frame 1
gotoAndStop(Number(_root.weapon) + 1);
onEnterFrame = function () {
gotoAndStop(Number(_root.weapon) + 1);
};
Symbol 706 MovieClip Frame 1
gotoAndStop(_root.gun);
onEnterFrame = function () {
gotoAndStop(_root.gun);
};
Symbol 718 MovieClip Frame 5
_root.sounds("step");
Symbol 787 MovieClip Frame 1
k = true;
Symbol 787 MovieClip Frame 5
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 5
onClipEvent (load) {
_root.herohit = this;
power = 6;
}
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 8
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p2");
}
}
}
}
Symbol 787 MovieClip Frame 12
_parent.gotoAndStop("idle");
Symbol 787 MovieClip Frame 13
k = true;
Symbol 787 MovieClip Frame 17
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 17
onClipEvent (load) {
_root.herohit = this;
power = 7;
}
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 20
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p3");
}
}
}
}
Symbol 787 MovieClip Frame 24
_parent.gotoAndStop("idle");
Symbol 787 MovieClip Frame 25
k = true;
Symbol 787 MovieClip Frame 29
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 29
onClipEvent (load) {
_root.herohit = this;
power = 8;
}
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 31
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p4");
}
}
}
}
Symbol 787 MovieClip Frame 36
_parent.gotoAndStop("idle");
Symbol 787 MovieClip Frame 37
k = true;
Symbol 787 MovieClip Frame 41
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 41
onClipEvent (load) {
_root.herohit = this;
power = 9;
}
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 44
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p5");
}
}
}
}
Symbol 787 MovieClip Frame 48
_parent.gotoAndStop("idle");
Symbol 787 MovieClip Frame 49
k = true;
Symbol 787 MovieClip Frame 53
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 53
onClipEvent (load) {
_root.herohit = this;
power = 10;
}
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 56
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p6");
}
}
}
}
Symbol 787 MovieClip Frame 60
_parent.gotoAndStop("idle");
Symbol 787 MovieClip Frame 61
k = true;
Symbol 787 MovieClip Frame 65
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 65
onClipEvent (load) {
_root.herohit = this;
power = 11;
}
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 68
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p7");
}
}
}
}
Symbol 787 MovieClip Frame 72
_parent.gotoAndStop("idle");
Symbol 787 MovieClip Frame 73
k = true;
Symbol 787 MovieClip Frame 77
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 77
onClipEvent (load) {
_root.herohit = this;
power = 12;
}
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 80
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p8");
}
}
}
}
Symbol 787 MovieClip Frame 84
_parent.gotoAndStop("idle");
Symbol 787 MovieClip Frame 85
k = true;
Symbol 787 MovieClip Frame 89
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 89
onClipEvent (load) {
_root.herohit = this;
power = 13;
}
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 92
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p9");
}
}
}
}
Symbol 787 MovieClip Frame 96
_parent.gotoAndStop("idle");
Symbol 787 MovieClip Frame 97
k = true;
Symbol 787 MovieClip Frame 101
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 101
onClipEvent (load) {
_root.herohit = this;
power = 14;
}
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 104
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p10");
}
}
}
}
Symbol 787 MovieClip Frame 108
_parent.gotoAndStop("idle");
Symbol 787 MovieClip Frame 109
k = true;
Symbol 787 MovieClip Frame 113
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 113
onClipEvent (load) {
_root.herohit = this;
power = 15;
}
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 116
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p11");
}
}
}
}
Symbol 787 MovieClip Frame 123
_parent.gotoAndStop("idle");
Symbol 787 MovieClip Frame 124
k = true;
Symbol 787 MovieClip Frame 130
_root.sounds("wizz");
Symbol 787 MovieClip Frame 132
_root.sounds("wizz");
Symbol 787 MovieClip Frame 134
_root.sounds("wizz");
Symbol 787 MovieClip Frame 136
_root.sounds("wizz");
Symbol 787 MovieClip Frame 138
_root.sounds("wizz");
Symbol 787 MovieClip Frame 140
_root.sounds("wizz");
Symbol 787 MovieClip Frame 142
_root.sounds("wizz");
Symbol 787 MovieClip Frame 148
_root.sounds("wizz");
Symbol 787 MovieClip Frame 150
_root.sounds("explosion");
_root.shakey = _root.shakey + 20;
if (_parent.raging && (_root.level >= 2)) {
_root.explode(_parent._x, _parent._y, 2);
}
Instance of Symbol 9 MovieClip [hit] in Symbol 787 MovieClip Frame 150
onClipEvent (load) {
_root.herohit = this;
power = 40;
}
Symbol 787 MovieClip Frame 160
_parent.gotoAndStop("idle");
Symbol 794 MovieClip Frame 1
gotoAndStop(_root.weapon);
Symbol 804 MovieClip Frame 1
gotoAndStop(_root.weapon);
Symbol 823 MovieClip Frame 1
gotoAndStop(_root.weapon);
Symbol 826 MovieClip Frame 1
k = true;
Symbol 826 MovieClip Frame 5
_root.sounds("wizz");
_parent._x = _parent._x + ((_parent._xscale / 100) * 10);
_root.d++;
_root.attachMovie("smoke", "s" + _root.d, _root.d);
_root["s" + _root.d]._x = _parent._x;
_root["s" + _root.d]._y = _parent._y;
_root["s" + _root.d].scal = _parent._xscale / 100;
Instance of Symbol 9 MovieClip [hit] in Symbol 826 MovieClip Frame 5
onClipEvent (load) {
_root.herohit = this;
power = 5 + (_root.weapon * 2);
_xscale = (_xscale + (_root.weapon * 2.5));
}
Symbol 826 MovieClip Frame 7
_parent._x = _parent._x + ((_parent._xscale / 100) * 8);
Symbol 826 MovieClip Frame 9
_parent._x = _parent._x + ((_parent._xscale / 100) * 2);
Instance of Symbol 9 MovieClip [hit] in Symbol 826 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p2");
}
}
}
}
Symbol 826 MovieClip Frame 10
_parent._x = _parent._x + ((_parent._xscale / 100) * 1);
Symbol 826 MovieClip Frame 15
_parent.gotoAndStop("idle");
Symbol 826 MovieClip Frame 16
k = true;
Symbol 826 MovieClip Frame 18
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 826 MovieClip Frame 18
onClipEvent (load) {
_root.herohit = this;
power = 6 + (_root.weapon * 2);
_xscale = (_xscale + (_root.weapon * 2.5));
}
Instance of Symbol 9 MovieClip [hit] in Symbol 826 MovieClip Frame 21
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p3");
}
}
}
}
Symbol 826 MovieClip Frame 27
_parent.gotoAndStop("idle");
Symbol 826 MovieClip Frame 28
k = true;
Symbol 826 MovieClip Frame 31
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 826 MovieClip Frame 31
onClipEvent (load) {
_root.herohit = this;
power = 7 + (_root.weapon * 2);
_xscale = (_xscale + (_root.weapon * 2.5));
}
Instance of Symbol 9 MovieClip [hit] in Symbol 826 MovieClip Frame 35
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p4");
}
}
}
}
Symbol 826 MovieClip Frame 40
_parent.gotoAndStop("idle");
Symbol 826 MovieClip Frame 41
k = true;
Symbol 826 MovieClip Frame 49
_root.sounds("wizz");
_root.shakey = _root.shakey + 15;
if (_parent.raging && (_root.level >= 2)) {
_root.explode(_parent._x + ((_parent._xscale / 100) * 100), _parent._y, 2);
}
Instance of Symbol 9 MovieClip [hit] in Symbol 826 MovieClip Frame 49
onClipEvent (load) {
_root.herohit = this;
power = 8 + (_root.weapon * 2);
_xscale = (_xscale + (_root.weapon * 2.5));
}
Symbol 826 MovieClip Frame 54
_parent.gotoAndStop("idle");
Symbol 833 MovieClip Frame 2
_root.sounds("wizz");
Symbol 833 MovieClip Frame 7
_root.sounds("step");
Symbol 833 MovieClip Frame 11
_parent.gotoAndStop("idle");
Instance of Symbol 9 MovieClip [hit] in Symbol 838 MovieClip Frame 3
onClipEvent (load) {
if (!_root.pau) {
_root.shoot(((_x * _parent._parent._xscale) / 100) + _parent._parent._x, (_y + _parent._y) + _parent._parent._y, _parent._parent._xscale, "hero");
}
}
Symbol 838 MovieClip Frame 9
if (!Key.isDown(83)) {
_parent.gotoAndStop("idle");
}
Symbol 840 MovieClip Frame 1
_xscale = 0;
_yscale = 0;
Instance of Symbol 9 MovieClip [hit] in Symbol 850 MovieClip Frame 8
onClipEvent (load) {
if (!_root.pau) {
_root.shoot(((_x * _parent._parent._xscale) / 100) + _parent._parent._x, (_y + _parent._y) + _parent._parent._y, _parent._parent._xscale, "hero");
}
}
Symbol 850 MovieClip Frame 17
if (Key.isDown(83)) {
gotoAndPlay (2);
} else {
_parent.gotoAndStop("idle");
}
Instance of Symbol 9 MovieClip [hit] in Symbol 857 MovieClip Frame 2
onClipEvent (load) {
if (!_root.pau) {
_root.shoot(((_x * _parent._parent._xscale) / 100) + _parent._parent._x, (_y + _parent._y) + _parent._parent._y, _parent._parent._xscale, "hero");
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 859 MovieClip Frame 3
onClipEvent (load) {
if (!_root.pau) {
_root.shoot(((_x * _parent._parent._xscale) / 100) + _parent._parent._x, (_y + _parent._y) + _parent._parent._y, _parent._parent._xscale, "hero");
}
}
Symbol 865 MovieClip Frame 7
_root.d++;
_root.attachMovie("smoke", "s" + _root.d, _root.d);
_root["s" + _root.d]._x = _parent._x;
_root["s" + _root.d]._y = _parent._y;
_root["s" + _root.d].scal = _parent._xscale / 100;
Instance of Symbol 9 MovieClip [hit] in Symbol 865 MovieClip Frame 7
onClipEvent (load) {
if (!_root.pau) {
_root.shoot(((_x * _parent._parent._xscale) / 100) + _parent._parent._x, (_y + _parent._y) + _parent._parent._y, _parent._parent._xscale, "hero");
}
}
Symbol 865 MovieClip Frame 13
if (!Key.isDown(83)) {
_parent.gotoAndStop("idle");
}
Symbol 873 MovieClip Frame 5
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 873 MovieClip Frame 5
onClipEvent (load) {
_root.herohit = this;
power = 7 + random(2);
}
Symbol 873 MovieClip Frame 9
_parent.gotoAndStop("idle");
Symbol 879 MovieClip Frame 5
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 879 MovieClip Frame 5
onClipEvent (load) {
_root.herohit = this;
power = 5 + (_root.weapon * 2);
_xscale = (_xscale + (_root.weapon * 2.5));
}
Symbol 879 MovieClip Frame 11
_parent.gotoAndStop("idle");
Instance of Symbol 9 MovieClip [hit] in Symbol 887 MovieClip Frame 4
onClipEvent (load) {
if (!_root.pau) {
_root.shoot((((((_x * _parent._parent._parent._parent._xscale) / 100) + _parent._x) + _parent._parent._x) + _parent._parent._parent._x) + _parent._parent._parent._parent._x, (((_y + _parent._y) + _parent._parent._y) + _parent._parent._parent._y) + _parent._parent._parent._parent._y, _parent._parent._parent._parent._xscale, "hero");
}
}
Symbol 887 MovieClip Frame 5
if (((((_root.gun == 1) || (_root.gun == 2)) || (_root.gun == 3)) || (_root.gun == 4)) || (_root.gun == 8)) {
gotoAndPlay ("bd");
}
if ((_root.gun == 9) || (_root.gun == 7)) {
gotoAndPlay (16);
}
Symbol 887 MovieClip Frame 6
if (_root.gun == 7) {
gotoAndPlay ("bd");
}
Symbol 887 MovieClip Frame 8
if ((_root.gun == 5) || (_root.gun == 6)) {
gotoAndPlay ("bd");
}
Symbol 887 MovieClip Frame 17
if (Key.isDown(83)) {
gotoAndPlay (1);
}
Symbol 887 MovieClip Frame 18
_parent.gotoAndStop("idle");
Symbol 888 MovieClip Frame 1
stop();
Instance of Symbol 871 MovieClip in Symbol 888 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (_root.weapon == 0) {
_parent.gotoAndStop("attack");
} else {
_parent.gotoAndStop("weapon");
}
}
if (Key.isDown(83)) {
_parent.gotoAndStop("shoot");
}
}
}
Symbol 899 MovieClip Frame 9
_root.explode(_parent._x, _parent._y, 1);
_parent.raging = true;
_root.shakey = _root.shakey + 25;
Symbol 899 MovieClip Frame 19
_parent.gotoAndStop("idle");
Symbol 909 MovieClip Frame 8
_root.explode(_parent._x + ((100 * _parent._xscale) / 100), _parent._y - 65, 2);
Symbol 909 MovieClip Frame 10
_root.explode(_parent._x + ((200 * _parent._xscale) / 100), _parent._y - 65, 2);
Symbol 909 MovieClip Frame 19
_parent.gotoAndStop("idle");
Symbol 919 MovieClip Frame 10
_root.explode(_parent._x + 100, _parent._y - 65, 2);
_root.explode(_parent._x - 100, _parent._y - 65, 2);
_root.explode(_parent._x, _parent._y - 65, 2);
Symbol 919 MovieClip Frame 20
_parent.gotoAndStop("idle");
Symbol 937 MovieClip Frame 9
_root.shakey = _root.shakey + 20;
_root.sounds("explosion");
Instance of Symbol 9 MovieClip [hit] in Symbol 937 MovieClip Frame 9
onClipEvent (load) {
_root.herohit = this;
power = 40;
}
Symbol 937 MovieClip Frame 29
_parent.gotoAndStop("idle");
Symbol 957 MovieClip Frame 1
power = 0;
stop();
Instance of Symbol 9 MovieClip [hit] in Symbol 957 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(83)) {
_parent.nextFrame();
}
if (Key.isDown(65)) {
_parent.gotoAndPlay("melee");
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 957 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(83)) {
_parent.nextFrame();
} else {
_parent.power = _parent._currentframe * 2;
_parent.gotoAndPlay(30);
}
if (Key.isDown(65)) {
_parent.gotoAndPlay("melee");
}
}
}
Symbol 957 MovieClip Frame 29
power = 60;
play();
Instance of Symbol 9 MovieClip [hit] in Symbol 957 MovieClip Frame 30
onClipEvent (enterFrame) {
if (!_root.pau) {
}
}
Symbol 957 MovieClip Frame 31
_root.sounds("explosion");
Instance of Symbol 9 MovieClip [hit] in Symbol 957 MovieClip Frame 31
onClipEvent (load) {
if (!_root.pau) {
_root.shoot((((_x * _parent._parent._parent._xscale) / 100) + _parent._parent._parent._x) + _parent._parent._x, ((_y + _parent._y) + _parent._parent._y) + _parent._parent._parent._y, _parent._parent._parent._xscale, "bigGun", _parent.power);
}
}
Symbol 957 MovieClip Frame 41
gotoAndStop (1);
Instance of Symbol 9 MovieClip [hit] in Symbol 957 MovieClip Frame 42
onClipEvent (load) {
_root.herohit = this;
power = 17;
}
Symbol 957 MovieClip Frame 43
_root.sounds("wizz");
Symbol 957 MovieClip Frame 56
gotoAndStop (1);
Symbol 971 MovieClip Frame 1
if (!_root.pau) {
_parent._x = _parent._x - (((_parent.speed / 5) * _parent._xscale) / 100);
}
Instance of Symbol 9 MovieClip [hit] in Symbol 971 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(38)) {
_parent.gotoAndStop("jump");
}
if (Key.isDown(40)) {
_parent.gotoAndPlay("duck");
}
if (Key.isDown(39)) {
_parent._parent._xscale = 100;
_parent._parent._x = _parent._parent._x + (_parent._parent.speed / 2);
} else if (Key.isDown(37)) {
_parent._parent._xscale = -100;
_parent._parent._x = _parent._parent._x - (_parent._parent.speed / 2);
} else {
_parent.gotoAndStop("idle");
}
}
}
Symbol 971 MovieClip Frame 7
if (!_root.pau) {
_parent._x = _parent._x + (((_parent.speed / 7) * _parent._xscale) / 100);
}
Symbol 971 MovieClip Frame 9
if (!_root.pau) {
_parent._x = _parent._x + (((_parent.speed / 7) * _parent._xscale) / 100);
}
Symbol 971 MovieClip Frame 11
if (!_root.pau) {
_parent._x = _parent._x + (((_parent.speed / 7) * _parent._xscale) / 100);
}
Symbol 971 MovieClip Frame 14
if (!_root.pau) {
_parent._x = _parent._x - (((_parent.speed / 5) * _parent._xscale) / 100);
}
Symbol 971 MovieClip Frame 17
gotoAndPlay (1);
Instance of Symbol 9 MovieClip [hit] in Symbol 971 MovieClip Frame 18
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(38)) {
_parent.gotoAndStop("jump");
}
if (Key.isDown(40)) {
_parent.gotoAndPlay("duck");
}
if (Key.isDown(39)) {
_parent._parent._xscale = 100;
_parent._parent._x = _parent._parent._x + (_parent._parent.speed / 4);
_parent.gotoAndPlay("walk");
}
if (Key.isDown(37)) {
_parent._parent._xscale = -100;
_parent._parent._x = _parent._parent._x - (_parent._parent.speed / 4);
_parent.gotoAndPlay("walk");
}
}
}
Symbol 971 MovieClip Frame 19
_parent.jump = true;
_parent._y = _parent._y - 50;
_parent.grav = 1;
Instance of Symbol 709 MovieClip in Symbol 971 MovieClip Frame 19
onClipEvent (enterFrame) {
if (!_root.pau) {
_root.hero._y = _root.hero._y - 3;
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 971 MovieClip Frame 19
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(39)) {
_parent._parent._xscale = 100;
_parent._parent._x = _parent._parent._x + (_parent._parent.speed / 2);
}
if (Key.isDown(37)) {
_parent._parent._xscale = -100;
_parent._parent._x = _parent._parent._x - (_parent._parent.speed / 2);
}
if (_parent._parent.grav == 0) {
_parent.gotoAndStop("idle");
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 971 MovieClip Frame 23
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(40)) {
_parent.nextFrame();
} else {
if (_parent._currentframe == 23) {
_parent.gotoAndStop("idle");
}
_parent.prevFrame();
}
}
}
Symbol 987 MovieClip Frame 10
_parent.gotoAndStop("idle");
Symbol 996 MovieClip Frame 9
_parent.gotoAndStop("idle");
Symbol 1009 MovieClip Frame 13
_parent.gotoAndStop("idle");
Symbol 1016 MovieClip Frame 13
_parent.gotoAndStop("idle");
Symbol 1031 MovieClip Frame 2
_root.shakey = _root.shakey + 20;
_root.shakex = _root.shakex + 20;
Symbol 1031 MovieClip Frame 14
_root.sounds("step");
Symbol 1031 MovieClip Frame 29
_root.shakey = _root.shakey + 10;
_root.shakex = _root.shakex + 10;
_root.sounds("wack");
Symbol 1031 MovieClip Frame 71
stop();
_root.lose();
Symbol 1032 MovieClip Frame 1
function attack() {
if (_root.weapon == 0) {
gotoAndStop ("attack");
} else {
gotoAndStop ("weapon_attack");
}
}
function shoot() {
if ((((_root.gun == 1) || (_root.gun == 2)) || (_root.gun == 3)) || (_root.gun == 4)) {
gotoAndStop ("shoot1");
}
if ((_root.gun == 5) || (_root.gun == 6)) {
gotoAndStop ("shoot2");
}
if (_root.gun == 7) {
gotoAndStop ("shoot3");
}
if (_root.gun == 8) {
gotoAndStop ("shoot4");
}
if (_root.gun == 9) {
gotoAndStop ("shoot3");
}
if (_root.gun == 10) {
gotoAndStop ("shoot5");
}
if (_root.gun == 11) {
gotoAndStop ("shoot5");
}
}
function hurt(lifeminus) {
_root.sounds("wack");
hurting = true;
life = life - lifeminus;
_root.shakex = _root.shakex + lifeminus;
if (raging) {
life = life + 3;
}
_root.rage = _root.rage - lifeminus;
_root.bleed(_x + ((bx * _xscale) / 100), _y + by, _xscale);
if (Math.round(lifeminus - (_root.lvlp / 3)) >= 10) {
gotoAndStop ("big_hurt");
} else {
goto = ["hurt1", "hurt2", "hurt3"];
gotoAndStop(goto[random(goto.length)]);
}
}
function rage() {
if (_root.rage >= 100) {
if (_root.currentSpecial == 0) {
gotoAndStop ("rage");
_root.rage = _root.rage - 50;
}
if (_root.currentSpecial == 1) {
gotoAndStop ("rp1");
}
if (_root.currentSpecial == 2) {
gotoAndStop ("rp2");
}
if (_root.currentSpecial == 3) {
gotoAndStop ("rp3");
}
}
}
function bbounce(bhigh) {
bbb = bhigh;
bounce = true;
jump = true;
grav = 4;
gotoAndStop ("jump");
}
onEnterFrame = function () {
if (!_root.pau) {
if (!hitTest(_root.BG)) {
_root.lose();
}
if (grav > 200) {
_root.lose();
}
if (life <= 0) {
life = 0;
}
if (bounce) {
_y = (_y - bbb);
}
if (hurting) {
hut++;
}
if (hut > 7) {
hurting = false;
hut = 0;
}
if (raging) {
speed = 17;
jumph = 17;
rTimer++;
} else {
speed = 13;
jumph = 15;
rTimer = 0;
}
if (rTimer > 75) {
life = life + 2;
rTimer = 0;
}
if (!define) {
_name = "hero";
stop();
life = _root.heroLife;
rTimer = 0;
grav = 0;
speed = 13;
jumph = 16;
hut = 0;
high = 90;
wid = 35;
rollTimer = 0;
define = true;
}
if (_root.level >= 8) {
speed = 16;
}
if (_root.level >= 9) {
jumph = 22;
}
if (life > _root.maxLife) {
life = _root.maxLife;
}
if (!raging) {
fire._visible = false;
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
bounce = false;
_y = (_y-1);
grav = 0;
}
while (_root.ground.hitTest(_x + wid, _y - (high / 3), true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - wid, _y - (high / 3), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - (high / 2), true)) {
jump = false;
_y = (_y+1);
}
if (jump) {
_y = (_y - jumph);
}
if (roll) {
rollTimer++;
}
if (rollTimer >= 4) {
roll = false;
rollTimer = 0;
}
if (life <= 0) {
gotoAndStop ("die");
}
_root.heroLife = life;
}
};
lmao = new Color(this);
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);
};
jj = false;
Instance of Symbol 712 MovieClip in Symbol 1032 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(68)) {
_parent.rage();
}
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
if (_parent.grav > 7) {
_parent.jj = true;
_parent.gotoAndStop("jump");
}
if (_parent.bigGun) {
_parent.gotoAndStop("big_gun");
}
if (Key.isDown(40)) {
_parent.gotoAndStop("duck");
}
if (Key.isDown(65)) {
_parent.attack();
}
if (Key.isDown(83)) {
_parent.shoot();
}
if (Key.isDown(38)) {
_parent.jump = true;
_parent.gotoAndStop("jump");
}
if (Key.isDown(37)) {
_parent._xscale = -100;
if (_parent.roll && (_parent.rollKey == 37)) {
_parent.gotoAndStop("roll");
} else {
_parent.gotoAndStop("run");
}
}
if (Key.isDown(39)) {
_parent._xscale = 100;
if (_parent.roll && (_parent.rollKey == 39)) {
_parent.gotoAndStop("roll");
} else {
_parent.gotoAndStop("run");
}
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 1032 MovieClip Frame 1
onClipEvent (load) {
_x = (_x + (random(100) / 10));
_y = (_y + (random(24) - 12));
_parent.bx = _x;
_parent.by = _y;
this.swapDepths(9999);
this.removeMovieClip();
}
Symbol 1032 MovieClip Frame 5
_root.d++;
_root.attachMovie("smoke", "s" + _root.d, _root.d);
_root["s" + _root.d]._x = _x;
_root["s" + _root.d]._y = _y;
_root["s" + _root.d].scal = _xscale / 100;
Instance of Symbol 718 MovieClip in Symbol 1032 MovieClip Frame 5
onClipEvent (load) {
_parent.roll = true;
_parent.rollTimer = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(68)) {
_parent.rage();
}
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
if (_parent.grav > 7) {
_parent.jj = true;
_parent.gotoAndStop("jump");
}
if (_parent.bigGun) {
_parent.gotoAndStop("big_gun");
}
if (Key.isDown(40)) {
_parent.gotoAndStop("duck");
}
if (Key.isDown(65)) {
_parent.attack();
}
if (Key.isDown(83)) {
_parent.shoot();
}
if (_parent._xscale == 100) {
_parent.rollKey = 39;
}
if (_parent._xscale == -100) {
_parent.rollKey = 37;
}
if (Key.isDown(38) && (_parent.grav < 4)) {
_parent.jump = true;
_parent.gotoAndStop("jump");
}
if (Key.isDown(37)) {
if (_parent._xscale == 100) {
_root.d++;
_root.attachMovie("smoke", "s" + _root.d, _root.d);
_root["s" + _root.d]._x = _parent._x;
_root["s" + _root.d]._y = _parent._y;
_root["s" + _root.d].scal = (_parent._xscale / 100) * -1;
}
_parent._xscale = -100;
_parent._x = _parent._x - _parent.speed;
} else if (Key.isDown(39)) {
if (_parent._xscale == -100) {
_root.d++;
_root.attachMovie("smoke", "s" + _root.d, _root.d);
_root["s" + _root.d]._x = _parent._x;
_root["s" + _root.d]._y = _parent._y;
_root["s" + _root.d].scal = (_parent._xscale / 100) * -1;
}
_parent._xscale = 100;
_parent._x = _parent._x + _parent.speed;
} else {
_parent.gotoAndStop("idle");
}
}
}
Instance of Symbol 787 MovieClip in Symbol 1032 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
}
}
Instance of Symbol 826 MovieClip in Symbol 1032 MovieClip Frame 15
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
}
}
Symbol 1032 MovieClip Frame 27
_root.d++;
_root.attachMovie("smoke", "s" + _root.d, _root.d);
_root["s" + _root.d]._x = _x;
_root["s" + _root.d]._y = _y;
_root["s" + _root.d].scal = _xscale / 100;
if (raging && (_root.level >= 4)) {
_root.explode(_x, _y, 2);
}
Instance of Symbol 685 MovieClip "fire" in Symbol 1032 MovieClip Frame 27
onClipEvent (load) {
speed = 11;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_rotation = (_rotation + speed);
speed--;
}
}
Instance of Symbol 833 MovieClip in Symbol 1032 MovieClip Frame 27
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((26 * _parent._xscale) / 100);
if (Key.isDown(87)) {
_parent.rage();
}
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
}
_parent.rolling = true;
}
onClipEvent (unload) {
_parent.rolling = false;
}
Instance of Symbol 838 MovieClip in Symbol 1032 MovieClip Frame 31
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
}
}
Instance of Symbol 840 MovieClip in Symbol 1032 MovieClip Frame 31
onClipEvent (load) {
e = true;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(69)) {
if (!e) {
_parent.shoot();
e = true;
_parent.gotoAndStop("idle");
}
}
if (!Key.isDown(69)) {
e = false;
}
}
}
Instance of Symbol 850 MovieClip in Symbol 1032 MovieClip Frame 38
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
}
}
Instance of Symbol 857 MovieClip in Symbol 1032 MovieClip Frame 45
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!Key.isDown(83)) {
_parent.gotoAndStop("idle");
}
}
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
}
}
Instance of Symbol 859 MovieClip in Symbol 1032 MovieClip Frame 52
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!Key.isDown(83)) {
_parent.gotoAndStop("idle");
}
}
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
}
}
Instance of Symbol 865 MovieClip in Symbol 1032 MovieClip Frame 59
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
}
}
Instance of Symbol 889 MovieClip in Symbol 1032 MovieClip Frame 66
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(40)) {
nextFrame();
} else {
prevFrame();
if (_currentframe == 1) {
_parent.gotoAndStop("idle");
}
}
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
if (Key.isDown(68)) {
_parent.rage();
}
}
}
Symbol 1032 MovieClip Frame 76
_root.rage = _root.rage - 40;
Symbol 1032 MovieClip Frame 80
_root.rage = _root.rage - 50;
Symbol 1032 MovieClip Frame 84
_root.rage = _root.rage - 60;
Instance of Symbol 971 MovieClip in Symbol 1032 MovieClip Frame 90
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.rage >= 100) {
if (!_parent.raging) {
_parent.gotoAndStop("rage");
}
}
}
}
Symbol 1032 MovieClip Frame 97
if (!jj) {
jump = true;
_y = (_y - 60);
grav = 1;
}
_root.sounds("wizz");
Instance of Symbol 976 MovieClip in Symbol 1032 MovieClip Frame 97
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
_parent.gotoAndStop("air_roll");
}
if (Key.isDown(83)) {
_parent.gotoAndStop("air_roll");
}
if (Key.isDown(37)) {
_parent._xscale = -100;
_parent._x = _parent._x - _parent.speed;
}
if (Key.isDown(39)) {
_parent._xscale = 100;
_parent._x = _parent._x + _parent.speed;
}
if (_parent.grav == 0) {
if (_parent.omgGrav > 39) {
_root.shakey = _root.shakey + (_parent.omgGrav - 20);
}
if (!Key.isDown(37)) {
_root.d++;
_root.attachMovie("smoke", "s" + _root.d, _root.d);
_root["s" + _root.d]._x = _parent._x;
_root["s" + _root.d]._y = _parent._y;
_root["s" + _root.d].scal = (_parent._xscale / 100) * -1;
}
if (!Key.isDown(39)) {
_root.d++;
_root.attachMovie("smoke", "s" + _root.d, _root.d);
_root["s" + _root.d]._x = _parent._x;
_root["s" + _root.d]._y = _parent._y;
_root["s" + _root.d].scal = _parent._xscale / 100;
}
_parent.bounce = false;
_parent.gotoAndStop("idle");
} else {
_parent.omgGrav = _parent.grav;
}
}
}
Symbol 1032 MovieClip Frame 102
if (raging && (_root.level >= 4)) {
_root.explode(_x, _y, 2);
}
_root.sounds("wizz");
Instance of Symbol 685 MovieClip "fire" in Symbol 1032 MovieClip Frame 102
onClipEvent (load) {
_parent.ff = this;
}
Instance of Symbol 978 MovieClip "air_roll" in Symbol 1032 MovieClip Frame 102
onClipEvent (load) {
speed = 34;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x + ((speed * _parent._xscale) / 100);
_parent.ff._rotation = (speed * 2.5) * -1;
if (speed > 1) {
speed = speed - 2;
} else {
if (Key.isDown(37)) {
_parent._xscale = -100;
_parent._x = _parent._x - (_parent.speed / 2);
}
if (Key.isDown(39)) {
_parent._xscale = 100;
_parent._x = _parent._x + (_parent.speed / 2);
}
}
_rotation = (_rotation + (speed * 2.7));
if (_parent.grav == 0) {
if (_parent.omgGrav > 39) {
_root.shakey = _root.shakey + (_parent.omgGrav - 20);
}
if (!Key.isDown(37)) {
_root.d++;
_root.attachMovie("smoke", "s" + _root.d, _root.d);
_root["s" + _root.d]._x = _parent._x;
_root["s" + _root.d]._y = _parent._y;
_root["s" + _root.d].scal = (_parent._xscale / 100) * -1;
}
if (!Key.isDown(39)) {
_root.d++;
_root.attachMovie("smoke", "s" + _root.d, _root.d);
_root["s" + _root.d]._x = _parent._x;
_root["s" + _root.d]._y = _parent._y;
_root["s" + _root.d].scal = _parent._xscale / 100;
}
_parent.bounce = false;
_parent.gotoAndStop("idle");
} else {
_parent.omgGrav = _parent.grav;
}
}
}
Instance of Symbol 1016 MovieClip in Symbol 1032 MovieClip Frame 124
onClipEvent (enterFrame) {
if (!_root.pau) {
_parent._x = _parent._x - (((_parent.speed * 2) * _parent._xscale) / 100);
}
}
Symbol 1032 MovieClip Frame 131
_root.rage = 0;
Symbol 1036 MovieClip Frame 1
if (!sett) {
gotoAndPlay(random(19));
sett = true;
}
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1043 MovieClip Frame 1
stop();
Instance of Symbol 1041 MovieClip in Symbol 1043 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (_root.hero.jump == true) {
if (_root.hero.grav > 15) {
_parent.play();
}
}
}
if (!hitTest(_root.screenhit)) {
_parent._visible = false;
} else {
_parent._visible = true;
}
}
}
Symbol 1043 MovieClip Frame 2
_root.hero.bbounce(up);
_root.hero._y = _root.hero._y - 20;
Symbol 1044 MovieClip Frame 1
stop();
Instance of Symbol 9 MovieClip [hit] in Symbol 1044 MovieClip Frame 1
onClipEvent (load) {
randNum = Math.round((random(9999) / random(99)) * random(99)) + random(9999);
bName = "b_" + random(99999);
_root.ground.attachMovie("hit", bName, randNum);
_root.ground[bName]._x = (_x + _parent._x) - _root.ground._x;
_root.ground[bName]._y = (_y + _parent._y) - _root.ground._y;
_root.ground[bName]._xscale = _xscale;
_root.ground[bName]._yscale = _yscale;
}
onClipEvent (unload) {
_root.ground[bName].removeMovieClip();
}
Symbol 1044 MovieClip Frame 2
stop();
Instance of Symbol 1043 MovieClip in Symbol 1044 MovieClip Frame 2
onClipEvent (load) {
up = _parent.up;
}
Symbol 1044 MovieClip Frame 3
stop();
Symbol 1044 MovieClip Frame 4
stop();
Instance of Symbol 9 MovieClip [hit] in Symbol 1051 MovieClip Frame 1
onClipEvent (load) {
randNum = random(99999) + random(99999);
_root.ground.attachMovie("hit", "lvle" + randNum, randNum);
_root.ground["lvle" + randNum]._x = (_x + _parent._x) - _root.ground._x;
_root.ground["lvle" + randNum]._y = (_y + _parent._y) - _root.ground._y;
_root.ground["lvle" + randNum]._xscale = _xscale;
_root.ground["lvle" + randNum]._yscale = _yscale;
}
onClipEvent (unload) {
_root.ground["lvle" + randNum].removeMovieClip();
}
Symbol 1051 MovieClip Frame 4
if (end) {
gotoAndStop ("off");
} else {
gotoAndPlay (1);
}
Symbol 1056 MovieClip Frame 1
gotoAndStop(_parent.weapon);
Symbol 1060 MovieClip Frame 1
gotoAndStop(_parent.gun);
Symbol 1065 MovieClip Frame 1
function msg() {
if (weapon != "none") {
_root.msg("You've unlocked a new Melee Weapon! Press Q to toggle it and A to use it when equipped!");
}
if (gun != "none") {
_root.msg("You've unlocked a new gun! Press E to toggle it and S to shoot it!");
}
}
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Instance of Symbol 9 MovieClip [hit] in Symbol 1065 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.unlockedGuns[0] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedGuns[1] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedGuns[2] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedGuns[3] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedGuns[4] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedGuns[5] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedGuns[6] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedGuns[7] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedGuns[8] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedGuns[9] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedGuns[10] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedGuns[11] == _parent.gun) {
_parent.gotoAndStop("used");
}
if (_root.unlockedWeapons[0] == _parent.weapon) {
_parent.gotoAndStop("used");
}
if (_root.unlockedWeapons[1] == _parent.weapon) {
_parent.gotoAndStop("used");
}
if (_root.unlockedWeapons[2] == _parent.weapon) {
_parent.gotoAndStop("used");
}
if (_root.unlockedWeapons[3] == _parent.weapon) {
_parent.gotoAndStop("used");
}
if (_root.unlockedWeapons[4] == _parent.weapon) {
_parent.gotoAndStop("used");
}
if (_root.unlockedWeapons[5] == _parent.weapon) {
_parent.gotoAndStop("used");
}
if (hitTest(_root.hero.hit)) {
if (_parent.weapon != "none") {
_root.unlockedWeapons.push(_parent.weapon);
_parent.msg();
_parent.gotoAndStop("usedd");
}
if (_parent.gun != "none") {
_root.unlockedGuns.push(_parent.gun);
_parent.msg();
_parent.gotoAndStop("gun");
}
}
}
}
Symbol 1065 MovieClip Frame 18
gotoAndPlay (1);
Symbol 1119 MovieClip Frame 1
gotoAndStop(_parent.lvl);
Instance of Symbol 9 MovieClip [hit] in Symbol 1125 MovieClip Frame 1
onClipEvent (load) {
randNum = random(99999) + random(99999);
_root.ground.attachMovie("hit", "lvle2" + randNum, randNum);
_root.ground["lvle2" + randNum]._x = (_x + _parent._x) - _root.ground._x;
_root.ground["lvle2" + randNum]._y = (_y + _parent._y) - _root.ground._y;
_root.ground["lvle2" + randNum]._xscale = _xscale - 100;
_root.ground["lvle2" + randNum]._yscale = _yscale;
}
onClipEvent (unload) {
_root.ground["lvle2" + randNum].removeMovieClip();
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (_root.level >= _parent.lvl) {
_root.msg("Your level is strong enough to pass! Congrats!");
_parent.gotoAndStop("end");
} else {
_root.msg(("You need to at least be a level " + _parent.lvl) + " to pass this gate.");
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
} else {
_parent._visible = false;
}
}
Symbol 1125 MovieClip Frame 5
gotoAndPlay (1);
Instance of Symbol 9 MovieClip [hit] in Symbol 1125 MovieClip Frame 6
onClipEvent (load) {
_root.ground.attachMovie("hit", "lvle3", 3);
_root.ground.lvle3._x = (_x + _parent._x) - _root.ground._x;
_root.ground.lvle3._y = (_y + _parent._y) - _root.ground._y;
_root.ground.lvle3._xscale = _xscale;
_root.ground.lvle3._yscale = _yscale;
}
onClipEvent (unload) {
_root.ground.lvle3.removeMovieClip();
}
Instance of Symbol 1148 MovieClip in Symbol 1173 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (7);
}
Instance of Symbol 1153 MovieClip in Symbol 1173 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Instance of Symbol 1153 MovieClip in Symbol 1173 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (5);
}
onClipEvent (enterFrame) {
_rotation = (_rotation - 2);
}
Instance of Symbol 9 MovieClip [hit] in Symbol 1173 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hit)) {
if (!_root.pau) {
_root.win();
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
} else {
_parent._visible = false;
}
}
Symbol 1177 MovieClip Frame 1
_root.screenhit._x = _parent._x;
_root.screenhit._y = _parent._y;
_root.BG._y = _parent._y / 2;
_root.BG._x = _parent._x / 2;
if (_root.shakeon) {
shakex = _root.shakex;
shakey = _root.shakey;
} else {
shakex = 0;
shakey = 0;
}
_root._x = ((_parent._x * -1) + 300) + shakex;
_root._y = ((_parent._y * -1) + 200) + shakey;
Symbol 1177 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1179 Button
on (release) {
getURL (_root.sponsor, "_blank");
}
Symbol 1184 MovieClip Frame 1
_visible = false;
Instance of Symbol 9 MovieClip [hit] in Symbol 1184 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.rage >= 100) {
_parent.nextFrame();
} else {
_parent.prevFrame();
}
_parent.specc = "special: " + _root.currentSpecial;
}
Symbol 1184 MovieClip Frame 2
_visible = true;
Symbol 1195 MovieClip Frame 1
gotoAndStop(Number(_root.weapon) + 1);
Symbol 1197 MovieClip Frame 8
stop();
Symbol 1208 MovieClip Frame 1
gotoAndStop(_root.gun);
onEnterFrame = function () {
gotoAndStop(_root.gun);
};
Symbol 1210 MovieClip Frame 1
ammo = _root.ammo;
Symbol 1210 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1211 MovieClip Frame 10
stop();
Symbol 1242 MovieClip Frame 10
stop();
Symbol 1247 MovieClip Frame 10
stop();
Symbol 1248 MovieClip Frame 1
onEnterFrame = function () {
if (_root.hero.raging) {
gotoAndStop ("rage");
} else if (_root.hero.hurting) {
gotoAndStop ("hurt");
} else {
gotoAndStop ("idle");
}
};
Symbol 1255 MovieClip Frame 2
stop();
if (_root.boss) {
_visible = true;
} else {
_visible = false;
}
Instance of Symbol 1252 MovieClip in Symbol 1255 MovieClip Frame 2
onClipEvent (load) {
life = _root.bossmc.life;
}
onClipEvent (enterFrame) {
if (_xscale > 0) {
_xscale = ((_root.bossmc.life / life) * 100);
}
if (_xscale < 0) {
_xscale = 0;
}
}
Symbol 1257 MovieClip Frame 1
_visible = false;
Symbol 1261 MovieClip Frame 1
onEnterFrame = function () {
lmfao = _root.cam.mes;
};
Symbol 1262 MovieClip Frame 1
stop();
_name = "mess";
Symbol 1262 MovieClip Frame 2
play();
Symbol 1267 MovieClip Frame 1
stop();
_visible = false;
Symbol 1267 MovieClip Frame 2
_visible = true;
Symbol 1267 MovieClip Frame 33
_root.gotoAndStop("nextLvl");
Symbol 1270 MovieClip Frame 1
gotoAndPlay (2);
Symbol 1270 MovieClip Frame 16
stop();
_visible = false;
Symbol 1273 Button
on (release) {
play();
}
Symbol 1274 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 1275 Button
on (release) {
getURL ("http://www.crazyawesomeyeah.com", "_blank");
}
Symbol 1276 MovieClip Frame 1
cam._visible = false;
_root.pau = false;
stop();
onEnterFrame = function () {
if (!swap) {
swapDepths(99999);
swap = true;
}
life.life = ("life: " + Math.round(_root.hero.life)) + "%";
rage.life = "rage: " + Math.round(_root.rage);
exp.life = (("exp: " + _root.experience) + "/") + _root.nextlvl;
head.lvl = "lvl: " + _root.level;
sclol = "score: " + Math.round(_root.score);
};
Instance of Symbol 1214 MovieClip in Symbol 1276 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.hero.life / _root.maxLife) * 100);
}
Instance of Symbol 1218 MovieClip in Symbol 1276 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.rage > 100) {
_xscale = 100;
} else {
_xscale = _root.rage;
}
if (_root.rage <= 0) {
_root.hero.raging = false;
gotoAndStop (1);
}
if (_root.rage > 0) {
if (_root.hero.raging) {
_root.rage = _root.rage - 0.2;
play();
} else {
_root.rage = _root.rage - 0.1;
gotoAndStop (1);
}
}
}
}
Instance of Symbol 1220 MovieClip in Symbol 1276 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.experience / _root.nextlvl) * 100);
}
Instance of Symbol 840 MovieClip in Symbol 1276 MovieClip Frame 1
on (keyPress "p") {
_parent.play();
}
Symbol 1276 MovieClip Frame 2
stop();
_root.pau = true;
Symbol 1278 MovieClip Frame 1
_visible = false;
Symbol 1295 MovieClip Frame 1
ok = false;
Symbol 1295 MovieClip Frame 6
_root.sounds("wizz");
ok = true;
Symbol 1295 MovieClip Frame 16
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 1295 MovieClip Frame 17
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(2 + _parent._parent.power);
_root.hero._xscale = _parent._parent._xscale * -1;
}
}
}
Symbol 1295 MovieClip Frame 18
_root.sounds("wack");
Symbol 1306 MovieClip Frame 10
_root.enemyBeam(_parent._x + ((40 * _parent._xscale) / 100), _parent._y - 60, _parent._xscale, "boss1_bullet");
_root.sounds("wack");
Symbol 1306 MovieClip Frame 36
_parent.gotoAndStop("idle");
Symbol 1326 MovieClip Frame 13
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 1326 MovieClip Frame 13
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(2 + _parent._parent.power);
_root.hero._xscale = _parent._parent._xscale * -1;
}
}
}
Symbol 1326 MovieClip Frame 36
_parent.gotoAndStop("idle");
Symbol 1336 MovieClip Frame 10
_parent.gotoAndStop("idle");
if (random(4) == 1) {
_parent.gotoAndStop("bounce");
}
Symbol 1345 MovieClip Frame 13
_root.shakey = _root.shakey + 20;
_root.createExp(_parent._x, _parent._y, 30);
_root.experience = _root.experience + _parent.levelup;
_root.sounds("explosion");
Symbol 1345 MovieClip Frame 117
_root.win();
stop();
Symbol 1346 MovieClip Frame 1
function hurt(lifeminus, melee) {
if (ha) {
if (!bouncing) {
if (lifeminus > 0) {
_root.sounds("wack");
_root.rage = _root.rage + 3;
if (melee) {
lifeminus = lifeminus + _root.level;
_root.shakex = _root.shakex + (lifeminus / 1.5);
_root.rage = _root.rage + (2 + (lifeminus / 3));
} else {
_root.shakex--;
_root.shakex = _root.shakex + (lifeminus / 4);
}
melee = false;
gotoAndStop (1);
jump = false;
grav = 1;
h++;
_root.bleed(_x + ((50 * _xscale) / 100), _y - 100, _xscale);
frames = ["hurt"];
life = life - lifeminus;
_root.score = _root.score + lifeminus;
gotoAndStop(frames[random(frames.length)]);
}
}
}
}
onEnterFrame = function () {
if (!_root.pau) {
if (!setvars) {
stop();
grav = 0;
speed = 11 + (_root.lvlp / 2);
life = 300 + (_root.lvlp * 2);
power = 6 + _root.lvlp;
ht = 0;
hTime = 50;
h = 0;
if (speed > 20) {
speed = 20;
}
levelup = 100;
setvars = true;
}
if (life <= 0) {
gotoAndStop ("die");
}
if (!_root.ground.hitTest(_x, _y - 6, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y - 6, true)) {
_y = (_y-1);
}
if (h >= 7) {
ha = false;
}
if (!ha) {
ht++;
_alpha = 50;
}
if (ht > hTime) {
h = 0;
ht = 0;
_alpha = 100;
ha = true;
}
}
};
Instance of Symbol 1284 MovieClip in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(50) == 1) {
_parent.gotoAndStop("bounce");
}
if (_root.hero._x > (_parent._x + 100)) {
if (random(13) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 100)) {
if (random(13) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(10) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(25) == 1) {
_parent.gotoAndStop("beam");
}
}
}
}
Instance of Symbol 357 MovieClip in Symbol 1346 MovieClip Frame 1
onClipEvent (enterFrame) {
while (hitTest(_root.lvlend)) {
_parent._x--;
}
while (hitTest(_root.lvlbegin)) {
_parent._x++;
}
}
Instance of Symbol 1285 MovieClip in Symbol 1346 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(50) == 1) {
_parent.gotoAndStop("bounce");
}
if (random(70) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > _parent._x) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < _parent._x) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
}
}
Instance of Symbol 1295 MovieClip in Symbol 1346 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
timer++;
if (timer > 100) {
if (!ok) {
_parent.gotoAndStop("idle");
}
}
if (_root.hero._x > _parent._x) {
if (!ok) {
_parent._xscale = 100;
}
}
if (_root.hero._x < _parent._x) {
if (!ok) {
_parent._xscale = -100;
}
}
if (ok) {
_parent.bouncing = true;
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
} else {
_parent.bouncing = false;
}
}
}
onClipEvent (load) {
timer = 0;
}
onClipEvent (unload) {
_parent.bouncing = false;
}
Symbol 1350 MovieClip Frame 1
_visible = false;
Symbol 1352 MovieClip Frame 1
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1354 MovieClip Frame 1
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1357 MovieClip Frame 1
_visible = false;
Symbol 1369 MovieClip Frame 7
_root.sounds("step");
Instance of Symbol 9 MovieClip [hit] in Symbol 1377 MovieClip Frame 9
onClipEvent (load) {
if (!_root.pau) {
_root.b2shoot(((_x * _parent._parent._xscale) / 100) + _parent._parent._x, (_y + _parent._y) + _parent._parent._y, _parent._parent._xscale);
}
}
Symbol 1377 MovieClip Frame 15
_parent.gotoAndStop("idle");
Symbol 1389 MovieClip Frame 5
_root.sounds("explosion");
Instance of Symbol 9 MovieClip [hit] in Symbol 1389 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(2 + _parent._parent.power);
_root.hero._xscale = _parent._parent._xscale * -1;
}
}
}
Symbol 1389 MovieClip Frame 31
_parent.gotoAndStop("idle");
Instance of Symbol 9 MovieClip [hit] in Symbol 1398 MovieClip Frame 9
onClipEvent (load) {
if (!_root.pau) {
_root.b2mine(((_x * _parent._parent._xscale) / 100) + _parent._parent._x, (_y + _parent._y) + _parent._parent._y, _parent._parent._xscale);
}
}
Symbol 1398 MovieClip Frame 18
_parent.gotoAndStop("run");
Symbol 1409 MovieClip Frame 11
if (random(10) > 3) {
_parent.gotoAndStop("idle");
} else {
_parent.gotoAndStop("bomb");
}
Symbol 1424 MovieClip Frame 14
_root.shakey = _root.shakey + 20;
_root.createExp(_parent._x, _parent._y, 50);
_root.experience = _root.experience + _parent.levelup;
Symbol 1424 MovieClip Frame 117
_root.win();
stop();
Symbol 1425 MovieClip Frame 1
function hurt(lifeminus, melee) {
if (ha) {
if (!bouncing) {
if (lifeminus > 0) {
_root.sounds("wack");
_root.rage = _root.rage + 3;
if (melee) {
lifeminus = lifeminus + _root.level;
_root.shakex = _root.shakex + (lifeminus / 1.5);
_root.rage = _root.rage + (2 + (lifeminus / 3));
} else {
_root.shakex--;
_root.shakex = _root.shakex + (lifeminus / 4);
}
melee = false;
gotoAndStop (1);
jump = false;
grav = 1;
h++;
_root.bleed(_x + ((50 * _xscale) / 100), _y - 100, _xscale);
frames = ["hurt"];
life = life - lifeminus;
_root.score = _root.score + lifeminus;
gotoAndStop(frames[random(frames.length)]);
}
}
}
}
onEnterFrame = function () {
if (!_root.pau) {
if (!setvars) {
stop();
grav = 0;
speed = 11 + (_root.lvlp / 2);
life = 500 + (_root.lvlp * 2);
power = 6 + _root.lvlp;
ht = 0;
hTime = 50;
h = 0;
if (speed > 20) {
speed = 20;
}
levelup = 150;
setvars = true;
}
if (life <= 0) {
gotoAndStop ("die");
}
if (!_root.ground.hitTest(_x, _y - 6, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y - 6, true)) {
_y = (_y-1);
}
if (h >= 7) {
ha = false;
}
if (!ha) {
ht++;
_alpha = 50;
}
if (ht > hTime) {
h = 0;
ht = 0;
_alpha = 100;
ha = true;
}
}
};
Instance of Symbol 1364 MovieClip in Symbol 1425 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.hero._x > (_parent._x + 100)) {
if (random(13) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 100)) {
if (random(13) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
}
}
Instance of Symbol 357 MovieClip in Symbol 1425 MovieClip Frame 1
onClipEvent (enterFrame) {
while (hitTest(_root.lvlend)) {
_parent._x--;
}
while (hitTest(_root.lvlbegin)) {
_parent._x++;
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 1425 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(75) == 1) {
_parent.gotoAndStop("mine");
}
if (random(70) == 1) {
_parent.gotoAndStop("bomb");
}
if (hitTest(_root.hero.hit)) {
if (random(35) == 1) {
_parent.gotoAndStop("fire");
}
}
}
}
Instance of Symbol 1369 MovieClip in Symbol 1425 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(70) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > _parent._x) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < _parent._x) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
}
}
Symbol 1425 MovieClip Frame 29
_root.sounds("grunt");
Symbol 1429 MovieClip Frame 1
_visible = false;
Symbol 1431 MovieClip Frame 1
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1433 MovieClip Frame 1
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1435 MovieClip Frame 1
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1438 MovieClip Frame 1
_visible = false;
Symbol 1448 MovieClip Frame 3
_root.sounds("wizz");
Symbol 1448 MovieClip Frame 11
_parent._x = _root.hero._x + ((random(300) * _root.hero._xscale) / 100);
Symbol 1448 MovieClip Frame 12
while (_root.levelbegin.hitTest(_parent._x, _parent._y, true)) {
_parent._x++;
}
while (_root.levelend.hitTest(_parent._x, _parent._y, true)) {
_parent._x--;
}
Symbol 1448 MovieClip Frame 23
_parent.gotoAndStop("up");
Instance of Symbol 9 MovieClip [hit] in Symbol 1455 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(4 + _parent._parent.power);
_root.hero._xscale = _parent._parent._xscale * -1;
}
}
}
Symbol 1455 MovieClip Frame 13
_parent.gotoAndStop("idle");
Instance of Symbol 9 MovieClip [hit] in Symbol 1464 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(4 + _parent._parent.power);
_root.hero._xscale = _parent._parent._xscale * -1;
}
}
}
Symbol 1464 MovieClip Frame 17
_parent.gotoAndStop("idle");
Symbol 1484 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.pau) {
play();
} else {
stop();
}
};
Symbol 1484 MovieClip Frame 2
_root.boss2garden.play();
Symbol 1484 MovieClip Frame 13
_root.shakey = _root.shakey + 100;
Symbol 1484 MovieClip Frame 27
_parent.gotoAndStop("idle");
Symbol 1494 MovieClip Frame 10
_parent.gotoAndStop("idle");
Symbol 1505 MovieClip Frame 9
_root.shakey = _root.shakey + 20;
_root.createExp(_parent._x, _parent._y, 60);
_root.experience = _root.experience + _parent.levelup;
Symbol 1505 MovieClip Frame 131
_root.win();
stop();
Symbol 1506 MovieClip Frame 1
function hurt(lifeminus, melee) {
if (aa) {
if (ha) {
if (!bouncing) {
if (lifeminus > 0) {
_root.sounds("wack");
_root.rage = _root.rage + 3;
if (melee) {
lifeminus = lifeminus + _root.level;
_root.shakex = _root.shakex + (lifeminus / 1.5);
_root.rage = _root.rage + (2 + (lifeminus / 3));
} else {
_root.shakex--;
_root.shakex = _root.shakex + (lifeminus / 4);
}
melee = false;
gotoAndStop (1);
jump = false;
grav = 1;
h++;
_root.bleed(_x + ((50 * _xscale) / 100), _y - 100, _xscale);
frames = ["hurt"];
life = life - lifeminus;
_root.score = _root.score + lifeminus;
gotoAndStop(frames[random(frames.length)]);
}
}
}
}
}
onEnterFrame = function () {
if (!_root.pau) {
if (!setvars) {
stop();
grav = 0;
speed = 11 + (_root.lvlp / 2);
life = 500 + (_root.lvlp * 2);
power = 6 + _root.lvlp;
ht = 0;
hTime = 50;
h = 0;
if (speed > 20) {
speed = 20;
}
levelup = 150;
setvars = true;
}
if (life <= 0) {
gotoAndStop ("die");
}
if (!_root.ground.hitTest(_x, _y - 6, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y - 6, true)) {
_y = (_y-1);
}
if (h >= 7) {
ha = false;
}
if (!ha) {
ht++;
_alpha = 50;
}
if (ht > hTime) {
h = 0;
ht = 0;
_alpha = 100;
ha = true;
}
}
};
aa = true;
Instance of Symbol 1442 MovieClip in Symbol 1506 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(80) == 1) {
_parent.gotoAndStop("big");
}
if (_root.hero._x > _parent._x) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < _parent._x) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 1506 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hit)) {
if (random(50) == 1) {
_parent.gotoAndStop("att");
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 1506 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!hitTest(_root.hero.hit)) {
if (random(10) == 1) {
_parent.gotoAndStop("down");
}
}
}
Instance of Symbol 357 MovieClip in Symbol 1506 MovieClip Frame 1
onClipEvent (enterFrame) {
while (hitTest(_root.lvlend)) {
_parent._x--;
}
while (hitTest(_root.lvlbegin)) {
_parent._x++;
}
}
Symbol 1506 MovieClip Frame 5
aa = false;
Symbol 1506 MovieClip Frame 11
aa = false;
Symbol 1506 MovieClip Frame 15
aa = true;
Instance of Symbol 9 MovieClip [hit] in Symbol 1506 MovieClip Frame 15
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(60) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Symbol 1506 MovieClip Frame 19
aa = false;
Symbol 1506 MovieClip Frame 23
aa = true;
Symbol 1506 MovieClip Frame 28
aa = false;
_root.sounds("grunt");
Symbol 1516 MovieClip Frame 1
stop();
Symbol 1516 MovieClip Frame 10
_root.sounds("explosion");
Instance of Symbol 9 MovieClip [hit] in Symbol 1516 MovieClip Frame 10
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero._x = _root.hero._x + ((_root.hero.speed * _root.hero._xscale) / 100);
_root.hero.hurt(9);
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 1516 MovieClip Frame 10
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero._x = _root.hero._x + ((_root.hero.speed * _root.hero._xscale) / 100);
_root.hero.hurt(9);
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 1516 MovieClip Frame 10
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero._x = _root.hero._x + ((_root.hero.speed * _root.hero._xscale) / 100);
_root.hero.hurt(9);
}
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 1516 MovieClip Frame 10
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero._x = _root.hero._x + ((_root.hero.speed * _root.hero._xscale) / 100);
_root.hero.hurt(9);
}
}
}
Symbol 1520 MovieClip Frame 1
_visible = false;
Symbol 1522 MovieClip Frame 1
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1524 MovieClip Frame 1
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1526 MovieClip Frame 1
onEnterFrame = function () {
if (hitTest(_root.screenhit)) {
_visible = true;
} else {
_visible = false;
}
};
Symbol 1529 MovieClip Frame 1
_visible = false;
Symbol 1556 MovieClip Frame 6
_root.sounds("wizz");
Instance of Symbol 9 MovieClip [hit] in Symbol 1556 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(_parent._parent.power);
_root.hero._xscale = _parent._parent._xscale * -1;
}
}
}
Symbol 1556 MovieClip Frame 19
_parent.gotoAndStop("idle");
Symbol 1566 MovieClip Frame 1
onEnterFrame = function () {
if (!_root.pau) {
play();
} else {
stop();
}
};
Symbol 1566 MovieClip Frame 9
_root.sounds("wizz");
Symbol 1566 MovieClip Frame 25
_root.fireballs.play();
_root.shakey = 4;
Symbol 1566 MovieClip Frame 27
_root.shakey = 6;
Symbol 1566 MovieClip Frame 29
_root.shakey = 8;
Symbol 1566 MovieClip Frame 31
_root.shakey = 10;
Symbol 1566 MovieClip Frame 33
_root.shakey = 15;
Symbol 1566 MovieClip Frame 35
_root.shakey = 15;
Symbol 1566 MovieClip Frame 37
_root.shakey = 15;
Symbol 1566 MovieClip Frame 39
_root.shakey = 15;
Symbol 1566 MovieClip Frame 41
_root.shakey = 15;
Symbol 1566 MovieClip Frame 43
_root.shakey = 15;
Symbol 1566 MovieClip Frame 45
_root.shakey = 15;
Symbol 1566 MovieClip Frame 47
_root.shakey = 15;
Symbol 1566 MovieClip Frame 49
_root.shakey = 15;
Symbol 1566 MovieClip Frame 51
_root.shakey = 15;
Symbol 1566 MovieClip Frame 53
_root.shakey = 15;
Symbol 1566 MovieClip Frame 55
_root.shakey = 15;
Symbol 1566 MovieClip Frame 57
_root.shakey = 15;
Symbol 1566 MovieClip Frame 59
_root.shakey = 15;
Symbol 1566 MovieClip Frame 61
_root.shakey = 15;
Symbol 1566 MovieClip Frame 63
_root.shakey = 15;
Symbol 1566 MovieClip Frame 65
_root.shakey = 15;
Symbol 1566 MovieClip Frame 67
_root.shakey = 15;
Symbol 1566 MovieClip Frame 69
_root.shakey = 15;
Symbol 1566 MovieClip Frame 71
_root.shakey = 15;
Symbol 1566 MovieClip Frame 73
_root.shakey = 15;
Symbol 1566 MovieClip Frame 75
_root.shakey = 15;
Symbol 1566 MovieClip Frame 77
_root.shakey = 15;
Symbol 1566 MovieClip Frame 79
_root.shakey = 15;
Symbol 1566 MovieClip Frame 81
_root.shakey = 15;
Symbol 1566 MovieClip Frame 90
_root.sounds("wizz");
Symbol 1566 MovieClip Frame 91
_root.sounds("wack");
Symbol 1566 MovieClip Frame 99
_parent.gotoAndStop("idle");
Symbol 1577 MovieClip Frame 11
_parent.gotoAndStop("idle");
Symbol 1584 MovieClip Frame 7
_root.shakey = _root.shakey + 20;
_root.createExp(_parent._x, _parent._y, 80);
_root.experience = _root.experience + _parent.levelup;
Symbol 1584 MovieClip Frame 96
_root.win();
stop();
Symbol 1585 MovieClip Frame 1
function hurt(lifeminus, melee) {
if (aa) {
if (ha) {
if (!bouncing) {
if (lifeminus > 0) {
_root.sounds("wack");
_root.rage = _root.rage + 3;
if (melee) {
lifeminus = lifeminus + _root.level;
_root.shakex = _root.shakex + (lifeminus / 1.5);
_root.rage = _root.rage + (2 + (lifeminus / 3));
} else {
_root.shakex--;
_root.shakex = _root.shakex + (lifeminus / 4);
}
melee = false;
gotoAndStop (1);
jump = false;
grav = 1;
h++;
_root.bleed(_x + ((50 * _xscale) / 100), _y - 100, _xscale);
frames = ["hurt"];
life = life - lifeminus;
_root.score = _root.score + lifeminus;
gotoAndStop(frames[random(frames.length)]);
}
}
}
}
}
onEnterFrame = function () {
if (!_root.pau) {
if (!setvars) {
stop();
grav = 0;
speed = 14 + (_root.lvlp / 2);
life = 600 + (_root.lvlp * 2);
power = 8 + _root.lvlp;
ht = 0;
hTime = 50;
h = 0;
if (speed > 20) {
speed = 20;
}
levelup = 400;
setvars = true;
}
if (life <= 0) {
gotoAndStop ("die");
}
if (!_root.ground.hitTest(_x, _y - 6, true)) {
grav++;
_y = (_y + grav);
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y - 6, true)) {
_y = (_y-1);
}
if (h >= 7) {
ha = false;
}
if (!ha) {
ht++;
_alpha = 50;
}
if (ht > hTime) {
h = 0;
ht = 0;
_alpha = 100;
ha = true;
}
}
};
aa = true;
Instance of Symbol 1535 MovieClip in Symbol 1585 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.hero._x > (_parent._x + 130)) {
if (random(13) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 130)) {
if (random(13) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
if (random(40) == 1) {
_parent.gotoAndStop("run");
}
}
}
Instance of Symbol 357 MovieClip in Symbol 1585 MovieClip Frame 1
onClipEvent (enterFrame) {
while (hitTest(_root.lvlend)) {
_parent._x--;
}
while (hitTest(_root.lvlbegin)) {
_parent._x++;
}
}
Instance of Symbol 9 MovieClip [hit] in Symbol 1585 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(75) == 1) {
_parent.gotoAndStop("up");
}
if (hitTest(_root.hero.hit)) {
if (random(35) == 1) {
_parent.gotoAndStop("tail");
}
}
}
}
Symbol 1585 MovieClip Frame 5
aa = true;
Instance of Symbol 1543 MovieClip in Symbol 1585 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (random(80) == 2) {
_parent._xscale = _parent._xscale * -1;
}
if (random(60) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > _parent._x) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < _parent._x) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x + _parent.speed;
}
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
}
}
}
Symbol 1585 MovieClip Frame 9
aa = true;
Symbol 1585 MovieClip Frame 13
aa = false;
Symbol 1585 MovieClip Frame 17
aa = true;
Symbol 1585 MovieClip Frame 22
aa = false;
_root.sounds("grunt");
Symbol 1611 MovieClip Frame 1
stop();
Symbol 1611 MovieClip Frame 16
_root.sounds("explosion");
Instance of Symbol 9 MovieClip [hit] in Symbol 1611 MovieClip Frame 16
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero._x = _root.hero._x + ((_root.hero.speed * _root.hero._xscale) / 100);
_root.hero.hurt(9);
}
}
}
Symbol 1611 MovieClip Frame 21
_root.sounds("explosion");
Instance of Symbol 9 MovieClip [hit] in Symbol 1611 MovieClip Frame 21
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero._x = _root.hero._x + ((_root.hero.speed * _root.hero._xscale) / 100);
_root.hero.hurt(9);
}
}
}
Symbol 1611 MovieClip Frame 27
_root.sounds("explosion");
Instance of Symbol 9 MovieClip [hit] in Symbol 1611 MovieClip Frame 27
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero._x = _root.hero._x + ((_root.hero.speed * _root.hero._xscale) / 100);
_root.hero.hurt(9);
}
}
}
Symbol 1611 MovieClip Frame 34
_root.sounds("explosion");
Instance of Symbol 9 MovieClip [hit] in Symbol 1611 MovieClip Frame 34
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero._x = _root.hero._x + ((_root.hero.speed * _root.hero._xscale) / 100);
_root.hero.hurt(9);
}
}
}
Symbol 1611 MovieClip Frame 41
_root.sounds("explosion");
Instance of Symbol 9 MovieClip [hit] in Symbol 1611 MovieClip Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero._x = _root.hero._x + ((_root.hero.speed * _root.hero._xscale) / 100);
_root.hero.hurt(9);
}
}
}
Symbol 1613 MovieClip Frame 1
_visible = false;
Symbol 1616 MovieClip Frame 2
_x = 0;
_y = 0;
stop();
Symbol 1624 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 1625 Button
on (release) {
_root.cont();
}
Symbol 1629 MovieClip Frame 1
stop();
Symbol 1629 MovieClip Frame 2
stop();
_root.arcade_unlocked = true;
Symbol 1634 Button
on (release) {
retry();
}
Symbol 1636 Button
on (release) {
gotoAndStop ("arcade");
}
Symbol 1642 Button
on (release) {
gotoAndStop ("menu");
}