Frame 1
stop();
_global.lost = 3;
_root._quality = "LOW";
Instance of Symbol 3 MovieClip in Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
a = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
gotoAndStop(a);
percent = a + "%";
if (a == 100) {
_root.play();
}
}
Frame 3
stop();
Instance of Symbol 33 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_parent.mask.play();
}
}
Frame 5
stop();
Instance of Symbol 161 MovieClip "world" in Frame 5
onClipEvent (load) {
_xscale = 100;
_yscale = 100;
}
Instance of Symbol 188 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_parent.mask.play();
}
}
Symbol 5 MovieClip Frame 1
stop();
Symbol 5 MovieClip Frame 55
_parent.nextFrame();
Symbol 5 MovieClip Frame 95
stop();
Symbol 37 MovieClip Frame 131
_parent.nextFrame();
Symbol 56 MovieClip Frame 9
gotoAndPlay (1);
Symbol 56 MovieClip Frame 30
stop();
Symbol 56 MovieClip Frame 45
gotoAndPlay (1);
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 10
gotoAndStop (1);
Symbol 60 MovieClip Frame 27
removeMovieClip(_parent.maze["block" + id]);
stop();
_visible = false;
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 10
gotoAndStop (1);
Symbol 66 MovieClip Frame 19
stop();
Symbol 66 MovieClip Frame 31
removeMovieClip(_parent.maze["block" + id]);
stop();
_visible = false;
Symbol 83 MovieClip Frame 1
stop();
Instance of Symbol 85 MovieClip in Symbol 86 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = (_alpha + 40);
if (_alpha > 100) {
_alpha = 0;
}
}
Instance of Symbol 85 MovieClip in Symbol 102 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = (_alpha + 40);
if (_alpha > 100) {
_alpha = 0;
}
}
Instance of Symbol 83 MovieClip "fist" in Symbol 110 MovieClip Frame 3
onClipEvent (enterFrame) {
_y = (-39 + ys);
}
Instance of Symbol 83 MovieClip "fist" in Symbol 110 MovieClip Frame 7
onClipEvent (enterFrame) {
_y = (-39 + ys);
}
Symbol 117 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 5
removeMovieClip(this);
Symbol 123 MovieClip Frame 7
stop();
Symbol 123 MovieClip Frame 10
stop();
removeMovieClip(this);
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 2
gotoAndStop (1);
Symbol 142 MovieClip Frame 9
gotoAndPlay (1);
Symbol 142 MovieClip Frame 30
_visible = false;
Symbol 147 MovieClip Frame 9
gotoAndPlay (1);
Symbol 147 MovieClip Frame 30
_visible = false;
Symbol 155 MovieClip Frame 9
gotoAndPlay (1);
Symbol 155 MovieClip Frame 19
stop();
Symbol 155 MovieClip Frame 30
_visible = false;
Symbol 158 MovieClip Frame 6
_y = -2000;
Instance of Symbol 56 MovieClip in Symbol 161 MovieClip Frame 1
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
bwait = 10;
xst = _x;
range = 50;
game = true;
lives = 25;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if (bwait == 0) {
bwait = 30 + random(50);
gotoAndPlay (50);
_parent.bowserbullet(_x - 50, _y, -10);
} else {
bwait--;
}
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kflevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
lives--;
gotoAndPlay (40);
}
if (lives < 0) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
if ((xst - range) > _x) {
xs = xs * -1;
}
if ((xst + range) < _x) {
xs = xs * -1;
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 58 MovieClip in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.mario.hitTest(this)) {
_root.gotoAndStop(10);
}
}
Symbol 161 MovieClip Frame 5
stop();
_global.kflevel = 0;
function brickblast(x, y) {
plev++;
duplicateMovieClip ("bblast", "particle" + plev, plev + 2000);
this["particle" + plev]._x = x;
this["particle" + plev]._y = y;
this["particle" + plev].xs = -4;
this["particle" + plev].ys = -6;
plev++;
duplicateMovieClip ("bblast", "particle" + plev, plev + 2000);
this["particle" + plev]._x = x;
this["particle" + plev]._y = y;
this["particle" + plev].xs = 4;
this["particle" + plev].ys = -6;
plev++;
duplicateMovieClip ("bblast", "particle" + plev, plev + 2000);
this["particle" + plev]._x = x;
this["particle" + plev]._y = y;
this["particle" + plev].xs = -4;
this["particle" + plev].ys = -4;
plev++;
duplicateMovieClip ("bblast", "particle" + plev, plev + 2000);
this["particle" + plev]._x = x;
this["particle" + plev]._y = y;
this["particle" + plev].xs = 4;
this["particle" + plev].ys = -4;
es.gotoAndStop(2);
}
function growshroom(x, y, xs) {
plev++;
duplicateMovieClip ("grows", "particle" + plev, plev + 2000);
this["particle" + plev]._x = x;
this["particle" + plev]._y = y - 15;
this["particle" + plev].xs = xs / 2;
this["particle" + plev].ys = -4;
}
function bowserbullet(x, y, xs) {
plev++;
duplicateMovieClip ("bigbullet", "particle" + plev, plev + 2000);
if (xs < 0) {
this["particle" + plev]._xscale = -200;
}
this["particle" + plev]._x = x;
this["particle" + plev]._y = y - 15;
this["particle" + plev].xs = xs / 2;
this["particle" + plev].ys = -4;
}
function growlifeshroom(x, y, xs) {
plev++;
duplicateMovieClip ("lifeshroom", "particle" + plev, plev + 2000);
this["particle" + plev]._x = x;
this["particle" + plev]._y = y - 15;
this["particle" + plev].xs = xs / 2;
this["particle" + plev].ys = -4;
}
function dingcoin(x, y) {
plev++;
duplicateMovieClip ("coin", "particle" + plev, plev + 2000);
this["particle" + plev]._x = x;
this["particle" + plev]._y = y - 15;
}
plev = 0;
coinlev = 1;
dustlevel = 0;
_root.blev = 0;
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 66 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
coins = 0;
once = false;
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_currentframe == 1) && (_parent.mario.hitbrick != true)) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) {
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.mario.hitbrick = true;
play();
_parent.dingcoin(_x - 15, _y, 3);
coins--;
if (coins < 0) {
gotoAndPlay (11);
}
if (once == false) {
once = true;
}
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 66 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
coins = 4;
once = false;
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_currentframe == 1) && (_parent.mario.hitbrick != true)) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) {
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.mario.hitbrick = true;
play();
_parent.dingcoin(_x - 15, _y, 3);
coins--;
if (coins < 0) {
gotoAndPlay (11);
}
if (once == false) {
once = true;
}
}
}
}
Instance of Symbol 66 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
once = false;
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_currentframe == 1) && (_parent.mario.hitbrick != true)) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) {
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.mario.hitbrick = true;
play();
if (once == false) {
once = true;
_parent.growshroom(_x - 15, _y, 3);
}
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 66 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
once = false;
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_currentframe == 1) && (_parent.mario.hitbrick != true)) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) {
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.mario.hitbrick = true;
play();
if (once == false) {
once = true;
_parent.growshroom(_x - 15, _y, 3);
}
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 66 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
once = false;
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_currentframe == 1) && (_parent.mario.hitbrick != true)) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) {
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.mario.hitbrick = true;
play();
if (once == false) {
once = true;
_parent.growshroom(_x - 15, _y, 3);
}
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 66 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
coins = 4;
once = false;
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_currentframe == 1) && (_parent.mario.hitbrick != true)) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) {
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.mario.hitbrick = true;
play();
_parent.dingcoin(_x - 15, _y, 3);
coins--;
if (coins < 0) {
gotoAndPlay (11);
}
if (once == false) {
once = true;
}
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 66 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
coins = 4;
once = false;
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_currentframe == 1) && (_parent.mario.hitbrick != true)) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) {
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.mario.hitbrick = true;
play();
_parent.dingcoin(_x - 15, _y, 3);
coins--;
if (coins < 0) {
gotoAndPlay (11);
}
if (once == false) {
once = true;
}
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 66 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
coins = 4;
once = false;
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_currentframe == 1) && (_parent.mario.hitbrick != true)) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) {
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.mario.hitbrick = true;
play();
_parent.dingcoin(_x - 15, _y, 3);
coins--;
if (coins < 0) {
gotoAndPlay (11);
}
if (once == false) {
once = true;
}
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 60 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig != true)) {
_parent.mario.hitbrick = true;
play();
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
}
if (((((_parent.mario.hitbrick != true) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) && (_parent.mario.mariobig == true)) {
_parent.mario.hitbrick = true;
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.brickblast(_x - 15, _y);
gotoAndPlay (11);
}
}
}
Instance of Symbol 66 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
once = false;
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_currentframe == 1) && (_parent.mario.hitbrick != true)) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) {
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.mario.hitbrick = true;
play();
if (once == false) {
once = true;
_parent.growshroom(_x - 15, _y, 3);
}
}
}
}
Instance of Symbol 66 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
once = false;
_root.blev++;
id = _root.blev;
duplicateMovieClip (_parent.maze.block, "block" + _root.blev, _root.blev);
_parent.maze["block" + _root.blev]._x = _x - _parent.maze._x;
_parent.maze["block" + _root.blev]._y = _y - _parent.maze._y;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (((((_currentframe == 1) && (_parent.mario.hitbrick != true)) && (_parent.mario.fist.hitTest(this))) && (this._y < (_parent.mario._y - 33))) && (_parent.mario.ys < 0)) {
_parent.flipper._x = _x - 8;
_parent.flipper._y = _y - 10;
_parent.mario.hitbrick = true;
play();
if (once == false) {
once = true;
_parent.growshroom(_x - 15, _y, 3);
}
}
}
}
Instance of Symbol 110 MovieClip "mario" in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function die() {
if (_currentframe != 12) {
gotoAndStop (12);
}
if (mariobig == true) {
mariobig = false;
_global.flashtimer = 80;
} else {
game = false;
ys = -5;
}
}
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
function leftcheck() {
var _local2 = 0;
while (_local2 < 5) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + ys) - _local2, _y + _parent._y, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
function rightcheck() {
var _local2 = 0;
while (_local2 < 5) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + ys) + _local2, _y + _parent._y, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
myListener = new Object();
myListener.onKeyDown = function () {
if ((Key.getAscii() == 122) || (Key.getAscii() == 90)) {
runit = true;
}
if ((Key.getAscii() == 120) || (Key.getAscii() == 88)) {
jumpit = true;
}
if ((Key.getAscii() == 99) || (Key.getAscii() == 66)) {
shootit = true;
}
};
myListener.onKeyUp = function () {
if ((Key.getAscii() == 122) || (Key.getAscii() == 90)) {
runit = false;
}
if ((Key.getAscii() == 120) || (Key.getAscii() == 88)) {
jumpit = false;
}
if ((Key.getAscii() == 99) || (Key.getAscii() == 66)) {
shootit = false;
}
};
Key.addListener(myListener);
sdelay = 30;
bwait = 0;
_global.flashtimer = 0;
mariobig = false;
mariosit = false;
bulletl = 0;
dustlevel = 1000;
maxbullets = 6;
xspeed = 2;
xs = 0;
ys = 0;
grounded = false;
}
onClipEvent (enterFrame) {
_global.kfolevel = _global.kflevel;
_global.kflevel = 0;
if (_global.flashtimer > 0) {
_global.flashtimer--;
if (_global.flashtimer > 30) {
kp = true;
}
}
if (_global.flashtimer < 30) {
if (game != false) {
if ((_y > 500) && (donce != true)) {
die();
donce = true;
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var kp = false;
var fire = false;
if (Key.isDown(40)) {
if (mariobig == true) {
mariosit = true;
kp = true;
if (grounded == true) {
if (Math.abs(xs) > 0.4) {
if (xs < 0) {
xs = xs + 0.1;
} else {
xs = xs - 0.1;
}
} else {
xs = 0;
}
}
gotoAndStop (9);
}
} else {
mariosit = false;
}
if (shootit == true) {
if (nofire != true) {
if (mariosit != true) {
if (Math.abs(xs) < 9) {
if (_xscale > 0) {
xs = xs - (random(3) / 10);
}
if (_xscale < 0) {
xs = xs + (random(3) / 10);
}
}
trace((bulletl + " ") + maxbullets);
if (bulletl > maxbullets) {
nofire = true;
}
if (bwait == 0) {
bulletl++;
duplicateMovieClip (_parent.mbullet, "mbullet" + bulletl, bulletl + 3000);
_parent["mbullet" + bulletl]._xscale = _xscale;
if (mariobig != true) {
_parent["mbullet" + bulletl]._y = _y - 20;
_parent["mbullet" + bulletl]._x = _x + (_xscale / 10);
} else {
_parent["mbullet" + bulletl]._y = _y - 32;
_parent["mbullet" + bulletl]._x = _x + (_xscale / 10);
}
_parent["mbullet" + bulletl].xs = _xscale / 5;
if (mariobig != true) {
gotoAndStop (4);
} else {
gotoAndStop (8);
}
}
kp = true;
var fire = true;
if (bwait == 0) {
if (mariobig == true) {
bwait = 10;
} else {
bwait = 5;
}
}
}
}
}
if (nofire == true) {
if (sdelay > 0) {
sdelay--;
} else {
sdelay = 50;
nofire = false;
bulletl = 0;
}
}
if (bwait == 0) {
}
if (bwait > 0) {
bwait--;
}
if (Key.isDown(39) && (fire != true)) {
if (mariosit != true) {
if (grounded == true) {
if (fire != true) {
if (mariobig != true) {
gotoAndStop (2);
} else {
gotoAndStop (5);
}
}
_xscale = 100;
}
if (superrun != true) {
if (xs < 4) {
xs = xs + 0.4;
}
} else if (xs < 8) {
xs = xs + 0.4;
}
kp = true;
}
}
if (Key.isDown(37) && (fire != true)) {
if (mariosit != true) {
if (grounded == true) {
if (fire != true) {
if (mariobig != true) {
gotoAndStop (2);
} else {
gotoAndStop (5);
}
}
_xscale = -100;
}
if (superrun != true) {
if (xs > -4) {
xs = xs - 0.4;
}
} else if (xs > -8) {
xs = xs - 0.4;
}
kp = true;
}
}
if (jumpit) {
if ((aat != true) && (grounded != false)) {
var aat = true;
if (mariosit != true) {
if ((Math.abs(xs) < 5) || (grounded != true)) {
ys = -8;
} else {
ys = -8 - Math.abs(xs / 2);
}
} else {
ys = -4;
}
if (fire != true) {
if (mariobig != true) {
gotoAndStop (3);
} else {
gotoAndStop (7);
}
}
}
} else {
var aat = false;
}
if ((runit && (fire != true)) && (grounded == true)) {
superrun = true;
} else {
superrun = false;
}
if (kp != true) {
if (grounded == true) {
if (Math.abs(xs) > 0.4) {
if (xs < 0) {
xs = xs + 0.4;
} else {
xs = xs - 0.4;
}
} else {
xs = 0;
}
if (mariobig != true) {
gotoAndStop (1);
} else {
gotoAndStop (6);
}
} else if (mariobig != true) {
gotoAndStop (3);
} else {
gotoAndStop (7);
}
}
if (mariobig == true) {
var mbh = -20;
} else {
mbh = 0;
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, (((_y + _parent._y) + ys) - 30) + mbh, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, (((_y + _parent._y) + ys) - 30) + mbh, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((blx || (tlx)) || ((_x + _parent._x) < 20)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = 0;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = 0;
}
}
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (((_y + _parent._y) + ys) - 30) + mbh, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (((_y + _parent._y) + ys) - 30) + mbh, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
if (((_x + _parent._x) > 200) && (xs > 0)) {
_parent._x = _parent._x - xs;
_root.bg2._x = _root.bg2._x - (xs / 4);
}
if (((_x + _parent._x) < 150) && (xs < 0)) {
_parent._x = _parent._x - xs;
_root.bg2._x = _root.bg2._x - (xs / 4);
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
gotoAndStop (10);
_y = (_y + ys);
ys = ys + 0.4;
}
}
if ((_y > 7000) && (goo != true)) {
_global.lost--;
if (_global.lost == 0) {
_global.lost = 3;
_root.gotoAndStop(3);
}
_root.gotoAndPlay(4);
}
}
Instance of Symbol 117 MovieClip "mbullet" in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_y = (_y + (random(10) / 3));
t = 8;
}
onClipEvent (enterFrame) {
t--;
if (t == 0) {
play();
}
_x = (_x + xs);
if (_parent.maze.hitTest(_x + _parent._x, _y + _parent._y, true)) {
if (random(4) == 1) {
_parent.brickblast(_x - 15, _y);
}
play();
}
}
Instance of Symbol 117 MovieClip "bigbullet" in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_y = (_y + (random(10) / 3));
t = 80;
}
onClipEvent (enterFrame) {
t--;
if (t == 0) {
play();
}
_x = (_x + xs);
if (_parent.maze.hitTest(_x + _parent._x, _y + _parent._y, true)) {
if (random(4) == 1) {
_parent.brickblast(_x - 15, _y);
}
play();
}
if (_parent.mario.hitTest(_x + _parent._x, _y + _parent._y, true)) {
_parent.mario.die();
}
}
Instance of Symbol 120 MovieClip "bblast" in Symbol 161 MovieClip Frame 5
onClipEvent (enterFrame) {
_y = (_y + ys);
_x = (_x + xs);
ys = ys + 0.5;
xs = xs / 1.012;
if (_y > 500) {
removeMovieClip(this);
}
}
Instance of Symbol 123 MovieClip "grows" in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
mariobig = true;
mariosit = false;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
if (_parent.mario.hitTest(this)) {
_parent.mario.mariobig = true;
_global.flashtimer = 60;
_parent.mario.gotoAndStop(12);
gotoAndStop (10);
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
}
Instance of Symbol 135 MovieClip "coin" in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
_y = (_y - 10);
ystart = _y;
ys = -5;
}
onClipEvent (enterFrame) {
ys = ys + 0.2;
_y = (_y + ys);
if (_y > ystart) {
removeMovieClip(this);
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 142 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if ((random(10) == 1) && (grounded == true)) {
ys = -10;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 147 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = -2;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 10))) {
_parent.mario.die();
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
game = false;
}
var kk = 0;
while (kk < _global.kfolevel) {
if ((_parent["koopa" + kk].missle == true) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 155 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
lives = 10;
flipped = false;
missle = false;
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = 0;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
if (xs < 0) {
_xscale = 100;
} else {
_xscale = -100;
}
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 20))) {
if ((flipped == false) || (missle == true)) {
_parent.mario.die();
}
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
flipped = true;
if (_parent.mario._x < _x) {
xs = 4;
} else {
xs = -4;
}
ys = -2;
gotoAndPlay (12);
}
var kk = 0;
while (kk < _global.kfolevel) {
var tn = ("koopa" + kk);
if (((tn != _name) && (_parent["koopa" + kk].missle == true)) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
lives--;
if (flipped == false) {
gotoAndPlay (34);
}
}
if (lives == 0) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
if ((flipped == true) && (missle == false)) {
xs = 0;
}
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 155 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
lives = 10;
flipped = false;
missle = false;
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = 0;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
if (xs < 0) {
_xscale = 100;
} else {
_xscale = -100;
}
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 20))) {
if ((flipped == false) || (missle == true)) {
_parent.mario.die();
}
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
flipped = true;
if (_parent.mario._x < _x) {
xs = 4;
} else {
xs = -4;
}
ys = -2;
gotoAndPlay (12);
}
var kk = 0;
while (kk < _global.kfolevel) {
var tn = ("koopa" + kk);
if (((tn != _name) && (_parent["koopa" + kk].missle == true)) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
lives--;
if (flipped == false) {
gotoAndPlay (34);
}
}
if (lives == 0) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
if ((flipped == true) && (missle == false)) {
xs = 0;
}
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 155 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
lives = 10;
flipped = false;
missle = false;
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = 0;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
if (xs < 0) {
_xscale = 100;
} else {
_xscale = -100;
}
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 20))) {
if ((flipped == false) || (missle == true)) {
_parent.mario.die();
}
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
flipped = true;
if (_parent.mario._x < _x) {
xs = 4;
} else {
xs = -4;
}
ys = -2;
gotoAndPlay (12);
}
var kk = 0;
while (kk < _global.kfolevel) {
var tn = ("koopa" + kk);
if (((tn != _name) && (_parent["koopa" + kk].missle == true)) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
lives--;
if (flipped == false) {
gotoAndPlay (34);
}
}
if (lives == 0) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
if ((flipped == true) && (missle == false)) {
xs = 0;
}
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 155 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
lives = 10;
flipped = false;
missle = false;
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = 0;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
if (xs < 0) {
_xscale = 100;
} else {
_xscale = -100;
}
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 20))) {
if ((flipped == false) || (missle == true)) {
_parent.mario.die();
}
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
flipped = true;
if (_parent.mario._x < _x) {
xs = 4;
} else {
xs = -4;
}
ys = -2;
gotoAndPlay (12);
}
var kk = 0;
while (kk < _global.kfolevel) {
var tn = ("koopa" + kk);
if (((tn != _name) && (_parent["koopa" + kk].missle == true)) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
lives--;
if (flipped == false) {
gotoAndPlay (34);
}
}
if (lives == 0) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
if ((flipped == true) && (missle == false)) {
xs = 0;
}
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 155 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
lives = 10;
flipped = false;
missle = false;
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = 0;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
if (xs < 0) {
_xscale = 100;
} else {
_xscale = -100;
}
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 20))) {
if ((flipped == false) || (missle == true)) {
_parent.mario.die();
}
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
flipped = true;
if (_parent.mario._x < _x) {
xs = 4;
} else {
xs = -4;
}
ys = -2;
gotoAndPlay (12);
}
var kk = 0;
while (kk < _global.kfolevel) {
var tn = ("koopa" + kk);
if (((tn != _name) && (_parent["koopa" + kk].missle == true)) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
lives--;
if (flipped == false) {
gotoAndPlay (34);
}
}
if (lives == 0) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
if ((flipped == true) && (missle == false)) {
xs = 0;
}
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 155 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
lives = 10;
flipped = false;
missle = false;
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = 0;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
if (xs < 0) {
_xscale = 100;
} else {
_xscale = -100;
}
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 20))) {
if ((flipped == false) || (missle == true)) {
_parent.mario.die();
}
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
flipped = true;
if (_parent.mario._x < _x) {
xs = 4;
} else {
xs = -4;
}
ys = -2;
gotoAndPlay (12);
}
var kk = 0;
while (kk < _global.kfolevel) {
var tn = ("koopa" + kk);
if (((tn != _name) && (_parent["koopa" + kk].missle == true)) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
lives--;
if (flipped == false) {
gotoAndPlay (34);
}
}
if (lives == 0) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
if ((flipped == true) && (missle == false)) {
xs = 0;
}
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 155 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
lives = 10;
flipped = false;
missle = false;
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = 0;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
if (xs < 0) {
_xscale = 100;
} else {
_xscale = -100;
}
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 20))) {
if ((flipped == false) || (missle == true)) {
_parent.mario.die();
}
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
flipped = true;
if (_parent.mario._x < _x) {
xs = 4;
} else {
xs = -4;
}
ys = -2;
gotoAndPlay (12);
}
var kk = 0;
while (kk < _global.kfolevel) {
var tn = ("koopa" + kk);
if (((tn != _name) && (_parent["koopa" + kk].missle == true)) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
lives--;
if (flipped == false) {
gotoAndPlay (34);
}
}
if (lives == 0) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
if ((flipped == true) && (missle == false)) {
xs = 0;
}
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 155 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
lives = 10;
flipped = false;
missle = false;
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = 0;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
if (xs < 0) {
_xscale = 100;
} else {
_xscale = -100;
}
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 20))) {
if ((flipped == false) || (missle == true)) {
_parent.mario.die();
}
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
flipped = true;
if (_parent.mario._x < _x) {
xs = 4;
} else {
xs = -4;
}
ys = -2;
gotoAndPlay (12);
}
var kk = 0;
while (kk < _global.kfolevel) {
var tn = ("koopa" + kk);
if (((tn != _name) && (_parent["koopa" + kk].missle == true)) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
lives--;
if (flipped == false) {
gotoAndPlay (34);
}
}
if (lives == 0) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
if ((flipped == true) && (missle == false)) {
xs = 0;
}
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 155 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
function undercheck(xsh) {
var _local2 = 0;
while (_local2 < 8) {
var _local3 = _parent.maze.hitTest(((_x + _parent._x) + xs) + xsh, (_y + _parent._y) + _local2, true);
if (_local3) {
ret = _local2;
break;
}
_local2++;
}
return(_local2);
}
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
lives = 10;
flipped = false;
missle = false;
game = true;
bulletl = 1000;
dustlevel = 1000;
xspeed = 2;
ys = 0;
xs = -2;
t = 5;
grounded = false;
}
onClipEvent (enterFrame) {
if (xs < 0) {
_xscale = 100;
} else {
_xscale = -100;
}
ta = _x + _parent._x;
if ((ta > -30) and (ta < 460)) {
_name = ("koopa" + _global.kflevel);
_global.kflevel++;
if (game) {
if ((((_parent.mario.game != false) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y > (_y - 20))) {
if ((flipped == false) || (missle == true)) {
_parent.mario.die();
}
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
}
if (((((_parent.mario.ys > 0) && (_parent.mario.game != false)) && (_parent.mario.hitTest(this))) && (_global.flashtimer == 0)) && (_parent.mario._y < (_y - 20))) {
if ((flipped == true) && (missle == false)) {
if (_parent.mario._x < _x) {
xs = 6;
_x = (_x + xs);
} else {
xs = -6;
_x = (_x + xs);
}
missle = true;
}
_parent.mario.ys = -4;
_parent.mario.grounded = false;
ys = 0;
flipped = true;
if (_parent.mario._x < _x) {
xs = 4;
} else {
xs = -4;
}
ys = -2;
gotoAndPlay (12);
}
var kk = 0;
while (kk < _global.kfolevel) {
var tn = ("koopa" + kk);
if (((tn != _name) && (_parent["koopa" + kk].missle == true)) && (_parent["koopa" + kk].hitTest(this))) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
kk++;
}
var bb = 0;
while (bb < _parent.mario.maxbullets) {
if (_parent["mbullet" + bb].hitTest(this)) {
lives--;
if (flipped == false) {
gotoAndPlay (34);
}
}
if (lives == 0) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
bb++;
}
if (_parent.flipper.hitTest(this)) {
ys = -5;
popped = true;
_yscale = -100;
_y = (_y - 20);
game = false;
}
if (_y > 400) {
removeMovieClip(this);
}
if (grounded == false) {
if (ys < 9) {
ys = ys + 0.5;
}
}
var tlx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 30, true);
var trx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 30, true);
var blx = _parent.maze.hitTest(((_x + _parent._x) + xs) - 15, ((_y + _parent._y) + ys) - 1, true);
var brx = _parent.maze.hitTest(((_x + _parent._x) + xs) + 15, ((_y + _parent._y) + ys) - 1, true);
var oxs = undefined;
if ((_x + _parent._x) < 0) {
removeMovieClip(this);
}
if (blx || (tlx)) {
if ((xs < 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
if (brx || (trx)) {
if ((xs > 0) && (ignoreonce != true)) {
var oxs = xs;
xs = xs * -1;
}
}
t--;
var bl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, (_y + _parent._y) + ys, true);
var br = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, (_y + _parent._y) + ys, true);
var tl = _parent.maze.hitTest(((_x + _parent._x) + xs) - 14, ((_y + _parent._y) + ys) - 30, true);
var tr = _parent.maze.hitTest(((_x + _parent._x) + xs) + 14, ((_y + _parent._y) + ys) - 30, true);
if ((grounded != true) && (ys < 0)) {
if (tl || (tr)) {
ys = ys * -0.5;
}
}
if (ys > 0) {
if (bl || (br)) {
if (bl) {
_y = (_y + undercheck(-14));
if ((flipped == true) && (missle == false)) {
xs = 0;
}
}
if (br) {
_y = (_y + undercheck(14));
}
if (oxs != undefined) {
xs = oxs;
}
ys = 0;
ignoreonce = true;
grounded = true;
hitbrick = false;
}
}
if (bl || (br)) {
} else {
grounded = false;
}
ignoreonce = false;
_x = (_x + xs);
_y = (_y + ys);
} else {
if (popped) {
ys = ys + 0.4;
_y = (_y + ys);
} else if (_currentframe < 12) {
gotoAndPlay (13);
}
if (_y > 500) {
removeMovieClip(this);
}
}
}
}
Instance of Symbol 160 MovieClip in Symbol 161 MovieClip Frame 5
onClipEvent (load) {
}
Instance of Symbol 85 MovieClip in Symbol 165 MovieClip Frame 1
onClipEvent (enterFrame) {
_alpha = (_alpha + 40);
if (_alpha > 100) {
_alpha = 0;
}
}
Symbol 167 MovieClip Frame 50
_parent.play();
Symbol 167 MovieClip Frame 51
stop();
Symbol 188 MovieClip Frame 1
stop();
Instance of Symbol 169 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.gotoAndStop(3);
}
}
Instance of Symbol 175 MovieClip in Symbol 188 MovieClip Frame 35
onClipEvent (load) {
_parent.stop();
t = 30;
}
onClipEvent (enterFrame) {
t--;
if (t == 0) {
_parent.play();
}
}
Instance of Symbol 175 MovieClip in Symbol 188 MovieClip Frame 44
onClipEvent (load) {
_parent.stop();
t = 30;
}
onClipEvent (enterFrame) {
t--;
if (t == 0) {
_parent.play();
}
}
Instance of Symbol 175 MovieClip in Symbol 188 MovieClip Frame 53
onClipEvent (load) {
_parent.stop();
t = 30;
}
onClipEvent (enterFrame) {
t--;
if (t == 0) {
_parent.play();
}
}
Instance of Symbol 175 MovieClip in Symbol 188 MovieClip Frame 62
onClipEvent (load) {
_parent.stop();
t = 30;
}
onClipEvent (enterFrame) {
t--;
if (t == 0) {
_parent.play();
}
}
Symbol 188 MovieClip Frame 70
stop();
Instance of Symbol 175 MovieClip in Symbol 188 MovieClip Frame 70
onClipEvent (load) {
_parent.stop();
t = 30;
}
onClipEvent (enterFrame) {
t--;
if (t == 0) {
_parent.play();
}
}
Instance of Symbol 175 MovieClip in Symbol 188 MovieClip Frame 85
onClipEvent (load) {
_parent.stop();
t = 30;
}
onClipEvent (enterFrame) {
t--;
if (t == 0) {
_parent.play();
}
}
Instance of Symbol 175 MovieClip in Symbol 188 MovieClip Frame 100
onClipEvent (load) {
_parent.stop();
t = 30;
}
onClipEvent (enterFrame) {
t--;
if (t == 0) {
_parent.play();
}
}
Instance of Symbol 175 MovieClip in Symbol 188 MovieClip Frame 113
onClipEvent (load) {
_parent.stop();
t = 350;
}
onClipEvent (enterFrame) {
t--;
if (t == 0) {
_parent.play();
}
}
Symbol 188 MovieClip Frame 130
stop();
Instance of Symbol 175 MovieClip in Symbol 188 MovieClip Frame 130
onClipEvent (load) {
_parent.stop();
t = 480;
}
onClipEvent (enterFrame) {
t--;
if (t == 0) {
_root.gotoAndStop(3);
}
}