Frame 1
stop();
Stage.showMenu = false;
Frame 2
namefield.text = "";
emailfield.text = "";
subjectfield.text = "";
commentfield.text = "";
captchafield.text = "";
var moottrip = "moot#faggot";
var emailpass = "sage";
var commentpass = "wch2huwdufuq";
var captchapass = " pantsu";
stop();
_global.lives = 3;
_global.bombs = 3;
_global.score = 0;
_global.ingame = false;
_global.mootmode = false;
_global.infrage = false;
_global.inflives = false;
_global.infbombs = false;
_global.infjumps = false;
_global.level0 = "gameover";
_global.level1 = "test";
Instance of Symbol 24 MovieClip in Frame 2
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Frame 3
if (_global.mootmode == true) {
cheats._visible = true;
} else {
cheats._visible = false;
}
stop();
_global.lives = 3;
_global.bombs = 3;
_global.score = 0;
_global.ingame = false;
_x = 0;
_y = 0;
Instance of Symbol 24 MovieClip in Frame 3
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Frame 3
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Frame 3
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Frame 3
onClipEvent (load) {
if (_global.mootmode == true) {
_visible = true;
} else {
_visible = false;
}
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Frame 3
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Frame 4
stop();
if (_root._quality == "HIGH") {
highline._visible = true;
medline._visible = false;
lowline._visible = false;
} else if (_root._quality == "MEDIUM") {
highline._visible = false;
medline._visible = true;
lowline._visible = false;
} else if (_root._quality == "LOW") {
highline._visible = false;
medline._visible = false;
lowline._visible = true;
}
Instance of Symbol 24 MovieClip in Frame 4
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Frame 5
stop();
stop();
ragedemo.play();
Instance of Symbol 24 MovieClip in Frame 5
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Frame 5
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Frame 5
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Frame 6
function del1() {
dele = attachMovie("del", "dele", getNextHighestDepth());
dele._x = _root.knife1._x;
dele._y = _root.knife1._y;
}
function del2() {
dele = attachMovie("del", "dele", getNextHighestDepth());
dele._x = _root.knife2._x;
dele._y = _root.knife2._y;
}
stop();
var timestop = false;
var delfade = 5;
var currentscreen = stagebor0;
var bakuhatsu = false;
var shraps = 0;
var marked = notmarked;
_global.ingame = true;
bombing = false;
_root.detred = false;
_root.mining = false;
onEnterFrame = function () {
if (knifehit1) {
khtimer.play();
del1();
}
if (knifehit2) {
khtimer.play();
del2();
}
};
Instance of Symbol 115 MovieClip "ground2" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.knife1._x, _root.knife1._y, true) && (_root.knife1.inuse)) {
_root.knife1.inuse = false;
_root.knifehit1 = true;
}
if (this.hitTest(_root.knife2._x, _root.knife2._y, true) && (_root.knife2.inuse)) {
_root.knife2.inuse = false;
_root.knifehit2 = true;
}
if (this.hitTest(_root.sagebomb._x, _root.sagebomb._y, true) && (_root.sagebomb.inuse)) {
_root.bombing = true;
_root.blast._x = _root.sagebomb._x;
_root.blast._y = _root.sagebomb._y;
_root.blast.play();
var shrapi = 1;
while (shrapi <= 25) {
shraps++;
shrap = attachMovie("shrap", "shrap" + shraps, getNextHighestDepth());
_root.sagebomb.inuse = false;
shrapi++;
}
}
if ((_root.detred && (_root.mining)) && (Key.isDown(88))) {
_root.mining = false;
_root.bombing = true;
_root.blast._x = _root.sagemine._x;
_root.blast._y = _root.sagemine._y;
_root.blast.play();
var shrapi = 1;
while (shrapi <= 25) {
shraps++;
shrap = attachMovie("shrap", "shrap" + shraps, getNextHighestDepth());
_root.sagemine.inuse = false;
shrapi++;
}
}
}
Instance of Symbol 182 MovieClip "meido" in Frame 6
onClipEvent (load) {
var levelmap = _root.levelmap;
var maxpoints = 2;
var maxpower = 0;
var maxbombs = 0;
var speed = 3;
var grav = 0;
var ex = (speed / 2);
var gravity = 0;
var jumpheight = -12;
var injump = false;
var jumpready = true;
var dbljump = false;
var dbljumpr = false;
var falling = true;
var onground = false;
var wall1 = false;
var wall2 = false;
var ceiling = false;
var ducked = false;
var dir = 1;
var strafe = walk;
var air = fall;
var movement = 7;
var attackanim1;
var rage = false;
var strafing = false;
var rageready = true;
var ragecost = 0;
var rbm = _root.rb;
var ragestate = 6;
var ragelimit = false;
}
onClipEvent (enterFrame) {
if (!_root.timestop) {
if (dir == 1) {
idle = "ridle";
walk = "strafer";
run = "dashr";
jump = "jumpr";
fall = "fallr";
duck = "duckr";
} else if (dir == 2) {
idle = "lidle";
walk = "strafel";
run = "dashl";
jump = "jumpl";
fall = "falll";
duck = "duckl";
}
if ((Key.isDown(38) && (jumpready)) && (!rage)) {
grav = jumpheight;
injump = true;
ducked = false;
} else if (onground) {
injump = false;
}
if (onground && (!falling)) {
injump = false;
}
if ((!onground) && (falling)) {
jumpready = false;
ducked = false;
}
if ((!Key.isDown(38)) && (onground)) {
jumpready = true;
}
if ((onground && (!injump)) || ((!onground) && (!injump))) {
falling = true;
}
if (injump) {
falling = false;
air = jump;
jumpready = false;
ducked = false;
} else if (falling) {
air = fall;
}
if (Key.isDown(40) && (onground)) {
ducked = true;
} else {
ducked = false;
}
if (ducked) {
movement = 1;
} else if (((Key.isDown(39) && (!Key.isDown(37))) && (!onground)) && (!wall1)) {
movement = 2;
} else if ((Key.isDown(39) && (!Key.isDown(37))) && (onground)) {
movement = 3;
} else if (((Key.isDown(37) && (!Key.isDown(39))) && (!onground)) && (!wall2)) {
movement = 4;
} else if ((Key.isDown(37) && (!Key.isDown(39))) && (onground)) {
movement = 5;
} else if (onground) {
movement = 6;
} else {
movement = 7;
}
if (movement == 1) {
this.gotoAndStop(duck);
speed = 0;
} else if (movement == 2) {
_x = (_x + speed);
dir = 1;
this.gotoAndStop(air);
} else if (movement == 3) {
_x = (_x + speed);
dir = 1;
strafing = true;
if (!rage) {
this.gotoAndStop("strafer");
} else if (rage) {
this.gotoAndStop("dashr");
}
} else if (movement == 4) {
_x = (_x - speed);
dir = 2;
this.gotoAndStop(air);
} else if (movement == 5) {
_x = (_x - speed);
dir = 2;
strafing = true;
if (!rage) {
this.gotoAndStop("strafel");
} else if (rage) {
this.gotoAndStop("dashl");
}
} else if (movement == 6) {
this.gotoAndStop(idle);
ducked = false;
strafing = false;
} else if (movement == 7) {
this.gotoAndStop(air);
strafing = false;
}
if (Key.isDown(16) && (rageready)) {
rage = true;
} else {
rage = false;
}
if ((((!ragelimit) && (rage)) && (rbm.rm <= 100)) && (rbm.rm > 0)) {
ragestate = 1;
} else if ((((!ragelimit) && (!rage)) && (rbm.rm < 100)) && (rbm.rm > 0)) {
ragestate = 2;
} else if (rbm.rm < 0) {
ragestate = 3;
}
if ((!rage) && (rbm.rm > 100)) {
ragestate = 4;
} else if (rage && (rbm.rm > 100)) {
ragestate = 5;
} else if ((!rage) && (rbm.rm == 100)) {
ragestate = 6;
}
if (ragestate == 1) {
_root.rb._visible = true;
_root.rb.rbf._visible = true;
_root.rb.rbs._visible = false;
_root.rb.rbe._visible = false;
rage = true;
surplus = false;
speed = 7;
rbm.rm--;
strafe = run;
}
if (ragestate == 2) {
_root.rb._visible = true;
_root.rb.rbf._visible = true;
_root.rb.rbs._visible = false;
_root.rb.rbe._visible = false;
rage = false;
rbm.rm = rbm.rm + 0.5;
speed = 3;
strafe = walk;
rage = false;
surplus = false;
rageready = true;
}
if (ragestate == 3) {
_root.rb._visible = true;
_root.rb.rbf._visible = false;
_root.rb.rbs._visible = false;
_root.rb.rbe._visible = true;
rage = false;
surplus = false;
rageready = false;
ragelimit = true;
speed = 1;
strafe = walk;
rbm.rm = rbm.rm + 0.5;
}
if (ragestate == 4) {
_root.rb._visible = true;
_root.rb.rbf._visible = false;
_root.rb.rbs._visible = true;
_root.rb.rbe._visible = false;
rage = false;
rbm.rm = rbm.rm - 0.5;
speed = 5;
surplus = true;
strafe = walk;
rageready = true;
ragelimit = false;
}
if (ragestate == 5) {
_root.rb._visible = true;
_root.rb.rbf._visible = false;
_root.rb.rbs._visible = true;
_root.rb.rbe._visible = false;
speed = 10;
rbm.rm = rbm.rm - 0.5;
strafe = run;
rage = true;
surplus = true;
rageready = true;
ragelimit = false;
}
if (ragestate == 6) {
_root.rb._visible = false;
_root.rb.rbf._visible = false;
_root.rb.rbs._visible = false;
_root.rb.rbe._visible = false;
speed = 3;
rbm.rm = 100;
strafe = walk;
surplus = false;
rageready = true;
ragelimit = false;
rage = false;
}
if (_global.infrage && (surplus == false)) {
rbm.rm = 100;
_root.rb.rbf._visible = false;
_root.rb.rbs._visible = true;
_root.rb.rbe._visible = false;
ragecost = 0;
}
if (_global.inflives == true) {
_global.lives = 99;
}
if ((dbljumpr && (Key.isDown(38))) && (rbm.rm >= 10)) {
injump = true;
air = jump;
jumpheight = -15;
grav = jumpheight;
ragecost = 10;
rbm.rm = rbm.rm - ragecost;
dbljump = true;
dbljumpr = false;
} else if (((rage && (jumpready)) && (Key.isDown(38))) && (rbm.rm >= 5)) {
injump = true;
air = jump;
jumpheight = -15;
grav = jumpheight;
ragecost = 5;
rbm.rm = rbm.rm - ragecost;
} else if (((rage && (jumpready)) && (Key.isDown(38))) && (rbm.rm < 5)) {
grav = jumpheight;
injump = true;
air = jump;
jumpheight = -12;
grav = jumpheight;
}
if (jumpready && (!Key.isDown(38))) {
dbljumpr = true;
dbljump = false;
jumpheight = -12;
}
if ((((rage && (!jumpready)) && (!Key.isDown(38))) && (!dbljump)) && (!ceiling)) {
dbljumpr = true;
} else {
dbljumpr = false;
}
if ((((_global.infjumps && (!Key.isDown(38))) && (rage)) && (!jumpready)) && (!ceiling)) {
dbljumpr = true;
}
if (grav < 25) {
grav++;
}
_y = (_y + grav);
while (_root.levelmap.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.levelmap.ground.hitTest(_x, _y + 3, true)) {
onground = true;
} else {
onground = false;
}
if ((_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
wall1 = true;
} else {
wall1 = false;
}
if ((_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
wall2 = true;
} else {
wall2 = false;
}
if (_root.levelmap.ground.hitTest(_x, (_y - _height) - 6, true)) {
grav = 0;
_y = (_y + 3);
ceiling = true;
} else {
ceiling = false;
}
if (wall1 & wall2) {
speed = speed - speed;
}
}
}
Instance of Symbol 187 MovieClip "sagebomb" in Frame 6
onClipEvent (load) {
var inuse = false;
var bombdir = 1;
var travsp = 15;
var bombgrav = -7;
}
onClipEvent (enterFrame) {
if (!_root.timestop) {
if (_global.infbombs == true) {
_global.bombs = 99;
}
if ((!_root.meido.rage) && (!inuse)) {
bombspin = (Math.random() * 15) + 2;
travsp = 10;
bombgrav = -7;
} else if (_root.meido.rage && (!inuse)) {
bombspin = (Math.random() * 25) + 7;
travsp = 20;
bombgrav = -15;
}
if ((!inuse) && (_root.meido.dir == 1)) {
bombgrav = -15;
_visible = false;
_x = (_root.meido._x + 10);
_y = (_root.meido._y - 35);
} else if ((!inuse) && (_root.meido.dir == 2)) {
bombgrav = -15;
_visible = false;
_x = (_root.meido._x - 10);
_y = (_root.meido._y - 35);
}
if (!inuse) {
bombdir = _root.meido.dir;
}
if ((((((!inuse) && (!Key.isDown(88))) && (_global.bombs > 0)) && (!_root.bombing)) && (!_root.bakuhatsu)) && (!_root.mining)) {
bombf = true;
} else if (inuse || (Key.isDown(40))) {
bombf = false;
}
if (Key.isDown(88) && (bombf)) {
_root.bakuhatsu = true;
_global.bombs = _global.bombs - 1;
inuse = true;
_visible = true;
}
if (inuse && (bombdir == 1)) {
_rotation = (_rotation + bombspin);
_y = (_y + bombgrav);
bombgrav++;
_visible = true;
_x = (_x + travsp);
play();
} else if (inuse && (bombdir == 2)) {
_rotation = (_rotation + bombspin);
_y = (_y + bombgrav);
bombgrav++;
_visible = true;
_x = (_x - travsp);
play();
}
if (Key.isDown(88)) {
bombf = false;
}
}
}
Instance of Symbol 195 MovieClip "blast" in Frame 6
onClipEvent (enterFrame) {
if (_root.timestop) {
_root.sagebomb.damage = 0;
stop();
} else if (_root.bombing) {
play();
}
}
Instance of Symbol 187 MovieClip "epicenter" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.sagebomb.inuse) {
_x = _root.sagebomb._x;
_y = _root.sagebomb._y;
}
if (_root.sagemine.inuse) {
_x = _root.sagemine._x;
_y = _root.sagemine._y;
}
}
Instance of Symbol 200 MovieClip "sagemine" in Frame 6
onClipEvent (load) {
var inuse = false;
var bombdir = 1;
var bombgrav = 0;
var ex = 1;
}
onClipEvent (enterFrame) {
if (!_root.timestop) {
if ((_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - 1);
}
if ((_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + 1);
}
if ((!inuse) && (_root.meido.dir == 1)) {
bombgrav = 0;
_visible = false;
_x = (_root.meido._x + 20);
_y = (_root.meido._y - 20);
if ((_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - 20);
}
} else if ((!inuse) && (_root.meido.dir == 2)) {
bombgrav = 0;
_visible = false;
_x = (_root.meido._x - 20);
_y = (_root.meido._y - 20);
if ((_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + 20);
}
}
if (!inuse) {
bombdir = _root.meido.dir;
}
if ((((((!inuse) && (!Key.isDown(88))) && (_global.bombs > 0)) && (!_root.bombing)) && (!_root.bakuhatsu)) && (!_root.mining)) {
bombf = true;
} else if (inuse || (!Key.isDown(40))) {
bombf = false;
}
if (Key.isDown(88) && (bombf)) {
play();
_root.detred = false;
_global.bombs = _global.bombs - 1;
inuse = true;
_visible = true;
}
if (inuse && (!Key.isDown(88))) {
_root.detred = true;
}
if (inuse && (bombdir == 1)) {
_root.mining = true;
_y = (_y + bombgrav);
while (_root.levelmap.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
bombgrav = 0;
}
bombgrav++;
_visible = true;
} else if (inuse && (bombdir == 2)) {
_root.mining = true;
_y = (_y + bombgrav);
while (_root.levelmap.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
bombgrav = 0;
}
bombgrav++;
_visible = true;
}
if (Key.isDown(88)) {
bombf = false;
}
}
}
Instance of Symbol 227 MovieClip "khtimer" in Frame 6
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 228 MovieClip in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.timestop) {
_root.meido.anim.stop();
_root.knife1.stop();
_root.knife2.stop();
_root.delfade = 0;
} else if (!_root.timestop) {
_root.meido.anim.play();
_root.knife1.play();
_root.knife2.play();
_root.delfade = 5;
}
}
Instance of Symbol 229 MovieClip "combo" in Frame 6
onClipEvent (load) {
function mudareset() {
mudar = false;
mudacombos = 0;
gotoAndStop (3);
zcombo = false;
noducks = false;
nofor = false;
}
mudacombos = 0;
mudar = true;
noducks = false;
nofor = false;
}
onClipEvent (enterFrame) {
if ((!Key.isDown(16)) && (!_root.meido.ducked)) {
mudar = true;
zcombo = false;
}
if (((!_root.meido.onground) || (Key.isDown(88))) || (Key.isDown(back))) {
mudareset();
}
if (((mudacombos == 0) && (!_root.meido.ducked)) && (_root.meido.rage)) {
rageduck = true;
} else {
rageduck = false;
}
if ((((!rageduck) && (mudar)) && (mudacombos == 0)) && (_root.meido.ducked)) {
play();
mudacombos = 1;
if (_root.meido.dir == 1) {
forward = 39;
back = 37;
} else if (_root.meido.dir == 2) {
forward = 37;
back = 39;
}
}
if (mudacombos == 1) {
if ((Key.isDown(90) || (Key.isDown(back))) || (!_root.meido.rage)) {
mudareset();
}
}
if (((_root.meido.rage && (mudar)) && (mudacombos == 1)) && (Key.isDown(forward))) {
mudacombos = 2;
if (!mudaon) {
zcombo = true;
}
}
if ((mudacombos == 2) && (!Key.isDown(40))) {
noducks = true;
}
if (noducks && (Key.isDown(40))) {
mudareset();
}
if ((mudacombos == 2) && (!Key.isDown(forward))) {
nofor = true;
}
if (nofor && (Key.isDown(forward))) {
mudareset();
}
if ((((_root.meido.rage && (mudar)) && (mudacombos == 2)) && (Key.isDown(90))) && (!Key.isDown(40))) {
mudaon = true;
mudareset();
}
}
Instance of Symbol 343 MovieClip "theworldanim" in Frame 6
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.timestop) {
stop();
} else if ((!_root.timestop) && (_root.combo.mudaon)) {
play();
}
_x = _root.theworld._x;
_y = _root.theworld._y;
}
Instance of Symbol 345 MovieClip "theworld" in Frame 6
onClipEvent (load) {
var speed = 10;
var scale = _xscale;
var mudascale = _root.theworldanim._xscale;
var mudagrav = 0;
var ex = 5;
_visible = true;
}
onClipEvent (enterFrame) {
if (!_root.timestop) {
if ((!_root.combo.mudaon) && (_root.meido.dir == 1)) {
mudadir = 1;
mudagrav = 0;
speed = 10;
_xscale = scale;
_root.theworldanim._xscale = mudascale;
_visible = false;
_root.theworldanim._visible = false;
_x = (_root.meido._x + 20);
_y = _root.meido._y;
if ((_root.ground2.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground2.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground2.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - 45);
}
} else if ((!_root.combo.mudaon) && (_root.meido.dir == 2)) {
mudadir = 2;
mudagrav = 0;
speed = -10;
_xscale = (-scale);
_root.theworldanim._xscale = -mudascale;
_visible = false;
_root.theworldanim._visible = false;
_x = (_root.meido._x - 20);
_y = _root.meido._y;
if ((_root.ground2.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground2.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground2.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + 45);
}
}
if (_root.combo.mudaon) {
if (mudadir == 1) {
if ((_root.ground2.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground2.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground2.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - 10);
}
}
if (mudadir == 2) {
if ((_root.ground2.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground2.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground2.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + 10);
}
}
if (_root.levelmap.ground.hitTest(_x, (_y - _height) - 6, true)) {
mudagrav = 0;
_y = (_y + 3);
}
_visible = true;
_root.theworldanim._visible = true;
_root.theworldanim.play();
_x = (_x + speed);
_y = (_y + mudagrav);
while ((_root.ground2.hitTest(_x, _y, true) || (_root.ground2.hitTest(_x + 20, _y, true))) || (_root.ground2.hitTest(_x - 20, _y, true))) {
_y = (_y-1);
mudagrav = 0;
}
mudagrav++;
}
}
}
Instance of Symbol 347 MovieClip "knife2" in Frame 6
onClipEvent (load) {
var inuse = false;
var knifedir = 1;
var scale = _xscale;
var travsp = 20;
var damage = 15;
}
onClipEvent (enterFrame) {
if (!_root.timestop) {
if ((!_root.meido.rage) && (!inuse)) {
travsp = 20;
damage = 15;
dmgint = 1;
} else if (_root.meido.rage && (!inuse)) {
travsp = 30;
damage = 30;
dmgint = 2;
}
if ((!inuse) && (_root.meido.dir == 1)) {
damage = 15;
_visible = false;
_xscale = scale;
_x = (_root.meido._x + 10);
_y = (_root.meido._y - 35);
} else if ((!inuse) && (_root.meido.dir == 2)) {
damage = 15;
_visible = false;
_xscale = (-scale);
_x = (_root.meido._x - 10);
_y = (_root.meido._y - 35);
}
if ((!inuse) && (_root.meido.ducked)) {
_y = (_root.meido._y - 15);
}
if (!inuse) {
knifedir = _root.meido.dir;
gotoAndStop (3);
}
if (((Key.isDown(90) && (_root.knife1.knife2f)) && (!inuse)) && (knife2f)) {
inuse = true;
_visible = true;
knife2f = false;
} else if (!Key.isDown(90)) {
knife2f = true;
}
if (inuse && (knifedir == 1)) {
damage = damage + dmgint;
_visible = true;
_x = (_x + travsp);
play();
} else if (inuse && (knifedir == 2)) {
damage = damage + dmgint;
_visible = true;
_x = (_x - travsp);
play();
}
}
}
Instance of Symbol 348 MovieClip "knife1" in Frame 6
onClipEvent (load) {
var inuse = false;
var knifedir = 1;
var scale = _xscale;
var travsp = 20;
var damage = 15;
}
onClipEvent (enterFrame) {
if (!_root.timestop) {
if ((!_root.meido.rage) && (!inuse)) {
travsp = 20;
damage = 15;
dmgint = 1;
} else if (_root.meido.rage && (!inuse)) {
travsp = 30;
damage = 30;
dmgint = 2;
}
if ((!inuse) && (_root.meido.dir == 1)) {
_xscale = scale;
_visible = false;
_x = (_root.meido._x + 10);
_y = (_root.meido._y - 35);
} else if ((!inuse) && (_root.meido.dir == 2)) {
_xscale = (-scale);
_visible = false;
_x = (_root.meido._x - 10);
_y = (_root.meido._y - 35);
}
if ((!inuse) && (_root.meido.ducked)) {
_y = (_root.meido._y - 15);
}
if (!inuse) {
knifedir = _root.meido.dir;
knife2f = false;
gotoAndStop (3);
}
if (((!inuse) && (!Key.isDown(90))) && (!_root.combo.zcombo)) {
knife1f = true;
} else if (inuse || (_root.combo.zcombo)) {
knife1f = false;
}
if (Key.isDown(90) && (knife1f)) {
inuse = true;
_visible = true;
}
if (inuse && (knifedir == 1)) {
damage = damage + dmgint;
_visible = true;
_x = (_x + travsp);
play();
} else if (inuse && (knifedir == 2)) {
damage = damage + dmgint;
_visible = true;
_x = (_x - travsp);
play();
}
if ((inuse && (!Key.isDown(90))) && (!_root.combo.zcombo)) {
knife2f = true;
} else if (_root.combo.zcombo) {
knife2f = false;
}
if (Key.isDown(90) || (_root.combo.zcombo)) {
knife1f = false;
}
}
}
Instance of Symbol 349 MovieClip "rb" in Frame 6
onClipEvent (load) {
var rm = 100;
rbe._visible = false;
rbs._visible = false;
}
onClipEvent (enterFrame) {
rbe._width = rm;
rbf._width = rm;
rbs._width = rm;
_x = (_root.meido._x - 35);
_y = (_root.meido._y - 80);
}
Instance of Symbol 353 MovieClip "stageborb0" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido._x, _root.meido._y, true) && (_root.currentscreen == _root.stageborx1y0)) {
shifting = true;
shiftspeedx = 50;
shiftspeedy = 0;
_root.currentscreen = _root.stagebor0;
}
if (shifting) {
_root.timestop = true;
_root._x = _root._x + shiftspeedx;
_root._y = _root._y + shiftspeedy;
_root.HUD._x = _root.HUD._x + (-shiftspeedx);
_root.HUD._y = _root.HUD._y + (-shiftspeedy);
_root.pausescreen._x = _root.pausescreen._x + (-shiftspeedx);
_root.pausescreen._y = _root.pausescreen._y + (-shiftspeedy);
}
if ((_root._x == (-_root.currentscreen._x)) && (_root._y == (-_root.currentscreen._y))) {
shifting = false;
}
}
Instance of Symbol 353 MovieClip "stageborbx1y0" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido._x, _root.meido._y, true) && (_root.currentscreen == _root.stagebor0)) {
shifting = true;
shiftspeedx = -50;
shiftspeedy = 0;
_root.currentscreen = _root.stageborx1y0;
}
if (this.hitTest(_root.meido._x, _root.meido._y, true) && (_root.currentscreen == _root.stageborx1yn1)) {
shifting = true;
shiftspeedx = 0;
shiftspeedy = -25;
_root.currentscreen = _root.stageborx1y0;
}
if (this.hitTest(_root.meido._x, _root.meido._y, true) && (_root.currentscreen == _root.stageborx2y0)) {
shifting = true;
shiftspeedx = 50;
shiftspeedy = 0;
_root.currentscreen = _root.stageborx1y0;
}
if (shifting) {
_root.timestop = true;
_root._x = _root._x + shiftspeedx;
_root._y = _root._y + shiftspeedy;
_root.HUD._x = _root.HUD._x + (-shiftspeedx);
_root.HUD._y = _root.HUD._y + (-shiftspeedy);
_root.pausescreen._x = _root.pausescreen._x + (-shiftspeedx);
_root.pausescreen._y = _root.pausescreen._y + (-shiftspeedy);
}
if ((_root._x == (-_root.currentscreen._x)) && (_root._y == (-_root.currentscreen._y))) {
shifting = false;
}
}
Instance of Symbol 353 MovieClip "stageborbx2y0" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido._x, _root.meido._y, true) && (_root.currentscreen == _root.stageborx1y0)) {
shifting = true;
shiftspeedx = -50;
shiftspeedy = 0;
_root.currentscreen = _root.stageborx2y0;
}
if (shifting) {
_root.timestop = true;
_root._x = _root._x + shiftspeedx;
_root._y = _root._y + shiftspeedy;
_root.HUD._x = _root.HUD._x + (-shiftspeedx);
_root.HUD._y = _root.HUD._y + (-shiftspeedy);
_root.pausescreen._x = _root.pausescreen._x + (-shiftspeedx);
_root.pausescreen._y = _root.pausescreen._y + (-shiftspeedy);
}
if ((_root._x == (-_root.currentscreen._x)) && (_root._y == (-_root.currentscreen._y))) {
shifting = false;
}
}
Instance of Symbol 353 MovieClip "stageborbx1yn1" in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido._x, _root.meido._y, true) && (_root.currentscreen == _root.stageborx1y0)) {
shifting = true;
shiftspeedx = 0;
shiftspeedy = 25;
_root.currentscreen = _root.stageborx1yn1;
}
if (shifting) {
_root.timestop = true;
_root._x = _root._x + shiftspeedx;
_root._y = _root._y + shiftspeedy;
_root.HUD._x = _root.HUD._x + (-shiftspeedx);
_root.HUD._y = _root.HUD._y + (-shiftspeedy);
_root.pausescreen._x = _root.pausescreen._x + (-shiftspeedx);
_root.pausescreen._y = _root.pausescreen._y + (-shiftspeedy);
}
if ((_root._x == (-_root.currentscreen._x)) && (_root._y == (-_root.currentscreen._y))) {
shifting = false;
}
}
Instance of Symbol 364 MovieClip "HUD" in Frame 6
onClipEvent (load) {
var scoredisplay = _global.score;
txt5.selectable = false;
txt4.selectable = false;
scoretxt.selectable = false;
bombtxt.selectable = false;
lifetxt.selectable = false;
}
onClipEvent (enterFrame) {
lifetxt.text = _global.lives;
bombtxt.text = _global.bombs;
scoretxt.text = scoredisplay;
if (scoredisplay < score) {
scoredisplay = scoredisplay + 1;
} else {
scoredisplay = score;
}
}
Instance of Symbol 372 MovieClip "pausescreen" in Frame 6
onClipEvent (load) {
var pausemenu = false;
var pauseready = false;
_visible = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
escdown = true;
}
if (!Key.isDown(27)) {
escdown = false;
}
if (escdown && (pauseready)) {
pausemenu = true;
} else if (escdown && (!pauseready)) {
pausemenu = false;
}
if ((!escdown) && (pausemenu)) {
pauseready = false;
} else if ((!escdown) && (!pausemenu)) {
pauseready = true;
}
if (pausemenu) {
_visible = true;
_root.HUD._visible = false;
_root.timestop = true;
} else if (!pausemenu) {
_visible = false;
_root.HUD._visible = true;
_root.timestop = false;
}
}
Instance of Symbol 375 MovieClip "target2h" in Frame 6
onClipEvent (load) {
oyateki = _root.ground2.target2;
}
onClipEvent (enterFrame) {
if ((_root.marked == oyateki) && (oyateki.health > 0)) {
_visible = true;
} else {
_visible = false;
}
hbar._xscale = oyateki.health;
_x = (oyateki._x - 38);
_y = (oyateki._y - 50);
}
Instance of Symbol 375 MovieClip "target3h" in Frame 6
onClipEvent (load) {
oyateki = _root.ground2.target3;
}
onClipEvent (enterFrame) {
if ((_root.marked == oyateki) && (oyateki.health > 0)) {
_visible = true;
} else {
_visible = false;
}
hbar._xscale = oyateki.health;
_x = (oyateki._x - 38);
_y = (oyateki._y - 50);
}
Instance of Symbol 375 MovieClip "target1h" in Frame 6
onClipEvent (load) {
oyateki = _root.ground2.target1;
}
onClipEvent (enterFrame) {
if ((_root.marked == oyateki) && (oyateki.health > 0)) {
_visible = true;
} else {
_visible = false;
}
hbar._xscale = oyateki.health;
_x = (oyateki._x - 38);
_y = (oyateki._y - 50);
}
Instance of Symbol 24 MovieClip in Frame 7
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Frame 7
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Frame 8
stop();
Instance of Symbol 24 MovieClip in Frame 8
onClipEvent (load) {
if (_global.inflives) {
this.gotoAndStop(3);
} else if (!_global.inflives) {
this.gotoAndStop(1);
}
}
on (rollOver) {
if (_global.inflives) {
this.gotoAndStop(4);
} else if (!_global.inflives) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (_global.inflives) {
this.gotoAndStop(3);
} else if (!_global.inflives) {
this.gotoAndStop(1);
}
}
on (press) {
if (_global.inflives == false) {
_global.inflives = true;
this.gotoAndStop(4);
} else if (_global.inflives == true) {
_global.inflives = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Frame 8
onClipEvent (load) {
if (_global.infbombs) {
this.gotoAndStop(3);
} else if (!_global.infbombs) {
this.gotoAndStop(1);
}
}
on (rollOver) {
if (_global.infbombs) {
this.gotoAndStop(4);
} else if (!_global.infbombs) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (_global.infbombs) {
this.gotoAndStop(3);
} else if (!_global.infbombs) {
this.gotoAndStop(1);
}
}
on (press) {
if (_global.infbombs == false) {
_global.infbombs = true;
this.gotoAndStop(4);
} else if (_global.infbombs == true) {
_global.infbombs = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Frame 8
onClipEvent (load) {
if (_global.infjumps) {
this.gotoAndStop(3);
} else if (!_global.infjumps) {
this.gotoAndStop(1);
}
}
on (rollOver) {
if (_global.infjumps) {
this.gotoAndStop(4);
} else if (!_global.infjumps) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (_global.infjumps) {
this.gotoAndStop(3);
} else if (!_global.infjumps) {
this.gotoAndStop(1);
}
}
on (press) {
if (_global.infjumps == false) {
_global.infjumps = true;
this.gotoAndStop(4);
} else if (_global.infjumps == true) {
_global.infjumps = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Frame 8
onClipEvent (load) {
if (_global.infrage) {
this.gotoAndStop(3);
} else if (!_global.infrage) {
this.gotoAndStop(1);
}
}
on (rollOver) {
if (_global.infrage) {
this.gotoAndStop(4);
} else if (!_global.infrage) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (_global.infrage) {
this.gotoAndStop(3);
} else if (!_global.infrage) {
this.gotoAndStop(1);
}
}
on (press) {
if (_global.infrage == false) {
_global.infrage = true;
this.gotoAndStop(4);
} else if (_global.infrage == true) {
_global.infrage = false;
this.gotoAndStop(2);
}
}
Frame 9
stop();
_x = 0;
_y = 0;
Frame 10
stop();
Frame 11
_global.currentlevel = _global.level1;
_x = (-_root.levelmap.stagebor1._x);
_y = (-_root.levelmap.stagebor1._y);
Instance of Symbol 182 MovieClip "meido" in Frame 11
onClipEvent (load) {
var levelmap = _root.levelmap;
var maxpoints = 2;
var maxpower = 0;
var maxbombs = 0;
var speed = 3;
var grav = 0;
var ex = (speed / 2);
var gravity = 0;
var jumpheight = -12;
var injump = false;
var jumpready = true;
var dbljump = false;
var dbljumpr = false;
var falling = true;
var onground = false;
var wall1 = false;
var wall2 = false;
var ceiling = false;
var ducked = false;
var dir = 1;
var strafe = walk;
var air = fall;
var movement = 7;
var attackanim1;
var rage = false;
var strafing = false;
var rageready = true;
var ragecost = 0;
var infrage = _global.infrage;
var inflives = _global.inflives;
var rbm = _root.rb;
var ragestate = 6;
var ragelimit = false;
infrage = true;
}
onClipEvent (enterFrame) {
if (dir == 1) {
idle = "ridle";
walk = "strafer";
run = "dashr";
jump = "jumpr";
fall = "fallr";
duck = "duckr";
} else if (dir == 2) {
idle = "lidle";
walk = "strafel";
run = "dashl";
jump = "jumpl";
fall = "falll";
duck = "duckl";
}
if ((Key.isDown(38) && (jumpready)) && (!rage)) {
grav = jumpheight;
injump = true;
ducked = false;
} else if (onground) {
injump = false;
}
if (onground && (!falling)) {
injump = false;
}
if ((!onground) && (falling)) {
jumpready = false;
ducked = false;
}
if ((!Key.isDown(38)) && (onground)) {
jumpready = true;
}
if ((onground && (!injump)) || ((!onground) && (!injump))) {
falling = true;
}
if (injump) {
falling = false;
air = jump;
jumpready = false;
ducked = false;
} else if (falling) {
air = fall;
}
if (Key.isDown(40) && (onground)) {
ducked = true;
} else {
ducked = false;
}
if (ducked) {
movement = 1;
} else if (((Key.isDown(39) && (!Key.isDown(37))) && (!onground)) && (!wall1)) {
movement = 2;
} else if ((Key.isDown(39) && (!Key.isDown(37))) && (onground)) {
movement = 3;
} else if (((Key.isDown(37) && (!Key.isDown(39))) && (!onground)) && (!wall2)) {
movement = 4;
} else if ((Key.isDown(37) && (!Key.isDown(39))) && (onground)) {
movement = 5;
} else if (onground) {
movement = 6;
} else {
movement = 7;
}
if (movement == 1) {
this.gotoAndStop(duck);
speed = 0;
} else if (movement == 2) {
_x = (_x + speed);
dir = 1;
this.gotoAndStop(air);
} else if (movement == 3) {
_x = (_x + speed);
dir = 1;
strafing = true;
this.gotoAndStop(strafe);
} else if (movement == 4) {
_x = (_x - speed);
dir = 2;
this.gotoAndStop(air);
} else if (movement == 5) {
_x = (_x - speed);
dir = 2;
strafing = true;
this.gotoAndStop(strafe);
} else if (movement == 6) {
this.gotoAndStop(idle);
ducked = false;
strafing = false;
} else if (movement == 7) {
this.gotoAndStop(air);
strafing = false;
}
if (Key.isDown(16) && (rageready)) {
rage = true;
} else {
rage = false;
}
if ((((!ragelimit) && (rage)) && (rbm.rm <= 100)) && (rbm.rm > 0)) {
ragestate = 1;
} else if ((((!ragelimit) && (!rage)) && (rbm.rm < 100)) && (rbm.rm > 0)) {
ragestate = 2;
} else if (rbm.rm < 0) {
ragestate = 3;
}
if ((!rage) && (rbm.rm > 100)) {
ragestate = 4;
} else if (rage && (rbm.rm > 100)) {
ragestate = 5;
} else if ((!rage) && (rbm.rm == 100)) {
ragestate = 6;
}
if (ragestate == 1) {
_root.rb._visible = true;
_root.rb.rbf._visible = true;
_root.rb.rbs._visible = false;
_root.rb.rbe._visible = false;
rage = true;
surplus = false;
speed = 7;
rbm.rm--;
strafe = run;
}
if (ragestate == 2) {
_root.rb._visible = true;
_root.rb.rbf._visible = true;
_root.rb.rbs._visible = false;
_root.rb.rbe._visible = false;
rage = false;
rbm.rm = rbm.rm + 0.5;
speed = 3;
strafe = walk;
rage = false;
surplus = false;
rageready = true;
}
if (ragestate == 3) {
_root.rb._visible = true;
_root.rb.rbf._visible = false;
_root.rb.rbs._visible = false;
_root.rb.rbe._visible = true;
rage = false;
surplus = false;
rageready = false;
ragelimit = true;
speed = 1;
strafe = walk;
rbm.rm = rbm.rm + 0.5;
}
if (ragestate == 4) {
_root.rb._visible = true;
_root.rb.rbf._visible = false;
_root.rb.rbs._visible = true;
_root.rb.rbe._visible = false;
rage = false;
rbm.rm = rbm.rm - 0.5;
speed = 5;
surplus = true;
strafe = walk;
rageready = true;
ragelimit = false;
}
if (ragestate == 5) {
_root.rb._visible = true;
_root.rb.rbf._visible = false;
_root.rb.rbs._visible = true;
_root.rb.rbe._visible = false;
speed = 10;
rbm.rm = rbm.rm - 1;
strafe = run;
rage = true;
surplus = true;
rageready = true;
ragelimit = false;
}
if (ragestate == 6) {
_root.rb._visible = false;
_root.rb.rbf._visible = false;
_root.rb.rbs._visible = false;
_root.rb.rbe._visible = false;
speed = 3;
rbm.rm = 100;
strafe = walk;
surplus = false;
rageready = true;
ragelimit = false;
rage = false;
}
if (infrage && (surplus == false)) {
rbm.rm = 100;
_root.rb.rbf._visible = false;
_root.rb.rbs._visible = true;
_root.rb.rbe._visible = false;
ragecost = 0;
}
if (inflives) {
_global.lives = 99;
}
if ((dbljumpr && (Key.isDown(38))) && (rbm.rm >= 10)) {
injump = true;
air = jump;
jumpheight = -15;
grav = jumpheight;
ragecost = 10;
rbm.rm = rbm.rm - ragecost;
dbljump = true;
dbljumpr = false;
} else if (((rage && (jumpready)) && (Key.isDown(38))) && (rbm.rm >= 5)) {
injump = true;
air = jump;
jumpheight = -15;
grav = jumpheight;
ragecost = 5;
rbm.rm = rbm.rm - ragecost;
} else if (((rage && (jumpready)) && (Key.isDown(38))) && (rbm.rm < 5)) {
grav = jumpheight;
injump = true;
air = jump;
jumpheight = -12;
grav = jumpheight;
}
if (jumpready && (!Key.isDown(38))) {
dbljumpr = true;
dbljump = false;
jumpheight = -12;
}
if (((rage && (!jumpready)) && (!Key.isDown(38))) && (!dbljump)) {
dbljumpr = true;
} else {
dbljumpr = false;
}
if (grav < 25) {
grav++;
}
_y = (_y + grav);
while (_root.levelmap.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
}
if (_root.levelmap.ground.hitTest(_x, _y + 5, true)) {
onground = true;
} else {
onground = false;
}
if ((_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.levelmap.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
wall1 = true;
} else {
wall1 = false;
}
if ((_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.levelmap.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
wall2 = true;
} else {
wall2 = false;
}
if (_root.levelmap.ground.hitTest(_x, (_y - _height) - 6, true)) {
grav = 0;
_y = (_y + 3);
ceiling = true;
} else {
ceiling = false;
}
if (wall1 & wall2) {
speed = speed - speed;
}
}
Instance of Symbol 437 MovieClip "teki" in Frame 11
onClipEvent (load) {
var espeed = 5;
var egrav = 0;
}
onClipEvent (enterFrame) {
egrav++;
_y = (_y + egrav);
while (_root.levelmap.ground.hitTest(_x, _y, true)) {
_y = (_y - 1);
egrav = 0;
}
}
Instance of Symbol 364 MovieClip "HUD" in Frame 11
onClipEvent (load) {
var scoredisplay = _global.score;
txt5.selectable = false;
txt4.selectable = false;
scoretxt.selectable = false;
bombtxt.selectable = false;
lifetxt.selectable = false;
}
onClipEvent (enterFrame) {
lifetxt.text = _global.lives;
bombtxt.text = _global.bombs;
scoretxt.text = scoredisplay;
txt4.text = _root.meido._height;
txt5.text = _root.meido._width;
if (scoredisplay < score) {
scoredisplay = scoredisplay + 1;
} else {
scoredisplay = score;
}
}
Instance of Symbol 349 MovieClip "rb" in Frame 11
onClipEvent (load) {
var rm = 100;
rbe._visible = false;
rbs._visible = false;
}
onClipEvent (enterFrame) {
rbe._width = rm;
rbf._width = rm;
rbs._width = rm;
_x = (_root.meido._x - 35);
_y = (_root.meido._y - 80);
}
Symbol 3 MovieClip [del] Frame 1
onEnterFrame = function () {
if (_global.ingame) {
_alpha = (_alpha - _root.delfade);
if (_alpha <= 0) {
removeMovieClip(this);
}
} else if (!_global.ingame) {
removeMovieClip(this);
}
};
Symbol 6 MovieClip [shrap] Frame 1
_x = _root.epicenter._x;
_y = _root.epicenter._y;
rotspeed = random(20) - 10;
lifespan = 50;
xspeed = random(20) - 10;
yspeed = random(20) - 20;
_root.bakuhatsu = true;
onEnterFrame = function () {
if (!_root.timestop) {
_rotation = (_rotation + rotspeed);
_x = (_x + xspeed);
_y = (_y + yspeed);
yspeed++;
lifespan--;
if (lifespan < 10) {
_alpha = (_alpha - 5);
_root.bakuhatsu = false;
}
if (lifespan <= 0) {
removeMovieClip(this);
}
}
};
Symbol 15 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local2 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local2;
if (_local2 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
}
function startMovie() {
_root.play();
}
_root.stop();
stop();
var AUTO_PLAY = true;
var loadingComplete = false;
timerHandler();
Instance of Symbol 14 MovieClip in Symbol 15 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.timerHandler();
}
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 2
stop();
Symbol 24 MovieClip Frame 3
stop();
Symbol 24 MovieClip Frame 4
stop();
Symbol 34 Button
on (release, keyPress "<Enter>") {
var namefields = namefield.text;
var emailfields = emailfield.text;
var subjectfields = subjectfield.text;
var commentfields = commentfield.text;
var captchafields = captchafield.text;
if ((((emailfields == emailpass) && (commentfields == commentpass)) && (namefields != moottrip)) && (captchafields.indexOf(captchapass) >= 0)) {
gotoAndStop ("Menu2");
_global.mootmode = false;
} else if (namefields == moottrip) {
_global.mootmode = true;
gotoAndStop ("Menu2");
} else {
_global.mootmode = false;
stop();
}
}
Symbol 44 MovieClip Frame 1
var currentDate = new Date();
var month = currentDate.getMonth();
var day = currentDate.getDate();
var year = currentDate.getFullYear();
var dayname = currentDate.getDay();
if (dayname == 0) {
dayname2 = "Sun";
} else if (dayname == 1) {
dayname2 = "Mon";
} else if (dayname == 2) {
dayname2 = "Tue";
} else if (dayname == 3) {
dayname2 = "Wed";
} else if (dayname == 4) {
dayname2 = "Thu";
} else if (dayname == 5) {
dayname2 = "Fri";
} else if (dayname == 6) {
dayname2 = "Sat";
}
if (day < 9) {
zeroday = "0";
} else {
zeroday = "";
}
if (month < 9) {
zeromonth = "0";
} else {
zeromonth = "";
}
datebox.selectable = false;
daybox.selectable = false;
datebox.text = (((((zeromonth + month) + "/") + zeroday) + day) + "/") + (year - 2000);
daybox.text = ("(" + dayname2) + ")";
Symbol 56 Button
on (release) {
gotoAndPlay ("cheatpage");
}
Symbol 59 Button
on (release) {
gotoAndStop ("levelsel");
}
Symbol 60 Button
on (release) {
gotoAndPlay ("howtoplay");
}
Symbol 61 Button
on (release) {
gotoAndPlay ("options");
}
Symbol 75 Button
on (release) {
gotoAndStop ("menu2");
}
Symbol 80 Button
on (press) {
_root._quality = "LOW";
highline._visible = false;
medline._visible = false;
lowline._visible = true;
}
Symbol 81 Button
on (press) {
_root._quality = "MEDIUM";
highline._visible = false;
medline._visible = true;
lowline._visible = false;
}
Symbol 82 Button
on (press) {
_root._quality = "HIGH";
highline._visible = true;
medline._visible = false;
lowline._visible = false;
}
Symbol 94 Button
on (release) {
gotoAndStop ("tutorial");
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 59
gotoAndStop (1);
health = 100;
Symbol 114 MovieClip Frame 62
gotoAndStop (1);
Instance of Symbol 114 MovieClip "target1" in Symbol 115 MovieClip Frame 1
onClipEvent (load) {
var health = 100;
var dead1 = false;
var dead2 = false;
var hbar = _root.target1h;
}
onClipEvent (enterFrame) {
if (_root.timestop && (dead)) {
stop();
}
if (!_root.timestop) {
if ((_root.combo.mudaon && (this.hitTest(_root.theworldanim.hitbox))) && (!dead)) {
gotoAndPlay ("hit");
health = health - 2;
}
if ((this.hitTest(_root.knife1._x, _root.knife1._y, true) && (_root.knife1.inuse)) && (!dead)) {
gotoAndPlay ("hit");
_root.knife1.inuse = false;
_root.knifehit1 = true;
_root.marked = this;
health = health - _root.knife1.damage;
}
if ((this.hitTest(_root.knife2._x, _root.knife2._y, true) && (_root.knife2.inuse)) && (!dead)) {
gotoAndPlay ("hit");
_root.knife2.inuse = false;
_root.knifehit2 = true;
_root.marked = this;
health = health - _root.knife2.damage;
}
if ((this.hitTest(_root.sagebomb._x, _root.sagebomb._y, true) && (_root.sagebomb.inuse)) && (!dead)) {
health = health - 100;
gotoAndPlay ("hit");
}
if ((this.hitTest(_root.blast) && (_root.bombing)) && (!dead)) {
gotoAndPlay ("hit");
health = health - _root.sagebomb.damage;
}
if (health <= 0) {
dead = true;
play();
} else {
dead = false;
}
if ((_root.marked == this) && (dead)) {
_root.marked = _root.notmarked;
}
if (_root.timestop) {
stop();
}
}
}
Instance of Symbol 114 MovieClip "target3" in Symbol 115 MovieClip Frame 1
onClipEvent (load) {
var health = 100;
var dead1 = false;
var dead2 = false;
var hbar = _root.target3h;
}
onClipEvent (enterFrame) {
if (_root.timestop && (dead)) {
stop();
}
if (!_root.timestop) {
if ((_root.combo.mudaon && (this.hitTest(_root.theworldanim.hitbox))) && (!dead)) {
gotoAndPlay ("hit");
health = health - 2;
}
if ((this.hitTest(_root.knife1._x, _root.knife1._y, true) && (_root.knife1.inuse)) && (!dead)) {
gotoAndPlay ("hit");
_root.knife1.inuse = false;
_root.knifehit1 = true;
_root.marked = this;
health = health - _root.knife1.damage;
}
if ((this.hitTest(_root.knife2._x, _root.knife2._y, true) && (_root.knife2.inuse)) && (!dead)) {
gotoAndPlay ("hit");
_root.knife2.inuse = false;
_root.knifehit2 = true;
_root.marked = this;
health = health - _root.knife2.damage;
}
if ((this.hitTest(_root.sagebomb._x, _root.sagebomb._y, true) && (_root.sagebomb.inuse)) && (!dead)) {
health = health - 100;
gotoAndPlay ("hit");
}
if ((this.hitTest(_root.blast) && (_root.bombing)) && (!dead)) {
gotoAndPlay ("hit");
health = health - _root.sagebomb.damage;
}
if (health <= 0) {
dead = true;
play();
} else {
dead = false;
}
if ((_root.marked == this) && (dead)) {
_root.marked = _root.notmarked;
}
if (_root.timestop) {
stop();
}
}
}
Instance of Symbol 114 MovieClip "target2" in Symbol 115 MovieClip Frame 1
onClipEvent (load) {
var health = 100;
var dead1 = false;
var dead2 = false;
var hbar = _root.target2h;
}
onClipEvent (enterFrame) {
if (_root.timestop && (dead)) {
stop();
}
if (!_root.timestop) {
if ((_root.combo.mudaon && (this.hitTest(_root.theworldanim.hitbox))) && (!dead)) {
gotoAndPlay ("hit");
health = health - 2;
}
if ((this.hitTest(_root.knife1._x, _root.knife1._y, true) && (_root.knife1.inuse)) && (!dead)) {
gotoAndPlay ("hit");
_root.knife1.inuse = false;
_root.knifehit1 = true;
_root.marked = this;
health = health - _root.knife1.damage;
}
if ((this.hitTest(_root.knife2._x, _root.knife2._y, true) && (_root.knife2.inuse)) && (!dead)) {
gotoAndPlay ("hit");
_root.knife2.inuse = false;
_root.knifehit2 = true;
_root.marked = this;
health = health - _root.knife2.damage;
}
if ((this.hitTest(_root.sagebomb._x, _root.sagebomb._y, true) && (_root.sagebomb.inuse)) && (!dead)) {
health = health - 100;
gotoAndPlay ("hit");
}
if ((this.hitTest(_root.blast) && (_root.bombing)) && (!dead)) {
gotoAndPlay ("hit");
health = health - _root.sagebomb.damage;
}
if (health <= 0) {
dead = true;
play();
} else {
dead = false;
}
if ((_root.marked == this) && (dead)) {
_root.marked = _root.notmarked;
}
if (_root.timestop) {
stop();
}
}
}
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 4
stop();
Symbol 182 MovieClip Frame 7
stop();
Symbol 182 MovieClip Frame 10
stop();
Symbol 182 MovieClip Frame 13
stop();
Symbol 182 MovieClip Frame 16
stop();
Symbol 182 MovieClip Frame 19
stop();
Symbol 182 MovieClip Frame 22
stop();
Symbol 182 MovieClip Frame 25
stop();
Symbol 182 MovieClip Frame 28
stop();
Symbol 182 MovieClip Frame 31
stop();
Symbol 182 MovieClip Frame 34
stop();
Symbol 195 MovieClip Frame 1
stop();
_root.sagebomb.damage = 0;
_root.bombing = false;
_visible = false;
Symbol 195 MovieClip Frame 2
_root.sagebomb.damage = 100;
_root.bombing = true;
_visible = true;
Symbol 195 MovieClip Frame 3
_root.sagebomb.damage = 50;
Symbol 195 MovieClip Frame 4
_root.sagebomb.damage = 25;
Symbol 195 MovieClip Frame 5
_root.sagebomb.damage = 15;
Symbol 195 MovieClip Frame 6
_root.sagebomb.damage = 5;
Symbol 195 MovieClip Frame 7
_root.sagebomb.damage = 0;
_visible = false;
_root.bombing = false;
gotoAndStop (1);
Symbol 200 MovieClip Frame 13
stop();
Instance of Symbol 216 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido)) {
_root.rb.rm = _root.rb.rm + 75;
this.unloadMovie();
}
}
Instance of Symbol 218 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido)) {
_global.lives = _global.lives + 1;
this.unloadMovie();
}
}
Instance of Symbol 220 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido)) {
_global.score = _global.score + 10;
this.unloadMovie();
}
}
Instance of Symbol 222 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido)) {
_root.rb.rm = _root.rb.rm + 50;
this.unloadMovie();
}
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido)) {
_global.bombs = _global.bombs + 1;
this.unloadMovie();
}
}
Instance of Symbol 220 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido)) {
_global.score = _global.score + 10;
this.unloadMovie();
}
}
Instance of Symbol 220 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido)) {
_global.score = _global.score + 10;
this.unloadMovie();
}
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido) && (_global.bombs < 3)) {
_global.bombs = _global.bombs + 1;
}
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido) && (_global.bombs < 3)) {
_global.bombs = _global.bombs + 1;
}
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido) && (_global.bombs < 3)) {
_global.bombs = _global.bombs + 1;
}
}
Instance of Symbol 222 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido)) {
_root.rb.rm = _root.rb.rm + 50;
this.unloadMovie();
}
}
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 2
_root.knifehit1 = false;
_root.knifehit2 = false;
Symbol 228 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 20
mudareset();
Symbol 343 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 113
_root.combo.mudaon = false;
_root.combo.mudar = true;
_visible = false;
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 40
_root.knife2.inuse = false;
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 40
_root.knife1.inuse = false;
Symbol 370 Button
on (release) {
pausemenu = false;
}
Symbol 371 Button
on (release) {
pausemenu = false;
_root.gotoAndStop("Menu2");
}
Instance of Symbol 24 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Instance of Symbol 24 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(1);
ticked = false;
}
on (rollOver) {
if (ticked) {
this.gotoAndStop(4);
} else if (!ticked) {
this.gotoAndStop(2);
}
}
on (rollOut) {
if (ticked) {
this.gotoAndStop(3);
} else if (!ticked) {
this.gotoAndStop(1);
}
}
on (press) {
if (!ticked) {
ticked = true;
this.gotoAndStop(4);
} else if (ticked) {
ticked = false;
this.gotoAndStop(2);
}
}
Symbol 383 Button
on (release) {
gotoAndStop ("howtoplay");
}
Symbol 410 MovieClip Frame 1
play();
livestxt.text = _global.lives + 1;
Symbol 410 MovieClip Frame 40
if (_global.inflives == false) {
livestxt.text = _global.lives;
} else if (_global.inflives == true) {
livestxt.text = _global.lives + 1;
}
if (_global.lives == 0) {
_global.currentlevel = _global.level0;
}
Symbol 410 MovieClip Frame 70
livestxt.text = _global.lives;
_root.gotoAndStop(_global.currentlevel);
Symbol 413 Button
on (release) {
gotoAndStop ("menu1");
}
Instance of Symbol 353 MovieClip "stageborbx1y0" in Symbol 417 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido._x, _root.meido._y, true)) {
_root._x = -_root.levelmap.stageborx1y0._x;
_root._y = -_root.levelmap.stageborx1y0._y;
_root.HUD._x = _root.levelmap.stageborx1y0._x;
_root.HUD._y = _root.levelmap.stageborx1y0._y;
}
}
Instance of Symbol 353 MovieClip "stageborb0" in Symbol 417 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido._x, _root.meido._y, true)) {
_root._x = -_root.levelmap.stagebor0._x;
_root._y = -_root.levelmap.stagebor0._y;
_root.HUD._x = _root.levelmap.stagebor0._x;
_root.HUD._y = _root.levelmap.stagebor0._y;
}
}
Instance of Symbol 353 MovieClip "stageborbx2y0" in Symbol 417 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido._x, _root.meido._y, true)) {
_root._x = -_root.levelmap.stageborx2y0._x;
_root._y = -_root.levelmap.stageborx2y0._y;
_root.HUD._x = _root.levelmap.stageborx2y0._x;
_root.HUD._y = _root.levelmap.stageborx2y0._y;
}
}
Instance of Symbol 353 MovieClip "stageborbx3y0" in Symbol 417 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido._x, _root.meido._y, true)) {
_root._x = -_root.levelmap.stageborx3y0._x;
_root._y = -_root.levelmap.stageborx3y0._y;
_root.HUD._x = _root.levelmap.stageborx3y0._x;
_root.HUD._y = _root.levelmap.stageborx3y0._y;
}
}
Instance of Symbol 353 MovieClip "stageborbx0yn1" in Symbol 417 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido._x, _root.meido._y, true)) {
_root._x = -_root.levelmap.stageborx0yn1._x;
_root._y = -_root.levelmap.stageborx0yn1._y;
_root.HUD._x = _root.levelmap.stageborx0yn1._x;
_root.HUD._y = _root.levelmap.stageborx0yn1._y;
}
}
Instance of Symbol 353 MovieClip "stageborbx1yn1" in Symbol 417 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.meido._x, _root.meido._y, true)) {
_root._x = -_root.levelmap.stageborx1yn1._x;
_root._y = -_root.levelmap.stageborx1yn1._y;
_root.HUD._x = _root.levelmap.stageborx1yn1._x;
_root.HUD._y = _root.levelmap.stageborx1yn1._y;
}
}
Symbol 418 Button
on (release) {
gotoAndStop ("menu2");
_global.mootmode = true;
}
Symbol 420 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 7
gotoAndPlay ("strafel");
Symbol 436 MovieClip Frame 2
stop();
Symbol 437 MovieClip Frame 2
stop();
Symbol 437 MovieClip Frame 3
stop();
Symbol 437 MovieClip Frame 4
stop();