Frame 1
Stage.showMenu = false;
Frame 86
iStatus = 0;
setProperty("pBar", _xscale , 0);
Frame 87
iBytesTotal = _root.getBytesTotal();
iBytesLoaded = _root.getBytesLoaded();
iBytes = (iBytesLoaded / iBytesTotal) * 100;
setProperty("pbar", _xscale , iBytes);
sStatus = math.floor(iBytes) add "%";
Frame 88
if (iBytes < 100) {
gotoAndPlay (87);
} else {
sStatus = "FINISHED";
gotoAndPlay (89);
}
Frame 89
gotoAndStop (90);
Frame 90
stop();
Frame 112
stop();
Frame 113
stop();
Frame 114
stop();
Frame 115
stop();
Frame 139
gotoAndStop (90);
Frame 862
gotoAndPlay (863);
Frame 863
stopAllSounds();
xyou = 150;
yyou = 170;
direction = 3;
z = 0;
musicon = 1;
loop1 = 0;
loop2 = 1;
loop3 = 0;
loop4 = 0;
loop5 = 0;
floor = 1;
pause = 0;
bombset = 0;
currentmenu = 1;
seconds = 0;
minutes = 0;
mainmenuclear = 0;
badlifevisible = 0;
arrowx = 1;
arrowy = 1;
randx = random(7) + 5;
blueblock = (randx * 20) - 10;
randx = random(7) + 5;
yellowblock = (randx * 20) - 10;
randx = random(7) + 5;
greenblock = (randx * 20) - 10;
randx = random(7) + 5;
redblock = (randx * 20) - 10;
Instance of Symbol 105 MovieClip "bad1" in Frame 863
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
Set(("/:" add getProperty(this, _name)) add "life", 2);
}
Instance of Symbol 114 MovieClip "bad2" in Frame 863
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
Set(("/:" add getProperty(this, _name)) add "life", 3);
}
Instance of Symbol 120 MovieClip "bad3" in Frame 863
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
Set(("/:" add getProperty(this, _name)) add "life", 4);
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
Instance of Symbol 132 MovieClip "bad5" in Frame 863
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
Set(("/:" add getProperty(this, _name)) add "life", 3);
}
Instance of Symbol 138 MovieClip "bad4" in Frame 863
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
Set(("/:" add getProperty(this, _name)) add "life", 5);
}
Frame 864
push = 0;
raft = 0;
map = 0;
book = 0;
havebomb = 1;
havesuperbomb = 0;
hintson = 0;
totalrooms = 80;
kills = 0;
totalenemies = 88;
finalencountered = 0;
finalsnakelife = 5;
stars = 0;
mapbought = 0;
orangekeybought = 0;
coins = 0;
life = 100;
lives = 0;
lifeups = 0;
codefound = 0;
raze = 0;
introdone = 0;
snakelife = 100;
snakeatebomb = 0;
snakekilled = 0;
bossencounter = 0;
bomblife = 5;
bombkilled = 0;
inwater = 0;
gunspeed = 7;
Frame 865
yellowdoor = 0;
yellowkey = 0;
orangedoor = 0;
orangekey = 0;
greendoor = 0;
greenkey = 0;
reddoor = 0;
redkey = 0;
bluedoor = 0;
bluekey = 0;
blankkey = 0;
whitedoor = 0;
whitekey = 0;
whitekey2 = 0;
Frame 866
z = 0;
while (z < 100) {
Set("maproom" add z, 0);
z = z + 1;
}
Frame 867
z = 0;
a = 0;
while (z < 100) {
while (a < 11) {
Set((("coin" add a) add "_room") add z, 0);
a = a + 1;
}
a = 0;
z = z + 1;
}
z = 0;
a = 0;
while (z < 100) {
while (a < 11) {
Set((("bigcoin" add a) add "_room") add z, 0);
a = a + 1;
}
a = 0;
z = z + 1;
}
z = 0;
a = 0;
while (z < 100) {
while (a < 11) {
Set((("life" add a) add "_room") add z, 0);
a = a + 1;
}
a = 0;
z = z + 1;
}
z = 0;
a = 0;
while (z < 100) {
while (a < 11) {
Set((("star" add a) add "_room") add z, 0);
a = a + 1;
}
a = 0;
z = z + 1;
}
Frame 868
z = 0;
a = 0;
while (z < 100) {
while (a < 11) {
Set(((("bad" add a) add "_room") add z) add "_killed", 0);
a = a + 1;
}
a = 0;
z = z + 1;
}
Frame 869
z = 0;
a = 0;
while (z < 100) {
while (a < 102) {
Set((("block" add a) add "_room") add z, 0);
Set((("bad" add z) add "life") add a, null);
Set((("block" add z) add "life") add a, null);
a = a + 1;
}
a = 0;
z = z + 1;
}
z = 0;
a = 0;
while (z < 100) {
while (a < 40) {
Set(((("block" add a) add "_room") add z) add "x", "null");
Set(((("block" add a) add "_room") add z) add "y", "null");
Set(((("bad" add a) add "_room") add z) add "x", "null");
Set(((("bad" add a) add "_room") add z) add "y", "null");
Set(((("coin" add a) add "_room") add z) add "x", "null");
Set(((("coin" add a) add "_room") add z) add "y", "null");
Set(((("bigcoin" add a) add "_room") add z) add "x", "null");
Set(((("bigcoin" add a) add "_room") add z) add "y", "null");
Set(((("life" add a) add "_room") add z) add "x", "null");
Set(((("life" add a) add "_room") add z) add "y", "null");
Set(((("star" add a) add "_room") add z) add "x", "null");
Set(((("star" add a) add "_room") add z) add "y", "null");
a = a + 1;
}
a = 0;
z = z + 1;
}
Frame 870
puzzleroom3 = 0;
puzzleroom4 = 0;
puzzleroom4b = 0;
puzzleroom5 = 0;
puzzleroom6 = 0;
puzzleroom6b = 0;
puzzleroom8 = 0;
puzzleroom8a = 0;
puzzleroom8b = 0;
puzzleroom8c = 0;
puzzleroom8d = 0;
puzzleroom14 = 0;
puzzleroom19 = 0;
puzzleroom20 = 0;
puzzleroom21 = 0;
puzzleroom24 = 0;
puzzleroom23a = 0;
puzzleroom23b = 0;
puzzleroom27a = 0;
puzzleroom27b = 0;
puzzleroom30 = 0;
puzzleroom33 = 0;
puzzleroom39 = 0;
puzzleroom40 = 0;
puzzleroom55 = 0;
puzzleroom57 = 0;
puzzleroom59 = 0;
puzzleroom61 = 0;
puzzleroom62 = 0;
puzzleroom66 = 0;
puzzleroom67 = 0;
puzzleroom70 = 0;
puzzleroom70a = 0;
puzzleroom72 = 0;
puzzleroom76intro = 0;
puzzleroom76 = 0;
puzzleroomblocks = 0;
Frame 871
z = 0;
while (z < 100) {
Set("hint" add z, "");
z = z + 1;
}
hint3 = "Pushing 'a' on the blue button will enable you to get the yellow key";
hint4 = "Kill all of the enemies in this room to open the door";
hint5 = "The blocks at the bottom can be blown up with thr super bomb";
hint6 = "Kill the enemies then press 'a' on the blue botton";
hint9 = "You need the red key";
hint10 = "You need the 'Push Power' to move the blue block";
hint11 = "You need the yellow key";
hint14 = "You need the password to open the door";
hint16 = "You need the 'Push Power' to move the blue block";
hint18 = "You need the raft to enter the water";
hint20 = "There's a hidden button to open the door";
hint21 = "Kill the enemies and push the blue block on the gray circular botton";
hint22 = "Puchase items with keys. You must find the blank key before you can buy the orange key";
hint24 = "Find the hidden button";
hint26 = "Remember exactly where these colored blocks are on the floor";
hint27 = "Boss";
hint28 = "Remember this password";
hint33 = "You need the green key";
hint46 = "Complicated puzzle";
hint50 = "Don't fall into the blackness";
hint55 = "Kill the enemies";
hint59 = "Press 'a' on the blue botton to move blocks";
hint62 = "Push blocks to right positions then press 'a' on the blue button";
hint70 = "The bomb rotates the reflectors. Light up all red objects. Press 'a' on the blue button";
Frame 872
function youhit() {
if (_root.you._currentframe == 1) {
tellTarget ("_root.you") {
gotoAndPlay (5);
};
} else if (_root.you._currentframe == 2) {
tellTarget ("_root.you") {
gotoAndPlay (9);
};
} else if (_root.you._currentframe == 3) {
tellTarget ("_root.you") {
gotoAndPlay (13);
};
} else if (_root.you._currentframe == 4) {
tellTarget ("_root.you") {
gotoAndPlay (17);
};
}
}
Frame 873
function hitfromturret() {
z = 0;
while (z < 9) {
if ((getProperty("_root.ball" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball" add z, _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.ball" add z, _x , -1000);
tellTarget ("_root.ball" add z) {
gotoAndStop (1);
};
Set("/:life", /:life - 5);
}
z = z + 1;
}
}
Frame 874
function usebomb() {
if (((you._currentframe < 5) and (pause == 0)) and (!((((((you._x == platform._x) and (you._y == platform._y)) or ((you._x == platform2._x) and (you._y == platform2._y))) or ((you._x == platform3._x) and (you._y == platform3._y))) or ((you._x == platform4._x) and (you._y == platform4._y))) or ((you._x == platform5._x) and (you._y == platform5._y))))) {
if (havebomb == 1) {
if (bomb._currentframe == 1) {
if ((bombset == 0) and (inwater == 0)) {
bombset = 1;
setProperty("bomb", _x , you._x);
setProperty("bomb", _y , you._y);
} else if (bombset == 1) {
tellTarget ("bomb") {
gotoAndPlay (2);
};
}
}
}
}
}
Frame 875
function gotcoin() {
z = 0;
while (z < 11) {
if ((getProperty("_root.coin" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.coin" add z, _y) == getProperty("_root.you", _y))) {
s = new Sound();
s.attachSound("reward");
s.start();
Set("/:coins", /:coins + 1);
setProperty("_root.coin" add z, _x , -10000);
Set((("/:coin" add z) add "_room") add /:currentlocation, 1);
message = "You found 1 coin";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
z = z + 1;
}
z = 0;
while (z < 11) {
if ((getProperty("_root.bigcoin" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bigcoin" add z, _y) == getProperty("_root.you", _y))) {
s = new Sound();
s.attachSound("reward");
s.start();
Set("/:coins", /:coins + 5);
setProperty("_root.bigcoin" add z, _x , -10000);
Set((("/:bigcoin" add z) add "_room") add /:currentlocation, 1);
message = "You found 5 coins";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
z = z + 1;
}
z = 0;
while (z < 11) {
if (((getProperty("_root.life" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.life" add z, _y) == getProperty("_root.you", _y))) and (/:life < 100)) {
s = new Sound();
s.attachSound("lifepacksound");
s.start();
setProperty("_root.life" add z, _x , -10000);
Set((("/:life" add z) add "_room") add /:currentlocation, 1);
if (/:life < 51) {
Set("/:life", /:life + 50);
amount = 50;
} else if (/:life > 50) {
amount = Math.abs(100 - /:life);
Set("/:life", 100);
}
message = ("Your life was restored by " add amount) add "%";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (((getProperty("_root.life" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.life" add z, _y) == getProperty("_root.you", _y))) and (/:life == 100)) {
message = "Your life is already at 100%";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
z = z + 1;
}
z = 0;
while (z < 11) {
if ((getProperty("_root.star" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.star" add z, _y) == getProperty("_root.you", _y))) {
setProperty("_root.star" add z, _x , -10000);
Set("/:stars", /:stars + 1);
Set((("/:star" add z) add "_room") add /:currentlocation, 1);
message = "You found a star";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
z = z + 1;
}
}
Frame 876
function badhit_up() {
pushup();
noup();
hitfromturret();
waterup();
blackhit();
if (((((/:currentlocation != 76) and (getProperty(_root.you, _x) <= (getProperty(_root.boss, _x) + 20))) and (getProperty(_root.you, _x) >= (getProperty(_root.boss, _x) - 20))) and (getProperty(_root.you, _y) <= (getProperty(_root.boss, _y) + 20))) and (getProperty(_root.you, _y) >= (getProperty(_root.boss, _y) - 20))) {
Set("/:life", /:life - 10);
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) + 20);
}
z = 0;
while (z < 5) {
if ((getProperty("_root.snake" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.snake" add z, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.snake" add z, _currentframe) < 21) {
Set("/:life", /:life - 10);
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) + 20);
}
}
z = z + 1;
}
z = 0;
while (z < 20) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.bad" add z, _currentframe) < 38) {
Set("/:life", /:life - 5);
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) + 20);
}
}
z = z + 1;
}
z = 0;
while (z < 5) {
if ((((getProperty("_root.vbullet" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.vbullet" add z, _y) == getProperty("_root.you", _y))) or ((getProperty("_root.hbullet" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.hbullet" add z, _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.head", _x) == getProperty("_root.you", _x)) and (getProperty("_root.head", _y) == getProperty("_root.you", _y)))) {
Set("/:life", /:life - 15);
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) + 20);
setProperty("_root.vbullet" add z, _x , -1000);
setProperty("_root.hbullet" add z, _x , -1000);
}
z = z + 1;
}
}
function badhit_right() {
pushright();
noright();
hitfromturret();
waterright();
blackhit();
if (((((/:currentlocation != 76) and (getProperty(_root.you, _x) <= (getProperty(_root.boss, _x) + 20))) and (getProperty(_root.you, _x) >= (getProperty(_root.boss, _x) - 20))) and (getProperty(_root.you, _y) <= (getProperty(_root.boss, _y) + 20))) and (getProperty(_root.you, _y) >= (getProperty(_root.boss, _y) - 20))) {
Set("/:life", /:life - 10);
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) - 20);
}
z = 0;
while (z < 5) {
if ((getProperty("_root.snake" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.snake" add z, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.snake" add z, _currentframe) < 21) {
Set("/:life", /:life - 10);
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) - 20);
}
}
z = z + 1;
}
z = 0;
while (z < 20) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.bad" add z, _currentframe) < 38) {
Set("/:life", /:life - 5);
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) - 20);
}
}
z = z + 1;
}
z = 0;
while (z < 5) {
if ((((getProperty("_root.vbullet" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.vbullet" add z, _y) == getProperty("_root.you", _y))) or ((getProperty("_root.hbullet" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.hbullet" add z, _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.head", _x) == getProperty("_root.you", _x)) and (getProperty("_root.head", _y) == getProperty("_root.you", _y)))) {
Set("/:life", /:life - 15);
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) - 20);
setProperty("_root.vbullet" add z, _x , -1000);
setProperty("_root.hbullet" add z, _x , -1000);
}
z = z + 1;
}
}
function badhit_down() {
hitfromturret();
nodown();
pushdown();
waterdown();
blackhit();
if (((((/:currentlocation != 76) and (getProperty(_root.you, _x) <= (getProperty(_root.boss, _x) + 20))) and (getProperty(_root.you, _x) >= (getProperty(_root.boss, _x) - 20))) and (getProperty(_root.you, _y) <= (getProperty(_root.boss, _y) + 20))) and (getProperty(_root.you, _y) >= (getProperty(_root.boss, _y) - 20))) {
Set("/:life", /:life - 10);
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) - 20);
}
z = 0;
while (z < 5) {
if ((getProperty("_root.snake" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.snake" add z, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.snake" add z, _currentframe) < 21) {
Set("/:life", /:life - 10);
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) - 20);
}
}
z = z + 1;
}
z = 0;
while (z < 20) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.bad" add z, _currentframe) < 38) {
Set("/:life", /:life - 5);
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) - 20);
}
}
z = z + 1;
}
z = 0;
while (z < 5) {
if ((((getProperty("_root.vbullet" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.vbullet" add z, _y) == getProperty("_root.you", _y))) or ((getProperty("_root.hbullet" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.hbullet" add z, _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.head", _x) == getProperty("_root.you", _x)) and (getProperty("_root.head", _y) == getProperty("_root.you", _y)))) {
Set("/:life", /:life - 15);
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) - 20);
setProperty("_root.vbullet" add z, _x , -1000);
setProperty("_root.hbullet" add z, _x , -1000);
}
z = z + 1;
}
}
function badhit_left() {
hitfromturret();
noleft();
pushleft();
waterleft();
blackhit();
z = 0;
if (((((/:currentlocation != 76) and (getProperty(_root.you, _x) <= (getProperty(_root.boss, _x) + 20))) and (getProperty(_root.you, _x) >= (getProperty(_root.boss, _x) - 20))) and (getProperty(_root.you, _y) <= (getProperty(_root.boss, _y) + 20))) and (getProperty(_root.you, _y) >= (getProperty(_root.boss, _y) - 20))) {
Set("/:life", /:life - 10);
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) + 20);
}
while (z < 5) {
if ((getProperty("_root.snake" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.snake" add z, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.snake" add z, _currentframe) < 21) {
Set("/:life", /:life - 10);
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) + 20);
}
}
z = z + 1;
}
z = 0;
while (z < 20) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.bad" add z, _currentframe) < 38) {
Set("/:life", /:life - 5);
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) + 20);
}
}
z = z + 1;
}
z = 0;
while (z < 5) {
if ((((getProperty("_root.vbullet" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.vbullet" add z, _y) == getProperty("_root.you", _y))) or ((getProperty("_root.hbullet" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.hbullet" add z, _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.head", _x) == getProperty("_root.you", _x)) and (getProperty("_root.head", _y) == getProperty("_root.you", _y)))) {
Set("/:life", /:life - 15);
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) + 20);
setProperty("_root.vbullet" add z, _x , -1000);
setProperty("_root.hbullet" add z, _x , -1000);
}
z = z + 1;
}
}
Frame 877
function menus() {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (getProperty(_root.menu.menu2, _currentframe) < 4) {
currentmenu = Number(currentmenu + 1);
tellTarget ("_root.menu.menu2") {
nextFrame();
};
} else if (getProperty(_root.menu.menu2, _currentframe) == 4) {
currentmenu = 1;
tellTarget ("_root.menu.menu2") {
gotoAndStop (1);
};
}
}
}
Frame 878
function pushup() {
z = 0;
while (z < 11) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x), getProperty("_root.block" add z, _y) - 20, true) ne "true") and ((getProperty("_root.block" add z, _y) - 20) != 30)) and (push == 1)) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) - 20);
if ((getProperty("_root.block" add z, _x) == getProperty("_root.bomb", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.bomb", _y))) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) + 20);
setProperty(_root.you, _y , _root.you._y + 20);
}
a = 0;
while (a < 11) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) + 20);
setProperty(_root.you, _y , _root.you._y + 20);
}
a = a + 1;
}
a = 0;
while (a < 11) {
if (a != z) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.block" add a, _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.block" add a, _y))) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) + 20);
setProperty(_root.you, _y , _root.you._y + 20);
}
}
a = a + 1;
}
} else {
setProperty(_root.you, _y , _root.you._y + 20);
}
}
z = z + 1;
}
}
function pushright() {
z = 0;
while (z < 11) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x) + 20, getProperty("_root.block" add z, _y), true) ne "true") and ((getProperty("_root.block" add z, _x) + 20) != 270)) and (push == 1)) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) + 20);
if ((getProperty("_root.block" add z, _x) == getProperty("_root.bomb", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.bomb", _y))) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) - 20);
setProperty(_root.you, _x , _root.you._x - 20);
}
a = 0;
while (a < 11) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) - 20);
setProperty(_root.you, _x , _root.you._x - 20);
}
a = a + 1;
}
a = 0;
while (a < 11) {
if (a != z) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.block" add a, _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.block" add a, _y))) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) - 20);
setProperty(_root.you, _x , _root.you._x - 20);
}
}
a = a + 1;
}
} else {
setProperty(_root.you, _x , _root.you._x - 20);
}
}
z = z + 1;
}
}
function pushdown() {
z = 0;
while (z < 11) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x), getProperty("_root.block" add z, _y) + 20, true) ne "true") and ((getProperty("_root.block" add z, _y) + 20) != 270)) and (push == 1)) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) + 20);
if ((getProperty("_root.block" add z, _x) == getProperty("_root.bomb", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.bomb", _y))) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) - 20);
setProperty(_root.you, _y , _root.you._y - 20);
}
a = 0;
while (a < 11) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) - 20);
setProperty(_root.you, _y , _root.you._y - 20);
}
a = a + 1;
}
a = 0;
while (a < 11) {
if (a != z) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.block" add a, _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.block" add a, _y))) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) - 20);
setProperty(_root.you, _y , _root.you._y - 20);
}
}
a = a + 1;
}
} else {
setProperty(_root.you, _y , _root.you._y - 20);
}
}
z = z + 1;
}
}
function pushleft() {
z = 0;
while (z < 11) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x) - 20, getProperty("_root.block" add z, _y), true) ne "true") and ((getProperty("_root.block" add z, _x) - 20) != 30)) and (push == 1)) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) - 20);
if ((getProperty("_root.block" add z, _x) == getProperty("_root.bomb", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.bomb", _y))) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) + 20);
setProperty(_root.you, _x , _root.you._x + 20);
}
a = 0;
while (a < 11) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) + 20);
setProperty(_root.you, _x , _root.you._x + 20);
}
a = a + 1;
}
a = 0;
while (a < 11) {
if (a != z) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.block" add a, _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.block" add a, _y))) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) + 20);
setProperty(_root.you, _x , _root.you._x + 20);
}
}
a = a + 1;
}
} else {
setProperty(_root.you, _x , _root.you._x + 20);
}
}
z = z + 1;
}
}
Frame 879
function noup() {
z = 0;
while (z < 11) {
if ((getProperty("_root.noup" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.noup" add z, _y) == getProperty("_root.you", _y))) {
setProperty("you", _y , you._y + 20);
return;
}
z = z + 1;
}
}
function noright() {
z = 0;
while (z < 11) {
if ((getProperty("_root.noright" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.noright" add z, _y) == getProperty("_root.you", _y))) {
setProperty("you", _x , you._x - 20);
return;
}
z = z + 1;
}
}
function nodown() {
z = 0;
while (z < 11) {
if ((getProperty("_root.nodown" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.nodown" add z, _y) == getProperty("_root.you", _y))) {
setProperty("you", _y , you._y - 20);
return;
}
z = z + 1;
}
}
function noleft() {
z = 0;
while (z < 11) {
if ((getProperty("_root.noleft" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.noleft" add z, _y) == getProperty("_root.you", _y))) {
setProperty("you", _x , you._x + 20);
return;
}
z = z + 1;
}
}
Frame 880
function arrowup() {
if (_root.mainmenu._currentframe == 31) {
if (_root.mainmenu.mainmenu2.sub._currentframe == 1) {
if (/:arrowy > 1) {
Set("/:arrowy", /:arrowy - 1);
setProperty("_root.mainmenu.mainmenu2.sub.select", _y , _root.mainmenu.mainmenu2.sub.select._y - 20);
}
} else if (_root.mainmenu.mainmenu2.sub._currentframe == 5) {
if (/:arrowy > 1) {
Set("/:arrowy", /:arrowy - 1);
setProperty("_root.mainmenu.mainmenu2.sub.select", _y , _root.mainmenu.mainmenu2.sub.select._y - 20);
}
}
}
}
function arrowright() {
if (_root.mainmenu._currentframe == 31) {
if (_root.mainmenu.mainmenu2.sub._currentframe < 5) {
s = new Sound();
s.attachSound("beep");
s.start();
tellTarget ("_root.mainmenu.mainmenu2.sub") {
nextFrame();
};
}
}
}
function arrowdown() {
if (_root.mainmenu._currentframe == 31) {
if (_root.mainmenu.mainmenu2.sub._currentframe == 1) {
if (/:arrowy < /:maxarrowy) {
Set("/:arrowy", /:arrowy + 1);
setProperty("_root.mainmenu.mainmenu2.sub.select", _y , _root.mainmenu.mainmenu2.sub.select._y + 20);
}
} else if (_root.mainmenu.mainmenu2.sub._currentframe == 5) {
if (/:arrowy < /:maxarrowy) {
Set("/:arrowy", /:arrowy + 1);
setProperty("_root.mainmenu.mainmenu2.sub.select", _y , _root.mainmenu.mainmenu2.sub.select._y + 20);
}
}
}
}
function arrowleft() {
if (_root.mainmenu._currentframe == 31) {
if (_root.mainmenu.mainmenu2.sub._currentframe > 1) {
s = new Sound();
s.attachSound("beep");
s.start();
tellTarget ("_root.mainmenu.mainmenu2.sub") {
prevFrame();
};
}
}
}
Frame 881
function stopall() {
tellTarget ("_root.snake0.snake.eye2") {
stop();
};
tellTarget ("_root.snake0.snake.eye1") {
stop();
};
tellTarget ("_root.snake0") {
stop();
};
tellTarget ("_root.portal") {
stop();
};
tellTarget ("_root.menu.mess") {
stop();
};
tellTarget ("_root.bomb.bomb") {
stop();
};
tellTarget ("_root.bomb") {
stop();
};
tellTarget ("_root.bomb.freeze") {
stop();
};
tellTarget ("_root.bomb.super") {
stop();
};
tellTarget ("_root.itembomb.bomb") {
stop();
};
z = 0;
while (z < 30) {
tellTarget ("_root.star" add z) {
stop();
};
tellTarget ("_root.bad" add z) {
stop();
};
tellTarget (("_root.bad" add z) add ".bad.eye1") {
stop();
};
tellTarget (("_root.bad" add z) add ".bad.bad.eye1") {
stop();
};
tellTarget (("_root.bad" add z) add ".bad.eye2") {
stop();
};
tellTarget (("_root.bad" add z) add ".bad.bad.eye2") {
stop();
};
tellTarget (("_root.bad" add z) add ".bad") {
stop();
};
tellTarget ("_root.coin" add z) {
stop();
};
tellTarget ("_root.bigcoin" add z) {
stop();
};
tellTarget ("_root.noleft" add z) {
stop();
};
tellTarget ("_root.noright" add z) {
stop();
};
tellTarget ("_root.nodown" add z) {
stop();
};
tellTarget ("_root.noup" add z) {
stop();
};
tellTarget ("_root.turret") {
stop();
};
tellTarget ("_root.turret" add z) {
stop();
};
tellTarget ("_root.ball" add z) {
stop();
};
tellTarget ("_root.hbullet" add z) {
stop();
};
tellTarget ("_root.vbullet" add z) {
stop();
};
z = z + 1;
}
}
Frame 882
function playall() {
tellTarget ("_root.snake0.snake.eye2") {
play();
};
tellTarget ("_root.snake0.snake.eye1") {
play();
};
tellTarget ("_root.snake0") {
play();
};
tellTarget ("_root.bomb.freeze") {
play();
};
tellTarget ("_root.bomb.super") {
play();
};
tellTarget ("_root.portal") {
play();
};
if ((_root.menu.mess._currentframe != 1) and (_root.menu.mess._currentframe != 66)) {
tellTarget ("_root.menu.mess") {
play();
};
}
if (_root.bomb._currentframe != 1) {
tellTarget ("_root.bomb") {
play();
};
}
tellTarget ("_root.bomb.bomb") {
play();
};
tellTarget ("_root.itembomb.bomb") {
play();
};
z = 0;
while (z < 30) {
tellTarget ("_root.star" add z) {
play();
};
if (eval (("_root.bad" add z) add ".noplay") != 1) {
if (eval (((("_root.bad" add z) add "_room") add /:currentlocation) add "_killed") != 1) {
tellTarget ("_root.bad" add z) {
play();
};
}
}
tellTarget (("_root.bad" add z) add ".bad.eye1") {
play();
};
tellTarget (("_root.bad" add z) add ".bad.bad.eye1") {
play();
};
tellTarget (("_root.bad" add z) add ".bad.eye2") {
play();
};
tellTarget (("_root.bad" add z) add ".bad.bad.eye2") {
play();
};
tellTarget (("_root.bad" add z) add ".bad") {
play();
};
tellTarget ("_root.coin" add z) {
play();
};
tellTarget ("_root.bigcoin" add z) {
play();
};
tellTarget ("_root.noleft" add z) {
play();
};
tellTarget ("_root.noright" add z) {
play();
};
tellTarget ("_root.nodown" add z) {
play();
};
tellTarget ("_root.noup" add z) {
play();
};
if (/:currentlocation != 62) {
tellTarget ("_root.turret") {
play();
};
}
tellTarget ("_root.turret" add z) {
play();
};
if (getProperty("_root.ball" add z, _currentframe) != 1) {
tellTarget ("_root.ball" add z) {
play();
};
}
tellTarget ("_root.hbullet" add z) {
play();
};
tellTarget ("_root.vbullet" add z) {
play();
};
z = z + 1;
}
}
Frame 883
function usemagic() {
if ((shadow._currentframe == 1) and false) {
setProperty("shadow", _x , _root.you._x);
setProperty("shadow", _y , _root.you._y);
if (d == 1) {
tellTarget ("shadow") {
gotoAndPlay (2);
};
} else if (d == 2) {
tellTarget ("shadow") {
gotoAndPlay (4);
};
} else if (d == 3) {
tellTarget ("shadow") {
gotoAndPlay (6);
};
} else if (d == 4) {
tellTarget ("shadow") {
gotoAndPlay (8);
};
}
}
}
Frame 884
function waterup() {
if (dock._x > 0) {
if (dock.hittest(you._x, you._y, true) ne "true") {
if ((water.hittest(you._x, you._y, true) eq "true") and (inwater == 0)) {
setProperty("you", _y , you._y + 20);
} else if ((water.hittest(you._x, you._y, true) ne "true") and (inwater == 1)) {
setProperty("you", _y , you._y + 20);
}
} else if ((dock.hittest(you._x, you._y, true) eq "true") and (raft == 1)) {
if (inwater == 0) {
inwater = 1;
s = new Sound();
s.attachSound("splash");
s.start();
setProperty(you.dock, _visible , 1);
} else if (inwater == 1) {
inwater = 0;
setProperty(you.dock, _visible , 0);
}
}
}
}
function waterright() {
if (dock._x > 0) {
if (dock.hittest(you._x, you._y, true) ne "true") {
if ((water.hittest(you._x, you._y, true) eq "true") and (inwater == 0)) {
setProperty("you", _x , you._x - 20);
} else if ((water.hittest(you._x, you._y, true) ne "true") and (inwater == 1)) {
setProperty("you", _x , you._x - 20);
}
} else if ((dock.hittest(you._x, you._y, true) eq "true") and (raft == 1)) {
if (inwater == 0) {
inwater = 1;
s = new Sound();
s.attachSound("splash");
s.start();
setProperty(you.dock, _visible , 1);
} else if (inwater == 1) {
inwater = 0;
setProperty(you.dock, _visible , 0);
}
}
}
}
function waterdown() {
if (dock._x > 0) {
if (dock.hittest(you._x, you._y, true) ne "true") {
if ((water.hittest(you._x, you._y, true) eq "true") and (inwater == 0)) {
setProperty("you", _y , you._y - 20);
} else if ((water.hittest(you._x, you._y, true) ne "true") and (inwater == 1)) {
setProperty("you", _y , you._y - 20);
}
} else if ((dock.hittest(you._x, you._y, true) eq "true") and (raft == 1)) {
if (inwater == 0) {
inwater = 1;
s = new Sound();
s.attachSound("splash");
s.start();
setProperty(you.dock, _visible , 1);
} else if (inwater == 1) {
inwater = 0;
setProperty(you.dock, _visible , 0);
}
}
}
}
function waterleft() {
if (dock._x > 0) {
if (dock.hittest(you._x, you._y, true) ne "true") {
if ((water.hittest(you._x, you._y, true) eq "true") and (inwater == 0)) {
setProperty("you", _x , you._x + 20);
} else if ((water.hittest(you._x, you._y, true) ne "true") and (inwater == 1)) {
setProperty("you", _x , you._x + 20);
}
} else if ((dock.hittest(you._x, you._y, true) eq "true") and (raft == 1)) {
if (inwater == 0) {
inwater = 1;
s = new Sound();
s.attachSound("splash");
s.start();
setProperty(you.dock, _visible , 1);
} else if (inwater == 1) {
inwater = 0;
setProperty(you.dock, _visible , 0);
}
}
}
}
Frame 885
function blackhit() {
if (black.hittest(you._x, you._y, true) eq "true") {
if (_root.you._currentframe == 1) {
setProperty("youblack", _rotation , 0);
} else if (_root.you._currentframe == 2) {
setProperty("youblack", _rotation , 90);
} else if (_root.you._currentframe == 3) {
setProperty("youblack", _rotation , 180);
} else if (_root.you._currentframe == 4) {
setProperty("youblack", _rotation , 270);
}
pause = 1;
stopall();
setProperty("youblack", _x , _root.you._x);
setProperty("youblack", _y , _root.you._y);
setProperty("you", _x , -1000);
tellTarget ("youblack") {
gotoAndPlay (1);
};
}
}
Frame 886
mainmusic = new Sound();
mainmusic.attachSound("NG5437");
mainmusic.start(0, 999);
beforetimer = getTimer();
gotoAndPlay (893);
Instance of Symbol 114 MovieClip in Frame 890
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 162 MovieClip in Frame 890
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
Set(("/:" add getProperty(this, _name)) add "life", 2);
}
Instance of Symbol 120 MovieClip in Frame 890
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 132 MovieClip in Frame 890
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if ((random(2) + 1) == 1) {
tellTarget (this) {
gotoAndPlay ("y");
};
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 164 MovieClip "ball1" in Frame 890
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) {
/:youhit();
}
}
Instance of Symbol 165 MovieClip "ball2" in Frame 890
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) {
/:youhit();
}
}
Instance of Symbol 166 MovieClip "ball3" in Frame 890
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) {
/:youhit();
}
}
Instance of Symbol 167 MovieClip "ball4" in Frame 890
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) {
/:youhit();
}
}
Instance of Symbol 170 MovieClip "turret" in Frame 890
onClipEvent (load) {
if ((random(3) + 1) == 1) {
tellTarget (this) {
gotoAndPlay (17);
};
} else if ((random(3) + 1) == 2) {
tellTarget (this) {
gotoAndPlay (31);
};
} else if ((random(3) + 1) == 3) {
tellTarget (this) {
gotoAndPlay (47);
};
}
}
Instance of Symbol 176 MovieClip "turret2" in Frame 890
onClipEvent (load) {
if ((random(3) + 1) == 1) {
tellTarget (this) {
gotoAndPlay (17);
};
} else if ((random(3) + 1) == 2) {
tellTarget (this) {
gotoAndPlay (31);
};
} else if ((random(3) + 1) == 3) {
tellTarget (this) {
gotoAndPlay (47);
};
}
}
Instance of Symbol 194 MovieClip in Frame 890
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
Set(("/:" add getProperty(this, _name)) add "life", 3);
}
Instance of Symbol 195 MovieClip in Frame 890
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
Set(("/:" add getProperty(this, _name)) add "life", 3);
}
Instance of Symbol 138 MovieClip in Frame 890
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 5);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 218 MovieClip in Frame 890
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin1" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin5" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin5" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin6" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin7" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin8" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin9" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin10" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin6" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin7" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin8" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin9" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin10" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life5" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life6" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life7" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life8" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life9" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life10" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star1" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star2" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star3" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star4" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star5" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star6" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star7" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star8" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star9" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star10" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 238 MovieClip in Frame 890
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 245 MovieClip "bad1" in Frame 890
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
Set(("/:" add getProperty(this, _name)) add "life", 6);
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 249 MovieClip "bad1" in Frame 890
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 8);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (enterFrame) {
if (((_root.you._x < (this._x + 80)) and (_root.you._x > (this._x - 80))) and ((_root.you._y < (this._y + 80)) and (_root.you._y > (this._y - 80)))) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 105 MovieClip "bad1" in Frame 890
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 258 MovieClip "block0" in Frame 890
onClipEvent (enterFrame) {
if ((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
} else if (this._currentframe == 11) {
tellTarget (this) {
gotoAndPlay (12);
};
} else if (this._currentframe == 21) {
tellTarget (this) {
gotoAndPlay (22);
};
} else if (this._currentframe == 31) {
tellTarget (this) {
gotoAndPlay (32);
};
}
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 264 MovieClip "block1" in Frame 890
onClipEvent (enterFrame) {
if ((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 11) {
tellTarget (this) {
gotoAndPlay (12);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 21) {
tellTarget (this) {
gotoAndPlay (22);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 31) {
tellTarget (this) {
gotoAndPlay (32);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) - 15;
setProperty(this, _name , "block" add a);
}
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 269 MovieClip "block" in Frame 890
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (873);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (874);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
gotoAndPlay (875);
}
}
Instance of Symbol 273 MovieClip "gun" in Frame 890
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 275 MovieClip "block" in Frame 890
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 295 MovieClip "bullet" in Frame 890
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 305 MovieClip in Frame 891
onClipEvent (load) {
time = 0;
speed = 9;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , 130);
setProperty(this, _y , 130);
speed = 9;
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
}
if (time >= 20) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
speed = -9;
}
if ((this.hittest(youx, youy, true) eq "true") or (this._y >= youy)) {
speed = -9;
}
if (((this.hittest(130, 130, true) eq "true") or (this._y <= 130)) and (speed == -9)) {
time = 0;
setProperty(this, _x , 130);
setProperty(this, _y , 130);
speed = 9;
}
}
}
}
Instance of Symbol 305 MovieClip in Frame 891
onClipEvent (load) {
time = 20;
speed = 9;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , 170);
setProperty(this, _y , 130);
speed = 9;
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
}
if (time >= 20) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
speed = -9;
}
if ((this.hittest(youx, youy, true) eq "true") or (this._y >= youy)) {
speed = -9;
}
if (((this.hittest(130, 130, true) eq "true") or (this._y <= 130)) and (speed == -9)) {
time = 0;
setProperty(this, _x , 170);
setProperty(this, _y , 130);
speed = 9;
}
}
}
}
Instance of Symbol 305 MovieClip "fireball" in Frame 891
onClipEvent (load) {
speed = 3;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
bulletx = 150;
bullety = 170;
youx = 150;
youy = 100;
}
if (time >= 20) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = ((angle * 180) / Math.pi) + a;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = ((angle * 180) / Math.pi) + a;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = ((angle * 180) / Math.pi) + a;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = ((angle * 180) / Math.pi) + a;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
}
}
}
Instance of Symbol 311 MovieClip "boss" in Frame 891
onClipEvent (load) {
time = 0;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 100) {
tellTarget ("_root.boss.mouth") {
gotoAndPlay (1);
};
time = 0;
}
}
}
Frame 892
stop();
maproomx = 1;
currentlocation = x;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 892
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 893
stop();
maproom1 = 1;
currentlocation = 1;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 893
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 894
stop();
maproom2 = 1;
currentlocation = 2;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 894
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 894
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 894
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 894
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 894
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 894
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 105 MovieClip "bad2" in Frame 894
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad1" in Frame 894
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 894
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 895
stop();
maproom3 = 1;
currentlocation = 3;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 542 MovieClip "yellowkey" in Frame 895
onClipEvent (load) {
if (/:yellowkey == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 220 MovieClip "coin1" in Frame 895
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 895
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 895
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 114 MovieClip "bad1" in Frame 895
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(5) + 6;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 351 MovieClip "you" in Frame 895
onClipEvent (load) {
if (/:puzzleroom3 == 1) {
tellTarget ("_root.wall.wall") {
gotoAndStop (60);
};
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 895
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 896
stop();
maproom4 = 1;
currentlocation = 4;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
if (a == 1) {
tellTarget (you) {
gotoAndStop (1);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 2) {
tellTarget (you) {
gotoAndStop (2);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 3) {
tellTarget (you) {
gotoAndStop (3);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 4) {
tellTarget (you) {
gotoAndStop (4);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
}
a = 0;
Instance of Symbol 551 MovieClip in Frame 896
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 896
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 896
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 896
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 896
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 220 MovieClip "coin1" in Frame 896
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 896
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 896
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 896
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 896
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 896
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 896
onClipEvent (enterFrame) {
if (((/:puzzleroom4 == 0) and (getProperty("_root.bad1", _x) < 0)) and (getProperty("_root.bad2", _x) < 0)) {
Set("/:puzzleroom4", 1);
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
}
}
onClipEvent (load) {
if (/:puzzleroom4 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
if (/:puzzleroom4b == 1) {
tellTarget ("_root.wall.block2") {
gotoAndStop (60);
};
}
}
Instance of Symbol 105 MovieClip "bad1" in Frame 896
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad2" in Frame 896
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 896
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 897
stop();
maproom81 = 1;
currentlocation = 81;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
if (a == 1) {
tellTarget (you) {
gotoAndStop (1);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 2) {
tellTarget (you) {
gotoAndStop (2);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 3) {
tellTarget (you) {
gotoAndStop (3);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 4) {
tellTarget (you) {
gotoAndStop (4);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
}
a = 0;
Instance of Symbol 574 MovieClip "whitekey2" in Frame 897
onClipEvent (load) {
if (/:whitekey2 == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 897
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 898
stop();
maproom5 = 1;
currentlocation = 5;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin5" in Frame 898
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 898
onClipEvent (enterFrame) {
if (((((/:puzzleroom5 == 0) and (getProperty("_root.bad1", _x) < 0)) and (getProperty("_root.bad2", _x) < 0)) and (getProperty("_root.bad3", _x) < 0)) and (getProperty("_root.bad4", _x) < 0)) {
Set("/:puzzleroom5", 1);
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
}
}
onClipEvent (load) {
if (/:puzzleroom5 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 105 MovieClip "bad3" in Frame 898
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 114 MovieClip "bad2" in Frame 898
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad4" in Frame 898
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 114 MovieClip "bad1" in Frame 898
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 898
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 899
stop();
maproom6 = 1;
currentlocation = 6;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 899
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 899
onClipEvent (enterFrame) {
if (((((/:puzzleroom6 == 0) and (getProperty("_root.bad1", _x) < 0)) and (getProperty("_root.bad2", _x) < 0)) and (getProperty("_root.bad3", _x) < 0)) and (getProperty("_root.bad4", _x) < 0)) {
if (!(((((_root.you._x == 130) and (_root.you._y == 150)) or ((_root.you._x == 170) and (_root.you._y == 150))) or ((_root.you._x == 130) and (_root.you._y == 190))) or ((_root.you._x == 170) and (_root.you._y == 190)))) {
Set("/:puzzleroom6", 1);
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.wall.wall1") {
gotoAndPlay (2);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (2);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (2);
};
tellTarget ("_root.wall.wall4") {
gotoAndPlay (2);
};
}
}
}
onClipEvent (load) {
if (/:puzzleroom6 == 1) {
tellTarget ("_root.wall.wall1") {
gotoAndStop (30);
};
tellTarget ("_root.wall.wall2") {
gotoAndStop (30);
};
tellTarget ("_root.wall.wall3") {
gotoAndStop (30);
};
tellTarget ("_root.wall.wall4") {
gotoAndStop (30);
};
}
if (/:puzzleroom6b == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 105 MovieClip "bad3" in Frame 899
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
if (randx == 8) {
randx = 9;
}
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad4" in Frame 899
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
if (randx == 8) {
randx = 9;
}
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad1" in Frame 899
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
if (randx == 8) {
randx = 9;
}
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad2" in Frame 899
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
if (randx == 8) {
randx = 9;
}
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 899
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 900
stop();
maproom7 = 1;
currentlocation = 7;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 900
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 120 MovieClip "bad1" in Frame 900
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad2" in Frame 900
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad3" in Frame 900
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad4" in Frame 900
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 900
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 901
stop();
maproom8 = 1;
currentlocation = 8;
bombset = 0;
magicbutton = random(3) + 1;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin5" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin5" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin6" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin7" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin8" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin9" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin10" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin6" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin7" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin8" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin9" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin10" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life5" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life6" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life7" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life8" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life9" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life10" in Frame 901
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 901
onClipEvent (enterFrame) {
if (((((((/:puzzleroom8d == 0) and (getProperty("_root.bad1", _x) < 0)) and (getProperty("_root.bad2", _x) < 0)) and (getProperty("_root.bad3", _x) < 0)) and (getProperty("_root.bad4", _x) < 0)) and (getProperty("_root.bad5", _x) < 0)) and (getProperty("_root.bad6", _x) < 0)) {
if (!(((_root.you._x == 70) and (_root.you._y == 170)) or ((_root.you._x == 230) and (_root.you._y == 170)))) {
Set("/:puzzleroom8d", 1);
if (/:puzzleroom8c == 1) {
/:stopall();
Set("/:pause", 1);
tellTarget ("_root.wall.wall3") {
gotoAndPlay (30);
};
tellTarget ("_root.wall.wall4") {
gotoAndPlay (30);
};
}
}
}
}
onClipEvent (load) {
if (/:puzzleroom8a == 1) {
tellTarget ("_root.wall.wall1") {
gotoAndStop (61);
};
tellTarget ("_root.wall.wall2") {
gotoAndStop (61);
};
}
}
Instance of Symbol 114 MovieClip "bad2" in Frame 901
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
Instance of Symbol 114 MovieClip "bad1" in Frame 901
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
Instance of Symbol 114 MovieClip "bad5" in Frame 901
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
Instance of Symbol 114 MovieClip "bad6" in Frame 901
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
Instance of Symbol 114 MovieClip "bad3" in Frame 901
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
Instance of Symbol 114 MovieClip "bad4" in Frame 901
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 901
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 902
stop();
maproom8 = 1;
currentlocation = 8;
bombset = 0;
magicbutton = random(3) + 1;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 902
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 295 MovieClip "bullet1" in Frame 902
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 273 MovieClip "gun1" in Frame 902
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 105 MovieClip "bad3" in Frame 902
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(2) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 114 MovieClip "bad2" in Frame 902
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(3) + 11;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad4" in Frame 902
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(2) + 12;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 114 MovieClip "bad1" in Frame 902
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(3) + 3;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 902
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 903
stop();
maproom9 = 1;
currentlocation = 9;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 903
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 903
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 903
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 903
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 903
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 903
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 903
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 903
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 903
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 627 MovieClip "red" in Frame 903
onClipEvent (load) {
if (/:reddoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 105 MovieClip "bad2" in Frame 903
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad3" in Frame 903
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad1" in Frame 903
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 903
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 904
stop();
maproom10 = 1;
currentlocation = 10;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
if (a == 1) {
tellTarget (you) {
gotoAndStop (1);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 2) {
tellTarget (you) {
gotoAndStop (2);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 3) {
tellTarget (you) {
gotoAndStop (3);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 4) {
tellTarget (you) {
gotoAndStop (4);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
}
a = 0;
Instance of Symbol 225 MovieClip "life3" in Frame 904
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin1" in Frame 904
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 904
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 904
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 904
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 904
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 904
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 275 MovieClip "block1" in Frame 904
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 114 MovieClip "bad1" in Frame 904
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(3) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 114 MovieClip "bad2" in Frame 904
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(3) + 11;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 904
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 905
stop();
maproom11 = 1;
currentlocation = 11;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 905
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 905
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 905
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 648 MovieClip "yellow" in Frame 905
onClipEvent (load) {
if (/:yellowdoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 114 MovieClip "bad1" in Frame 905
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 905
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 906
stop();
maproom12 = 1;
currentlocation = 12;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 405 MovieClip "push" in Frame 906
onClipEvent (load) {
if (/:push == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 906
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 907
stop();
maproom13 = 1;
currentlocation = 13;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 225 MovieClip "life1" in Frame 907
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 907
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin1" in Frame 907
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 907
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 907
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 907
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 907
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin5" in Frame 907
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin6" in Frame 907
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 907
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 908
stop();
maproom14 = 1;
currentlocation = 14;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 908
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 908
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 908
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 908
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 908
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 908
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 569 MovieClip "steel" in Frame 908
onClipEvent (load) {
if (/:puzzleroom14 == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 105 MovieClip "bad2" in Frame 908
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad1" in Frame 908
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 908
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 909
stop();
maproom15 = 1;
currentlocation = 15;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 909
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 910
stop();
maproom16 = 1;
currentlocation = 16;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
if (a == 1) {
tellTarget (you) {
gotoAndStop (1);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 2) {
tellTarget (you) {
gotoAndStop (2);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 3) {
tellTarget (you) {
gotoAndStop (3);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 4) {
tellTarget (you) {
gotoAndStop (4);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
}
a = 0;
Instance of Symbol 275 MovieClip "block1" in Frame 910
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 910
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 911
stop();
maproom17 = 1;
currentlocation = 17;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
if (a == 1) {
tellTarget (you) {
gotoAndStop (1);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 2) {
tellTarget (you) {
gotoAndStop (2);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 3) {
tellTarget (you) {
gotoAndStop (3);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
} else if (a == 4) {
tellTarget (you) {
gotoAndStop (4);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
}
a = 0;
Instance of Symbol 529 MovieClip "mainmenu" in Frame 911
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 912
stop();
maproom18 = 1;
currentlocation = 18;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 912
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 913
stop();
maproom19 = 1;
currentlocation = 19;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 913
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 913
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 913
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 913
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 913
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 913
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 913
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 913
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 913
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 913
onClipEvent (enterFrame) {
if ((((/:puzzleroom19 == 0) and (getProperty("_root.bad1", _x) < 0)) and (getProperty("_root.bad2", _x) < 0)) and (getProperty("_root.bad3", _x) < 0)) {
Set("/:puzzleroom19", 1);
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
}
}
onClipEvent (load) {
if (/:puzzleroom19 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 704 MovieClip "white" in Frame 913
onClipEvent (load) {
if (/:whitedoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 120 MovieClip "bad1" in Frame 913
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 120 MovieClip "bad2" in Frame 913
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 120 MovieClip "bad3" in Frame 913
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 913
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 914
stop();
maproom80 = 1;
currentlocation = 80;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 393 MovieClip "bookitem" in Frame 914
onClipEvent (load) {
if (/:book == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 914
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 915
stop();
maproom20 = 1;
currentlocation = 20;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 915
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 915
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 915
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 915
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 915
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 915
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 915
onClipEvent (load) {
if (/:puzzleroom20 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 218 MovieClip "block1" in Frame 915
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 273 MovieClip "gun1" in Frame 915
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 273 MovieClip "gun2" in Frame 915
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 295 MovieClip "bullet1" in Frame 915
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 295 MovieClip "bullet2" in Frame 915
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 138 MovieClip "bad1" in Frame 915
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 5);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 138 MovieClip "bad2" in Frame 915
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 5);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 915
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 916
stop();
maproom21 = 1;
currentlocation = 21;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 916
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 916
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 916
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 916
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 916
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 916
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 916
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 916
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 916
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 916
onClipEvent (enterFrame) {
if ((((/:puzzleroom21 == 0) and (getProperty("_root.bad1", _x) < 0)) and (getProperty("_root.bad2", _x) < 0)) and (getProperty("_root.bad3", _x) < 0)) {
if (!((_root.you._x == 70) and (_root.you._y == 150))) {
Set("/:puzzleroom21", 1);
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
}
}
}
onClipEvent (load) {
if (/:puzzleroom21 == 1) {
tellTarget ("_root.wall.wall2") {
gotoAndStop (30);
};
}
}
Instance of Symbol 275 MovieClip "block1" in Frame 916
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (load) {
if (_root.block1.hitTest(_root.tile) eq "true") {
tellTarget ("_root.wall.wall1") {
gotoAndStop (60);
};
}
}
Instance of Symbol 120 MovieClip "bad1" in Frame 916
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 138 MovieClip "bad2" in Frame 916
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 5);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 114 MovieClip "bad3" in Frame 916
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 916
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 917
stop();
maproom22 = 1;
currentlocation = 22;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 252 MovieClip "button1" in Frame 917
onClipEvent (enterFrame) {
if (_root.button1.hittest(_root.you) and (/:mapbought == 0)) {
Set("/:cost1", "Cost: 50 coins");
Set("/:cost2", "");
Set("/:action", "Press 'a' to buy");
} else if (_root.button2.hittest(_root.you) and (/:orangekey == 0)) {
Set("/:cost1", "");
Set("/:cost2", "Cost: 50 coins and blank key");
Set("/:action", "Press 'a' to buy");
} else {
Set("/:cost1", "");
Set("/:cost2", "");
Set("/:action", "");
}
}
Instance of Symbol 728 MovieClip in Frame 917
onClipEvent (load) {
if (/:mapbought == 1) {
tellTarget (this) {
gotoAndStop (2);
};
}
}
onClipEvent (enterFrame) {
if (/:mapbought == 1) {
tellTarget (this) {
gotoAndStop (2);
};
}
}
Instance of Symbol 731 MovieClip in Frame 917
onClipEvent (load) {
if (/:orangekeybought == 1) {
tellTarget (this) {
gotoAndStop (2);
};
}
}
onClipEvent (enterFrame) {
if (/:orangekeybought == 1) {
tellTarget (this) {
gotoAndStop (2);
};
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 917
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 918
stop();
maproom23 = 1;
currentlocation = 23;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 351 MovieClip "you" in Frame 918
onClipEvent (load) {
if (/:puzzleroom23b == 1) {
setProperty("_root.wall.door", _x , -1000);
}
if (/:puzzleroom23a == 1) {
tellTarget ("_root.wall.wall1") {
gotoAndStop (30);
};
tellTarget ("_root.wall.wall2") {
gotoAndStop (30);
};
tellTarget ("_root.wall.wall3") {
gotoAndStop (30);
};
tellTarget ("_root.wall.wall4") {
gotoAndStop (30);
};
tellTarget ("_root.wall.wall5") {
gotoAndStop (30);
};
tellTarget ("_root.wall.wall6") {
gotoAndStop (30);
};
}
}
Instance of Symbol 275 MovieClip "block1" in Frame 918
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 918
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 919
stop();
maproom24 = 1;
currentlocation = 24;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin5" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin5" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life5" in Frame 919
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 138 MovieClip "bad1" in Frame 919
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 5);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 138 MovieClip "bad2" in Frame 919
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 5);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad4" in Frame 919
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad5" in Frame 919
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 351 MovieClip "you" in Frame 919
onClipEvent (load) {
if (/:puzzleroom24 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 275 MovieClip "block1" in Frame 919
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 275 MovieClip "block2" in Frame 919
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 218 MovieClip "block3" in Frame 919
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 919
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 920
stop();
maproom25 = 1;
currentlocation = 25;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 920
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 921
stop();
maproom26 = 1;
currentlocation = 26;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 767 MovieClip "block3" in Frame 921
onClipEvent (load) {
setProperty(this, _x , /:redblock);
}
Instance of Symbol 769 MovieClip "block4" in Frame 921
onClipEvent (load) {
setProperty(this, _x , /:yellowblock);
}
Instance of Symbol 771 MovieClip "block2" in Frame 921
onClipEvent (load) {
setProperty(this, _x , /:greenblock);
}
Instance of Symbol 773 MovieClip "block1" in Frame 921
onClipEvent (load) {
setProperty(this, _x , /:blueblock);
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 921
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 922
stop();
maproom27 = 1;
currentlocation = 27;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 351 MovieClip "you" in Frame 922
onClipEvent (load) {
if (/:snakekilled == 1) {
setProperty("_root.wall.wall", _x , -1000);
setProperty("_root.wall.wall1", _x , -1000);
}
}
Instance of Symbol 820 MovieClip "snake0" in Frame 922
onClipEvent (load) {
snakeheadx = this._x;
snakeheady = this._y;
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 922
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Instance of Symbol 829 MovieClip "health" in Frame 922
onClipEvent (load) {
setProperty(this, _visible , 0);
}
onClipEvent (enterFrame) {
healthvar = (/:snakelife / 10) add "/10";
}
Frame 923
stop();
maproom28 = 1;
currentlocation = 28;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 923
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 924
stop();
maproom29 = 1;
currentlocation = 29;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 924
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Instance of Symbol 840 MovieClip "redkey" in Frame 924
onClipEvent (load) {
if (/:redkey == 1) {
setProperty(this, _x , -1000);
}
}
Frame 925
stop();
maproom30 = 1;
currentlocation = 30;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 925
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 925
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 925
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 925
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 925
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 925
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 925
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 925
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 925
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 925
onClipEvent (enterFrame) {
if ((((/:puzzleroom30 == 0) and (getProperty("_root.bad1", _x) < 0)) and (getProperty("_root.bad2", _x) < 0)) and (getProperty("_root.bad3", _x) < 0)) {
Set("/:puzzleroom30", 1);
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
}
}
onClipEvent (load) {
if (/:puzzleroom30 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 273 MovieClip "gun2" in Frame 925
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 295 MovieClip "bullet1" in Frame 925
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 273 MovieClip "gun1" in Frame 925
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 295 MovieClip "bullet2" in Frame 925
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 132 MovieClip "bad1" in Frame 925
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
if ((random(2) + 1) == 1) {
tellTarget (this) {
gotoAndPlay ("y");
};
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 132 MovieClip "bad2" in Frame 925
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
if ((random(2) + 1) == 1) {
tellTarget (this) {
gotoAndPlay ("y");
};
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad3" in Frame 925
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 925
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 926
stop();
maproom31 = 1;
currentlocation = 31;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 275 MovieClip "block1" in Frame 926
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (load) {
if (_root.block1.hitTest(_root.tile) eq "true") {
tellTarget ("_root.wall.wall1") {
gotoAndStop (60);
};
}
}
Instance of Symbol 275 MovieClip "block2" in Frame 926
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (load) {
if (_root.block1.hitTest(_root.tile) eq "true") {
tellTarget ("_root.wall.wall1") {
gotoAndStop (60);
};
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 926
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 927
stop();
maproom32 = 1;
currentlocation = 32;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 854 MovieClip "sb" in Frame 927
onClipEvent (load) {
if (/:havesuperbomb == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 927
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 928
stop();
maproom33 = 1;
currentlocation = 33;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 928
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 928
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 928
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 928
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 928
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 928
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 928
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 928
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 928
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 928
onClipEvent (enterFrame) {
if ((((/:puzzleroom33 == 0) and (getProperty("_root.bad1", _x) < 0)) and (getProperty("_root.bad2", _x) < 0)) and (getProperty("_root.bad3", _x) < 0)) {
Set("/:puzzleroom33", 1);
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
}
}
onClipEvent (load) {
if (/:puzzleroom33 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 870 MovieClip "green" in Frame 928
onClipEvent (load) {
if (/:greendoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 120 MovieClip "bad3" in Frame 928
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 132 MovieClip "bad1" in Frame 928
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
if ((random(2) + 1) == 1) {
tellTarget (this) {
gotoAndPlay ("y");
};
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 238 MovieClip "bad2" in Frame 928
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 928
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 929
stop();
maproom34 = 1;
currentlocation = 34;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin5" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin5" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin6" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin6" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life5" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life6" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin7" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin7" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life7" in Frame 929
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 132 MovieClip "bad1" in Frame 929
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
if ((random(2) + 1) == 1) {
tellTarget (this) {
gotoAndPlay ("y");
};
}
}
Instance of Symbol 132 MovieClip "bad7" in Frame 929
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
if ((random(2) + 1) == 1) {
tellTarget (this) {
gotoAndPlay ("y");
};
}
}
Instance of Symbol 105 MovieClip "bad2" in Frame 929
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad3" in Frame 929
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad4" in Frame 929
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 238 MovieClip "bad5" in Frame 929
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 238 MovieClip "bad6" in Frame 929
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 929
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 930
stop();
maproom35 = 1;
currentlocation = 35;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 930
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 114 MovieClip "bad2" in Frame 930
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 138 MovieClip "bad1" in Frame 930
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 5);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 238 MovieClip "bad3" in Frame 930
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 114 MovieClip "bad4" in Frame 930
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 930
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 931
stop();
maproom36 = 1;
currentlocation = 36;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 931
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 932
stop();
maproom37 = 1;
currentlocation = 37;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 891 MovieClip "greenkey" in Frame 932
onClipEvent (load) {
if (/:greenkey == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 902 MovieClip "orange" in Frame 932
onClipEvent (load) {
if (/:orangedoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 932
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 933
stop();
maproom38 = 1;
currentlocation = 38;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 295 MovieClip "bullet1" in Frame 933
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 273 MovieClip "gun1" in Frame 933
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 933
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 934
stop();
maproom39 = 1;
currentlocation = 39;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 913 MovieClip "bluekey" in Frame 934
onClipEvent (load) {
if (/:bluekey == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 351 MovieClip "you" in Frame 934
onClipEvent (load) {
if (/:puzzleroom39 == 1) {
tellTarget ("_root.wall.wall") {
gotoAndStop (60);
};
tellTarget ("_root.wall.wall2") {
gotoAndStop (60);
};
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 934
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 935
stop();
maproom40 = 1;
currentlocation = 40;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 935
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 935
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 935
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 935
onClipEvent (enterFrame) {
if ((/:puzzleroom40 == 0) and (getProperty("_root.bad1", _x) < 0)) {
Set("/:puzzleroom40", 1);
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
}
}
onClipEvent (load) {
if (/:puzzleroom40 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 249 MovieClip "bad1" in Frame 935
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 8);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (enterFrame) {
if (((_root.you._x < (this._x + 80)) and (_root.you._x > (this._x - 80))) and ((_root.you._y < (this._y + 80)) and (_root.you._y > (this._y - 80)))) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 935
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 936
stop();
maproom78 = 1;
currentlocation = 78;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 936
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 937
stop();
maproom79 = 1;
currentlocation = 79;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 932 MovieClip "whitekey" in Frame 937
onClipEvent (load) {
if (/:whitekey == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 937
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 938
stop();
maproom41 = 1;
currentlocation = 41;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin5" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin5" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life5" in Frame 938
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 120 MovieClip "bad2" in Frame 938
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
Instance of Symbol 132 MovieClip "bad1" in Frame 938
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
if ((random(2) + 1) == 1) {
tellTarget (this) {
gotoAndPlay ("y");
};
}
}
Instance of Symbol 105 MovieClip "bad5" in Frame 938
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(2) + 12;
randy = random(7) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad3" in Frame 938
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(2) + 12;
randy = random(7) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad4" in Frame 938
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(2) + 12;
randy = random(7) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 938
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 939
stop();
maproom42 = 1;
currentlocation = 42;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 225 MovieClip "life1" in Frame 939
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 939
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 940
stop();
maproom43 = 1;
currentlocation = 43;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 940
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 941
stop();
maproom44 = 1;
currentlocation = 44;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 941
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 942
stop();
maproom45 = 1;
currentlocation = 45;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 942
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 943
stop();
maproom46 = 1;
currentlocation = 46;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 275 MovieClip "block1" in Frame 943
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (load) {
if (_root.block1.hitTest(_root.tile1) eq "true") {
tellTarget ("_root.wall.wall1") {
gotoAndStop (60);
};
}
}
Instance of Symbol 275 MovieClip "block2" in Frame 943
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (load) {
if (_root.block2.hitTest(_root.tile2) eq "true") {
tellTarget ("_root.wall.wall2") {
gotoAndStop (60);
};
}
}
Instance of Symbol 275 MovieClip "block3" in Frame 943
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (load) {
if (_root.block3.hitTest(_root.tile3) eq "true") {
tellTarget ("_root.wall.wall3") {
gotoAndStop (60);
};
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 943
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 944
stop();
maproom47 = 1;
currentlocation = 47;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 944
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 249 MovieClip "bad1" in Frame 944
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 8);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (enterFrame) {
if (((_root.you._x < (this._x + 80)) and (_root.you._x > (this._x - 80))) and ((_root.you._y < (this._y + 80)) and (_root.you._y > (this._y - 80)))) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 249 MovieClip "bad2" in Frame 944
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 8);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (enterFrame) {
if (((_root.you._x < (this._x + 80)) and (_root.you._x > (this._x - 80))) and ((_root.you._y < (this._y + 80)) and (_root.you._y > (this._y - 80)))) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 249 MovieClip "bad3" in Frame 944
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 8);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (enterFrame) {
if (((_root.you._x < (this._x + 80)) and (_root.you._x > (this._x - 80))) and ((_root.you._y < (this._y + 80)) and (_root.you._y > (this._y - 80)))) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 249 MovieClip "bad4" in Frame 944
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 8);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (enterFrame) {
if (((_root.you._x < (this._x + 80)) and (_root.you._x > (this._x - 80))) and ((_root.you._y < (this._y + 80)) and (_root.you._y > (this._y - 80)))) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 944
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 945
stop();
maproom48 = 1;
currentlocation = 48;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin2" in Frame 945
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 945
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 945
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 138 MovieClip "bad2" in Frame 945
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 5);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 945
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 946
stop();
maproom49 = 1;
currentlocation = 49;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
if (a == 1) {
tellTarget (you) {
gotoAndStop (1);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
} else if (a == 2) {
tellTarget (you) {
gotoAndStop (2);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
} else if (a == 3) {
tellTarget (you) {
gotoAndStop (3);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
} else if (a == 4) {
tellTarget (you) {
gotoAndStop (4);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
}
a = 0;
Instance of Symbol 529 MovieClip "mainmenu" in Frame 946
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 947
stop();
maproom50 = 1;
currentlocation = 50;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 947
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 947
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 947
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 947
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 947
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 947
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 249 MovieClip "bad1" in Frame 947
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 8);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (enterFrame) {
if (((_root.you._x < (this._x + 80)) and (_root.you._x > (this._x - 80))) and ((_root.you._y < (this._y + 80)) and (_root.you._y > (this._y - 80)))) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 249 MovieClip "bad2" in Frame 947
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 8);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (enterFrame) {
if (((_root.you._x < (this._x + 80)) and (_root.you._x > (this._x - 80))) and ((_root.you._y < (this._y + 80)) and (_root.you._y > (this._y - 80)))) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 947
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 948
stop();
maproom51 = 1;
currentlocation = 51;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 295 MovieClip "bullet1" in Frame 948
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 220 MovieClip "coin2" in Frame 948
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 948
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 948
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 948
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 948
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 948
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 948
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 948
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 948
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 273 MovieClip "gun1" in Frame 948
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 105 MovieClip "bad2" in Frame 948
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad3" in Frame 948
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad4" in Frame 948
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 5;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 948
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 949
stop();
maproom52 = 1;
currentlocation = 52;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 1015 MovieClip "platform" in Frame 949
onClipEvent (enterFrame) {
if (/:moveallowed == 1) {
setProperty(this, _y , this._y + dir);
if ((this._y == 130) or (this._y == 190)) {
tellTarget (this) {
gotoAndStop (1);
};
setProperty("_root.you", _x , this._x);
setProperty("_root.you", _y , this._y);
Set("/:moveallowed", 0);
Set("/:pause", 0);
/:playall();
}
}
}
onClipEvent (load) {
function plat() {
if ((((_root.you._x == 150) and (_root.you._y == 70)) or ((_root.you._x == 270) and (_root.you._y == 170))) or ((_root.you._x == 110) and (_root.you._y == 270))) {
setProperty("_root.platform", _x , 90);
setProperty("_root.platform", _y , 190);
}
if ((_root.you._x == 30) and (_root.you._y == 170)) {
setProperty("_root.platform", _x , 90);
setProperty("_root.platform", _y , 130);
}
}
}
onClipEvent (enterFrame) {
plat();
}
Instance of Symbol 295 MovieClip "bullet1" in Frame 949
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 273 MovieClip "gun1" in Frame 949
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 949
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 950
stop();
maproom53 = 1;
currentlocation = 53;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 1015 MovieClip "platform" in Frame 950
onClipEvent (enterFrame) {
if (/:moveallowed == 1) {
setProperty(this, _x , this._x + dir);
if ((this._x == 90) or (this._x == 210)) {
tellTarget (this) {
gotoAndStop (1);
};
setProperty("_root.you", _x , this._x);
setProperty("_root.you", _y , this._y);
Set("/:moveallowed", 0);
Set("/:pause", 0);
/:playall();
}
}
}
onClipEvent (load) {
function plat() {
if ((_root.you._x == 270) and (_root.you._y == 170)) {
setProperty("_root.platform", _x , 210);
setProperty("_root.platform", _y , 110);
setProperty("_root.platform2", _x , 70);
setProperty("_root.platform2", _y , 130);
}
if ((_root.you._x == 150) and (_root.you._y == 270)) {
setProperty("_root.platform", _x , 90);
setProperty("_root.platform", _y , 110);
setProperty("_root.platform2", _x , 70);
setProperty("_root.platform2", _y , 210);
}
}
}
onClipEvent (enterFrame) {
plat();
}
Instance of Symbol 1015 MovieClip "platform2" in Frame 950
onClipEvent (enterFrame) {
if (/:moveallowed2 == 1) {
setProperty(this, _y , this._y + dir);
if ((this._y == 130) or (this._y == 210)) {
tellTarget (this) {
gotoAndStop (1);
};
setProperty("_root.you", _x , this._x);
setProperty("_root.you", _y , this._y);
Set("/:moveallowed2", 0);
Set("/:pause", 0);
/:playall();
}
}
}
onClipEvent (load) {
function plat() {
if ((_root.you._x == 270) and (_root.you._y == 170)) {
setProperty("_root.platform", _x , 210);
setProperty("_root.platform", _y , 110);
setProperty("_root.platform2", _x , 70);
setProperty("_root.platform2", _y , 130);
}
if ((_root.you._x == 150) and (_root.you._y == 270)) {
setProperty("_root.platform", _x , 90);
setProperty("_root.platform", _y , 110);
setProperty("_root.platform2", _x , 70);
setProperty("_root.platform2", _y , 210);
}
}
}
onClipEvent (enterFrame) {
plat();
}
Instance of Symbol 225 MovieClip "life1" in Frame 950
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 950
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 951
stop();
maproom54 = 1;
currentlocation = 54;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 225 MovieClip "life1" in Frame 951
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 1015 MovieClip "platform" in Frame 951
onClipEvent (enterFrame) {
if (/:moveallowed == 1) {
setProperty(this, _x , this._x + dir);
if ((this._x == 130) or (this._x == 210)) {
tellTarget (this) {
gotoAndStop (1);
};
setProperty("_root.you", _x , this._x);
setProperty("_root.you", _y , this._y);
Set("/:moveallowed", 0);
Set("/:pause", 0);
/:playall();
}
}
}
onClipEvent (load) {
function plat() {
if ((_root.you._x == 150) and (_root.you._y == 270)) {
setProperty("_root.platform", _x , 210);
setProperty("_root.platform", _y , 130);
}
}
}
onClipEvent (enterFrame) {
plat();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 951
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 952
stop();
maproom55 = 1;
currentlocation = 55;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 295 MovieClip "bullet1" in Frame 952
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 295 MovieClip "bullet2" in Frame 952
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 295 MovieClip "bullet4" in Frame 952
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 295 MovieClip "bullet3" in Frame 952
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 220 MovieClip "coin1" in Frame 952
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 952
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 952
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 952
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 952
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 952
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 952
onClipEvent (enterFrame) {
if (((/:puzzleroom55 == 0) and (getProperty("_root.bad1", _x) < 0)) and (getProperty("_root.bad2", _x) < 0)) {
Set("/:puzzleroom55", 1);
Set("/:pause", 1);
/:stopall();
/:mainmusic.setVolume(25);
tellTarget ("_root.tilecontrol") {
gotoAndPlay (1);
};
}
}
onClipEvent (load) {
if (/:puzzleroom55 == 1) {
setProperty("_root.black.strip", _x , 1000);
tellTarget ("_root.tile1") {
gotoAndStop (15);
};
tellTarget ("_root.tile2") {
gotoAndStop (15);
};
tellTarget ("_root.tile3") {
gotoAndStop (15);
};
tellTarget ("_root.tile4") {
gotoAndStop (15);
};
tellTarget ("_root.tile5") {
gotoAndStop (15);
};
}
}
Instance of Symbol 273 MovieClip "gun1" in Frame 952
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 273 MovieClip "gun2" in Frame 952
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 273 MovieClip "gun3" in Frame 952
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 273 MovieClip "gun4" in Frame 952
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 120 MovieClip "bad1" in Frame 952
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 138 MovieClip "bad2" in Frame 952
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 5);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 3;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 952
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 953
stop();
maproom56 = 1;
currentlocation = 56;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
if (a == 1) {
tellTarget (you) {
gotoAndStop (1);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
} else if (a == 2) {
tellTarget (you) {
gotoAndStop (2);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
} else if (a == 3) {
tellTarget (you) {
gotoAndStop (3);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
} else if (a == 4) {
tellTarget (you) {
gotoAndStop (4);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
}
a = 0;
Instance of Symbol 529 MovieClip "mainmenu" in Frame 953
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 954
stop();
maproom57 = 1;
currentlocation = 57;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 954
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 954
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 954
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 954
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 954
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 954
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 954
onClipEvent (enterFrame) {
if (((/:puzzleroom57 == 0) and (getProperty("_root.bad1", _x) < 0)) and (getProperty("_root.bad2", _x) < 0)) {
Set("/:puzzleroom57", 1);
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
}
}
onClipEvent (load) {
if (/:puzzleroom57 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 249 MovieClip "bad1" in Frame 954
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 8);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (enterFrame) {
if (((_root.you._x < (this._x + 80)) and (_root.you._x > (this._x - 80))) and ((_root.you._y < (this._y + 80)) and (_root.you._y > (this._y - 80)))) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 249 MovieClip "bad2" in Frame 954
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 8);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
onClipEvent (enterFrame) {
if (((_root.you._x < (this._x + 80)) and (_root.you._x > (this._x - 80))) and ((_root.you._y < (this._y + 80)) and (_root.you._y > (this._y - 80)))) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
}
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 954
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 955
stop();
maproom58 = 1;
currentlocation = 58;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 295 MovieClip "bullet1" in Frame 955
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 273 MovieClip "gun1" in Frame 955
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 955
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 956
stop();
maproom59 = 1;
currentlocation = 59;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 351 MovieClip "you" in Frame 956
onClipEvent (load) {
if (/:puzzleroom59 == 1) {
tellTarget ("_root.wall.wall1") {
gotoAndStop (60);
};
tellTarget ("_root.wall.wall2") {
gotoAndStop (60);
};
tellTarget ("_root.wall.wall3") {
gotoAndStop (60);
};
tellTarget ("_root.wall.wall4") {
gotoAndStop (60);
};
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 956
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 957
stop();
maproom60 = 1;
currentlocation = 60;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 1015 MovieClip "platform" in Frame 957
onClipEvent (enterFrame) {
if (/:moveallowed == 1) {
setProperty(this, _x , this._x + dir);
if ((this._x == 70) or (this._x == 130)) {
tellTarget (this) {
gotoAndStop (1);
};
setProperty("_root.you", _x , this._x);
setProperty("_root.you", _y , this._y);
Set("/:moveallowed", 0);
Set("/:pause", 0);
/:playall();
}
}
}
Instance of Symbol 1015 MovieClip "platform2" in Frame 957
onClipEvent (enterFrame) {
if (/:moveallowed2 == 1) {
setProperty(this, _y , this._y + dir);
if ((this._y == 110) or (this._y == 150)) {
tellTarget (this) {
gotoAndStop (1);
};
setProperty("_root.you", _x , this._x);
setProperty("_root.you", _y , this._y);
Set("/:moveallowed2", 0);
Set("/:pause", 0);
/:playall();
}
}
}
onClipEvent (load) {
function plat() {
if ((_root.you._x == 30) and (_root.you._y == 170)) {
setProperty("_root.platform", _x , 70);
setProperty("_root.platform", _y , 90);
setProperty("_root.platform2", _x , 50);
setProperty("_root.platform2", _y , 150);
setProperty("_root.platform3", _x , 150);
setProperty("_root.platform3", _y , 110);
setProperty("_root.platform4", _x , 170);
setProperty("_root.platform4", _y , 250);
setProperty("_root.platform5", _x , 250);
setProperty("_root.platform5", _y , 230);
}
if ((_root.you._x == 270) and (_root.you._y == 170)) {
setProperty("_root.platform", _x , 130);
setProperty("_root.platform", _y , 90);
setProperty("_root.platform2", _x , 50);
setProperty("_root.platform2", _y , 110);
setProperty("_root.platform3", _x , 150);
setProperty("_root.platform3", _y , 230);
setProperty("_root.platform4", _x , 230);
setProperty("_root.platform4", _y , 250);
setProperty("_root.platform5", _x , 250);
setProperty("_root.platform5", _y , 190);
}
}
}
onClipEvent (enterFrame) {
plat();
}
Instance of Symbol 1015 MovieClip "platform3" in Frame 957
onClipEvent (enterFrame) {
if (/:moveallowed3 == 1) {
setProperty(this, _y , this._y + dir);
if ((this._y == 110) or (this._y == 230)) {
tellTarget (this) {
gotoAndStop (1);
};
setProperty("_root.you", _x , this._x);
setProperty("_root.you", _y , this._y);
Set("/:moveallowed3", 0);
Set("/:pause", 0);
/:playall();
}
}
}
Instance of Symbol 1015 MovieClip "platform4" in Frame 957
onClipEvent (enterFrame) {
if (/:moveallowed4 == 1) {
setProperty(this, _x , this._x + dir);
if ((this._x == 170) or (this._x == 230)) {
tellTarget (this) {
gotoAndStop (1);
};
setProperty("_root.you", _x , this._x);
setProperty("_root.you", _y , this._y);
Set("/:moveallowed4", 0);
Set("/:pause", 0);
/:playall();
}
}
}
Instance of Symbol 1015 MovieClip "platform5" in Frame 957
onClipEvent (enterFrame) {
if (/:moveallowed5 == 1) {
setProperty(this, _y , this._y + dir);
if ((this._y == 190) or (this._y == 230)) {
tellTarget (this) {
gotoAndStop (1);
};
setProperty("_root.you", _x , this._x);
setProperty("_root.you", _y , this._y);
Set("/:moveallowed5", 0);
Set("/:pause", 0);
/:playall();
}
}
}
Instance of Symbol 295 MovieClip "bullet1" in Frame 957
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 295 MovieClip "bullet2" in Frame 957
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 273 MovieClip "gun1" in Frame 957
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 273 MovieClip "gun2" in Frame 957
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 957
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 958
stop();
maproom61 = 1;
currentlocation = 61;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin5" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin5" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin6" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin6" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life5" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life6" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star1" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star2" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star3" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star4" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star5" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star6" in Frame 958
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 132 MovieClip "bad5" in Frame 958
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
if ((random(2) + 1) == 1) {
tellTarget (this) {
gotoAndPlay ("y");
};
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 105 MovieClip "bad1" in Frame 958
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 2);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 114 MovieClip "bad2" in Frame 958
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 120 MovieClip "bad3" in Frame 958
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 138 MovieClip "bad4" in Frame 958
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 5);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 238 MovieClip "bad6" in Frame 958
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 958
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 959
stop();
maproom62 = 1;
currentlocation = 62;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 767 MovieClip "block4" in Frame 959
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 769 MovieClip "block2" in Frame 959
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 771 MovieClip "block3" in Frame 959
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 773 MovieClip "block1" in Frame 959
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 959
onClipEvent (load) {
if (/:puzzleroom62 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 295 MovieClip "bullet1" in Frame 959
onClipEvent (load) {
time = 61;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 61;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 61;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
Set("/:pause", 0);
/:playall();
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 61;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 61;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 61;
}
}
Instance of Symbol 273 MovieClip "gun1" in Frame 959
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 959
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 960
stop();
maproom63 = 1;
currentlocation = 63;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 225 MovieClip "life1" in Frame 960
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 218 MovieClip "block1" in Frame 960
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 960
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 961
stop();
maproom64 = 1;
currentlocation = 64;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 961
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 962
stop();
maproom65 = 1;
currentlocation = 65;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 351 MovieClip "you" in Frame 962
onClipEvent (load) {
if (/:bombkilled == 1) {
setProperty("_root.wall.wall", _x , -1000);
setProperty("_root.wall.wall1", _x , -1000);
setProperty("_root.wall.wall2", _x , -1000);
}
}
Instance of Symbol 1118 MovieClip "fireball2" in Frame 962
onClipEvent (load) {
time = 101;
speed = 9;
}
onClipEvent (enterFrame) {
if ((_root.bomb.hittest(this) and (_root.bomb._currentframe > 1)) and (this._currentframe == 2)) {
if (!((youx == 150) and (youy == 170))) {
bulletx = this._x;
bullety = this._y;
youx = 150;
youy = 170;
}
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , 150);
setProperty(this, _y , 170);
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
}
if ((time >= 20) and (time < 100)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
setProperty(this, _x , -1000);
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
setProperty(this, _x , -1000);
}
if ((_root.boss.hittest(this._x, this._y, true) eq "true") and ((youx == 150) and (youy == 170))) {
setProperty(this, _x , -1000);
if (_root.boss._currentframe < 27) {
Set("/:bomblife", /:bomblife - 1);
tellTarget ("_root.boss") {
gotoAndPlay (27);
};
}
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
if (_root.you._currentframe < 5) {
setProperty(this, _x , -1000);
Set("/:life", /:life - 5);
/:youhit();
}
}
}
}
}
Instance of Symbol 1118 MovieClip "fireball1" in Frame 962
onClipEvent (load) {
time = 101;
speed = 9;
}
onClipEvent (enterFrame) {
if ((_root.bomb.hittest(this) and (_root.bomb._currentframe > 1)) and (this._currentframe == 2)) {
if (!((youx == 150) and (youy == 170))) {
bulletx = this._x;
bullety = this._y;
youx = 150;
youy = 170;
}
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , 150);
setProperty(this, _y , 170);
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
}
if ((time >= 20) and (time < 100)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
if (!((youx == 150) and (youy == 170))) {
degrees = degrees + a;
}
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
if (!((youx == 150) and (youy == 170))) {
degrees = degrees + a;
}
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
if (!((youx == 150) and (youy == 170))) {
degrees = degrees + a;
}
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
if (!((youx == 150) and (youy == 170))) {
degrees = degrees + a;
}
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
setProperty(this, _x , -1000);
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
setProperty(this, _x , -1000);
}
if ((_root.boss.hittest(this._x, this._y, true) eq "true") and ((youx == 150) and (youy == 170))) {
setProperty(this, _x , -1000);
if (_root.boss._currentframe < 27) {
Set("/:bomblife", /:bomblife - 1);
tellTarget ("_root.boss") {
gotoAndPlay (27);
};
}
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
if (_root.you._currentframe < 5) {
setProperty(this, _x , -1000);
Set("/:life", /:life - 5);
/:youhit();
}
}
}
}
}
Instance of Symbol 1118 MovieClip "fireball3" in Frame 962
onClipEvent (load) {
time = 101;
speed = 9;
}
onClipEvent (enterFrame) {
if ((_root.bomb.hittest(this) and (_root.bomb._currentframe > 1)) and (this._currentframe == 2)) {
if (!((youx == 150) and (youy == 170))) {
bulletx = this._x;
bullety = this._y;
youx = 150;
youy = 170;
}
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , 150);
setProperty(this, _y , 170);
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
}
if ((time >= 20) and (time < 100)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
if (!((youx == 150) and (youy == 170))) {
degrees = degrees + a;
}
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
if (!((youx == 150) and (youy == 170))) {
degrees = degrees + a;
}
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
if (!((youx == 150) and (youy == 170))) {
degrees = degrees + a;
}
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
if (!((youx == 150) and (youy == 170))) {
degrees = degrees + a;
}
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
setProperty(this, _x , -1000);
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
setProperty(this, _x , -1000);
}
if ((_root.boss.hittest(this._x, this._y, true) eq "true") and ((youx == 150) and (youy == 170))) {
setProperty(this, _x , -1000);
if (_root.boss._currentframe < 27) {
Set("/:bomblife", /:bomblife - 1);
tellTarget ("_root.boss") {
gotoAndPlay (27);
};
}
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
if (_root.you._currentframe < 5) {
setProperty(this, _x , -1000);
Set("/:life", /:life - 5);
/:youhit();
}
}
}
}
}
Instance of Symbol 1129 MovieClip "boss" in Frame 962
onClipEvent (load) {
if ((/:bombkilled == 1) or (/:bossencounter == 0)) {
setProperty(this, _y , 2000);
tellTarget (this) {
gotoAndStop (123);
};
}
speed = 3;
time = 0;
}
onClipEvent (enterFrame) {
if (((_root.bomb.hittest(this) and (_root.bomb._currentframe > 1)) and (this._currentframe < 27)) and (!((this._x == 150) and (this._y == 170)))) {
time = 99;
}
}
onClipEvent (enterFrame) {
if ((/:pause == 0) and (this._currentframe != 123)) {
time = time + 1;
if (time == 125) {
tellTarget ("_root.boss.lefteye") {
gotoAndPlay (2);
};
tellTarget ("_root.boss.righteye") {
gotoAndPlay (2);
};
}
if (time == 130) {
_root.fireball1.a = -50;
_root.fireball3.a = 50;
_root.fireball1.time = 19;
_root.fireball2.time = 19;
_root.fireball3.time = 19;
rand = random(3) + 1;
tellTarget ("_root.fireball1") {
gotoAndStop (1);
};
tellTarget ("_root.fireball2") {
gotoAndStop (1);
};
tellTarget ("_root.fireball3") {
gotoAndStop (1);
};
if (rand == 1) {
tellTarget ("_root.fireball1") {
gotoAndStop (2);
};
} else if (rand == 2) {
tellTarget ("_root.fireball2") {
gotoAndStop (2);
};
} else if (rand == 3) {
tellTarget ("_root.fireball3") {
gotoAndStop (2);
};
}
s = new Sound();
s.attachSound("fire2");
s.start();
}
if (time == 170) {
if ((random(2) + 1) == 1) {
time = 0;
} else {
time = 124;
}
}
bulletx = this._x;
bullety = this._y;
if (time >= 100) {
youx = 150;
youy = 170;
if (time == 100) {
tellTarget (this) {
gotoAndPlay (14);
};
}
} else {
youx = _root.you._x;
youy = _root.you._y;
if (time == 10) {
tellTarget (this) {
gotoAndPlay (1);
};
}
}
if (time >= 10) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
}
if (((((this.hittest(134, 154, true) eq "true") and (this.hittest(166, 154, true) eq "true")) and (this.hittest(134, 186, true) eq "true")) and (this.hittest(166, 186, true) eq "true")) and (time >= 100)) {
setProperty(this, _x , 150);
setProperty(this, _y , 170);
}
if (_root.you.hittest(this)) {
time = 99;
tellTarget (this) {
gotoAndPlay (14);
};
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 962
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Instance of Symbol 829 MovieClip "health" in Frame 962
onClipEvent (load) {
setProperty(this, _visible , 0);
}
onClipEvent (enterFrame) {
healthvar = /:bomblife add "/5";
}
Frame 963
stop();
maproom66 = 1;
currentlocation = 66;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 351 MovieClip "you" in Frame 963
onClipEvent (load) {
if (/:puzzleroom66 == 1) {
tellTarget ("_root.wall.wall1") {
gotoAndStop (60);
};
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 963
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 964
stop();
maproom67 = 1;
currentlocation = 67;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 351 MovieClip "you" in Frame 964
onClipEvent (load) {
if (/:puzzleroom67 == 1) {
tellTarget ("_root.wall.wall1") {
gotoAndStop (60);
};
}
}
Instance of Symbol 331 MovieClip "raftitem" in Frame 964
onClipEvent (load) {
if (/:raft == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 964
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 965
stop();
maproom68 = 1;
currentlocation = 68;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 551 MovieClip in Frame 965
onClipEvent (load) {
time = 15;
}
onClipEvent (enterFrame) {
if (time == 15) {
if ((this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) and (getProperty(this, _visible) == true)) {
Set("/:life", /:life - 5);
/:youhit();
time = 0;
}
}
if (time < 15) {
time = Number(time + 1);
}
}
Instance of Symbol 295 MovieClip "bullet1" in Frame 965
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 273 MovieClip "gun1" in Frame 965
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 965
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 966
stop();
maproom69 = 1;
currentlocation = 69;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 220 MovieClip "coin1" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin1" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin2" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin2" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin3" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin3" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 220 MovieClip "coin4" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 223 MovieClip "bigcoin4" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life1" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life3" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life4" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star1" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star2" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star3" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 228 MovieClip "star4" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life5" in Frame 966
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 120 MovieClip "bad3" in Frame 966
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 138 MovieClip "bad4" in Frame 966
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 5);
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if ((((_root.wall.hittest(x, y, true) eq "true") or (_root.water.hittest(x, y, true) eq "true")) or (_root.dock.hittest(x, y, true) eq "true")) or (_root.black.hittest(x, y, true) eq "true")) {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 132 MovieClip "bad1" in Frame 966
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
if ((random(2) + 1) == 1) {
tellTarget (this) {
gotoAndPlay ("y");
};
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 132 MovieClip "bad2" in Frame 966
onClipEvent (load) {
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 6);
}
if ((random(2) + 1) == 1) {
tellTarget (this) {
gotoAndPlay ("y");
};
}
}
onClipEvent (load) {
function place() {
randx = random(9) + 4;
randy = random(7) + 6;
x = (randx * 20) - 10;
y = (randy * 20) - 10;
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
setProperty(this, _x , x);
setProperty(this, _y , y);
if (_root.wall.hittest(x, y, true) eq "true") {
place();
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
place();
}
}
z = z + 1;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
place();
}
z = z + 1;
}
}
}
place();
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 966
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 967
stop();
maproom70 = 1;
currentlocation = 70;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 258 MovieClip "block0" in Frame 967
onClipEvent (enterFrame) {
if ((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
} else if (this._currentframe == 11) {
tellTarget (this) {
gotoAndPlay (12);
};
} else if (this._currentframe == 21) {
tellTarget (this) {
gotoAndPlay (22);
};
} else if (this._currentframe == 31) {
tellTarget (this) {
gotoAndPlay (32);
};
}
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 264 MovieClip "block1" in Frame 967
onClipEvent (enterFrame) {
if ((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 11) {
tellTarget (this) {
gotoAndPlay (12);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 21) {
tellTarget (this) {
gotoAndPlay (22);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 31) {
tellTarget (this) {
gotoAndPlay (32);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) - 15;
setProperty(this, _name , "block" add a);
}
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 264 MovieClip "block2" in Frame 967
onClipEvent (enterFrame) {
if ((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 11) {
tellTarget (this) {
gotoAndPlay (12);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 21) {
tellTarget (this) {
gotoAndPlay (22);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 31) {
tellTarget (this) {
gotoAndPlay (32);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) - 15;
setProperty(this, _name , "block" add a);
}
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 264 MovieClip "block3" in Frame 967
onClipEvent (enterFrame) {
if ((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 11) {
tellTarget (this) {
gotoAndPlay (12);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 21) {
tellTarget (this) {
gotoAndPlay (22);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 31) {
tellTarget (this) {
gotoAndPlay (32);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) - 15;
setProperty(this, _name , "block" add a);
}
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 264 MovieClip "block4" in Frame 967
onClipEvent (enterFrame) {
if ((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 11) {
tellTarget (this) {
gotoAndPlay (12);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 21) {
tellTarget (this) {
gotoAndPlay (22);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 31) {
tellTarget (this) {
gotoAndPlay (32);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) - 15;
setProperty(this, _name , "block" add a);
}
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 264 MovieClip "block5" in Frame 967
onClipEvent (enterFrame) {
if ((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) {
if (this._currentframe == 1) {
tellTarget (this) {
gotoAndPlay (2);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 11) {
tellTarget (this) {
gotoAndPlay (12);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 21) {
tellTarget (this) {
gotoAndPlay (22);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) + 5;
setProperty(this, _name , "block" add a);
} else if (this._currentframe == 31) {
tellTarget (this) {
gotoAndPlay (32);
};
a = substring(getProperty(this, _name), 6, 7);
a = Number(a) - 15;
setProperty(this, _name , "block" add a);
}
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 351 MovieClip "you" in Frame 967
onClipEvent (load) {
if (/:puzzleroom70 == 1) {
setProperty("_root.wall.wall", _x , -1000);
setProperty("_root.wall.wall1", _x , -1000);
setProperty("_root.wall.wall2", _x , -1000);
tellTarget ("_root.target") {
gotoAndStop (7);
};
z = 0;
while (z < 6) {
setProperty("_root.block" add z, _x , -1000);
z = z + 1;
}
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 967
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 968
stop();
maproom71 = 1;
currentlocation = 71;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 1176 MovieClip "blankkey" in Frame 968
onClipEvent (load) {
if (/:blankkey == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 968
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 969
stop();
maproom72 = 1;
currentlocation = 72;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
if (a == 1) {
tellTarget (you) {
gotoAndStop (1);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
} else if (a == 2) {
tellTarget (you) {
gotoAndStop (2);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
} else if (a == 3) {
tellTarget (you) {
gotoAndStop (3);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
} else if (a == 4) {
tellTarget (you) {
gotoAndStop (4);
};
setProperty("_root.you", _x , getProperty("_root.portal", _x));
setProperty("_root.you", _y , getProperty("_root.portal", _y));
Set("/:xyou", _root.you._x);
Set("/:yyou", _root.you._y);
}
a = 0;
Instance of Symbol 351 MovieClip "you" in Frame 969
onClipEvent (load) {
if (/:puzzleroom72 == 1) {
tellTarget ("_root.wall.wall1") {
gotoAndStop (60);
};
}
}
Instance of Symbol 1193 MovieClip "blue" in Frame 969
onClipEvent (load) {
if (/:bluedoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 969
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 970
stop();
maproom73 = 1;
currentlocation = 73;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 970
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 971
stop();
maproom74 = 1;
currentlocation = 74;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 225 MovieClip "life1" in Frame 971
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 225 MovieClip "life2" in Frame 971
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 971
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 972
stop();
maproom75 = 1;
currentlocation = 75;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 529 MovieClip "mainmenu" in Frame 972
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 973
stop();
maproom76 = 1;
currentlocation = 76;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 295 MovieClip "bullet1" in Frame 973
onClipEvent (load) {
time = 0;
speed = /:gunspeed;
}
onClipEvent (enterFrame) {
if ((/:pause == 0) and (/:puzzleroom76 == 1)) {
time = time + 1;
if (time == 20) {
setProperty(this, _x , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _x));
setProperty(this, _y , getProperty("_root.gun" add (substring(getProperty(this, _name), 7, 8)), _y));
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 20) and (time < 60)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.snake0.hittest(this._x, this._y, true) eq "true") {
Set("/:pause", 1);
Set("/:finalsnakelife", /:finalsnakelife - 1);
time = 0;
tellTarget ("_root.snake0") {
gotoAndStop (1);
};
tellTarget ("_root.snake0.snake") {
gotoAndPlay (23);
};
setProperty(this, _x , -1000);
}
if (_root.snake1.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.snake2.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.snake3.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.snake4.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = 0;
while (z < 30) {
block = eval ("_root.block" + z);
if (block.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
z = z + 1;
}
z = 0;
while (z < 11) {
bad = eval ("_root.bad" + z);
if ((((bad.hittest(this._x, this._y, true) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
time = 0;
setProperty(this, _x , -1000);
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
} else if (time == 60) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 1217 MovieClip "fire1" in Frame 973
onClipEvent (load) {
time = 101;
speed = 9;
Set("/:fireballpause", 1);
}
onClipEvent (enterFrame) {
if (/:fireballpause == 0) {
time = time + 1;
if (time == 20) {
bulletx = this._x;
bullety = this._y;
s = new Sound();
s.attachSound("fire2");
s.start();
}
if ((time >= 20) and (time < 100)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
Set("/:fireballpause", 1);
setProperty(this, _x , -1000);
time = 101;
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
Set("/:fireballpause", 1);
setProperty(this, _x , -1000);
time = 101;
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
Set("/:fireballpause", 1);
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
time = 101;
}
}
}
}
Instance of Symbol 273 MovieClip "gun1" in Frame 973
onClipEvent (load) {
function gun() {
circx = this._x;
circy = this._y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 1232 MovieClip "snake0" in Frame 973
onClipEvent (load) {
snakeheadx = this._x;
snakeheady = this._y;
setProperty("_root.snake0", _rotation , 180);
}
onClipEvent (enterFrame) {
if ((_root.bomb.hittest(this) and (_root.bomb._currentframe > 1)) and (_root.snake0.snake._currentframe == 1)) {
Set("/:pause", 1);
tellTarget ("_root.snake0") {
gotoAndStop (1);
};
tellTarget ("_root.snake0.snake") {
gotoAndPlay (2);
};
}
}
Instance of Symbol 529 MovieClip "mainmenu" in Frame 973
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Instance of Symbol 829 MovieClip "health" in Frame 973
onClipEvent (load) {
setProperty(this, _visible , 0);
}
onClipEvent (enterFrame) {
healthvar = /:finalsnakelife add "/5";
}
Frame 974
stop();
Instance of Symbol 529 MovieClip "mainmenu" in Frame 974
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 1614
enemieskilled = Math.floor((/:kills / /:totalenemies) * 100) add "%";
roomsgoneto = 0;
z = 0;
while (z < 82) {
if (eval ("/:maproom" add z) == 1) {
roomsgoneto = roomsgoneto + 1;
}
z = z + 1;
}
roomsvisited = Math.floor((roomsgoneto / /:totalrooms) * 100) add "%";
Set("/:minutes", math.floor((getTimer() - /:beforetimer) / 60000));
if (/:minutes < 1) {
Set("/:seconds", math.floor((getTimer() - /:beforetimer) / 1000));
} else if (/:minutes >= 1) {
Set("/:seconds", math.floor((getTimer() - /:beforetimer) / 1000) - (60 * /:minutes));
}
Set("/:minutes", math.floor((getTimer() - /:beforetimer) / 60000));
if (/:seconds < 10) {
Set("/:time", ((/:minutes + ":") + "0") + /:seconds);
} else if (/:seconds > 9) {
Set("/:time", (/:minutes + ":") + /:seconds);
}
Instance of Symbol 1355 MovieClip "rank" in Frame 1665
onClipEvent (load) {
rank = 100;
if (/:minutes < 30) {
rank = rank - 0;
} else if ((/:minutes >= 30) and (/:minutes < 45)) {
rank = rank - 5;
} else if ((/:minutes >= 45) and (/:minutes < 60)) {
rank = rank - 10;
} else if (/:minutes >= 60) {
rank = rank - 15;
}
killed = Math.floor((/:kills / /:totalenemies) * 100);
if (killed == 100) {
rank = rank - 0;
} else if ((killed < 100) and (killed >= 90)) {
rank = rank - 5;
} else if ((killed < 90) and (killed >= 80)) {
rank = rank - 10;
} else if (killed < 80) {
rank = rank - 15;
}
z = 0;
while (z < 82) {
if (eval ("/:maproom" add z) == 1) {
roomsgoneto = roomsgoneto + 1;
}
z = z + 1;
}
visited = Math.floor((roomsgoneto / /:totalrooms) * 100);
if (visited == 100) {
rank = rank - 0;
} else if ((visited < 100) and (visited >= 90)) {
rank = rank - 5;
} else if ((visited < 90) and (visited >= 80)) {
rank = rank - 10;
} else if (visited < 80) {
rank = rank - 15;
}
if (lives == 0) {
rank = rank - 0;
} else if ((lives == 1) or (lives == 2)) {
rank = rank - 5;
} else if (((lives == 3) or (lives == 4)) or (lives == 5)) {
rank = rank - 10;
} else if (lives >= 6) {
rank = rank - 15;
}
if ((rank == 100) and (/:book == 1)) {
tellTarget (this) {
gotoAndStop (1);
};
} else if ((rank >= 90) and (rank < 100)) {
tellTarget (this) {
gotoAndStop (2);
};
} else if ((rank >= 80) and (rank < 90)) {
tellTarget (this) {
gotoAndStop (3);
};
} else if ((rank >= 70) and (rank < 80)) {
tellTarget (this) {
gotoAndStop (4);
};
} else if (rank < 70) {
tellTarget (this) {
gotoAndStop (5);
};
}
}
Frame 1685
stop();
Instance of Symbol 1355 MovieClip "rank" in Frame 1685
onClipEvent (load) {
rank = 100;
if (/:minutes < 45) {
rank = rank - 0;
} else if ((/:minutes >= 45) and (/:minutes < 60)) {
rank = rank - 5;
} else if ((/:minutes >= 60) and (/:minutes < 90)) {
rank = rank - 10;
} else if (/:minutes >= 90) {
rank = rank - 15;
}
killed = Math.floor((/:kills / /:totalenemies) * 100);
if (killed == 100) {
rank = rank - 0;
} else if ((killed < 100) and (kills >= 90)) {
rank = rank - 5;
} else if ((killed < 90) and (kills >= 80)) {
rank = rank - 10;
} else if (killed < 80) {
rank = rank - 15;
}
z = 0;
while (z < 82) {
if (eval ("/:maproom" add z) == 1) {
roomsgoneto = roomsgoneto + 1;
}
z = z + 1;
}
visited = Math.floor((roomsgoneto / /:totalrooms) * 100);
if (visited == 100) {
rank = rank - 0;
} else if ((visited < 100) and (visited >= 90)) {
rank = rank - 5;
} else if ((visited < 90) and (visited >= 80)) {
rank = rank - 10;
} else if (visited < 80) {
rank = rank - 15;
}
if (lives == 0) {
rank = rank - 0;
} else if (lives == 1) {
rank = rank - 5;
} else if (lives == 2) {
rank = rank - 10;
} else if (lives >= 3) {
rank = rank - 15;
}
if ((rank == 100) and (/:book == 1)) {
tellTarget (this) {
gotoAndStop (1);
};
} else if ((rank >= 90) and (rank < 100)) {
tellTarget (this) {
gotoAndStop (2);
};
} else if ((rank >= 80) and (rank < 90)) {
tellTarget (this) {
gotoAndStop (3);
};
} else if ((rank >= 70) and (rank < 80)) {
tellTarget (this) {
gotoAndStop (4);
};
} else if (rank < 70) {
tellTarget (this) {
gotoAndStop (5);
};
}
}
Instance of Symbol 1380 MovieClip "boss" in Frame 1686
onClipEvent (enterFrame) {
if (((_root.bomb.hittest(this) and (_root.bomb._currentframe >= 56)) and (_root.bomb._currentframe <= 63)) and (this._currentframe < 27)) {
tellTarget (this) {
gotoAndPlay (78);
};
}
}
onClipEvent (load) {
velocity = 5;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
var x;
x = _x + velocity;
if ((x > 230) || (x < 70)) {
velocity = velocity * -1;
}
_x = (_x + velocity);
}
}
Instance of Symbol 1381 MovieClip "shootstar" in Frame 1686
onClipEvent (load) {
time = 21;
speed = 12;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 1) {
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
tellTarget (this) {
gotoAndPlay (2);
};
}
if ((time >= 1) and (time < 20)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
time = 0;
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
if (_root.you._currentframe < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
time = 0;
setProperty(this, _x , -1000);
}
} else if (time == 20) {
setProperty(this, _x , -1000);
time = 0;
}
}
}
Instance of Symbol 1388 MovieClip "fireball" in Frame 1686
onClipEvent (load) {
time = 200;
speed = 11;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 1) {
setProperty(this, _x , _root.boss._x);
setProperty(this, _y , _root.boss._y);
bulletx = this._x;
bullety = this._y;
youx = _root.you._x;
youy = _root.you._y;
}
if ((time > 1) and (time < 30)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
setProperty(this, _x , -1000);
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
setProperty(this, _x , -1000);
}
if (_root.you.hittest(this._x, this._y, true) eq "true") {
if (_root.you._currentframe < 5) {
setProperty(this, _x , -1000);
Set("/:life", /:life - 5);
/:youhit();
}
}
}
}
}
Instance of Symbol 1389 MovieClip "boss" in Frame 1686
onClipEvent (load) {
time = 200;
firetime = 0;
speed = 4;
}
onClipEvent (enterFrame) {
trace(time);
if ((/:pause == 0) and (time < 125)) {
firetime = firetime + 1;
if (firetime == 20) {
firetime = 0;
setProperty("_root.fireball", _x , _root.boss._x);
setProperty("_root.fireball", _y , _root.boss._y);
_root.fireball.time = 0;
}
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (((((time == 1) or (time == 25)) or (time == 50)) or (time == 75)) or (time == 100)) {
bulletx = this._x;
bullety = this._y;
if (_root.you._x <= 150) {
youx = random(61) + 170;
} else if (_root.you._x > 150) {
youx = random(61) + 70;
}
youy = random(121) + 110;
} else if (time == 125) {
bulletx = this._x;
bullety = this._y;
randx = random(9) + 4;
randy = random(7) + 6;
youx = (randx * 20) - 10;
youy = (randy * 20) - 10;
}
if ((time >= 1) and (time < 200)) {
if ((bulletx <= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y + yspeed);
} else if ((bulletx <= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x + xspeed);
_y = (_y - yspeed);
} else if ((bulletx >= youx) and (bullety <= youy)) {
angle = math.atan(math.abs(bulletx - youx) / math.abs(bullety - youy));
degrees = (angle * 180) / Math.pi;
xspeed = Math.sin((degrees * Math.PI) / 180) * speed;
yspeed = Math.cos((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y + yspeed);
} else if ((bulletx >= youx) and (bullety >= youy)) {
angle = math.atan(math.abs(bullety - youy) / math.abs(bulletx - youx));
degrees = (angle * 180) / Math.pi;
xspeed = Math.cos((degrees * Math.PI) / 180) * speed;
yspeed = Math.sin((degrees * Math.PI) / 180) * speed;
_x = (_x - xspeed);
_y = (_y - yspeed);
}
if ((((this.hittest(youx, youy, true) eq "true") and (this.hittest(youx - 5, youy, true) eq "true")) and (this.hittest(youx + 5, youy, true) eq "true")) and (time > 125)) {
setProperty(this, _x , youx);
setProperty(this, _y , youy);
tellTarget (this) {
gotoAndPlay (2);
};
time = 201;
}
if (((((((this.hittest(youx, youy, true) eq "true") or (_root.you._x < 70)) or (_root.you._x > 230)) or (_root.you._y < 110)) or (_root.you._y > 230)) and (time >= 1)) and (time < 25)) {
time = 24;
}
if (((((((this.hittest(youx, youy, true) eq "true") or (_root.you._x < 70)) or (_root.you._x > 230)) or (_root.you._y < 110)) or (_root.you._y > 230)) and (time >= 25)) and (time < 50)) {
time = 49;
}
if (((((((this.hittest(youx, youy, true) eq "true") or (_root.you._x < 70)) or (_root.you._x > 230)) or (_root.you._y < 110)) or (_root.you._y > 230)) and (time >= 50)) and (time < 75)) {
time = 74;
}
if (((((((this.hittest(youx, youy, true) eq "true") or (_root.you._x < 70)) or (_root.you._x > 230)) or (_root.you._y < 110)) or (_root.you._y > 230)) and (time >= 75)) and (time < 125)) {
time = 99;
}
}
}
}
Symbol 49 Button
on (keyPress "<Space>") {
if (select._y == 230) {
gotoAndPlay (140);
} else if (select._y == 250) {
gotoAndPlay (91);
}
}
Symbol 50 Button
on (keyPress "<Up>") {
if (select._y == 250) {
setProperty("select", _y , 230);
}
}
on (keyPress "<Down>") {
if (select._y == 230) {
setProperty("select", _y , 250);
}
}
Symbol 65 Button
on (keyPress "<Right>") {
nextFrame();
}
Symbol 66 Button
on (keyPress "<Space>") {
gotoAndPlay (116);
}
Symbol 79 Button
on (keyPress "<Right>") {
nextFrame();
}
on (keyPress "<Left>") {
prevFrame();
}
Symbol 84 Button
on (keyPress "<Left>") {
prevFrame();
}
Symbol 88 Button
on (keyPress "<Space>") {
gotoAndPlay (863);
}
Symbol 90 MovieClip Frame 1
var ctext = "";
var text = "Once again you are trapped. You will have to fight your way through enemies as you try to find your way out. Puzzles and secrets fill the rooms. You cannot die, but the more lives you use the less of a rank you get in the end. You are also timed. Good luck!";
Symbol 90 MovieClip Frame 2
var ctext = (ctext + text.substring(0, 1));
text = text.substring(1);
Symbol 90 MovieClip Frame 4
gotoAndPlay (2);
Symbol 98 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 1
life = eval (("/:" add getProperty(this, _name)) add "life");
lifevar = eval (("/:" add getProperty(this, _name)) add "life") add "/2";
Set("/:enemylife" add (substring(getProperty(this, _name), 7, 8)), life add "/2");
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
stop();
}
Instance of Symbol 100 MovieClip in Symbol 105 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 101 MovieClip in Symbol 105 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 2) * 100);
}
onClipEvent (enterFrame) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 2) * 100);
}
Symbol 105 MovieClip Frame 5
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 105 MovieClip Frame 9
y = random(2);
Symbol 105 MovieClip Frame 10
if (y == Number(0)) {
if ((((_root.wall.hittest(this._x, this._y + 20, true) ne "true") and (_root.water.hittest(this._x, this._y + 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y + 20, true) ne "true")) and (_root.black.hittest(this._x, this._y + 20, true) ne "true")) {
setProperty(this, _y , getProperty(this, _y) + 20);
if (getProperty(this, _y) == 270) {
setProperty(this, _y , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
setProperty(this, _y , getProperty(this, _y) - 20);
}
}
} else if (y == Number(1)) {
if ((((_root.wall.hittest(this._x, this._y - 20, true) ne "true") and (_root.water.hittest(this._x, this._y - 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y - 20, true) ne "true")) and (_root.black.hittest(this._x, this._y - 20, true) ne "true")) {
setProperty(this, _y , getProperty(this, _y) - 20);
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
setProperty(this, _y , getProperty(this, _y) + 20);
}
}
}
Symbol 105 MovieClip Frame 15
if ((random(3) + 1) == 1) {
gotoAndPlay (11);
}
Symbol 105 MovieClip Frame 19
x = random(2);
Symbol 105 MovieClip Frame 20
if (x == Number(0)) {
if ((((_root.wall.hittest(this._x + 20, this._y, true) ne "true") and (_root.water.hittest(this._x + 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x + 20, this._y, true) ne "true")) and (_root.black.hittest(this._x + 20, this._y, true) ne "true")) {
setProperty(this, _x , getProperty(this, _x) + 20);
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
setProperty(this, _x , getProperty(this, _x) - 20);
}
}
} else if (x == Number(1)) {
if ((((_root.wall.hittest(this._x - 20, this._y, true) ne "true") and (_root.water.hittest(this._x - 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x - 20, this._y, true) ne "true")) and (_root.black.hittest(this._x - 20, this._y, true) ne "true")) {
setProperty(this, _x , getProperty(this, _x) - 20);
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
setProperty(this, _x , getProperty(this, _x) + 20);
}
}
}
gotoAndPlay (1);
Symbol 105 MovieClip Frame 25
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/2";
Set("/:enemylife" add (substring(getProperty(this, _name), 7, 8)), life add "/2");
Instance of Symbol 101 MovieClip in Symbol 105 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 2) * 100);
}
Symbol 105 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
gotoAndPlay (1);
}
Symbol 105 MovieClip Frame 54
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
randomnumber = random(100) + 1;
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (randomnumber <= 80) {
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 80) and (randomnumber <= 95)) {
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 95) and (randomnumber <= 100)) {
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
}
}
}
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), "");
Set("/:enemyname" add (substring(getProperty(this, _name), 4, 5)), "");
stop();
Symbol 105 MovieClip Frame 76
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 1
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/2";
Set("/:enemylife" add (substring(getProperty(this, _name), 7, 8)), life add "/2");
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
stop();
}
Instance of Symbol 100 MovieClip in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 101 MovieClip in Symbol 114 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 3) * 100);
}
onClipEvent (enterFrame) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 3) * 100);
}
Symbol 114 MovieClip Frame 3
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 114 MovieClip Frame 5
if (getProperty("_root." add getProperty(this, _name), _y) < getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y + 20, true) ne "true") and (_root.water.hittest(this._x, this._y + 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y + 20, true) ne "true")) and (_root.black.hittest(this._x, this._y + 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
if (getProperty(this, _y) == 270) {
setProperty(this, _y , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _y) > getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y - 20, true) ne "true") and (_root.water.hittest(this._x, this._y - 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y - 20, true) ne "true")) and (_root.black.hittest(this._x, this._y - 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
}
}
}
Symbol 114 MovieClip Frame 8
if ((random(3) + 1) == 1) {
gotoAndPlay (6);
}
Symbol 114 MovieClip Frame 10
if (getProperty("_root." add getProperty(this, _name), _x) < getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x + 20, this._y, true) ne "true") and (_root.water.hittest(this._x + 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x + 20, this._y, true) ne "true")) and (_root.black.hittest(this._x + 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _x) > getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x - 20, this._y, true) ne "true") and (_root.water.hittest(this._x - 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x - 20, this._y, true) ne "true")) and (_root.black.hittest(this._x - 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 5);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
}
}
}
gotoAndPlay (1);
Symbol 114 MovieClip Frame 25
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/3";
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), life add "/3");
Instance of Symbol 101 MovieClip in Symbol 114 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 3) * 100);
}
Symbol 114 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
gotoAndPlay (1);
}
Symbol 114 MovieClip Frame 53
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
randomnumber = random(100) + 1;
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (randomnumber <= 70) {
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 70) and (randomnumber <= 90)) {
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 90) and (randomnumber <= 100)) {
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
}
}
}
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), "");
Set("/:enemyname" add (substring(getProperty(this, _name), 4, 5)), "");
stop();
Symbol 114 MovieClip Frame 54
stop();
Symbol 114 MovieClip Frame 76
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
stop();
Symbol 116 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 1
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/2";
Set("/:enemylife" add (substring(getProperty(this, _name), 7, 8)), life add "/2");
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
stop();
}
Instance of Symbol 100 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 101 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 4) * 100);
}
onClipEvent (enterFrame) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 4) * 100);
}
Symbol 120 MovieClip Frame 3
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 120 MovieClip Frame 5
if (getProperty("_root." add getProperty(this, _name), _y) < getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y + 20, true) ne "true") and (_root.water.hittest(this._x, this._y + 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y + 20, true) ne "true")) and (_root.black.hittest(this._x, this._y + 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
if (getProperty(this, _y) == 270) {
setProperty(this, _y , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _y) > getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y - 20, true) ne "true") and (_root.water.hittest(this._x, this._y - 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y - 20, true) ne "true")) and (_root.black.hittest(this._x, this._y - 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
}
}
}
Symbol 120 MovieClip Frame 8
if ((random(3) + 1) == 1) {
gotoAndPlay (6);
}
Symbol 120 MovieClip Frame 10
if (getProperty("_root." add getProperty(this, _name), _x) < getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x + 20, this._y, true) ne "true") and (_root.water.hittest(this._x + 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x + 20, this._y, true) ne "true")) and (_root.black.hittest(this._x + 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _x) > getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x - 20, this._y, true) ne "true") and (_root.water.hittest(this._x - 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x - 20, this._y, true) ne "true")) and (_root.black.hittest(this._x - 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
}
}
}
gotoAndPlay (1);
Symbol 120 MovieClip Frame 25
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/4";
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), life add "/4");
Instance of Symbol 101 MovieClip in Symbol 120 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 5) * 100);
}
Symbol 120 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
gotoAndPlay (1);
setProperty(this, _alpha , 10);
hit = 0;
}
Symbol 120 MovieClip Frame 53
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
randomnumber = random(100) + 1;
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (randomnumber <= 0) {
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 0) and (randomnumber <= 85)) {
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 85) and (randomnumber <= 100)) {
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
}
}
}
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), "");
Set("/:enemyname" add (substring(getProperty(this, _name), 4, 5)), "");
stop();
Symbol 120 MovieClip Frame 76
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/6";
Set("/:enemylife" add (substring(getProperty(this, _name), 7, 8)), life add "/6");
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
stop();
}
Instance of Symbol 100 MovieClip in Symbol 132 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 101 MovieClip in Symbol 132 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 6) * 100);
}
onClipEvent (enterFrame) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 6) * 100);
}
Symbol 132 MovieClip Frame 7
if (this._x < _root.you._x) {
if ((((_root.wall.hittest(this._x + 20, this._y, true) ne "true") and (_root.water.hittest(this._x + 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x + 20, this._y, true) ne "true")) and (_root.black.hittest(this._x + 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
gotoAndPlay (9);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
gotoAndPlay (9);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
gotoAndPlay (9);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
}
} else {
gotoAndPlay (9);
}
} else if (this._x > _root.you._x) {
if ((((_root.wall.hittest(this._x - 20, this._y, true) ne "true") and (_root.water.hittest(this._x - 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x - 20, this._y, true) ne "true")) and (_root.black.hittest(this._x - 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
gotoAndPlay (9);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
gotoAndPlay (9);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
gotoAndPlay (9);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
}
} else {
gotoAndPlay (9);
}
} else if (this._x == _root.you._x) {
if (getProperty("_root.vbullet" add (substring(getProperty(this, _name), 4, 5)), _x) < 0) {
setProperty("_root.vbullet" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.vbullet" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
if (getProperty("_root.vbullet" add (substring(getProperty(this, _name), 4, 5)), _y) < _root.you._y) {
tellTarget ("_root.vbullet" add (substring(getProperty(this, _name), 4, 5))) {
gotoAndPlay (2);
};
} else if (getProperty("_root.vbullet" add (substring(getProperty(this, _name), 4, 5)), _y) > _root.you._y) {
tellTarget ("_root.vbullet" add (substring(getProperty(this, _name), 4, 5))) {
gotoAndPlay (6);
};
}
gotoAndPlay (9);
}
}
Symbol 132 MovieClip Frame 8
gotoAndPlay (1);
Symbol 132 MovieClip Frame 15
if (this._y < _root.you._y) {
if ((((_root.wall.hittest(this._x, this._y + 20, true) ne "true") and (_root.water.hittest(this._x, this._y + 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y + 20, true) ne "true")) and (_root.black.hittest(this._x, this._y + 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
if (getProperty(this, _y) == 270) {
setProperty(this, _y , 250);
gotoAndPlay (1);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
gotoAndPlay (1);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
gotoAndPlay (1);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
}
} else {
gotoAndPlay (1);
}
} else if (this._y > _root.you._y) {
if ((((_root.wall.hittest(this._x, this._y - 20, true) ne "true") and (_root.water.hittest(this._x, this._y - 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y - 20, true) ne "true")) and (_root.black.hittest(this._x, this._y - 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
gotoAndPlay (1);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
gotoAndPlay (1);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
gotoAndPlay (1);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
}
} else {
gotoAndPlay (1);
}
} else if (this._y == _root.you._y) {
if (getProperty("_root.hbullet" add (substring(getProperty(this, _name), 4, 5)), _x) < 0) {
setProperty("_root.hbullet" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.hbullet" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
if (getProperty("_root.hbullet" add (substring(getProperty(this, _name), 4, 5)), _x) < _root.you._x) {
tellTarget ("_root.hbullet" add (substring(getProperty(this, _name), 4, 5))) {
gotoAndPlay (2);
};
} else if (getProperty("_root.hbullet" add (substring(getProperty(this, _name), 4, 5)), _x) > _root.you._x) {
tellTarget ("_root.hbullet" add (substring(getProperty(this, _name), 4, 5))) {
gotoAndPlay (6);
};
}
gotoAndPlay (1);
}
}
Symbol 132 MovieClip Frame 16
gotoAndPlay (9);
Symbol 132 MovieClip Frame 25
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/6";
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), life add "/6");
Instance of Symbol 101 MovieClip in Symbol 132 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 6) * 100);
}
Symbol 132 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
gotoAndPlay (1);
}
Symbol 132 MovieClip Frame 53
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
randomnumber = random(100) + 1;
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (randomnumber <= 0) {
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 0) and (randomnumber <= 0)) {
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 0) and (randomnumber <= 100)) {
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
}
}
}
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), "");
Set("/:enemyname" add (substring(getProperty(this, _name), 4, 5)), "");
stop();
Symbol 132 MovieClip Frame 54
stop();
Symbol 132 MovieClip Frame 76
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 32
setProperty("_parent", _visible , 0);
Symbol 135 MovieClip Frame 59
setProperty("_parent", _visible , 1);
Symbol 138 MovieClip Frame 1
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/2";
Set("/:enemylife" add (substring(getProperty(this, _name), 7, 8)), life add "/2");
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
stop();
}
Instance of Symbol 100 MovieClip in Symbol 138 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 101 MovieClip in Symbol 138 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 5) * 100);
}
onClipEvent (enterFrame) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 5) * 100);
}
Symbol 138 MovieClip Frame 2
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 138 MovieClip Frame 4
if (getProperty("_root." add getProperty(this, _name), _y) < getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y + 20, true) ne "true") and (_root.water.hittest(this._x, this._y + 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y + 20, true) ne "true")) and (_root.black.hittest(this._x, this._y + 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
if (getProperty(this, _y) == 270) {
setProperty(this, _y , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _y) > getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y - 20, true) ne "true") and (_root.water.hittest(this._x, this._y - 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y - 20, true) ne "true")) and (_root.black.hittest(this._x, this._y - 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
}
}
}
Symbol 138 MovieClip Frame 6
if ((random(3) + 1) == 1) {
gotoAndPlay (5);
}
Symbol 138 MovieClip Frame 8
if (getProperty("_root." add getProperty(this, _name), _x) < getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x + 20, this._y, true) ne "true") and (_root.water.hittest(this._x + 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x + 20, this._y, true) ne "true")) and (_root.black.hittest(this._x + 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _x) > getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x - 20, this._y, true) ne "true") and (_root.water.hittest(this._x - 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x - 20, this._y, true) ne "true")) and (_root.black.hittest(this._x - 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
}
}
}
gotoAndPlay (1);
Symbol 138 MovieClip Frame 25
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/5";
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), life add "/5");
Instance of Symbol 101 MovieClip in Symbol 138 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 5) * 100);
}
Symbol 138 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
gotoAndPlay (1);
}
Symbol 138 MovieClip Frame 53
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
randomnumber = random(100) + 1;
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (randomnumber <= 0) {
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 0) and (randomnumber <= 75)) {
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 75) and (randomnumber <= 100)) {
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
}
}
}
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), "");
Set("/:enemyname" add (substring(getProperty(this, _name), 4, 5)), "");
stop();
Symbol 138 MovieClip Frame 54
stop();
Symbol 138 MovieClip Frame 76
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
stop();
Symbol 162 MovieClip Frame 5
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 162 MovieClip Frame 9
y = random(2);
Symbol 162 MovieClip Frame 10
if (y == Number(0)) {
if (_root.wall.hittest(this._x, this._y + 20, true) ne "true") {
setProperty(this, _y , getProperty(this, _y) + 20);
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 7);
/:youhit();
}
setProperty(this, _y , getProperty(this, _y) - 20);
}
if (getProperty(this, _y) == 270) {
setProperty(this, _y , 250);
}
}
} else if (y == Number(1)) {
if (_root.wall.hittest(this._x, this._y - 20, true) ne "true") {
setProperty(this, _y , getProperty(this, _y) - 20);
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 7);
/:youhit();
}
setProperty(this, _y , getProperty(this, _y) + 20);
}
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
}
}
}
Symbol 162 MovieClip Frame 15
if ((random(3) + 1) == 1) {
gotoAndPlay (11);
}
Symbol 162 MovieClip Frame 19
x = random(2);
Symbol 162 MovieClip Frame 20
if (x == Number(0)) {
if (_root.wall.hittest(this._x + 20, this._y, true) ne "true") {
setProperty(this, _x , getProperty(this, _x) + 20);
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 7);
/:youhit();
}
setProperty(this, _x , getProperty(this, _x) - 20);
}
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
}
}
} else if (x == Number(1)) {
if (_root.wall.hittest(this._x - 20, this._y, true) ne "true") {
setProperty(this, _x , getProperty(this, _x) - 20);
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 7);
/:youhit();
}
setProperty(this, _x , getProperty(this, _x) + 20);
}
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
}
}
}
gotoAndPlay (1);
Symbol 162 MovieClip Frame 25
life = eval (("/:" add getProperty(this, _name)) add "life");
lifevar = eval (("/:" add getProperty(this, _name)) add "life") add "/2";
Set("/:enemylife" add (substring(getProperty(this, _name), 7, 8)), life add "/2");
Set("/:enemyname" add (substring(getProperty(this, _name), 7, 8)), "Spiker");
tellTarget ("_root.menu.menu2.elife" add (substring(getProperty(this, _name), 7, 8))) {
gotoAndPlay (2);
};
Instance of Symbol 101 MovieClip in Symbol 162 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval (("/:" add getProperty(_parent, _name)) add "life") / 2) * 100);
}
Symbol 162 MovieClip Frame 39
if (eval (("/:" add getProperty(this, _name)) add "life") > 0) {
gotoAndPlay (1);
}
Symbol 162 MovieClip Frame 54
randomnumber = random(11) + 1;
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (randomnumber < 7) {
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 8) and (randomnumber < 11)) {
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if (randomnumber == 11) {
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
}
}
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), "");
Set("/:enemyname" add (substring(getProperty(this, _name), 4, 5)), "");
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 3
if (_root.wall.hittest(_root.ball1._x, _root.ball1._y - 10, true) ne "true") {
setProperty("_root.ball1", _y , getProperty(_root.ball1, _y) - 10);
if (getProperty("_root.ball1", _y) == 80) {
setProperty("_root.ball1", _x , -1000);
tellTarget ("_root.ball1") {
gotoAndStop (1);
};
}
if ((getProperty("_root.ball1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball1", _y) == getProperty("_root.you", _y))) {
Set("/:life", /:life - 5);
/:youhit();
tellTarget ("_root.ball1") {
gotoAndStop (1);
};
setProperty("_root.ball1", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball1._x, _root.ball1._y - 10, true) eq "true") {
tellTarget ("_root.ball1") {
gotoAndStop (1);
};
setProperty("_root.ball1", _x , -1000);
}
Symbol 164 MovieClip Frame 4
gotoAndPlay (2);
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 3
if (_root.wall.hittest(_root.ball2._x + 10, _root.ball2._y, true) ne "true") {
setProperty("_root.ball2", _x , getProperty(_root.ball2, _x) + 10);
if (getProperty("_root.ball2", _x) == 260) {
tellTarget ("_root.ball2") {
gotoAndStop (1);
};
setProperty("_root.ball2", _x , -1000);
}
if ((getProperty("_root.ball2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball2", _y) == getProperty("_root.you", _y))) {
Set("/:life", /:life - 5);
/:youhit();
tellTarget ("_root.ball2") {
gotoAndStop (1);
};
setProperty("_root.ball2", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball2._x + 10, _root.ball2._y, true) eq "true") {
tellTarget ("_root.ball2") {
gotoAndStop (1);
};
setProperty("_root.ball2", _x , -1000);
}
Symbol 165 MovieClip Frame 4
gotoAndPlay (2);
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 3
if (_root.wall.hittest(_root.ball3._x, _root.ball3._y + 10, true) ne "true") {
setProperty("_root.ball3", _y , getProperty(_root.ball3, _y) + 10);
if (getProperty("_root.ball3", _y) == 260) {
tellTarget ("_root.ball3") {
gotoAndStop (1);
};
setProperty("_root.ball3", _x , -1000);
}
if ((getProperty("_root.ball3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball3", _y) == getProperty("_root.you", _y))) {
Set("/:life", /:life - 5);
/:youhit();
tellTarget ("_root.ball3") {
gotoAndStop (1);
};
setProperty("_root.ball3", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball3._x, _root.ball3._y + 10, true) eq "true") {
tellTarget ("_root.ball3") {
gotoAndStop (1);
};
setProperty("_root.ball3", _x , -1000);
}
Symbol 166 MovieClip Frame 4
gotoAndPlay (2);
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 3
if (_root.wall.hittest(_root.ball4._x - 10, _root.ball4._y, true) ne "true") {
setProperty("_root.ball4", _x , getProperty(_root.ball4, _x) - 10);
if (getProperty("_root.ball4", _x) == 40) {
setProperty("_root.ball4", _x , -1000);
tellTarget ("_root.ball4") {
gotoAndStop (1);
};
}
if ((getProperty("_root.ball4", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball4", _y) == getProperty("_root.you", _y))) {
Set("/:life", /:life - 5);
/:youhit();
tellTarget ("_root.ball4") {
gotoAndStop (1);
};
if (/:currentlocation == 62) {
Set("/:pause", 0);
/:playall();
}
setProperty("_root.ball4", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball4._x - 10, _root.ball4._y, true) eq "true") {
tellTarget ("_root.ball4") {
gotoAndStop (1);
};
setProperty("_root.ball4", _x , -1000);
}
Symbol 167 MovieClip Frame 4
gotoAndPlay (2);
Symbol 170 MovieClip Frame 2
setProperty("_root.ball1", _x , getProperty("_root.turret", _x));
setProperty("_root.ball1", _y , getProperty("_root.turret", _y));
tellTarget ("_root.ball1") {
gotoAndPlay (2);
};
Symbol 170 MovieClip Frame 17
setProperty("_root.ball2", _x , getProperty("_root.turret", _x));
setProperty("_root.ball2", _y , getProperty("_root.turret", _y));
tellTarget ("_root.ball2") {
gotoAndPlay (2);
};
Symbol 170 MovieClip Frame 31
setProperty("_root.ball3", _x , getProperty("_root.turret", _x));
setProperty("_root.ball3", _y , getProperty("_root.turret", _y));
tellTarget ("_root.ball3") {
gotoAndPlay (2);
};
Symbol 170 MovieClip Frame 47
setProperty("_root.ball4", _x , getProperty("_root.turret", _x));
setProperty("_root.ball4", _y , getProperty("_root.turret", _y));
tellTarget ("_root.ball4") {
gotoAndPlay (2);
};
Symbol 170 MovieClip Frame 62
gotoAndPlay (2);
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 3
if (_root.wall.hittest(_root.ball8._x - 10, _root.ball8._y, true) ne "true") {
setProperty("_root.ball8", _x , getProperty(_root.ball8, _x) - 10);
if (getProperty("_root.ball8", _x) == 40) {
setProperty("_root.ball8", _x , -1000);
tellTarget ("_root.ball8") {
gotoAndStop (1);
};
}
if ((getProperty("_root.ball8", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball8", _y) == getProperty("_root.you", _y))) {
Set("/:life", /:life - 5);
/:youhit();
tellTarget ("_root.ball8") {
gotoAndStop (1);
};
setProperty("_root.ball8", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball8._x - 10, _root.ball8._y, true) eq "true") {
tellTarget ("_root.ball8") {
gotoAndStop (1);
};
setProperty("_root.ball8", _x , -1000);
}
Symbol 171 MovieClip Frame 4
gotoAndPlay (2);
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 3
if (_root.wall.hittest(_root.ball7._x, _root.ball7._y + 10, true) ne "true") {
setProperty("_root.ball7", _y , getProperty(_root.ball7, _y) + 10);
if (getProperty("_root.ball7", _y) == 260) {
tellTarget ("_root.ball7") {
gotoAndStop (1);
};
setProperty("_root.ball7", _x , -1000);
}
if ((getProperty("_root.ball7", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball7", _y) == getProperty("_root.you", _y))) {
Set("/:life", /:life - 5);
/:youhit();
tellTarget ("_root.ball7") {
gotoAndStop (1);
};
setProperty("_root.ball7", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball7._x, _root.ball7._y + 10, true) eq "true") {
tellTarget ("_root.ball7") {
gotoAndStop (1);
};
setProperty("_root.ball7", _x , -1000);
}
Symbol 172 MovieClip Frame 4
gotoAndPlay (2);
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 3
if (_root.wall.hittest(_root.ball6._x + 10, _root.ball6._y, true) ne "true") {
setProperty("_root.ball6", _x , getProperty(_root.ball6, _x) + 10);
if (getProperty("_root.ball6", _x) == 260) {
tellTarget ("_root.ball6") {
gotoAndStop (1);
};
setProperty("_root.ball6", _x , -1000);
}
if ((getProperty("_root.ball6", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball6", _y) == getProperty("_root.you", _y))) {
Set("/:life", /:life - 5);
/:youhit();
tellTarget ("_root.ball6") {
gotoAndStop (1);
};
setProperty("_root.ball6", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball6._x + 10, _root.ball6._y, true) eq "true") {
tellTarget ("_root.ball6") {
gotoAndStop (1);
};
setProperty("_root.ball6", _x , -1000);
}
Symbol 173 MovieClip Frame 4
gotoAndPlay (2);
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 3
if (_root.wall.hittest(_root.ball5._x, _root.ball5._y - 10, true) ne "true") {
setProperty("_root.ball5", _y , getProperty(_root.ball5, _y) - 10);
if (getProperty("_root.ball5", _y) == 80) {
setProperty("_root.ball5", _x , -1000);
tellTarget ("_root.ball5") {
gotoAndStop (1);
};
}
if ((getProperty("_root.ball5", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball5", _y) == getProperty("_root.you", _y))) {
Set("/:life", /:life - 5);
/:youhit();
tellTarget ("_root.ball5") {
gotoAndStop (1);
};
setProperty("_root.ball5", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball5._x, _root.ball5._y - 10, true) eq "true") {
tellTarget ("_root.ball5") {
gotoAndStop (1);
};
setProperty("_root.ball5", _x , -1000);
}
Symbol 174 MovieClip Frame 4
gotoAndPlay (2);
Symbol 176 MovieClip Frame 2
setProperty("_root.ball5", _x , getProperty("_root.turret2", _x));
setProperty("_root.ball5", _y , getProperty("_root.turret2", _y));
tellTarget ("_root.ball5") {
gotoAndPlay (2);
};
Symbol 176 MovieClip Frame 17
setProperty("_root.ball6", _x , getProperty("_root.turret2", _x));
setProperty("_root.ball6", _y , getProperty("_root.turret2", _y));
tellTarget ("_root.ball6") {
gotoAndPlay (2);
};
Symbol 176 MovieClip Frame 31
setProperty("_root.ball7", _x , getProperty("_root.turret2", _x));
setProperty("_root.ball7", _y , getProperty("_root.turret2", _y));
tellTarget ("_root.ball7") {
gotoAndPlay (2);
};
Symbol 176 MovieClip Frame 47
setProperty("_root.ball8", _x , getProperty("_root.turret2", _x));
setProperty("_root.ball8", _y , getProperty("_root.turret2", _y));
tellTarget ("_root.ball8") {
gotoAndPlay (2);
};
Symbol 176 MovieClip Frame 62
gotoAndPlay (2);
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 4
if (_root.wall.hittest(this._x, this._y + 10, true) ne "true") {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 10);
if (this._y == 270) {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty(this, _x , -1000);
gotoAndStop (1);
}
} else if (_root.wall.hittest(this._x, this._y + 10, true) eq "true") {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
gotoAndPlay (2);
Symbol 179 MovieClip Frame 7
if (_root.wall.hittest(this._x, this._y - 10, true) ne "true") {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 10);
if (this._y == 70) {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty(this, _x , -1000);
gotoAndStop (1);
}
} else if (_root.wall.hittest(this._x, this._y - 10, true) eq "true") {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
gotoAndPlay (5);
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 4
if (_root.wall.hittest(this._x + 10, this._y, true) ne "true") {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 10);
if ((this._x == 270) or (this._x == 30)) {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty(this, _x , -1000);
gotoAndStop (1);
}
} else {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
gotoAndPlay (2);
Symbol 180 MovieClip Frame 7
if (_root.wall.hittest(this._x - 10, this._y, true) ne "true") {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 10);
if ((this._x == 270) or (this._x == 30)) {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 15);
/:youhit();
}
setProperty(this, _x , -1000);
gotoAndStop (1);
}
} else {
setProperty(this, _x , -1000);
gotoAndStop (1);
}
gotoAndPlay (5);
Instance of Symbol 189 MovieClip "bad" in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 194 MovieClip Frame 5
if (_root.wall.hittest(this._x + 20, this._y, true) ne "true") {
setProperty(this, _x , this._x + 20);
setProperty("bad", _rotation , 0);
badrotation = 0;
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
gotoAndPlay (7);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
gotoAndPlay (7);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
gotoAndPlay (7);
}
}
z = z + 1;
}
if ((this._x == _root.you._x) and (this._y == _root.you._y)) {
/:youhit();
Set("/:life", /:life - 5);
setProperty(this, _x , this._x - 20);
gotoAndPlay (7);
}
} else if (_root.wall.hittest(this._x + 20, this._y, true) eq "true") {
gotoAndPlay (7);
}
Symbol 194 MovieClip Frame 6
gotoAndPlay (1);
Symbol 194 MovieClip Frame 11
if (_root.wall.hittest(this._x - 20, this._y, true) ne "true") {
setProperty(this, _x , this._x - 20);
setProperty("bad", _rotation , 180);
badrotation = 180;
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
gotoAndPlay (1);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
gotoAndPlay (1);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
gotoAndPlay (1);
}
}
z = z + 1;
}
if ((this._x == _root.you._x) and (this._y == _root.you._y)) {
/:youhit();
Set("/:life", /:life - 5);
setProperty(this, _x , this._x + 20);
gotoAndPlay (1);
}
} else if (_root.wall.hittest(this._x - 20, this._y, true) eq "true") {
gotoAndPlay (1);
}
Symbol 194 MovieClip Frame 12
gotoAndPlay (7);
Symbol 194 MovieClip Frame 25
life = eval (("/:" add getProperty(this, _name)) add "life");
lifevar = eval (("/:" add getProperty(this, _name)) add "life") add "/3";
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), life add "/3");
Set("/:enemyname" add (substring(getProperty(this, _name), 4, 5)), "Gremo");
tellTarget ("_root.menu.menu2.elife" add (substring(getProperty(this, _name), 4, 5))) {
gotoAndPlay (2);
};
Instance of Symbol 191 MovieClip in Symbol 194 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 101 MovieClip in Symbol 194 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval (("/:" add getProperty(_parent, _name)) add "life") / 3) * 100);
}
Instance of Symbol 191 MovieClip in Symbol 194 MovieClip Frame 27
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 191 MovieClip in Symbol 194 MovieClip Frame 29
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 191 MovieClip in Symbol 194 MovieClip Frame 31
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 191 MovieClip in Symbol 194 MovieClip Frame 33
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 191 MovieClip in Symbol 194 MovieClip Frame 35
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 194 MovieClip Frame 37
if (eval (("/:" add getProperty(this, _name)) add "life") > 0) {
if (badrotation == 0) {
gotoAndPlay (1);
} else if (badrotation == 180) {
gotoAndPlay (7);
}
}
Instance of Symbol 191 MovieClip in Symbol 194 MovieClip Frame 37
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 194 MovieClip Frame 53
randomnumber = random(11) + 1;
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (randomnumber < 7) {
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 8) and (randomnumber < 11)) {
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if (randomnumber == 11) {
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
}
}
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
stop();
Symbol 194 MovieClip Frame 54
stop();
Instance of Symbol 188 MovieClip "bad" in Symbol 195 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 195 MovieClip Frame 5
if (_root.wall.hittest(this._x, this._y + 20, true) ne "true") {
setProperty(this, _y , this._y + 20);
setProperty("bad", _rotation , 0);
badrotation = 0;
if (getProperty(this, _y) == 270) {
setProperty(this, _y , 250);
gotoAndPlay (7);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
gotoAndPlay (7);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
gotoAndPlay (7);
}
}
z = z + 1;
}
if ((this._x == _root.you._x) and (this._y == _root.you._y)) {
/:youhit();
Set("/:life", /:life - 5);
setProperty(this, _y , this._y - 20);
gotoAndPlay (7);
}
} else if (_root.wall.hittest(this._x, this._y + 20, true) eq "true") {
gotoAndPlay (7);
}
Symbol 195 MovieClip Frame 6
gotoAndPlay (1);
Symbol 195 MovieClip Frame 11
if (_root.wall.hittest(this._x, this._y - 20, true) ne "true") {
setProperty(this, _y , this._y - 20);
setProperty("bad", _rotation , 180);
badrotation = 180;
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
gotoAndPlay (1);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
gotoAndPlay (1);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
gotoAndPlay (1);
}
}
z = z + 1;
}
if ((this._x == _root.you._x) and (this._y == _root.you._y)) {
/:youhit();
Set("/:life", /:life - 5);
setProperty(this, _y , this._y + 20);
gotoAndPlay (1);
}
} else if (_root.wall.hittest(this._x, this._y - 20, true) eq "true") {
gotoAndPlay (1);
}
Symbol 195 MovieClip Frame 12
gotoAndPlay (7);
Symbol 195 MovieClip Frame 25
life = eval (("/:" add getProperty(this, _name)) add "life");
lifevar = eval (("/:" add getProperty(this, _name)) add "life") add "/3";
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), life add "/3");
Set("/:enemyname" add (substring(getProperty(this, _name), 4, 5)), "Gremo");
tellTarget ("_root.menu.menu2.elife" add (substring(getProperty(this, _name), 4, 5))) {
gotoAndPlay (2);
};
Instance of Symbol 191 MovieClip in Symbol 195 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 101 MovieClip in Symbol 195 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval (("/:" add getProperty(_parent, _name)) add "life") / 3) * 100);
}
Instance of Symbol 191 MovieClip in Symbol 195 MovieClip Frame 27
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 191 MovieClip in Symbol 195 MovieClip Frame 29
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 191 MovieClip in Symbol 195 MovieClip Frame 31
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 191 MovieClip in Symbol 195 MovieClip Frame 33
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 191 MovieClip in Symbol 195 MovieClip Frame 35
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 195 MovieClip Frame 37
if (eval (("/:" add getProperty(this, _name)) add "life") > 0) {
if (badrotation == 180) {
gotoAndPlay (7);
} else {
gotoAndPlay (1);
}
}
Instance of Symbol 191 MovieClip in Symbol 195 MovieClip Frame 37
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 195 MovieClip Frame 53
randomnumber = random(11) + 1;
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (randomnumber < 7) {
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 8) and (randomnumber < 11)) {
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if (randomnumber == 11) {
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
}
}
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
stop();
Symbol 195 MovieClip Frame 54
stop();
Symbol 215 Button
on (keyPress "q") {
if ((you._currentframe < 5) and (/:pause == 0)) {
if (/:raze > 0) {
Set("/:raze", /:raze - 1);
setProperty("_root.star", _x , 150);
setProperty("_root.star", _y , 170);
tellTarget ("_root.star") {
gotoAndPlay (2);
};
z = 0;
Set("/:pause", 1);
while (z < 31) {
tellTarget ("_root.bad" add z) {
gotoAndStop (1);
};
z = z + 1;
}
}
}
}
Symbol 218 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 1
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/2";
Set("/:enemylife" add (substring(getProperty(this, _name), 7, 8)), life add "/2");
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
stop();
}
Instance of Symbol 100 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 101 MovieClip in Symbol 238 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 6) * 100);
}
onClipEvent (enterFrame) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 6) * 100);
}
Symbol 238 MovieClip Frame 5
if ((random(3) + 1) == 1) {
if (dead != 1) {
gotoAndPlay (1);
}
}
Symbol 238 MovieClip Frame 9
y = random(2);
Symbol 238 MovieClip Frame 10
if (y == Number(0)) {
if ((((_root.wall.hittest(this._x, this._y + 20, true) ne "true") and (_root.water.hittest(this._x, this._y + 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y + 20, true) ne "true")) and (_root.black.hittest(this._x, this._y + 20, true) ne "true")) {
setProperty(this, _y , getProperty(this, _y) + 20);
if (getProperty(this, _y) == 270) {
setProperty(this, _y , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty(this, _y , getProperty(this, _y) - 20);
}
}
} else if (y == Number(1)) {
if ((((_root.wall.hittest(this._x, this._y - 20, true) ne "true") and (_root.water.hittest(this._x, this._y - 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y - 20, true) ne "true")) and (_root.black.hittest(this._x, this._y - 20, true) ne "true")) {
setProperty(this, _y , getProperty(this, _y) - 20);
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty(this, _y , getProperty(this, _y) + 20);
}
}
}
Symbol 238 MovieClip Frame 15
if ((random(3) + 1) == 1) {
gotoAndPlay (11);
}
Symbol 238 MovieClip Frame 19
x = random(2);
Symbol 238 MovieClip Frame 20
if (x == Number(0)) {
if ((((_root.wall.hittest(this._x + 20, this._y, true) ne "true") and (_root.water.hittest(this._x + 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x + 20, this._y, true) ne "true")) and (_root.black.hittest(this._x + 20, this._y, true) ne "true")) {
setProperty(this, _x , getProperty(this, _x) + 20);
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty(this, _x , getProperty(this, _x) - 20);
}
}
} else if (x == Number(1)) {
if ((((_root.wall.hittest(this._x - 20, this._y, true) ne "true") and (_root.water.hittest(this._x - 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x - 20, this._y, true) ne "true")) and (_root.black.hittest(this._x - 20, this._y, true) ne "true")) {
setProperty(this, _x , getProperty(this, _x) - 20);
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty(this, _x , getProperty(this, _x) + 20);
}
}
}
gotoAndPlay (1);
Symbol 238 MovieClip Frame 25
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/2";
Set("/:enemylife" add (substring(getProperty(this, _name), 7, 8)), life add "/2");
Instance of Symbol 101 MovieClip in Symbol 238 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 6) * 100);
}
Symbol 238 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
gotoAndPlay (1);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) < -1) {
dead = 1;
alive = 0;
gotoAndPlay (1);
}
Symbol 238 MovieClip Frame 52
if ((this.hittest(_root.you) eq "true") and (getProperty(_root.you, _currentframe) < 5)) {
Set("/:life", /:life - 10);
/:youhit();
}
z = 0;
while (z < 31) {
if ((((this.hittest("_root.bad" add z) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
if (getProperty("_root.bad" add z, _y) > getProperty(this, _y)) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
if (_root.wall.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
if (_root.water.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
if (_root.dock.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
if (getProperty("_root.bad" add z, _y) == 270) {
setProperty("_root.bad" add z, _y , 250);
}
a = 0;
while (a < 31) {
if ((getProperty("_root.block" add a, _x) == getProperty("_root.bad" add z, _x)) and (getProperty("_root.block" add a, _y) == getProperty("_root.bad" add z, _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
a = a + 1;
}
a = 0;
while (a < 31) {
if (a != (substring(getProperty("_root.bad" add z, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
}
a = a + 1;
}
} else if (getProperty("_root.bad" add z, _y) < getProperty(this, _y)) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
if (_root.wall.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
if (_root.water.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
if (_root.dock.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
if (getProperty("_root.bad" add z, _y) == 70) {
setProperty("_root.bad" add z, _y , 90);
}
a = 0;
while (a < 31) {
if ((getProperty("_root.block" add a, _x) == getProperty("_root.bad" add z, _x)) and (getProperty("_root.block" add a, _y) == getProperty("_root.bad" add z, _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
a = a + 1;
}
a = 0;
while (a < 31) {
if (a != (substring(getProperty("_root.bad" add z, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
}
a = a + 1;
}
}
if (getProperty("_root.bad" add z, _x) > getProperty(this, _x)) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
if (_root.wall.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
if (_root.water.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
if (_root.dock.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
if (getProperty("_root.bad" add z, _x) == 270) {
setProperty("_root.bad" add z, _x , 250);
}
a = 0;
while (a < 31) {
if ((getProperty("_root.block" add a, _x) == getProperty("_root.bad" add z, _x)) and (getProperty("_root.block" add a, _y) == getProperty("_root.bad" add z, _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
a = a + 1;
}
a = 0;
while (a < 31) {
if (a != (substring(getProperty("_root.bad" add z, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
}
a = a + 1;
}
} else if (getProperty("_root.bad" add z, _x) < getProperty(this, _x)) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
if (_root.wall.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
if (_root.water.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
if (_root.dock.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
if (getProperty("_root.bad" add z, _x) == 30) {
setProperty("_root.bad" add z, _x , 50);
}
a = 0;
while (a < 31) {
if ((getProperty("_root.block" add a, _x) == getProperty("_root.bad" add z, _x)) and (getProperty("_root.block" add a, _y) == getProperty("_root.bad" add z, _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
a = a + 1;
}
a = 0;
while (a < 31) {
if (a != (substring(getProperty("_root.bad" add z, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
}
a = a + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
}
}
if (/:havesuperbomb == 0) {
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
} else if (/:havesuperbomb == 1) {
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 2);
if (eval ((("/:bad" add z) add "life") add /:currentlocation) < 0) {
Set((("/:bad" add z) add "life") add /:currentlocation, 0);
}
}
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
Symbol 238 MovieClip Frame 57
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
randomnumber = random(100) + 1;
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (randomnumber <= 75) {
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 75) and (randomnumber <= 95)) {
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 95) and (randomnumber <= 100)) {
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
}
}
}
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), "");
Set("/:enemyname" add (substring(getProperty(this, _name), 4, 5)), "");
stop();
Symbol 238 MovieClip Frame 76
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 1
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/2";
Set("/:enemylife" add (substring(getProperty(this, _name), 7, 8)), life add "/2");
Instance of Symbol 100 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 101 MovieClip in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 5) * 100);
}
onClipEvent (enterFrame) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 5) * 100);
}
Symbol 245 MovieClip Frame 2
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 245 MovieClip Frame 4
if (getProperty("_root." add getProperty(this, _name), _y) < getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y + 20, true) ne "true") and (_root.water.hittest(this._x, this._y + 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y + 20, true) ne "true")) and (_root.black.hittest(this._x, this._y + 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
if (getProperty(this, _y) == 270) {
setProperty(this, _y , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _y) > getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y - 20, true) ne "true") and (_root.water.hittest(this._x, this._y - 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y - 20, true) ne "true")) and (_root.black.hittest(this._x, this._y - 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
}
}
}
Symbol 245 MovieClip Frame 6
if ((random(3) + 1) == 1) {
gotoAndPlay (5);
}
Symbol 245 MovieClip Frame 8
if (getProperty("_root." add getProperty(this, _name), _x) < getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x + 20, this._y, true) ne "true") and (_root.water.hittest(this._x + 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x + 20, this._y, true) ne "true")) and (_root.black.hittest(this._x + 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _x) > getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x - 20, this._y, true) ne "true") and (_root.water.hittest(this._x - 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x - 20, this._y, true) ne "true")) and (_root.black.hittest(this._x - 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
}
}
}
gotoAndPlay (1);
Symbol 245 MovieClip Frame 25
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/5";
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), life add "/5");
Instance of Symbol 101 MovieClip in Symbol 245 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 5) * 100);
}
Symbol 245 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
place();
gotoAndPlay (1);
}
Symbol 245 MovieClip Frame 53
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
randomnumber = random(100) + 1;
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (randomnumber <= 30) {
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 30) and (randomnumber <= 80)) {
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 80) and (randomnumber <= 95)) {
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
}
}
}
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), "");
Set("/:enemyname" add (substring(getProperty(this, _name), 4, 5)), "");
stop();
Symbol 245 MovieClip Frame 54
stop();
Symbol 245 MovieClip Frame 76
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
stop();
Symbol 249 MovieClip Frame 1
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
stop();
}
noplay = 1;
stop();
Symbol 249 MovieClip Frame 2
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/2";
Set("/:enemylife" add (substring(getProperty(this, _name), 7, 8)), life add "/2");
noplay = 0;
Instance of Symbol 100 MovieClip in Symbol 249 MovieClip Frame 2
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 101 MovieClip in Symbol 249 MovieClip Frame 2
onClipEvent (load) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 0) {
setProperty(this, _visible , 0);
} else if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 8) * 100);
}
onClipEvent (enterFrame) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 8) * 100);
}
Symbol 249 MovieClip Frame 5
if (getProperty("_root." add getProperty(this, _name), _y) < getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y + 20, true) ne "true") and (_root.water.hittest(this._x, this._y + 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y + 20, true) ne "true")) and (_root.black.hittest(this._x, this._y + 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
if (getProperty(this, _y) == 270) {
setProperty(this, _y , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _y) > getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y - 20, true) ne "true") and (_root.water.hittest(this._x, this._y - 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y - 20, true) ne "true")) and (_root.black.hittest(this._x, this._y - 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
}
}
}
Symbol 249 MovieClip Frame 9
if (getProperty("_root." add getProperty(this, _name), _x) < getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x + 20, this._y, true) ne "true") and (_root.water.hittest(this._x + 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x + 20, this._y, true) ne "true")) and (_root.black.hittest(this._x + 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _x) > getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x - 20, this._y, true) ne "true") and (_root.water.hittest(this._x - 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x - 20, this._y, true) ne "true")) and (_root.black.hittest(this._x - 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 10);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
}
}
}
gotoAndPlay (2);
Symbol 249 MovieClip Frame 25
life = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation);
lifevar = eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) add "/8";
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), life add "/8");
Instance of Symbol 101 MovieClip in Symbol 249 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 8) * 100);
}
Symbol 249 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
if (((_root.you._x < (this._x + 80)) and (_root.you._x > (this._x - 80))) and ((_root.you._y < (this._y + 80)) and (_root.you._y > (this._y - 80)))) {
tellTarget (this) {
gotoAndPlay (2);
};
} else {
gotoAndStop (1);
}
}
Symbol 249 MovieClip Frame 53
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 0) {
randomnumber = random(100) + 1;
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (!((getProperty("_root.you", _x) == getProperty(this, _x)) and (getProperty("_root.you", _y) == getProperty(this, _y)))) {
if (randomnumber <= 40) {
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.coin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 40) and (randomnumber <= 90)) {
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.bigcoin" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
} else if ((randomnumber > 90) and (randomnumber <= 100)) {
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _x , getProperty(this, _x));
setProperty("_root.life" add (substring(getProperty(this, _name), 4, 5)), _y , getProperty(this, _y));
}
}
}
}
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
Set("/:enemylife" add (substring(getProperty(this, _name), 4, 5)), "");
Set("/:enemyname" add (substring(getProperty(this, _name), 4, 5)), "");
stop();
Symbol 249 MovieClip Frame 54
stop();
Symbol 249 MovieClip Frame 76
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
Set("/:kills", /:kills + 1);
stop();
Symbol 250 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button.hitTest(you) eq "true") and (particle._x < 0)) {
setProperty("particle", _x , block0._x);
setProperty("particle", _y , block0._y);
pause = 1;
stopall();
if (block0._currentframe == 1) {
tellTarget ("particle") {
gotoAndPlay ("up");
};
} else if (block0._currentframe == 11) {
tellTarget ("particle") {
gotoAndPlay ("right");
};
} else if (block0._currentframe == 21) {
tellTarget ("particle") {
gotoAndPlay ("down");
};
} else if (block0._currentframe == 31) {
tellTarget ("particle") {
gotoAndPlay ("left");
};
}
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
play();
setProperty(this, _y , this._y - 10);
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = 0;
while (z < 11) {
if ((((this.hittest("_root.bad" add z) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
Set(("/:bad" add z) add "life", eval (("/:bad" add z) add "life") - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
setProperty(this, _x , -1000);
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = z + 1;
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = 0;
while (z < 21) {
if ((getProperty("_root.block" add z, _x) == this._x) and (getProperty("_root.block" add z, _y) == this._y)) {
if ((z >= 6) and (z <= 10)) {
gotoAndPlay (4);
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else if ((z >= 11) and (z <= 15)) {
gotoAndPlay (8);
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
}
z = z + 1;
}
Symbol 254 MovieClip Frame 3
gotoAndPlay (2);
Symbol 254 MovieClip Frame 4
play();
setProperty(this, _x , this._x + 10);
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = 0;
while (z < 11) {
if ((((this.hittest("_root.bad" add z) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
Set(("/:bad" add z) add "life", eval (("/:bad" add z) add "life") - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
setProperty(this, _x , -1000);
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = z + 1;
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = 0;
while (z < 21) {
if ((getProperty("_root.block" add z, _x) == this._x) and (getProperty("_root.block" add z, _y) == this._y)) {
if ((z >= 11) and (z <= 15)) {
gotoAndPlay (6);
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else if ((z >= 16) and (z <= 20)) {
gotoAndPlay (2);
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
}
z = z + 1;
}
Symbol 254 MovieClip Frame 5
gotoAndPlay (4);
Symbol 254 MovieClip Frame 6
play();
setProperty(this, _y , this._y + 10);
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = 0;
while (z < 11) {
if ((((this.hittest("_root.bad" add z) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
Set(("/:bad" add z) add "life", eval (("/:bad" add z) add "life") - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
setProperty(this, _x , -1000);
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = z + 1;
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = 0;
while (z < 21) {
if ((getProperty("_root.block" add z, _x) == this._x) and (getProperty("_root.block" add z, _y) == this._y)) {
if ((z >= 1) and (z <= 5)) {
gotoAndPlay (4);
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else if ((z >= 16) and (z <= 20)) {
gotoAndPlay (8);
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
}
z = z + 1;
}
Symbol 254 MovieClip Frame 7
gotoAndPlay (6);
Symbol 254 MovieClip Frame 8
play();
setProperty(this, _x , this._x - 10);
if (this.hittest(_root.target)) {
z = 0;
okay = 1;
while (z < 31) {
if (getProperty(("_root.block" add z) add ".box", _currentframe) == 1) {
okay = 0;
}
z = z + 1;
}
if (okay == 1) {
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.target") {
gotoAndStop (7);
};
z = 0;
while (z < 31) {
setProperty("_root.block" add z, _x , -1000);
z = z + 1;
}
setProperty("_root.wall.wall1", _x , -1000);
setProperty("_root.wall.wall2", _visible , 1);
tellTarget ("_root.wall.wall2") {
gotoAndPlay (2);
};
tellTarget ("_root.wall.wall") {
gotoAndPlay (2);
};
Set("/:puzzleroom70", 1);
tellTarget ("_root.target") {
gotoAndStop (7);
};
}
}
if ((((this._x <= 40) or (this._x >= 260)) or (this._y <= 80)) or (this._y >= 260)) {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = 0;
while (z < 11) {
if ((((this.hittest("_root.bad" add z) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
Set(("/:bad" add z) add "life", eval (("/:bad" add z) add "life") - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
setProperty(this, _x , -1000);
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = z + 1;
}
if (_root.wall.hittest(this._x, this._y, true) eq "true") {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
z = 0;
while (z < 21) {
if ((getProperty("_root.block" add z, _x) == this._x) and (getProperty("_root.block" add z, _y) == this._y)) {
if ((z >= 1) and (z <= 5)) {
gotoAndPlay (2);
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else if ((z >= 6) and (z <= 10)) {
gotoAndPlay (6);
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else {
setProperty(this, _x , -1000);
/:mainmusic.setVolume(100);
tellTarget ("_root.target") {
gotoAndPlay (1);
};
Set("/:puzzleroom70blocks", 0);
z = 0;
while (z < 31) {
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (1);
};
z = z + 1;
}
gotoAndStop (1);
Set("/:pause", 0);
/:playall();
}
}
z = z + 1;
if (okay == 1) {
tellTarget ("_root.target") {
gotoAndStop (7);
};
}
}
Symbol 254 MovieClip Frame 9
gotoAndPlay (8);
Symbol 257 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 2
play();
Symbol 258 MovieClip Frame 11
stop();
Symbol 258 MovieClip Frame 12
play();
Symbol 258 MovieClip Frame 21
stop();
Symbol 258 MovieClip Frame 22
play();
Symbol 258 MovieClip Frame 31
stop();
Symbol 258 MovieClip Frame 32
play();
Symbol 258 MovieClip Frame 40
gotoAndStop (1);
Symbol 263 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 1
stop();
Instance of Symbol 260 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _visible , 0);
}
Symbol 264 MovieClip Frame 2
play();
Symbol 264 MovieClip Frame 11
stop();
Symbol 264 MovieClip Frame 12
play();
Symbol 264 MovieClip Frame 21
stop();
Symbol 264 MovieClip Frame 22
play();
Symbol 264 MovieClip Frame 31
stop();
Symbol 264 MovieClip Frame 32
play();
Symbol 264 MovieClip Frame 40
gotoAndStop (1);
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
stop();
Symbol 269 MovieClip Frame 3
stop();
Symbol 269 MovieClip Frame 12
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) < 1) {
setProperty(this, _x , -1000);
Set((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation, 1);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 3) {
gotoAndStop (1);
} else {
gotoAndStop (13);
}
Instance of Symbol 101 MovieClip in Symbol 269 MovieClip Frame 13
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 3) * 100);
}
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 6
gotoAndStop (1);
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 2
tellTarget ("_root.gun" add (substring(getProperty(this, _name), 7, 8))) {
gotoAndPlay (2);
};
Symbol 295 MovieClip Frame 4
gotoAndStop (1);
Symbol 298 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 16
setProperty(this, _x , -1000);
tellTarget ("_root.youblack") {
gotoAndStop (1);
};
if (/:currentlocation == 76) {
if (_root.snake0._x > 150) {
setProperty("_root.you", _x , 70);
setProperty("_root.you", _y , 110);
} else {
setProperty("_root.you", _x , 230);
setProperty("_root.you", _y , 230);
}
} else {
setProperty("_root.you", _x , /:xyou);
setProperty("_root.you", _y , /:yyou);
}
Set("/:life", /:life - 5);
/:youhit();
/:playall();
Set("/:pause", 0);
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 5
gotoAndStop (1);
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 11
z = 1;
a = 0;
while (z < 37) {
_root.boss.swapDepths("_root.fireball" add z);
duplicateMovieClip ("_root.fireball", "fireball" add z, z);
setProperty("_root.fireball" add z, _x , 150);
setProperty("_root.fireball" add z, _y , 170);
Set(("_root.fireball" add z) add ".time", 19);
Set(("_root.fireball" add z) add ".a", a);
z = z + 1;
a = a + 10;
}
Symbol 310 MovieClip Frame 12
gotoAndStop (1);
Instance of Symbol 308 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
function gun() {
pos = new Object();
pos.x = this._x;
pos.y = this._y;
LocaltoGlobal(pos);
circx = pos.x;
circy = pos.y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 308 MovieClip in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
function gun() {
pos = new Object();
pos.x = this._x;
pos.y = this._y;
LocaltoGlobal(pos);
circx = pos.x;
circy = pos.y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Symbol 312 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 313 Button
on (keyPress "z") {
usebomb();
}
Symbol 314 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 315 Button
on (keyPress "x") {
usemagic();
}
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 2
setProperty(this, _y , this._y - 10);
if ((_root.wall.hittest(this._x, this._y, true) eq "true") or (this._y == 80)) {
gotoAndStop (1);
setProperty(this, _x , 1000);
}
z = 0;
while (z < 11) {
if (this.hittest("_root.block" add z) eq "true") {
gotoAndStop (1);
setProperty(this, _x , 1000);
}
if ((this.hittest("_root.bad" add z) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) {
Set(("/:bad" add z) add "life", eval (("/:bad" add z) add "life") - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
gotoAndStop (1);
setProperty(this, _x , 1000);
}
z = z + 1;
}
Symbol 322 MovieClip Frame 3
gotoAndPlay (2);
Symbol 322 MovieClip Frame 4
setProperty(this, _x , this._x + 10);
if ((_root.wall.hittest(this._x, this._y, true) eq "true") or (this._x == 260)) {
gotoAndStop (1);
setProperty(this, _x , 1000);
}
z = 0;
while (z < 11) {
if (this.hittest("_root.block" add z) eq "true") {
gotoAndStop (1);
setProperty(this, _x , 1000);
}
if ((this.hittest("_root.bad" add z) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) {
Set(("/:bad" add z) add "life", eval (("/:bad" add z) add "life") - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
gotoAndStop (1);
setProperty(this, _x , 1000);
}
z = z + 1;
}
Symbol 322 MovieClip Frame 5
gotoAndPlay (4);
Symbol 322 MovieClip Frame 6
setProperty(this, _y , this._y + 10);
if ((_root.wall.hittest(this._x, this._y, true) eq "true") or (this._y == 260)) {
gotoAndStop (1);
setProperty(this, _x , 1000);
}
z = 0;
while (z < 11) {
if (this.hittest("_root.block" add z) eq "true") {
gotoAndStop (1);
setProperty(this, _x , 1000);
}
if ((this.hittest("_root.bad" add z) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) {
Set(("/:bad" add z) add "life", eval (("/:bad" add z) add "life") - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
gotoAndStop (1);
setProperty(this, _x , 1000);
}
z = z + 1;
}
Symbol 322 MovieClip Frame 7
gotoAndPlay (6);
Symbol 322 MovieClip Frame 8
setProperty(this, _x , this._x - 10);
if ((_root.wall.hittest(this._x, this._y, true) eq "true") or (this._x == 40)) {
gotoAndStop (1);
setProperty(this, _x , 1000);
}
z = 0;
while (z < 11) {
if (this.hittest("_root.block" add z) eq "true") {
gotoAndStop (1);
setProperty(this, _x , 1000);
}
if ((this.hittest("_root.bad" add z) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) {
Set(("/:bad" add z) add "life", eval (("/:bad" add z) add "life") - 1);
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
gotoAndStop (1);
setProperty(this, _x , 1000);
}
z = z + 1;
}
Symbol 322 MovieClip Frame 9
gotoAndPlay (8);
Symbol 329 MovieClip Frame 1
stop();
Instance of Symbol 328 MovieClip "super" in Symbol 329 MovieClip Frame 1
onClipEvent (load) {
if (/:havesuperbomb == 0) {
setProperty(this, _visible , 0);
} else if (/:havesuperbomb == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:havesuperbomb == 0) {
setProperty(this, _visible , 0);
} else if (/:havesuperbomb == 1) {
setProperty(this, _visible , 1);
}
}
Symbol 329 MovieClip Frame 3
if ((this.hittest(_root.you) eq "true") and (getProperty(_root.you, _currentframe) < 5)) {
if (/:havesuperbomb == 0) {
Set("/:life", /:life - 5);
if (/:life < 1) {
Set("/:life", 0);
}
} else if (/:havesuperbomb == 1) {
Set("/:life", /:life - 10);
if (/:life < 1) {
Set("/:life", 0);
}
}
/:youhit();
}
if ((this.hittest(_root.snake0) eq "true") and (/:currentlocation != 76)) {
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.snake0.snake") {
gotoAndPlay (2);
};
if (/:snakelife == 90) {
tellTarget ("_root.snake4") {
gotoAndPlay (2);
};
} else if (/:snakelife == 70) {
tellTarget ("_root.snake3") {
gotoAndPlay (2);
};
} else if (/:snakelife == 50) {
tellTarget ("_root.snake2") {
gotoAndPlay (2);
};
} else if (/:snakelife == 30) {
tellTarget ("_root.snake1") {
gotoAndPlay (2);
};
}
Set("/:snakelife", /:snakelife - 10);
}
z = 0;
while (z < 31) {
if ((((this.hittest("_root.bad" add z) eq "true") and (getProperty("_root.bad" add z, _currentframe) < 25)) and (getProperty("_root.bad" add z, _alpha) == 100)) and (getProperty("_root.bad" add z, _visible) == 1)) {
if (getProperty("_root.bad" add z, _y) > getProperty(this, _y)) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
if (_root.wall.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
if (_root.water.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
if (_root.dock.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
if (getProperty("_root.bad" add z, _y) == 270) {
setProperty("_root.bad" add z, _y , 250);
}
a = 0;
while (a < 31) {
if ((getProperty("_root.block" add a, _x) == getProperty("_root.bad" add z, _x)) and (getProperty("_root.block" add a, _y) == getProperty("_root.bad" add z, _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
a = a + 1;
}
a = 0;
while (a < 31) {
if (a != (substring(getProperty("_root.bad" add z, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
}
}
a = a + 1;
}
} else if (getProperty("_root.bad" add z, _y) < getProperty(this, _y)) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) - 20);
if (_root.wall.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
if (_root.water.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
if (_root.dock.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
if (getProperty("_root.bad" add z, _y) == 70) {
setProperty("_root.bad" add z, _y , 90);
}
a = 0;
while (a < 31) {
if ((getProperty("_root.block" add a, _x) == getProperty("_root.bad" add z, _x)) and (getProperty("_root.block" add a, _y) == getProperty("_root.bad" add z, _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
a = a + 1;
}
a = 0;
while (a < 31) {
if (a != (substring(getProperty("_root.bad" add z, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.bad" add z, _y , getProperty("_root.bad" add z, _y) + 20);
}
}
a = a + 1;
}
}
if (getProperty("_root.bad" add z, _x) > getProperty(this, _x)) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
if (_root.wall.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
if (_root.water.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
if (_root.dock.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
if (getProperty("_root.bad" add z, _x) == 270) {
setProperty("_root.bad" add z, _x , 250);
}
a = 0;
while (a < 31) {
if ((getProperty("_root.block" add a, _x) == getProperty("_root.bad" add z, _x)) and (getProperty("_root.block" add a, _y) == getProperty("_root.bad" add z, _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
a = a + 1;
}
a = 0;
while (a < 31) {
if (a != (substring(getProperty("_root.bad" add z, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
}
}
a = a + 1;
}
} else if (getProperty("_root.bad" add z, _x) < getProperty(this, _x)) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) - 20);
if (_root.wall.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
if (_root.water.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
if (_root.dock.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.you", _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
if (getProperty("_root.bad" add z, _x) == 30) {
setProperty("_root.bad" add z, _x , 50);
}
a = 0;
while (a < 31) {
if ((getProperty("_root.block" add a, _x) == getProperty("_root.bad" add z, _x)) and (getProperty("_root.block" add a, _y) == getProperty("_root.bad" add z, _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
a = a + 1;
}
a = 0;
while (a < 31) {
if (a != (substring(getProperty("_root.bad" add z, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty("_root.bad" add a, _x)) and (getProperty("_root.bad" add z, _y) == getProperty("_root.bad" add a, _y))) {
setProperty("_root.bad" add z, _x , getProperty("_root.bad" add z, _x) + 20);
}
}
a = a + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
}
}
if (/:havesuperbomb == 0) {
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 1);
} else if (/:havesuperbomb == 1) {
Set((("/:bad" add z) add "life") add /:currentlocation, eval ((("/:bad" add z) add "life") add /:currentlocation) - 2);
if (eval ((("/:bad" add z) add "life") add /:currentlocation) < 0) {
Set((("/:bad" add z) add "life") add /:currentlocation, 0);
}
}
tellTarget ("_root.bad" add z) {
gotoAndPlay (25);
};
}
z = z + 1;
}
z = 0;
while (z < 11) {
if (_root.black.hittest(getProperty("_root.bad" add z, _x), getProperty("_root.bad" add z, _y), true) eq "true") {
if (getProperty("_root.bad" add z, _currentframe) < 60) {
tellTarget ("_root.bad" add z) {
gotoAndPlay (60);
};
}
}
z = z + 1;
}
Symbol 329 MovieClip Frame 7
Set("/:bombset", 0);
setProperty("_root.bomb", _x , -1000);
gotoAndStop (1);
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 41
Set("/:pause", 0);
Set("/:frozen", 0);
gotoAndStop (1);
Symbol 351 MovieClip Frame 1
stop();
Set("/:d", 1);
Instance of Symbol 331 MovieClip "dock" in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
if (/:inwater == 0) {
setProperty(this, _visible , 0);
} else if (/:inwater == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:inwater == 0) {
setProperty(this, _visible , 0);
} else if (/:inwater == 1) {
setProperty(this, _visible , 1);
}
}
Symbol 351 MovieClip Frame 2
Set("/:d", 2);
Symbol 351 MovieClip Frame 3
Set("/:d", 3);
Symbol 351 MovieClip Frame 4
Set("/:d", 4);
Symbol 351 MovieClip Frame 5
play();
Set("/:hitaloud", 0);
Symbol 351 MovieClip Frame 6
if (/:life < 1) {
Set("/:lives", /:lives + 1);
Set("/:life", 100);
}
Symbol 351 MovieClip Frame 8
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
gotoAndStop (1);
Symbol 351 MovieClip Frame 9
play();
Symbol 351 MovieClip Frame 10
if (/:life < 1) {
Set("/:life", 100);
Set("/:lives", /:lives + 1);
}
Symbol 351 MovieClip Frame 12
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
gotoAndStop (2);
Symbol 351 MovieClip Frame 13
play();
Symbol 351 MovieClip Frame 14
if (/:life < 1) {
Set("/:life", 100);
Set("/:lives", /:lives + 1);
}
Symbol 351 MovieClip Frame 16
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
gotoAndStop (3);
Symbol 351 MovieClip Frame 17
play();
Symbol 351 MovieClip Frame 18
if (/:life < 1) {
Set("/:life", 100);
Set("/:lives", /:lives + 1);
}
Symbol 351 MovieClip Frame 20
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
gotoAndStop (4);
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 2
play();
Symbol 369 MovieClip Frame 65
if (((/:currentlocation == 4) and (/:movie2 == 0)) and (/:bomb == 1)) {
tellTarget ("/") {
gotoAndPlay ("4again");
};
Set("/:movie2", 1);
}
gotoAndStop (1);
Instance of Symbol 365 MovieClip "lifebar" in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
setProperty("_root.menu.lifebar", _xscale , /:life);
Set("/:lifevar", /:life add "%");
}
onClipEvent (enterFrame) {
if (/:life > 0) {
setProperty("_root.menu.lifebar", _xscale , /:life);
Set("/:lifevar", /:life add "%");
}
}
Symbol 371 Button
on (keyPress "m") {
if (_root.you) {
if ((_root.mainmenu._currentframe == 1) and (/:pause == 0)) {
Set("/:pause", 1);
/:stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
} else if (_root.mainmenu._currentframe == 31) {
tellTarget ("_root.mainmenu") {
gotoAndPlay (21);
};
}
}
}
Instance of Symbol 393 MovieClip "bookitem" in Symbol 395 MovieClip Frame 1
onClipEvent (load) {
if (/:book == 1) {
setProperty(this, _x , -1000);
}
}
Symbol 402 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 1
stop();
Instance of Symbol 395 MovieClip in Symbol 408 MovieClip Frame 4
onClipEvent (load) {
if (/:book == 1) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (/:book == 1) {
gotoAndStop (2);
}
}
Instance of Symbol 397 MovieClip in Symbol 408 MovieClip Frame 5
onClipEvent (load) {
if (/:raft == 1) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (/:raft == 1) {
gotoAndStop (2);
}
}
Instance of Symbol 402 MovieClip in Symbol 408 MovieClip Frame 6
onClipEvent (load) {
if (/:havesuperbomb == 1) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (/:havesuperbomb == 1) {
gotoAndStop (2);
}
}
Instance of Symbol 407 MovieClip in Symbol 408 MovieClip Frame 7
onClipEvent (load) {
if (/:push == 0) {
setProperty(this, _visible , 0);
} else if (/:push == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:push == 0) {
setProperty(this, _visible , 0);
} else if (/:push == 1) {
setProperty(this, _visible , 1);
}
}
Symbol 456 MovieClip Frame 1
setProperty("location", _x , getProperty(/:currentlocation, _x));
setProperty("location", _y , getProperty(/:currentlocation, _y));
if (/:map == 0) {
if (/:maproom30 == 1) {
setProperty("red", _x , getProperty(30, _x));
setProperty("red", _y , getProperty(30, _y));
}
if (/:maproom12 == 1) {
setProperty("yellow", _x , getProperty(12, _x));
setProperty("yellow", _y , getProperty(12, _y));
}
if (/:maproom68 == 1) {
setProperty("green", _x , getProperty(68, _x));
setProperty("green", _y , getProperty(68, _y));
}
if (/:maproom72 == 1) {
setProperty("orange", _x , getProperty(72, _x));
setProperty("orange", _y , getProperty(72, _y));
}
if (/:maproom73 == 1) {
setProperty("blue", _x , getProperty(73, _x));
setProperty("blue", _y , getProperty(73, _y));
}
if (/:maproom22 == 1) {
setProperty("purple", _x , getProperty(22, _x));
setProperty("purple", _y , getProperty(22, _y));
}
} else if (/:map == 1) {
setProperty("green", _x , getProperty(68, _x));
setProperty("green", _y , getProperty(68, _y));
setProperty("red", _x , getProperty(30, _x));
setProperty("red", _y , getProperty(30, _y));
setProperty("yellow", _x , getProperty(12, _x));
setProperty("yellow", _y , getProperty(12, _y));
setProperty("orange", _x , getProperty(72, _x));
setProperty("orange", _y , getProperty(72, _y));
setProperty("blue", _x , getProperty(73, _x));
setProperty("blue", _y , getProperty(73, _y));
setProperty("purple", _x , getProperty(22, _x));
setProperty("purple", _y , getProperty(22, _y));
}
stop();
if (/:hintson == 1) {
if (eval ("/:hint" add /:currentlocation) != "undefined") {
hint = eval ("/:hint" add /:currentlocation);
} else if (eval ("/:hint" add /:currentlocation) == "undefined") {
hint = "No hints";
}
} else if (/:hintson == 0) {
hint = "";
}
if (/:maproom78 == 0) {
setProperty(78, _x , -10000);
}
if (/:maproom79 == 0) {
setProperty(79, _x , -10000);
}
if (/:maproom80 == 0) {
setProperty(80, _x , -10000);
}
if (/:maproom81 == 0) {
setProperty(81, _x , -10000);
}
z = 0;
while (z < 77) {
if (/:map == 1) {
if (eval ("/:maproom" add z) == 0) {
setProperty(z, _alpha , 35);
} else {
setProperty(z, _alpha , 100);
}
} else if (/:map == 0) {
if (eval ("/:maproom" add z) == 0) {
setProperty(z, _x , -10000);
} else {
setProperty(z, _alpha , 100);
}
}
z = z + 1;
}
setProperty(aa, _alpha , 35);
Instance of Symbol 453 MovieClip in Symbol 456 MovieClip Frame 1
onClipEvent (load) {
if (/:map == 0) {
setProperty(this, _visible , 0);
}
}
Symbol 461 MovieClip Frame 1
Set("/:minutes", math.floor((getTimer() - /:beforetimer) / 60000));
if (/:minutes < 1) {
Set("/:seconds", math.floor((getTimer() - /:beforetimer) / 1000));
} else if (/:minutes >= 1) {
Set("/:seconds", math.floor((getTimer() - /:beforetimer) / 1000) - (60 * /:minutes));
}
Set("/:minutes", math.floor((getTimer() - /:beforetimer) / 60000));
if (/:seconds < 10) {
Set("/:time", ((/:minutes + ":") + "0") + /:seconds);
} else if (/:seconds > 9) {
Set("/:time", (/:minutes + ":") + /:seconds);
}
Symbol 461 MovieClip Frame 2
gotoAndPlay (1);
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 2
stop();
Symbol 501 MovieClip Frame 3
stop();
Symbol 502 Button
on (keyPress "<Space>") {
if (/:book == 1) {
if (statistics._currentframe == 1) {
tellTarget ("statistics") {
gotoAndStop (2);
};
} else if (statistics._currentframe == 2) {
tellTarget ("statistics") {
gotoAndStop (3);
};
} else if (statistics._currentframe == 3) {
tellTarget ("statistics") {
gotoAndStop (1);
};
}
}
}
Symbol 515 Button
on (keyPress "<Space>") {
if (/:arrowy == 1) {
if (_root.mainmenu._alpha == 100) {
Set("/:mainmenuclear", 1);
setProperty("_root.mainmenu", _alpha , 50);
} else {
Set("/:mainmenuclear", 0);
setProperty("_root.mainmenu", _alpha , 100);
}
} else if (/:arrowy == 2) {
if (/:badlifevisible == 0) {
Set("/:badlifevisible", 1);
} else {
Set("/:badlifevisible", 0);
}
} else if ((/:arrowy == 3) and ((/:currentlocation != 27) and (/:currentlocation != 65))) {
stopAllSounds();
Set("/:musicon", 1);
Set("/:loop1", 1);
Set("/:loop2", 0);
Set("/:loop3", 0);
Set("/:loop4", 0);
Set("/:loop5", 0);
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("Lush Loop");
/:mainmusic.start(0, 999);
/:mainmusic.setVolume(100);
} else if ((/:arrowy == 4) and ((/:currentlocation != 27) and (/:currentlocation != 65))) {
stopAllSounds();
Set("/:musicon", 1);
Set("/:loop1", 0);
Set("/:loop2", 1);
Set("/:loop3", 0);
Set("/:loop4", 0);
Set("/:loop5", 0);
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG5437");
/:mainmusic.start(0, 999);
/:mainmusic.setVolume(100);
} else if ((/:arrowy == 5) and ((/:currentlocation != 27) and (/:currentlocation != 65))) {
stopAllSounds();
Set("/:musicon", 1);
Set("/:loop1", 0);
Set("/:loop2", 0);
Set("/:loop3", 1);
Set("/:loop4", 0);
Set("/:loop5", 0);
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG1613");
/:mainmusic.start(0, 999);
/:mainmusic.setVolume(100);
} else if ((/:arrowy == 6) and ((/:currentlocation != 27) and (/:currentlocation != 65))) {
stopAllSounds();
Set("/:musicon", 1);
Set("/:loop1", 0);
Set("/:loop2", 0);
Set("/:loop3", 0);
Set("/:loop4", 1);
Set("/:loop5", 0);
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG9991");
/:mainmusic.start(0, 999);
/:mainmusic.setVolume(100);
} else if ((/:arrowy == 7) and ((/:currentlocation != 27) and (/:currentlocation != 65))) {
stopAllSounds();
Set("/:musicon", 1);
Set("/:loop1", 0);
Set("/:loop2", 0);
Set("/:loop3", 0);
Set("/:loop4", 0);
Set("/:loop5", 1);
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG6298");
/:mainmusic.start(0, 999);
/:mainmusic.setVolume(100);
} else if (/:arrowy == 8) {
if (/:hintson == 0) {
Set("/:hintson", 1);
} else if (/:hintson == 1) {
Set("/:hintson", 0);
}
}
}
Symbol 523 Button
on (keyPress "s") {
stopAllSounds();
Set("/:musicon", 0);
}
Symbol 525 MovieClip Frame 1
stop();
Set("/:arrowx", 1);
Set("/:arrowy", 1);
Set("/:maxarrowy", 4);
if (/:havesuperbomb == 0) {
item1 = "Bomb";
} else if (/:havesuperbomb == 1) {
item1 = "Super Bomb";
}
if (/:push == 1) {
item2 = "Push Power";
}
if (/:raft == 1) {
item3 = "Raft";
}
if (/:book == 1) {
item4 = "Enemy Stats";
}
if (/:item == 1) {
itemx = "itemx";
}
Instance of Symbol 52 MovieClip "select" in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
function items() {
if (((/:arrowx == 1) and (/:arrowy == 1)) and (/:havebomb == 1)) {
tellTarget ("_parent.itemshow") {
gotoAndStop ("bomb");
};
} else if (((/:arrowx == 1) and (/:arrowy == 2)) and (/:push == 1)) {
tellTarget ("_parent.itemshow") {
gotoAndStop ("push");
};
} else if (((/:arrowx == 1) and (/:arrowy == 3)) and (/:raft == 1)) {
tellTarget ("_parent.itemshow") {
gotoAndStop ("raft");
};
} else if (((/:arrowx == 1) and (/:arrowy == 4)) and (/:book == 1)) {
tellTarget ("_parent.itemshow") {
gotoAndStop ("book");
};
} else {
tellTarget ("_parent.itemshow") {
gotoAndStop (1);
};
}
}
}
onClipEvent (enterFrame) {
items();
}
Instance of Symbol 410 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
if (/:yellowkey == 0) {
setProperty(this, _visible , 0);
} else if (/:yellowkey == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:yellowkey == 0) {
setProperty(this, _visible , 0);
} else if (/:yellowkey == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 412 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
if (/:redkey == 0) {
setProperty(this, _visible , 0);
} else if (/:redkey == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:redkey == 0) {
setProperty(this, _visible , 0);
} else if (/:redkey == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 414 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
if (/:blankkey == 0) {
setProperty(this, _visible , 0);
} else if (/:blankkey == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:blankkey == 0) {
setProperty(this, _visible , 0);
} else if (/:blankkey == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 416 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/:orangekey == 0) {
setProperty(this, _visible , 0);
} else if (/:orangekey == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (load) {
if (/:orangekey == 0) {
setProperty(this, _visible , 0);
} else if (/:orangekey == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 418 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
if (/:greenkey == 0) {
setProperty(this, _visible , 0);
} else if (/:greenkey == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:greenkey == 0) {
setProperty(this, _visible , 0);
} else if (/:greenkey == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 420 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
if (/:bluekey == 0) {
setProperty(this, _visible , 0);
} else if (/:bluekey == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:bluekey == 0) {
setProperty(this, _visible , 0);
} else if (/:bluekey == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 422 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
if (/:whitekey == 0) {
setProperty(this, _visible , 0);
} else if (/:whitekey == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:whitekey == 0) {
setProperty(this, _visible , 0);
} else if (/:whitekey == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 424 MovieClip in Symbol 525 MovieClip Frame 1
onClipEvent (load) {
if (/:whitekey2 == 0) {
setProperty(this, _visible , 0);
} else if (/:whitekey2 == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:whitekey2 == 0) {
setProperty(this, _visible , 0);
} else if (/:whitekey2 == 1) {
setProperty(this, _visible , 1);
}
}
Instance of Symbol 456 MovieClip in Symbol 525 MovieClip Frame 2
onClipEvent (load) {
if (/:floor == 1) {
gotoAndStop (1);
} else if (/:floor == 2) {
gotoAndStop (2);
}
}
Symbol 525 MovieClip Frame 3
enemieskilled = Math.floor((/:kills / /:totalenemies) * 100) add "%";
roomsgoneto = 0;
z = 0;
while (z < 82) {
if (eval ("/:maproom" add z) == 1) {
roomsgoneto = roomsgoneto + 1;
}
z = z + 1;
}
roomsvisited = Math.floor((roomsgoneto / /:totalrooms) * 100) add "%";
Instance of Symbol 504 MovieClip in Symbol 525 MovieClip Frame 3
onClipEvent (load) {
if (/:book == 0) {
setProperty(this, _visible , 0);
} else if (/:book == 1) {
setProperty(this, _visible , 1);
}
}
onClipEvent (enterFrame) {
if (/:book == 0) {
setProperty(this, _visible , 0);
} else if (/:book == 1) {
setProperty(this, _visible , 1);
}
}
Symbol 525 MovieClip Frame 4
/:mainmusic.setVolume(25);
Instance of Symbol 507 MovieClip in Symbol 525 MovieClip Frame 4
onClipEvent (load) {
if (/:havebomb == 0) {
setProperty(this, _visible , "0");
} else if (/:havebomb == 1) {
setProperty(this, _visible , "1");
}
}
onClipEvent (enterFrame) {
if (/:havebomb == 0) {
setProperty(this, _visible , "0");
} else if (/:havebomb == 1) {
setProperty(this, _visible , "1");
}
}
Symbol 525 MovieClip Frame 5
Set("/:arrowx", 1);
Set("/:arrowy", 1);
Set("/:maxarrowy", 8);
Instance of Symbol 514 MovieClip in Symbol 525 MovieClip Frame 5
onClipEvent (load) {
if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
onClipEvent (enterFrame) {
if (/:badlifevisible == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
Instance of Symbol 514 MovieClip in Symbol 525 MovieClip Frame 5
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
onClipEvent (enterFrame) {
if (/:mainmenuclear == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
Instance of Symbol 514 MovieClip in Symbol 525 MovieClip Frame 5
onClipEvent (load) {
if (/:loop1 == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
onClipEvent (enterFrame) {
if (/:loop1 == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
Instance of Symbol 514 MovieClip in Symbol 525 MovieClip Frame 5
onClipEvent (load) {
if (/:loop2 == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
onClipEvent (enterFrame) {
if (/:loop2 == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
Instance of Symbol 514 MovieClip in Symbol 525 MovieClip Frame 5
onClipEvent (load) {
if (/:loop3 == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
onClipEvent (enterFrame) {
if (/:loop3 == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
Instance of Symbol 514 MovieClip in Symbol 525 MovieClip Frame 5
onClipEvent (load) {
if (/:loop4 == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
onClipEvent (enterFrame) {
if (/:loop4 == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
Instance of Symbol 514 MovieClip in Symbol 525 MovieClip Frame 5
onClipEvent (load) {
if (/:loop5 == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
onClipEvent (enterFrame) {
if (/:loop5 == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
Instance of Symbol 514 MovieClip in Symbol 525 MovieClip Frame 5
onClipEvent (load) {
if (/:hintson == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
onClipEvent (enterFrame) {
if (/:hintson == 1) {
setProperty(this, _visible , 1);
} else {
setProperty(this, _visible , 0);
}
}
Symbol 528 Button
on (keyPress "m") {
if ((_root.mainmenu._currentframe == 1) and (/:pause == 0)) {
Set("/:pause", 1);
z = 0;
tellTarget ("_root.bad" add z) {
stop();
z = z + 1;
};
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
} else if (_root.mainmenu._currentframe == 31) {
tellTarget ("_root.mainmenu") {
gotoAndPlay (31);
};
}
}
Symbol 529 MovieClip Frame 1
stop();
Symbol 529 MovieClip Frame 2
/:mainmusic.setVolume(25);
trace(/:kills);
Symbol 529 MovieClip Frame 31
stop();
Set("/:arrowx", 1);
Set("/:arrowy", 1);
Symbol 529 MovieClip Frame 61
Set("/:pause", 0);
/:playall();
/:mainmusic.setVolume(100);
gotoAndStop (1);
Symbol 530 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (note1.hitTest(you) eq "true") {
message = "Press 'm' to access menu";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (note2.hitTest(you) eq "true") {
message = "Go to 'Options' sub-menu for music";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 531 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (898);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (894);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (894);
}
gotcoin();
badhit_left();
}
}
}
Symbol 535 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 536 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (893);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (903);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (895);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (908);
}
gotcoin();
badhit_left();
}
}
}
Symbol 540 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button.hitTest(you) eq "true") and (puzzleroom3 == 0)) {
puzzleroom3 = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 541 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("you", _x) == getProperty("yellowkey", _x)) and (getProperty("you", _y) == getProperty("yellowkey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
yellowkey = "1";
setProperty("yellowkey", _x , -1000);
message = "You found the yellow key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (894);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("you", _x) == getProperty("yellowkey", _x)) and (getProperty("you", _y) == getProperty("yellowkey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
yellowkey = "1";
setProperty("yellowkey", _x , -1000);
message = "You found the yellow key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (902);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("you", _x) == getProperty("yellowkey", _x)) and (getProperty("you", _y) == getProperty("yellowkey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
yellowkey = "1";
setProperty("yellowkey", _x , -1000);
message = "You found the yellow key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (896);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("yellowkey", _x)) and (getProperty("you", _y) == getProperty("yellowkey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
yellowkey = "1";
setProperty("yellowkey", _x , -1000);
message = "You found the yellow key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 546 MovieClip Frame 1
stop();
Symbol 546 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 546 MovieClip Frame 60
Set("/:pause", 0);
/:playall();
/:mainmusic.setVolume(100);
stop();
Symbol 548 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button.hitTest(you) eq "true") and (puzzleroom4b == 0)) {
puzzleroom4b = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.block2") {
gotoAndPlay (1);
};
} else if ((((you._x == 250) and (you._y == 170)) and (you._currentframe == 2)) and (/:puzzleroom4 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 549 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "1";
gotoAndStop (897);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (895);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "2";
gotoAndStop (897);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (898);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "3";
gotoAndStop (897);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "4";
gotoAndStop (897);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (918);
}
gotcoin();
badhit_left();
}
}
}
Symbol 569 MovieClip Frame 1
stop();
Symbol 569 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 569 MovieClip Frame 21
/:mainmusic.setVolume(100);
Set("/:pause", 0);
/:playall();
setProperty(this, _x , -1000);
stop();
Symbol 570 MovieClip Frame 1
stop();
Symbol 570 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 570 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Instance of Symbol 218 MovieClip "block" in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (enterFrame) {
if ((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) {
Set((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation, 1);
setProperty(this, _x , -1000);
}
}
Symbol 572 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 573 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "1";
gotoAndStop (896);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "2";
gotoAndStop (896);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "3";
gotoAndStop (896);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("whitekey2", _x)) and (getProperty("you", _y) == getProperty("whitekey2", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
whitekey2 = "1";
setProperty("whitekey2", _x , -1000);
message = "You found the 2nd half of the white key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "4";
gotoAndStop (896);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 578 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 250) and (you._y == 230)) and (you._currentframe == 2)) and (/:puzzleroom5 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 579 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (899);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (928);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (896);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 269 MovieClip "block1" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block2" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block3" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block4" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block5" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Symbol 583 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 150) and (you._y == 90)) and (you._currentframe == 1)) and (/:puzzleroom6b == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button.hitTest(you) eq "true") and (puzzleroom6b == 0)) {
puzzleroom6b = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 584 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (900);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (898);
}
gotcoin();
badhit_left();
}
}
}
Symbol 587 MovieClip Frame 1
stop();
Symbol 587 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 587 MovieClip Frame 30
/:mainmusic.setVolume(100);
Set("/:pause", 0);
/:playall();
stop();
Symbol 588 MovieClip Frame 1
stop();
Symbol 588 MovieClip Frame 30
Set("/:pause", 0);
stop();
Symbol 589 MovieClip Frame 1
stop();
Symbol 589 MovieClip Frame 30
Set("/:pause", 0);
stop();
Symbol 590 MovieClip Frame 1
stop();
Symbol 590 MovieClip Frame 30
Set("/:pause", 0);
stop();
Symbol 592 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 593 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (899);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (902);
}
gotcoin();
badhit_left();
}
}
}
Symbol 597 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button1.hitTest(you) eq "true") and (puzzleroom8a == 0)) {
puzzleroom8a = 1;
pause = 1;
stopall();
if (magicbutton == 1) {
puzzleroom8b = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall4") {
gotoAndPlay (30);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (30);
};
} else {
puzzleroom8c = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
}
} else if ((button2.hitTest(you) eq "true") and (puzzleroom8a == 0)) {
puzzleroom8a = 1;
pause = 1;
stopall();
if (magicbutton == 2) {
puzzleroom8b = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall4") {
gotoAndPlay (30);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (30);
};
} else {
puzzleroom8c = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
}
} else if ((button3.hitTest(you) eq "true") and (puzzleroom8a == 0)) {
puzzleroom8a = 1;
pause = 1;
stopall();
if (magicbutton == 3) {
puzzleroom8b = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall4") {
gotoAndPlay (30);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (30);
};
} else {
puzzleroom8c = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
}
}
}
}
Symbol 598 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (puzzleroom8 == 0) {
stopall();
pause = 1;
puzzleroom8 = 1;
tellTarget ("_root.wall.wall4") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (1);
};
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (900);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (puzzleroom8 == 0) {
stopall();
pause = 1;
puzzleroom8 = 1;
tellTarget ("_root.wall.wall4") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (1);
};
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (895);
}
gotcoin();
badhit_left();
}
}
}
Symbol 601 MovieClip Frame 1
stop();
Symbol 601 MovieClip Frame 60
Set("/:pause", 0);
/:playall();
stop();
if (/:puzzleroom8b == 1) {
z = 0;
while (z < 7) {
tellTarget ("_root.bad" add z) {
gotoAndPlay (38);
};
z = z + 1;
}
}
Symbol 601 MovieClip Frame 61
stop();
Symbol 602 MovieClip Frame 1
stop();
Symbol 602 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 602 MovieClip Frame 60
/:mainmusic.setVolume(100);
Set("/:pause", 0);
stop();
Symbol 603 MovieClip Frame 1
stop();
Symbol 603 MovieClip Frame 30
Set("/:pause", 0);
/:playall();
stop();
Symbol 603 MovieClip Frame 60
if (/:puzzleroom8c == 1) {
Set("/:pause", 0);
/:playall();
}
stop();
Symbol 604 MovieClip Frame 1
stop();
Symbol 604 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 604 MovieClip Frame 30
/:mainmusic.setVolume(100);
stop();
Symbol 604 MovieClip Frame 31
/:mainmusic.setVolume(25);
Symbol 604 MovieClip Frame 60
/:mainmusic.setVolume(100);
stop();
Symbol 606 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button1.hitTest(you) eq "true") and (puzzleroom8a == 0)) {
puzzleroom8a = 1;
pause = 1;
stopall();
if (magicbutton == 1) {
puzzleroom8b = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall4") {
gotoAndPlay (30);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (30);
};
} else {
puzzleroom8c = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
}
} else if ((button2.hitTest(you) eq "true") and (puzzleroom8a == 0)) {
puzzleroom8a = 1;
pause = 1;
stopall();
if (magicbutton == 2) {
puzzleroom8b = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall4") {
gotoAndPlay (30);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (30);
};
} else {
puzzleroom8c = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
}
} else if ((button3.hitTest(you) eq "true") and (puzzleroom8a == 0)) {
puzzleroom8a = 1;
pause = 1;
stopall();
if (magicbutton == 3) {
puzzleroom8b = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall4") {
gotoAndPlay (30);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (30);
};
} else {
puzzleroom8c = 1;
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
}
}
}
}
Symbol 607 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (900);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (895);
}
gotcoin();
badhit_left();
}
}
}
Symbol 612 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((red.hitTest(you._x + 20, you._y, true) eq "true") and (/:d == 2)) {
message = "This red door is locked";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 613 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (904);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("you", _x) == getProperty("red", _x)) and (getProperty("you", _y) == getProperty("red", _y))) {
if (redkey == 1) {
setProperty("you", _x , getProperty(you, _x) - 20);
reddoor = 1;
pause = 1;
stopall();
tellTarget ("red") {
gotoAndPlay (1);
};
} else if (redkey == 0) {
setProperty("you", _x , getProperty("you", _x) - 20);
}
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (925);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (894);
}
gotcoin();
badhit_left();
}
}
}
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 627 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
Symbol 628 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 629 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "1";
gotoAndStop (953);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (905);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "2";
gotoAndStop (953);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (907);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "3";
gotoAndStop (953);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (903);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "4";
gotoAndStop (953);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 633 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((yellow.hitTest(you._x - 20, you._y, true) eq "true") and (/:d == 4)) {
message = "This yellow door is locked";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 634 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (904);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("yellow", _x)) and (getProperty("you", _y) == getProperty("yellow", _y))) {
if (yellowkey == 1) {
setProperty("you", _x , getProperty(you, _x) + 20);
yellowdoor = 1;
pause = 1;
stopall();
tellTarget ("yellow") {
gotoAndPlay (1);
};
} else if (yellowkey == 0) {
setProperty("you", _x , getProperty("you", _x) + 20);
}
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (906);
}
gotcoin();
badhit_left();
}
}
}
Symbol 648 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 648 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
Symbol 649 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 650 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("you", _x) == getProperty("push", _x)) and (getProperty("you", _y) == getProperty("push", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
push = "1";
setProperty("push", _x , -1000);
message = "You found \"Push Power\"";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("you", _x) == getProperty("push", _x)) and (getProperty("you", _y) == getProperty("push", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
push = "1";
setProperty("push", _x , -1000);
message = "You found \"Push Power\"";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (905);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("you", _x) == getProperty("push", _x)) and (getProperty("you", _y) == getProperty("push", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
push = "1";
setProperty("push", _x , -1000);
message = "You found \"Push Power\"";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("push", _x)) and (getProperty("you", _y) == getProperty("push", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
push = "1";
setProperty("push", _x , -1000);
message = "You found \"Push Power\"";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 654 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 655 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (926);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (925);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (904);
}
gotcoin();
badhit_left();
}
}
}
Symbol 659 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((steel.hitTest(you._x, you._y - 20, true) eq "true") and (/:d == 1)) {
pause = 1;
stopall();
message2.code = "";
tellTarget ("message2") {
gotoAndStop (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 660 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("you", _x) == getProperty("steel", _x)) and (getProperty("you", _y) == (getProperty("steel", _y) - 2.5))) {
setProperty("you", _y , getProperty(you, _y) + 20);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (924);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (894);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (909);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 661 Button
on (keyPress "x") {
usemagic();
if (message2._currentframe == 2) {
pause = 0;
if ((message2.code == /:code) and (codefound == 1)) {
puzzleroom14 = 1;
tellTarget ("_root.steel") {
gotoAndPlay (2);
};
message = "Access granted";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else {
message = "Incorrect password";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
Set("/:pause", 0);
/:playall();
}
}
tellTarget ("_root.message2") {
gotoAndStop (1);
};
/:mainmusic.setVolume(100);
}
Symbol 670 MovieClip Frame 1
stop();
Symbol 670 MovieClip Frame 2
Selection.setFocus(codetext);
codetext.restrict = "0-9";
/:mainmusic.setVolume(25);
stop();
Symbol 671 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 672 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (908);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (910);
}
gotcoin();
badhit_left();
}
}
}
Symbol 676 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 677 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
a = "1";
gotoAndStop (911);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
a = "2";
gotoAndStop (911);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (909);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
a = "3";
gotoAndStop (911);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "4";
gotoAndStop (911);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 681 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 682 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "1";
gotoAndStop (910);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (912);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "2";
gotoAndStop (910);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (913);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "3";
gotoAndStop (910);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "4";
gotoAndStop (910);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 686 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 687 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (917);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (911);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (946);
}
gotcoin();
badhit_left();
}
}
}
Symbol 692 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((white.hitTest(you._x, you._y + 20, true) eq "true") and (/:d == 3)) {
message = "This white door is firmly locked";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 210) and (you._y == 90)) and (you._currentframe == 1)) and (/:puzzleroom19 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 693 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (915);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("you", _x) == getProperty("white", _x)) and (getProperty("you", _y) == getProperty("white", _y))) {
if ((whitekey == 1) and (whitekey2 == 1)) {
setProperty("you", _y , getProperty(you, _y) - 20);
whitedoor = 1;
pause = 1;
stopall();
tellTarget ("white") {
gotoAndPlay (1);
};
} else if ((whitekey == 0) or (whitekey2 == 0)) {
setProperty("you", _y , getProperty("you", _y) - 20);
}
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (914);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (911);
}
gotcoin();
badhit_left();
}
}
}
Symbol 704 MovieClip Frame 1
stop();
Symbol 704 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 704 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
Symbol 705 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 706 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("you", _x) == getProperty("bookitem", _x)) and (getProperty("you", _y) == getProperty("bookitem", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
book = "1";
setProperty("bookitem", _x , -1000);
message = "You found the enemy stats book";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (913);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("you", _x) == getProperty("bookitem", _x)) and (getProperty("you", _y) == getProperty("bookitem", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
book = "1";
setProperty("bookitem", _x , -1000);
message = "You found the enemy stats book";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("you", _x) == getProperty("bookitem", _x)) and (getProperty("you", _y) == getProperty("bookitem", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
book = "1";
setProperty("bookitem", _x , -1000);
message = "You found the enemy stats book";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("bookitem", _x)) and (getProperty("you", _y) == getProperty("bookitem", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
book = "1";
setProperty("bookitem", _x , -1000);
message = "You found the enemy stats book";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 710 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 70) and (you._y == 90)) and (you._currentframe == 1)) and (/:puzzleroom20 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button.hitTest(you) eq "true") and (puzzleroom20 == 0)) {
puzzleroom20 = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 711 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (916);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (921);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (913);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 715 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (button.hitTest(you) eq "true") {
setProperty("block1", _x , 70);
setProperty("block1", _y , 110);
if (wall.wall1._currentframe == 60) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (61);
};
}
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 716 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
if ((tile.hittest(you) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
} else if (((tile.hittest(you) ne "true") and (tile.hittest(you._x, you._y + 20, true) eq "true")) and (wall.wall1._currentframe == 60)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (61);
};
}
if ((tile.hittest(block1) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (919);
}
gotcoin();
badhit_right();
if ((tile.hittest(you) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
} else if (((tile.hittest(you) ne "true") and (tile.hittest(you._x - 20, you._y, true) eq "true")) and (wall.wall1._currentframe == 60)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (61);
};
}
if ((tile.hittest(block1) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (915);
}
gotcoin();
badhit_down();
if ((tile.hittest(you) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
} else if (((tile.hittest(you) ne "true") and (tile.hittest(you._x, you._y - 20, true) eq "true")) and (wall.wall1._currentframe == 60)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (61);
};
}
if ((tile.hittest(block1) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((tile.hittest(you) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
} else if (((tile.hittest(you) ne "true") and (tile.hittest(you._x + 20, you._y, true) eq "true")) and (wall.wall1._currentframe == 60)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (61);
};
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
if ((tile.hittest(block1) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
}
}
}
Symbol 719 MovieClip Frame 1
stop();
Symbol 719 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 719 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 719 MovieClip Frame 61
/:mainmusic.setVolume(25);
Symbol 719 MovieClip Frame 120
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
Symbol 720 MovieClip Frame 1
stop();
Symbol 720 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 720 MovieClip Frame 30
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 722 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (button1.hitTest(you) eq "true") {
if (mapbought == 0) {
if (coins >= 50) {
s = new Sound();
s.attachSound("loaded");
s.start();
coins = coins - 50;
map = 1;
mapbought = 1;
message = "You bought the map";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else {
s = new Sound();
s.attachSound("wrong");
s.start();
message = "You don't have enough coins";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
}
} else if (button2.hitTest(you) eq "true") {
if (orangekeybought == 0) {
if (blankkey == 1) {
if (coins >= 50) {
s = new Sound();
s.attachSound("loaded");
s.start();
coins = coins - 50;
orangekey = 1;
orangekeybought = 1;
message = "You bought the orange key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (coins < 50) {
s = new Sound();
s.attachSound("wrong");
s.start();
message = "You don't have enough coins";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
} else if (blankkey == 0) {
s = new Sound();
s.attachSound("wrong");
s.start();
message = "You need the blank key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
}
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 723 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (912);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 728 MovieClip Frame 1
stop();
Symbol 731 MovieClip Frame 1
stop();
Symbol 740 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 150) and (you._y == 250)) and (you._currentframe == 3)) and (/:puzzleroom23b == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button2.hitTest(you) eq "true") and (puzzleroom23b == 0)) {
puzzleroom23b = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.door") {
gotoAndPlay (1);
};
} else if (button.hitTest(you) eq "true") {
if (puzzleroom23a == 0) {
puzzleroom23a = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall4") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall5") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall6") {
gotoAndPlay (1);
};
} else if (puzzleroom23a == 1) {
puzzleroom23a = 0;
pause = 1;
stopall();
tellTarget ("_root.wall.wall1") {
gotoAndPlay (31);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (31);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (31);
};
tellTarget ("_root.wall.wall4") {
gotoAndPlay (31);
};
tellTarget ("_root.wall.wall5") {
gotoAndPlay (31);
};
tellTarget ("_root.wall.wall6") {
gotoAndPlay (31);
};
}
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 741 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (896);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (932);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 744 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 30
Set("/:pause", 0);
/:playall();
stop();
Symbol 744 MovieClip Frame 60
Set("/:pause", 0);
/:playall();
gotoAndStop (1);
Symbol 745 MovieClip Frame 1
stop();
Symbol 745 MovieClip Frame 30
stop();
Symbol 745 MovieClip Frame 60
gotoAndStop (1);
Symbol 746 MovieClip Frame 1
stop();
Symbol 746 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 746 MovieClip Frame 30
/:mainmusic.setVolume(100);
stop();
Symbol 746 MovieClip Frame 31
/:mainmusic.setVolume(25);
Symbol 746 MovieClip Frame 60
/:mainmusic.setVolume(100);
gotoAndStop (1);
Symbol 747 MovieClip Frame 1
stop();
Symbol 747 MovieClip Frame 30
stop();
Symbol 747 MovieClip Frame 60
gotoAndStop (1);
Symbol 748 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 30
stop();
Symbol 748 MovieClip Frame 60
gotoAndStop (1);
Symbol 749 MovieClip Frame 1
stop();
Symbol 749 MovieClip Frame 30
stop();
Symbol 749 MovieClip Frame 60
gotoAndStop (1);
Symbol 751 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 250) and (you._y == 170)) and (you._currentframe == 2)) and (/:puzzleroom24 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button.hitTest(you) eq "true") and (puzzleroom24 == 0)) {
puzzleroom24 = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 752 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (920);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (916);
}
gotcoin();
badhit_left();
}
}
}
Symbol 756 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (note.hitTest(you) eq "true") {
if (snakekilled == 0) {
message = "Beware";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 757 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (922);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (919);
}
gotcoin();
badhit_left();
}
}
}
Symbol 761 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 762 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (915);
}
gotcoin();
badhit_left();
}
}
}
Symbol 774 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 50) and (you._y == 170)) and (you._currentframe == 4)) and (/:snakekilled == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 250) and (you._y == 170)) and (you._currentframe == 2)) and (/:snakekilled == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 775 Button
on (keyPress "z") {
if (_root.t._currentframe == 1) {
usebomb();
}
}
Symbol 776 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("you", _x) == 250) and (puzzleroom27b == 0)) {
tellTarget ("bossintro") {
gotoAndPlay (2);
};
pause = 1;
stopall();
}
if ((you._x == 50) and (puzzleroom27a == 0)) {
puzzleroom27a = 1;
pause = 1;
tellTarget ("wall.wall") {
gotoAndPlay (1);
};
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (923);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (920);
}
gotcoin();
badhit_left();
}
}
}
Symbol 789 MovieClip Frame 1
stop();
Symbol 789 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 789 MovieClip Frame 21
/:mainmusic.setVolume(100);
if (/:currentlocation != 65) {
Set("/:pause", 0);
/:playall();
}
stop();
Instance of Symbol 569 MovieClip "wall1" in Symbol 790 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _visible , 0);
}
Instance of Symbol 569 MovieClip "wall2" in Symbol 790 MovieClip Frame 1
onClipEvent (load) {
if (/:snakekilled == 1) {
setProperty(this, _x , -1000);
}
}
Symbol 793 MovieClip Frame 1
stop();
Symbol 793 MovieClip Frame 21
stop();
/:playall();
Set("/:pause", 0);
Symbol 796 MovieClip Frame 1
stop();
Symbol 796 MovieClip Frame 21
stop();
/:playall();
Set("/:pause", 0);
Symbol 799 MovieClip Frame 1
stop();
Symbol 799 MovieClip Frame 21
stop();
/:playall();
Set("/:pause", 0);
Symbol 802 MovieClip Frame 1
stop();
Symbol 802 MovieClip Frame 21
stop();
/:playall();
Set("/:pause", 0);
Symbol 811 MovieClip Frame 1
stop();
Symbol 811 MovieClip Frame 6
if ((this.hittest(_root.you) eq "true") and (getProperty(_root.you, _currentframe) < 5)) {
Set("/:life", /:life - 15);
/:youhit();
}
Symbol 811 MovieClip Frame 20
if (/:snakeatebomb == 1) {
setProperty("_root.bomb", _x , -1000);
}
Instance of Symbol 810 MovieClip in Symbol 811 MovieClip Frame 20
onClipEvent (load) {
if (/:snakeatebomb == 0) {
setProperty(this, _visible , 0);
}
}
Symbol 811 MovieClip Frame 24
if (/:snakeatebomb == 1) {
s = new Sound();
s.attachSound("gulp");
s.start();
}
Symbol 811 MovieClip Frame 25
if (/:snakeatebomb == 1) {
Set("/:bombset", 0);
}
Set("/:snakeatebomb", 0);
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
Symbol 819 MovieClip Frame 1
stop();
Symbol 819 MovieClip Frame 16
if (/:snakelife > 0) {
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
}
Symbol 819 MovieClip Frame 17
tellTarget ("_root.bomb") {
play();
};
Symbol 819 MovieClip Frame 74
stopAllSounds();
setProperty("_root.health", _visible , 0);
Symbol 819 MovieClip Frame 75
tellTarget ("_root.snake0") {
gotoAndStop (11);
};
setProperty("_root.wall.wall", _x , -1000);
setProperty("_root.wall.wall1", _visible , 1);
Set("/:snakekilled", 1);
tellTarget ("_root.wall.wall1") {
gotoAndPlay (2);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (2);
};
setProperty("_root.snake0", _x , -1000);
if (/:musicon == 1) {
if (/:loop1 == 1) {
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("Lush Loop");
/:mainmusic.start(0, 999);
} else if (/:loop2 == 1) {
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG5437");
/:mainmusic.start(0, 999);
} else if (/:loop3 == 1) {
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG1613");
/:mainmusic.start(0, 999);
} else if (/:loop4 == 1) {
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG9991");
/:mainmusic.start(0, 999);
} else if (/:loop5 == 1) {
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG6298");
/:mainmusic.start(0, 999);
}
}
stop();
Symbol 820 MovieClip Frame 2
if ((/:puzzleroom27b == 0) or (/:snakekilled == 1)) {
gotoAndPlay (1);
}
Symbol 820 MovieClip Frame 4
if (getProperty(this, _y) < getProperty("_root.you", _y)) {
if (_root.wall.hittest(this._x, this._y + 20, true) ne "true") {
setProperty(this, _rotation , 0);
snake4x = _root.snake4._x;
snake4y = _root.snake4._y;
setProperty(_root.snake4, _x , _root.snake3._x);
setProperty(_root.snake4, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake2._x);
setProperty(_root.snake3, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake1._x);
setProperty(_root.snake2, _y , _root.snake1._y);
setProperty(_root.snake1, _x , this._x);
setProperty(_root.snake1, _y , this._y);
setProperty(this, _y , getProperty(this, _y) + 20);
if ((((_root.bomb._x == this._x) and (_root.bomb._y == (this._y + 40))) and (_root.bomb._currentframe == 1)) and (_root.wall.hittest(this._x, this._y + 20, true) ne "true")) {
Set("/:pause", 1);
/:stopall();
Set("/:snakeatebomb", 1);
setProperty(_root.t, _x , this._x);
setProperty(_root.t, _y , this._y + 30);
setProperty(_root.t, _rotation , 0);
tellTarget ("_root.t") {
gotoAndPlay (2);
};
}
if ((((_root.you._x == this._x) and (_root.you._y == (this._y + 40))) and (_root.bomb._currentframe == 1)) and (_root.wall.hittest(this._x, this._y + 20, true) ne "true")) {
Set("/:pause", 1);
/:stopall();
setProperty(_root.t, _x , this._x);
setProperty(_root.t, _y , this._y + 30);
setProperty(_root.t, _rotation , 0);
tellTarget ("_root.t") {
gotoAndPlay (2);
};
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty(this, _y , getProperty(this, _y) - 20);
setProperty(this, _x , _root.snake1._x);
setProperty(this, _y , _root.snake1._y);
setProperty(_root.snake1, _x , _root.snake2._x);
setProperty(_root.snake1, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake3._x);
setProperty(_root.snake2, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake4._x);
setProperty(_root.snake3, _y , _root.snake4._y);
setProperty(_root.snake4, _x , snake4x);
setProperty(_root.snake4, _y , snake4y);
}
} else {
gotoAndPlay (6);
}
} else if (getProperty(this, _y) > getProperty("_root.you", _y)) {
if (_root.wall.hittest(this._x, this._y - 20, true) ne "true") {
setProperty(this, _rotation , 180);
snake4x = _root.snake4._x;
snake4y = _root.snake4._y;
setProperty(_root.snake4, _x , _root.snake3._x);
setProperty(_root.snake4, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake2._x);
setProperty(_root.snake3, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake1._x);
setProperty(_root.snake2, _y , _root.snake1._y);
setProperty(_root.snake1, _x , this._x);
setProperty(_root.snake1, _y , this._y);
setProperty(this, _y , getProperty(this, _y) - 20);
if ((((_root.bomb._x == this._x) and (_root.bomb._y == (this._y - 40))) and (_root.bomb._currentframe == 1)) and (_root.wall.hittest(this._x, this._y - 20, true) ne "true")) {
Set("/:pause", 1);
/:stopall();
Set("/:snakeatebomb", 1);
setProperty(_root.t, _x , this._x);
setProperty(_root.t, _y , this._y - 30);
setProperty(_root.t, _rotation , 180);
tellTarget ("_root.t") {
gotoAndPlay (2);
};
}
if ((((_root.you._x == this._x) and (_root.you._y == (this._y - 40))) and (_root.bomb._currentframe == 1)) and (_root.wall.hittest(this._x, this._y - 20, true) ne "true")) {
Set("/:pause", 1);
/:stopall();
setProperty(_root.t, _x , this._x);
setProperty(_root.t, _y , this._y - 30);
setProperty(_root.t, _rotation , 180);
tellTarget ("_root.t") {
gotoAndPlay (2);
};
}
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty(this, _y , getProperty(this, _y) + 20);
setProperty(this, _x , _root.snake1._x);
setProperty(this, _y , _root.snake1._y);
setProperty(_root.snake1, _x , _root.snake2._x);
setProperty(_root.snake1, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake3._x);
setProperty(_root.snake2, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake4._x);
setProperty(_root.snake3, _y , _root.snake4._y);
setProperty(_root.snake4, _x , snake4x);
setProperty(_root.snake4, _y , snake4y);
}
} else {
gotoAndPlay (6);
}
} else if (getProperty(this, _y) == getProperty("_root.you", _y)) {
gotoAndPlay (6);
}
Symbol 820 MovieClip Frame 5
gotoAndPlay (1);
Symbol 820 MovieClip Frame 9
if (getProperty(this, _x) < getProperty("_root.you", _x)) {
if (_root.wall.hittest(this._x + 20, this._y, true) ne "true") {
setProperty(this, _rotation , 270);
snake4x = _root.snake4._x;
snake4y = _root.snake4._y;
setProperty(_root.snake4, _x , _root.snake3._x);
setProperty(_root.snake4, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake2._x);
setProperty(_root.snake3, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake1._x);
setProperty(_root.snake2, _y , _root.snake1._y);
setProperty(_root.snake1, _x , this._x);
setProperty(_root.snake1, _y , this._y);
setProperty(this, _x , getProperty(this, _x) + 20);
if ((((_root.bomb._x == (this._x + 40)) and (_root.bomb._y == this._y)) and (_root.bomb._currentframe == 1)) and (_root.wall.hittest(this._x + 20, this._y, true) ne "true")) {
Set("/:pause", 1);
/:stopall();
Set("/:snakeatebomb", 1);
setProperty(_root.t, _x , this._x + 30);
setProperty(_root.t, _y , this._y);
setProperty(_root.t, _rotation , 270);
tellTarget ("_root.t") {
gotoAndPlay (2);
};
}
if ((((_root.you._x == (this._x + 40)) and (_root.you._y == this._y)) and (_root.bomb._currentframe == 1)) and (_root.wall.hittest(this._x + 20, this._y, true) ne "true")) {
Set("/:pause", 1);
/:stopall();
setProperty(_root.t, _x , this._x + 30);
setProperty(_root.t, _y , this._y);
setProperty(_root.t, _rotation , 270);
tellTarget ("_root.t") {
gotoAndPlay (2);
};
}
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty(this, _x , getProperty(this, _x) - 20);
setProperty(this, _x , _root.snake1._x);
setProperty(this, _y , _root.snake1._y);
setProperty(_root.snake1, _x , _root.snake2._x);
setProperty(_root.snake1, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake3._x);
setProperty(_root.snake2, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake4._x);
setProperty(_root.snake3, _y , _root.snake4._y);
setProperty(_root.snake4, _x , snake4x);
setProperty(_root.snake4, _y , snake4y);
}
} else {
gotoAndPlay (1);
}
} else if (getProperty(this, _x) > getProperty("_root.you", _x)) {
if (_root.wall.hittest(this._x - 20, this._y, true) ne "true") {
setProperty(this, _rotation , 90);
snake4x = _root.snake4._x;
snake4y = _root.snake4._y;
setProperty(_root.snake4, _x , _root.snake3._x);
setProperty(_root.snake4, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake2._x);
setProperty(_root.snake3, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake1._x);
setProperty(_root.snake2, _y , _root.snake1._y);
setProperty(_root.snake1, _x , this._x);
setProperty(_root.snake1, _y , this._y);
setProperty(this, _x , getProperty(this, _x) - 20);
if ((((_root.bomb._x == (this._x - 40)) and (_root.bomb._y == this._y)) and (_root.bomb._currentframe == 1)) and (_root.wall.hittest(this._x - 20, this._y, true) ne "true")) {
Set("/:pause", 1);
/:stopall();
Set("/:snakeatebomb", 1);
setProperty(_root.t, _x , this._x - 30);
setProperty(_root.t, _y , this._y);
setProperty(_root.t, _rotation , 90);
tellTarget ("_root.t") {
gotoAndPlay (2);
};
}
if ((((_root.you._x == (this._x - 40)) and (_root.you._y == this._y)) and (_root.bomb._currentframe == 1)) and (_root.wall.hittest(this._x - 20, this._y, true) ne "true")) {
Set("/:pause", 1);
/:stopall();
setProperty(_root.t, _x , this._x - 30);
setProperty(_root.t, _y , this._y);
setProperty(_root.t, _rotation , 90);
tellTarget ("_root.t") {
gotoAndPlay (2);
};
}
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
z = z + 1;
}
z = 0;
while (z < 31) {
if (z != (substring(getProperty(this, _name), 4, 5))) {
if ((getProperty("_root.bad" add z, _x) == getProperty(this, _x)) and (getProperty("_root.bad" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty(this, _x , getProperty(this, _x) + 20);
setProperty(this, _x , _root.snake1._x);
setProperty(this, _y , _root.snake1._y);
setProperty(_root.snake1, _x , _root.snake2._x);
setProperty(_root.snake1, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake3._x);
setProperty(_root.snake2, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake4._x);
setProperty(_root.snake3, _y , _root.snake4._y);
setProperty(_root.snake4, _x , snake4x);
setProperty(_root.snake4, _y , snake4y);
}
} else {
gotoAndPlay (1);
}
} else if (getProperty(this, _x) == getProperty("_root.you", _x)) {
gotoAndPlay (1);
}
Symbol 820 MovieClip Frame 10
gotoAndPlay (6);
Symbol 820 MovieClip Frame 11
stop();
Symbol 826 MovieClip Frame 1
stop();
Symbol 826 MovieClip Frame 2
stopAllSounds();
Symbol 826 MovieClip Frame 3
if (/:musicon == 1) {
mainmusic = new Sound();
mainmusic.attachSound("NG11567");
mainmusic.start(0, 999);
}
Symbol 826 MovieClip Frame 68
setProperty("_root.health", _visible , 1);
Symbol 826 MovieClip Frame 88
setProperty(this, _x , -1000);
setProperty("_root.snake0", _x , 150);
setProperty("_root.snake1", _x , 150);
setProperty("_root.snake2", _x , 150);
setProperty("_root.snake3", _x , 150);
setProperty("_root.snake4", _x , 150);
Set("/:puzzleroom27b", 1);
Set("/:pause", 0);
/:playall();
stop();
Symbol 830 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (note.hitTest(you) eq "true") {
if (codefound == 0) {
code = random(8999) + 1001;
}
codefound = 1;
message = "Password: " add code;
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 831 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (922);
}
gotcoin();
badhit_left();
}
}
}
Symbol 835 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 836 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("you", _x) == getProperty("redkey", _x)) and (getProperty("you", _y) == getProperty("redkey", _y))) {
redkey = "1";
setProperty("redkey", _x , -1000);
message = "You found the red key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("you", _x) == getProperty("redkey", _x)) and (getProperty("you", _y) == getProperty("redkey", _y))) {
redkey = "1";
setProperty("redkey", _x , -1000);
message = "You found the red key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("you", _x) == getProperty("redkey", _x)) and (getProperty("you", _y) == getProperty("redkey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
redkey = "1";
setProperty("redkey", _x , -1000);
message = "You found the red key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (908);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("redkey", _x)) and (getProperty("you", _y) == getProperty("redkey", _y))) {
redkey = "1";
setProperty("redkey", _x , -1000);
message = "You found the red key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 841 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 150) and (you._y == 90)) and (you._currentframe == 1)) and (/:puzzleroom30 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 842 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (907);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (903);
}
gotcoin();
badhit_left();
}
}
}
Symbol 846 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 847 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((tile.hittest(you) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
} else if (((tile.hittest(you) ne "true") and (tile.hittest(you._x, you._y + 20, true) eq "true")) and (wall.wall1._currentframe == 60)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (61);
};
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
if ((tile.hittest(block1) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((tile.hittest(you) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
} else if (((tile.hittest(you) ne "true") and (tile.hittest(you._x - 20, you._y, true) eq "true")) and (wall.wall1._currentframe == 60)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (61);
};
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (927);
}
gotcoin();
badhit_right();
if ((tile.hittest(block1) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((tile.hittest(you) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
} else if (((tile.hittest(you) ne "true") and (tile.hittest(you._x, you._y - 20, true) eq "true")) and (wall.wall1._currentframe == 60)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (61);
};
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
if ((tile.hittest(block1) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((tile.hittest(you) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
} else if (((tile.hittest(you) ne "true") and (tile.hittest(you._x + 20, you._y, true) eq "true")) and (wall.wall1._currentframe == 60)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (61);
};
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (907);
}
gotcoin();
badhit_left();
if ((tile.hittest(block1) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
}
}
}
Symbol 850 MovieClip Frame 1
stop();
Symbol 850 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 850 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Instance of Symbol 269 MovieClip "block3" in Symbol 851 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Symbol 852 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 853 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("you", _x) == getProperty("sb", _x)) and (getProperty("you", _y) == getProperty("sb", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
havesuperbomb = "1";
setProperty("sb", _x , -1000);
message = "You found the super bomb";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("you", _x) == getProperty("sb", _x)) and (getProperty("you", _y) == getProperty("sb", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
havesuperbomb = "1";
setProperty("sb", _x , -1000);
message = "You found the super bomb";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("you", _x) == getProperty("sb", _x)) and (getProperty("you", _y) == getProperty("sb", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
havesuperbomb = "1";
setProperty("sb", _x , -1000);
message = "You found the super bomb";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("sb", _x)) and (getProperty("you", _y) == getProperty("sb", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
havesuperbomb = "1";
setProperty("sb", _x , -1000);
message = "You found the super bomb";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (926);
}
gotcoin();
badhit_left();
}
}
}
Symbol 858 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((green.hitTest(you._x + 20, you._y, true) eq "true") and (/:d == 2)) {
message = "This green door is locked";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 50) and (you._y == 170)) and (you._currentframe == 4)) and (/:puzzleroom33 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 859 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (898);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("you", _x) == getProperty("green", _x)) and (getProperty("you", _y) == getProperty("green", _y))) {
if (greenkey == 1) {
setProperty("you", _x , getProperty(you, _x) - 20);
greendoor = 1;
pause = 1;
stopall();
tellTarget ("green") {
gotoAndPlay (1);
};
} else if (greenkey == 0) {
setProperty("you", _x , getProperty("you", _x) - 20);
}
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (965);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (929);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (929);
}
gotcoin();
badhit_left();
}
}
}
Symbol 870 MovieClip Frame 1
stop();
Symbol 870 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 870 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
Symbol 871 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 872 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (928);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (928);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (930);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 269 MovieClip "block2" in Symbol 875 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block3" in Symbol 875 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block4" in Symbol 875 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block1" in Symbol 875 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Symbol 876 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 877 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (929);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (934);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (931);
}
gotcoin();
badhit_left();
}
}
}
Symbol 882 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 883 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (932);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (930);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (933);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 888 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((orange.hitTest(you._x - 20, you._y, true) eq "true") and (/:d == 4)) {
message = "This orange door is locked";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 889 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("you", _x) == getProperty("greenkey", _x)) and (getProperty("you", _y) == getProperty("greenkey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
greenkey = "1";
setProperty("greenkey", _x , -1000);
message = "You found the green key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (918);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("you", _x) == getProperty("greenkey", _x)) and (getProperty("you", _y) == getProperty("greenkey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
greenkey = "1";
setProperty("greenkey", _x , -1000);
message = "You found the green key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("you", _x) == getProperty("greenkey", _x)) and (getProperty("you", _y) == getProperty("greenkey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
greenkey = "1";
setProperty("greenkey", _x , -1000);
message = "You found the green key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (931);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("orange", _x)) and (getProperty("you", _y) == getProperty("orange", _y))) {
if (orangekey == 1) {
setProperty("you", _x , getProperty(you, _x) + 20);
orangedoor = 1;
pause = 1;
stopall();
tellTarget ("orange") {
gotoAndPlay (1);
};
} else if (orangekey == 0) {
setProperty("you", _x , getProperty("you", _x) + 20);
}
}
if ((getProperty("you", _x) == getProperty("greenkey", _x)) and (getProperty("you", _y) == getProperty("greenkey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
greenkey = "1";
setProperty("greenkey", _x , -1000);
message = "You found the green key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (969);
}
gotcoin();
badhit_left();
}
}
}
Symbol 902 MovieClip Frame 1
stop();
Symbol 902 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 902 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
Symbol 903 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 904 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (931);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (934);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (939);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 909 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button.hitTest(you) eq "true") and (puzzleroom39 == 0)) {
puzzleroom39 = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 910 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (930);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (935);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("you", _x) == getProperty("bluekey", _x)) and (getProperty("you", _y) == getProperty("bluekey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
bluekey = "1";
setProperty("bluekey", _x , -1000);
message = "You found the blue key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("bluekey", _x)) and (getProperty("you", _y) == getProperty("bluekey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
bluekey = "1";
setProperty("bluekey", _x , -1000);
message = "You found the blue key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (933);
}
gotcoin();
badhit_left();
}
}
}
Symbol 916 MovieClip Frame 1
stop();
Symbol 916 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 916 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 917 MovieClip Frame 1
stop();
Symbol 917 MovieClip Frame 60
/:playall();
Set("/:pause", 0);
stop();
Symbol 919 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 250) and (you._y == 170)) and (you._currentframe == 2)) and (/:puzzleroom40 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 920 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (936);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (938);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (934);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 356 MovieClip "secret" in Symbol 924 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (enterFrame) {
if ((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) {
Set((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation, 1);
setProperty(this, _x , -1000);
}
}
Symbol 925 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 926 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (937);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (935);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 930 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 931 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("you", _x) == getProperty("whitekey", _x)) and (getProperty("you", _y) == getProperty("whitekey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
whitekey = "1";
setProperty("whitekey", _x , -1000);
message = "You found the white key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("you", _x) == getProperty("whitekey", _x)) and (getProperty("you", _y) == getProperty("whitekey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
whitekey = "1";
setProperty("whitekey", _x , -1000);
message = "You found the 1st half of the white key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("you", _x) == getProperty("whitekey", _x)) and (getProperty("you", _y) == getProperty("whitekey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
whitekey = "1";
setProperty("whitekey", _x , -1000);
message = "You found the white key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("whitekey", _x)) and (getProperty("you", _y) == getProperty("whitekey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
whitekey = "1";
setProperty("whitekey", _x , -1000);
message = "You found the white key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (936);
}
gotcoin();
badhit_left();
}
}
}
Symbol 936 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 937 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (942);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (935);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 269 MovieClip "block1" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block2" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block3" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block4" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block5" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block6" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block7" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block8" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block9" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block10" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block11" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block12" in Symbol 941 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Symbol 942 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 943 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (933);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (940);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 948 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 949 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (941);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (939);
}
gotcoin();
badhit_left();
}
}
}
Symbol 954 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 955 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (944);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (940);
}
gotcoin();
badhit_left();
}
}
}
Symbol 960 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 961 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (938);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (945);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 966 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (button.hitTest(you) eq "true") {
setProperty("block1", _x , 230);
setProperty("block1", _y , 90);
setProperty("block2", _x , 210);
setProperty("block2", _y , 110);
setProperty("block3", _x , 70);
setProperty("block3", _y , 110);
setProperty("you", _x , 270);
setProperty("you", _y , 170);
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.wall1._currentframe == 60) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (61);
};
}
if (wall.wall2._currentframe == 60) {
pause = 1;
stopall();
tellTarget ("wall.wall2") {
gotoAndPlay (61);
};
}
if (wall.wall3._currentframe == 60) {
pause = 1;
stopall();
tellTarget ("wall.wall3") {
gotoAndPlay (61);
};
}
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 967 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((tile3.hittest(you) eq "true") and (wall.wall3._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall3") {
gotoAndPlay (1);
};
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((tile1.hittest(block1) ne "true") and (wall.wall1._currentframe == 60)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (61);
};
}
if (((tile2.hittest(block1) ne "true") and (wall.wall2._currentframe == 60)) and (block2.hittest(tile2) ne "true")) {
pause = 1;
stopall();
tellTarget ("wall.wall2") {
gotoAndPlay (61);
};
}
if ((tile3.hittest(you) eq "true") and (wall.wall3._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall3") {
gotoAndPlay (1);
};
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (944);
}
gotcoin();
badhit_right();
if ((tile3.hittest(block3) eq "true") and (wall.wall3._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall3") {
gotoAndPlay (1);
};
}
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((tile2.hittest(you) eq "true") and (wall.wall2._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall2") {
gotoAndPlay (1);
};
}
if (((tile3.hittest(you) ne "true") and (wall.wall3._currentframe == 60)) and (block3.hittest(tile3) ne "true")) {
pause = 1;
stopall();
tellTarget ("wall.wall3") {
gotoAndPlay (61);
};
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (947);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((tile1.hittest(you) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
if ((tile2.hittest(you) eq "true") and (wall.wall2._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall2") {
gotoAndPlay (1);
};
}
if (((tile3.hittest(you) ne "true") and (wall.wall3._currentframe == 60)) and (block3.hittest(tile3) ne "true")) {
pause = 1;
stopall();
tellTarget ("wall.wall3") {
gotoAndPlay (61);
};
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
if ((tile1.hittest(block1) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
if ((tile2.hittest(block2) eq "true") and (wall.wall2._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall2") {
gotoAndPlay (1);
};
}
}
}
}
Symbol 970 MovieClip Frame 1
stop();
Symbol 970 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 970 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 970 MovieClip Frame 61
/:mainmusic.setVolume(25);
Symbol 970 MovieClip Frame 120
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
Symbol 971 MovieClip Frame 1
stop();
Symbol 971 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 971 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 971 MovieClip Frame 61
/:mainmusic.setVolume(25);
Symbol 971 MovieClip Frame 120
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
Symbol 972 MovieClip Frame 1
stop();
Symbol 972 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 972 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 972 MovieClip Frame 61
/:mainmusic.setVolume(25);
Symbol 972 MovieClip Frame 120
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
Instance of Symbol 269 MovieClip "block1" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block2" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block3" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block4" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block5" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block6" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block7" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block8" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block9" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block10" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block11" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block12" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block13" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block14" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block16" in Symbol 973 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Symbol 974 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 975 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (941);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (945);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (943);
}
gotcoin();
badhit_left();
}
}
}
Symbol 980 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 981 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (942);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (944);
}
gotcoin();
badhit_left();
}
}
}
Symbol 986 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 987 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "1";
gotoAndStop (969);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "2";
gotoAndStop (969);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (912);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "3";
gotoAndStop (969);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "4";
gotoAndStop (969);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 992 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (note.hitTest(you) eq "true") {
message = "Bottomless Pit Warning!";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 993 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (943);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (948);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 999 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1000 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (947);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (949);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 269 MovieClip "block3" in Symbol 1005 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block2" in Symbol 1005 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block1" in Symbol 1005 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Symbol 1007 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1008 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (platform.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform") {
gotoAndStop (2);
};
setProperty("platform.you", _rotation , 0);
platform.dir = -2;
moveallowed = 1;
pause = 1;
stopall();
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (951);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (948);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (platform.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform") {
gotoAndStop (2);
};
setProperty("platform.you", _rotation , 180);
platform.dir = 2;
moveallowed = 1;
pause = 1;
stopall();
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (954);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (950);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1015 MovieClip Frame 1
stop();
Symbol 1015 MovieClip Frame 2
stop();
Instance of Symbol 269 MovieClip "block3" in Symbol 1018 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block2" in Symbol 1018 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block1" in Symbol 1018 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Symbol 1019 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1020 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (platform2.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform2") {
gotoAndStop (2);
};
setProperty("platform2.you", _rotation , 0);
platform2.dir = -2;
moveallowed2 = 1;
pause = 1;
stopall();
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (platform.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform") {
gotoAndStop (2);
};
setProperty("platform.you", _rotation , 90);
platform.dir = 2;
moveallowed = 1;
pause = 1;
stopall();
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (949);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (platform2.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform2") {
gotoAndStop (2);
};
setProperty("platform2.you", _rotation , 180);
platform2.dir = 2;
moveallowed2 = 1;
pause = 1;
stopall();
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (952);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (platform.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform") {
gotoAndStop (2);
};
setProperty("platform.you", _rotation , 270);
platform.dir = -2;
moveallowed = 1;
pause = 1;
stopall();
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1026 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1027 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (platform.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform") {
gotoAndStop (2);
};
setProperty("platform.you", _rotation , 90);
platform.dir = 2;
moveallowed = 1;
pause = 1;
stopall();
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (949);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (platform.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform") {
gotoAndStop (2);
};
setProperty("platform.you", _rotation , 270);
platform.dir = -2;
moveallowed = 1;
pause = 1;
stopall();
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1033 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1034 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (950);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (953);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1039 MovieClip Frame 1
stop();
Symbol 1039 MovieClip Frame 15
if (this._name == "tile5") {
setProperty("_root.black.strip", _x , -15000);
Set("/:pause", 0);
/:mainmusic.setVolume(100);
}
stop();
Symbol 1041 MovieClip Frame 1
stop();
Symbol 1041 MovieClip Frame 7
tellTarget ("_root.tile1") {
gotoAndPlay (1);
};
Symbol 1041 MovieClip Frame 14
tellTarget ("_root.tile2") {
gotoAndPlay (1);
};
Symbol 1041 MovieClip Frame 21
tellTarget ("_root.tile3") {
gotoAndPlay (1);
};
Symbol 1041 MovieClip Frame 28
tellTarget ("_root.tile4") {
gotoAndPlay (1);
};
Symbol 1041 MovieClip Frame 35
tellTarget ("_root.tile5") {
gotoAndPlay (1);
};
stop();
Symbol 1045 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1046 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "1";
gotoAndStop (904);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (952);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "2";
gotoAndStop (904);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (957);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "3";
gotoAndStop (904);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "4";
gotoAndStop (904);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (953);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1052 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 250) and (you._y == 170)) and (you._currentframe == 2)) and (/:puzzleroom57 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1053 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (949);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (955);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1059 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1060 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (956);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (954);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 269 MovieClip "block1" in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block24" in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block3" in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block16" in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block11" in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block13" in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 269 MovieClip "block14" in Symbol 1065 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Symbol 1066 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button.hitTest(you) eq "true") and (puzzleroom59 == 0)) {
puzzleroom59 = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall3") {
gotoAndPlay (1);
};
tellTarget ("_root.wall.wall4") {
gotoAndPlay (1);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1067 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (960);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (959);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (955);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1072 MovieClip Frame 1
stop();
Symbol 1072 MovieClip Frame 60
/:playall();
Set("/:pause", 0);
stop();
Symbol 1073 MovieClip Frame 1
stop();
Symbol 1073 MovieClip Frame 60
/:playall();
Set("/:pause", 0);
stop();
Symbol 1074 MovieClip Frame 1
stop();
Symbol 1074 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1074 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 1075 MovieClip Frame 1
stop();
Symbol 1075 MovieClip Frame 60
/:playall();
Set("/:pause", 0);
stop();
Symbol 1077 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1078 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (platform2.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform2") {
gotoAndStop (2);
};
setProperty("platform2.you", _rotation , 0);
platform2.dir = -2;
moveallowed2 = 1;
pause = 1;
stopall();
}
if (platform3.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform3") {
gotoAndStop (2);
};
setProperty("platform3.you", _rotation , 0);
platform3.dir = -2;
moveallowed3 = 1;
pause = 1;
stopall();
}
if (platform5.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform5") {
gotoAndStop (2);
};
setProperty("platform5.you", _rotation , 0);
platform5.dir = -2;
moveallowed5 = 1;
pause = 1;
stopall();
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (platform.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform") {
gotoAndStop (2);
};
setProperty("platform.you", _rotation , 90);
platform.dir = 2;
moveallowed = 1;
pause = 1;
stopall();
}
if (platform4.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform4") {
gotoAndStop (2);
};
setProperty("platform4.you", _rotation , 90);
platform4.dir = 2;
moveallowed4 = 1;
pause = 1;
stopall();
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (958);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (platform2.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform2") {
gotoAndStop (2);
};
setProperty("platform2.you", _rotation , 180);
platform2.dir = 2;
moveallowed2 = 1;
pause = 1;
stopall();
}
if (platform3.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform3") {
gotoAndStop (2);
};
setProperty("platform3.you", _rotation , 180);
platform3.dir = 2;
moveallowed3 = 1;
pause = 1;
stopall();
}
if (platform5.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform5") {
gotoAndStop (2);
};
setProperty("platform5.you", _rotation , 180);
platform5.dir = 2;
moveallowed5 = 1;
pause = 1;
stopall();
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (platform.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform") {
gotoAndStop (2);
};
setProperty("platform.you", _rotation , 270);
platform.dir = -2;
moveallowed = 1;
pause = 1;
stopall();
}
if (platform4.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , -1000);
tellTarget ("platform4") {
gotoAndStop (2);
};
setProperty("platform4.you", _rotation , 270);
platform4.dir = -2;
moveallowed4 = 1;
pause = 1;
stopall();
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (953);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1084 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 250) and (you._y == 170)) and (you._currentframe == 2)) and (/:puzzleroom61 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button.hitTest(you) eq "true") and (puzzleroom61 == 0)) {
puzzleroom61 = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (1);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1085 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (959);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (957);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 269 MovieClip "block1" in Symbol 1090 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
gotoAndPlay (4);
if (/:havesuperbomb == 1) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
}
}
}
Instance of Symbol 569 MovieClip "wall" in Symbol 1090 MovieClip Frame 1
onClipEvent (load) {
if (/:puzzleroom61 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Symbol 1091 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x), getProperty("_root.block" add z, _y) - 20, true) ne "true") and (blockarea.hittest(getProperty("_root.block" add z, _x), getProperty("_root.block" add z, _y) - 20, true) eq "true")) and (puzzleroom62 == 0)) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) - 20);
} else {
setProperty(_root.you, _y , _root.you._y + 20);
}
}
z = z + 1;
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (956);
}
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x) + 20, getProperty("_root.block" add z, _y), true) ne "true") and (blockarea.hittest(getProperty("_root.block" add z, _x) + 20, getProperty("_root.block" add z, _y), true) eq "true")) and (puzzleroom62 == 0)) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) + 20);
} else {
setProperty(_root.you, _x , _root.you._x - 20);
}
}
z = z + 1;
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x), getProperty("_root.block" add z, _y) + 20, true) ne "true") and (blockarea.hittest(getProperty("_root.block" add z, _x), getProperty("_root.block" add z, _y) + 20, true) eq "true")) and (puzzleroom62 == 0)) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) + 20);
} else {
setProperty(_root.you, _y , _root.you._y - 20);
}
}
z = z + 1;
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x) - 20, getProperty("_root.block" add z, _y), true) ne "true") and (blockarea.hittest(getProperty("_root.block" add z, _x) - 20, getProperty("_root.block" add z, _y), true) eq "true")) and (puzzleroom62 == 0)) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) - 20);
} else {
setProperty(_root.you, _x , _root.you._x + 20);
}
}
z = z + 1;
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (958);
}
}
}
}
Symbol 1098 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 150) and (you._y == 90)) and (you._currentframe == 1)) and (puzzleroom62 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (button.hitTest(you) eq "true") {
if (puzzleroom62 == 0) {
if ((((_root.block1._x == blueblock) and (_root.block2._x == yellowblock)) and (_root.block3._x == greenblock)) and (_root.block4._x == redblock)) {
puzzleroom62 = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall") {
gotoAndPlay (2);
};
} else if (!((((_root.block1._x == blueblock) and (_root.block2._x == yellowblock)) and (_root.block3._x == greenblock)) and (_root.block4._x == redblock))) {
pause = 1;
stopall();
tellTarget ("_root.bullet1") {
time = 19;
};
}
}
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1102 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1103 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (961);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (956);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 269 MovieClip "block1" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
gotoAndPlay (4);
}
}
Instance of Symbol 269 MovieClip "block3" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
gotoAndPlay (4);
}
}
Instance of Symbol 269 MovieClip "block2" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == null) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, 3);
}
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 2) {
gotoAndStop (2);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
if (((getProperty("_root.bomb", _currentframe) > 1) and (this.hittest("_root.bomb") eq "true")) and (this._currentframe < 4)) {
Set((("/:" add getProperty(this, _name)) add "life") add /:currentlocation, eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) - 1);
gotoAndPlay (4);
}
}
Symbol 1107 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (962);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (960);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1108 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (note.hitTest(you) eq "true") {
if (bombkilled == 0) {
message = "Beware";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1112 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 50) and (you._y == 170)) and (you._currentframe == 4)) and (/:bombkilled == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 250) and (you._y == 170)) and (you._currentframe == 2)) and (/:bombkilled == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1113 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (((you._x == 150) and (you._y == 170)) and (/:bombkilled == 0)) {
setProperty("you", _y , you._y + 20);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (((you._x == 150) and (you._y == 170)) and (/:bombkilled == 0)) {
setProperty("you", _x , you._x - 20);
}
if ((getProperty("you", _x) == 50) and (bossencounter == 0)) {
pause = 1;
stopall();
bossencounter = 1;
tellTarget ("wall.wall") {
gotoAndPlay (1);
};
tellTarget ("bossintro") {
gotoAndPlay (2);
};
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (963);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (((you._x == 150) and (you._y == 170)) and (/:bombkilled == 0)) {
setProperty("you", _y , you._y - 20);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (((you._x == 150) and (you._y == 170)) and (/:bombkilled == 0)) {
setProperty("you", _x , you._x + 20);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (961);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 569 MovieClip "wall1" in Symbol 1116 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _visible , 0);
}
Symbol 1118 MovieClip Frame 1
stop();
Symbol 1118 MovieClip Frame 2
stop();
Symbol 1129 MovieClip Frame 1
stop();
Instance of Symbol 308 MovieClip "righteye" in Symbol 1129 MovieClip Frame 1
onClipEvent (load) {
function gun() {
pos = new Object();
pos.x = this._x;
pos.y = this._y;
LocaltoGlobal(pos);
circx = pos.x;
circy = pos.y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 308 MovieClip "lefteye" in Symbol 1129 MovieClip Frame 1
onClipEvent (load) {
function gun() {
pos = new Object();
pos.x = this._x;
pos.y = this._y;
LocaltoGlobal(pos);
circx = pos.x;
circy = pos.y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Symbol 1129 MovieClip Frame 13
stop();
Symbol 1129 MovieClip Frame 26
gotoAndStop (1);
Symbol 1129 MovieClip Frame 27
if (_root.boss.speed < 6) {
_root.boss.speed = _root.boss.speed + 1;
}
Symbol 1129 MovieClip Frame 47
if (/:bomblife > 0) {
gotoAndStop (1);
_root.boss.time = 0;
} else if (/:bomblife < 1) {
Set("/:pause", 1);
/:stopall();
}
Symbol 1129 MovieClip Frame 121
stopAllSounds();
setProperty("_root.health", _visible , 0);
Symbol 1129 MovieClip Frame 122
setProperty(this, _y , 2000);
Set("/:bombkilled", 1);
if (/:musicon == 1) {
if (/:loop1 == 1) {
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("Lush Loop");
/:mainmusic.start(0, 999);
} else if (/:loop2 == 1) {
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG5437");
/:mainmusic.start(0, 999);
} else if (/:loop3 == 1) {
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG1613");
/:mainmusic.start(0, 999);
} else if (/:loop4 == 1) {
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG9991");
/:mainmusic.start(0, 999);
} else if (/:loop5 == 1) {
Set("/:mainmusic", new Sound());
/:mainmusic.attachSound("NG6298");
/:mainmusic.start(0, 999);
}
}
Set("/:pause", 0);
/:playall();
setProperty("_root.wall.wall", _x , -1000);
setProperty("_root.wall.wall1", _visible , 1);
tellTarget ("_root.wall.wall1") {
gotoAndPlay (2);
};
tellTarget ("_root.wall.wall2") {
gotoAndPlay (2);
};
Symbol 1129 MovieClip Frame 123
stop();
Symbol 1139 MovieClip Frame 1
stop();
Symbol 1139 MovieClip Frame 2
stopAllSounds();
Symbol 1139 MovieClip Frame 44
if (/:musicon == 1) {
mainmusic = new Sound();
mainmusic.attachSound("NG11567");
mainmusic.start(0, 999);
}
Symbol 1139 MovieClip Frame 46
setProperty("_root.health", _visible , 1);
Symbol 1139 MovieClip Frame 145
setProperty(_root.boss, _x , 150);
setProperty(_root.boss, _y , 170);
tellTarget ("_root.boss") {
gotoAndPlay (1);
};
Symbol 1139 MovieClip Frame 146
setProperty(this, _y , -1000);
Set("/:pause", 0);
/:playall();
stop();
Symbol 1140 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1141 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (((you._x == 270) and (you._y == 110)) and (puzzleroom66 == 0)) {
puzzleroom66 = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall1") {
gotoAndPlay (2);
};
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (964);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (962);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1145 MovieClip Frame 1
stop();
Symbol 1145 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1145 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 1147 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1148 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("you", _x) == getProperty("raftitem", _x)) and (getProperty("you", _y) == getProperty("raftitem", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
raft = "1";
setProperty("raftitem", _x , -1000);
message = "You found the raft";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if ((you._y == 90) and (puzzleroom67 == 0)) {
puzzleroom67 = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall1") {
gotoAndPlay (2);
};
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("you", _x) == getProperty("raftitem", _x)) and (getProperty("you", _y) == getProperty("raftitem", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
raft = "1";
setProperty("raftitem", _x , -1000);
message = "You found the raft";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("you", _x) == getProperty("raftitem", _x)) and (getProperty("you", _y) == getProperty("raftitem", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
raft = "1";
setProperty("raftitem", _x , -1000);
message = "You found the raft";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if ((you._y == 130) and (puzzleroom67 == 0)) {
puzzleroom67 = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall1") {
gotoAndPlay (2);
};
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("raftitem", _x)) and (getProperty("you", _y) == getProperty("raftitem", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
raft = "1";
setProperty("raftitem", _x , -1000);
message = "You found the raft";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
if ((_root.mainmenu._currentframe == 1) and (pause == 0)) {
pause = 1;
stopall();
tellTarget ("_root.mainmenu") {
gotoAndPlay (1);
};
}
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (963);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1152 MovieClip Frame 1
stop();
Symbol 1152 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1152 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 1154 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1155 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (966);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (928);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1159 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1160 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (965);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (967);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (965);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1164 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (note.hitTest(you) eq "true") {
message = "Rotate blocks with bomb explosion";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 150) and (you._y == 90)) and (you._currentframe == 1)) and (/:puzzleroom70 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((((you._x == 150) and (you._y == 250)) and (you._currentframe == 3)) and (/:puzzleroom70 == 0)) {
message = "This door won't open";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (((button.hitTest(you) eq "true") and (particle._x < 0)) and (puzzleroom70 == 0)) {
setProperty("particle", _x , block0._x);
setProperty("particle", _y , block0._y);
tellTarget ("block0.box") {
gotoAndStop (2);
};
pause = 1;
stopall();
if (block0._currentframe == 1) {
tellTarget ("particle") {
gotoAndPlay ("up");
};
} else if (block0._currentframe == 11) {
tellTarget ("particle") {
gotoAndPlay ("right");
};
} else if (block0._currentframe == 21) {
tellTarget ("particle") {
gotoAndPlay ("down");
};
} else if (block0._currentframe == 31) {
tellTarget ("particle") {
gotoAndPlay ("left");
};
}
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1165 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x), getProperty("_root.block" add z, _y) - 20, true) ne "true") and (blockarea.hittest(getProperty("_root.block" add z, _x), getProperty("_root.block" add z, _y) - 20, true) eq "true")) and (puzzleroom70 == 0)) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) - 20);
} else {
setProperty(_root.you, _y , _root.you._y + 20);
}
}
z = z + 1;
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (966);
}
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x) + 20, getProperty("_root.block" add z, _y), true) ne "true") and (blockarea.hittest(getProperty("_root.block" add z, _x) + 20, getProperty("_root.block" add z, _y), true) eq "true")) and (puzzleroom70 == 0)) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) + 20);
} else {
setProperty(_root.you, _x , _root.you._x - 20);
}
}
z = z + 1;
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((getProperty("you", _y) == 90) and (puzzleroom70a == 0)) {
puzzleroom70a = 1;
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x), getProperty("_root.block" add z, _y) + 20, true) ne "true") and (blockarea.hittest(getProperty("_root.block" add z, _x), getProperty("_root.block" add z, _y) + 20, true) eq "true")) and (puzzleroom70 == 0)) {
setProperty("_root.block" add z, _y , getProperty("_root.block" add z, _y) + 20);
} else {
setProperty(_root.you, _y , _root.you._y - 20);
}
}
z = z + 1;
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (968);
}
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (target.hittest(you._x, you._y, true) eq "true") {
setProperty("you", _x , you._x + 20);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty("_root.you", _x)) and (getProperty("_root.block" add z, _y) == getProperty("_root.you", _y))) {
if (((wall.hittest(getProperty("_root.block" add z, _x) - 20, getProperty("_root.block" add z, _y), true) ne "true") and (blockarea.hittest(getProperty("_root.block" add z, _x) - 20, getProperty("_root.block" add z, _y), true) eq "true")) and (puzzleroom70 == 0)) {
setProperty("_root.block" add z, _x , getProperty("_root.block" add z, _x) - 20);
} else {
setProperty(_root.you, _x , _root.you._x + 20);
}
}
z = z + 1;
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
}
}
}
Symbol 1170 MovieClip Frame 6
gotoAndPlay (1);
Symbol 1170 MovieClip Frame 7
stop();
Instance of Symbol 569 MovieClip "wall2" in Symbol 1173 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _visible , 0);
}
Symbol 1174 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1175 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if ((getProperty("you", _x) == getProperty("blankkey", _x)) and (getProperty("you", _y) == getProperty("blankkey", _y))) {
s = new Sound();
s.attachSound("loaded");
s.start();
blankkey = "1";
setProperty("blankkey", _x , -1000);
message = "You found the blank key";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (967);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1180 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((blue.hitTest(you._x - 20, you._y, true) eq "true") and (/:d == 4)) {
message = "This blue door is locked";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if ((button.hitTest(you) eq "true") and (puzzleroom72 == 0)) {
puzzleroom72 = 1;
pause = 1;
stopall();
tellTarget ("_root.wall.wall1") {
gotoAndPlay (1);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1181 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if ((getProperty("_root.you", _x) == getProperty("_root.portal", _x)) and (getProperty("_root.you", _y) == getProperty("_root.portal", _y))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "2";
gotoAndStop (946);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (932);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if ((getProperty("you", _x) == getProperty("blue", _x)) and (getProperty("you", _y) == getProperty("blue", _y))) {
if (bluekey == 1) {
setProperty("you", _x , getProperty(you, _x) + 20);
bluedoor = 1;
pause = 1;
stopall();
tellTarget ("blue") {
gotoAndPlay (1);
};
} else if (bluekey == 0) {
setProperty("you", _x , getProperty("you", _x) + 20);
}
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (970);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1184 MovieClip Frame 1
stop();
Symbol 1184 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1184 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 1193 MovieClip Frame 1
stop();
Symbol 1193 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1193 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
Symbol 1194 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1195 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (969);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (892);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (971);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1199 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1200 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (892);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (970);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (972);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1204 Button
on (keyPress "a") {
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (note.hitTest(you) eq "true") {
message = "Beware";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1205 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (971);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (973);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1209 Button
on (keyPress "a") {
tellTarget ("_root.tilecontrol") {
gotoAndPlay (2);
};
if ((getProperty("you", _currentframe) < 5) and (pause == 0)) {
if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
} else if (nothing.hitTest(you) eq "true") {
message = "";
tellTarget ("_root.menu.mess") {
gotoAndPlay (2);
};
}
if (_root.menu.mess._currentframe == 1) {
}
}
}
Symbol 1210 Button
on (keyPress "<Up>") {
arrowup();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (1);
};
if (wall.hittest(you._x, you._y - 20, true) ne "true") {
setProperty("you", _y , you._y - 20);
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (972);
}
gotcoin();
badhit_up();
}
}
}
on (keyPress "<Right>") {
arrowright();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (2);
};
if (wall.hittest(you._x + 20, you._y, true) ne "true") {
setProperty("you", _x , you._x + 20);
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (892);
}
gotcoin();
badhit_right();
}
}
}
on (keyPress "<Down>") {
arrowdown();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (3);
};
if (wall.hittest(you._x, you._y + 20, true) ne "true") {
setProperty("you", _y , you._y + 20);
if ((you._y == 90) and (puzzleroom76intro == 0)) {
puzzleroom76intro = 1;
pause = 1;
stopall();
tellTarget ("blackness") {
gotoAndPlay (2);
};
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (974);
}
gotcoin();
badhit_down();
}
}
}
on (keyPress "<Left>") {
arrowleft();
if ((you._currentframe < 5) and (pause == 0)) {
tellTarget ("you") {
gotoAndStop (4);
};
if (wall.hittest(you._x - 20, you._y, true) ne "true") {
setProperty("you", _x , you._x - 20);
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (892);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1214 MovieClip Frame 1
stop();
Symbol 1214 MovieClip Frame 16
stop();
Symbol 1216 MovieClip Frame 1
stop();
Symbol 1216 MovieClip Frame 5
if (z == undefined) {
z = 1;
} else {
z++;
}
tellTarget ("_root.tile" add z) {
gotoAndPlay (2);
};
if (z == 36) {
Set("/:pause", 0);
/:playall();
Set("/:puzzleroom76", 1);
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Instance of Symbol 218 MovieClip "wall" in Symbol 1220 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _visible , 0);
}
Symbol 1231 MovieClip Frame 1
stop();
Symbol 1231 MovieClip Frame 22
Set("/:pause", 0);
tellTarget ("_root.snake0") {
gotoAndPlay (2);
};
gotoAndStop (1);
Symbol 1231 MovieClip Frame 37
if (/:finalsnakelife > 0) {
Set("/:pause", 0);
tellTarget ("_root.snake0") {
gotoAndPlay (2);
};
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
}
Symbol 1231 MovieClip Frame 106
tellTarget ("_root") {
gotoAndStop ("win");
};
Symbol 1232 MovieClip Frame 2
if (/:puzzleroom76 == 0) {
gotoAndPlay (1);
}
Symbol 1232 MovieClip Frame 4
if ((getProperty(this, _y) < getProperty("_root.you", _y)) and (/:pause == 0)) {
if (_root.wall.hittest(this._x, this._y + 20, true) ne "true") {
setProperty(this, _rotation , 0);
snake4x = _root.snake4._x;
snake4y = _root.snake4._y;
setProperty(_root.snake4, _x , _root.snake3._x);
setProperty(_root.snake4, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake2._x);
setProperty(_root.snake3, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake1._x);
setProperty(_root.snake2, _y , _root.snake1._y);
setProperty(_root.snake1, _x , this._x);
setProperty(_root.snake1, _y , this._y);
setProperty(this, _y , getProperty(this, _y) + 20);
if (((((((((_root.you._y == (this._y + 60)) or (_root.you._y == (this._y + 80))) or (_root.you._y == (this._y + 100))) or (_root.you._y == (this._y + 120))) or (_root.you._y == (this._y + 140))) or (_root.you._y == (this._y + 160))) and (_root.you._x == this._x)) and (_root.bomb._currentframe == 1)) and (_root.fire1._x < 0)) {
Set("/:fireballpause", 0);
_root.fire1.time = 19;
setProperty(_root.fire1, _x , this._x);
setProperty(_root.fire1, _y , this._y);
_root.fire1.youx = this._x;
_root.fire1.youy = this._y + 200;
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) - 20);
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty(this, _y , getProperty(this, _y) - 20);
setProperty(this, _x , _root.snake1._x);
setProperty(this, _y , _root.snake1._y);
setProperty(_root.snake1, _x , _root.snake2._x);
setProperty(_root.snake1, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake3._x);
setProperty(_root.snake2, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake4._x);
setProperty(_root.snake3, _y , _root.snake4._y);
setProperty(_root.snake4, _x , snake4x);
setProperty(_root.snake4, _y , snake4y);
}
} else {
gotoAndPlay (6);
}
} else if ((getProperty(this, _y) > getProperty("_root.you", _y)) and (/:pause == 0)) {
if (_root.wall.hittest(this._x, this._y - 20, true) ne "true") {
setProperty(this, _rotation , 180);
snake4x = _root.snake4._x;
snake4y = _root.snake4._y;
setProperty(_root.snake4, _x , _root.snake3._x);
setProperty(_root.snake4, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake2._x);
setProperty(_root.snake3, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake1._x);
setProperty(_root.snake2, _y , _root.snake1._y);
setProperty(_root.snake1, _x , this._x);
setProperty(_root.snake1, _y , this._y);
setProperty(this, _y , getProperty(this, _y) - 20);
if (((((((((_root.you._y == (this._y - 60)) or (_root.you._y == (this._y - 80))) or (_root.you._y == (this._y - 100))) or (_root.you._y == (this._y - 120))) or (_root.you._y == (this._y - 140))) or (_root.you._y == (this._y - 160))) and (_root.you._x == this._x)) and (_root.bomb._currentframe == 1)) and (_root.fire1._x < 0)) {
Set("/:fireballpause", 0);
_root.fire1.time = 19;
setProperty(_root.fire1, _x , this._x);
setProperty(_root.fire1, _y , this._y);
_root.fire1.youx = this._x;
_root.fire1.youy = this._y - 200;
}
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _y , getProperty(this, _y) + 20);
}
z = z + 1;
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty(this, _y , getProperty(this, _y) + 20);
setProperty(this, _x , _root.snake1._x);
setProperty(this, _y , _root.snake1._y);
setProperty(_root.snake1, _x , _root.snake2._x);
setProperty(_root.snake1, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake3._x);
setProperty(_root.snake2, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake4._x);
setProperty(_root.snake3, _y , _root.snake4._y);
setProperty(_root.snake4, _x , snake4x);
setProperty(_root.snake4, _y , snake4y);
}
} else {
gotoAndPlay (6);
}
} else if (getProperty(this, _y) == getProperty("_root.you", _y)) {
gotoAndPlay (6);
}
Symbol 1232 MovieClip Frame 5
gotoAndPlay (1);
Symbol 1232 MovieClip Frame 9
if ((getProperty(this, _x) < getProperty("_root.you", _x)) and (/:pause == 0)) {
if (_root.wall.hittest(this._x + 20, this._y, true) ne "true") {
setProperty(this, _rotation , 270);
snake4x = _root.snake4._x;
snake4y = _root.snake4._y;
setProperty(_root.snake4, _x , _root.snake3._x);
setProperty(_root.snake4, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake2._x);
setProperty(_root.snake3, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake1._x);
setProperty(_root.snake2, _y , _root.snake1._y);
setProperty(_root.snake1, _x , this._x);
setProperty(_root.snake1, _y , this._y);
setProperty(this, _x , getProperty(this, _x) + 20);
if (((((((((_root.you._x == (this._x + 60)) or (_root.you._x == (this._x + 80))) or (_root.you._x == (this._x + 100))) or (_root.you._x == (this._x + 120))) or (_root.you._x == (this._x + 140))) or (_root.you._x == (this._x + 160))) and (_root.you._y == this._y)) and (_root.bomb._currentframe == 1)) and (_root.fire1._x < 0)) {
Set("/:fireballpause", 0);
_root.fire1.time = 19;
setProperty(_root.fire1, _x , this._x);
setProperty(_root.fire1, _y , this._y);
_root.fire1.youx = this._x + 200;
_root.fire1.youy = this._y;
}
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) - 20);
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty(this, _x , getProperty(this, _x) - 20);
setProperty(this, _x , _root.snake1._x);
setProperty(this, _y , _root.snake1._y);
setProperty(_root.snake1, _x , _root.snake2._x);
setProperty(_root.snake1, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake3._x);
setProperty(_root.snake2, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake4._x);
setProperty(_root.snake3, _y , _root.snake4._y);
setProperty(_root.snake4, _x , snake4x);
setProperty(_root.snake4, _y , snake4y);
}
} else {
gotoAndPlay (1);
}
} else if ((getProperty(this, _x) > getProperty("_root.you", _x)) and (/:pause == 0)) {
if (_root.wall.hittest(this._x - 20, this._y, true) ne "true") {
setProperty(this, _rotation , 90);
snake4x = _root.snake4._x;
snake4y = _root.snake4._y;
setProperty(_root.snake4, _x , _root.snake3._x);
setProperty(_root.snake4, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake2._x);
setProperty(_root.snake3, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake1._x);
setProperty(_root.snake2, _y , _root.snake1._y);
setProperty(_root.snake1, _x , this._x);
setProperty(_root.snake1, _y , this._y);
setProperty(this, _x , getProperty(this, _x) - 20);
if (((((((((_root.you._x == (this._x - 60)) or (_root.you._x == (this._x - 80))) or (_root.you._x == (this._x - 100))) or (_root.you._x == (this._x - 120))) or (_root.you._x == (this._x - 140))) or (_root.you._x == (this._x - 160))) and (_root.you._y == this._y)) and (_root.bomb._currentframe == 1)) and (_root.fire1._x < 0)) {
Set("/:fireballpause", 0);
_root.fire1.time = 19;
setProperty(_root.fire1, _x , this._x);
setProperty(_root.fire1, _y , this._y);
_root.fire1.youx = this._x - 200;
_root.fire1.youy = this._y;
}
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
}
z = 0;
while (z < 31) {
if ((getProperty("_root.block" add z, _x) == getProperty(this, _x)) and (getProperty("_root.block" add z, _y) == getProperty(this, _y))) {
setProperty(this, _x , getProperty(this, _x) + 20);
}
z = z + 1;
}
if ((getProperty(this, _x) == getProperty("_root.you", _x)) and (getProperty(this, _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty(this, _x , getProperty(this, _x) + 20);
setProperty(this, _x , _root.snake1._x);
setProperty(this, _y , _root.snake1._y);
setProperty(_root.snake1, _x , _root.snake2._x);
setProperty(_root.snake1, _y , _root.snake2._y);
setProperty(_root.snake2, _x , _root.snake3._x);
setProperty(_root.snake2, _y , _root.snake3._y);
setProperty(_root.snake3, _x , _root.snake4._x);
setProperty(_root.snake3, _y , _root.snake4._y);
setProperty(_root.snake4, _x , snake4x);
setProperty(_root.snake4, _y , snake4y);
}
} else {
gotoAndPlay (1);
}
} else if (getProperty(this, _x) == getProperty("_root.you", _x)) {
gotoAndPlay (1);
}
Symbol 1232 MovieClip Frame 10
gotoAndPlay (6);
Symbol 1232 MovieClip Frame 11
stop();
Symbol 1237 MovieClip Frame 1
stop();
Symbol 1237 MovieClip Frame 2
stopAllSounds();
Symbol 1237 MovieClip Frame 77
setProperty("_root.snake0", _y , 210);
setProperty("_root.snake1", _y , 230);
setProperty("_root.snake2", _y , 230);
setProperty("_root.snake3", _y , 230);
setProperty("_root.snake4", _y , 230);
setProperty("_root.gun1", _x , 150);
setProperty("_root.black.black", _y , -80);
setProperty(_root.wall.wall, _visible , 1);
setProperty(_root.you, _y , 110);
Symbol 1237 MovieClip Frame 100
Set("/:puzzleroom76", 1);
setProperty("_root.health", _visible , 1);
tellTarget ("_root.tilecontrol") {
gotoAndPlay (2);
};
stop();
Symbol 1293 MovieClip Frame 260
stopAllSounds();
tellTarget ("_root") {
gotoAndPlay ("credits");
};
Symbol 1355 MovieClip Frame 1
stop();
Instance of Symbol 1374 MovieClip in Symbol 1380 MovieClip Frame 1
onClipEvent (load) {
function gun() {
pos = new Object();
pos.x = this._x;
pos.y = this._y;
LocaltoGlobal(pos);
circx = pos.x;
circy = pos.y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 1374 MovieClip in Symbol 1380 MovieClip Frame 1
onClipEvent (load) {
function gun() {
pos = new Object();
pos.x = this._x;
pos.y = this._y;
LocaltoGlobal(pos);
circx = pos.x;
circy = pos.y;
pointx = _root.you._x;
pointy = _root.you._y;
if ((circx <= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , degrees + 90);
} else if ((circx <= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , 90 - degrees);
} else if ((circx >= pointx) and (circy <= pointy)) {
angle = Math.atan(Math.abs(circx - pointx) / Math.abs(circy - pointy));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(180 - degrees));
} else if ((circx >= pointx) and (circy >= pointy)) {
angle = Math.atan(Math.abs(circy - pointy) / Math.abs(circx - pointx));
degrees = (angle * 180) / Math.pi;
setProperty(this, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Symbol 1380 MovieClip Frame 23
Set("/:shotstar", /:shotstar + 1);
setProperty("_root.shootstar", _x , _root.boss._x);
setProperty("_root.shootstar", _y , 98);
_root.shootstar.time = 0;
if (/:shotstar == 5) {
Set("/:shotstar", 0);
} else {
gotoAndPlay (1);
}
Symbol 1380 MovieClip Frame 69
stop();
Set("/:pause", 1);
/:stopall();
setProperty("_root.starkill", _x , 150);
setProperty("_root.starkill", _y , 170);
tellTarget ("_root.starkill") {
gotoAndPlay (2);
};
Symbol 1380 MovieClip Frame 77
gotoAndPlay (1);
Symbol 1380 MovieClip Frame 90
Set("/:pause", 0);
/:playall();
gotoAndPlay (1);
Symbol 1381 MovieClip Frame 1
stop();
Symbol 1386 MovieClip Frame 1
stop();
Symbol 1386 MovieClip Frame 139
Set("/:life", /:life - 20);
/:youhit();
Symbol 1386 MovieClip Frame 140
/:mainmusic.setVolume(100);
setProperty(this, _x , -1000);
Set("/:pause", 0);
/:playall();
gotoAndStop (1);
tellTarget ("_root.boss") {
gotoAndPlay (70);
};
Symbol 1389 MovieClip Frame 1
stop();
Symbol 1389 MovieClip Frame 5
if (getProperty("_root." add getProperty(this, _name), _y) < getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y + 20, true) ne "true") and (_root.water.hittest(this._x, this._y + 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y + 20, true) ne "true")) and (_root.black.hittest(this._x, this._y + 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
if (getProperty(this, _y) == 270) {
setProperty(this, _y , 250);
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _y) > getProperty("_root.you", _y)) {
if ((((_root.wall.hittest(this._x, this._y - 20, true) ne "true") and (_root.water.hittest(this._x, this._y - 20, true) ne "true")) and (_root.dock.hittest(this._x, this._y - 20, true) ne "true")) and (_root.black.hittest(this._x, this._y - 20, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) - 20);
if (getProperty(this, _y) == 70) {
setProperty(this, _y , 90);
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _y , getProperty("_root." add getProperty(this, _name), _y) + 20);
}
}
}
Symbol 1389 MovieClip Frame 9
if (getProperty("_root." add getProperty(this, _name), _x) < getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x + 20, this._y, true) ne "true") and (_root.water.hittest(this._x + 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x + 20, this._y, true) ne "true")) and (_root.black.hittest(this._x + 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
if (getProperty(this, _x) == 270) {
setProperty(this, _x , 250);
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
}
}
} else if (getProperty("_root." add getProperty(this, _name), _x) > getProperty("_root.you", _x)) {
if ((((_root.wall.hittest(this._x - 20, this._y, true) ne "true") and (_root.water.hittest(this._x - 20, this._y, true) ne "true")) and (_root.dock.hittest(this._x - 20, this._y, true) ne "true")) and (_root.black.hittest(this._x - 20, this._y, true) ne "true")) {
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) - 20);
if (getProperty(this, _x) == 30) {
setProperty(this, _x , 50);
}
if ((getProperty("_root." add getProperty(this, _name), _x) == getProperty("_root.you", _x)) and (getProperty("_root." add getProperty(this, _name), _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
Set("/:life", /:life - 3);
/:youhit();
}
setProperty("_root." add getProperty(this, _name), _x , getProperty("_root." add getProperty(this, _name), _x) + 20);
}
}
}
gotoAndPlay (2);