Frame 2
iStatus = 0;
setProperty("pBar", _xscale , 0);
Frame 3
iBytesTotal = _root.getBytesTotal();
iBytesLoaded = _root.getBytesLoaded();
iBytes = (iBytesLoaded / iBytesTotal) * 100;
setProperty("pbar", _xscale , iBytes);
sStatus = math.floor(iBytes) add "%";
Frame 4
if (iBytes < 100) {
gotoAndPlay (3);
} else {
sStatus = "FINISHED";
gotoAndStop (5);
}
Frame 6
yellowcoin1room35 = 0;
yellowcoin2room35 = 0;
yellowcoin3room35 = 0;
yellowcoin4room35 = 0;
yellowcoin5room35 = 0;
yellowcoin6room35 = 0;
yellowcoin7room35 = 0;
yellowcoin8room35 = 0;
yellowcoin9room35 = 0;
yellowcoin10room35 = 0;
bluecoin1room35 = 0;
bluecoin2room35 = 0;
bluecoin3room35 = 0;
bluecoin4room35 = 0;
a = 0;
water = "0";
gotraft = "0";
lives = "3";
minutes = "0";
seconds = "0";
map = "0";
floor2 = "0";
youcolor = "1";
blockroom30 = 0;
yellowgem = 0;
yellowgemplaced = 0;
snakekilled = 0;
killedsnake4 = 0;
killedsnake3 = 0;
killedsnake2 = 0;
killedsnake1 = 0;
killedsnakehead = 0;
randomnumber = random(1000) + 1;
hitwall = 0;
showenemy1room7 = 1;
showenemy2room7 = 1;
enemy1killedroom7 = "0";
coinroom12 = 0;
bluecoinroom12 = 0;
redcoinroom12 = 0;
puzzleroom13 = "0";
room12puzzle = 0;
puzzleroom12 = "0";
enemy1killed = "0";
enemy2killed = "0";
bomb = "0";
remotebomb = 0;
puzzleroom6 = "0";
friendtalk = "0";
room1puzzle = "0";
friendroom15 = "0";
room16friend = "0";
room15puzzle = "0";
friend16 = "0";
block1 = "0";
block2 = "0";
block3 = "0";
life = 10;
coin = "0";
coin1 = "0";
coin2 = "0";
coin3 = "0";
yellowkey = "0";
yellowdoor = "0";
yellowkey2 = "0";
yellowdoor2 = "0";
whitekey = "0";
whitedoor = "0";
whitekey2 = "0";
whitedoor2 = "0";
greenkey = "0";
greendoor = "0";
greenkey2 = "0";
greendoor2 = "0";
greenkey2 = "0";
greendoor2 = "0";
reddoor = "0";
redkey = "0";
reddoor2 = "0";
redkey2 = "0";
bluedoor = "0";
bluekey = "0";
bluedoor2 = "0";
bluekey2 = "0";
friendmove = "0";
k1 = "0";
k2 = "0";
k3 = "0";
k4 = "0";
k5 = "0";
k6 = "0";
k7 = "0";
k8 = "0";
k9 = "0";
countdown = "20";
flower1killed = 0;
flower2killed = 0;
flower3killed = 0;
flowerskilled = 0;
showflower1room23 = 1;
showflower2room23 = 1;
showflower3room23 = 1;
enemylife = 10;
imposterkilled = 0;
enemyalpha = 0;
enemy1room24killed = 0;
enemy2room24killed = 0;
enemy3room24killed = 0;
enemy4room24killed = 0;
enemy5room24killed = 0;
enemy6room24killed = 0;
puzzleroom26 = 0;
currentlocation = 1;
showenemy1room24 = 1;
showenemy2room24 = 1;
showenemy3room24 = 1;
showenemy4room24 = 1;
showenemy5room24 = 1;
showenemy6room24 = 1;
puzzleroom17 = 0;
starlife = 10;
starkilled = 0;
blockroom20 = 0;
showenemy1room30 = 1;
showflower1room30 = 1;
showflower2room30 = 1;
showflower3room30 = 1;
showspiker1room34 = 1;
showspiker2room34 = 1;
showspiker3room34 = 1;
spiker1room34killed = 0;
spiker2room34killed = 0;
spiker3room34killed = 0;
showenemy1room38 = 1;
showenemy2room38 = 1;
showenemy3room38 = 1;
showenemy4room38 = 1;
showenemy5room38 = 1;
showenemy6room38 = 1;
enemy1killedroom38 = 0;
enemy2killedroom38 = 0;
enemy3killedroom38 = 0;
enemy4killedroom38 = 0;
enemy5killedroom38 = 0;
enemy6killedroom38 = 0;
puzzleroom38 = 0;
showflower1room40 = 1;
flower1room40killed = 0;
showflower2room40 = 1;
flower2room40killed = 0;
showflower3room40 = 1;
flower3room40killed = 0;
showflower4room40 = 1;
flower4room40killed = 0;
weakwallroom40 = 0;
showstar1room41 = 1;
showstar2room41 = 1;
showstar3room41 = 1;
Frame 7
maproom1 = 0;
maproom2 = 0;
maproom3 = 0;
maproom4 = 0;
maproom5 = 0;
maproom6 = 0;
maproom7 = 0;
maproom8 = 0;
maproom9 = 0;
maproom10 = 0;
maproom11 = 0;
maproom12 = 0;
maproom13 = 0;
maproom14 = 0;
maproom15 = 0;
maproom16 = 0;
maproom17 = 0;
maproom18 = 0;
maproom19 = 0;
maproom20 = 0;
maproom21 = 0;
maproom22 = 0;
maproom23 = 0;
maproom24 = 0;
maproom25 = 0;
maproom26 = 0;
maproom27 = 0;
maproom28 = 0;
maproom29 = 0;
maproom30 = 0;
maproom31 = 0;
maproom32 = 0;
maproom33 = 0;
maproom34 = 0;
maproom35 = 0;
maproom36 = 0;
maproom37 = 0;
maproom38 = 0;
maproom39 = 0;
maproom40 = 0;
maproom41 = 0;
maproom42 = 0;
maproom43 = 0;
maproom44 = 0;
maproom45 = 0;
function coinsound() {
s = new Sound();
s.attachSound("polish-xrikazen-78");
s.start();
}
function portalsound() {
s = new Sound();
s.attachSound("portalsound");
s.start();
}
function youhit() {
if (getProperty("_root.you", _currentframe) == 1) {
tellTarget ("_root.you") {
gotoAndPlay (5);
};
} else if (getProperty("_root.you", _currentframe) == 2) {
tellTarget ("_root.you") {
gotoAndPlay (9);
};
} else if (getProperty("_root.you", _currentframe) == 3) {
tellTarget ("_root.you") {
gotoAndPlay (13);
};
} else if (getProperty("_root.you", _currentframe) == 4) {
tellTarget ("_root.you") {
gotoAndPlay (17);
};
}
Set("/:life", Number(/:life) - Number(1));
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop(/:life);
};
}
function enemyhit() {
if (getProperty("_root.enemyimposter", _currentframe) == 1) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (5);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 2) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (9);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 3) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (13);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 4) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (17);
};
}
if (getProperty("_root.you", _currentframe) == 1) {
tellTarget ("_root.you") {
gotoAndPlay (5);
};
} else if (getProperty("_root.you", _currentframe) == 2) {
tellTarget ("_root.you") {
gotoAndPlay (9);
};
} else if (getProperty("_root.you", _currentframe) == 3) {
tellTarget ("_root.you") {
gotoAndPlay (13);
};
} else if (getProperty("_root.you", _currentframe) == 4) {
tellTarget ("_root.you") {
gotoAndPlay (17);
};
}
Set("/:life", Number(/:life) - Number(1));
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop(/:life);
};
}
function hitfromturret() {
if (((((getProperty("_root.you", _x) == getProperty("_root.ball1", _x)) and (getProperty("_root.you", _y) == getProperty("_root.ball1", _y))) || ((getProperty("_root.you", _x) == getProperty("_root.ball2", _x)) and (getProperty("_root.you", _y) == getProperty("_root.ball2", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.ball3", _x)) and (getProperty("_root.you", _y) == getProperty("_root.ball3", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.ball4", _x)) and (getProperty("_root.you", _y) == getProperty("_root.ball4", _y)))) {
if (getProperty("_root.you", _currentframe) == 1) {
tellTarget ("_root.you") {
gotoAndPlay (5);
};
} else if (getProperty("_root.you", _currentframe) == 2) {
tellTarget ("_root.you") {
gotoAndPlay (9);
};
} else if (getProperty("_root.you", _currentframe) == 3) {
tellTarget ("_root.you") {
gotoAndPlay (13);
};
} else if (getProperty("_root.you", _currentframe) == 4) {
tellTarget ("_root.you") {
gotoAndPlay (17);
};
}
Set("/:life", Number(/:life) - Number(1));
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop(/:life);
};
}
}
function hitfromturret2() {
if (((((getProperty("_root.you", _x) == getProperty("_root.ball5", _x)) and (getProperty("_root.you", _y) == getProperty("_root.ball5", _y))) || ((getProperty("_root.you", _x) == getProperty("_root.ball6", _x)) and (getProperty("_root.you", _y) == getProperty("_root.ball6", _y)))) || ((getProperty("_root.you", _x) == getProperty("_root.ball7", _x)) and (getProperty("_root.you", _y) == getProperty("_root.ball7", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.ball8", _x)) and (getProperty("_root.you", _y) == getProperty("_root.ball8", _y)))) {
if (getProperty("_root.you", _currentframe) == 1) {
tellTarget ("_root.you") {
gotoAndPlay (5);
};
} else if (getProperty("_root.you", _currentframe) == 2) {
tellTarget ("_root.you") {
gotoAndPlay (9);
};
} else if (getProperty("_root.you", _currentframe) == 3) {
tellTarget ("_root.you") {
gotoAndPlay (13);
};
} else if (getProperty("_root.you", _currentframe) == 4) {
tellTarget ("_root.you") {
gotoAndPlay (17);
};
}
Set("/:life", Number(/:life) - Number(1));
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop(/:life);
};
}
}
function enemyhitfromturret() {
if (((((getProperty("_root.enemy", _x) == getProperty("_root.ball1", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.ball1", _y))) or ((getProperty("_root.you", _x) == getProperty("_root.ball2", _x)) and (getProperty("_root.you", _y) == getProperty("_root.ball2", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.ball3", _x)) and (getProperty("_root.you", _y) == getProperty("_root.ball3", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.ball4", _x)) and (getProperty("_root.you", _y) == getProperty("_root.ball4", _y)))) {
if (getProperty("_root.enemy", _currentframe) == 1) {
tellTarget ("_root.enemy") {
gotoAndPlay (5);
};
} else if (getProperty("_root.enemy", _currentframe) == 2) {
tellTarget ("_root.enemy") {
gotoAndPlay (9);
};
} else if (getProperty("_root.enemy", _currentframe) == 3) {
tellTarget ("_root.enemy") {
gotoAndPlay (13);
};
} else if (getProperty("_root.enemy", _currentframe) == 4) {
tellTarget ("_root.enemy") {
gotoAndPlay (17);
};
}
if (getProperty("_root.you", _currentframe) == 1) {
tellTarget ("_root.you") {
gotoAndPlay (5);
};
} else if (getProperty("_root.you", _currentframe) == 2) {
tellTarget ("_root.you") {
gotoAndPlay (9);
};
} else if (getProperty("_root.you", _currentframe) == 3) {
tellTarget ("_root.you") {
gotoAndPlay (13);
};
} else if (getProperty("_root.you", _currentframe) == 4) {
tellTarget ("_root.you") {
gotoAndPlay (17);
};
}
Set("/:life", Number(/:life) - Number(1));
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop(/:life);
};
}
}
Frame 8
function flowerup() {
setProperty("_root.flower", _y , getProperty("_root.flower", _y) - 15);
if ((getProperty("_root.flower", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower", _y) == getProperty("_root.you", _y))) {
setProperty("_root.you", _y , getProperty("_root.you", _y) - 15);
tellTarget ("_root.you") {
gotoAndPlay (5);
};
Set("/:life", /:life - 1);
tellTarget ("_root.lifebar") {
gotoAndStop(/:life);
};
if (_root.wall.hitTest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _y , getProperty("_root.you", _y) + 15);
setProperty("_root.flower", _y , getProperty("_root.flower", _y) + 15);
}
}
tellTarget ("_root.flower") {
gotoAndPlay ("up");
};
}
Frame 9
function flowerdown() {
setProperty("_root.flower", _y , getProperty("_root.flower", _y) + 15);
if ((getProperty("_root.flower", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower", _y) == getProperty("_root.you", _y))) {
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
tellTarget ("_root.you") {
gotoAndPlay (9);
};
Set("/:life", /:life - 1);
tellTarget ("_root.lifebar") {
gotoAndStop(/:life);
};
if (_root.wall.hitTest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
setProperty("_root.flower", _x , getProperty("_root.flower", _x) - 15);
}
}
tellTarget ("_root.flower") {
gotoAndPlay ("down");
};
}
Frame 10
function flowerright() {
setProperty("_root.flower", _x , getProperty("_root.flower", _x) + 15);
if ((getProperty("_root.flower", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower", _y) == getProperty("_root.you", _y))) {
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
tellTarget ("_root.you") {
gotoAndPlay (9);
};
Set("/:life", /:life - 1);
tellTarget ("_root.lifebar") {
gotoAndStop(/:life);
};
if (_root.wall.hitTest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
setProperty("_root.flower", _x , getProperty("_root.flower", _x) - 15);
}
}
tellTarget ("_root.flower") {
gotoAndPlay ("right");
};
}
Frame 11
function flowerleft() {
setProperty("_root.flower", _x , getProperty("_root.flower", _x) - 15);
if ((getProperty("_root.flower", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower", _y) == getProperty("_root.you", _y))) {
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
tellTarget ("_root.you") {
gotoAndPlay (17);
};
Set("/:life", /:life - 1);
tellTarget ("_root.lifebar") {
gotoAndStop(/:life);
};
if (_root.wall.hitTest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
setProperty("_root.flower", _x , getProperty("_root.flower", _x) + 15);
}
}
tellTarget ("_root.flower") {
gotoAndPlay ("left");
};
}
Frame 12
function bluecoinspickup() {
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c4.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c5.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c5", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c6.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c6", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
}
function redcoinspickup() {
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (c4.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (c5.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c5", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (c6.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c6", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (c7.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c7", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (c8.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c8", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
}
Frame 13
function usebomb() {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (bomb == 1) {
if ((getProperty("/bomb", _currentframe) == 1) and (water == 0)) {
setProperty("/bomb", _x , getProperty(you, _x));
setProperty("/bomb", _y , getProperty(you, _y));
if (remotebomb == 0) {
tellTarget ("/bomb") {
gotoAndPlay (1);
};
} else if (remotebomb == 1) {
tellTarget ("/bomb") {
gotoAndStop (2);
};
}
} else if ((getProperty("/bomb", _currentframe) > 1) and (getProperty("/bomb", _currentframe) < 62)) {
if (remotebomb == 1) {
tellTarget ("/bomb") {
gotoAndPlay (62);
};
}
}
}
}
}
Frame 14
function everythingstops() {
_root.enemy.stop();
_root.enemy1.stop();
_root.enemy2.stop();
_root.enemy3.stop();
_root.enemy4.stop();
_root.enemy5.stop();
_root.enemy6.stop();
_root.flower.stop();
_root.flower1.stop();
_root.flower2.stop();
_root.flower3.stop();
_root.turret.stop();
_root.turret2.stop();
_root.ball1.stop();
_root.ball2.stop();
_root.ball3.stop();
_root.ball4.stop();
_root.ball5.stop();
_root.ball6.stop();
_root.ball7.stop();
_root.ball8.stop();
_root.c.stop();
_root.c1.stop();
_root.c2.stop();
_root.c3.stop();
_root.c4.stop();
_root.c5.stop();
_root.c6.stop();
_root.c7.stop();
_root.c8.stop();
_root.c9.stop();
_root.c10.stop();
_root.c11.stop();
_root.c12.stop();
tellTarget ("_root.friendmove") {
stop();
};
_root.head.stop();
tellTarget ("_root.bomb") {
stop();
};
tellTarget ("_root.remotebomb") {
stop();
};
tellTarget ("_root.bomb.remotebomb") {
stop();
};
_root.platform.stop();
_root.platform2.stop();
_root.portal.stop();
_root.flash.stop();
_root.remote.stop();
_root.timer.stop();
_root.imposterdie.stop();
_root.enemyimposter.stop();
_root.sidemenu.message.stop();
_root.shootingstaractions.stop();
_root.shootingstar1.stop();
_root.shootingstar1.spin.stop();
_root.shootingstar2.stop();
_root.shootingstar2.spin.stop();
_root.shootingstar3.stop();
_root.shootingstar3.spin.stop();
_root.star.stop();
_root.star.spin.stop();
_root.followstar.stop();
_root.followstar.spin.stop();
_root.blockspikeup1.stop();
_root.blockspikeup2.stop();
_root.blockspikeup3.stop();
_root.blockspikeup4.stop();
_root.blockspikeup5.stop();
_root.blockspikeright1.stop();
_root.blockspikeright2.stop();
_root.blockspikeright3.stop();
_root.blockspikeright4.stop();
_root.blockspikeright5.stop();
_root.blockspikedown1.stop();
_root.blockspikedown2.stop();
_root.blockspikedown3.stop();
_root.blockspikedown4.stop();
_root.blockspikedown5.stop();
_root.blockspikeleft1.stop();
_root.blockspikeleft2.stop();
_root.blockspikeleft3.stop();
_root.blockspikeleft4.stop();
_root.blockspikeleft5.stop();
_root.spiker1.stop();
_root.spiker1.spin.stop();
_root.spiker2.stop();
_root.spiker2.spin.stop();
_root.spiker3.stop();
_root.spiker3.spin.stop();
}
Frame 15
function everythingplays() {
_root.enemy.play();
_root.enemy1.play();
_root.enemy2.play();
_root.enemy3.play();
_root.enemy4.play();
_root.enemy5.play();
_root.enemy6.play();
_root.flower.play();
_root.flower1.play();
_root.flower2.play();
_root.flower3.play();
_root.turret.play();
_root.turret2.play();
_root.ball1.play();
_root.ball2.play();
_root.ball3.play();
_root.ball4.play();
_root.ball5.play();
_root.ball6.play();
_root.ball7.play();
_root.ball8.play();
_root.c.play();
_root.c1.play();
_root.c2.play();
_root.c3.play();
_root.c4.play();
_root.c5.play();
_root.c6.play();
_root.c7.play();
_root.c8.play();
_root.c9.play();
_root.c10.play();
_root.c11.play();
_root.c12.play();
tellTarget ("_root.friendmove") {
play();
};
_root.remotebomb.play();
if ((getProperty("_root.bomb", _currentframe) > 1) and (remotebomb == 0)) {
tellTarget ("_root.bomb") {
play();
};
}
if ((getProperty("_root.bomb", _currentframe) > 1) and (remotebomb == 1)) {
tellTarget ("_root.bomb.remotebomb.remote") {
play();
};
}
_root.head.play();
if ((((getProperty("_root.platform", _currentframe) != 1) and (getProperty("_root.platform", _currentframe) != 42)) and (getProperty("_root.platform", _currentframe) != 84)) and (getProperty("_root.platform", _currentframe) != 43)) {
_root.platform.play();
}
if ((((getProperty("_root.platform2", _currentframe) != 1) and (getProperty("_root.platform2", _currentframe) != 42)) and (getProperty("_root.platform2", _currentframe) != 84)) and (getProperty("_root.platform2", _currentframe) != 43)) {
_root.platform2.play();
}
_root.portal.play();
if (getProperty("_root.flash", _currentframe) != 1) {
_root.flash.play();
}
_root.remote.play();
if (getProperty("_root.timer", _currentframe) != 1) {
_root.timer.play();
}
if (getProperty("_root.imposterdie", _currentframe) != 1) {
_root.imposterdie.play();
}
if (getProperty("_root.enemyimposter", _currentframe) > 4) {
_root.enemyimposter.play();
}
if (getProperty("_root.sidemenu.message", _currentframe) != 1) {
_root.sidemenu.message.play();
}
_root.shootingstaractions.play();
if (getProperty("_root.shootingstar1", _currentframe) != 1) {
_root.shootingstar1.play();
}
_root.shootingstar1.spin.play();
if (getProperty("_root.shootingstar2", _currentframe) != 1) {
_root.shootingstar2.play();
}
_root.shootingstar2.spin.play();
if (getProperty("_root.shootingstar3", _currentframe) != 1) {
_root.shootingstar3.play();
}
_root.shootingstar3.spin.play();
_root.star.play();
_root.star.spin.play();
_root.followstar.play();
_root.followstar.spin.play();
_root.blockspikeup1.play();
_root.blockspikeup2.play();
_root.blockspikeup3.play();
_root.blockspikeup4.play();
_root.blockspikeup5.play();
_root.blockspikeright1.play();
_root.blockspikeright2.play();
_root.blockspikeright3.play();
_root.blockspikeright4.play();
_root.blockspikeright5.play();
_root.blockspikedown1.play();
_root.blockspikedown2.play();
_root.blockspikedown3.play();
_root.blockspikedown4.play();
_root.blockspikedown5.play();
_root.blockspikeleft1.play();
_root.blockspikeleft2.play();
_root.blockspikeleft3.play();
_root.blockspikeleft4.play();
_root.blockspikeleft5.play();
_root.spiker1.play();
_root.spiker1.spin.play();
_root.spiker2.play();
_root.spiker2.spin.play();
_root.spiker3.play();
_root.spiker3.spin.play();
}
Frame 16
function starhit() {
if ((/:starlife > 1) and (getProperty("_root.followstar", _currentframe) < 10)) {
starlife = starlife - 1;
setProperty("_root.startimer", _x , getProperty("_root.star", _x));
setProperty("_root.startimer", _y , getProperty("_root.star", _y) + 30);
tellTarget ("_root.followstar") {
gotoAndPlay (10);
};
tellTarget ("_root.startimer") {
gotoAndPlay (2);
};
tellTarget ("_root.startimer.starlife") {
gotoAndStop(/:starlife);
};
} else if ((/:starlife <= 1) and (getProperty("_root.followstar", _currentframe) < 10)) {
starlife = starlife - 1;
tellTarget ("_root.star") {
gotoAndPlay (29);
};
setProperty("_root.shootingstaractions", _y , -999999);
setProperty("_root.shootingstar1", _y , -999999);
setProperty("_root.shootingstar2", _y , -999999);
setProperty("_root.shootingstar3", _y , -999999);
setProperty("_root.followstar", _y , -999999);
}
}
Frame 17
function coinsroom21() {
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (c4.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (c5.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c5", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c6.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c6", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c7.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c7", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c8.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c8", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c9.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c9", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c10.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c10", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c11.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c11", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c12.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c12", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
}
Frame 18
function blockspikes() {
if ((((((((getProperty("_root.blockspikeup1", _x) == getProperty("_root.you", _x)) and ((getProperty("_root.blockspikeup1", _y) - 15) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeup1", _currentframe) > 10)) and (getProperty("_root.blockspikeup1", _currentframe) < 30)) or ((((getProperty("_root.blockspikeup2", _x) == getProperty("_root.you", _x)) and ((getProperty("_root.blockspikeup2", _y) - 15) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeup2", _currentframe) > 10)) and (getProperty("_root.blockspikeup2", _currentframe) < 30))) or ((((getProperty("_root.blockspikeup3", _x) == getProperty("_root.you", _x)) and ((getProperty("_root.blockspikeup3", _y) - 15) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeup3", _currentframe) > 10)) and (getProperty("_root.blockspikeup3", _currentframe) < 30))) or ((((getProperty("_root.blockspikeup4", _x) == getProperty("_root.you", _x)) and ((getProperty("_root.blockspikeup4", _y) - 15) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeup4", _currentframe) > 10)) and (getProperty("_root.blockspikeup4", _currentframe) < 30))) or ((((getProperty("_root.blockspikeup5", _x) == getProperty("_root.you", _x)) and ((getProperty("_root.blockspikeup5", _y) - 15) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeup5", _currentframe) > 10)) and (getProperty("_root.blockspikeup5", _currentframe) < 30))) {
youhit();
}
if (((((((((getProperty("_root.blockspikeright1", _x) + 15) == getProperty("_root.you", _x)) and (getProperty("_root.blockspikeright1", _y) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeright1", _currentframe) > 10)) and (getProperty("_root.blockspikeright1", _currentframe) < 30)) or (((((getProperty("_root.blockspikeright2", _x) + 15) == getProperty("_root.you", _x)) and (getProperty("_root.blockspikeright2", _y) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeright2", _currentframe) > 10)) and (getProperty("_root.blockspikeright2", _currentframe) < 30))) or (((((getProperty("_root.blockspikeright3", _x) + 15) == getProperty("_root.you", _x)) and (getProperty("_root.blockspikeright3", _y) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeright3", _currentframe) > 10)) and (getProperty("_root.blockspikeright3", _currentframe) < 30))) or (((((getProperty("_root.blockspikeright4", _x) + 15) == getProperty("_root.you", _x)) and (getProperty("_root.blockspikeright4", _y) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeright4", _currentframe) > 10)) and (getProperty("_root.blockspikeright4", _currentframe) < 30))) or (((((getProperty("_root.blockspikeright5", _x) + 15) == getProperty("_root.you", _x)) and (getProperty("_root.blockspikeright5", _y) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeright5", _currentframe) > 10)) and (getProperty("_root.blockspikeright5", _currentframe) < 30))) {
youhit();
}
if ((((((((getProperty("_root.blockspikedown1", _x) == getProperty("_root.you", _x)) and ((getProperty("_root.blockspikedown1", _y) + 15) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikedown1", _currentframe) > 10)) and (getProperty("_root.blockspikedown1", _currentframe) < 30)) or ((((getProperty("_root.blockspikedown2", _x) == getProperty("_root.you", _x)) and ((getProperty("_root.blockspikedown2", _y) + 15) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikedown2", _currentframe) > 10)) and (getProperty("_root.blockspikedown2", _currentframe) < 30))) or ((((getProperty("_root.blockspikedown3", _x) == getProperty("_root.you", _x)) and ((getProperty("_root.blockspikedown3", _y) + 15) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikedown3", _currentframe) > 10)) and (getProperty("_root.blockspikedown3", _currentframe) < 30))) or ((((getProperty("_root.blockspikedown4", _x) == getProperty("_root.you", _x)) and ((getProperty("_root.blockspikedown4", _y) + 15) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikedown4", _currentframe) > 10)) and (getProperty("_root.blockspikedown4", _currentframe) < 30))) or ((((getProperty("_root.blockspikedown5", _x) == getProperty("_root.you", _x)) and ((getProperty("_root.blockspikedown5", _y) + 15) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikedown5", _currentframe) > 10)) and (getProperty("_root.blockspikedown5", _currentframe) < 30))) {
youhit();
}
if (((((((((getProperty("_root.blockspikeleft1", _x) - 15) == getProperty("_root.you", _x)) and (getProperty("_root.blockspikeleft1", _y) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeleft1", _currentframe) > 10)) and (getProperty("_root.blockspikeleft1", _currentframe) < 30)) or (((((getProperty("_root.blockspikeleft2", _x) - 15) == getProperty("_root.you", _x)) and (getProperty("_root.blockspikeleft2", _y) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeleft2", _currentframe) > 10)) and (getProperty("_root.blockspikeleft2", _currentframe) < 30))) or (((((getProperty("_root.blockspikeleft3", _x) - 15) == getProperty("_root.you", _x)) and (getProperty("_root.blockspikeleft3", _y) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeleft3", _currentframe) > 10)) and (getProperty("_root.blockspikeleft3", _currentframe) < 30))) or (((((getProperty("_root.blockspikeleft4", _x) - 15) == getProperty("_root.you", _x)) and (getProperty("_root.blockspikeleft4", _y) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeleft4", _currentframe) > 10)) and (getProperty("_root.blockspikeleft4", _currentframe) < 30))) or (((((getProperty("_root.blockspikeleft5", _x) - 15) == getProperty("_root.you", _x)) and (getProperty("_root.blockspikeleft5", _y) == getProperty("_root.you", _y))) and (getProperty("_root.blockspikeleft5", _currentframe) > 10)) and (getProperty("_root.blockspikeleft5", _currentframe) < 30))) {
youhit();
}
}
Frame 19
function yellowcoins() {
if (yellow1.hitTest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(1);
setProperty("_root.yellow1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
if (currentlocation == 35) {
yellowcoin1room35 = 1;
}
}
if (yellow2.hitTest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(1);
setProperty("_root.yellow2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
if (currentlocation == 35) {
yellowcoin2room35 = 1;
}
}
if (yellow3.hitTest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(1);
setProperty("_root.yellow3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
if (currentlocation == 35) {
yellowcoin3room35 = 1;
}
}
if (yellow4.hitTest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(1);
setProperty("_root.yellow4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
if (currentlocation == 35) {
yellowcoin4room35 = 1;
}
}
if (yellow5.hitTest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(1);
setProperty("_root.yellow5", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
if (currentlocation == 35) {
yellowcoin5room35 = 1;
}
}
if (yellow6.hitTest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(1);
setProperty("_root.yellow6", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
if (currentlocation == 35) {
yellowcoin6room35 = 1;
}
}
if (yellow7.hitTest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(1);
setProperty("_root.yellow7", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
if (currentlocation == 35) {
yellowcoin7room35 = 1;
}
}
if (yellow8.hitTest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(1);
setProperty("_root.yellow8", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
if (currentlocation == 35) {
yellowcoin8room35 = 1;
}
}
if (yellow9.hitTest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(1);
setProperty("_root.yellow9", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
if (currentlocation == 35) {
yellowcoin9room35 = 1;
}
}
if (yellow10.hitTest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(1);
setProperty("_root.yellow10", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
if (currentlocation == 35) {
yellowcoin10room35 = 1;
}
}
}
Frame 20
function bluecoins() {
if (blue1.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(5);
setProperty("_root.blue1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
if (currentlocation == 35) {
bluecoin1room35 = 1;
}
}
if (blue2.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(5);
setProperty("_root.blue2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
if (currentlocation == 35) {
bluecoin2room35 = 1;
}
}
if (blue3.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(5);
setProperty("_root.blue3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
if (currentlocation == 35) {
bluecoin3room35 = 1;
}
}
if (blue4.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(5);
setProperty("_root.blue4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
if (currentlocation == 35) {
bluecoin4room35 = 1;
}
}
if (blue5.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(5);
setProperty("_root.blue5", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
}
if (blue6.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(5);
setProperty("_root.blue6", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
}
if (blue7.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(5);
setProperty("_root.blue7", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
}
if (blue8.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(5);
setProperty("_root.blue8", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
}
if (blue9.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(5);
setProperty("_root.blue9", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
}
if (blue10.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(5);
setProperty("_root.blue10", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
}
}
Frame 21
function redcoins() {
if (red1.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(20);
setProperty("_root.red1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
}
if (red2.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(20);
setProperty("_root.red2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
}
if (red3.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(20);
setProperty("_root.red3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
}
if (red4.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(20);
setProperty("_root.red4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
}
if (red5.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(20);
setProperty("_root.red5", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
}
if (red6.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(20);
setProperty("_root.red6", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
}
if (red7.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(20);
setProperty("_root.red7", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
}
if (red8.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(20);
setProperty("_root.red8", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
}
if (red9.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(20);
setProperty("_root.red9", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
}
if (red10.hittest(you._x, you._y, true) eq "true") {
coinsound();
coin = Number(coin) + Number(20);
setProperty("_root.red10", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
}
}
Frame 22
beforetimer = getTimer();
Frame 24
stop();
maproom1 = 1;
currentlocation = 1;
if (room1puzzle == 1) {
setProperty("_root.reddoor", _x , -100);
setProperty("/b1", _x , "82.5");
setProperty("/b1", _y , "142.5");
setProperty("/b2", _x , "172.5");
setProperty("/b2", _y , "142.5");
setProperty("/b3", _x , "127.5");
setProperty("/b3", _y , "157.5");
}
if (yellowdoor == 1) {
setProperty("_root.yellowdoor", _x , -100);
}
if (a == 0) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 112.5);
} else if (a == 1) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 247.5);
}
Frame 25
stop();
maproom2 = 1;
currentlocation = 2;
if (bluedoor == 1) {
setProperty("/bluedoor", _x , -100);
}
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 247.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 52.5);
} else if (a == 3) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 202.5);
setProperty("/you", _y , 7.5);
} else if (a == 4) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 157.5);
}
Frame 26
stop();
maproom3 = 1;
currentlocation = 3;
if (friendmove == 0) {
setProperty("/friend", _x , 127.5);
setProperty("/friend", _y , 142.5);
}
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 52.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 172.5);
} else if (a == 3) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 172.5);
setProperty("/you", _y , 247.5);
}
Frame 27
if (friendroom15 == 1) {
setProperty("/friend", _x , -100);
}
maproom4 = 1;
currentlocation = 4;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 172.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 247.5);
}
Frame 28
maproom5 = 1;
currentlocation = 5;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 202.5);
setProperty("/you", _y , 247.5);
} else if (a == 2) {
tellTarget ("/platform") {
gotoAndStop (43);
};
tellTarget ("/platform2") {
gotoAndStop (43);
};
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
} else if (a == 3) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
portalsound();
tellTarget ("/you") {
gotoAndStop (1);
};
} else if (a == 4) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
portalsound();
tellTarget ("/you") {
gotoAndStop (2);
};
} else if (a == 5) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
portalsound();
tellTarget ("/you") {
gotoAndStop (3);
};
} else if (a == 6) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
portalsound();
tellTarget ("/you") {
gotoAndStop (4);
};
}
Frame 29
maproom6 = 1;
currentlocation = 6;
if (coin1 == 1) {
setProperty("/c1", _x , -100);
}
if (coin2 == 1) {
setProperty("/c2", _x , -100);
}
if (coin3 == 1) {
setProperty("/c3", _x , -100);
}
if (puzzleroom6 == 1) {
setProperty("/block", _x , -100);
}
room = "6";
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 247.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 127.5);
} else if (a == 3) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
} else if (a == 4) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 127.5);
}
Frame 30
maproom7 = 1;
currentlocation = 7;
if (enemy1killedroom7 == Number(1)) {
setProperty("_root.wall.block", _x , -1000);
}
if (showenemy1room7 == 1) {
e = random(2);
if (e == 0) {
setProperty("/enemy", _x , "157.5");
setProperty("/enemy", _y , "127.5");
} else if (e == 1) {
setProperty("/enemy", _x , "127.5");
setProperty("/enemy", _y , "187.5");
}
}
if (showenemy2room7 == 1) {
e2 = random(2);
if (e2 == 0) {
setProperty("/enemy2", _x , "67.5");
setProperty("/enemy2", _y , "217.5");
} else if (e2 == 1) {
setProperty("/enemy2", _x , "157.5");
setProperty("/enemy2", _y , "217.5");
}
}
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 127.5);
} else if (a == 3) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (1);
};
} else if (a == 4) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (2);
};
} else if (a == 5) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (3);
};
} else if (a == 6) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (4);
};
}
Frame 31
if (enemy1killed == 1) {
setProperty("/enemy", _x , "-10000000");
setProperty("/enemy", _y , "-10000000");
}
if (enemy2killed == 1) {
setProperty("/enemy2", _x , "-10000000");
setProperty("/enemy2", _y , "-10000000");
}
maproom8 = 1;
currentlocation = 8;
if (greenkey == 1) {
setProperty("/greenkey", _x , -100);
}
if ((enemy1killed == 1) and (enemy2killed == 1)) {
setProperty("_root.wall.wall2", _x , -1000);
}
if (enemy1killed == 0) {
e = random(2);
if (e == 0) {
setProperty("/enemy", _x , "97.5");
setProperty("/enemy", _y , "172.5");
} else if (e == 1) {
setProperty("/enemy", _x , "157.5");
setProperty("/enemy", _y , "82.5");
}
}
if (enemy2killed == 0) {
e2 = random(2);
if (e2 == 0) {
setProperty("/enemy2", _x , "157.5");
setProperty("/enemy2", _y , "232.5");
} else if (e2 == 1) {
setProperty("/enemy2", _x , "37.5");
setProperty("/enemy2", _y , "52.5");
}
}
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 247.5);
}
Frame 32
if (bluekey == 1) {
setProperty("/bluekey", _x , -100);
}
tellTarget ("wall.s1") {
gotoAndStop (2);
};
tellTarget ("wall.s2") {
gotoAndStop (1);
};
tellTarget ("wall.s3") {
gotoAndStop (3);
};
tellTarget ("wall.s4") {
gotoAndStop (4);
};
maproom9 = 1;
currentlocation = 9;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 127.5);
}
Frame 33
if (greendoor == 1) {
setProperty("/greendoor", _x , -100);
}
maproom10 = 1;
currentlocation = 10;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 157.5);
} else if (a == 2) {
setProperty("/you", _x , 157.5);
setProperty("/you", _y , 247.5);
tellTarget ("/you") {
gotoAndStop (1);
};
} else if (a == 3) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (1);
};
} else if (a == 4) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (2);
};
} else if (a == 5) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (3);
};
} else if (a == 6) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (4);
};
}
Frame 34
maproom11 = 1;
currentlocation = 11;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 157.5);
setProperty("/you", _y , 7.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 97.5);
} else if (a == 3) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 97.5);
setProperty("/you", _y , 247.5);
}
Frame 35
if (puzzleroom12 == 1) {
setProperty("/message2", _x , -1000);
setProperty("_root.countdown", _x , -1000);
countdown = " ";
}
if (room12puzzle == 1) {
setProperty("_root.wall.block", _x , -1000);
setProperty("_root.wall.block2", _x , -1000);
}
if (coinroom12 == 1) {
setProperty("c1", _x , -1000);
if (bluecoinroom12 == 0) {
setProperty("/c2", _x , 187.5);
setProperty("/c2", _y , 187.5);
}
if (redcoinroom12 == 0) {
setProperty("/c3", _x , 217.5);
setProperty("/c3", _y , 122.5);
}
}
maproom12 = 1;
currentlocation = 12;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 97.5);
if (puzzleroom12 == 0) {
setProperty("_root.black", _x , getProperty("_root.you", _x));
setProperty("_root.black", _y , getProperty("_root.you", _y));
}
}
Frame 36
if (puzzleroom13 == 1) {
setProperty("_root.wall.block", _y , getProperty("_root.wall.block", _y) - 15);
}
if (k1 == 1) {
tellTarget ("/1") {
gotoAndStop (2);
};
}
if (k2 == 1) {
tellTarget ("/2") {
gotoAndStop (2);
};
}
if (k3 == 1) {
tellTarget ("/3") {
gotoAndStop (2);
};
}
if (k4 == 1) {
tellTarget ("/4") {
gotoAndStop (2);
};
}
if (k5 == 1) {
tellTarget ("/5") {
gotoAndStop (2);
};
}
if (k6 == 1) {
tellTarget ("/6") {
gotoAndStop (2);
};
}
if (k7 == 1) {
tellTarget ("/7") {
gotoAndStop (2);
};
}
if (k8 == 1) {
tellTarget ("/8") {
gotoAndStop (2);
};
}
if (k9 == 1) {
tellTarget ("/9") {
gotoAndStop (2);
};
}
maproom13 = 1;
currentlocation = 13;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 172.5);
setProperty("/you", _y , 7.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 247.5);
}
Frame 37
if (friend16 == 1) {
setProperty("/block", _x , -100);
}
maproom14 = 1;
currentlocation = 14;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 247.5);
}
Frame 158
friend16 = "1";
gotoAndStop (37);
Frame 159
maproom15 = 1;
currentlocation = 15;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 37.5);
}
Frame 195
stop();
Frame 206
bomb = 1;
friendtalk = 1;
a = 2;
gotoAndStop (159);
Frame 207
maproom16 = 1;
currentlocation = 16;
if (map == 1) {
setProperty("map", _y , -1000);
}
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
}
Frame 208
maproom17 = 1;
currentlocation = 17;
if (puzzleroom17 == 1) {
setProperty("_root.wall.block", _x , -1000);
setProperty("_root.wall.block1", _x , -1000);
setProperty("_root.wall.block2", _x , -1000);
setProperty("_root.wall.block3", _x , -1000);
setProperty("_root.wall.block4", _x , -1000);
setProperty("_root.wall.block5", _x , -1000);
setProperty("_root.wall.block6", _x , -1000);
setProperty("_root.wall.block7", _x , -1000);
setProperty("_root.wall.block8", _x , -1000);
setProperty("_root.wall.block9", _x , -1000);
setProperty("_root.wall.block10", _x , -1000);
setProperty("_root.wall.block11", _x , -1000);
setProperty("_root.wall.block12", _x , -1000);
}
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (puzzleroom17 == 0) {
setProperty("/you", _x , 97.5);
setProperty("/you", _y , 22.5);
} else if (puzzleroom17 == 1) {
setProperty("/you", _x , 97.5);
setProperty("/you", _y , 7.5);
}
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 37.5);
setProperty("/you", _y , 247.5);
}
Frame 209
maproom18 = 1;
currentlocation = 18;
if (whitedoor == 1) {
setProperty("_root.whitedoor", _x , -100);
}
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 127.5);
} else if (a == 7) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 247.5);
} else if (a == 8) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 127.5);
} else if (a == 3) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (1);
};
} else if (a == 4) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (2);
};
} else if (a == 5) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (3);
};
} else if (a == 6) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (4);
};
}
Frame 210
maproom19 = 1;
currentlocation = 19;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 247.5);
}
Frame 211
tellTarget ("_root.turret2") {
gotoAndPlay (31);
};
maproom20 = 1;
currentlocation = 20;
if (blockroom20 == 1) {
setProperty("_root.wall.block", _x , -1000);
}
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 127.5);
} else if (a == 3) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (1);
};
} else if (a == 4) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (2);
};
} else if (a == 5) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (3);
};
} else if (a == 6) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (4);
};
}
Frame 212
if (snakekilled == 1) {
setProperty("_root.1", _x , -10000000);
setProperty("_root.2", _x , -10000000);
setProperty("_root.3", _x , -10000000);
setProperty("_root.4", _x , -10000000);
setProperty("_root.head", _x , -10000000);
setProperty("_root.wall.block", _x , -100000);
setProperty("_root.wall.block2", _x , -100000);
}
maproom21 = 1;
currentlocation = 21;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (snakekilled == 0) {
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 22.5);
} else if (snakekilled == 1) {
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
}
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (1);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 247.5);
}
Frame 213
if (imposterkilled == 1) {
setProperty("_root.wall.block", _x , -1000);
setProperty("_root.enemyimposter", _x , -999999);
setProperty("_root.enemyimposter", _y , -999999);
tellTarget ("_root.enemyimposter") {
stop();
};
}
maproom22 = 1;
currentlocation = 22;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 127.5);
if (imposterkilled == 0) {
tellTarget ("/enemyimposter") {
gotoAndStop (2);
};
setProperty("/enemyimposter", _x , 22.5);
setProperty("/enemyimposter", _y , 127.5);
}
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 127.5);
}
Frame 214
if (flowerskilled == 1) {
setProperty("_root.wall.block", _x , -1000);
}
if (showflower1room23 == 0) {
setProperty("_root.flower", _x , -1000);
}
if (showflower2room23 == 0) {
setProperty("_root.flower2", _x , -1000);
}
if (showflower3room23 == 0) {
setProperty("_root.flower3", _x , -1000);
}
maproom23 = 1;
currentlocation = 23;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 127.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 127.5);
}
Frame 215
if (showenemy1room24 == 0) {
setProperty("_root.enemy1", _x , -1000);
}
if (showenemy2room24 == 0) {
setProperty("_root.enemy2", _x , -1000);
}
if (showenemy3room24 == 0) {
setProperty("_root.enemy3", _x , -1000);
}
if (showenemy4room24 == 0) {
setProperty("_root.enemy4", _x , -1000);
}
if (showenemy5room24 == 0) {
setProperty("_root.enemy5", _x , -1000);
}
if (showenemy6room24 == 0) {
setProperty("_root.enemy6", _x , -1000);
}
tellTarget ("_root.enemy1") {
gotoAndPlay (11);
};
tellTarget ("_root.enemy2") {
gotoAndPlay (13);
};
tellTarget ("_root.enemy3") {
gotoAndPlay (15);
};
tellTarget ("_root.enemy4") {
gotoAndPlay (2);
};
tellTarget ("_root.enemy5") {
gotoAndPlay (4);
};
tellTarget ("_root.enemy6") {
gotoAndPlay (7);
};
if ((((((enemy1room24killed == 1) and (enemy2room24killed == 1)) and (enemy3room24killed == 1)) and (enemy4room24killed == 1)) and (enemy5room24killed == 1)) and (enemy6room24killed == 1)) {
setProperty("_root.wall.block", _x , -1000);
}
maproom24 = 1;
currentlocation = 24;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 127.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 127.5);
}
Frame 216
if (remotebomb == 1) {
setProperty("remote", _x , -1000);
}
maproom25 = 1;
currentlocation = 25;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
}
Frame 217
if (puzzleroom26 == 1) {
setProperty("_root.wall.block", _x , -1000);
setProperty("_root.b1", _x , 217.5);
setProperty("_root.b1", _y , 217.5);
}
maproom26 = 1;
currentlocation = 26;
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 127.5);
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 127.5);
}
Frame 218
maproom27 = 1;
currentlocation = 27;
currentcoins = coin;
if (starkilled == 1) {
setProperty("_root.star", _x , -1000);
setProperty("_root.followstar", _x , -1000);
setProperty("_root.wall.block1", _x , -1000);
setProperty("_root.wall.block2", _x , -1000);
}
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (starkilled == 0) {
setProperty("/you", _x , 232.5);
setProperty("/you", _y , 127.5);
} else if (starkilled == 1) {
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 127.5);
}
} else if (a == 2) {
tellTarget ("/you") {
gotoAndStop (2);
};
setProperty("/you", _x , 7.5);
setProperty("/you", _y , 127.5);
}
Instance of Symbol 655 MovieClip "star" in Frame 218
onClipEvent (enterFrame) {
if ((/:starlife < 1) and (getProperty("_root.star", _currentframe) < 29)) {
tellTarget ("_root.star") {
gotoAndPlay (29);
};
}
}
Frame 219
maproom28 = 1;
currentlocation = 28;
trace(currentlocation);
if (whitekey == 1) {
setProperty("_root.whitekey", _x , -1000);
}
if ((yellowgemplaced == 1) and (whitekey == 0)) {
setProperty("_root.whitekey", _x , 127.5);
setProperty("_root.whitekey", _y , 127.5);
}
if (yellowgemplaced == 0) {
setProperty("_root.yellowgem", _x , -1000);
}
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (3);
};
setProperty("/you", _x , 37.5);
setProperty("/you", _y , 7.5);
}
Frame 220
maproom30 = 1;
currentlocation = 30;
if (yellowgem == 1) {
setProperty("_root.yellowgem", _x , -1000);
}
if (blockroom30 == 1) {
setProperty("_root.wall.block6", _x , -1000);
}
if (showflower1room30 == 0) {
setProperty("_root.flower1", _x , -1000);
}
if (showflower2room30 == 0) {
setProperty("_root.flower2", _x , -1000);
}
if (showflower3room30 == 0) {
setProperty("_root.flower3", _x , -1000);
}
if (showenemy1room30 == 1) {
e = random(2);
if (e == 0) {
setProperty("/enemy", _x , "67.5");
setProperty("/enemy", _y , "97.5");
} else if (e == 1) {
setProperty("/enemy", _x , "67.5");
setProperty("/enemy", _y , "37.5");
}
}
if (a == 1) {
tellTarget ("/you") {
gotoAndStop (4);
};
setProperty("/you", _x , 247.5);
setProperty("/you", _y , 127.5);
} else if (a == 3) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (1);
};
} else if (a == 4) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (2);
};
} else if (a == 5) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (3);
};
} else if (a == 6) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndStop (4);
};
}
Frame 371
gotoAndPlay (372);
Frame 507
Set("/:time", (/:minutes + ":") + /:seconds);
stop();
Frame 508
setProperty("_root.you", _x , x);
setProperty("_root.you", _y , y);
tellTarget ("_root.you") {
gotoAndStop(/:d);
};
tellTarget ("sidemenu.lifebar") {
gotoAndStop (11);
};
stop();
Symbol 13 Button
on (release) {
gotoAndPlay (6);
}
Symbol 19 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
if (/:remotebomb == 1) {
tellTarget ("remotebomb") {
gotoAndStop (2);
};
}
Symbol 38 MovieClip Frame 65
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) + 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) - 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.block", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.block", _y) + 15))) {
Set("/:puzzleroom6", 1);
setProperty("/block", _x , -100);
}
Symbol 38 MovieClip Frame 66
setProperty("/bomb", _x , -100);
gotoAndStop (1);
Symbol 43 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == -7.5)) {
a = "1";
gotoAndStop (25);
}
if ((getProperty("/you", _x) == getProperty("/reddoor", _x)) and (getProperty("/you", _y) == getProperty("/reddoor", _y))) {
if (redkey == 1) {
setProperty("you", _y , getProperty(you, _y) + 15);
reddoor = "1";
setProperty("/reddoor", _x , -100);
} else if (redkey == 0) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("reddoor");
};
setProperty("/you", _y , getProperty("/you", _y) + 15);
}
}
if ((getProperty("/you", _x) == getProperty("/redkey", _x)) and (getProperty("/you", _y) == getProperty("/redkey", _y))) {
redkey = "1";
setProperty("/redkey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redkey");
};
}
if (b1.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b1", _y , getProperty("/b1", _y) - 15);
if ((getProperty("/b1", _x) == getProperty("/reddoor", _x)) and (getProperty("/b1", _y) == getProperty("/reddoor", _y))) {
setProperty("/b1", _y , getProperty("/b1", _y) + 15);
setProperty("/you", _y , getProperty("/b1", _y) + 15);
}
if (wall.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _y , getProperty("/b1", _y) + 15);
setProperty("/you", _y , getProperty("/b1", _y) + 15);
}
if (b2.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _y , getProperty("/b2", _y) + 15);
setProperty("/you", _y , getProperty("/b1", _y) + 15);
}
if (b3.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _y , getProperty("/b3", _y) + 15);
setProperty("/you", _y , getProperty("/b1", _y) + 15);
}
}
if (b2.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b2", _y , getProperty("/b2", _y) - 15);
if ((getProperty("/b2", _x) == getProperty("/reddoor", _x)) and (getProperty("/b2", _y) == getProperty("/reddoor", _y))) {
setProperty("/b2", _y , getProperty("/b2", _y) + 15);
setProperty("/you", _y , getProperty("/b2", _y) + 15);
}
if (wall.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _y , getProperty("/b2", _y) + 15);
setProperty("/you", _y , getProperty("/b2", _y) + 15);
}
if (b1.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _y , getProperty("/b1", _y) + 15);
setProperty("/you", _y , getProperty("/b2", _y) + 15);
}
if (b3.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _y , getProperty("/b3", _y) + 15);
setProperty("/you", _y , getProperty("/b2", _y) + 15);
}
}
if (b3.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b3", _y , getProperty("/b3", _y) - 15);
if ((getProperty("/b3", _x) == getProperty("/reddoor", _x)) and (getProperty("/b3", _y) == getProperty("/reddoor", _y))) {
setProperty("/b3", _y , getProperty("/b3", _y) + 15);
setProperty("/you", _y , getProperty("/b3", _y) + 15);
}
if ((getProperty("/b3", _x) == 127.5) and (getProperty("/b3", _y) == 157.5)) {
block3 = "1";
if ((block1 == 1) and (block2 == 1)) {
room1puzzle = "1";
setProperty("/redkey", _x , 127.5);
setProperty("/redkey", _y , 217.5);
}
}
if (wall.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _y , getProperty("/b3", _y) + 15);
setProperty("/you", _y , getProperty("/b3", _y) + 15);
}
if (b1.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _y , getProperty("/b1", _y) + 15);
setProperty("/you", _y , getProperty("/b3", _y) + 15);
}
if (b2.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _y , getProperty("/b2", _y) + 15);
setProperty("/you", _y , getProperty("/b3", _y) + 15);
}
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == getProperty("/redkey", _x)) and (getProperty("/you", _y) == getProperty("/redkey", _y))) {
redkey = "1";
setProperty("/redkey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redkey");
};
}
if (b1.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b1", _x , getProperty("/b1", _x) + 15);
if (wall.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _x , getProperty("/b1", _x) - 15);
setProperty("/you", _x , getProperty("/b1", _x) - 15);
}
if (b2.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _x , getProperty("/b2", _x) - 15);
setProperty("/you", _x , getProperty("/b1", _x) - 15);
}
if (b3.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _x , getProperty("/b3", _x) - 15);
setProperty("/you", _x , getProperty("/b1", _x) - 15);
}
}
if (b2.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b2", _x , getProperty("/b2", _x) + 15);
if (wall.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _x , getProperty("/b2", _x) - 15);
setProperty("/you", _x , getProperty("/b2", _x) - 15);
}
if (b1.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _x , getProperty("/b1", _x) - 15);
setProperty("/you", _x , getProperty("/b2", _x) - 15);
}
if (b3.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _x , getProperty("/b3", _x) - 15);
setProperty("/you", _x , getProperty("/b2", _x) - 15);
}
}
if (b3.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b3", _x , getProperty("/b3", _x) + 15);
if (wall.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _x , getProperty("/b3", _x) - 15);
setProperty("/you", _x , getProperty("/b3", _x) - 15);
}
if (b1.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _x , getProperty("/b1", _x) - 15);
setProperty("/you", _x , getProperty("/b3", _x) - 15);
}
if (b2.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _x , getProperty("/b2", _x) - 15);
setProperty("/you", _x , getProperty("/b3", _x) - 15);
}
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == 262.5)) {
a = "1";
gotoAndStop (24);
}
if ((getProperty("/you", _x) == getProperty("/yellowdoor", _x)) and (getProperty("/you", _y) == getProperty("/yellowdoor", _y))) {
if (yellowkey == 1) {
setProperty("you", _y , getProperty(you, _y) - 15);
yellowdoor = "1";
setProperty("/yellowdoor", _x , -100);
} else if (yellowkey == 0) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowdoor");
};
setProperty("/you", _y , getProperty("/you", _y) - 15);
}
}
if ((getProperty("/you", _x) == getProperty("/redkey", _x)) and (getProperty("/you", _y) == getProperty("/redkey", _y))) {
redkey = "1";
setProperty("/redkey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redkey");
};
}
if (b1.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b1", _y , getProperty("/b1", _y) + 15);
if ((getProperty("/b1", _x) == getProperty("/yellowdoor", _x)) and (getProperty("/b1", _y) == getProperty("/yellowdoor", _y))) {
setProperty("/b1", _y , getProperty("/b1", _y) - 15);
setProperty("/you", _y , getProperty("/b1", _y) - 15);
}
if ((getProperty("/b1", _x) == 82.5) and (getProperty("/b1", _y) == 142.5)) {
block1 = "1";
if ((block2 == 1) and (block3 == 1)) {
room1puzzle = "1";
setProperty("/redkey", _x , 127.5);
setProperty("/redkey", _y , 217.5);
}
}
if (wall.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _y , getProperty("/b1", _y) - 15);
setProperty("/you", _y , getProperty("/b1", _y) - 15);
}
if (b2.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _y , getProperty("/b2", _y) - 15);
setProperty("/you", _y , getProperty("/b1", _y) - 15);
}
if (b3.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _y , getProperty("/b3", _y) - 15);
setProperty("/you", _y , getProperty("/b1", _y) - 15);
}
}
if (b2.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b2", _y , getProperty("/b2", _y) + 15);
if ((getProperty("/b2", _x) == getProperty("/yellowdoor", _x)) and (getProperty("/b2", _y) == getProperty("/yellowdoor", _y))) {
setProperty("/b2", _y , getProperty("/b2", _y) - 15);
setProperty("/you", _y , getProperty("/b2", _y) - 15);
}
if ((getProperty("/b2", _x) == 172.5) and (getProperty("/b2", _y) == 142.5)) {
block2 = "1";
if ((block1 == 1) and (block3 == 1)) {
room1puzzle = "1";
setProperty("/redkey", _x , 127.5);
setProperty("/redkey", _y , 217.5);
}
}
if (wall.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _y , getProperty("/b2", _y) - 15);
setProperty("/you", _y , getProperty("/b2", _y) - 15);
}
if (b1.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _y , getProperty("/b1", _y) - 15);
setProperty("/you", _y , getProperty("/b2", _y) - 15);
}
if (b3.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _y , getProperty("/b3", _y) - 15);
setProperty("/you", _y , getProperty("/b2", _y) - 15);
}
}
if (b3.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b3", _y , getProperty("/b3", _y) + 15);
if ((getProperty("/b3", _x) == getProperty("/yellowdoor", _x)) and (getProperty("/b3", _y) == getProperty("/yellowdoor", _y))) {
setProperty("/b3", _y , getProperty("/b3", _y) - 15);
setProperty("/you", _y , getProperty("/b3", _y) - 15);
}
if (wall.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _y , getProperty("/b3", _y) - 15);
setProperty("/you", _y , getProperty("/b3", _y) - 15);
}
if (b1.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _y , getProperty("/b1", _y) - 15);
setProperty("/you", _y , getProperty("/b3", _y) - 15);
}
if (b2.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _y , getProperty("/b2", _y) - 15);
setProperty("/you", _y , getProperty("/b3", _y) - 15);
}
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == getProperty("/redkey", _x)) and (getProperty("/you", _y) == getProperty("/redkey", _y))) {
redkey = "1";
setProperty("/redkey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redkey");
};
}
if (b1.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b1", _x , getProperty("/b1", _x) - 15);
if (wall.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _x , getProperty("/b1", _x) + 15);
setProperty("/you", _x , getProperty("/b1", _x) + 15);
}
if (b2.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _x , getProperty("/b2", _x) + 15);
setProperty("/you", _x , getProperty("/b1", _x) + 15);
}
if (b3.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _x , getProperty("/b3", _x) + 15);
setProperty("/you", _x , getProperty("/b1", _x) + 15);
}
}
if (b2.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b2", _x , getProperty("/b2", _x) - 15);
if (wall.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _x , getProperty("/b2", _x) + 15);
setProperty("/you", _x , getProperty("/b2", _x) + 15);
}
if (b1.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _x , getProperty("/b1", _x) + 15);
setProperty("/you", _x , getProperty("/b2", _x) + 15);
}
if (b3.hitTest(b2._x, b2._y, true) eq "true") {
setProperty("/b2", _x , getProperty("/b3", _x) + 15);
setProperty("/you", _x , getProperty("/b2", _x) + 15);
}
}
if (b3.hitTest(you._x, you._y, true) eq "true") {
setProperty("/b3", _x , getProperty("/b3", _x) - 15);
if (wall.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _x , getProperty("/b3", _x) + 15);
setProperty("/you", _x , getProperty("/b3", _x) + 15);
}
if (b1.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _x , getProperty("/b1", _x) + 15);
setProperty("/you", _x , getProperty("/b3", _x) + 15);
}
if (b2.hitTest(b3._x, b3._y, true) eq "true") {
setProperty("/b3", _x , getProperty("/b2", _x) + 15);
setProperty("/you", _x , getProperty("/b3", _x) + 15);
}
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
}
}
}
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 1
gotoAndStop(/:youcolor);
Symbol 65 MovieClip Frame 1
stop();
Set("/:d", 1);
if (/:water == 1) {
tellTarget ("raft") {
gotoAndStop (2);
};
} else if (/:water == 0) {
tellTarget ("raft") {
gotoAndStop (1);
};
}
Symbol 65 MovieClip Frame 2
Set("/:d", 2);
Symbol 65 MovieClip Frame 3
Set("/:d", 3);
Symbol 65 MovieClip Frame 4
Set("/:d", 4);
Symbol 65 MovieClip Frame 5
play();
Symbol 65 MovieClip Frame 8
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
if (/:life == 0) {
Set("/:lives", /:lives - 1);
if (/:lives < 0) {
Set("/:lives", 0);
_root.gotoAndStop("die");
} else if (/:lives >= 0) {
Set("/:life", 10);
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop (10);
};
gotoAndStop (1);
}
} else if (/:life > 0) {
gotoAndStop (1);
}
Symbol 65 MovieClip Frame 9
play();
Symbol 65 MovieClip Frame 12
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
if (/:life == 0) {
Set("/:lives", /:lives - 1);
if (/:lives < 0) {
Set("/:lives", 0);
_root.gotoAndStop("die");
} else if (/:lives >= 0) {
Set("/:life", 10);
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop (10);
};
gotoAndStop (2);
}
} else if (/:life > 0) {
gotoAndStop (2);
}
Symbol 65 MovieClip Frame 13
play();
Symbol 65 MovieClip Frame 16
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
if (/:life == 0) {
Set("/:lives", /:lives - 1);
if (/:lives < 0) {
Set("/:lives", 0);
_root.gotoAndStop("die");
} else if (/:lives >= 0) {
Set("/:life", 10);
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop (10);
};
gotoAndStop (3);
}
} else if (/:life > 0) {
gotoAndStop (3);
}
Symbol 65 MovieClip Frame 17
play();
Symbol 65 MovieClip Frame 20
Set("/:x", getProperty("_root.you", _x));
Set("/:y", getProperty("_root.you", _y));
if (/:life == 0) {
Set("/:lives", /:lives - 1);
if (/:lives < 0) {
Set("/:lives", 0);
_root.gotoAndStop("die");
} else if (/:lives >= 0) {
Set("/:life", 10);
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop (10);
};
gotoAndStop (4);
}
} else if (/:life > 0) {
gotoAndStop (4);
}
Symbol 66 Button
on (keyPress "z") {
usebomb();
}
Symbol 67 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 68 Button
on (keyPress "a") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if ((getProperty("you", _x) == getProperty("hint", _x)) and (getProperty("you", _y) == getProperty("hint", _y))) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("x");
};
} else if ((getProperty("you", _x) == getProperty("b", _x)) and (getProperty("you", _y) == getProperty("b", _y))) {
if (room1puzzle == 0) {
block1 = "0";
block2 = "0";
block3 = "0";
setProperty("_root.b1", _x , 82.5);
setProperty("_root.b1", _y , 67.5);
setProperty("_root.b2", _x , 172.5);
setProperty("_root.b2", _y , 67.5);
setProperty("_root.b3", _x , 127.5);
setProperty("_root.b3", _y , 187.5);
}
}
}
}
Symbol 121 MovieClip Frame 1
if (/:life > 8) {
gotoAndStop (1);
} else if ((/:life > 5) and (/:life < 9)) {
gotoAndStop (2);
} else if ((/:life > 2) and (/:life < 6)) {
gotoAndStop (3);
} else if (/:life < 3) {
gotoAndStop (4);
}
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 51
gotoAndPlay (2);
Symbol 143 MovieClip Frame 1
if (/:maproom1 == 0) {
setProperty("1", _x , "-1000");
}
if (/:maproom2 == 0) {
setProperty("2", _x , "-1000");
}
if (/:maproom3 == 0) {
setProperty("3", _x , "-1000");
}
if (/:maproom4 == 0) {
setProperty("4", _x , "-1000");
}
if (/:maproom5 == 0) {
setProperty("5", _x , "-1000");
}
if (/:maproom6 == 0) {
setProperty("6", _x , "-1000");
}
if (/:maproom7 == 0) {
setProperty("7", _x , "-1000");
}
if (/:maproom8 == 0) {
setProperty("8", _x , "-1000");
}
if (/:maproom9 == 0) {
setProperty("9", _x , "-1000");
}
if (/:maproom10 == 0) {
setProperty("10", _x , "-1000");
}
if (/:maproom11 == 0) {
setProperty("11", _x , "-1000");
}
if (/:maproom12 == 0) {
setProperty("12", _x , "-1000");
}
if (/:maproom13 == 0) {
setProperty("13", _x , "-1000");
}
if (/:maproom14 == 0) {
setProperty("14", _x , "-1000");
}
if (/:maproom15 == 0) {
setProperty("15", _x , "-1000");
}
if (/:maproom16 == 0) {
setProperty("16", _x , "-1000");
}
if (/:maproom17 == 0) {
setProperty("17", _x , "-1000");
}
if (/:maproom18 == 0) {
setProperty("18", _x , "-1000");
}
if (/:maproom19 == 0) {
setProperty("19", _x , "-1000");
}
if (/:maproom20 == 0) {
setProperty("20", _x , "-1000");
}
if (/:maproom21 == 0) {
setProperty("21", _x , "-1000");
}
if (/:maproom22 == 0) {
setProperty("22", _x , "-1000");
}
if (/:maproom23 == 0) {
setProperty("23", _x , "-1000");
}
if (/:maproom24 == 0) {
setProperty("24", _x , "-1000");
}
if (/:maproom25 == 0) {
setProperty("25", _x , "-1000");
}
if (/:maproom26 == 0) {
setProperty("26", _x , "-1000");
}
if (/:maproom27 == 0) {
setProperty("27", _x , "-1000");
}
if (/:maproom28 == 0) {
setProperty("28", _x , "-1000");
}
if (/:maproom29 == 0) {
setProperty("29", _x , "-1000");
}
if (/:maproom30 == 0) {
setProperty("30", _x , "-1000");
}
if (/:maproom31 == 0) {
setProperty("31", _x , "-1000");
}
if (/:maproom32 == 0) {
setProperty("32", _x , "-1000");
}
setProperty("location", _x , getProperty(/:currentlocation, _x) + 0.5);
setProperty("location", _y , getProperty(/:currentlocation, _y));
if (/:floor2 == 1) {
gotoAndStop (2);
} else {
stop();
}
Symbol 143 MovieClip Frame 2
if (/:maproom33 == 0) {
setProperty("33", _x , "-1000");
}
if (/:maproom34 == 0) {
setProperty("34", _x , "-1000");
}
if (/:maproom35 == 0) {
setProperty("35", _x , "-1000");
}
if (/:maproom36 == 0) {
setProperty("36", _x , "-1000");
}
if (/:maproom37 == 0) {
setProperty("37", _x , "-1000");
}
if (/:maproom38 == 0) {
setProperty("38", _x , "-1000");
}
if (/:maproom39 == 0) {
setProperty("39", _x , "-1000");
}
if (/:maproom40 == 0) {
setProperty("40", _x , "-1000");
}
setProperty("location", _x , getProperty(/:currentlocation, _x) + 0.5);
setProperty("location", _y , getProperty(/:currentlocation, _y));
Symbol 147 Button
on (release) {
if (/:map == 1) {
if (getProperty("mapmap", _x) == 255) {
setProperty("mapmap", _x , 0);
setProperty("map", _x , -1000);
setProperty("okay", _x , 105);
tellTarget ("mapmap.location") {
gotoAndPlay (1);
};
}
}
}
Symbol 150 Button
on (release) {
if (/:map == 1) {
setProperty("okay", _x , -1000);
setProperty("map", _x , 105);
setProperty("mapmap", _x , 255);
tellTarget ("mapmap.location") {
gotoAndStop (1);
};
}
}
Symbol 151 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 151 MovieClip Frame 2
gotoAndPlay (1);
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 25
tellTarget ("mapmap.location") {
stop();
};
stop();
if (/:gotraft == 0) {
setProperty("raft", _x , -1000);
}
if (/:yellowgem == 0) {
setProperty("yellowgem", _x , -1000);
} else if (/:yellowgem == 1) {
if (/:yellowgemplaced == 1) {
setProperty("yellowgem", _x , -1000);
}
}
if (/:redkey == 0) {
setProperty("redkey", _x , -1000);
}
if ((/:reddoor == 1) and (/:redkey2 == 0)) {
setProperty("redkey", _x , -1000);
}
if (/:yellowkey == 0) {
setProperty("yellowkey", _x , -1000);
}
if ((/:yellowdoor == 1) and (/:yellowkey2 == 0)) {
setProperty("yellowkey", _x , -1000);
}
if (/:yellowdoor2 == 1) {
setProperty("yellowkey", _x , -1000);
}
if (/:greenkey == 0) {
setProperty("greenkey", _x , -1000);
}
if ((/:greendoor == 1) and (/:greenkey2 == 0)) {
setProperty("greenkey", _x , -1000);
}
if (/:bluekey == 0) {
setProperty("bluekey", _x , -1000);
}
if ((/:bluedoor == 1) and (/:bluekey2 == 0)) {
setProperty("bluekey", _x , -1000);
}
if (/:whitekey == 0) {
setProperty("whitekey", _x , -1000);
}
if ((/:whitedoor == 1) and (/:whitekey2 == 0)) {
setProperty("whitekey", _x , -1000);
}
if (/:bomb == 0) {
setProperty("bomb", _x , -1000);
}
if (/:remotebomb == 0) {
setProperty("remotebomb", _x , -1000);
}
if (/:map == 0) {
setProperty("map", _x , -1000);
setProperty("itemmap", _x , -1000);
}
Symbol 152 MovieClip Frame 51
/:everythingplays();
Symbol 152 MovieClip Frame 52
gotoAndStop (1);
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 34
gotoAndStop (1);
Symbol 186 MovieClip Frame 76
gotoAndStop (1);
Symbol 186 MovieClip Frame 117
gotoAndStop (1);
Symbol 186 MovieClip Frame 158
gotoAndStop (1);
Symbol 186 MovieClip Frame 199
gotoAndStop (1);
Symbol 186 MovieClip Frame 240
gotoAndStop (1);
Symbol 186 MovieClip Frame 281
gotoAndStop (1);
Symbol 186 MovieClip Frame 322
gotoAndStop (1);
Symbol 186 MovieClip Frame 363
gotoAndStop (1);
Symbol 186 MovieClip Frame 404
gotoAndStop (1);
Symbol 186 MovieClip Frame 445
gotoAndStop (1);
Symbol 186 MovieClip Frame 486
gotoAndStop (1);
Symbol 186 MovieClip Frame 527
gotoAndStop (1);
Symbol 186 MovieClip Frame 568
gotoAndStop (1);
Symbol 186 MovieClip Frame 609
gotoAndStop (1);
Symbol 186 MovieClip Frame 650
gotoAndStop (1);
Symbol 186 MovieClip Frame 691
gotoAndStop (1);
Symbol 186 MovieClip Frame 732
gotoAndStop (1);
Symbol 186 MovieClip Frame 773
gotoAndStop (1);
Symbol 186 MovieClip Frame 814
gotoAndStop (1);
Symbol 186 MovieClip Frame 855
gotoAndStop (1);
Symbol 186 MovieClip Frame 896
gotoAndStop (1);
Symbol 186 MovieClip Frame 937
gotoAndStop (1);
Symbol 186 MovieClip Frame 978
gotoAndStop (1);
Symbol 186 MovieClip Frame 1019
gotoAndStop (1);
Symbol 186 MovieClip Frame 1060
gotoAndStop (1);
Symbol 208 MovieClip Frame 1
gotoAndStop(/:life);
Symbol 215 MovieClip Frame 1
if (/:remotebomb == 1) {
setProperty("remotebomb", _x , -30);
}
Symbol 217 MovieClip Frame 1
if (/:bomb == 0) {
setProperty("zbomb", _x , -1000);
}
Symbol 221 MovieClip Frame 1
stop();
Symbol 222 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
hitfromturret();
if ((getProperty("/you", _x) == 202.5) and (getProperty("/you", _y) == -7.5)) {
a = "1";
showenemy1room31 = 1;
showflower1room31 = 1;
showflower2room31 = 1;
gotoAndStop (28);
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
hitfromturret();
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 157.5)) {
a = "1";
showenemy1room31 = 1;
showflower1room31 = 1;
showflower2room31 = 1;
gotoAndStop (33);
}
if ((getProperty("/you", _x) == getProperty("/bluedoor", _x)) and (getProperty("/you", _y) == getProperty("/bluedoor", _y))) {
if (bluekey == 1) {
setProperty("you", _x , getProperty(you, _x) - 15);
bluedoor = "1";
setProperty("/bluedoor", _x , -100);
tellTarget ("/menubluekey") {
gotoAndStop (1);
};
} else if (bluekey == 0) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluedoor");
};
setProperty("/you", _x , getProperty("/you", _x) - 15);
}
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
hitfromturret();
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == 262.5)) {
a = "1";
gotoAndStop (24);
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
hitfromturret();
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 52.5)) {
a = "1";
showenemy1room31 = 1;
showflower1room31 = 1;
showflower2room31 = 1;
gotoAndStop (26);
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
}
}
}
Symbol 223 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 3
if (_root.wall.hittest(_root.ball2._x + 15, _root.ball2._y, true) ne "true") {
setProperty("_root.ball2", _x , getProperty(_root.ball2, _x) + 15);
if ((getProperty("_root.ball2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball2", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball2") {
gotoAndStop (1);
};
setProperty("_root.ball2", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball2._x + 15, _root.ball2._y, true) eq "true") {
tellTarget ("_root.ball2") {
gotoAndStop (1);
};
setProperty("_root.ball2", _x , -1000);
}
Symbol 225 MovieClip Frame 4
gotoAndPlay (2);
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 3
if (_root.wall.hittest(_root.ball3._x, _root.ball3._y + 15, true) ne "true") {
setProperty("_root.ball3", _y , getProperty(_root.ball3, _y) + 15);
if ((getProperty("_root.ball3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball3", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball3") {
gotoAndStop (1);
};
setProperty("_root.ball3", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball3._x, _root.ball3._y + 15, true) eq "true") {
tellTarget ("_root.ball3") {
gotoAndStop (1);
};
setProperty("_root.ball3", _x , -1000);
}
Symbol 226 MovieClip Frame 4
gotoAndPlay (2);
Symbol 227 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 3
if (_root.wall.hittest(_root.ball4._x - 15, _root.ball4._y, true) ne "true") {
setProperty("_root.ball4", _x , getProperty(_root.ball4, _x) - 15);
if ((getProperty("_root.ball4", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball4", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball4") {
gotoAndStop (1);
};
setProperty("_root.ball4", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball4._x - 15, _root.ball4._y, true) eq "true") {
tellTarget ("_root.ball4") {
gotoAndStop (1);
};
setProperty("_root.ball4", _x , -1000);
}
Symbol 227 MovieClip Frame 4
gotoAndPlay (2);
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 3
if (_root.wall.hitTest(_root.ball1._x, _root.ball1._y - 15, true) ne "true") {
setProperty("_root.ball1", _y , getProperty(_root.ball1, _y) - 15);
if ((getProperty("_root.ball1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball1", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball1") {
gotoAndStop (1);
};
setProperty("_root.ball1", _x , -1000);
}
} else if (_root.wall.hitTest(_root.ball1._x, _root.ball1._y - 15, true) eq "true") {
tellTarget ("_root.ball1") {
gotoAndStop (1);
};
setProperty("_root.ball1", _x , -1000);
}
Symbol 228 MovieClip Frame 4
gotoAndPlay (2);
Symbol 233 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 233 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 233 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 233 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 233 MovieClip Frame 62
gotoAndPlay (2);
Symbol 234 Button
on (keyPress "a") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if ((getProperty("you", _x) == getProperty("hint", _x)) and (getProperty("you", _y) == getProperty("hint", _y))) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("blackness");
};
}
}
}
Symbol 235 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 52.5)) {
a = "2";
gotoAndStop (25);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == 172.5) and (getProperty("/you", _y) == 262.5)) {
a = "1";
gotoAndStop (36);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 172.5)) {
a = "1";
gotoAndStop (27);
}
}
}
}
Symbol 241 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 1
Set("/:friendmove", "1");
Symbol 243 MovieClip Frame 2
if (getProperty("/friend", _x) < getProperty("/you", _x)) {
if (_root.wall.hitTest(_root.friend._x - 15, _root.friend._y, true) ne "true") {
setProperty("/friend", _x , getProperty("/friend", _x) - 15);
tellTarget ("/friend") {
gotoAndStop (4);
};
}
} else if (getProperty("/friend", _x) > getProperty("/you", _x)) {
if (_root.wall.hitTest(_root.friend._x + 15, _root.friend._y, true) ne "true") {
setProperty("/friend", _x , getProperty("/friend", _x) + 15);
tellTarget ("/friend") {
gotoAndStop (2);
};
if ((getProperty("/friend", _x) == 247.5) and (getProperty("/friend", _y) == 172.5)) {
setProperty("/friend", _x , getProperty("/friend", _x) - 15);
}
}
} else if (getProperty("/friend", _x) == getProperty("/you", _x)) {
if (getProperty("/friend", _x) <= 142.5) {
if (_root.wall.hitTest(_root.friend._x + 15, _root.friend._y, true) ne "true") {
setProperty("/friend", _x , getProperty("/friend", _x) + 15);
tellTarget ("/friend") {
gotoAndStop (2);
};
if ((getProperty("/friend", _x) == 247.5) and (getProperty("/friend", _y) == 172.5)) {
setProperty("/friend", _x , getProperty("/friend", _x) - 15);
}
}
} else if (getProperty("/friend", _x) >= 157.5) {
if (_root.wall.hitTest(_root.friend._x - 15, _root.friend._y, true) ne "true") {
setProperty("/friend", _x , getProperty("/friend", _x) - 15);
tellTarget ("/friend") {
gotoAndStop (4);
};
}
}
}
Symbol 243 MovieClip Frame 4
if (getProperty("/friend", _y) < getProperty("/you", _y)) {
if (_root.wall.hitTest(_root.friend._x, _root.friend._y - 15, true) ne "true") {
setProperty("/friend", _y , getProperty("/friend", _y) - 15);
tellTarget ("/friend") {
gotoAndStop (1);
};
}
} else if (getProperty("/friend", _y) > getProperty("/you", _y)) {
if (_root.wall.hitTest(_root.friend._x, _root.friend._y + 15, true) ne "true") {
setProperty("/friend", _y , getProperty("/friend", _y) + 15);
tellTarget ("/friend") {
gotoAndStop (3);
};
}
} else if (getProperty("/friend", _y) == getProperty("/you", _y)) {
if (getProperty("/friend", _y) <= 127.5) {
if (_root.wall.hitTest(_root.friend._x, _root.friend._y + 15, true) ne "true") {
setProperty("/friend", _y , getProperty("/friend", _y) + 15);
tellTarget ("/friend") {
gotoAndStop (3);
};
}
} else if (getProperty("/friend", _y) >= 142.5) {
if (_root.wall.hitTest(_root.friend._x, _root.friend._y - 15, true) ne "true") {
setProperty("/friend", _y , getProperty("/friend", _y) - 15);
tellTarget ("/friend") {
gotoAndStop (1);
};
}
}
}
Symbol 244 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 245 Button
on (keyPress "a") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if ((getProperty("you", _x) == getProperty("hint", _x)) and (getProperty("you", _y) == getProperty("hint", _y))) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("friend");
};
}
}
}
Symbol 248 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 172.5)) {
a = "2";
gotoAndStop (26);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == 262.5)) {
if ((friendroom15 == 0) or (friend16 == 1)) {
gotoAndStop (37);
a = "1";
} else if ((friendroom15 == 1) and (friend16 == 0)) {
gotoAndPlay (38);
a = "1";
}
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
}
}
}
Symbol 249 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 252 MovieClip Frame 2
if (getProperty("/friend", _x) < getProperty("/you", _x)) {
if (_root.wall.hitTest(_root.friend._x - 15, _root.friend._y, true) ne "true") {
setProperty("/friend", _x , getProperty("/friend", _x) - 15);
tellTarget ("/friend") {
gotoAndStop (4);
};
}
} else if (getProperty("/friend", _x) > getProperty("/you", _x)) {
if (_root.wall.hitTest(_root.friend._x + 15, _root.friend._y, true) ne "true") {
setProperty("/friend", _x , getProperty("/friend", _x) + 15);
tellTarget ("/friend") {
gotoAndStop (2);
};
if ((getProperty("/friend", _x) == 247.5) and (getProperty("/friend", _y) == 172.5)) {
setProperty("/friend", _x , getProperty("/friend", _x) - 15);
}
}
} else if (getProperty("/friend", _x) == getProperty("/you", _x)) {
if (getProperty("/friend", _x) <= 142.5) {
if (_root.wall.hitTest(_root.friend._x + 15, _root.friend._y, true) ne "true") {
setProperty("/friend", _x , getProperty("/friend", _x) + 15);
tellTarget ("/friend") {
gotoAndStop (2);
};
if ((getProperty("/friend", _x) == 247.5) and (getProperty("/friend", _y) == 172.5)) {
setProperty("/friend", _x , getProperty("/friend", _x) - 15);
}
}
} else if (getProperty("/friend", _x) >= 157.5) {
if (_root.wall.hitTest(_root.friend._x - 15, _root.friend._y, true) ne "true") {
setProperty("/friend", _x , getProperty("/friend", _x) - 15);
tellTarget ("/friend") {
gotoAndStop (4);
};
}
}
}
Symbol 252 MovieClip Frame 4
if (getProperty("/friend", _y) < getProperty("/you", _y)) {
if (_root.wall.hitTest(_root.friend._x, _root.friend._y - 15, true) ne "true") {
setProperty("/friend", _y , getProperty("/friend", _y) - 15);
tellTarget ("/friend") {
gotoAndStop (1);
};
}
} else if (getProperty("/friend", _y) > getProperty("/you", _y)) {
if (_root.wall.hitTest(_root.friend._x, _root.friend._y + 15, true) ne "true") {
setProperty("/friend", _y , getProperty("/friend", _y) + 15);
if ((getProperty("/friend", _x) == 127.5) and (getProperty("/friend", _y) == 262.5)) {
Set("/:friendroom15", 1);
Set("/:room16friend", 1);
}
tellTarget ("/friend") {
gotoAndStop (3);
};
}
} else if (getProperty("/friend", _y) == getProperty("/you", _y)) {
if (getProperty("/friend", _y) <= 127.5) {
if (_root.wall.hitTest(_root.friend._x, _root.friend._y + 15, true) ne "true") {
setProperty("/friend", _y , getProperty("/friend", _y) + 15);
if ((getProperty("/friend", _x) == 127.5) and (getProperty("/friend", _y) == 262.5)) {
Set("/:friendroom15", 1);
Set("/:room16friend", 1);
}
tellTarget ("/friend") {
gotoAndStop (3);
};
}
} else if (getProperty("/friend", _y) >= 142.5) {
if (_root.wall.hitTest(_root.friend._x, _root.friend._y - 15, true) ne "true") {
setProperty("/friend", _y , getProperty("/friend", _y) - 15);
tellTarget ("/friend") {
gotoAndStop (1);
};
}
}
}
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 42
setProperty("/you", _x , 97.5);
setProperty("/you", _y , 97.5);
stop();
Symbol 258 MovieClip Frame 84
setProperty("/you", _x , 97.5);
setProperty("/you", _y , 157.5);
tellTarget ("/you") {
gotoAndStop (3);
};
stop();
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 42
setProperty("/you", _x , 82.5);
setProperty("/you", _y , 127.5);
tellTarget ("/you") {
gotoAndStop (4);
};
stop();
Symbol 259 MovieClip Frame 84
setProperty("/you", _x , 142.5);
setProperty("/you", _y , 127.5);
tellTarget ("/you") {
gotoAndStop (2);
};
stop();
Symbol 268 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
hitfromturret();
if (question.hitTest(you._x, you._y, true) eq "true") {
w = "1";
tellTarget ("_root.sidemenu.message") {
gotoAndStop (2);
};
} else if (question.hitTest(you._x, you._y, true) ne "true") {
tellTarget ("_root.sidemenu.message") {
gotoAndStop (1);
};
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
portalsound();
a = "3";
gotoAndStop (33);
}
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == -7.5)) {
a = "1";
gotoAndStop (29);
}
if (black.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop(/:life);
};
if (a == 1) {
tellTarget ("/platform") {
gotoAndStop (1);
};
tellTarget ("/platform2") {
gotoAndStop (1);
};
tellTarget ("/you") {
gotoAndPlay (5);
};
setProperty("/you", _x , 202.5);
setProperty("/you", _y , 247.5);
} else if (a == 2) {
tellTarget ("/platform") {
gotoAndStop (43);
};
tellTarget ("/platform2") {
gotoAndStop (43);
};
tellTarget ("/you") {
gotoAndPlay (13);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
} else if (a == 3) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (5);
};
} else if (a == 4) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (9);
};
} else if (a == 5) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (13);
};
} else if (a == 6) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (17);
};
}
}
if ((getProperty("/you", _x) == getProperty("/platform", _x)) and (getProperty("/you", _y) == getProperty("/platform", _y))) {
setProperty("you", _x , -5000);
tellTarget ("/platform") {
gotoAndPlay (2);
};
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
hitfromturret();
if (question.hitTest(you._x, you._y, true) eq "true") {
w = "1";
tellTarget ("_root.sidemenu.message") {
gotoAndStop (2);
};
} else if (question.hitTest(you._x, you._y, true) ne "true") {
tellTarget ("_root.sidemenu.message") {
gotoAndStop (1);
};
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "4";
gotoAndStop (33);
}
if (black.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop(/:life);
};
if (a == 1) {
tellTarget ("/platform") {
gotoAndStop (1);
};
tellTarget ("/platform2") {
gotoAndStop (1);
};
tellTarget ("/you") {
gotoAndPlay (5);
};
setProperty("/you", _x , 202.5);
setProperty("/you", _y , 247.5);
} else if (a == 2) {
tellTarget ("/platform") {
gotoAndStop (43);
};
tellTarget ("/platform2") {
gotoAndStop (43);
};
tellTarget ("/you") {
gotoAndPlay (13);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
} else if (a == 3) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (5);
};
} else if (a == 4) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (9);
};
} else if (a == 5) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (13);
};
} else if (a == 6) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (17);
};
}
}
if ((getProperty("/you", _x) == (getProperty("/platform2", _x) - 60)) and (getProperty("/you", _y) == getProperty("/platform2", _y))) {
setProperty("you", _x , -5000);
tellTarget ("/platform2") {
gotoAndPlay (43);
};
}
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 172.5)) {
a = "2";
gotoAndStop (26);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
hitfromturret();
if (question.hitTest(you._x, you._y, true) eq "true") {
w = "1";
tellTarget ("_root.sidemenu.message") {
gotoAndStop (2);
};
} else if (question.hitTest(you._x, you._y, true) ne "true") {
tellTarget ("_root.sidemenu.message") {
gotoAndStop (1);
};
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "5";
gotoAndStop (33);
}
if (black.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop(/:life);
};
if (a == 1) {
tellTarget ("/platform") {
gotoAndStop (1);
};
tellTarget ("/platform2") {
gotoAndStop (1);
};
tellTarget ("/you") {
gotoAndPlay (5);
};
setProperty("/you", _x , 202.5);
setProperty("/you", _y , 247.5);
} else if (a == 2) {
tellTarget ("/platform") {
gotoAndStop (43);
};
tellTarget ("/platform2") {
gotoAndStop (43);
};
tellTarget ("/you") {
gotoAndPlay (13);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
} else if (a == 3) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (5);
};
} else if (a == 4) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (9);
};
} else if (a == 5) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (13);
};
} else if (a == 6) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (17);
};
}
}
if ((getProperty("/you", _x) == getProperty("/platform", _x)) and (getProperty("/you", _y) == (getProperty("/platform", _y) - 60))) {
setProperty("you", _x , -5000);
tellTarget ("/platform") {
gotoAndPlay (43);
};
}
if ((getProperty("/you", _x) == 202.5) and (getProperty("/you", _y) == 262.5)) {
a = "3";
showenemy1room7 = 1;
showenemy2room7 = 1;
gotoAndStop (25);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
hitfromturret();
if (question.hitTest(you._x, you._y, true) eq "true") {
w = "1";
tellTarget ("_root.sidemenu.message") {
gotoAndStop (2);
};
} else if (question.hitTest(you._x, you._y, true) ne "true") {
tellTarget ("_root.sidemenu.message") {
gotoAndStop (1);
};
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "6";
gotoAndStop (33);
}
if (black.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
tellTarget ("_root.sidemenu.lifebar") {
gotoAndStop(/:life);
};
if (a == 1) {
tellTarget ("/platform") {
gotoAndStop (1);
};
tellTarget ("/platform2") {
gotoAndStop (1);
};
tellTarget ("/you") {
gotoAndPlay (5);
};
setProperty("/you", _x , 202.5);
setProperty("/you", _y , 247.5);
} else if (a == 2) {
tellTarget ("/platform") {
gotoAndStop (43);
};
tellTarget ("/platform2") {
gotoAndStop (43);
};
tellTarget ("/you") {
gotoAndPlay (13);
};
setProperty("/you", _x , 127.5);
setProperty("/you", _y , 7.5);
} else if (a == 3) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (5);
};
} else if (a == 4) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (9);
};
} else if (a == 5) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (13);
};
} else if (a == 6) {
setProperty("/you", _x , getProperty("/portal", _x));
setProperty("/you", _y , getProperty("/portal", _y));
tellTarget ("/you") {
gotoAndPlay (17);
};
}
}
if ((getProperty("/you", _x) == getProperty("/platform2", _x)) and (getProperty("/you", _y) == getProperty("/platform2", _y))) {
setProperty("you", _x , -5000);
tellTarget ("/platform2") {
gotoAndPlay (2);
};
}
}
}
}
Symbol 269 Button
on (keyPress "z") {
if (getProperty("/you", _currentframe) < 5) {
if (bomb == 1) {
if (getProperty("/bomb", _currentframe) == 1) {
if (getProperty("/you", _x) > 0) {
setProperty("/bomb", _x , getProperty(you, _x));
setProperty("/bomb", _y , getProperty(you, _y));
if (remotebomb == 0) {
tellTarget ("/bomb") {
gotoAndPlay (1);
};
} else if (remotebomb == 1) {
tellTarget ("/bomb") {
gotoAndStop (2);
};
}
}
} else if ((getProperty("/bomb", _currentframe) > 1) and (getProperty("/bomb", _currentframe) < 62)) {
if (remotebomb == 1) {
tellTarget ("/bomb") {
gotoAndPlay (62);
};
}
}
}
}
}
Symbol 270 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 276 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == getProperty("/block", _x)) and (getProperty("/you", _y) == getProperty("/block", _y))) {
setProperty("you", _y , getProperty(you, _y) + 15);
}
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == -7.5)) {
a = "1";
gotoAndStop (31);
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin1 = 1;
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin2 = 1;
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin3 = 1;
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 127.5)) {
a = "1";
gotoAndStop (32);
}
if ((getProperty("/you", _x) == getProperty("/block", _x)) and (getProperty("/you", _y) == getProperty("/block", _y))) {
setProperty("you", _x , getProperty(you, _x) - 15);
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin1 = 1;
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin2 = 1;
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin3 = 1;
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == getProperty("/block", _x)) and (getProperty("/you", _y) == getProperty("/block", _y))) {
setProperty("you", _y , getProperty(you, _y) - 15);
}
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == 262.5)) {
a = "2";
gotoAndStop (28);
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin1 = 1;
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin2 = 1;
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin3 = 1;
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 127.5)) {
a = "1";
gotoAndStop (30);
}
if ((getProperty("/you", _x) == getProperty("/block", _x)) and (getProperty("/you", _y) == getProperty("/block", _y))) {
setProperty("you", _x , getProperty(you, _x) + 15);
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin1 = 1;
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin2 = 1;
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coin3 = 1;
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
}
}
}
Symbol 277 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 278 Button
on (keyPress "a") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (((getProperty("/you", _x) == getProperty("/block", _x)) and ((getProperty("/you", _y) - 15) == getProperty("/block", _y))) and (getProperty("/you", _currentframe) == 1)) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("crackedblock");
};
}
}
}
Symbol 280 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 2
if (/:remotebomb == 1) {
tellTarget ("remotebomb") {
gotoAndStop (2);
};
}
Symbol 289 MovieClip Frame 65
if (getProperty("_root.enemy", _currentframe) < 14) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (14);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.enemy", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (14);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.enemy", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (14);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (14);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (14);
};
}
}
if (getProperty("_root.enemy2", _currentframe) < 12) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.enemy2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.enemy2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy2", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy2", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (12);
};
}
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) + 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) - 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
Symbol 289 MovieClip Frame 66
setProperty("/bomb", _x , -100);
gotoAndStop (1);
Symbol 290 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "3";
gotoAndStop (209);
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c4.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) + 15);
}
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) + 15);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "4";
gotoAndStop (209);
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c4.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
}
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
}
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 127.5)) {
a = "4";
gotoAndStop (29);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "5";
gotoAndStop (209);
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c4.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) - 15);
}
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) - 15);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "6";
gotoAndStop (209);
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c4.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
}
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
}
}
}
}
Symbol 291 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 293 MovieClip Frame 6
if (getProperty("_root.enemy", _y) < getProperty("_root.you", _y)) {
if (_root.wall.hittest(_root.enemy._x, _root.enemy._y + 15, true) ne "true") {
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) + 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) - 15);
}
}
} else if (getProperty("_root.enemy", _y) > getProperty("_root.you", _y)) {
if (_root.wall.hittest(_root.enemy._x, _root.enemy._y - 15, true) ne "true") {
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) - 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) + 15);
}
}
}
Symbol 293 MovieClip Frame 12
if (getProperty("_root.enemy", _x) < getProperty("_root.you", _x)) {
if (_root.wall.hittest(_root.enemy._x + 15, _root.enemy._y, true) ne "true") {
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) + 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) - 15);
}
}
} else if (getProperty("_root.enemy", _x) > getProperty("_root.you", _x)) {
if (_root.wall.hittest(_root.enemy._x - 15, _root.enemy._y, true) ne "true") {
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) - 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) + 15);
}
}
}
Symbol 293 MovieClip Frame 13
gotoAndPlay (1);
Symbol 293 MovieClip Frame 15
Set("/:enemy1killedroom7", 1);
Set("/:showenemy1room7", 0);
Symbol 293 MovieClip Frame 30
setProperty("_root.wall.block", _x , -1000);
x = random(5) + Number(1);
if (((x == Number(2)) or (x == Number(3))) or (x == Number(4))) {
setProperty("_root.c1", _x , getProperty("_root.enemy", _x));
setProperty("_root.c1", _y , getProperty("_root.enemy", _y));
} else if (x == 5) {
setProperty("_root.c2", _x , getProperty("_root.enemy", _x));
setProperty("_root.c2", _y , getProperty("_root.enemy", _y));
}
Symbol 293 MovieClip Frame 31
setProperty("_root.enemy", _x , -100);
stop();
Symbol 294 MovieClip Frame 5
if (getProperty("_root.enemy2", _y) < getProperty("_root.you", _y)) {
if (_root.wall.hittest(_root.enemy2._x, _root.enemy2._y + 15, true) ne "true") {
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) + 15);
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
/:youhit();
}
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) - 15);
}
}
} else if (getProperty("_root.enemy2", _y) > getProperty("_root.you", _y)) {
if (_root.wall.hittest(_root.enemy2._x, _root.enemy2._y - 15, true) ne "true") {
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) - 15);
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
/:youhit();
}
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) + 15);
}
}
}
Symbol 294 MovieClip Frame 10
if (getProperty("_root.enemy2", _x) < getProperty("_root.you", _x)) {
if (_root.wall.hittest(_root.enemy2._x + 15, _root.enemy2._y, true) ne "true") {
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) + 15);
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
/:youhit();
}
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) - 15);
}
}
} else if (getProperty("_root.enemy2", _x) > getProperty("_root.you", _x)) {
if (_root.wall.hittest(_root.enemy2._x - 15, _root.enemy2._y, true) ne "true") {
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) - 15);
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
/:youhit();
}
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) + 15);
}
}
}
Symbol 294 MovieClip Frame 11
gotoAndPlay (1);
Symbol 294 MovieClip Frame 12
Set("/:showenemy2room7", 0);
Symbol 294 MovieClip Frame 28
x = random(5) + 1;
if (((x == 2) or (x == 3)) or (x == 4)) {
setProperty("_root.c3", _x , getProperty("_root.enemy2", _x));
setProperty("_root.c3", _y , getProperty("_root.enemy2", _y));
} else if (x == 5) {
setProperty("_root.c4", _x , getProperty("_root.enemy2", _x));
setProperty("_root.c4", _y , getProperty("_root.enemy2", _y));
}
Symbol 294 MovieClip Frame 29
setProperty("_root.enemy2", _x , -100);
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 2
if (/:remotebomb == 1) {
tellTarget ("remotebomb") {
gotoAndStop (2);
};
}
Symbol 307 MovieClip Frame 65
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.enemy", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.enemy", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.enemy2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.enemy2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy2", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy2", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) + 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) - 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
Symbol 307 MovieClip Frame 66
setProperty("/bomb", _x , -100);
gotoAndStop (1);
Symbol 309 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == getProperty("/greenkey", _x)) and (getProperty("/you", _y) == getProperty("/greenkey", _y))) {
greenkey = "1";
setProperty("/greenkey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("greenkey");
};
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) + 15);
}
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) + 15);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == getProperty("/greenkey", _x)) and (getProperty("/you", _y) == getProperty("/greenkey", _y))) {
greenkey = "1";
setProperty("/greenkey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("greenkey");
};
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
}
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == getProperty("/greenkey", _x)) and (getProperty("/you", _y) == getProperty("/greenkey", _y))) {
greenkey = "1";
setProperty("/greenkey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("greenkey");
};
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) - 15);
}
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) - 15);
}
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == 262.5)) {
a = "3";
gotoAndStop (29);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == getProperty("/greenkey", _x)) and (getProperty("/you", _y) == getProperty("/greenkey", _y))) {
greenkey = "1";
setProperty("/greenkey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("greenkey");
};
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
}
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
}
}
}
}
Symbol 310 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 314 MovieClip Frame 9
y = random(2);
Symbol 314 MovieClip Frame 10
if (y == Number(0)) {
if (_root.wall.hittest(_root.enemy2._x, _root.enemy2._y + 15, true) ne "true") {
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) + 15);
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) - 15);
}
if (getProperty("_root.enemy2", _y) == 247.5) {
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) - 15);
}
}
} else if (y == Number(1)) {
if (_root.wall.hittest(_root.enemy2._x, _root.enemy2._y - 15, true) ne "true") {
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) - 15);
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) + 15);
}
}
}
Symbol 314 MovieClip Frame 19
x = random(2);
Symbol 314 MovieClip Frame 20
if (x == Number(0)) {
if (_root.wall.hittest(_root.enemy2._x + 15, _root.enemy2._y, true) ne "true") {
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) + 15);
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) - 15);
}
}
} else if (x == Number(1)) {
if (_root.wall.hittest(_root.enemy2._x - 15, _root.enemy2._y, true) ne "true") {
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) - 15);
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) + 15);
}
}
}
gotoAndPlay (1);
Symbol 314 MovieClip Frame 21
Set("/:enemy2killed", 1);
Symbol 314 MovieClip Frame 35
if ((/:enemy1killed == 1) and (/:enemy2killed == 1)) {
setProperty("_root.wall.wall2", _x , -1000);
}
Symbol 314 MovieClip Frame 36
setProperty("_root.c2", _x , getProperty("/enemy2", _x));
setProperty("_root.c2", _y , getProperty("/enemy2", _y));
setProperty("_root.enemy2", _x , -100);
stop();
Symbol 315 MovieClip Frame 9
y = random(2);
Symbol 315 MovieClip Frame 10
if (y == Number(0)) {
if (_root.wall.hittest(_root.enemy._x, _root.enemy._y + 15, true) ne "true") {
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) + 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) - 15);
}
if (getProperty("_root.enemy", _y) == 247.5) {
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) - 15);
}
}
} else if (y == Number(1)) {
if (_root.wall.hittest(_root.enemy._x, _root.enemy._y - 15, true) ne "true") {
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) - 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) + 15);
}
}
}
Symbol 315 MovieClip Frame 19
x = random(2);
Symbol 315 MovieClip Frame 20
if (x == Number(0)) {
if (_root.wall.hittest(_root.enemy._x + 15, _root.enemy._y, true) ne "true") {
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) + 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) - 15);
}
}
} else if (x == Number(1)) {
if (_root.wall.hittest(_root.enemy._x - 15, _root.enemy._y, true) ne "true") {
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) - 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) + 15);
}
}
}
gotoAndPlay (1);
Symbol 315 MovieClip Frame 21
Set("/:enemy1killed", "1");
Symbol 315 MovieClip Frame 35
if ((/:enemy1killed == 1) and (/:enemy2killed == 1)) {
setProperty("_root.wall.wall2", _x , -1000);
}
Symbol 315 MovieClip Frame 36
setProperty("_root.c1", _x , getProperty("_root.enemy", _x));
setProperty("_root.c1", _y , getProperty("_root.enemy", _y));
setProperty("_root.enemy", _x , -100);
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 323 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == getProperty("/bluekey", _x)) and (getProperty("/you", _y) == getProperty("/bluekey", _y))) {
bluekey = "1";
setProperty("/bluekey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluekey");
};
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == getProperty("/bluekey", _x)) and (getProperty("/you", _y) == getProperty("/bluekey", _y))) {
bluekey = "1";
setProperty("/bluekey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluekey");
};
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == getProperty("/bluekey", _x)) and (getProperty("/you", _y) == getProperty("/bluekey", _y))) {
bluekey = "1";
setProperty("/bluekey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluekey");
};
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == getProperty("/bluekey", _x)) and (getProperty("/you", _y) == getProperty("/bluekey", _y))) {
bluekey = "1";
setProperty("/bluekey", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluekey");
};
}
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 127.5)) {
a = "2";
gotoAndStop (29);
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
life = life - 1;
}
}
}
}
Symbol 324 Button
on (keyPress "a") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if ((getProperty("you", _x) == getProperty("b1", _x)) and (getProperty("you", _y) == getProperty("b1", _y))) {
if (getProperty("wall.s2", _currentframe) < 4) {
tellTarget ("wall.s2") {
nextFrame();
};
} else if (getProperty("wall.s2", _currentframe) == 4) {
tellTarget ("wall.s2") {
gotoAndStop (1);
};
}
if (getProperty("wall.s1", _currentframe) < 4) {
tellTarget ("wall.s1") {
nextFrame();
};
} else if (getProperty("wall.s1", _currentframe) == 4) {
tellTarget ("wall.s1") {
gotoAndStop (1);
};
}
}
if ((getProperty("you", _x) == getProperty("b2", _x)) and (getProperty("you", _y) == getProperty("b2", _y))) {
if (getProperty("wall.s2", _currentframe) < 4) {
tellTarget ("wall.s2") {
nextFrame();
};
} else if (getProperty("wall.s2", _currentframe) == 4) {
tellTarget ("wall.s2") {
gotoAndStop (1);
};
}
if (getProperty("wall.s3", _currentframe) < 4) {
tellTarget ("wall.s3") {
nextFrame();
};
} else if (getProperty("wall.s3", _currentframe) == 4) {
tellTarget ("wall.s3") {
gotoAndStop (1);
};
}
}
if ((getProperty("you", _x) == getProperty("b3", _x)) and (getProperty("you", _y) == getProperty("b3", _y))) {
if (getProperty("wall.s3", _currentframe) < 4) {
tellTarget ("wall.s3") {
nextFrame();
};
} else if (getProperty("wall.s3", _currentframe) == 4) {
tellTarget ("wall.s3") {
gotoAndStop (1);
};
}
if (getProperty("wall.s4", _currentframe) < 4) {
tellTarget ("wall.s4") {
nextFrame();
};
} else if (getProperty("wall.s4", _currentframe) == 4) {
tellTarget ("wall.s4") {
gotoAndStop (1);
};
}
}
if ((getProperty("you", _x) == getProperty("b4", _x)) and (getProperty("you", _y) == getProperty("b4", _y))) {
if (getProperty("wall.s4", _currentframe) < 4) {
tellTarget ("wall.s4") {
nextFrame();
};
} else if (getProperty("wall.s4", _currentframe) == 4) {
tellTarget ("wall.s4") {
gotoAndStop (1);
};
}
if (getProperty("wall.s1", _currentframe) < 4) {
tellTarget ("wall.s1") {
nextFrame();
};
} else if (getProperty("wall.s1", _currentframe) == 4) {
tellTarget ("wall.s1") {
gotoAndStop (1);
};
}
}
}
}
Symbol 325 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 331 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 1
stop();
Symbol 346 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 1
stop();
Symbol 349 MovieClip Frame 1
stop();
Symbol 350 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
hitfromturret();
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "3";
gotoAndStop (28);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
hitfromturret();
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "4";
gotoAndStop (28);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
hitfromturret();
if ((getProperty("/you", _x) == 157.5) and (getProperty("/you", _y) == 262.5)) {
a = "1";
gotoAndStop (34);
}
if ((getProperty("/you", _x) == getProperty("/greendoor", _x)) and (getProperty("/you", _y) == getProperty("/greendoor", _y))) {
if (greenkey == 1) {
setProperty("you", _y , getProperty(you, _y) - 15);
greendoor = "1";
setProperty("/greendoor", _x , -100);
tellTarget ("/menugreenkey") {
gotoAndStop (1);
};
} else if (greenkey == 0) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("greendoor");
};
setProperty("/you", _y , getProperty("/you", _y) - 15);
}
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "5";
gotoAndStop (28);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
hitfromturret();
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "6";
gotoAndStop (28);
}
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 157.5)) {
a = "4";
gotoAndStop (25);
}
}
}
}
Symbol 351 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 353 MovieClip Frame 1
stop();
Symbol 354 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == 157.5) and (getProperty("/you", _y) == -7.5)) {
a = "2";
gotoAndStop (33);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 97.5)) {
a = "1";
gotoAndStop (35);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == 97.5) and (getProperty("/you", _y) == 262.5)) {
a = "1";
gotoAndStop (208);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
}
}
}
Symbol 355 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 357 MovieClip Frame 1
stop();
Symbol 360 Button
on (keyPress "<Up>") {
if (getProperty("/message2", _x) < 0) {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if (countdown > 0) {
setProperty("_root.black", _x , getProperty("_root.you", _x));
setProperty("_root.black", _y , getProperty("_root.you", _y));
}
}
}
}
}
on (keyPress "<Right>") {
if (getProperty("/message2", _x) < 0) {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
bluecoinroom12 = 1;
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
setProperty("/c2", _x , -100);
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
redcoinroom12 = 1;
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if (countdown > 0) {
setProperty("_root.black", _x , getProperty("_root.you", _x));
setProperty("_root.black", _y , getProperty("_root.you", _y));
}
}
}
}
}
on (keyPress "<Down>") {
if (getProperty("/message2", _x) < 0) {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if (countdown > 0) {
setProperty("_root.black", _x , getProperty("_root.you", _x));
setProperty("_root.black", _y , getProperty("_root.you", _y));
}
}
}
}
}
on (keyPress "<Left>") {
if (getProperty("/message2", _x) < 0) {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
coinroom12 = 1;
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
if (countdown > Number(0)) {
setProperty("_root.c2", _x , 187.5);
setProperty("_root.c2", _y , 202.5);
setProperty("_root.c3", _x , 217.5);
setProperty("_root.c3", _y , 172.5);
setProperty("_root.black", _x , -1000);
setProperty("_root.black", _y , -1000);
countdown = "";
tellTarget ("_root.count") {
gotoAndStop (1);
};
setProperty("_root.countdown", _x , -1000);
}
}
if (countdown > 0) {
setProperty("_root.black", _x , getProperty("_root.you", _x));
setProperty("_root.black", _y , getProperty("_root.you", _y));
}
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 97.5)) {
a = "2";
gotoAndStop (34);
}
}
}
}
}
Symbol 361 Button
on (keyPress "<Space>") {
if (getProperty("/message2", _x) > 0) {
setProperty("/message2", _x , -1000);
puzzleroom12 = 1;
tellTarget ("/message2") {
gotoAndStop (77);
};
tellTarget ("/count") {
gotoAndPlay (2);
};
}
}
Symbol 362 Button
on (keyPress "a") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if ((getProperty("you", _x) == getProperty("b", _x)) and (getProperty("you", _y) == getProperty("b", _y))) {
setProperty("_root.wall.block", _x , -1000);
setProperty("_root.wall.block2", _x , -1000);
room12puzzle = 1;
}
}
}
Symbol 363 Button
on (keyPress "m") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) and ((countdown == 20) or (countdown < 1))) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 364 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 23
Set("/:countdown", Number(/:countdown) - Number(1));
if (/:countdown == 0) {
setProperty("_root.black", _x , -1000);
setProperty("/message2", _x , -1000);
setProperty("_root.countdown", _x , -1000);
countdown = "";
gotoAndStop (1);
} else if (/:countdown > 0) {
gotoAndPlay (2);
}
Symbol 366 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 378 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == 172.5) and (getProperty("/you", _y) == -7.5)) {
a = "3";
gotoAndStop (26);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == 262.5)) {
a = "1";
gotoAndStop (207);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
}
}
}
Symbol 379 Button
on (keyPress "a") {
if (getProperty("/you", _currentframe) < 5) {
if ((getProperty("/you", _x) == getProperty("/b1", _x)) and (getProperty("/you", _y) == getProperty("/b1", _y))) {
if (puzzleroom13 == 0) {
if (((((((((k1 == Number(1)) and (k2 == Number(0))) and (k3 == Number(0))) and (k4 == Number(1))) and (k5 == Number(1))) and (k6 == Number(0))) and (k7 == Number(1))) and (k8 == Number(0))) and (k9 == Number(1))) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay (3);
};
puzzleroom13 = 1;
setProperty("_root.wall.block", _y , getProperty("_root.wall.block", _y) - 15);
} else {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay (35);
};
}
}
}
}
if (getProperty("/you", _currentframe) < 5) {
if ((getProperty("/you", _x) == getProperty("/1", _x)) and (getProperty("/you", _y) == getProperty("/1", _y))) {
if (getProperty("/1", _currentframe) == 1) {
k1 = "1";
tellTarget ("/1") {
gotoAndStop (2);
};
} else {
k1 = "0";
tellTarget ("/1") {
gotoAndStop (1);
};
}
}
if ((getProperty("/you", _x) == getProperty("/2", _x)) and (getProperty("/you", _y) == getProperty("/2", _y))) {
if (getProperty("/2", _currentframe) == 1) {
k2 = "1";
tellTarget ("/2") {
gotoAndStop (2);
};
} else {
k2 = "0";
tellTarget ("/2") {
gotoAndStop (1);
};
}
}
if ((getProperty("/you", _x) == getProperty("/3", _x)) and (getProperty("/you", _y) == getProperty("/3", _y))) {
if (getProperty("/3", _currentframe) == 1) {
k3 = "1";
tellTarget ("/3") {
gotoAndStop (2);
};
} else {
k3 = "0";
tellTarget ("/3") {
gotoAndStop (1);
};
}
}
if ((getProperty("/you", _x) == getProperty("/4", _x)) and (getProperty("/you", _y) == getProperty("/4", _y))) {
if (getProperty("/4", _currentframe) == 1) {
k4 = "1";
tellTarget ("/4") {
gotoAndStop (2);
};
} else {
k4 = "0";
tellTarget ("/4") {
gotoAndStop (1);
};
}
}
if ((getProperty("/you", _x) == getProperty("/5", _x)) and (getProperty("/you", _y) == getProperty("/5", _y))) {
if (getProperty("/5", _currentframe) == 1) {
k5 = "1";
tellTarget ("/5") {
gotoAndStop (2);
};
} else {
k5 = "0";
tellTarget ("/5") {
gotoAndStop (1);
};
}
}
if ((getProperty("/you", _x) == getProperty("/6", _x)) and (getProperty("/you", _y) == getProperty("/6", _y))) {
if (getProperty("/6", _currentframe) == 1) {
k6 = "1";
tellTarget ("/6") {
gotoAndStop (2);
};
} else {
k6 = "0";
tellTarget ("/6") {
gotoAndStop (1);
};
}
}
if ((getProperty("/you", _x) == getProperty("/7", _x)) and (getProperty("/you", _y) == getProperty("/7", _y))) {
if (getProperty("/7", _currentframe) == 1) {
k7 = "1";
tellTarget ("/7") {
gotoAndStop (2);
};
} else {
k7 = "0";
tellTarget ("/7") {
gotoAndStop (1);
};
}
}
if ((getProperty("/you", _x) == getProperty("/8", _x)) and (getProperty("/you", _y) == getProperty("/8", _y))) {
if (getProperty("/8", _currentframe) == 1) {
k8 = "1";
tellTarget ("/8") {
gotoAndStop (2);
};
} else {
k8 = "0";
tellTarget ("/8") {
gotoAndStop (1);
};
}
}
if ((getProperty("/you", _x) == getProperty("/9", _x)) and (getProperty("/you", _y) == getProperty("/9", _y))) {
if (getProperty("/9", _currentframe) == 1) {
k9 = "1";
tellTarget ("/9") {
gotoAndStop (2);
};
} else {
k9 = "0";
tellTarget ("/9") {
gotoAndStop (1);
};
}
}
}
}
Symbol 380 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 384 MovieClip Frame 1
stop();
Symbol 385 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == -7.5)) {
a = "2";
gotoAndStop (27);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == 262.5)) {
if (friendtalk == 0) {
gotoAndPlay (160);
} else if (friendtalk == 1) {
a = "1";
gotoAndStop (159);
}
}
if ((getProperty("/you", _x) == getProperty("/block", _x)) and (getProperty("/you", _y) == getProperty("/block", _y))) {
setProperty("you", _y , getProperty(you, _y) - 15);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
}
}
}
Symbol 386 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 388 MovieClip Frame 1
stop();
Symbol 432 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == getProperty("/friend", _x)) and (getProperty("/you", _y) == getProperty("/friend", _y))) {
setProperty("you", _y , getProperty(you, _y) + 15);
}
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == -7.5)) {
a = "2";
gotoAndStop (37);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == getProperty("/friend", _x)) and (getProperty("/you", _y) == getProperty("/friend", _y))) {
setProperty("you", _x , getProperty(you, _x) - 15);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == getProperty("/friend", _x)) and (getProperty("/you", _y) == getProperty("/friend", _y))) {
setProperty("you", _y , getProperty(you, _y) - 15);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == getProperty("/friend", _x)) and (getProperty("/you", _y) == getProperty("/friend", _y))) {
setProperty("you", _x , getProperty(you, _x) + 15);
}
}
}
}
Symbol 433 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 435 MovieClip Frame 1
stop();
Symbol 441 Button
on (release) {
nextFrame();
}
Symbol 455 Button
on (keyPress "<Up>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) and (getProperty("_root.message2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == getProperty("/map", _x)) and (getProperty("/you", _y) == getProperty("/map", _y))) {
map = 1;
setProperty("map", _y , -1000);
tellTarget ("/message2") {
gotoAndStop (2);
};
}
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == -7.5)) {
a = "2";
gotoAndStop (36);
}
}
}
}
on (keyPress "<Right>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) and (getProperty("_root.message2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == getProperty("/map", _x)) and (getProperty("/you", _y) == getProperty("/map", _y))) {
map = 1;
setProperty("map", _y , -1000);
tellTarget ("/message2") {
gotoAndStop (2);
};
}
}
}
}
on (keyPress "<Down>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) and (getProperty("_root.message2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == getProperty("/map", _x)) and (getProperty("/you", _y) == getProperty("/map", _y))) {
map = 1;
setProperty("map", _y , -1000);
tellTarget ("/message2") {
gotoAndStop (2);
};
}
}
}
}
on (keyPress "<Left>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) and (getProperty("_root.message2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == getProperty("/map", _x)) and (getProperty("/you", _y) == getProperty("/map", _y))) {
map = 1;
setProperty("map", _y , -1000);
tellTarget ("/message2") {
gotoAndStop (2);
};
}
}
}
}
Symbol 456 Button
on (keyPress "z") {
if (getProperty("_root.message2", _currentframe) == 1) {
usebomb();
}
}
Symbol 457 Button
on (keyPress "m") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) and (getProperty("_root.message2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 459 MovieClip Frame 1
stop();
Symbol 460 Button
on (keyPress "<Space>") {
tellTarget ("_root.message2") {
gotoAndStop (1);
};
}
Symbol 463 MovieClip Frame 1
stop();
Symbol 464 Button
on (keyPress "<Up>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == 97.5) and (getProperty("/you", _y) == -7.5)) {
a = "3";
gotoAndStop (34);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == 37.5) and (getProperty("/you", _y) == 262.5)) {
a = "1";
gotoAndStop (219);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
}
}
}
Symbol 465 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 466 Button
on (keyPress "a") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) and (getProperty("_root.menu2", _currentframe) == 1)) {
if ((getProperty("_root.you", _x) == getProperty("_root.b", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b", _y))) {
setProperty("_root.wall.block1", _x , -1000);
}
if ((getProperty("_root.you", _x) == getProperty("_root.b1", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b1", _y))) {
setProperty("_root.wall.block2", _x , -1000);
}
if ((getProperty("_root.you", _x) == getProperty("_root.b2", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b2", _y))) {
setProperty("_root.wall.block3", _x , -1000);
}
if ((getProperty("_root.you", _x) == getProperty("_root.b3", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b3", _y))) {
setProperty("_root.wall.block4", _x , -1000);
}
if ((getProperty("_root.you", _x) == getProperty("_root.b4", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b4", _y))) {
setProperty("_root.wall.block5", _x , -1000);
}
if ((getProperty("_root.you", _x) == getProperty("_root.b5", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b5", _y))) {
setProperty("_root.wall.block6", _x , -1000);
}
if ((getProperty("_root.you", _x) == getProperty("_root.b6", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b6", _y))) {
setProperty("_root.wall.block7", _x , -1000);
}
if ((getProperty("_root.you", _x) == getProperty("_root.b7", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b7", _y))) {
setProperty("_root.wall.block8", _x , -1000);
}
if ((getProperty("_root.you", _x) == getProperty("_root.b8", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b8", _y))) {
setProperty("_root.wall.block9", _x , -1000);
}
if ((getProperty("_root.you", _x) == getProperty("_root.b9", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b9", _y))) {
setProperty("_root.wall.block10", _x , -1000);
}
if ((getProperty("_root.you", _x) == getProperty("_root.b10", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b10", _y))) {
setProperty("_root.wall.block11", _x , -1000);
}
if ((getProperty("_root.you", _x) == getProperty("_root.b11", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b11", _y))) {
setProperty("_root.wall.block12", _x , -1000);
setProperty("_root.wall.block", _x , -1000);
puzzleroom17 = 1;
}
}
}
Symbol 468 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 1
stop();
Symbol 471 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == -7.5)) {
showflower1room23 = 1;
showflower2room23 = 1;
showflower3room23 = 1;
a = "1";
gotoAndStop (210);
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
showflower1room23 = 1;
showflower2room23 = 1;
showflower3room23 = 1;
a = "3";
gotoAndStop (30);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 127.5)) {
showflower1room23 = 1;
showflower2room23 = 1;
showflower3room23 = 1;
a = "1";
gotoAndStop (211);
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
showflower1room23 = 1;
showflower2room23 = 1;
showflower3room23 = 1;
a = "4";
gotoAndStop (30);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == 262.5)) {
showflower1room23 = 1;
showflower2room23 = 1;
showflower3room23 = 1;
a = "1";
gotoAndStop (212);
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
showflower1room23 = 1;
showflower2room23 = 1;
showflower3room23 = 1;
a = "5";
gotoAndStop (30);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == getProperty("/whitedoor", _x)) and (getProperty("/you", _y) == getProperty("/whitedoor", _y))) {
if (whitekey == 1) {
setProperty("you", _x , getProperty(you, _x) + 15);
whitedoor = "1";
setProperty("/whitedoor", _x , -100);
} else if (whitekey == 0) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("whitedoor");
};
setProperty("/you", _x , getProperty("/you", _x) + 15);
}
}
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 127.5)) {
a = "1";
gotoAndStop (213);
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
showflower1room23 = 1;
showflower2room23 = 1;
showflower3room23 = 1;
a = "6";
gotoAndStop (30);
}
}
}
}
Symbol 472 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 474 MovieClip Frame 1
stop();
Symbol 475 Button
on (keyPress "<Up>") {
if (getProperty("/message2", _currentframe) == 1) {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
}
}
}
}
on (keyPress "<Right>") {
if (getProperty("/message2", _currentframe) == 1) {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
}
}
}
}
on (keyPress "<Down>") {
if (getProperty("/message2", _currentframe) == 1) {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == 262.5)) {
a = "1";
gotoAndStop (209);
}
}
}
}
}
on (keyPress "<Left>") {
if (getProperty("/message2", _currentframe) == 1) {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
}
}
}
}
Symbol 476 Button
on (keyPress "a") {
if (getProperty("/message2", _currentframe) == 1) {
if (getProperty("/you", _currentframe) < 5) {
if ((getProperty("you", _x) == getProperty("b", _x)) and (getProperty("you", _y) == getProperty("b", _y))) {
tellTarget ("message2") {
gotoAndStop (2);
};
}
}
}
}
Symbol 477 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 479 MovieClip Frame 1
stop();
Symbol 484 Button
on (release) {
if (/:coin > 4) {
Set("/:coin", /:coin - 5);
nextFrame();
}
}
Symbol 487 Button
on (release) {
gotoAndStop (1);
}
Symbol 488 Button
on (release, keyPress "<Enter>") {
if (getProperty("_root.menu2", _currentframe) == 1) {
if (/:coin > 4) {
Set("/:coin", /:coin - 5);
nextFrame();
}
}
}
Symbol 489 Button
on (release) {
if (getProperty("_root.menu2", _currentframe) == 1) {
gotoAndStop (1);
}
}
Symbol 494 Button
on (release, keyPress "<Enter>") {
if (getProperty("_root.menu2", _currentframe) == 1) {
if (guess == /:randomnumber) {
gotoAndStop (6);
} else if (guess > /:randomnumber) {
gotoAndStop (4);
} else if (guess < /:randomnumber) {
gotoAndStop (5);
} else if (guess == " ") {
} else if (guess == " ") {
} else if (guess == " ") {
}
}
}
Symbol 496 Button
on (release, keyPress "<Enter>") {
if (getProperty("_root.menu2", _currentframe) == 1) {
gotoAndStop (2);
}
}
Symbol 501 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 1
if (_root.belt.hitTest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
Set("/:xbomb", getProperty("_root.bomb", _x));
Set("/:ybomb", getProperty("_root.bomb", _y));
}
if (_root.belt.hitTest(_root.bomb._x, _root.bomb._y, true) eq "true") {
setProperty("_root.bomb", _x , getProperty("_root.bomb", _x) - 15);
}
Symbol 508 MovieClip Frame 2
gotoAndPlay (1);
Symbol 509 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
portalsound();
a = "3";
showenemy1room7 = 1;
showenemy2room7 = 1;
gotoAndStop (220);
}
hitfromturret();
hitfromturret2();
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "4";
showenemy1room7 = 1;
showenemy2room7 = 1;
gotoAndStop (220);
}
hitfromturret();
hitfromturret2();
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "5";
showenemy1room7 = 1;
showenemy2room7 = 1;
gotoAndStop (220);
}
hitfromturret();
hitfromturret2();
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "6";
showenemy1room7 = 1;
showenemy2room7 = 1;
gotoAndStop (220);
}
hitfromturret();
hitfromturret2();
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 127.5)) {
a = "2";
gotoAndStop (209);
}
}
}
}
Symbol 510 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 511 Button
on (keyPress "a") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if ((getProperty("you", _x) == getProperty("b", _x)) and (getProperty("you", _y) == getProperty("b", _y))) {
setProperty("_root.wall.block", _x , -1000);
blockroom20 = 1;
}
}
}
Symbol 513 MovieClip Frame 1
stop();
Symbol 514 MovieClip Frame 1
stop();
Symbol 514 MovieClip Frame 3
if (_root.wall.hittest(_root.ball5._x, _root.ball5._y - 15, true) ne "true") {
setProperty("_root.ball5", _y , getProperty(_root.ball5, _y) - 15);
if ((getProperty("_root.ball5", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball5", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball5") {
gotoAndStop (1);
};
setProperty("_root.ball5", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball5._x, _root.ball5._y - 15, true) eq "true") {
tellTarget ("_root.ball5") {
gotoAndStop (1);
};
setProperty("_root.ball5", _x , -1000);
}
Symbol 514 MovieClip Frame 4
gotoAndPlay (2);
Symbol 515 MovieClip Frame 1
stop();
Symbol 515 MovieClip Frame 3
if (_root.wall.hittest(_root.ball6._x + 15, _root.ball6._y, true) ne "true") {
setProperty("_root.ball6", _x , getProperty(_root.ball6, _x) + 15);
if ((getProperty("_root.ball6", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball6", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball6") {
gotoAndStop (1);
};
setProperty("_root.ball6", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball6._x + 15, _root.ball6._y, true) eq "true") {
tellTarget ("_root.ball6") {
gotoAndStop (1);
};
setProperty("_root.ball6", _x , -1000);
}
Symbol 515 MovieClip Frame 4
gotoAndPlay (2);
Symbol 516 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 3
if (_root.wall.hittest(_root.ball7._x, _root.ball7._y + 15, true) ne "true") {
setProperty("_root.ball7", _y , getProperty(_root.ball7, _y) + 15);
if ((getProperty("_root.ball7", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball7", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball7") {
gotoAndStop (1);
};
setProperty("_root.ball7", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball7._x, _root.ball7._y + 15, true) eq "true") {
tellTarget ("_root.ball7") {
gotoAndStop (1);
};
setProperty("_root.ball7", _x , -1000);
}
Symbol 516 MovieClip Frame 4
gotoAndPlay (2);
Symbol 517 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 3
if (_root.wall.hittest(_root.ball8._x - 15, _root.ball8._y, true) ne "true") {
setProperty("_root.ball8", _x , getProperty(_root.ball8, _x) - 15);
if ((getProperty("_root.ball8", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball8", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball8") {
gotoAndStop (1);
};
setProperty("_root.ball8", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball8._x - 15, _root.ball8._y, true) eq "true") {
tellTarget ("_root.ball8") {
gotoAndStop (1);
};
setProperty("_root.ball8", _x , -1000);
}
Symbol 517 MovieClip Frame 4
gotoAndPlay (2);
Symbol 518 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 518 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 518 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 518 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 518 MovieClip Frame 62
gotoAndPlay (2);
Symbol 525 MovieClip Frame 1
stop();
Symbol 525 MovieClip Frame 2
if (/:remotebomb == 1) {
tellTarget ("remotebomb") {
gotoAndStop (2);
};
}
Symbol 525 MovieClip Frame 65
if (getProperty("_root.head", _currentframe) < 42) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.head", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.head", _y))) {
tellTarget ("_root.head") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.head", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.head", _y))) {
tellTarget ("_root.head") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.head", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.head", _y))) {
tellTarget ("_root.head") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.head", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.head", _y))) {
tellTarget ("_root.head") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.head", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.head", _y))) {
tellTarget ("_root.head") {
gotoAndPlay (12);
};
}
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) + 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) - 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
Symbol 525 MovieClip Frame 66
setProperty("/bomb", _x , -100);
gotoAndStop (1);
Symbol 526 Button
on (keyPress "<Up>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/head", _currentframe) < 42)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
coinsroom21();
if ((((((getProperty("_root.you", _x) == getProperty("_root.head", _x)) and (getProperty("_root.you", _y) == getProperty("_root.head", _y))) or ((getProperty("_root.you", _x) == getProperty("_root.1", _x)) and (getProperty("_root.you", _y) == getProperty("_root.1", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.2", _x)) and (getProperty("_root.you", _y) == getProperty("_root.2", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.3", _x)) and (getProperty("_root.you", _y) == getProperty("_root.3", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.4", _x)) and (getProperty("_root.you", _y) == getProperty("_root.4", _y)))) {
setProperty("_root.you", _y , getProperty("_root.you", _y) + 15);
}
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == -7.5)) {
a = "7";
gotoAndStop (209);
}
}
}
}
on (keyPress "<Right>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/head", _currentframe) < 42)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
coinsroom21();
if ((((((getProperty("_root.you", _x) == getProperty("_root.head", _x)) and (getProperty("_root.you", _y) == getProperty("_root.head", _y))) or ((getProperty("_root.you", _x) == getProperty("_root.1", _x)) and (getProperty("_root.you", _y) == getProperty("_root.1", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.2", _x)) and (getProperty("_root.you", _y) == getProperty("_root.2", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.3", _x)) and (getProperty("_root.you", _y) == getProperty("_root.3", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.4", _x)) and (getProperty("_root.you", _y) == getProperty("_root.4", _y)))) {
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
}
}
}
}
on (keyPress "<Down>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/head", _currentframe) < 42)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
coinsroom21();
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == 262.5)) {
a = "1";
showenemy1room30 = 1;
showflower1room30 = 1;
showflower2room30 = 1;
showflower3room30 = 1;
showenemy1room7 = 1;
showenemy2room7 = 1;
gotoAndStop (216);
}
if ((((((getProperty("_root.you", _x) == getProperty("_root.head", _x)) and (getProperty("_root.you", _y) == getProperty("_root.head", _y))) or ((getProperty("_root.you", _x) == getProperty("_root.1", _x)) and (getProperty("_root.you", _y) == getProperty("_root.1", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.2", _x)) and (getProperty("_root.you", _y) == getProperty("_root.2", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.3", _x)) and (getProperty("_root.you", _y) == getProperty("_root.3", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.4", _x)) and (getProperty("_root.you", _y) == getProperty("_root.4", _y)))) {
setProperty("_root.you", _y , getProperty("_root.you", _y) - 15);
}
}
}
}
on (keyPress "<Left>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/head", _currentframe) < 42)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
coinsroom21();
if ((((((getProperty("_root.you", _x) == getProperty("_root.head", _x)) and (getProperty("_root.you", _y) == getProperty("_root.head", _y))) or ((getProperty("_root.you", _x) == getProperty("_root.1", _x)) and (getProperty("_root.you", _y) == getProperty("_root.1", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.2", _x)) and (getProperty("_root.you", _y) == getProperty("_root.2", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.3", _x)) and (getProperty("_root.you", _y) == getProperty("_root.3", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.4", _x)) and (getProperty("_root.you", _y) == getProperty("_root.4", _y)))) {
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
}
}
}
}
Symbol 527 Button
on (keyPress "z") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.head", _currentframe) < 42)) {
usebomb();
}
}
Symbol 528 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 530 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 5
if (getProperty("_root.head", _y) < getProperty("_root.you", _y)) {
tellTarget ("snake") {
gotoAndStop (3);
};
if (/:hitwall == 0) {
if (_root.wall.hittest(_root.head._x, _root.head._y + 15, true) ne "true") {
headx = getProperty("_root.head", _x);
heady = getProperty("_root.head", _y);
setProperty("_root.head", _y , getProperty("_root.head", _y) + 15);
body1x = getProperty("_root.1", _x);
body1y = getProperty("_root.1", _y);
setProperty("_root.1", _x , headx);
setProperty("_root.1", _y , heady);
body2x = getProperty("_root.2", _x);
body2y = getProperty("_root.2", _y);
setProperty("_root.2", _x , body1x);
setProperty("_root.2", _y , body1y);
body3x = getProperty("_root.3", _x);
body3y = getProperty("_root.3", _y);
setProperty("_root.3", _x , body2x);
setProperty("_root.3", _y , body2y);
body4x = getProperty("_root.4", _x);
body4y = getProperty("_root.4", _y);
setProperty("_root.4", _x , body3x);
setProperty("_root.4", _y , body3y);
if ((getProperty("_root.head", _x) == getProperty("_root.you", _x)) and (getProperty("_root.head", _y) == getProperty("_root.you", _y))) {
setProperty("_root.you", _y , getProperty("_root.you", _y) + 15);
/:youhit();
if (_root.wall.hittest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _y , getProperty("_root.you", _y) - 15);
setProperty("_root.head", _y , getProperty("_root.head", _y) - 15);
setProperty("_root.1", _x , body1x);
setProperty("_root.1", _y , body1y);
setProperty("_root.2", _x , body2x);
setProperty("_root.2", _y , body2y);
setProperty("_root.3", _x , body3x);
setProperty("_root.3", _y , body3y);
setProperty("_root.4", _x , body4x);
setProperty("_root.4", _y , body4y);
Set("/:hitwall", 1);
} else {
Set("/:hitwall", 0);
}
}
}
} else if (/:hitwall == 1) {
if (_root.wall.hittest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _y , getProperty("_root.you", _y) - 15);
setProperty("_root.head", _y , getProperty("_root.head", _y) - 15);
} else {
Set("/:hitwall", 0);
}
}
} else if (getProperty("_root.head", _y) > getProperty("_root.you", _y)) {
tellTarget ("snake") {
gotoAndStop (1);
};
if (/:hitwall == 0) {
if (_root.wall.hittest(_root.head._x, _root.head._y - 15, true) ne "true") {
headx = getProperty("_root.head", _x);
heady = getProperty("_root.head", _y);
setProperty("_root.head", _y , getProperty("_root.head", _y) - 15);
body1x = getProperty("_root.1", _x);
body1y = getProperty("_root.1", _y);
setProperty("_root.1", _x , headx);
setProperty("_root.1", _y , heady);
body2x = getProperty("_root.2", _x);
body2y = getProperty("_root.2", _y);
setProperty("_root.2", _x , body1x);
setProperty("_root.2", _y , body1y);
body3x = getProperty("_root.3", _x);
body3y = getProperty("_root.3", _y);
setProperty("_root.3", _x , body2x);
setProperty("_root.3", _y , body2y);
body4x = getProperty("_root.4", _x);
body4y = getProperty("_root.4", _y);
setProperty("_root.4", _x , body3x);
setProperty("_root.4", _y , body3y);
if ((getProperty("_root.head", _x) == getProperty("_root.you", _x)) and (getProperty("_root.head", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) - 15);
if ((getProperty("_root.you", _x) == 127.5) and (getProperty("_root.you", _y) == -7.5)) {
setProperty("_root.you", _y , getProperty("_root.you", _y) + 15);
setProperty("_root.head", _y , getProperty("_root.head", _y) + 15);
setProperty("_root.1", _x , body1x);
setProperty("_root.1", _y , body1y);
setProperty("_root.2", _x , body2x);
setProperty("_root.2", _y , body2y);
setProperty("_root.3", _x , body3x);
setProperty("_root.3", _y , body3y);
setProperty("_root.4", _x , body4x);
setProperty("_root.4", _y , body4y);
Set("/:hitwall", 1);
}
if (_root.wall.hittest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _y , getProperty("_root.you", _y) + 15);
setProperty("_root.head", _y , getProperty("_root.head", _y) + 15);
setProperty("_root.1", _x , body1x);
setProperty("_root.1", _y , body1y);
setProperty("_root.2", _x , body2x);
setProperty("_root.2", _y , body2y);
setProperty("_root.3", _x , body3x);
setProperty("_root.3", _y , body3y);
setProperty("_root.4", _x , body4x);
setProperty("_root.4", _y , body4y);
Set("/:hitwall", 1);
} else {
Set("/:hitwall", 0);
}
}
}
} else if (/:hitwall == 1) {
if (_root.wall.hittest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _y , getProperty("_root.you", _y) + 15);
setProperty("_root.head", _y , getProperty("_root.head", _y) + 15);
} else {
Set("/:hitwall", 0);
}
}
}
Symbol 545 MovieClip Frame 10
if (getProperty("_root.head", _x) < getProperty("_root.you", _x)) {
tellTarget ("snake") {
gotoAndStop (2);
};
if (/:hitwall == 0) {
if (_root.wall.hittest(_root.head._x + 15, _root.head._y, true) ne "true") {
headx = getProperty("_root.head", _x);
heady = getProperty("_root.head", _y);
setProperty("_root.head", _x , getProperty("_root.head", _x) + 15);
body1x = getProperty("_root.1", _x);
body1y = getProperty("_root.1", _y);
setProperty("_root.1", _x , headx);
setProperty("_root.1", _y , heady);
body2x = getProperty("_root.2", _x);
body2y = getProperty("_root.2", _y);
setProperty("_root.2", _x , body1x);
setProperty("_root.2", _y , body1y);
body3x = getProperty("_root.3", _x);
body3y = getProperty("_root.3", _y);
setProperty("_root.3", _x , body2x);
setProperty("_root.3", _y , body2y);
body4x = getProperty("_root.4", _x);
body4y = getProperty("_root.4", _y);
setProperty("_root.4", _x , body3x);
setProperty("_root.4", _y , body3y);
if ((getProperty("_root.head", _x) == getProperty("_root.you", _x)) and (getProperty("_root.head", _y) == getProperty("_root.you", _y))) {
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
/:youhit();
if (_root.wall.hittest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
setProperty("_root.head", _x , getProperty("_root.head", _x) - 15);
setProperty("_root.1", _x , body1x);
setProperty("_root.1", _y , body1y);
setProperty("_root.2", _x , body2x);
setProperty("_root.2", _y , body2y);
setProperty("_root.3", _x , body3x);
setProperty("_root.3", _y , body3y);
setProperty("_root.4", _x , body4x);
setProperty("_root.4", _y , body4y);
Set("/:hitwall", 1);
} else {
Set("/:hitwall", 0);
}
}
}
} else if (/:hitwall == 1) {
if (_root.wall.hittest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
setProperty("_root.head", _x , getProperty("_root.head", _x) - 15);
} else {
Set("/:hitwall", 0);
}
}
} else if (getProperty("_root.head", _x) > getProperty("_root.you", _x)) {
tellTarget ("snake") {
gotoAndStop (4);
};
if (/:hitwall == 0) {
if (_root.wall.hittest(_root.head._x - 15, _root.head._y, true) ne "true") {
headx = getProperty("_root.head", _x);
heady = getProperty("_root.head", _y);
setProperty("_root.head", _x , getProperty("_root.head", _x) - 15);
body1x = getProperty("_root.1", _x);
body1y = getProperty("_root.1", _y);
setProperty("_root.1", _x , headx);
setProperty("_root.1", _y , heady);
body2x = getProperty("_root.2", _x);
body2y = getProperty("_root.2", _y);
setProperty("_root.2", _x , body1x);
setProperty("_root.2", _y , body1y);
body3x = getProperty("_root.3", _x);
body3y = getProperty("_root.3", _y);
setProperty("_root.3", _x , body2x);
setProperty("_root.3", _y , body2y);
body4x = getProperty("_root.4", _x);
body4y = getProperty("_root.4", _y);
setProperty("_root.4", _x , body3x);
setProperty("_root.4", _y , body3y);
if ((getProperty("_root.head", _x) == getProperty("_root.you", _x)) and (getProperty("_root.head", _y) == getProperty("_root.you", _y))) {
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
/:youhit();
if (_root.wall.hittest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
setProperty("_root.head", _x , getProperty("_root.head", _x) + 15);
setProperty("_root.1", _x , body1x);
setProperty("_root.1", _y , body1y);
setProperty("_root.2", _x , body2x);
setProperty("_root.2", _y , body2y);
setProperty("_root.3", _x , body3x);
setProperty("_root.3", _y , body3y);
setProperty("_root.4", _x , body4x);
setProperty("_root.4", _y , body4y);
Set("/:hitwall", 1);
} else {
Set("/:hitwall", 0);
}
}
}
} else if (/:hitwall == 1) {
if (_root.wall.hittest(_root.you._x, _root.you._y, true) eq "true") {
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
setProperty("_root.head", _x , getProperty("_root.head", _x) + 15);
} else {
Set("/:hitwall", 0);
}
}
}
Symbol 545 MovieClip Frame 11
gotoAndPlay (1);
Symbol 545 MovieClip Frame 40
if (/:killedsnake4 == 0) {
setProperty("_root.4", _x , -1000);
setProperty("_root.4", _name , "b");
Set("/:killedsnake4", 1);
} else if ((/:killedsnake4 == 1) and (/:killedsnake3 == 0)) {
setProperty("_root.3", _x , -1000);
setProperty("_root.3", _name , "b");
Set("/:killedsnake3", 1);
} else if (((/:killedsnake4 == 1) and (/:killedsnake3 == 1)) and (/:killedsnake2 == 0)) {
setProperty("_root.2", _x , -1000);
setProperty("_root.2", _name , "b");
Set("/:killedsnake2", 1);
} else if ((((/:killedsnake4 == 1) and (/:killedsnake3 == 1)) and (/:killedsnake2 == 1)) and (/:killedsnake1 == 0)) {
setProperty("_root.1", _x , -1000);
setProperty("_root.1", _name , "b");
Set("/:killedsnake1", 1);
} else if (((((/:killedsnake4 == 1) and (/:killedsnake3 == 1)) and (/:killedsnake2 == 1)) and (/:killedsnake1 == 1)) and (/:killedsnakehead == 0)) {
tellTarget ("_root.head") {
gotoAndPlay (42);
};
Set("/:killedsnakehead", 1);
}
Symbol 545 MovieClip Frame 41
gotoAndPlay (1);
Symbol 545 MovieClip Frame 153
tellTarget ("_root.flash") {
gotoAndPlay (2);
};
Symbol 545 MovieClip Frame 160
setProperty("_root.c1", _x , "22.5");
setProperty("_root.c1", _y , "22.5");
setProperty("_root.c2", _x , "232.5");
setProperty("_root.c2", _y , "22.5");
setProperty("_root.c3", _x , "22.5");
setProperty("_root.c3", _y , "232.5");
setProperty("_root.c4", _x , "232.5");
setProperty("_root.c4", _y , "232.5");
setProperty("_root.c5", _x , "187.5");
setProperty("_root.c5", _y , "67.5");
setProperty("_root.c6", _x , "67.5");
setProperty("_root.c6", _y , "187.5");
setProperty("_root.c7", _x , "67.5");
setProperty("_root.c7", _y , "67.5");
setProperty("_root.c8", _x , "187.5");
setProperty("_root.c8", _y , "187.5");
setProperty("_root.c9", _x , "172.5");
setProperty("_root.c9", _y , "97.5");
setProperty("_root.c10", _x , "82.5");
setProperty("_root.c10", _y , "97.5");
setProperty("_root.c11", _x , "82.5");
setProperty("_root.c11", _y , "157.5");
setProperty("_root.c12", _x , "172.5");
setProperty("_root.c12", _y , "157.5");
Set("/:snakekilled", 1);
setProperty("_root.head", _x , -10000);
setProperty("_root.wall.block", _x , -10000);
setProperty("_root.wall.block2", _x , -10000);
stop();
tellTarget ("_root.head") {
gotoAndStop (12);
};
Symbol 547 MovieClip Frame 1
stop();
Symbol 547 MovieClip Frame 30
gotoAndStop (1);
Symbol 554 MovieClip Frame 1
stop();
Symbol 554 MovieClip Frame 2
if (/:remotebomb == 1) {
tellTarget ("remotebomb") {
gotoAndStop (2);
};
}
Symbol 554 MovieClip Frame 65
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemyimposter", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemyimposter", _y))) {
Set("/:enemylife", /:enemylife - 1);
if (/:enemylife > 0) {
setProperty("_root.timer", _x , getProperty("_root.enemyimposter", _x));
setProperty("_root.timer", _y , getProperty("_root.enemyimposter", _y) + 15);
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
tellTarget ("_root.timer.enemylife") {
gotoAndStop(/:enemylife);
};
} else if (/:enemylife < 1) {
tellTarget ("_root.imposterdie") {
gotoAndPlay (2);
};
}
if (getProperty("_root.enemyimposter", _currentframe) == 1) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (5);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 2) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (9);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 3) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (13);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 4) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (17);
};
}
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemyimposter", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.enemyimposter", _y) + 15))) {
Set("/:enemylife", /:enemylife - 1);
if (/:enemylife > 0) {
setProperty("_root.timer", _x , getProperty("_root.enemyimposter", _x));
setProperty("_root.timer", _y , getProperty("_root.enemyimposter", _y) + 15);
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
tellTarget ("_root.timer.enemylife") {
gotoAndStop(/:enemylife);
};
} else if (/:enemylife < 1) {
tellTarget ("_root.imposterdie") {
gotoAndPlay (2);
};
}
if (getProperty("_root.enemyimposter", _currentframe) == 1) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (5);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 2) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (9);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 3) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (13);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 4) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (17);
};
}
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemyimposter", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.enemyimposter", _y) - 15))) {
Set("/:enemylife", /:enemylife - 1);
if (/:enemylife > 0) {
setProperty("_root.timer", _x , getProperty("_root.enemyimposter", _x));
setProperty("_root.timer", _y , getProperty("_root.enemyimposter", _y) + 15);
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
tellTarget ("_root.timer.enemylife") {
gotoAndStop(/:enemylife);
};
} else if (/:enemylife < 1) {
tellTarget ("_root.imposterdie") {
gotoAndPlay (2);
};
}
if (getProperty("_root.enemyimposter", _currentframe) == 1) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (5);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 2) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (9);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 3) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (13);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 4) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (17);
};
}
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.enemyimposter", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemyimposter", _y))) {
Set("/:enemylife", /:enemylife - 1);
if (/:enemylife > 0) {
setProperty("_root.timer", _x , getProperty("_root.enemyimposter", _x));
setProperty("_root.timer", _y , getProperty("_root.enemyimposter", _y) + 15);
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
tellTarget ("_root.timer.enemylife") {
gotoAndStop(/:enemylife);
};
} else if (/:enemylife < 1) {
tellTarget ("_root.imposterdie") {
gotoAndPlay (2);
};
}
if (getProperty("_root.enemyimposter", _currentframe) == 1) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (5);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 2) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (9);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 3) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (13);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 4) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (17);
};
}
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.enemyimposter", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemyimposter", _y))) {
Set("/:enemylife", /:enemylife - 1);
if (/:enemylife > 0) {
setProperty("_root.timer", _x , getProperty("_root.enemyimposter", _x));
setProperty("_root.timer", _y , getProperty("_root.enemyimposter", _y) + 15);
tellTarget ("_root.timer") {
gotoAndPlay (2);
};
tellTarget ("_root.timer.enemylife") {
gotoAndStop(/:enemylife);
};
} else if (/:enemylife < 1) {
tellTarget ("_root.imposterdie") {
gotoAndPlay (2);
};
}
if (getProperty("_root.enemyimposter", _currentframe) == 1) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (5);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 2) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (9);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 3) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (13);
};
} else if (getProperty("_root.enemyimposter", _currentframe) == 4) {
tellTarget ("_root.enemyimposter") {
gotoAndPlay (17);
};
}
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) + 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) - 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
Symbol 554 MovieClip Frame 66
setProperty("/bomb", _x , -100);
gotoAndStop (1);
Symbol 555 Button
on (keyPress "<Up>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/imposterdie", _currentframe) == 1)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
tellTarget ("/enemyimposter") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
hitfromturret();
}
if (wall.hittest(enemyimposter._x, enemyimposter._y + 15, true) ne "true") {
setProperty("enemyimposter", _y , getProperty(enemyimposter, _y) + 15);
setProperty("_root.timer", _x , getProperty("_root.enemyimposter", _x));
setProperty("_root.timer", _y , getProperty("_root.enemyimposter", _y) + 15);
if ((getProperty("/you", _x) == getProperty("/enemyimposter", _x)) and (getProperty("/you", _y) == getProperty("/enemyimposter", _y))) {
youhit();
}
}
}
}
on (keyPress "<Right>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/imposterdie", _currentframe) == 1)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
tellTarget ("/enemyimposter") {
gotoAndStop (4);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
hitfromturret();
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 127.5)) {
a = "8";
enemy1room24killed = 1;
enemy2room24killed = 1;
enemy3room24killed = 1;
enemy4room24killed = 1;
enemy5room24killed = 1;
enemy6room24killed = 1;
gotoAndStop (209);
}
}
if (wall.hittest(enemyimposter._x - 15, enemyimposter._y, true) ne "true") {
setProperty("enemyimposter", _x , getProperty(enemyimposter, _x) - 15);
setProperty("_root.timer", _x , getProperty("_root.enemyimposter", _x));
setProperty("_root.timer", _y , getProperty("_root.enemyimposter", _y) + 15);
if ((getProperty("/you", _x) == getProperty("/enemyimposter", _x)) and (getProperty("/you", _y) == getProperty("/enemyimposter", _y))) {
youhit();
}
if ((getProperty("/enemyimposter", _x) == -7.5) and (getProperty("/enemyimposter", _y) == 127.5)) {
setProperty("enemyimposter", _x , getProperty(enemyimposter, _x) + 15);
}
}
}
}
on (keyPress "<Down>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/imposterdie", _currentframe) == 1)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
tellTarget ("/enemyimposter") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
hitfromturret();
}
if (wall.hittest(enemyimposter._x, enemyimposter._y - 15, true) ne "true") {
setProperty("enemyimposter", _y , getProperty(enemyimposter, _y) - 15);
setProperty("_root.timer", _x , getProperty("_root.enemyimposter", _x));
setProperty("_root.timer", _y , getProperty("_root.enemyimposter", _y) + 15);
if ((getProperty("/you", _x) == getProperty("/enemyimposter", _x)) and (getProperty("/you", _y) == getProperty("/enemyimposter", _y))) {
youhit();
}
}
}
}
on (keyPress "<Left>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/imposterdie", _currentframe) == 1)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
tellTarget ("/enemyimposter") {
gotoAndStop (2);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(20);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redcoin");
};
coinsound();
}
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 127.5)) {
a = "1";
showenemy1room30 = 1;
showflower1room30 = 1;
showflower2room30 = 1;
showflower3room30 = 1;
showenemy1room7 = 1;
showenemy2room7 = 1;
gotoAndStop (214);
}
hitfromturret();
}
if (wall.hittest(enemyimposter._x + 15, enemyimposter._y, true) ne "true") {
setProperty("enemyimposter", _x , getProperty(enemyimposter, _x) + 15);
setProperty("_root.timer", _x , getProperty("_root.enemyimposter", _x));
setProperty("_root.timer", _y , getProperty("_root.enemyimposter", _y) + 15);
if ((getProperty("/you", _x) == getProperty("/enemyimposter", _x)) and (getProperty("/you", _y) == getProperty("/enemyimposter", _y))) {
youhit();
}
if ((getProperty("/enemyimposter", _x) == 262.5) and (getProperty("/enemyimposter", _y) == 127.5)) {
setProperty("enemyimposter", _x , getProperty(enemyimposter, _x) - 15);
}
}
}
}
Symbol 572 MovieClip Frame 1
stop();
Symbol 572 MovieClip Frame 5
play();
Symbol 572 MovieClip Frame 8
gotoAndStop (1);
Symbol 572 MovieClip Frame 9
play();
Symbol 572 MovieClip Frame 12
gotoAndStop (2);
Symbol 572 MovieClip Frame 13
play();
Symbol 572 MovieClip Frame 16
gotoAndStop (3);
Symbol 572 MovieClip Frame 17
play();
Symbol 572 MovieClip Frame 20
gotoAndStop (4);
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 2
setProperty("_root.enemyimposter", _alpha , getProperty("_root.enemyimposter", _alpha) - 5);
Set("/:enemyalpha", /:enemyalpha + 1);
if (/:enemyalpha == 20) {
gotoAndPlay (4);
} else if (/:enemyalpha != 20) {
play();
}
Symbol 574 MovieClip Frame 3
gotoAndPlay (2);
Symbol 574 MovieClip Frame 4
setProperty("_root.c1", _x , getProperty("_root.enemyimposter", _x));
setProperty("_root.c1", _y , getProperty("_root.enemyimposter", _y));
setProperty("_root.enemyimposter", _x , -1000);
Set("/:imposterkilled", 1);
setProperty("_root.wall.block", _x , -1000);
Symbol 574 MovieClip Frame 5
gotoAndStop (1);
Symbol 575 Button
on (keyPress "z") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("/imposterdie", _currentframe) == 1)) {
usebomb();
}
}
Symbol 576 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 577 MovieClip Frame 1
stop();
Symbol 577 MovieClip Frame 3
if (_root.wall.hitTest(_root.ball1._x, _root.ball1._y - 15, true) ne "true") {
setProperty("_root.ball1", _y , getProperty(_root.ball1, _y) - 15);
if ((getProperty("_root.ball1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball1", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball1") {
gotoAndStop (1);
};
setProperty("_root.ball1", _x , -1000);
}
if ((getProperty("_root.ball1", _x) == getProperty("_root.enemyimposter", _x)) and (getProperty("_root.ball1", _y) == getProperty("_root.enemyimposter", _y))) {
/:enemyhit();
tellTarget ("_root.ball1") {
gotoAndStop (1);
};
setProperty("_root.ball1", _x , -1000);
}
} else if (_root.wall.hitTest(_root.ball1._x, _root.ball1._y - 15, true) eq "true") {
tellTarget ("_root.ball1") {
gotoAndStop (1);
};
setProperty("_root.ball1", _x , -1000);
}
Symbol 577 MovieClip Frame 4
gotoAndPlay (2);
Symbol 578 MovieClip Frame 1
stop();
Symbol 578 MovieClip Frame 3
if (_root.wall.hittest(_root.ball2._x + 15, _root.ball2._y, true) ne "true") {
setProperty("_root.ball2", _x , getProperty(_root.ball2, _x) + 15);
if ((getProperty("_root.ball2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball2", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball2") {
gotoAndStop (1);
};
setProperty("_root.ball2", _x , -1000);
}
if ((getProperty("_root.ball2", _x) == getProperty("_root.enemyimposter", _x)) and (getProperty("_root.ball2", _y) == getProperty("_root.enemyimposter", _y))) {
/:enemyhit();
tellTarget ("_root.ball2") {
gotoAndStop (1);
};
setProperty("_root.ball2", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball2._x + 15, _root.ball2._y, true) eq "true") {
tellTarget ("_root.ball2") {
gotoAndStop (1);
};
setProperty("_root.ball2", _x , -1000);
}
Symbol 578 MovieClip Frame 4
gotoAndPlay (2);
Symbol 579 MovieClip Frame 1
stop();
Symbol 579 MovieClip Frame 3
if (_root.wall.hittest(_root.ball3._x, _root.ball3._y + 15, true) ne "true") {
setProperty("_root.ball3", _y , getProperty(_root.ball3, _y) + 15);
if ((getProperty("_root.ball3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball3", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball3") {
gotoAndStop (1);
};
setProperty("_root.ball3", _x , -1000);
}
if ((getProperty("_root.ball3", _x) == getProperty("_root.enemyimposter", _x)) and (getProperty("_root.ball3", _y) == getProperty("_root.enemyimposter", _y))) {
/:enemyhit();
tellTarget ("_root.ball3") {
gotoAndStop (1);
};
setProperty("_root.ball3", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball3._x, _root.ball3._y + 15, true) eq "true") {
tellTarget ("_root.ball3") {
gotoAndStop (1);
};
setProperty("_root.ball3", _x , -1000);
}
Symbol 579 MovieClip Frame 4
gotoAndPlay (2);
Symbol 580 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 3
if (_root.wall.hittest(_root.ball4._x - 15, _root.ball4._y, true) ne "true") {
setProperty("_root.ball4", _x , getProperty(_root.ball4, _x) - 15);
if ((getProperty("_root.ball4", _x) == getProperty("_root.you", _x)) and (getProperty("_root.ball4", _y) == getProperty("_root.you", _y))) {
/:youhit();
tellTarget ("_root.ball4") {
gotoAndStop (1);
};
setProperty("_root.ball4", _x , -1000);
}
if ((getProperty("_root.ball4", _x) == getProperty("_root.enemyimposter", _x)) and (getProperty("_root.ball4", _y) == getProperty("_root.enemyimposter", _y))) {
/:enemyhit();
tellTarget ("_root.ball4") {
gotoAndStop (1);
};
setProperty("_root.ball4", _x , -1000);
}
} else if (_root.wall.hittest(_root.ball4._x - 15, _root.ball4._y, true) eq "true") {
tellTarget ("_root.ball4") {
gotoAndStop (1);
};
setProperty("_root.ball4", _x , -1000);
}
Symbol 580 MovieClip Frame 4
gotoAndPlay (2);
Symbol 582 MovieClip Frame 1
stop();
Symbol 583 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 583 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 583 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 583 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 583 MovieClip Frame 62
gotoAndPlay (2);
Symbol 593 MovieClip Frame 1
stop();
Symbol 594 MovieClip Frame 1
stop();
Symbol 594 MovieClip Frame 41
gotoAndPlay (1);
Symbol 601 MovieClip Frame 1
stop();
Symbol 601 MovieClip Frame 2
if (/:remotebomb == 1) {
tellTarget ("remotebomb") {
gotoAndStop (2);
};
}
Symbol 601 MovieClip Frame 65
if (getProperty("_root.flower", _currentframe) < 12) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower", _y))) {
tellTarget ("_root.flower") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.flower", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower", _y))) {
tellTarget ("_root.flower") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.flower", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower", _y))) {
tellTarget ("_root.flower") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.flower", _y))) {
tellTarget ("_root.flower") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.flower", _y))) {
tellTarget ("_root.flower") {
gotoAndPlay (12);
};
}
}
if (getProperty("_root.flower2", _currentframe) < 12) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower2", _y))) {
tellTarget ("_root.flower2") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.flower2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower2", _y))) {
tellTarget ("_root.flower2") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.flower2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower2", _y))) {
tellTarget ("_root.flower2") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower2", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.flower2", _y))) {
tellTarget ("_root.flower2") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower2", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.flower2", _y))) {
tellTarget ("_root.flower2") {
gotoAndPlay (12);
};
}
}
if (getProperty("_root.flower3", _currentframe) < 12) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower3", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower3", _y))) {
tellTarget ("_root.flower3") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.flower3", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower3", _y))) {
tellTarget ("_root.flower3") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.flower3", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower3", _y))) {
tellTarget ("_root.flower3") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower3", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.flower3", _y))) {
tellTarget ("_root.flower3") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower3", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.flower3", _y))) {
tellTarget ("_root.flower3") {
gotoAndPlay (12);
};
}
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) + 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) - 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
Symbol 601 MovieClip Frame 66
setProperty("/bomb", _x , -100);
gotoAndStop (1);
Symbol 602 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((((getProperty("_root.flower", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower", _y) == getProperty("_root.you", _y))) or ((getProperty("_root.flower2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower2", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.flower3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower3", _y) == getProperty("_root.you", _y)))) {
youhit();
setProperty("you", _y , getProperty(you, _y) + 15);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((((getProperty("_root.flower", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower", _y) == getProperty("_root.you", _y))) or ((getProperty("_root.flower2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower2", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.flower3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower3", _y) == getProperty("_root.you", _y)))) {
youhit();
setProperty("you", _x , getProperty(you, _x) - 15);
}
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 127.5)) {
a = "2";
gotoAndStop (213);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((((getProperty("_root.flower", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower", _y) == getProperty("_root.you", _y))) or ((getProperty("_root.flower2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower2", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.flower3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower3", _y) == getProperty("_root.you", _y)))) {
youhit();
setProperty("you", _y , getProperty(you, _y) - 15);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 127.5)) {
a = "1";
gotoAndStop (215);
}
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((((getProperty("_root.flower", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower", _y) == getProperty("_root.you", _y))) or ((getProperty("_root.flower2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower2", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.flower3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower3", _y) == getProperty("_root.you", _y)))) {
youhit();
setProperty("you", _x , getProperty(you, _x) + 15);
}
}
}
}
Symbol 603 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 606 MovieClip Frame 5
if (_root.wall.hittest(_root.flower._x + 15, _root.flower._y, true) ne "true") {
setProperty("_root.flower", _x , getProperty("_root.flower", _x) + 15);
if ((getProperty("_root.flower", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower", _x , getProperty("_root.flower", _x) - 15);
}
gotoAndPlay (1);
} else if (_root.wall.hittest(_root.flower._x + 15, _root.flower._y, true) eq "true") {
gotoAndPlay (6);
}
Symbol 606 MovieClip Frame 10
if (_root.wall.hittest(_root.flower._x - 15, _root.flower._y, true) ne "true") {
setProperty("_root.flower", _x , getProperty("_root.flower", _x) - 15);
if ((getProperty("_root.flower", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower", _x , getProperty("_root.flower", _x) + 15);
}
gotoAndPlay (6);
} else if (_root.wall.hittest(_root.flower._x - 15, _root.flower._y, true) eq "true") {
gotoAndPlay (1);
}
Symbol 606 MovieClip Frame 11
gotoAndPlay (1);
Symbol 606 MovieClip Frame 12
Set("/:showflower1room23", 0);
Symbol 606 MovieClip Frame 26
setProperty("_root.c1", _x , getProperty("_root.flower", _x));
setProperty("_root.c1", _y , getProperty("_root.flower", _y));
setProperty("_root.flower", _x , -100);
Set("/:flower1killed", 1);
if (((/:flower1killed == 1) and (/:flower2killed == 1)) and (/:flower3killed == 1)) {
Set("/:flowerskilled", 1);
setProperty("_root.wall.block", _x , -1000);
}
stop();
Symbol 607 MovieClip Frame 5
if (_root.wall.hittest(_root.flower2._x, _root.flower2._y - 15, true) ne "true") {
setProperty("_root.flower2", _y , getProperty("_root.flower2", _y) - 15);
if ((getProperty("_root.flower2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower2", _y , getProperty("_root.flower2", _y) + 15);
}
gotoAndPlay (1);
} else if (_root.wall.hittest(_root.flower2._x, _root.flower2._y - 15, true) eq "true") {
gotoAndPlay (6);
}
Symbol 607 MovieClip Frame 10
if (_root.wall.hittest(_root.flower2._x, _root.flower2._y + 15, true) ne "true") {
setProperty("_root.flower2", _y , getProperty("_root.flower2", _y) + 15);
if ((getProperty("_root.flower2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower2", _y , getProperty("_root.flower2", _y) - 15);
}
gotoAndPlay (6);
} else if (_root.wall.hittest(_root.flower2._x - 15, _root.flower2._y, true) eq "true") {
gotoAndPlay (1);
}
Symbol 607 MovieClip Frame 11
gotoAndPlay (1);
Symbol 607 MovieClip Frame 12
Set("/:showflower2room23", 0);
Symbol 607 MovieClip Frame 26
setProperty("_root.c2", _x , getProperty("_root.flower2", _x));
setProperty("_root.c2", _y , getProperty("_root.flower2", _y));
setProperty("_root.flower2", _x , -100);
Set("/:flower2killed", 1);
if (((/:flower1killed == 1) and (/:flower2killed == 1)) and (/:flower3killed == 1)) {
Set("/:flowerskilled", 1);
setProperty("_root.wall.block", _x , -1000);
}
stop();
Symbol 608 MovieClip Frame 5
if (_root.wall.hittest(_root.flower3._x + 15, _root.flower3._y, true) ne "true") {
setProperty("_root.flower3", _x , getProperty("_root.flower3", _x) + 15);
if ((getProperty("_root.flower3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower3", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower3", _x , getProperty("_root.flower3", _x) - 15);
}
gotoAndPlay (1);
} else if (_root.wall.hittest(_root.flower3._x + 15, _root.flower3._y, true) eq "true") {
gotoAndPlay (6);
}
Symbol 608 MovieClip Frame 10
if (_root.wall.hittest(_root.flower3._x - 15, _root.flower3._y, true) ne "true") {
setProperty("_root.flower3", _x , getProperty("_root.flower3", _x) - 15);
if ((getProperty("_root.flower3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower3", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower3", _x , getProperty("_root.flower3", _x) + 15);
}
gotoAndPlay (6);
} else if (_root.wall.hittest(_root.flower3._x - 15, _root.flower3._y, true) eq "true") {
gotoAndPlay (1);
}
Symbol 608 MovieClip Frame 11
gotoAndPlay (1);
Symbol 608 MovieClip Frame 12
Set("/:showflower3room23", 0);
Symbol 608 MovieClip Frame 26
setProperty("_root.c3", _x , getProperty("_root.flower3", _x));
setProperty("_root.c3", _y , getProperty("_root.flower3", _y));
setProperty("_root.flower3", _x , -100);
Set("/:flower3killed", 1);
if (((/:flower1killed == 1) and (/:flower2killed == 1)) and (/:flower3killed == 1)) {
Set("/:flowerskilled", 1);
setProperty("_root.wall.block", _x , -1000);
}
stop();
Symbol 610 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 2
if (/:remotebomb == 1) {
tellTarget ("remotebomb") {
gotoAndStop (2);
};
}
Symbol 618 MovieClip Frame 65
if (getProperty("_root.enemy1", _currentframe) < 21) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy1", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy1", _y))) {
tellTarget ("_root.enemy1") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.enemy1", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy1", _y))) {
tellTarget ("_root.enemy1") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.enemy1", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy1", _y))) {
tellTarget ("_root.enemy1") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy1", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.enemy1", _y))) {
tellTarget ("_root.enemy1") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy1", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.enemy1", _y))) {
tellTarget ("_root.enemy1") {
gotoAndPlay (21);
};
}
}
if (getProperty("_root.enemy2", _currentframe) < 21) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.enemy2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.enemy2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy2", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy2", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.enemy2", _y))) {
tellTarget ("_root.enemy2") {
gotoAndPlay (21);
};
}
}
if (getProperty("_root.enemy3", _currentframe) < 21) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy3", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy3", _y))) {
tellTarget ("_root.enemy3") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.enemy3", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy3", _y))) {
tellTarget ("_root.enemy3") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.enemy3", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy3", _y))) {
tellTarget ("_root.enemy3") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy3", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.enemy3", _y))) {
tellTarget ("_root.enemy3") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy3", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.enemy3", _y))) {
tellTarget ("_root.enemy3") {
gotoAndPlay (21);
};
}
}
if (getProperty("_root.enemy4", _currentframe) < 21) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy4", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy4", _y))) {
tellTarget ("_root.enemy4") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.enemy4", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy4", _y))) {
tellTarget ("_root.enemy4") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.enemy4", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy4", _y))) {
tellTarget ("_root.enemy4") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy4", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.enemy4", _y))) {
tellTarget ("_root.enemy4") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy4", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.enemy4", _y))) {
tellTarget ("_root.enemy4") {
gotoAndPlay (21);
};
}
}
if (getProperty("_root.enemy5", _currentframe) < 21) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy5", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy5", _y))) {
tellTarget ("_root.enemy5") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.enemy5", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy5", _y))) {
tellTarget ("_root.enemy5") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.enemy5", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy5", _y))) {
tellTarget ("_root.enemy5") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy5", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.enemy5", _y))) {
tellTarget ("_root.enemy5") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy5", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.enemy5", _y))) {
tellTarget ("_root.enemy5") {
gotoAndPlay (21);
};
}
}
if (getProperty("_root.enemy6", _currentframe) < 21) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy6", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy6", _y))) {
tellTarget ("_root.enemy6") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.enemy6", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy6", _y))) {
tellTarget ("_root.enemy6") {
gotoAndPlay (21);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.enemy6", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy6", _y))) {
tellTarget ("_root.enemy6") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy6", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.enemy6", _y))) {
tellTarget ("_root.enemy6") {
gotoAndPlay (21);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy6", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.enemy6", _y))) {
tellTarget ("_root.enemy6") {
gotoAndPlay (21);
};
}
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) + 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) - 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
Symbol 618 MovieClip Frame 66
setProperty("/bomb", _x , -100);
gotoAndStop (1);
Symbol 619 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 620 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
bluecoinspickup();
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if (((((((getProperty("_root.enemy1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy1", _y) == getProperty("_root.you", _y))) or ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy3", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy4", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy4", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy5", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy5", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy6", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy6", _y) == getProperty("_root.you", _y)))) {
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) + 15);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
bluecoinspickup();
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 127.5)) {
a = "2";
gotoAndStop (214);
}
if (((((((getProperty("_root.enemy1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy1", _y) == getProperty("_root.you", _y))) or ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy3", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy4", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy4", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy5", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy5", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy6", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy6", _y) == getProperty("_root.you", _y)))) {
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) - 15);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
bluecoinspickup();
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if (((((((getProperty("_root.enemy1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy1", _y) == getProperty("_root.you", _y))) or ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy3", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy4", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy4", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy5", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy5", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy6", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy6", _y) == getProperty("_root.you", _y)))) {
youhit();
setProperty("_root.you", _y , getProperty("_root.you", _y) - 15);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
bluecoinspickup();
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 127.5)) {
a = "1";
gotoAndStop (217);
}
if (((((((getProperty("_root.enemy1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy1", _y) == getProperty("_root.you", _y))) or ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy3", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy4", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy4", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy5", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy5", _y) == getProperty("_root.you", _y)))) or ((getProperty("_root.enemy6", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy6", _y) == getProperty("_root.you", _y)))) {
youhit();
setProperty("_root.you", _x , getProperty("_root.you", _x) + 15);
}
}
}
}
Symbol 622 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 9
y = random(2);
Symbol 623 MovieClip Frame 10
if (y == Number(0)) {
if (_root.wall.hittest(_root.enemy1._x, _root.enemy1._y + 15, true) ne "true") {
setProperty("_root.enemy1", _y , getProperty("_root.enemy1", _y) + 15);
if ((getProperty("_root.enemy1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy1", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy1", _y , getProperty("_root.enemy1", _y) - 15);
}
}
} else if (y == Number(1)) {
if (_root.wall.hittest(_root.enemy1._x, _root.enemy1._y - 15, true) ne "true") {
setProperty("_root.enemy1", _y , getProperty("_root.enemy1", _y) - 15);
if ((getProperty("_root.enemy1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy1", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy1", _y , getProperty("_root.enemy1", _y) + 15);
}
}
}
Symbol 623 MovieClip Frame 19
x = random(2);
Symbol 623 MovieClip Frame 20
if (x == Number(0)) {
if (_root.wall.hittest(_root.enemy1._x + 15, _root.enemy1._y, true) ne "true") {
setProperty("_root.enemy1", _x , getProperty("_root.enemy1", _x) + 15);
if (getProperty("_root.enemy1", _x) == 262.5) {
setProperty("_root.enemy1", _x , getProperty("_root.enemy1", _x) - 15);
}
if ((getProperty("_root.enemy1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy1", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy1", _x , getProperty("_root.enemy1", _x) - 15);
}
}
} else if (x == Number(1)) {
if (_root.wall.hittest(_root.enemy1._x - 15, _root.enemy1._y, true) ne "true") {
setProperty("_root.enemy1", _x , getProperty("_root.enemy1", _x) - 15);
if (getProperty("_root.enemy1", _x) == -7.5) {
setProperty("_root.enemy1", _x , getProperty("_root.enemy1", _x) + 15);
}
if ((getProperty("_root.enemy1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy1", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy1", _x , getProperty("_root.enemy1", _x) + 15);
}
}
}
gotoAndPlay (1);
Symbol 623 MovieClip Frame 21
Set("/:enemy1room24killed", 1);
Set("/:showenemy1room24", 0);
Symbol 623 MovieClip Frame 35
if ((((((/:enemy1room24killed == 1) and (/:enemy2room24killed == 1)) and (/:enemy3room24killed == 1)) and (/:enemy4room24killed == 1)) and (/:enemy5room24killed == 1)) and (/:enemy6room24killed == 1)) {
setProperty("_root.wall.block", _x , -1000);
}
Symbol 623 MovieClip Frame 36
setProperty("_root.c1", _x , getProperty("/enemy1", _x));
setProperty("_root.c1", _y , getProperty("/enemy1", _y));
setProperty("_root.enemy1", _x , -100);
stop();
Symbol 624 MovieClip Frame 9
y = random(2);
Symbol 624 MovieClip Frame 10
if (y == Number(0)) {
if (_root.wall.hittest(_root.enemy2._x, _root.enemy2._y + 15, true) ne "true") {
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) + 15);
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) - 15);
}
}
} else if (y == Number(1)) {
if (_root.wall.hittest(_root.enemy2._x, _root.enemy2._y - 15, true) ne "true") {
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) - 15);
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy2", _y , getProperty("_root.enemy2", _y) + 15);
}
}
}
Symbol 624 MovieClip Frame 19
x = random(2);
Symbol 624 MovieClip Frame 20
if (x == Number(0)) {
if (_root.wall.hittest(_root.enemy2._x + 15, _root.enemy2._y, true) ne "true") {
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) + 15);
if (getProperty("_root.enemy2", _x) == 262.5) {
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) - 15);
}
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) - 15);
}
}
} else if (x == Number(1)) {
if (_root.wall.hittest(_root.enemy2._x - 15, _root.enemy2._y, true) ne "true") {
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) - 15);
if (getProperty("_root.enemy2", _x) == -7.5) {
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) + 15);
}
if ((getProperty("_root.enemy2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy2", _x , getProperty("_root.enemy2", _x) + 15);
}
}
}
gotoAndPlay (1);
Symbol 624 MovieClip Frame 21
Set("/:enemy2room24killed", 1);
Set("/:showenemy2room24", 0);
Symbol 624 MovieClip Frame 35
if ((((((/:enemy1room24killed == 1) and (/:enemy2room24killed == 1)) and (/:enemy3room24killed == 1)) and (/:enemy4room24killed == 1)) and (/:enemy5room24killed == 1)) and (/:enemy6room24killed == 1)) {
setProperty("_root.wall.block", _x , -1000);
}
Symbol 624 MovieClip Frame 36
setProperty("_root.c2", _x , getProperty("/enemy2", _x));
setProperty("_root.c2", _y , getProperty("/enemy2", _y));
setProperty("_root.enemy2", _x , -100);
stop();
Symbol 625 MovieClip Frame 9
y = random(2);
Symbol 625 MovieClip Frame 10
if (y == Number(0)) {
if (_root.wall.hittest(_root.enemy3._x, _root.enemy3._y + 15, true) ne "true") {
setProperty("_root.enemy3", _y , getProperty("_root.enemy3", _y) + 15);
if ((getProperty("_root.enemy3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy3", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy3", _y , getProperty("_root.enemy3", _y) - 15);
}
}
} else if (y == Number(1)) {
if (_root.wall.hittest(_root.enemy3._x, _root.enemy3._y - 15, true) ne "true") {
setProperty("_root.enemy3", _y , getProperty("_root.enemy3", _y) - 15);
if ((getProperty("_root.enemy3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy3", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy3", _y , getProperty("_root.enemy3", _y) + 15);
}
}
}
Symbol 625 MovieClip Frame 19
x = random(2);
Symbol 625 MovieClip Frame 20
if (x == Number(0)) {
if (_root.wall.hittest(_root.enemy3._x + 15, _root.enemy3._y, true) ne "true") {
setProperty("_root.enemy3", _x , getProperty("_root.enemy3", _x) + 15);
if (getProperty("_root.enemy3", _x) == 262.5) {
setProperty("_root.enemy3", _x , getProperty("_root.enemy3", _x) - 15);
}
if ((getProperty("_root.enemy3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy3", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy3", _x , getProperty("_root.enemy3", _x) - 15);
}
}
} else if (x == Number(1)) {
if (_root.wall.hittest(_root.enemy3._x - 15, _root.enemy3._y, true) ne "true") {
setProperty("_root.enemy3", _x , getProperty("_root.enemy3", _x) - 15);
if (getProperty("_root.enemy3", _x) == -7.5) {
setProperty("_root.enemy3", _x , getProperty("_root.enemy3", _x) + 15);
}
if ((getProperty("_root.enemy3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy3", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy3", _x , getProperty("_root.enemy3", _x) + 15);
}
}
}
gotoAndPlay (1);
Symbol 625 MovieClip Frame 21
Set("/:enemy3room24killed", 1);
Set("/:showenemy3room24", 0);
Symbol 625 MovieClip Frame 35
if ((((((/:enemy1room24killed == 1) and (/:enemy2room24killed == 1)) and (/:enemy3room24killed == 1)) and (/:enemy4room24killed == 1)) and (/:enemy5room24killed == 1)) and (/:enemy6room24killed == 1)) {
setProperty("_root.wall.block", _x , -1000);
}
Symbol 625 MovieClip Frame 36
setProperty("_root.c3", _x , getProperty("/enemy3", _x));
setProperty("_root.c3", _y , getProperty("/enemy3", _y));
setProperty("_root.enemy3", _x , -100);
stop();
Symbol 626 MovieClip Frame 9
y = random(2);
Symbol 626 MovieClip Frame 10
if (y == Number(0)) {
if (_root.wall.hittest(_root.enemy4._x, _root.enemy4._y + 15, true) ne "true") {
setProperty("_root.enemy4", _y , getProperty("_root.enemy4", _y) + 15);
if ((getProperty("_root.enemy4", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy4", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy4", _y , getProperty("_root.enemy4", _y) - 15);
}
}
} else if (y == Number(1)) {
if (_root.wall.hittest(_root.enemy4._x, _root.enemy4._y - 15, true) ne "true") {
setProperty("_root.enemy4", _y , getProperty("_root.enemy4", _y) - 15);
if ((getProperty("_root.enemy4", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy4", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy4", _y , getProperty("_root.enemy4", _y) + 15);
}
}
}
Symbol 626 MovieClip Frame 19
x = random(2);
Symbol 626 MovieClip Frame 20
if (x == Number(0)) {
if (_root.wall.hittest(_root.enemy4._x + 15, _root.enemy4._y, true) ne "true") {
setProperty("_root.enemy4", _x , getProperty("_root.enemy4", _x) + 15);
if (getProperty("_root.enemy4", _x) == 262.5) {
setProperty("_root.enemy4", _x , getProperty("_root.enemy4", _x) - 15);
}
if ((getProperty("_root.enemy4", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy4", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy4", _x , getProperty("_root.enemy4", _x) - 15);
}
}
} else if (x == Number(1)) {
if (_root.wall.hittest(_root.enemy4._x - 15, _root.enemy4._y, true) ne "true") {
setProperty("_root.enemy4", _x , getProperty("_root.enemy4", _x) - 15);
if (getProperty("_root.enemy4", _x) == -7.5) {
setProperty("_root.enemy4", _x , getProperty("_root.enemy4", _x) + 15);
}
if ((getProperty("_root.enemy4", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy4", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy4", _x , getProperty("_root.enemy4", _x) + 15);
}
}
}
gotoAndPlay (1);
Symbol 626 MovieClip Frame 21
Set("/:enemy4room24killed", 1);
Set("/:showenemy4room24", 0);
Symbol 626 MovieClip Frame 35
if ((((((/:enemy1room24killed == 1) and (/:enemy2room24killed == 1)) and (/:enemy3room24killed == 1)) and (/:enemy4room24killed == 1)) and (/:enemy5room24killed == 1)) and (/:enemy6room24killed == 1)) {
setProperty("_root.wall.block", _x , -1000);
}
Symbol 626 MovieClip Frame 36
setProperty("_root.c4", _x , getProperty("/enemy4", _x));
setProperty("_root.c4", _y , getProperty("/enemy4", _y));
setProperty("_root.enemy4", _x , -100);
stop();
Symbol 627 MovieClip Frame 9
y = random(2);
Symbol 627 MovieClip Frame 10
if (y == Number(0)) {
if (_root.wall.hittest(_root.enemy5._x, _root.enemy5._y + 15, true) ne "true") {
setProperty("_root.enemy5", _y , getProperty("_root.enemy5", _y) + 15);
if ((getProperty("_root.enemy5", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy5", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy5", _y , getProperty("_root.enemy5", _y) - 15);
}
}
} else if (y == Number(1)) {
if (_root.wall.hittest(_root.enemy5._x, _root.enemy5._y - 15, true) ne "true") {
setProperty("_root.enemy5", _y , getProperty("_root.enemy5", _y) - 15);
if ((getProperty("_root.enemy5", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy5", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy5", _y , getProperty("_root.enemy5", _y) + 15);
}
}
}
Symbol 627 MovieClip Frame 19
x = random(2);
Symbol 627 MovieClip Frame 20
if (x == Number(0)) {
if (_root.wall.hittest(_root.enemy5._x + 15, _root.enemy5._y, true) ne "true") {
setProperty("_root.enemy5", _x , getProperty("_root.enemy5", _x) + 15);
if (getProperty("_root.enemy5", _x) == 262.5) {
setProperty("_root.enemy5", _x , getProperty("_root.enemy5", _x) - 15);
}
if ((getProperty("_root.enemy5", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy5", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy5", _x , getProperty("_root.enemy5", _x) - 15);
}
}
} else if (x == Number(1)) {
if (_root.wall.hittest(_root.enemy5._x - 15, _root.enemy5._y, true) ne "true") {
setProperty("_root.enemy5", _x , getProperty("_root.enemy5", _x) - 15);
if (getProperty("_root.enemy5", _x) == -7.5) {
setProperty("_root.enemy5", _x , getProperty("_root.enemy5", _x) + 15);
}
if ((getProperty("_root.enemy5", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy5", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy5", _x , getProperty("_root.enemy5", _x) + 15);
}
}
}
gotoAndPlay (1);
Symbol 627 MovieClip Frame 21
Set("/:enemy5room24killed", 1);
Set("/:showenemy5room24", 0);
Symbol 627 MovieClip Frame 35
if ((((((/:enemy1room24killed == 1) and (/:enemy2room24killed == 1)) and (/:enemy3room24killed == 1)) and (/:enemy4room24killed == 1)) and (/:enemy5room24killed == 1)) and (/:enemy6room24killed == 1)) {
setProperty("_root.wall.block", _x , -1000);
}
Symbol 627 MovieClip Frame 36
setProperty("_root.c5", _x , getProperty("/enemy5", _x));
setProperty("_root.c5", _y , getProperty("/enemy5", _y));
setProperty("_root.enemy5", _x , -100);
stop();
Symbol 628 MovieClip Frame 9
y = random(2);
Symbol 628 MovieClip Frame 10
if (y == Number(0)) {
if (_root.wall.hittest(_root.enemy6._x, _root.enemy6._y + 15, true) ne "true") {
setProperty("_root.enemy6", _y , getProperty("_root.enemy6", _y) + 15);
if ((getProperty("_root.enemy6", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy6", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy6", _y , getProperty("_root.enemy6", _y) - 15);
}
}
} else if (y == Number(1)) {
if (_root.wall.hittest(_root.enemy6._x, _root.enemy6._y - 15, true) ne "true") {
setProperty("_root.enemy6", _y , getProperty("_root.enemy6", _y) - 15);
if ((getProperty("_root.enemy6", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy6", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy6", _y , getProperty("_root.enemy6", _y) + 15);
}
}
}
Symbol 628 MovieClip Frame 19
x = random(2);
Symbol 628 MovieClip Frame 20
if (x == Number(0)) {
if (_root.wall.hittest(_root.enemy6._x + 15, _root.enemy6._y, true) ne "true") {
setProperty("_root.enemy6", _x , getProperty("_root.enemy6", _x) + 15);
if (getProperty("_root.enemy6", _x) == 262.5) {
setProperty("_root.enemy6", _x , getProperty("_root.enemy6", _x) - 15);
}
if ((getProperty("_root.enemy6", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy6", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy6", _x , getProperty("_root.enemy6", _x) - 15);
}
}
} else if (x == Number(1)) {
if (_root.wall.hittest(_root.enemy6._x - 15, _root.enemy6._y, true) ne "true") {
setProperty("_root.enemy6", _x , getProperty("_root.enemy6", _x) - 15);
if (getProperty("_root.enemy6", _x) == -7.5) {
setProperty("_root.enemy6", _x , getProperty("_root.enemy6", _x) + 15);
}
if ((getProperty("_root.enemy6", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy6", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy6", _x , getProperty("_root.enemy6", _x) + 15);
}
}
}
gotoAndPlay (1);
Symbol 628 MovieClip Frame 21
Set("/:enemy6room24killed", 1);
Set("/:showenemy6room24", 0);
Symbol 628 MovieClip Frame 35
if ((((((/:enemy1room24killed == 1) and (/:enemy2room24killed == 1)) and (/:enemy3room24killed == 1)) and (/:enemy4room24killed == 1)) and (/:enemy5room24killed == 1)) and (/:enemy6room24killed == 1)) {
setProperty("_root.wall.block", _x , -1000);
}
Symbol 628 MovieClip Frame 36
setProperty("_root.c6", _x , getProperty("/enemy6", _x));
setProperty("_root.c6", _y , getProperty("/enemy6", _y));
setProperty("_root.enemy6", _x , -100);
stop();
Symbol 629 Button
on (keyPress "<Up>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/message3", _currentframe) == 1)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == getProperty("/remote", _x)) and (getProperty("/you", _y) == getProperty("/remote", _y))) {
remotebomb = 1;
setProperty("remote", _x , -1000);
tellTarget ("/message3") {
gotoAndStop (2);
};
}
if ((getProperty("/you", _x) == 127.5) and (getProperty("/you", _y) == -7.5)) {
a = "2";
gotoAndStop (212);
}
}
}
}
on (keyPress "<Right>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/message3", _currentframe) == 1)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == getProperty("/remote", _x)) and (getProperty("/you", _y) == getProperty("/remote", _y))) {
remotebomb = 1;
setProperty("remote", _x , -1000);
tellTarget ("/message3") {
gotoAndStop (2);
};
}
}
}
}
on (keyPress "<Down>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/message3", _currentframe) == 1)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == getProperty("/remote", _x)) and (getProperty("/you", _y) == getProperty("/remote", _y))) {
remotebomb = 1;
setProperty("remote", _x , -1000);
tellTarget ("/message3") {
gotoAndStop (2);
};
}
}
}
}
on (keyPress "<Left>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("/message3", _currentframe) == 1)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == getProperty("/remote", _x)) and (getProperty("/you", _y) == getProperty("/remote", _y))) {
remotebomb = 1;
setProperty("remote", _x , -1000);
tellTarget ("/message3") {
gotoAndStop (2);
};
}
}
}
}
Symbol 630 Button
on (keyPress "z") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("/message3", _currentframe) == 1)) {
usebomb();
}
}
Symbol 631 Button
on (keyPress "m") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) and (getProperty("_root.message3", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 635 MovieClip Frame 1
stop();
Symbol 636 Button
on (keyPress "<Space>") {
tellTarget ("_root.message3") {
gotoAndStop (1);
};
}
Symbol 638 MovieClip Frame 1
stop();
Symbol 641 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if (b1.hitTest(you._x, you._y, true) eq "true") {
if (puzzleroom26 == 0) {
setProperty("/b1", _y , getProperty("/b1", _y) - 15);
if (wall.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _y , getProperty("/b1", _y) + 15);
setProperty("/you", _y , getProperty("/b1", _y) + 15);
}
} else if (puzzleroom26 == 1) {
setProperty("/you", _y , getProperty("/you", _y) + 15);
}
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if (b1.hitTest(you._x, you._y, true) eq "true") {
if (puzzleroom26 == 0) {
setProperty("/b1", _x , getProperty("/b1", _x) + 15);
if (wall.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _x , getProperty("/b1", _x) - 15);
setProperty("/you", _x , getProperty("/b1", _x) - 15);
}
} else if (puzzleroom26 == 1) {
setProperty("/you", _x , getProperty("/you", _x) - 15);
}
}
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 127.5)) {
a = "2";
gotoAndStop (215);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if (b1.hitTest(you._x, you._y, true) eq "true") {
if (puzzleroom26 == 0) {
setProperty("/b1", _y , getProperty("/b1", _y) + 15);
if (wall.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _y , getProperty("/b1", _y) - 15);
setProperty("/you", _y , getProperty("/b1", _y) - 15);
}
if ((getProperty("_root.b1", _x) == 217.5) and (getProperty("_root.b1", _y) == 217.5)) {
setProperty("_root.wall.block", _y , -1000);
puzzleroom26 = 1;
}
} else if (puzzleroom26 == 1) {
setProperty("/you", _y , getProperty("/you", _y) - 15);
}
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 127.5)) {
a = "1";
showflower1room23 = 1;
showflower2room23 = 1;
showflower3room23 = 1;
gotoAndStop (218);
}
if (spike.hitTest(you._x, you._y, true) eq "true") {
youhit();
}
if (b1.hitTest(you._x, you._y, true) eq "true") {
if (puzzleroom26 == 0) {
setProperty("/b1", _x , getProperty("/b1", _x) - 15);
if (wall.hitTest(b1._x, b1._y, true) eq "true") {
setProperty("/b1", _x , getProperty("/b1", _x) + 15);
setProperty("/you", _x , getProperty("/b1", _x) + 15);
}
} else if (puzzleroom26 == 1) {
setProperty("/you", _x , getProperty("/you", _x) + 15);
}
}
}
}
}
Symbol 642 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 644 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 1
stop();
x = getProperty("_root.you", _x);
y = getProperty("_root.you", _y);
Symbol 647 MovieClip Frame 3
if (getProperty("_root.shootingstar1", _y) < y) {
if (_root.wall.hittest(_root.shootingstar1._x, _root.shootingstar1._y + 15, true) ne "true") {
setProperty("_root.shootingstar1", _y , getProperty("_root.shootingstar1", _y) + 15);
} else {
gotoAndPlay (6);
}
} else if (getProperty("_root.shootingstar1", _y) > y) {
if (_root.wall.hittest(_root.shootingstar1._x, _root.shootingstar1._y - 15, true) ne "true") {
setProperty("_root.shootingstar1", _y , getProperty("_root.shootingstar1", _y) - 15);
} else {
gotoAndPlay (6);
}
}
if (getProperty("_root.shootingstar1", _x) < x) {
if (_root.wall.hittest(_root.shootingstar1._x + 15, _root.shootingstar1._y, true) ne "true") {
setProperty("_root.shootingstar1", _x , getProperty("_root.shootingstar1", _x) + 15);
} else {
gotoAndPlay (6);
}
} else if (getProperty("_root.shootingstar1", _x) > x) {
if (_root.wall.hittest(_root.shootingstar1._x - 15, _root.shootingstar1._y, true) ne "true") {
setProperty("_root.shootingstar1", _x , getProperty("_root.shootingstar1", _x) - 15);
} else {
gotoAndPlay (6);
}
}
if ((getProperty("_root.shootingstar1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.shootingstar1", _y) == getProperty("_root.you", _y))) {
/:youhit();
gotoAndPlay (16);
}
Symbol 647 MovieClip Frame 4
if ((getProperty("_root.shootingstar1", _x) == x) and (getProperty("_root.shootingstar1", _y) == y)) {
gotoAndPlay (6);
} else {
gotoAndPlay (2);
}
Symbol 647 MovieClip Frame 16
setProperty("_root.shootingstar1", _x , -1000);
gotoAndStop (1);
Symbol 648 MovieClip Frame 1
stop();
x = getProperty("_root.you", _x);
y = getProperty("_root.you", _y);
Symbol 648 MovieClip Frame 3
if (getProperty("_root.shootingstar2", _y) < y) {
if (_root.wall.hittest(_root.shootingstar2._x, _root.shootingstar2._y + 15, true) ne "true") {
setProperty("_root.shootingstar2", _y , getProperty("_root.shootingstar2", _y) + 15);
} else {
gotoAndPlay (6);
}
} else if (getProperty("_root.shootingstar2", _y) > y) {
if (_root.wall.hittest(_root.shootingstar2._x, _root.shootingstar2._y - 15, true) ne "true") {
setProperty("_root.shootingstar2", _y , getProperty("_root.shootingstar2", _y) - 15);
} else {
gotoAndPlay (6);
}
}
if (getProperty("_root.shootingstar2", _x) < x) {
if (_root.wall.hittest(_root.shootingstar2._x + 15, _root.shootingstar2._y, true) ne "true") {
setProperty("_root.shootingstar2", _x , getProperty("_root.shootingstar2", _x) + 15);
} else {
gotoAndPlay (6);
}
} else if (getProperty("_root.shootingstar2", _x) > x) {
if (_root.wall.hittest(_root.shootingstar2._x - 15, _root.shootingstar2._y, true) ne "true") {
setProperty("_root.shootingstar2", _x , getProperty("_root.shootingstar2", _x) - 15);
} else {
gotoAndPlay (6);
}
}
if ((getProperty("_root.shootingstar2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.shootingstar2", _y) == getProperty("_root.you", _y))) {
/:youhit();
gotoAndPlay (16);
}
Symbol 648 MovieClip Frame 4
if ((getProperty("_root.shootingstar2", _x) == x) and (getProperty("_root.shootingstar2", _y) == y)) {
gotoAndPlay (6);
} else {
gotoAndPlay (2);
}
Symbol 648 MovieClip Frame 16
setProperty("_root.shootingstar2", _x , -1000);
gotoAndStop (1);
Symbol 649 MovieClip Frame 1
stop();
x = getProperty("_root.you", _x);
y = getProperty("_root.you", _y);
Symbol 649 MovieClip Frame 3
if (getProperty("_root.shootingstar3", _y) < y) {
if (_root.wall.hittest(_root.shootingstar3._x, _root.shootingstar3._y + 15, true) ne "true") {
setProperty("_root.shootingstar3", _y , getProperty("_root.shootingstar3", _y) + 15);
} else {
gotoAndPlay (6);
}
} else if (getProperty("_root.shootingstar3", _y) > y) {
if (_root.wall.hittest(_root.shootingstar3._x, _root.shootingstar3._y - 15, true) ne "true") {
setProperty("_root.shootingstar3", _y , getProperty("_root.shootingstar3", _y) - 15);
} else {
gotoAndPlay (6);
}
}
if (getProperty("_root.shootingstar3", _x) < x) {
if (_root.wall.hittest(_root.shootingstar3._x + 15, _root.shootingstar3._y, true) ne "true") {
setProperty("_root.shootingstar3", _x , getProperty("_root.shootingstar3", _x) + 15);
} else {
gotoAndPlay (6);
}
} else if (getProperty("_root.shootingstar3", _x) > x) {
if (_root.wall.hittest(_root.shootingstar3._x - 15, _root.shootingstar3._y, true) ne "true") {
setProperty("_root.shootingstar3", _x , getProperty("_root.shootingstar3", _x) - 15);
} else {
gotoAndPlay (6);
}
}
if ((getProperty("_root.shootingstar3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.shootingstar3", _y) == getProperty("_root.you", _y))) {
/:youhit();
gotoAndPlay (16);
}
Symbol 649 MovieClip Frame 4
if ((getProperty("_root.shootingstar3", _x) == x) and (getProperty("_root.shootingstar3", _y) == y)) {
gotoAndPlay (6);
} else {
gotoAndPlay (2);
}
Symbol 649 MovieClip Frame 16
setProperty("_root.shootingstar3", _x , -1000);
gotoAndStop (1);
Symbol 655 MovieClip Frame 1
direction = 1;
Symbol 655 MovieClip Frame 4
if (_root.wall.hittest(_root.star._x, _root.star._y - 30, true) ne "true") {
setProperty("_root.star", _y , getProperty("_root.star", _y) - 15);
setProperty("_root.startimer", _x , getProperty("_root.star", _x));
setProperty("_root.startimer", _y , getProperty("_root.star", _y) + 30);
if ((((getProperty("_root.star", _x) == getProperty("_root.you", _x)) and (getProperty("_root.star", _y) == (getProperty("_root.you", _y) + 15))) or (((getProperty("_root.star", _x) + 15) == getProperty("_root.you", _x)) and (getProperty("_root.star", _y) == (getProperty("_root.you", _y) + 15)))) or (((getProperty("_root.star", _x) - 15) == getProperty("_root.you", _x)) and (getProperty("_root.star", _y) == (getProperty("_root.you", _y) + 15)))) {
/:youhit();
setProperty("_root.star", _y , getProperty("_root.star", _y) + 15);
}
gotoAndPlay (1);
} else if (_root.wall.hittest(_root.star._x, _root.star._y - 30, true) eq "true") {
gotoAndPlay (5);
}
Symbol 655 MovieClip Frame 5
direction = 2;
Symbol 655 MovieClip Frame 8
if (_root.wall.hittest(_root.star._x, _root.star._y + 30, true) ne "true") {
setProperty("_root.star", _y , getProperty("_root.star", _y) + 15);
setProperty("_root.startimer", _x , getProperty("_root.star", _x));
setProperty("_root.startimer", _y , getProperty("_root.star", _y) + 30);
if ((((getProperty("_root.star", _x) == getProperty("_root.you", _x)) and (getProperty("_root.star", _y) == (getProperty("_root.you", _y) - 15))) or (((getProperty("_root.star", _x) - 15) == getProperty("_root.you", _x)) and (getProperty("_root.star", _y) == (getProperty("_root.you", _y) - 15)))) or (((getProperty("_root.star", _x) + 15) == getProperty("_root.you", _x)) and (getProperty("_root.star", _y) == (getProperty("_root.you", _y) - 15)))) {
/:youhit();
setProperty("_root.star", _y , getProperty("_root.star", _y) - 15);
}
gotoAndPlay (5);
} else if (_root.wall.hittest(_root.star._x - 30, _root.star._y, true) eq "true") {
gotoAndPlay (1);
} else {
gotoAndPlay (1);
}
Symbol 655 MovieClip Frame 16
if (getProperty("_root.star", _x) == 52.5) {
setProperty("_root.star", _x , 202.5);
setProperty("_root.startimer", _x , getProperty("_root.star", _x));
setProperty("_root.startimer", _y , getProperty("_root.star", _y) + 30);
} else if (getProperty("_root.star", _x) == 202.5) {
setProperty("_root.star", _x , 52.5);
setProperty("_root.startimer", _x , getProperty("_root.star", _x));
setProperty("_root.startimer", _y , getProperty("_root.star", _y) + 30);
}
Symbol 655 MovieClip Frame 24
if (direction == 1) {
gotoAndPlay (1);
} else if (direction == 2) {
gotoAndPlay (5);
}
Symbol 655 MovieClip Frame 28
if (direction == 1) {
gotoAndPlay (1);
} else if (direction == 2) {
gotoAndPlay (5);
}
Symbol 655 MovieClip Frame 175
tellTarget ("_root.flash") {
gotoAndPlay (2);
};
Symbol 655 MovieClip Frame 178
Set("/:endtime", /:time);
trace(/:endtime);
Set("/:starkilled", 1);
tellTarget ("_root.blackness") {
gotoAndPlay (2);
};
setProperty("_root.star", _x , -1000);
setProperty("_root.star", _y , -10000);
setProperty("_root.wall.block1", _x , -1000);
setProperty("_root.wall.block2", _x , -1000);
stop();
Symbol 656 MovieClip Frame 1
stop();
Symbol 656 MovieClip Frame 41
gotoAndPlay (1);
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 2
if (/:remotebomb == 1) {
tellTarget ("remotebomb") {
gotoAndStop (2);
};
}
Symbol 663 MovieClip Frame 65
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) + 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) - 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.followstar", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.followstar", _y))) {
/:starhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.followstar", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.followstar", _y) + 15))) {
/:starhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.followstar", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.followstar", _y) - 15))) {
/:starhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.followstar", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.followstar", _y))) {
/:starhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.followstar", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.followstar", _y))) {
/:starhit();
}
Symbol 663 MovieClip Frame 66
setProperty("/bomb", _x , -100);
gotoAndStop (1);
Symbol 665 MovieClip Frame 9
if ((getProperty("_root.shootingstar2", _currentframe) == 1) and (getProperty("_root.star", _currentframe) < 25)) {
setProperty("_root.shootingstar2", _x , getProperty("_root.star", _x));
setProperty("_root.shootingstar2", _y , getProperty("_root.star", _y));
tellTarget ("_root.shootingstar2") {
gotoAndPlay (2);
};
}
Symbol 667 MovieClip Frame 4
if (getProperty("_root.followstar", _y) < getProperty("_root.you", _y)) {
if (_root.wall.hittest(_root.followstar._x, _root.followstar._y + 15, true) ne "true") {
setProperty("_root.followstar", _y , getProperty("_root.followstar", _y) + 15);
if ((getProperty("_root.followstar", _x) == getProperty("_root.you", _x)) and (getProperty("_root.followstar", _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
/:youhit();
}
setProperty("_root.followstar", _y , getProperty("_root.followstar", _y) - 15);
}
}
} else if (getProperty("_root.followstar", _y) > getProperty("_root.you", _y)) {
if (_root.wall.hittest(_root.followstar._x, _root.followstar._y - 15, true) ne "true") {
setProperty("_root.followstar", _y , getProperty("_root.followstar", _y) - 15);
if ((getProperty("_root.followstar", _x) == getProperty("_root.you", _x)) and (getProperty("_root.followstar", _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
/:youhit();
}
setProperty("_root.followstar", _y , getProperty("_root.followstar", _y) + 15);
}
}
}
Symbol 667 MovieClip Frame 8
if (getProperty("_root.followstar", _x) < getProperty("_root.you", _x)) {
if (_root.wall.hittest(_root.followstar._x + 15, _root.followstar._y, true) ne "true") {
setProperty("_root.followstar", _x , getProperty("_root.followstar", _x) + 15);
if ((getProperty("_root.followstar", _x) == getProperty("_root.you", _x)) and (getProperty("_root.followstar", _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
/:youhit();
}
setProperty("_root.followstar", _x , getProperty("_root.followstar", _x) - 15);
}
}
} else if (getProperty("_root.followstar", _x) > getProperty("_root.you", _x)) {
if (_root.wall.hittest(_root.followstar._x - 15, _root.followstar._y, true) ne "true") {
setProperty("_root.followstar", _x , getProperty("_root.followstar", _x) - 15);
if ((getProperty("_root.followstar", _x) == getProperty("_root.you", _x)) and (getProperty("_root.followstar", _y) == getProperty("_root.you", _y))) {
if (getProperty("_root.you", _currentframe) < 5) {
/:youhit();
}
setProperty("_root.followstar", _x , getProperty("_root.followstar", _x) + 15);
}
}
}
Symbol 667 MovieClip Frame 9
gotoAndPlay (1);
Symbol 667 MovieClip Frame 26
setProperty("_root.followstar", _x , getProperty("_root.star", _x));
setProperty("_root.followstar", _y , getProperty("_root.star", _y));
gotoAndPlay (1);
Symbol 668 Button
on (keyPress "<Up>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.star", _currentframe) < 25)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
redcoinspickup();
if (((((getProperty("_root.you", _x) == getProperty("_root.shootingstar1", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar1", _y))) or ((getProperty("_root.you", _x) == getProperty("_root.shootingstar2", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar2", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.shootingstar3", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar3", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.followstar", _x)) and (getProperty("_root.you", _y) == getProperty("_root.followstar", _y)))) {
setProperty("you", _y , getProperty(you, _y) + 15);
youhit();
}
}
}
}
on (keyPress "<Right>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.star", _currentframe) < 25)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
redcoinspickup();
if ((getProperty("/you", _x) == 262.5) and (getProperty("/you", _y) == 127.5)) {
a = "2";
gotoAndStop (217);
}
if (((((getProperty("_root.you", _x) == getProperty("_root.shootingstar1", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar1", _y))) or ((getProperty("_root.you", _x) == getProperty("_root.shootingstar2", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar2", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.shootingstar3", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar3", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.followstar", _x)) and (getProperty("_root.you", _y) == getProperty("_root.followstar", _y)))) {
setProperty("you", _x , getProperty(you, _x) - 15);
youhit();
}
if (((getProperty("_root.you", _x) == 172.5) and (getProperty("_root.star", _x) != 52.5)) and (strakilled == 0)) {
tellTarget ("_root.star") {
gotoAndPlay (9);
};
}
}
}
}
on (keyPress "<Down>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.star", _currentframe) < 25)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
redcoinspickup();
if (((((getProperty("_root.you", _x) == getProperty("_root.shootingstar1", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar1", _y))) or ((getProperty("_root.you", _x) == getProperty("_root.shootingstar2", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar2", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.shootingstar3", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar3", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.followstar", _x)) and (getProperty("_root.you", _y) == getProperty("_root.followstar", _y)))) {
setProperty("you", _y , getProperty(you, _y) - 15);
youhit();
}
}
}
}
on (keyPress "<Left>") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.star", _currentframe) < 25)) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
redcoinspickup();
if ((getProperty("/you", _x) == -7.5) and (getProperty("/you", _y) == 127.5)) {
a = "1";
gotoAndStop (218);
}
if (((((getProperty("_root.you", _x) == getProperty("_root.shootingstar1", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar1", _y))) or ((getProperty("_root.you", _x) == getProperty("_root.shootingstar2", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar2", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.shootingstar3", _x)) and (getProperty("_root.you", _y) == getProperty("_root.shootingstar3", _y)))) or ((getProperty("_root.you", _x) == getProperty("_root.followstar", _x)) and (getProperty("_root.you", _y) == getProperty("_root.followstar", _y)))) {
setProperty("you", _x , getProperty(you, _x) + 15);
youhit();
}
if (((getProperty("_root.you", _x) == 82.5) and (getProperty("_root.star", _x) != 202.5)) and (strakilled == 0)) {
tellTarget ("_root.star") {
gotoAndPlay (9);
};
}
}
}
}
Symbol 669 Button
on (keyPress "m") {
if (((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) and (getProperty("_root.star", _currentframe) < 25)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 670 Button
on (keyPress "z") {
if (getProperty("_root.star", _currentframe) < 25) {
usebomb();
}
}
Symbol 672 MovieClip Frame 1
stop();
Symbol 675 MovieClip Frame 1
stop();
Symbol 675 MovieClip Frame 42
stopAllSounds();
Symbol 675 MovieClip Frame 185
tellTarget ("_root") {
gotoAndPlay ("win");
};
Symbol 677 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if ((getProperty("/you", _x) == getProperty("/redgem", _x)) and (getProperty("/you", _y) == getProperty("/redgem", _y))) {
setProperty("you", _y , getProperty(you, _y) + 15);
}
if ((getProperty("/you", _x) == getProperty("/whitekey", _x)) and (getProperty("/you", _y) == getProperty("/whitekey", _y))) {
whitekey = 1;
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("whitekey");
};
setProperty("whitekey", _y , -1000);
}
if ((getProperty("/you", _x) == 37.5) and (getProperty("/you", _y) == -7.5)) {
a = "2";
gotoAndStop (208);
}
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if ((getProperty("/you", _x) == getProperty("/bluegem", _x)) and (getProperty("/you", _y) == getProperty("/bluegem", _y))) {
setProperty("you", _x , getProperty(you, _x) - 15);
}
if ((getProperty("/you", _x) == getProperty("/whitekey", _x)) and (getProperty("/you", _y) == getProperty("/whitekey", _y))) {
whitekey = 1;
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("whitekey");
};
setProperty("whitekey", _y , -1000);
}
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if ((getProperty("/you", _x) == getProperty("/greengem", _x)) and (getProperty("/you", _y) == getProperty("/greengem", _y))) {
setProperty("you", _y , getProperty(you, _y) - 15);
}
if ((getProperty("/you", _x) == getProperty("/whitekey", _x)) and (getProperty("/you", _y) == getProperty("/whitekey", _y))) {
whitekey = 1;
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("whitekey");
};
setProperty("whitekey", _y , -1000);
}
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if ((getProperty("/you", _x) == 22.5) and (getProperty("/you", _y) == 127.5)) {
setProperty("you", _x , getProperty(you, _x) + 15);
}
if ((getProperty("/you", _x) == getProperty("/whitekey", _x)) and (getProperty("/you", _y) == getProperty("/whitekey", _y))) {
whitekey = 1;
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("whitekey");
};
setProperty("whitekey", _y , -1000);
}
}
}
}
Symbol 678 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 679 Button
on (keyPress "a") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (((getProperty("/you", _x) == getProperty("/greengem", _x)) and ((getProperty("/you", _y) + 15) == getProperty("/greengem", _y))) and (getProperty("/you", _currentframe) == 3)) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("greengemalreadyplaced");
};
}
if ((((getProperty("/you", _x) + 15) == getProperty("/bluegem", _x)) and (getProperty("/you", _y) == getProperty("/bluegem", _y))) and (getProperty("/you", _currentframe) == 2)) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluegemalreadyplaced");
};
}
if (((getProperty("/you", _x) == getProperty("/redgem", _x)) and ((getProperty("/you", _y) - 15) == getProperty("/redgem", _y))) and (getProperty("/you", _currentframe) == 1)) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("redgemalreadyplaced");
};
}
if ((getProperty("/you", _x) == 37.5) and (getProperty("/you", _y) == 127.5)) {
if (getProperty("/you", _currentframe) == 4) {
if (yellowgem == 1) {
if (yellowgemplaced == 0) {
setProperty("_root.yellowgem", _x , 22.5);
setProperty("_root.yellowgem", _y , 127.5);
setProperty("_root.whitekey", _x , 127.5);
setProperty("_root.whitekey", _y , 127.5);
yellowgemplaced = 1;
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("placedyellowgem");
};
} else if (yellowgemplaced == 1) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowgemalreadyplaced");
};
}
} else if (yellowgem == 0) {
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("missinggem");
};
}
}
}
}
}
Symbol 681 MovieClip Frame 1
stop();
Symbol 694 MovieClip Frame 1
stop();
Symbol 694 MovieClip Frame 2
if (/:remotebomb == 1) {
tellTarget ("remotebomb") {
gotoAndStop (2);
};
}
Symbol 694 MovieClip Frame 65
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) + 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.you", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.you", _y) - 15))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.you", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.you", _y))) {
/:youhit();
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.block1", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.block1", _y))) {
setProperty("_root.block1", _x , -100);
setProperty("_root.wall.block1", _x , -1000);
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.block2", _x) + 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.block2", _y))) {
setProperty("_root.block2", _x , -100);
setProperty("_root.wall.block2", _x , -1000);
}
if ((getProperty("_root.bomb", _x) == (getProperty("_root.block3", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.block3", _y))) {
setProperty("_root.block3", _x , -100);
setProperty("_root.wall.block3", _x , -1000);
}
if (((getProperty("_root.bomb", _x) == getProperty("_root.block4", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.block4", _y) - 15))) or ((getProperty("_root.bomb", _x) == (getProperty("_root.block4", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.block4", _y)))) {
setProperty("_root.block4", _x , -100);
setProperty("_root.wall.block4", _x , -1000);
}
if (((getProperty("_root.bomb", _x) == (getProperty("_root.block5", _x) - 15)) and (getProperty("_root.bomb", _y) == getProperty("_root.block5", _y))) or ((getProperty("_root.bomb", _x) == getProperty("_root.block5", _x)) and (getProperty("_root.bomb", _y) == (getProperty("_root.block5", _y) + 15)))) {
setProperty("_root.block5", _x , -100);
setProperty("_root.wall.block5", _x , -1000);
}
if (getProperty("_root.enemy", _currentframe) < 12) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (14);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.enemy", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (14);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.enemy", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (14);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (14);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.enemy", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.enemy", _y))) {
tellTarget ("_root.enemy") {
gotoAndPlay (14);
};
}
}
if (getProperty("_root.flower1", _currentframe) < 12) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower1", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower1", _y))) {
tellTarget ("_root.flower1") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.flower1", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower1", _y))) {
tellTarget ("_root.flower1") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.flower1", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower1", _y))) {
tellTarget ("_root.flower1") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower1", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.flower1", _y))) {
tellTarget ("_root.flower1") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower1", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.flower1", _y))) {
tellTarget ("_root.flower1") {
gotoAndPlay (12);
};
}
}
if (getProperty("_root.flower2", _currentframe) < 12) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower2", _y))) {
tellTarget ("_root.flower2") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.flower2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower2", _y))) {
tellTarget ("_root.flower2") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.flower2", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower2", _y))) {
tellTarget ("_root.flower2") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower2", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.flower2", _y))) {
tellTarget ("_root.flower2") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower2", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.flower2", _y))) {
tellTarget ("_root.flower2") {
gotoAndPlay (12);
};
}
}
if (getProperty("_root.flower3", _currentframe) < 12) {
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower3", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower3", _y))) {
tellTarget ("_root.flower3") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) + 15) == getProperty("_root.flower3", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower3", _y))) {
tellTarget ("_root.flower3") {
gotoAndPlay (12);
};
}
if (((getProperty("_root.bomb", _x) - 15) == getProperty("_root.flower3", _x)) and (getProperty("_root.bomb", _y) == getProperty("_root.flower3", _y))) {
tellTarget ("_root.flower3") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower3", _x)) and ((getProperty("_root.bomb", _y) + 15) == getProperty("_root.flower3", _y))) {
tellTarget ("_root.flower3") {
gotoAndPlay (12);
};
}
if ((getProperty("_root.bomb", _x) == getProperty("_root.flower3", _x)) and ((getProperty("_root.bomb", _y) - 15) == getProperty("_root.flower3", _y))) {
tellTarget ("_root.flower3") {
gotoAndPlay (12);
};
}
}
Symbol 694 MovieClip Frame 66
setProperty("/bomb", _x , -100);
gotoAndStop (1);
Symbol 695 Button
on (keyPress "m") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if (getProperty("_root.menu2", _currentframe) == 1) {
everythingstops();
tellTarget ("_root.menu2") {
gotoAndPlay (2);
};
}
} else if (getProperty("_root.menu2", _currentframe) == 25) {
tellTarget ("_root.menu2") {
gotoAndPlay (26);
};
}
}
Symbol 696 Button
on (keyPress "a") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
if ((getProperty("_root.you", _x) == getProperty("_root.b", _x)) and (getProperty("_root.you", _y) == getProperty("_root.b", _y))) {
setProperty("_root.wall.block6", _x , -1000);
blockroom30 = 1;
}
}
}
Symbol 697 Button
on (keyPress "<Up>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (1);
};
if (wall.hitTest(you._x, you._y - 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) - 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c4.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c5.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c5", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((((flower1.hitTest(you._x, you._y, true) eq "true") or (flower2.hitTest(you._x, you._y, true) eq "true")) or (flower3.hitTest(you._x, you._y, true) eq "true")) or (enemy.hitTest(you._x, you._y, true) eq "true")) {
setProperty("you", _y , getProperty(you, _y) + 15);
youhit();
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
portalsound();
a = "3";
gotoAndStop (211);
}
hitfromturret();
hitfromturret2();
}
}
}
on (keyPress "<Right>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (2);
};
if (wall.hitTest(you._x + 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) + 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c4.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c5.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c5", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((((flower1.hitTest(you._x, you._y, true) eq "true") or (flower2.hitTest(you._x, you._y, true) eq "true")) or (flower3.hitTest(you._x, you._y, true) eq "true")) or (enemy.hitTest(you._x, you._y, true) eq "true")) {
setProperty("you", _x , getProperty(you, _x) - 15);
youhit();
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "4";
gotoAndStop (211);
}
hitfromturret();
hitfromturret2();
}
}
}
on (keyPress "<Down>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (3);
};
if (wall.hitTest(you._x, you._y + 15, true) ne "true") {
setProperty("you", _y , getProperty(you, _y) + 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c4.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c5.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c5", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((((flower1.hitTest(you._x, you._y, true) eq "true") or (flower2.hitTest(you._x, you._y, true) eq "true")) or (flower3.hitTest(you._x, you._y, true) eq "true")) or (enemy.hitTest(you._x, you._y, true) eq "true")) {
setProperty("you", _y , getProperty(you, _y) - 15);
youhit();
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "5";
gotoAndStop (211);
}
hitfromturret();
hitfromturret2();
}
}
}
on (keyPress "<Left>") {
if ((getProperty("/you", _currentframe) < 5) and (getProperty("_root.menu2", _currentframe) == 1)) {
tellTarget ("/you") {
gotoAndStop (4);
};
if (wall.hitTest(you._x - 15, you._y, true) ne "true") {
setProperty("you", _x , getProperty(you, _x) - 15);
if (c1.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c1", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c2.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(5);
setProperty("/c2", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("bluecoin");
};
coinsound();
}
if (c3.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c3", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c4.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c4", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if (c5.hitTest(you._x, you._y, true) eq "true") {
coin = Number(coin) + Number(1);
setProperty("/c5", _x , -100);
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowcoin");
};
coinsound();
}
if ((((flower1.hitTest(you._x, you._y, true) eq "true") or (flower2.hitTest(you._x, you._y, true) eq "true")) or (flower3.hitTest(you._x, you._y, true) eq "true")) or (enemy.hitTest(you._x, you._y, true) eq "true")) {
setProperty("you", _x , getProperty(you, _x) + 15);
youhit();
}
if ((getProperty("_root.you", _x) == getProperty("_root.yellowgem", _x)) and (getProperty("_root.you", _y) == getProperty("_root.yellowgem", _y))) {
setProperty("_root.yellowgem", _x , -1000);
yellowgem = 1;
tellTarget ("_root.sidemenu.message") {
gotoAndPlay ("yellowgem");
};
}
if ((getProperty("/you", _x) == getProperty("/portal", _x)) and (getProperty("/you", _y) == getProperty("/portal", _y))) {
a = "6";
gotoAndStop (211);
}
hitfromturret();
hitfromturret2();
}
}
}
Symbol 699 MovieClip Frame 1
stop();
Symbol 700 MovieClip Frame 6
if (getProperty("_root.enemy", _y) < getProperty("_root.you", _y)) {
if (_root.wall.hittest(_root.enemy._x, _root.enemy._y + 15, true) ne "true") {
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) + 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) - 15);
}
}
} else if (getProperty("_root.enemy", _y) > getProperty("_root.you", _y)) {
if (_root.wall.hittest(_root.enemy._x, _root.enemy._y - 15, true) ne "true") {
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) - 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _y , getProperty("_root.enemy", _y) + 15);
}
}
}
Symbol 700 MovieClip Frame 12
if (getProperty("_root.enemy", _x) < getProperty("_root.you", _x)) {
if (_root.wall.hittest(_root.enemy._x + 15, _root.enemy._y, true) ne "true") {
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) + 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) - 15);
}
}
} else if (getProperty("_root.enemy", _x) > getProperty("_root.you", _x)) {
if (_root.wall.hittest(_root.enemy._x - 15, _root.enemy._y, true) ne "true") {
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) - 15);
if ((getProperty("_root.enemy", _x) == getProperty("_root.you", _x)) and (getProperty("_root.enemy", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.enemy", _x , getProperty("_root.enemy", _x) + 15);
}
}
}
Symbol 700 MovieClip Frame 13
gotoAndPlay (1);
Symbol 700 MovieClip Frame 15
Set("/:showenemy1room30", 0);
Symbol 700 MovieClip Frame 30
x = random(5) + Number(1);
if (((x == Number(2)) or (x == Number(3))) or (x == Number(4))) {
setProperty("_root.c1", _x , getProperty("_root.enemy", _x));
setProperty("_root.c1", _y , getProperty("_root.enemy", _y));
} else if (x == 5) {
setProperty("_root.c2", _x , getProperty("_root.enemy", _x));
setProperty("_root.c2", _y , getProperty("_root.enemy", _y));
}
Symbol 700 MovieClip Frame 31
setProperty("_root.enemy", _x , -100);
stop();
Symbol 701 MovieClip Frame 5
if (_root.wall.hittest(_root.flower1._x + 15, _root.flower1._y, true) ne "true") {
setProperty("_root.flower1", _x , getProperty("_root.flower1", _x) + 15);
if ((getProperty("_root.flower1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower1", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower1", _x , getProperty("_root.flower1", _x) - 15);
}
gotoAndPlay (1);
} else if (_root.wall.hittest(_root.flower1._x + 15, _root.flower1._y, true) eq "true") {
gotoAndPlay (6);
}
Symbol 701 MovieClip Frame 10
if (_root.wall.hittest(_root.flower1._x - 15, _root.flower1._y, true) ne "true") {
setProperty("_root.flower1", _x , getProperty("_root.flower1", _x) - 15);
if ((getProperty("_root.flower1", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower1", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower1", _x , getProperty("_root.flower1", _x) + 15);
}
gotoAndPlay (6);
} else if (_root.wall.hittest(_root.flower1._x - 15, _root.flower1._y, true) eq "true") {
gotoAndPlay (1);
}
Symbol 701 MovieClip Frame 11
gotoAndPlay (1);
Symbol 701 MovieClip Frame 12
Set("/:showflower1room30", 0);
Symbol 701 MovieClip Frame 26
setProperty("_root.c3", _x , getProperty("_root.flower1", _x));
setProperty("_root.c3", _y , getProperty("_root.flower1", _y));
setProperty("_root.flower1", _x , -100);
stop();
Symbol 702 MovieClip Frame 5
if (_root.wall.hittest(_root.flower2._x + 15, _root.flower2._y, true) ne "true") {
setProperty("_root.flower2", _x , getProperty("_root.flower2", _x) + 15);
if ((getProperty("_root.flower2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower2", _x , getProperty("_root.flower2", _x) - 15);
}
gotoAndPlay (1);
} else if (_root.wall.hittest(_root.flower2._x + 15, _root.flower2._y, true) eq "true") {
gotoAndPlay (6);
}
Symbol 702 MovieClip Frame 10
if (_root.wall.hittest(_root.flower2._x - 15, _root.flower2._y, true) ne "true") {
setProperty("_root.flower2", _x , getProperty("_root.flower2", _x) - 15);
if ((getProperty("_root.flower2", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower2", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower2", _x , getProperty("_root.flower2", _x) + 15);
}
gotoAndPlay (6);
} else if (_root.wall.hittest(_root.flower2._x - 15, _root.flower2._y, true) eq "true") {
gotoAndPlay (1);
}
Symbol 702 MovieClip Frame 11
gotoAndPlay (1);
Symbol 702 MovieClip Frame 12
Set("/:showflower2room30", 0);
Symbol 702 MovieClip Frame 26
setProperty("_root.c4", _x , getProperty("_root.flower2", _x));
setProperty("_root.c4", _y , getProperty("_root.flower2", _y));
setProperty("_root.flower2", _x , -100);
stop();
Symbol 703 MovieClip Frame 5
if (_root.wall.hittest(_root.flower3._x, _root.flower3._y - 15, true) ne "true") {
setProperty("_root.flower3", _y , getProperty("_root.flower3", _y) - 15);
if ((getProperty("_root.flower3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower3", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower3", _y , getProperty("_root.flower3", _y) + 15);
}
gotoAndPlay (1);
} else if (_root.wall.hittest(_root.flower3._x, _root.flower3._y - 15, true) eq "true") {
gotoAndPlay (6);
}
Symbol 703 MovieClip Frame 10
if (_root.wall.hittest(_root.flower3._x, _root.flower3._y + 15, true) ne "true") {
setProperty("_root.flower3", _y , getProperty("_root.flower3", _y) + 15);
if ((getProperty("_root.flower3", _x) == getProperty("_root.you", _x)) and (getProperty("_root.flower3", _y) == getProperty("_root.you", _y))) {
/:youhit();
setProperty("_root.flower3", _y , getProperty("_root.flower3", _y) - 15);
}
gotoAndPlay (6);
} else if (_root.wall.hittest(_root.flower3._x - 15, _root.flower3._y, true) eq "true") {
gotoAndPlay (1);
}
Symbol 703 MovieClip Frame 11
gotoAndPlay (1);
Symbol 703 MovieClip Frame 12
Set("/:showflower3room30", 0);
Symbol 703 MovieClip Frame 26
setProperty("_root.c5", _x , getProperty("_root.flower3", _x));
setProperty("_root.c5", _y , getProperty("_root.flower3", _y));
setProperty("_root.flower3", _x , -100);
stop();
Symbol 727 MovieClip Frame 1
stop();
Symbol 731 MovieClip Frame 40
stopAllSounds();
Symbol 731 MovieClip Frame 177
stop();