Frame 1
_root.NewgroundsAPI_id = 3323;
Frame 2
Stage.showMenu = false;
Frame 87
stop();
Frame 109
stop();
Frame 110
stop();
Frame 111
stop();
Frame 112
stop();
Frame 136
gotoAndStop (87);
Frame 859
gotoAndPlay (860);
Frame 860
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 151 MovieClip "bad1" in Frame 860
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 160 MovieClip "bad2" in Frame 860
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 166 MovieClip "bad3" in Frame 860
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 178 MovieClip "bad5" in Frame 860
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 184 MovieClip "bad4" in Frame 860
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 861
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 862
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 863
z = 0;
while (z < 100) {
Set("maproom" add z, 0);
z = z + 1;
}
Frame 864
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 865
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 866
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 867
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 868
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 869
function youhit() {
var _local1 = _root;
if (_local1.you._currentframe == 1) {
tellTarget ("_root.you") {
gotoAndPlay (5);
};
} else if (_local1.you._currentframe == 2) {
tellTarget ("_root.you") {
gotoAndPlay (9);
};
} else if (_local1.you._currentframe == 3) {
tellTarget ("_root.you") {
gotoAndPlay (13);
};
} else if (_local1.you._currentframe == 4) {
tellTarget ("_root.you") {
gotoAndPlay (17);
};
}
}
Frame 870
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 871
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 872
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 873
function badhit_up() {
var _local1 = _root;
pushup();
noup();
hitfromturret();
waterup();
blackhit();
if (((((/:currentlocation != 76) and (getProperty(_local1.you, _x) <= (getProperty(_local1.boss, _x) + 20))) and (getProperty(_local1.you, _x) >= (getProperty(_local1.boss, _x) - 20))) and (getProperty(_local1.you, _y) <= (getProperty(_local1.boss, _y) + 20))) and (getProperty(_local1.you, _y) >= (getProperty(_local1.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() {
var _local1 = _root;
pushright();
noright();
hitfromturret();
waterright();
blackhit();
if (((((/:currentlocation != 76) and (getProperty(_local1.you, _x) <= (getProperty(_local1.boss, _x) + 20))) and (getProperty(_local1.you, _x) >= (getProperty(_local1.boss, _x) - 20))) and (getProperty(_local1.you, _y) <= (getProperty(_local1.boss, _y) + 20))) and (getProperty(_local1.you, _y) >= (getProperty(_local1.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() {
var _local1 = _root;
hitfromturret();
nodown();
pushdown();
waterdown();
blackhit();
if (((((/:currentlocation != 76) and (getProperty(_local1.you, _x) <= (getProperty(_local1.boss, _x) + 20))) and (getProperty(_local1.you, _x) >= (getProperty(_local1.boss, _x) - 20))) and (getProperty(_local1.you, _y) <= (getProperty(_local1.boss, _y) + 20))) and (getProperty(_local1.you, _y) >= (getProperty(_local1.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() {
var _local1 = _root;
hitfromturret();
noleft();
pushleft();
waterleft();
blackhit();
z = 0;
if (((((/:currentlocation != 76) and (getProperty(_local1.you, _x) <= (getProperty(_local1.boss, _x) + 20))) and (getProperty(_local1.you, _x) >= (getProperty(_local1.boss, _x) - 20))) and (getProperty(_local1.you, _y) <= (getProperty(_local1.boss, _y) + 20))) and (getProperty(_local1.you, _y) >= (getProperty(_local1.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 874
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 875
function pushup() {
var _local1 = _root;
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(_local1.you, _y , _local1.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(_local1.you, _y , _local1.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(_local1.you, _y , _local1.you._y + 20);
}
}
a = a + 1;
}
} else {
setProperty(_local1.you, _y , _local1.you._y + 20);
}
}
z = z + 1;
}
}
function pushright() {
var _local1 = _root;
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(_local1.you, _x , _local1.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(_local1.you, _x , _local1.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(_local1.you, _x , _local1.you._x - 20);
}
}
a = a + 1;
}
} else {
setProperty(_local1.you, _x , _local1.you._x - 20);
}
}
z = z + 1;
}
}
function pushdown() {
var _local1 = _root;
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(_local1.you, _y , _local1.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(_local1.you, _y , _local1.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(_local1.you, _y , _local1.you._y - 20);
}
}
a = a + 1;
}
} else {
setProperty(_local1.you, _y , _local1.you._y - 20);
}
}
z = z + 1;
}
}
function pushleft() {
var _local1 = _root;
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(_local1.you, _x , _local1.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(_local1.you, _x , _local1.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(_local1.you, _x , _local1.you._x + 20);
}
}
a = a + 1;
}
} else {
setProperty(_local1.you, _x , _local1.you._x + 20);
}
}
z = z + 1;
}
}
Frame 876
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 877
function arrowup() {
var _local1 = _root;
if (_local1.mainmenu._currentframe == 31) {
if (_local1.mainmenu.mainmenu2.sub._currentframe == 1) {
if (/:arrowy > 1) {
Set("/:arrowy", /:arrowy - 1);
setProperty("_root.mainmenu.mainmenu2.sub.select", _y , _local1.mainmenu.mainmenu2.sub.select._y - 20);
}
} else if (_local1.mainmenu.mainmenu2.sub._currentframe == 5) {
if (/:arrowy > 1) {
Set("/:arrowy", /:arrowy - 1);
setProperty("_root.mainmenu.mainmenu2.sub.select", _y , _local1.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() {
var _local1 = _root;
if (_local1.mainmenu._currentframe == 31) {
if (_local1.mainmenu.mainmenu2.sub._currentframe == 1) {
if (/:arrowy < /:maxarrowy) {
Set("/:arrowy", /:arrowy + 1);
setProperty("_root.mainmenu.mainmenu2.sub.select", _y , _local1.mainmenu.mainmenu2.sub.select._y + 20);
}
} else if (_local1.mainmenu.mainmenu2.sub._currentframe == 5) {
if (/:arrowy < /:maxarrowy) {
Set("/:arrowy", /:arrowy + 1);
setProperty("_root.mainmenu.mainmenu2.sub.select", _y , _local1.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 878
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 879
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 880
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 881
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 882
function blackhit() {
var _local1 = _root;
if (black.hittest(you._x, you._y, true) eq "true") {
if (_local1.you._currentframe == 1) {
setProperty("youblack", _rotation , 0);
} else if (_local1.you._currentframe == 2) {
setProperty("youblack", _rotation , 90);
} else if (_local1.you._currentframe == 3) {
setProperty("youblack", _rotation , 180);
} else if (_local1.you._currentframe == 4) {
setProperty("youblack", _rotation , 270);
}
pause = 1;
stopall();
setProperty("youblack", _x , _local1.you._x);
setProperty("youblack", _y , _local1.you._y);
setProperty("you", _x , -1000);
tellTarget ("youblack") {
gotoAndPlay (1);
};
}
}
Frame 883
mainmusic = new Sound();
mainmusic.attachSound("NG5437");
mainmusic.start(0, 999);
beforetimer = getTimer();
gotoAndPlay (890);
Instance of Symbol 160 MovieClip in Frame 887
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 208 MovieClip in Frame 887
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 166 MovieClip in Frame 887
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 178 MovieClip in Frame 887
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 210 MovieClip "ball1" in Frame 887
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) {
/:youhit();
}
}
Instance of Symbol 211 MovieClip "ball2" in Frame 887
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) {
/:youhit();
}
}
Instance of Symbol 212 MovieClip "ball3" in Frame 887
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) {
/:youhit();
}
}
Instance of Symbol 213 MovieClip "ball4" in Frame 887
onClipEvent (enterFrame) {
if (this.hitTest(_root.you) and (getProperty(_root.you, _currentframe) < 5)) {
/:youhit();
}
}
Instance of Symbol 216 MovieClip "turret" in Frame 887
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 222 MovieClip "turret2" in Frame 887
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 240 MovieClip in Frame 887
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 241 MovieClip in Frame 887
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 184 MovieClip in Frame 887
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 264 MovieClip in Frame 887
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin1" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin3" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin3" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin4" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin4" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin5" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin5" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin6" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin7" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin8" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin9" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin10" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin6" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin7" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin8" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin9" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin10" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life3" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life4" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life5" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life6" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life7" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life8" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life9" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life10" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star1" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star2" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star3" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star4" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star5" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star6" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star7" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star8" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star9" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star10" in Frame 887
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 284 MovieClip in Frame 887
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 291 MovieClip "bad1" in Frame 887
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 295 MovieClip "bad1" in Frame 887
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 151 MovieClip "bad1" in Frame 887
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 304 MovieClip "block0" in Frame 887
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 310 MovieClip "block1" in Frame 887
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 315 MovieClip "block" in Frame 887
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 (870);
} else if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) == 1) {
gotoAndStop (871);
}
}
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 (872);
}
}
Instance of Symbol 319 MovieClip "gun" in Frame 887
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 321 MovieClip "block" in Frame 887
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 341 MovieClip "bullet" in Frame 887
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 351 MovieClip in Frame 888
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 351 MovieClip in Frame 888
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 351 MovieClip "fireball" in Frame 888
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 357 MovieClip "boss" in Frame 888
onClipEvent (load) {
time = 0;
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
time = time + 1;
if (time == 100) {
tellTarget ("_root.boss.mouth") {
gotoAndPlay (1);
};
time = 0;
}
}
}
Frame 889
stop();
maproomx = 1;
currentlocation = x;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 889
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 890
stop();
maproom1 = 1;
currentlocation = 1;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 890
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 891
stop();
maproom2 = 1;
currentlocation = 2;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" in Frame 891
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 891
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 891
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 891
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 891
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 891
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 151 MovieClip "bad2" in Frame 891
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 151 MovieClip "bad1" in Frame 891
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 572 MovieClip "mainmenu" in Frame 891
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 892
stop();
maproom3 = 1;
currentlocation = 3;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 585 MovieClip "yellowkey" in Frame 892
onClipEvent (load) {
if (/:yellowkey == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 266 MovieClip "coin1" in Frame 892
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 892
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 892
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 160 MovieClip "bad1" in Frame 892
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 397 MovieClip "you" in Frame 892
onClipEvent (load) {
if (/:puzzleroom3 == 1) {
tellTarget ("_root.wall.wall") {
gotoAndStop (60);
};
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 892
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 893
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 594 MovieClip in Frame 893
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 594 MovieClip in Frame 893
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 594 MovieClip in Frame 893
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 594 MovieClip in Frame 893
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 594 MovieClip in Frame 893
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 266 MovieClip "coin1" in Frame 893
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 893
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 893
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 893
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 893
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 893
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 397 MovieClip "you" in Frame 893
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 151 MovieClip "bad1" in Frame 893
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 151 MovieClip "bad2" in Frame 893
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 572 MovieClip "mainmenu" in Frame 893
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 894
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 617 MovieClip "whitekey2" in Frame 894
onClipEvent (load) {
if (/:whitekey2 == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 894
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 895
stop();
maproom5 = 1;
currentlocation = 5;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 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 269 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 266 MovieClip "coin2" 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 269 MovieClip "bigcoin2" 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 266 MovieClip "coin3" 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 269 MovieClip "bigcoin3" 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 266 MovieClip "coin4" 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 269 MovieClip "bigcoin4" 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 271 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 271 MovieClip "life2" 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 271 MovieClip "life3" 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 271 MovieClip "life4" 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 269 MovieClip "bigcoin5" 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 397 MovieClip "you" in Frame 895
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 151 MovieClip "bad3" 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, 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 160 MovieClip "bad2" 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(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 151 MovieClip "bad4" 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, 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 160 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(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 572 MovieClip "mainmenu" in Frame 895
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 896
stop();
maproom6 = 1;
currentlocation = 6;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 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 269 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 266 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 269 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 266 MovieClip "coin3" 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 269 MovieClip "bigcoin3" 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 266 MovieClip "coin4" 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 269 MovieClip "bigcoin4" 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 271 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 271 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 271 MovieClip "life3" 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 271 MovieClip "life4" 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 397 MovieClip "you" in Frame 896
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 151 MovieClip "bad3" 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;
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 151 MovieClip "bad4" 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;
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 151 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;
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 151 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;
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 572 MovieClip "mainmenu" in Frame 896
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 897
stop();
maproom7 = 1;
currentlocation = 7;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin3" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin3" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin4" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin4" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life3" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life4" in Frame 897
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 166 MovieClip "bad1" in Frame 897
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 151 MovieClip "bad2" in Frame 897
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 151 MovieClip "bad3" in Frame 897
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 151 MovieClip "bad4" in Frame 897
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 572 MovieClip "mainmenu" in Frame 897
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 898
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 266 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 269 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 266 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 269 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 266 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 269 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 266 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 269 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 266 MovieClip "coin5" 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 269 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 266 MovieClip "coin6" 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 266 MovieClip "coin7" 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 266 MovieClip "coin8" 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 266 MovieClip "coin9" 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 266 MovieClip "coin10" 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 269 MovieClip "bigcoin6" 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 269 MovieClip "bigcoin7" 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 269 MovieClip "bigcoin8" 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 269 MovieClip "bigcoin9" 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 269 MovieClip "bigcoin10" 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 271 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 271 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 271 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 271 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 271 MovieClip "life5" 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 271 MovieClip "life6" 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 271 MovieClip "life7" 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 271 MovieClip "life8" 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 271 MovieClip "life9" 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 271 MovieClip "life10" 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 397 MovieClip "you" in Frame 898
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 160 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);
}
}
Instance of Symbol 160 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);
}
}
Instance of Symbol 160 MovieClip "bad5" 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);
}
}
Instance of Symbol 160 MovieClip "bad6" 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);
}
}
Instance of Symbol 160 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, 3);
}
}
Instance of Symbol 160 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, 3);
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 898
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 899
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 266 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 269 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 266 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 269 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 266 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 269 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 266 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 269 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 271 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 271 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 271 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 271 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 341 MovieClip "bullet1" in Frame 899
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 319 MovieClip "gun1" in Frame 899
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 151 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;
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 160 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, 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 151 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;
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 160 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, 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 572 MovieClip "mainmenu" in Frame 899
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 900
stop();
maproom9 = 1;
currentlocation = 9;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 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 269 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 266 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 269 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 266 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 269 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 271 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 271 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 271 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 670 MovieClip "red" in Frame 900
onClipEvent (load) {
if (/:reddoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 151 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 151 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 151 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, 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 572 MovieClip "mainmenu" in Frame 900
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 901
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 271 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 266 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 269 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 266 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 269 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 271 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 271 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 321 MovieClip "block1" in Frame 901
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 160 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);
}
}
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 160 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);
}
}
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 572 MovieClip "mainmenu" in Frame 901
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 902
stop();
maproom11 = 1;
currentlocation = 11;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 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 269 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 271 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 691 MovieClip "yellow" in Frame 902
onClipEvent (load) {
if (/:yellowdoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 160 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(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 572 MovieClip "mainmenu" in Frame 902
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 903
stop();
maproom12 = 1;
currentlocation = 12;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 448 MovieClip "push" in Frame 903
onClipEvent (load) {
if (/:push == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 903
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 904
stop();
maproom13 = 1;
currentlocation = 13;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 271 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 271 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 266 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 269 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 266 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 266 MovieClip "coin3" 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 266 MovieClip "coin4" 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 266 MovieClip "coin5" 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 266 MovieClip "coin6" 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 572 MovieClip "mainmenu" in Frame 904
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 905
stop();
maproom14 = 1;
currentlocation = 14;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 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 269 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 266 MovieClip "coin2" 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 269 MovieClip "bigcoin2" 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 271 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 271 MovieClip "life2" 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 612 MovieClip "steel" in Frame 905
onClipEvent (load) {
if (/:puzzleroom14 == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 151 MovieClip "bad2" 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, 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 151 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, 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 572 MovieClip "mainmenu" in Frame 905
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 906
stop();
maproom15 = 1;
currentlocation = 15;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 906
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 907
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 321 MovieClip "block1" in Frame 907
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 907
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 908
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 572 MovieClip "mainmenu" in Frame 908
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 909
stop();
maproom18 = 1;
currentlocation = 18;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 909
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 910
stop();
maproom19 = 1;
currentlocation = 19;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" in Frame 910
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 910
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 910
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 910
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin3" in Frame 910
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin3" in Frame 910
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 910
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 910
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life3" in Frame 910
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 397 MovieClip "you" in Frame 910
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 747 MovieClip "white" in Frame 910
onClipEvent (load) {
if (/:whitedoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 166 MovieClip "bad1" in Frame 910
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 166 MovieClip "bad2" in Frame 910
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 166 MovieClip "bad3" in Frame 910
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 572 MovieClip "mainmenu" in Frame 910
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 911
stop();
maproom80 = 1;
currentlocation = 80;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 438 MovieClip "bookitem" in Frame 911
onClipEvent (load) {
if (/:book == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 911
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 912
stop();
maproom20 = 1;
currentlocation = 20;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" in Frame 912
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 912
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 912
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 912
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 912
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 912
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 397 MovieClip "you" in Frame 912
onClipEvent (load) {
if (/:puzzleroom20 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 264 MovieClip "block1" in Frame 912
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 319 MovieClip "gun1" in Frame 912
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 319 MovieClip "gun2" in Frame 912
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 341 MovieClip "bullet1" in Frame 912
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 341 MovieClip "bullet2" in Frame 912
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 184 MovieClip "bad1" in Frame 912
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 184 MovieClip "bad2" in Frame 912
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 572 MovieClip "mainmenu" in Frame 912
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 913
stop();
maproom21 = 1;
currentlocation = 21;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 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 269 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 266 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 269 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 266 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 269 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 271 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 271 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 271 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 397 MovieClip "you" in Frame 913
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 321 MovieClip "block1" in Frame 913
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _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 166 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) + 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 184 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, 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 160 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, 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 572 MovieClip "mainmenu" in Frame 913
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 914
stop();
maproom22 = 1;
currentlocation = 22;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 298 MovieClip "button1" in Frame 914
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 771 MovieClip in Frame 914
onClipEvent (load) {
if (/:mapbought == 1) {
tellTarget (this) {
gotoAndStop (2);
};
}
}
onClipEvent (enterFrame) {
if (/:mapbought == 1) {
tellTarget (this) {
gotoAndStop (2);
};
}
}
Instance of Symbol 774 MovieClip in Frame 914
onClipEvent (load) {
if (/:orangekeybought == 1) {
tellTarget (this) {
gotoAndStop (2);
};
}
}
onClipEvent (enterFrame) {
if (/:orangekeybought == 1) {
tellTarget (this) {
gotoAndStop (2);
};
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 914
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 915
stop();
maproom23 = 1;
currentlocation = 23;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 397 MovieClip "you" in Frame 915
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 321 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 572 MovieClip "mainmenu" in Frame 915
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 916
stop();
maproom24 = 1;
currentlocation = 24;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 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 269 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 266 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 269 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 266 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 269 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 266 MovieClip "coin4" 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 269 MovieClip "bigcoin4" 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 266 MovieClip "coin5" 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 269 MovieClip "bigcoin5" 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 271 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 271 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 271 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 271 MovieClip "life4" 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 271 MovieClip "life5" 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 184 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, 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 184 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) + 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 151 MovieClip "bad4" 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, 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 151 MovieClip "bad5" 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, 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 397 MovieClip "you" in Frame 916
onClipEvent (load) {
if (/:puzzleroom24 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 321 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));
}
Instance of Symbol 321 MovieClip "block2" 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));
}
Instance of Symbol 264 MovieClip "block3" 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));
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 916
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 917
stop();
maproom25 = 1;
currentlocation = 25;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 917
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 918
stop();
maproom26 = 1;
currentlocation = 26;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 810 MovieClip "block3" in Frame 918
onClipEvent (load) {
setProperty(this, _x , /:redblock);
}
Instance of Symbol 812 MovieClip "block4" in Frame 918
onClipEvent (load) {
setProperty(this, _x , /:yellowblock);
}
Instance of Symbol 814 MovieClip "block2" in Frame 918
onClipEvent (load) {
setProperty(this, _x , /:greenblock);
}
Instance of Symbol 816 MovieClip "block1" in Frame 918
onClipEvent (load) {
setProperty(this, _x , /:blueblock);
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 918
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 919
stop();
maproom27 = 1;
currentlocation = 27;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 397 MovieClip "you" in Frame 919
onClipEvent (load) {
if (/:snakekilled == 1) {
setProperty("_root.wall.wall", _x , -1000);
setProperty("_root.wall.wall1", _x , -1000);
}
}
Instance of Symbol 863 MovieClip "snake0" in Frame 919
onClipEvent (load) {
snakeheadx = this._x;
snakeheady = this._y;
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 919
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Instance of Symbol 872 MovieClip "health" in Frame 919
onClipEvent (load) {
setProperty(this, _visible , 0);
}
onClipEvent (enterFrame) {
healthvar = (/:snakelife / 10) add "/10";
}
Frame 920
stop();
maproom28 = 1;
currentlocation = 28;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 920
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 921
stop();
maproom29 = 1;
currentlocation = 29;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 921
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Instance of Symbol 883 MovieClip "redkey" in Frame 921
onClipEvent (load) {
if (/:redkey == 1) {
setProperty(this, _x , -1000);
}
}
Frame 922
stop();
maproom30 = 1;
currentlocation = 30;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" in Frame 922
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 922
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 922
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 922
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin3" in Frame 922
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin3" in Frame 922
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 922
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 922
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life3" in Frame 922
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 397 MovieClip "you" in Frame 922
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 319 MovieClip "gun2" in Frame 922
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 341 MovieClip "bullet1" in Frame 922
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 319 MovieClip "gun1" in Frame 922
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 341 MovieClip "bullet2" in Frame 922
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 178 MovieClip "bad1" in Frame 922
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 178 MovieClip "bad2" in Frame 922
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 151 MovieClip "bad3" in Frame 922
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 572 MovieClip "mainmenu" in Frame 922
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 923
stop();
maproom31 = 1;
currentlocation = 31;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 321 MovieClip "block1" in Frame 923
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _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 321 MovieClip "block2" in Frame 923
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _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 572 MovieClip "mainmenu" in Frame 923
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 924
stop();
maproom32 = 1;
currentlocation = 32;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 897 MovieClip "sb" in Frame 924
onClipEvent (load) {
if (/:havesuperbomb == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 924
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 925
stop();
maproom33 = 1;
currentlocation = 33;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 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 269 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 266 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 269 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 266 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 269 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 271 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 271 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 271 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 397 MovieClip "you" in Frame 925
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 913 MovieClip "green" in Frame 925
onClipEvent (load) {
if (/:greendoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 166 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, 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 178 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 284 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);
}
}
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 572 MovieClip "mainmenu" in Frame 925
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 926
stop();
maproom34 = 1;
currentlocation = 34;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin3" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin3" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin4" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin4" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin5" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin5" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin6" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin6" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life3" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life4" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life5" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life6" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin7" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin7" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life7" in Frame 926
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 178 MovieClip "bad1" in Frame 926
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 178 MovieClip "bad7" in Frame 926
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 151 MovieClip "bad2" in Frame 926
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 151 MovieClip "bad3" in Frame 926
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 151 MovieClip "bad4" in Frame 926
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 284 MovieClip "bad5" in Frame 926
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 284 MovieClip "bad6" in Frame 926
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 572 MovieClip "mainmenu" in Frame 926
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 927
stop();
maproom35 = 1;
currentlocation = 35;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin3" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin3" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin4" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin4" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life3" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life4" in Frame 927
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 160 MovieClip "bad2" in Frame 927
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 184 MovieClip "bad1" in Frame 927
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 284 MovieClip "bad3" in Frame 927
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 160 MovieClip "bad4" in Frame 927
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 572 MovieClip "mainmenu" in Frame 927
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 928
stop();
maproom36 = 1;
currentlocation = 36;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 928
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 929
stop();
maproom37 = 1;
currentlocation = 37;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 934 MovieClip "greenkey" in Frame 929
onClipEvent (load) {
if (/:greenkey == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 945 MovieClip "orange" in Frame 929
onClipEvent (load) {
if (/:orangedoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 929
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 930
stop();
maproom38 = 1;
currentlocation = 38;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 341 MovieClip "bullet1" in Frame 930
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 319 MovieClip "gun1" in Frame 930
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 930
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 931
stop();
maproom39 = 1;
currentlocation = 39;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 956 MovieClip "bluekey" in Frame 931
onClipEvent (load) {
if (/:bluekey == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 397 MovieClip "you" in Frame 931
onClipEvent (load) {
if (/:puzzleroom39 == 1) {
tellTarget ("_root.wall.wall") {
gotoAndStop (60);
};
tellTarget ("_root.wall.wall2") {
gotoAndStop (60);
};
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 931
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 932
stop();
maproom40 = 1;
currentlocation = 40;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" in Frame 932
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 932
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 932
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 397 MovieClip "you" in Frame 932
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 295 MovieClip "bad1" in Frame 932
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 572 MovieClip "mainmenu" in Frame 932
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 933
stop();
maproom78 = 1;
currentlocation = 78;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 933
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 934
stop();
maproom79 = 1;
currentlocation = 79;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 975 MovieClip "whitekey" in Frame 934
onClipEvent (load) {
if (/:whitekey == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 934
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 935
stop();
maproom41 = 1;
currentlocation = 41;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 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 269 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 266 MovieClip "coin2" 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 269 MovieClip "bigcoin2" 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 266 MovieClip "coin3" 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 269 MovieClip "bigcoin3" 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 266 MovieClip "coin4" 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 269 MovieClip "bigcoin4" 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 266 MovieClip "coin5" 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 269 MovieClip "bigcoin5" 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 271 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 271 MovieClip "life2" 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 271 MovieClip "life3" 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 271 MovieClip "life4" 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 271 MovieClip "life5" 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 166 MovieClip "bad2" 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, 4);
}
}
onClipEvent (enterFrame) {
if (/:pause == 0) {
hit = hit + 1;
if (hit == 60) {
setProperty(this, _alpha , 100);
}
}
}
Instance of Symbol 178 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, 6);
}
if ((random(2) + 1) == 1) {
tellTarget (this) {
gotoAndPlay ("y");
};
}
}
Instance of Symbol 151 MovieClip "bad5" 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, 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 151 MovieClip "bad3" 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, 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 151 MovieClip "bad4" 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, 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 572 MovieClip "mainmenu" in Frame 935
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 936
stop();
maproom42 = 1;
currentlocation = 42;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 271 MovieClip "life1" in Frame 936
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 936
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 937
stop();
maproom43 = 1;
currentlocation = 43;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 937
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 938
stop();
maproom44 = 1;
currentlocation = 44;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 938
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 939
stop();
maproom45 = 1;
currentlocation = 45;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 939
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 940
stop();
maproom46 = 1;
currentlocation = 46;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 321 MovieClip "block1" in Frame 940
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _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 321 MovieClip "block2" in Frame 940
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _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 321 MovieClip "block3" in Frame 940
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _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 572 MovieClip "mainmenu" in Frame 940
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 941
stop();
maproom47 = 1;
currentlocation = 47;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin3" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin3" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin4" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin4" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life3" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life4" in Frame 941
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bad1" in Frame 941
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 295 MovieClip "bad2" in Frame 941
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 295 MovieClip "bad3" in Frame 941
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 295 MovieClip "bad4" in Frame 941
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 572 MovieClip "mainmenu" in Frame 941
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 942
stop();
maproom48 = 1;
currentlocation = 48;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin2" in Frame 942
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 942
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 942
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 184 MovieClip "bad2" in Frame 942
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 572 MovieClip "mainmenu" in Frame 942
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 943
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 572 MovieClip "mainmenu" in Frame 943
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 944
stop();
maproom50 = 1;
currentlocation = 50;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 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 269 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 266 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 269 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 271 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 271 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 295 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 295 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 572 MovieClip "mainmenu" in Frame 944
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 945
stop();
maproom51 = 1;
currentlocation = 51;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 341 MovieClip "bullet1" in Frame 945
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 266 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 269 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 266 MovieClip "coin3" 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 269 MovieClip "bigcoin3" 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 266 MovieClip "coin4" 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 269 MovieClip "bigcoin4" 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 271 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 271 MovieClip "life3" 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 271 MovieClip "life4" 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 319 MovieClip "gun1" in Frame 945
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 151 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, 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 151 MovieClip "bad3" 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, 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 151 MovieClip "bad4" 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, 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 572 MovieClip "mainmenu" in Frame 945
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 946
stop();
maproom52 = 1;
currentlocation = 52;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 1058 MovieClip "platform" in Frame 946
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() {
var _local1 = _root;
if ((((_local1.you._x == 150) and (_local1.you._y == 70)) or ((_local1.you._x == 270) and (_local1.you._y == 170))) or ((_local1.you._x == 110) and (_local1.you._y == 270))) {
setProperty("_root.platform", _x , 90);
setProperty("_root.platform", _y , 190);
}
if ((_local1.you._x == 30) and (_local1.you._y == 170)) {
setProperty("_root.platform", _x , 90);
setProperty("_root.platform", _y , 130);
}
}
}
onClipEvent (enterFrame) {
plat();
}
Instance of Symbol 341 MovieClip "bullet1" in Frame 946
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 319 MovieClip "gun1" in Frame 946
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 946
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 947
stop();
maproom53 = 1;
currentlocation = 53;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 1058 MovieClip "platform" in Frame 947
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() {
var _local1 = _root;
if ((_local1.you._x == 270) and (_local1.you._y == 170)) {
setProperty("_root.platform", _x , 210);
setProperty("_root.platform", _y , 110);
setProperty("_root.platform2", _x , 70);
setProperty("_root.platform2", _y , 130);
}
if ((_local1.you._x == 150) and (_local1.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 1058 MovieClip "platform2" in Frame 947
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() {
var _local1 = _root;
if ((_local1.you._x == 270) and (_local1.you._y == 170)) {
setProperty("_root.platform", _x , 210);
setProperty("_root.platform", _y , 110);
setProperty("_root.platform2", _x , 70);
setProperty("_root.platform2", _y , 130);
}
if ((_local1.you._x == 150) and (_local1.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 271 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 572 MovieClip "mainmenu" in Frame 947
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 948
stop();
maproom54 = 1;
currentlocation = 54;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 271 MovieClip "life1" 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 1058 MovieClip "platform" in Frame 948
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 572 MovieClip "mainmenu" in Frame 948
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 949
stop();
maproom55 = 1;
currentlocation = 55;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 341 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 341 MovieClip "bullet2" 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 341 MovieClip "bullet4" 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 341 MovieClip "bullet3" 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 266 MovieClip "coin1" in Frame 949
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 949
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 949
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 949
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 949
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 949
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 397 MovieClip "you" in Frame 949
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 319 MovieClip "gun1" in Frame 949
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 319 MovieClip "gun2" in Frame 949
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 319 MovieClip "gun3" in Frame 949
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 319 MovieClip "gun4" in Frame 949
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 166 MovieClip "bad1" in Frame 949
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 184 MovieClip "bad2" in Frame 949
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 572 MovieClip "mainmenu" in Frame 949
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 950
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 572 MovieClip "mainmenu" in Frame 950
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 951
stop();
maproom57 = 1;
currentlocation = 57;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" 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 269 MovieClip "bigcoin1" 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 266 MovieClip "coin2" 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 269 MovieClip "bigcoin2" 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 271 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 271 MovieClip "life2" 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 397 MovieClip "you" in Frame 951
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 295 MovieClip "bad1" in Frame 951
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 295 MovieClip "bad2" in Frame 951
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 572 MovieClip "mainmenu" in Frame 951
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 952
stop();
maproom58 = 1;
currentlocation = 58;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 341 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 319 MovieClip "gun1" in Frame 952
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 952
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 953
stop();
maproom59 = 1;
currentlocation = 59;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 397 MovieClip "you" in Frame 953
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 572 MovieClip "mainmenu" in Frame 953
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 954
stop();
maproom60 = 1;
currentlocation = 60;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 1058 MovieClip "platform" in Frame 954
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 1058 MovieClip "platform2" in Frame 954
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() {
var _local1 = _root;
if ((_local1.you._x == 30) and (_local1.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 ((_local1.you._x == 270) and (_local1.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 1058 MovieClip "platform3" in Frame 954
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 1058 MovieClip "platform4" in Frame 954
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 1058 MovieClip "platform5" in Frame 954
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 341 MovieClip "bullet1" in Frame 954
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 341 MovieClip "bullet2" in Frame 954
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 319 MovieClip "gun1" in Frame 954
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 319 MovieClip "gun2" in Frame 954
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 954
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 955
stop();
maproom61 = 1;
currentlocation = 61;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin3" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin3" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin4" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin4" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin5" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin5" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin6" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin6" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life3" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life4" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life5" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life6" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star1" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star2" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star3" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star4" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star5" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star6" in Frame 955
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 178 MovieClip "bad5" in Frame 955
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 151 MovieClip "bad1" in Frame 955
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 160 MovieClip "bad2" in Frame 955
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 166 MovieClip "bad3" in Frame 955
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 184 MovieClip "bad4" in Frame 955
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 284 MovieClip "bad6" in Frame 955
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 572 MovieClip "mainmenu" in Frame 955
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 956
stop();
maproom62 = 1;
currentlocation = 62;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 810 MovieClip "block4" in Frame 956
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 812 MovieClip "block2" in Frame 956
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 814 MovieClip "block3" in Frame 956
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 816 MovieClip "block1" in Frame 956
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 397 MovieClip "you" in Frame 956
onClipEvent (load) {
if (/:puzzleroom62 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Instance of Symbol 341 MovieClip "bullet1" in Frame 956
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 319 MovieClip "gun1" in Frame 956
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 956
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 957
stop();
maproom63 = 1;
currentlocation = 63;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 271 MovieClip "life1" in Frame 957
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 957
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 957
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 958
stop();
maproom64 = 1;
currentlocation = 64;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 958
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 959
stop();
maproom65 = 1;
currentlocation = 65;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 397 MovieClip "you" in Frame 959
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 1161 MovieClip "fireball2" in Frame 959
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 1161 MovieClip "fireball1" in Frame 959
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 1161 MovieClip "fireball3" in Frame 959
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 1172 MovieClip "boss" in Frame 959
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 572 MovieClip "mainmenu" in Frame 959
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Instance of Symbol 872 MovieClip "health" in Frame 959
onClipEvent (load) {
setProperty(this, _visible , 0);
}
onClipEvent (enterFrame) {
healthvar = /:bomblife add "/5";
}
Frame 960
stop();
maproom66 = 1;
currentlocation = 66;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 397 MovieClip "you" in Frame 960
onClipEvent (load) {
if (/:puzzleroom66 == 1) {
tellTarget ("_root.wall.wall1") {
gotoAndStop (60);
};
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 960
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 961
stop();
maproom67 = 1;
currentlocation = 67;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 397 MovieClip "you" in Frame 961
onClipEvent (load) {
if (/:puzzleroom67 == 1) {
tellTarget ("_root.wall.wall1") {
gotoAndStop (60);
};
}
}
Instance of Symbol 377 MovieClip "raftitem" in Frame 961
onClipEvent (load) {
if (/:raft == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 961
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 962
stop();
maproom68 = 1;
currentlocation = 68;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 594 MovieClip in Frame 962
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 341 MovieClip "bullet1" in Frame 962
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 319 MovieClip "gun1" in Frame 962
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 962
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 963
stop();
maproom69 = 1;
currentlocation = 69;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 266 MovieClip "coin1" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin1" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin2" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin2" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin3" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin3" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 266 MovieClip "coin4" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") 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 "bigcoin4" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life1" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life3" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life4" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star1" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star2" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star3" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 274 MovieClip "star4" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life5" in Frame 963
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 166 MovieClip "bad3" in Frame 963
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 184 MovieClip "bad4" in Frame 963
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 178 MovieClip "bad1" in Frame 963
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 178 MovieClip "bad2" in Frame 963
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 572 MovieClip "mainmenu" in Frame 963
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 964
stop();
maproom70 = 1;
currentlocation = 70;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 304 MovieClip "block0" in Frame 964
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 310 MovieClip "block1" in Frame 964
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 310 MovieClip "block2" in Frame 964
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 310 MovieClip "block3" in Frame 964
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 310 MovieClip "block4" in Frame 964
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 310 MovieClip "block5" in Frame 964
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 397 MovieClip "you" in Frame 964
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 572 MovieClip "mainmenu" in Frame 964
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 965
stop();
maproom71 = 1;
currentlocation = 71;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 1219 MovieClip "blankkey" in Frame 965
onClipEvent (load) {
if (/:blankkey == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 965
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 966
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 397 MovieClip "you" in Frame 966
onClipEvent (load) {
if (/:puzzleroom72 == 1) {
tellTarget ("_root.wall.wall1") {
gotoAndStop (60);
};
}
}
Instance of Symbol 1236 MovieClip "blue" in Frame 966
onClipEvent (load) {
if (/:bluedoor == 1) {
setProperty(this, _x , -1000);
}
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 966
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 967
stop();
maproom73 = 1;
currentlocation = 73;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 967
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 968
stop();
maproom74 = 1;
currentlocation = 74;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 271 MovieClip "life1" in Frame 968
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 271 MovieClip "life2" in Frame 968
onClipEvent (load) {
if (eval ((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) == 1) {
setProperty(this, _x , -1000);
}
}
onClipEvent (load) {
setProperty(this, _x , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x"));
setProperty(this, _y , eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y"));
}
onClipEvent (enterFrame) {
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "x", getProperty(this, _x));
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "y", getProperty(this, _y));
}
Instance of Symbol 572 MovieClip "mainmenu" in Frame 968
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 969
stop();
maproom75 = 1;
currentlocation = 75;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 572 MovieClip "mainmenu" in Frame 969
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 970
stop();
maproom76 = 1;
currentlocation = 76;
bombset = 0;
tellTarget ("you") {
gotoAndStop(/:direction);
};
setProperty(you, _x , xyou);
setProperty(you, _y , yyou);
Instance of Symbol 341 MovieClip "bullet1" in Frame 970
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 1260 MovieClip "fire1" in Frame 970
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 319 MovieClip "gun1" in Frame 970
onClipEvent (load) {
function gun() {
var _local1 = this;
circx = _local1._x;
circy = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 1275 MovieClip "snake0" in Frame 970
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 572 MovieClip "mainmenu" in Frame 970
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Instance of Symbol 872 MovieClip "health" in Frame 970
onClipEvent (load) {
setProperty(this, _visible , 0);
}
onClipEvent (enterFrame) {
healthvar = /:finalsnakelife add "/5";
}
Frame 971
stop();
Instance of Symbol 572 MovieClip "mainmenu" in Frame 971
onClipEvent (load) {
if (/:mainmenuclear == 1) {
setProperty(this, _alpha , 50);
}
}
Frame 1611
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 1398 MovieClip "rank" in Frame 1662
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 1682
stop();
Instance of Symbol 1398 MovieClip "rank" in Frame 1682
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 1422 MovieClip "boss" in Frame 1683
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 1423 MovieClip "shootstar" in Frame 1683
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 1430 MovieClip "fireball" in Frame 1683
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 1431 MovieClip "boss" in Frame 1683
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 41 Button
on (release) {
_root.play();
}
Symbol 42 MovieClip Frame 1
_root.stop();
stop();
Symbol 42 MovieClip Frame 20
stop();
Symbol 47 Button
on (release) {
_root.NewgroundsAPI_loadNewgrounds();
}
Symbol 50 Button
on (release) {
_root.NewgroundsAPI_loadNewgrounds();
}
Symbol 52 MovieClip Frame 1
function load_ad() {
url = new XML();
url.onLoad = function (s) {
if (s) {
_root.NewgroundsAPI_Ad_Unit.start_ad(this.toString());
}
};
url.load(_root.NewgroundsAPI_params.ad_url);
}
function start_ad(url) {
trace("[Newgrounds Flash Ads] Your ad was loaded. Your version of flash may have trouble displaying the ad, however, the ad will load fine if you test in a browser!");
ng_ad.loadMovie(url);
}
_root.NewgroundsAPI_Ad_Unit = this;
if (_root.NewgroundsAPI_params.ad_url != undefined) {
_root.NewgroundsAPI_Ad_Unit.load_ad();
}
_root.NewgroundsAPI_onAdsApproved = function () {
_root.NewgroundsAPI_Ad_Unit.load_ad();
};
Instance of Symbol 42 MovieClip in Symbol 52 MovieClip Frame 1
onClipEvent (enterFrame) {
x = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (x < 100) {
bar.gotoAndStop(x);
} else if (init != 1) {
init = 1;
play();
}
}
Symbol 63 Button
on (release) {
_root.NewgroundsAPI_loadMyMovie();
}
Symbol 68 Button
on (release) {
_root.NewgroundsAPI_loadMyMovie();
}
Symbol 71 Button
on (release) {
this._visible = false;
}
Symbol 73 MovieClip Frame 1
_visible = false;
_root.NewgroundsAPI = this;
STAT_MOVIE_VIEWS = 1;
STAT_AUTHOR_SITE = 2;
STAT_NEWGROUNDS = 3;
STAT_NEW_VERSION = 4;
STAT_CUSTOM_STATS = 50;
Symbol 73 MovieClip Frame 2
_root.NewgroundsAPI.POPUP_ERROR._visible = false;
_root.NewgroundsAPI.POPUP_VERSION._visible = false;
customStats = new Object();
i = 1;
while (i < _root.NewgroundsAPI_customLinks.length) {
customStats[_root.NewgroundsAPI_customLinks[i]] = i + STAT_CUSTOM_STATS;
i++;
}
i = 1;
while (i < _root.NewgroundsAPI_customEvents.length) {
customStats[_root.NewgroundsAPI_customEvents[i]] = i + STAT_CUSTOM_STATS;
i++;
}
_x = 0;
_y = 0;
configureMovie = function () {
var _local1 = _root;
if (_local1.NewgroundsAPI_params.error != undefined) {
sendError(_local1.NewgroundsAPI_params.error);
}
if (_local1.NewgroundsAPI_params.settings_loaded == 1) {
sendMessage("You have successfully connected to the Newgrounds API gateway!");
sendMessage(("Movie Identified as '" + _local1.NewgroundsAPI_params.movie_name) + "'");
}
if (_local1.NewgroundsAPI_params.deny_host == 1) {
sendMessage(host + " is not approved to use this movie");
_local1.NewgroundsAPI_onDenyHost(host, _local1.NewgroundsAPI_params.movie_url, (script_url + "&stat=") + STAT_NEW_VERSION);
}
if (_local1.NewgroundsAPI_params.movie_version == 1) {
sendMessage(("Version " + _local1.NewgroundsAPI_params.movie_version) + " is now available!");
_local1.NewgroundsAPI_onNewVersionAvailable(_local1.NewgroundsAPI_params.movie_version, _local1.NewgroundsAPI_params.movie_url, (script_url + "&stat=") + STAT_NEW_VERSION);
}
if (_local1.NewgroundsAPI_params.ad_url != undefined) {
sendMessage("This movie has been approved to use Flash Ads");
_local1.NewgroundsAPI_onAdsApproved(_local1.NewgroundsAPI_params.ad_url);
}
};
sendError = function (error) {
trace("[NEWGROUNDS API ERROR] " + error);
};
sendMessage = function (message) {
trace("[NEWGROUNDS API] " + message);
};
sendStats = function (stat, new_window) {
var _local1 = this;
var _local2 = _root;
if (script_url != undefined) {
query = "&stat=" + stat;
if (new_window == true) {
getURL (script_url + query, "_blank");
} else {
initInfo = new XML();
initInfo.onLoad = function () {
var _local1 = this;
var _local2 = _root;
i = 0;
while (i < _local1.childNodes.length) {
if (_local1.childNodes[i].nodeName != null) {
j = 0;
while (j < _local1.childNodes[i].childNodes.length) {
if (_local1.childNodes[i].childNodes[j].nodeName != null) {
param_name = _local1.childNodes[i].childNodes[j].nodeName;
param_value = unescape(_local1.childNodes[i].childNodes[j].attributes.value);
_local2.NewgroundsAPI_params[param_name] = param_value;
}
j++;
}
}
i++;
}
_local2.NewgroundsAPI.configureMovie();
};
initInfo.load(script_url + query);
}
}
};
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
if (!_root.NewgroundsAPI_id) {
sendError("Missing required '_root.NewgroundsAPI_id' variable");
} else if (!tracker_id) {
tracker_id = _root.NewgroundsAPI_id;
script_url = (("http://www.ngads.com/gateway.php?id=" + tracker_id) + "&host=") + escape(host);
_root.NewgroundsAPI_params = new Object();
sendMessage("Connecting to API gateway...");
sendStats(STAT_MOVIE_VIEWS, false);
}
_root.NewgroundsAPI_loadMyMovie = function () {
_root.NewgroundsAPI.sendStats(_root.NewgroundsAPI.STAT_NEW_VERSION, true);
};
_root.NewgroundsAPI_loadNewgrounds = function () {
_root.NewgroundsAPI.sendStats(_root.NewgroundsAPI.STAT_NEWGROUNDS, true);
};
_root.NewgroundsAPI_loadMySite = function () {
_root.NewgroundsAPI.sendStats(_root.NewgroundsAPI.STAT_AUTHOR_SITE, true);
};
_root.NewgroundsAPI_loadCustomLink = function (link) {
var _local1 = _root;
var _local2 = link;
if (_local1.NewgroundsAPI.customStats[_local2]) {
_local1.NewgroundsAPI.sendStats(_local1.NewgroundsAPI.customStats[_local2], true);
} else {
_local1.NewgroundsAPI.sendError(("The custom link '" + _local2) + "' has not beed defined.");
}
};
_root.NewgroundsAPI_logCustomEvent = function (event) {
var _local1 = _root;
var _local2 = event;
if (_local1.NewgroundsAPI.customStats[_local2]) {
_local1.NewgroundsAPI.sendStats(_local1.NewgroundsAPI.customStats[_local2], false);
} else {
_local1.NewgroundsAPI.sendError(("The custom event '" + _local2) + "' has not beed defined.");
}
};
if (typeof(_root.NewgroundsAPI_onDenyHost) != "function") {
_root.NewgroundsAPI_onDenyHost = function (ad_url) {
var _local1 = _root;
_local1.NewgroundsAPI.swapDepths(99999);
_local1.NewgroundsAPI._visible = true;
_local1.NewgroundsAPI.POPUP_ERROR._visible = true;
};
}
if (typeof(_root.NewgroundsAPI_onNewVersionAvailable) != "function") {
_root.NewgroundsAPI_onNewVersionAvailable = function (ad_url) {
var _local1 = _root;
_local1.NewgroundsAPI.swapDepths(99999);
_local1.NewgroundsAPI._visible = true;
_local1.NewgroundsAPI.POPUP_VERSION._visible = true;
};
}
stop();
Symbol 92 Button
on (keyPress "<Space>") {
if (select._y == 230) {
gotoAndPlay (137);
} else if (select._y == 250) {
gotoAndPlay (88);
}
}
Symbol 93 Button
on (keyPress "<Up>") {
if (select._y == 250) {
setProperty("select", _y , 230);
}
}
on (keyPress "<Down>") {
if (select._y == 230) {
setProperty("select", _y , 250);
}
}
Symbol 108 Button
on (keyPress "<Right>") {
nextFrame();
}
Symbol 109 Button
on (keyPress "<Space>") {
gotoAndPlay (113);
}
Symbol 122 Button
on (keyPress "<Right>") {
nextFrame();
}
on (keyPress "<Left>") {
prevFrame();
}
Symbol 127 Button
on (keyPress "<Left>") {
prevFrame();
}
Symbol 131 Button
on (keyPress "<Space>") {
gotoAndPlay (860);
}
Symbol 133 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 133 MovieClip Frame 2
var ctext = (ctext + text.substring(0, 1));
text = text.substring(1);
Symbol 133 MovieClip Frame 4
gotoAndPlay (2);
Symbol 144 MovieClip Frame 1
stop();
Symbol 151 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 146 MovieClip in Symbol 151 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 147 MovieClip in Symbol 151 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 151 MovieClip Frame 5
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 151 MovieClip Frame 9
y = random(2);
Symbol 151 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 151 MovieClip Frame 15
if ((random(3) + 1) == 1) {
gotoAndPlay (11);
}
Symbol 151 MovieClip Frame 19
x = random(2);
Symbol 151 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 151 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 147 MovieClip in Symbol 151 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 2) * 100);
}
Symbol 151 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
gotoAndPlay (1);
}
Symbol 151 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 151 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 153 MovieClip Frame 1
stop();
Symbol 160 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 146 MovieClip in Symbol 160 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 147 MovieClip in Symbol 160 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 160 MovieClip Frame 3
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 160 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 160 MovieClip Frame 8
if ((random(3) + 1) == 1) {
gotoAndPlay (6);
}
Symbol 160 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 160 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 147 MovieClip in Symbol 160 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 3) * 100);
}
Symbol 160 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
gotoAndPlay (1);
}
Symbol 160 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 160 MovieClip Frame 54
stop();
Symbol 160 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 1
stop();
Symbol 166 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 146 MovieClip in Symbol 166 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 147 MovieClip in Symbol 166 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 166 MovieClip Frame 3
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 166 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 166 MovieClip Frame 8
if ((random(3) + 1) == 1) {
gotoAndPlay (6);
}
Symbol 166 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 166 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 147 MovieClip in Symbol 166 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 5) * 100);
}
Symbol 166 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
gotoAndPlay (1);
setProperty(this, _alpha , 10);
hit = 0;
}
Symbol 166 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 166 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 168 MovieClip Frame 1
stop();
Symbol 178 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 146 MovieClip in Symbol 178 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 147 MovieClip in Symbol 178 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 178 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 ("y");
}
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 ("y");
}
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 ("y");
}
}
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 ("y");
}
} 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 ("y");
}
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 ("y");
}
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 ("y");
}
}
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 ("y");
}
} 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 ("y");
}
}
Symbol 178 MovieClip Frame 8
gotoAndPlay ("x");
Symbol 178 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 ("x");
}
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 ("x");
}
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 ("x");
}
}
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 ("x");
}
} 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 ("x");
}
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 ("x");
}
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 ("x");
}
}
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 ("x");
}
} 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 ("x");
}
}
Symbol 178 MovieClip Frame 16
gotoAndPlay ("y");
Symbol 178 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 147 MovieClip in Symbol 178 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 6) * 100);
}
Symbol 178 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
gotoAndPlay (1);
}
Symbol 178 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 178 MovieClip Frame 54
stop();
Symbol 178 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 180 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 32
setProperty("_parent", _visible , 0);
Symbol 181 MovieClip Frame 59
setProperty("_parent", _visible , 1);
Symbol 184 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 146 MovieClip in Symbol 184 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 147 MovieClip in Symbol 184 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 184 MovieClip Frame 2
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 184 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 184 MovieClip Frame 6
if ((random(3) + 1) == 1) {
gotoAndPlay (5);
}
Symbol 184 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 184 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 147 MovieClip in Symbol 184 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 5) * 100);
}
Symbol 184 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
gotoAndPlay (1);
}
Symbol 184 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 184 MovieClip Frame 54
stop();
Symbol 184 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 208 MovieClip Frame 5
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 208 MovieClip Frame 9
y = random(2);
Symbol 208 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 208 MovieClip Frame 15
if ((random(3) + 1) == 1) {
gotoAndPlay (11);
}
Symbol 208 MovieClip Frame 19
x = random(2);
Symbol 208 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 208 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 147 MovieClip in Symbol 208 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval (("/:" add getProperty(_parent, _name)) add "life") / 2) * 100);
}
Symbol 208 MovieClip Frame 39
if (eval (("/:" add getProperty(this, _name)) add "life") > 0) {
gotoAndPlay (1);
}
Symbol 208 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 210 MovieClip Frame 1
stop();
Symbol 210 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 210 MovieClip Frame 4
gotoAndPlay (2);
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 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 211 MovieClip Frame 4
gotoAndPlay (2);
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 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 212 MovieClip Frame 4
gotoAndPlay (2);
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 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 213 MovieClip Frame 4
gotoAndPlay (2);
Symbol 216 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 216 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 216 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 216 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 216 MovieClip Frame 62
gotoAndPlay (2);
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 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 217 MovieClip Frame 4
gotoAndPlay (2);
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 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 218 MovieClip Frame 4
gotoAndPlay (2);
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 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 219 MovieClip Frame 4
gotoAndPlay (2);
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 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 220 MovieClip Frame 4
gotoAndPlay (2);
Symbol 222 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 222 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 222 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 222 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 222 MovieClip Frame 62
gotoAndPlay (2);
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 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 225 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 226 MovieClip Frame 1
stop();
Symbol 226 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 226 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 235 MovieClip "bad" in Symbol 240 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 240 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 ("left");
}
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 ("left");
}
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 ("left");
}
}
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 ("left");
}
} else if (_root.wall.hittest(this._x + 20, this._y, true) eq "true") {
gotoAndPlay ("left");
}
Symbol 240 MovieClip Frame 6
gotoAndPlay ("right");
Symbol 240 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 ("right");
}
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 ("right");
}
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 ("right");
}
}
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 ("right");
}
} else if (_root.wall.hittest(this._x - 20, this._y, true) eq "true") {
gotoAndPlay ("right");
}
Symbol 240 MovieClip Frame 12
gotoAndPlay ("left");
Symbol 240 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 237 MovieClip in Symbol 240 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 147 MovieClip in Symbol 240 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval (("/:" add getProperty(_parent, _name)) add "life") / 3) * 100);
}
Instance of Symbol 237 MovieClip in Symbol 240 MovieClip Frame 27
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 237 MovieClip in Symbol 240 MovieClip Frame 29
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 237 MovieClip in Symbol 240 MovieClip Frame 31
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 237 MovieClip in Symbol 240 MovieClip Frame 33
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 237 MovieClip in Symbol 240 MovieClip Frame 35
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 240 MovieClip Frame 37
if (eval (("/:" add getProperty(this, _name)) add "life") > 0) {
if (badrotation == 0) {
gotoAndPlay ("right");
} else if (badrotation == 180) {
gotoAndPlay ("left");
}
}
Instance of Symbol 237 MovieClip in Symbol 240 MovieClip Frame 37
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 240 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 240 MovieClip Frame 54
stop();
Instance of Symbol 234 MovieClip "bad" in Symbol 241 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 241 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 ("up");
}
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 ("up");
}
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 ("up");
}
}
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 ("up");
}
} else if (_root.wall.hittest(this._x, this._y + 20, true) eq "true") {
gotoAndPlay ("up");
}
Symbol 241 MovieClip Frame 6
gotoAndPlay ("down");
Symbol 241 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 ("down");
}
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 ("down");
}
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 ("down");
}
}
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 ("down");
}
} else if (_root.wall.hittest(this._x, this._y - 20, true) eq "true") {
gotoAndPlay ("down");
}
Symbol 241 MovieClip Frame 12
gotoAndPlay ("up");
Symbol 241 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 237 MovieClip in Symbol 241 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 147 MovieClip in Symbol 241 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval (("/:" add getProperty(_parent, _name)) add "life") / 3) * 100);
}
Instance of Symbol 237 MovieClip in Symbol 241 MovieClip Frame 27
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 237 MovieClip in Symbol 241 MovieClip Frame 29
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 237 MovieClip in Symbol 241 MovieClip Frame 31
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 237 MovieClip in Symbol 241 MovieClip Frame 33
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Instance of Symbol 237 MovieClip in Symbol 241 MovieClip Frame 35
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 241 MovieClip Frame 37
if (eval (("/:" add getProperty(this, _name)) add "life") > 0) {
if (badrotation == 180) {
gotoAndPlay ("up");
} else {
gotoAndPlay (1);
}
}
Instance of Symbol 237 MovieClip in Symbol 241 MovieClip Frame 37
onClipEvent (load) {
setProperty(this, _rotation , _parent.badrotation);
}
Symbol 241 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 241 MovieClip Frame 54
stop();
Symbol 261 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 264 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 284 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 146 MovieClip in Symbol 284 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 147 MovieClip in Symbol 284 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 284 MovieClip Frame 5
if ((random(3) + 1) == 1) {
if (dead != 1) {
gotoAndPlay (1);
}
}
Symbol 284 MovieClip Frame 9
y = random(2);
Symbol 284 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 284 MovieClip Frame 15
if ((random(3) + 1) == 1) {
gotoAndPlay (11);
}
Symbol 284 MovieClip Frame 19
x = random(2);
Symbol 284 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 284 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 147 MovieClip in Symbol 284 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 6) * 100);
}
Symbol 284 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 284 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 284 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 284 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 288 MovieClip Frame 1
stop();
Symbol 291 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 146 MovieClip in Symbol 291 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 147 MovieClip in Symbol 291 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 291 MovieClip Frame 2
if ((random(3) + 1) == 1) {
gotoAndPlay (1);
}
Symbol 291 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 291 MovieClip Frame 6
if ((random(3) + 1) == 1) {
gotoAndPlay (5);
}
Symbol 291 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 291 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 147 MovieClip in Symbol 291 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 5) * 100);
}
Symbol 291 MovieClip Frame 37
if (eval ((("/:" add getProperty(this, _name)) add "life") add /:currentlocation) > 0) {
place();
gotoAndPlay (1);
}
Symbol 291 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 291 MovieClip Frame 54
stop();
Symbol 291 MovieClip Frame 76
setProperty(this, _x , -1000);
Set(((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed", 1);
stop();
Symbol 295 MovieClip Frame 1
if (eval (((("/:" add getProperty(this, _name)) add "_room") add /:currentlocation) add "_killed") == 1) {
stop();
}
noplay = 1;
stop();
Symbol 295 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 146 MovieClip in Symbol 295 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 147 MovieClip in Symbol 295 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 295 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 295 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 295 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 147 MovieClip in Symbol 295 MovieClip Frame 25
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 8) * 100);
}
Symbol 295 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 295 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 295 MovieClip Frame 54
stop();
Symbol 295 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 296 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 300 MovieClip Frame 1
stop();
Symbol 300 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 ("right");
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else if ((z >= 11) and (z <= 15)) {
gotoAndPlay ("left");
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 300 MovieClip Frame 3
gotoAndPlay ("up");
Symbol 300 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 ("down");
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else if ((z >= 16) and (z <= 20)) {
gotoAndPlay ("up");
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 300 MovieClip Frame 5
gotoAndPlay ("right");
Symbol 300 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 ("right");
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else if ((z >= 16) and (z <= 20)) {
gotoAndPlay ("left");
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 300 MovieClip Frame 7
gotoAndPlay ("down");
Symbol 300 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 ("up");
tellTarget (("_root.block" add z) add ".box") {
gotoAndStop (2);
};
} else if ((z >= 6) and (z <= 10)) {
gotoAndPlay ("down");
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 300 MovieClip Frame 9
gotoAndPlay ("left");
Symbol 303 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 2
play();
Symbol 304 MovieClip Frame 11
stop();
Symbol 304 MovieClip Frame 12
play();
Symbol 304 MovieClip Frame 21
stop();
Symbol 304 MovieClip Frame 22
play();
Symbol 304 MovieClip Frame 31
stop();
Symbol 304 MovieClip Frame 32
play();
Symbol 304 MovieClip Frame 40
gotoAndStop (1);
Symbol 309 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 1
stop();
Instance of Symbol 306 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _visible , 0);
}
Symbol 310 MovieClip Frame 2
play();
Symbol 310 MovieClip Frame 11
stop();
Symbol 310 MovieClip Frame 12
play();
Symbol 310 MovieClip Frame 21
stop();
Symbol 310 MovieClip Frame 22
play();
Symbol 310 MovieClip Frame 31
stop();
Symbol 310 MovieClip Frame 32
play();
Symbol 310 MovieClip Frame 40
gotoAndStop (1);
Symbol 315 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 2
stop();
Symbol 315 MovieClip Frame 3
stop();
Symbol 315 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 147 MovieClip in Symbol 315 MovieClip Frame 13
onClipEvent (load) {
setProperty(this, _xscale , (eval ((("/:" add getProperty(_parent, _name)) add "life") add /:currentlocation) / 3) * 100);
}
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 6
gotoAndStop (1);
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 2
tellTarget ("_root.gun" add (substring(getProperty(this, _name), 7, 8))) {
gotoAndPlay (2);
};
Symbol 341 MovieClip Frame 4
gotoAndStop (1);
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 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 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 5
gotoAndStop (1);
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 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 356 MovieClip Frame 12
gotoAndStop (1);
Instance of Symbol 354 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (load) {
function gun() {
var _local1 = this;
pos = new Object();
pos.x = _local1._x;
pos.y = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 354 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (load) {
function gun() {
var _local1 = this;
pos = new Object();
pos.x = _local1._x;
pos.y = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Symbol 358 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 359 Button
on (keyPress "z") {
usebomb();
}
Symbol 360 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 (889);
}
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 (889);
}
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 (889);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 361 Button
on (keyPress "x") {
usemagic();
}
Symbol 368 MovieClip Frame 1
stop();
Symbol 368 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 368 MovieClip Frame 3
gotoAndPlay (2);
Symbol 368 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 368 MovieClip Frame 5
gotoAndPlay (4);
Symbol 368 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 368 MovieClip Frame 7
gotoAndPlay (6);
Symbol 368 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 368 MovieClip Frame 9
gotoAndPlay (8);
Symbol 375 MovieClip Frame 1
stop();
Instance of Symbol 374 MovieClip "super" in Symbol 375 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 375 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 375 MovieClip Frame 7
Set("/:bombset", 0);
setProperty("_root.bomb", _x , -1000);
gotoAndStop (1);
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 41
Set("/:pause", 0);
Set("/:frozen", 0);
gotoAndStop (1);
Symbol 397 MovieClip Frame 1
stop();
Set("/:d", 1);
Instance of Symbol 377 MovieClip "dock" in Symbol 397 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 397 MovieClip Frame 2
Set("/:d", 2);
Symbol 397 MovieClip Frame 3
Set("/:d", 3);
Symbol 397 MovieClip Frame 4
Set("/:d", 4);
Symbol 397 MovieClip Frame 5
play();
Set("/:hitaloud", 0);
Symbol 397 MovieClip Frame 6
if (/:life < 1) {
Set("/:lives", /:lives + 1);
Set("/:life", 100);
}
Symbol 397 MovieClip Frame 8
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
gotoAndStop (1);
Symbol 397 MovieClip Frame 9
play();
Symbol 397 MovieClip Frame 10
if (/:life < 1) {
Set("/:life", 100);
Set("/:lives", /:lives + 1);
}
Symbol 397 MovieClip Frame 12
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
gotoAndStop (2);
Symbol 397 MovieClip Frame 13
play();
Symbol 397 MovieClip Frame 14
if (/:life < 1) {
Set("/:life", 100);
Set("/:lives", /:lives + 1);
}
Symbol 397 MovieClip Frame 16
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
gotoAndStop (3);
Symbol 397 MovieClip Frame 17
play();
Symbol 397 MovieClip Frame 18
if (/:life < 1) {
Set("/:life", 100);
Set("/:lives", /:lives + 1);
}
Symbol 397 MovieClip Frame 20
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
gotoAndStop (4);
Symbol 415 MovieClip Frame 1
stop();
Symbol 415 MovieClip Frame 2
play();
Symbol 415 MovieClip Frame 65
if (((/:currentlocation == 4) and (/:movie2 == 0)) and (/:bomb == 1)) {
tellTarget ("/") {
gotoAndPlay ("4again");
};
Set("/:movie2", 1);
}
gotoAndStop (1);
Instance of Symbol 411 MovieClip "lifebar" in Symbol 416 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 417 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 438 MovieClip "bookitem" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
if (/:book == 1) {
setProperty(this, _x , -1000);
}
}
Symbol 445 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 1
stop();
Instance of Symbol 440 MovieClip in Symbol 451 MovieClip Frame 4
onClipEvent (load) {
if (/:book == 1) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (/:book == 1) {
gotoAndStop (2);
}
}
Instance of Symbol 442 MovieClip in Symbol 451 MovieClip Frame 5
onClipEvent (load) {
if (/:raft == 1) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (/:raft == 1) {
gotoAndStop (2);
}
}
Instance of Symbol 445 MovieClip in Symbol 451 MovieClip Frame 6
onClipEvent (load) {
if (/:havesuperbomb == 1) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (/:havesuperbomb == 1) {
gotoAndStop (2);
}
}
Instance of Symbol 450 MovieClip in Symbol 451 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 499 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 496 MovieClip in Symbol 499 MovieClip Frame 1
onClipEvent (load) {
if (/:map == 0) {
setProperty(this, _visible , 0);
}
}
Symbol 504 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 504 MovieClip Frame 2
gotoAndPlay (1);
Symbol 544 MovieClip Frame 1
stop();
Symbol 544 MovieClip Frame 2
stop();
Symbol 544 MovieClip Frame 3
stop();
Symbol 545 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 558 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 566 Button
on (keyPress "s") {
stopAllSounds();
Set("/:musicon", 0);
}
Symbol 568 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 95 MovieClip "select" in Symbol 568 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 453 MovieClip in Symbol 568 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 455 MovieClip in Symbol 568 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 457 MovieClip in Symbol 568 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 459 MovieClip in Symbol 568 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 461 MovieClip in Symbol 568 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 463 MovieClip in Symbol 568 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 465 MovieClip in Symbol 568 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 467 MovieClip in Symbol 568 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 499 MovieClip in Symbol 568 MovieClip Frame 2
onClipEvent (load) {
if (/:floor == 1) {
gotoAndStop (1);
} else if (/:floor == 2) {
gotoAndStop (2);
}
}
Symbol 568 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 547 MovieClip in Symbol 568 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 568 MovieClip Frame 4
/:mainmusic.setVolume(25);
Instance of Symbol 550 MovieClip in Symbol 568 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 568 MovieClip Frame 5
Set("/:arrowx", 1);
Set("/:arrowy", 1);
Set("/:maxarrowy", 8);
Instance of Symbol 557 MovieClip in Symbol 568 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 557 MovieClip in Symbol 568 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 557 MovieClip in Symbol 568 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 557 MovieClip in Symbol 568 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 557 MovieClip in Symbol 568 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 557 MovieClip in Symbol 568 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 557 MovieClip in Symbol 568 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 557 MovieClip in Symbol 568 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 571 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 572 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 2
/:mainmusic.setVolume(25);
trace(/:kills);
Symbol 572 MovieClip Frame 31
stop();
Set("/:arrowx", 1);
Set("/:arrowy", 1);
Symbol 572 MovieClip Frame 61
Set("/:pause", 0);
/:playall();
/:mainmusic.setVolume(100);
gotoAndStop (1);
Symbol 573 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 574 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 (889);
}
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 (895);
}
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 (891);
}
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 (891);
}
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 (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 (890);
}
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 (905);
}
gotcoin();
badhit_left();
}
}
}
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 ((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 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 ((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 (891);
}
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 (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 ((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 (893);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 589 MovieClip Frame 1
stop();
Symbol 589 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 589 MovieClip Frame 60
Set("/:pause", 0);
/:playall();
/:mainmusic.setVolume(100);
stop();
Symbol 591 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 592 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 (894);
}
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 (894);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (895);
}
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 (894);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (889);
}
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 (894);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (915);
}
gotcoin();
badhit_left();
}
}
}
Symbol 612 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 612 MovieClip Frame 21
/:mainmusic.setVolume(100);
Set("/:pause", 0);
/:playall();
setProperty(this, _x , -1000);
stop();
Symbol 613 MovieClip Frame 1
stop();
Symbol 613 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 613 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Instance of Symbol 264 MovieClip "block" in Symbol 614 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 615 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 616 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 (893);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (889);
}
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 (893);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (889);
}
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 (893);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (889);
}
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 (893);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 621 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 622 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 (889);
}
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 (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 (893);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 315 MovieClip "block1" in Symbol 625 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 315 MovieClip "block2" in Symbol 625 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 315 MovieClip "block3" in Symbol 625 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 315 MovieClip "block4" in Symbol 625 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 315 MovieClip "block5" in Symbol 625 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 626 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 627 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 (897);
}
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 (889);
}
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 (889);
}
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 630 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 630 MovieClip Frame 30
/:mainmusic.setVolume(100);
Set("/:pause", 0);
/:playall();
stop();
Symbol 631 MovieClip Frame 1
stop();
Symbol 631 MovieClip Frame 30
Set("/:pause", 0);
stop();
Symbol 632 MovieClip Frame 1
stop();
Symbol 632 MovieClip Frame 30
Set("/:pause", 0);
stop();
Symbol 633 MovieClip Frame 1
stop();
Symbol 633 MovieClip Frame 30
Set("/:pause", 0);
stop();
Symbol 635 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 636 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 (889);
}
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 (889);
}
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 (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 (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (899);
}
gotcoin();
badhit_left();
}
}
}
Symbol 640 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 641 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 (889);
}
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 (897);
}
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 (889);
}
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 644 MovieClip Frame 1
stop();
Symbol 644 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 644 MovieClip Frame 61
stop();
Symbol 645 MovieClip Frame 1
stop();
Symbol 645 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 645 MovieClip Frame 60
/:mainmusic.setVolume(100);
Set("/:pause", 0);
stop();
Symbol 646 MovieClip Frame 1
stop();
Symbol 646 MovieClip Frame 30
Set("/:pause", 0);
/:playall();
stop();
Symbol 646 MovieClip Frame 60
if (/:puzzleroom8c == 1) {
Set("/:pause", 0);
/:playall();
}
stop();
Symbol 647 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 647 MovieClip Frame 30
/:mainmusic.setVolume(100);
stop();
Symbol 647 MovieClip Frame 31
/:mainmusic.setVolume(25);
Symbol 647 MovieClip Frame 60
/:mainmusic.setVolume(100);
stop();
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 ((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 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 (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (889);
}
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 (897);
}
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 (889);
}
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 655 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 656 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 (901);
}
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 (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 (889);
}
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 (891);
}
gotcoin();
badhit_left();
}
}
}
Symbol 670 MovieClip Frame 1
stop();
Symbol 670 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 670 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
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 ((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 (950);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (902);
}
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 (950);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (904);
}
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 (950);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (900);
}
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 (950);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (889);
}
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 ((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 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 (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (889);
}
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 (889);
}
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 (901);
}
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 (903);
}
gotcoin();
badhit_left();
}
}
}
Symbol 691 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 691 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
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 (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 ((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 (889);
}
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 (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("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 (889);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 697 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 698 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 (889);
}
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 (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 (922);
}
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 (901);
}
gotcoin();
badhit_left();
}
}
}
Symbol 702 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 703 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 (921);
}
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 (891);
}
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 (906);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 704 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 713 MovieClip Frame 1
stop();
Symbol 713 MovieClip Frame 2
Selection.setFocus(codetext);
codetext.restrict = "0-9";
/:mainmusic.setVolume(25);
stop();
Symbol 714 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 715 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 (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 (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (889);
}
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 (889);
}
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 (907);
}
gotcoin();
badhit_left();
}
}
}
Symbol 719 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 720 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 (908);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (889);
}
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 (908);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (906);
}
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 (908);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (889);
}
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 (908);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 724 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 725 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 (907);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (909);
}
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 (907);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (910);
}
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 (907);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (889);
}
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 (907);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 729 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 730 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 (914);
}
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 (889);
}
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 (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 (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (943);
}
gotcoin();
badhit_left();
}
}
}
Symbol 735 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 736 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 (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 (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (889);
}
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 (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 (908);
}
gotcoin();
badhit_left();
}
}
}
Symbol 747 MovieClip Frame 1
stop();
Symbol 747 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 747 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
Symbol 748 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 749 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 (910);
}
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 (889);
}
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 (889);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 753 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 754 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 (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 (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (918);
}
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 (910);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 758 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 759 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 (889);
}
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 (916);
}
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 (912);
}
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 (889);
}
gotcoin();
badhit_left();
if ((tile.hittest(block1) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
}
}
}
Symbol 762 MovieClip Frame 1
stop();
Symbol 762 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 762 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 762 MovieClip Frame 61
/:mainmusic.setVolume(25);
Symbol 762 MovieClip Frame 120
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
Symbol 763 MovieClip Frame 1
stop();
Symbol 763 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 763 MovieClip Frame 30
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 765 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 766 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 (889);
}
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 (889);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 771 MovieClip Frame 1
stop();
Symbol 774 MovieClip Frame 1
stop();
Symbol 783 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 784 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 (889);
}
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 (893);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 787 MovieClip Frame 1
stop();
Symbol 787 MovieClip Frame 30
Set("/:pause", 0);
/:playall();
stop();
Symbol 787 MovieClip Frame 60
Set("/:pause", 0);
/:playall();
gotoAndStop (1);
Symbol 788 MovieClip Frame 1
stop();
Symbol 788 MovieClip Frame 30
stop();
Symbol 788 MovieClip Frame 60
gotoAndStop (1);
Symbol 789 MovieClip Frame 1
stop();
Symbol 789 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 789 MovieClip Frame 30
/:mainmusic.setVolume(100);
stop();
Symbol 789 MovieClip Frame 31
/:mainmusic.setVolume(25);
Symbol 789 MovieClip Frame 60
/:mainmusic.setVolume(100);
gotoAndStop (1);
Symbol 790 MovieClip Frame 1
stop();
Symbol 790 MovieClip Frame 30
stop();
Symbol 790 MovieClip Frame 60
gotoAndStop (1);
Symbol 791 MovieClip Frame 1
stop();
Symbol 791 MovieClip Frame 30
stop();
Symbol 791 MovieClip Frame 60
gotoAndStop (1);
Symbol 792 MovieClip Frame 1
stop();
Symbol 792 MovieClip Frame 30
stop();
Symbol 792 MovieClip Frame 60
gotoAndStop (1);
Symbol 794 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 795 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 (889);
}
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 (917);
}
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 (889);
}
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 (913);
}
gotcoin();
badhit_left();
}
}
}
Symbol 799 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 800 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 (889);
}
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 (919);
}
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 (889);
}
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 804 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 805 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 (889);
}
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 (889);
}
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 (889);
}
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 (912);
}
gotcoin();
badhit_left();
}
}
}
Symbol 817 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 818 Button
on (keyPress "z") {
if (_root.t._currentframe == 1) {
usebomb();
}
}
Symbol 819 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 (889);
}
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 (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 (889);
}
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 (917);
}
gotcoin();
badhit_left();
}
}
}
Symbol 832 MovieClip Frame 1
stop();
Symbol 832 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 832 MovieClip Frame 21
/:mainmusic.setVolume(100);
if (/:currentlocation != 65) {
Set("/:pause", 0);
/:playall();
}
stop();
Instance of Symbol 612 MovieClip "wall1" in Symbol 833 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _visible , 0);
}
Instance of Symbol 612 MovieClip "wall2" in Symbol 833 MovieClip Frame 1
onClipEvent (load) {
if (/:snakekilled == 1) {
setProperty(this, _x , -1000);
}
}
Symbol 836 MovieClip Frame 1
stop();
Symbol 836 MovieClip Frame 21
stop();
/:playall();
Set("/:pause", 0);
Symbol 839 MovieClip Frame 1
stop();
Symbol 839 MovieClip Frame 21
stop();
/:playall();
Set("/:pause", 0);
Symbol 842 MovieClip Frame 1
stop();
Symbol 842 MovieClip Frame 21
stop();
/:playall();
Set("/:pause", 0);
Symbol 845 MovieClip Frame 1
stop();
Symbol 845 MovieClip Frame 21
stop();
/:playall();
Set("/:pause", 0);
Symbol 854 MovieClip Frame 1
stop();
Symbol 854 MovieClip Frame 6
if ((this.hittest(_root.you) eq "true") and (getProperty(_root.you, _currentframe) < 5)) {
Set("/:life", /:life - 15);
/:youhit();
}
Symbol 854 MovieClip Frame 20
if (/:snakeatebomb == 1) {
setProperty("_root.bomb", _x , -1000);
}
Instance of Symbol 853 MovieClip in Symbol 854 MovieClip Frame 20
onClipEvent (load) {
if (/:snakeatebomb == 0) {
setProperty(this, _visible , 0);
}
}
Symbol 854 MovieClip Frame 24
if (/:snakeatebomb == 1) {
s = new Sound();
s.attachSound("gulp");
s.start();
}
Symbol 854 MovieClip Frame 25
if (/:snakeatebomb == 1) {
Set("/:bombset", 0);
}
Set("/:snakeatebomb", 0);
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
Symbol 862 MovieClip Frame 1
stop();
Symbol 862 MovieClip Frame 16
if (/:snakelife > 0) {
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
}
Symbol 862 MovieClip Frame 17
tellTarget ("_root.bomb") {
play();
};
Symbol 862 MovieClip Frame 74
stopAllSounds();
setProperty("_root.health", _visible , 0);
Symbol 862 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 863 MovieClip Frame 2
if ((/:puzzleroom27b == 0) or (/:snakekilled == 1)) {
gotoAndPlay (1);
}
Symbol 863 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 ("x");
}
} 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 ("x");
}
} else if (getProperty(this, _y) == getProperty("_root.you", _y)) {
gotoAndPlay ("x");
}
Symbol 863 MovieClip Frame 5
gotoAndPlay ("y");
Symbol 863 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 ("y");
}
} 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 ("y");
}
} else if (getProperty(this, _x) == getProperty("_root.you", _x)) {
gotoAndPlay ("y");
}
Symbol 863 MovieClip Frame 10
gotoAndPlay ("x");
Symbol 863 MovieClip Frame 11
stop();
Symbol 869 MovieClip Frame 1
stop();
Symbol 869 MovieClip Frame 2
stopAllSounds();
Symbol 869 MovieClip Frame 3
if (/:musicon == 1) {
mainmusic = new Sound();
mainmusic.attachSound("NG11567");
mainmusic.start(0, 999);
}
Symbol 869 MovieClip Frame 68
setProperty("_root.health", _visible , 1);
Symbol 869 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 873 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 874 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 (889);
}
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 (889);
}
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 (889);
}
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 878 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 879 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 (889);
}
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 (889);
}
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 (905);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 884 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 885 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 (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (889);
}
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 (889);
}
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 (900);
}
gotcoin();
badhit_left();
}
}
}
Symbol 889 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 890 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 (889);
}
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 (924);
}
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 (889);
}
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 (904);
}
gotcoin();
badhit_left();
if ((tile.hittest(block1) eq "true") and (wall.wall1._currentframe == 1)) {
pause = 1;
stopall();
tellTarget ("wall.wall1") {
gotoAndPlay (1);
};
}
}
}
}
Symbol 893 MovieClip Frame 1
stop();
Symbol 893 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 893 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Instance of Symbol 315 MovieClip "block3" in Symbol 894 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 895 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 896 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 (889);
}
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 (889);
}
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 (889);
}
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 (923);
}
gotcoin();
badhit_left();
}
}
}
Symbol 901 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 902 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 (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("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 (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 (926);
}
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 (926);
}
gotcoin();
badhit_left();
}
}
}
Symbol 913 MovieClip Frame 1
stop();
Symbol 913 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 913 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
Symbol 914 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 915 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 (925);
}
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 (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 (927);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 315 MovieClip "block2" in Symbol 918 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 315 MovieClip "block3" in Symbol 918 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 315 MovieClip "block4" in Symbol 918 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 315 MovieClip "block1" in Symbol 918 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 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 (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 (926);
}
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 (889);
}
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 (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 (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (928);
}
gotcoin();
badhit_left();
}
}
}
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 (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 (927);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 931 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 932 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 (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 ((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 (889);
}
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 (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 ((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 (966);
}
gotcoin();
badhit_left();
}
}
}
Symbol 945 MovieClip Frame 1
stop();
Symbol 945 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 945 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
Symbol 946 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 947 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 (931);
}
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 (936);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 952 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 953 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 (927);
}
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 (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 ((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 (889);
}
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 (930);
}
gotcoin();
badhit_left();
}
}
}
Symbol 959 MovieClip Frame 1
stop();
Symbol 959 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 959 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 960 MovieClip Frame 1
stop();
Symbol 960 MovieClip Frame 60
/:playall();
Set("/:pause", 0);
stop();
Symbol 962 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 963 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 (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 (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (889);
}
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();
}
}
}
Instance of Symbol 402 MovieClip "secret" in Symbol 967 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 968 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 969 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 (889);
}
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 (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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 973 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 974 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 (889);
}
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 (889);
}
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 (889);
}
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 (933);
}
gotcoin();
badhit_left();
}
}
}
Symbol 979 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 980 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 (889);
}
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 (889);
}
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 (932);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 315 MovieClip "block1" in Symbol 984 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 315 MovieClip "block2" in Symbol 984 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 315 MovieClip "block3" in Symbol 984 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 315 MovieClip "block4" in Symbol 984 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 315 MovieClip "block5" in Symbol 984 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 315 MovieClip "block6" in Symbol 984 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 315 MovieClip "block7" in Symbol 984 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 315 MovieClip "block8" in Symbol 984 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 315 MovieClip "block9" in Symbol 984 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 315 MovieClip "block10" in Symbol 984 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 315 MovieClip "block11" in Symbol 984 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 315 MovieClip "block12" in Symbol 984 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 985 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 986 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 (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 (889);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 991 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 992 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 (889);
}
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 (889);
}
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 (936);
}
gotcoin();
badhit_left();
}
}
}
Symbol 997 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 998 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 (889);
}
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 (889);
}
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 (941);
}
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 (937);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1003 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 1004 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 (935);
}
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 (889);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1009 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 1010 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 (889);
}
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 (941);
}
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 (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 ((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 (889);
}
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 1013 MovieClip Frame 1
stop();
Symbol 1013 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1013 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 1013 MovieClip Frame 61
/:mainmusic.setVolume(25);
Symbol 1013 MovieClip Frame 120
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
Symbol 1014 MovieClip Frame 1
stop();
Symbol 1014 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1014 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 1014 MovieClip Frame 61
/:mainmusic.setVolume(25);
Symbol 1014 MovieClip Frame 120
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
Symbol 1015 MovieClip Frame 1
stop();
Symbol 1015 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1015 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 1015 MovieClip Frame 61
/:mainmusic.setVolume(25);
Symbol 1015 MovieClip Frame 120
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
Instance of Symbol 315 MovieClip "block1" in Symbol 1016 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 315 MovieClip "block2" in Symbol 1016 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 315 MovieClip "block3" in Symbol 1016 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 315 MovieClip "block4" in Symbol 1016 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 315 MovieClip "block5" in Symbol 1016 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 315 MovieClip "block6" in Symbol 1016 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 315 MovieClip "block7" in Symbol 1016 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 315 MovieClip "block8" in Symbol 1016 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 315 MovieClip "block9" in Symbol 1016 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 315 MovieClip "block10" in Symbol 1016 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 315 MovieClip "block11" in Symbol 1016 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 315 MovieClip "block12" in Symbol 1016 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 315 MovieClip "block13" in Symbol 1016 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 315 MovieClip "block14" in Symbol 1016 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 315 MovieClip "block16" in Symbol 1016 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 1017 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 1018 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 (942);
}
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 (889);
}
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 1023 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 1024 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 (939);
}
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 (889);
}
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 (889);
}
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 (941);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1029 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 1030 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 (966);
}
if (you._y == 50) {
xyou = you._x;
yyou = 270;
direction = 1;
gotoAndStop (889);
}
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 (966);
}
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))) {
s = new Sound();
s.attachSound("portalsound");
s.start();
a = "3";
gotoAndStop (966);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (889);
}
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 (966);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1035 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 1036 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 (940);
}
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 (889);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1042 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 1043 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 (944);
}
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 (889);
}
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 (889);
}
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();
}
}
}
Instance of Symbol 315 MovieClip "block3" in Symbol 1048 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 315 MovieClip "block2" in Symbol 1048 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 315 MovieClip "block1" in Symbol 1048 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 1050 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 1051 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 (948);
}
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 (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 (951);
}
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 (947);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1058 MovieClip Frame 1
stop();
Symbol 1058 MovieClip Frame 2
stop();
Instance of Symbol 315 MovieClip "block3" in Symbol 1061 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 315 MovieClip "block2" in Symbol 1061 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 315 MovieClip "block1" in Symbol 1061 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 1062 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 1063 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 (889);
}
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 (946);
}
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 (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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1069 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 1070 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 (889);
}
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 (889);
}
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 (946);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1076 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 1077 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 (889);
}
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 (950);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1082 MovieClip Frame 1
stop();
Symbol 1082 MovieClip Frame 15
if (this._name == "tile5") {
setProperty("_root.black.strip", _x , -15000);
Set("/:pause", 0);
/:mainmusic.setVolume(100);
}
stop();
Symbol 1084 MovieClip Frame 1
stop();
Symbol 1084 MovieClip Frame 7
tellTarget ("_root.tile1") {
gotoAndPlay (1);
};
Symbol 1084 MovieClip Frame 14
tellTarget ("_root.tile2") {
gotoAndPlay (1);
};
Symbol 1084 MovieClip Frame 21
tellTarget ("_root.tile3") {
gotoAndPlay (1);
};
Symbol 1084 MovieClip Frame 28
tellTarget ("_root.tile4") {
gotoAndPlay (1);
};
Symbol 1084 MovieClip Frame 35
tellTarget ("_root.tile5") {
gotoAndPlay (1);
};
stop();
Symbol 1088 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 1089 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 (901);
}
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 ((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 (901);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (954);
}
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 (901);
}
if (you._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (889);
}
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 (901);
}
if (you._x == 10) {
xyou = 270;
yyou = you._y;
direction = 4;
gotoAndPlay (950);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1095 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 1096 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 (946);
}
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 (952);
}
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 (889);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
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 (889);
}
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 (953);
}
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 (889);
}
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 (951);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 315 MovieClip "block1" in Symbol 1108 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 315 MovieClip "block24" in Symbol 1108 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 315 MovieClip "block3" in Symbol 1108 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 315 MovieClip "block16" in Symbol 1108 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 315 MovieClip "block11" in Symbol 1108 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 315 MovieClip "block13" in Symbol 1108 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 315 MovieClip "block14" in Symbol 1108 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 1109 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 1110 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 (957);
}
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 (889);
}
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 (952);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1115 MovieClip Frame 1
stop();
Symbol 1115 MovieClip Frame 60
/:playall();
Set("/:pause", 0);
stop();
Symbol 1116 MovieClip Frame 1
stop();
Symbol 1116 MovieClip Frame 60
/:playall();
Set("/:pause", 0);
stop();
Symbol 1117 MovieClip Frame 1
stop();
Symbol 1117 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1117 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 1118 MovieClip Frame 1
stop();
Symbol 1118 MovieClip Frame 60
/:playall();
Set("/:pause", 0);
stop();
Symbol 1120 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 1121 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 (889);
}
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 (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 (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 (889);
}
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 (950);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1127 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 1128 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 (889);
}
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 (889);
}
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 315 MovieClip "block1" in Symbol 1133 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 612 MovieClip "wall" in Symbol 1133 MovieClip Frame 1
onClipEvent (load) {
if (/:puzzleroom61 == 1) {
setProperty("_root.wall.wall", _x , -1000);
}
}
Symbol 1134 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 (953);
}
}
}
}
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 (889);
}
}
}
}
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 (889);
}
}
}
}
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 (955);
}
}
}
}
Symbol 1141 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 1145 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 1146 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 (889);
}
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 (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 (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 (889);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 315 MovieClip "block1" in Symbol 1149 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 315 MovieClip "block3" in Symbol 1149 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 315 MovieClip "block2" in Symbol 1149 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 1150 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 (889);
}
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 (889);
}
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();
}
}
}
Symbol 1151 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 1155 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 1156 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 (889);
}
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 (960);
}
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 (889);
}
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 (958);
}
gotcoin();
badhit_left();
}
}
}
Instance of Symbol 612 MovieClip "wall1" in Symbol 1159 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _visible , 0);
}
Symbol 1161 MovieClip Frame 1
stop();
Symbol 1161 MovieClip Frame 2
stop();
Symbol 1172 MovieClip Frame 1
stop();
Instance of Symbol 354 MovieClip "righteye" in Symbol 1172 MovieClip Frame 1
onClipEvent (load) {
function gun() {
var _local1 = this;
pos = new Object();
pos.x = _local1._x;
pos.y = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 354 MovieClip "lefteye" in Symbol 1172 MovieClip Frame 1
onClipEvent (load) {
function gun() {
var _local1 = this;
pos = new Object();
pos.x = _local1._x;
pos.y = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Symbol 1172 MovieClip Frame 13
stop();
Symbol 1172 MovieClip Frame 26
gotoAndStop (1);
Symbol 1172 MovieClip Frame 27
if (_root.boss.speed < 6) {
_root.boss.speed = _root.boss.speed + 1;
}
Symbol 1172 MovieClip Frame 47
if (/:bomblife > 0) {
gotoAndStop (1);
_root.boss.time = 0;
} else if (/:bomblife < 1) {
Set("/:pause", 1);
/:stopall();
}
Symbol 1172 MovieClip Frame 121
stopAllSounds();
setProperty("_root.health", _visible , 0);
Symbol 1172 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 1172 MovieClip Frame 123
stop();
Symbol 1182 MovieClip Frame 1
stop();
Symbol 1182 MovieClip Frame 2
stopAllSounds();
Symbol 1182 MovieClip Frame 44
if (/:musicon == 1) {
mainmusic = new Sound();
mainmusic.attachSound("NG11567");
mainmusic.start(0, 999);
}
Symbol 1182 MovieClip Frame 46
setProperty("_root.health", _visible , 1);
Symbol 1182 MovieClip Frame 145
setProperty(_root.boss, _x , 150);
setProperty(_root.boss, _y , 170);
tellTarget ("_root.boss") {
gotoAndPlay (1);
};
Symbol 1182 MovieClip Frame 146
setProperty(this, _y , -1000);
Set("/:pause", 0);
/:playall();
stop();
Symbol 1183 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 1184 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 (889);
}
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 (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 (889);
}
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 (959);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1188 MovieClip Frame 1
stop();
Symbol 1188 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1188 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 1190 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 1191 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 (889);
}
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 (889);
}
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 (889);
}
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 (960);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1195 MovieClip Frame 1
stop();
Symbol 1195 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1195 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 1197 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 1198 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 (889);
}
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 (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._y == 290) {
xyou = you._x;
yyou = 70;
direction = 3;
gotoAndStop (889);
}
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 (925);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1202 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 1203 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 (889);
}
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 (964);
}
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 1207 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 1208 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 (963);
}
}
}
}
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 (889);
}
}
}
}
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 (965);
}
}
}
}
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 (889);
}
}
}
}
Symbol 1213 MovieClip Frame 6
gotoAndPlay (1);
Symbol 1213 MovieClip Frame 7
stop();
Instance of Symbol 612 MovieClip "wall2" in Symbol 1216 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _visible , 0);
}
Symbol 1217 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 1218 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 (964);
}
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 (889);
}
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 (889);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1223 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 1224 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 (889);
}
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 (943);
}
if (you._x == 290) {
xyou = 30;
yyou = you._y;
direction = 2;
gotoAndStop (929);
}
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 (889);
}
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 (967);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1227 MovieClip Frame 1
stop();
Symbol 1227 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1227 MovieClip Frame 60
/:mainmusic.setVolume(100);
/:playall();
Set("/:pause", 0);
stop();
Symbol 1236 MovieClip Frame 1
stop();
Symbol 1236 MovieClip Frame 2
/:mainmusic.setVolume(25);
Symbol 1236 MovieClip Frame 21
/:mainmusic.setVolume(100);
stop();
/:playall();
Set("/:pause", 0);
setProperty(this, _x , -1000);
Symbol 1237 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 1238 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 (889);
}
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 (889);
}
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 (968);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1242 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 1243 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 (889);
}
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 (967);
}
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 (969);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1247 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 1248 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 (968);
}
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 (889);
}
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 (970);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1252 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 1253 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 (969);
}
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 (889);
}
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 (971);
}
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 (889);
}
gotcoin();
badhit_left();
}
}
}
Symbol 1257 MovieClip Frame 1
stop();
Symbol 1257 MovieClip Frame 16
stop();
Symbol 1259 MovieClip Frame 1
stop();
Symbol 1259 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 264 MovieClip "wall" in Symbol 1263 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _visible , 0);
}
Symbol 1274 MovieClip Frame 1
stop();
Symbol 1274 MovieClip Frame 22
Set("/:pause", 0);
tellTarget ("_root.snake0") {
gotoAndPlay (2);
};
gotoAndStop (1);
Symbol 1274 MovieClip Frame 37
if (/:finalsnakelife > 0) {
Set("/:pause", 0);
tellTarget ("_root.snake0") {
gotoAndPlay (2);
};
/:playall();
Set("/:pause", 0);
gotoAndStop (1);
}
Symbol 1274 MovieClip Frame 106
tellTarget ("_root") {
gotoAndStop ("win");
};
Symbol 1275 MovieClip Frame 2
if (/:puzzleroom76 == 0) {
gotoAndPlay (1);
}
Symbol 1275 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 ("x");
}
} 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 ("x");
}
} else if (getProperty(this, _y) == getProperty("_root.you", _y)) {
gotoAndPlay ("x");
}
Symbol 1275 MovieClip Frame 5
gotoAndPlay ("y");
Symbol 1275 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 ("y");
}
} 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 ("y");
}
} else if (getProperty(this, _x) == getProperty("_root.you", _x)) {
gotoAndPlay ("y");
}
Symbol 1275 MovieClip Frame 10
gotoAndPlay ("x");
Symbol 1275 MovieClip Frame 11
stop();
Symbol 1280 MovieClip Frame 1
stop();
Symbol 1280 MovieClip Frame 2
stopAllSounds();
Symbol 1280 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 1280 MovieClip Frame 100
Set("/:puzzleroom76", 1);
setProperty("_root.health", _visible , 1);
tellTarget ("_root.tilecontrol") {
gotoAndPlay (2);
};
stop();
Symbol 1336 MovieClip Frame 260
stopAllSounds();
tellTarget ("_root") {
gotoAndPlay ("credits");
};
Symbol 1398 MovieClip Frame 1
stop();
Instance of Symbol 1417 MovieClip in Symbol 1422 MovieClip Frame 1
onClipEvent (load) {
function gun() {
var _local1 = this;
pos = new Object();
pos.x = _local1._x;
pos.y = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Instance of Symbol 1417 MovieClip in Symbol 1422 MovieClip Frame 1
onClipEvent (load) {
function gun() {
var _local1 = this;
pos = new Object();
pos.x = _local1._x;
pos.y = _local1._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(_local1, _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(_local1, _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(_local1, _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(_local1, _rotation , -(90 - degrees));
}
}
gun();
}
onClipEvent (enterFrame) {
if (_root.you._x > 0) {
gun();
}
}
Symbol 1422 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 1422 MovieClip Frame 69
stop();
Set("/:pause", 1);
/:stopall();
setProperty("_root.starkill", _x , 150);
setProperty("_root.starkill", _y , 170);
tellTarget ("_root.starkill") {
gotoAndPlay (2);
};
Symbol 1422 MovieClip Frame 77
gotoAndPlay (1);
Symbol 1422 MovieClip Frame 90
Set("/:pause", 0);
/:playall();
gotoAndPlay (1);
Symbol 1423 MovieClip Frame 1
stop();
Symbol 1428 MovieClip Frame 1
stop();
Symbol 1428 MovieClip Frame 139
Set("/:life", /:life - 20);
/:youhit();
Symbol 1428 MovieClip Frame 140
/:mainmusic.setVolume(100);
setProperty(this, _x , -1000);
Set("/:pause", 0);
/:playall();
gotoAndStop (1);
tellTarget ("_root.boss") {
gotoAndPlay (70);
};
Symbol 1431 MovieClip Frame 1
stop();
Symbol 1431 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 1431 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);