Frame 1
stopAllSounds();
fscommand ("showmenu", "False");
Stage.showMenu = false;
_root.per = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.kbsec = Math.round(kBytesSec) add " kilobytes p/sec";
_root.bar._xscale = _root.per;
Math.round(per);
mess = "waiting time: ";
_root.rotater._rotation = _root.rotater._rotation + (_root.per / 1.5);
if (_root.per == 100) {
_root.starterbutton._visible = true;
}
if (_root._framesloaded > 5) {
_root.starterbutton._visible = true;
} else {
_root.starterbutton._visible = false;
}
kBytesLoaded = _root.getBytesLoaded() / 1024;
kBytesTotal = _root.getBytesTotal() / 1024;
kBytesRemaining = kBytesTotal - kBytesLoaded;
kBytesSec = kBytesLoaded / (getTimer() / 1000);
timeRemaininga = Math.round(kBytesRemaining / kBytesSec);
if (timeRemaininga < 61) {
_root.timeRemaining = (mess add timeRemaininga) add " second/s";
}
if ((timeRemaininga > 60) && (timeRemaininga < 3601)) {
_root.timeRemaining = (mess add Math.round(timeRemaininga / 60)) add " minute/s";
}
if (timeRemaininga > 3600) {
_root.timeRemaining = (mess add Math.round(timeRemaininga / 3600)) add " hour/s";
}
if (timeRemaininga > 10000) {
_root.timeRemaining = "waiting time too big. dwonload from www.Tcartoon.com";
}
_root.per = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) add "%";
Instance of Symbol 421 MovieClip "movie" in Frame 1
onClipEvent (load) {
stop();
_visible = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.gotoAndPlay(3);
}
}
Frame 2
gotoAndPlay (1);
Frame 3
function actionbuttondown() {
d--;
_root.mainbuttondowna = false;
if (Key.isDown(_root.buttonaction)) {
d = 3;
_root.mainbuttondowna = false;
}
if (d == 2) {
_root.mainbuttondowna = true;
}
}
function playfootstepsound(xvaluea, yvaluea, typeofsound) {
if ((_root.walkingdisabled == false) & (_root.soundoff == false)) {
if (((Key.isDown(_root.buttonleft) | Key.isDown(_root.buttonright)) | Key.isDown(_root.buttondown)) | Key.isDown(_root.buttonup)) {
timer++;
if ((timer == 4) & (_root._currentframe >= 5)) {
if (typeofsound == "concrete") {
_root.squareb.foot.attachSound("concrete");
}
if (typeofsound == "glass") {
_root.squareb.foot.attachSound("footglass");
}
if (typeofsound == "carpet") {
_root.squareb.foot.attachSound("foot");
}
if (typeofsound == "gravel") {
_root.squareb.foot.attachSound("footgr");
}
if (typeofsound == "grass") {
_root.squareb.foot.attachSound("footgrass");
}
_root.squareb.foot.start(0, 0);
_root.squareb.foot.setPan((xvaluea - 300) / 3);
_root.squareb.foot.setVolume(yvaluea / 4);
timer = 0;
}
}
}
}
function playa(url, namea) {
_root.pos = mysound.position;
if (playing != true) {
if (url != null) {
if ((url != "Home theme") & (namea == "a")) {
mysound.loadSound(url, false);
mysound.start(_root.pos / 1000, 1);
mySound.setPan(0);
if (mysound.duration < 100) {
mysound.attachSound("home");
}
}
if ((url != "Forest theme") & (namea == "b")) {
mysound.loadSound(url, false);
mysound.start(_root.pos / 1000, 1);
mySound.setPan(0);
if (mysound.duration < 100) {
mysound.attachSound("forest");
trace("gg");
}
}
if ((url != "Space theme") & (namea == "c")) {
mysound.loadSound(url, false);
mysound.start(_root.pos / 1000, 1);
mySound.setPan(0);
if (mysound.duration < 100) {
mysound.attachSound("space");
}
}
if ((url != "City theme") & (namea == "d")) {
mysound.loadSound(url, false);
mysound.start(_root.pos / 1000, 1);
mySound.setPan(0);
if (mysound.duration < 100) {
mysound.attachSound("city");
}
}
if ((url != "School theme") & (namea == "e")) {
mysound.loadSound(url, false);
mysound.start(_root.pos / 1000, 1);
mySound.setPan(0);
if (mysound.duration < 100) {
mysound.attachSound("school");
}
}
if ((url != "Vampire (scary) theme") & (namea == "f")) {
mysound.loadSound(url, false);
mysound.start(_root.pos / 1000, 1);
mySound.setPan(0);
if (mysound.duration < 100) {
mysound.attachSound("vampire");
}
}
if (url == "Home theme") {
trace("no sound found - going to engine sourse");
mysound.stop();
mysound.attachSound("home");
mysound.start(_root.pos / 1000, 1);
}
if (url == "Forest theme") {
trace("no sound found - going to engine sourse");
mysound.stop();
mysound.attachSound("forest");
mysound.start(_root.pos / 1000, 1);
}
if (url == "Space theme") {
trace("no sound found - going to engine sourse");
mysound.stop();
mysound.attachSound("space");
mysound.start(_root.pos / 1000, 1);
}
if (url == "City theme") {
trace("no sound found - going to engine sourse");
mysound.stop();
mysound.attachSound("city");
mysound.start(_root.pos / 1000, 1);
}
if (url == "School theme") {
trace("no sound found - going to engine sourse");
mysound.stop();
mysound.attachSound("school");
mysound.start(_root.pos / 1000, 1);
}
if (url == "Vampire (scary) theme") {
trace("no sound found - going to engine sourse");
mysound.stop();
mysound.attachSound("vampire");
mysound.start(_root.pos / 1000, 1);
}
if ((namea == "a") && (mysound.duration < 100)) {
trace("mySound noncomplete");
_root.mainbar.mainbar.soundedit.soundnamea = "Home theme";
_root.mainbar.mainbar.soundedit.aok._visible = false;
}
if ((namea == "b") && (mysound.duration < 100)) {
trace("mySound noncomplete");
_root.mainbar.mainbar.soundedit.soundnameb = "Forest theme";
_root.mainbar.mainbar.soundedit.bok._visible = false;
}
if ((namea == "c") && (mysound.duration < 100)) {
trace("mySound noncomplete");
_root.mainbar.mainbar.soundedit.soundnamec = "Space theme";
_root.mainbar.mainbar.soundedit.cok._visible = false;
}
if ((namea == "d") && (mysound.duration < 100)) {
trace("mySound noncomplete");
_root.mainbar.mainbar.soundedit.soundnamed = "City theme";
_root.mainbar.mainbar.soundedit.dok._visible = false;
}
if ((namea == "e") && (mysound.duration < 100)) {
trace("mySound noncomplete");
_root.mainbar.mainbar.soundedit.soundnamee = "School theme";
_root.mainbar.mainbar.soundedit.eok._visible = false;
}
if ((namea == "f") && (mysound.duration < 100)) {
trace("mySound noncomplete");
_root.mainbar.mainbar.soundedit.soundnamef = "Vampire (scary) theme";
_root.mainbar.mainbar.soundedit.fok._visible = false;
}
if ((namea == "a") && (mysound.duration > 100)) {
trace("mySound completed");
currentsoundplaying = soundfilea;
_root.mainbar.mainbar.soundedit.aok._visible = true;
_root.soundnamea = _root.mainbar.mainbar.soundedit.soundnamea;
} else {
_root.mainbar.mainbar.soundedit.aok._visible = false;
}
if ((namea == "b") && (mysound.duration > 100)) {
trace("mySound completed");
currentsoundplaying = soundfileb;
_root.mainbar.mainbar.soundedit.bok._visible = true;
_root.soundnameb = _root.mainbar.mainbar.soundedit.soundnameb;
} else {
_root.mainbar.mainbar.soundedit.bok._visible = false;
}
if ((namea == "c") && (mysound.duration > 100)) {
trace("mySound completed");
currentsoundplaying = soundfilec;
_root.mainbar.mainbar.soundedit.cok._visible = true;
_root.soundnamec = _root.mainbar.mainbar.soundedit.soundnamec;
} else {
_root.mainbar.mainbar.soundedit.cok._visible = false;
}
if ((namea == "d") && (mysound.duration > 100)) {
trace("mySound completed");
currentsoundplaying = soundfiled;
_root.mainbar.mainbar.soundedit.dok._visible = true;
_root.soundnamed = _root.mainbar.mainbar.soundedit.soundnamed;
} else {
_root.mainbar.mainbar.soundedit.dok._visible = false;
}
if ((namea == "e") && (mysound.duration > 100)) {
trace("mySound completed");
currentsoundplaying = soundfilee;
_root.mainbar.mainbar.soundedit.eok._visible = true;
_root.soundnamee = _root.mainbar.mainbar.soundedit.soundnamee;
} else {
_root.mainbar.mainbar.soundedit.eok._visible = false;
}
if ((namea == "f") && (mysound.duration > 100)) {
trace("mySound completed");
currentsoundplaying = soundfilef;
_root.mainbar.mainbar.soundedit.fok._visible = true;
_root.soundnamef = _root.mainbar.mainbar.soundedit.soundnamef;
} else {
_root.mainbar.mainbar.soundedit.fok._visible = false;
}
if (mysound.duration != 0) {
playing = true;
}
}
}
}
function replaya() {
if (mysound == "") {
mysound.start(1, 1);
}
if (mysound.position >= mysound.duration) {
mysound.stop();
mysound.setVolume(mastervol);
mysound.start(1, 1);
}
}
function stopa() {
_root.pos = 0;
mysound.stop();
playing = false;
}
function pause() {
if (playing) {
_root.pos = mysound.position;
mysound.stop();
playing = false;
}
}
function superhittest(name, numberdestination, X, Y) {
if (mysound.position >= mysound.duration) {
_root.pos = 0;
mysound.start(0, 1);
mysound.setVolume(mastervol);
}
_root.mainplayersquarex = X;
_root.mainplayersquarey = Y;
name._visible = false;
with (_root.mainplayersquare) {
if (name.hitTest(_root.mainplayersquare)) {
if (name.hitTest(_x, getBounds(_root).yMax, true)) {
_root.numberdestinationgoto = numberdestination;
_root.gotoAndStop(4);
}
if (name.hitTest(getBounds(_root).xMax, _y, true)) {
_root.numberdestinationgoto = numberdestination;
_root.gotoAndStop(4);
}
if (name.hitTest(getBounds(_root).xMin, _y, true)) {
_root.numberdestinationgoto = numberdestination;
_root.gotoAndStop(4);
}
}
}
}
function faceupright() {
_root.squareb.upright._visible = 1;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.downleft._visible = 0;
_root.squareb.left._visible = 0;
}
function faceupleft() {
_root.squareb.upleft._visible = 1;
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
}
function faceup() {
_root.squareb.up._visible = 1;
_root.squareb.down._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.downleft._visible = 0;
_root.squareb.left._visible = 0;
}
function facedownleft() {
_root.squareb.downleft._visible = 1;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
}
function facedownright() {
_root.squareb.downright._visible = 1;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.downleft._visible = 0;
_root.squareb.left._visible = 0;
}
function facedown() {
_root.squareb.down._visible = 1;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.downleft._visible = 0;
_root.squareb.left._visible = 0;
}
function faceright() {
_root.squareb.right._visible = 1;
_root.squareb.left._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.downleft._visible = 0;
}
function faceleft() {
_root.squareb.left._visible = 1;
_root.squareb.down._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.downleft._visible = 0;
}
function changepostionb() {
changedistance = 300;
if (_root.mainplayersquare._y > 400) {
placeinfo(0, 0, "");
_root.restyposofplayer = _root.restyposofplayer - changedistance;
_root.changelevel._y = _root.changelevel._y - changedistance;
_root.changelevela._y = _root.changelevela._y - changedistance;
_root.changelevelb._y = _root.changelevelb._y - changedistance;
_root.changelevelc._y = _root.changelevelc._y - changedistance;
_root.changeleveld._y = _root.changeleveld._y - changedistance;
_root.changelevele._y = _root.changelevele._y - changedistance;
_root.changelevelf._y = _root.changelevelf._y - changedistance;
_root.changelevelg._y = _root.changelevelg._y - changedistance;
_root.changelevelh._y = _root.changelevelh._y - changedistance;
_root.movea._y = _root.movea._y - changedistance;
_root.moveb._y = _root.moveb._y - changedistance;
_root.movec._y = _root.movec._y - changedistance;
_root.moved._y = _root.moved._y - changedistance;
_root.obja._y = _root.obja._y - changedistance;
_root.objb._y = _root.objb._y - changedistance;
_root.objc._y = _root.objc._y - changedistance;
_root.objd._y = _root.objd._y - changedistance;
_root.obje._y = _root.obje._y - changedistance;
_root.objf._y = _root.objf._y - changedistance;
_root.objg._y = _root.objg._y - changedistance;
_root.objh._y = _root.objh._y - changedistance;
_root.obji._y = _root.obji._y - changedistance;
_root.objj._y = _root.objj._y - changedistance;
_root.objk._y = _root.objk._y - changedistance;
_root.objl._y = _root.objl._y - changedistance;
_root.objm._y = _root.objm._y - changedistance;
_root.objn._y = _root.objn._y - changedistance;
_root.objo._y = _root.objo._y - changedistance;
_root.objp._y = _root.objp._y - changedistance;
_root.objq._y = _root.objq._y - changedistance;
_root.objr._y = _root.objr._y - changedistance;
_root.objs._y = _root.objs._y - changedistance;
_root.objt._y = _root.objt._y - changedistance;
_root.obju._y = _root.obju._y - changedistance;
_root.objv._y = _root.objv._y - changedistance;
_root.objw._y = _root.objw._y - changedistance;
_root.objx._y = _root.objx._y - changedistance;
_root.objy._y = _root.objy._y - changedistance;
_root.objz._y = _root.objz._y - changedistance;
_root.back._y = _root.back._y - changedistance;
_root.door._y = _root.door._y - changedistance;
_root.walls._y = _root.walls._y - changedistance;
_root.squareb._y = _root.squareb._y - changedistance;
_root.mainplayersquare._y = _root.mainplayersquare._y - changedistance;
_root.orba._y = _root.orba._y - changedistance;
_root.orbb._y = _root.orbb._y - changedistance;
_root.orbc._y = _root.orbc._y - changedistance;
_root.orbd._y = _root.orbd._y - changedistance;
_root.orbe._y = _root.orbe._y - changedistance;
_root.orbf._y = _root.orbf._y - changedistance;
_root.orbg._y = _root.orbg._y - changedistance;
_root.orbh._y = _root.orbh._y - changedistance;
_root.orbi._y = _root.orbi._y - changedistance;
_root.orbj._y = _root.orbj._y - changedistance;
_root.orbk._y = _root.orbk._y - changedistance;
_root.orbl._y = _root.orbl._y - changedistance;
_root.aa._y = _root.aa._y - changedistance;
_root.bb._y = _root.bb._y - changedistance;
_root.cc._y = _root.cc._y - changedistance;
_root.dd._y = _root.dd._y - changedistance;
_root.ee._y = _root.ee._y - changedistance;
_root.ff._y = _root.ff._y - changedistance;
_root.gg._y = _root.gg._y - changedistance;
_root.hh._y = _root.hh._y - changedistance;
_root.arro._y = _root.arro._y - changedistance;
}
if (_root.mainplayersquare._y < 100) {
placeinfo(0, 0, "");
_root.restyposofplayer = _root.restyposofplayer + changedistance;
_root.changelevel._y = _root.changelevel._y + changedistance;
_root.changelevela._y = _root.changelevela._y + changedistance;
_root.changelevelb._y = _root.changelevelb._y + changedistance;
_root.changelevelc._y = _root.changelevelc._y + changedistance;
_root.changeleveld._y = _root.changeleveld._y + changedistance;
_root.changelevele._y = _root.changelevele._y + changedistance;
_root.changelevelf._y = _root.changelevelf._y + changedistance;
_root.changelevelg._y = _root.changelevelg._y + changedistance;
_root.changelevelh._y = _root.changelevelh._y + changedistance;
_root.movea._y = _root.movea._y + changedistance;
_root.moveb._y = _root.moveb._y + changedistance;
_root.movec._y = _root.movec._y + changedistance;
_root.moved._y = _root.moved._y + changedistance;
_root.obja._y = _root.obja._y + changedistance;
_root.objb._y = _root.objb._y + changedistance;
_root.objc._y = _root.objc._y + changedistance;
_root.objd._y = _root.objd._y + changedistance;
_root.obje._y = _root.obje._y + changedistance;
_root.objf._y = _root.objf._y + changedistance;
_root.objg._y = _root.objg._y + changedistance;
_root.objh._y = _root.objh._y + changedistance;
_root.obji._y = _root.obji._y + changedistance;
_root.objj._y = _root.objj._y + changedistance;
_root.objk._y = _root.objk._y + changedistance;
_root.objl._y = _root.objl._y + changedistance;
_root.objm._y = _root.objm._y + changedistance;
_root.objn._y = _root.objn._y + changedistance;
_root.objo._y = _root.objo._y + changedistance;
_root.objp._y = _root.objp._y + changedistance;
_root.objq._y = _root.objq._y + changedistance;
_root.objr._y = _root.objr._y + changedistance;
_root.objs._y = _root.objs._y + changedistance;
_root.objt._y = _root.objt._y + changedistance;
_root.obju._y = _root.obju._y + changedistance;
_root.objv._y = _root.objv._y + changedistance;
_root.objw._y = _root.objw._y + changedistance;
_root.objx._y = _root.objx._y + changedistance;
_root.objy._y = _root.objy._y + changedistance;
_root.objz._y = _root.objz._y + changedistance;
_root.back._y = _root.back._y + changedistance;
_root.door._y = _root.door._y + changedistance;
_root.walls._y = _root.walls._y + changedistance;
_root.squareb._y = _root.squareb._y + changedistance;
_root.mainplayersquare._y = _root.mainplayersquare._y + changedistance;
_root.orba._y = _root.orba._y + changedistance;
_root.orbb._y = _root.orbb._y + changedistance;
_root.orbc._y = _root.orbc._y + changedistance;
_root.orbd._y = _root.orbd._y + changedistance;
_root.orbe._y = _root.orbe._y + changedistance;
_root.orbf._y = _root.orbf._y + changedistance;
_root.orbg._y = _root.orbg._y + changedistance;
_root.orbh._y = _root.orbh._y + changedistance;
_root.orbi._y = _root.orbi._y + changedistance;
_root.orbj._y = _root.orbj._y + changedistance;
_root.orbk._y = _root.orbk._y + changedistance;
_root.orbl._y = _root.orbl._y + changedistance;
_root.aa._y = _root.aa._y + changedistance;
_root.bb._y = _root.bb._y + changedistance;
_root.cc._y = _root.cc._y + changedistance;
_root.dd._y = _root.dd._y + changedistance;
_root.ee._y = _root.ee._y + changedistance;
_root.ff._y = _root.ff._y + changedistance;
_root.gg._y = _root.gg._y + changedistance;
_root.hh._y = _root.hh._y + changedistance;
_root.arro._y = _root.arro._y + changedistance;
}
if (_root.mainplayersquare._x < 100) {
placeinfo(0, 0, "");
_root.restxposofplayer = _root.restxposofplayer + changedistance;
_root.changelevel._x = _root.changelevel._x + changedistance;
_root.changelevela._x = _root.changelevela._x + changedistance;
_root.changelevelb._x = _root.changelevelb._x + changedistance;
_root.changelevelc._x = _root.changelevelc._x + changedistance;
_root.changeleveld._x = _root.changeleveld._x + changedistance;
_root.changelevele._x = _root.changelevele._x + changedistance;
_root.changelevelf._x = _root.changelevelf._x + changedistance;
_root.changelevelg._x = _root.changelevelg._x + changedistance;
_root.changelevelh._x = _root.changelevelh._x + changedistance;
_root.movea._x = _root.movea._x + changedistance;
_root.moveb._x = _root.moveb._x + changedistance;
_root.movec._x = _root.movec._x + changedistance;
_root.moved._x = _root.moved._x + changedistance;
_root.obja._x = _root.obja._x + changedistance;
_root.objb._x = _root.objb._x + changedistance;
_root.objc._x = _root.objc._x + changedistance;
_root.objd._x = _root.objd._x + changedistance;
_root.obje._x = _root.obje._x + changedistance;
_root.objf._x = _root.objf._x + changedistance;
_root.objg._x = _root.objg._x + changedistance;
_root.objh._x = _root.objh._x + changedistance;
_root.obji._x = _root.obji._x + changedistance;
_root.objj._x = _root.objj._x + changedistance;
_root.objk._x = _root.objk._x + changedistance;
_root.objl._x = _root.objl._x + changedistance;
_root.objm._x = _root.objm._x + changedistance;
_root.objn._x = _root.objn._x + changedistance;
_root.objo._x = _root.objo._x + changedistance;
_root.objp._x = _root.objp._x + changedistance;
_root.objq._x = _root.objq._x + changedistance;
_root.objr._x = _root.objr._x + changedistance;
_root.objs._x = _root.objs._x + changedistance;
_root.objt._x = _root.objt._x + changedistance;
_root.obju._x = _root.obju._x + changedistance;
_root.objv._x = _root.objv._x + changedistance;
_root.objw._x = _root.objw._x + changedistance;
_root.objx._x = _root.objx._x + changedistance;
_root.objy._x = _root.objy._x + changedistance;
_root.objz._x = _root.objz._x + changedistance;
_root.back._x = _root.back._x + changedistance;
_root.door._x = _root.door._x + changedistance;
_root.walls._x = _root.walls._x + changedistance;
_root.squareb._x = _root.squareb._x + changedistance;
_root.mainplayersquare._x = _root.mainplayersquare._x + changedistance;
_root.orba._x = _root.orba._x + changedistance;
_root.orbb._x = _root.orbb._x + changedistance;
_root.orbc._x = _root.orbc._x + changedistance;
_root.orbd._x = _root.orbd._x + changedistance;
_root.orbe._x = _root.orbe._x + changedistance;
_root.orbf._x = _root.orbf._x + changedistance;
_root.orbg._x = _root.orbg._x + changedistance;
_root.orbh._x = _root.orbh._x + changedistance;
_root.orbi._x = _root.orbi._x + changedistance;
_root.orbj._x = _root.orbj._x + changedistance;
_root.orbk._x = _root.orbk._x + changedistance;
_root.orbl._x = _root.orbl._x + changedistance;
_root.aa._x = _root.aa._x + changedistance;
_root.bb._x = _root.bb._x + changedistance;
_root.cc._x = _root.cc._x + changedistance;
_root.dd._x = _root.dd._x + changedistance;
_root.ee._x = _root.ee._x + changedistance;
_root.ff._x = _root.ff._x + changedistance;
_root.gg._x = _root.gg._x + changedistance;
_root.hh._x = _root.hh._x + changedistance;
_root.arro._x = _root.arro._x + changedistance;
}
if (_root.mainplayersquare._x > 500) {
placeinfo(0, 0, "");
_root.restxposofplayer = _root.restxposofplayer - changedistance;
_root.changelevel._x = _root.changelevel._x - changedistance;
_root.changelevela._x = _root.changelevela._x - changedistance;
_root.changelevelb._x = _root.changelevelb._x - changedistance;
_root.changelevelc._x = _root.changelevelc._x - changedistance;
_root.changeleveld._x = _root.changeleveld._x - changedistance;
_root.changelevele._x = _root.changelevele._x - changedistance;
_root.changelevelf._x = _root.changelevelf._x - changedistance;
_root.changelevelg._x = _root.changelevelg._x - changedistance;
_root.changelevelh._x = _root.changelevelh._x - changedistance;
_root.movea._x = _root.movea._x - changedistance;
_root.moveb._x = _root.moveb._x - changedistance;
_root.movec._x = _root.movec._x - changedistance;
_root.moved._x = _root.moved._x - changedistance;
_root.obja._x = _root.obja._x - changedistance;
_root.objb._x = _root.objb._x - changedistance;
_root.objc._x = _root.objc._x - changedistance;
_root.objd._x = _root.objd._x - changedistance;
_root.obje._x = _root.obje._x - changedistance;
_root.objf._x = _root.objf._x - changedistance;
_root.objg._x = _root.objg._x - changedistance;
_root.objh._x = _root.objh._x - changedistance;
_root.obji._x = _root.obji._x - changedistance;
_root.objj._x = _root.objj._x - changedistance;
_root.objk._x = _root.objk._x - changedistance;
_root.objl._x = _root.objl._x - changedistance;
_root.objm._x = _root.objm._x - changedistance;
_root.objn._x = _root.objn._x - changedistance;
_root.objo._x = _root.objo._x - changedistance;
_root.objp._x = _root.objp._x - changedistance;
_root.objq._x = _root.objq._x - changedistance;
_root.objr._x = _root.objr._x - changedistance;
_root.objs._x = _root.objs._x - changedistance;
_root.objt._x = _root.objt._x - changedistance;
_root.obju._x = _root.obju._x - changedistance;
_root.objv._x = _root.objv._x - changedistance;
_root.objw._x = _root.objw._x - changedistance;
_root.objx._x = _root.objx._x - changedistance;
_root.objy._x = _root.objy._x - changedistance;
_root.objz._x = _root.objz._x - changedistance;
_root.back._x = _root.back._x - changedistance;
_root.door._x = _root.door._x - changedistance;
_root.walls._x = _root.walls._x - changedistance;
_root.squareb._x = _root.squareb._x - changedistance;
_root.mainplayersquare._x = _root.mainplayersquare._x - changedistance;
_root.orba._x = _root.orba._x - changedistance;
_root.orbb._x = _root.orbb._x - changedistance;
_root.orbc._x = _root.orbc._x - changedistance;
_root.orbd._x = _root.orbd._x - changedistance;
_root.orbe._x = _root.orbe._x - changedistance;
_root.orbf._x = _root.orbf._x - changedistance;
_root.orbg._x = _root.orbg._x - changedistance;
_root.orbh._x = _root.orbh._x - changedistance;
_root.orbi._x = _root.orbi._x - changedistance;
_root.orbj._x = _root.orbj._x - changedistance;
_root.orbk._x = _root.orbk._x - changedistance;
_root.orbl._x = _root.orbl._x - changedistance;
_root.aa._x = _root.aa._x - changedistance;
_root.bb._x = _root.bb._x - changedistance;
_root.cc._x = _root.cc._x - changedistance;
_root.dd._x = _root.dd._x - changedistance;
_root.ee._x = _root.ee._x - changedistance;
_root.ff._x = _root.ff._x - changedistance;
_root.gg._x = _root.gg._x - changedistance;
_root.hh._x = _root.hh._x - changedistance;
_root.arro._x = _root.arro._x - changedistance;
}
}
function remove3dobjects() {
removeMovieClip(_root.slude);
removeMovieClip(_root.obja);
removeMovieClip(_root.objb);
removeMovieClip(_root.objc);
removeMovieClip(_root.objd);
removeMovieClip(_root.obje);
removeMovieClip(_root.objf);
removeMovieClip(_root.objg);
removeMovieClip(_root.objh);
removeMovieClip(_root.obji);
removeMovieClip(_root.objj);
removeMovieClip(_root.objk);
removeMovieClip(_root.objl);
removeMovieClip(_root.objm);
removeMovieClip(_root.objn);
removeMovieClip(_root.objo);
removeMovieClip(_root.objp);
removeMovieClip(_root.objq);
removeMovieClip(_root.objr);
removeMovieClip(_root.objs);
removeMovieClip(_root.objt);
removeMovieClip(_root.obju);
removeMovieClip(_root.objv);
removeMovieClip(_root.objw);
removeMovieClip(_root.objx);
removeMovieClip(_root.objy);
removeMovieClip(_root.objz);
removeMovieClip(_root.orba);
removeMovieClip(_root.orbb);
removeMovieClip(_root.orbc);
removeMovieClip(_root.orbd);
removeMovieClip(_root.orbe);
removeMovieClip(_root.orbf);
removeMovieClip(_root.orbg);
removeMovieClip(_root.orbh);
removeMovieClip(_root.orbi);
removeMovieClip(_root.orbj);
removeMovieClip(_root.orbk);
removeMovieClip(_root.orbl);
removeMovieClip(_root.mainbar);
removeMovieClip(_root.squareb);
removeMovieClip(_root.bubble);
removeMovieClip(_root.aa);
removeMovieClip(_root.bb);
removeMovieClip(_root.cc);
removeMovieClip(_root.dd);
removeMovieClip(_root.ee);
removeMovieClip(_root.ff);
removeMovieClip(_root.gg);
removeMovieClip(_root.hh);
removeMovieClip(_root.ii);
removeMovieClip(_root.jj);
removeMovieClip(_root.kk);
removeMovieClip(_root.arro);
removeMovieClip(_root.mainbar);
removeMovieClip(_root.kirbygame);
removeMovieClip(_root.game1);
}
function delwords() {
www++;
if (www == 2) {
_root.getwords(0, 0, 70, "");
}
}
function getwords(X, Y, hight, wordsa) {
if (((wordsa != _root.bubblewords) & (wordsa != "")) & (_root.soundoff == false)) {
getwordsa = new Sound(_root.bubble);
getwordsa.attachSound("arcade2");
getwordsa.start(0, 0);
}
_root.bubblewords = wordsa;
_root.bubble._x = X;
_root.bubble._y = Y - hight;
_root.bubble.gotoAndStop(2);
_root.bubble.swapDepths(Y);
if (wordsa == "") {
_root.bubble._x = 0;
_root.bubble._y = 0;
}
}
function placeinfo(X, Y, numb) {
_root.bubble.gotoAndStop(numb);
_root.bubble._x = X;
_root.bubble._y = Y;
_root.bubble.swapDepths(Y);
if (numb == "") {
_root.bubble._x = 0;
_root.bubble._y = 0;
}
}
gotoAndStop (5);
_root.buttonnumber = 1;
dressenabe1 = true;
dressenabe2 = false;
dressenabe3 = false;
currantdress = 1;
_root.soundoff = false;
_root.mastervol = 80;
_root.money = 0;
_root.mainplayersquarex = 280;
_root.mainplayersquarey = 180;
_root.spacex = 0;
_root.spacey = 0;
_root.passwords = ["levels", "speed", "sspeed", "varview", "ihatemaths", "takeweed", "money", "allstats", "allpants", "die,bush"];
soundfilea = "Home theme";
soundfileb = "Forest theme";
soundfilec = "Space theme";
soundfiled = "City theme";
soundfilee = "School theme";
soundfilef = "Vampire (scary) theme";
_root.gem1 = false;
_root.gem2 = false;
_root.gem3 = false;
_root.gem4 = false;
_root.gem5 = false;
_root.gem6 = false;
_root.gem7 = false;
_root.crystals0 = false;
_root.crystals1 = false;
_root.crystals2 = false;
_root.crystals3 = false;
_root.crystals4 = false;
_root.crystals5 = false;
_root.crystals6 = false;
_root.crystals7 = false;
_root.crystals8 = false;
_root.drawk = true;
_root.aiwalka = false;
_root.aiwalkb = false;
_root.aiwalkc = false;
_root.aiwalkd = false;
_root.aiwalke = 0;
_root.aiwalkf = 0;
_root.aiwalkg = false;
_root.aiwalkh = false;
_root.aiwalki = false;
_root.aiwalkj = false;
_root.screeneffectb = false;
_root.buttonleft = 37;
_root.buttonright = 39;
_root.buttonup = 38;
_root.buttondown = 40;
_root.buttonaction = 32;
_root.walkingdisabled = false;
_root.keya = false;
_root.keyb = false;
_root.keyc = false;
_root.keyd = false;
_root.keye = false;
_root.keyf = false;
_root.keyg = false;
_root.keyh = false;
_root.keyi = false;
_root.keyj = 0;
money0 = false;
money1 = false;
money2 = false;
money3 = false;
money4 = false;
money5 = false;
money6 = false;
money7 = false;
money8 = false;
money9 = false;
_root.relationa = false;
_root.relationb = false;
_root.relationc = false;
_root.relationd = false;
_root.relatione = false;
_root.knowledge = 2;
_root.accuracy = 2;
_root.health = 100;
_root.p1 = false;
_root.p2 = false;
_root.p3 = false;
_root.p4 = false;
_root.p5 = false;
_root.p6 = false;
_root.p7 = false;
_root.p8 = false;
_root.speedtimes = 1;
mysound = new Sound();
Frame 4
remove3dobjects();
_root.walkingdisabled = false;
_root.restyposofplayer = 0;
_root.restxposofplayer = 0;
if (_root._framesloaded >= _root.numberdestinationgoto) {
gotoAndStop(_root.numberdestinationgoto);
} else {
stop();
}
Instance of Symbol 429 MovieClip "load" in Frame 4
onClipEvent (enterFrame) {
if (_root._framesloaded > _root.numberdestinationgoto) {
_root.gotoAndStop(_root.numberdestinationgoto);
_visible = false;
} else {
_visible = true;
}
}
Frame 5
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 407 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= 4) {
play();
}
} else if (this._currentframe == 5) {
play();
}
}
Instance of Symbol 411 MovieClip "obja" in Frame 5
onClipEvent (enterFrame) {
pesentagedone = Math.round((((((((((((((((((((((((((((((((((Boolean(_root.keya) + Boolean(_root.keyb)) + Boolean(_root.keyc)) + Boolean(_root.keyd)) + Boolean(_root.keye)) + Boolean(_root.keyf)) + Boolean(_root.keyg)) + Boolean(_root.keyh)) + Boolean(_root.keyi)) + Boolean(_root.keyj)) + Boolean(_root.p1)) + Boolean(_root.p2)) + Boolean(_root.p3)) + Boolean(_root.p4)) + Boolean(_root.p5)) + Boolean(_root.p6)) + Boolean(_root.p7)) + Boolean(_root.p8)) + Boolean(_root.gem1)) + Boolean(_root.gem2)) + Boolean(_root.gem3)) + Boolean(_root.gem4)) + Boolean(_root.gem5)) + Boolean(_root.aiwalka)) + Boolean(_root.aiwalkb)) + Boolean(_root.aiwalkc)) + Boolean(_root.aiwalkd)) + Boolean(_root.aiwalke)) + Boolean(_root.aiwalkf)) + Boolean(_root.aiwalkg)) + Boolean(_root.aiwalkh)) + Boolean(_root.aiwalki)) + Boolean(_root.aiwalkj)) / 33) * 100) add "%";
if (area.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
_root.getwords(_x, _y, 70, "Percent done: " add pesentagedone);
}
i = 0;
} else {
i++;
if (i == 1) {
_root.placeinfo(0, 0, 1);
}
}
if (_root._currentframe == 5) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 413 MovieClip "objb" in Frame 5
onClipEvent (enterFrame) {
if (_root._currentframe == 5) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 415 MovieClip "objc" in Frame 5
onClipEvent (enterFrame) {
this.swapDepths(this._y);
if (hitTest(_root.mainplayersquare)) {
if ((_root.mainbuttondowna == true) & (_root.money <= 20)) {
_root.getwords(_x + 70, _y, 70, "You found your stash of P money $40");
_root.money = _root.money + 40;
}
d = 0;
} else {
d++;
if (d == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 417 MovieClip "objd" in Frame 5
onClipEvent (enterFrame) {
if (_root._currentframe == 5) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 419 MovieClip "obje" in Frame 5
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 440 MovieClip "objf" in Frame 5
onClipEvent (load) {
this.swapDepths(_y);
if (_root.aiwalka == true) {
_visible = false;
}
}
onClipEvent (enterFrame) {
k++;
if (k >= 50) {
_visible = false;
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 5
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = -200;
stopingpiont = 60;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 446 MovieClip "changelevel" in Frame 5
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 6, 410, 315);
}
Instance of Symbol 454 MovieClip "orba" in Frame 5
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 5
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedown();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapdepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 809 MovieClip in Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
i = 0;
if (_root.mainbuttondowna == true) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y - 20, 4);
}
} else {
i++;
if (i == 1) {
_root.placeinfo(0, 0, 3);
}
}
}
Instance of Symbol 811 MovieClip in Frame 5
onClipEvent (load) {
this.swapDepths(1000);
}
Instance of Symbol 1262 MovieClip "mainbar" in Frame 5
onClipEvent (load) {
decay = 0;
_root.bubble._x = 0;
_root.bubble._y = 0;
removeMovieClip(_root.bubble);
with (_root.mainbar.inventory) {
if (_root.optionbuttonsvisible == false) {
gotoAndStop(21);
}
}
_root.mainbar.inventory.numbers._x = _root.numberinventory;
}
onClipEvent (enterFrame) {
_root.replaya();
_root.numberinventory = _root.mainbar.inventory.numbers._x;
_root.actionbuttondown();
if (Key.isDown(27)) {
_root.mainbar.options.play();
}
if (Key.isDown(80) & (_root.mainbar.options._currentframe == 1)) {
_root.mainbar.mainbar.soundedit.play();
}
if (Key.isDown(79) & (_root.mainbar.mainbar.soundedit._currentframe == 1)) {
_root.mainbar.options.play();
}
if (_root._currentframe > 3) {
this.swapDepths(1000);
} else {
removeMovieClip(this);
}
if (_root.mainbar.inventory.help._currentframe >= 2) {
decay++;
if (decay > 20) {
_root.mainbar.inventory.help._alpha = _root.mainbar.inventory.help._alpha - 10;
if (decay > 30) {
_root.mainbar.inventory.help._alpha = 100;
_root.mainbar.inventory.help.gotoAndStop(1);
decay = 0;
}
}
}
if (_root.keya == false) {
_root.mainbar.inventory.numbers.a1._visible = false;
_root.inven.a.a1._visible = false;
_root.inven.b.a1._visible = false;
} else {
_root.mainbar.inventory.numbers.a1._visible = true;
_root.inven.a.a1._visible = true;
_root.inven.b.a1._visible = true;
}
if (_root.keyb == false) {
_root.mainbar.inventory.numbers.a2._visible = false;
_root.inven.a.a2._visible = false;
_root.inven.b.a2._visible = false;
} else {
_root.mainbar.inventory.numbers.a2._visible = true;
_root.inven.a.a2._visible = true;
_root.inven.b.a2._visible = true;
}
if (_root.keyc == false) {
_root.mainbar.inventory.numbers.a3._visible = false;
_root.inven.a.a3._visible = false;
_root.inven.b.a3._visible = false;
} else {
_root.mainbar.inventory.numbers.a3._visible = true;
_root.inven.a.a3._visible = true;
_root.inven.b.a3._visible = true;
}
if (_root.keyd == false) {
_root.mainbar.inventory.numbers.a4._visible = false;
_root.inven.a.a4._visible = false;
_root.inven.b.a4._visible = false;
} else {
_root.mainbar.inventory.numbers.a4._visible = true;
_root.inven.a.a4._visible = true;
_root.inven.b.a4._visible = true;
}
if (_root.keye == false) {
_root.mainbar.inventory.numbers.a5._visible = false;
_root.inven.a.a5._visible = false;
_root.inven.b.a5._visible = false;
} else {
_root.mainbar.inventory.numbers.a5._visible = true;
_root.inven.a.a5._visible = true;
_root.inven.b.a5._visible = true;
}
if (_root.keyf == false) {
_root.mainbar.inventory.numbers.a6._visible = false;
_root.inven.a.a6._visible = false;
_root.inven.b.a6._visible = false;
} else {
_root.mainbar.inventory.numbers.a6._visible = true;
_root.inven.a.a6._visible = true;
_root.inven.b.a6._visible = true;
}
if (_root.keyg == false) {
_root.mainbar.inventory.numbers.a7._visible = false;
_root.inven.a.a7._visible = false;
_root.inven.b.a7._visible = false;
} else {
_root.mainbar.inventory.numbers.a7._visible = true;
_root.inven.a.a7._visible = true;
_root.inven.b.a7._visible = true;
}
if (_root.keyh == false) {
_root.mainbar.inventory.numbers.a8._visible = false;
_root.inven.a.a8._visible = false;
_root.inven.b.a8._visible = false;
} else {
_root.mainbar.inventory.numbers.a8._visible = true;
_root.inven.a.a8._visible = true;
_root.inven.b.a8._visible = true;
}
if (_root.keyi == false) {
_root.mainbar.inventory.numbers.a9._visible = false;
_root.inven.a.a9._visible = false;
_root.inven.b.a9._visible = false;
} else {
_root.mainbar.inventory.numbers.a9._visible = true;
_root.inven.a.a9._visible = true;
_root.inven.b.a9._visible = true;
}
if (_root.keyj == false) {
_root.mainbar.inventory.numbers.a10._visible = false;
_root.inven.a.a10._visible = false;
_root.inven.b.a10._visible = false;
} else {
_root.mainbar.inventory.numbers.a10._visible = true;
_root.inven.a.a10._visible = true;
_root.inven.b.a10._visible = true;
}
}
Instance of Symbol 1268 MovieClip "slude" in Frame 5
onClipEvent (load) {
_root.screeneffectb._alpha = 100;
if (_root.screeneffectb == 0) {
_root.slude.swapDepths(1000);
_root.slude._alpha = 75;
this._x = 0;
this._y = 400;
gotoAndStop (1);
}
if (_root.screeneffectb == 1) {
this._x = 0;
this._y = 400;
play();
}
if (_root.screeneffectb == 3) {
gotoAndStop (5);
}
}
onClipEvent (enterFrame) {
_root.slude.swapDepths(_y + 200);
if (_root.screeneffectb == 0) {
_root.slude._alpha = _root.slude._alpha - 25;
if (_root.slude._alpha < 1) {
_root.slude._alpha = 100;
gotoAndStop (5);
}
}
}
Instance of Symbol 1366 MovieClip "bubble" in Frame 5
onClipEvent (load) {
removeMovieClip(this);
_y = 0;
_x = 0;
}
onClipEvent (enterFrame) {
swapDepths(2000);
}
Instance of Symbol 1387 MovieClip "inven" in Frame 5
onClipEvent (load) {
gotoAndStop (1);
removeMovieClip(this);
stop();
_x = 300;
refowed = false;
rewind = false;
numberoframes = 50;
}
onClipEvent (enterFrame) {
if ((Key.isDown(73) & (_root.mainbar.options._currentframe == 1)) & (_root.mainbar.mainbar.soundedit._currentframe == 1)) {
stop();
B1._visible = false;
as = 0;
if (((_root.keya == true) & (this._currentframe > 0)) & (this._currentframe < 3)) {
b1.gotoAndStop(2);
B1._visible = true;
as = 1;
}
if (((_root.keyb == true) & (this._currentframe > 3)) & (this._currentframe < 8)) {
b1.gotoAndStop(3);
B1._visible = true;
as = 2;
}
if (((_root.keyc == true) & (this._currentframe > 9)) & (this._currentframe < 14)) {
b1.gotoAndStop(4);
B1._visible = true;
as = 3;
}
if (((_root.keyd == true) & (this._currentframe > 14)) & (this._currentframe < 18)) {
b1.gotoAndStop(5);
B1._visible = true;
as = 4;
}
if (((_root.keye == true) & (this._currentframe > 18)) & (this._currentframe < 24)) {
b1.gotoAndStop(6);
B1._visible = true;
as = 5;
}
if (((_root.keyf == true) & (this._currentframe > 24)) & (this._currentframe < 30)) {
b1.gotoAndStop(7);
B1._visible = true;
as = 6;
}
if (((_root.keyg == true) & (this._currentframe > 30)) & (this._currentframe < 35)) {
b1.gotoAndStop(8);
B1._visible = true;
as = 7;
}
if (((_root.keyh == true) & (this._currentframe > 35)) & (this._currentframe < 41)) {
b1.gotoAndStop(9);
B1._visible = true;
as = 8;
}
if (((_root.keyi == true) & (this._currentframe > 41)) & (this._currentframe < 46)) {
b1.gotoAndStop(10);
B1._visible = true;
as = 9;
}
if ((_root.keyj == true) & (this._currentframe >= 47)) {
b1.gotoAndStop(11);
B1._visible = true;
as = 10;
}
refowed = false;
rewind = false;
if (Key.isDown(_root.buttonleft)) {
refowed = false;
rewind = true;
}
if (Key.isDown(_root.buttonright)) {
refowed = true;
rewind = false;
}
if (refowed == true) {
if (_currentframe < numberoframes) {
gotoAndStop(this._currentframe + 2);
}
}
if (rewind == true) {
if (_currentframe > 0) {
gotoAndStop(this._currentframe - 2);
}
}
_y = 200;
_root.walkingdisabled = true;
this.swapDepths(500);
time = 0;
} else {
time++;
if (time == 1) {
_root.walkingdisabled = false;
_root.selecetitema = as;
}
if (time >= 2) {
time = 2;
as = 0;
_root.selecetitema = 0;
}
_y = -200;
}
}
Frame 6
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 1393 MovieClip "obja" in Frame 6
onClipEvent (enterFrame) {
if (_root._currentframe == 6) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1406 MovieClip "objf" in Frame 6
onClipEvent (enterFrame) {
this.swapDepths(_y + 10);
}
Instance of Symbol 1408 MovieClip "objb" in Frame 6
onClipEvent (enterFrame) {
if (_root._currentframe == 6) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1410 MovieClip "objd" in Frame 6
onClipEvent (enterFrame) {
if (_root._currentframe == 6) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1412 MovieClip "obje" in Frame 6
onClipEvent (enterFrame) {
if (_root._currentframe == 6) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1414 MovieClip "objc" in Frame 6
onClipEvent (enterFrame) {
if (_root._currentframe == 6) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1444 MovieClip "obji" in Frame 6
onClipEvent (load) {
t = 0;
if (_root.aiwalka == true) {
gotoAndStop (60);
}
}
onClipEvent (enterFrame) {
if (_root.aiwalka == false) {
_root.faceupleft();
_root.mainplayersquare._x = 410;
_root.mainplayersquare._y = 315;
if (_root.mainbuttondowna == true) {
t++;
}
if (t == 0) {
_root.walkingdisabled = true;
_root.getwords(_x, _y, 70, unescape("Hi%21%0Dand%20welcome%20to%20Red%20Devil2%21%0D%28to%20continue%2C%20push%20%3Cspace%3E%29"));
}
if (t == 1) {
_root.getwords(_x, _y, 70, unescape("Push 'I' for inventory and 'O' for options in which you can edit the preferences. Solve problems to progress. "));
}
if (t == 2) {
_root.getwords(_x, _y, 70, unescape("If you've made it out here, you already know the controls, follow me to my room if you need any help"));
}
if (t == 3) {
play();
_root.aiwalka = true;
_root.getwords(0, 0, 70, "");
_root.walkingdisabled = false;
}
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
objectb = _root.mainplayersquare;
hight = 59;
if (objectb.hitTest(_x, getBounds(_root).yMin + hight, true)) {
objectb._y = objectb._y - yspeed;
}
if (objectb.hitTest(_x, getBounds(_root).yMax, true)) {
objectb._y = objectb._y + yspeed;
}
if (objectb.hitTest(getBounds(_root).xMin, _y, true)) {
objectb._x = objectb._x - xspeed;
}
if (objectb.hitTest(getBounds(_root).xMax, _y, true)) {
objectb._x = objectb._x + xspeed;
}
}
this.swapDepths(_y);
if (this._currentframe > 2) {
this.swapDepths(_y + this.backon._y);
}
}
Instance of Symbol 1446 MovieClip "objj" in Frame 6
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
i = 0;
if (Key.isDown(_root.buttonaction)) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y, 5);
}
} else {
i++;
if (i == 1) {
_root.placeinfo(0, 0, 1);
}
}
}
Instance of Symbol 1450 MovieClip "objg" in Frame 6
onClipEvent (load) {
_visible = false;
_root.objc._visible = false;
_root.objd._visible = false;
_root.obje._visible = false;
_root.objf._visible = false;
_root.objj._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.objc._visible = true;
_root.objd._visible = true;
_root.obje._visible = true;
_root.objf._visible = true;
_root.objj._visible = true;
i = 0;
} else {
i++;
if (i > 2) {
i = 0;
_root.objc._visible = false;
_root.objd._visible = false;
_root.obje._visible = false;
_root.objf._visible = false;
_root.objj._visible = false;
}
}
}
Instance of Symbol 454 MovieClip "orbd" in Frame 6
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 6
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 6
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbb" in Frame 6
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orba" in Frame 6
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 6
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = -200;
stopingpiont = 60;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.changepostionb();
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 6
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
_y = _root.mainplayersquare._y;
_x = _root.mainplayersquare._x;
swapDepths(_y);
_root.changepostionb();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
_root.ghjg = framediff;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Frame 7
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 1471 MovieClip "tuber" in Frame 7
onClipEvent (enterFrame) {
if (_root.currantdress == 1) {
a._visible = true;
} else {
a._visible = false;
}
if ((_root.currantdress == 4) | (_root.currantdress == 5)) {
b._visible = true;
} else {
b._visible = false;
}
if ((_root.currantdress == 2) | (_root.currantdress == 3)) {
c._visible = true;
} else {
c._visible = false;
}
}
Instance of Symbol 1473 MovieClip "obja" in Frame 7
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 1504 MovieClip "objc" in Frame 7
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.squareb)) {
if (_root.mainbuttondowna == true) {
if (_root.aiwalkj == false) {
if (_root.aiwalkb == false) {
_root.getwords(_x + 40, _y, 100, "Come here if you need any spaceship parts. You can buy them from me. I also know how to fix UFOs.");
}
if (_root.aiwalkb == true) {
_root.getwords(_x + 40, _y, 100, "For $300 I'll fix the ufo.. then you can go back to the city.<cough> (shes gonna get fried twice)");
}
}
if (_root.aiwalkj == true) {
_root.getwords(_x + 40, _y, 100, "The UFO was hard to fix - I dont really know Arlium technology.");
}
if ((_root.money >= 300) & (_root.aiwalkj == false)) {
_root.getwords(_x + 40, _y, 100, "Wow! thanks- I'll get right on it!");
_root.money = _root.money - 300;
_root.aiwalkj = true;
}
play();
}
} else {
_root.getwords(_x + 40, _y, 100, "");
gotoAndStop (1);
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 7
onClipEvent (load) {
_root.facedown();
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 7
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.squareb._visible = true;
_root.facedown();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
changescale();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Frame 8
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 407 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe < 5) {
play();
}
} else if (this._currentframe > 5) {
play();
}
}
Instance of Symbol 446 MovieClip "changelevel" in Frame 8
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 6, 700, 120);
}
Instance of Symbol 1510 MovieClip "obje" in Frame 8
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 411 MovieClip "objb" in Frame 8
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1512 MovieClip "obja" in Frame 8
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1514 MovieClip "objd" in Frame 8
onClipEvent (enterFrame) {
if (_root._currentframe == 8) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1444 MovieClip "objc" in Frame 8
onClipEvent (load) {
d = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
d++;
}
if (d == 0) {
_root.getwords(_x, _y, 80, "Hi! push action (space) to view help.");
}
if (d == 1) {
_root.mainhelp._visible = true;
_root.walkingdisabled = true;
_root.getwords(_x, _y, 70, "");
}
}
if (this.hitTest(_root.mainplayersquare) === false) {
_root.getwords(_x, _y, 70, "");
d = 0;
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 8
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = -200;
stopingpiont = 60;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 8
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedown();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1521 MovieClip "orbb" in Frame 8
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 1595 MovieClip "mainhelp" in Frame 8
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (_visible == true) {
_root.mainbar.inventory.gotoAndStop(2);
}
if (_root._currentframe != 8) {
removeMovieClip(this);
}
}
onClipEvent (load) {
_visible = false;
}
Frame 9
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 1600 MovieClip "objd" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
play();
a = new Sound(this);
a.attachSound("Switch");
a.start(0, 0);
a.setPan((_y / 3) - 100);
}
}
if (_root._currentframe == 9) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1602 MovieClip "obja" in Frame 9
onClipEvent (enterFrame) {
if (_root._currentframe == 9) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1605 MovieClip "objc" in Frame 9
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
play();
a = new Sound(this);
a.attachSound("Switch");
a.start(0, 0);
a.setPan((_y / 3) - 100);
}
}
if (_root._currentframe == 9) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1516 MovieClip "obje" in Frame 9
onClipEvent (enterFrame) {
if (_root._currentframe == 9) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1607 MovieClip "objb" in Frame 9
onClipEvent (enterFrame) {
if (_root._currentframe == 9) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1613 MovieClip "objf" in Frame 9
onClipEvent (load) {
this.swapDepths(_y);
}
onClipEvent (enterFrame) {
if (hitTest(_root.squareb)) {
if (_currentframe != 5) {
play();
}
if (_root.aiwalkb == true) {
if (_root.mainbuttondowna == true) {
if ((_root.keyc == true_root.p2) == true) {
_root.getwords(_x + 40, _y, 100, "I think that people have too little time on their hands nowadays. After all, we were ment to have robots by now.");
}
if ((_root.keyc == true_root.p2) == false) {
_root.getwords(_x + 40, _y, 100, "Thanks!,\rDon't forget you can reuse objects!");
_root.p2 = true;
}
}
}
if (_root.aiwalkb == false) {
if (_root.mainbuttondowna == true) {
if (_root.keyb == true) {
_root.getwords(_x + 40, _y, 100, "Hurry up!");
}
if (_root.keyb == false) {
_root.getwords(_x + 40, _y, 100, "Hello, heres the key to the basement. Can you get me the bag thats down there?");
_root.keyb = true;
}
if (_root.keyc == true) {
_root.getwords(_x + 40, _y, 100, "Thanks!,\rDon't forget you can reuse objects!");
_root.p2 = true;
}
}
}
} else {
gotoAndStop (1);
_root.getwords(0, 0, 100, "");
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 9
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 446 MovieClip "changelevel" in Frame 9
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 6, 177, 200);
}
Frame 10
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 1619 MovieClip "objc" in Frame 10
onClipEvent (load) {
if (_root._currentframe == 10) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1621 MovieClip "objb" in Frame 10
onClipEvent (enterFrame) {
this.swapDepths(this._y);
pesentagedone = Math.round((((((((((((((((((((((((((((((((((Boolean(_root.keya) + Boolean(_root.keyb)) + Boolean(_root.keyc)) + Boolean(_root.keyd)) + Boolean(_root.keye)) + Boolean(_root.keyf)) + Boolean(_root.keyg)) + Boolean(_root.keyh)) + Boolean(_root.keyi)) + Boolean(_root.keyj)) + Boolean(_root.p1)) + Boolean(_root.p2)) + Boolean(_root.p3)) + Boolean(_root.p4)) + Boolean(_root.p5)) + Boolean(_root.p6)) + Boolean(_root.p7)) + Boolean(_root.p8)) + Boolean(_root.gem1)) + Boolean(_root.gem2)) + Boolean(_root.gem3)) + Boolean(_root.gem4)) + Boolean(_root.gem5)) + Boolean(_root.aiwalka)) + Boolean(_root.aiwalkb)) + Boolean(_root.aiwalkc)) + Boolean(_root.aiwalkd)) + Boolean(_root.aiwalke)) + Boolean(_root.aiwalkf)) + Boolean(_root.aiwalkg)) + Boolean(_root.aiwalkh)) + Boolean(_root.aiwalki)) + Boolean(_root.aiwalkj)) / 33) * 100) add "%";
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
_root.getwords(_x, _y, 70, "Percent done: " add pesentagedone);
}
i = 0;
} else {
i++;
if (i == 1) {
_root.placeinfo(0, 0, 1);
}
}
}
Instance of Symbol 1607 MovieClip "objd" in Frame 10
onClipEvent (load) {
if (_root._currentframe == 10) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1607 MovieClip "obje" in Frame 10
onClipEvent (load) {
if (_root._currentframe == 10) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 415 MovieClip "objf" in Frame 10
onClipEvent (load) {
if (_root._currentframe == 10) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 415 MovieClip "obja" in Frame 10
onClipEvent (load) {
if (_root._currentframe == 10) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1623 MovieClip "objg" in Frame 10
onClipEvent (load) {
this.swapDepths(_y);
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
if (Key.isDown(_root.buttonaction)) {
if (_root.aiwalkb == true) {
_root.getwords(_x + 40, _y, 100, "Computers can tell you how much you have done. If you've done more than what it thinks you should do, you'll get a % over 100");
}
if (_root.aiwalkb == false) {
_root.getwords(_x + 40, _y, 100, "To use your inventory hold down 'I', then hover over the object you want using left and right, then let go.");
}
}
i = 0;
} else {
i++;
if (i == 1) {
_root.placeinfo(0, 0, 1);
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 10
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 446 MovieClip "changelevel" in Frame 10
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 6, 560, 60);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 10
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
changescale();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1627 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (_root._currentframe == 10) {
this.swapDepths(900);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 454 MovieClip "orbe" in Frame 10
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 11
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 1633 MovieClip "obja" in Frame 11
onClipEvent (enterFrame) {
if (_root._currentframe == 11) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1650 MovieClip "objb" in Frame 11
onClipEvent (load) {
if (_root.aiwalkj == true) {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root._currentframe == 11) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1652 MovieClip "objc" in Frame 11
onClipEvent (load) {
if (_root._currentframe == 11) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1654 MovieClip "objd" in Frame 11
onClipEvent (enterFrame) {
if (_root._currentframe == 11) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1656 MovieClip "obje" in Frame 11
onClipEvent (enterFrame) {
if (_root._currentframe == 11) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1683 MovieClip "objf" in Frame 11
onClipEvent (load) {
head.stop();
tt = false;
k = 0;
if (_root.aiwalkb == true) {
all.stop();
gotoAndStop (12);
}
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if ((_root.selecetitema == 3) & (_root.aiwalkb == false)) {
tt = true;
head.gotoAndStop(20);
}
if (tt == true) {
k++;
if (k == 1) {
if (_root.soundoff == false) {
travel = new Sound(this);
travel.attachSound("gtravel");
travel.start(0, 10);
travel.setPan(0);
travel.setVolume(200);
}
}
head.gotoAndStop(20);
this.gotoAndStop(3);
_x = (_x + ((_root.mainplayersquare._x - _x) / 4));
_y = (_y + ((_root.mainplayersquare._y - _y) / 4));
if ((((_x < (_root.mainplayersquare._x + 2)) & (_x > (_root.mainplayersquare._x - 2))) & (_y < (_root.mainplayersquare._y + 2))) & (_y > (_root.mainplayersquare._y - 2))) {
play();
travel.stop();
_root.aiwalkb = true;
tt = false;
}
} else if (((tt == false) & (_root.mainplayersquare._y > _y)) & (this._currentframe == 1)) {
head.gotoAndStop(Math.round(_root.squareb._x / 10));
}
}
Instance of Symbol 1696 MovieClip "objg" in Frame 11
onClipEvent (load) {
swapDepths(_y);
t = 0;
}
onClipEvent (enterFrame) {
if (hitTest(_root.squareb)) {
if (_root.mainbuttondowna == true) {
t++;
}
if (_root.aiwalkb == true) {
if (t == 1) {
_root.getwords(_x + 40, _y, 100, "Owww, my head really hurts. ");
}
if (t == 2) {
_root.getwords(_x + 40, _y, 100, "Try entering 'varview' into the cheat menu. See what you've done in computer talk.");
}
}
if (_root.aiwalkb == false) {
if (t == 1) {
_root.getwords(_x + 40, _y, 100, "That stupid goat-ghost ate my toast. and he slamed my head against the wall when he crahed!");
}
if (t == 2) {
_root.getwords(_x + 40, _y, 100, "ummm... he.. said something about shrooms. ahh ");
}
}
i = 1;
} else {
t = 0;
i++;
if (i == 2) {
_root.getwords(_x + 40, _y, 100, "");
}
}
}
Instance of Symbol 1699 MovieClip "walls" in Frame 11
onClipEvent (load) {
if (_root.aiwalkj == true) {
gotoAndStop (2);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 11
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
_root.changepostionb();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 454 MovieClip "orbd" in Frame 11
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 11
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
if (_root.keyb == false) {
_visible = false;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 11
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.aiwalkb == false) {
_visible = false;
} else {
_visible = true;
}
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbb" in Frame 11
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 1701 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root._currentframe == 11) {
this.swapDepths(900);
} else {
removeMovieClip(this);
}
}
Frame 12
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 1715 MovieClip "obja" in Frame 12
onClipEvent (enterFrame) {
if (_root._currentframe == 12) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1719 MovieClip "objd" in Frame 12
onClipEvent (load) {
this.swapDepths(_y);
}
onClipEvent (enterFrame) {
i++;
if (this.hitTest(_root.mainplayersquare)) {
i = 0;
if (_root.aiwalkb == false) {
_root.getwords(_x - 40, _y, 100, "Why am I here!?! beacouse that stupid goast is in there!");
}
if ((_root.aiwalkb == true) & (_root.aiwalkf != 2)) {
_root.getwords(_x - 40, _y, 100, "I hear that the Scarecrow likes to hang out in the BARN.");
}
if ((_root.aiwalkb == true) & (_root.aiwalkf == 2)) {
_root.getwords(_x - 40, _y, 100, "Try getting all of the gems. Also look around for random money parcels.");
}
}
if ((this.hitTest(_root.mainplayersquare) == false) & (i == 2)) {
_root.getwords(0, 0, 0, "");
}
}
Instance of Symbol 1721 MovieClip "objb" in Frame 12
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 1723 MovieClip "objc" in Frame 12
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 1727 MovieClip "obje" in Frame 12
onClipEvent (load) {
d = 0;
this.swapDepths(_y);
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare) == false) {
f++;
if (f == 1) {
_root.getwords(0, 0, 0, "");
}
}
if (_root.mainbuttondowna == true) {
d++;
}
if (hitTest(_root.mainplayersquare)) {
f = 0;
if (d == 1) {
_root.placeinfo(_x, _y - 60, 6);
_root.walkingdisabled = true;
}
if (d == 2) {
_root.walkingdisabled = false;
if (_root.monsterlikesme == false) {
_root.getwords(_x, _y, 60, "You stink.");
}
if (_root.monsterlikesme == true) {
_root.getwords(_x, _y, 60, "Thanks! ");
}
}
if (d == 3) {
_root.walkingdisabled = false;
if (_root.monsterlikesme == false) {
_root.getwords(_x, _y, 60, "I hate you.");
}
if (_root.monsterlikesme == true) {
_root.getwords(_x, _y, 60, "I would only go into the barn if you are armed..");
}
}
if (d == 4) {
d = 5;
_root.getwords(0, 0, 0, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 12
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1731 MovieClip "changelevel" in Frame 12
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 11, 560, 10);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 12
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 13
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 1746 MovieClip "obja" in Frame 13
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
t++;
}
if (_root.aiwalkj == true) {
if (t == 1) {
_root.walkingdisabled = true;
_root.getwords(_x, _y, 70, "dats one wambo UFO.");
}
if (t == 2) {
_root.getwords(_x, _y, 70, "Do you remmember killing off all those arliums in RD1?");
}
if (t == 3) {
_root.getwords(_x, _y, 70, "Who would have guessed they were goasts?");
_root.walkingdisabled = false;
}
}
if (_root.aiwalkj == false) {
if (t == 1) {
_root.walkingdisabled = true;
_root.getwords(_x, _y, 70, "woof! the end of this game is worth it!");
}
if (t == 2) {
_root.getwords(_x, _y, 70, "The space ship in the port can be used to travel to other worlds,");
}
if (t == 3) {
_root.getwords(_x, _y, 70, "The UFO in your house looks binged up. It can probally only go to places on earth..");
_root.walkingdisabled = false;
}
}
i = 0;
} else {
i++;
if (i == 1) {
_root.getwords(_x, _y, 40, "");
}
}
}
Instance of Symbol 1750 MovieClip "objb" in Frame 13
onClipEvent (load) {
_visible = false;
if (_root.aiwalkj == true) {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
if (_root.aiwalkj == true) {
if (this.hitTest(_root.mainplayersquare)) {
_root.getwords(_x - 75, _y, 125, "By pushing action I can take you to the city.");
if (_root.mainbuttondowna == true) {
_root.superhittest(_root.objb, 74, 675, 430);
_root.numberdestinationgoto = 74;
_root.mainplayersquarex = 675;
_root.mainplayersquarey = 430;
_root.gotoAndStop(4);
}
i = 0;
} else {
i++;
if (i == 1) {
_root.getwords(_x, _y, 40, "");
}
}
}
}
Instance of Symbol 1753 MovieClip "walls" in Frame 13
onClipEvent (load) {
gotoAndStop (1);
if (_root.aiwalkj == true) {
gotoAndStop (2);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 13
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedown();
}
onClipEvent (enterFrame) {
changescale();
swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 13
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1731 MovieClip "changelevel" in Frame 13
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 14);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 13
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orba" in Frame 13
onClipEvent (enterFrame) {
swapDepths(_y);
}
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 446 MovieClip "changelevela" in Frame 13
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 11, 490, 250);
}
Frame 14
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 1762 MovieClip "objc" in Frame 14
onClipEvent (load) {
if (_root._currentframe == 14) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1766 MovieClip "objb" in Frame 14
onClipEvent (load) {
if (_root._currentframe == 14) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1768 MovieClip "obje" in Frame 14
onClipEvent (load) {
if (_root._currentframe == 14) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1773 MovieClip "objf" in Frame 14
onClipEvent (load) {
if (_root._currentframe == 14) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1775 MovieClip "objd" in Frame 14
onClipEvent (load) {
if (_root._currentframe == 14) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1786 MovieClip "objh" in Frame 14
onClipEvent (load) {
if (_root._currentframe == 14) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1797 MovieClip "obji" in Frame 14
onClipEvent (load) {
if (_root._currentframe == 14) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 14
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 14
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = 0;
stopingpiont = 60;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = (_y - ystopingpiont) / stopingpiont;
xspeed = (_y - ystopingpiont) / stopingpiont;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1801 MovieClip "changelevela" in Frame 14
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 13, 520);
}
Instance of Symbol 1801 MovieClip "changelevelb" in Frame 14
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 16);
}
Instance of Symbol 1803 MovieClip "changeleveld" in Frame 14
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changeleveld, 23);
}
Instance of Symbol 1801 MovieClip "changelevelc" in Frame 14
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 46);
}
Instance of Symbol 1801 MovieClip "changelevele" in Frame 14
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevele, 50);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1801 MovieClip "changelevelf" in Frame 14
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelf, 61);
}
Instance of Symbol 1803 MovieClip "changelevelg" in Frame 14
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelg, 15);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 14
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 14
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbb" in Frame 14
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orba" in Frame 14
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbf" in Frame 14
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbg" in Frame 14
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 15
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 1837 MovieClip "objz" in Frame 15
onClipEvent (load) {
if (_root.aiwalkc == true) {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (_root._currentframe != 15) {
removeMovieClip(this);
}
if (_root.aiwalkc == true) {
if (this.hitTest(_root.mainplayersquare)) {
_root.getwords(_x, _y, 60, "Thanks!, you can always come back to the sandmans dreamworld, by pushin' action on me");
}
}
if (this.hitTest(_root.mainplayersquare)) {
if (_root.aiwalkc == true) {
play();
}
if (_root.mainbuttondowna == true) {
_root.superhittest(_root.objz, 63, 260, 380);
_root.numberdestinationgoto = 63;
_root.mainplayersquarex = 260;
_root.mainplayersquarey = 380;
_root.gotoAndStop(4);
}
}
}
Instance of Symbol 1863 MovieClip "objy" in Frame 15
onClipEvent (enterFrame) {
this.swapDepths(_y + 40);
if (_root._currentframe != 15) {
removeMovieClip(this);
}
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
t++;
}
if (_root.aiwalkc == true) {
if (t == 1) {
_root.walkingdisabled = true;
_root.getwords(_x, _y, 60, "For $20 I'll heal all your health. Want to?");
}
if (t == 2) {
_root.placeinfo(_x, _y - 60, 16);
}
if (t == 3) {
t = 4;
_root.walkingdisabled = false;
_root.getwords(_x, _y, 60, "");
}
}
if (_root.aiwalkc == false) {
if (t == 1) {
_root.walkingdisabled = true;
_root.getwords(_x, _y, 60, "This girl has gone nuts!");
}
if (t == 2) {
_root.getwords(_x, _y, 60, "By pushing action next to her shell take you to the sandman");
}
if (t == 3) {
_root.getwords(_x, _y, 60, "The sandman has the magic cog, if you want to know.");
}
if (t == 4) {
t = 5;
_root.walkingdisabled = false;
_root.getwords(_x, _y, 60, "");
}
}
ttt = 0;
} else {
t = 0;
ttt++;
if (ttt == 1) {
_root.getwords(_x, _y, 40, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 15
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
changescale();
this.swapDepths(_y);
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 15
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1731 MovieClip "changelevel" in Frame 15
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 14, 442, 352);
}
Instance of Symbol 454 MovieClip "orba" in Frame 15
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
if (_root._currentframe != 15) {
removeMovieClip(this);
}
}
Instance of Symbol 1521 MovieClip "orbb" in Frame 15
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 16
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 407 MovieClip in Frame 16
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 17);
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe < 5) {
play();
}
} else if (this._currentframe > 5) {
play();
}
}
Instance of Symbol 1890 MovieClip "obja" in Frame 16
onClipEvent (load) {
if (_root.p1 == false) {
gotoAndStop (1);
}
if ((_root.p1 == true) & (this._currentframe == 1)) {
gotoAndPlay (2);
play();
}
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.selecetitema == 1) {
_root.getwords(_x + 70, _y, 70, "Wow, thianks!\rwow!");
_root.p1 = true;
}
if (_root.mainbuttondowna == true) {
_root.getwords(_x + 70, _y, 70, ("I wanna get that big mushroom over there, but I dont wanna tell dad I ate it!" add unescape("%0D%0D")) add "shit.");
if (_root.keya == true) {
_root.getwords(_x + 70, _y, 70, "wow, thianks!\rwow!");
_root.p1 = true;
}
}
d = 0;
} else {
d++;
if (d == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 1894 MovieClip "objb" in Frame 16
onClipEvent (load) {
if (_root.keya == true) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 1731 MovieClip "changelevela" in Frame 16
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 14, 460, 160);
}
Instance of Symbol 1731 MovieClip "changelevelb" in Frame 16
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 17);
}
Instance of Symbol 1731 MovieClip "changelevelc" in Frame 16
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 103);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 16
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 16
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 130;
stopingpiont = 25;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 454 MovieClip "orbd" in Frame 16
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 16
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 16
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 17
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 1934 MovieClip "OBJa" in Frame 17
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
d++;
}
i = 0;
if (d == 0) {
_root.getwords(_x, _y, 70, "By pushing 'O' you can edit your options. you can also save, load and cheat.");
}
if (d == 1) {
_root.getwords(_x, _y, 70, "You can personalize your game by going into the advanced options, also in the options menu.");
}
if ((d >= 3) & (this._currentframe < 24)) {
gotoAndPlay (25);
}
} else {
i++;
if (i == 2) {
d = 0;
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 17
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedown();
}
onClipEvent (enterFrame) {
changescale();
if (_root._currentframe == 17) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 17
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 446 MovieClip "changeleveld" in Frame 17
onClipEvent (enterFrame) {
_root.superhittest(_root.changeleveld, 16, 288.2, 237.9);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 446 MovieClip "changelevel" in Frame 17
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 18);
}
Frame 18
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 1944 MovieClip "objj" in Frame 18
onClipEvent (enterFrame) {
if (_root._currentframe == 18) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1946 MovieClip "obji" in Frame 18
onClipEvent (enterFrame) {
if (_root._currentframe == 18) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1948 MovieClip "objh" in Frame 18
onClipEvent (enterFrame) {
if (_root._currentframe == 18) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1950 MovieClip "objf" in Frame 18
onClipEvent (enterFrame) {
if (_root._currentframe == 18) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1952 MovieClip "objb" in Frame 18
onClipEvent (enterFrame) {
if (_root._currentframe == 18) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
if (_root.mainplayersquare._y < (this._y - 50)) {
this._visible = false;
_root.objc._visible = false;
} else {
this._visible = true;
_root.objc._visible = true;
}
}
Instance of Symbol 1954 MovieClip "obja" in Frame 18
onClipEvent (enterFrame) {
if (_root._currentframe == 18) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1940 MovieClip "objc" in Frame 18
onClipEvent (enterFrame) {
if (_root._currentframe == 18) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1956 MovieClip "objp" in Frame 18
onClipEvent (load) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.objl._visible = true;
_root.objm._visible = true;
_root.objn._visible = true;
_root.objo._visible = true;
_root.objp._visible = true;
_root.objq._visible = true;
_root.objr._visible = true;
} else {
_root.objl._visible = false;
_root.objm._visible = false;
_root.objn._visible = false;
_root.objo._visible = false;
_root.objp._visible = false;
_root.objq._visible = false;
_root.objr._visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.objl._visible = true;
_root.objm._visible = true;
_root.objn._visible = true;
_root.objo._visible = true;
_root.objp._visible = true;
_root.objr._visible = true;
} else {
_root.objl._visible = false;
_root.objm._visible = false;
_root.objn._visible = false;
_root.objo._visible = false;
_root.objp._visible = false;
_root.objr._visible = false;
}
}
Instance of Symbol 1960 MovieClip "objm" in Frame 18
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 1962 MovieClip "objl" in Frame 18
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 2007 MovieClip "objr" in Frame 18
onClipEvent (enterFrame) {
if (this.hitTest(_root.squareb)) {
if (_root.mainbuttondowna == true) {
p++;
}
if (p == 1) {
_root.getwords(_x, _y, 100, "Yew gt deah magic comb in teh caslte, i new yew have it giz a sqizzle?");
}
if (_root.selecetitema == 6) {
p = 2;
_root.getwords(_x, _y, 100, "chchchchearz for deah shit bieahc\rnew mein heaier iz fo' teh goad of fuxxozis shit");
_root.p4 = true;
}
if ((p > 1) & (_root.p5 == true)) {
play();
}
i = 0;
} else {
i++;
if (i == 1) {
_root.getwords(_x, _y, 100, "");
}
}
}
Instance of Symbol 2019 MovieClip "OBJs" in Frame 18
onClipEvent (enterFrame) {
this.swapDepths(_y);
if ((hitTest(_root.mainplayersquare) & (_root.mainbuttondowna == true)) & (this._currentframe < 26)) {
gotoAndPlay (27);
}
if (hitTest(_root.mainplayersquare)) {
if ((_root.mainbuttondowna == true) & (_root.keye == false)) {
_root.getwords(_x, _y, 120, "You need the MAGIC cog to get into that room, biach!!");
}
if ((_root.mainbuttondowna == true) & (_root.keye == true)) {
_root.getwords(_x, _y, 120, "Go right in!");
_root.walls.gotoAndStop(2);
}
i = 0;
} else if (i < 1) {
i++;
_root.getwords(_x, _y, 70, "");
}
}
Instance of Symbol 2022 MovieClip "walls" in Frame 18
onClipEvent (enterFrame) {
}
Instance of Symbol 807 MovieClip "squareb" in Frame 18
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 18) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
_root.changepostionb();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 18
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 454 MovieClip "orba" in Frame 18
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 19
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 2038 MovieClip "obja" in Frame 19
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
_root.objc._visible = true;
i = 0;
} else {
i++;
if (i > 2) {
_root.objc._visible = false;
_visible = false;
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 19
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = -200;
stopingpiont = 60;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.changepostionb();
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 2046 MovieClip "objb" in Frame 19
onClipEvent (load) {
h = 0;
i = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
i = 0;
if (_root.mainbuttondowna == true) {
if (_root.keyj == 2) {
_root.getwords(_x, _y - 40, 70, "Go away");
}
if (_root.keyj == 1) {
_root.getwords(_x, _y - 40, 70, "Hello, there. Want another vampire charm?");
_root.keyj = 2;
}
if (_root.keyj == 0) {
_root.getwords(_x, _y - 40, 70, "Go away");
}
}
}
if (hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
if (_root.selecetitema == 10) {
gotoAndPlay (2);
_root.keya = false;
}
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2049 MovieClip "cc" in Frame 19
onClipEvent (enterFrame) {
if (_root._currentframe != 19) {
removeMovieClip(this);
} else {
this.swapDepths(_y);
}
name = _root.cc;
nameb = _root.bb;
namea = _root.dd;
if (t == false) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (i == 1) {
if (nameb.t == false) {
nameb.t = true;
} else {
nameb.t = false;
}
if (namea.t == false) {
namea.t = true;
} else {
namea.t = false;
}
if (name.t == false) {
name.t = true;
} else {
name.t = false;
}
}
i--;
if (hitTest(_root.mainplayersquare) & (_root.mainbuttondowna == true)) {
activate = new Sound(this);
activate.attachSound("activate");
activate.start(0, 0);
i = 1;
}
}
Instance of Symbol 2049 MovieClip "bb" in Frame 19
onClipEvent (enterFrame) {
if (_root._currentframe != 19) {
removeMovieClip(this);
} else {
this.swapDepths(_y);
}
name = _root.aa;
nameb = _root.bb;
namea = _root.cc;
if (t == false) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (i == 1) {
if (nameb.t == false) {
nameb.t = true;
} else {
nameb.t = false;
}
if (namea.t == false) {
namea.t = true;
} else {
namea.t = false;
}
if (name.t == false) {
name.t = true;
} else {
name.t = false;
}
}
i--;
if (hitTest(_root.mainplayersquare) & (_root.mainbuttondowna == true)) {
activate = new Sound(this);
activate.attachSound("activate");
activate.start(0, 0);
i = 1;
}
}
Instance of Symbol 2049 MovieClip "aa" in Frame 19
onClipEvent (load) {
_root.aa.t = true;
_root.bb.t = true;
_root.cc.t = true;
_root.dd.t = true;
_root.ee.t = true;
_root.ff.t = true;
_root.gg.t = true;
_root.hh.t = true;
}
onClipEvent (enterFrame) {
if (_root._currentframe != 19) {
removeMovieClip(this);
} else {
this.swapDepths(_y);
}
if ((((((((_root.aa.t == false) & (_root.bb.t == false)) & (_root.cc.t == false)) & (_root.dd.t == false)) & (_root.ee.t == false)) & (_root.ff.t == false)) & (_root.gg.t == false)) & (_root.hh.t == false)) {
timerbbb++;
if (timerbbb == 1) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
_root.back.gotoAndStop(2);
_root.walls.gotoAndStop(2);
}
} else {
timerbbb = 0;
}
name = _root.aa;
nameb = _root.bb;
namea = _root.hh;
if (t == false) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (i == 1) {
if (nameb.t == false) {
nameb.t = true;
} else {
nameb.t = false;
}
if (namea.t == false) {
namea.t = true;
} else {
namea.t = false;
}
if (name.t == false) {
name.t = true;
} else {
name.t = false;
}
}
i--;
if (hitTest(_root.mainplayersquare) & (_root.mainbuttondowna == true)) {
activate = new Sound(this);
activate.attachSound("activate");
activate.start(0, 0);
i = 1;
}
}
Instance of Symbol 2049 MovieClip "hh" in Frame 19
onClipEvent (enterFrame) {
if (_root._currentframe != 19) {
removeMovieClip(this);
} else {
this.swapDepths(_y);
}
name = _root.hh;
nameb = _root.aa;
namea = _root.gg;
if (t == false) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (i == 1) {
if (nameb.t == false) {
nameb.t = true;
} else {
nameb.t = false;
}
if (namea.t == false) {
namea.t = true;
} else {
namea.t = false;
}
if (name.t == false) {
name.t = true;
} else {
name.t = false;
}
}
this.i--;
if (hitTest(_root.mainplayersquare) & (_root.mainbuttondowna == true)) {
activate = new Sound(this);
activate.attachSound("activate");
activate.start(0, 0);
this.i = 1;
}
}
Instance of Symbol 2049 MovieClip "dd" in Frame 19
onClipEvent (enterFrame) {
if (_root._currentframe != 19) {
removeMovieClip(this);
} else {
this.swapDepths(_y);
}
name = _root.cc;
nameb = _root.dd;
namea = _root.ee;
if (t == false) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (i == 1) {
if (nameb.t == false) {
nameb.t = true;
} else {
nameb.t = false;
}
if (namea.t == false) {
namea.t = true;
} else {
namea.t = false;
}
if (name.t == false) {
name.t = true;
} else {
name.t = false;
}
}
i--;
if (hitTest(_root.mainplayersquare) & (_root.mainbuttondowna == true)) {
activate = new Sound(this);
activate.attachSound("activate");
activate.start(0, 0);
i = 1;
}
}
Instance of Symbol 2049 MovieClip "ee" in Frame 19
onClipEvent (enterFrame) {
if (_root._currentframe != 19) {
removeMovieClip(this);
} else {
this.swapDepths(_y);
}
name = _root.dd;
nameb = _root.ee;
namea = _root.ff;
if (t == false) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (i == 1) {
if (nameb.t == false) {
nameb.t = true;
} else {
nameb.t = false;
}
if (namea.t == false) {
namea.t = true;
} else {
namea.t = false;
}
if (name.t == false) {
name.t = true;
} else {
name.t = false;
}
}
i--;
if (hitTest(_root.mainplayersquare) & (_root.mainbuttondowna == true)) {
activate = new Sound(this);
activate.attachSound("activate");
activate.start(0, 0);
i = 1;
}
}
Instance of Symbol 2049 MovieClip "ff" in Frame 19
onClipEvent (enterFrame) {
if (_root._currentframe != 19) {
removeMovieClip(this);
} else {
this.swapDepths(_y);
}
name = _root.ee;
nameb = _root.ff;
namea = _root.gg;
if (t == false) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (i == 1) {
if (nameb.t == false) {
nameb.t = true;
} else {
nameb.t = false;
}
if (namea.t == false) {
namea.t = true;
} else {
namea.t = false;
}
if (name.t == false) {
name.t = true;
} else {
name.t = false;
}
}
i--;
if (hitTest(_root.mainplayersquare) & (_root.mainbuttondowna == true)) {
activate = new Sound(this);
activate.attachSound("activate");
activate.start(0, 0);
i = 1;
}
}
Instance of Symbol 2049 MovieClip "gg" in Frame 19
onClipEvent (enterFrame) {
if (_root._currentframe != 19) {
removeMovieClip(this);
} else {
this.swapDepths(_y);
}
name = _root.ff;
nameb = _root.gg;
namea = _root.hh;
if (t == false) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
if (i == 1) {
if (nameb.t == false) {
nameb.t = true;
} else {
nameb.t = false;
}
if (namea.t == false) {
namea.t = true;
} else {
namea.t = false;
}
if (name.t == false) {
name.t = true;
} else {
name.t = false;
}
}
this.i--;
if (hitTest(_root.mainplayersquare) & (_root.mainbuttondowna == true)) {
activate = new Sound(this);
activate.attachSound("activate");
activate.start(0, 0);
this.i = 1;
}
}
Instance of Symbol 2058 MovieClip "objc" in Frame 19
onClipEvent (enterFrame) {
this.swapDepths(_y);
NUMBERSTATE = 6;
if (_root.aiwalke != NUMBERSTATE) {
gotoAndStop (8);
}
if (hitTest(_root.mainplayersquare)) {
if ((_root.mainbuttondowna == true) & (this._currentframe == 1)) {
_root.getwords(_x, _y, 120, "Well, you found me. I suppose you want something for your little escapade? hmmm?");
_root.relatione = true;
_root.mainbar.keye._visible = true;
}
} else if (i < 1) {
i++;
_root.getwords(_x, _y, 70, "");
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 19
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
if (_root._currentframe == 19) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 446 MovieClip "changeleveld" in Frame 19
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changeleveld, 104, 470, -127);
}
Frame 20
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 446 MovieClip "changelevel" in Frame 20
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 18, 620, 130);
}
Instance of Symbol 413 MovieClip "objb" in Frame 20
onClipEvent (load) {
if (_root._currentframe == 20) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 1958 MovieClip "obje" in Frame 20
onClipEvent (load) {
if (_root._currentframe == 20) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 415 MovieClip "objc" in Frame 20
onClipEvent (enterFrame) {
if (_root._currentframe == 20) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 411 MovieClip "obja" in Frame 20
onClipEvent (enterFrame) {
pesentagedone = Math.round((((((((((((((((((((((((((((((((((Boolean(_root.keya) + Boolean(_root.keyb)) + Boolean(_root.keyc)) + Boolean(_root.keyd)) + Boolean(_root.keye)) + Boolean(_root.keyf)) + Boolean(_root.keyg)) + Boolean(_root.keyh)) + Boolean(_root.keyi)) + Boolean(_root.keyj)) + Boolean(_root.p1)) + Boolean(_root.p2)) + Boolean(_root.p3)) + Boolean(_root.p4)) + Boolean(_root.p5)) + Boolean(_root.p6)) + Boolean(_root.p7)) + Boolean(_root.p8)) + Boolean(_root.gem1)) + Boolean(_root.gem2)) + Boolean(_root.gem3)) + Boolean(_root.gem4)) + Boolean(_root.gem5)) + Boolean(_root.aiwalka)) + Boolean(_root.aiwalkb)) + Boolean(_root.aiwalkc)) + Boolean(_root.aiwalkd)) + Boolean(_root.aiwalke)) + Boolean(_root.aiwalkf)) + Boolean(_root.aiwalkg)) + Boolean(_root.aiwalkh)) + Boolean(_root.aiwalki)) + Boolean(_root.aiwalkj)) / 33) * 100) add "%";
if (area.hitTest(_root.mainplayersquare) & (_root.mainbuttondowna == true)) {
_root.getwords(_x, _y, 70, "Percent done: " add pesentagedone);
}
if (_root._currentframe == 20) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 417 MovieClip "objd" in Frame 20
onClipEvent (enterFrame) {
if (_root._currentframe == 20) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 407 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe < 5) {
play();
}
} else if (this._currentframe > 5) {
play();
}
}
Instance of Symbol 2075 MovieClip "objf" in Frame 20
onClipEvent (load) {
this.swapDepths(_y);
i = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.squareb)) {
if (_root.mainbuttondowna == true) {
_root.getwords(_x, _y + 20, 100, "No, way! bugger off! not even if im trippin");
}
if ((_root.selecetitema == 1) | (_root.selecetitema == 3)) {
play();
}
hh = 0;
} else {
hh++;
if (hh == 1) {
_root.getwords(_x, _y + 20, 100, "");
}
}
}
Instance of Symbol 2080 MovieClip "objg" in Frame 20
onClipEvent (load) {
this.swapDepths(_y);
}
onClipEvent (enterFrame) {
swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_currentframe != 4) {
play();
}
_root.getwords(_x, _y, 120, "See my sister over there, shes such a slut!\rShe'll will let you rub her snatch!");
i = 0;
if (Key.isDown(_root.buttonaction)) {
}
} else {
gotoAndPlay (1);
if (i < 1) {
i++;
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 20
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
swapDepths(_y);
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 20
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = -100;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 454 MovieClip "orbd" in Frame 20
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 21
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 2093 MovieClip "obja" in Frame 21
onClipEvent (load) {
this.swapDepths(_y);
}
onClipEvent (enterFrame) {
if ((cub._currentframe == 7) & (_root.money0 == false)) {
_root.money0 = true;
_root.getwords(_x + 20, _y, 70, "You found renovation money -$100");
_root.money = _root.money + 100;
}
if (hitTest(_root.mainplayersquare)) {
if (Key.isDown(_root.buttonaction)) {
this.cub.play();
}
}
}
Instance of Symbol 2096 MovieClip "a" in Frame 21
onClipEvent (enterFrame) {
if (_root.currantdress == 1) {
a._visible = true;
} else {
a._visible = false;
}
if ((_root.currantdress == 4) | (_root.currantdress == 5)) {
b._visible = true;
} else {
b._visible = false;
}
if ((_root.currantdress == 2) | (_root.currantdress == 3)) {
c._visible = true;
} else {
c._visible = false;
}
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
play();
_root.squareb._visible = false;
_root.walkingdisabled = true;
}
}
Instance of Symbol 2108 MovieClip "objf" in Frame 21
onClipEvent (enterFrame) {
this.swapDepths(_y + 5);
if (hitTest(_root.squareb)) {
if (_root.mainbuttondowna == true) {
i = 0;
if (_root.aiwalkb == true) {
_root.getwords(_x - 40, _y, 100, "You know what, you should really get rid of that UFO before dad gets home.");
_root.keyc = true;
}
if (_root.aiwalkb == false) {
_root.getwords(_x - 40, _y, 100, "Trust me, its not what it looks like, honest!\rBut you can get this 'paper bag'!");
_root.keyc = true;
}
}
} else {
i++;
if (i == 1) {
_root.placeinfo(0, 0, 0);
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 21
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.squareb._visible = true;
_root.faceupleft();
}
onClipEvent (enterFrame) {
changescale();
this.swapDepths(_y);
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 21
onClipEvent (load) {
_root.facedown();
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 446 MovieClip "changelevel" in Frame 21
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 11, 361, 312);
}
Frame 22
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 2114 MovieClip "objk" in Frame 22
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 2119 MovieClip "objf" in Frame 22
onClipEvent (enterFrame) {
if (_root._currentframe == 22) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2121 MovieClip "obje" in Frame 22
onClipEvent (enterFrame) {
if (_root._currentframe == 22) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2127 MovieClip "obji" in Frame 22
onClipEvent (enterFrame) {
if (_root._currentframe == 22) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2129 MovieClip "objd" in Frame 22
onClipEvent (enterFrame) {
if (_root._currentframe == 22) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2131 MovieClip "objg" in Frame 22
onClipEvent (enterFrame) {
if (_root._currentframe == 22) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2133 MovieClip "objc" in Frame 22
onClipEvent (enterFrame) {
if (_root._currentframe == 22) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2135 MovieClip "obja" in Frame 22
onClipEvent (enterFrame) {
if (_root._currentframe == 22) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2137 MovieClip "objb" in Frame 22
onClipEvent (enterFrame) {
if (_root._currentframe == 22) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2139 MovieClip "objh" in Frame 22
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
_root.walkingdisabled = false;
if (i == 1) {
_root.placeinfo(_x - 50, _y, 3);
_root.walkingdisabled = true;
}
if (i == 2) {
_root.placeinfo(0, 0, "");
}
if (i == 3) {
_root.walkingdisabled = false;
_root.objj._visible = false;
}
if (_root.mainbuttondowna == true) {
i++;
}
} else {
i = 0;
k = 0;
_root.placeinfo(0, 0, "");
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 22
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
stopingpiont = 135;
ystopingpiont = -250;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
yspeed = (this._y - ystopingpiont) / stopingpiont;
xspeed = (this._y - ystopingpiont) / stopingpiont;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 22
onClipEvent (load) {
function changescale() {
vanishingpiont = 300;
vanishingpiontscale = 12;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
_root.changepostionb();
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 22) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
changescale();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 446 MovieClip "changelevel" in Frame 22
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 18, 320.1, 293);
}
Instance of Symbol 446 MovieClip "changelevelb" in Frame 22
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 45);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 22
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 2144 MovieClip "objj" in Frame 22
onClipEvent (load) {
this.swapDepths(_y);
_visible = false;
}
Frame 23
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2188 MovieClip "OBJa" in Frame 23
onClipEvent (enterFrame) {
this.swapDepths(_y);
if ((_root.selecetitema == 5) & hitTest(_root.mainplayersquare)) {
_root.aiwalkg = true;
}
if (_root.aiwalkg == true) {
i = 0;
_root.walls.gotoAndStop(2);
if (hitTest(_root.mainplayersquare)) {
_root.getwords(440, 190, 70, "That gear hits the spot!!");
}
if (_currentframe < 106) {
gotoAndPlay (107);
}
}
if (_root.aiwalkg == false) {
i = 0;
if (hitTest(_root.mainplayersquare)) {
_root.getwords(_x, _y, 70, "You need the magic cog to get in to the mistic forest");
}
_root.walls.gotoAndStop(1);
}
if (_root.selecetitema == 5) {
_root.aiwalkd = true;
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2193 MovieClip in Frame 23
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.gem1 == true) {
this._visible = false;
} else {
this._visible = true;
}
if (this.hitTest(_root.mainplayersquare) & (_visible == true)) {
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
_root.gem1 = true;
}
}
Instance of Symbol 2200 MovieClip in Frame 23
onClipEvent (enterFrame) {
if (_root.soundoff == false) {
i = Math.random(1) * 10;
d = Math.round(Math.random(1) * 6);
if (i >= 9.5) {
soundd = new Sound(this);
if (d == 0) {
soundd.attachSound("bird1");
}
if (d == 1) {
soundd.attachSound("bird2");
}
if (d == 2) {
soundd.attachSound("bird3");
}
if (d == 3) {
soundd.attachSound("bird4");
}
if (d == 4) {
soundd.attachSound("bird5");
}
soundd.setVolume(50);
soundd.start(0, 0);
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 23
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
changescale();
if (_root._currentframe == 23) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 23
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 14, 500, 140);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 23
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
stopingpiont = 75;
ystopingpiont = -150;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 23
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 24);
}
Instance of Symbol 1803 MovieClip "changelevelc" in Frame 23
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 24, 40, 214);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 23
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 24
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2225 MovieClip "OBJa" in Frame 24
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.getwords(_x, _y, 55, "I cant get free! try getting some sort of cutting object!");
i = 0;
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 24
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
stopingpiont = 80;
ystopingpiont = -500;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 24
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 24) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
changescale();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 24
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 23, 347.6, 130);
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 24
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 25);
}
Instance of Symbol 1803 MovieClip "changelevelc" in Frame 24
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 27);
}
Instance of Symbol 1803 MovieClip "changeleveld" in Frame 24
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changeleveld, 25, 60, 275);
}
Instance of Symbol 1803 MovieClip "changelevele" in Frame 24
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevele, 23, 404.6, 57);
}
Instance of Symbol 454 MovieClip "orbb" in Frame 24
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orba" in Frame 24
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 25
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2237 MovieClip "objb" in Frame 25
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 2257 MovieClip "OBJa" in Frame 25
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
i = 0;
if (((_root.mainbuttondowna == true) & (this._currentframe < 24)) & (_root.p3 == true)) {
gotoAndPlay (25);
}
if (_root.p3 == true) {
_root.getwords(_x, _y, 70, "jou can cross this brige");
}
if (_root.p3 == false) {
_root.getwords(_x, _y, 70, "jou need the thrid star to cross this brige");
}
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2260 MovieClip "walls" in Frame 25
onClipEvent (enterFrame) {
if (_root.p3 == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 25
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceup();
}
onClipEvent (enterFrame) {
swapDepths(_y);
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 25
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 24, 534.5, 343);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 25
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = 50;
stopingpiont = 55;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 2261 MovieClip "changelevela" in Frame 25
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 26);
}
Instance of Symbol 1803 MovieClip "changelevelc" in Frame 25
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 29);
}
Instance of Symbol 1803 MovieClip "changeleveld" in Frame 25
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changeleveld, 24, 550, 200);
}
Instance of Symbol 1803 MovieClip "changelevele" in Frame 25
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevele, 31);
}
Instance of Symbol 1803 MovieClip "changelevelf" in Frame 25
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelf, 44);
}
Instance of Symbol 454 MovieClip "orbf" in Frame 25
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 26
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2290 MovieClip "objc" in Frame 26
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.squareb)) {
if (_root.selecetitema == 7) {
play();
}
_root.getwords(_x, _y, 70, "Yo nE4d teh SPAC\u00C9 MAP too tRavil \u00A5o platEz. Afta yew C@n g\u00BBt teah sPaCe crystalz !");
} else {
_root.getwords(_x + 40, _y, 100, "");
}
}
onClipEvent (load) {
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 26
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
stopingpiont = 50;
ystopingpiont = -200;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 26
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
changescale();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2261 MovieClip "changelevel" in Frame 26
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 25, 510, 250);
}
Frame 27
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2325 MovieClip "OBJa" in Frame 27
onClipEvent (load) {
if (_root.aiwalkh == true) {
gotoAndPlay (26);
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 27
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 24, 289.6, 387.9);
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 27
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 28);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 27
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 27
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 27
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = -100;
stopingpiont = 60;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 27
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Frame 28
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2332 MovieClip "obja" in Frame 28
onClipEvent (load) {
if (_root._currentframe == 28) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2325 MovieClip "OBJb" in Frame 28
onClipEvent (load) {
if (_root.aiwalkh == true) {
gotoAndPlay (26);
}
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare) & (_root.aiwalkh == false)) {
_root.getwords(_x - 50, _y, 70, "I can't stop.... worshiping...");
i = 0;
}
if (hitTest(_root.mainplayersquare) & (_root.aiwalkh == true)) {
_root.getwords(_x - 50, _y, 70, "Wow! thanks! here is a star for helping me!");
_root.p7 = true;
i = 0;
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 28
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 27, 260, 230);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 28
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = 0;
stopingpiont = 30;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 28
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceup();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Frame 29
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2345 MovieClip "obja" in Frame 29
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
i = 0;
if (_root.mainbuttondowna == true) {
t++;
}
if (((t == 1) & (_root.aiwalki == false)) & (_root.keyi == true)) {
_root.getwords(_x, _y, 70, "Go see the girl under the waterfall...");
_root.dressenabe2 = true;
}
if (((t == 1) & (_root.aiwalki == true)) & (_root.keyi == true)) {
_root.getwords(_x, _y, 70, "Here is your swimsuit");
_root.dressenabe2 = true;
}
if ((t == 1) & (_root.dressenabe2 == false)) {
_root.getwords(_x, _y, 70, "I can help you get a swimsuit! ");
}
if (((t == 1) & (_root.aiwalki == true)) & (_root.keyi == false)) {
_root.getwords(_x, _y, 70, "All you need now is the clothes basket");
_root.dressenabe2 = true;
}
if (((t == 2) & (_root.aiwalki == true)) & (_root.keyi == true)) {
_root.getwords(_x, _y, 70, "Now go find a place to change.");
}
if ((t == 2) & (_root.dressenabe2 == false)) {
_root.getwords(_x, _y, 70, "But first you must see the bitch under the waterfall. She'll help me get it for you, you also need a clothes basket");
}
if (t == 3) {
_root.getwords(_x, _y, 70, "");
}
if ((t == 4) & (_currentframe == 1)) {
play();
t = 5;
}
}
if (this.hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 29
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupright();
}
onClipEvent (enterFrame) {
swapDepths(_y);
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 29
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 25, 400, 200);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 29
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = 50;
stopingpiont = 25;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 2261 MovieClip "changelevela" in Frame 29
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 30);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 29
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 30
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2351 MovieClip "obja" in Frame 30
onClipEvent (load) {
if (_root._currentframe == 30) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 30
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this.swapDepths(_root.mainplayersquare._y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 30
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 29, 400, 130);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 30
onClipEvent (load) {
_visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 100;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
mountainhight = 270;
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
_root.squareb._y = _y;
_root.squareb._x = _x;
if (_y < mountainhight) {
_root.squareb._y = (mountainhight - _y) + mountainhight;
}
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 2261 MovieClip "changelevela" in Frame 30
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 36);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 30
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 31
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2370 MovieClip "OBJa" in Frame 31
onClipEvent (load) {
if (_root.aiwalkh == true) {
gotoAndStop (20);
}
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.selecetitema == 1) {
play();
_root.keya = false;
}
if (_root.selecetitema == 9) {
_root.aiwalkh = true;
}
if ((_root.mainbuttondowna == true) & (_root.aiwalkh == true)) {
_root.getwords(_x, _y, 70, "Thanks!!!");
}
if ((_root.mainbuttondowna == true) & (_root.aiwalkh == false)) {
_root.getwords(_x, _y, 70, "Please, help me find some clothes!");
}
i = 0;
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 31
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
stopingpiont = 80;
ystopingpiont = -500;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 31
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
changescale();
gotoAndStop(_root.personnumber);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 31
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 25, 40, 150);
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 31
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 32);
}
Instance of Symbol 1803 MovieClip "changelevele" in Frame 31
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevele, 44);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 31
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 32
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2376 MovieClip "obja" in Frame 32
onClipEvent (load) {
if (_root._currentframe == 32) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 32
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceup();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 32) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
changescale();
gotoAndStop(_root.personnumber);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 32
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 31, 235, 240);
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 32
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 33);
}
Frame 33
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 33
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
stopingpiont = 80;
ystopingpiont = -500;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 33
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 33) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
changescale();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 33
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 32, 260, 230);
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 33
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 34);
}
Instance of Symbol 2328 MovieClip "changelevelc" in Frame 33
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 35, 300, 350);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 33
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 34
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 2389 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root._currentframe == 34) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2193 MovieClip in Frame 34
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.gem2 == true) {
this._visible = false;
} else {
this._visible = true;
}
if (this.hitTest(_root.mainplayersquare) & (_visible == true)) {
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
_root.gem2 = true;
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 34
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 34) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
changescale();
gotoAndStop(_root.personnumber);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 34
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 33, 270, 270);
}
Frame 35
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 2393 MovieClip "back" in Frame 35
onClipEvent (enterFrame) {
if (_root.movea.hitTest(_root.mainplayersquare)) {
_root.back._visible = false;
} else {
_root.back._visible = true;
if (_root.moveb.hitTest(_root.mainplayersquare)) {
_root.back._visible = false;
} else {
_root.back._visible = true;
if (_root.movec.hitTest(_root.mainplayersquare)) {
_root.back._visible = false;
} else {
_root.back._visible = true;
if (_root.moved.hitTest(_root.mainplayersquare)) {
_root.back._visible = false;
} else {
_root.back._visible = true;
}
}
}
}
}
Instance of Symbol 2409 MovieClip "OBJe" in Frame 35
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
if (_root.p5 == true) {
play();
}
_root.getwords(_x - 40, _y, 70, "All the gems are very valuable.");
i = 0;
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 1803 MovieClip "changelevel" in Frame 35
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 33, 516, 313);
}
Instance of Symbol 2411 MovieClip "objc" in Frame 35
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
_root.objd._visible = true;
} else {
_visible = false;
_root.objd._visible = false;
}
}
Instance of Symbol 2413 MovieClip "objb" in Frame 35
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
if (_root.gem7 == false) {
_root.objf._visible = true;
}
} else {
_visible = false;
_root.objf._visible = false;
}
}
Instance of Symbol 2415 MovieClip "obja" in Frame 35
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 454 MovieClip "orbe" in Frame 35
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 2425 MovieClip "objd" in Frame 35
onClipEvent (load) {
this.swapDepths(_y);
}
onClipEvent (enterFrame) {
if (_currentframe == 8) {
if (_root.money1 == false) {
_root.money1 = true;
_root.getwords(_x + 10, _y, 30, "You found gold coins!-$50");
_root.money = _root.money + 50;
}
}
if (_root.selecetitema == 2) {
play();
}
}
Instance of Symbol 2193 MovieClip "objf" in Frame 35
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare) & (_visible == true)) {
_root.gem7 = true;
this._visible = false;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 35
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 35
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -100;
stopingpiont = 70;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Frame 36
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2442 MovieClip "objc" in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
}
Instance of Symbol 2444 MovieClip "obja" in Frame 36
onClipEvent (enterFrame) {
if (_root._currentframe == 36) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
if (this.hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
}
Instance of Symbol 2447 MovieClip "objb" in Frame 36
onClipEvent (enterFrame) {
if (_root._currentframe == 36) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
if (this.hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
}
Instance of Symbol 2447 MovieClip "obje" in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
}
Instance of Symbol 2448 MovieClip "objd" in Frame 36
onClipEvent (enterFrame) {
if (_root._currentframe == 36) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
if (this.hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
}
Instance of Symbol 2444 MovieClip "objf" in Frame 36
onClipEvent (enterFrame) {
if (_root._currentframe == 36) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
if (this.hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
}
Instance of Symbol 2448 MovieClip "objg" in Frame 36
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
}
Instance of Symbol 2447 MovieClip "objk" in Frame 36
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
}
Instance of Symbol 2444 MovieClip "obji" in Frame 36
onClipEvent (enterFrame) {
if (_root._currentframe == 36) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
if (this.hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
}
Instance of Symbol 2448 MovieClip "objj" in Frame 36
onClipEvent (enterFrame) {
if (_root._currentframe == 36) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
if (this.hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
}
Instance of Symbol 2444 MovieClip "objl" in Frame 36
onClipEvent (enterFrame) {
if (_root._currentframe == 36) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
if (this.hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
}
Instance of Symbol 2465 MovieClip "objn" in Frame 36
onClipEvent (load) {
k = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if ((_root.selecetitema == 1) & (_root.aiwalkf == 2)) {
play();
_root.keya = false;
}
if (_root.mainbuttondowna == true) {
k++;
}
if (_root.aiwalkf == 0) {
if (k == 1) {
_root.getwords(_x + 70, _y, 70, "I love talking to my best friend the scarecrow, he just understands me so well!");
}
if (k == 2) {
_root.getwords(_x + 70, _y, 70, "I used to work in the castle over there, untill that bitch of a princess kicked me out.");
}
if (k == 3) {
_root.getwords(_x + 70, _y, 70, "Now I spend all my time talking to the scarecrow, he is rather stupid, and has a bad temper, but he loves my boots!");
}
}
if (_root.aiwalkf == 1) {
if (k == 1) {
_root.getwords(_x + 70, _y, 70, "Hey, wheres my talking buddy?! get my talking buddy back!!! ill give you a star!");
}
if (k == 2) {
_root.getwords(_x + 70, _y, 70, "It gets so lonely out here, and hes the most girly person I know, you know New Zealand girls,they drink beer,");
}
if (k == 3) {
_root.getwords(_x + 70, _y, 70, "And see how many guys they can nail in one night, I just want someone to talk about my cosmetics and such..");
}
}
if (_root.aiwalkf == 2) {
if (k == 1) {
_root.getwords(_x + 70, _y, 70, "You did WHAT to my poo-poo!?");
}
if (k == 2) {
_root.getwords(_x + 70, _y, 70, "Well your not getting my star now");
}
if (k == 3) {
_root.getwords(_x + 70, _y, 70, "Actually I wasnt gonn give it to you anyway.");
}
}
d = 0;
} else {
k = 0;
d++;
if (d == 2) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2479 MovieClip "objp" in Frame 36
onClipEvent (load) {
if (_root.aiwalkf != 0) {
gotoAndStop (25);
}
t = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(this._y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
t++;
}
if (t == 1) {
_root.walkingdisabled = true;
_root.getwords(_x - 50, _y, 150, "Get me off from here and I can make it your worth while! I've been tied here to scare birds away that dont exsist!");
}
if (t == 2) {
_root.getwords(_x - 50, _y, 150, "I dont trust shackespare, he is a nut, and pantera is the only music worth listing to! I think I'm gonna go gay!");
}
if (t == 3) {
_root.getwords(_x - 50, _y, 150, "So push action next to me!!! I cant take it any more!! I hate make up!! I need to get drink right now!!");
}
if (t == 4) {
_root.getwords(_x - 50, _y, 150, "");
_root.walkingdisabled = false;
_root.objn.k = 0;
}
if (t > 4) {
_root.aiwalkf = 1;
play();
}
i = 0;
} else {
i++;
if (i == 1) {
_root.getwords(_x, _y, 40, "");
}
}
}
Instance of Symbol 2200 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.soundoff == false) {
i = Math.random(1) * 10;
d = Math.round(Math.random(1) * 6);
if (i >= 9.5) {
soundd = new Sound(this);
if (d == 0) {
soundd.attachSound("bird1");
}
if (d == 1) {
soundd.attachSound("bird2");
}
if (d == 2) {
soundd.attachSound("bird3");
}
if (d == 3) {
soundd.attachSound("bird4");
}
if (d == 4) {
soundd.attachSound("bird5");
}
soundd.setVolume(50);
soundd.start(0, 0);
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 36
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
stopingpiont = 80;
ystopingpiont = -500;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 36
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceup();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 36) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
changescale();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 36
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 30, 270, 270);
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 36
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 37);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 36
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 37
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2490 MovieClip "objb" in Frame 37
onClipEvent (load) {
if (_root._currentframe == 37) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2492 MovieClip "obja" in Frame 37
onClipEvent (load) {
if (_root._currentframe == 37) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 37
onClipEvent (load) {
_visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 0;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 37
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 37
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 36, 270, 230);
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 37
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 38);
}
Instance of Symbol 2328 MovieClip "changelevelc" in Frame 37
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 87);
}
Instance of Symbol 2328 MovieClip "changeleveld" in Frame 37
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changeleveld, 88);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 37
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbb" in Frame 37
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 38
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2517 MovieClip "drawbrige" in Frame 38
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
_root.walls.gotoAndStop(1);
} else {
_root.walls.gotoAndStop(2);
}
}
Instance of Symbol 2519 MovieClip "obja" in Frame 38
onClipEvent (load) {
this.swapDepths(_y);
playingbackwards = false;
}
onClipEvent (enterFrame) {
if (_root.currantdress != 1) {
_root.drawbrige.gotoAndStop(11);
}
if (_root.drawbrige._currentframe == 11) {
_root.walls.gotoAndStop(2);
} else {
_root.walls.gotoAndStop(1);
}
if (_root.drawbrige._currentframe == 1) {
playingbackwards = false;
}
if (playingbackwards == true) {
_root.drawbrige.gotoAndStop(_root.drawbrige._currentframe - 1);
_root.objb.play();
}
if (this.hitTest(_root.mainplayersquare) & (_root.mainbuttondowna == true)) {
if (_root.drawbrige._currentframe == 11) {
playingbackwards = true;
}
if (_root.drawbrige._currentframe == 1) {
_root.drawbrige.play();
}
if (_root.soundoff == false) {
a = new Sound(this);
a.attachSound("Switch");
a.start(0, 0);
a.setPan((_y / 3) - 100);
}
}
}
Instance of Symbol 2554 MovieClip "OBJb" in Frame 38
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
i = 0;
if (_root.currantdress == 1) {
_root.getwords(_x, _y - 40, 70, "hello there! you must be dressed formally to be let in the castle, I would suppose School uni will be alright.");
}
if ((_root.currantdress == 2) | (_root.currantdress == 3)) {
_root.getwords(_x, _y - 40, 70, "ahhh, not with guns");
}
if ((_root.currantdress == 4) | (_root.currantdress == 5)) {
_root.getwords(_x, _y - 40, 70, "Going for a swim in a castle?");
}
if ((hitTest(_root.mainplayersquare) & (this._currentframe < 17)) & (_root.selecetitema == 2)) {
gotoAndPlay (18);
}
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 38
onClipEvent (load) {
_visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 50;
stopingpiont = 40;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 38
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupright();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 38
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 37, 160, 130);
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 38
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 39);
}
Frame 39
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 807 MovieClip "squareb" in Frame 39
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupright();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 39) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
_root.changepostionb();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 39
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
yspeed = 1.45 * _root.speedtimes;
xspeed = 2.5 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 2566 MovieClip "obja" in Frame 39
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.staircasevisiblea == true) {
if (Key.isDown(38)) {
if (this.hitTest(_root.mainplayersquare)) {
_root.walls.gotoAndStop(1);
_root.obje._visible = true;
_root.objf._visible = true;
_root.objh._visible = true;
_root.obji._visible = true;
}
}
if (Key.isDown(40)) {
if (this.hitTest(_root.mainplayersquare)) {
_root.walls.gotoAndStop(2);
_root.obje._visible = false;
_root.objf._visible = false;
_root.objh._visible = false;
_root.obji._visible = false;
}
}
}
}
Instance of Symbol 2566 MovieClip "objb" in Frame 39
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.staircasevisiblea == true) {
if (Key.isDown(38)) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.walls.gotoAndStop(1);
_root.obje._visible = true;
_root.objf._visible = true;
_root.objh._visible = true;
_root.obji._visible = true;
}
}
if (Key.isDown(40)) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.walls.gotoAndStop(2);
_root.obje._visible = false;
_root.objf._visible = false;
_root.objh._visible = false;
_root.obji._visible = false;
}
}
}
}
Instance of Symbol 2568 MovieClip "objj" in Frame 39
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.staircasevisiblea = true;
_root.objd._visible = true;
} else {
_root.staircasevisiblea = false;
_root.objd._visible = false;
_root.obje._visible = false;
_root.objf._visible = false;
_root.objh._visible = false;
_root.obji._visible = false;
}
}
Instance of Symbol 2572 MovieClip "objl" in Frame 39
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.objk._visible = true;
} else {
_root.objk._visible = false;
}
}
Instance of Symbol 2574 MovieClip "obje" in Frame 39
onClipEvent (enterFrame) {
if (_root._currentframe == 39) {
this.swapDepths(this._y + 100);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2574 MovieClip "objf" in Frame 39
onClipEvent (enterFrame) {
if (_root._currentframe == 39) {
this.swapDepths(this._y + 100);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2574 MovieClip "objh" in Frame 39
onClipEvent (enterFrame) {
if (_root._currentframe == 39) {
this.swapDepths(this._y + 100);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2574 MovieClip "obji" in Frame 39
onClipEvent (enterFrame) {
if (_root._currentframe == 39) {
this.swapDepths(this._y + 100);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 454 MovieClip "orba" in Frame 39
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 40
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 2585 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 2588 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
_root.objb._visible = true;
} else {
_visible = false;
_root.objb._visible = false;
}
}
Instance of Symbol 2609 MovieClip "OBJa" in Frame 40
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (((_root.mainbuttondowna == true) & (this._currentframe == 1)) & (_root.dressenabe3 == true)) {
gotoAndPlay (12);
}
if ((_root.mainbuttondowna == true) & (_root.dressenabe3 == false)) {
_root.getwords(_x + 20, _y, 55, "If you have the Uzi Guns and the basket I can give you a trench coat to use guns!");
i = 0;
}
if (((_root.mainbuttondowna == true) & (_root.keyh == true)) & (_root.dressenabe3 == false)) {
_root.getwords(_x + 20, _y, 55, "Get the clothes basket!");
i = 0;
}
if ((((_root.mainbuttondowna == true) & (_root.keyh == true)) & (_root.keyi == true)) & (_root.dressenabe3 == false)) {
_root.getwords(_x + 20, _y, 55, "Here is the trench coat. To put it on find a place where you can change.");
_root.dressenabe3 = true;
i = 0;
}
if (hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
play();
}
if (hitTest(_root.mainplayersquare) == false) {
if (this._currentframe == 6) {
play();
}
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2058 MovieClip "objb" in Frame 40
onClipEvent (load) {
NUMBERSTATE = 3;
if (_root.aiwalke != NUMBERSTATE) {
gotoAndStop (8);
}
}
onClipEvent (enterFrame) {
if (_root.aiwalke == NUMBERSTATE) {
if (hitTest(_root.mainplayersquare)) {
if (_currentframe == 1) {
_root.aiwalke = (NUMBERSTATE = NUMBERSTATE + 1);
play();
}
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 40
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupright();
}
onClipEvent (enterFrame) {
if (_root._currentframe == 40) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 40
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 2562 MovieClip "changelevela" in Frame 40
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 39, 564, 262);
}
Instance of Symbol 2562 MovieClip "changelevelb" in Frame 40
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 42);
}
Instance of Symbol 2562 MovieClip "changelevelc" in Frame 40
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 43);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 40
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 41
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 2615 MovieClip "objf" in Frame 41
onClipEvent (enterFrame) {
if (_root._currentframe == 41) {
this.swapDepths(900);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2617 MovieClip "obja" in Frame 41
onClipEvent (load) {
if (_root._currentframe == 41) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2425 MovieClip "objd" in Frame 41
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (_root.selecetitema == 2) {
play();
}
}
}
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 2619 MovieClip "objc" in Frame 41
onClipEvent (enterFrame) {
if (_root._currentframe == 41) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2621 MovieClip "obje" in Frame 41
onClipEvent (enterFrame) {
if (_root._currentframe == 41) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2623 MovieClip "objh" in Frame 41
onClipEvent (enterFrame) {
if (_root._currentframe == 41) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2645 MovieClip "objb" in Frame 41
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
i = 0;
if (Key.isDown(_root.buttonaction) & (_root.keyf == false)) {
_root.getwords(_x + 10, _y, 100, "find me my comb!! you stupid pisshead!");
}
if (Key.isDown(_root.buttonaction) & (_root.keyf == true)) {
_root.getwords(_x + 10, _y, 100, "wow! thanks, fuckface!");
_root.p3 = true;
}
}
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 60, "");
}
}
if (_root.squareb._x > this._x) {
gotoAndStop(Math.round((_root.squareb._y - 210) / 5));
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 41
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupright();
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 41
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = -100;
stopingpiont = 70;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 2562 MovieClip "changelevela" in Frame 41
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 39, 113, 6);
}
Frame 42
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 2425 MovieClip "obja" in Frame 42
onClipEvent (load) {
this.swapDepths(_y);
}
onClipEvent (enterFrame) {
if ((_currentframe == 8) & (_root.money2 == false)) {
_root.money2 = true;
_root.getwords(_x, _y, 50, "You found gold coins!-$60");
_root.money = _root.money + 60;
}
if (this.hitTest(_root.mainplayersquare)) {
if (_root.selecetitema == 2) {
play();
}
}
}
Instance of Symbol 2662 MovieClip "objd" in Frame 42
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (((_root.mainbuttondowna == true) & hitTest(_root.mainplayersquare)) & (_root.aiwalkh == true)) {
play();
}
if (((_root.mainbuttondowna == true) & hitTest(_root.mainplayersquare)) & (_root.aiwalkh == false)) {
_root.getwords(_x + 20, _y, 55, "I hear there is a witch on a mushroom that likes to practise black magic<hic>");
i = 0;
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2193 MovieClip "objz" in Frame 42
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this.swapDepths(this._y);
if (_root.gem3 == true) {
this._visible = false;
} else {
this._visible = true;
}
if (this.hitTest(_root.mainplayersquare) & (_visible == true)) {
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
_root.gem3 = true;
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 42
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
if (_root._currentframe == 42) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 42
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 2562 MovieClip "changelevela" in Frame 42
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 40, 106, 77);
}
Frame 43
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 2670 MovieClip "objk" in Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.obje._visible = true;
_root.objf._visible = true;
_root.objg._visible = true;
_root.objh._visible = true;
_root.obji._visible = true;
_root.objj._visible = true;
_root.objk._visible = true;
_root.objz._visible = true;
i = 0;
} else {
i++;
if (i == 2) {
_root.obje._visible = false;
_root.objf._visible = false;
_root.objg._visible = false;
_root.objh._visible = false;
_root.obji._visible = false;
_root.objj._visible = false;
_root.objk._visible = false;
_root.objz._visible = false;
}
}
}
Instance of Symbol 2672 MovieClip "obji" in Frame 43
onClipEvent (enterFrame) {
if (this._visible == true) {
if (_root._currentframe == 43) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
}
Instance of Symbol 2672 MovieClip "objj" in Frame 43
onClipEvent (enterFrame) {
if (this._visible == true) {
if (_root._currentframe == 43) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
}
Instance of Symbol 2425 MovieClip "objf" in Frame 43
onClipEvent (enterFrame) {
this.swapDepths(this._y);
if ((this._currentframe == 8) & (_root.keyf == false)) {
_root.keyf = true;
_root.getwords(_x, _y - 40, 70, "you have acquired a stupid MAGIC COMB!");
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
}
if (this.hitTest(_root.mainplayersquare)) {
if (_root.selecetitema == 2) {
play();
}
}
}
Instance of Symbol 2680 MovieClip "obje" in Frame 43
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
i = 0;
_root.getwords(_x, _y - 40, 70, "Remmember the powersphare from RD1? its right here, take as many as you want! ");
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2682 MovieClip "objg" in Frame 43
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
i = 0;
_root.getwords(_x, _y - 40, 70, "hello, I'm king Dick. My daughters a little shit and I hate speaking to her... goddambed hormones");
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2703 MovieClip "objh" in Frame 43
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 2193 MovieClip "obja" in Frame 43
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.gem4 == true) {
this._visible = false;
} else {
this._visible = true;
}
if (this.hitTest(_root.mainplayersquare) & (_visible == true)) {
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
_root.gem4 = true;
}
}
Instance of Symbol 2707 MovieClip "objc" in Frame 43
onClipEvent (load) {
if (_root.keyd == true) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if ((_root.mainbuttondowna == true) & (this._currentframe == 1)) {
gotoAndPlay (2);
_root.keyd = true;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
}
}
}
Instance of Symbol 2709 MovieClip "objz" in Frame 43
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 43
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupright();
}
onClipEvent (enterFrame) {
_root.changepostionb();
if (_root._currentframe == 43) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2562 MovieClip "changelevel" in Frame 43
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 40, 190, 70);
}
Instance of Symbol 2713 MovieClip "objl" in Frame 43
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.obja._visible = true;
_root.objb._visible = true;
_root.objc._visible = true;
} else {
_root.obja._visible = false;
_root.objb._visible = false;
_root.objc._visible = false;
}
}
Frame 44
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2719 MovieClip "obja" in Frame 44
onClipEvent (enterFrame) {
if (_root._currentframe == 44) {
if (_root.mainplayersquare._y > this._y) {
this.swapDepths(this._y + 1000);
}
if (_root.mainplayersquare._y < this._y) {
this.swapDepths(this._y - 1000);
}
if (_root.mainplayersquare._y > (this._y + 50)) {
this.swapDepths(this._y - 1000);
}
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2193 MovieClip "objz" in Frame 44
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root._currentframe == 44) {
this.swapDepths(this._y + 3000);
} else {
removeMovieClip(this);
}
if (_root.gem5 == true) {
this._visible = false;
} else {
this._visible = true;
}
if (this.hitTest(_root.mainplayersquare) & (_visible == true)) {
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
_root.gem5 = true;
}
}
Instance of Symbol 2200 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.soundoff == false) {
i = Math.random(1) * 10;
d = Math.round(Math.random(1) * 6);
if (i >= 9.5) {
soundd = new Sound(this);
if (d == 0) {
soundd.attachSound("bird1");
}
if (d == 1) {
soundd.attachSound("bird2");
}
if (d == 2) {
soundd.attachSound("bird3");
}
if (d == 3) {
soundd.attachSound("bird4");
}
if (d == 4) {
soundd.attachSound("bird5");
}
soundd.setVolume(50);
soundd.start(0, 0);
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 44
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
stopingpiont = 80;
ystopingpiont = -500;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
if (hitTest(_root.hgg)) {
this._y = this._y - yspeed;
} else {
this._y = this._y + yspeed;
}
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
if (hitTest(_root.hgg)) {
this._y = this._y + yspeed;
} else {
this._y = this._y - yspeed;
}
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 44
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceright();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 44) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
changescale();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 44
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 25, 40, 197);
}
Frame 45
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 2127 MovieClip "objd" in Frame 45
onClipEvent (enterFrame) {
this.swapDepths(this._y);
if (hitTest(_root.mainplayersquare)) {
if (_root.selecetitema == 6) {
_root.getwords(_x - 110, _y, 70, "You now have the SPACE MAP");
_root.keyg = true;
}
if (_root.mainbuttondowna == true) {
if (_root.keyf == false) {
_root.getwords(_x - 110, _y, 70, "Theres a bit of paper down there all right, but I need something to get it with");
}
if ((_root.keyf == true) & (_root.keyg == false)) {
_root.getwords(_x - 110, _y, 70, "Maybe I could use the comb to get the space map out");
}
if ((_root.keyf == true) & (_root.keyg == true)) {
_root.getwords(_x - 110, _y, 70, "Nothing left but a fan and circuts");
}
}
i = 0;
} else {
i++;
if (i == 1) {
_root.getwords(0, 0, 70, "");
}
}
}
Instance of Symbol 2735 MovieClip "objb" in Frame 45
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 2737 MovieClip "objc" in Frame 45
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 2766 MovieClip "obja" in Frame 45
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
if ((((((_root.gem1 == true) & (_root.gem2 == true)) & (_root.gem3 == true)) & (_root.gem4 == true)) & (_root.gem5 == true)) & (_root.gem7 == true)) {
_root.getwords(_x, _y, 70, "Well done, you've got all the gems! heres the last yellow gem to finish it off.");
all = new Sound(this);
_root.gem6 = true;
gotoAndPlay (127);
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
} else {
_root.getwords(_x, _y, 70, "The lights in the middle of the room shine after every time you get a gem. Come here after you've got all the gems!");
}
}
i = 0;
} else {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2193 MovieClip "objz" in Frame 45
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.gem6 == true) {
_visible = false;
} else {
this.swapDepths(_y);
_visible = true;
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 45
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceleft();
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 45
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = 50;
stopingpiont = 40;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevele" in Frame 45
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevele, 22, 140, 189);
}
Frame 46
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2785 MovieClip "OBJa" in Frame 46
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
_root.getwords(_x, _y - 40, 70, "hello there, sweety, \rIn order for you to progress into this aerogenerator you need four stars!");
i = 0;
}
if (hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
if (_root.selecetitema == 1) {
gotoAndPlay (2);
_root.keya = false;
}
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2200 MovieClip in Frame 46
onClipEvent (enterFrame) {
if (_root.soundoff == false) {
i = Math.random(1) * 10;
d = Math.round(Math.random(1) * 6);
if (i >= 9.5) {
soundd = new Sound(this);
if (d == 0) {
soundd.attachSound("bird1");
}
if (d == 1) {
soundd.attachSound("bird2");
}
if (d == 2) {
soundd.attachSound("bird3");
}
if (d == 3) {
soundd.attachSound("bird4");
}
if (d == 4) {
soundd.attachSound("bird5");
}
soundd.setVolume(50);
soundd.start(0, 0);
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 46
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
stopingpiont = 80;
ystopingpiont = -500;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 2788 MovieClip "walls" in Frame 46
onClipEvent (enterFrame) {
if (_root.p4 == true) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 46
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 5;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 46) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
changescale();
oldframe = _currentframe;
if (_root.dressenabe2 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 46
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 14, 520, 220);
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 46
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.p4 == true) {
_root.superhittest(_root.changelevela, 47);
}
}
Instance of Symbol 454 MovieClip "orbd" in Frame 46
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 47
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2810 MovieClip "OBJa" in Frame 47
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
d++;
}
if ((((((((_root.p1 + _root.p2) + _root.p3) + _root.p4) + _root.p5) + _root.p6) + _root.p7) + _root.p8) != 8) {
if (d == 0) {
_root.getwords(_x, _y, 70, "Remmeber me? I'm the girl who told you where the options are. This door can be opened once you have 5 keys");
}
if (d == 1) {
_root.getwords(_x, _y, 70, "Come see me after you get all of the stars, I can give you a key!");
}
}
if (((((((((_root.p1 + _root.p2) + _root.p3) + _root.p4) + _root.p5) + _root.p6) + _root.p7) + _root.p8) == 8) & (_root.relationd == true)) {
if (d == 0) {
d = 1;
_root.getwords(_x, _y, 70, "Well now, After all the hard work you put into getting the 8 stars, push action against the computer.");
_root.objb._visible = true;
}
}
if (((((((((_root.p1 + _root.p2) + _root.p3) + _root.p4) + _root.p5) + _root.p6) + _root.p7) + _root.p8) == 8) & (_root.relationd == false)) {
if (d == 0) {
d = 1;
_root.getwords(_x, _y, 70, "Congratulations! Here is my key!");
_root.mainbar.keyd._visible = true;
_root.objb._visible = true;
_root.relationd = true;
}
}
i = 0;
} else {
i++;
d = 0;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2815 MovieClip "objb" in Frame 47
onClipEvent (load) {
d = 0;
_visible = false;
if (_root.relationd == true) {
_visible = true;
}
}
onClipEvent (enterFrame) {
if (hitTest(_root.squareb)) {
if (_root.relationd == true) {
_root.getwords(_x + 50, _y, 70, "Push action against me! I'll show the concept art work!");
if (_root.mainbuttondowna == true) {
d++;
}
if (d == 1) {
_root.objc._visible = true;
_root.getwords(_x + 50, _y, 70, "");
}
if (d == 2) {
d = 0;
_root.objc._visible = false;
}
}
i = 0;
} else {
_root.objc._visible = false;
d = 0;
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 47
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = 70;
stopingpiont = 25;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 47
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceup();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 47
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 46, 363, 353);
}
Instance of Symbol 2839 MovieClip "objc" in Frame 47
onClipEvent (load) {
_root.objc._visible = false;
}
onClipEvent (enterFrame) {
swapDepths(_y + 1000);
}
Frame 48
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2848 MovieClip "obja" in Frame 48
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 48
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = 70;
stopingpiont = 30;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 48
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceright();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Frame 49
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2854 MovieClip in Frame 49
onClipEvent (load) {
if (_root._currentframe == 48) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2200 MovieClip in Frame 49
onClipEvent (enterFrame) {
if (_root.soundoff == false) {
i = Math.random(1) * 10;
d = Math.round(Math.random(1) * 6);
if (i >= 9.5) {
soundd = new Sound(this);
if (d == 0) {
soundd.attachSound("bird1");
}
if (d == 1) {
soundd.attachSound("bird2");
}
if (d == 2) {
soundd.attachSound("bird3");
}
if (d == 3) {
soundd.attachSound("bird4");
}
if (d == 4) {
soundd.attachSound("bird5");
}
soundd.setVolume(50);
soundd.start(0, 0);
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 49
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 100;
stopingpiont = 60;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 49
onClipEvent (load) {
function changescale() {
vanishingpiont = 200;
vanishingpiontscale = 8;
_root.squareb._yscale = (_y + vanishingpiont) / vanishingpiontscale;
_root.squareb._xscale = (_y + vanishingpiont) / vanishingpiontscale;
}
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 48) {
depthlayer = _root.squareb._y;
_root.squareb.swapDepths(depthlayer);
removeMovieClip("squareb");
} else {
removeMovieClip(this);
}
changescale();
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 49
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 85);
}
Frame 50
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2860 MovieClip "obje" in Frame 50
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 50
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "obja" in Frame 50
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.obja, 14, 223, 213);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 50
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.changepostionb();
yspeed = 2.85 * _root.speedtimes;
xspeed = 5 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "objc" in Frame 50
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.objc, 14, 223, 213);
}
Instance of Symbol 1803 MovieClip "objb" in Frame 50
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.objb, 51);
}
Instance of Symbol 454 MovieClip "orbb" in Frame 50
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 50
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orba" in Frame 50
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 1803 MovieClip "objd" in Frame 50
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.objd, 57, 379, 280);
}
Frame 51
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2866 MovieClip "objc" in Frame 51
onClipEvent (load) {
if (_root._currentframe == 51) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2058 MovieClip "objd" in Frame 51
onClipEvent (load) {
NUMBERSTATE = 2;
if (_root.aiwalke != NUMBERSTATE) {
gotoAndStop (8);
}
}
onClipEvent (enterFrame) {
if (_root.aiwalke == NUMBERSTATE) {
if (hitTest(_root.mainplayersquare)) {
if (_currentframe == 1) {
_root.aiwalke = (NUMBERSTATE = NUMBERSTATE + 1);
play();
}
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 51
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = -100;
stopingpiont = 35;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
_root.changepostionb();
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 51
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "obja" in Frame 51
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.obja, 50, 105, 170);
}
Instance of Symbol 1803 MovieClip "objb" in Frame 51
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.objb, 52);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 51
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 52
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 52
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = 100;
stopingpiont = 40;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.squareb._yscale = ((_y + ystopingpiont) / stopingpiont) + 70;
_root.squareb._xscale = ((_y + ystopingpiont) / stopingpiont) + 70;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 52
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 52) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "obja" in Frame 52
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.obja, 51, 137, 150);
}
Instance of Symbol 1803 MovieClip "objb" in Frame 52
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.objb, 53);
}
Frame 53
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2875 MovieClip "objc" in Frame 53
onClipEvent (enterFrame) {
if (_root._currentframe == 53) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2877 MovieClip "objb" in Frame 53
onClipEvent (enterFrame) {
if (_root._currentframe == 53) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2879 MovieClip "obja" in Frame 53
onClipEvent (enterFrame) {
if (((_root.money3 == false) & hitTest(_root.mainplayersquare)) & (_root.mainbuttondowna == true)) {
_root.money3 = true;
_root.getwords(_x + 20, _y, 70, "You found old powersphare shards-$70");
_root.money = _root.money + 70;
}
if (_root._currentframe == 53) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2896 MovieClip "objd" in Frame 53
onClipEvent (load) {
if ((_root.p1 == true) & (this._currentframe == 1)) {
gotoAndPlay (2);
}
}
onClipEvent (enterFrame) {
this.swapDepths(_y + 10);
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
_root.getwords(_x - 60, _y, 70, "Old keys can be used to open chests. Pretty crap if you ask me.");
}
d = 0;
} else {
d++;
if (d == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 53
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = -100;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 53
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "hittester" in Frame 53
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.hittester, 52, 106, 230);
}
Frame 54
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2902 MovieClip "objb" in Frame 54
onClipEvent (enterFrame) {
if (_root._currentframe == 54) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2904 MovieClip "obja" in Frame 54
onClipEvent (enterFrame) {
if (_root._currentframe == 54) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2906 MovieClip "objc" in Frame 54
onClipEvent (enterFrame) {
if (_root._currentframe == 54) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2908 MovieClip "obje" in Frame 54
onClipEvent (load) {
if (_root._currentframe == 54) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2906 MovieClip "objd" in Frame 54
onClipEvent (load) {
if (_root._currentframe == 54) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2910 MovieClip "objf" in Frame 54
onClipEvent (load) {
if (_root._currentframe == 54) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2912 MovieClip "objh" in Frame 54
onClipEvent (load) {
if (_root._currentframe == 54) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2914 MovieClip "obji" in Frame 54
onClipEvent (load) {
if (_root._currentframe == 54) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2906 MovieClip "objj" in Frame 54
onClipEvent (enterFrame) {
if (_root._currentframe == 54) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2916 MovieClip "objk" in Frame 54
onClipEvent (enterFrame) {
if (_root._currentframe == 54) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2938 MovieClip "objl" in Frame 54
onClipEvent (enterFrame) {
if (_root._currentframe == 54) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 2958 MovieClip "OBJo" in Frame 54
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare) & (_root.p5 == true)) {
_root.getwords(_x, _y, 80, "Thanks for killing the cunt. I can finally show off my 80s style swimsuit ;)\rYou will notice you have an extra star!");
i = 0;
}
if (hitTest(_root.mainplayersquare) & (_root.p5 == false)) {
_root.getwords(_x, _y, 80, "You can change into the swimsuit here- the blowhole contains a monster that needs a dealing.");
i = 0;
}
if (((_root.selecetitema == 1) & (this._currentframe == 1)) & (_root.p5 == true)) {
play();
_root.keya = false;
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 2962 MovieClip "objr" in Frame 54
onClipEvent (enterFrame) {
this.swapDepths(_y);
_root.bojs.swapDepths(_y);
}
Instance of Symbol 2200 MovieClip in Frame 54
onClipEvent (enterFrame) {
if (_root.soundoff == false) {
i = Math.random(1) * 10;
d = Math.round(Math.random(1) * 6);
if (i >= 9.5) {
soundd = new Sound(this);
if (d == 0) {
soundd.attachSound("bird1");
}
if (d == 1) {
soundd.attachSound("bird2");
}
if (d == 2) {
soundd.attachSound("bird3");
}
if (d == 3) {
soundd.attachSound("bird4");
}
if (d == 4) {
soundd.attachSound("bird5");
}
soundd.setVolume(50);
soundd.start(0, 0);
}
}
}
Instance of Symbol 809 MovieClip "objq" in Frame 54
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
i = 0;
if (_root.mainbuttondowna == true) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y - 90, 4);
}
} else {
i++;
if (i == 1) {
_root.placeinfo(0, 0, 3);
}
}
}
Instance of Symbol 2058 MovieClip "objt" in Frame 54
onClipEvent (load) {
NUMBERSTATE = 1;
if (_root.aiwalke != NUMBERSTATE) {
gotoAndStop (8);
}
}
onClipEvent (enterFrame) {
if (_root.aiwalke == NUMBERSTATE) {
if (hitTest(_root.mainplayersquare)) {
if (_currentframe == 1) {
_root.aiwalke = (NUMBERSTATE = NUMBERSTATE + 1);
play();
}
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 54
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 54
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((_root.squareb._currentframe == 4) | (_root.squareb._currentframe == 5)) {
_root.superhittest(_root.changelevela, 83, 500, -400);
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 54
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.changepostionb();
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 454 MovieClip "orbc" in Frame 54
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 54
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.p5 == false) {
if ((_root.squareb._currentframe == 4) | ((_root.squareb._currentframe == 5) & (_root.mainbuttondowna == true))) {
_root.superhittest(_root.changelevelb, 55, 303, 350);
}
}
}
Frame 55
stop();
stopa();
Instance of Symbol 2978 MovieClip "obje" in Frame 55
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 2981 MovieClip "obja" in Frame 55
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 2984 MovieClip "objb" in Frame 55
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 2986 MovieClip "objc" in Frame 55
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 55
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 55
onClipEvent (load) {
_root.walls._visible = false;
gotoAndStop (5);
_root.faceupleft();
}
onClipEvent (enterFrame) {
_y = _root.mainplayersquare._y;
_x = _root.mainplayersquare._x;
_root.maincontrolls();
this.swapdepths(_y);
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
}
Instance of Symbol 2988 MovieClip "objf" in Frame 55
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 3014 MovieClip "objj" in Frame 55
onClipEvent (load) {
ai = 1;
speed = 3;
chanceofchangeingmind = 100;
mintimeofchangeingmind = 50;
targetname = _root.squareb;
}
onClipEvent (enterFrame) {
if (boxsecond.hitTest(_root.mainplayersquare)) {
_root.health--;
}
if (box.hitTest(targetname.boing)) {
ydirection = Math.round(Math.random(1) * 4) - 1;
xdirection = Math.round(Math.random(1) * 4) - 1;
}
if (ai == 0) {
gotoAndStop (2);
}
if (ai == 1) {
if (hitTest(targetname)) {
ai = 2;
}
rebondfromwalls();
ydirection = 0;
if (targetname._y > (_y + 10)) {
ydirection = 2;
}
if (targetname._y < (_y - 10)) {
ydirection = 1;
}
xdirection = 0;
if (targetname._x > (_x + 10)) {
xdirection = 2;
}
if (targetname._x < (_x - 10)) {
xdirection = 1;
}
}
if (ai == 2) {
gg++;
if (gg > ((Math.random(1) * chanceofchangeingmind) + mintimeofchangeingmind)) {
gg = 0;
ai = 1;
}
if (_root.walls.hitTest(box.getBounds(_root).xMax, _y, true)) {
xdirection = 1;
ydirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(box.getBounds(_root).xMin, _y, true)) {
xdirection = 2;
ydirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMax, true)) {
ydirection = 1;
xdirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMin, true)) {
ydirection = 2;
xdirection = Math.round(Math.random(1) * 3) - 1;
}
if ((ydirection == 0) & (xdirection == 0)) {
ydirection = Math.round(Math.random(1) * 3);
xdirection = Math.round(Math.random(1) * 3);
}
}
if (ai != 0) {
if (ydirection == 2) {
allinvisible();
_y = (_y + speed);
down._visible = 1;
}
if (ydirection == 1) {
allinvisible();
_y = (_y - speed);
up._visible = 1;
}
if (xdirection == 2) {
allinvisible();
_x = (_x + speed);
right._visible = 1;
}
if (xdirection == 1) {
allinvisible();
_x = (_x - speed);
left._visible = 1;
}
if ((ydirection == 1) & (xdirection == 1)) {
allinvisible();
upleft._visible = 1;
}
if ((ydirection == 1) & (xdirection == 2)) {
allinvisible();
upright._visible = 1;
}
if ((ydirection == 2) & (xdirection == 2)) {
allinvisible();
downright._visible = 1;
}
if ((ydirection == 2) & (xdirection == 1)) {
allinvisible();
downleft._visible = 1;
}
}
this.swapDepths(_y);
}
onClipEvent (load) {
function allinvisible() {
downleft._visible = 0;
downright._visible = 0;
right._visible = 0;
up._visible = 0;
down._visible = 0;
upleft._visible = 0;
upright._visible = 0;
left._visible = 0;
}
function rebondfromwalls() {
if (_root.walls.hitTest(box.getBounds(_root).xMax, _y, true)) {
_x = (_x - speed);
}
if (_root.walls.hitTest(box.getBounds(_root).xMin, _y, true)) {
_x = (_x + speed);
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMax, true)) {
_y = (_y - speed);
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMin, true)) {
_y = (_y + speed);
}
}
}
Instance of Symbol 3014 MovieClip "objg" in Frame 55
onClipEvent (load) {
ai = 1;
speed = 3;
chanceofchangeingmind = 100;
mintimeofchangeingmind = 50;
targetname = _root.squareb;
}
onClipEvent (enterFrame) {
if (boxsecond.hitTest(_root.mainplayersquare)) {
_root.health--;
}
if (box.hitTest(targetname.boing)) {
ydirection = Math.round(Math.random(1) * 4) - 1;
xdirection = Math.round(Math.random(1) * 4) - 1;
}
if (ai == 0) {
gotoAndStop (2);
}
if (ai == 1) {
if (hitTest(targetname)) {
ai = 2;
}
rebondfromwalls();
ydirection = 0;
if (targetname._y > (_y + 10)) {
ydirection = 2;
}
if (targetname._y < (_y - 10)) {
ydirection = 1;
}
xdirection = 0;
if (targetname._x > (_x + 10)) {
xdirection = 2;
}
if (targetname._x < (_x - 10)) {
xdirection = 1;
}
}
if (ai == 2) {
gg++;
if (gg > ((Math.random(1) * chanceofchangeingmind) + mintimeofchangeingmind)) {
gg = 0;
ai = 1;
}
if (_root.walls.hitTest(box.getBounds(_root).xMax, _y, true)) {
xdirection = 1;
ydirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(box.getBounds(_root).xMin, _y, true)) {
xdirection = 2;
ydirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMax, true)) {
ydirection = 1;
xdirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMin, true)) {
ydirection = 2;
xdirection = Math.round(Math.random(1) * 3) - 1;
}
if ((ydirection == 0) & (xdirection == 0)) {
ydirection = Math.round(Math.random(1) * 3);
xdirection = Math.round(Math.random(1) * 3);
}
}
if (ai != 0) {
if (ydirection == 2) {
allinvisible();
_y = (_y + speed);
down._visible = 1;
}
if (ydirection == 1) {
allinvisible();
_y = (_y - speed);
up._visible = 1;
}
if (xdirection == 2) {
allinvisible();
_x = (_x + speed);
right._visible = 1;
}
if (xdirection == 1) {
allinvisible();
_x = (_x - speed);
left._visible = 1;
}
if ((ydirection == 1) & (xdirection == 1)) {
allinvisible();
upleft._visible = 1;
}
if ((ydirection == 1) & (xdirection == 2)) {
allinvisible();
upright._visible = 1;
}
if ((ydirection == 2) & (xdirection == 2)) {
allinvisible();
downright._visible = 1;
}
if ((ydirection == 2) & (xdirection == 1)) {
allinvisible();
downleft._visible = 1;
}
}
this.swapDepths(_y);
}
onClipEvent (load) {
function allinvisible() {
downleft._visible = 0;
downright._visible = 0;
right._visible = 0;
up._visible = 0;
down._visible = 0;
upleft._visible = 0;
upright._visible = 0;
left._visible = 0;
}
function rebondfromwalls() {
if (_root.walls.hitTest(box.getBounds(_root).xMax, _y, true)) {
_x = (_x - speed);
}
if (_root.walls.hitTest(box.getBounds(_root).xMin, _y, true)) {
_x = (_x + speed);
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMax, true)) {
_y = (_y - speed);
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMin, true)) {
_y = (_y + speed);
}
}
}
Instance of Symbol 3014 MovieClip "objh" in Frame 55
onClipEvent (load) {
ai = 1;
speed = 3;
chanceofchangeingmind = 100;
mintimeofchangeingmind = 50;
targetname = _root.squareb;
}
onClipEvent (enterFrame) {
if (boxsecond.hitTest(_root.mainplayersquare)) {
_root.health--;
}
if (box.hitTest(targetname.boing)) {
ydirection = Math.round(Math.random(1) * 4) - 1;
xdirection = Math.round(Math.random(1) * 4) - 1;
}
if (ai == 0) {
gotoAndStop (2);
}
if (ai == 1) {
if (hitTest(targetname)) {
ai = 2;
}
rebondfromwalls();
ydirection = 0;
if (targetname._y > (_y + 10)) {
ydirection = 2;
}
if (targetname._y < (_y - 10)) {
ydirection = 1;
}
xdirection = 0;
if (targetname._x > (_x + 10)) {
xdirection = 2;
}
if (targetname._x < (_x - 10)) {
xdirection = 1;
}
}
if (ai == 2) {
gg++;
if (gg > ((Math.random(1) * chanceofchangeingmind) + mintimeofchangeingmind)) {
gg = 0;
ai = 1;
}
if (_root.walls.hitTest(box.getBounds(_root).xMax, _y, true)) {
xdirection = 1;
ydirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(box.getBounds(_root).xMin, _y, true)) {
xdirection = 2;
ydirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMax, true)) {
ydirection = 1;
xdirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMin, true)) {
ydirection = 2;
xdirection = Math.round(Math.random(1) * 3) - 1;
}
if ((ydirection == 0) & (xdirection == 0)) {
ydirection = Math.round(Math.random(1) * 3);
xdirection = Math.round(Math.random(1) * 3);
}
}
if (ai != 0) {
if (ydirection == 2) {
allinvisible();
_y = (_y + speed);
down._visible = 1;
}
if (ydirection == 1) {
allinvisible();
_y = (_y - speed);
up._visible = 1;
}
if (xdirection == 2) {
allinvisible();
_x = (_x + speed);
right._visible = 1;
}
if (xdirection == 1) {
allinvisible();
_x = (_x - speed);
left._visible = 1;
}
if ((ydirection == 1) & (xdirection == 1)) {
allinvisible();
upleft._visible = 1;
}
if ((ydirection == 1) & (xdirection == 2)) {
allinvisible();
upright._visible = 1;
}
if ((ydirection == 2) & (xdirection == 2)) {
allinvisible();
downright._visible = 1;
}
if ((ydirection == 2) & (xdirection == 1)) {
allinvisible();
downleft._visible = 1;
}
}
this.swapDepths(_y);
}
onClipEvent (load) {
function allinvisible() {
downleft._visible = 0;
downright._visible = 0;
right._visible = 0;
up._visible = 0;
down._visible = 0;
upleft._visible = 0;
upright._visible = 0;
left._visible = 0;
}
function rebondfromwalls() {
if (_root.walls.hitTest(box.getBounds(_root).xMax, _y, true)) {
_x = (_x - speed);
}
if (_root.walls.hitTest(box.getBounds(_root).xMin, _y, true)) {
_x = (_x + speed);
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMax, true)) {
_y = (_y - speed);
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMin, true)) {
_y = (_y + speed);
}
}
}
Instance of Symbol 3014 MovieClip "obji" in Frame 55
onClipEvent (load) {
ai = 1;
speed = 3;
chanceofchangeingmind = 100;
mintimeofchangeingmind = 50;
targetname = _root.squareb;
}
onClipEvent (enterFrame) {
if (boxsecond.hitTest(_root.mainplayersquare)) {
_root.health--;
}
if (box.hitTest(targetname.boing)) {
ydirection = Math.round(Math.random(1) * 4) - 1;
xdirection = Math.round(Math.random(1) * 4) - 1;
}
if (ai == 0) {
gotoAndStop (2);
}
if (ai == 1) {
if (hitTest(targetname)) {
ai = 2;
}
rebondfromwalls();
ydirection = 0;
if (targetname._y > (_y + 10)) {
ydirection = 2;
}
if (targetname._y < (_y - 10)) {
ydirection = 1;
}
xdirection = 0;
if (targetname._x > (_x + 10)) {
xdirection = 2;
}
if (targetname._x < (_x - 10)) {
xdirection = 1;
}
}
if (ai == 2) {
gg++;
if (gg > ((Math.random(1) * chanceofchangeingmind) + mintimeofchangeingmind)) {
gg = 0;
ai = 1;
}
if (_root.walls.hitTest(box.getBounds(_root).xMax, _y, true)) {
xdirection = 1;
ydirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(box.getBounds(_root).xMin, _y, true)) {
xdirection = 2;
ydirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMax, true)) {
ydirection = 1;
xdirection = Math.round(Math.random(1) * 3) - 1;
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMin, true)) {
ydirection = 2;
xdirection = Math.round(Math.random(1) * 3) - 1;
}
if ((ydirection == 0) & (xdirection == 0)) {
ydirection = Math.round(Math.random(1) * 3);
xdirection = Math.round(Math.random(1) * 3);
}
}
if (ai != 0) {
if (ydirection == 2) {
allinvisible();
_y = (_y + speed);
down._visible = 1;
}
if (ydirection == 1) {
allinvisible();
_y = (_y - speed);
up._visible = 1;
}
if (xdirection == 2) {
allinvisible();
_x = (_x + speed);
right._visible = 1;
}
if (xdirection == 1) {
allinvisible();
_x = (_x - speed);
left._visible = 1;
}
if ((ydirection == 1) & (xdirection == 1)) {
allinvisible();
upleft._visible = 1;
}
if ((ydirection == 1) & (xdirection == 2)) {
allinvisible();
upright._visible = 1;
}
if ((ydirection == 2) & (xdirection == 2)) {
allinvisible();
downright._visible = 1;
}
if ((ydirection == 2) & (xdirection == 1)) {
allinvisible();
downleft._visible = 1;
}
}
this.swapDepths(_y);
}
onClipEvent (load) {
function allinvisible() {
downleft._visible = 0;
downright._visible = 0;
right._visible = 0;
up._visible = 0;
down._visible = 0;
upleft._visible = 0;
upright._visible = 0;
left._visible = 0;
}
function rebondfromwalls() {
if (_root.walls.hitTest(box.getBounds(_root).xMax, _y, true)) {
_x = (_x - speed);
}
if (_root.walls.hitTest(box.getBounds(_root).xMin, _y, true)) {
_x = (_x + speed);
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMax, true)) {
_y = (_y - speed);
}
if (_root.walls.hitTest(_x, box.getBounds(_root).yMin, true)) {
_y = (_y + speed);
}
}
}
Instance of Symbol 2969 MovieClip "objk" in Frame 55
onClipEvent (enterFrame) {
this.swapdepths(_y);
}
Instance of Symbol 3020 MovieClip "undermusic" in Frame 55
onClipEvent (load) {
soundd = new Sound(this);
soundd.attachSound("underwater");
if (_root.soundoff == false) {
soundd.start(0, 0);
}
}
onClipEvent (enterFrame) {
soundd.onSoundComplete = function () {
if (_root.soundoff == false) {
soundd.start(0, 0);
}
};
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 55
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.changepostionb();
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
deacseleration = 0.8;
yd = yd * deacseleration;
xd = xd * deacseleration;
this._y = this._y + yd;
this._x = this._x + xd;
if (_root.walkingdisabled == false) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
yd = -yspeed;
} else if (Key.isDown(_root.buttondown)) {
yd = yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
yd = yspeed;
} else if (Key.isDown(_root.buttonup)) {
yd = -yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
xd = yspeed;
} else if (Key.isDown(_root.buttonleft)) {
xd = -yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
xd = -yspeed;
} else if (Key.isDown(_root.buttonright)) {
xd = yspeed;
}
}
}
Instance of Symbol 3039 MovieClip "arro" in Frame 55
onClipEvent (load) {
arro.stop();
}
onClipEvent (enterFrame) {
if (arro._currentframe >= 29) {
arro.gotoAndStop(1);
}
this.swapDepths(_y - 10);
if (Key.isDown(32) & (arro._currentframe == 1)) {
arro.play();
gotoAndStop(_root.squareb.i);
_x = _root.mainplayersquare._x;
_y = _root.mainplayersquare._y;
}
if (arro._currentframe == 1) {
arro._visible = false;
} else {
arro._visible = true;
}
if (_root.arro.expo._currentframe == 4) {
_root.arro.expo._x = -10000;
_root.arro.expo._y = -10000;
}
a = _root.arro.arro.hitarea._x + _x;
b = _root.arro.arro.hitarea._y + _y;
if (_root.arro._currentframe >= 5) {
a = (-_root.arro.arro.hitarea._x) + _x;
b = (-_root.arro.arro.hitarea._y) + _y;
}
with (_root.walls) {
if ((((hitTest(a, b, true) | _root.arro.arro.hitTest(_root.objg.killzone)) | _root.arro.arro.hitTest(_root.objh.killzone)) | _root.arro.arro.hitTest(_root.obji.killzone)) | _root.arro.arro.hitTest(_root.objj.killzone)) {
if (_root.arro.arro.hitTest(_root.objg.killzone)) {
_root.objg.ai = 0;
}
if (_root.arro.arro.hitTest(_root.objh.killzone)) {
_root.objh.ai = 0;
}
if (_root.arro.arro.hitTest(_root.obji.killzone)) {
_root.obji.ai = 0;
}
if (_root.arro.arro.hitTest(_root.objj.killzone)) {
_root.objj.ai = 0;
}
_root.arro.expo._x = _root.arro.arro.hitarea._x;
_root.arro.expo._y = _root.arro.arro.hitarea._y - 75;
if (_root.arro._currentframe >= 5) {
_root.arro.expo._x = -_root.arro.arro.hitarea._x;
}
if (_root.arro._currentframe == 5) {
_root.arro.expo._y = (-_root.arro.arro.hitarea._y) - 75;
}
_root.arro.expo._visible = true;
_root.arro.expo.play();
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("underwatere");
all.start(0, 0);
}
_root.arro.arro.gotoAndStop(1);
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 55
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((_root.squareb._currentframe == 4) | (_root.squareb._currentframe == 5)) {
if (hitTest(_root.mainplayersquare)) {
_root.undermusic.soundd.stop();
_root.superhittest(_root.changelevela, 56, 533, 201);
}
}
}
Frame 56
stop();
stopa();
Instance of Symbol 3312 MovieClip "obja" in Frame 56
onClipEvent (load) {
a1._visible = false;
a2._visible = false;
a3._visible = false;
a4._visible = false;
a5._visible = false;
a6._visible = false;
a7._visible = false;
a8._visible = false;
a9._visible = false;
dead = false;
}
onClipEvent (enterFrame) {
hit._visible = false;
if (((((((((_currentframe == 9) | (_currentframe == 35)) | (_currentframe == 53)) | (_currentframe == 70)) | (_currentframe == 89)) | (_currentframe == 122)) | (_currentframe == 151)) | (_currentframe == 196)) | (_currentframe == 228)) {
if (_root.mainplayersquare.hitTest(hit)) {
_root.health = _root.health - 10;
}
}
if (hit.hitTest(_root.arro.expo)) {
health._xscale = health._xscale - 2;
}
if (health._xscale <= 0) {
dead = true;
if (_currentframe < 60) {
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
gotoAndPlay (245);
}
if ((_currentframe > 60) & (_currentframe < 139)) {
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
gotoAndPlay (256);
}
if ((_currentframe > 139) & (_currentframe < 245)) {
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
gotoAndPlay (268);
}
if (((_currentframe == 255) | (_currentframe == 267)) | (_currentframe == 278)) {
_root.p5 = true;
_root.superhittest(_root.obja, 54, 400, 830);
_root.numberdestinationgoto = 54;
_root.mainplayersquarex = 400;
_root.mainplayersquarey = 830;
_root.gotoAndStop(4);
}
}
if (_root.mainplayersquare._y < _y) {
this.swapDepths(_y - 400);
}
if (_root.mainplayersquare._y > _y) {
this.swapDepths(_y + 400);
}
if ((_currentframe == 1) & (dead == false)) {
if (a1.hitTest(_root.mainplayersquare)) {
gotoAndPlay (2);
}
if (a2.hitTest(_root.mainplayersquare)) {
gotoAndPlay (27);
}
if (a3.hitTest(_root.mainplayersquare)) {
gotoAndPlay (43);
}
if (a4.hitTest(_root.mainplayersquare)) {
gotoAndPlay (61);
}
if (a5.hitTest(_root.mainplayersquare)) {
gotoAndPlay (80);
}
if (a6.hitTest(_root.mainplayersquare)) {
gotoAndPlay (140);
}
if (a7.hitTest(_root.mainplayersquare)) {
gotoAndPlay (181);
}
if (a8.hitTest(_root.mainplayersquare)) {
gotoAndPlay (211);
}
if (a9.hitTest(_root.mainplayersquare)) {
gotoAndPlay (109);
}
}
}
Instance of Symbol 3314 MovieClip "objb" in Frame 56
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 56
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
yspeed = 5.8 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 56
onClipEvent (load) {
_root.walls._visible = false;
gotoAndStop (5);
_root.faceupleft();
}
onClipEvent (enterFrame) {
_y = _root.mainplayersquare._y;
_x = _root.mainplayersquare._x;
_root.maincontrolls();
this.swapdepths(_y);
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
}
Instance of Symbol 3039 MovieClip "arro" in Frame 56
onClipEvent (load) {
arro.stop();
}
onClipEvent (enterFrame) {
if (arro._currentframe >= 29) {
arro.gotoAndStop(1);
}
this.swapDepths(_y - 10);
if (Key.isDown(32) & (arro._currentframe == 1)) {
arro.play();
gotoAndStop(_root.squareb.i);
_x = _root.mainplayersquare._x;
_y = _root.mainplayersquare._y;
}
if (arro._currentframe == 1) {
arro._visible = false;
} else {
arro._visible = true;
}
if (_root.arro.expo._currentframe == 4) {
_root.arro.expo._x = -10000;
_root.arro.expo._y = -10000;
}
a = _root.arro.arro.hitarea._x + _x;
b = _root.arro.arro.hitarea._y + _y;
if (_root.arro._currentframe >= 5) {
a = (-_root.arro.arro.hitarea._x) + _x;
b = (-_root.arro.arro.hitarea._y) + _y;
}
with (_root.walls) {
if ((((hitTest(a, b, true) | _root.arro.arro.hitTest(_root.objg.killzone)) | _root.arro.arro.hitTest(_root.objh.killzone)) | _root.arro.arro.hitTest(_root.obji.killzone)) | _root.arro.arro.hitTest(_root.objj.killzone)) {
if (_root.arro.arro.hitTest(_root.objg.killzone)) {
_root.objg.ai = 0;
}
if (_root.arro.arro.hitTest(_root.objh.killzone)) {
_root.objh.ai = 0;
}
if (_root.arro.arro.hitTest(_root.obji.killzone)) {
_root.obji.ai = 0;
}
if (_root.arro.arro.hitTest(_root.objj.killzone)) {
_root.objj.ai = 0;
}
_root.arro.expo._x = _root.arro.arro.hitarea._x;
_root.arro.expo._y = _root.arro.arro.hitarea._y - 75;
if (_root.arro._currentframe >= 5) {
_root.arro.expo._x = -_root.arro.arro.hitarea._x;
}
if (_root.arro._currentframe == 5) {
_root.arro.expo._y = (-_root.arro.arro.hitarea._y) - 75;
}
_root.arro.expo._visible = true;
_root.arro.expo.play();
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("underwatere");
all.start(0, 0);
}
_root.arro.arro.gotoAndStop(1);
}
}
}
Frame 57
stop();
_root.spacebound = false;
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "a");
}
Instance of Symbol 3338 MovieClip "obja" in Frame 57
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
_root.getwords(_x, _y, 40, "hello there! \rYou can use the space ship any time you want, but you'll need the SPACE MAP");
if ((_root.mainbuttondowna == true) & (_root.keyg == true)) {
_root.objb.play();
_root.walkingdisabled = true;
}
}
if (hitTest(_root.mainplayersquare) == false) {
_root.getwords(_x, _y, 70, "");
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 57
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 57
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = -100;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevel" in Frame 57
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 50, 400, 210);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 57
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 3473 MovieClip "objb" in Frame 57
onClipEvent (enterFrame) {
this.swapDepths(_y + 2000);
}
Frame 58
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 3481 MovieClip "objb" in Frame 58
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 2058 MovieClip "objf" in Frame 58
onClipEvent (load) {
NUMBERSTATE = 4;
if (_root.aiwalke != NUMBERSTATE) {
gotoAndStop (8);
}
}
onClipEvent (enterFrame) {
if (_root.aiwalke == NUMBERSTATE) {
if (hitTest(_root.mainplayersquare)) {
if (_currentframe == 1) {
_root.aiwalke = (NUMBERSTATE = NUMBERSTATE + 1);
play();
}
}
}
}
Instance of Symbol 2058 MovieClip "objg" in Frame 58
onClipEvent (load) {
NUMBERSTATE = 5;
if (_root.aiwalke != NUMBERSTATE) {
gotoAndStop (8);
}
}
onClipEvent (enterFrame) {
if (_root.aiwalke == NUMBERSTATE) {
if (hitTest(_root.mainplayersquare)) {
if (_currentframe == 1) {
_root.aiwalke = (NUMBERSTATE = NUMBERSTATE + 1);
play();
}
} else {
gotoAndStop (1);
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 58
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedown();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 60) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe2 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 58
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.changepostionb();
yspeed = 2.9 * _root.speedtimes;
xspeed = 5 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 2572 MovieClip "obje" in Frame 58
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.objc._visible = true;
_root.objf._visible = true;
} else {
_root.objc._visible = false;
_root.objf._visible = false;
}
}
Instance of Symbol 2572 MovieClip "objd" in Frame 58
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.obja._visible = true;
_root.objg._visible = true;
} else {
_root.obja._visible = false;
_root.objg._visible = false;
}
}
Instance of Symbol 1803 MovieClip "changelevel" in Frame 58
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 59);
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 58
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 39, 375, 350);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 58
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 59
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 3496 MovieClip "objc" in Frame 59
onClipEvent (load) {
this.swapDepths(_y);
}
onClipEvent (enterFrame) {
if (_root.money4 == false) {
if ((_root.mainbuttondowna == true) & hitTest(_root.mainplayersquare)) {
_root.getwords(_x - 20, _y, 70, "You found her stash of money-$80");
_root.money4 = true;
_root.money = _root.money + 80;
}
}
}
Instance of Symbol 3515 MovieClip "obje" in Frame 59
onClipEvent (enterFrame) {
this.swapDepths(_y - 15);
if (hitTest(_root.mainplayersquare)) {
if ((_root.mainbuttondowna == true) & (_root.dressenabe3 == false)) {
_root.getwords(_x, _y, 50, "I'm a expert at weapons, and recently I orderd some fine uzis through the devil guy, but I dident pay, haha!");
}
if ((_root.mainbuttondowna == true) & (_root.dressenabe3 == true)) {
if ((_root.p4 == true) & (this._currentframe == 1)) {
gotoAndPlay (2);
}
_root.getwords(_x, _y, 50, "I see you now have my uzis. To use them hold down the action button. You can only shoot enemys, though.");
}
d = 0;
} else {
d++;
if (d == 2) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 59
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
this._visible = false;
ystopingpiont = -100;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
_root.changepostionb();
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 59
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedownright();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 59) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "obja" in Frame 59
onClipEvent (enterFrame) {
_root.superhittest(_root.obja, 58, 621, 282);
}
Instance of Symbol 3519 MovieClip "objd" in Frame 59
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.objb._visible = true;
_root.objc._visible = true;
_root.obje._visible = true;
} else {
_root.objb._visible = false;
_root.objc._visible = false;
_root.obje._visible = false;
}
}
onClipEvent (load) {
this._visible = false;
}
Frame 60
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "f");
}
Instance of Symbol 3521 MovieClip "objg" in Frame 60
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Instance of Symbol 3521 MovieClip "objh" in Frame 60
onClipEvent (enterFrame) {
_rotation = (_rotation + 2);
}
Instance of Symbol 3521 MovieClip "obji" in Frame 60
onClipEvent (enterFrame) {
_rotation = (_rotation + 0.2);
}
Instance of Symbol 3568 MovieClip "obja" in Frame 60
onClipEvent (enterFrame) {
if (_root._currentframe == 60) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3570 MovieClip "objb" in Frame 60
onClipEvent (enterFrame) {
if (_root._currentframe == 60) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3572 MovieClip "objc" in Frame 60
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 3575 MovieClip "objd" in Frame 60
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 3586 MovieClip "OBJz" in Frame 60
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.aiwalkd == true) {
_root.getwords(_x, _y - 40, 50, "I can take you to a hypnotise level. puch action.");
if (_root.mainbuttondowna == true) {
_root.superhittest(_root.objz, 97, 264, 377);
_root.numberdestinationgoto = 97;
_root.mainplayersquarex = 264;
_root.mainplayersquarey = 377;
_root.gotoAndStop(4);
}
}
i = 0;
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 3607 MovieClip "OBJy" in Frame 60
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.keyd == true) {
_root.getwords(_x, _y, 50, "If you want I shall take you to the ice world, it has a challange!");
if (_root.mainbuttondowna == true) {
_root.superhittest(_root.objz, 86, 289, 377);
_root.numberdestinationgoto = 86;
_root.mainplayersquarex = 289;
_root.mainplayersquarey = 377;
_root.gotoAndStop(4);
}
}
if (_root.keyd == false) {
_root.getwords(_x, _y - 40, 70, "Come back here if you have the powersphere.");
}
i = 0;
}
if (_root.selecetitema == 5) {
gotoAndPlay (2);
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 3609 MovieClip "clockmusic" in Frame 60
onClipEvent (load) {
soundd = new Sound(this);
soundd.attachSound("clock");
if (_root.soundoff == false) {
soundd.start(0, 0);
}
}
onClipEvent (enterFrame) {
soundd.onSoundComplete = function () {
if (_root.soundoff == false) {
soundd.start(0, 0);
}
};
}
Instance of Symbol 807 MovieClip "squareb" in Frame 60
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceup();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 60) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 60
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -100;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.changepostionb();
_root.squareb._yscale = 80;
_root.squareb._yscale = 80;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevel" in Frame 60
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevel, 84, -170, 339);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 60
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 61
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2058 MovieClip in Frame 61
onClipEvent (load) {
NUMBERSTATE = 0;
if (_root.aiwalke != NUMBERSTATE) {
gotoAndStop (8);
}
}
onClipEvent (enterFrame) {
if (_root.aiwalke == NUMBERSTATE) {
if (hitTest(_root.mainplayersquare)) {
if (_currentframe == 1) {
_root.aiwalke = (NUMBERSTATE = NUMBERSTATE + 1);
play();
}
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 61
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 61) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 61
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 100;
stopingpiont = 45;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevel" in Frame 61
onClipEvent (enterFrame) {
if (_root.aiwalkf == false) {
_root.superhittest(_root.changelevel, 62);
}
if (_root.aiwalkf == true) {
if ((_root.squareb._currentframe == 2) | (_root.squareb._currentframe == 3)) {
_root.superhittest(_root.changelevel, 62);
}
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 61
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 14, 205, 234);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 61
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 62
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 3659 MovieClip "objp" in Frame 62
onClipEvent (load) {
t = 0;
if (_root.aiwalkf == 0) {
_root.changelevelb.a = true;
_visible = false;
_root.scarehealthbar._visible = false;
}
}
onClipEvent (enterFrame) {
d._visible = false;
hiter._visible = false;
if ((_currentframe > 1) & (_root.scarehealthbar._xscale > 0)) {
if ((_root.squareb.up._visible == true) & Key.isDown(32)) {
if ((_root.squareb._x > ((_x + d._x) - 50)) & (_root.squareb._x < ((_x + d._x) + 50))) {
_root.scarehealthbar._xscale--;
}
}
if (hiter.hitTest(_root.mainplayersquare)) {
_root.health = _root.health - 10;
}
}
if (_root.scarehealthbar._xscale <= 0) {
gotoAndStop (82);
if (hitTest(_root.mainplayersquare)) {
_root.aiwalkf = 2;
_root.p6 = true;
_root.changelevelb.a = true;
_root.getwords(_x, _y, 50, "You bet me. To get back at that bitch here is a star. Leave me alone");
}
}
if (_root.aiwalkf == 1) {
_visible = true;
this.swapDepths(this._y);
if (_root.mainbuttondowna == true) {
t++;
}
if (t == 0) {
_root.faceup();
_root.walkingdisabled = true;
_root.getwords(_x, _y, 100, "Like hell im lumbering back to that girl, shes phsyco! being with her is like being in a sanatarium!");
}
if (t == 1) {
_root.faceup();
_root.getwords(_x, _y, 100, "For fucks sake, fuckface, im not worth that price, one stupid star?!");
}
if (t == 2) {
_root.faceup();
_root.getwords(_x, _y, 100, "Only when the pain takes your sane then only you know, I refuse to return. ");
}
if (t == 3) {
_root.faceup();
gotoAndPlay (2);
_root.orbe._visible = false;
_root.changelevelb.a = false;
_root.getwords(_x, _y, 100, "");
_root.walkingdisabled = false;
t = 4;
}
if (this.hitTest(_root.mainplayersquare)) {
i = 0;
} else {
i++;
if (i == 1) {
_root.getwords(_x, _y, 40, "");
}
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 62
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceup();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 62) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 62
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 100;
stopingpiont = 25;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 62
onClipEvent (load) {
a = true;
}
onClipEvent (enterFrame) {
if (a == true) {
_root.superhittest(_root.changelevelb, 61, 145, 289);
}
}
Instance of Symbol 454 MovieClip "orbe" in Frame 62
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Frame 63
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 3678 MovieClip "obja" in Frame 63
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 3680 MovieClip "objd" in Frame 63
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 3698 MovieClip "objb" in Frame 63
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
if ((_currentframe == 1) & (_root.selecetitema == 5)) {
play();
}
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
t++;
}
if (t == 1) {
_root.getwords(_x, _y, 55, "Welcome to teh dream world, bieach!");
}
} else {
_root.getwords(_x, _y, 40, "");
}
}
Instance of Symbol 3020 MovieClip "undermusic" in Frame 63
onClipEvent (load) {
soundd = new Sound(this);
soundd.attachSound("wind");
if (_root.soundoff == false) {
soundd.start(0, 0);
}
}
onClipEvent (enterFrame) {
if (_root._currentframe != 63) {
MovieClip.stop();
}
soundd.onSoundComplete = function () {
if (_root.soundoff == false) {
soundd.start(0, 0);
}
};
}
Instance of Symbol 807 MovieClip "squareb" in Frame 63
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupright();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 63) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 63
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 100;
stopingpiont = 40;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 63
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.undermusic.soundd.stop();
_root.superhittest(_root.changelevelb, 64);
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 63
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.undermusic.soundd.stop();
_root.superhittest(_root.changelevela, 15, 470, 300);
}
}
Instance of Symbol 454 MovieClip "orbb" in Frame 63
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orba" in Frame 63
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 64
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 3704 MovieClip "objd" in Frame 64
onClipEvent (load) {
if (_root._currentframe == 64) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3706 MovieClip "obja" in Frame 64
onClipEvent (load) {
if (_root._currentframe == 64) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3708 MovieClip "objc" in Frame 64
onClipEvent (load) {
if (_root._currentframe == 64) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3710 MovieClip "objb" in Frame 64
onClipEvent (load) {
if (_root._currentframe == 64) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3712 MovieClip "obje" in Frame 64
onClipEvent (load) {
if (_root._currentframe == 64) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3706 MovieClip "objf" in Frame 64
onClipEvent (load) {
if (_root._currentframe == 64) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 64
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedown();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 64) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "obja" in Frame 64
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.obja, 65);
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 64
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 63, 436, 287);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 64
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 64
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 65
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 3727 MovieClip "objb" in Frame 65
onClipEvent (load) {
if (_root._currentframe == 65) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3729 MovieClip "obja" in Frame 65
onClipEvent (load) {
if (_root._currentframe == 65) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 65
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceup();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 65) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 65
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -100;
stopingpiont = 45;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "obja" in Frame 65
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.obja, 64, 468, 200);
}
Instance of Symbol 1803 MovieClip "objb" in Frame 65
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.objb, 66);
}
Frame 66
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 807 MovieClip "squareb" in Frame 66
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 63) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 66
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 100;
stopingpiont = 40;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 66
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 67);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 66
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 65, 433, 140);
}
Frame 67
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 3741 MovieClip "objd" in Frame 67
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 3739 MovieClip "obja" in Frame 67
onClipEvent (load) {
if (_root._currentframe == 67) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 67
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 67
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 66, 331, 240);
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 67
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 68);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevelc" in Frame 67
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 69);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 454 MovieClip "orbd" in Frame 67
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 67
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 67
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 10;
stopingpiont = 40;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 454 MovieClip "orba" in Frame 67
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 68
stop();
if (currentsoundplaying != soundfilee) {
stopa();
currentsoundplaying = soundfilee;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "e");
}
Instance of Symbol 3758 MovieClip "objc" in Frame 68
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
_root.aiwalkc = true;
t++;
}
if (t == 1) {
_root.walkingdisabled = true;
_root.getwords(_x - 30, _y, 70, "Yes i am the one who made that nasty chick go nuts. I can cure her as easy as pie");
}
if (t == 2) {
_root.getwords(_x - 30, _y, 70, "mmmm, pie. But if shes the one whos nuts as fuck why are you here?");
}
if (t == 3) {
_root.getwords(_x - 30, _y, 70, "I dont have the magic cog though, the person by the statues has it. I can let you see her, if you want.");
_root.walkingdisabled = false;
}
hh = 0;
} else {
hh++;
if (hh == 1) {
_root.getwords(_x, _y, 40, "");
}
}
}
Instance of Symbol 3760 MovieClip "objb" in Frame 68
onClipEvent (enterFrame) {
this.swapDepths(this._y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
_root.getwords(_x, _y, 60, "yes i am a opium bong. do ya like the opiate, ah?");
}
hh = 0;
} else {
hh++;
if (hh == 1) {
_root.getwords(_x, _y, 40, "");
}
}
}
Instance of Symbol 3762 MovieClip "obja" in Frame 68
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 68
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedownright();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 68) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 68
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 10;
stopingpiont = 35;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 68
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 67, 282, 173);
}
onClipEvent (load) {
this._visible = false;
}
Frame 69
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 3773 MovieClip "obja" in Frame 69
onClipEvent (load) {
if (_root._currentframe == 69) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3775 MovieClip "objc" in Frame 69
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 3777 MovieClip "objd" in Frame 69
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 3779 MovieClip "obje" in Frame 69
onClipEvent (load) {
this.swapDepths(_y);
}
onClipEvent (enterFrame) {
if (((_root.money5 == false) & hitTest(_root.mainplayersquare)) & (_root.mainbuttondowna == true)) {
_root.money5 = true;
_root.getwords(_x - 20, _y, 70, "You found a idol -$75");
_root.money = _root.money + 75;
}
}
Instance of Symbol 3779 MovieClip "objf" in Frame 69
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 3782 MovieClip "objb" in Frame 69
onClipEvent (enterFrame) {
if (_root._currentframe == 69) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3784 MovieClip "objg" in Frame 69
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
this._visible = true;
i = 0;
} else {
i++;
if (i > 2) {
this._visible = false;
}
}
}
Instance of Symbol 3789 MovieClip "obji" in Frame 69
onClipEvent (enterFrame) {
if (_root._currentframe == 69) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3794 MovieClip "objk" in Frame 69
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.objj._visible = true;
i = 0;
} else {
i++;
if (i > 2) {
_root.objj._visible = false;
}
}
}
Instance of Symbol 3796 MovieClip "objl" in Frame 69
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.objh._visible = true;
i = 0;
} else {
i++;
if (i > 2) {
_root.objh._visible = false;
}
}
}
Instance of Symbol 3794 MovieClip "objn" in Frame 69
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.objm._visible = true;
i = 0;
} else {
i++;
if (i > 2) {
_root.objm._visible = false;
}
}
}
Instance of Symbol 3815 MovieClip "objp" in Frame 69
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.getwords(_x, _y, 50, "I hear that there is a lot of random money left around after a plane crash.");
if (_root.mainbuttondowna == true) {
if ((_currentframe == 1) & (_root.aiwalkd == true)) {
play();
}
}
}
}
Instance of Symbol 3818 MovieClip "walls" in Frame 69
onClipEvent (enterFrame) {
if (_root.aiwalkc == true) {
gotoAndPlay (2);
} else {
gotoAndPlay (1);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 69
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedown();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 69) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 69
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.changepostionb();
yspeed = 3.8 * _root.speedtimes;
xspeed = 6.66666666666667 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 69
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 67, 202, 155);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 69
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 70);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 446 MovieClip "changelevelc" in Frame 69
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 71);
}
Instance of Symbol 1803 MovieClip "changeleveld" in Frame 69
onClipEvent (enterFrame) {
_root.superhittest(_root.changeleveld, 72);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 454 MovieClip "orbe" in Frame 69
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 69
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orba" in Frame 69
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 70
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 3822 MovieClip "objc" in Frame 70
onClipEvent (enterFrame) {
if (_root._currentframe == 70) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3824 MovieClip "objb" in Frame 70
onClipEvent (enterFrame) {
if (_root._currentframe == 70) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3826 MovieClip "objd" in Frame 70
onClipEvent (enterFrame) {
if (_root._currentframe == 70) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3828 MovieClip "obja" in Frame 70
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
i = 0;
if ((_root.money6 == false) & (_root.mainbuttondowna == true)) {
_root.money6 = true;
_root.getwords(_x, _y, 50, "You found some money... in the bush-$100");
_root.money = _root.money + 100;
}
} else {
i++;
if (i == 1) {
_root.placeinfo(0, 0, 0);
}
}
}
Instance of Symbol 3830 MovieClip "objf" in Frame 70
onClipEvent (enterFrame) {
if (_root._currentframe == 70) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3832 MovieClip "objh" in Frame 70
onClipEvent (enterFrame) {
if (_root._currentframe == 70) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3834 MovieClip "obji" in Frame 70
onClipEvent (enterFrame) {
if (_root._currentframe == 70) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3836 MovieClip "objl" in Frame 70
onClipEvent (enterFrame) {
if (_root._currentframe == 70) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3838 MovieClip "objj" in Frame 70
onClipEvent (enterFrame) {
if (_root._currentframe == 70) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3840 MovieClip "objk" in Frame 70
onClipEvent (enterFrame) {
if (_root._currentframe == 70) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3860 MovieClip "objm" in Frame 70
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
t++;
}
if (t == 1) {
_root.aiwalkd = true;
_root.walkingdisabled = true;
_root.getwords(_x, _y, 70, "Here's the magic cog. You can use it to get to different places.");
_root.keye = true;
}
if (t == 2) {
_root.getwords(_x, _y, 70, "However you could also find the silver dragon....");
}
if (t == 3) {
_root.getwords(_x, _y, 70, "He will lead you to the clock work where this gear will come to more use.");
_root.walkingdisabled = false;
}
d = 0;
} else {
d++;
if (d == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 70
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedown();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 70) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 70
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 69, 873, 462);
}
onClipEvent (load) {
this._visible = false;
}
Frame 71
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 3867 MovieClip "objc" in Frame 71
onClipEvent (load) {
if (_root._currentframe == 71) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3867 MovieClip "objb" in Frame 71
onClipEvent (load) {
if (_root._currentframe == 71) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3867 MovieClip "obja" in Frame 71
onClipEvent (load) {
if (_root._currentframe == 71) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3867 MovieClip "objd" in Frame 71
onClipEvent (load) {
if (_root._currentframe == 71) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3870 MovieClip "obje" in Frame 71
onClipEvent (load) {
if (_root._currentframe == 71) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3872 MovieClip "objf" in Frame 71
onClipEvent (load) {
if (_root._currentframe == 71) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 71
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedownleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 71) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 71
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.changepostionb();
yspeed = 5.7 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 71
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 69, 594, 791);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 454 MovieClip "orbc" in Frame 71
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 72
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 3878 MovieClip "objc" in Frame 72
onClipEvent (load) {
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3878 MovieClip "obja" in Frame 72
onClipEvent (load) {
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3878 MovieClip "obje" in Frame 72
onClipEvent (load) {
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 3891 MovieClip "objd" in Frame 72
onClipEvent (load) {
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
if (_root.objd.hit.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
play();
}
}
Instance of Symbol 3891 MovieClip "objb" in Frame 72
onClipEvent (load) {
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
if (_root.objb.hit.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
play();
}
}
Instance of Symbol 3893 MovieClip "objf" in Frame 72
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 3519 MovieClip "objg" in Frame 72
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.objf._visible = true;
_root.objh._visible = true;
_root.obji._visible = true;
_root.objj._visible = true;
_root.objk._visible = true;
_root.objl._visible = true;
_root.objm._visible = true;
i = 0;
} else {
i++;
if (i > 2) {
_root.objf._visible = false;
_root.objh._visible = false;
_root.obji._visible = false;
_root.objj._visible = false;
_root.objk._visible = false;
_root.objl._visible = false;
_root.objm._visible = false;
}
}
}
Instance of Symbol 3891 MovieClip "objh" in Frame 72
onClipEvent (enterFrame) {
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
if (_root.objh.hit.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
play();
}
}
Instance of Symbol 3891 MovieClip "obji" in Frame 72
onClipEvent (enterFrame) {
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
if (_root.obji.hit.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
play();
}
}
Instance of Symbol 3891 MovieClip "objj" in Frame 72
onClipEvent (enterFrame) {
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
if (_root.objj.hit.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
play();
}
}
Instance of Symbol 3899 MovieClip "objk" in Frame 72
onClipEvent (enterFrame) {
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
if (_root.objk.hit.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
play();
}
}
Instance of Symbol 3899 MovieClip "objl" in Frame 72
onClipEvent (enterFrame) {
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
if (_root.objl.hit.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
play();
}
}
Instance of Symbol 3899 MovieClip "objm" in Frame 72
onClipEvent (enterFrame) {
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
if (_root.objm.hit.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
play();
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 72
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedownleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 72) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 72
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.changepostionb();
yspeed = 3.8 * _root.speedtimes;
xspeed = 6.66666666666667 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 72
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 69, -450, 700);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 72
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 84);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 454 MovieClip "orbe" in Frame 72
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 73
stop();
if (currentsoundplaying != soundfiled) {
stopa();
currentsoundplaying = soundfiled;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "d");
}
Instance of Symbol 4090 MovieClip "objb" in Frame 73
onClipEvent (enterFrame) {
if (_root._currentframe == 73) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4092 MovieClip "obja" in Frame 73
onClipEvent (enterFrame) {
if (_root._currentframe == 73) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4110 MovieClip "objn" in Frame 73
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if ((((((((((_root.money0 + _root.money1) + _root.money2) + _root.money3) + _root.money4) + _root.money5) + _root.money6) + _root.money7) + _root.money8) + _root.money9) != 10) {
_root.getwords(_x, _y, 50, "Come see me once you have all the money parcels!");
}
if ((((((((((_root.money0 + _root.money1) + _root.money2) + _root.money3) + _root.money4) + _root.money5) + _root.money6) + _root.money7) + _root.money8) + _root.money9) == 10) {
play();
_root.getwords(_x, _y, 50, "Wow! well done, here is the third secret key!");
_root.mainbar.keyc._visible = true;
_root.relationc = true;
}
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 73
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 73) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 73
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "concrete");
_root.changepostionb();
yspeed = 5.7 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 73
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 74, -720, -230);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 454 MovieClip "orba" in Frame 73
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 74
stop();
if (currentsoundplaying != soundfiled) {
stopa();
currentsoundplaying = soundfiled;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "d");
}
Instance of Symbol 4157 MovieClip "objc" in Frame 74
onClipEvent (enterFrame) {
if (_root._currentframe == 74) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4162 MovieClip "obja" in Frame 74
onClipEvent (enterFrame) {
if (_root._currentframe == 74) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4162 MovieClip "objb" in Frame 74
onClipEvent (enterFrame) {
if (_root._currentframe == 74) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4165 MovieClip "objd" in Frame 74
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 1504 MovieClip "objf" in Frame 74
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
_root.getwords(_x, _y, 40, "hello there! \rIf you want I can take you back. Simply walk to the UFO");
play();
p = 0;
}
}
if (hitTest(_root.mainplayersquare) == false) {
p++;
if (P == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 74
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
if (_root._currentframe == 74) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 74
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.changepostionb();
yspeed = 3.8 * _root.speedtimes;
xspeed = 6.66666666666667 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 74
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 13, 352, 300);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 74
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 75);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changeleveld" in Frame 74
onClipEvent (enterFrame) {
_root.superhittest(_root.changeleveld, 78);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevele" in Frame 74
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevele, 80);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevelc" in Frame 74
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 76);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 454 MovieClip "orbd" in Frame 74
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 74
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 74
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbb" in Frame 74
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 1803 MovieClip "changelevelf" in Frame 74
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelf, 104);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevelg" in Frame 74
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelg, 73);
}
onClipEvent (load) {
this._visible = false;
}
Frame 75
stop();
if (currentsoundplaying != soundfiled) {
stopa();
currentsoundplaying = soundfiled;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "d");
}
Instance of Symbol 4171 MovieClip "obja" in Frame 75
onClipEvent (enterFrame) {
if (_root._currentframe == 75) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4173 MovieClip "objb" in Frame 75
onClipEvent (enterFrame) {
if (_root._currentframe == 75) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4173 MovieClip "objc" in Frame 75
onClipEvent (enterFrame) {
if (_root._currentframe == 75) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
if (((_root.money7 == false) & hitTest(_root.mainplayersquare)) & (_root.mainbuttondowna == true)) {
_root.money7 = true;
_root.getwords(_x - 20, _y, 70, "You found a idol -$50");
_root.money = _root.money + 50;
}
}
Instance of Symbol 4176 MovieClip "objn" in Frame 75
onClipEvent (enterFrame) {
if (_root.keya == true) {
gotoAndStop (2);
}
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
t++;
}
if (t == 1) {
_root.getwords(_x, _y, 30, "I hear that once you take and give out a mushroom it will grow back. I like mushrooms, like most girls!");
}
i = 0;
} else {
t = 0;
i++;
if (i == 1) {
_root.getwords(0, 0, 0, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 75
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceup();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 75
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 150;
stopingpiont = 40;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 75
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 74, 935, 391);
}
Frame 76
stop();
if (currentsoundplaying != soundfiled) {
stopa();
currentsoundplaying = soundfiled;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "d");
}
Instance of Symbol 4187 MovieClip "obje" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4187 MovieClip "objf" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4187 MovieClip "objg" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4198 MovieClip "obja" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4205 MovieClip "objd" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4207 MovieClip "objj" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4214 MovieClip "objc" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4207 MovieClip "obji" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4207 MovieClip "objh" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4187 MovieClip "objm" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4187 MovieClip "objl" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4187 MovieClip "objk" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4198 MovieClip "objb" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4207 MovieClip "objp" in Frame 76
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4207 MovieClip "objo" in Frame 76
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4207 MovieClip "objn" in Frame 76
onClipEvent (enterFrame) {
if (_root._currentframe == 76) {
this.swapDepths(_y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 4216 MovieClip "objq" in Frame 76
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
t++;
}
if (t == 1) {
_root.getwords(_x, _y, 150, "I could play this game for ever");
}
i = 0;
} else {
i++;
t = 0;
if (i == 1) {
_root.getwords(0, 0, 0, "");
}
}
}
Instance of Symbol 4219 MovieClip "objr" in Frame 76
onClipEvent (load) {
t = 0;
if (_root.p8 == true) {
_visible = false;
}
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
t++;
}
if (_root.p8 == false) {
if ((t == 1) & (_root.keyj == 0)) {
_root.getwords(_x, _y, 140, "Must... play..... more......");
}
if ((t == 1) & (_root.keyj == 1)) {
_root.getwords(_x, _y - 40, 70, "Your gonna need more charms than that to get me off.");
}
if ((t == 1) & (_root.keyj == 2)) {
_root.getwords(_x, _y - 40, 70, "Wow! Thanks for getting me this, I'll be off before you know. Here is the last star!");
_root.p8 = true;
}
}
i = 0;
} else {
i++;
t = 0;
if (i == 1) {
_root.getwords(0, 0, 0, "");
}
}
}
Instance of Symbol 4221 MovieClip "objs" in Frame 76
onClipEvent (load) {
if (_root.p8 == true) {
_visible = false;
}
t = 0;
}
onClipEvent (enterFrame) {
swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
t++;
}
if ((t == 1) & (_root.p8 == false)) {
_root.getwords(_x, _y, 160, "Man my sis has been playing on those games for ages!I hear she likes vampire charms, maby that will get her off.");
}
i = 0;
} else {
t = 0;
i++;
if (i == 1) {
_root.getwords(0, 0, 0, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 76
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedownleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 76
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.changepostionb();
yspeed = 5.7 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 76
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 74, 450, 300);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 76
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 77);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 454 MovieClip "orbb" in Frame 76
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orba" in Frame 76
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 4253 MovieClip "game1" in Frame 76
onClipEvent (load) {
_root.gamblegameactivated = false;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.gamblegameactivated == true) {
_root.walkingdisabled = true;
_visible = true;
this.swapDepths(_y + 500);
} else {
_visible = false;
}
}
Instance of Symbol 4298 MovieClip "kirbygame" in Frame 76
onClipEvent (load) {
_root.kurbygameactivated = false;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.kurbygameactivated == true) {
_root.walkingdisabled = true;
_visible = true;
this.swapDepths(_y + 200);
} else {
gotoAndStop (1);
_root.kirbygame.scrore = 0;
_visible = false;
}
}
Frame 77
stop();
if (currentsoundplaying != soundfiled) {
stopa();
currentsoundplaying = soundfiled;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "d");
}
Instance of Symbol 4321 MovieClip "objn" in Frame 77
onClipEvent (load) {
h = 0;
i = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
i = 0;
if (_root.mainbuttondowna == true) {
h++;
if ((h == 2) & (_root.keyj == 1)) {
_root.getwords(_x, _y - 40, 70, "vampire charms, who knows what there for?");
_root.keyj = 1;
}
if ((h == 2) & (_root.keyj == 0)) {
_root.getwords(_x, _y - 40, 70, "Any how I hear you might want some vampire charms? You can have one of mine.");
_root.keyj = 1;
}
if ((h == 1) & (_root.keyj == 2)) {
_root.getwords(_x, _y - 40, 70, "You've found two, cool.");
}
if ((h == 1) & (_root.keyj == 1)) {
_root.getwords(_x, _y - 40, 70, "Run along now, im sure you'll find a use for it.");
}
if ((h == 1) & (_root.keyj == 0)) {
_root.getwords(_x, _y - 40, 70, "<Sigh> It sucks beeing a girl in arcade. Or is this a casino?");
}
}
}
if (hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
if (_root.selecetitema == 1) {
gotoAndPlay (2);
_root.keya = false;
}
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
h = 0;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 77
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 77
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -350;
stopingpiont = 40;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 77
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 76, -212, -210);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 77
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 78
stop();
if (currentsoundplaying != soundfiled) {
stopa();
currentsoundplaying = soundfiled;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "d");
}
Instance of Symbol 4331 MovieClip "obja" in Frame 78
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
_root.getwords(_x, _y, 100, "Hey, what are you doing here!?!");
}
i = 0;
} else {
i++;
if (i == 2) {
_root.getwords(0, 0, 0, "");
}
}
}
Instance of Symbol 4333 MovieClip "objb" in Frame 78
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4335 MovieClip "objc" in Frame 78
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4333 MovieClip "objd" in Frame 78
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4335 MovieClip "obje" in Frame 78
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4333 MovieClip "objf" in Frame 78
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4335 MovieClip "objg" in Frame 78
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4337 MovieClip "obji" in Frame 78
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4339 MovieClip "objh" in Frame 78
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 78
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.changepostionb();
yspeed = 5.7 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 78
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 74, -20, 70);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 78
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 79);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 454 MovieClip "orbd" in Frame 78
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 78
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 79
stop();
if (currentsoundplaying != soundfiled) {
stopa();
currentsoundplaying = soundfiled;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "d");
}
Instance of Symbol 4345 MovieClip "obja" in Frame 79
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4347 MovieClip "objb" in Frame 79
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 4369 MovieClip in Frame 79
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
i = 0;
if (_root.mainbuttondowna == true) {
if (((((((_root.gem1 + _root.gem2) + _root.gem3) + _root.gem4) + _root.gem5) + _root.gem6) + _root.gem7) != 7) {
_root.getwords(_x, _y, 50, "Come see me once you have all the gems!");
}
if (((((((_root.gem1 + _root.gem2) + _root.gem3) + _root.gem4) + _root.gem5) + _root.gem6) + _root.gem7) == 7) {
play();
_root.getwords(_x, _y, 50, "Wow! well done, here is the first secret key!");
_root.mainbar.keya._visible = true;
_root.relationa = true;
}
}
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 79
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
xspeed = 10 * _root.speedtimes;
yspeed = 5 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 79
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 78, 78, 50);
}
Frame 80
stop();
if (currentsoundplaying != soundfiled) {
stopa();
currentsoundplaying = soundfiled;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "d");
}
Instance of Symbol 4375 MovieClip "obje" in Frame 80
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4377 MovieClip "objf" in Frame 80
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4379 MovieClip "objd" in Frame 80
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4381 MovieClip "objg" in Frame 80
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 4383 MovieClip "objk" in Frame 80
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4375 MovieClip "obji" in Frame 80
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 4377 MovieClip "objj" in Frame 80
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 4379 MovieClip "objh" in Frame 80
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 4381 MovieClip "obja" in Frame 80
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4375 MovieClip "objb" in Frame 80
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4377 MovieClip "objc" in Frame 80
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4385 MovieClip "objl" in Frame 80
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (_root.objk.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
t++;
}
if (t == 1) {
_root.getwords(_x - 100, _y, 160, "its not a good idea to be around here at this time of night");
}
} else {
t = 0;
_root.getwords(_x, _y, 40, "");
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 80
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.changepostionb();
yspeed = 8.5 * _root.speedtimes;
xspeed = 15 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 80
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 74, 1000, 530);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 80
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 81);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 454 MovieClip "orbd" in Frame 80
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 81
stop();
if (currentsoundplaying != soundfiled) {
stopa();
currentsoundplaying = soundfiled;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "d");
}
Instance of Symbol 4408 MovieClip "objn" in Frame 81
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (((((((((_root.crystals0 + _root.crystals1) + _root.crystals2) + _root.crystals3) + _root.crystals4) + _root.crystals5) + _root.crystals6) + _root.crystals7) + _root.crystals8) != 9) {
_root.getwords(_x, _y, 100, "Come see me once you have all the space crystalls!");
}
if (((((((((_root.crystals0 + _root.crystals1) + _root.crystals2) + _root.crystals3) + _root.crystals4) + _root.crystals5) + _root.crystals6) + _root.crystals7) + _root.crystals8) == 9) {
if (_root.mainbuttondowna == true) {
play();
}
_root.getwords(_x, _y, 100, "Wow! well done, here is the second secret key!");
_root.relationb = true;
_root.mainbar.keyb._visible = true;
}
}
if (hitTest(_root.mainplayersquare) == false) {
i++;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 81
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedownleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 81
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
xspeed = 10 * _root.speedtimes;
yspeed = 5 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 81
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 80, 75, 51);
}
Frame 82
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 4424 MovieClip "obja" in Frame 82
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4441 MovieClip "objn" in Frame 82
onClipEvent (load) {
waterfall = new Sound(this);
waterfall.attachSound("waterfall");
waterfall.start(0, 1);
}
onClipEvent (enterFrame) {
waterfall.onSoundComplete = function () {
waterfall.start(0, 1);
};
if (_root._currentframe != 82) {
MovieClip.stop();
}
waterfall.setPan(Math.round((_x - 300) / 3));
waterfall.setVolume(Math.round((_y + 600) / 10));
if (hitTest(_root.mainplayersquare)) {
if (((_root.mainbuttondowna == true) & (_root.aiwalki == true)) & (_root.squareb._currentframe != 4)) {
_root.getwords(_x, _y, 70, "If you want to swim you first must putt your swimsuit on, dumbass");
}
if (((_root.mainbuttondowna == true) & (_root.aiwalki == false)) & (_root.squareb._currentframe != 4)) {
_root.getwords(_x, _y, 70, "Can you please give this note to the fairy, just talk to her to give it to her. thanks.");
_root.aiwalki = true;
}
if (((_root.aiwalki == true) & (_root.squareb._currentframe == 4)) & (_root.mainbuttondowna == true)) {
_root.objn.waterfall.stop();
_root.numberdestinationgoto = 83;
_root.mainplayersquarex = 526;
_root.mainplayersquarey = 200;
_root.gotoAndStop(4);
}
if (_root.selecetitema == 1) {
gotoAndPlay (2);
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 82
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 82
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.changepostionb();
yspeed = 5.7 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 82
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.objn.waterfall.stop();
_root.superhittest(_root.changelevelb, 87, 536, 232);
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 454 MovieClip "orbd" in Frame 82
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 83
stop();
stopa();
Instance of Symbol 4447 MovieClip "obja" in Frame 83
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4449 MovieClip "objb" in Frame 83
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4451 MovieClip "objc" in Frame 83
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 4453 MovieClip "objd" in Frame 83
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 3020 MovieClip "undermusic" in Frame 83
onClipEvent (load) {
soundd = new Sound(this);
soundd.attachSound("underwater");
if (_root.soundoff == false) {
soundd.start(0, 0);
}
}
onClipEvent (enterFrame) {
soundd.onSoundComplete = function () {
if (_root.soundoff == false) {
soundd.start(0, 0);
}
};
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 83
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.changepostionb();
yspeed = 5.7 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 83
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 82, 236, -263);
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 83
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 54, 513, 100);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 454 MovieClip "orbd" in Frame 83
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 83
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 83
onClipEvent (load) {
_root.walls._visible = false;
gotoAndStop (5);
_root.faceleft();
}
onClipEvent (enterFrame) {
_y = _root.mainplayersquare._y;
_x = _root.mainplayersquare._x;
_root.maincontrolls();
this.swapdepths(_y);
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
}
Instance of Symbol 3039 MovieClip "arro" in Frame 83
onClipEvent (load) {
arro.stop();
}
onClipEvent (enterFrame) {
if (arro._currentframe >= 29) {
arro.gotoAndStop(1);
}
this.swapDepths(_y - 10);
if (Key.isDown(32) & (arro._currentframe == 1)) {
arro.play();
gotoAndStop(_root.squareb.i);
_x = _root.mainplayersquare._x;
_y = _root.mainplayersquare._y;
}
if (arro._currentframe == 1) {
arro._visible = false;
} else {
arro._visible = true;
}
if (_root.arro.expo._currentframe == 4) {
_root.arro.expo._x = -10000;
_root.arro.expo._y = -10000;
}
a = _root.arro.arro.hitarea._x + _x;
b = _root.arro.arro.hitarea._y + _y;
if (_root.arro._currentframe >= 5) {
a = (-_root.arro.arro.hitarea._x) + _x;
b = (-_root.arro.arro.hitarea._y) + _y;
}
with (_root.walls) {
if ((((hitTest(a, b, true) | _root.arro.arro.hitTest(_root.objg.killzone)) | _root.arro.arro.hitTest(_root.objh.killzone)) | _root.arro.arro.hitTest(_root.obji.killzone)) | _root.arro.arro.hitTest(_root.objj.killzone)) {
if (_root.arro.arro.hitTest(_root.objg.killzone)) {
_root.objg.ai = 0;
}
if (_root.arro.arro.hitTest(_root.objh.killzone)) {
_root.objh.ai = 0;
}
if (_root.arro.arro.hitTest(_root.obji.killzone)) {
_root.obji.ai = 0;
}
if (_root.arro.arro.hitTest(_root.objj.killzone)) {
_root.objj.ai = 0;
}
_root.arro.expo._x = _root.arro.arro.hitarea._x;
_root.arro.expo._y = _root.arro.arro.hitarea._y - 75;
if (_root.arro._currentframe >= 5) {
_root.arro.expo._x = -_root.arro.arro.hitarea._x;
}
if (_root.arro._currentframe == 5) {
_root.arro.expo._y = (-_root.arro.arro.hitarea._y) - 75;
}
_root.arro.expo._visible = true;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("underwatere");
all.start(0, 0);
}
_root.arro.expo.play();
_root.arro.arro.gotoAndStop(1);
}
}
}
Instance of Symbol 4457 MovieClip "obje" in Frame 83
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Frame 84
stop();
if (currentsoundplaying != soundfilee) {
stopa();
currentsoundplaying = soundfilee;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "e");
}
Instance of Symbol 4464 MovieClip "objc" in Frame 84
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 84
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 84
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.changepostionb();
yspeed = 2.85 * _root.speedtimes;
xspeed = 5 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 84
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 60);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 84
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 72, -244, 557);
}
onClipEvent (load) {
this._visible = false;
}
Frame 85
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 4475 MovieClip "obja" in Frame 85
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
d++;
}
if (d == 0) {
_root.getwords(_x, _y, 70, "THE MAGIC MUSHROOM COMMANDS YOU TO PUSH SPACE< BIEACHS");
}
if (d == 1) {
_root.objc._visible = true;
_root.getwords(0, 0, 0, "");
}
if (d == 2) {
d = 0;
_root.objc._visible = false;
}
i = 0;
} else {
d = 0;
i++;
_root.objc._visible = false;
if (i == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 4477 MovieClip "objb" in Frame 85
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 85
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.changepostionb();
yspeed = 5.7 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 85
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 14, 460, 160);
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1521 MovieClip "orbe" in Frame 85
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 4502 MovieClip "objc" in Frame 85
onClipEvent (load) {
_root.objc._visible = false;
}
onClipEvent (enterFrame) {
this.swapDepths(_y + 1000);
}
Frame 86
stop();
if (currentsoundplaying != soundfilee) {
stopa();
currentsoundplaying = soundfilee;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "e");
}
Instance of Symbol 4515 MovieClip "objb" in Frame 86
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 4512 MovieClip "obja" in Frame 86
onClipEvent (load) {
this.swapDepths(_y);
}
Instance of Symbol 4517 MovieClip "objc" in Frame 86
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
i++;
}
if (i == 1) {
_root.getwords(_x, _y, 70, "If you riddle me this I will give you a cheat.");
}
if (i == 2) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y, 7);
}
if (i == 3) {
_root.walkingdisabled = false;
if (_root.bubble.left.i == 1) {
_root.getwords(_x, _y, 70, "That's right, your cheat is 'speed'. Type it in in the options menu>cheats.");
}
if (_root.bubble.left.i == 2) {
_root.getwords(_x, _y, 70, "Can gas stay in a barrel!?");
}
if (_root.bubble.left.i == 3) {
_root.getwords(_x, _y, 70, "Naw soda but not really.");
}
}
if (i == 4) {
_root.walkingdisabled = false;
if (_root.bubble.left.i == 1) {
_root.getwords(_x, _y, 70, "The speed cheat will allow you to walk a bit faster.");
}
}
} else {
i = 0;
_root.getwords(0, 0, 0, "");
}
}
Instance of Symbol 4519 MovieClip "walls" in Frame 86
onClipEvent (load) {
thos._visible = false;
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 86
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 130;
stopingpiont = 35;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "glass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 86
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 60, 650, -50);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 86
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 87
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 2490 MovieClip "objb" in Frame 87
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 2492 MovieClip "obja" in Frame 87
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 87
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -200;
stopingpiont = 55;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 87
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this.swapDepths(this._y);
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevelb" in Frame 87
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 82);
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 87
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 37, 540, 158);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 87
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 88
stop();
if (currentsoundplaying != soundfileb) {
stopa();
currentsoundplaying = soundfileb;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "b");
}
Instance of Symbol 4538 MovieClip "objc" in Frame 88
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 4540 MovieClip "objb" in Frame 88
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 4542 MovieClip "obja" in Frame 88
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 4544 MovieClip "objd" in Frame 88
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 4546 MovieClip "obje" in Frame 88
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 4548 MovieClip "objf" in Frame 88
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 88
onClipEvent (load) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -100;
stopingpiont = 50;
this._visible = false;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 88
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 2328 MovieClip "changelevela" in Frame 88
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 37, 100, 158);
}
Instance of Symbol 809 MovieClip in Frame 88
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
i = 0;
if (_root.mainbuttondowna == true) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y - 70, 4);
}
} else {
i++;
if (i == 1) {
_root.placeinfo(0, 0, 3);
}
}
}
Frame 89
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4554 MovieClip "obja" in Frame 89
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 89
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 89
onClipEvent (load) {
this._visible = false;
ystopingpiont = 70;
stopingpiont = 50;
if (_root.spacebound == false) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
}
onClipEvent (enterFrame) {
if (_root.spacebound == true) {
_root.spacebound = false;
}
_root.playfootstepsound(_x, _y, "concrete");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 89
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.spacex = 17;
_root.spacey = 20;
_root.superhittest(_root.changelevela, 105, 284, 210);
_root.numberdestinationgoto = 105;
_root.mainplayersquarex = 284;
_root.mainplayersquarey = 210;
_root.gotoAndStop(4);
}
}
Instance of Symbol 454 MovieClip "orbe" in Frame 89
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 89
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.superhittest(_root.changelevelb, 90, 445, 312);
}
}
Frame 90
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4562 MovieClip "objb" in Frame 90
onClipEvent (load) {
this.swapDepths(this._y);
}
onClipEvent (enterFrame) {
if (((_root.money8 == false) & hitTest(_root.mainplayersquare)) & (_root.mainbuttondowna == true)) {
_root.money8 = true;
_root.getwords(_x + 20, _y, 70, "Vodka money!-$50");
_root.money = _root.money + 50;
}
}
Instance of Symbol 4562 MovieClip "obja" in Frame 90
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 4583 MovieClip "objc" in Frame 90
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
if (_root.selecetitema == 1) {
gotoAndPlay (2);
_root.keya = false;
}
}
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
i++;
}
if (_root.crystals0 == true) {
if (i == 1) {
_root.getwords(_x, _y, 70, "I think russia is now a pansy country. It used to be tough, now its all poos");
}
if (i == 2) {
i = 0;
}
}
if (_root.crystals0 == false) {
if (i == 1) {
_root.getwords(_x, _y, 70, "Haha! you know the russians haveing a missile base on the moon in the 1960's was a load of crud? we actually did!");
}
if (i == 2) {
_root.getwords(_x, _y, 70, " If you riddle me this I will give you a space crystal!");
}
if (i == 3) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y - 70, 8);
}
if (i == 4) {
_root.walkingdisabled = false;
if (_root.bubble.left.i == 1) {
_root.getwords(_x, _y, 70, "That's right! all of the months have 28 days!");
_root.crystals0 = true;
}
if (_root.bubble.left.i == 2) {
_root.getwords(_x, _y, 70, "Ah, nope");
}
if (_root.bubble.left.i == 3) {
_root.getwords(_x, _y, 70, "Now thats a stupid answer.");
}
}
if (i == 5) {
_root.walkingdisabled = false;
}
}
b = 0;
} else {
i = 0;
b++;
if (b == 1) {
_root.getwords(0, 0, 0, "");
}
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 90
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedownleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 90
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -350;
stopingpiont = 40;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
xspeed = 10 * _root.speedtimes;
yspeed = 5.7 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 90
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 89, 37, 350);
}
Frame 91
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4587 MovieClip "objb" in Frame 91
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4589 MovieClip "obja" in Frame 91
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4591 MovieClip "objc" in Frame 91
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4595 MovieClip "objg" in Frame 91
onClipEvent (enterFrame) {
if (hitarea.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4597 MovieClip in Frame 91
onClipEvent (enterFrame) {
_visible = false;
}
Instance of Symbol 4599 MovieClip "obje" in Frame 91
onClipEvent (enterFrame) {
if (hitarea.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4601 MovieClip "obji" in Frame 91
onClipEvent (enterFrame) {
if (hitarea.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4601 MovieClip "objh" in Frame 91
onClipEvent (enterFrame) {
if (hitarea.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4603 MovieClip "objd" in Frame 91
onClipEvent (enterFrame) {
if (hitarea.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
if (_root.crystals8 == true) {
_root.objl._visible = false;
} else {
_root.objl._visible = true;
}
} else {
_visible = false;
_root.objl._visible = false;
}
}
Instance of Symbol 4595 MovieClip "objf" in Frame 91
onClipEvent (enterFrame) {
if (hitarea.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4608 MovieClip "objk" in Frame 91
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hit.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
i++;
}
if (_root.crystals6 == true) {
if (i == 1) {
_root.getwords(_x, _y, 70, "Metallicas Ride The Lightning has to be the best CD in the solar system.");
}
if (i == 2) {
i = 0;
}
}
if (_root.crystals6 == false) {
if (i == 1) {
_root.getwords(_x, _y, 70, "Hi! I hope you enjoy your stay on the russian space station. Wanna space crystal?");
}
if (i == 2) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y - 70, 14);
}
if (i == 3) {
_root.walkingdisabled = false;
if (_root.bubble.left.i == 1) {
_root.getwords(_x, _y, 70, "Now thats a stupid answer.");
}
if (_root.bubble.left.i == 2) {
_root.getwords(_x, _y, 70, "Ah, nope");
}
if (_root.bubble.left.i == 3) {
_root.getwords(_x, _y, 70, "That's right! there is only 2 T's in ThaT!");
_root.crystals6 = true;
}
}
if (i == 5) {
_root.walkingdisabled = false;
}
}
d = 0;
} else {
i = 0;
d++;
if (d == 1) {
_root.getwords(0, 0, 0, "");
}
}
}
Instance of Symbol 4624 MovieClip "objj" in Frame 91
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hit.hitTest(_root.mainplayersquare)) {
if (_root.selecetitema == true) {
m.play();
_root.keya = false;
}
if (_root.mainbuttondowna == true) {
i = i + 1;
}
if (_root.crystals7 == true) {
if (i == 1) {
_root.getwords(_x, _y, 70, "You know what, when I return home, I'm gonna get really drunk!");
}
if (i == 2) {
i = 0;
}
}
if (_root.crystals7 == false) {
if (i == 0) {
_root.getwords(_x, _y, 70, "You like it on the russian space station da? Wanna space crystal?");
}
if (i == 1) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y - 70, 15);
}
if (i == 2) {
_root.walkingdisabled = false;
if (_root.bubble.left.i == 1) {
_root.getwords(_x, _y, 70, "What if your brain dead?");
}
if (_root.bubble.left.i == 2) {
_root.getwords(_x, _y, 70, "Calculator? WTF?");
}
if (_root.bubble.left.i == 3) {
_root.getwords(_x, _y, 70, "That's right! unless you're playing with a steak knife. Or fire works. Or an angry cat. I'll give it to you anyway;)");
_root.crystals7 = true;
}
}
if (i == 3) {
_root.walkingdisabled = false;
}
}
d = 0;
} else {
d++;
if (d == 1) {
i = 0;
_root.getwords(0, 0, 0, "");
}
}
}
Instance of Symbol 4626 MovieClip "objl" in Frame 91
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare) & (_visible == true)) {
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
_root.crystals8 = true;
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 91
onClipEvent (load) {
_root.walls._visible = false;
gotoAndStop (5);
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 91
onClipEvent (load) {
this._visible = false;
if (_root.spacebound == false) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
}
onClipEvent (enterFrame) {
_root.actionbuttondown();
if (_root.spacebound == true) {
_root.spacebound = false;
}
_root.changepostionb();
yspeed = 5.7 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 91
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.spacex = 0;
_root.spacey = -30;
_root.superhittest(_root.changelevela, 105, 284, 210);
_root.numberdestinationgoto = 105;
_root.mainplayersquarex = 284;
_root.mainplayersquarey = 210;
_root.gotoAndStop(4);
}
}
Frame 92
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4630 MovieClip "obja" in Frame 92
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4632 MovieClip "objc" in Frame 92
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4601 MovieClip "objb" in Frame 92
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4649 MovieClip "objd" in Frame 92
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if ((_root.selecetitema == 1) & (_root.keya == true)) {
play();
_root.keya = false;
}
if (_root.mainbuttondowna == true) {
i++;
}
if (_root.crystals5 == true) {
if (i == 1) {
_root.getwords(_x, _y, 70, "What the hell am I supposed to do up here anyway?");
}
if (i == 2) {
i = 0;
}
}
if (_root.crystals5 == false) {
if (i == 1) {
_root.getwords(_x, _y, 70, "Wellcome to the International Space Station! It cost one trillion dollars and it's only half the size of the russians!");
}
if (i == 2) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y - 70, 13);
}
if (i == 3) {
_root.walkingdisabled = false;
if (_root.bubble.left.i == 1) {
_root.getwords(_x, _y, 70, "Are dots letters?! are you as stupid as me?");
}
if (_root.bubble.left.i == 2) {
_root.getwords(_x, _y, 70, "Shit yeah! all those years of screwing NASA officials paid of for this single moment of entertainment!");
_root.crystals5 = true;
}
if (_root.bubble.left.i == 3) {
_root.getwords(_x, _y, 70, "Well a computer might have but, ah, nope.");
}
}
if (i == 4) {
_root.getwords(_x, _y, 70, "");
}
}
} else {
i = 0;
_root.getwords(0, 0, 0, "");
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 92
onClipEvent (load) {
this._visible = false;
if (_root.spacebound == false) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
}
onClipEvent (enterFrame) {
_root.actionbuttondown();
if (_root.spacebound == true) {
_root.spacebound = false;
}
_root.changepostionb();
yspeed = 5.7 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Frame 93
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4655 MovieClip "obja" in Frame 93
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 93
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 93
onClipEvent (load) {
this._visible = false;
ystopingpiont = 70;
stopingpiont = 50;
if (_root.spacebound == false) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
}
onClipEvent (enterFrame) {
if (_root.spacebound == true) {
_root.spacebound = false;
}
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 93
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.spacex = -300;
_root.spacey = 350;
_root.superhittest(_root.changelevela, 105, 284, 210);
_root.numberdestinationgoto = 105;
_root.mainplayersquarex = 284;
_root.mainplayersquarey = 210;
_root.gotoAndStop(4);
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 93
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 94, 60, 331);
}
Instance of Symbol 454 MovieClip "orbb" in Frame 93
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orba" in Frame 93
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 94
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4687 MovieClip "objd" in Frame 94
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
if (_root.selecetitema == 1) {
gotoAndPlay (19);
_root.keya = false;
}
}
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
i++;
}
if (_root.crystals1 == true) {
if (i == 1) {
_root.getwords(_x, _y, 70, "Sorry I was rude, I've been having a bad week. (shes on her rag)");
}
if (i == 2) {
i = 0;
}
}
if (_root.crystals1 == false) {
if (i == 1) {
_root.getwords(_x, _y, 80, "Looking for space crystals, eh? gimmie the answer to this riddle and I'll give you a ticket to the ISS");
}
if (i == 2) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y - 80, 9);
}
if (i == 3) {
_root.walkingdisabled = false;
if (_root.bubble.left.i == 1) {
_root.getwords(_x, _y, 80, "O.k. you must be stoned right now. fuck off.");
play();
}
if (_root.bubble.left.i == 2) {
_root.getwords(_x, _y, 80, "Damb fuckin right it is! heres your shitty crystall.");
_root.crystals1 = true;
}
if (_root.bubble.left.i == 3) {
_root.getwords(_x, _y, 80, "O.k. come back with some mushrooms and tell me again.");
play();
}
}
if (i == 4) {
_root.walkingdisabled = false;
if (_root.bubble.left.i == 2) {
_root.getwords(_x, _y, 70, "");
}
}
}
} else {
i = 0;
_root.getwords(0, 0, 0, "");
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 94
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -100;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 94
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 93, 514, 312);
}
Frame 95
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4693 MovieClip "obja" in Frame 95
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 95
onClipEvent (load) {
this._visible = false;
if (_root.spacebound == false) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
ystopingpiont = -100;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
if (_root.spacebound == true) {
_root.spacebound = false;
}
_root.playfootstepsound(_x, _y, "gravel");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 95
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.spacex = 0;
_root.spacey = 200;
_root.superhittest(_root.changelevela, 105, 284, 210);
_root.numberdestinationgoto = 105;
_root.mainplayersquarex = 284;
_root.mainplayersquarey = 210;
_root.gotoAndStop(4);
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 95
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 96, 50, 350);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 95
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 95
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 96
stop();
_root.spacebound = false;
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4717 MovieClip "objd" in Frame 96
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
if (_root.selecetitema == 1) {
play();
_root.keya = false;
}
}
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
i++;
}
if (_root.crystals2 == true) {
if (i == 1) {
_root.getwords(_x, _y, 70, "Yo! got all the clothes yet? -cosh- -cosh- 'allpants'");
}
if (i == 2) {
i = 0;
}
}
if (_root.crystals2 == false) {
if (i == 1) {
_root.getwords(_x, _y, 70, "Hey, I'm a hot martian, wanna get to the russian space center? they have a nice pair of tits there!");
}
if (i == 2) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y - 70, 10);
}
if (i == 3) {
_root.walkingdisabled = false;
if (_root.bubble.left.i == 1) {
_root.getwords(_x, _y, 70, "Wow your smart for a blonde. Go say hi for the russians would ya? The yankie probes down here piss me off.");
_root.crystals2 = true;
}
if (_root.bubble.left.i == 2) {
_root.getwords(_x, _y, 70, "Labeled clothes and cheap clothes come out of the same factory. Unless it made in NZ ;)");
}
if (_root.bubble.left.i == 3) {
_root.getwords(_x, _y, 70, "Um, what retard would pay $300 for a sweatshop made handbag?");
}
}
if (i == 4) {
_root.getwords(_x, _y, 70, "");
}
}
} else {
i = 0;
_root.getwords(0, 0, 0, "");
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 96
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 70;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.changepostionb();
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 96
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 95, 512, 137);
}
Frame 97
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 807 MovieClip "squareb" in Frame 97
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 97
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "carpet");
_root.changepostionb();
yspeed = 3.7 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 97
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 60, -225, -111);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 97
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 98
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4731 MovieClip "obja" in Frame 98
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 4733 MovieClip "objb" in Frame 98
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 98
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 98
onClipEvent (load) {
this._visible = false;
if (_root.spacebound == false) {
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
}
}
onClipEvent (enterFrame) {
if (_root.spacebound == true) {
_root.spacebound = false;
}
_root.playfootstepsound(_x, _y, "glass");
yspeed = 5.7 * _root.speedtimes;
xspeed = 10 * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 98
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.spacex = -20;
_root.spacey = 85;
_root.superhittest(_root.changelevela, 105, 284, 210);
_root.numberdestinationgoto = 105;
_root.mainplayersquarex = 284;
_root.mainplayersquarey = 210;
_root.gotoAndStop(4);
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 98
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 99);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 98
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 99
stop();
_root.spacebound = false;
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4731 MovieClip "objb" in Frame 99
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 4758 MovieClip "objc" in Frame 99
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare) & (this._currentframe == 1)) {
if (_root.selecetitema == 1) {
play();
_root.keya = false;
}
}
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
i++;
}
if (_root.crystals3 == true) {
if (i == 1) {
_root.getwords(_x, _y, 70, "Venus is funny, coz it rymes with penus.");
}
if (i == 2) {
i = 0;
}
}
if (_root.crystals3 == false) {
if (i == 1) {
_root.getwords(_x, _y, 70, "Venus looks cold but it sure is hot. Maby its just me.");
}
if (i == 2) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y - 70, 11);
}
if (i == 3) {
_root.walkingdisabled = false;
if (_root.bubble.left.i == 1) {
_root.getwords(_x, _y, 70, "Yes!");
_root.crystals3 = true;
}
if (_root.bubble.left.i == 2) {
_root.getwords(_x, _y, 70, "Well, some are but not all of them.");
}
if (_root.bubble.left.i == 3) {
_root.getwords(_x, _y, 70, "Knights are, but a king can be crowned anywhere.");
}
}
if (i == 4) {
_root.getwords(_x, _y, 70, "");
}
}
} else {
i = 0;
_root.getwords(0, 0, 0, "");
}
}
Instance of Symbol 807 MovieClip "squareb" in Frame 99
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.facedownleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 99
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -100;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "glass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 99
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 98, 77, 134);
}
Frame 100
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4764 MovieClip "objf" in Frame 100
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 4766 MovieClip "objc" in Frame 100
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 4768 MovieClip "objd" in Frame 100
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 4770 MovieClip "objg" in Frame 100
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 4772 MovieClip "obje" in Frame 100
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 4772 MovieClip "objb" in Frame 100
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 4770 MovieClip "obja" in Frame 100
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 807 MovieClip "squareb" in Frame 100
onClipEvent (load) {
gotoAndStop(_root.currantdress);
_root.walls._visible = false;
_root.faceupleft();
}
onClipEvent (enterFrame) {
this._y = _root.mainplayersquare._y;
this._x = _root.mainplayersquare._x;
this.swapDepths(_y);
oldframe = _currentframe;
if (_root.dressenabe3 == true) {
if (Key.isDown(32) & (_currentframe == 2)) {
gotoAndStop (3);
}
if ((Key.isDown(32) == false) & (_currentframe == 3)) {
gotoAndStop (2);
}
}
_root.maincontrolls();
if (_root.walkingdisabled == true) {
_root.squareb.left.gotoAndStop(1);
_root.squareb.right.gotoAndStop(1);
_root.squareb.upright.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.down.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
if ((_root.walkingdisabled == false) & (_currentframe != 3)) {
if (Key.isDown(_root.buttonleft)) {
if (Key.isDown(_root.buttonleft)) {
this.left.Play();
_root.faceleft();
i = 7;
}
} else if (_currentframe != 3) {
_root.squareb.left.gotoAndStop(1);
}
if (Key.isDown(_root.buttonright)) {
if (Key.isDown(_root.buttonright)) {
_root.squareb.right.Play();
_root.faceright();
i = 3;
}
} else if (_currentframe != 3) {
_root.squareb.right.gotoAndStop(1);
}
if (Key.isDown(_root.buttondown)) {
if (Key.isDown(_root.buttondown)) {
_root.squareb.down.Play();
_root.facedown();
i = 5;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.downright.Play();
_root.facedownright();
i = 4;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.downleft.Play();
_root.facedownleft();
i = 6;
}
} else if (_currentframe != 3) {
_root.squareb.down.gotoAndStop(1);
_root.squareb.downleft.gotoAndStop(1);
_root.squareb.downright.gotoAndStop(1);
}
if (Key.isDown(_root.buttonup)) {
if (Key.isDown(_root.buttonup)) {
_root.squareb.up.Play();
_root.faceup();
i = 1;
}
if (Key.isDown(_root.buttonright)) {
_root.squareb.upright.Play();
_root.faceupright();
i = 2;
}
if (Key.isDown(_root.buttonleft)) {
_root.squareb.upleft.Play();
_root.faceupleft();
i = 8;
}
} else if (_currentframe != 3) {
_root.squareb.upright.gotoAndStop(1);
_root.squareb.upleft.gotoAndStop(1);
_root.squareb.up.gotoAndStop(1);
}
}
framediff = oldframe - _currentframe;
if (framediff != 0) {
_root.squareb.downleft._visible = 0;
_root.squareb.downright._visible = 0;
_root.squareb.right._visible = 0;
_root.squareb.up._visible = 0;
_root.squareb.down._visible = 0;
_root.squareb.upleft._visible = 0;
_root.squareb.upright._visible = 0;
_root.squareb.left._visible = 0;
if (i == 8) {
_root.squareb.upleft._visible = 1;
}
if (i == 7) {
_root.squareb.left._visible = 1;
}
if (i == 6) {
_root.squareb.downleft._visible = 1;
}
if (i == 5) {
_root.squareb.down._visible = 1;
}
if (i == 4) {
_root.squareb.downright._visible = 1;
}
if (i == 3) {
_root.squareb.right._visible = 1;
}
if (i == 2) {
_root.squareb.upright._visible = 1;
}
if (i == 1) {
_root.squareb.up._visible = 1;
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 100
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -200;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.changepostionb();
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 100
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.spacex = -550;
_root.spacey = 350;
_root.superhittest(_root.changelevela, 105, 284, 210);
_root.numberdestinationgoto = 105;
_root.mainplayersquarex = 284;
_root.mainplayersquarey = 210;
_root.gotoAndStop(4);
}
}
Instance of Symbol 1803 MovieClip "changelevelb" in Frame 100
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelb, 101);
}
Instance of Symbol 1803 MovieClip "changelevelc" in Frame 100
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevelc, 102);
}
Instance of Symbol 454 MovieClip "orbd" in Frame 100
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbc" in Frame 100
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbb" in Frame 100
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 101
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4778 MovieClip "obja" in Frame 101
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 4780 MovieClip "objb" in Frame 101
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 4782 MovieClip "objd" in Frame 101
onClipEvent (load) {
this.swapDepths(this._y);
}
onClipEvent (enterFrame) {
if (((_root.money9 == false) & hitTest(_root.mainplayersquare)) & (_root.mainbuttondowna == true)) {
_root.money9 = true;
_root.getwords(_x, _y, 70, "joyie money -$50");
_root.money = _root.money + 50;
}
}
Instance of Symbol 4798 MovieClip "objc" in Frame 101
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
i++;
}
if (_root.crystals4 == true) {
if (i == 1) {
_root.getwords(_x, _y, 70, "Me and mrs noob next door got a base ball bat and smashed the probe to little bits!");
}
if (i == 2) {
i = 0;
}
}
if (_root.crystals4 == false) {
if (i == 1) {
_root.getwords(_x, _y, 70, "A proble landed here a few weeks ago. It had cassini written all over it.");
}
if (i == 2) {
_root.walkingdisabled = true;
_root.placeinfo(_x, _y - 70, 12);
}
if (i == 3) {
_root.walkingdisabled = false;
if (_root.bubble.left.i == 1) {
_root.getwords(_x, _y, 70, "YES!!...no wait.... you really buggerd up.");
}
if (_root.bubble.left.i == 2) {
_root.getwords(_x, _y, 70, "Haha, yea it was a bit lame but true");
_root.crystals4 = true;
play();
}
if (_root.bubble.left.i == 3) {
_root.getwords(_x, _y, 70, "Tell me how could you get that wrong!?!");
}
}
if (i == 4) {
_root.getwords(_x, _y, 70, "");
}
}
b = 0;
} else {
i = 0;
b++;
if (b == 1) {
_root.getwords(0, 0, 0, "");
}
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 101
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -50;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 101
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 100, 100, 0);
}
Instance of Symbol 454 MovieClip "orbe" in Frame 101
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 102
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4804 MovieClip "objb" in Frame 102
onClipEvent (load) {
this.swapDepths(this._y);
}
Instance of Symbol 4820 MovieClip "obja" in Frame 102
onClipEvent (load) {
this.swapDepths(_y);
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
if (_root.selecetitema == 1) {
gotoAndPlay (2);
_root.keya = false;
}
}
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
i++;
}
if (i == 1) {
_root.getwords(_x, _y, 90, "A probe called cassini landed here. I thought it was a giant pie and took a bite out of it.");
}
if (i == 2) {
_root.getwords(_x, _y, 90, "Those pesky yanks....Wait, it was the Europeans, but hate the germans just as much. With their little cars,");
}
if (i == 3) {
_root.getwords(_x, _y, 90, "And, their superhighways. Ahhh. life is boring out here. nothing to do.");
}
if (i == 4) {
_root.getwords(_x, _y, 90, "You come from where?!");
}
} else {
i = 0;
_root.getwords(0, 0, 0, "");
}
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 102
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -200;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "gravel");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 102
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 100, 540, 40);
}
Frame 103
stop();
if (currentsoundplaying != soundfilea) {
stopa();
currentsoundplaying = soundfilea;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 1894 MovieClip "objb" in Frame 103
onClipEvent (load) {
this.swapDepths(_y);
if (_root.keya == true) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
if ((_root.soundoff == false) & (_root.keya == false)) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
_visible = false;
_root.keya = true;
}
}
}
Instance of Symbol 4826 MovieClip "walls" in Frame 103
onClipEvent (load) {
thos._visible = false;
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 103
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = 50;
stopingpiont = 20;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "grass");
_root.squareb._yscale = ((_y - ystopingpiont) / stopingpiont) * 15;
_root.squareb._xscale = ((_y - ystopingpiont) / stopingpiont) * 15;
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 103
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 16, 515, 250);
}
Frame 104
stop();
if (currentsoundplaying != soundfilef) {
stopa();
currentsoundplaying = soundfilef;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
Instance of Symbol 4830 MovieClip "obje" in Frame 104
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 4832 MovieClip "objc" in Frame 104
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 4832 MovieClip "obja" in Frame 104
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 4834 MovieClip "objb" in Frame 104
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 4836 MovieClip "objf" in Frame 104
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 4838 MovieClip "objd" in Frame 104
onClipEvent (enterFrame) {
this.swapDepths(_y);
if (this.hitTest(_root.mainplayersquare)) {
i = 0;
if (_root.mainbuttondowna == true) {
h++;
}
if ((h == 1) & (_root.keyj == 0)) {
_root.getwords(_x, _y, 40, ("People like you shouldent be here" add unescape("%0D%0D")) add "");
}
if ((h == 1) & (_root.keyj == 1)) {
_root.getwords(_x, _y, 40, "Hello, havent seen you before, come on in");
}
if ((h == 1) & (_root.keyj == 2)) {
_root.getwords(_x, _y, 40, "Are you a human?");
}
} else {
i++;
if (i == 1) {
_root.getwords(_x, _y, 40, "");
}
}
}
Instance of Symbol 4840 MovieClip "objg" in Frame 104
onClipEvent (enterFrame) {
this.swapDepths(_y - 10);
if (this.hitTest(_root.mainplayersquare)) {
if (Key.isDown(_root.buttonaction)) {
if (_root.keyj == 0) {
_root.getwords(_x, _y, 50, ("get out of here flesh bag." add unescape("%0D%0D")) add "you have to be one of us to get in here");
}
if (_root.keyj != 0) {
_root.getwords(_x, _y, 40, "Come on in");
}
}
}
}
Instance of Symbol 4842 MovieClip "objh" in Frame 104
onClipEvent (enterFrame) {
this.swapDepths(this._y);
}
Instance of Symbol 442 MovieClip "mainplayersquare" in Frame 104
onClipEvent (load) {
this._visible = false;
_root.mainplayersquare._y = _root.mainplayersquarey;
_root.mainplayersquare._x = _root.mainplayersquarex;
ystopingpiont = -200;
stopingpiont = 50;
}
onClipEvent (enterFrame) {
_root.playfootstepsound(_x, _y, "concrete");
_root.changepostionb();
yspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
xspeed = ((_y - ystopingpiont) / stopingpiont) * _root.speedtimes;
if ((_root.walkingdisabled == false) & (_root.squareb._currentframe != 3)) {
if (_root.walls.hitTest(_x, getBounds(_root).yMax, true)) {
} else if (Key.isDown(_root.buttondown)) {
this._y = this._y + yspeed;
}
if (_root.walls.hitTest(_x, getBounds(_root).yMin, true)) {
} else if (Key.isDown(_root.buttonup)) {
this._y = this._y - yspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMin, _y, true)) {
} else if (Key.isDown(_root.buttonleft)) {
this._x = this._x - xspeed;
}
if (_root.walls.hitTest(getBounds(_root).xMax, _y, true)) {
} else if (Key.isDown(_root.buttonright)) {
this._x = this._x + xspeed;
}
}
}
Instance of Symbol 1803 MovieClip "changelevela" in Frame 104
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
_root.superhittest(_root.changelevela, 74, -295, -390);
}
Instance of Symbol 1803 MovieClip "changelevelc" in Frame 104
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.keyj != 0) {
_root.superhittest(_root.changelevelc, 19);
}
}
Instance of Symbol 454 MovieClip "orbd" in Frame 104
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Instance of Symbol 454 MovieClip "orbb" in Frame 104
onClipEvent (load) {
if (_root.drawk == false) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
swapDepths(_y);
}
Frame 105
stop();
if (currentsoundplaying != soundfilec) {
stopa();
currentsoundplaying = soundfilec;
}
if (_root.soundoff == false) {
playa(currentsoundplaying, "c");
}
removeMovieClip(_root.slude);
_root.mainplayersquarex = 284;
_root.mainplayersquarey = 210;
_root.dead = false;
ccf = 105;
cameralens = 25;
fisheye = 3;
midpiont = 300;
paused = false;
spacebound = true;
shipdubble._accProps = new Object();
shipdubble._accProps.silent = false;
ship._accProps = new Object();
ship._accProps.silent = false;
Instance of Symbol 4848 MovieClip "background" in Frame 105
onClipEvent (enterFrame) {
_root.background._x = ((-(((((_root.cam.angle / Math.PI) % 2) + 2) % 2) - 1)) * _width) / 4;
}
Instance of Symbol 4849 MovieClip "cam" in Frame 105
onClipEvent (load) {
x = _root.spacex;
y = _root.spacey;
}
onClipEvent (enterFrame) {
_root.spacex = x;
_root.spacey = y;
_root.wanisingpiton = 20;
width = 600;
halfwidth = width / 2;
speed = 0.5 * _root.speedtimes;
if (_root.dead == true) {
i++;
if (i >= 5) {
x = -20;
y = -15;
i = 0;
_root.dead = false;
}
}
if ((_root.dead == false) & (_root.walkingdisabled == false)) {
if (Key.isDown(39)) {
angle = angle - ((_root.ship._currentframe - 11) / 100);
}
if (Key.isDown(37)) {
angle = (angle - ((_root.ship._currentframe - 11) / 100)) - 0.02;
}
if (Key.isDown(38)) {
_root.ship.dd.play();
_root.ship.dda.play();
y = y + (Math.cos(angle) / speed);
x = x + (Math.sin(angle) / speed);
} else {
_root.ship.dd.gotoAndStop(1);
_root.ship.dda.gotoAndStop(1);
}
if (Key.isDown(40)) {
y = y - (Math.cos(angle) / speed);
x = x - (Math.sin(angle) / speed);
}
}
}
Instance of Symbol 4851 MovieClip in Frame 105
onClipEvent (load) {
this.x = -10;
this.y = -5;
}
onClipEvent (enterFrame) {
distance = 3;
if ((((hitTest(_root.ship) & (x < (_root.cam.x + distance))) & (x > (_root.cam.x - distance))) & (y < (_root.cam.y + distance))) & (y > (_root.cam.y - distance))) {
_root.gotoAndStop(89);
}
if (_root.paused == false) {
var xdiff = (x - _root.cam.x);
var ydiff = (y - _root.cam.y);
var dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
var angle = Math.atan2(ydiff, xdiff);
var tempx = (dist * Math.cos(angle + _root.cam.angle));
var tempy = ((dist * Math.sin(angle + _root.cam.angle)) / _root.fisheye);
_y = ((500 / tempy) + 200);
_x = (((100 * tempx) / tempy) + _root.midpiont);
_xscale = (500 / tempy);
_yscale = (500 / tempy);
if (tempy < 0) {
_visible = false;
} else {
_visible = true;
}
swapDepths(_y * 4);
if (_root._currentframe != _root.ccf) {
removeMovieClip(this);
}
}
}
Instance of Symbol 4853 MovieClip in Frame 105
onClipEvent (load) {
this.x = -500;
this.y = 300;
}
onClipEvent (enterFrame) {
distance = 3;
if ((((hitTest(_root.ship) & (x < (_root.cam.x + distance))) & (x > (_root.cam.x - distance))) & (y < (_root.cam.y + distance))) & (y > (_root.cam.y - distance))) {
_root.gotoAndStop(100);
}
if (_root.paused == false) {
var xdiff = (x - _root.cam.x);
var ydiff = (y - _root.cam.y);
var dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
var angle = Math.atan2(ydiff, xdiff);
var tempx = (dist * Math.cos(angle + _root.cam.angle));
var tempy = ((dist * Math.sin(angle + _root.cam.angle)) / _root.fisheye);
_y = ((500 / tempy) + 200);
_x = (((100 * tempx) / tempy) + _root.midpiont);
_xscale = (500 / tempy);
_yscale = (500 / tempy);
if (tempy < 0) {
_visible = false;
} else {
_visible = true;
}
swapDepths(_y * 4);
if (_root._currentframe != _root.ccf) {
removeMovieClip(this);
}
}
}
Instance of Symbol 4855 MovieClip in Frame 105
onClipEvent (load) {
this.x = -250;
this.y = 300;
}
onClipEvent (enterFrame) {
distance = 3;
if ((((hitTest(_root.ship) & (x < (_root.cam.x + distance))) & (x > (_root.cam.x - distance))) & (y < (_root.cam.y + distance))) & (y > (_root.cam.y - distance))) {
_root.gotoAndStop(93);
}
if (_root.paused == false) {
var xdiff = (x - _root.cam.x);
var ydiff = (y - _root.cam.y);
var dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
var angle = Math.atan2(ydiff, xdiff);
var tempx = (dist * Math.cos(angle + _root.cam.angle));
var tempy = ((dist * Math.sin(angle + _root.cam.angle)) / _root.fisheye);
_y = ((500 / tempy) + 200);
_x = (((100 * tempx) / tempy) + _root.midpiont);
_xscale = (500 / tempy);
_yscale = (500 / tempy);
if (tempy < 0) {
_visible = false;
} else {
_visible = true;
}
swapDepths(_y * 4);
if (_root._currentframe != _root.ccf) {
removeMovieClip(this);
}
}
}
Instance of Symbol 4857 MovieClip in Frame 105
onClipEvent (load) {
this.x = -10;
this.y = 75;
}
onClipEvent (enterFrame) {
distance = 3;
if ((((hitTest(_root.ship) & (x < (_root.cam.x + distance))) & (x > (_root.cam.x - distance))) & (y < (_root.cam.y + distance))) & (y > (_root.cam.y - distance))) {
_root.gotoAndStop(98);
}
if (_root.paused == false) {
var xdiff = (x - _root.cam.x);
var ydiff = (y - _root.cam.y);
var dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
var angle = Math.atan2(ydiff, xdiff);
var tempx = (dist * Math.cos(angle + _root.cam.angle));
var tempy = ((dist * Math.sin(angle + _root.cam.angle)) / _root.fisheye);
_y = ((500 / tempy) + 200);
_x = (((100 * tempx) / tempy) + _root.midpiont);
_xscale = (500 / tempy);
_yscale = (500 / tempy);
if (tempy < 0) {
_visible = false;
} else {
_visible = true;
}
swapDepths(_y * 4);
if (_root._currentframe != _root.ccf) {
removeMovieClip(this);
}
}
}
Instance of Symbol 4859 MovieClip in Frame 105
onClipEvent (load) {
this.x = 0;
this.y = 150;
}
onClipEvent (enterFrame) {
distance = 3;
if ((((hitTest(_root.ship) & (x < (_root.cam.x + distance))) & (x > (_root.cam.x - distance))) & (y < (_root.cam.y + distance))) & (y > (_root.cam.y - distance))) {
_root.gotoAndStop(95);
}
if (_root.paused == false) {
var xdiff = (x - _root.cam.x);
var ydiff = (y - _root.cam.y);
var dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
var angle = Math.atan2(ydiff, xdiff);
var tempx = (dist * Math.cos(angle + _root.cam.angle));
var tempy = ((dist * Math.sin(angle + _root.cam.angle)) / _root.fisheye);
_y = ((500 / tempy) + 200);
_x = (((100 * tempx) / tempy) + _root.midpiont);
_xscale = (500 / tempy);
_yscale = (500 / tempy);
if (tempy < 0) {
_visible = false;
} else {
_visible = true;
}
swapDepths(_y * 4);
if (_root._currentframe != _root.ccf) {
removeMovieClip(this);
}
}
}
Instance of Symbol 4861 MovieClip in Frame 105
onClipEvent (load) {
this.x = -10;
this.y = -14;
}
onClipEvent (enterFrame) {
distance = 3;
if ((((hitTest(_root.ship) & (x < (_root.cam.x + distance))) & (x > (_root.cam.x - distance))) & (y < (_root.cam.y + distance))) & (y > (_root.cam.y - distance))) {
_root.gotoAndStop(57);
}
if (_root.paused == false) {
var xdiff = (x - _root.cam.x);
var ydiff = (y - _root.cam.y);
var dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
var angle = Math.atan2(ydiff, xdiff);
var tempx = (dist * Math.cos(angle + _root.cam.angle));
var tempy = ((dist * Math.sin(angle + _root.cam.angle)) / _root.fisheye);
_y = ((500 / tempy) + 200);
_x = (((100 * tempx) / tempy) + _root.midpiont);
_xscale = (500 / tempy);
_yscale = (500 / tempy);
if (tempy < 0) {
_visible = false;
} else {
_visible = true;
}
swapDepths(_y * 4);
if (_root._currentframe != _root.ccf) {
removeMovieClip(this);
}
}
}
Instance of Symbol 4863 MovieClip "sun" in Frame 105
onClipEvent (load) {
this.x = 10;
this.y = 50;
}
onClipEvent (enterFrame) {
if (_root.paused == false) {
var xdiff = (x - _root.cam.x);
var ydiff = (y - _root.cam.y);
var dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
var angle = Math.atan2(ydiff, xdiff);
var tempx = (dist * Math.cos(angle + _root.cam.angle));
var tempy = ((dist * Math.sin(angle + _root.cam.angle)) / _root.fisheye);
_y = ((500 / tempy) + 200);
_x = (((100 * tempx) / tempy) + _root.midpiont);
_xscale = (500 / tempy);
_yscale = (500 / tempy);
if (tempy < 0) {
_visible = false;
} else {
_visible = true;
}
swapDepths(_y * 4);
if (_root._currentframe != _root.ccf) {
removeMovieClip(this);
}
}
}
Instance of Symbol 4889 MovieClip "shipdubble" in Frame 105
onClipEvent (load) {
a = 100;
}
onClipEvent (enterFrame) {
a = (((_root.cam.x - _root.sun.x) * (_root.cam.x - _root.sun.x)) + ((_root.cam.y - _root.sun.y) * (_root.cam.y - _root.sun.y))) / 10;
_alpha = Math.round((1 / a) * 500);
_root.ss = a;
if ((a < 3) & (_currentframe <= 19)) {
_root.dead = true;
gotoAndPlay (20);
_root.ship.gotoAndPlay(20);
}
this.swapDepths((_y * 40) + 10);
if (_root._currentframe != _root.ccf) {
removeMovieClip(this);
}
}
Instance of Symbol 4889 MovieClip "ship" in Frame 105
onClipEvent (enterFrame) {
if ((_root.mainbar.options._currentframe != 1) | (_root.mainbar.mainbar.soundedit._currentframe != 1)) {
stop();
_root.shipdubble.stop();
swapDepths(10);
} else {
swapDepths(_y * 40);
}
if (_root._currentframe != _root.ccf) {
removeMovieClip(this);
}
if ((_root.dead == false) & (_root.walkingdisabled == false)) {
if (Key.isDown(38)) {
if (Key.isDown(39)) {
_root.ship.direction = _root.ship.direction - 2;
}
if (Key.isDown(37)) {
_root.ship.direction = _root.ship.direction + 2;
}
}
gotoAndPlay(e);
_root.shipdubble.gotoAndPlay(e);
e = direction + 10;
}
if (direction > 0) {
direction = direction - 1;
}
if (direction < 0) {
direction = direction + 1;
}
if (direction > 7) {
direction = 7;
}
if (direction < -7) {
direction = -7;
}
}
Instance of Symbol 4849 MovieClip "mainplayersquare" in Frame 105
/* no clip actions */
Instance of Symbol 4891 MovieClip in Frame 105
onClipEvent (load) {
this.x = -25;
this.y = -20;
}
onClipEvent (enterFrame) {
distance = 3;
if (_root.crystals1 == true) {
if ((((hitTest(_root.ship) & (x < (_root.cam.x + distance))) & (x > (_root.cam.x - distance))) & (y < (_root.cam.y + distance))) & (y > (_root.cam.y - distance))) {
_root.gotoAndStop(92);
}
} else {
_visible = false;
}
if (_root.paused == false) {
var xdiff = (x - _root.cam.x);
var ydiff = (y - _root.cam.y);
var dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
var angle = Math.atan2(ydiff, xdiff);
var tempx = (dist * Math.cos(angle + _root.cam.angle));
var tempy = ((dist * Math.sin(angle + _root.cam.angle)) / _root.fisheye);
_y = ((500 / tempy) + 200);
_x = (((100 * tempx) / tempy) + _root.midpiont);
_xscale = (500 / tempy);
_yscale = (500 / tempy);
if (tempy < 0) {
_visible = false;
} else if (_root.crystals1 == true) {
_visible = true;
}
swapDepths(_y * 4);
if (_root._currentframe != _root.ccf) {
removeMovieClip(this);
}
}
}
Instance of Symbol 4893 MovieClip in Frame 105
onClipEvent (load) {
this.x = -5;
this.y = -20;
}
onClipEvent (enterFrame) {
distance = 3;
if (_root.crystals2 == true) {
if ((((hitTest(_root.ship) & (x < (_root.cam.x + distance))) & (x > (_root.cam.x - distance))) & (y < (_root.cam.y + distance))) & (y > (_root.cam.y - distance))) {
_root.gotoAndStop(91);
}
} else {
_visible = false;
}
if (_root.paused == false) {
var xdiff = (x - _root.cam.x);
var ydiff = (y - _root.cam.y);
var dist = Math.sqrt((xdiff * xdiff) + (ydiff * ydiff));
var angle = Math.atan2(ydiff, xdiff);
var tempx = (dist * Math.cos(angle + _root.cam.angle));
var tempy = ((dist * Math.sin(angle + _root.cam.angle)) / _root.fisheye);
_y = ((500 / tempy) + 200);
_x = (((100 * tempx) / tempy) + _root.midpiont);
_xscale = (500 / tempy);
_yscale = (500 / tempy);
if (tempy < 0) {
_visible = false;
} else if (_root.crystals2 == true) {
_visible = true;
}
swapDepths(_y * 4);
if (_root._currentframe != _root.ccf) {
removeMovieClip(this);
}
}
}
Frame 106
stop();
remove3dobjects();
Symbol 66 Button
on (release) {
if (_root.movie._currentframe == 1) {
_root.movie.gotoAndPlay(2);
_root.movie._visible = true;
_root.stop();
}
}
Symbol 404 MovieClip Frame 1
stop();
if (_root.soundoff == false) {
play();
}
Symbol 406 MovieClip Frame 1
stop();
if (_root.soundoff == false) {
play();
}
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 5
stop();
Instance of Symbol 409 MovieClip "area" in Symbol 411 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 407 MovieClip in Symbol 420 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= 4) {
play();
}
} else if (this._currentframe == 5) {
play();
}
}
Instance of Symbol 411 MovieClip "obja" in Symbol 420 MovieClip Frame 1
onClipEvent (enterFrame) {
pesentagedone = Math.round((((((((((((((((((((((((((((((((((Boolean(_root.keya) + Boolean(_root.keyb)) + Boolean(_root.keyc)) + Boolean(_root.keyd)) + Boolean(_root.keye)) + Boolean(_root.keyf)) + Boolean(_root.keyg)) + Boolean(_root.keyh)) + Boolean(_root.keyi)) + Boolean(_root.keyj)) + Boolean(_root.p1)) + Boolean(_root.p2)) + Boolean(_root.p3)) + Boolean(_root.p4)) + Boolean(_root.p5)) + Boolean(_root.p6)) + Boolean(_root.p7)) + Boolean(_root.p8)) + Boolean(_root.gem1)) + Boolean(_root.gem2)) + Boolean(_root.gem3)) + Boolean(_root.gem4)) + Boolean(_root.gem5)) + Boolean(_root.aiwalka)) + Boolean(_root.aiwalkb)) + Boolean(_root.aiwalkc)) + Boolean(_root.aiwalkd)) + Boolean(_root.aiwalke)) + Boolean(_root.aiwalkf)) + Boolean(_root.aiwalkg)) + Boolean(_root.aiwalkh)) + Boolean(_root.aiwalki)) + Boolean(_root.aiwalkj)) / 33) * 100) add "%";
if (area.hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
_root.getwords(_x, _y, 70, "Percent done: " add pesentagedone);
}
i = 0;
} else {
i++;
if (i == 1) {
_root.placeinfo(0, 0, 1);
}
}
if (_root._currentframe == 5) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 413 MovieClip "objb" in Symbol 420 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._currentframe == 5) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 415 MovieClip "objc" in Symbol 420 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(this._y);
if (hitTest(_root.mainplayersquare)) {
if ((_root.mainbuttondowna == true) & (_root.money <= 20)) {
_root.getwords(_x + 70, _y, 70, "You found your stash of P money $40");
_root.money = _root.money + 40;
}
d = 0;
} else {
d++;
if (d == 1) {
_root.getwords(_x, _y, 70, "");
}
}
}
Instance of Symbol 417 MovieClip "objd" in Symbol 420 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._currentframe == 5) {
this.swapDepths(this._y);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 419 MovieClip "obje" in Symbol 420 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(_y);
}
Symbol 421 MovieClip Frame 512
_root.gotoAndPlay(3);
Symbol 433 Button
on (release) {
_root.gotoAndPlay(1);
_root.walkingdisabled = false;
_root.screeneffectb = true;
_root.keya = false;
_root.keyb = false;
_root.keyc = false;
_root.keyd = false;
_root.keye = false;
_root.keyf = false;
_root.p1 = false;
_root.p2 = false;
_root.p3 = false;
_root.p4 = false;
_root.p5 = false;
_root.p6 = false;
_root.p7 = false;
_root.p8 = false;
}
Symbol 434 MovieClip Frame 201
stop();
Symbol 437 MovieClip Frame 1
stop();
Symbol 454 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.mainbar.options._currentframe > 1) {
stop();
o.stop();
} else {
play();
o.play();
}
};
Symbol 465 MovieClip Frame 1
stop();
Symbol 465 MovieClip Frame 10
gotoAndPlay (2);
Symbol 478 MovieClip Frame 1
stop();
Symbol 478 MovieClip Frame 12
gotoAndPlay (2);
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 12
gotoAndPlay (2);
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 12
gotoAndPlay (2);
Symbol 523 MovieClip Frame 1
stop();
Symbol 523 MovieClip Frame 10
gotoAndPlay (2);
Symbol 533 MovieClip Frame 1
stop();
Symbol 533 MovieClip Frame 10
gotoAndPlay (2);
Symbol 546 MovieClip Frame 1
stop();
Symbol 546 MovieClip Frame 12
gotoAndPlay (2);
Symbol 559 MovieClip Frame 1
stop();
Symbol 559 MovieClip Frame 12
gotoAndPlay (2);
Symbol 575 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 12
gotoAndPlay (2);
Symbol 588 MovieClip Frame 1
stop();
Symbol 588 MovieClip Frame 9
gotoAndPlay (2);
Symbol 595 MovieClip Frame 7
gotoAndPlay (3);
Symbol 602 MovieClip Frame 7
gotoAndPlay (3);
Symbol 609 MovieClip Frame 7
gotoAndPlay (3);
Symbol 616 MovieClip Frame 7
gotoAndPlay (3);
Symbol 623 MovieClip Frame 3
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("gun");
all.start(0, 0);
}
Symbol 623 MovieClip Frame 5
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("gun");
all.start(0, 0);
}
Symbol 623 MovieClip Frame 7
gotoAndPlay (3);
Symbol 634 MovieClip Frame 1
stop();
Symbol 634 MovieClip Frame 10
gotoAndPlay (2);
Symbol 647 MovieClip Frame 1
stop();
Symbol 647 MovieClip Frame 12
gotoAndPlay (2);
Symbol 660 MovieClip Frame 1
stop();
Symbol 660 MovieClip Frame 12
gotoAndPlay (2);
Symbol 673 MovieClip Frame 1
stop();
Symbol 673 MovieClip Frame 12
gotoAndPlay (2);
Symbol 684 MovieClip Frame 1
stop();
Symbol 684 MovieClip Frame 10
gotoAndPlay (2);
Symbol 695 MovieClip Frame 10
gotoAndPlay (2);
Symbol 706 MovieClip Frame 10
gotoAndPlay (2);
Symbol 717 MovieClip Frame 10
gotoAndPlay (2);
Symbol 728 MovieClip Frame 1
stop();
Symbol 728 MovieClip Frame 10
gotoAndPlay (2);
Symbol 739 MovieClip Frame 1
stop();
Symbol 739 MovieClip Frame 10
gotoAndPlay (2);
Symbol 741 MovieClip Frame 1
stop();
Symbol 741 MovieClip Frame 4
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("splash");
all.start(0, 0);
all.setVolume(50);
}
Symbol 741 MovieClip Frame 8
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("splash");
all.start(0, 0);
all.setVolume(50);
}
Symbol 754 MovieClip Frame 1
stop();
Symbol 754 MovieClip Frame 12
gotoAndPlay (2);
Symbol 767 MovieClip Frame 1
stop();
Symbol 767 MovieClip Frame 12
gotoAndPlay (2);
Symbol 780 MovieClip Frame 1
stop();
Symbol 780 MovieClip Frame 12
gotoAndPlay (2);
Symbol 793 MovieClip Frame 1
stop();
Symbol 793 MovieClip Frame 12
gotoAndPlay (2);
Symbol 806 MovieClip Frame 1
stop();
Symbol 806 MovieClip Frame 12
gotoAndPlay (2);
Symbol 807 MovieClip Frame 1
stop();
Instance of Symbol 523 MovieClip "down" in Symbol 807 MovieClip Frame 1
onClipEvent (load) {
_root.squareb.foot = new Sound(this);
}
Symbol 807 MovieClip Frame 2
stop();
_root.square2.left.gotoAndStop(1);
_root.square2.right.gotoAndStop(1);
_root.square2.up.gotoAndStop(1);
_root.square2.upright.gotoAndStop(1);
_root.square2.upleft.gotoAndStop(1);
_root.square2.down.gotoAndStop(1);
_root.square2.downleft.gotoAndStop(1);
_root.square2.downright.gotoAndStop(1);
Instance of Symbol 588 MovieClip "down" in Symbol 807 MovieClip Frame 2
onClipEvent (load) {
_root.squareb.foot = new Sound(this);
}
Symbol 807 MovieClip Frame 3
stop();
Symbol 807 MovieClip Frame 4
stop();
Instance of Symbol 684 MovieClip "down" in Symbol 807 MovieClip Frame 4
onClipEvent (load) {
_root.squareb.foot = new Sound(this);
}
Symbol 807 MovieClip Frame 5
stop();
Instance of Symbol 741 MovieClip in Symbol 807 MovieClip Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root._currentframe != 92) {
if (_root._currentframe != 91) {
if (((Key.isDown(_root.buttonright) | Key.isDown(_root.buttonleft)) | Key.isDown(_root.buttonup)) | Key.isDown(_root.buttondown)) {
play();
}
}
}
}
Symbol 807 MovieClip Frame 6
stop();
Symbol 817 Button
on (release) {
getURL ("http://www.tcartoon.com", _parent);
}
on (rollOver) {
_root.mainbar.inventory.help.gotoAndStop(6);
}
Symbol 825 Button
on (release) {
gotoAndStop (2);
_root.optionbuttonsvisible = false;
}
on (rollOver) {
_root.mainbar.inventory.help.gotoAndStop(4);
}
Symbol 828 Button
on (release) {
_root.selecetitema = 1;
}
on (press, releaseOutside) {
_root.selecetitema = 0;
}
Symbol 830 Button
on (release) {
_root.selecetitema = 2;
}
on (press, releaseOutside) {
_root.selecetitema = 0;
}
Symbol 832 Button
on (release) {
_root.selecetitema = 3;
}
on (press, releaseOutside) {
_root.selecetitema = 0;
}
Symbol 834 Button
on (release) {
_root.selecetitema = 4;
}
on (press, releaseOutside) {
_root.selecetitema = 0;
}
Symbol 836 Button
on (release) {
_root.selecetitema = 5;
}
on (press, releaseOutside) {
_root.selecetitema = 0;
}
Symbol 838 Button
on (release) {
_root.selecetitema = 6;
}
on (press, releaseOutside) {
_root.selecetitema = 0;
}
Symbol 840 Button
on (release) {
_root.selecetitema = 6;
}
on (press, releaseOutside) {
_root.selecetitema = 0;
}
Symbol 842 Button
on (release) {
_root.selecetitema = 6;
}
on (press, releaseOutside) {
_root.selecetitema = 0;
}
Symbol 844 Button
on (release) {
_root.selecetitema = 6;
}
on (press, releaseOutside) {
_root.selecetitema = 0;
}
Symbol 847 Button
on (release) {
_root.selecetitema = 6;
}
on (press, releaseOutside) {
_root.selecetitema = 0;
}
Symbol 861 MovieClip Frame 1
stop();
Symbol 861 MovieClip Frame 2
stop();
Symbol 861 MovieClip Frame 3
stop();
Symbol 861 MovieClip Frame 4
stop();
Symbol 861 MovieClip Frame 5
stop();
Symbol 861 MovieClip Frame 6
stop();
Symbol 861 MovieClip Frame 7
stop();
Symbol 861 MovieClip Frame 8
stop();
Symbol 861 MovieClip Frame 9
stop();
Symbol 861 MovieClip Frame 10
stop();
Symbol 867 Button
on (rollOver) {
_root.mainbar.inventory.help.gotoAndStop(3);
}
on (release) {
if (_root.mainbar.inventory.numbers._x < -44) {
_root.mainbar.inventory.numbers._x = _root.mainbar.inventory.numbers._x + 20;
}
}
Symbol 871 Button
on (rollOver) {
_root.mainbar.inventory.help.gotoAndPlay(2);
}
on (release) {
if (_root.mainbar.inventory.numbers._x > -280) {
_root.mainbar.inventory.numbers._x = _root.mainbar.inventory.numbers._x - 20;
}
}
Symbol 873 Button
on (rollOver) {
_root.mainbar.inventory.help.gotoAndStop(11);
}
Symbol 874 Button
on (rollOver) {
_root.mainbar.inventory.help.gotoAndStop(10);
}
Symbol 879 Button
on (release) {
gotoAndStop (1);
_root.optionbuttonsvisible = true;
_root.mainbar.inventory.help.gotoAndStop(4);
}
Symbol 880 MovieClip Frame 1
stop();
stop();
Instance of Symbol 878 MovieClip in Symbol 880 MovieClip Frame 1
onClipEvent (enterFrame) {
gems = (((((_root.gem1 + _root.gem2) + _root.gem3) + _root.gem4) + _root.gem5) + _root.gem6) + _root.gem7;
cry = (((((((_root.crystals0 + _root.crystals1) + _root.crystals2) + _root.crystals3) + _root.crystals4) + _root.crystals5) + _root.crystals6) + _root.crystals7) + _root.crystals8;
}
Symbol 880 MovieClip Frame 2
stop();
Symbol 883 Button
on (release) {
if (_root.mainbar.mainbar.soundedit._currentframe == 1) {
play();
}
}
on (rollOver) {
_root.mainbar.inventory.help.gotoAndStop(5);
}
Symbol 889 Button
on (release) {
gotoAndStop (2);
}
Symbol 891 Button
on (release) {
saveGame();
}
Symbol 893 Button
on (release) {
loadGame();
}
Symbol 895 Button
on (release) {
gotoAndPlay (3);
}
Symbol 897 Button
on (release) {
getURL ("http://www.tcartoon.com", _parent);
}
Symbol 899 Button
on (release) {
_root.mainbar.options.play();
}
Symbol 901 Button
on (release) {
gotoAndStop (8);
}
Symbol 905 Button
on (release) {
_root.mainbar.options.options.gotoAndStop(11);
}
Symbol 911 Button
on (release) {
_quality = "low";
}
on (rollOver) {
_root.inventory.help.gotoAndStop(9);
}
Symbol 914 Button
on (release) {
_quality = "medium";
}
on (rollOver) {
_root.inventory.help.gotoAndStop(10);
}
Symbol 918 Button
on (release) {
_quality = "high";
}
on (rollOver) {
_root.inventory.help.gotoAndStop(11);
}
Symbol 921 Button
on (release) {
_quality = "best";
}
on (rollOver) {
_root.inventory.help.gotoAndStop(11);
}
Symbol 923 Button
on (release) {
gotoAndStop (1);
}
Symbol 926 Button
on (release) {
_root.gotoAndPlay(1);
_root.remove3dobjects();
}
Symbol 928 Button
on (release) {
_root.mainbar.options.play();
gotoAndPlay (1);
}
Symbol 934 Button
on (release) {
decay++;
if (decay > 0) {
if (_root.screeneffectb == 0) {
_root.screeneffectb = 1;
}
}
if (decay > 1) {
decay = 0;
if (_root.screeneffectb == 1) {
_root.screeneffectb = 0;
}
}
}
Symbol 937 MovieClip Frame 1
stop();
Symbol 937 MovieClip Frame 2
stop();
Symbol 939 Button
on (release) {
gotoAndStop (9);
_root.drawk = true;
}
Symbol 941 Button
on (release) {
decay++;
if (decay > 0) {
if (_root.screeneffectb <= 2) {
_root.screeneffectb = 3;
}
}
if (decay > 1) {
decay = 0;
if (_root.screeneffectb == 3) {
_root.screeneffectb = 0;
}
}
}
Symbol 946 Button
on (release) {
decay++;
if (decay > 0) {
if (_root.drawk == false) {
_root.drawk = true;
}
}
if (decay > 1) {
decay = 0;
if (_root.drawk == true) {
_root.drawk = false;
}
}
}
Symbol 948 Button
on (release) {
gotoAndStop (12);
}
Symbol 1035 Button
on (release) {
_root.buttonleft = 65;
_root.buttonright = 68;
_root.buttonup = 87;
_root.buttondown = 83;
_root.buttonaction = 81;
_root.buttonnumber = 0;
}
Symbol 1037 Button
on (release) {
_root.buttonleft = 37;
_root.buttonright = 39;
_root.buttonup = 38;
_root.buttondown = 40;
_root.buttonaction = 32;
_root.buttonnumber = 1;
}
Symbol 1038 Button
on (release) {
gotoAndStop (10);
}
Symbol 1041 Button
on (release) {
_root.buttonleft = 90;
_root.buttonright = 67;
_root.buttonup = 83;
_root.buttondown = 88;
_root.buttonaction = 65;
_root.buttonnumber = 2;
}
Instance of Symbol 951 MovieClip in Symbol 1042 MovieClip Frame 1
onClipEvent (enterFrame) {
}
Symbol 1064 MovieClip Frame 1
function saveGame() {
if (myLSO.data.myObj == "") {
_root.mainbar.options.options.gotoAndPlay(5);
} else {
_root.mainbar.options.options.gotoAndPlay(4);
}
myObj = {};
myObj.objArray = new Array(80);
myObj.objArray[0] = _root.mainplayersquare._y;
myObj.objArray[1] = _root.mainplayersquare._x;
myObj.objArray[2] = _root._currentframe;
myObj.objArray[3] = _root.keya;
myObj.objArray[4] = _root.keyb;
myObj.objArray[5] = _root.keyc;
myObj.objArray[6] = _root.keyd;
myObj.objArray[7] = _root.keye;
myObj.objArray[8] = _root.keyf;
myObj.objArray[9] = _root.p1;
myObj.objArray[10] = _root.p2;
myObj.objArray[11] = _root.p3;
myObj.objArray[12] = _root.p4;
myObj.objArray[13] = _root.p5;
myObj.objArray[14] = _root.p6;
myObj.objArray[15] = _root.p7;
myObj.objArray[16] = _root.p8;
myObj.objArray[17] = _root.aiwalka;
myObj.objArray[18] = _root.aiwalkb;
myObj.objArray[19] = _root.aiwalkc;
myObj.objArray[20] = _root.aiwalkd;
myObj.objArray[21] = _root.aiwalke;
myObj.objArray[22] = _root.aiwalkf;
myObj.objArray[23] = _root.restyposofplayer;
myObj.objArray[24] = _root.restxposofplayer;
myObj.objArray[25] = _root.gem1;
myObj.objArray[26] = _root.gem2;
myObj.objArray[27] = _root.gem3;
myObj.objArray[28] = _root.gem4;
myObj.objArray[29] = _root.gem5;
myObj.objArray[30] = _root.gem6;
myObj.objArray[31] = _root.aiwalkg;
myObj.objArray[32] = _root.aiwalkh;
myObj.objArray[33] = _root.aiwalki;
myObj.objArray[34] = _root.aiwalkj;
myObj.objArray[35] = _root.keyg;
myObj.objArray[36] = _root.keyh;
myObj.objArray[37] = _root.keyi;
myObj.objArray[38] = _root.keyj;
myObj.objArray[39] = _root.relationa;
myObj.objArray[40] = _root.relationb;
myObj.objArray[41] = _root.relationc;
myObj.objArray[42] = _root.relationd;
myObj.objArray[43] = _root.relatione;
myObj.objArray[44] = _root.knowledge;
myObj.objArray[45] = _root.accuracy;
myObj.objArray[46] = _root.health;
myObj.objArray[47] = _root.soundfilea;
myObj.objArray[48] = _root.soundfileb;
myObj.objArray[49] = _root.soundfilec;
myObj.objArray[50] = _root.soundfiled;
myObj.objArray[51] = _root.soundfilee;
myObj.objArray[52] = _root.soundfilef;
myObj.objArray[53] = _root.gem7;
myObj.objArray[54] = _root.spacex;
myObj.objArray[55] = _root.spacey;
myObj.objArray[56] = _root.dressenabe1;
myObj.objArray[57] = _root.dressenabe2;
myObj.objArray[58] = _root.dressenabe3;
myObj.objArray[59] = _root.currantdress;
myObj.objArray[60] = _root.money0;
myObj.objArray[61] = _root.money1;
myObj.objArray[62] = _root.money2;
myObj.objArray[63] = _root.money3;
myObj.objArray[64] = _root.money4;
myObj.objArray[65] = _root.money5;
myObj.objArray[66] = _root.money6;
myObj.objArray[67] = _root.money7;
myObj.objArray[68] = _root.money8;
myObj.objArray[69] = _root.money9;
myObj.objArray[70] = _root.money;
myObj.objArray[71] = _root.crystals0;
myObj.objArray[72] = _root.crystals1;
myObj.objArray[73] = _root.crystals2;
myObj.objArray[74] = _root.crystals3;
myObj.objArray[75] = _root.crystals4;
myObj.objArray[76] = _root.crystals5;
myObj.objArray[77] = _root.crystals6;
myObj.objArray[78] = _root.crystals7;
myObj.objArray[79] = _root.crystals8;
myLSO.data.myObj = myObj;
}
function loadGame() {
_root.mainplayersquarey = myLSO.data.myObj.objArray[0];
_root.mainplayersquarex = myLSO.data.myObj.objArray[1];
_root.gotoAndStop(4);
_root.numberdestinationgoto = myLSO.data.myObj.objArray[2];
_root.keya = myLSO.data.myObj.objArray[3];
_root.keyb = myLSO.data.myObj.objArray[4];
_root.keyc = myLSO.data.myObj.objArray[5];
_root.keyd = myLSO.data.myObj.objArray[6];
_root.keye = myLSO.data.myObj.objArray[7];
_root.keyf = myLSO.data.myObj.objArray[8];
_root.p1 = myLSO.data.myObj.objArray[9];
_root.p2 = myLSO.data.myObj.objArray[10];
_root.p3 = myLSO.data.myObj.objArray[11];
_root.p4 = myLSO.data.myObj.objArray[12];
_root.p5 = myLSO.data.myObj.objArray[13];
_root.p6 = myLSO.data.myObj.objArray[14];
_root.p7 = myLSO.data.myObj.objArray[15];
_root.p8 = myLSO.data.myObj.objArray[16];
_root.aiwalka = myLSO.data.myObj.objArray[17];
_root.aiwalkb = myLSO.data.myObj.objArray[18];
_root.aiwalkc = myLSO.data.myObj.objArray[19];
_root.aiwalkd = myLSO.data.myObj.objArray[20];
_root.aiwalke = myLSO.data.myObj.objArray[21];
_root.aiwalkf = myLSO.data.myObj.objArray[22];
_root.restyposofplayer = myLSO.data.myObj.objArray[23];
_root.restxposofplayer = myLSO.data.myObj.objArray[24];
_root.gem1 = myLSO.data.myObj.objArray[25];
_root.gem2 = myLSO.data.myObj.objArray[26];
_root.gem3 = myLSO.data.myObj.objArray[27];
_root.gem4 = myLSO.data.myObj.objArray[28];
_root.gem5 = myLSO.data.myObj.objArray[29];
_root.gem6 = myLSO.data.myObj.objArray[30];
_root.aiwalkg = myLSO.data.myObj.objArray[31];
_root.aiwalkh = myLSO.data.myObj.objArray[32];
_root.aiwalki = myLSO.data.myObj.objArray[33];
_root.aiwalkj = myLSO.data.myObj.objArray[34];
_root.keyg = myLSO.data.myObj.objArray[35];
_root.keyh = myLSO.data.myObj.objArray[36];
_root.keyi = myLSO.data.myObj.objArray[37];
_root.keyj = myLSO.data.myObj.objArray[38];
_root.relationa = myLSO.data.myObj.objArray[39];
_root.relationb = myLSO.data.myObj.objArray[40];
_root.relationc = myLSO.data.myObj.objArray[41];
_root.relationd = myLSO.data.myObj.objArray[42];
_root.relatione = myLSO.data.myObj.objArray[43];
_root.knowledge = myLSO.data.myObj.objArray[44];
_root.accuracy = myLSO.data.myObj.objArray[45];
_root.health = myLSO.data.myObj.objArray[46];
_root.soundfilea = myLSO.data.myObj.objArray[47];
_root.soundfileb = myLSO.data.myObj.objArray[48];
_root.soundfilec = myLSO.data.myObj.objArray[49];
_root.soundfiled = myLSO.data.myObj.objArray[50];
_root.soundfilee = myLSO.data.myObj.objArray[51];
_root.soundfilef = myLSO.data.myObj.objArray[52];
_root.gem7 = myLSO.data.myObj.objArray[53];
_root.spacex = myLSO.data.myObj.objArray[54];
_root.spacey = myLSO.data.myObj.objArray[55];
_root.dressenabe1 = myLSO.data.myObj.objArray[56];
_root.dressenabe2 = myLSO.data.myObj.objArray[57];
_root.dressenabe3 = myLSO.data.myObj.objArray[58];
_root.currantdress = myLSO.data.myObj.objArray[59];
_root.money0 = myLSO.data.myObj.objArray[60];
_root.money1 = myLSO.data.myObj.objArray[61];
_root.money2 = myLSO.data.myObj.objArray[62];
_root.money3 = myLSO.data.myObj.objArray[63];
_root.money4 = myLSO.data.myObj.objArray[64];
_root.money5 = myLSO.data.myObj.objArray[65];
_root.money6 = myLSO.data.myObj.objArray[66];
_root.money7 = myLSO.data.myObj.objArray[67];
_root.money8 = myLSO.data.myObj.objArray[68];
_root.money9 = myLSO.data.myObj.objArray[69];
_root.money = myLSO.data.myObj.objArray[70];
_root.crystals0 = myLSO.data.myObj.objArray[71];
_root.crystals1 = myLSO.data.myObj.objArray[72];
_root.crystals2 = myLSO.data.myObj.objArray[73];
_root.crystals3 = myLSO.data.myObj.objArray[74];
_root.crystals4 = myLSO.data.myObj.objArray[75];
_root.crystals5 = myLSO.data.myObj.objArray[76];
_root.crystals6 = myLSO.data.myObj.objArray[77];
_root.crystals7 = myLSO.data.myObj.objArray[78];
_root.crystals8 = myLSO.data.myObj.objArray[79];
_root.mainplayersquarey = _root.mainplayersquarey - _root.restyposofplayer;
_root.mainplayersquarex = _root.mainplayersquarex - _root.restxposofplayer;
}
stop();
myLSO = SharedObject.getLocal("devilguy3");
if (myLSO.data.myObj.objArray[0] > "0") {
_root.mainbar.options.options.loader._visible = true;
} else {
_root.mainbar.options.options.loader._visible = false;
}
Instance of Symbol 903 MovieClip "a" in Symbol 1064 MovieClip Frame 1
onClipEvent (load) {
_root.mainbar.options.options.a._visible = false;
_root.mainbar.options.options.b._visible = false;
_root.mainbar.options.options.c._visible = false;
_root.mainbar.options.options.d._visible = false;
_root.mainbar.options.options.e._visible = false;
_root.mainbar.options.options.f._visible = false;
_root.mainbar.options.options.g._visible = false;
_root.mainbar.options.options.h._visible = false;
i = 0;
timer = 0;
}
onClipEvent (enterFrame) {
a++;
b++;
timer++;
if (timer > 10) {
if ((a == 2) & (i >= 1)) {
i--;
if ((i == 3) & (_root.mainbar.options.options.loader._visible == false)) {
i = 2;
}
}
if ((b == 2) & (i <= 6)) {
i++;
if ((i == 3) & (_root.mainbar.options.options.loader._visible == false)) {
i = 4;
}
}
}
if (Key.isDown(_root.buttonup)) {
a = 0;
}
if (Key.isDown(_root.buttondown)) {
b = 0;
}
if (i == 0) {
_root.mainbar.options.options.a._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.play();
}
} else {
_root.mainbar.options.options.a._visible = false;
}
if (i == 1) {
_root.mainbar.options.options.b._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(2);
}
} else {
_root.mainbar.options.options.b._visible = false;
}
if (i == 2) {
_root.mainbar.options.options.c._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.saveGame();
}
} else {
_root.mainbar.options.options.c._visible = false;
}
if (i == 3) {
_root.mainbar.options.options.d._visible = true;
if (_root.mainbar.options.options.loader._visible == true) {
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.loadGame();
}
}
} else {
_root.mainbar.options.options.d._visible = false;
}
if (i == 4) {
_root.mainbar.options.options.e._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(8);
}
} else {
_root.mainbar.options.options.e._visible = false;
}
if (i == 5) {
_root.mainbar.options.options.f._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(11);
}
} else {
_root.mainbar.options.options.f._visible = false;
}
if (i == 6) {
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(3);
}
_root.mainbar.options.options.g._visible = true;
} else {
_root.mainbar.options.options.g._visible = false;
}
if (i == 7) {
if (_root.mainbuttondowna == true) {
getURL ("http://www.tcartoon.com", _parent);
}
_root.mainbar.options.options.h._visible = true;
} else {
_root.mainbar.options.options.h._visible = false;
}
}
Symbol 1064 MovieClip Frame 2
stop();
Instance of Symbol 903 MovieClip "a" in Symbol 1064 MovieClip Frame 2
onClipEvent (load) {
_root.mainbar.options.options.a._visible = false;
_root.mainbar.options.options.b._visible = false;
i = 0;
wait = 0;
}
onClipEvent (enterFrame) {
wait++;
if (Key.isDown(_root.buttonup)) {
i--;
if (i < 0) {
i = 0;
}
}
if (Key.isDown(_root.buttondown)) {
i++;
if (i > 4) {
i = 4;
}
}
if (wait > 4) {
wait = 4;
if (i == 0) {
_root.mainbar.options.options.a._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(1);
}
} else {
_root.mainbar.options.options.a._visible = false;
}
if (i == 1) {
_root.mainbar.options.options.b._visible = true;
if (Key.isDown(_root.buttonaction)) {
_quality = "low";
}
} else {
_root.mainbar.options.options.b._visible = false;
}
if (i == 2) {
_root.mainbar.options.options.c._visible = true;
if (Key.isDown(_root.buttonaction)) {
_quality = "medium";
}
} else {
_root.mainbar.options.options.c._visible = false;
}
if (i == 3) {
_root.mainbar.options.options.d._visible = true;
if (Key.isDown(_root.buttonaction)) {
_quality = "high";
}
} else {
_root.mainbar.options.options.d._visible = false;
}
if (i == 4) {
_root.mainbar.options.options.e._visible = true;
if (Key.isDown(_root.buttonaction)) {
_quality = "best";
}
} else {
_root.mainbar.options.options.e._visible = false;
}
}
}
Symbol 1064 MovieClip Frame 3
stop();
Instance of Symbol 903 MovieClip "a" in Symbol 1064 MovieClip Frame 3
onClipEvent (load) {
_root.mainbar.options.options.a._visible = false;
_root.mainbar.options.options.b._visible = false;
_root.mainbar.options.options.c._visible = false;
_root.mainbar.options.options.d._visible = false;
_root.mainbar.options.options.e._visible = false;
_root.mainbar.options.options.f._visible = false;
_root.mainbar.options.options.g._visible = false;
i = 0.5;
wait = 0;
}
onClipEvent (enterFrame) {
_root.test = i;
wait++;
if (Key.isDown(_root.buttonup)) {
if (i > 0.5) {
i = i - 0.5;
}
}
if (Key.isDown(_root.buttondown)) {
if (i < 3) {
i = i + 0.5;
}
}
if (wait > 3) {
wait = 3;
if ((i > 0) & (i < 1.5)) {
_root.mainbar.options.options.a._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(1);
}
} else {
_root.mainbar.options.options.a._visible = false;
}
if ((i > 1) & (i < 2.5)) {
_root.mainbar.options.options.b._visible = true;
if (_root.mainbuttondowna == true) {
_root.gotoAndPlay(1);
_root.remove3dobjects();
}
} else {
_root.mainbar.options.options.b._visible = false;
}
if ((i > 2) & (i < 3.5)) {
_root.mainbar.options.options.c._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(1);
}
} else {
_root.mainbar.options.options.c._visible = false;
}
}
}
Symbol 1064 MovieClip Frame 4
stop();
Instance of Symbol 903 MovieClip "a" in Symbol 1064 MovieClip Frame 4
onClipEvent (enterFrame) {
wait++;
if (wait > 3) {
wait = 3;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(1);
}
}
}
Symbol 1064 MovieClip Frame 5
stop();
Symbol 1064 MovieClip Frame 6
stop();
Symbol 1064 MovieClip Frame 7
stop();
Symbol 1064 MovieClip Frame 8
stop();
Instance of Symbol 937 MovieClip in Symbol 1064 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.screeneffectb == 1) {
gotoAndStop (2);
}
if (_root.screeneffectb == 0) {
gotoAndStop (1);
}
}
Instance of Symbol 937 MovieClip in Symbol 1064 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.screeneffectb == 3) {
gotoAndStop (2);
}
if (_root.screeneffectb <= 2) {
gotoAndStop (1);
}
}
Instance of Symbol 903 MovieClip "a" in Symbol 1064 MovieClip Frame 8
onClipEvent (load) {
_root.mainbar.options.options.a._visible = false;
_root.mainbar.options.options.b._visible = false;
_root.mainbar.options.options.c._visible = false;
_root.mainbar.options.options.d._visible = false;
_root.mainbar.options.options.e._visible = false;
_root.mainbar.options.options.f._visible = false;
_root.mainbar.options.options.g._visible = false;
i = 0.5;
wait = 0;
}
onClipEvent (enterFrame) {
_root.test = i;
wait++;
if (Key.isDown(_root.buttonup)) {
if (i > 0.5) {
i = i - 0.5;
}
}
if (Key.isDown(_root.buttondown)) {
if (i < 6) {
i = i + 0.5;
}
}
if (wait > 3) {
wait = 3;
if ((i > 0) & (i < 1.5)) {
_root.mainbar.options.options.a._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(1);
}
} else {
_root.mainbar.options.options.a._visible = false;
}
if ((i > 1) & (i < 2.5)) {
_root.mainbar.options.options.b._visible = true;
if (_root.mainbuttondowna == true) {
decay++;
if (decay > 0) {
if (_root.screeneffectb == 0) {
_root.screeneffectb = 1;
}
}
if (decay > 1) {
decay = 0;
if (_root.screeneffectb == 1) {
_root.screeneffectb = 0;
}
}
}
} else {
_root.mainbar.options.options.b._visible = false;
}
if ((i > 2) & (i < 3.5)) {
_root.mainbar.options.options.c._visible = true;
if (_root.mainbuttondowna == true) {
decay++;
if (decay > 0) {
if (_root.screeneffectb <= 2) {
_root.screeneffectb = 3;
}
}
if (decay > 1) {
decay = 0;
if (_root.screeneffectb == 3) {
_root.screeneffectb = 0;
}
}
}
} else {
_root.mainbar.options.options.c._visible = false;
}
if ((i > 3) & (i < 4.5)) {
_root.mainbar.options.options.d._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(9);
}
} else {
_root.mainbar.options.options.d._visible = false;
}
if ((i > 4) & (i < 5.5)) {
_root.mainbar.options.options.e._visible = true;
if (_root.mainbuttondowna == true) {
decay++;
if (decay > 0) {
if (_root.drawk == false) {
_root.drawk = true;
}
}
if (decay > 1) {
decay = 0;
if (_root.drawk == true) {
_root.drawk = false;
}
}
}
} else {
_root.mainbar.options.options.e._visible = false;
}
}
if ((i > 5) & (i < 6.5)) {
_root.mainbar.options.options.f._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(12);
}
} else {
_root.mainbar.options.options.f._visible = false;
}
}
Instance of Symbol 937 MovieClip in Symbol 1064 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.drawk == false) {
gotoAndStop (1);
}
if (_root.drawk == true) {
gotoAndStop (2);
}
}
Symbol 1064 MovieClip Frame 9
stop();
Instance of Symbol 937 MovieClip in Symbol 1064 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.buttonnumber == 1) {
gotoAndStop (2);
}
if (_root.buttonnumber != 1) {
gotoAndStop (1);
}
}
Instance of Symbol 937 MovieClip in Symbol 1064 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.buttonnumber == 0) {
gotoAndStop (2);
}
if (_root.buttonnumber != 0) {
gotoAndStop (1);
}
}
Instance of Symbol 903 MovieClip "a" in Symbol 1064 MovieClip Frame 9
onClipEvent (load) {
_root.mainbar.options.options.a._visible = false;
_root.mainbar.options.options.b._visible = false;
_root.mainbar.options.options.c._visible = false;
_root.mainbar.options.options.d._visible = false;
_root.mainbar.options.options.e._visible = false;
_root.mainbar.options.options.f._visible = false;
_root.mainbar.options.options.g._visible = false;
i = 0.5;
wait = 0;
}
onClipEvent (enterFrame) {
_root.test = i;
wait++;
if (Key.isDown(_root.buttonup)) {
if (i > 0.5) {
i = i - 0.5;
}
}
if (Key.isDown(_root.buttondown)) {
if (i < 4) {
i = i + 0.5;
}
}
if (wait > 3) {
wait = 3;
if ((i > 0) & (i < 1.5)) {
_root.mainbar.options.options.a._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(1);
}
} else {
_root.mainbar.options.options.a._visible = false;
}
if ((i > 1) & (i < 2.5)) {
_root.mainbar.options.options.b._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.b1.gotoAndStop(2);
_root.buttonleft = 65;
_root.buttonright = 68;
_root.buttonup = 87;
_root.buttondown = 83;
_root.buttonaction = 81;
_root.buttonnumber = 0;
}
} else {
_root.mainbar.options.options.b._visible = false;
}
if ((i > 2) & (i < 3.5)) {
_root.mainbar.options.options.c._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.b2.gotoAndStop(2);
_root.buttonleft = 37;
_root.buttonright = 39;
_root.buttonup = 38;
_root.buttondown = 40;
_root.buttonaction = 32;
_root.buttonnumber = 1;
}
} else {
_root.mainbar.options.options.c._visible = false;
}
if ((i > 3) & (i < 4.5)) {
_root.mainbar.options.options.d._visible = true;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.b3.gotoAndStop(2);
_root.buttonleft = 90;
_root.buttonright = 67;
_root.buttonup = 83;
_root.buttondown = 88;
_root.buttonaction = 65;
_root.buttonnumber = 2;
}
} else {
_root.mainbar.options.options.d._visible = false;
}
}
}
Instance of Symbol 937 MovieClip in Symbol 1064 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.buttonnumber == 2) {
gotoAndStop (2);
}
if (_root.buttonnumber != 2) {
gotoAndStop (1);
}
}
Symbol 1064 MovieClip Frame 10
stop();
Symbol 1064 MovieClip Frame 11
stop();
Instance of Symbol 903 MovieClip "a" in Symbol 1064 MovieClip Frame 11
onClipEvent (enterFrame) {
wait++;
if (wait > 3) {
wait = 3;
if (_root.mainbuttondowna == true) {
_root.mainbar.options.options.gotoAndStop(1);
}
}
}
Instance of Symbol 1056 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (load) {
if (_root.gem1 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1056 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (load) {
if (_root.gem2 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1056 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (load) {
if (_root.gem3 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1056 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (load) {
if (_root.gem4 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1056 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (load) {
if (_root.gem5 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1056 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.gem6 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1056 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.gem7 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1063 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.crystals0 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1063 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.crystals1 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1063 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.crystals2 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1063 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.crystals3 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1063 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.crystals4 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1063 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.crystals5 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1063 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.crystals6 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1063 MovieClip in Symbol 1064 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.crystals7 == true) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 1064 MovieClip Frame 12
stop();
Symbol 1067 Button
on (release) {
amountofframes = 104;
minamountofframes = 4;
if ((_root.jumptolevelcheat > minamountofframes) && (_root.jumptolevelcheat <= amountofframes)) {
_root.numberdestinationgoto = Math.round(_root.jumptolevelcheat);
_root.gotoAndStop(4);
}
}
on (keyPress "<Space>") {
if ((_root.jumptolevelcheat > minamountofframes) && (_root.jumptolevelcheat <= amountofframes)) {
_root.numberdestinationgoto = Math.round(_root.jumptolevelcheat);
_root.gotoAndStop(4);
}
}
Symbol 1070 Button
on (release, releaseOutside, keyPress "<Enter>") {
if (_root.maincheats == _root.passwords[0]) {
this.cherta._visible = true;
_root.mainbar.options.jumplevel.cheatpannel.gotoAndStop(2);
}
if (_root.maincheats == _root.passwords[1]) {
_root.speedtimes = 1.1;
_root.mainbar.options.jumplevel.cheatpannel.gotoAndStop(3);
}
if (_root.maincheats == _root.passwords[2]) {
_root.speedtimes = 1.5;
_root.mainbar.options.jumplevel.cheatpannel.gotoAndStop(4);
}
if (_root.maincheats == _root.passwords[3]) {
_root.mainbar.options.jumplevel.cheatpannel.gotoAndStop(5);
this.chertb._visible = true;
}
if (_root.maincheats == _root.passwords[4]) {
_root.mainbar.options.jumplevel.cheatpannel.gotoAndStop(6);
_root.health = 100;
}
if (_root.maincheats == _root.passwords[5]) {
_root.mainbar.options.jumplevel.cheatpannel.gotoAndStop(7);
_root.squareb.gotoAndStop(6);
}
if (_root.maincheats == _root.passwords[6]) {
_root.mainbar.options.jumplevel.cheatpannel.gotoAndStop(8);
_root.money0 = true;
_root.money1 = true;
_root.money2 = true;
_root.money3 = true;
_root.money4 = true;
_root.money5 = true;
_root.money6 = true;
_root.money7 = true;
_root.money8 = true;
_root.money9 = true;
}
if (_root.maincheats == _root.passwords[7]) {
_root.mainbar.options.jumplevel.cheatpannel.gotoAndStop(9);
_root.gem1 = true;
_root.gem2 = true;
_root.gem3 = true;
_root.gem4 = true;
_root.gem5 = true;
_root.gem6 = true;
_root.gem7 = true;
_root.crystals0 = true;
_root.crystals1 = true;
_root.crystals2 = true;
_root.crystals3 = true;
_root.crystals4 = true;
_root.crystals5 = true;
_root.crystals6 = true;
_root.crystals7 = true;
_root.crystals8 = true;
_root.aiwalka = true;
_root.aiwalkb = true;
_root.aiwalkc = true;
_root.aiwalkd = true;
_root.aiwalke = 2;
_root.aiwalkf = 6;
_root.aiwalkg = true;
_root.aiwalkh = true;
_root.aiwalki = true;
_root.aiwalkj = true;
_root.keya = true;
_root.keyb = true;
_root.keyc = true;
_root.keyd = true;
_root.keye = true;
_root.keyf = true;
_root.keyg = true;
_root.keyh = true;
_root.keyi = true;
_root.keyj = 2;
_root.relationa = true;
_root.relationb = true;
_root.relationc = true;
_root.relationd = true;
_root.relatione = true;
_root.health = 100;
_root.p1 = true;
_root.p2 = true;
_root.p3 = true;
_root.p4 = true;
_root.p5 = true;
_root.p6 = true;
_root.p7 = true;
_root.p8 = true;
}
if (_root.maincheats == _root.passwords[8]) {
_root.mainbar.options.jumplevel.cheatpannel.gotoAndStop(10);
dressenabe1 = true;
dressenabe2 = true;
dressenabe3 = true;
}
if (_root.maincheats == _root.passwords[9]) {
_root.mainbar.options.jumplevel.cheatpannel.gotoAndStop(11);
_root.p1 = true;
_root.p2 = true;
_root.p3 = true;
_root.p4 = true;
_root.p5 = true;
_root.p6 = true;
_root.p7 = true;
_root.p8 = true;
}
}
Symbol 1082 MovieClip Frame 1
stop();
Instance of Symbol 1191 MovieClip "chertb" in Symbol 1192 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
this.a = _root.keya;
this.b = _root.keyb;
this.c = _root.keyc;
this.d = _root.keyd;
this.e = _root.keye;
this.f = _root.keyf;
this.g = _root.keyg;
this.h = _root.keyh;
this.i = _root.keyi;
this.j = _root.keyj;
this.ga = _root.gem1;
this.gb = _root.gem2;
this.gc = _root.gem3;
this.gd = _root.gem4;
this.gee = _root.gem5;
this.gf = _root.gem6;
this.gg = _root.gem7;
this.aa = _root.aiwalka;
this.ab = _root.aiwalkb;
this.ac = _root.aiwalkc;
this.ad = _root.aiwalkd;
this.ae = _root.aiwalke;
this.af = _root.aiwalkf;
this.ag = _root.aiwalkg;
this.ah = _root.aiwalkh;
this.ai = _root.aiwalki;
this.aj = _root.aiwalkj;
this.ra = _root.relationa;
this.rb = _root.relationb;
this.rc = _root.relationc;
this.rd = _root.relationd;
this.re = _root.relatione;
this.ka = _root.knowledge;
this.kb = _root.accuracy;
this.kc = _root.health;
this.ma = _root.money0;
this.mb = _root.money1;
this.mc = _root.money2;
this.md = _root.money3;
this.me = _root.money4;
this.mf = _root.money5;
this.mg = _root.money6;
this.mh = _root.money7;
this.mi = _root.money8;
this.mj = _root.money9;
c0 = _root.crystals0;
c1 = _root.crystals1;
c2 = _root.crystals2;
c3 = _root.crystals3;
c4 = _root.crystals4;
c5 = _root.crystals5;
c6 = _root.crystals6;
c7 = _root.crystals7;
c8 = _root.crystals8;
}
Symbol 1200 MovieClip Frame 1
_root.walkingdisabled = false;
stop();
Symbol 1200 MovieClip Frame 2
_root.walkingdisabled = true;
_root.mainbar.inventory.gotoAndStop(2);
Symbol 1200 MovieClip Frame 10
stop();
_root.walkingdisabled = true;
Instance of Symbol 1192 MovieClip "jumplevel" in Symbol 1200 MovieClip Frame 10
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.mainbar.options.options._currentframe == 12) {
this._visible = true;
} else {
this._visible = false;
}
if (_root.mainbar.options.options._currentframe != 12) {
this.cherta._visible = false;
}
}
Instance of Symbol 1199 MovieClip in Symbol 1200 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_visible = false;
if (_root.mainbar.options.options._currentframe == 11) {
_visible = true;
this.pesentagedone = Math.round(((((((((((((((((((((((((((((((((((((((((((Boolean(_root.keya) + Boolean(_root.keyb)) + Boolean(_root.keyc)) + Boolean(_root.keyd)) + Boolean(_root.keye)) + Boolean(_root.keyf)) + Boolean(_root.keyg)) + Boolean(_root.keyh)) + Boolean(_root.keyi)) + Boolean(_root.keyj)) + Boolean(_root.p1)) + Boolean(_root.p2)) + Boolean(_root.p3)) + Boolean(_root.p4)) + Boolean(_root.p5)) + Boolean(_root.p6)) + Boolean(_root.p7)) + Boolean(_root.p8)) + Boolean(_root.gem1)) + Boolean(_root.gem2)) + Boolean(_root.gem3)) + Boolean(_root.gem4)) + Boolean(_root.gem5)) + Boolean(_root.aiwalka)) + Boolean(_root.aiwalkb)) + Boolean(_root.aiwalkc)) + Boolean(_root.aiwalkd)) + Boolean(_root.aiwalke)) + Boolean(_root.aiwalkf)) + Boolean(_root.aiwalkg)) + Boolean(_root.aiwalkh)) + Boolean(_root.aiwalki)) + Boolean(_root.aiwalkj)) + _root.crystals0) + _root.crystals1) + _root.crystals2) + _root.crystals3) + _root.crystals4) + _root.crystals5) + _root.crystals6) + _root.crystals7) + _root.crystals8) / 33) * 100) add "%";
this.pesentagedoneb = ("x" add Math.round(((((((((Boolean(_root.p1) + Boolean(_root.p2)) + Boolean(_root.p3)) + Boolean(_root.p4)) + Boolean(_root.p5)) + Boolean(_root.p6)) + Boolean(_root.p7)) + Boolean(_root.p8)) / 8) * 100)) add "%";
this.knowledge = _root.knowledge;
this.accuracy = _root.accuracy;
}
}
Symbol 1200 MovieClip Frame 11
_root.walkingdisabled = false;
Symbol 1200 MovieClip Frame 12
_root.walkingdisabled = false;
Symbol 1200 MovieClip Frame 13
_root.walkingdisabled = false;
Symbol 1200 MovieClip Frame 14
_root.walkingdisabled = false;
Symbol 1200 MovieClip Frame 19
_root.mainbar.inventory.gotoAndStop(1);
Symbol 1201 Button
on (rollOver) {
_root.mainbar.inventory.help.gotoAndStop(7);
}
Symbol 1205 Button
on (rollOver) {
_root.mainbar.inventory.help.gotoAndPlay(8);
}
on (release) {
i++;
if ((i == 1) & (_root.soundoff == false)) {
_root.pause();
_root.soundoff = true;
}
if ((i == 2) & (_root.soundoff == true)) {
_root.soundoff = false;
_root.playa(_root.currentsoundplaying, "g");
i = 0;
}
}
Symbol 1213 Button
on (release) {
play();
}
on (rollOver) {
_root.mainbar.inventory.help.gotoAndPlay(9);
}
Symbol 1222 Button
on (release) {
_root.stopa();
_root.playa(_root.mainbar.mainbar.soundedit.soundnamea, "a");
}
Symbol 1224 Button
on (release) {
_root.stopa();
}
Symbol 1239 Button
on (release) {
_root.stopa();
_root.playa(_root.mainbar.mainbar.soundedit.soundnameb, "b");
}
Symbol 1241 Button
on (release) {
_root.stopa();
_root.playa(_root.mainbar.mainbar.soundedit.soundnamec, "c");
}
Symbol 1243 Button
on (release) {
_root.stopa();
_root.playa(_root.mainbar.mainbar.soundedit.soundnamed, "d");
}
Symbol 1248 Button
on (release) {
_root.stopa();
_root.playa(_root.mainbar.mainbar.soundedit.soundnamee, "e");
}
Symbol 1250 Button
on (release) {
_root.stopa();
_root.playa(_root.mainbar.mainbar.soundedit.soundnamef, "f");
}
Symbol 1251 Button
on (release) {
play();
}
Instance of Symbol 1254 MovieClip in Symbol 1255 MovieClip Frame 1
onClipEvent (load) {
_x = _root.mastervol;
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse)) {
i = 1;
}
}
onClipEvent (mouseUp) {
i = 0;
}
onClipEvent (enterFrame) {
_root.mastervol = Math.round(_x);
_root.mysound.setVolume(_root.mastervol);
if (i == 1) {
_x = (_root._xmouse - 265);
if (_x > 100) {
_x = 100;
}
if (_x < 0) {
_x = 0;
}
}
}
Symbol 1257 Button
on (release) {
gotoAndPlay(11 - (_currentframe - 11));
}
Symbol 1258 MovieClip Frame 1
stop();
Symbol 1258 MovieClip Frame 2
_root.mainbar.mainbar.soundedit.swapDepths(1000);
_root.walkingdisabled = true;
Symbol 1258 MovieClip Frame 10
stop();
if (_root.soundfilea != "Home theme") {
_root.mainbar.mainbar.soundedit.soundnamea = _root.soundfilea;
}
if (_root.soundfileb != "Forest theme") {
_root.mainbar.mainbar.soundedit.soundnameb = _root.soundfileb;
}
if (_root.soundfilec != "Space theme") {
_root.mainbar.mainbar.soundedit.soundnamec = _root.soundfilec;
}
if (_root.soundfiled != "City theme") {
_root.mainbar.mainbar.soundedit.soundnamed = _root.soundfiled;
}
if (_root.soundfilee != "School theme") {
_root.mainbar.mainbar.soundedit.soundnamee = _root.soundfilee;
}
if (_root.soundfilef != "Vampire (scary) theme") {
_root.mainbar.mainbar.soundedit.soundnamef = _root.soundfilef;
}
Instance of Symbol 1246 MovieClip "aok" in Symbol 1258 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
if (_root.mainbar.mainbar.soundedit.soundnamea != "Home theme") {
_root.soundfilea = _root.mainbar.mainbar.soundedit.soundnamea;
}
}
}
Instance of Symbol 1246 MovieClip "bok" in Symbol 1258 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
if (_root.mainbar.mainbar.soundedit.soundnameb != "Forest theme") {
_root.soundfileb = _root.mainbar.mainbar.soundedit.soundnameb;
}
}
}
Instance of Symbol 1246 MovieClip "cok" in Symbol 1258 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
if (_root.mainbar.mainbar.soundedit.soundnamec != "Space theme") {
_root.soundfilec = _root.mainbar.mainbar.soundedit.soundnamec;
}
}
}
Instance of Symbol 1246 MovieClip "dok" in Symbol 1258 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
if (_root.mainbar.mainbar.soundedit.soundnamed != "City theme") {
_root.soundfiled = _root.mainbar.mainbar.soundedit.soundnamed;
}
}
}
Instance of Symbol 1246 MovieClip "eok" in Symbol 1258 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
if (_root.mainbar.mainbar.soundedit.soundnamee != "School theme") {
_root.soundfilee = _root.mainbar.mainbar.soundedit.soundnamee;
}
}
}
Instance of Symbol 1246 MovieClip "fok" in Symbol 1258 MovieClip Frame 10
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible == true) {
if (_root.mainbar.mainbar.soundedit.soundnamef != "Vampire (scary) theme") {
_root.soundfilef = _root.mainbar.mainbar.soundedit.soundnamef;
}
}
}
Symbol 1258 MovieClip Frame 19
_root.walkingdisabled = false;
Instance of Symbol 1207 MovieClip in Symbol 1262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.soundoff == true) {
_visible = true;
}
if (_root.soundoff == false) {
_visible = false;
}
}
Instance of Symbol 1061 MovieClip in Symbol 1262 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(Math.round(Math.random(1) * 50));
}
onClipEvent (enterFrame) {
if (_root.p1 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1061 MovieClip in Symbol 1262 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(Math.round(Math.random(1) * 50));
}
onClipEvent (enterFrame) {
if (_root.p2 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1061 MovieClip in Symbol 1262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p3 == true) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (load) {
gotoAndPlay(Math.round(Math.random(1) * 50));
}
Instance of Symbol 1061 MovieClip in Symbol 1262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p4 == true) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (load) {
gotoAndPlay(Math.round(Math.random(1) * 50));
}
Instance of Symbol 1061 MovieClip in Symbol 1262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p5 == true) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (load) {
gotoAndPlay(Math.round(Math.random(1) * 50));
}
Instance of Symbol 1061 MovieClip in Symbol 1262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p6 == true) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (load) {
gotoAndPlay(Math.round(Math.random(1) * 50));
}
Instance of Symbol 1061 MovieClip in Symbol 1262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p7 == true) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (load) {
gotoAndPlay(Math.round(Math.random(1) * 50));
}
Instance of Symbol 1061 MovieClip in Symbol 1262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.p8 == true) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (load) {
gotoAndPlay(Math.round(Math.random(1) * 50));
}
Instance of Symbol 1209 MovieClip in Symbol 1262 MovieClip Frame 1
onClipEvent (load) {
myColorTransform = new Object();
myColor = new Color(this);
myColorTransform = {ra:"0", rb:"244", ga:"0", gb:"112", ba:"0", bb:"90", aa:"255", ab:"255"};
diplayhealth = 100;
timetoreajust = 10;
}
onClipEvent (enterFrame) {
if (diplayhealth <= 5) {
_root.gotoAndPlay(106);
}
if (_root.health <= 0) {
_root.output = "youve died";
_root.health = 0;
}
if (_root.health > 100) {
_root.output = "your health exeeded the reccomedation";
_root.health = 100;
}
if (diplayhealth > _root.health) {
diplayhealth = diplayhealth - ((_xscale + 5) / timetoreajust);
}
if (diplayhealth < _root.health) {
diplayhealth = diplayhealth + ((_xscale + 5) / timetoreajust);
if (diplayhealth > 100) {
diplayhealth = 100;
}
}
_xscale = diplayhealth;
myColorTransform.ga = (_root.health * 4) - 200;
myColorTransform.ba = (_root.health * 4) - 200;
myColor.setTransform(myColorTransform);
}
Instance of Symbol 1261 MovieClip "keya" in Symbol 1262 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
if (_root.relationa == true) {
_visible = true;
}
}
Instance of Symbol 1261 MovieClip "keyb" in Symbol 1262 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
if (_root.relationb == true) {
_visible = true;
}
}
Instance of Symbol 1261 MovieClip "keyc" in Symbol 1262 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
if (_root.relationc == true) {
_visible = true;
}
}
Instance of Symbol 1261 MovieClip "keyd" in Symbol 1262 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
if (_root.relationd == true) {
_visible = true;
}
}
Instance of Symbol 1261 MovieClip "keye" in Symbol 1262 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
if (_root.relatione == true) {
_visible = true;
}
}
Symbol 1268 MovieClip Frame 5
stop();
Symbol 1272 MovieClip Frame 1
function reset() {
tx.scroll = 1;
totalLines = tx.bottomScroll - tx.scroll;
}
function update() {
if (!foreground.dragando) {
if (tx.maxscroll > 1) {
totalLines = tx.bottomScroll - tx.scroll;
_alpha = 100;
if (tx.scroll > tx.maxscroll) {
tx.scroll = tx.maxscroll;
}
foreground._height = rot(tx.maxscroll + totalLines, totalLines + 1, background._height);
foreground._y = rot(tx.maxscroll - 1, tx.scroll - 1, background._height - foreground._height);
foreground.onRollOver = (background.onRollover = function () {
});
foreground.useHandCursor = useHand;
background.useHandCursor = useHand;
} else {
_alpha = disAlpha;
foreground._y = 0;
foreground._height = background._height;
delete foreground.onRollover;
delete background.onRollover;
foreground.useHandCursor = false;
background.useHandCursor = false;
}
}
}
rot = function (a, b, x) {
return((x * b) / a);
};
foreground.onLoad = function () {
this.dragando = false;
this.offset = 0;
};
foreground.onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, false)) {
this.dragando = true;
this.offset = this._y - _parent._ymouse;
}
};
foreground.onMouseUp = function () {
this.dragando = false;
};
foreground.onMouseMove = function () {
if (this.dragando) {
this._y = _parent._ymouse + this.offset;
if (this._y < 0) {
this._y = 0;
}
if ((this._y + this._height) > this._parent.background._height) {
this._y = this._parent.background._height - this._height;
}
tx.scroll = math.round(rot(this._parent.background._height, this._y, tx.maxScroll + totalLines)) + 1;
}
};
background.onMouseDown = function () {
if (this.hitTest(_root._xmouse, _root._ymouse, false) && (!this._parent.foreground.hitTest(_root._xmouse, _root._ymouse, false))) {
if (this._parent._ymouse < this._parent.foreground._y) {
this.contador = 0;
this.onEnterFrame = function () {
if ((this.contador % 5) == 0) {
tx.scroll = tx.scroll - totalLines;
}
this.contador++;
if (this._parent._ymouse >= this._parent.foreground._y) {
delete this.onEnterFrame;
}
};
} else if (this._parent._ymouse > (this._parent.foreground._y + this._parent.foreground._height)) {
this.contador = 0;
this.onEnterFrame = function () {
if ((this.contador % 5) == 0) {
tx.scroll = tx.scroll + totalLines;
}
this.contador++;
if (this._parent._ymouse <= (this._parent.foreground._y + this._parent.foreground._height)) {
delete this.onEnterFrame;
}
};
}
}
};
background.onMouseUp = function () {
delete this.onEnterFrame;
};
this.onEnterFrame = function () {
var mx = tx._parent._xmouse;
var my = tx._parent._ymouse;
if ((((mx >= tx._x) && (mx <= (tx._x + tx._width))) && (my >= tx._y)) && (my <= (tx._y + tx._height))) {
ticksPerLine = 60;
if ((_level0.__wheelDelta + 0) != 0) {
tx.scroll = tx.scroll - (_level0.__wheelDelta / ticksPerLine);
_level0.__wheelDelta = 0;
}
}
};
tx = _parent[textfield_name];
background._height = this._height;
this._yscale = 100;
clr = new Color(foreground);
clr.setRGB(fgColor);
foreground._alpha = fgAlpha;
clr = new Color(background);
clr.setRGB(bgColor);
background._alpha = bgAlpha;
delete clr;
tx.reset = reset;
tx.reset();
tx.onChanged = (tx.onScroller = update);
tx.onChanged();
stop();
Symbol 1292 MovieClip Frame 1
stop();
Instance of Symbol 1286 MovieClip in Symbol 1292 MovieClip Frame 1
onClipEvent (load) {
if (_root.dressenabe1 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1288 MovieClip in Symbol 1292 MovieClip Frame 1
onClipEvent (load) {
if (_root.dressenabe2 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1292 MovieClip Frame 1
onClipEvent (load) {
if (_root.dressenabe3 == true) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 1292 MovieClip Frame 2
stop();
Symbol 1292 MovieClip Frame 3
stop();
Symbol 1303 MovieClip Frame 1
stop();
Symbol 1303 MovieClip Frame 2
stop();
Symbol 1303 MovieClip Frame 3
stop();
Symbol 1366 MovieClip Frame 1
stop();
Symbol 1366 MovieClip Frame 2
stop();
Instance of Symbol 1272 MovieClip in Symbol 1366 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
textfield_name = "bubblewords";
fgColor = 0;
fgAlpha = 100;
bgColor = 14263974 /* 0xD9A6A6 */;
bgAlpha = 100;
disAlpha = 0;
useHand = false;
}
Symbol 1366 MovieClip Frame 3
stop();
Instance of Symbol 1282 MovieClip "left" in Symbol 1366 MovieClip Frame 3
onClipEvent (load) {
_root.bubble.right._visible = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.buttonleft)) {
hh = true;
_root.bubble.left._visible = true;
_root.bubble.right._visible = false;
}
if (Key.isDown(_root.buttonright)) {
hh = false;
_root.bubble.left._visible = false;
_root.bubble.right._visible = true;
}
if (_root.mainbuttondowna == true) {
if (hh == false) {
_root.objj._visible = false;
}
if (hh == true) {
_root.objj._visible = true;
}
}
}
Symbol 1366 MovieClip Frame 4
stop();
Instance of Symbol 1292 MovieClip in Symbol 1366 MovieClip Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(_root.buttonleft)) {
gotoAndStop(_currentframe - 1);
if ((_root.dressenabe1 == false) & (this._currentframe == 1)) {
gotoAndStop (2);
}
if ((_root.dressenabe2 == false) & (this._currentframe == 2)) {
gotoAndStop (1);
}
if ((_root.dressenabe3 == false) & (this._currentframe == 3)) {
gotoAndStop (2);
}
}
if (Key.isDown(_root.buttonright)) {
gotoAndStop(_currentframe + 1);
if ((_root.dressenabe3 == false) & (this._currentframe == 3)) {
gotoAndStop (1);
}
if ((_root.dressenabe2 == false) & (this._currentframe == 2)) {
gotoAndStop (3);
}
if ((_root.dressenabe1 == false) & (this._currentframe == 1)) {
gotoAndStop (2);
}
if ((_root.dressenabe2 == false) & (_root.dressenabe3 == false)) {
gotoAndStop (1);
}
}
timer++;
if (Key.isDown(_root.buttonaction) & (timer > 5)) {
h = -2;
} else {
h++;
}
if (h == -1) {
if (_currentframe == 1) {
gg = 1;
}
if (_currentframe == 2) {
gg = 4;
}
if (_currentframe == 3) {
gg = 2;
}
_root.squareb.gotoAndStop(gg);
_root.currantdress = gg;
_root.walkingdisabled = false;
_root.faceup();
if (_root._currentframe == 5) {
_root.mainplayersquare._x = 430;
_root.mainplayersquare._y = 300;
}
if (_root._currentframe == 88) {
_root.mainplayersquare._x = 203;
_root.mainplayersquare._y = 300;
}
if (_root._currentframe == 54) {
_root.mainplayersquare._x = 172;
_root.mainplayersquare._y = 270;
}
_root.bubble.gotoAndStop(0);
}
}
Symbol 1366 MovieClip Frame 5
stop();
Instance of Symbol 1303 MovieClip "left" in Symbol 1366 MovieClip Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(_root.buttonleft)) {
gotoAndStop(_currentframe - 1);
}
if (Key.isDown(_root.buttonright)) {
gotoAndStop(_currentframe + 1);
}
timer++;
if (Key.isDown(_root.buttonaction) & (timer > 5)) {
h = -2;
} else {
h++;
}
if (h == -1) {
if (((_currentframe == 1) & (_root.keyd == true)) & (_root.keyh == false)) {
_root.keyh = true;
_root.keyd = false;
_root.getwords(_root.objj._x, _root.objj._y, 70, unescape("You received The Two guns!"));
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
}
if (((_currentframe == 2) & (_root.money >= 10)) & (_root.keyi == false)) {
_root.money = _root.money - 10;
_root.keyi = true;
_root.getwords(_root.objj._x, _root.objj._y, 70, unescape("You received The Clothes basket. Now go see the fairy"));
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("all");
all.start(0, 0);
}
}
if (_currentframe == 3) {
}
_root.walkingdisabled = false;
_root.faceup();
_root.mainplayersquare._x = 290;
_root.mainplayersquare._y = 310;
_root.bubble.gotoAndStop(1);
}
}
Symbol 1366 MovieClip Frame 6
stop();
Instance of Symbol 1282 MovieClip "left" in Symbol 1366 MovieClip Frame 6
onClipEvent (load) {
_root.bubble.right._visible = false;
hh = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.buttonleft)) {
hh = true;
_root.bubble.left._visible = true;
_root.bubble.right._visible = false;
}
if (Key.isDown(_root.buttonright)) {
hh = false;
_root.bubble.left._visible = false;
_root.bubble.right._visible = true;
}
if (_root.mainbuttondowna == true) {
if (hh == true) {
_root.monsterlikesme = true;
}
if (hh == false) {
_root.monsterlikesme = false;
}
}
}
Symbol 1366 MovieClip Frame 7
stop();
Instance of Symbol 1282 MovieClip "left" in Symbol 1366 MovieClip Frame 7
onClipEvent (load) {
_root.bubble.last._visible = false;
_root.bubble.left._visible = false;
_root.bubble.right._visible = false;
i = 3;
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.buttonleft)) {
if (i < 3) {
i++;
}
}
if (Key.isDown(_root.buttonright)) {
if (i > 1) {
i--;
}
}
if (i == 1) {
_root.bubble.last._visible = true;
_root.bubble.left._visible = false;
_root.bubble.right._visible = false;
}
if (i == 2) {
_root.bubble.last._visible = false;
_root.bubble.left._visible = false;
_root.bubble.right._visible = true;
}
if (i == 3) {
_root.bubble.last._visible = false;
_root.bubble.left._visible = true;
_root.bubble.right._visible = false;
}
}
Symbol 1366 MovieClip Frame 8
stop();
Symbol 1366 MovieClip Frame 9
stop();
Symbol 1366 MovieClip Frame 10
stop();
Symbol 1366 MovieClip Frame 11
stop();
Symbol 1366 MovieClip Frame 12
stop();
Symbol 1366 MovieClip Frame 13
stop();
Symbol 1366 MovieClip Frame 14
stop();
Symbol 1366 MovieClip Frame 15
stop();
Symbol 1366 MovieClip Frame 16
stop();
Instance of Symbol 1282 MovieClip "left" in Symbol 1366 MovieClip Frame 16
onClipEvent (load) {
_root.bubble.left._visible = false;
_root.bubble.right._visible = false;
i = 2;
}
onClipEvent (enterFrame) {
if (Key.isDown(_root.buttonleft)) {
if (i > 1) {
i--;
}
}
if (Key.isDown(_root.buttonright)) {
if (i < 2) {
i++;
}
}
if (i == 1) {
_root.bubble.left._visible = true;
_root.bubble.right._visible = false;
if ((_root.mainbuttondowna == true) & (_root.money >= 20)) {
_root.money = _root.money - 20;
_root.health = 100;
}
}
if (i == 2) {
_root.bubble.left._visible = false;
_root.bubble.right._visible = true;
}
}
Instance of Symbol 446 MovieClip "changelevela" in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.back.changelevela, 5);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 446 MovieClip "changelevelc" in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.back.changelevelc, 8);
}
Instance of Symbol 407 MovieClip in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= 4) {
play();
}
} else if (this._currentframe == 5) {
play();
}
}
Instance of Symbol 407 MovieClip in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= 4) {
play();
}
} else if (this._currentframe == 5) {
play();
}
}
Instance of Symbol 446 MovieClip "changelevelb" in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.back.changelevelb, 9);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 407 MovieClip in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= 4) {
play();
}
} else if (this._currentframe == 5) {
play();
}
}
Instance of Symbol 446 MovieClip "changelevelf" in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.back.changelevelf, 10);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 446 MovieClip "changelevelc" in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.back.changelevelc, 8);
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 446 MovieClip "changelevele" in Symbol 1391 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.back.changelevele, 11);
}
onClipEvent (load) {
_visible = false;
}
Symbol 1405 MovieClip Frame 1
stop();
Instance of Symbol 407 MovieClip in Symbol 1406 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.mainplayersquare._y > 300) {
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= 4) {
play();
}
} else if (this._currentframe == 5) {
play();
}
}
}
Symbol 1444 MovieClip Frame 1
stop();
Instance of Symbol 1430 MovieClip in Symbol 1444 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 1443 MovieClip "backon" in Symbol 1444 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 1444 MovieClip Frame 60
stop();
Instance of Symbol 1430 MovieClip in Symbol 1444 MovieClip Frame 60
onClipEvent (load) {
stop();
}
Instance of Symbol 1454 MovieClip in Symbol 1471 MovieClip Frame 1
onClipEvent (enterFrame) {
_visible = false;
if (hitTest(_root.mainplayersquare)) {
_root.tuber.gotoAndPlay(17);
}
}
Symbol 1471 MovieClip Frame 16
gotoAndPlay (1);
Symbol 1471 MovieClip Frame 17
_root.squareb._visible = false;
_root.walkingdisabled = true;
Instance of Symbol 465 MovieClip in Symbol 1471 MovieClip Frame 21
onClipEvent (load) {
if (_root.currantdress == 1) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 1471 MovieClip Frame 22
_root.numberdestinationgoto = 21;
_root.mainplayersquarex = 300;
_root.mainplayersquarey = 286;
_root.gotoAndStop(4);
Symbol 1504 MovieClip Frame 1
stop();
Symbol 1504 MovieClip Frame 28
gotoAndPlay (2);
Symbol 1521 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.mainbar.options._currentframe > 1) {
stop();
o.stop();
} else {
play();
o.play();
}
};
Symbol 1547 MovieClip Frame 1
stop();
Symbol 1556 MovieClip Frame 92
stop();
Symbol 1556 MovieClip Frame 93
gotoAndPlay (92);
Symbol 1566 MovieClip Frame 1
stop();
Symbol 1574 MovieClip Frame 1
stop();
Symbol 1581 MovieClip Frame 1
stop();
Symbol 1587 MovieClip Frame 1
stop();
Symbol 1591 MovieClip Frame 1
stop();
Symbol 1595 MovieClip Frame 1
stop();
Instance of Symbol 1556 MovieClip "helpa" in Symbol 1595 MovieClip Frame 1
onClipEvent (load) {
stop();
}
onClipEvent (enterFrame) {
if (_parent._visible == true) {
play();
}
}
Instance of Symbol 1566 MovieClip in Symbol 1595 MovieClip Frame 1
onClipEvent (load) {
a = 3;
b = 3;
}
onClipEvent (enterFrame) {
if (((a > 5) & Key.isDown(32)) & (_currentframe == 6)) {
_root.mainhelp._visible = false;
_root.walkingdisabled = false;
_root.mainbar.inventory.gotoAndStop(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 1)) {
_root.mainhelp.gotoAndStop(2);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 2)) {
_root.mainhelp.gotoAndStop(6);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 3)) {
_root.mainhelp.gotoAndStop(7);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 4)) {
_root.mainhelp.gotoAndStop(9);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 5)) {
_root.mainhelp.gotoAndStop(16);
}
a++;
b++;
if (_root.mainhelp._visible == false) {
b = 0;
a = 0;
}
if (b == 2) {
gotoAndStop(this._currentframe - 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (a == 2) {
gotoAndStop(this._currentframe + 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (Key.isDown(40)) {
a = 0;
}
if (Key.isDown(38)) {
b = 0;
}
}
Instance of Symbol 1556 MovieClip "helpa" in Symbol 1595 MovieClip Frame 2
onClipEvent (enterFrame) {
helpa.gotoAndStop(_root.mainhelp._currentframe);
helpb.gotoAndStop(_root.mainhelp._currentframe);
}
Instance of Symbol 1574 MovieClip in Symbol 1595 MovieClip Frame 2
onClipEvent (load) {
a = 3;
b = 3;
}
onClipEvent (enterFrame) {
if (((a > 5) & Key.isDown(32)) & (_currentframe == 1)) {
_root.mainhelp.gotoAndStop(3);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 2)) {
_root.mainhelp.gotoAndStop(4);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 3)) {
_root.mainhelp.gotoAndStop(5);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 4)) {
_root.mainhelp.gotoAndStop(1);
_root.mainhelp.helpa.gotoAndPlay(1);
}
a++;
b++;
if (b == 2) {
gotoAndStop(this._currentframe - 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (a == 2) {
gotoAndStop(this._currentframe + 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (Key.isDown(40)) {
a = 0;
}
if (Key.isDown(38)) {
b = 0;
}
}
Instance of Symbol 1581 MovieClip in Symbol 1595 MovieClip Frame 6
onClipEvent (load) {
a = 3;
b = 3;
}
onClipEvent (enterFrame) {
if (((a > 5) & Key.isDown(32)) & (_currentframe == 1)) {
_root.mainhelp.gotoAndStop(11);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 2)) {
_root.mainhelp.gotoAndStop(12);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 3)) {
_root.mainhelp.gotoAndStop(13);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 4)) {
_root.mainhelp.gotoAndStop(14);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 5)) {
_root.mainhelp.gotoAndStop(1);
_root.mainhelp.helpa.gotoAndPlay(1);
}
a++;
b++;
if (b == 2) {
gotoAndStop(this._currentframe - 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (a == 2) {
gotoAndStop(this._currentframe + 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (Key.isDown(40)) {
a = 0;
}
if (Key.isDown(38)) {
b = 0;
}
}
Instance of Symbol 1587 MovieClip in Symbol 1595 MovieClip Frame 7
onClipEvent (load) {
a = 3;
b = 3;
}
onClipEvent (enterFrame) {
if (((a > 5) & Key.isDown(32)) & (_currentframe == 1)) {
_root.mainhelp.gotoAndStop(8);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 2)) {
_root.mainhelp.gotoAndStop(1);
_root.mainhelp.helpa.gotoAndPlay(1);
}
a++;
b++;
if (b == 2) {
gotoAndStop(this._currentframe - 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (a == 2) {
gotoAndStop(this._currentframe + 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (Key.isDown(40)) {
a = 0;
}
if (Key.isDown(38)) {
b = 0;
}
}
Instance of Symbol 1587 MovieClip in Symbol 1595 MovieClip Frame 9
onClipEvent (load) {
a = 3;
b = 3;
}
onClipEvent (enterFrame) {
if (((a > 5) & Key.isDown(32)) & (_currentframe == 1)) {
_root.mainhelp.gotoAndStop(10);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 2)) {
_root.mainhelp.gotoAndStop(1);
_root.mainhelp.helpa.gotoAndPlay(1);
}
a++;
b++;
if (b == 2) {
gotoAndStop(this._currentframe - 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (a == 2) {
gotoAndStop(this._currentframe + 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (Key.isDown(40)) {
a = 0;
}
if (Key.isDown(38)) {
b = 0;
}
}
Instance of Symbol 1581 MovieClip in Symbol 1595 MovieClip Frame 11
onClipEvent (load) {
a = 3;
b = 3;
}
onClipEvent (enterFrame) {
if (((a > 5) & Key.isDown(32)) & (_currentframe == 1)) {
_root.mainhelp.gotoAndStop(11);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 2)) {
_root.mainhelp.gotoAndStop(12);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 3)) {
_root.mainhelp.gotoAndStop(13);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 4)) {
_root.mainhelp.gotoAndStop(14);
_root.mainhelp.helpa.gotoAndPlay(1);
}
if (((a > 5) & Key.isDown(32)) & (_currentframe == 5)) {
_root.mainhelp.gotoAndStop(1);
_root.mainhelp.helpa.gotoAndPlay(1);
}
a++;
b++;
if (b == 2) {
gotoAndStop(this._currentframe - 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (a == 2) {
gotoAndStop(this._currentframe + 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (Key.isDown(40)) {
a = 0;
}
if (Key.isDown(38)) {
b = 0;
}
}
Instance of Symbol 1591 MovieClip in Symbol 1595 MovieClip Frame 16
onClipEvent (load) {
a = 3;
b = 3;
}
onClipEvent (enterFrame) {
if (((a > 5) & Key.isDown(32)) & (_currentframe == 1)) {
_root.mainhelp.gotoAndStop(1);
}
a++;
b++;
if (b == 2) {
gotoAndStop(this._currentframe - 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (a == 2) {
gotoAndStop(this._currentframe + 1);
sounda = new Sound(this);
sounda.attachSound("arcade5");
sounda.start(0, 0);
}
if (Key.isDown(40)) {
a = 0;
}
if (Key.isDown(38)) {
b = 0;
}
}
Symbol 1600 MovieClip Frame 1
stop();
Symbol 1600 MovieClip Frame 2
stop();
Symbol 1605 MovieClip Frame 1
stop();
Symbol 1605 MovieClip Frame 2
stop();
Symbol 1613 MovieClip Frame 5
stop();
Instance of Symbol 446 MovieClip "changeleveld" in Symbol 1631 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.back.changeleveld, 6, 660, 70);
}
Instance of Symbol 446 MovieClip "changelevela" in Symbol 1631 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.back.changelevela, 12, 164.2, 346.9);
}
Instance of Symbol 446 MovieClip "changelevelb" in Symbol 1631 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.aiwalkb == true) {
_root.superhittest(_root.back.changelevelb, 13);
}
if (_root.aiwalkb == false) {
_visible = false;
if (hitTest(_root.mainplayersquare)) {
_root.objf.gotoAndStop(2);
_root.getwords(_root.objf._x + 200, _root.objf._y + 30, 100, "where do you think YOUR going?");
i = 0;
} else {
i++;
if (i == 1) {
_root.getwords(0, 0, 100, "");
}
_root.objf.gotoAndStop(1);
}
}
}
Instance of Symbol 446 MovieClip "changelevele" in Symbol 1631 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.keyb == false) {
_visible = false;
}
if (_root.keyb == true) {
_root.superhittest(_root.back.changelevele, 21);
}
}
Instance of Symbol 1630 MovieClip in Symbol 1631 MovieClip Frame 1
onClipEvent (load) {
if (_root.aiwalkj == true) {
_visible = false;
}
}
Instance of Symbol 1670 MovieClip in Symbol 1671 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 1670 MovieClip in Symbol 1679 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 1679 MovieClip Frame 9
gotoAndPlay (5);
Symbol 1683 MovieClip Frame 1
stop();
Instance of Symbol 1670 MovieClip in Symbol 1683 MovieClip Frame 3
onClipEvent (load) {
stop();
}
Symbol 1683 MovieClip Frame 11
stop();
Symbol 1683 MovieClip Frame 12
stop();
Symbol 1699 MovieClip Frame 1
stop();
Symbol 1704 MovieClip Frame 1
stop();
Symbol 1738 MovieClip Frame 1
stop();
Symbol 1738 MovieClip Frame 5
stop();
Instance of Symbol 1738 MovieClip in Symbol 1740 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= 4) {
play();
}
} else if (this._currentframe == 5) {
play();
}
}
Symbol 1749 MovieClip Frame 1
stop();
Symbol 1837 MovieClip Frame 1
stop();
Symbol 1837 MovieClip Frame 32
gotoAndPlay (31);
Symbol 1863 MovieClip Frame 29
gotoAndPlay (1);
Symbol 1890 MovieClip Frame 1
stop();
Symbol 1890 MovieClip Frame 2
play();
Symbol 1890 MovieClip Frame 21
gotoAndPlay (2);
Symbol 1915 MovieClip Frame 1
stop();
Symbol 1915 MovieClip Frame 6
stop();
Instance of Symbol 1915 MovieClip "door" in Symbol 1916 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe < 5) {
play();
}
} else if (this._currentframe > 5) {
play();
}
}
Symbol 1934 MovieClip Frame 24
gotoAndPlay (1);
Instance of Symbol 446 MovieClip "changeleveld" in Symbol 1942 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.back.changeleveld, 17, 331.2, 186.9);
}
Instance of Symbol 446 MovieClip "changelevela" in Symbol 1942 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.back.changelevela, 20);
}
Instance of Symbol 446 MovieClip "changelevelb" in Symbol 1942 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.back.changelevelb, 22);
}
Instance of Symbol 407 MovieClip in Symbol 1942 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare) & (_root.walls._currentframe == 2)) {
if (this._currentframe < 5) {
play();
}
} else if (this._currentframe > 5) {
play();
}
}
Symbol 2007 MovieClip Frame 1
stop();
Symbol 2007 MovieClip Frame 32
gotoAndPlay (18);
d++;
if (d > 5) {
d = 0;
gotoAndPlay (33);
}
Symbol 2019 MovieClip Frame 26
gotoAndPlay (1);
Symbol 2022 MovieClip Frame 1
stop();
Symbol 2022 MovieClip Frame 2
stop();
Symbol 2036 MovieClip Frame 1
stop();
Symbol 2046 MovieClip Frame 1
stop();
Symbol 2049 MovieClip Frame 1
stop();
Symbol 2058 MovieClip Frame 1
stop();
Symbol 2058 MovieClip Frame 8
stop();
Symbol 2061 MovieClip Frame 1
stop();
Symbol 2064 MovieClip Frame 1
stop();
Symbol 2075 MovieClip Frame 1
stop();
Symbol 2080 MovieClip Frame 1
stop();
Symbol 2080 MovieClip Frame 4
stop();
Symbol 2092 MovieClip Frame 1
stop();
Symbol 2092 MovieClip Frame 7
stop();
Symbol 2096 MovieClip Frame 1
stop();
Symbol 2096 MovieClip Frame 2
play();
_root.squareb._visible = false;
_root.walkingdisabled = true;
Symbol 2096 MovieClip Frame 7
_root.mainplayersquarex = 295;
_root.mainplayersquarey = 190;
_root.numberdestinationgoto = 7;
_root.gotoAndStop(4);
Instance of Symbol 588 MovieClip in Symbol 2096 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.currantdress == 2) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 684 MovieClip in Symbol 2096 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.currantdress == 4) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 523 MovieClip in Symbol 2096 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.currantdress == 1) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 2110 MovieClip Frame 1
stop();
Symbol 2188 MovieClip Frame 106
gotoAndPlay (1);
Symbol 2188 MovieClip Frame 120
gotoAndPlay (111);
Symbol 2200 MovieClip Frame 1
stop();
Symbol 2202 MovieClip Frame 1
stop();
Symbol 2205 MovieClip Frame 1
stop();
Symbol 2205 MovieClip Frame 2
stop();
Symbol 2257 MovieClip Frame 23
gotoAndPlay (1);
Symbol 2260 MovieClip Frame 1
stop();
Symbol 2290 MovieClip Frame 1
stop();
Symbol 2325 MovieClip Frame 25
gotoAndPlay (1);
Symbol 2325 MovieClip Frame 37
gotoAndPlay (26);
Symbol 2345 MovieClip Frame 1
stop();
Symbol 2347 MovieClip Frame 1
stop();
Symbol 2353 MovieClip Frame 1
stop();
Symbol 2370 MovieClip Frame 1
stop();
Symbol 2370 MovieClip Frame 19
gotoAndStop (1);
Symbol 2370 MovieClip Frame 20
stop();
Symbol 2409 MovieClip Frame 1
stop();
Symbol 2417 MovieClip Frame 1
stop();
Symbol 2425 MovieClip Frame 1
stop();
Symbol 2425 MovieClip Frame 8
stop();
Symbol 2442 MovieClip Frame 1
stop();
Symbol 2442 MovieClip Frame 2
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("insect");
all.start(0, 0);
}
Symbol 2444 MovieClip Frame 1
stop();
Symbol 2444 MovieClip Frame 2
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("insect");
all.start(0, 0);
}
Symbol 2444 MovieClip Frame 25
gotoAndStop (1);
Symbol 2447 MovieClip Frame 1
stop();
Symbol 2447 MovieClip Frame 2
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("insect");
all.start(0, 0);
}
Symbol 2448 MovieClip Frame 1
stop();
Symbol 2448 MovieClip Frame 2
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("insect");
all.start(0, 0);
}
Symbol 2465 MovieClip Frame 1
stop();
Symbol 2479 MovieClip Frame 1
stop();
Symbol 2479 MovieClip Frame 26
stop();
Symbol 2517 MovieClip Frame 1
stop();
Symbol 2517 MovieClip Frame 11
stop();
Symbol 2554 MovieClip Frame 1
stop();
Symbol 2554 MovieClip Frame 17
gotoAndStop (1);
Symbol 2557 MovieClip Frame 1
stop();
Symbol 2557 MovieClip Frame 2
stop();
Symbol 2564 MovieClip Frame 1
stop();
Instance of Symbol 2562 MovieClip "changelevela" in Symbol 2564 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.walls.changelevela, 38, 433, 273);
}
Instance of Symbol 2562 MovieClip "changelevelc" in Symbol 2564 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.walls.changelevelc, 40);
}
Instance of Symbol 2562 MovieClip "changelevelb" in Symbol 2564 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.walls.changelevelb, 58);
}
Instance of Symbol 2562 MovieClip "changeleveld" in Symbol 2564 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.superhittest(_root.walls.changeleveld, 41);
}
Symbol 2564 MovieClip Frame 2
stop();
Symbol 2609 MovieClip Frame 1
stop();
Symbol 2609 MovieClip Frame 6
stop();
Symbol 2609 MovieClip Frame 11
gotoAndStop (1);
Symbol 2662 MovieClip Frame 1
stop();
Symbol 2680 MovieClip Frame 1
stop();
Symbol 2680 MovieClip Frame 12
gotoAndPlay (1);
Symbol 2707 MovieClip Frame 1
stop();
Symbol 2707 MovieClip Frame 3
stop();
Symbol 2709 MovieClip Frame 1
stop();
Instance of Symbol 2726 MovieClip in Symbol 2735 MovieClip Frame 1
onClipEvent (load) {
if (_root.gem1 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 2728 MovieClip in Symbol 2735 MovieClip Frame 1
onClipEvent (load) {
if (_root.gem2 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 2730 MovieClip in Symbol 2735 MovieClip Frame 1
onClipEvent (load) {
if (_root.gem3 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 2732 MovieClip in Symbol 2735 MovieClip Frame 1
onClipEvent (load) {
if (_root.gem4 == true) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 2734 MovieClip in Symbol 2735 MovieClip Frame 1
onClipEvent (load) {
if (_root.gem5 == true) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 2766 MovieClip Frame 126
gotoAndPlay (1);
Symbol 2785 MovieClip Frame 1
stop();
Symbol 2788 MovieClip Frame 1
stop();
Symbol 2798 MovieClip Frame 7
_root.mainplayersquarex = 120;
_root.mainplayersquarey = 300;
_root.numberdestinationgoto = 48;
_root.gotoAndStop(4);
Instance of Symbol 2800 MovieClip in Symbol 2801 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
if (((((_root.relationa == true) & (_root.relationb == true)) & (_root.relationc == true)) & (_root.relationd == true)) & (_root.relatione == true)) {
if (_root.currantdress == 1) {
_root.elivator.e.play();
_root.walkingdisabled = true;
_root.squareb._visible = false;
}
}
} else {
_root.elivator.e.gotoAndStop(1);
}
}
Symbol 2810 MovieClip Frame 34
gotoAndPlay (1);
Symbol 2824 Button
on (release) {
if (_root.relationd == true) {
gotoAndStop(_currentframe - 1);
}
}
Symbol 2825 Button
on (release) {
if (_root.relationd == true) {
gotoAndStop(_currentframe + 1);
}
}
Symbol 2839 MovieClip Frame 1
stop();
Symbol 2845 MovieClip Frame 1
stop();
Instance of Symbol 2844 MovieClip in Symbol 2845 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.b.play();
_root.squareb._visible = false;
_root.walkingdisabled = true;
} else {
gotoAndStop (1);
}
}
Symbol 2845 MovieClip Frame 9
_root.mainplayersquarex = 390;
_root.mainplayersquarey = 250;
_root.numberdestinationgoto = 49;
_root.gotoAndStop(4);
Symbol 2846 MovieClip Frame 1
stop();
Instance of Symbol 2844 MovieClip in Symbol 2846 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
_root.a.play();
_root.walkingdisabled = true;
_root.squareb._visible = false;
} else {
gotoAndStop (1);
}
}
Symbol 2846 MovieClip Frame 9
_root.mainplayersquarex = 400;
_root.mainplayersquarey = 300;
_root.numberdestinationgoto = 47;
_root.gotoAndStop(4);
Symbol 2896 MovieClip Frame 1
stop();
Symbol 2958 MovieClip Frame 1
stop();
Symbol 3013 MovieClip Frame 394
stop();
Symbol 3014 MovieClip Frame 1
stop();
Instance of Symbol 2990 MovieClip "box" in Symbol 3014 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 2992 MovieClip "killzone" in Symbol 3014 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 2990 MovieClip "boxsecond" in Symbol 3014 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 3020 MovieClip Frame 1
stop();
Symbol 3020 MovieClip Frame 2
stop();
Symbol 3026 MovieClip Frame 2
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("torpedo");
all.start(0, 0);
}
Instance of Symbol 3024 MovieClip "hitarea" in Symbol 3026 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
with (_root.walls) {
if (hitTest(_root.arro.arro.hitarea._x, _root.arro.arro.hitarea._y, true)) {
_root.hh = "yesy";
} else {
_root.hh = "no";
}
}
}
Symbol 3030 MovieClip Frame 4
stop();
Symbol 3032 MovieClip Frame 2
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("torpedo");
all.start(0, 0);
}
Instance of Symbol 3024 MovieClip "hitarea" in Symbol 3032 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
with (_root.walls) {
if (hitTest(_root.arro.arro.hitarea._x, _root.arro.arro.hitarea._y, true)) {
_root.hh = "yesy";
} else {
_root.hh = "no";
}
}
}
Symbol 3034 MovieClip Frame 2
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("torpedo");
all.start(0, 0);
}
Instance of Symbol 3024 MovieClip "hitarea" in Symbol 3034 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
with (_root.walls) {
if (hitTest(_root.arro.arro.hitarea._x, _root.arro.arro.hitarea._y, true)) {
_root.hh = "yesy";
} else {
_root.hh = "no";
}
}
}
Symbol 3036 MovieClip Frame 2
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("torpedo");
all.start(0, 0);
}
Instance of Symbol 3024 MovieClip "hitarea" in Symbol 3036 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
with (_root.walls) {
if (hitTest(_root.arro.arro.hitarea._x, _root.arro.arro.hitarea._y, true)) {
_root.hh = "yesy";
} else {
_root.hh = "no";
}
}
}
Symbol 3037 MovieClip Frame 2
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("torpedo");
all.start(0, 0);
}
Instance of Symbol 3024 MovieClip "hitarea" in Symbol 3037 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
with (_root.walls) {
if (hitTest(_root.arro.arro.hitarea._x, _root.arro.arro.hitarea._y, true)) {
_root.hh = "yesy";
} else {
_root.hh = "no";
}
}
}
Symbol 3038 MovieClip Frame 2
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("torpedo");
all.start(0, 0);
}
Instance of Symbol 3024 MovieClip "hitarea" in Symbol 3038 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
with (_root.walls) {
if (hitTest(_root.arro.arro.hitarea._x, _root.arro.arro.hitarea._y, true)) {
_root.hh = "yesy";
} else {
_root.hh = "no";
}
}
}
Symbol 3039 MovieClip Frame 1
stop();
Instance of Symbol 3030 MovieClip "expo" in Symbol 3039 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 3039 MovieClip Frame 2
stop();
Symbol 3039 MovieClip Frame 3
stop();
Symbol 3039 MovieClip Frame 4
stop();
Symbol 3039 MovieClip Frame 5
stop();
Symbol 3039 MovieClip Frame 6
stop();
Symbol 3039 MovieClip Frame 7
stop();
Symbol 3039 MovieClip Frame 8
stop();
Symbol 3039 MovieClip Frame 9
stop();
Symbol 3039 MovieClip Frame 10
stop();
Symbol 3312 MovieClip Frame 1
stop();
Symbol 3312 MovieClip Frame 2
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("needles");
all.start(0, 0);
all.setVolume(100);
}
Instance of Symbol 3044 MovieClip "hit" in Symbol 3312 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 3312 MovieClip Frame 26
gotoAndPlay (1);
Symbol 3312 MovieClip Frame 27
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("needles");
all.start(0, 0);
all.setVolume(100);
}
Instance of Symbol 3044 MovieClip "hit" in Symbol 3312 MovieClip Frame 27
onClipEvent (load) {
_visible = false;
}
Symbol 3312 MovieClip Frame 42
gotoAndPlay (1);
Symbol 3312 MovieClip Frame 43
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("needles");
all.start(0, 0);
all.setVolume(100);
}
Instance of Symbol 3044 MovieClip "hit" in Symbol 3312 MovieClip Frame 43
onClipEvent (load) {
_visible = false;
}
Symbol 3312 MovieClip Frame 60
gotoAndPlay (1);
Symbol 3312 MovieClip Frame 61
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("needles");
all.start(0, 0);
all.setVolume(100);
}
Instance of Symbol 3044 MovieClip "hit" in Symbol 3312 MovieClip Frame 61
onClipEvent (load) {
_visible = false;
}
Symbol 3312 MovieClip Frame 79
gotoAndPlay (1);
Symbol 3312 MovieClip Frame 80
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("needles");
all.start(0, 0);
all.setVolume(100);
}
Instance of Symbol 3044 MovieClip "hit" in Symbol 3312 MovieClip Frame 80
onClipEvent (load) {
_visible = false;
}
Symbol 3312 MovieClip Frame 108
gotoAndPlay (1);
Symbol 3312 MovieClip Frame 109
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("needles");
all.start(0, 0);
all.setVolume(100);
}
Instance of Symbol 3044 MovieClip "hit" in Symbol 3312 MovieClip Frame 109
onClipEvent (load) {
_visible = false;
}
Symbol 3312 MovieClip Frame 139
gotoAndPlay (1);
Symbol 3312 MovieClip Frame 140
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("needles");
all.start(0, 0);
all.setVolume(100);
}
Instance of Symbol 3044 MovieClip "hit" in Symbol 3312 MovieClip Frame 140
onClipEvent (load) {
_visible = false;
}
Symbol 3312 MovieClip Frame 180
gotoAndPlay (1);
Symbol 3312 MovieClip Frame 181
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("needles");
all.start(0, 0);
all.setVolume(100);
}
Instance of Symbol 3044 MovieClip "hit" in Symbol 3312 MovieClip Frame 181
onClipEvent (load) {
_visible = false;
}
Symbol 3312 MovieClip Frame 210
gotoAndPlay (1);
Symbol 3312 MovieClip Frame 211
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("needles");
all.start(0, 0);
all.setVolume(100);
}
Instance of Symbol 3044 MovieClip "hit" in Symbol 3312 MovieClip Frame 211
onClipEvent (load) {
_visible = false;
}
Symbol 3312 MovieClip Frame 244
gotoAndPlay (1);
Symbol 3312 MovieClip Frame 255
stop();
Symbol 3312 MovieClip Frame 267
stop();
Symbol 3312 MovieClip Frame 278
stop();
Symbol 3338 MovieClip Frame 1
stop();
Symbol 3473 MovieClip Frame 1
stop();
Symbol 3473 MovieClip Frame 2
_root.soundoff = true;
Symbol 3473 MovieClip Frame 103
_root.spacex = 0;
_root.spacey = 0;
_root.superhittest(_root.obja, 105, 284, 210);
_root.numberdestinationgoto = 105;
_root.mainplayersquarex = 284;
_root.mainplayersquarey = 210;
_root.walkingdisabled = false;
_root.soundoff = false;
_root.gotoAndStop(4);
Symbol 3483 MovieClip Frame 1
stop();
Symbol 3515 MovieClip Frame 1
stop();
Symbol 3542 MovieClip Frame 1
_root.onEnterFrame = function () {
myDate = new Date();
hourHand._rotation = (myDate.getHours() * 30) + (myDate.getMinutes() / 2);
minuteHand._rotation = (myDate.getMinutes() * 6) + (myDate.getSeconds() / 10);
secondHand._rotation = myDate.getSeconds() * 6;
};
Instance of Symbol 3537 MovieClip "secondHand" in Symbol 3542 MovieClip Frame 1
onClipEvent (load) {
_rotation = getSeconds();
}
Instance of Symbol 3521 MovieClip in Symbol 3566 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 1);
}
Symbol 3607 MovieClip Frame 1
stop();
Symbol 3609 MovieClip Frame 1
stop();
Symbol 3609 MovieClip Frame 2
stop();
Symbol 3659 MovieClip Frame 1
stop();
Symbol 3659 MovieClip Frame 2
play();
Symbol 3659 MovieClip Frame 24
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("needles");
all.start(0, 0);
}
Symbol 3659 MovieClip Frame 61
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("needles");
all.start(0, 0);
}
Symbol 3659 MovieClip Frame 81
gotoAndPlay (9);
Symbol 3659 MovieClip Frame 82
stop();
Symbol 3698 MovieClip Frame 1
stop();
Symbol 3764 MovieClip Frame 1
stop();
Symbol 3815 MovieClip Frame 1
stop();
Symbol 3818 MovieClip Frame 1
stop();
Symbol 3860 MovieClip Frame 1
stop();
Symbol 3891 MovieClip Frame 1
stop();
Instance of Symbol 3881 MovieClip "hit" in Symbol 3891 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 3891 MovieClip Frame 2
if (_root.soundoff == false) {
dart = new Sound(this);
dart.attachSound("blowdart");
dart.start(0, 0);
dart.setVolume(100);
}
Instance of Symbol 3884 MovieClip in Symbol 3891 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.health = _root.health - 2;
}
}
Instance of Symbol 3884 MovieClip in Symbol 3891 MovieClip Frame 11
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.health_ = 2;
}
}
Symbol 3891 MovieClip Frame 12
gotoAndStop (1);
Symbol 3899 MovieClip Frame 1
stop();
Instance of Symbol 3881 MovieClip "hit" in Symbol 3899 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 3899 MovieClip Frame 2
if (_root.soundoff == false) {
dart = new Sound(this);
dart.attachSound("blowdart");
dart.start(0, 0);
dart.setVolume(100);
}
Instance of Symbol 3884 MovieClip in Symbol 3899 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.health = _root.health - 2;
}
}
Instance of Symbol 3884 MovieClip in Symbol 3899 MovieClip Frame 11
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare)) {
_root.health_ = 2;
}
}
Symbol 4110 MovieClip Frame 1
stop();
Symbol 4112 MovieClip Frame 1
stop();
Symbol 4136 MovieClip Frame 1
stop();
Symbol 4136 MovieClip Frame 8
stop();
Symbol 4147 MovieClip Frame 1
stop();
Symbol 4147 MovieClip Frame 8
stop();
Symbol 4150 MovieClip Frame 1
stop();
stop();
Symbol 4150 MovieClip Frame 8
stop();
stop();
Instance of Symbol 4136 MovieClip in Symbol 4151 MovieClip Frame 1
onClipEvent (enterFrame) {
manframe = 8;
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= (manframe - 1)) {
play();
}
} else if (this._currentframe == manframe) {
play();
}
}
Instance of Symbol 4147 MovieClip in Symbol 4151 MovieClip Frame 1
onClipEvent (enterFrame) {
manframe = 8;
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= (manframe - 1)) {
play();
}
} else if (this._currentframe == manframe) {
play();
}
}
Instance of Symbol 4150 MovieClip in Symbol 4151 MovieClip Frame 1
onClipEvent (enterFrame) {
manframe = 8;
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= (manframe - 1)) {
play();
}
} else if (this._currentframe == manframe) {
play();
}
}
Instance of Symbol 4147 MovieClip in Symbol 4157 MovieClip Frame 1
onClipEvent (enterFrame) {
manframe = 8;
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= (manframe - 1)) {
play();
}
} else if (this._currentframe == manframe) {
play();
}
}
Symbol 4176 MovieClip Frame 1
stop();
Symbol 4183 MovieClip Frame 1
stop();
Symbol 4183 MovieClip Frame 8
stop();
Instance of Symbol 4183 MovieClip in Symbol 4185 MovieClip Frame 1
onClipEvent (enterFrame) {
manframe = 8;
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= (manframe - 1)) {
play();
}
} else if (this._currentframe == manframe) {
play();
}
}
Instance of Symbol 4197 MovieClip in Symbol 4198 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true) == false) {
k = 0;
}
if (this.hitTest(_root.mainplayersquare._x, _root.mainplayersquare._y, true)) {
if (_root.mainbuttondowna == true) {
k++;
}
if (k == 1) {
_root.gamblegameactivated = true;
}
if (k == 2) {
_root.gamblegameactivated = false;
_root.walkingdisabled = false;
}
if (k == 3) {
k = 1;
}
}
}
Instance of Symbol 4213 MovieClip in Symbol 4214 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.mainplayersquare) == false) {
k = 0;
}
if (hitTest(_root.mainplayersquare)) {
if (_root.mainbuttondowna == true) {
k++;
}
if (k == 1) {
_root.kurbygameactivated = true;
}
if (k == 2) {
_root.kurbygameactivated = false;
_root.walkingdisabled = false;
}
if (k == 3) {
k = 1;
}
}
}
Symbol 4216 MovieClip Frame 1
stop();
Symbol 4219 MovieClip Frame 1
stop();
Symbol 4221 MovieClip Frame 1
stop();
Symbol 4251 Button
on (release) {
if ((_root.money >= 10) & (_parent._visible == true)) {
_root.money = _root.money - 10;
_root.game1.barmain.playing = true;
_root.game1.barmain.virgin = false;
_root.game1.barmain.i = 0;
_root.game1.output = "";
}
}
Instance of Symbol 4232 MovieClip "barmain" in Symbol 4253 MovieClip Frame 1
onClipEvent (load) {
playing = false;
virgin = true;
}
onClipEvent (enterFrame) {
if (playing == false) {
adecacc = 10;
bdecacc = 10;
cdecacc = 10;
if ((a._y > 44) & (a._y < 104)) {
a._y = 84;
}
if ((a._y > 104) & (a._y < 154)) {
a._y = 134;
}
if ((a._y > 154) & (a._y < 204)) {
a._y = 194;
}
if ((a._y > 204) & (a._y < 264)) {
a._y = 254;
}
if ((a._y > 264) & (a._y < 315)) {
a._y = 304;
}
if ((b._y > 44) & (b._y < 104)) {
b._y = 84;
}
if ((b._y > 104) & (b._y < 154)) {
b._y = 134;
}
if ((b._y > 154) & (b._y < 204)) {
b._y = 194;
}
if ((b._y > 204) & (b._y < 264)) {
b._y = 254;
}
if ((b._y > 264) & (b._y < 315)) {
b._y = 304;
}
if ((c._y > 44) & (c._y < 104)) {
c._y = 84;
}
if ((c._y > 104) & (c._y < 154)) {
c._y = 134;
}
if ((c._y > 154) & (c._y < 204)) {
c._y = 194;
}
if ((c._y > 204) & (c._y < 264)) {
c._y = 254;
}
if ((c._y > 264) & (c._y < 315)) {
c._y = 304;
}
if (virgin == false) {
if (a._y == b._y) {
_root.game1.output = "you got some money!";
i++;
if (i == 1) {
_root.money = _root.money + 10;
}
}
if (b._y == c._y) {
_root.game1.output = "you got some money!";
i++;
if (i == 1) {
_root.money = _root.money + 10;
}
}
if (a._y == c._y) {
_root.game1.output = "you got some money!";
i++;
if (i == 1) {
_root.money = _root.money + 10;
}
}
if ((a._y == b._y) & (b._y == c._y)) {
_root.game1.output = "you got lost of money!";
i++;
if (i == 1) {
_root.money = _root.money + 100;
}
}
}
}
if (playing) {
if (cdecacc > 0) {
cdecacc = cdecacc - (Math.random(1) * 0.2);
c._y = c._y + cdecacc;
}
if (bdecacc > 0) {
bdecacc = bdecacc - (Math.random(1) * 0.3);
b._y = b._y + bdecacc;
}
if (adecacc > 0) {
adecacc = adecacc - (Math.random(1) * 0.4);
a._y = a._y + adecacc;
}
if (((adecacc < 0) & (bdecacc < 0)) & (cdecacc < 0)) {
playing = false;
}
if (a._y >= 314.2) {
a._y = 47;
}
if (b._y >= 314.2) {
b._y = 47;
}
if (c._y >= 314.2) {
c._y = 47;
}
}
}
Symbol 4268 MovieClip Frame 4
gotoAndPlay (1);
Symbol 4268 MovieClip Frame 6
stop();
Instance of Symbol 4262 MovieClip "end" in Symbol 4272 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4272 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4262 MovieClip "end" in Symbol 4288 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4288 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4262 MovieClip "end" in Symbol 4292 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4292 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4262 MovieClip "end" in Symbol 4296 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Instance of Symbol 4268 MovieClip in Symbol 4296 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitTest(_root.kirbygame.kurby)) {
gotoAndPlay (5);
_root.kirbygame.scrore = _root.kirbygame.scrore + 10;
if (_root.soundoff == false) {
all = new Sound(this);
all.attachSound("arcadeo");
all.start(0, 0);
}
}
}
Symbol 4298 MovieClip Frame 1
stop();
Instance of Symbol 4259 MovieClip in Symbol 4298 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.kirbygame.scrore >= 190) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4284 MovieClip "kurby" in Symbol 4298 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.kurbygameactivated == true) {
stop();
if (hitTest(_root.kirbygame.move.end)) {
_root.kirbygame.gotoAndStop(_root.kirbygame._currentframe + 1);
}
if (Key.isDown(37)) {
_parent.move._x = _parent.move._x + 10;
play();
_xscale = -17.4;
}
if (Key.isDown(39)) {
play();
_xscale = 17.4;
_parent.move._x = _parent.move._x - 10;
}
wing.stop();
if (Key.isDown(38)) {
wing.play();
gravity = 20;
} else {
gravity = 0;
}
gravity = gravity * 0.9;
_parent.move._y = _parent.move._y + gravity;
if (_parent.move.hitTest(_parent._x + _x, _parent._y + _y, true)) {
} else {
_parent.move._y = _parent.move._y - 10;
if (Key.isDown(38)) {
}
}
}
}
Instance of Symbol 4259 MovieClip in Symbol 4298 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.kirbygame.scrore >= 500) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4259 MovieClip in Symbol 4298 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.kirbygame.scrore >= 900) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 4259 MovieClip in Symbol 4298 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.kirbygame.scrore >= 1200) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 4321 MovieClip Frame 1
stop();
Symbol 4328 MovieClip Frame 1
stop();
Symbol 4328 MovieClip Frame 8
stop();
Instance of Symbol 4328 MovieClip in Symbol 4329 MovieClip Frame 1
onClipEvent (enterFrame) {
manframe = 8;
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= (manframe - 1)) {
play();
}
} else if (this._currentframe == manframe) {
play();
}
}
Symbol 4337 MovieClip Frame 1
stop();
Symbol 4369 MovieClip Frame 1
stop();
Instance of Symbol 4328 MovieClip in Symbol 4373 MovieClip Frame 1
onClipEvent (enterFrame) {
manframe = 8;
if (this.hitTest(_root.mainplayersquare)) {
if (this._currentframe <= (manframe - 1)) {
play();
}
} else if (this._currentframe == manframe) {
play();
}
}
Symbol 4385 MovieClip Frame 1
stop();
Symbol 4408 MovieClip Frame 1
stop();
Symbol 4441 MovieClip Frame 1
stop();
Symbol 4475 MovieClip Frame 1
stop();
Symbol 4475 MovieClip Frame 19
stop();
removeMovieClip(_root.obja);
_root.gotoAndStop(86);
Symbol 4502 MovieClip Frame 1
stop();
Symbol 4517 MovieClip Frame 1
stop();
Symbol 4556 MovieClip Frame 1
stop();
Symbol 4583 MovieClip Frame 1
stop();
Instance of Symbol 4594 MovieClip "hitarea" in Symbol 4595 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 4594 MovieClip "hitarea" in Symbol 4599 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 4594 MovieClip "hitarea" in Symbol 4601 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 4594 MovieClip "hitarea" in Symbol 4603 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 4605 MovieClip "hit" in Symbol 4608 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 4623 MovieClip Frame 1
stop();
Instance of Symbol 4605 MovieClip "hit" in Symbol 4624 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 4649 MovieClip Frame 1
stop();
Symbol 4687 MovieClip Frame 1
stop();
Symbol 4687 MovieClip Frame 18
gotoAndStop (1);
Symbol 4717 MovieClip Frame 1
stop();
Symbol 4758 MovieClip Frame 1
stop();
Symbol 4798 MovieClip Frame 1
stop();
Symbol 4820 MovieClip Frame 1
stop();
Symbol 4867 MovieClip Frame 1
stop();
Symbol 4867 MovieClip Frame 4
gotoAndPlay (2);
Symbol 4899 Button
on (release) {
gotoAndPlay (3);
}
Symbol 4904 Button
on (rollOver) {
myLSO = SharedObject.getLocal("devilguy3");
if (myLSO.data.myObj.objArray[0] > "0") {
_root.loader._visible = true;
} else {
_root.loader._visible = false;
}
}
on (release) {
myLSO = SharedObject.getLocal("devilguy3");
_root.mainplayersquarey = myLSO.data.myObj.objArray[0];
_root.mainplayersquarex = myLSO.data.myObj.objArray[1];
_root.gotoAndStop(4);
_root.numberdestinationgoto = myLSO.data.myObj.objArray[2];
_root.keya = myLSO.data.myObj.objArray[3];
_root.keyb = myLSO.data.myObj.objArray[4];
_root.keyc = myLSO.data.myObj.objArray[5];
_root.keyd = myLSO.data.myObj.objArray[6];
_root.keye = myLSO.data.myObj.objArray[7];
_root.keyf = myLSO.data.myObj.objArray[8];
_root.p1 = myLSO.data.myObj.objArray[9];
_root.p2 = myLSO.data.myObj.objArray[10];
_root.p3 = myLSO.data.myObj.objArray[11];
_root.p4 = myLSO.data.myObj.objArray[12];
_root.p5 = myLSO.data.myObj.objArray[13];
_root.p6 = myLSO.data.myObj.objArray[14];
_root.p7 = myLSO.data.myObj.objArray[15];
_root.p8 = myLSO.data.myObj.objArray[16];
_root.aiwalka = myLSO.data.myObj.objArray[17];
_root.aiwalkb = myLSO.data.myObj.objArray[18];
_root.aiwalkc = myLSO.data.myObj.objArray[19];
_root.aiwalkd = myLSO.data.myObj.objArray[20];
_root.aiwalke = myLSO.data.myObj.objArray[21];
_root.aiwalkf = myLSO.data.myObj.objArray[22];
_root.restyposofplayer = myLSO.data.myObj.objArray[23];
_root.restxposofplayer = myLSO.data.myObj.objArray[24];
_root.gem1 = myLSO.data.myObj.objArray[25];
_root.gem2 = myLSO.data.myObj.objArray[26];
_root.gem3 = myLSO.data.myObj.objArray[27];
_root.gem4 = myLSO.data.myObj.objArray[28];
_root.gem5 = myLSO.data.myObj.objArray[29];
_root.gem6 = myLSO.data.myObj.objArray[30];
_root.aiwalkg = myLSO.data.myObj.objArray[31];
_root.aiwalkh = myLSO.data.myObj.objArray[32];
_root.aiwalki = myLSO.data.myObj.objArray[33];
_root.aiwalkj = myLSO.data.myObj.objArray[34];
_root.keyg = myLSO.data.myObj.objArray[35];
_root.keyh = myLSO.data.myObj.objArray[36];
_root.keyi = myLSO.data.myObj.objArray[37];
_root.keyj = myLSO.data.myObj.objArray[38];
_root.relationa = myLSO.data.myObj.objArray[39];
_root.relationb = myLSO.data.myObj.objArray[40];
_root.relationc = myLSO.data.myObj.objArray[41];
_root.relationd = myLSO.data.myObj.objArray[42];
_root.relatione = myLSO.data.myObj.objArray[43];
_root.knowledge = myLSO.data.myObj.objArray[44];
_root.accuracy = myLSO.data.myObj.objArray[45];
_root.health = myLSO.data.myObj.objArray[46];
_root.soundfilea = myLSO.data.myObj.objArray[47];
_root.soundfileb = myLSO.data.myObj.objArray[48];
_root.soundfilec = myLSO.data.myObj.objArray[49];
_root.soundfiled = myLSO.data.myObj.objArray[50];
_root.soundfilee = myLSO.data.myObj.objArray[51];
_root.soundfilef = myLSO.data.myObj.objArray[52];
_root.gem7 = myLSO.data.myObj.objArray[53];
_root.spacex = myLSO.data.myObj.objArray[54];
_root.spacey = myLSO.data.myObj.objArray[55];
_root.dressenabe1 = myLSO.data.myObj.objArray[56];
_root.dressenabe2 = myLSO.data.myObj.objArray[57];
_root.dressenabe3 = myLSO.data.myObj.objArray[58];
_root.currantdress = myLSO.data.myObj.objArray[59];
_root.money0 = myLSO.data.myObj.objArray[60];
_root.money1 = myLSO.data.myObj.objArray[61];
_root.money2 = myLSO.data.myObj.objArray[62];
_root.money3 = myLSO.data.myObj.objArray[63];
_root.money4 = myLSO.data.myObj.objArray[64];
_root.money5 = myLSO.data.myObj.objArray[65];
_root.money6 = myLSO.data.myObj.objArray[66];
_root.money7 = myLSO.data.myObj.objArray[67];
_root.money8 = myLSO.data.myObj.objArray[68];
_root.money9 = myLSO.data.myObj.objArray[69];
_root.money = myLSO.data.myObj.objArray[70];
_root.crystals0 = myLSO.data.myObj.objArray[71];
_root.crystals1 = myLSO.data.myObj.objArray[72];
_root.crystals2 = myLSO.data.myObj.objArray[73];
_root.crystals3 = myLSO.data.myObj.objArray[74];
_root.crystals4 = myLSO.data.myObj.objArray[75];
_root.crystals5 = myLSO.data.myObj.objArray[76];
_root.crystals6 = myLSO.data.myObj.objArray[77];
_root.crystals7 = myLSO.data.myObj.objArray[78];
_root.crystals8 = myLSO.data.myObj.objArray[79];
_root.mainplayersquarey = _root.mainplayersquarey - _root.restyposofplayer;
_root.mainplayersquarex = _root.mainplayersquarex - _root.restxposofplayer;
}