Frame 1
function draw_enemy() {
enemypos = Array(-(30 + random(250)), 512 + random(250));
if (enemies < maximum_enemies) {
rand = random(2);
duplicateMovieClip (Enemy_Main, "enemy" + enemies, 200 + enemies);
_root["enemy" + enemies]._x = enemypos[rand];
_root["enemy" + enemies]._y = 260;
_root["enemy" + enemies].xspeed = enemyspeed[rand];
_root["enemy" + enemies]._xscale = enemyscale[rand];
enemies++;
}
}
function update_enemieskilled() {
killed = killed + 1;
if (god_power == false) {
next_power = next_power - 1;
}
if (next_power <= 0) {
GodPowerAvail.start();
choosepower._visible = true;
god_power = true;
next_power = 100;
}
_root.scoree.Score = _root.scoree.Score + 50;
enemydisplay = "x " + next_power;
}
function draw_stars() {
a = 0;
while (a <= 5) {
duplicateMovieClip (star_main, "star" + a, 100 + a);
_root["star" + a]._x = starpos[a];
_root["star" + a]._y = 0;
a++;
}
}
Stage.showMenu = false;
SwordSwing0 = new Sound();
SwordSwing0.attachSound("SwordSwing_0");
SwordSwing1 = new Sound();
SwordSwing1.attachSound("SwordSwing_1");
death_normal0 = new Sound();
death_normal0.attachSound("SwordDeath_1");
death_normal1 = new Sound();
death_normal1.attachSound("SwordDeath_2");
death_headshot = new Sound();
death_headshot.attachSound("death_headshot");
bonus_weapon1 = new Sound();
bonus_weapon1.attachSound("Bonus1");
bonus_weapon2 = new Sound();
bonus_weapon2.attachSound("Bonus2");
bonus_weapon3 = new Sound();
bonus_weapon3.attachSound("Bonus3");
bonus_weapon4 = new Sound();
bonus_weapon4.attachSound("Bonus4");
GodPowerAvail = new Sound();
GodPowerAvail.attachSound("GodPower");
Collect_Star = new Sound();
Collect_Star.attachSound("Collect_Star");
start_quality = 2;
the_quality = Array("LOW", "MEDIUM", "HIGH");
hat_type = 1;
maximum_enemies = 100;
weapon_names = Array("Sword", "Minigun", "Shotgun", "Flame", "Health");
starpos = Array(50, 150, 250, 350, 450);
enemyspeed = Array(4, -4);
enemyscale = Array(-100, 100);
stop();
_global.ipb_get_gname = function () {
var _local4 = _root._url;
var _local5 = "";
var _local2 = "";
var _local6 = _local4.lastIndexOf("\\") + 1;
if ((_local6 == -1) || (_local6 == 0)) {
_local6 = _local4.lastIndexOf("/") + 1;
}
var _local3 = _local6;
var _local7 = String(_local4).length;
while (_local3 < String(_local4).length) {
_local2 = _local4.charAt(_local3);
if (_local2 == ".") {
break;
}
_local5 = _local5 + _local2;
_local3++;
}
return(_local5);
};
ipb_gname = _global.ipb_get_gname();
xx = new LoadVars();
xx.onLoad = function (success) {
if (success) {
_global.ipb_scoreVar = this.scoreVar;
}
};
fname = ((("arcade/gamedata/" + ipb_gname) + "/") + ipb_gname) + ".txt";
xx.load(fname);
Frame 2
game = 45;
loadVariablesNum ("swffiles/pages/gamelogin.php?game=" + game, 0, "POST");
Frame 10
weapon_type = 0;
_root.scoree.Score = 0;
killed = 0;
enemydisplay = "x 100";
next_power = 100;
enemies = 0;
god_power = false;
stop();
mse._alpha = 0;
Instance of Symbol 85 MovieClip "mse" in Frame 10
onClipEvent (enterFrame) {
this._y = _root._ymouse;
this._x = _root._xmouse;
}
Frame 20
Mouse.show();
stopAllSounds();
Frame 24
gotoAndStop ("Choose");
Frame 25
_root.scoree.Score = 0;
Instance of Symbol 104 MovieClip in Frame 25
on (press) {
_root.start_quality++;
if (_root.start_quality > 2) {
_root.start_quality = 0;
}
_quality = _root.the_quality[_root.start_quality];
}
Instance of Symbol 106 MovieClip in Frame 25
onClipEvent (load) {
downnn = false;
nxtt = 0;
}
onClipEvent (enterFrame) {
if ((Key.isDown(81) && (downnn == false)) && (nxtt > 10)) {
_root.start_quality++;
nxtt = 0;
downnn = true;
} else {
downnn = false;
}
if (_root.start_quality > 2) {
_root.start_quality = 0;
}
_quality = _root.the_quality[_root.start_quality];
nxtt++;
}
Frame 34
i = 0;
while (i <= 4) {
draw_enemy();
i++;
}
sxmove = random(-3) - 5;
symove = random(-5) - 15;
rmv = 0;
reduce = 0.5;
healthminus = 0;
breakk = false;
fix = random(500) + 50;
skull.onEnterFrame = function () {
this._x = this._x + sxmove;
this._y = this._y + symove;
if ((this._y > 259) && (breakk == false)) {
symove = 0;
sxmove = 0;
this.gotoAndPlay(2);
this._y = 259;
breakk = true;
fix = random(500) + 50;
}
if (breakk == false) {
symove = symove + reduce;
}
if (breakk == true) {
rmv++;
}
if ((this.hitTest(_root.Character.hitbox) && (_root.Character.shield == 0)) && (breakk == false)) {
healthminus = 10;
symove = symove * -0.6;
this._y = this._y - 10;
this._y = _root.hero._y - 60;
}
if (rmv > fix) {
sxmove = random(-3) - 5;
symove = random(-1) - 10;
this.gotoAndStop(1);
breakk = false;
this._y = random(200) + 100;
this._x = 482;
rmv = 0;
}
if (healthminus > 0) {
_root.health.play();
healthminus--;
}
};
sxmove2 = 0;
symove2 = 0;
rmv2 = 0;
reduce2 = 0.5;
healthminus2 = 0;
breakk2 = true;
fix2 = 1000;
skull2.onEnterFrame = function () {
this._x = this._x + sxmove2;
this._y = this._y + symove2;
if ((this._y > 259) && (breakk2 == false)) {
symove2 = 0;
sxmove2 = 0;
this.gotoAndPlay(2);
this._y = 259;
breakk2 = true;
fix2 = random(500) + 50;
}
if (breakk2 == false) {
symove2 = symove2 + reduce2;
}
if (breakk2 == true) {
rmv2++;
}
if ((this.hitTest(_root.Character.hitbox) && (_root.Character.shield == 0)) && (breakk2 == false)) {
healthminus2 = 10;
symove2 = symove2 * -0.6;
this._y = this._y - 10;
this._y = _root.hero._y - 60;
}
if (rmv2 > fix2) {
sxmove2 = random(5) + 3;
symove2 = random(-1) - 10;
this.gotoAndStop(1);
breakk2 = false;
this._y = random(200) + 100;
this._x = 0;
rmv2 = 0;
}
if (healthminus2 > 0) {
_root.health.play();
healthminus2--;
}
};
sxmove3 = 0;
symove3 = 0;
rmv3 = 0;
reduce3 = 0.5;
healthminus3 = 0;
breakk3 = true;
fix3 = 1500;
skull3.onEnterFrame = function () {
this._x = this._x + sxmove3;
this._y = this._y + symove3;
if ((this._y > 259) && (breakk3 == false)) {
symove3 = 0;
sxmove3 = 0;
this.gotoAndPlay(2);
this._y = 259;
breakk3 = true;
fix3 = random(500) + 50;
}
if (breakk3 == false) {
symove3 = symove3 + reduce3;
}
if (breakk3 == true) {
rmv3++;
}
if ((this.hitTest(_root.Character.hitbox) && (_root.Character.shield == 0)) && (breakk3 == false)) {
healthminus3 = 10;
symove3 = symove3 * -0.6;
this._y = this._y - 10;
this._y = _root.hero._y - 60;
}
if (rmv3 > fix3) {
sxmove3 = random(-3) - 5;
symove3 = random(-1) - 10;
this.gotoAndStop(1);
breakk3 = false;
this._y = random(200) + 100;
this._x = 482;
rmv3 = 0;
}
if (healthminus3 > 0) {
_root.health.play();
healthminus3--;
}
};
sxmove4 = 0;
symove4 = 0;
rmv4 = 0;
reduce4 = 0.5;
healthminus4 = 0;
breakk4 = true;
fix4 = 2000;
skull4.onEnterFrame = function () {
this._x = this._x + sxmove4;
this._y = this._y + symove4;
if ((this._y > 259) && (breakk4 == false)) {
symove4 = 0;
sxmove4 = 0;
this.gotoAndPlay(2);
this._y = 259;
breakk4 = true;
fix4 = random(500) + 50;
}
if (breakk4 == false) {
symove4 = symove4 + reduce4;
}
if (breakk4 == true) {
rmv4++;
}
if ((this.hitTest(_root.Character.hitbox) && (_root.Character.shield == 0)) && (breakk4 == false)) {
healthminus4 = 10;
symove4 = symove4 * -0.6;
this._y = this._y - 10;
this._y = _root.hero._y - 60;
}
if (rmv4 > fix4) {
sxmove4 = random(5) + 3;
symove4 = random(-1) - 10;
this.gotoAndStop(1);
breakk4 = false;
this._y = random(200) + 100;
this._x = 0;
rmv4 = 0;
}
if (healthminus4 > 0) {
_root.health.play();
healthminus4--;
}
_root.shadowsk._x = _root.skull._x - 7;
if (rmv > 16) {
_root.shadowsk._alpha = 0;
} else {
_root.shadowsk._alpha = 100;
}
_root.shadowsk2._x = _root.skull2._x + 7;
if (rmv2 > 16) {
_root.shadowsk2._alpha = 0;
} else {
_root.shadowsk2._alpha = 100;
}
_root.shadowsk3._x = _root.skull3._x - 7;
if (rmv3 > 16) {
_root.shadowsk3._alpha = 0;
} else {
_root.shadowsk3._alpha = 100;
}
_root.shadowsk4._x = _root.skull4._x + 7;
if (rmv4 > 16) {
_root.shadowsk4._alpha = 0;
} else {
_root.shadowsk4._alpha = 100;
}
_root.shadowsk5._x = _root.skull5._x - 7;
if (rmv5 > 16) {
_root.shadowsk5._alpha = 0;
} else {
_root.shadowsk5._alpha = 100;
}
_root.shadowsk6._x = _root.skull6._x + 7;
if (rmv6 > 16) {
_root.shadowsk6._alpha = 0;
} else {
_root.shadowsk6._alpha = 100;
}
};
sxmove5 = 0;
symove5 = 0;
rmv5 = 0;
reduce5 = 0.5;
healthminus5 = 0;
breakk5 = true;
fix5 = 2500;
skull5.onEnterFrame = function () {
this._x = this._x + sxmove5;
this._y = this._y + symove5;
if ((this._y > 259) && (breakk5 == false)) {
symove5 = 0;
sxmove5 = 0;
this.gotoAndPlay(2);
this._y = 259;
breakk5 = true;
fix5 = random(500) + 50;
}
if (breakk5 == false) {
symove5 = symove5 + reduce5;
}
if (breakk5 == true) {
rmv5++;
}
if ((this.hitTest(_root.Character.hitbox) && (_root.Character.shield == 0)) && (breakk5 == false)) {
healthminus5 = 10;
symove5 = symove5 * -0.6;
this._y = this._y - 10;
this._y = _root.hero._y - 60;
}
if (rmv5 > fix5) {
sxmove5 = random(-3) - 5;
symove5 = random(-1) - 10;
this.gotoAndStop(1);
breakk5 = false;
this._y = random(200) + 100;
this._x = 482;
rmv5 = 0;
}
if (healthminus5 > 0) {
_root.health.play();
healthminus5--;
}
};
sxmove6 = 0;
symove6 = 0;
rmv6 = 0;
reduce6 = 0.5;
healthminus6 = 0;
breakk6 = true;
fix6 = 2550;
skull6.onEnterFrame = function () {
this._x = this._x + sxmove6;
this._y = this._y + symove6;
if ((this._y > 259) && (breakk6 == false)) {
symove6 = 0;
sxmove6 = 0;
this.gotoAndPlay(2);
this._y = 259;
breakk6 = true;
fix6 = random(500) + 50;
}
if (breakk6 == false) {
symove6 = symove6 + reduce6;
}
if (breakk6 == true) {
rmv6++;
}
if ((this.hitTest(_root.Character.hitbox) && (_root.Character.shield == 0)) && (breakk6 == false)) {
healthminus6 = 10;
symove6 = symove6 * -0.6;
this._y = this._y - 10;
this._y = _root.hero._y - 60;
}
if (rmv6 > fix6) {
sxmove6 = random(5) + 3;
symove6 = random(-1) - 10;
this.gotoAndStop(1);
breakk6 = false;
this._y = random(200) + 100;
this._x = 0;
rmv6 = 0;
}
if (healthminus6 > 0) {
_root.health.play();
healthminus6--;
}
};
Instance of Symbol 391 MovieClip "Enemy_Main" in Frame 34
onClipEvent (load) {
function reset() {
epos = Array(-(30 + random(250)), 512 + random(250));
rand = random(2);
this._x = epos[rand];
this.xspeed = _root.enemyspeed[rand];
this._xscale = _root.enemyscale[rand];
this.gotoAndStop("Run");
dead = false;
}
function flip() {
_xscale = (-_xscale);
xspeed = -xspeed;
}
dead = false;
deathsw = random(3) + 1;
}
onClipEvent (enterFrame) {
if ((dead == false) && (_name != "Enemy_Main")) {
_x = (_x + xspeed);
if (_root.Character.dead == false) {
if (this.hitbox.hitTest(_root.Character.hitbox) && (_root.Character.shield == 0)) {
_root.health.play();
this.enmy.head.play();
}
if ((this.hitbox.hitTest(_root.Character.theweapon.hitbox) && (_x > 15)) && (_x < 467)) {
if (deathsw == 1) {
this.gotoAndStop(10);
} else if (deathsw == 2) {
this.gotoAndStop(11);
} else if (deathsw == 3) {
this.gotoAndStop(12);
}
_root.scrnshk.play();
_root.update_enemieskilled();
dead = true;
}
if ((this.hitbox.hitTest(_root.Character.theweapon.hitboxf) && (_x > 15)) && (_x < 467)) {
this.gotoAndStop(13);
_root.update_enemieskilled();
dead = true;
}
if (((_x > _root.Character._x) && (xspeed > 0)) || ((_x < _root.Character._x) && (xspeed < 0))) {
flip();
}
} else if ((_x > 512) || (_x < -30)) {
removeMovieClip(this);
}
}
}
Instance of Symbol 314 MovieClip "Character" in Frame 34
onClipEvent (load) {
jumped = false;
yspeed = 0;
fired = false;
shield = 0;
dead = false;
}
onClipEvent (enterFrame) {
_y = (_y + yspeed);
if (_y > 259) {
_y = 259;
jumped = false;
yspeed = yspeed * -0.3;
}
yspeed++;
if ((!this.shield) == 0) {
this._alpha = 50;
} else {
this._alpha = 100;
}
if (dead == false) {
_root.Shadow._x = _x;
if (_x < 30) {
_x = 30;
}
if (_x > 452) {
_x = 452;
}
if (shield > 0) {
shield--;
} else {
shield = 0;
}
if (Key.isDown(38) && (jumped == false)) {
yspeed = -15;
jumped = true;
}
_root.shadoww._x = this._x;
if (Key.isDown(37)) {
_xscale = -100;
_x = (_x - 8);
_root.shadoww._x = _root.shadoww._x - 8;
this.thebody.play();
} else if (Key.isDown(39)) {
_xscale = 100;
_x = (_x + 8);
_root.shadoww._x = _root.shadoww._x + 8;
this.thebody.play();
}
if (Key.isDown(32)) {
if (fired == false) {
this.theweapon.gotoAndPlay(_root.weapon_names[_root.weapon_type]);
fired = true;
}
}
} else {
_root.Shadow._visible = false;
}
}
Instance of Symbol 393 MovieClip in Frame 34
onClipEvent (load) {
new_crate = 600;
new_enemy = 400;
enemy_timer = 0;
crate_timer = 250;
}
onClipEvent (enterFrame) {
if (_root.Character.dead == false) {
enemy_timer--;
crate_timer--;
if ((enemy_timer < 0) && (_root.enemies < 30)) {
_root.draw_enemy();
enemy_timer = new_enemy;
}
if (crate_timer < 0) {
_root.crate._x = 60 + random(320);
_root.crate.play();
crate_timer = new_crate;
}
}
}
Instance of Symbol 414 MovieClip "KillAll" in Frame 34
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible) {
i = 0;
while (i <= _root.maximum_enemies) {
if (this.hitTest(_root["enemy" + i]) && (_root["enemy" + i].dead == false)) {
_root["enemy" + i].gotoAndStop("Death");
_root.update_enemieskilled();
_root["enemy" + i].dead = true;
}
i++;
}
}
}
Instance of Symbol 421 MovieClip "star_main" in Frame 34
onClipEvent (load) {
yspeed = 0;
death = 0;
col = false;
}
onClipEvent (enterFrame) {
if (_name != "star_main") {
yspeed = yspeed + 1;
_y = (_y + yspeed);
if (this.hit.hitTest(_root.Character.hitbox) && (col == false)) {
this.gotoAndPlay("collect");
_root.Collect_Star.start();
_root.Collect_Star.start();
_root.scoree.Score = _root.scoree.Score + 600;
col == true;
}
if (_y > 280) {
yspeed = yspeed * -0.3;
_y = 280;
}
if (col == true) {
death++;
}
if (death > 40) {
removeMovieClip(thsi);
}
}
}
Instance of Symbol 435 MovieClip "choosepower" in Frame 34
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.god_power == true) {
if (Key.isDown(49)) {
this.gotoAndPlay("Invincible");
_root.Character.shield = 200;
_root.god_power = false;
} else if (Key.isDown(50)) {
_root.KillAll._visible = true;
_root.KillAll.play();
_visible = false;
_root.god_power = false;
} else if (Key.isDown(51)) {
_root.draw_stars();
_visible = false;
_root.god_power = false;
}
}
}
Frame 45
if ((Score >= 10000) && (Score < 20000)) {
GameMedal = 1;
} else if ((Score >= 20000) && (Score < 40000)) {
GameMedal = 2;
} else if (Score >= 40000) {
GameMedal = 3;
} else {
GameMedal = 0;
}
mst.score = Score;
mst.GameMedal = GameMedal;
mst.Info = killed + " enemies killed";
mst.game = 45;
mst.loadVariables("swffiles/pages/submit.php", "GET");
Instance of Symbol 391 MovieClip "Enemy_Main" in Frame 45
onClipEvent (load) {
function reset() {
rand = random(2);
this._x = _root.enemypos[rand];
this.xspeed = _root.enemyspeed[rand];
this._xscale = _root.enemyscale[rand];
this.gotoAndStop("Run");
dead = false;
}
function flip() {
_xscale = (-_xscale);
xspeed = -xspeed;
}
dead = false;
deathsw = random(3) + 1;
}
onClipEvent (enterFrame) {
if (dead == false) {
_x = (_x + xspeed);
if (_root.Character.dead == false) {
if (this.hitbox.hitTest(_root.Character.hitbox)) {
_root.health.play();
}
if ((this.hitbox.hitTest(_root.Character.theweapon.hitbox) && (_x > 15)) && (_x < 467)) {
this.gotoAndStop("Death");
_root.scrnshk.play();
_root.update_enemieskilled();
dead = true;
}
if (((_x > _root.Character._x) && (xspeed > 0)) || ((_x < _root.Character._x) && (xspeed < 0))) {
flip();
}
} else if ((_x > 512) || (_x < -30)) {
removeMovieClip(this);
}
}
}
Frame 55
play();
stop();
SendButton.enabled = true;
this.stop();
count = 0;
hiScore0 = null;
myLoadVars = new LoadVars();
mySendAndLoadVars = new LoadVars();
var so = SharedObject.getLocal("cookie", "/");
uScore = so.data.uScore;
if ((so.data.uScore < Score) || (!so.data.uScore)) {
uScore = Score;
so.data.uScore = Score;
}
_root.onEnterFrame = function () {
if (hiScore0 == null) {
count++;
happen();
}
};
happen = function () {
count++;
};
ScoreUp.onPress = function () {
Score++;
};
_root.micro = _root.scoree.Score;
SendButton.onPress = function () {
_global.ipbSend();
};
Frame 65
a = 0;
while (a <= 5) {
removeMovieClip(_root["star" + a]);
a++;
}
stop();
Symbol 36 Button
on (release) {
}
Symbol 38 Button
on (release) {
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 1
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
LoadingBar.gotoAndStop(Math.round(PercentLoaded / 5));
if (PercentLoaded >= 100) {
_root.gotoAndPlay(2);
}
Symbol 63 MovieClip Frame 2
gotoAndPlay (1);
Symbol 459 MovieClip Frame 1
if (yy.savescore == 1) {
if (ipb_score == undefined) {
ipb_score = eval (_global.ipb_scoreVar);
}
xx = new LoadVars();
xx.arcadegid = _root.ibpro_gameid;
xx.gscore = ipb_score;
xx.gname = _global.ipb_get_gname();
xx.enscore = (ipb_score * yy.randchar) ^ yy.randchar2;
xx.send("index.php?autocom=arcade&do=savescore", "_self", "POST");
stop();
}
_global.ipbSend = function (ipb_score) {
_root._visible = false;
_root.enabled = false;
xx = new LoadVars();
yy = new LoadVars();
xx.sendAndLoad("index.php?autocom=arcade&do=verifyscore", yy, "POST");
};
Symbol 21 MovieClip [SendButton] Frame 1
stop();
Symbol 66 Button
on (release) {
gotoAndPlay (10);
}
Symbol 75 Button
on (release) {
}
Symbol 79 MovieClip Frame 5
stop();
Symbol 80 MovieClip Frame 6
stop();
Symbol 82 Button
on (rollOver) {
Mouse.hide();
_root.mse._alpha = 100;
}
on (rollOut) {
Mouse.show();
_root.mse._alpha = 0;
}
on (press) {
_root.gotoAndPlay("go");
}
Symbol 85 MovieClip Frame 1
stop();
Instance of Symbol 91 MovieClip in Symbol 101 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
}
onClipEvent (enterFrame) {
_x = (_x - 1);
if (_x < -448) {
_x = xpos;
}
}
Instance of Symbol 93 MovieClip in Symbol 101 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
}
onClipEvent (enterFrame) {
_x = (_x + 0.25);
if (_x > 403) {
_x = xpos;
}
}
Instance of Symbol 95 MovieClip in Symbol 101 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
}
onClipEvent (enterFrame) {
_x = (_x - 0.5);
if (_x < -448) {
_x = xpos;
}
}
Symbol 109 Button
on (release) {
_root.Character.thebody.head.prevFrame();
_root.hat_type = _root.Character.thebody.head._currentframe();
}
Symbol 112 Button
on (release) {
_root.hat_type = _root.Character.thebody.head._currentframe;
_root.head.gotoAndStop(_root.hat_type);
_root.gotoAndStop("Game");
}
Symbol 119 Button
on (rollOver) {
hnd.gotoAndStop(2);
}
on (rollOut) {
hnd.gotoAndStop(1);
}
on (press) {
gotoAndPlay (3);
_root.Character.thebody.head.nextFrame();
}
Symbol 120 Button
on (rollOut) {
gotoAndStop (1);
}
on (press) {
_root.Character.thebody.head.nextFrame();
play();
}
Symbol 121 Button
on (press) {
_root.Character.thebody.head.nextFrame();
}
Symbol 122 Button
on (press) {
_root.Character.thebody.head.nextFrame();
gotoAndPlay (3);
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 2
stop();
Symbol 124 Button
on (rollOver) {
hnd.gotoAndStop(2);
}
on (rollOut) {
hnd.gotoAndStop(1);
}
on (press) {
gotoAndPlay (3);
_root.Character.thebody.head.prevFrame();
_root.hat_type = _root.Character.thebody.head._currentframe();
}
Symbol 125 Button
on (rollOut) {
gotoAndStop (1);
}
on (press) {
_root.Character.thebody.head.prevFrame();
_root.hat_type = _root.Character.thebody.head._currentframe();
play();
}
Symbol 126 Button
on (press) {
_root.Character.thebody.head.prevFrame();
_root.hat_type = _root.Character.thebody.head._currentframe();
}
Symbol 127 Button
on (press) {
_root.Character.thebody.head.prevFrame();
_root.hat_type = _root.Character.thebody.head._currentframe();
gotoAndPlay (3);
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 133 MovieClip Frame 1
stop();
Symbol 134 Button
on (rollOver) {
hnd.gotoAndStop(2);
}
on (rollOut) {
hnd.gotoAndStop(1);
}
on (press) {
gotoAndPlay (3);
_root.Character.thebody.head.gotoAndStop(random(75) + 1);
}
Symbol 135 Button
on (rollOut) {
gotoAndStop (1);
}
on (press) {
_root.Character.thebody.head.nextFrame();
play();
}
Symbol 136 Button
on (press) {
_root.Character.thebody.head.gotoAndStop(random(75) + 1);
}
Symbol 137 Button
on (press) {
gotoAndPlay (3);
_root.Character.thebody.head.gotoAndStop(random(75) + 1);
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 2
stop();
Symbol 267 MovieClip Frame 1
stop();
Instance of Symbol 267 MovieClip "head" in Symbol 271 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.hat_type);
}
Symbol 271 MovieClip Frame 2
stop();
Symbol 271 MovieClip Frame 3
play();
Symbol 304 MovieClip Frame 5
if (!Key.isDown(32)) {
_parent.play();
}
Symbol 306 MovieClip Frame 1
_root.Character.fired = false;
stop();
Symbol 306 MovieClip Frame 2
_root["SwordSwing" + random(2)].start();
Symbol 306 MovieClip Frame 12
if (Key.isDown(32)) {
gotoAndPlay ("Sword");
} else {
gotoAndStop ("Sword");
}
Symbol 306 MovieClip Frame 19
_root.Character.fired = false;
if (Key.isDown(32)) {
gotoAndPlay.prevFrame();
} else {
gotoAndStop ("Minigun");
}
Symbol 306 MovieClip Frame 42
_root.Character.fired = false;
gotoAndStop ("Shotgun");
Symbol 306 MovieClip Frame 50
stop();
Symbol 306 MovieClip Frame 56
_root.Character.fired = false;
gotoAndStop ("Flame");
Symbol 313 MovieClip Frame 1
stopAllSounds();
Instance of Symbol 267 MovieClip "head" in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.hat_type);
}
Symbol 313 MovieClip Frame 64
_root.gotoAndPlay("GameOver");
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 2
timeleft = 10;
Symbol 328 MovieClip Frame 31
timeleft--;
if (timeleft > 0) {
gotoAndPlay (3);
} else {
_root.Character.fired = false;
_root.weapon_type = 0;
gotoAndStop (1);
}
Symbol 334 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 2
stop();
Symbol 334 MovieClip Frame 3
stop();
Symbol 334 MovieClip Frame 4
stop();
Symbol 334 MovieClip Frame 5
stop();
Symbol 334 MovieClip Frame 6
stop();
Symbol 334 MovieClip Frame 7
stop();
Symbol 334 MovieClip Frame 8
stop();
Symbol 334 MovieClip Frame 9
stop();
Symbol 334 MovieClip Frame 10
stop();
Symbol 334 MovieClip Frame 11
play();
Symbol 334 MovieClip Frame 13
stop();
Symbol 334 MovieClip Frame 14
stop();
Symbol 334 MovieClip Frame 15
stop();
Symbol 334 MovieClip Frame 16
stop();
Symbol 334 MovieClip Frame 17
stop();
Symbol 334 MovieClip Frame 18
stop();
Symbol 334 MovieClip Frame 19
stop();
Symbol 334 MovieClip Frame 20
stop();
Symbol 334 MovieClip Frame 21
stop();
Symbol 334 MovieClip Frame 22
play();
Symbol 334 MovieClip Frame 24
stop();
Symbol 334 MovieClip Frame 25
stop();
Symbol 334 MovieClip Frame 26
stop();
Symbol 334 MovieClip Frame 27
stop();
Symbol 334 MovieClip Frame 28
stop();
Symbol 334 MovieClip Frame 29
stop();
Symbol 334 MovieClip Frame 30
stop();
Symbol 334 MovieClip Frame 31
stop();
Symbol 334 MovieClip Frame 32
stop();
Symbol 334 MovieClip Frame 33
play();
Symbol 334 MovieClip Frame 35
stop();
Symbol 334 MovieClip Frame 36
stop();
Symbol 334 MovieClip Frame 37
stop();
Symbol 334 MovieClip Frame 38
stop();
Symbol 334 MovieClip Frame 39
stop();
Symbol 334 MovieClip Frame 40
stop();
Symbol 334 MovieClip Frame 41
stop();
Symbol 334 MovieClip Frame 42
stop();
Symbol 334 MovieClip Frame 43
stop();
Symbol 334 MovieClip Frame 44
play();
Symbol 334 MovieClip Frame 46
_root.Character.gotoAndStop("Death");
_root.Character.dead = true;
stop();
Symbol 361 MovieClip Frame 1
if ((_root.weapon_type != 1) && (_root.weapon_type != 2)) {
_root["death_normal" + random(2)].start();
} else {
_root.death_headshot.start();
}
Symbol 361 MovieClip Frame 33
_parent.reset();
stop();
Symbol 363 MovieClip Frame 1
_root.scoree._y = _root.scoree._y + 1;
_root.scoree._xscale = _root.scoree._xscale + 5;
_root.scoree._yscale = _root.scoree._yscale + 5;
Symbol 363 MovieClip Frame 2
_root.scoree._x = _root.scoree._x + 4;
_root.scoree._y = _root.scoree._y + 4;
_root.scoree._xscale = _root.scoree._xscale + 2;
_root.scoree._yscale = _root.scoree._yscale + 2;
Symbol 363 MovieClip Frame 3
_root.scoree._x = _root.scoree._x - 6;
_root.scoree._y = _root.scoree._y - 8;
_root.scoree._xscale = _root.scoree._xscale + 1;
_root.scoree._yscale = _root.scoree._yscale + 1;
Symbol 363 MovieClip Frame 4
_root.scoree._x = _root.scoree._x + 1;
_root.scoree._y = _root.scoree._y + 2;
_root.scoree._xscale = _root.scoree._xscale - 1;
_root.scoree._yscale = _root.scoree._yscale - 1;
Symbol 363 MovieClip Frame 5
_root.scoree._x = _root.scoree._x + 1;
_root.scoree._y = _root.scoree._y + 2;
_root.scoree._xscale = _root.scoree._xscale - 2;
_root.scoree._yscale = _root.scoree._yscale - 2;
Symbol 363 MovieClip Frame 6
_root.scoree._y = _root.scoree._y - 1;
_root.scoree._xscale = _root.scoree._xscale - 5;
_root.scoree._yscale = _root.scoree._yscale - 5;
Symbol 363 MovieClip Frame 7
stop();
Symbol 370 MovieClip Frame 1
if ((_root.weapon_type != 1) && (_root.weapon_type != 2)) {
_root["death_normal" + random(2)].start();
} else {
_root.death_headshot.start();
}
Symbol 370 MovieClip Frame 29
stop();
_parent.reset();
Symbol 382 MovieClip Frame 1
if ((_root.weapon_type != 1) && (_root.weapon_type != 2)) {
_root["death_normal" + random(2)].start();
} else {
_root.death_headshot.start();
}
Symbol 382 MovieClip Frame 34
stop();
_parent.reset();
Symbol 390 MovieClip Frame 1
if ((_root.weapon_type != 1) && (_root.weapon_type != 2)) {
_root["death_normal" + random(2)].start();
} else {
_root.death_headshot.start();
}
Symbol 390 MovieClip Frame 13
stop();
_parent.reset();
Symbol 391 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 1
_root.Character.fired = false;
rand = random(4) + 1;
stop();
Instance of Symbol 401 MovieClip in Symbol 402 MovieClip Frame 1
onClipEvent (load) {
if (_parent.rand == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 402 MovieClip Frame 26
stop();
Instance of Symbol 401 MovieClip in Symbol 402 MovieClip Frame 26
onClipEvent (load) {
if (_parent.rand == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.Character.hitbox)) {
_root.showbonus._x = _root.Character._x;
_root.showbonus.gotoAndPlay(_root.weapon_names[_parent.rand]);
if (_parent.rand < 4) {
_root.weapon_type = _parent.rand;
_root["bonus_weapon" + _parent.rand].start();
_root["bonus_weapon" + _parent.rand].start();
_root.weapontimer.gotoAndPlay(2);
} else {
_root.weapon_type = 0;
_root.bonus_weapon4.start();
_root.bonus_weapon4.start();
_root.health.gotoAndStop(1);
trace("Health");
}
_parent.gotoAndStop(1);
}
}
Symbol 411 MovieClip Frame 1
stop();
Symbol 411 MovieClip Frame 15
gotoAndStop (1);
Symbol 411 MovieClip Frame 29
gotoAndStop (1);
Symbol 411 MovieClip Frame 43
gotoAndStop (1);
Symbol 411 MovieClip Frame 57
gotoAndStop (1);
Symbol 414 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 13
_visible = false;
gotoAndStop (1);
Symbol 421 MovieClip Frame 25
gotoAndPlay (1);
Symbol 421 MovieClip Frame 37
stop();
Symbol 435 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 30
_visible = false;
gotoAndStop (1);
Symbol 444 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 17
stop();
Symbol 449 MovieClip Frame 6
stop();
Symbol 450 MovieClip Frame 6
stop();
Symbol 451 Button
on (release) {
_root.gotoAndPlay("Preloader");
}